STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228062
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/72594808?noj=FRM72594808-27DC" width="1" height="1"></div>

Night of the Ninja.swf

This is the info page for
Flash #38053

(Click the ID number above for more basic data on this flash file.)


Text
iViewGames.com

!

WARNING - TAKE CARE WHEN PLAYING THIS GAME

We Accept No Responsibility For Any Accidents Or Injury
Caused While Playing This Game

This Game Requires A Webcam To Play

PLAY

PLAY

PLAY

PLAY

You Need Flash Player 8 Or
Higher To Play This Game

Download It Here

View Games

Creators Of Leading Webcam Games

iViewGames.com

Light Your Environment As Much As Possible

Continue

Continue

Continue

Position Your Webcam Ready For Gameplay - Try To
Avoid Having TVs, Monitors or Lights In The Picture

1

2

Plug In And Turn On Your Camera

3

Webcam Calibration

Detected Motion Will Appear On The Image To The Right

If You Can't See Your Webcam Image Click Here

-Sufficient Motion Is Detected When You Move
-When You Stay Still No Motion Is Detected

Very Light Room

Very Dark Room

Average

Drag The Slider Until

Change Any Of The Settings Below And Then Click Continue

I

On/Off

On/Off

Music/Sound Effects:

Quality:

Invert Webcam Image:

High

Best

Medium

Low (recommended)

If You Can See This Message Your Webcam Is Not
Functioning Correctly. Please Go To The Troubleshoot
Section Of The Main Menu

About

About

About

Start

Troubleshoot

Troubleshoot

Troubleshoot

Start

Start

Options

Options

Options

Instructions

Instructions

Instructions

Instruction

Are You An Artist/Animator? iViewGames Needs You!
Click For Details

2

0

Ninja's Killed:

Time

Game Over

<p align="center"></p>

About

"The Night Of The Ninja" is an innovative new flash game, which makes use
of a webcam to monitor the users movement and integrate it seamlessly
into the game. In this case to test the users reactions and timing in order to
defend against an endless stream of ninjas.
It contains advanced motion sensing technology developed by iView Games.
The company was set up to create a whole range of webcam based games
using this technology, and also to further research new related
technologies.
Music Is "Kung fu Fighting. Updated!" By "Dj-SilenT-HunteR"

Back

Back

Back

Back

Options

Set The Quality Level:
Current Level:

BEST
HIGH
MEDIUM
LOW

Troubleshoot

If you find the game is not responding properly, follow this checklist

1) Increase The Light Levels in Your Environment
2) Make Sure You Have A Static Background (No TV's Or Monitors)
3) Have A Contrast Between Yourself And Your Background (e.g. Don't
Wear A Blue T-shirt If Your Standing Against A Similar Blue Wall)
4) Turn Off Auto Exposure And Auto White Balance If Your Camera Has
Such Options
5) Recalibrate

If you are having webcam issues, follow this checklist

1) Be Certain that Your Camera Is Plugged In AND Switched On
2) If Neccesary Install Any Drivers For Your Webcam
3) Right Click On This Movie And Click On Settings, Then Select Allow
4) Right Click On This Movie And Click On Settings, Select The Webcam
Section. Ensure Your Webcam Device Is Selected In The Dropdown Menu
5) Refresh The Page Containing This Game

v

Re-Calibrate

Re-Calibrate

Re-Calibrate

Instructions

Maybe You Should Have Helped That Old Lady Across The Street, Maybe You
Shouldn't Have Killed All Those People, Either Way The Ninja's Have Your
Number And Now It's Night Time Their Coming After You. Show Them Your
Own Ninja Skills And Last For As Long As You Can.
We Recommend Standing So Your Body Roughly Fills The Persons Outline
Which Appears During The Countdown To Gameplay

Yes, You Can Cheat Easily, But Where's The Fun In That?

WARNING - TAKE CARE WHEN PLAYING THIS GAME

We Accept No Responsibility For Any Accidents Or Injury
Caused While Playing This Game

Ninjas Killed

Timer

Invert Webcam Image

Music Control

Health

ActionScript [AS1/AS2]

