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

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

Robot_Unicorn_Attack_Heavy_Metal.swf

This is the info page for
Flash #95259

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { musicToggle._visible = false; allSoundsToggle._visible = false; musicToggle.btnMusic.enabled = false; allSoundsToggle.btnSounds.enabled = false; } frame 1 { var var1 = 0; var var3 = 3812; cmpSetObj.var1 = var1; cmpSetObj.var3 = var3; mccm.onPress = function () { trace('meep'); cmpSetObj.clearListeners(); }; } frame 1 { function F_engineLoop() { if (this.player.dead != 1) { this.movePlayer(); this.checkDiamonds(); } _root.pointArt.pointText = _root.HUDscore; if (_root.pointArt._xscale > 100) { _root.pointArt._xscale -= 1; _root.pointArt._yscale = _root.pointArt._xscale; } _root.setCamera(); } function F_checkDot(dotName) { tempDot = this['dot' + dotName]; colliderx = tempDot._x; collidery = tempDot._y; var v3 = {'x': colliderx, 'y': collidery}; this.localToGlobal(v3); dotHit = 0; count = 1; while (count < 3) { if (_root.engine.world['building' + count].solid.hitTest(v3.x, v3.y, true)) { dotHit = 1; } ++count; } if (dotHit) { return 1; } else { return 0; } } function F_checkDiamonds() { if (this.world.building1.diamond._visible == true) { if (this.world.building1.diamond._currentframe == 1) { if (this.player.hitbox.hitTest(this.world.building1.diamond.hitbox)) { if (this.player.animState == 'charge' || this.player.chargeEndTime > 0) { this.world.building1.diamond.gotoAndStop(2); _root.cameraShake = 4; _root.enemyCombo += 1; _root.showPoints('Big', 1); _root.HUDscore += starPoints * _root.enemyCombo; _root.pointArt._xscale += _root.enemyCombo * 4; } else { this.world.building1.diamond._x += 15; this.world.building1.diamond._rotation += 10; this.player.art.metalHit.gotoAndStop(2); _root.deathStyle = 3; this.player.deathTime(1); } } else { if (this.world.building1.diamond.hitbox.hitTest(this.butterflybox)) { _root.diamondCombo = 0; this.world.building1.diamond._visible = false; } } } } if (this.world.building2.diamond._visible == true) { if (this.world.building2.diamond._currentframe == 1) { if (this.player.hitbox.hitTest(this.world.building2.diamond.hitbox)) { if (this.player.animState == 'charge' || this.player.chargeEndTime > 0) { this.world.building2.diamond.gotoAndStop(2); _root.cameraShake = 4; _root.HUDdiamonds += 1; _root.enemyCombo += 1; _root.showPoints('Big', 2); _root.HUDscore += starPoints * _root.enemyCombo; _root.pointArt._xscale += _root.enemyCombo * 4; } else { this.world.building2.diamond._x += 15; this.world.building2.diamond._rotation += 10; this.player.art.metalHit.gotoAndStop(2); _root.deathStyle = 3; this.player.deathTime(1); } } else { if (this.world.building2.diamond.hitbox.hitTest(this.butterflybox)) { _root.diamondCombo = 0; this.world.building2.diamond._visible = false; } } } } if (this.world.building1.butterfly._currentframe == 1) { if (this.world.building1.butterfly._visible) { this.world.building1.butterfly._x += 3; if (this.player.hitbox.hitTest(this.world.building1.butterfly.art.wings)) { this.world.building1.butterfly.gotoAndStop(2); _root.butterflyCombo += 1; this.player.colorUp = 3; _root.HUDscore += butterPoints * _root.butterflyCombo; _root.pointArt._xscale += _root.butterflyCombo * 2; _root.showPoints('Small', 1); } if (this.world.building1.butterfly.hitbox.hitTest(this.butterflybox)) { if (this.world.building1.butterfly._currentframe == 1) { _root.butterflyCombo = 0; } } } } if (this.world.building2.butterfly._currentframe == 1) { if (this.world.building2.butterfly._visible) { this.world.building2.butterfly._x += 3; if (this.player.hitbox.hitTest(this.world.building2.butterfly.art.wings)) { this.world.building2.butterfly.gotoAndStop(2); _root.butterflyCombo += 1; this.player.colorUp = 3; _root.HUDscore += butterPoints * _root.butterflyCombo; _root.pointArt._xscale += _root.butterflyCombo * 2; _root.showPoints('Small', 2); } if (this.world.building2.butterfly.hitbox.hitTest(this.butterflybox)) { if (this.world.building2.butterfly._currentframe == 1) { _root.butterflyCombo = 0; } } } } if (enemyCombo > bestStarCombo) { bestStarCombo = enemyCombo; } if (butterflyCombo > bestFairyCombo) { bestFairyCombo = butterflyCombo; } } function F_checkOddLanding(landDirection) { if (checkDot('BottomRoot')) { count = 1; while (count < 10) { if (checkDot('BottomStick') == 0) { travely(1); } else { count = 10; } ++count; } } else { count = 1; while (count < 10) { if (checkDot('BottomStick') == 0) { _x = _x + 1 * landDirection; } else { applyGravity = 0; touchGround = 1; count = 10; } ++count; } } } function F_travelx(movex) { this._x += movex; } function F_travely(movey) { this._y += movey; } function F_moveWorldx(movex) { count = 1; while (count < 3) { if (count == 1) { otherBuilding = this.world.building2; } else { otherBuilding = this.world.building1; } building = this.world['building' + count]; building._x -= movex; _root.HUDscore += int(movex / 8); if (_root.HUDscore > 5000) { if (dolphinLevel == 1) { dolphinLevel = 2; dolphins.gotoAndStop(2); } } if (_root.HUDscore > 10000) { if (dolphinLevel == 2) { dolphinLevel = 3; dolphins.gotoAndStop(3); } } if (_root.HUDscore > 15000) { if (dolphinLevel == 3) { dolphinLevel = 4; dolphins.gotoAndStop(4); } } if (_root.HUDscore > 20000) { if (dolphinLevel == 4) { dolphinLevel = 5; dolphins.gotoAndStop(5); } } if (_root.HUDscore > 25000) { if (dolphinLevel == 5) { dolphinLevel = 6; dolphins.gotoAndStop(6); } } if (_root.HUDscore > 30000) { if (dolphinLevel == 6) { dolphinLevel = 7; dolphins.gotoAndStop(7); } } if (building.diamond._visible) { _root['diamondEdgeTime' + count] = int(engine._x - 640 + building._x + building.diamond._x) / 20; diamondTriggerTime = 25 + (movex - 14) / 1.5; if (_root['diamondSpawn' + count] != 1 && _root['diamondEdgeTime' + count] < diamondTriggerTime) { _root['diamondSpawn' + count] = 1; building.diamond.starSpawn.gotoAndPlay(2); _root.starTest.gotoAndPlay(2); } } if (building._x < -1500) { movexBuilding = int(movex / 1.5); if (movexBuiling > 20) { movexBuilding = 20; } building.gotoAndStop(random(movexBuilding) + 1); building.solid._visible = false; building.bloomArt.gotoAndStop(building._currentframe); building.bloomArt.blurMe(12, 12); building._x = otherBuilding._x + otherBuilding._width / 2 + building._width / 2 + 400 + movex * 8 + random(100); building._y = 300 + random(100); _root['diamondSpawn' + count] = 0; if (random(movex - 10) > 2) { building.diamond._visible = true; if (building.diamond._currentframe == 1) { _root.enemyCombo = 0; } building.diamond.gotoAndStop(1); targetnum = random(2) + 2; targetdot = building['dot' + targetnum]; building.diamond._x = targetdot._x; building.diamond._y = targetdot._y; } else { building.diamond._visible = false; } building.butterfly.gotoAndStop(1); targetdot = building.dot1; building.butterfly._x = targetdot._x - (400 + movex * 2); building.butterfly._y = targetdot._y - 150 + random(30); } building = this.world['backa' + count]; building._x -= movex / 2; building._y = 500 - this._y / 2; if (building._x < -700) { building._x += 1400 + random(100); buidling.inside._y = -50 + random(100); if (random(2) == 0) { building._xscale *= -1; } } building = this.world['backb' + count]; building._x -= movex / 8; building._y = 500 - this._y / 1.5; if (building._x < -700) { building._x += 1400 + random(100); buidling.inside._y = -25 + random(50); if (random(2) == 0) { building._xscale *= -1; } } ++count; } } function setCamera() { if (playerPointx > 380) { } else { if (playerPointx < 280) { } } if (engine.player.dead != 1) { engine._y -= (playerPointy - 200) / 10; if (engine._y < 0) { engine._y = 0; } } if (cameraShake > 0) { engine._y += random(cameraShake * 3) * cameraShakeDir; engine._x += random(cameraShake * 3) * cameraShakeDir; cameraShakeDir *= -1; cameraShake -= 0.1; } else { cameraShake = 0; } if (engine._x > 321) { engine._x -= 0.25; } else { if (engine._x < 319) { engine._x += 0.25; } } } function showPoints(psize, pnum) { pointFX = _root['points' + psize]; fxy = _root.engine._y + (_root.engine.player._y - 10); with (pointFX) { _visible = true; gotoAndPlay(2); _x = 100; _y = fxy; } } function dashWarning() { if (dashWarn < 3) { dashWarn += 1; dashText.gotoAndPlay(3); } } function submitScore() { var v2 = _root.HUDfinalScore; cmpSetObj.var1 = v2; cmpSetObj.clearListeners(); } } frame 1 { function F_movePlayer() { with (engine.player) { if (dropTime > 0) { dropTime -= 1; } if (airChargeMeter < 100) { airChargeMeter += 1; } _root.rainbowBar._xscale = airChargeMeter - 30; if (_root.rainbowBar._xscale < 0) { _root.rainbowBar._xscale = 0; } prevAnimState = animState; rot4 = rot3; rot3 = rot2; rot2 = rot1; rot1 = rotationTarget; rotationTarget = 0; art._rotation = (rot1 + rot2 + rot3 + rot4) / 4; if (art._rotation > 20) { art._rotation = 20; } else { if (art._rotation < -20) { art._rotation = -20; } } if (Key.isDown(_root.p1r) || Key.isDown(_root.p1rCase)) { if (chargeCoolDown > 20) { if (airChargeMeter > 40) { _y -= 8; airChargeMeter -= 70; chargeOffset = 15; airCharged = 1; airChargeCount += 1; chargeCoolDown = 0; applyGravity = 0; animState = 'charge'; art.blurMe(30, 0); colorUp = 4; art.colorMe(colorUp, colorUp, colorUp); } } } if (chargeCoolDown < 21) { chargeCoolDown += 1; } if (chargeEndTime > 0) { chargeEndTime -= 1; } if (animState != 'charge') { if (Key.isDown(_root.p1u) || Key.isDown(_root.p1uCase)) { if (applyGravity == 0 || dropTime > 0 || jumpNum == 0) { if (!upPress) { jumpNum = 1; dropTime = 0; touchGround = 0; applyGravity = 1; thrusty = jumpVel; gravity = 0; colorUp = 2; airCharged = 0; animState = 'jump'; } } else { if (!upPress && gravity > 6) { if (jumpNum == 1) { art.jumpanim.rainbow.gotoAndStop(2); jumpNum = 2; applyGravity = 1; thrusty = jumpVel; gravity = 2; animState = 'jump'; colorUp = 3; art.colorMe(colorUp, colorUp, colorUp); } } gravity -= 0.75; } upPress = 1; } else { upPress = 0; } } speedx = maxspeedx; _root.engine.moveWorldx(speedx); if (maxspeedx < 50) { maxspeedx += 0.01; } _root.testVar6 = maxspeedx; _x = (speedx - 14) / 2 - 260 + offsetx; if (offsetx > 0) { offsetx -= 5; } else { offsetx = 0; } if (applyGravity && animState != 'charge') { fallSpeed = thrusty - gravity; if (fallSpeed > 10) { fallSpeed = 10; } travely(-fallSpeed); gravity += 1.2; } touchCeiling = 0; if (checkDot('Top')) { touchCeiling = 1; count = 1; while (count < 20) { if (checkDot('Top')) { travely(1); } else { count = 21; } ++count; } } if (checkDot('Bottom')) { touchGround = 1; count = 1; while (count < 20) { if (checkDot('Bottom')) { travely(-1); rotationTarget -= rotationStep + 1; } else { count = 21; } ++count; } } if (checkDot('Right')) { _root.deathStyle = 2; deathTime(1); return 0; } if (applyGravity) { art._rotation = 0; rotationTarget = 0; if (checkDot('TopRight')) { touchCeiling = 1; while (checkDot('TopRight')) { travely(1); } } if (checkDot('BottomLeft')) { if (gravity > thrusty) { if (touchGround == 0) { checkOddLanding(-1); } } if (touchGround == 0) { while (checkDot('BottomLeft')) { travely(-1); } } } if (checkDot('BottomRight')) { if (gravity > thrusty) { if (touchGround == 0) { checkOddLanding(1); } } if (touchGround == 0) { while (checkDot('BottomRight')) { travely(-1); } } } } if (touchCeiling) { if (applyGravity) { thrusty /= 2; } } if (touchGround) { applyGravity = 0; gravity = 0; if (animState != 'charge') { animState = 'run'; airCharged = 0; airChargeCount = 0; } if (applyGravity == 0 && animState != 'charge') { if (checkDot('BottomRoot')) { count = 1; while (count < 10) { if (checkDot('BottomStick') == 0) { travely(1); rotationTarget += rotationStep; } else { count = 10; } ++count; } } } if (animState != 'charge') { if (checkDot('BottomStick') == 0) { if (checkDot('BottomRightStick') == 0) { if (checkDot('BottomLeftStick') == 0) { touchGround = 0; airCharged = 0; dropTime = 10; jumpNum = 1; applyGravity = 1; thrusty = jumpVel; gravity = jumpVel; animState = 'jump'; } } } } } var playerPoint = {'x': _x, 'y': _y}; this.localToGlobal(playerPoint); _root.playerPointx = playerPoint.x + 300; _root.playerPointy = playerPoint.y; if (colorUp > 1.2) { colorUp -= 0.1; art.colorMe(colorUp, colorUp, colorUp); } if (_y < -600) { _y = -600; } if (this.dead != 1) { art.gotoAndStop(animState); if (animState == 'run') { if (prevAnimState != 'run') { airChargeMeter = 100; art.runanim.gotoAndStop(200); } jumpNum = 0; prevAnimFrame = animFrame; animFrame = art.runanim._currentframe; art.runanim.gotoAndStop(animFrame + int(speedx * 2)); if (animFrame > 450) { art.runanim.gotoAndStop(animFrame - 450); } if (prevAnimFrame < 90 && animFrame > 90) { art.gallopSounds.gotoAndStop(2); } if (prevAnimFrame < 150 && animFrame > 150) { art.gallopSounds.gotoAndStop(3); } if (prevAnimFrame < 180 && animFrame > 180) { art.gallopSounds.gotoAndStop(4); } } else { if (animState == 'jump') { art.jumpanim.gotoAndStop(int(gravity * 8.75)); } else { if (animState == 'charge') { _root.engine.moveWorldx(speedx / 2); offsetx += chargeOffset; chargeOffset -= 1; if (chargeOffset < 0) { chargeOffset = 0; } } } } } if (_y > 700) { _root.deathStyle = 1; deathTime(1); } } } function F_endCharge() { with (engine.player) { touchGround = 0; if (jumpNum == 0) { dropTime = 10; } else { jumpNum = 1; } chargeEndTime = 10; applyGravity = 1; thrusty = jumpVel; gravity = jumpVel; animState = 'jump'; art.gotoAndStop('jump'); art.jumpanim.gotoAndStop(int(gravity * 8.75)); } } function F_deathTime(deathMethod) { this.dead = 1; lives.nextFrame(); if (deathMethod == 1) { this.art.gotoAndStop('deathExplode'); _root.cameraShake = 6; } else { if (deathMethod == 2) { this.art.gotoAndStop('deathFall'); } } } } frame 1 { function initialize() { _quality = 'medium'; _root.p1u = 90; _root.p1uCase = 122; _root.p1d = 83; _root.p1l = 65; _root.p1r = 88; _root.p1rCase = 120; _root.p1ps = 32; _root.score = 0; _root.HUDscore = 0; _root.HUDdiamonds = 0; _root.HUDbutterflies = 0; _root.HUDfinalScore = 0; _root.cameraShakeDir = 1; _root.cameraShake = 0; _root.butterflyCombo = 0; _root.enemyCombo = 1; _root.butterPoints = 10; _root.starPoints = 100; _root.dolphinLevel = 1; _root.dashWarn = 0; _root.deathStyle = 1; if (_root.scoreTurn == 0) { _root.score1 = 0; _root.score2 = 0; _root.score3 = 0; _root.bestFairyCombo = 0; _root.bestStarCombo = 0; _root.scoreTurn = 1; } _root.lives.gotoAndStop(scoreTurn); with (engine) { originx = 320; originy = 240; player.thrusty = 0; player.offsetx = 0; player.gravity = 0; player.applyGravity = 1; player.maxspeedx = 14; player.jumpVel = 14; player.speedx = player.maxspeedx; player.speedstep = 0.25; player.dead = 0; player.airCharged = 0; player.airChargeCount = 0; player.airChargeMeter = 100; player.chargeCoolDown = 100; player.chargeEndTime = 0; player.dropTime = 0; player.rotationStep = 2; player.rotationTarget = 0; player.rot1 = 0; player.rot2 = 0; player.rot3 = 0; player.animState = 'run'; player.colorUp = 4; } engine.player.checkDot = F_checkDot; engine.player.endCharge = F_endCharge; engine.player.deathTime = F_deathTime; engine.player.checkOddLanding = F_checkOddLanding; engine.player.travelx = F_travelx; engine.player.travely = F_travely; engine.engineLoop = F_engineLoop; engine.moveWorldx = F_moveWorldx; engine.movePlayer = F_movePlayer; engine.checkDiamonds = F_checkDiamonds; engine.world.building1.diamond._visible = false; engine.world.building2.diamond._visible = false; } stop(); scoreTurn = 0; } frame 1 { function saveCookie() { shareObj = SharedObject.getLocal('shareObj'); _root.shareObj.data.scoreArray = highScores; _root.shareObj.data.nameArray = highScoreNames; _root.shareObj.data.flush(); } function loadCookie() { shareObj = SharedObject.getLocal('shareObj'); highScores = shareObj.data.scoreArray; highScoreNames = shareObj.data.nameArray; } function deleteCookie() { _root.shareObj.data.scoreArray = highScoresXX; _root.shareObj.data.nameArray = highScoresXX; _root.shareObj.data.flush(); } function setHighScores() { endOK = 1; count = 1; while (count <= 5) { if (HUDfinalScore > highScores[count]) { scoreNum = count; count2 = 5; while (count2 > scoreNum) { highScores[count2] = highScores[count2 - 1]; --count2; } highScores[count] = HUDfinalScore; finalbox['scorebox' + count].gotoAndPlay(2); count = 6; } ++count; } count = 1; while (count <= 5) { finalbox['score' + count].scoreText = highScores[count]; ++count; } saveCookie(); } function deleteScores() { deleteCookie(); count = 1; while (count <= 5) { this['highScore' + count] = 6000 - 1000 * count; ++count; } highScores = new Array(0, highScore1, highScore2, highScore3, highScore4, highScore5); highScoreNames = new Array('com', 'com', 'com', 'com', 'com'); highScoresXX = new Array(0, 0, 0, 0, 0); saveCookie(); } count = 1; while (count <= 5) { this['highScore' + count] = 6000 - 1000 * count; ++count; } loadCookie(); if (highScores[5] <= 1000) { highScores = new Array(0, highScore1, highScore2, highScore3, highScore4, highScore5); highScoreNames = new Array('com', 'com', 'com', 'com', 'com'); highScoresXX = new Array(0, 0, 0, 0, 0); saveCookie(); } } movieClip 1 { frame 1 { stop(); } } movieClip 5 { } movieClip 6 { } movieClip 8 { } movieClip 9 { } // unknown tag 88 length 51 movieClip 12 { } movieClip 13 { frame 1 { stop(); } instance of movieClip 6 { onClipEvent (enterFrame) { if (_root.getBytesLoaded >= 100 && _root.getBytesTotal >= 100) { mainLoad = _root.getBytesLoaded() / _root.getBytesTotal(); _xscale = mainLoad * 100; if (_xscale >= 100) { _root.gotoAndStop('starts'); } } } } } movieClip 15 { } movieClip 18 { } button 19 { on (release) { nextFrame(); } } movieClip 21 { } button 25 { on (release) { nextFrame(); } } button 27 { on (release) { prevFrame(); } } button 29 { on (release) { gotoAndStop(1); } } movieClip 43 { frame 1 { stop(); } } // unknown tag 88 length 63 movieClip 47 { frame 1 { function clearListeners() { trace('rrr'); var v3 = Number(this.var3); var v2 = Number(this.var1); trace('!1! ' + v3 + ' :: ' + v2); try { var v9 = flash.external.ExternalInterface.call('getLittleServer'); } catch (v0) { if (Error(v0) != null) { var oErr = Error(v0); v9 = 'http://highscores.adultswim.com/highscores/SubmitScoreServlet.do?'; trace('err 1: ' + oErr + ' :: ' + oErr.message); } else { throw v0; } } try { var v4 = flash.external.ExternalInterface.call('getSrvrTime'); } catch (v0) { if (Error(v0) != null) { var oErr = Error(v0); v4 = (new Date()).getTime(); trace('err 2: ' + oErr + ' :: ' + oErr.message); } else { throw v0; } } var v7 = v4.toString(); var v13 = v7.substr(-3, 3); var v12 = v7.substr(-4, 3); var v11 = parseInt(v13); var v10 = parseInt(v12); var v8 = v11 * v10 * v2 + v2; trace('nAlgo ' + v8); var v5 = v3 + ',' + v2 + ',' + v4 + ',' + v8; trace('strToPass ' + v5); var v6 = m.hash(v5); trace(v9 + 'attr1=score=' + v2 + '|gameId=' + v3 + '|timestamp=' + v4 + '|key=' + v6); getURL(v9 + 'attr1=score=' + v2 + '|gameId=' + v3 + '|timestamp=' + v4 + '|key=' + v6, '_self'); } _visible = false; try { var m = new as2md5(); } catch (v0) { if (Error(v0) != null) { var oErr = Error(v0); var m; trace('err 0: ' + oErr + ' :: ' + oErr.message); } else { throw v0; } } } } movieClip 49 { } movieClip 51 { } movieClip 54 { } movieClip 56 { frame 1 { stop(); } } movieClip 58 { } movieClip 60 { frame 1 { stop(); } } // unknown tag 88 length 93 movieClip 81 { } movieClip 96 { frame 16 { stop(); } } movieClip 102 { frame 10 { btnAppStore.onRelease = function () { getURL('http://itunes.apple.com/us/app/robot-unicorn-attack-heavy/id392334634?mt=8', '_blank'); }; } frame 30 { stop(); } } movieClip 515 __Packages.as2md5 { #initclip if (!_global.as2md5) { var v1 = function (b64pad, chrsz) { if (b64pad != undefined) { this.b64pad = b64pad; } if (chrsz != undefined && chrsz == 8 || chrsz == 16) { this.chrsz = chrsz; } }; _global.as2md5 = v1; var v2 = v1.prototype; v2.hash = function (s) { return this.hex_md5(s); }; v2.hex_md5 = function (s) { return this.binl2hex(this.core_md5(this.str2binl(s), s.length * this.chrsz)); }; v2.b64_md5 = function (s) { return this.binl2b64(this.core_md5(this.str2binl(s), s.length * this.chrsz)); }; v2.str_md5 = function (s) { return this.binl2str(this.core_md5(this.str2binl(s), s.length * this.chrsz)); }; v2.hex_hmac_md5 = function (key, data) { return this.binl2hex(this.core_hmac_md5(key, data)); }; v2.b64_hmac_md5 = function (key, data) { return this.binl2b64(this.core_hmac_md5(key, data)); }; v2.str_hmac_md5 = function (key, data) { return this.binl2str(this.core_hmac_md5(key, data)); }; v2.md5_cmn = function (q, a, b, x, s, t) { return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(a, q), this.safe_add(x, t)), s), b); }; v2.md5_ff = function (a, b, c, d, x, s, t) { return this.md5_cmn(b & c | ~b & d, a, b, x, s, t); }; v2.md5_gg = function (a, b, c, d, x, s, t) { return this.md5_cmn(b & d | c & ~d, a, b, x, s, t); }; v2.md5_hh = function (a, b, c, d, x, s, t) { return this.md5_cmn(b ^ c ^ d, a, b, x, s, t); }; v2.md5_ii = function (a, b, c, d, x, s, t) { return this.md5_cmn(c ^ (b | ~d), a, b, x, s, t); }; v2.core_md5 = function (x, len) { x[len >> 5] |= 128 << len % 32; x[(len + 64 >>> 9 << 4) + 14] = len; var v5 = 1732584193; var v4 = -271733879; var v3 = -1732584194; var v2 = 271733878; var v6 = 0; while (v6 < x.length) { var v11 = v5; var v10 = v4; var v9 = v3; var v8 = v2; v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 0], 7, -680876936); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 1], 12, -389564586); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 2], 17, 606105819); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 3], 22, -1044525330); v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 4], 7, -176418897); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 5], 12, 1200080426); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 6], 17, -1473231341); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 7], 22, -45705983); v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 8], 7, 1770035416); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 9], 12, -1958414417); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 10], 17, -42063); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 11], 22, -1990404162); v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 12], 7, 1804603682); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 13], 12, -40341101); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 14], 17, -1502002290); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 15], 22, 1236535329); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 1], 5, -165796510); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 6], 9, -1069501632); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 11], 14, 643717713); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 0], 20, -373897302); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 5], 5, -701558691); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 10], 9, 38016083); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 15], 14, -660478335); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 4], 20, -405537848); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 9], 5, 568446438); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 14], 9, -1019803690); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 3], 14, -187363961); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 8], 20, 1163531501); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 13], 5, -1444681467); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 2], 9, -51403784); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 7], 14, 1735328473); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 12], 20, -1926607734); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 5], 4, -378558); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 8], 11, -2022574463); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 11], 16, 1839030562); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 14], 23, -35309556); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 1], 4, -1530992060); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 4], 11, 1272893353); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 7], 16, -155497632); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 10], 23, -1094730640); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 13], 4, 681279174); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 0], 11, -358537222); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 3], 16, -722521979); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 6], 23, 76029189); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 9], 4, -640364487); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 12], 11, -421815835); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 15], 16, 530742520); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 2], 23, -995338651); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 0], 6, -198630844); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 7], 10, 1126891415); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 14], 15, -1416354905); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 5], 21, -57434055); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 12], 6, 1700485571); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 3], 10, -1894986606); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 10], 15, -1051523); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 1], 21, -2054922799); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 8], 6, 1873313359); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 15], 10, -30611744); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 6], 15, -1560198380); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 13], 21, 1309151649); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 4], 6, -145523070); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 11], 10, -1120210379); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 2], 15, 718787259); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 9], 21, -343485551); v5 = this.safe_add(v5, v11); v4 = this.safe_add(v4, v10); v3 = this.safe_add(v3, v9); v2 = this.safe_add(v2, v8); v6 += 16; } return Array(v5, v4, v3, v2); }; v2.core_hmac_md5 = function (key, data) { var v3 = new Array(this.str2binl(key)); if (v3.length > 16) { v3 = this.core_md5(v3, key.length * this.chrsz); } var v4 = new Array(16); var v5 = new Array(16); var v2 = 0; while (v2 < 16) { v4[v2] = v3[v2] ^ 909522486; v5[v2] = v3[v2] ^ 1549556828; ++v2; } var v6 = new Array(this.core_md5(v4.concat(this.str2binl(data)), 512 + data.length * this.chrsz)); return this.core_md5(v5.concat(v6), 640); }; v2.safe_add = function (x, y) { var v1 = new Number((x & 65535) + (y & 65535)); var v2 = new Number((x >> 16) + (y >> 16) + (v1 >> 16)); return v2 << 16 | v1 & 65535; }; v2.bit_rol = function (num, cnt) { return num << cnt | num >>> 32 - cnt; }; v2.str2binl = function (str) { var v4 = new Array(); var v5 = (1 << this.chrsz) - 1; var v2 = 0; while (v2 < str.length * this.chrsz) { v4[v2 >> 5] |= (str.charCodeAt(v2 / this.chrsz) & v5) << v2 % 32; v2 += this.chrsz; } return v4; }; v2.binl2str = function (bin) { var v4 = new String(''); var v5 = (1 << this.chrsz) - 1; var v2 = 0; while (v2 < bin.length * 32) { v4 += String.fromCharCode(bin[v2 >> 5] >>> v2 % 32 & v5); v2 += this.chrsz; } return v4; }; v2.binl2hex = function (binarray) { var v3 = '0123456789abcdef'; var v4 = new String(''); var v1 = 0; while (v1 < binarray.length * 4) { v4 += v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 + 4 & 15) + v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 & 15); ++v1; } return v4; }; v2.binl2b64 = function (binarray) { var v7 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; var v5 = new String(''); var v3 = 0; while (v3 < binarray.length * 4) { var v6 = (binarray[v3 >> 2] >> 8 * (v3 % 4) & 255) << 16 | (binarray[v3 + 1 >> 2] >> 8 * ((v3 + 1) % 4) & 255) << 8 | binarray[v3 + 2 >> 2] >> 8 * ((v3 + 2) % 4) & 255; var v2 = 0; while (v2 < 4) { if (v3 * 8 + v2 * 6 > binarray.length * 32) { v5 += this.b64pad; } else { v5 += v7.charAt(v6 >> 6 * (3 - v2) & 63); } ++v2; } v3 += 3; } return v5; }; v2.b64pad = new String(''); v2.chrsz = new Number(8); ASSetPropFlags(_global.as2md5.prototype, null, 1); } #endinitclip } frame 2 { musicToggle._visible = true; allSoundsToggle._visible = true; musicToggle.btnMusic.enabled = true; allSoundsToggle.btnSounds.enabled = true; } frame 2 { function introMusicPlay() { introMusicS.start(0, 999); } function toggleAllMute() { trace('Is All Muted? ' + isAllMute + ' , Main currentframe is: ' + _currentframe); if (!isAllMute) { musicToggle.gotoAndStop(2); allSoundsToggle.gotoAndStop(2); musicToggle.btnMusic.enabled = false; musicToggle._alpha = 50; s.setVolume(0); isAllMute = true; } else { if (isAllMute) { if (isMusicMute) { } else { if (!iMusicMute) { musicToggle.gotoAndStop(1); } } allSoundsToggle.gotoAndStop(1); musicToggle.btnMusic.enabled = true; musicToggle._alpha = 100; s.setVolume(100); isAllMute = false; } } } function toggleMusicMute() { trace('Music Muted? ' + isMusicMute + ' , Main currentframe is: ' + _currentframe + ' , IntroMusic currentframe is: ' + loaderMC.intromusic._currentframe); if (isMusicMute == false) { trace('isMusicMute: ' + isMusicMute); musicToggle.gotoAndStop(2); if (_currentframe == 2) { introMusicS.setVolume(0); } if (_currentframe >= 3) { gameMusicS.setVolume(0); } isMusicMute = true; } else { if (isMusicMute == true) { trace('isMusicMute: ' + isMusicMute); musicToggle.gotoAndStop(1); if (_currentframe == 2) { introMusicS.setVolume(100); } if (_currentframe >= 3) { gameMusicS.setVolume(100); } isMusicMute = false; } } } var introMusicS = new Sound(introMusicShell); var gameMusicS = new Sound(musicShell); var isMusicMute = false; var isAllMute = false; var s = new Sound(_root); musicToggle.btnMusic.onRelease = function () { toggleMusicMute(); }; allSoundsToggle.btnSounds.onRelease = function () { toggleAllMute(); }; } movieClip 105 { frame 1 { stop(); } } movieClip 107 { } button 109 { on (release) { nextFrame(); } } movieClip 115 { } movieClip 121 { } movieClip 125 { } movieClip 127 { } movieClip 129 { } movieClip 131 { } movieClip 133 { } movieClip 134 { } movieClip 135 { } movieClip 137 { } movieClip 138 { frame 15 { stop(); } } movieClip 140 { } movieClip 141 { frame 17 { stop(); } } button 143 { on (keyPress 'z') { _root.gotoAndStop('intro'); } on (keyPress 'Z') { _root.gotoAndStop('intro'); } } movieClip 145 { } movieClip 147 { } movieClip 148 { frame 1 { stop(); _parent.introMusicS.attachSound('IntroMusic'); _root.introMusicPlay(); } } frame 4 { stopAllSounds(); introMusicS.stop(introMusicShell); gameMusicS.attachSound('GameMusic'); gameMusicS.start(0, 999); if (isMusicMute) { gameMusicS.setVolume(0); } else { if (!isMusicMute) { gameMusicS.setVolume(100); } } } movieClip 149 { } movieClip 152 { } movieClip 155 { } movieClip 156 { } movieClip 159 { } movieClip 160 { } movieClip 162 { } movieClip 163 { } movieClip 164 { } movieClip 167 { } movieClip 168 { } movieClip 170 { } movieClip 172 { } movieClip 176 { } movieClip 177 { } movieClip 179 { } movieClip 181 { } movieClip 184 { } movieClip 187 { } movieClip 191 { } movieClip 195 { } movieClip 197 { } movieClip 201 { } movieClip 202 { } movieClip 205 { } movieClip 206 { } movieClip 207 { frame 1 { stop(); } } movieClip 208 { frame 1 { function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 3; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } glowMe(16730112, 0.75, 10); } instance fairy of movieClip 164 { onClipEvent (load) { gotoAndPlay(11); } } instance horse of movieClip 207 { onClipEvent (enterFrame) { gotoAndStop(_currentframe + 22); if (_currentframe > 450) { gotoAndStop(_currentframe - 450); } } } } movieClip 220 { frame 1 { stop(); gotoAndStop(random(10) + 1); } frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 3; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); glowMe(16716563, 0.75, 10); } } movieClip 223 { frame 63 { _root.gotoAndStop('game'); } } frame 5 { stop(); initialize(); } movieClip 226 { } movieClip 229 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } stop(); blurMe(12, 12); } } movieClip 232 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 1; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); blurMe(12, 12); } } movieClip 235 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 1; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); blurMe(6, 6); } } movieClip 238 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 1; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); blurMe(6, 6); } } movieClip 240 { frame 1 { _visible = false; } } movieClip 243 { } movieClip 246 { } movieClip 250 { } movieClip 260 { frame 15 { stop(); } } movieClip 262 { frame 1 { stop(); } } movieClip 265 { } movieClip 267 { frame 1 { stop(); } frame 2 { _root.dashWarning(); } } movieClip 268 { frame 17 { stop(); } } movieClip 269 { } movieClip 272 { frame 1 { stop(); starSpawn._visible = true; } frame 2 { starSpawn._visible = false; } } movieClip 274 { } movieClip 277 { } movieClip 279 { } movieClip 284 { } movieClip 289 { } movieClip 293 { } movieClip 297 { } movieClip 301 { } movieClip 305 { } movieClip 309 { } movieClip 313 { } movieClip 316 { } movieClip 320 { } movieClip 324 { } movieClip 328 { } movieClip 332 { } movieClip 335 { } movieClip 339 { } movieClip 343 { } movieClip 347 { } movieClip 351 { } movieClip 354 { frame 1 { stop(); solid._visible = false; } } movieClip 355 { frame 1 { stop(); } } movieClip 357 { } movieClip 361 { frame 1 { stop(); } } movieClip 362 { frame 1 { stop(); } } movieClip 369 { } movieClip 370 { } movieClip 372 { } movieClip 374 { } movieClip 376 { } movieClip 379 { } movieClip 380 { frame 16 { stop(); } } movieClip 381 { frame 20 { stop(); } } movieClip 383 { frame 1 { glow.setMask(oval); glow2.setMask(oval2); stop(); } } movieClip 385 { } movieClip 386 { } movieClip 388 { } movieClip 389 { } movieClip 409 { frame 11 { _parent._parent.endCharge(); stop(); } } movieClip 411 { } movieClip 412 { frame 30 { _root.gotoAndStop('fail'); } } movieClip 413 { frame 1 { stop(); } frame 1 { stop(); } frame 2 { } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 415 { frame 1 { stop(); _visible = false; } } movieClip 416 { } movieClip 417 { } instance engine of movieClip 417 { onClipEvent (enterFrame) { engineLoop(); } } movieClip 419 { frame 1 { pointText = _root.starPoints * _root.enemyCombo; } } movieClip 421 { frame 50 { stop(); _visible = false; } } movieClip 423 { frame 1 { pointText = _root.butterPoints * _root.butterflyCombo; } } movieClip 425 { frame 1 { stop(); } frame 50 { stop(); _visible = false; } } movieClip 427 { frame 1 { _visible = false; } } movieClip 430 { } movieClip 431 { instance of movieClip 163 { onClipEvent (load) { gotoAndPlay(10); } } } movieClip 432 { frame 151 { stop(); } } movieClip 434 { frame 22 { stop(); } } movieClip 435 { frame 35 { stop(); } } movieClip 436 { frame 55 { stop(); } } movieClip 437 { frame 65 { stop(); } } movieClip 438 { frame 80 { stop(); } } movieClip 439 { frame 1 { stop(); } } movieClip 442 { frame 61 { _parent.gotoAndStop(4); } frame 76 { stop(); _parent._visible = false; } } movieClip 445 { frame 1 { gotoAndStop(_root.scoreTurn); } frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 3; v2.strength = 5; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); glowMe(16730112, 0.75, 8); } } movieClip 448 { } movieClip 449 { frame 1 { stop(); } } movieClip 451 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 1; v2.strength = 2; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); glowMe(16730112, 0.75, 10); } } movieClip 453 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 1; v2.strength = 3; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); glowMe(16730112, 0.75, 10); } } movieClip 455 { frame 1 { stop(); } } movieClip 456 { frame 31 { stop(); } } frame 6 { function setScoreScreen() { scoreArt1._visible = true; scoreArt1.scoreText = score1; if (scoreTurn > 1) { scoreArt2._visible = true; scoreArt2.scoreText = score2; } if (scoreTurn > 2) { scoreArt3._visible = true; scoreArt3.scoreText = score3; } if (scoreTurn == 1) { scorebox1.gotoAndPlay(2); } else { if (scoreTurn == 2) { scorebox2.gotoAndPlay(2); } } if (scoreTurn == 3) { scorebox3.gotoAndPlay(2); } else { endOK = 1; scoreTurn += 1; } } function showFinalScore() { scoreArtFinal._visible = true; finalbox._visible = true; finalbox.gotoAndPlay(2); HUDfinalScore = score1 + score2 + score3; scoreArtFinal.scoreText = HUDfinalScore; scoreTurn = 0; } function scoreScreenCounter() { if (scoreTurn != 0) { pressztext._visible = true; screenTime -= 1; pressztext.timeText = int(screenTime / 30); if (screenTime <= 0) { _root.HUDscore = 0; gotoAndStop('game'); } } } endOK = 0; _root['score' + scoreTurn] = HUDscore; scoreArtFairy.scoreText = _root.bestFairyCombo; scoreArtStar.scoreText = _root.bestStarCombo; if (scoreTurn == 1) { scoreArt1._visible = false; scoreArt2._visible = false; scoreArt3._visible = false; scoreStars1.gotoAndPlay(2); } if (scoreTurn == 2) { scoreArt1.scoreText = score1; scoreArt2._visible = false; scoreArt3._visible = false; scoreStars2.gotoAndPlay(2); } if (scoreTurn == 3) { timerSound.gotoAndStop(2); scoreArt3._visible = false; scoreArt1.scoreText = score1; scoreArt2.scoreText = score1; scoreStars3.gotoAndPlay(2); pressztext.gotoAndStop(2); } scoreArtFinal._visible = false; finalbox._visible = false; screenTime = 330; } button 459 { on (keyPress 'z') { if (endOK) { _root.HUDscore = 0; if (scoreTurn != 0) { gotoAndStop('game'); } else { gotoAndStop('intro'); } } } } movieClip 467 { } movieClip 474 { frame 1 { stop(); } frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 3; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); glowMe(16716563, 0.75, 10); gotoAndStop(_root.deathStyle); } } movieClip 477 { } movieClip 478 { } movieClip 480 { frame 1 { stop(); } } movieClip 482 { } movieClip 485 { } movieClip 488 { } button 489 { on (release) { _root.submitScore(); _visible = false; } } movieClip 490 { } movieClip 491 { } movieClip 494 { } movieClip 496 { } movieClip 497 { frame 1 { stop(); } frame 45 { gotoAndPlay(15); } } movieClip 499 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 3; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); glowMe(9510144, 0.75, 30); } } movieClip 500 { frame 1 { stop(); } frame 41 { _root.setHighScores(); } frame 80 { stop(); } } movieClip 502 { } movieClip 504 { frame 1 { stop(); } frame 61 { _root.showFinalScore(); stop(); } } movieClip 506 { frame 1 { stop(); } frame 61 { gotoAndPlay(2); } } movieClip 508 { frame 1 { stop(); } frame 61 { gotoAndPlay(2); } } movieClip 510 { frame 1 { function blurMe(blurX, blurY) { quality = 1; filter = new flash.filters.BlurFilter(blurX, blurY, quality); filterArray = new Array(); filterArray.push(filter); this.filters = filterArray; if (blurX == 0) { if (blurY == 0) { this.filters = new Array(); } } } function colorMe(redtarget, greentarget, bluetarget) { var v5 = new flash.geom.Transform(this); var v2 = v5.colorTransform; v2.redMultiplier = redtarget; v2.greenMultiplier = greentarget; v2.blueMultiplier = bluetarget; v5.colorTransform = v2; if (redtarget == 1) { if (greentarget == 1) { if (bluetarget == 1) { v5 = new flash.geom.Transform(this); } } } } function glowMe(glowColor, glowAlpha, glowBlur) { var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1); v2.quality = 3; this.filters = [v2]; if (glowAlpha == 0) { this.filters = new Array(); } } stop(); glowMe(9510144, 0.75, 30); } } movieClip 511 { frame 1 { stop(); } frame 2 { play(); } frame 20 { _parent.setScoreScreen(); } frame 35 { stop(); _visible = false; } } instance of movieClip 277 { onClipEvent (enterFrame) { _root.scoreScreenCounter(); } } movieClip 513 { } movieClip 514 { frame 30 { stop(); } } frame 7 { function bustIt() { switch (strURI) { case null: case undefined: ExternalInterface.call('parent.window.location.replace(\'http://www.adultswim.com/games/game/index.html?game=' + this.gameName + '\')'); getURL('http://www.adultswim.com/games/game/index.html?game=' + this.gameName, '_parent'); break; default: } ExternalInterface.call('parent.window.location.replace(\'http://www.adultswim.com/games/game/index.html?game=' + this.gameName + '\')'); for (var v8 in _root) { switch (typeof _root[v8]) { case 'movieclip': if (v8 !== 'cmpSetObj') { } else { goto 1367; } domain; _root[v8].swapDepths(0); try { _root[v8].removeMovieClip(); } label 1367: break; case 'object': try { if (v8 !== 'tf') { } else { goto 1445; } _root[v8].removeTextField(); label 1445: } break; default: } } var v9 = _root.attachMovie('mcBusted', 'mcBusted', _root.getNextHighestDepth()); var v10 = Stage.width + 10; var v11 = Stage.height + 10; v9._width = v10; v9._height = v11; var strURI = 'http://www.adultswim.com/games/game/index.html?game=' + this.gameName; var v4 = new TextFormat(); var v12 = v4.getTextExtent(strURI); var v3 = _root.createTextField('tfURI', _root.getNextHighestDepth(), 10, 300, Stage.width - 20, 33); v3.border = true; v3.selectable = true; v3.text = strURI; var v5 = 50; var v7 = v3._width - 5; v4.size = v5; v3.setTextFormat(v4); while (v3.textWidth > v7) { --v5; v4.size = v5; v3.setTextFormat(v4); } var v6 = _root.attachMovie('mcCopyLink', 'mcCopyLink', _root.getNextHighestDepth()); v6._x = Stage.width / 2 - v6._width / 2; v6._y = v3._y + v3._height + 25; v6.onRollOver = copyBtnRollOver; v6.onRollOut = copyBtnRollOut; v6.onDragOut = stopsCopysMe; v6.onDragOver = v6.onDragOut; v6.onPress = v6.onDragOut; trace('mcCopyLink ' + v6.getDepth()); } function copyBtnRollOver() { trace('!!'); this.gotoAndStop(2); } function copyBtnRollOut() { trace('@@'); this.gotoAndStop(1); } function stopsCopysMe() { trace('!@'); Selection.setFocus(tfURI); Selection.setSelection(0, tfURI.length); System.setClipboard(tfURI.text); var v6 = 'Now, paste that link in the address bar and play ' + _root.gameFullName; var v2 = _root.createTextField('tfCopied', _root.getNextHighestDepth(), 0, 425, Stage.width, 33); v2.text = v6; var v5 = v2._width - 35; var v4 = 70; var v3 = new TextFormat(); v3.bold = true; v3.color = 1195056; v3.font = 'Arial,Helvetica'; v3.size = v4; v2.setTextFormat(v3); while (v2.textWidth > v5) { --v4; v3.size = v4; v2.setTextFormat(v3); } v2._width = v2.textWidth + 5; v2._x = Stage.width / 2 - v2._width / 2; } try { var objURI = ExternalInterface.call('window.location.hostname.toString'); var objURI_p = ExternalInterface.call('window.location.hostname.toString'); var objHref = ExternalInterface.call('window.location.href.toString'); var objHref_p = ExternalInterface.call('window.location.href.toString'); var my_lc = new LocalConnection(); } catch (v0) { if (Object(v0) != null) { var err = Object(v0); } else { throw v0; } } var strURI = objURI.toString(); var strURI_p = objURI_p.toString(); var strHref = objHref.toString(); var strHref_p = objHref_p.toString(); switch (strURI) { case 'i.adultswim.com': case 'staging.adultswim.com': case 'staging3.adultswim.com': case 'www.adultswim.com': if (strHref == _root._url) { bustIt(); } break; default: bustIt(); } }




http://swfchan.com/20/95259/info.shtml
Created: 25/3 -2019 08:47:36 Last modified: 25/3 -2019 08:47:36 Server time: 02/05 -2024 15:28:35