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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM50526499-23DC&rnd=50526499" width="1" height="1"></div>

armorgames music-dodge-428.swf

This is the info page for
Flash #267845

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


Text
<p align="center"><font face="Manga Temple" size="20" color="#ffff00" letterSpacing="0.000000" kerning="0"><b>Click anywhere to return to the menu</b></font></p>

<p align="center"><font face="Manga Temple" size="20" color="#cccccc" letterSpacing="0.000000" kerning="0"><b>iN THIS GAME YOU CONTROL A SMALL &apos;DODGING SPHERE&apos; BY MOVING YOUR MOUSE</b></font></p>

<p align="center"><font face="Manga Temple" size="20" color="#cccccc" letterSpacing="0.000000" kerning="0"><b>Bars will be generated based on the music you listen to. You need to dodge these.</b></font></p>

<p align="center"><font face="Manga Temple" size="20" color="#cccccc" letterSpacing="0.000000" kerning="0"><b>In order to score points, you must &quot;scratcH.&quot; You must move next to the bar and generate sparks.</b></font></p>

<p align="center"><font face="Manga Temple" size="20" color="#ffff00" letterSpacing="0.000000" kerning="0"><b>Click anywhere to return to the menu</b></font></p>

<p align="center"><font face="Manga Temple" size="20" color="#0000cc" letterSpacing="0.000000" kerning="0"><b>Instruction Manual</b></font></p>

Final Score

23422

Submit this Score

Back to main menu

Music Select

Note: If you are interested in playing your own mp3 files, please visit
http://majidesign.com/musicdodge/

User Name:
(for hiscore board)

Guest

Begin Playing

Begin Playing

Cancel

Cancel

Pick your song:

Haste Haste by Matt2east

Haste Haste by Matt2east

Secret Ninja Academy by Matt2east

Secret Ninja Academy by Matt2east

song could not be loaded. Check the URL and try again.
Click here to continue.

0

Loading The song

Music Dodge

majiDesign.com

ActionScript [AS3]

