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

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

Ninja Balance.swf

This is the info page for
Flash #25055

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


Text
Preloader - Center This

loading...

Ninja Balance!

Use the keyboard to
stay onthe ball.

Ninja Balance!

Check out my site!

Check out my site!

Press Enter
to play!

game

Oh No!

Oh No!

Well done!

Well done!

ActionScript [AS1/AS2]

Frame 1
_global.mcClickId = 423; kv_v = {c:320, a:0, da:["distralytics.com", "distralytics.co.uk"]}; kv_v.i = 0; while (kv_v.i < kv_v.da.length) { System.security.allowDomain(kv_v.da[kv_v.i], (kv_v.c + ".c.") + kv_v.da[kv_v.i], "*." + kv_v.da[kv_v.i]); kv_v.i++; } kv_v.lc = function () { var _local1 = ((("http://" + kv_v.c) + ".c.") + kv_v.da[kv_v.a % kv_v.da.length]) + kv_v.lurl; System.security.allowDomain(_local1); kv_v.l_mcl.loadClip(_local1, kv_v.t_mc); }; kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0])))); kv_v.fpv = getVersion().split(" ")[1].split(",")[0]; kv_v.lurl = "/control/tracking/tracker.swf?r=" + Math.floor(Math.random() * 10000); kv_v.t_mc = createEmptyMovieClip("kv_tracker", -16734); kv_v.l_mcl = new MovieClipLoader(); kv_v.mcl_l = {onLoadError:function () { kv_v.a++; kv_v.lc(); }, onLoadStart:function (m) { System.security.allowDomain(m._url); }}; kv_v.l_mcl.addListener(kv_v.mcl_l); kv_v.lc(); _global.masterDomain = "swarm.killerviral.com"; _global.assetsURL = "http://swarm.killerviral.com/tinymania/ninjaBalance/"; _global.isMaster = _root._url.indexOf(_global.masterDomain) >= 0; _global.domain = ((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0])); _global.playerVersion = Number(getVersion().substr(getVersion().indexOf(" ") + 1).split(",")[0]); _global.movieVersion = (_root.getSWFVersion ? (_root.getSWFVersion()) : 8); _global.ori_dom = (_root.ori_dom ? (_root.ori_dom) : (domain)); System.security.allowDomain(_global.masterDomain); var game_version = 3; if (!testMode) { stop(); if (playerVersion < 8) { trace("player version too old - load error swf"); loadMovie (_global.assetsURL + "error.swf", _root); } else if (isMaster) { trace("is master - skip version checking"); play(); } else { trace("check version..."); var vc_lv = new LoadVars(); vc_lv.onLoad = function (success) { clearInterval(tOIntId); delete tOIntId; if (success) { if (Number(vc_lv.v) > game_version) { trace("version checking succeeded - not the latest version"); loadMovie ((_global.assetsURL + "game.swf?ori_dom=") + ori_dom, _root); } else { trace("version checking succeeded - latest version"); play(); } } else { trace("version checking failed"); play(); } delete vc_lv; }; tOIntId = setInterval(timeout, 2000); vc_lv.load(_global.assetsURL + "v.php"); } }
Frame 3
stop();
Instance of Symbol 34 MovieClip in Frame 3
onClipEvent (enterFrame) { if (Key.isDown(13)) { _parent.gotoAndStop("playGame"); } }
Frame 4
stop();
Frame 5
gotoAndStop ("start");
Symbol 17 MovieClip Frame 100
gotoAndPlay (1);
Instance of Symbol 10 MovieClip in Symbol 18 MovieClip Frame 1
onClipEvent (load) { this._visible = 0; }
Symbol 18 MovieClip Frame 10
function onEnterFrame() { var _local2 = _root.getBytesLoaded() / _root.getBytesTotal(); if (getTimer() >= (startTime + 100)) { animDone = true; } if ((Math.ceil(bar._width) >= width) && (animDone)) { trace("loaded!"); stopSparks = true; delete onEnterFrame; gotoAndPlay ("out"); } else { setProgress(_local2); } } function fadeOut() { setProgress(progress); this._alpha = this._alpha - 5; if (this._alpha <= -50) { this._visible = false; _parent.play(); } } function makeSpark() { } function sparkControl() { if (!stopSparks) { this._y = this._y + this.grav; this._x = this._x + this.wind; this.grav = this.grav * gravity; this._alpha = this._alpha - this.grav; this._rotation = this._rotation + this.spin; if (this._alpha <= 0) { this.removeMovieClip(); } } else { this.removeMovieClip(); } } function setProgress(p) { bar._width = ((bar._width * 2) + (p * width)) / 3; if (progress != 1) { makeSpark(); } } width = 200; i = 0; gravity = 1.3; animDone = true; startTime = getTimer(); if (this._name == "loader_mc") { myName = _global.language.loadingAssets; } else { myName = _global.language.initLevel; } setProgress(0);
Symbol 18 MovieClip Frame 22
stop();
Symbol 18 MovieClip Frame 28
_parent.play();
Symbol 30 Button
on (release) { getURL ("http://www.tinymania.com", "_blank"); _root.kvClick(_global.mcClickId); }
Symbol 42 MovieClip Frame 1
if (!master) { _global.soundBodge = this; master = {}; _global.sndman = new SoundManager(_root.createEmptyMovieClip("snd_mc", _root.getNextHighestDepth())); _global.master = master; yesSound = _global.sndman.newSound("yesSound"); yes1Sound = _global.sndman.newSound("yes1Sound"); yes2Sound = _global.sndman.newSound("yes2Sound"); yes3Sound = _global.sndman.newSound("yes3Sound"); noSound = _global.sndman.newSound("noSound"); timeupSound = _global.sndman.newSound("timeupSound"); clickSound = _global.sndman.newSound("clickSound"); lostSound = _global.sndman.newSound("lostSound"); wonSound = _global.sndman.newSound("wonSound"); master.playSound = function (s) { trace((("playing " + s) + "Sound ") + this[s + "Sound"]); _global.sndman.playAndRemove(s + "Sound"); }; } stop();
Symbol 46 Button
on (release) { getURL ("http://www.tinymania.com", "_blank"); _root.kvClick(_global.mcClickId); }
Symbol 64 MovieClip Frame 9
gotoAndPlay (1);
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 15
stop();
Symbol 68 MovieClip Frame 1
function endGame(m) { if (!endGameOnce) { endGameOnce = true; if (!m) { m = "gameover"; master.playSound("lost"); } else { master.playSound("won"); } clown.gameOver = true; finalScore = Math.floor((clown.frameCount / clown.timeTotal) * 100); trace(finalScore + "%"); _parent.endGameBlackOut(finalScore, m); } } if (!playOnce) { playOnce = true; _global.gameWorld = this; }
Instance of Symbol 65 MovieClip "clown" in Symbol 68 MovieClip Frame 1
onClipEvent (load) { function timeInit() { frameCount = 0; timeTotal = 30; timeTotal = timeTotal * 25; } function timeControl() { if (!gameOver) { frameCount++; timeLeft = (timeTotal - frameCount) / 25; if (timeLeft < 0) { trace("TIME UP!"); gameWorld.endGame("youwin"); } else { displayTime = timeLeft; } } } function playDeathAnim() { if (!playOnce) { deathDampMod = 0.1; if (_rotation > 0) { gameWorld.deathAnimRight.gotoAndPlay("fall"); } else { gameWorld.deathAnimLeft.gotoAndPlay("fall"); } _visible = false; playOnce = true; gameWorld.endGame(); } } cRun = 0; acc = 1.2; bAngle = 0; gMod = 0.05; ramp = 1; rampMod = 1.0005; f = 0.9; rotMod = 20; rotModTgt = 30; b = _parent.ball; pBR = b._rotation; cr = _parent.crowd; crOX = _parent.crowd._x; r = _parent.ring; rOX = _parent.ring._x; deathDamp = 1; deathDampMod = 1; timeInit(); } onClipEvent (enterFrame) { timeControl(); ramp = ramp * rampMod; bAngle = bAngle + (0.05 * ramp); if (bAngle > (Math.PI*2)) { bAngle = 0; rotModTgt = (frameCount / timeTotal) * 150; } deathDamp = deathDamp * deathDampMod; rotMod = rotMod + (((rotModTgt * deathDamp) - rotMod) / 20); bRS = Math.sin(bAngle); prevBRS = Math.abs(bRS); bRot = bRS * rotMod; b._rotation = bRot; if (Key.isDown(37)) { cRun = cRun + acc; } if (Key.isDown(39)) { cRun = cRun - acc; } else { cRun = cRun * f; } if (cRun > 0) { this._xscale = 100; } else { this._xscale = -100; } bMove = _parent.ball._rotation - pBR; simGrav = this._rotation * gMod; this._rotation = this._rotation + ((bMove - cRun) + simGrav); pBR = b._rotation; cr._x = crOX - (bRot * 0.05); r._x = rOX - (bRot * 0.125); if (Math.abs(_rotation) >= 80) { playDeathAnim(); } }
Symbol 74 Button
on (release) { getURL ("http://www.tinymania.com/", "_blank"); _root.kvClick(_global.mcClickId); }
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 8
stop();
Symbol 85 Button
on (release) { play(); }
Symbol 86 Button
on (release) { getURL ("http://www.tinymania.com/", "_blank"); _root.kvClick(_global.mcClickId); }
Symbol 88 Button
on (release) { getURL ("http://www.tinymania.com", "_blank"); _root.kvClick(420); }
Symbol 89 MovieClip Frame 1
function endGameBlackOut(s, m) { scorePercentage = s; if (!playOnce) { playOnce = true; playWhat = "start"; if (m) { endGameMessage.gotoAndStop(m); } else { endGameMessage.gotoAndStop("blank"); playWhat = "skip"; } gotoAndPlay(playWhat); } } _parent.endGameBlackOut = endGameBlackOut; stop();
Symbol 89 MovieClip Frame 15
scoreDisplay.text = ("You scored " + _parent.game.finalScore) + "%!"; scoreDisplayShadow.text = scoreDisplay.text; stop();
Symbol 89 MovieClip Frame 25
master.endGame(scorePercentage); _parent.gotoAndStop("reset"); stop();