Frame 1
MochiAd.showPreloaderAd({id:"475099c96f32ce1f", res:"640x520"});
Instance of Symbol 13 MovieClip in Frame 1
onClipEvent (enterFrame) { this._x = 18 + (_root.distsv * 500); }
Instance of Symbol 18 MovieClip in Frame 1
on (release) { getURL ("http://www.iviewgames.com", "_blank"); }
Frame 2
fscommand ("showmenu", false); vers = getVersion(); if (vers >= 7) { var my_cm; my_cm = new ContextMenu(); my_cm.hideBuiltInItems(); var myFirstItem_cmi; myFirstItem_cmi = new ContextMenuItem("Email Author", myFirstItemHandler); my_cm.customItems.push(myFirstItem_cmi); _root.menu = my_cm; } tbytes = getBytesTotal(); bloaded = getBytesLoaded(); _root.distsv = Math.ceil((1 / tbytes) * bloaded); _root.percentage = Math.ceil((100 / tbytes) * bloaded) + "%"; if (tbytes != bloaded) { gotoAndPlay (1); } else { vers = getVersion(); if (vers >= 8) { gotoAndStop (3); } else { gotoAndStop (4); } }
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) { this._x = 18 + (_root.distsv * 500); }
Instance of Symbol 18 MovieClip in Frame 2
on (release) { getURL ("http://www.iviewgames.com", "_blank"); }
Frame 3
stop();
Frame 4
stop();
Frame 5
function goon() { gotoAndPlay (7); } stop();
Instance of Symbol 55 MovieClip in Frame 5
onClipEvent (enterFrame) { if (this._currentframe == 240) { _root.goon(); } } on (release) { getURL ("http://www.iviewgames.com", "_blank"); }
Frame 7
cam = Camera.get(); cam.setMode(320, 240, cam.fps, false); vieo.vid._height = 120; vieo.vid._width = 160; vieo.vid.attachVideo(cam); stop();
Frame 8
function detection() { hit = new flash.display.BitmapData(cam.width * 2, cam.height * 2, true, 4278190080); empty1.attachBitmap(hit, 0, "always", true); now.draw(vieo.vid); now.draw(before, new flash.geom.Matrix(), new flash.geom.ColorTransform(), "difference"); now.threshold(now, rect, pt, ">", _root.leve, 4294901760, 4294967295, false); var _local2 = new flash.geom.Matrix(); _local2.scale(1, 1); hit.draw(empty, _local2); hit.threshold(hit, rect1, pt1, "<", 4293918719, 0); before.draw(vieo.vid); } _root.firstt = true; cam = Camera.get(); cam.setMode(320, 240, cam.fps, false); vieo.vid._height = 120; vieo.vid._width = 160; vieo.vid.attachVideo(cam); intervald = setInterval(_root, "detection", 50); now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true); empty.attachBitmap(now, 0, "never", false); before = new flash.display.BitmapData(cam.width / 2, cam.height / 2); hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344); empty1.attachBitmap(hit, 0, "never", true); rect = new flash.geom.Rectangle(0, 0, cam.width / 2, cam.height / 2); rect1 = new flash.geom.Rectangle(0, 0, cam.width * 2, cam.height * 2); pt = new flash.geom.Point(0, 0); pt1 = new flash.geom.Point(0, 0); stop();
Instance of Symbol 94 MovieClip "detectl" in Frame 8
onClipEvent (load) { function leveer() { dist2 = this._x - startx; if (dist2 > 400) { dist2 = dist; } dist2 = dist2 * 0.5; if (dist2 < 0) { dist2 = 0; } val = dist / 16; val2 = val; n = 0; while (dist2 > val) { val = val + val2; n++; } if (n > 9) { if (n > 10) { if (n > 11) { if (n > 12) { if (n > 13) { if (n > 14) { n = "f"; } else { n = "e"; } } else { n = "d"; } } else { n = "c"; } } else { n = "b"; } } else { n = "a"; } } val2 = dist / 256; val = val - (dist / 16); m = 0; while (dist2 > val) { val = val + val2; m++; } if (m > 9) { if (m > 10) { if (m > 11) { if (m > 12) { if (m > 13) { if (m > 14) { m = "f"; } else { m = "e"; } } else { m = "d"; } } else { m = "c"; } } else { m = "b"; } } else { m = "a"; } } _root.leve = ((((("0xff" + n) + m) + n) + m) + n) + m; } startx = this._x; dist = 400; this._x = this._x + (dist / 2); leveer(); } on (press) { startDrag (this, false, startx, this._y, startx + dist, this._y); } on (release, releaseOutside) { leveer(); stopDrag(); }
Instance of Symbol 18 MovieClip in Frame 8
on (release) { _root.gotoAndStop("troubleshoot"); }
Frame 9
cam = Camera.get(); cam.setMode(320, 240, cam.fps, false); vieo.vid._height = 120; vieo.vid._width = 160; vieo.vid.attachVideo(cam); _root.inverted = false; _root.soound = true; _root.qualv = _quality; now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true); empty.attachBitmap(now, 0, "never", false); before = new flash.display.BitmapData(cam.width / 2, cam.height / 2); hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344); empty1.attachBitmap(hit, 0, "never", false); rect = new flash.geom.Rectangle(0, 0, cam.width / 2, cam.height / 2); rect1 = new flash.geom.Rectangle(0, 0, cam.width * 2, cam.height * 2); pt = new flash.geom.Point(0, 0); pt1 = new flash.geom.Point(0, 0); stop(); _root.menfst = true; _root.inverted = false; _root.soound = true; stop();
Instance of Symbol 113 MovieClip in Frame 9
onClipEvent (load) { if (_root.soound == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } on (release) { if (_root.soound == true) { _root.soound = false; stopAllSounds(); this.gotoAndStop(2); } else { _root.soound = true; this.gotoAndStop(1); if (_root.playin == true) { } } }
Instance of Symbol 18 MovieClip in Frame 9
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "BEST"; _root.qualv = _quality; }
Instance of Symbol 18 MovieClip in Frame 9
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "HIGH"; _root.qualv = _quality; }
Instance of Symbol 18 MovieClip in Frame 9
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "MEDIUM"; _root.qualv = _quality; }
Instance of Symbol 18 MovieClip in Frame 9
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "LOW"; _root.qualv = _quality; }
Frame 10
cam = Camera.get(); cam.setMode(640, 480, cam.fps, false); vieo.vid._height = 480; vieo.vid._width = 640; vieo.vid.attachVideo(cam); if (_root.vieo._xscale < 0) { _root.vieo._xscale = _root.vieo._xscale * -1; } _root.repeat = false; _root.vieo._x = 640; _root.health = 100; if ((_root.firstt == true) && (_root.menfst == true)) { var music = new Sound(); music.attachSound("music2"); music.start(0, 99999); _root.menfst = false; } else if (_root.inverted == true) { _root.vieo._x = 0; _root.vieo._xscale = _root.vieo._xscale * -1; } stop();
Instance of Symbol 113 MovieClip in Frame 10
onClipEvent (load) { if (_root.soound == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); if (_root.soound == true) { _root.soound = false; stopAllSounds(); this.gotoAndStop(2); } else { _root.soound = true; this.gotoAndStop(1); var music2 = new Sound(); music2.attachSound("music2"); music2.start(0, 99999); if (_root.playin == true) { } } }
Frame 11
function countdown() { if (_root.timer > 1) { _root.timer = _root.timer - 1; } else if (_root.timer == 1) { _root.timer = "Go!"; } else { clearInterval(intervalId); play(); } } cam = Camera.get(); cam.setMode(640, 480, cam.fps, false); vieo.vid._height = 480; vieo.vid._width = 640; vieo.vid.attachVideo(cam); _root.hits = 0; _root.timed = 0; _root.timer = 3; intervalId = setInterval(_root, "countdown", 1000); if ((_root.soound == true) && (_root.repeat == true)) { var music = new Sound(); music.attachSound("music2"); music.start(0, 99999); } stop();
Frame 12
function ratec(del) { trace("changed rate to" + del); clearInterval(intervald); intervald = setInterval(_root, "detection", del); } function punched() { typ = Math.random(); if (typ < 0.33) { punch.start(0, 1); } else if (typ < 0.66) { punch1.start(0, 1); } else { punch2.start(0, 1); } } function tim() { var _local2 = new Date(); nowt = _local2.getTime(); _root.timed = Math.floor((nowt - _root.starttime) / 1000); } function ninjamake() { if (_root.ninjas < _root.maxninja) { ninjat = Math.random(); dif = 1 / _root.types; dif2 = dif; ninjai = 1; while (ninjat > dif) { ninjai++; dif = dif + dif2; } duplicateMovieClip (_root["ninj" + ninjai], "ninja" + _root.nextninja, _root.nextninja + 10000); if (((ninjai == 1) || (ninjai == 3)) || (ninjai == 5)) { setProperty("_root.ninja" + _root.nextninja, _x , -60); } else { setProperty("_root.ninja" + _root.nextninja, _x , 700); } rand2 = Math.random(8); rand2 = rand2 - 0.5; rand2 = rand2 * 160; if ((ninjai == 1) || (ninjai == 2)) { yy = 140 + rand2; } else if ((ninjai == 3) || (ninjai == 4)) { yy = -20 + rand2; } else { yy = 340 + rand2; } setProperty("_root.ninja" + _root.nextninja, _y , yy); Set(("_root.ninja" + _root.nextninja) + ".walk", true); _root.ninjas++; _root.nextninja++; } } function gameover() { i = 1; while (i <= _root.nextninja) { removeMovieClip("_root.ninja" + i); i++; } _root.gotoAndStop("gameover"); } function detection() { hit = new flash.display.BitmapData(cam.width, cam.height, true, 4278190080); empty1.attachBitmap(hit, 0, "never", false); now.draw(vieo.vid); now.draw(before, new flash.geom.Matrix(), new flash.geom.ColorTransform(), "difference"); now.threshold(now, rect, pt, ">", 4280422673, 4294901760, 4294967295, false); var landMatrix = (new flash.geom.Matrix()); landMatrix.scale(4, 4); hit.draw(empty, landMatrix); hit.threshold(hit, rect3, pt3, "<", 4293918719, 0); n = _root.bottomn; while (n <= _root.nextninja) { if (CollisionDetection.checkForCollision(eval ("_root.ninja" + n), empty1)) { if (eval ("_root.ninja" + n)._currentframe == 1) { Set(("_root.ninja" + n) + ".hitme", true); if (_root.soound == true) { punched(); } _root.hits++; if (_root.nextninja == 0) { } } } n++; } before.draw(vieo.vid); } cam = Camera.get(); cam.setMode(640, 480, cam.fps, false); vieo.vid._height = 480; vieo.vid._width = 640; vieo.vid.attachVideo(cam); stop(); trace(_root.leve); intervald = setInterval(_root, "detection", 100); interninja = setInterval(_root, "ninjamake", 1500); intervaltim = setInterval(_root, "tim", 1000); var my_date = new Date(); _root.starttime = my_date.getTime(); nos = 0; var punch = new Sound(); punch.attachSound("punch"); var punch1 = new Sound(); punch1.attachSound("punch1"); var punch2 = new Sound(); punch2.attachSound("punch2"); if (_root.firstt == true) { now = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true); empty.attachBitmap(now, 0, "never", false); before = new flash.display.BitmapData(cam.width / 2, cam.height / 2); hit = new flash.display.BitmapData(cam.width / 2, cam.height / 2, true, 570425344); empty1.attachBitmap(hit, 0, "never", false); rect = new flash.geom.Rectangle(0, 0, cam.width, cam.height); rect2 = new flash.geom.Rectangle(0, 0, cam.width, cam.height); rect3 = new flash.geom.Rectangle(0, 0, cam.width, cam.height); pt = new flash.geom.Point(0, 0); pt1 = new flash.geom.Point(0, 0); pt2 = new flash.geom.Point(0, 0); pt3 = new flash.geom.Point(0, 0); } _root.ninjas = 0; _root.maxninja = 4; _root.nextninja = 1; _root.bottomn = 1; _root.hits = 0; _root.health = 100; _root.level = 1; _root.types = 6; _root.hitso = 0; _root.wid = 640; _root.hei = 480;
Instance of Symbol 173 MovieClip "ninj1" in Frame 12
onClipEvent (load) { if (this._name != "ninj1") { alive = true; force = 4; g = 0.5; flying = false; walking = false; multi = 5; hiited = false; attack = 0; } } onClipEvent (enterFrame) { if (this._name != "ninj1") { if (walk == true) { if (walking == true) { if (flying == false) { this._x = this._x + xsp; } } else { walking = true; xsp = (force / 2) + (_root.hits / multi); } } if ((this._x > 705) || (this._x < -80)) { _root.ninjas--; alive = false; if (this._name == ("ninja" + _root.bottomn)) { _root.bottomn++; } while ((eval (("_root.ninja" + _root.bottomn) + ".alive") != true) && (_root.bottomn < (_root.nextninja - 1))) { _root.bottomn++; } removeMovieClip(this); } if (attack > 0) { attack--; if (attack == 0) { this.gotoAndStop(1); } } if (this._x > 275) { if ((flying == false) && (hiited == false)) { duplicateMovieClip ("_root.hitt", "hitt" + _root.hitso, 51000 + _root.hitso); var myPoint = {x:this.hitto._x, y:this.hitto._y}; this.localToGlobal(myPoint); setProperty("_root.hitt" + _root.hitso, _x , myPoint.x); setProperty("_root.hitt" + _root.hitso, _y , myPoint.y); _root.hitso++; attack = 10; if (_root.soound == true) { var hitie = new Sound(); hitie.attachSound("hitie"); hitie.start(0, 1); } this.gotoAndStop("attack"); if ((_root.health - 20) > 0) { _root.health = _root.health - 20; _root.health.healthbar._x = -(_root.health.healthbar._width * ((100 - _root.health) / 100)); positionn(); health.positionn(); _root.health.positionn(); } else { _root.health = 0; _root.health.healthbar._x = -(_root.health.healthbar._width * ((100 - _root.health) / 100)); trace(_root.health.healthbar._x); trace(_root.health._x); _root.gameover(); } hiited = true; } } if (hitme == true) { if (flying == true) { this._x = this._x + xm; this._y = this._y - ym; ym = ym - g; } else { flying = true; if (this._x > 180) { this.gotoAndStop("dier"); xm = force + (_root.hits / multi); } else { this.gotoAndStop("diel"); xm = (-force) - (_root.hits / multi); } ym = force; walking = false; } } } }
Instance of Symbol 174 MovieClip "ninj5" in Frame 12
onClipEvent (load) { if (this._name != "ninj5") { force = 4; multi = 5; targx = (_root.wid / 2) - (this._width / 2); targy = (_root.hei / 2) - (this._height / 2); dx = targx - this._x; dy = targy - this._y; grad = dy / dx; xsp = (force / 2) + (_root.hits / multi); ysp = xsp * grad; alive = true; g = 0.5; flying = false; walking = false; hiited = false; } } onClipEvent (enterFrame) { if (this._name != "ninj5") { if (walk == true) { if (walking == true) { if (flying == false) { this._x = this._x + xsp; this._y = this._y + ysp; } } else { walking = true; } } if ((this._x > 705) || (this._x < -80)) { _root.ninjas--; alive = false; if (this._name == ("ninja" + _root.bottomn)) { _root.bottomn++; } while ((eval (("_root.ninja" + _root.bottomn) + ".alive") != true) && (_root.bottomn < (_root.nextninja - 1))) { _root.bottomn++; } removeMovieClip(this); } if (this._x > 275) { if ((flying == false) && (hiited == false)) { duplicateMovieClip ("_root.hitt", "hitt" + _root.hitso, 51000 + _root.hitso); var myPoint = {x:this.hitto._x, y:this.hitto._y}; this.localToGlobal(myPoint); setProperty("_root.hitt" + _root.hitso, _x , myPoint.x); setProperty("_root.hitt" + _root.hitso, _y , myPoint.y); _root.hitso++; attack = 10; if (_root.soound == true) { var hitie = new Sound(); hitie.attachSound("hitie"); hitie.start(0, 1); } this.gotoAndStop("attack"); if ((_root.health - 20) > 0) { _root.health = _root.health - 20; _root.health.healthbar._x = -(_root.health.healthbar._width * ((100 - _root.health) / 100)); } else { _root.health = 0; _root.health.healthbar._x = -(_root.health.healthbar._width * ((100 - _root.health) / 100)); _root.gameover(); } hiited = true; } } if (attack > 0) { attack--; if (attack == 0) { this.gotoAndStop(1); } } if (hitme == true) { if (flying == true) { this._x = this._x + xm; this._y = this._y - ym; ym = ym - g; } else { flying = true; if (this._x > 180) { this.gotoAndStop("dier"); xm = force + (_root.hits / multi); } else { this.gotoAndStop("diel"); xm = (-force) - (_root.hits / multi); } ym = force * 1.5; walking = false; } } } }
Instance of Symbol 175 MovieClip "ninj3" in Frame 12
onClipEvent (load) { if (this._name != "ninj3") { force = 4; multi = 5; targx = (_root.wid / 2) - (this._width / 2); targy = (_root.hei / 2) - (this._height / 2); dx = targx - this._x; dy = targy - this._y; grad = dy / dx; xsp = (force / 2) + (_root.hits / multi); ysp = xsp * grad; alive = true; g = 0.5; flying = false; walking = false; hiited = false; } } onClipEvent (enterFrame) { if (this._name != "ninj3") { if (walk == true) { if (walking == true) { if (flying == false) { this._x = this._x + xsp; this._y = this._y + ysp; } } else { walking = true; } } if ((this._x > 705) || (this._x < -80)) { _root.ninjas--; alive = false; if (this._name == ("ninja" + _root.bottomn)) { _root.bottomn++; } while ((eval (("_root.ninja" + _root.bottomn) + ".alive") != true) && (_root.bottomn < (_root.nextninja - 1))) { _root.bottomn++; } removeMovieClip(this); } if (attack > 0) { attack--; if (attack == 0) { this.gotoAndStop(1); } } if (this._x > 275) { if ((flying == false) && (hiited == false)) { duplicateMovieClip ("_root.hitt", "hitt" + _root.hitso, 51000 + _root.hitso); var myPoint = {x:this.hitto._x, y:this.hitto._y}; this.localToGlobal(myPoint); setProperty("_root.hitt" + _root.hitso, _x , myPoint.x); setProperty("_root.hitt" + _root.hitso, _y , myPoint.y); _root.hitso++; attack = 10; if (_root.soound == true) { var hitie = new Sound(); hitie.attachSound("hitie"); hitie.start(0, 1); } this.gotoAndStop("attack"); if ((_root.health - 20) > 0) { _root.health = _root.health - 20; _root.health.healthbar._x = -(_root.health.healthbar._width * ((100 - _root.health) / 100)); } else { _root.health = 0; _root.health.healthbar._x = -(_root.health.healthbar._width * ((100 - _root.health) / 100)); _root.gameover(); } hiited = true; } } if (hitme == true) { if (flying == true) { this._x = this._x + xm; this._y = this._y - ym; ym = ym - g; } else { flying = true; if (this._x > 180) { this.gotoAndStop("dier"); xm = force + (_root.hits / multi); } else { this.gotoAndStop("diel"); xm = (-force) - (_root.hits / multi); } ym = force * 1.5; walking = false; } } } }
Instance of Symbol 173 MovieClip "ninj2" in Frame 12
onClipEvent (load) { if (this._name != "ninj2") { alive = true; force = 4; g = 0.5; flying = false; walking = false; multi = 5; hiited = false; } } onClipEvent (enterFrame) { if (this._name != "ninj2") { if (walk == true) { walk = false; walking = true; xsp = (force / 2) + (_root.hits / multi); } if (walking == true) { if (flying == false) { this._x = this._x - xsp; } } if ((this._x > 705) || (this._x < -80)) { _root.ninjas--; alive = false; if (this._name == ("ninja" + _root.bottomn)) { _root.bottomn++; } while ((eval (("_root.ninja" + _root.bottomn) + ".alive") != true) && (_root.bottomn < (_root.nextninja - 1))) { _root.bottomn++; } removeMovieClip(this); } if (attack > 0) { attack--; if (attack == 0) { this.gotoAndStop(1); } } if (this._x < 345) { if ((flying == false) && (hiited == false)) { duplicateMovieClip ("_root.hitt", "hitt" + _root.hitso, 51000 + _root.hitso); var myPoint = {x:this.hitto._x, y:this.hitto._y}; this.localToGlobal(myPoint); setProperty("_root.hitt" + _root.hitso, _x , myPoint.x); setProperty("_root.hitt" + _root.hitso, _y , myPoint.y); _root.hitso++; attack = 10; if (_root.soound == true) { var hitie = new Sound(); hitie.attachSound("hitie"); hitie.start(0, 1); } this.gotoAndStop("attack"); if ((_root.health - 20) > 0) { _root.health = _root.health - 20; _root.healthset(); } else { _root.health = 0; _root.healthset(); _root.gameover(); } hiited = true; } } if (hitme == true) { if (flying == true) { this._x = this._x + xm; this._y = this._y - ym; ym = ym - g; } else { flying = true; if (this._x > 180) { this.gotoAndStop("dier"); xm = force + (_root.hits / multi); } else { this.gotoAndStop("diel"); xm = (-force) - (_root.hits / multi); } ym = force; walking = false; } } } }
Instance of Symbol 174 MovieClip "ninj6" in Frame 12
onClipEvent (load) { if (this._name != "ninj6") { force = 4; multi = 5; targx = (_root.wid / 2) - (this._width / 2); targy = (_root.hei / 2) - (this._height / 2); dx = targx - this._x; dy = targy - this._y; grad = dy / dx; xsp = (-(force / 2)) - (_root.hits / multi); ysp = xsp * grad; alive = true; g = 0.5; flying = false; walking = false; hiited = false; } } onClipEvent (enterFrame) { if (this._name != "ninj6") { if (walk == true) { if (walking == true) { if (flying == false) { this._x = this._x + xsp; this._y = this._y + ysp; } } else { walking = true; } } if ((this._x > 705) || (this._x < -80)) { _root.ninjas--; alive = false; if (this._name == ("ninja" + _root.bottomn)) { _root.bottomn++; } while ((eval (("_root.ninja" + _root.bottomn) + ".alive") != true) && (_root.bottomn < (_root.nextninja - 1))) { _root.bottomn++; } removeMovieClip(this); } if (attack > 0) { attack--; if (attack == 0) { this.gotoAndStop(1); } } if (this._x < 345) { if ((flying == false) && (hiited == false)) { duplicateMovieClip ("_root.hitt", "hitt" + _root.hitso, 51000 + _root.hitso); var myPoint = {x:this.hitto._x, y:this.hitto._y}; this.localToGlobal(myPoint); setProperty("_root.hitt" + _root.hitso, _x , myPoint.x); setProperty("_root.hitt" + _root.hitso, _y , myPoint.y); _root.hitso++; attack = 10; if (_root.soound == true) { var hitie = new Sound(); hitie.attachSound("hitie"); hitie.start(0, 1); } this.gotoAndStop("attack"); if ((_root.health - 20) > 0) { _root.health = _root.health - 20; _root.healthset(); } else { _root.health = 0; _root.healthset(); _root.gameover(); } hiited = true; } } if (hitme == true) { if (flying == true) { this._x = this._x + xm; this._y = this._y - ym; ym = ym - g; } else { flying = true; if (this._x > 180) { this.gotoAndStop("dier"); xm = force + (_root.hits / multi); } else { this.gotoAndStop("diel"); xm = (-force) - (_root.hits / multi); } ym = force * 1.5; walking = false; } } } }
Instance of Symbol 175 MovieClip "ninj4" in Frame 12
onClipEvent (load) { if (this._name != "ninj4") { force = 4; multi = 5; targx = (_root.wid / 2) - (this._width / 2); targy = (_root.hei / 2) - (this._height / 2); dx = targx - this._x; dy = targy - this._y; grad = dy / dx; xsp = (-(force / 2)) - (_root.hits / multi); ysp = xsp * grad; alive = true; g = 0.5; flying = false; walking = false; hiited = false; } } onClipEvent (enterFrame) { if (this._name != "ninj4") { if (walk == true) { if (walking == true) { if (flying == false) { this._x = this._x + xsp; this._y = this._y + ysp; } } else { walking = true; } } if (attack > 0) { attack--; if (attack == 0) { this.gotoAndStop(1); } } if ((this._x > 705) || (this._x < -80)) { _root.ninjas--; alive = false; if (this._name == ("ninja" + _root.bottomn)) { _root.bottomn++; } while ((eval (("_root.ninja" + _root.bottomn) + ".alive") != true) && (_root.bottomn < (_root.nextninja - 1))) { _root.bottomn++; } removeMovieClip(this); } if (this._x < 345) { if ((flying == false) && (hiited == false)) { duplicateMovieClip ("_root.hitt", "hitt" + _root.hitso, 51000 + _root.hitso); var myPoint = {x:this.hitto._x, y:this.hitto._y}; this.localToGlobal(myPoint); setProperty("_root.hitt" + _root.hitso, _x , myPoint.x); setProperty("_root.hitt" + _root.hitso, _y , myPoint.y); _root.hitso++; attack = 10; if (_root.soound == true) { var hitie = new Sound(); hitie.attachSound("hitie"); hitie.start(0, 1); } this.gotoAndStop("attack"); if ((_root.health - 20) > 0) { _root.health = _root.health - 20; _root.healthset(); } else { _root.health = 0; _root.healthset(); _root.gameover(); } hiited = true; } } if (hitme == true) { if (flying == true) { this._x = this._x + xm; this._y = this._y - ym; ym = ym - g; } else { flying = true; if (this._x > 180) { this.gotoAndStop("dier"); xm = force + (_root.hits / multi); } else { this.gotoAndStop("diel"); xm = (-force) - (_root.hits / multi); } ym = force * 1.5; walking = false; } } } }
Instance of Symbol 177 MovieClip "hitt" in Frame 12
onClipEvent (load) { if (this._name == "hitt") { this.stop(); } }
Frame 13
clearInterval(intervald); clearInterval(interninja); clearInterval(intervaltim); _root.firstt = false; _root.notice = ("Your Managed To Survive For " + _root.timed) + " seconds"; _root.notice = _root.notice + "<BR><BR> Your Ranks Is: "; if (_root.timed < 25) { _root.notice = _root.notice + "Child Ninja"; } else if (_root.timed < 50) { _root.notice = _root.notice + "Trainee Ninja"; } else if (_root.timed < 75) { _root.notice = _root.notice + "Shadow Ninja"; } else if (_root.timed < 90) { _root.notice = _root.notice + "Assassin Ninja"; } else if (_root.timed < 105) { _root.notice = _root.notice + "Elite Ninja"; } else if (_root.timed < 120) { _root.notice = _root.notice + "Master Ninja"; } else if (_root.timed < 160) { _root.notice = _root.notice + "Warlord Ninja"; } else { _root.notice = _root.notice + "Legendary Ninja"; } stop();
Instance of Symbol 18 MovieClip in Frame 13
on (release) { getURL ("http://www.iviewgames.com", "_blank"); }
Frame 14
stop();
Instance of Symbol 18 MovieClip in Frame 14
on (release) { getURL ("http://www.newgrounds.com/audio/view.php?id=1427741&sub=39804", "_blank"); }
Frame 15
_root.qualv = _quality; stop();
Instance of Symbol 18 MovieClip in Frame 15
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "BEST"; _root.qualv = _quality; }
Instance of Symbol 18 MovieClip in Frame 15
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "HIGH"; _root.qualv = _quality; }
Instance of Symbol 18 MovieClip in Frame 15
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "MEDIUM"; _root.qualv = _quality; }
Instance of Symbol 18 MovieClip in Frame 15
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); _quality = "LOW"; _root.qualv = _quality; }
Instance of Symbol 113 MovieClip in Frame 15
onClipEvent (load) { if (_root.soound == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); if (_root.soound == true) { _root.soound = false; stopAllSounds(); this.gotoAndStop(2); } else { _root.soound = true; var music2 = new Sound(); music2.attachSound("music2"); music2.start(0, 99999); this.gotoAndStop(1); } }
Frame 16
stop();
Frame 17
_root.cleans = 1; _root.perdis.gotoAndStop(58); stop();
Symbol 13 MovieClip Frame 11
gotoAndPlay (1);
Symbol 217 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function showPreloaderAd(options) { var _local29 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812}; options = _parseOptions(options, _local29); var _local15 = options.clip; var _local25 = 11000; var _local28 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { return(undefined); } _local15.stop(); var mc = _local15._mochiad; mc.onUnload = function () { this._parent.play(); }; var _local16 = _getRes(options); var _local5 = _local16[0]; var _local14 = _local16[1]; mc._x = _local5 * 0.5; mc._y = _local14 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local5 * -0.5; chk._y = _local14 * -0.5; var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local8._x = 10; _local8._y = _local14 - 20; var _local24 = options.color; delete options.color; var _local21 = options.background; delete options.background; var _local26 = options.outline; delete options.outline; var _local6 = _local8.createEmptyMovieClip("_outline", 1); _local6.beginFill(_local21); _local6.moveTo(0, 0); _local6.lineTo(_local5 - 20, 0); _local6.lineTo(_local5 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); _local6.endFill(); var _local4 = _local8.createEmptyMovieClip("_inside", 2); _local4.beginFill(_local24); _local4.moveTo(0, 0); _local4.lineTo(_local5 - 20, 0); _local4.lineTo(_local5 - 20, 10); _local4.lineTo(0, 10); _local4.lineTo(0, 0); _local4.endFill(); _local4._xscale = 0; var _local7 = _local8.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local26, 100); _local7.moveTo(0, 0); _local7.lineTo(_local5 - 20, 0); _local7.lineTo(_local5 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local25; chk.ad_timeout = _local28; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showTimedAd(options) { var _local15 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"}; options = _parseOptions(options, _local15); var _local6 = options.clip; var _local12 = 11000; var _local14 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { return(undefined); } _local6.stop(); var mc = _local6._mochiad; mc.onUnload = function () { this._parent.play(); }; var _local7 = _getRes(options); var _local16 = _local7[0]; var _local13 = _local7[1]; mc._x = _local16 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local12; chk.ad_timeout = _local14; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local25); options.swfv = options.clip.getSWFVersion() || 6; options.mav = "1.4"; var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local24 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local24); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb) { cb = parseInt(cb); var _local4 = this._callbacks[cb]; if (!_local4) { return(undefined); } delete this._callbacks[cb]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = "1.4"; var _local7 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local7._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local7._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local8 in options) { _local4[_local8] = options[_local8]; } if (_local7._url.indexOf("http") != 0) { options.no_page = true; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local9; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local9); _local6.lc = _local5; _local4.lc = _local9; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local4); } }
Symbol 218 MovieClip [__Packages.CollisionDetection] Frame 0
class CollisionDetection { function CollisionDetection () { } static function checkForCollision(p_clip1, p_clip2, p_alphaTolerance, p_scope) { if (p_alphaTolerance == undefined) { p_alphaTolerance = 255; } if (p_scope == undefined) { p_scope = _root; } var _local4 = p_clip1.getBounds(p_scope); var _local3 = p_clip2.getBounds(p_scope); if (((_local4.xMax < _local3.xMin) || (_local3.xMax < _local4.xMin)) || ((_local4.yMax < _local3.yMin) || (_local3.yMax < _local4.yMin))) { return(null); } var _local2 = {}; _local2.xMin = Math.max(_local4.xMin, _local3.xMin); _local2.xMax = Math.min(_local4.xMax, _local3.xMax); _local2.yMin = Math.max(_local4.yMin, _local3.yMin); _local2.yMax = Math.min(_local4.yMax, _local3.yMax); var _local9 = new flash.display.BitmapData(_local2.xMax - _local2.xMin, _local2.yMax - _local2.yMin, false); var _local5 = p_clip1.transform.matrix; _local5.tx = p_clip1._x - _local2.xMin; _local5.ty = p_clip1._y - _local2.yMin; _local9.draw(p_clip1, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, p_alphaTolerance)); _local5 = p_clip2.transform.matrix; _local5.tx = p_clip2._x - _local2.xMin; _local5.ty = p_clip2._y - _local2.yMin; _local9.draw(p_clip2, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, p_alphaTolerance), "difference"); var _local6 = _local9.getColorBoundsRect(4294967295, 4278255615); if (_local6.width == 0) { return(null); } _local6.x = _local6.x + _local2.xMin; _local6.y = _local6.y + _local2.yMin; return(_local6); } }
Symbol 41 Button
on (release) { gotoAndStop (5); }
Symbol 46 Button
on (release) { getURL ("http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash", "_blank"); }
Symbol 55 MovieClip Frame 15
var music5 = new Sound(); music5.attachSound("lgo"); music5.start(0, 1);
Symbol 55 MovieClip Frame 120
_root.goon(); stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 73 Button
on (release) { if (_root.soound == true) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); } play(); }
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 45
this.play();
Symbol 82 MovieClip Frame 46
this.play();
Symbol 82 MovieClip Frame 47
this.play();
Symbol 82 MovieClip Frame 48
if (_root.soound == true) { var my_sound41 = new Sound(); my_sound41.attachSound("magbut"); my_sound41.start(); } this.play();
Symbol 82 MovieClip Frame 56
_root.bhit(this._name);
Symbol 82 MovieClip Frame 61
gotoAndStop (1);
Symbol 109 Button
on (release) { if (_root.inverted == false) { _root.inverted = true; _root.vieo._x = 392; _root.empty1._x = 392; } else { _root.inverted = false; _root.vieo._x = 552; _root.empty1._x = 552; } _root.vieo._xscale = _root.vieo._xscale * -1; _root.empty1._xscale = _root.empty1._xscale * -1; }
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 130 Button
on (release) { if (_root.soound == true) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); } gotoAndPlay ("about"); }
Symbol 135 Button
on (release) { if (_root.soound == true) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); } gotoAndPlay ("troubleshoot"); }
Symbol 138 Button
on (release) { if (_root.soound == true) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); } gotoAndPlay ("countdown"); }
Symbol 142 Button
on (release) { if (_root.soound == true) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); } gotoAndPlay ("options"); }
Symbol 148 Button
on (release) { if (_root.soound == true) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); } gotoAndPlay ("instructions"); }
Symbol 154 Button
on (release) { getURL ("http://www.iviewgames.com", "_blank"); }
Symbol 155 Button
on (release) { if (_root.vieo._x == 640) { _root.inverted = true; _root.vieo._x = 0; _root.empty1._x = 0; } else { _root.inverted = false; _root.vieo._x = 640; _root.empty1._x = 640; } _root.vieo._xscale = _root.vieo._xscale * -1; _root.empty1._xscale = _root.empty1._xscale * -1; }
Instance of Symbol 168 MovieClip "healths" in Symbol 170 MovieClip Frame 1
onClipEvent (load) { positionn = function () { trace(this.healthbar._x); }; } onClipEvent (enterFrame) { hbs = 101 - this._currentframe; if (_root.health < hbs) { this.gotoAndStop(this._currentframe + 1); } if (_root.health > hbs) { this.gotoAndStop(this._currentframe - 2); } }
Instance of Symbol 113 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) { if (_root.soound == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); if (_root.soound == true) { _root.soound = false; stopAllSounds(); this.gotoAndStop(2); } else { _root.soound = true; this.gotoAndStop(1); var music2 = new Sound(); music2.attachSound("music2"); music2.start(0, 99999); if (_root.playin == true) { } } }
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 173 MovieClip Frame 4
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
stop();
Symbol 174 MovieClip Frame 3
stop();
Symbol 174 MovieClip Frame 4
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 3
stop();
Symbol 175 MovieClip Frame 4
stop();
Symbol 177 MovieClip Frame 20
removeMovieClip(this);
Symbol 179 Button
on (release) { gotoAndStop (11); }
Symbol 189 Button
on (release) { if (_root.soound == true) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); } gotoAndStop ("menu"); }
Symbol 204 Button
on (release) { var music4 = new Sound(); music4.attachSound("click"); music4.start(0, 1); gotoAndStop (9); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:13
Symbol 3 GraphicUsed by:13
Symbol 4 GraphicUsed by:13
Symbol 5 GraphicUsed by:13
Symbol 6 GraphicUsed by:13
Symbol 7 GraphicUsed by:13
Symbol 8 GraphicUsed by:13
Symbol 9 GraphicUsed by:13
Symbol 10 GraphicUsed by:13
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:2 3 4 5 6 7 8 9 10 11 12Used by:173  Timeline
Symbol 14 FontUsed by:15 47 50 53
Symbol 15 TextUses:14Used by:16 182
Symbol 16 MovieClipUses:15Used by:Timeline
Symbol 17 GraphicUsed by:18 54 182
Symbol 18 MovieClipUses:17Used by:113  Timeline
Symbol 19 GraphicUsed by:22
Symbol 20 FontUsed by:21 23 24 25 68 74 87 91 95 96 97 98 99 100 101 103 110 112 114 115 116 117 118 119 120 184 185 186 187 188 191 192 193 195 196 197 198 199 206 207 208 209 210 211 212 213 215
Symbol 21 TextUses:20Used by:22
Symbol 22 MovieClipUses:19 21Used by:Timeline
Symbol 23 TextUses:20Used by:Timeline
Symbol 24 TextUses:20Used by:Timeline
Symbol 25 TextUses:20Used by:Timeline
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:33
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:32
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:32
Symbol 32 MovieClipUses:29 31Used by:33
Symbol 33 MovieClipUses:27 32Used by:Timeline
Symbol 217 MovieClip [__Packages.MochiAd]
Symbol 218 MovieClip [__Packages.CollisionDetection]
Symbol 34 FontUsed by:35 36 37 38 40
Symbol 35 EditableTextUses:34Used by:Timeline
Symbol 36 TextUses:34Used by:41
Symbol 37 TextUses:34Used by:41
Symbol 38 TextUses:34Used by:41
Symbol 39 GraphicUsed by:41
Symbol 40 TextUses:34Used by:41
Symbol 41 ButtonUses:36 37 38 39 40Used by:Timeline
Symbol 42 FontUsed by:43 44 69 70 71 105 150 160 161 162 178 183 190 194 200 201 202 205
Symbol 43 TextUses:42Used by:Timeline
Symbol 44 TextUses:42Used by:46
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:44 45Used by:Timeline
Symbol 47 TextUses:14Used by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:47 48Used by:54 182
Symbol 50 TextUses:14Used by:54 182
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:54 182
Symbol 53 TextUses:14Used by:54
Symbol 54 MovieClipUses:17 49 50 52 53Used by:55
Symbol 55 MovieClipUses:54Used by:Timeline
Symbol 56 Sound [punch2]Used by:61
Symbol 57 Sound [punch1]Used by:61
Symbol 58 Sound [hitie]Used by:61
Symbol 59 Sound [punch]Used by:61
Symbol 60 Sound [music2]Used by:61
Symbol 61 MovieClipUses:56 57 58 59 60Used by:Timeline
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:173 174 175  Timeline
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:174 175  Timeline
Symbol 66 VideoUsed by:67 123
Symbol 67 MovieClipUses:66Used by:Timeline
Symbol 68 TextUses:20Used by:Timeline
Symbol 69 TextUses:42Used by:73 179
Symbol 70 TextUses:42Used by:73 179
Symbol 71 TextUses:42Used by:73 179
Symbol 72 GraphicUsed by:73 179
Symbol 73 ButtonUses:69 70 71 72Used by:Timeline
Symbol 74 TextUses:20Used by:Timeline
Symbol 75 GraphicUsed by:82
Symbol 76 GraphicUsed by:82
Symbol 77 GraphicUsed by:82
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:82
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:75 76 77 79 80 81Used by:Timeline
Symbol 83 FontUsed by:84
Symbol 84 TextUses:83Used by:Timeline
Symbol 85 FontUsed by:86 88
Symbol 86 TextUses:85Used by:Timeline
Symbol 87 TextUses:20Used by:Timeline
Symbol 88 TextUses:85Used by:Timeline
Symbol 89 MovieClipUsed by:173 174 175  Timeline
Symbol 90 GraphicUsed by:Timeline
Symbol 91 TextUses:20Used by:Timeline
Symbol 92 GraphicUsed by:Timeline
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 TextUses:20Used by:Timeline
Symbol 96 TextUses:20Used by:Timeline
Symbol 97 TextUses:20Used by:Timeline
Symbol 98 TextUses:20Used by:Timeline
Symbol 99 TextUses:20Used by:Timeline
Symbol 100 TextUses:20Used by:Timeline
Symbol 101 TextUses:20Used by:Timeline
Symbol 102 GraphicUsed by:Timeline
Symbol 103 TextUses:20Used by:Timeline
Symbol 104 GraphicUsed by:109 155
Symbol 105 TextUses:42Used by:109 155
Symbol 106 GraphicUsed by:109 155
Symbol 107 GraphicUsed by:109 155
Symbol 108 GraphicUsed by:109 155
Symbol 109 ButtonUses:104 105 106 107 108Used by:Timeline
Symbol 110 TextUses:20Used by:113
Symbol 111 GraphicUsed by:113
Symbol 112 TextUses:20Used by:113
Symbol 113 MovieClipUses:110 111 18 112Used by:170  Timeline
Symbol 114 TextUses:20Used by:Timeline
Symbol 115 TextUses:20Used by:Timeline
Symbol 116 TextUses:20Used by:Timeline
Symbol 117 TextUses:20Used by:Timeline
Symbol 118 TextUses:20Used by:Timeline
Symbol 119 TextUses:20Used by:Timeline
Symbol 120 TextUses:20Used by:Timeline
Symbol 121 FontUsed by:122
Symbol 122 TextUses:121Used by:Timeline
Symbol 123 MovieClipUses:66Used by:Timeline
Symbol 124 FontUsed by:125 126 127 129 131 132 133 136 137 139 140 141 143 144 145 147 156 163
Symbol 125 TextUses:124Used by:130
Symbol 126 TextUses:124Used by:130
Symbol 127 TextUses:124Used by:130
Symbol 128 GraphicUsed by:130 138 142 189
Symbol 129 TextUses:124Used by:130 138
Symbol 130 ButtonUses:125 126 127 128 129Used by:Timeline
Symbol 131 TextUses:124Used by:135
Symbol 132 TextUses:124Used by:135
Symbol 133 TextUses:124Used by:135
Symbol 134 GraphicUsed by:135
Symbol 135 ButtonUses:131 132 133 134Used by:Timeline
Symbol 136 TextUses:124Used by:138
Symbol 137 TextUses:124Used by:138
Symbol 138 ButtonUses:129 136 137 128Used by:Timeline
Symbol 139 TextUses:124Used by:142
Symbol 140 TextUses:124Used by:142
Symbol 141 TextUses:124Used by:142
Symbol 142 ButtonUses:139 140 141 128Used by:Timeline
Symbol 143 TextUses:124Used by:148
Symbol 144 TextUses:124Used by:148
Symbol 145 TextUses:124Used by:148
Symbol 146 GraphicUsed by:148
Symbol 147 TextUses:124Used by:148
Symbol 148 ButtonUses:143 144 145 146 147Used by:Timeline
Symbol 149 GraphicUsed by:154
Symbol 150 TextUses:42Used by:154
Symbol 151 GraphicUsed by:154
Symbol 152 GraphicUsed by:154
Symbol 153 GraphicUsed by:154
Symbol 154 ButtonUses:149 150 151 152 153Used by:Timeline
Symbol 155 ButtonUses:104 105 106 107 108Used by:170  Timeline
Symbol 156 EditableTextUses:124Used by:Timeline
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:Timeline
Symbol 159 GraphicUsed by:170
Symbol 160 EditableTextUses:42Used by:170
Symbol 161 TextUses:42Used by:170
Symbol 162 EditableTextUses:42Used by:170
Symbol 163 TextUses:124Used by:170
Symbol 164 GraphicUsed by:168
Symbol 165 GraphicUsed by:168
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:166Used by:168
Symbol 168 MovieClipUses:164 165 167Used by:170
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:159 160 161 162 163 168 155 113 169Used by:Timeline
Symbol 171 GraphicUsed by:173
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:13 89 171 172 63Used by:Timeline
Symbol 174 MovieClipUses:65 89 63Used by:Timeline
Symbol 175 MovieClipUses:65 89 63Used by:Timeline
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:Timeline
Symbol 178 TextUses:42Used by:Timeline
Symbol 179 ButtonUses:69 70 71 72Used by:Timeline
Symbol 180 FontUsed by:181
Symbol 181 EditableTextUses:180Used by:Timeline
Symbol 182 MovieClipUses:17 49 50 52 15Used by:Timeline
Symbol 183 TextUses:42Used by:Timeline
Symbol 184 TextUses:20Used by:Timeline
Symbol 185 TextUses:20Used by:189
Symbol 186 TextUses:20Used by:189
Symbol 187 TextUses:20Used by:189
Symbol 188 TextUses:20Used by:189
Symbol 189 ButtonUses:185 186 187 128 188Used by:Timeline
Symbol 190 TextUses:42Used by:Timeline
Symbol 191 TextUses:20Used by:Timeline
Symbol 192 TextUses:20Used by:Timeline
Symbol 193 EditableTextUses:20Used by:Timeline
Symbol 194 TextUses:42Used by:Timeline
Symbol 195 TextUses:20Used by:Timeline
Symbol 196 TextUses:20Used by:Timeline
Symbol 197 TextUses:20Used by:Timeline
Symbol 198 TextUses:20Used by:Timeline
Symbol 199 TextUses:20Used by:Timeline
Symbol 200 TextUses:42Used by:204
Symbol 201 TextUses:42Used by:204
Symbol 202 TextUses:42Used by:204
Symbol 203 GraphicUsed by:204
Symbol 204 ButtonUses:200 201 202 203Used by:Timeline
Symbol 205 TextUses:42Used by:Timeline
Symbol 206 TextUses:20Used by:Timeline
Symbol 207 TextUses:20Used by:Timeline
Symbol 208 TextUses:20Used by:Timeline
Symbol 209 TextUses:20Used by:Timeline
Symbol 210 TextUses:20Used by:Timeline
Symbol 211 TextUses:20Used by:Timeline
Symbol 212 TextUses:20Used by:Timeline
Symbol 213 TextUses:20Used by:Timeline
Symbol 214 GraphicUsed by:Timeline
Symbol 215 TextUses:20Used by:Timeline
Symbol 216 GraphicUsed by:Timeline

Instance Names

"vieo"Frame 7Symbol 67 MovieClip
"empty"Frame 7Symbol 89 MovieClip
"empty1"Frame 7Symbol 89 MovieClip
"detectl"Frame 8Symbol 94 MovieClip
"empty"Frame 9Symbol 89 MovieClip
"empty1"Frame 9Symbol 89 MovieClip
"empty"Frame 10Symbol 89 MovieClip
"empty1"Frame 10Symbol 89 MovieClip
"vieo"Frame 10Symbol 123 MovieClip
"ninj1"Frame 12Symbol 173 MovieClip
"ninj5"Frame 12Symbol 174 MovieClip
"ninj3"Frame 12Symbol 175 MovieClip
"ninj2"Frame 12Symbol 173 MovieClip
"ninj6"Frame 12Symbol 174 MovieClip
"ninj4"Frame 12Symbol 175 MovieClip
"hitt"Frame 12Symbol 177 MovieClip
"recal"Frame 16Symbol 204 Button
"vid"Symbol 67 MovieClip Frame 1Symbol 66 Video
"vid"Symbol 123 MovieClip Frame 1Symbol 66 Video
"healthbar"Symbol 168 MovieClip Frame 1Symbol 167 MovieClip
"healths"Symbol 170 MovieClip Frame 1Symbol 168 MovieClip
"hitto"Symbol 173 MovieClip Frame 1Symbol 89 MovieClip
"hitto"Symbol 174 MovieClip Frame 1Symbol 89 MovieClip
"hitto"Symbol 175 MovieClip Frame 1Symbol 89 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 217 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 218 as "__Packages.CollisionDetection"
ExportAssets (56)Timeline Frame 6Symbol 56 as "punch2"
ExportAssets (56)Timeline Frame 6Symbol 57 as "punch1"
ExportAssets (56)Timeline Frame 6Symbol 58 as "hitie"
ExportAssets (56)Timeline Frame 6Symbol 59 as "punch"
ExportAssets (56)Timeline Frame 6Symbol 60 as "music2"

Labels

"menu"Frame 10
"ninja"Frame 11
"gameover"Frame 13
"about"Frame 14
"options"Frame 15
"troubleshoot"Frame 16
"instructions"Frame 17
"diel"Symbol 173 MovieClip Frame 2
"dier"Symbol 173 MovieClip Frame 3
"attack"Symbol 173 MovieClip Frame 4
"diel"Symbol 174 MovieClip Frame 2
"dier"Symbol 174 MovieClip Frame 3
"attack"Symbol 174 MovieClip Frame 4
"dier"Symbol 175 MovieClip Frame 2
"diel"Symbol 175 MovieClip Frame 3
"attack"Symbol 175 MovieClip Frame 4

Dynamic Text Variables

_root.percentageSymbol 35 EditableText""
_root.timerSymbol 156 EditableText"2 "
_root.timedSymbol 160 EditableText"0"
_root.hitsSymbol 162 EditableText""
_root.noticeSymbol 181 EditableText"<p align="center"></p>"
_root.qualvSymbol 193 EditableText""




http://swfchan.com/8/38053/info.shtml
Created: 13/5 -2019 15:03:31 Last modified: 13/5 -2019 15:03:31 Server time: 27/04 -2024 05:30:09