Section 1
//arcadetown_splash_7 (musicDodge_fla.arcadetown_splash_7) package musicDodge_fla { import flash.display.*; public dynamic class arcadetown_splash_7 extends MovieClip { public function arcadetown_splash_7(){ addFrameScript(53, frame54, 70, frame71); } function frame71(){ this.visible = false; } function frame54(){ } } }//package musicDodge_fla
Section 2
//beginPlayingBut_10 (musicDodge_fla.beginPlayingBut_10) package musicDodge_fla { import flash.display.*; public dynamic class beginPlayingBut_10 extends MovieClip { public function beginPlayingBut_10(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package musicDodge_fla
Section 3
//cancelBut_11 (musicDodge_fla.cancelBut_11) package musicDodge_fla { import flash.display.*; public dynamic class cancelBut_11 extends MovieClip { public function cancelBut_11(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package musicDodge_fla
Section 4
//hastehaste_12 (musicDodge_fla.hastehaste_12) package musicDodge_fla { import flash.display.*; public dynamic class hastehaste_12 extends MovieClip { public function hastehaste_12(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package musicDodge_fla
Section 5
//ninjaacademy_13 (musicDodge_fla.ninjaacademy_13) package musicDodge_fla { import flash.display.*; public dynamic class ninjaacademy_13 extends MovieClip { public function ninjaacademy_13(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package musicDodge_fla
Section 6
//attackLine (attackLine) package { import flash.display.*; import flash.media.*; import flash.utils.*; public class attackLine extends MovieClip { var colorChoice; var moveTimer:Timer; var speed:Number; var leftMove:Boolean; var lastY; var lastX; var stageInstance; var lengthBeat; public function attackLine(_arg1:Boolean, _arg2:Number, _arg3:Number, _arg4:Number, _arg5){ this.alpha = 0.75; lengthBeat = _arg2; colorChoice = _arg4; stageInstance = _arg5; leftMove = _arg1; speed = Math.floor(_arg3); this.scaleX = lengthBeat; if (_arg1){ this.x = (100 - Math.floor(this.width)); this.y = Math.floor((Math.random() * 500)); } else { this.x = (540 + (this.width / 2)); this.y = (Math.random() * 500); }; this.gotoAndStop(_arg4); this.alpha = 0.5; lastX = this.x; lastY = this.y; this.addEventListener("enterFrame", moveLine); } public function moveLine(_arg1){ if (leftMove){ this.x = (this.x + speed); if (this.x > (640 + this.width)){ deleteMe(); }; } else { this.x = (this.x - speed); if (this.x < (0 - this.width)){ deleteMe(); }; }; } public function deleteMe(){ stageInstance.removeTarget(this); this.removeEventListener("enterFrame", moveLine); stageInstance.removeChild(this); delete ??getglobalscope [this]; } } }//package
Section 7
//badURLMessage (badURLMessage) package { import flash.display.*; public dynamic class badURLMessage extends MovieClip { } }//package
Section 8
//deathDodger (deathDodger) package { import flash.display.*; import flash.utils.*; public class deathDodger extends MovieClip { var moveTimer:Timer; var scratcher; var fadeTime;// = 0.05 var scratchAmt;// = 2 var scratchAlph;// = 0.5 var stageInstance; public function deathDodger(_arg1, _arg2){ fadeTime = 0.05; scratchAlph = 0.5; scratchAmt = 2; super(); scratcher = _arg2; if (scratcher){ this.scaleX = 1.6; this.scaleY = 1.6; this.alpha = scratchAlph; this.gotoAndPlay(50); } else { this.alpha = 0.1; this.scaleX = 0.5; this.scaleY = 0.5; this.stop(); }; stageInstance = _arg1; moveTimer = new Timer(50); moveTimer.addEventListener("timer", moveMe); moveTimer.start(); } function scratch(_arg1){ } public function stopRun(){ moveTimer.removeEventListener("timer", moveMe); moveTimer.stop(); } function moveMe(_arg1){ this.x = stage.mouseX; this.y = stage.mouseY; checkDead(); } function die(){ var _local1:*; stageInstance.alive = false; stageInstance.mouseIcon.alpha = 0; stageInstance.scratchArea.alpha = 0; _local1 = 0; while (_local1 < 50) { stageInstance.addChild(new scratchSpark(stageInstance, this.x, this.y, 5)); _local1++; }; } function checkDead(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; _local1 = false; _local2 = false; _local3 = false; _local4 = 0; _local5 = 0; while (_local5 < stageInstance.targetList.length) { _local6 = stageInstance.targetList[_local5]; if (this.hitTestObject(_local6)){ _local1 = true; if (((scratcher) && (stageInstance.alive))){ _local7 = -10; if (this.y < _local6.y){ if (_local2){ break; }; _local2 = true; _local7 = 13; } else { if (_local3){ break; }; _local3 = true; }; _local8 = 0; while (_local8 < scratchAmt) { stageInstance.addChild(new scratchSpark(stageInstance, this.x, (this.y + _local7), 1)); stageInstance.addPoint(1); _local8++; }; }; }; _local5++; }; if (stageInstance.alive){ if (_local1){ if (scratcher){ scratch(_local4); } else { die(); }; }; } else { stageInstance.mouseIcon.alpha = (stageInstance.mouseIcon.alpha + 0.01); if (stageInstance.scratchArea.alpha < scratchAlph){ stageInstance.scratchArea.alpha = (stageInstance.scratchArea.alpha + 0.01); }; if (stageInstance.mouseIcon.alpha >= 1){ stageInstance.alive = true; }; }; } } }//package
Section 9
//dodgeBlur (dodgeBlur) package { import flash.display.*; import flash.utils.*; public class dodgeBlur extends MovieClip { var moveTimer:Timer; var fadeTime;// = 0.05 var stageInstance; public function dodgeBlur(_arg1, _arg2, _arg3, _arg4){ fadeTime = 0.05; super(); this.gotoAndStop(_arg4); this.alpha = 0.3; stageInstance = _arg1; this.x = _arg2; this.y = _arg3; moveTimer = new Timer(50); moveTimer.addEventListener("timer", moveMe); moveTimer.start(); } function moveMe(_arg1){ this.alpha = (this.alpha - fadeTime); if (this.alpha <= 0){ deleteMe(); }; } function deleteMe(){ moveTimer.stop(); moveTimer.removeEventListener("timer", moveMe); moveTimer = null; stageInstance.removeChild(this); } } }//package
Section 10
//dodger (dodger) package { import flash.display.*; public class dodger extends MovieClip { var fadeTime;// = 0.05 var lastY; var lastX; var stageInstance; public function dodger(_arg1){ fadeTime = 0.05; super(); lastX = 0; lastY = 0; this.alpha = 1; stageInstance = _arg1; this.play(); addEventListener("enterFrame", moveMe); } public function stopRun(){ removeEventListener("enterFrame", moveMe); } function moveMe(_arg1){ lastX = this.x; lastY = this.y; this.x = stage.mouseX; this.y = stage.mouseY; } } }//package
Section 11
//endingScore (endingScore) package { import flash.display.*; import flash.text.*; public dynamic class endingScore extends MovieClip { public var submit:MovieClip; public var backToMenu:MovieClip; public var scoreField:TextField; } }//package
Section 12
//frameRateKeeper (frameRateKeeper) package { import flash.display.*; import flash.utils.*; public class frameRateKeeper extends MovieClip { var frameTracker;// = 0 var requestedFrameRate;// = 30 var secondTimer:Timer; var currentFrameRate;// = 30 var stageInstance; public function frameRateKeeper(_arg1, _arg2){ var num = _arg1; var sI = _arg2; requestedFrameRate = 30; frameTracker = 0; currentFrameRate = 30; secondTimer = new Timer(1000); super(); stageInstance = sI; requestedFrameRate = num; currentFrameRate = num; this.addEventListener("enterFrame", function (){ frameTracker = (frameTracker + 1); }); secondTimer.addEventListener("timer", adjustFrameRate); secondTimer.start(); } public function adjustFrameRate(_arg1){ var _local2:*; _local2 = frameTracker; if (_local2 > requestedFrameRate){ currentFrameRate--; stage.frameRate = currentFrameRate; }; if ((((_local2 < requestedFrameRate)) && ((currentFrameRate < 90)))){ currentFrameRate = (currentFrameRate + (requestedFrameRate - _local2)); stage.frameRate = currentFrameRate; }; trace(("actual: " + _local2)); frameTracker = 0; } } }//package
Section 13
//haste6 (haste6) package { import flash.media.*; public dynamic class haste6 extends Sound { } }//package
Section 14
//instructionManual (instructionManual) package { import flash.display.*; public dynamic class instructionManual extends MovieClip { } }//package
Section 15
//lineBlur (lineBlur) package { import flash.display.*; import flash.media.*; import flash.utils.*; public class lineBlur extends MovieClip { var moveTimer:Timer; var fadeTime;// = 0.05 var stageInstance; public function lineBlur(_arg1:Number, _arg2, _arg3, _arg4, _arg5){ fadeTime = 0.05; super(); stageInstance = _arg4; this.scaleX = _arg5; this.x = _arg2; this.y = _arg3; this.alpha = 0.4; this.gotoAndStop(_arg1); moveTimer = new Timer(30); moveTimer.addEventListener("timer", moveLine); moveTimer.start(); } public function moveLine(_arg1){ this.alpha = (this.alpha - fadeTime); if (this.alpha <= 0){ deleteMe(); }; } public function deleteMe(){ moveTimer.stop(); moveTimer.removeEventListener("timer", moveLine); moveTimer = null; stageInstance.removeChild(this); } } }//package
Section 16
//menuButton (menuButton) package { import flash.display.*; import flash.text.*; public dynamic class menuButton extends MovieClip { public var butText:TextField; } }//package
Section 17
//musicSelect (musicSelect) package { import flash.display.*; import flash.text.*; public dynamic class musicSelect extends MovieClip { public var playerName:TextField; public var ninjaacademy:MovieClip; public var beginPlay:MovieClip; public var cancelBut:MovieClip; public var hastehaste:MovieClip; } }//package
Section 18
//musicStage (musicStage) package { import flash.display.*; import flash.media.*; import flash.utils.*; import flash.text.*; import flash.filters.*; import flash.geom.*; import flash.events.*; import flash.xml.*; import flash.ui.*; import flash.net.*; public class musicStage extends MovieClip { public var spawnLine:MovieClip; var oldBMP2:Bitmap; var instructionPage; var curLink;// = 0 public var atLogo:MovieClip; var score:Number;// = 0 var scratchArea; var blur2:BlurFilter; var pt2:Point; var endScoreBoard; var debugTimer; var mouseIcon; var form:TextFormat; var alive;// = true var soundAnalyzer; public var scoreText:TextField; var highQuality;// = true var sparkBMPdata:BitmapData; var menuMade;// = false var mp3Link; public var loadInd:MovieClip; var menuTimer; var deathArea; public var objOnScreen:TextField; var pickSongMenu; var hardRound:Boolean;// = false var sparkBMP:Bitmap; var myColT2:ColorTransform; var lineFill:int;// = 4 var mp3Name;// = "haste haste" var myColT3:ColorTransform; var badURLPopup:MovieClip; public var majiBut:MovieClip; public var aswBut:MovieClip; public var but0:MovieClip; var but1; var but2; var user;// = "Guest" var but4; var but5; var targetList; var but3; var fadeBMPdata2:BitmapData; public function musicStage(){ var _local1:*; highQuality = true; targetList = new Array(); score = 0; hardRound = false; form = new TextFormat(); alive = true; debugTimer = new Timer(200); mp3Link = new haste6(); mp3Name = "haste haste"; curLink = 0; menuTimer = new Timer(50); user = "Guest"; sparkBMP = new Bitmap(); sparkBMPdata = new BitmapData(640, 480, true, 0); myColT3 = new ColorTransform(1, 1, 1, 0.5, 0, 0, 0, 0); fadeBMPdata2 = new BitmapData(640, 480, true, 0); oldBMP2 = new Bitmap(); myColT2 = new ColorTransform(1, 1, 1, 0.95, 0, 0, 0, 0); blur2 = new BlurFilter(2, 2, 1); pt2 = new Point(0, 0); lineFill = 4; menuMade = false; super(); makeMenu(); makeMouse(); debugTimer.addEventListener("timer", debugNow); debugTimer.start(); menuTimer.start(); menuTimer.addEventListener("timer", menuSel); this.addEventListener("enterFrame", lineTrail); _local1 = new frameRateKeeper(28, this); this.addChild(_local1); } public function quitNow(_arg1){ trace("quittin"); quit(); } public function drawToBMP(_arg1, _arg2, _arg3){ var _local4:*; var _local5:Matrix; _local4 = _arg1; _local5 = new Matrix(); _local5.tx = _arg2; _local5.ty = _arg3; sparkBMPdata.draw(_local4, _local5); } public function nextRound(){ if (hardRound){ endGame(); } else { endGame(); }; } public function start(){ } public function quit(){ Mouse.show(); if (menuTimer != undefined){ menuTimer.stop(); menuTimer.removeEventListener("timer", menuSel); }; if (soundAnalyzer != undefined){ soundAnalyzer.stopRun(); }; if (mouseIcon != undefined){ mouseIcon.stopRun(); }; if (deathArea != undefined){ deathArea.stopRun(); }; if (scratchArea != undefined){ scratchArea.stopRun(); }; } public function ioErrorHandler(_arg1){ trace(_arg1.text); } public function switchSong(_arg1){ if (_arg1 == 1){ curLink = 1; pickSongMenu.hastehaste.gotoAndStop(2); pickSongMenu.ninjaacademy.gotoAndStop(2); mp3Link = new secretninjaacademy(); mp3Name = "Secret Ninja Academy"; } else { curLink = 0; pickSongMenu.hastehaste.gotoAndStop(1); pickSongMenu.ninjaacademy.gotoAndStop(1); mp3Link = new haste6(); mp3Name = "haste haste"; }; } public function makeMenu(){ if (menuMade){ majiBut.visible = true; aswBut.visible = true; atLogo.visible = true; but0.visible = true; but1.visible = true; but2.visible = true; but3.visible = true; but4.visible = true; but5.visible = true; this.loadInd.visible = false; spawnLine.visible = false; } else { menuMade = true; this.loadInd.visible = false; spawnLine.visible = false; majiBut.addEventListener("click", function (){ navigateToURL(new URLRequest("http://majidesign.com/musicDodge/"), "_blank"); }); aswBut.addEventListener("click", function (){ navigateToURL(new URLRequest("http://www.animesongwritingworkshop.com"), "_blank"); }); atLogo.addEventListener("click", function (){ navigateToURL(new URLRequest("http://www.arcadetown.com/index.asp?gameid=musicdodge"), "_blank"); }); but1 = new menuButton(); but1.butText.text = "Start"; but1.addEventListener("click", pickSong); but1.butText.textColor = 170; this.addChildAt(but1, 0); but1.x = 240; but1.y = 100; but2 = new menuButton(); but2.butText.text = "Instruction Manual"; but2.butText.textColor = 170; but2.addEventListener("click", instructions); this.addChildAt(but2, 0); but2.x = 240; but2.y = 150; but3 = new menuButton(); but3.butText.textColor = 170; but3.butText.text = "Hi-Scores"; but3.addEventListener("click", function (){ var url:String; var request:URLRequest; url = "http://www.arcadetown.com/musicdodge/view_high_scores.asp"; request = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; }); this.addChildAt(but3, 0); but3.x = 240; but3.y = 200; but4 = new menuButton(); but4.butText.textColor = 170; but4.butText.text = "More Games"; but4.addEventListener("click", function (){ navigateToURL(new URLRequest("http://www.arcadetown.com/index.asp?gameid=musicdodge"), "_blank"); }); this.addChildAt(but4, 0); but4.x = 240; but4.y = 250; but5 = new menuButton(); but5.butText.textColor = 170; but5.butText.htmlText = "Add this game to your website"; but5.addEventListener("click", function (){ navigateToURL(new URLRequest("http://www.arcadetown.com/free_content/index.asp"), "_blank"); }); this.addChildAt(but5, 0); but5.x = 240; but5.y = 300; }; } public function menuSel(_arg1){ if (mouseIcon.hitTestObject(but1)){ mouseOverHand(but1); } else { mouseOutHand(but1); }; if (mouseIcon.hitTestObject(but2)){ mouseOverHand(but2); } else { mouseOutHand(but2); }; if (mouseIcon.hitTestObject(but3)){ mouseOverHand(but3); } else { mouseOutHand(but3); }; if (mouseIcon.hitTestObject(but4)){ mouseOverHand(but4); } else { mouseOutHand(but4); }; if (mouseIcon.hitTestObject(but5)){ mouseOverHand(but5); } else { mouseOutHand(but5); }; } public function mouseOutHand(_arg1){ _arg1.butText.textColor = 0xCCCCCC; _arg1.scaleY = 1; } public function lineTrail(_arg1){ var _local2:int; var _local3:*; var _local4:Matrix; var _local5:*; var _local6:*; var _local7:Matrix; _local2 = 0; while (_local2 < targetList.length) { _local3 = targetList[_local2]; _local4 = new Matrix(); _local4.tx = _local3.x; _local4.ty = _local3.y; _local4.a = _local3.scaleX; _local5 = new ColorTransform(1, 1, 1, 0.5, 0, 0, 0, 0); fadeBMPdata2.draw(_local3, _local4, _local5); _local3.lastX = _local3.x; _local3.lastY = _local3.y; _local2++; }; if (alive){ _local6 = 0; while (_local6 < lineFill) { _local7 = new Matrix(); _local7.tx = (mouseIcon.x - ((_local6 * (mouseIcon.x - mouseIcon.lastX)) / lineFill)); _local7.ty = (mouseIcon.y - ((_local6 * (mouseIcon.y - mouseIcon.lastY)) / lineFill)); fadeBMPdata2.draw(mouseIcon, _local7); _local6++; }; }; fadeBMPdata2.applyFilter(fadeBMPdata2, fadeBMPdata2.rect, pt2, blur2); if (!this.contains(oldBMP2)){ oldBMP2 = new Bitmap(fadeBMPdata2); this.addChildAt(oldBMP2, 0); }; fadeBMPdata2.colorTransform(fadeBMPdata2.rect, myColT2); } function GetBaseUrl(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = _arg1.toLowerCase(); _local3 = _local2.length; _local4 = _local2.indexOf("?", 0); if (_local4 > 0){ _local3 = _local4; }; _local5 = "download"; if (_local2.substr(0, 4) == "http"){ _local5 = _arg1.substr(7, (_local3 - 7)); }; return (_local5); } public function pickSong(_arg1){ var evt = _arg1; debugTimer.stop(); aswBut.visible = false; atLogo.visible = false; majiBut.visible = false; but0.visible = false; but1.visible = false; but2.visible = false; but3.visible = false; but4.visible = false; but5.visible = false; pickSongMenu = new musicSelect(); pickSongMenu.playerName.text = user; pickSongMenu.visible = true; pickSongMenu.beginPlay.gotoAndStop(1); pickSongMenu.cancelBut.gotoAndStop(1); pickSongMenu.beginPlay.addEventListener(MouseEvent.MOUSE_OVER, function (){ pickSongMenu.beginPlay.gotoAndStop(2); }); pickSongMenu.beginPlay.addEventListener(MouseEvent.MOUSE_OUT, function (){ pickSongMenu.beginPlay.gotoAndStop(1); }); pickSongMenu.cancelBut.addEventListener(MouseEvent.MOUSE_OVER, function (){ pickSongMenu.cancelBut.gotoAndStop(2); }); pickSongMenu.cancelBut.addEventListener(MouseEvent.MOUSE_OUT, function (){ pickSongMenu.cancelBut.gotoAndStop(1); }); pickSongMenu.beginPlay.addEventListener(MouseEvent.CLICK, function (){ if (pickSongMenu.playerName.text == ""){ user = "Guest"; } else { user = pickSongMenu.playerName.text; }; pickSongMenu.visible = false; runLevel(mp3Link); }); pickSongMenu.cancelBut.addEventListener(MouseEvent.CLICK, function (){ pickSongMenu.visible = false; debugTimer.start(); makeMenu(); }); this.addChild(pickSongMenu); pickSongMenu.hastehaste.addEventListener(MouseEvent.CLICK, function (){ switchSong(0); }); pickSongMenu.ninjaacademy.addEventListener(MouseEvent.CLICK, function (){ switchSong(1); }); pickSongMenu.x = 50; } public function sparkTrail(){ sparkBMPdata.colorTransform(fadeBMPdata2.rect, myColT3); if (!contains(sparkBMP)){ sparkBMP = new Bitmap(sparkBMPdata); addChild(sparkBMP); }; setChildIndex(sparkBMP, (numChildren - 1)); } public function mouseOverHand(_arg1){ _arg1.butText.textColor = 0xFFFFFF; _arg1.scaleY = 1.3; } public function removeTarget(_arg1){ var _local2:*; var _local3:*; _local2 = targetList.length; _local3 = 0; while (_local3 < targetList.length) { if (targetList[_local3] == _arg1){ targetList.splice(_local3, 1); }; _local3++; }; } public function reset(){ if (pickSongMenu != undefined){ pickSongMenu.visible = false; }; if (soundAnalyzer != undefined){ soundAnalyzer.stopRun(); }; makeMenu(); } public function makeMouse(){ mouseIcon = new dodger(this); this.addChild(mouseIcon); mouseIcon.mouseEnabled = false; Mouse.hide(); } public function endGame(){ but0.visible = true; endScoreBoard = new endingScore(); endScoreBoard.x = 110; endScoreBoard.y = 120; addChildAt(endScoreBoard, (getChildIndex(mouseIcon) - 1)); endScoreBoard.scoreField.text = scoreText.text; endScoreBoard.submit.addEventListener(MouseEvent.CLICK, function (_arg1){ var strOut:*; var strOut2:*; var url:String; var request:URLRequest; var evt = _arg1; endScoreBoard.submit.visible = false; if (((!((score == 0))) && (!((user == "Guest"))))){ strOut = ((user + "|") + scoreText.text); strOut2 = EncrpytString(strOut); url = ("http://www.arcadetown.com/musicdodge/hs.asp?" + strOut2); request = new URLRequest(url); }; try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; }); endScoreBoard.backToMenu.addEventListener(MouseEvent.CLICK, function (_arg1){ removeChild(endScoreBoard); makeMenu(); }); } public function addPoint(_arg1:Number){ score = (score + _arg1); scoreText.text = score.toString(); scoreText.setTextFormat(form); } public function displayScores(_arg1){ var _local2:XML; var _local3:XMLDocument; var _local4:String; var _local5:*; _local2 = new XML(_arg1.target.data); _local2.ignoreWhite = true; _local3 = new XMLDocument(); _local3.parseXML(_local2); _local4 = ""; _local5 = 0; while (_local5 < _local2.song.length()) { _local4 = (_local4 + (((((_local5 + ". ") + _local2.song[_local5].attribute("player")) + " - ") + _local2.song[_local5].attribute("score")) + "<br>")); _local5++; }; endScoreBoard.hiscoreChart.htmlText = _local4; } function EncrpytString(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; _local2 = "aHfEjcDebChGiAfIjDbEjacD"; _local3 = _local2.length; _local4 = "0"; _local5 = ""; _local6 = _arg1.length; _local7 = 0; _local5 = ""; _local11 = 0; _local12 = 0; while (_local12 < _local6) { _local8 = _arg1.charCodeAt(_local12); if (_local8 >= 128){ _local8 = "X"; }; _local9 = _local2.charCodeAt(_local7); _local7 = (_local7 + 1); if (_local7 >= _local3){ _local7 = 0; }; _local10 = ((_local8 % 16) + _local9); _local5 = (_local5 + String.fromCharCode(_local10)); _local11 = (_local11 + _local10); _local9 = _local2.charCodeAt(_local7); _local7 = (_local7 + 1); if (_local7 >= _local3){ _local7 = 0; }; _local10 = (Math.floor((_local8 / 16)) + _local9); _local5 = (_local5 + String.fromCharCode(_local10)); _local11 = (_local11 + _local10); _local12++; }; _local11 = (_local11 % 0x0100); _local9 = _local2.charCodeAt(_local7); _local7 = (_local7 + 1); if (_local7 >= _local3){ _local7 = 0; }; _local10 = ((_local11 % 16) + _local9); _local5 = (_local5 + String.fromCharCode(_local10)); _local9 = _local2.charCodeAt(_local7); _local7 = (_local7 + 1); if (_local7 >= _local3){ _local7 = 0; }; _local10 = (Math.floor((_local11 / 16)) + _local9); _local5 = (_local5 + String.fromCharCode(_local10)); return (_local5); } public function debugNow(_arg1){ var _local2:*; var _local3:attackLine; _local2 = Math.floor(((Math.random() * 5) + 1)); _local3 = new attackLine(false, (1 + Math.abs((Math.random() * 10))), (6 + _local2), _local2, this); this.addChildAt(_local3, 0); this.addTarget(_local3); } public function addTarget(_arg1){ targetList.push(_arg1); } public function instructions(_arg1){ var ext = _arg1; instructionPage = new instructionManual(); this.addChild(instructionPage); instructionPage.x = 0; instructionPage.y = 0; instructionPage.addEventListener("click", function (_arg1){ instructionPage.visible = false; }); } function GetUrlParam(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local3 = _arg1.toLowerCase(); _local4 = _local3.indexOf(_arg2); _local5 = _arg2.length; if (_local4 > 0){ _local7 = _local3.indexOf("&", (_local4 + _local5)); if (_local7 > 0){ _local6 = (_local7 - _local4); } else { _local6 = (_arg1.length - _local4); }; return (_arg1.substr((_local4 + _local5), _local6)); }; return (""); } public function runLevel(_arg1){ this.loadInd.visible = true; scoreText.visible = true; spawnLine.visible = true; soundAnalyzer = null; score = 0; scoreText.text = "0"; menuTimer.stop(); soundAnalyzer = new soundDeploy(_arg1, this); deathArea = new deathDodger(this, false); deathArea.mouseEnabled = false; this.addChild(deathArea); scratchArea = new deathDodger(this, true); scratchArea.mouseEnabled = false; this.addChild(scratchArea); } public function endGameSub(_arg1){ endGame(); } public function badURLDetected(){ mp3Link = new haste6(); reset(); badURLPopup = new badURLMessage(); badURLPopup.visible = true; this.addChild(badURLPopup); badURLPopup.x = 200; badURLPopup.y = 180; badURLPopup.addEventListener("click", function (){ badURLPopup.visible = false; }); } } }//package
Section 19
//scratchSpark (scratchSpark) package { import flash.display.*; import flash.utils.*; public class scratchSpark extends MovieClip { var xVel; var yPos; var fadeTime;// = 0.05 var yVel; var stageInstance; var xPos; public function scratchSpark(_arg1, _arg2, _arg3, _arg4){ fadeTime = 0.05; xVel = ((Math.random() * 4) - 2); yVel = ((Math.random() * 4) - 2); super(); this.visible = true; stageInstance = _arg1; this.gotoAndStop(_arg4); if (_arg4 != 1){ fadeTime = 0.04; }; this.x = Math.floor(_arg2); this.y = _arg3; xPos = this.x; yPos = this.y; this.addEventListener("enterFrame", moveMe); } function moveMe(_arg1){ stageInstance.drawToBMP(this, xPos, yPos); this.x = xPos; this.y = yPos; this.alpha = (this.alpha - fadeTime); xPos = (xPos + xVel); yPos = (yPos + yVel); if (this.alpha <= 0){ deleteMe(); }; } function deleteMe(){ this.removeEventListener("enterFrame", moveMe); stageInstance.removeChild(this); delete ??getglobalscope [this]; } } }//package
Section 20
//secretninjaacademy (secretninjaacademy) package { import flash.media.*; public dynamic class secretninjaacademy extends Sound { } }//package
Section 21
//soundDeploy (soundDeploy) package { import flash.display.*; import flash.media.*; import flash.utils.*; public class soundDeploy extends MovieClip { var breaker;// = 0 var song:SoundChannel; var soundFile:Sound; var timer:Timer; var breakCount;// = 0 var stageInst:MovieClip; var maxLines:int;// = 300 var soundArray:ByteArray; var goinUp:Boolean;// = true var lastVal:Number;// = 0 public function soundDeploy(_arg1, _arg2:MovieClip){ soundFile = new Sound(); soundArray = new ByteArray(); song = new SoundChannel(); maxLines = 300; lastVal = 0; goinUp = true; breakCount = 0; breaker = 0; super(); timer = new Timer(30); _arg2.loadInd.visible = false; song = _arg1.play(); song.addEventListener("soundComplete", songEnded); stageInst = _arg2; timer.addEventListener("timer", readSpectrum); timer.start(); } public function stopRun(){ if (timer.running){ timer.stop(); }; if (song != null){ song.stop(); }; } function developLeftDot2(){ var _local1:Number; var _local2:*; var _local3:*; var _local4:attackLine; var _local5:*; var _local6:attackLine; _local1 = 0; _local2 = 0; while (_local2 < 26) { _local1 = soundArray.readFloat(); _local2++; }; if (goinUp){ if (lastVal > _local1){ if ((((((stageInst.hardRound == false)) || (((stageInst.hardRound) && ((Math.random() < 0.6)))))) && ((stageInst.numChildren < maxLines)))){ _local3 = 1; if (lastVal < -0.05){ _local3 = 1; } else { if (lastVal < 0){ _local3 = 2; } else { if (lastVal < 0.15){ _local3 = 3; } else { if (lastVal < 0.3){ _local3 = 4; } else { if (lastVal < 0.45){ _local3 = 5; } else { _local3 = 6; }; }; }; }; }; if (breaker <= 0){ _local4 = new attackLine(false, (1 + Math.abs((_local1 * 40))), (1 + _local3), _local3, stageInst); stageInst.addChild(_local4); stageInst.addTarget(_local4); breaker = breakCount; } else { breaker--; }; }; goinUp = false; }; } else { if (lastVal < _local1){ if (((((stageInst.hardRound) && ((Math.random() < 0.6)))) && ((stageInst.numChildren < maxLines)))){ _local5 = 1; if (lastVal < -0.05){ _local5 = 1; } else { if (lastVal < 0){ _local5 = 2; } else { if (lastVal < 0.1){ _local5 = 3; } else { if (lastVal < 0.2){ _local5 = 4; } else { if (lastVal < 0.3){ _local5 = 5; } else { _local5 = 6; }; }; }; }; }; _local6 = new attackLine(true, (1 + Math.abs((_local1 * 40))), (1 + _local5), _local5, stageInst); stageInst.addChild(_local6); stageInst.addTarget(_local6); }; goinUp = true; }; }; lastVal = _local1; } function readSpectrum(_arg1){ SoundMixer.computeSpectrum(soundArray, true, 0); developLeftDot2(); } function songEnded(_arg1){ trace("song ended"); timer.stop(); song = null; soundFile = null; stageInst.nextRound(); } } }//package