Library Items

Symbol 1 Sound [yes1Sound]Used by:42
Symbol 2 Sound [yes2Sound]Used by:42
Symbol 3 Sound [yes3Sound]Used by:42
Symbol 4 GraphicUsed by:18
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:18
Symbol 7 GraphicUsed by:10
Symbol 8 FontUsed by:9
Symbol 9 TextUses:8Used by:10
Symbol 10 MovieClipUses:7 9Used by:18
Symbol 11 GraphicUsed by:18
Symbol 12 GraphicUsed by:13 30 74
Symbol 13 MovieClipUses:12Used by:18
Symbol 14 GraphicUsed by:18
Symbol 15 FontUsed by:16
Symbol 16 TextUses:15Used by:17
Symbol 17 MovieClipUses:16Used by:18
Symbol 18 MovieClipUses:4 6 10 11 13 14 17Used by:Timeline
Symbol 19 GraphicUsed by:Timeline
Symbol 20 GraphicUsed by:68  Timeline
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:34
Symbol 23 FontUsed by:24 27 28 29 31 71 72 75 76 79 80
Symbol 24 TextUses:23Used by:34
Symbol 25 FontUsed by:26
Symbol 26 TextUses:25Used by:34
Symbol 27 TextUses:23Used by:34
Symbol 28 TextUses:23Used by:30 74
Symbol 29 TextUses:23Used by:30 74
Symbol 30 ButtonUses:28 29 12Used by:34
Symbol 31 TextUses:23Used by:34
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:34
Symbol 34 MovieClipUses:22 24 26 27 30 31 33Used by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 Sound [yesSound]Used by:42
Symbol 37 Sound [clickSound]Used by:42
Symbol 38 Sound [lostSound]Used by:42
Symbol 39 Sound [noSound]Used by:42
Symbol 40 Sound [wonSound]Used by:42
Symbol 41 Sound [timeupSound]Used by:42
Symbol 42 MovieClipUses:36 37 38 39 40 41 3 2 1Used by:Timeline
Symbol 43 GraphicUsed by:44 88
Symbol 44 MovieClipUses:43Used by:46 86 89
Symbol 45 GraphicUsed by:46 86
Symbol 46 ButtonUses:44 45Used by:Timeline
Symbol 47 FontUsed by:48
Symbol 48 EditableTextUses:47Used by:68
Symbol 49 GraphicUsed by:51
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:49 50Used by:52
Symbol 52 MovieClipUses:51Used by:68
Symbol 53 GraphicUsed by:68
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:68
Symbol 56 GraphicUsed by:64 67
Symbol 57 GraphicUsed by:64 67
Symbol 58 GraphicUsed by:64
Symbol 59 GraphicUsed by:64 67
Symbol 60 GraphicUsed by:64 67
Symbol 61 GraphicUsed by:64 67
Symbol 62 GraphicUsed by:64 67
Symbol 63 GraphicUsed by:64 67
Symbol 64 MovieClipUses:56 57 58 59 60 61 62 63Used by:65 67
Symbol 65 MovieClipUses:64Used by:68
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:56 57 60 59 66 64 63 61 62Used by:68
Symbol 68 MovieClipUses:48 20 52 53 55 65 67Used by:Timeline
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:78
Symbol 71 TextUses:23Used by:73
Symbol 72 TextUses:23Used by:73
Symbol 73 MovieClipUses:71 72Used by:78
Symbol 74 ButtonUses:28 29 12Used by:78
Symbol 75 TextUses:23Used by:77
Symbol 76 TextUses:23Used by:77
Symbol 77 MovieClipUses:75 76Used by:78
Symbol 78 MovieClipUses:70 73 74 77Used by:89
Symbol 79 EditableTextUses:23Used by:89
Symbol 80 EditableTextUses:23Used by:89
Symbol 81 GraphicUsed by:85
Symbol 82 GraphicUsed by:85
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 ButtonUses:81 82 83 84Used by:89
Symbol 86 ButtonUses:44 45Used by:89
Symbol 87 GraphicUsed by:89
Symbol 88 ButtonUses:43Used by:89
Symbol 89 MovieClipUses:78 79 80 44 85 86 87 88Used by:Timeline