Library Items

Symbol 1 Sound {secretninjaacademy}
Symbol 2 Sound {haste6}
Symbol 3 GraphicUsed by:9
Symbol 4 GraphicUsed by:9
Symbol 5 GraphicUsed by:9
Symbol 6 GraphicUsed by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip {lineBlur}Uses:3 4 5 6 7 8
Symbol 10 GraphicUsed by:16
Symbol 11 GraphicUsed by:16 31
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip {attackLine}Uses:10 11 12 13 14 15
Symbol 17 GraphicUsed by:18 19 20 29
Symbol 18 MovieClip {deathDodger}Uses:17
Symbol 19 MovieClip {dodgeBlur}Uses:17
Symbol 20 MovieClip {dodger}Uses:17
Symbol 21 GraphicUsed by:22 23
Symbol 22 MovieClipUses:21Used by:24 33
Symbol 23 MovieClipUses:21Used by:24 33
Symbol 24 MovieClip {scratchSpark}Uses:22 23
Symbol 25 GraphicUsed by:35 116
Symbol 26 FontUsed by:27 28 30 32 34 38 40 41 43 45 49 50 51 52 54 55 58 59 61 63 65 68 70 74 76 77 80 82
Symbol 27 EditableTextUses:26Used by:35
Symbol 28 EditableTextUses:26Used by:35
Symbol 29 MovieClipUses:17Used by:35
Symbol 30 EditableTextUses:26Used by:35
Symbol 31 MovieClipUses:11Used by:35
Symbol 32 EditableTextUses:26Used by:35
Symbol 33 MovieClipUses:22 23Used by:35
Symbol 34 EditableTextUses:26Used by:35
Symbol 35 MovieClip {instructionManual}Uses:25 27 28 29 30 31 32 33 34
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:39
Symbol 38 EditableTextUses:26Used by:39
Symbol 39 MovieClip {menuButton}Uses:37 38
Symbol 40 EditableTextUses:26Used by:47
Symbol 41 EditableTextUses:26Used by:47
Symbol 42 GraphicUsed by:44 46
Symbol 43 EditableTextUses:26Used by:44
Symbol 44 MovieClipUses:42 43Used by:47
Symbol 45 EditableTextUses:26Used by:46
Symbol 46 MovieClipUses:42 45Used by:47
Symbol 47 MovieClip {endingScore}Uses:40 41 44 46
Symbol 48 GraphicUsed by:72
Symbol 49 EditableTextUses:26Used by:72
Symbol 50 EditableTextUses:26Used by:72
Symbol 51 TextUses:26Used by:72
Symbol 52 EditableTextUses:26Used by:72
Symbol 53 GraphicUsed by:56
Symbol 54 TextUses:26Used by:56
Symbol 55 TextUses:26Used by:56
Symbol 56 MovieClip {musicDodge_fla.beginPlayingBut_10}Uses:53 54 55Used by:72
Symbol 57 GraphicUsed by:60
Symbol 58 TextUses:26Used by:60
Symbol 59 TextUses:26Used by:60
Symbol 60 MovieClip {musicDodge_fla.cancelBut_11}Uses:57 58 59Used by:72
Symbol 61 EditableTextUses:26Used by:72
Symbol 62 GraphicUsed by:66
Symbol 63 EditableTextUses:26Used by:66
Symbol 64 GraphicUsed by:66
Symbol 65 EditableTextUses:26Used by:66
Symbol 66 MovieClip {musicDodge_fla.hastehaste_12}Uses:62 63 64 65Used by:72
Symbol 67 GraphicUsed by:71
Symbol 68 EditableTextUses:26Used by:71
Symbol 69 GraphicUsed by:71
Symbol 70 EditableTextUses:26Used by:71
Symbol 71 MovieClip {musicDodge_fla.ninjaacademy_13}Uses:67 68 69 70Used by:72
Symbol 72 MovieClip {musicSelect}Uses:48 49 50 51 52 56 60 61 66 71
Symbol 73 GraphicUsed by:75
Symbol 74 EditableTextUses:26Used by:75
Symbol 75 MovieClip {badURLMessage}Uses:73 74
Symbol 76 EditableTextUses:26Used by:Timeline
Symbol 77 EditableTextUses:26Used by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:Timeline
Symbol 80 TextUses:26Used by:81
Symbol 81 MovieClipUses:80Used by:Timeline
Symbol 82 EditableTextUses:26Used by:83
Symbol 83 MovieClipUses:82Used by:Timeline
Symbol 84 GraphicUsed by:91
Symbol 85 FontUsed by:86
Symbol 86 EditableTextUses:85Used by:91
Symbol 87 ShapeTweeningUsed by:91
Symbol 88 GraphicUsed by:91
Symbol 89 ShapeTweeningUsed by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:84 86 87 88 89 90Used by:Timeline
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClipUses:96Used by:Timeline
Symbol 98 GraphicUsed by:116
Symbol 99 GraphicUsed by:116
Symbol 100 GraphicUsed by:116
Symbol 101 GraphicUsed by:116
Symbol 102 GraphicUsed by:116
Symbol 103 GraphicUsed by:116
Symbol 104 GraphicUsed by:116
Symbol 105 GraphicUsed by:116
Symbol 106 GraphicUsed by:116
Symbol 107 GraphicUsed by:116
Symbol 108 GraphicUsed by:116
Symbol 109 GraphicUsed by:116
Symbol 110 GraphicUsed by:116
Symbol 111 GraphicUsed by:116
Symbol 112 ShapeTweeningUsed by:116
Symbol 113 GraphicUsed by:116
Symbol 114 GraphicUsed by:116
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClip {musicDodge_fla.arcadetown_splash_7}Uses:25 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115Used by:Timeline