Instance Names

"loader_mc"Frame 2Symbol 18 MovieClip
"game"Frame 4Symbol 68 MovieClip
"blackOut"Frame 4Symbol 89 MovieClip
"bar"Symbol 18 MovieClip Frame 7Symbol 13 MovieClip
"ball"Symbol 68 MovieClip Frame 1Symbol 55 MovieClip
"clown"Symbol 68 MovieClip Frame 1Symbol 65 MovieClip
"deathAnimRight"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"deathAnimLeft"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"endGameMessage"Symbol 89 MovieClip Frame 1Symbol 78 MovieClip
"scoreDisplayShadow"Symbol 89 MovieClip Frame 1Symbol 79 EditableText
"scoreDisplay"Symbol 89 MovieClip Frame 1Symbol 80 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "yes1Sound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "yes2Sound"
ExportAssets (56)Timeline Frame 1Symbol 3 as "yes3Sound"
ExportAssets (56)Timeline Frame 3Symbol 36 as "yesSound"
ExportAssets (56)Timeline Frame 3Symbol 37 as "clickSound"
ExportAssets (56)Timeline Frame 3Symbol 38 as "lostSound"
ExportAssets (56)Timeline Frame 3Symbol 39 as "noSound"
ExportAssets (56)Timeline Frame 3Symbol 40 as "wonSound"
ExportAssets (56)Timeline Frame 3Symbol 41 as "timeupSound"

Labels

"preloader"Frame 2
"start"Frame 3
"playGame"Frame 4
"reset"Frame 5
"out"Symbol 18 MovieClip Frame 23
"fall"Symbol 67 MovieClip Frame 2
"gameOver"Symbol 78 MovieClip Frame 2
"gameover"Symbol 78 MovieClip Frame 3
"game over"Symbol 78 MovieClip Frame 4
"timesUp"Symbol 78 MovieClip Frame 5
"timeUp"Symbol 78 MovieClip Frame 6
"timeOut"Symbol 78 MovieClip Frame 7
"youWin"Symbol 78 MovieClip Frame 9
"you win"Symbol 78 MovieClip Frame 10
"wellDone"Symbol 78 MovieClip Frame 11
"welldone"Symbol 78 MovieClip Frame 12
"start"Symbol 89 MovieClip Frame 2
"skip"Symbol 89 MovieClip Frame 16




http://swfchan.com/6/25055/info.shtml
Created: 24/5 -2019 04:30:27 Last modified: 24/5 -2019 04:30:27 Server time: 14/11 -2024 17:24:25