Instance Names

"scoreText"Frame 1Symbol 76 EditableText
"objOnScreen"Frame 1Symbol 77 EditableText
"spawnLine"Frame 1Symbol 79 MovieClip
"loadInd"Frame 1Symbol 81 MovieClip
"but0"Frame 1Symbol 83 MovieClip
"majiBut"Frame 1Symbol 91 MovieClip
"aswBut"Frame 1Symbol 94 MovieClip
"atLogo"Frame 1Symbol 97 MovieClip
"butText"Symbol 39 MovieClip {menuButton} Frame 1Symbol 38 EditableText
"scoreField"Symbol 47 MovieClip {endingScore} Frame 1Symbol 41 EditableText
"submit"Symbol 47 MovieClip {endingScore} Frame 1Symbol 44 MovieClip
"backToMenu"Symbol 47 MovieClip {endingScore} Frame 1Symbol 46 MovieClip
"playerName"Symbol 72 MovieClip {musicSelect} Frame 1Symbol 52 EditableText
"beginPlay"Symbol 72 MovieClip {musicSelect} Frame 1Symbol 56 MovieClip {musicDodge_fla.beginPlayingBut_10}
"cancelBut"Symbol 72 MovieClip {musicSelect} Frame 1Symbol 60 MovieClip {musicDodge_fla.cancelBut_11}
"hastehaste"Symbol 72 MovieClip {musicSelect} Frame 1Symbol 66 MovieClip {musicDodge_fla.hastehaste_12}
"ninjaacademy"Symbol 72 MovieClip {musicSelect} Frame 1Symbol 71 MovieClip {musicDodge_fla.ninjaacademy_13}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




https://swfchan.com/54/267845/info.shtml
Created: 8/6 -2026 20:53:02 Last modified: 8/6 -2026 20:53:02 Server time: 23/06 -2026 11:46:41