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

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

R.O.B.O.T..swf

This is the info page for
Flash #75605

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


Text
ACTIONS

scores
system

Copyright © 2008 Marauder Interactive    v1.2

High Scores

More Games

If you like our game please vote for us in
Jay is Games Game Design Competition 5.
The button below will navigate there.

Charles Roman -
Jason Giroux -

Programming/Music/GUIs
Game Art

Graphics Level

High

Low

Medium

Music

Off

On

Sound FX

Insane

Hard

Easy

Difficulty

Enemies: 75% Stats
Score: 50%

Enemies: 100% Stats
Score: 100%

Enemies: 150% Stats
Score: 200%

Enemies: 200% Stats
Score: 400%

Continue

No Saved Data

Thanks for playing.
Submit your score.

Submit

Menu

-Your Name-

20000

Ready

I

n

c

o

m

i

g

T

r

a

s

S

t

u

C

h

e

K

X

-

3

7

0

N

w

.

D

d

M

k

f

Incoming Transmission
Status Change
KX-3700 New Status... Decommissioned
Marked for termination

P

R

v

E

R

O

A

L

O

y

Time:
0:00:00

WASD -
Arrow Keys -
Left-click -

Move
Move
Fire

Controls

Place Turret
Fire EMP

Q or Shift-click -
E or Ctrl-click -

Explodes on contact
stunning target.

Enemy Info Recovered

Exploder:

Gunner:

Floater:

Unknown:

When within range fires.

Circles at a distance
and attacks

Information unavailable

Bombing Target:
Indicates where bombs will fall.

Turret & EMP:
Obtained through upgrades.

Indicators:
Green = Health     Blue = Plasma
Red = Gun Heat
Turret = Turret charged
EMP = EMP charged

Upgrade

Turret

EMP

Shields

Armor

Reactor

Inhibitor

Converter

Track

Repair All

Repair 10

version 1

version 1

version 1

version 1

version 1

version 0

version 0

version 0

200

200

Version Information: Legs

each time your legs are upgraded you will become faster.  This is important for getting away from enemies quickly

Cores: 2000000

Cost:

Damage:

Cur

Cur

Cur

Cur

Cur

Cur

Damage:

Damage:

Sound FX

Music

Exit & Save

Click button
to select

Shows current
version

Info about
upgrade choice

Stat Changes

Upgrade Cost

Purchase upgrades and repair with cores

Click to upgrade

Damage repair cost

Click here when
you're done

Current appearance

ActionScript [AS1/AS2]

Frame 1
_root.testing = false; _root.kongregateServices.connect(); onEnterFrame = function () { urlStart = _url.indexOf("://") + 3; urlEnd = _url.indexOf("/", urlStart); domain = _url.substring(urlStart, urlEnd); LastDot = domain.lastIndexOf(".") - 1; domEnd = domain.lastIndexOf(".", LastDot) + 1; domain = domain.substring(domEnd, domain.length); if ((domain != "msu.edu") && (!_root.testing)) { } }; if (!_root.testing) { stop(); MochiAd.showPreGameAd({id:"18d541b74fd16e3b", res:"800x600"}); }
Instance of Symbol 15 MovieClip in Frame 1
/* no clip actions */
Frame 2
function fadeOut() { sponsor_logo._visible = false; com.mosesSupposes.fuse.ZigoEngine.doTween(MI_logo, "_alpha", [0], 2, 0, 0, nextScreen); } function nextScreen() { _root.play(); } Stage.showMenu = false; var PATH = "http://www.legitgames.com/scores/scoreSystem/"; var GAMENAME = "robots"; var SCORESPATH = "http://www.legitgames.com/index.php?pageid=15"; if (!_root.testing) { stop(); com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing, com.mosesSupposes.fuse.Fuse); MI_logo._alpha = 0; sponsor_logo.alpha = 0; com.mosesSupposes.fuse.ZigoEngine.doTween(MI_logo, "_alpha", [100], 2, 0, 4, fadeOut); com.mosesSupposes.fuse.ZigoEngine.doTween(sponsor_logo, "_alpha", [100], 2, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(sponsor_logo, "_alpha", [0], 2, 0, 2); } sponsor_logo.onRelease = function () { getURL ("http://www.legitgames.com/", "_blank"); }; _global.menuMusic = new Sound(); _global.menuMusic.attachSound("titleMusic"); _global.menuMusic.start(0, 1); _global.menuMusic.onSoundComplete = function () { _global.menuMusic.start(0, 1); };
Frame 3
function randRange(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } _root.canLose = 1; _root._quality = "HIGH"; _root.soundOn = true; _root.musicOn = true; _root.currentChoice = "Track"; if (stored_currentGame) { _root.firstPlay = false; } else { _root.firstPlay = true; _root.TrackVersion = 1; _root.ConverterVersion = 1; _root.ReactorVersion = 1; _root.InhibitorVersion = 1; _root.ArmorVersion = 1; _root.ShieldsVersion = 0; _root.EMPVersion = 0; _root.TurretVersion = 0; } _root.TrackCosts = new Array(0, 200, 500, 1500, 4000, 9000, 20000, 50000, 100000, "MAX"); _root.ConverterCosts = new Array(0, 200, 500, 1500, 4000, 9000, 20000, 50000, 100000, "MAX"); _root.ReactorCosts = new Array(0, 200, 500, 1500, 4000, 9000, 20000, 50000, 100000, "MAX"); _root.InhibitorCosts = new Array(0, 200, 500, 1500, 4000, 9000, 20000, 50000, 100000, "MAX"); _root.ArmorCosts = new Array(0, 200, 500, 1500, 4000, 9000, 20000, 50000, 100000, "MAX"); _root.ShieldsCosts = new Array(200, 500, 1500, 4000, 9000, 20000, 50000, 100000, 200000, "MAX"); _root.EMPCosts = new Array(200, 500, 1500, 4000, 9000, 20000, 50000, 100000, 200000, "MAX"); _root.TurretCosts = new Array(200, 500, 1500, 4000, 9000, 20000, 50000, 100000, 200000, "MAX"); _root.TrackText = "Upgrading your track will increase your movement speed, helping you get away from enemies. A higher track version will also lessen the duration of stun effects on your movement."; _root.ConverterText = "The plasma converter is important in determining the amount of damage your plasma gun does. Higher versions also increase heat generated and plasma use."; _root.ReactorText = "Your plasma gun's reactor creates and stores the plasma your gun uses. The higher the version the faster it can create plasma for use."; _root.InhibitorText = "The inhibitor helps dissipate heat away from your gun. Higher versions will dissipate heat faster and lower the amount of time the gun overheats for."; _root.ArmorText = "Armor decreases the amount of damage you take per shot. Your armor version does not decrease damage done to your shield, only to your health."; _root.ShieldsText = "Version 1 will give you a shield and subsequent versions will increase the amount of damage it can take and decrease the amount of time it is offline for after being lost."; _root.EMPText = "Version 1 will give you access to using an EMP that you fire and it stuns enemies along with disabling shields. Higher versions will give a the EMP a longer effect and lower the recharge time."; _root.TurretText = "Version 1 will give you access to placing a turret that will help you out by automatically shooting enemies. The turrets damage, duration, and recharge time are improved for each version."; _root.maxVersion = 9; _root.speedMultiplier = 0.35; _root.playerStunMultiplier = 250; _root.damageMultiplier = 20; _root.armorMultiplier = 8; _root.heatMultiplier = 0.5; _root.overheatMultiplier = 150; _root.plasmaUseMultiplier = 0.5; _root.heatDisMultiplier = 0.7; _root.plasmaRegenMultiplier = 0.7; _root.fireSpeedMultiplier = 20; _root.EMPMultiplier = 500; _root.EMPRechargeMultiplier = 300; _root.shieldOfflineMultiplier = 300; _root.shieldMultiplier = 25; _root.shieldRegenMultiplier = 1; _root.turretDamageMultiplier = 15; _root.turretDelayMultiplier = 750; _root.turretLifeMultiplier = 1000; _root.bombingDamageMultiplier = 5; _global.gameMusic = new Sound(); _global.gameMusic.attachSound("gameMusic1"); _global.gameMusic2 = new Sound(); _global.gameMusic2.attachSound("gameMusic2"); _global.buttonSound = new Sound(); _global.buttonSound.attachSound("buttonSound"); _global.gameMusic.onSoundComplete = function () { _global.gameMusic2.start(0, randRange(2, 5)); }; _global.gameMusic2.onSoundComplete = function () { _global.gameMusic.start(0, 1); };
Frame 4
function sideMenuGrow() { com.mosesSupposes.fuse.ZigoEngine.doTween(sidemenu, "_width", [582], 1.5, 0, 0); } function resetButtons() { com.mosesSupposes.fuse.ZigoEngine.doTween(optionsInfo, "_alpha, _x", [0, 1000], 0.5, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(difficulty, "_alpha, _x", [0, 1000], 0.5, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(creditsInfo, "_alpha, _x", [0, 1000], 0.5, 0, 0); credits_btn.down = false; options_btn.down = false; play_btn.down = false; credits_btn.gotoAndStop("up"); options_btn.gotoAndStop("up"); play_btn.gotoAndStop("up"); } function changeScreen(screen) { _root.screen = screen; com.mosesSupposes.fuse.ZigoEngine.doTween(play_btn, "_x", [-346], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(options_btn, "_x", [-346], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(credits_btn, "_x", [-346], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(optionsInfo, "_alpha, _x", [0, 800], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(creditsInfo, "_alpha, _x", [0, 800], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(difficulty, "_alpha, _x", [0, 800], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(sidemenu, "_width", [0], 1, 0, 0, goToScreen); com.mosesSupposes.fuse.ZigoEngine.doTween(highscores, "_alpha", [0], 0.7, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(moregames_btn, "_alpha", [0], 0.7, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(design_btn, "_alpha", [0], 0.7, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(sponsor_logo, "_alpha", [0], 0.7, 0, 0); } function goToScreen() { _root.gotoAndStop(_root.screen); } function buttonSound() { if (_root.soundOn) { _global.buttonSound.start(); } } function playGame(continueGame) { switch (_root.hardnessLevel) { case "Easy" : _root.enemyStats = 0.75; _root.scoreMultiplier = 0.5; break; case "Medium" : _root.enemyStats = 1; _root.scoreMultiplier = 1; break; case "Hard" : _root.enemyStats = 1.5; _root.scoreMultiplier = 2; break; case "Insane" : _root.enemyStats = 2; _root.scoreMultiplier = 4; } if (continueGame) { _root.TrackVersion = _root.stored_trackVersion; _root.ConverterVersion = _root.stored_converterVersion; _root.ReactorVersion = _root.stored_reactorVersion; _root.InhibitorVersion = _root.stored_inhibitorVersion; _root.ArmorVersion = _root.stored_armorVersion; _root.ShieldsVersion = _root.stored_shieldVersion; _root.EMPVersion = _root.stored_EMPVersion; _root.TurretVersion = _root.stored_turretVersion; _root.cores = _root.stored_currentCores; _root.playerPoints = _root.stored_currentPoints; _root.playerHealth = _root.stored_currentHealth; _root.gameRound = _root.stored_currentWave; _root.bombingAreas = Math.ceil(_root.gameRound / 3); if (_root.bombingAreas > 6) { _root.bombingAreas = 6; } trace(_root.gameRound); trace(_root.cores); changeScreen("upgrade"); } else { _root.TrackVersion = 1; _root.ConverterVersion = 1; _root.ReactorVersion = 1; _root.InhibitorVersion = 1; _root.ArmorVersion = 1; _root.ShieldsVersion = 0; _root.EMPVersion = 0; _root.TurretVersion = 0; _root.cores = 0; _root.playerPoints = 0; _root.bombingAreas = 0; _root.playerHealth = 100; _root.gameRound = 1; changeScreen("story"); } } com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing, com.mosesSupposes.fuse.Fuse); _root.local_data = SharedObject.getLocal("robot_user_data"); stored_user_name = _root.local_data.data.user_name; stored_trackVersion = _root.local_data.data.track_version; stored_converterVersion = _root.local_data.data.converter_version; stored_inhibitorVersion = _root.local_data.data.inhibitor_version; stored_reactorVersion = _root.local_data.data.reactor_version; stored_shieldVersion = _root.local_data.data.shield_version; stored_armorVersion = _root.local_data.data.armor_version; stored_EMPVersion = _root.local_data.data.EMP_version; stored_turretVersion = _root.local_data.data.turret_version; stored_currentGame = _root.local_data.data.currentGame; stored_currentPoints = _root.local_data.data.currentPoints; stored_currentCores = _root.local_data.data.currentCores; stored_currentHealth = _root.local_data.data.currentHealth; stored_currentWave = _root.local_data.data.currentWave; stored_currentDiff = _root.local_data.data.currentDiff; stored_currentEncryption = _root.local_data.data.currentEncryption; _root.currentChoice = "Track"; play_btn._x = -346; options_btn._x = -346; credits_btn._x = -346; com.mosesSupposes.fuse.ZigoEngine.doTween(creditsInfo, "_alpha, _x", [0, 1000], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(optionsInfo, "_alpha, _x", [0, 1000], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(difficulty, "_alpha, _x", [0, 1000], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(sidemenu, "_height, _width, _x, _y, _alpha", [320, 0, 959, 330, 100], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(play_btn, "_x", [0], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(options_btn, "_x", [0], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(credits_btn, "_x", [0], 1, 0, 0); stop(); _global.strGameState = "start"; sponsor_logo.onRelease = function () { getURL ("http://www.legitgames.com/", "_blank"); }; moregames_btn.onRelease = function () { getURL ("http://www.legitgames.com/", "_blank"); }; moregames_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; moregames_btn.onRollOver = function () { this.gotoAndStop("over"); }; moregames_btn.onRollOut = function () { this.gotoAndStop("up"); }; moregames_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; creditsInfo.sponsor_logo.onRelease = function () { getURL ("http://www.legitgames.com/", "_blank"); }; play_btn.onRelease = function () { if (this.down) { } else { resetButtons(); this.gotoAndStop("down"); this.down = true; com.mosesSupposes.fuse.ZigoEngine.doTween(sidemenu, "_width", [0], 0.2, 0, 0, sideMenuGrow); com.mosesSupposes.fuse.ZigoEngine.doTween(difficulty, "_alpha, _x", [100, 582], 1, 0, 1); if (stored_currentGame && (_root.local_data.data.currentEncryption == ((stored_currentPoints * 15) / 3))) { difficulty.continue_btn.enabled = true; difficulty.saveddata_txt.text = (("Wave " + (stored_currentWave + 1)) + " - ") + stored_currentDiff; } else { difficulty.continue_btn.enabled = false; difficulty.saveddata_txt.text = "No saved data."; } } }; play_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; play_btn.onRollOver = function () { this.gotoAndStop("over"); }; play_btn.onRollOut = function () { this.gotoAndStop("up"); }; play_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; options_btn.onRelease = function () { if (this.down) { } else { resetButtons(); this.gotoAndStop("down"); this.down = true; com.mosesSupposes.fuse.ZigoEngine.doTween(sidemenu, "_width", [0], 0.2, 0, 0, sideMenuGrow); com.mosesSupposes.fuse.ZigoEngine.doTween(optionsInfo, "_alpha, _x", [100, 582], 1, 0, 1); } }; options_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; options_btn.onRollOver = function () { this.gotoAndStop("over"); }; options_btn.onRollOut = function () { if (this.down) { this.gotoAndStop("down"); } else { this.gotoAndStop("up"); } }; options_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; credits_btn.onRelease = function () { if (this.down) { } else { resetButtons(); this.gotoAndStop("down"); this.down = true; com.mosesSupposes.fuse.ZigoEngine.doTween(sidemenu, "_width", [0], 0.2, 0, 0, sideMenuGrow); com.mosesSupposes.fuse.ZigoEngine.doTween(creditsInfo, "_alpha, _x", [100, 582], 1, 0, 1); } }; credits_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; credits_btn.onRollOver = function () { this.gotoAndStop("over"); }; credits_btn.onRollOut = function () { if (this.down) { this.gotoAndStop("down"); } else { this.gotoAndStop("up"); } }; credits_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; highscores.onRelease = function () { this.gotoAndStop("over"); getURL (SCORESPATH, "_blank"); }; highscores.onReleaseOutside = function () { this.gotoAndStop("up"); }; highscores.onRollOver = function () { this.gotoAndStop("over"); }; highscores.onRollOut = function () { this.gotoAndStop("up"); }; highscores.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; difficulty.easy.onRelease = function () { _root.hardnessLevel = "Easy"; playGame(false); this.gotoAndStop("down"); }; difficulty.easy.onReleaseOutside = function () { this.gotoAndStop("up"); }; difficulty.easy.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; difficulty.medium.onRelease = function () { _root.hardnessLevel = "Medium"; playGame(false); this.gotoAndStop("down"); }; difficulty.medium.onReleaseOutside = function () { this.gotoAndStop("up"); }; difficulty.medium.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; difficulty.hard.onRelease = function () { _root.hardnessLevel = "Hard"; playGame(false); this.gotoAndStop("down"); }; difficulty.hard.onReleaseOutside = function () { this.gotoAndStop("up"); }; difficulty.hard.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; difficulty.insane.onRelease = function () { _root.hardnessLevel = "Insane"; playGame(false); this.gotoAndStop("up"); }; difficulty.insane.onReleaseOutside = function () { this.gotoAndStop("up"); }; difficulty.insane.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; difficulty.continue_btn.onRelease = function () { _root.hardnessLevel = _root.stored_currentDiff; playGame(true); this.gotoAndStop("up"); }; difficulty.continue_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; difficulty.continue_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); };
Frame 33
function changeScreen(screen) { _root.screen = screen; ZigoEngine.doTween(scoreMenu, "_alpha", [0], 1, 0, 0); ZigoEngine.doTween(sidemenu, "_alpha", [0], 1, 0, 0, goToScreen); } function goToScreen() { _root.gotoAndPlay(_root.screen); } function buttonSound() { if (_root.soundOn) { _global.buttonSound.start(); } } function __rankz_send__(par1, par2, par3, par4) { par227 = new LoadVars(); par228 = new LoadVars(); par227.flashkey = par2; par227.SU0249 = par1; par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3); par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s"); par227.flashkey = par227.flashkey.split("=").join(""); par227.SU0249 = par227.SU0249.split("=").join(""); par228.onLoad = function (success) { if (success) { changeScreen("top10"); if (par228.place == 0) { _root.scoreStatus = "Sorry, you didn't make it to the top500."; } else { _root.scoreStatus = ("Highscore posted! You got #" + par228.place) + " place!"; } } else { changeScreen("mainmenu"); trace(par228.loaded); } }; par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST"); } scoreMenu.score_txt.text = _root.playerPoints; stop(); this.createEmptyMovieClip("highSender", this.getNextHighestDepth()); scoreMenu.submit.onRelease = function () { p_score = scoreMenu.score_txt.text; p_name = scoreMenu.p_name; highSender.playerName = p_name; highSender.score = p_score; highSender.gamename = GAMENAME; highSender.validator = (p_score * 21) - 3; highSender.loadVariables(PATH + "new_score.php", "POST"); getURL (SCORESPATH, "_blank"); this._visible = false; }; scoreMenu.submit.onReleaseOutside = function () { this.gotoAndStop("up"); }; scoreMenu.submit.onRollOver = function () { this.gotoAndStop("over"); }; scoreMenu.submit.onRollOut = function () { this.gotoAndStop("up"); }; scoreMenu.submit.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; scoreMenu.menu.onRelease = function () { this.gotoAndStop("over"); changeScreen("mainmenu"); }; scoreMenu.menu.onReleaseOutside = function () { this.gotoAndStop("up"); }; scoreMenu.menu.onRollOver = function () { this.gotoAndStop("over"); }; scoreMenu.menu.onRollOut = function () { this.gotoAndStop("up"); }; scoreMenu.menu.onPress = function () { buttonSound(); this.gotoAndStop("down"); };
Frame 34
function buttonSound() { if (_root.soundOn) { _global.buttonSound.start(); } } this.play(); ready_btn.onRelease = function () { if (_root.musicOn) { _global.menuMusic.stop(); _global.gameMusic.start(0, 1); } _root.gotoAndPlay("game"); }; ready_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; ready_btn.onRollOver = function () { this.gotoAndStop("over"); }; ready_btn.onRollOut = function () { this.gotoAndStop("up"); }; ready_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); };
Frame 673
stop();
Frame 674
stop(); _root.goingToScreen = false; _root.player_mc._x = 400; _root.player_mc._y = 300; _root.player_mc._scale = 50; _root.roundTime = 30000 + (5000 * _root.gameRound); _root.timeLeft = _root.roundTime / 1000; switch (_root.ConverterVersion) { case 4 : case 3 : case 2 : case 1 : _root.shotName = "shot1"; break; case 8 : case 7 : case 6 : case 5 : _root.shotName = "shot2"; break; case 9 : _root.shotName = "shot3"; } switch (_root.TrackVersion) { case 4 : case 3 : case 2 : case 1 : _root.player_mc.track_mc.attachMovie("track1", "track_mc", _root.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.track_mc.attachMovie("track2", "track_mc", _root.getNextHighestDepth()); break; case 9 : _root.player_mc.track_mc.attachMovie("track3", "track_mc", _root.getNextHighestDepth()); } switch (_root.ReactorVersion) { case 4 : case 3 : case 2 : case 1 : _root.player_mc.body_mc.reactor_mc.attachMovie("reactor1", "reactor", _root.player_mc.body_mc.reactor_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.body_mc.reactor_mc.attachMovie("reactor2", "reactor", _root.player_mc.body_mc.reactor_mc.getNextHighestDepth()); break; case 9 : _root.player_mc.body_mc.reactor_mc.attachMovie("reactor3", "reactor", _root.player_mc.body_mc.reactor_mc.getNextHighestDepth()); } switch (_root.EMPVersion) { case 4 : case 3 : case 2 : case 1 : case 0 : _root.player_mc.body_mc.emp_mc.attachMovie("emp1", "emp", _root.player_mc.body_mc.emp_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.body_mc.emp_mc.attachMovie("emp2", "emp", _root.player_mc.body_mc.emp_mc.getNextHighestDepth()); break; case 9 : _root.player_mc.body_mc.emp_mc.attachMovie("emp3", "emp", _root.player_mc.body_mc.emp_mc.getNextHighestDepth()); } switch (_root.InhibitorVersion) { case 4 : case 3 : case 2 : case 1 : _root.player_mc.body_mc.gun_mc.attachMovie("gun1", "gun", _root.player_mc.body_mc.gun_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.body_mc.gun_mc.attachMovie("gun2", "gun", _root.player_mc.body_mc.gun_mc.getNextHighestDepth()); break; case 9 : _root.player_mc.body_mc.gun_mc.attachMovie("gun3", "gun", _root.player_mc.body_mc.gun_mc.getNextHighestDepth()); } switch (_root.ArmorVersion) { case 4 : case 3 : case 2 : case 1 : _root.player_mc.body_mc.armor_mc.attachMovie("armor1", "armor", _root.player_mc.body_mc.armor_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.body_mc.armor_mc.attachMovie("armor2", "armor", _root.player_mc.body_mc.armor_mc.getNextHighestDepth()); break; case 9 : _root.player_mc.body_mc.armor_mc.attachMovie("armor3", "armor", _root.player_mc.body_mc.armor_mc.getNextHighestDepth()); } switch (_root.TurretVersion) { case 4 : case 3 : case 2 : case 1 : _root.turretName = "turret1"; _root.turretShotName = "shot1"; break; case 8 : case 7 : case 6 : case 5 : _root.turretName = "turret2"; _root.turretShotName = "shot2"; break; case 9 : _root.turretName = "turret3"; _root.turretShotName = "shot3"; } _root.spawnPoints = new Array(); i = -100; while (i < 900) { spawnPoint = new Array(i, -100); _root.spawnPoints.push(spawnPoint); i = i + 50; } i = -100; while (i < 900) { spawnPoint = new Array(i, 700); _root.spawnPoints.push(spawnPoint); i = i + 50; } i = -100; while (i < 700) { spawnPoint = new Array(-100, i); _root.spawnPoints.push(spawnPoint); i = i + 50; } i = -100; while (i < 700) { spawnPoint = new Array(900, i); _root.spawnPoints.push(spawnPoint); i = i + 50; } _root.playerspeed = 2 + (_root.speedMultiplier * _root.TrackVersion); _root.playerStun = 2250 - (_root.playerStunMultiplier * _root.TrackVersion); _root.overheatTime = 3000 - (_root.overheatMultiplier * _root.InhibitorVersion); _root.bulletSpeed = 30; _root.enemyBulletSpeed = 15; _root.playerDamage = 20 + (_root.damageMultiplier * _root.ConverterVersion); _root.heatUse = 0.5 + (_root.heatMultiplier * _root.ConverterVersion); _root.plasmaUse = 0.5 + (_root.plasmaUseMultiplier * _root.ConverterVersion); _root.plasmaTotal = 100; _root.plasmaLeft = 100; _root.gunHeat = 0; _root.heatDisTime = 1000; _root.plasmaRegenTime = 1000; _root.heatDis = 0.7 + (_root.heatDisMultiplier * _root.InhibitorVersion); _root.plasmaRegen = 0.7 + (_root.plasmaRegenMultiplier * _root.ReactorVersion); _root.fireSpeed = 350 - (_root.fireSpeedMultiplier * _root.ReactorVersion); _root.armor = _root.ArmorVersion * _root.armorMultiplier; _root.shieldRegenTime = 1000; if (_root.ShieldsVersion > 0) { _root.shieldRegen = 4 + (_root.ShieldsVersion * _root.shieldRegenMultiplier); _root.shieldsMax = 0 + (_root.ShieldsVersion * _root.shieldMultiplier); _root.shieldOfflineTime = 5000 - (_root.shieldOfflineMultiplier * _root.ShieldsVersion); _root.shields = _root.shieldsMax; } else { _root.shieldRegen = 0; _root.shields = 0; _root.shieldOfflineTime = 0; } if (_root.EMPVersion > 0) { _root.EMPReady = true; _root.EMPTime = 3000 + (_root.EMPMultiplier * (_root.EMPVersion - 1)); _root.EMPResetTime = 10000 - (_root.EMPRechargeMultiplier * (_root.EMPVersion - 1)); } else { _root.EMPTime = 0; _root.EMPResetTime = 0; _root.EMPReady = false; } if (_root.TurretVersion > 0) { _root.turretDamage = 20 + (_root.turretDamageMultiplier * (_root.TurretVersion - 1)); _root.turretDelay = 35000 - (_root.turretDelayMultiplier * (_root.TurretVersion - 1)); _root.lastTurret = getTimer() - _root.turretDelay; _root.turretLife = 15000 + (_root.turretLifeMultiplier * (_root.TurretVersion - 1)); _root.turretReady = true; } else { _root.turretReady = false; } sM = 1 + ((_root.gameRound - 1) * 0.035); dM = 1 + ((_root.gameRound - 1) * 0.25); sM = sM * _root.enemyStats; dM = dM * _root.enemyStats; _root.layers = new Array(1, 21, 81, 41, 61); speed = 2.6 * sM; damage = Math.floor(10 * dM); exploder = new Array(damage, speed, _root.player_mc._height / 2); speed = 1.5 * sM; damage = Math.floor(5 * dM); gunner = new Array(damage, speed, 400, 2500, 4000, 20); speed = 2 * sM; damage = Math.floor(5 * dM); floater = new Array(damage, speed, 250, 2500, 4000, 20, 100); speed = 1 * sM; damage = 0; carrier = new Array(damage, speed, 500, 4500, 6000, 20); speed = 1.5 * sM; damage = 0; shield = new Array(damage, speed); _root.enemyInfo = new Array(exploder, gunner, floater, carrier, shield); hM = 1 + ((_root.gameRound - 1) * 0.22); cM = 1 + ((_root.gameRound - 1) * 0.3); hM = hM * _root.enemyStats; points = Math.ceil(100 * cM); health = Math.ceil(35 * hM); exploder = new Array("exploder", health, 0, points, 21, 30); exploder2 = new Array("exploder", health, 0, points, 31, 40); points = Math.ceil(150 * cM); health = Math.ceil(75 * hM); gunner = new Array("gunner", health, 1, points, 41, 60); points = Math.ceil(75 * cM); health = Math.ceil(50 * hM); floater = new Array("floater", health, 2, points, 101, 130); floater2 = new Array("floater", health, 2, points, 131, 150); points = Math.ceil(200 * cM); health = Math.ceil(90 * hM); carrier = new Array("carrier", health, 3, points, 61, 80); points = Math.ceil(300 * cM); health = Math.ceil(65 * hM); shield = new Array("shield", health, 4, points, 81, 100); _root.craters = 4; _root.bombDamage = 10 * dM; if ((_root.gameRound % 3) == 1) { _root.bombingTime = 20000; if (_root.bombingAreas < 6) { _root.bombingAreas++; } } else { _root.bombingTime = 15000; } switch (_root.gameRound) { case 1 : _root.enemyTypes = new Array(exploder); break; case 2 : _root.enemyTypes = new Array(exploder, gunner, exploder2); break; case 3 : _root.enemyTypes = new Array(exploder, gunner, exploder2); break; case 4 : _root.enemyTypes = new Array(exploder, gunner, floater, exploder2); break; case 5 : _root.enemyTypes = new Array(exploder, gunner, floater, exploder2, floater2); break; case 6 : _root.enemyTypes = new Array(exploder, gunner, floater, carrier, exploder2, floater2); break; case 7 : break; case 8 : break; case 9 : _root.enemyTypes = new Array(exploder, gunner, floater, carrier, exploder2, floater2); break; case 10 : case 11 : _root.enemyTypes = new Array(exploder, gunner, floater, carrier, exploder2, floater2); break; case 12 : } if (_root.gameRound > 8) { _root.enemyTypes = new Array(exploder, gunner, floater, carrier, shield, exploder2, floater2); }
Instance of Symbol 15 MovieClip "actions_mc" in Frame 674
onClipEvent (load) { function setPlayerRotation() { xMouse = _root._xmouse; yMouse = _root._ymouse; var _local5 = new Array(xMouse, yMouse); anglePos = _local5; _local5 = new Array(_root.player_mc._x, _root.player_mc._y); startPos = _local5; var _local3 = -1 * (anglePos[1] - startPos[1]); var _local4 = anglePos[0] - startPos[0]; var _local2 = Math.atan2(_local3, _local4); _local2 = Math.round((_local2 / Math.PI) * 180); _root.player_mc.body_mc._rotation = -1 * (_local2 - 90); gunangle = (_root.player_mc.body_mc._rotation - 90) * -1; gunmoveX = Math.sin((gunangle * Math.PI) / 180); gunmoveY = Math.cos((gunangle * Math.PI) / 180); _root.player_mc.gunmoveX = gunmoveX; _root.player_mc.gunmoveY = gunmoveY; gX = _root.player_mc.body_mc.gun_mc._x - 22; gY = _root.player_mc.body_mc.gun_mc._y + 52; bX = _root.player_mc._x + (gX * gunmoveX); bY = _root.player_mc._y + (gX * gunmoveY); _root.laserPoint_mc.removeMovieClip(); _root.createEmptyMovieClip("laserPoint_mc", _root.getNextHighestDepth()); _root.laserPoint_mc.lineStyle(1, 16711680, 20); _root.laserPoint_mc.moveTo(bX, bY); _root.laserPoint_mc.lineTo(xMouse, yMouse); gX = _root.player_mc.body_mc.emp_mc._x + 22; gY = _root.player_mc.body_mc.emp_mc._y + 22; sX = _root.player_mc._x + (gX * gunmoveX); sY = _root.player_mc._y + (gX * gunmoveY); _local5 = new Array(sX, sY); startPos = _local5; _local3 = -1 * (anglePos[1] - startPos[1]); _local4 = anglePos[0] - startPos[0]; _local2 = Math.atan2(_local4, _local3); _local2 = Math.round((_local2 / Math.PI) * 180); moveX = Math.sin(((360 - _local2) * Math.PI) / 180); moveY = Math.cos(((360 - _local2) * Math.PI) / 180); _root.player_mc.stunMoveX = -moveX; _root.player_mc.stunMoveY = -moveY; _local5 = new Array(bX, bY); startPos = _local5; _local3 = -1 * (anglePos[1] - startPos[1]); _local4 = anglePos[0] - startPos[0]; _local2 = Math.atan2(_local4, _local3); _local2 = Math.round((_local2 / Math.PI) * 180); rot = _root.player_mc.body_mc._rotation; moveX = Math.sin(((360 - _local2) * Math.PI) / 180); moveY = Math.cos(((360 - _local2) * Math.PI) / 180); _root.player_mc.bulMoveX = -moveX; _root.player_mc.bulMoveY = -moveY; _local2 = -1 * (rot - _local2); _root.player_mc.body_mc.gun_mc._rotation = _local2; _root.player_mc.body_mc.emp_mc._rotation = -_local2; } function setFireInterval() { if (_root.fireInterval != null) { clearInterval(_root.fireInterval); _root.fireInterval = null; } else { _root.fireInterval = setInterval(_root.actions_mc, "fire", 10); } } function fire() { if (Key.isDown(16)) { placeTurret(); _root.lastShot = getTimer(); clearInterval(_root.fireInterval); return(undefined); } if (getTimer() > (_root.lastShot + _root.shotDelay)) { type = "normalP"; speed = _root.bulletSpeed; bullet = _root.shotName; if ((!_root.overheat) && (_root.plasmaLeft > 0)) { playSound("gunSound", 100); if (Key.isDown(17) || (_root.fireEMP)) { if (_root.EMPReady) { _root.fireEMP = false; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.EMPIcon, "_alpha", [0], 0.5, 0, 0); _root.EMPReady = false; _root.EMPInterval = setInterval(_root.actions_mc, "EMPReset", _root.EMPResetTime); type = "EMP"; bullet = "EMPShot"; speed = speed / 2; } } if (bullet == "EMPShot") { shotMoveX = _root.player_mc.stunMoveX; shotMoveY = _root.player_mc.stunMoveY; gX = _root.player_mc.body_mc.emp_mc._x + 20; gY = _root.player_mc.body_mc.emp_mc._y; } else { shotMoveX = _root.player_mc.bulMoveX; shotMoveY = _root.player_mc.bulMoveY; gX = _root.player_mc.body_mc.gun_mc._x - 20; gY = _root.player_mc.body_mc.gun_mc._y; } bX = _root.player_mc._x + (gX * _root.player_mc.gunmoveX); bY = _root.player_mc._y + (gX * _root.player_mc.gunmoveY); mX = _root._xmouse; mY = _root._ymouse; xSide = bX - mX; ySide = bY - mY; distance = Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)); _root.attachMovie(bullet, "bullet" + _root.bulletCount, _root.getNextHighestDepth(), {_x:bX, _y:bY, cacheAsBitmap:true, type:type, speed:speed, damage:_root.playerDamage, dis:distance}); angle = _root.player_mc.body_mc._rotation; gunangle = _root.player_mc.body_mc.gun_mc._rotation; angle = angle + gunangle; _root["bullet" + _root.bulletCount]._rotation = angle; _root["bullet" + _root.bulletCount].moveX = shotMoveX; _root["bullet" + _root.bulletCount].moveY = shotMoveY; _root.bullets.push("bullet" + _root.bulletCount); _root.bulletCount++; _root.lastShot = getTimer(); if (bullet == "EMPShot") { return(undefined); } _root.plasmaLeft = _root.plasmaLeft - _root.plasmaUse; _root.gunHeat = _root.gunHeat + _root.heatUse; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.plasmaBar_mc, "_alpha", [100], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.plasmaBar_mc, "_alpha", [30], 1, 0, 0.3); if (_root.gunHeat >= 100) { _root.gunHeat = 100; _root.overheat = true; clearInterval(_root.heatInterval); _root.overheatInterval = setInterval(_root.actions_mc, "overheatReset", _root.overheatTime); } } } } function overheatReset() { clearInterval(_root.overheatInterval); _root.gunHeat = _root.gunHeat - 50; _root.heatInterval = setInterval(_root.actions_mc, "heatDis", _root.heatDisTime); _root.overheat = false; } function placeTurret() { if (_root.turretReady) { pX = _root.player_mc._x; pY = _root.player_mc._y; tX = _root._xmouse; tY = _root._ymouse; xSide = pX - tX; ySide = pY - tY; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < 50) { return(undefined); } if (getTimer() > (_root.lastTurret + _root.turretDelay)) { playSound("turretDeploy", 100); _root.attachMovie(_root.turretName, "turret_mc", 19, {_x:tX, _y:tY, cacheAsBitmap:true, speed:_root.bulletSpeed, damage:_root.turretDamage}); _root.lastTurret = getTimer(); _root.turretReady = false; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.turretIcon, "_alpha", [0], 0.5, 0, 0); _root.turretTimePlaced = getTimer(); _root.clearTurret = setInterval(_root.actions_mc, "removeTurret", _root.turretLife); } } } function removeTurret() { _root.turretPause = 0; delay = (_root.turretDelay - _root.turretLife) / 1000; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.turretIcon, "_alpha", [50], 0.5, 0, delay); _root.turretReady = true; clearInterval(_root.clearTurret); clearInterval(_root.turret_mc.resetAttackInterval); _root.turret_mc.removeMovieClip(); } function goToUpgrade() { _global.strGameState = "upgrade"; } function updateTime() { _root.gameTime = getTimer() - _root.pauseTime; if ((_root.gameTime >= (_root.startTime + _root.roundTime)) && (enemiesLeft == 0)) { goToUpgrade(); } else { _root.timeLeft = _root.roundTime - (_root.gameTime - _root.startTime); _root.timeLeft = Math.ceil(_root.timeLeft / 1000); } trace(_root.timeLeft); } function heatDis() { if (_root.gunHeat > 0) { _root.gunHeat = _root.gunHeat - _root.heatDis; } else { _root.gunHeat = 0; } } function plasmaRegen() { _root.plasmaLeft = _root.plasmaLeft + _root.plasmaRegen; if (_root.plasmaLeft > 100) { _root.plasmaLeft = 100; } } function shieldRegen() { _root.shields = _root.shields + _root.shieldRegen; if (_root.shields > _root.shieldsMax) { _root.shields = _root.shieldsMax; } } function shieldsReset() { clearInterval(_root.shieldResetInterval); playSound("shieldPowerUp", 100); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.shield_mc, "_alpha", [10], 1, 0, 0); _root.player_mc.curWidth = _root.player_mc.shield_mc._width / 4; _root.shields = _root.shields + (_root.shieldRegen * 2); _root.shieldInterval = setInterval(_root.actions_mc, "shieldRegen", _root.shieldRegenTime); shieldRegen(); } function EMPReset() { _root.EMPReady = true; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.EMPIcon, "_alpha", [50], 0.5, 0, 0); clearInterval(_root.EMPInterval); } function EMPBlast(posX, posY) { playSound("EMP", 100); _root.attachMovie("EMPBlast", "EMPBlast_mc", _root.getNextHighestDepth(), {_x:posX, _y:posY, cacheAsBitmap:true}); size = _root.EMPBlast_mc._size; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.EMPBlast_mc, "_scale, _alpha", [300, 0], 0.2, 0, 0, _root.actions_mc.EMPDelete); } function EMPDelete() { sW = _root.EMPBlast_mc._width / 2; sX = _root.EMPBlast_mc._x; sY = _root.EMPBlast_mc._y; var _local2 = 0; while (_local2 < _root.enemyOnScreen.length) { enemy = _root[_root.enemyOnScreen[_local2]]; eW = enemy._width / 2; eX = enemy._x; eY = enemy._y; xSide = eX - sX; ySide = eY - sY; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < sW) { if (enemy.stunned == true) { clearInterval(enemy.stunInterval); enemy.stunInterval = setInterval(_root.actions_mc, "unstunObject", _root.EMPTime, enemy); } else { enemy.stunned = true; clearInterval(enemy.stunInterval); enemy.stunInterval = setInterval(_root.actions_mc, "unstunObject", _root.EMPTime, enemy); if (enemy.type == 4) { size = enemy.body.collision._size; com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.collision, "_alpha", [0], 0.5, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.collision, "_size", [size / 8], 0, 0, 0); enemy.shielded = false; enemy.shieldActive = false; } } enemy.body.leftLeg.stop(); enemy.body.rightLeg.stop(); enemy.stop(); } _local2++; } _root.EMPBlast_mc.removeMovieClip(); } function unstunObject(object) { if (object.type == 4) { com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.collision, "_alpha", [10], 0, 0, 0); object.shieldActive = true; enemy.shielding = 0; } object.stunned = false; clearInterval(object.stunInterval); } function damageEnemy(enemy, damage, pos) { if (enemy.type == 4) { if (enemy.shieldActive) { com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.collision, "_alpha", [40], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.collision, "_alpha", [10], 2, 0, 1); damage = Math.floor(damage / 4); } } com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.healthbar_mc, "_alpha", [100], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.healthbar_mc, "_alpha", [40], 2, 0, 1); cores = _root.enemyTypes[enemy.type][3]; enemy.health = enemy.health - damage; if (enemy.health <= 0) { killEnemy(enemy, pos); } w = enemy.healthbar_mc._width; maxHealth = _root.enemyTypes[enemy.type][1]; if (enemy.health > 0) { enemy.healthbar_mc.healthLeft_mc._width = w * (enemy.health / maxHealth); } else { enemy.healthbar_mc.healthLeft_mc._width = 0; } } function damagePlayer(damage) { if (_root.shields >= damage) { _root.shields = _root.shields - damage; healthDamage = 0; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.shield_mc, "_alpha", [50], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.shield_mc, "_alpha", [10], 1, 0, 0.1); } else if (_root.shields > 0) { damage = damage - _root.shields; _root.shields = 0; clearInterval(_root.shieldInterval); playSound("shieldPowerDown", 100); _root.player_mc.curWidth = _root.player_mc.collision._width / 3; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.shield_mc, "_alpha", [50], 0, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.shield_mc, "_alpha", [0], 1, 0, 0.1); _root.shieldResetInterval = setInterval(_root.actions_mc, "shieldsReset", _root.shieldOfflineTime); healthDamage = 0; } else { healthDamage = damage; } healthDamage = Math.floor(healthDamage * (1 - (_root.armor / 100))); if (healthDamage > 0) { _root.player_mc.health = _root.player_mc.health - healthDamage; } if ((_root.player_mc.health <= 0) && (_root.canLose)) { _global.strGameState = "lose"; } nW = 150 * (_root.player_mc.health / 100); _root.player_mc.healthBar_mc._alpha = 100; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.healthBar_mc.healthLeft_mc, "_width", [nW], 0.2, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.healthBar_mc, "_alpha", [30], 1, 0, 1); } function playerMovement(player) { if (player.stunned) { return(undefined); } player.collide = false; pH = player.collision._width / 2; xPos = player._x; yPos = player._y; wid = player._width / 2; heig = player._height / 2; pRot = _root.player_mc.track_mc._rotation; if (player.moveLeft && (!player.moveRight)) { xPos = xPos - _root.player_mc.speed; pRot = -90; } if ((!player.moveLeft) && (player.moveRight)) { xPos = xPos + _root.player_mc.speed; pRot = 90; } if (player.moveUp && (!player.moveDown)) { yPos = yPos - _root.player_mc.speed; pRot = 0; if (player.moveLeft) { pRot = -45; } if (player.moveRight) { pRot = 45; } } if ((!player.moveUp) && (player.moveDown)) { yPos = yPos + _root.player_mc.speed; pRot = 180; if (player.moveLeft) { pRot = -135; } if (player.moveRight) { pRot = 135; } } var _local3 = 0; while (_local3 < _root.enemyOnScreen.length) { enemy = _root[_root.enemyOnScreen[_local3]]; if (enemy.type == 2) { } else { eW = enemy.body.collision._width / 2; eX = enemy._x; eY = enemy._y; xSide = eX - xPos; ySide = eY - yPos; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < pH) { player.collide = true; return(undefined); } } _local3++; } if (_root.turret_mc) { tX = _root.turret_mc._x; tY = _root.turret_mc._y; xSide = tX - xPos; ySide = tY - yPos; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < 50) { player.collide = true; return(undefined); } } if ((xPos - pH) < 0) { player.collide = true; } if ((xPos + pH) > 800) { player.collide = true; } if ((yPos - pH) < 0) { player.collide = true; } if ((yPos + pH) > 600) { player.collide = true; } if (!player.collide) { player.track_mc._rotation = pRot; if ((player._x != xPos) || (player._y != yPos)) { player.track_mc.track_mc.play(); player._x = xPos; player._y = yPos; } else { player.track_mc.track_mc.stop(); } } else { player.track_mc.track_mc.stop(); } } function updateGui() { var _local2 = getTimer(); _root.gameTime = getTimer(); enemiesLeft = _root.enemyOnScreen.length; if (_root.timeLeft <= 3) { _root.roundTimer.roundTime_txt.text = enemiesLeft; } else { _root.roundTimer.roundTime_txt.text = ""; } _root.player_mc.plasmaBar_mc.plasmaLeft_mc._width = 150 * (_root.plasmaLeft / 100); _root.player_mc.plasmaBar_mc.heatBar_mc._width = 150 * (_root.gunHeat / 100); _root.player_mc.plasmaBar_mc.heatBar_mc._alpha = _root.gunHeat + 10; time = Math.floor(((_root.roundTime / 1000) - _root.timeLeft) / (_root.gameRound + 5)); _root.hardness = Math.floor(Math.sqrt(_root.gameRound) + time); } function killEnemy(enemy, pos) { if (!enemy.noCores) { enemyCores = _root.enemyTypes[enemy.type][3]; } else { enemyCores = 0; } if (enemyCores > 0) { _root.enemiesKilled++; _root.cores = _root.cores + enemyCores; } if (enemy.type == 0) { playSound("explosion", 100); crater = randRange(1, _root.craters); _root.ground_mc.attachMovie("crater" + crater, "crater" + _root.craterNum, _root.ground_mc.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y}); time = randRange(9000, 14000); _root.attachMovie("enemyExplosion", "explosion" + _root.explosionNum, _root.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y, _xscale:30, _yscale:30}); explosion = _root["explosion" + _root.explosionNum]; _root.explosionNum++; newCrater = _root.ground_mc["crater" + _root.craterNum]; newCrater.deleteInterval = setInterval(_root.actions_mc, "deleteCrater", time, newCrater); _root.craterNum++; enemy.removeMovieClip(); } else { _root.attachMovie("enemyExplosion", "explosion" + _root.explosionNum, _root.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y, _xscale:10, _yscale:10}); explosion = _root["explosion" + _root.explosionNum]; com.mosesSupposes.fuse.ZigoEngine.setColorByKey(explosion, "tint", 20, 16737792); _root.explosionNum++; explosion.deleteInterval = setInterval(_root.actions_mc, "deleteCrater", 400, explosion); type = enemy.type; enemyType = _root.enemyTypes[type][0]; trace(enemy.body._rotation); _root.debris_mc.attachMovie(enemyType, "debris" + _root.debrisNum, _root.debris_mc.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y, cacheAsBitmap:true}); debris = _root.debris_mc["debris" + _root.debrisNum]; debris.body._rotation = enemy.body._rotation; enemy.removeMovieClip(); trace(debris); debris.gotoAndPlay("dead"); debris.body.gotoAndPlay("dead"); debris.body.leftLeg.stop(); debris.body.rightLeg.stop(); _root.debrisNum++; } _root.enemyOnScreen.splice(pos, 1); } function checkEnemies() { var _local2 = 0; while (_local2 < _root.enemyOnScreen.length) { if (_root[_root.enemyOnScreen[_local2]].health <= 0) { _root[_root.enemyOnScreen[_local2]].removeMovieClip(); _root.enemyOnScreen.splice(_local2, 1); } _local2++; } } function spawnEnemies() { var _local2 = getTimer(); if (((_root.lastEnemy + _root.spawnDelay) < _local2) && (_root.timeLeft > 3)) { if (_root.spawnWave > 0) { _root.lastEnemy = _local2; _root.spawnWave--; _root.spawnDelay = randRange(100, 300); randSpawn = randRange(0, _root.spawnPoints.length - 1); eX = _root.spawnPoints[randSpawn][0]; eY = _root.spawnPoints[randSpawn][1]; randEnemyType = randRange(0, _root.enemyTypes.length - 1); enemyType = _root.enemyTypes[randEnemyType][0]; health = _root.enemyTypes[randEnemyType][1]; type = _root.enemyTypes[randEnemyType][2]; endLayer = _root.enemyTypes[randEnemyType][5]; layer = _root.layers[type]; _root.attachMovie(enemyType, ("enemy_" + _root.enemies) + "_mc", layer, {_x:eX, _y:eY, cacheAsBitmap:true, health:health, type:type, stunned:false, canAttack:true, lastAttack:getTimer(), attackDelay:0, sound:false}); enemy = _root[("enemy_" + _root.enemies) + "_mc"]; com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.healthbar_mc, "_alpha", [40], 0, 0, 0); if (layer < endLayer) { layer++; } else { startLayer = _root.enemyTypes[randEnemyType][4]; layer = startLayer; } _root.layers[type] = layer; if (type == 4) { enemy.shieldActive = true; com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.collision, "_alpha", [10], 0, 0, 0); } _root.enemyOnScreen.push(("enemy_" + _root.enemies) + "_mc"); _root.lastEnemy = _local2; _root.enemies++; } else { _root.spawnWave = randRange(3, 4); _root.spawnDelay = randRange(_root.enemySpawnTime - 2000, _root.enemySpawnTime) / Math.sqrt(_root.hardness); _root.spawnDelay = _root.spawnDelay * Math.sqrt(_root.spawnWave - 1); _root.lastEnemy = _local2; } } } function updateEnemies() { info = _root.enemyInfo; player = _root.player_mc; pW = player.curWidth; time = getTimer(); damageE = info[0][0]; speedE = info[0][1]; damageG = info[1][0]; speedG = info[1][1]; rangeG = info[1][2]; minG = info[1][3]; maxG = info[1][4]; shotSpeedG = info[1][5]; damageF = info[2][0]; speedF = info[2][1]; rangeF = info[2][2]; minF = info[2][3]; maxF = info[2][4]; shotSpeedF = info[2][5]; retreatRangeF = info[2][6]; damageC = info[3][0]; speedC = info[3][1]; rangeC = info[3][2]; minC = info[3][3]; maxC = info[3][4]; shotSpeedC = info[3][5]; damageS = info[4][0]; speedS = info[4][1]; pX = player._x; pY = player._y; var _local3 = 0; while (_local3 < _root.enemyOnScreen.length) { enemy = _root[_root.enemyOnScreen[_local3]]; if (!enemy.stunned) { switch (enemy.type) { case 0 : eX = enemy._x; eY = enemy._y; var _local6 = new Array(pX, pY); anglePos = _local6; _local6 = new Array(eX, eY); startPos = _local6; var _local4 = -1 * (anglePos[1] - startPos[1]); var _local5 = anglePos[0] - startPos[0]; var _local2 = Math.atan2(_local4, _local5); _local2 = Math.round((_local2 / Math.PI) * 180); enemy.body._rotation = -1 * (_local2 - 90); enemy.moveX = Math.sin(((_local2 + 90) * Math.PI) / 180); enemy.moveY = Math.cos(((_local2 + 90) * Math.PI) / 180); enemy._x = enemy._x + (speedE * enemy.moveX); enemy._y = enemy._y + (speedE * enemy.moveY); if (Math.sqrt(Math.pow(_local4, 2) + Math.pow(_local5, 2)) < (pW + (enemy.body.collision._width / 2))) { player.stunned = true; clearInterval(player.stunInterval); player.stunInterval = setInterval(_root.actions_mc, "unstunObject", _root.playerStun, player); enemy.noCores = true; damagePlayer(damageE); damageEnemy(enemy, enemy.health, _local3); } break; case 1 : enemy.collide = false; eW = enemy.body.collision._width / 2; eX = enemy._x; eY = enemy._y; _local6 = new Array(pX, pY); anglePos = _local6; _local6 = new Array(eX, eY); startPos = _local6; _local4 = -1 * (anglePos[1] - startPos[1]); _local5 = anglePos[0] - startPos[0]; _local2 = Math.atan2(_local4, _local5); _local2 = Math.round((_local2 / Math.PI) * 180); enemy.body._rotation = -1 * (_local2 - 90); enemy.moveX = Math.sin(((_local2 + 90) * Math.PI) / 180); enemy.moveY = Math.cos(((_local2 + 90) * Math.PI) / 180); nX = eX + (speedG * enemy.moveX); nY = eY + (speedG * enemy.moveY); xSide = pX - nX; ySide = pY - nY; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < (eOW + eW)) { enemy.collide = true; } if (Math.sqrt(Math.pow(_local4, 2) + Math.pow(_local5, 2)) < rangeG) { if ((!enemy.collide) && ((((eX > 780) || (eX < 20)) || (eY < 20)) || (eY > 580))) { if (!enemy.collide) { enemy.currentState = "move"; } else { enemy.currentState = "stand"; } } else { enemy.currentState = "attack"; } } else if (!enemy.collide) { enemy.currentState = "move"; } else { enemy.currentState = "stand"; } switch (enemy.currentState) { case "attack" : enemy.body.leftLeg.stop(); enemy.body.rightLeg.stop(); enemy.stop(); if ((enemy.lastAttack + enemy.attackDelay) < time) { enemyFire(eX, eY, damageG, shotSpeedG, enemy.moveX, enemy.moveY); enemy.attackDelay = randRange(minG, maxG); enemy.lastAttack = time; } break; case "stand" : enemy.body.leftLeg.stop(); enemy.body.rightLeg.stop(); enemy.stop(); break; case "move" : enemy.body.leftLeg.play(); enemy.body.rightLeg.play(); enemy.play(); if (!enemy.moving) { break; } enemy._x = enemy._x + (speedG * enemy.moveX); enemy._y = enemy._y + (speedG * enemy.moveY); } break; case 2 : eX = enemy._x; eY = enemy._y; _local6 = new Array(pX, pY); anglePos = _local6; _local6 = new Array(eX, eY); startPos = _local6; _local4 = -1 * (anglePos[1] - startPos[1]); _local5 = anglePos[0] - startPos[0]; _local2 = Math.atan2(_local4, _local5); angleRad = _local2; _local2 = Math.round((_local2 / Math.PI) * 180); enemy.body._rotation = -1 * (_local2 - 90); enemy.moveX = Math.sin(((_local2 + 90) * Math.PI) / 180); enemy.moveY = Math.cos(((_local2 + 90) * Math.PI) / 180); distance = Math.sqrt(Math.pow(_local4, 2) + Math.pow(_local5, 2)); if (distance < rangeF) { if ((enemy.lastAttack + enemy.attackDelay) < time) { bulX = eX + ((enemy.body._width / 2) * enemy.moveX); bulY = eY + ((enemy.body._width / 2) * enemy.moveY); enemyFire(bulX, bulY, damageF, shotSpeedF, enemy.moveX, enemy.moveY); enemy.attackDelay = randRange(minF, maxF); enemy.lastAttack = time; } if (distance < retreatRangeF) { enemy.currentState = "retreat"; } else { enemy.currentState = "float"; } } else { enemy.currentState = "move"; } eS = speedF; eSsrt = Math.sqrt(eS); switch (enemy.currentState) { case "retreat" : if (!enemy.retreating) { com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.thrusters_mc, "_rotation", [145], 0.5, 0, 0); enemy.moving = false; enemy.floating = false; enemy.retreating = true; } enemy._x = enemy._x - (eSsrt * enemy.moveX); enemy._y = enemy._y - (eSsrt * enemy.moveY); enemy._x = enemy._x - (eSsrt * enemy.moveY); enemy._y = enemy._y + (eSsrt * enemy.moveX); break; case "float" : if (!enemy.floating) { com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.thrusters_mc, "_rotation", [90], 0.5, 0, 0); enemy.moving = false; enemy.floating = true; enemy.retreating = false; } enemy._x = enemy._x - (eS * enemy.moveY); enemy._y = enemy._y + (eS * enemy.moveX); break; case "move" : if (!enemy.moving) { com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.thrusters_mc, "_rotation", [30], 0.5, 0, 0); enemy.moving = true; enemy.floating = false; enemy.retreating = false; } enemy._x = enemy._x + (eSsrt * enemy.moveX); enemy._x = enemy._x - (eSsrt * enemy.moveY); enemy._y = enemy._y + (eSsrt * enemy.moveY); enemy._y = enemy._y + (eSsrt * enemy.moveX); } break; case 3 : eX = enemy._x; eY = enemy._y; _local6 = new Array(pX, pY); anglePos = _local6; _local6 = new Array(eX, eY); startPos = _local6; _local4 = -1 * (anglePos[1] - startPos[1]); _local5 = anglePos[0] - startPos[0]; _local2 = Math.atan2(_local4, _local5); _local2 = Math.round((_local2 / Math.PI) * 180); enemy.body._rotation = -1 * (_local2 - 90); enemy.moveX = Math.sin(((_local2 + 90) * Math.PI) / 180); enemy.moveY = Math.cos(((_local2 + 90) * Math.PI) / 180); if ((!enemy.collide) && ((((eX > 750) || (eX < 50)) || (eY < 50)) || (eY > 550))) { enemy.currentState = "move"; } else { enemy.currentState = "spawn"; } switch (enemy.currentState) { case "spawn" : if ((!enemy.body.hatch_mc.hatchOpen) && ((enemy.lastAttack + enemy.attackDelay) < time)) { if (!enemy.sound) { enemy.sound = true; playSound("hatchOpen", 100); } enemy.body.hatch_mc.play(); } else if ((enemy.lastAttack + enemy.attackDelay) < time) { enemy.sound = false; enemy.body.hatch_mc.play(); enemy.attackDelay = randRange(minC, maxC); enemy.lastAttack = time; spawn(eX, eY, 2); } break; case "move" : enemy._x = enemy._x + (speedC * enemy.moveX); enemy._y = enemy._y + (speedC * enemy.moveY); } break; case 4 : eX = enemy._x; eY = enemy._y; _local6 = new Array(pX, pY); anglePos = _local6; _local6 = new Array(eX, eY); startPos = _local6; _local4 = -1 * (anglePos[1] - startPos[1]); _local5 = anglePos[0] - startPos[0]; _local2 = Math.atan2(_local4, _local5); _local2 = Math.round((_local2 / Math.PI) * 180); enemy.body._rotation = -1 * (_local2 - 90); enemy.moveX = Math.sin(((_local2 + 90) * Math.PI) / 180); enemy.moveY = Math.cos(((_local2 + 90) * Math.PI) / 180); if ((!enemy.collide) && ((((eX > 700) || (eX < 100)) || (eY < 100)) || (eY > 500))) { enemy.currentState = "move"; } else { enemy.currentState = "shield"; } switch (enemy.currentState) { case "shield" : if (!enemy.shielding) { size = enemy.body.collision._size; com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.body.collision, "_size", [size * 8], 0.5, 0, 0); enemy.shielding = 1; } break; case "move" : enemy._x = enemy._x + (speedS * enemy.moveX); enemy._y = enemy._y + (speedS * enemy.moveY); } } } _local3++; } } function resetAttack(object) { clearInterval(object.resetAttackInterval); object.canAttack = true; } function enemyFire(eX, eY, damage, speed, moveX, moveY) { _root.attachMovie("enemybullet", "bullet" + _root.bulletCount, _root.getNextHighestDepth(), {_x:eX, _y:eY, cacheAsBitmap:true, type:"normalE", speed:_root.enemyBulletSpeed, damage:damage}); _root["bullet" + _root.bulletCount].moveX = moveX; _root["bullet" + _root.bulletCount].moveY = moveY; _root.bullets.push("bullet" + _root.bulletCount); _root.bulletCount++; } function spawn(eX, eY, type) { health = _root.enemyTypes[type][1]; enemyType = _root.enemyTypes[type][0]; _root.attachMovie(enemyType, ("enemy_" + _root.enemies) + "_mc", _root.getNextHighestDepth(), {_x:eX, _y:eY, cacheAsBitmap:true, health:health, type:type, stunned:false, canAttack:true, lastAttack:getTimer(), attackDelay:0, sound:false}); enemy = _root[("enemy_" + _root.enemies) + "_mc"]; com.mosesSupposes.fuse.ZigoEngine.doTween(enemy.healthbar_mc, "_alpha", [40], 0, 0, 0); _root.enemyOnScreen.push(("enemy_" + _root.enemies) + "_mc"); _root.enemies++; } function updateBullets() { player = _root.player_mc; pW = player.curWidth; pX = player._x; pY = player._y; var _local4 = 0; while (_local4 < _root.bullets.length) { bullet = _root[_root.bullets[_local4]]; beginX = bullet._x; beginY = bullet._y; if ((((beginX > 850) || (beginX < -50)) || (beginY < -50)) || (beginY > 650)) { _root.bullets.splice(_local4, 1); bullet.removeMovieClip(); } switch (bullet.type) { case "normalP" : var _local3 = 0; while (_local3 < bullet.speed) { tempX = beginX + (_local3 * bullet.moveX); tempY = beginY + (_local3 * bullet.moveY); range = randRange(1, 2); var _local2 = 0; while (_local2 < _root.enemyOnScreen.length) { enemy = _root[_root.enemyOnScreen[_local2]]; eW = enemy.body.collision._width / 5; eX = enemy._x; eY = enemy._y; xSide = eX - tempX; ySide = eY - tempY; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < eW) { damageEnemy(enemy, bullet.damage, _local2); _root.bullets.splice(_local4, 1); bullet.removeMovieClip(); } _local2 = _local2 + range; } bullet._x = tempX; bullet._y = tempY; _local3 = _local3 + 4; } break; case "EMP" : bullet._x = beginX + (bullet.speed * bullet.moveX); bullet._y = beginY + (bullet.speed * bullet.moveY); xSide = beginX - bullet._x; ySide = beginY - bullet._y; travel = Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)); bullet.dis = bullet.dis - travel; if (bullet.dis < 0) { EMPBlast(bullet._x, bullet._y); _root.bullets.splice(_local4, 1); bullet.removeMovieClip(); } break; case "normalE" : _local3 = 0; for(;;){ if (_local3 >= bullet.speed) { break; } tempX = beginX + (_local3 * bullet.moveX); tempY = beginY + (_local3 * bullet.moveY); xSide = pX - tempX; ySide = pY - tempY; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < pW) { damagePlayer(bullet.damage); _root.bullets.splice(_local4, 1); bullet.removeMovieClip(); } bullet._x = tempX; bullet._y = tempY; _local3 = _local3 + 5; }; } _local4++; } } function randRange(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } function randRangeFloat(min, max) { var _local1 = (Math.random() * ((max - min) + 1)) + min; return(_local1); } function clearGame() { clearInterval(_root.heatInterval); clearInterval(_root.plasmaInterval); clearInterval(_root.clearTurret); clearInterval(_root.shieldInterval); clearInterval(_root.spotlight1Interval); clearInterval(_root.spotlight2Interval); clearInterval(_root.bombingInterval); clearInterval(_root.deleteCraterInterval); clearInterval(_root.fireInterval); clearInterval(_root.overheatInterval); clearInterval(_root.timeInterval); _root.intervalsSet = false; Mouse.removeListener(mouseListener); Key.removeListener(keyListener); for (all in _root) { _root[all].removeMovieClip(); } for (all in _root.ground_mc) { _root.ground_mc[all].removeMovieClip(); } _global.endTime = getTimer(); } function moveSpotlight(spotlight) { sX = randRange(0, 800); sY = randRange(0, 600); com.mosesSupposes.fuse.ZigoEngine.doTween(spotlight, "_x, _y", [sX, sY], 10, "linear", 0); } function bombingRun() { _root.lastBombing = getTimer(); playSound("airplane", 120); time = randRange(4, 6); i = 0; while (i < _root.bombingAreas) { pX = _root.player_mc._x; pY = _root.player_mc._y; uXB = pX + 125; lXB = pX - 125; uYB = pY + 125; lYB = pY - 125; sX = randRange(lXB, uXB); sY = randRange(lYB, uYB); _root.attachMovie("targeter", "targeter" + i, _root.getNextHighestDepth(), {_x:sX, _y:sY, cacheAsBitmap:true, _alpha:20}); _root.attachMovie("bomb", "bomb" + i, _root.getNextHighestDepth(), {_x:sX, _y:sY, cacheAsBitmap:true, _alpha:0}); if (i == 0) { com.mosesSupposes.fuse.ZigoEngine.doTween(_root["targeter" + i], "_alpha", [100], time, 0, 0, bombExplode); } else { com.mosesSupposes.fuse.ZigoEngine.doTween(_root["targeter" + i], "_alpha", [100], time, 0, 0); } com.mosesSupposes.fuse.ZigoEngine.doTween(_root["bomb" + i], "_scale, _alpha", [10, 100], time, "linear", 0); i++; } } function bombExplode() { if (_root.goingToScreen) { return(undefined); } playSound("explosionsAirplane", 150); i = 0; while (i < _root.bombingAreas) { sX = _root["targeter" + i]._x; sY = _root["targeter" + i]._y; pX = _root.player_mc._x; pY = _root.player_mc._y; pW = _root.player_mc.curWidth; sW = _root["targeter" + i]._width / 2; xSide = sX - pX; ySide = sY - pY; if (Math.sqrt(Math.pow(xSide, 2) + Math.pow(ySide, 2)) < (sW + pW)) { damagePlayer(_root.bombDamage); } _root["targeter" + i].removeMovieClip(); _root["bomb" + i].removeMovieClip(); time = randRange(9000, 14000); _root.ground_mc.attachMovie("crater3", "crater" + _root.craterNum, _root.ground_mc.getNextHighestDepth(), {_x:sX, _y:sY}); _root.attachMovie("enemyExplosion", "explosion" + _root.explosionNum, _root.getNextHighestDepth(), {_x:sX, _y:sY, _xscale:40, _yscale:40}); explosion = _root["explosion" + _root.explosionNum]; com.mosesSupposes.fuse.ZigoEngine.setColorByKey(explosion, "tint", 35, 16737792); _root.explosionNum++; explosion.deleteInterval = setInterval(_root.actions_mc, "deleteCrater", 200, explosion); newCrater = _root.ground_mc["crater" + _root.craterNum]; newCrater.deleteInterval = setInterval(_root.actions_mc, "deleteCrater", time, newCrater); _root.craterNum++; i++; } } function deleteCrater(crater) { clearInterval(crater.deleteInterval); crater.removeMovieClip(); } function prepGame() { com.mosesSupposes.fuse.ZigoEngine.doTween(_root.instructions1, "_alpha, _x, _y", [0, 1000, 300], 1, 0, 0, startGame); } function startGame() { _root.attachMovie("spotlight", "spotlight1", 180, {_x:200, _y:600, _alpha:20, cacheAsBitmap:true}); _root.attachMovie("spotlight", "spotlight2", 181, {_x:400, _y:200, _alpha:20, cacheAsBitmap:true}); moveSpotlight(_root.spotlight1); moveSpotlight(_root.spotlight2); _global.strGameState = "begin"; } function playSound(soundFile, soundVolume) { if (!_root.soundOn) { return(undefined); } sound = new Sound(); sound.attachSound(soundFile); sound.start(); } function deleteObject(object) { object.removeMovieClip(); } function phaseShift() { newAlpha = randRange(0, 80); time = randRangeFloat(0.5, 1); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.redShift_mc, "_alpha", [newAlpha], time, 0, 0, phaseShift); } function beginClear() { _root.roundTimer.roundTime_txt.text = ""; clearInterval(_root.timeInterval); Mouse.removeListener(mouseListener); clearInterval(_root.fireInterval); trace("Begin Clear"); _root.playerPoints = _root.playerPoints + (_root.cores * _root.scoreMultiplier); _root.playerPoints = Math.ceil(_root.playerPoints); _root.kongregateScores.setMode(_root.hardnessLevel); _root.kongregateScores.submit(_root.playerPoints); _root.kongregateStats.submit("points", _root.playerPoints); _root.kongregateStats.submit("enemieskilled", _root.enemiesKilled); if (_root.gameRound >= 10) { _root.kongregateStats.submit("10waves", 1); } if (_root.gameRound >= 20) { _root.kongregateStats.submit("20waves", 1); } if (_root.gameRound >= 30) { _root.kongregateStats.submit("30waves", 1); } if (_root.gameRound >= 40) { _root.kongregateStats.submit("40waves", 1); } } clearInterval(_root.fireInterval); _root.craterNum = 0; _root.explosionNum = 0; _root.debrisNum = 0; updateGui(); _root.lastStunAttack = getTimer() - _root.EMPTime; _root.enemiesKilled = 0; _root.pauseTime = 0; _root.createEmptyMovieClip("redShift_mc", 220); _root.createEmptyMovieClip("debris_mc", 219); _root.redShift_mc.beginFill(16711680, 10); _root.redShift_mc.lineStyle(0, 16711935, 0); _root.redShift_mc.moveTo(-10, -10); _root.redShift_mc.lineTo(810, -10); _root.redShift_mc.lineTo(810, 610); _root.redShift_mc.lineTo(-10, 610); _root.redShift_mc.endFill(); _root.debris_mc.beginFill(0, 0); _root.debris_mc.lineStyle(1, 16711935, 0); _root.debris_mc.moveTo(0, 0); _root.debris_mc.lineTo(800, 0); _root.debris_mc.lineTo(800, 600); _root.debris_mc.lineTo(0, 600); _root.debris_mc.endFill(); com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing, com.mosesSupposes.fuse.Fuse); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.redShift_mc, "_alpha", [30], 0.5, 0, 0, phaseShift); healthW = (150 * _root.playerHealth) / 100; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.healthBar_mc.healthLeft_mc, "_width", [healthW], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.healthBar_mc, "_alpha", [30], 1, 0, 0); com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.plasmaBar_mc, "_alpha", [30], 0.5, 0, 0); if (_root.firstPlay) { _root.instructions1._alpha = 0; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.instructions1, "_alpha, _x, _y", [100, 400, 300], 1, 0, 0); } else { startGame(); } _root.heatInterval = setInterval(this, "heatDis", _root.heatDisTime); _root.plasmaInterval = setInterval(this, "plasmaRegen", _root.plasmaRegenTime); if (_root.shields > 0) { _root.shieldInterval = setInterval(_root.actions_mc, "shieldRegen", _root.shieldRegenTime); _root.player_mc.curWidth = _root.player_mc.shield_mc._width / 4; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.shield_mc, "_alpha", [10], 1, 0, 0); } else { _root.player_mc.curWidth = _root.player_mc.collision._width / 3; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.player_mc.shield_mc, "_alpha", [0], 0, 0, 0); } if (_root.EMPReady) { _root.player_mc.EMPIcon._alpha = 50; } else { _root.player_mc.EMPIcon._alpha = 0; } if (_root.turretReady) { _root.player_mc.turretIcon._alpha = 50; } else { _root.player_mc.turretIcon._alpha = 0; } _root.player_mc.pH = _root.player_mc._height / 2; _root.hardness = 1; _root.enemySpawnTime = 9000; _root.damageDelay = 1000; _root.player_mc.speed = _root.playerspeed; _root.player_mc.health = _root.playerHealth; _root.player_mc.moveLeft = false; _root.player_mc.moveRight = false; _root.player_mc.moveUp = false; _root.player_mc.moveDown = false; var enemyOnScreen = new Array(); var bullets = new Array(); _root.bullets = bullets; _root.enemyAvailable = new Array(); _root.enemies = 0; _root.spawnDelay = 3000; _root.enemyOnScreen = enemyOnScreen; _root.lastEnemy = getTimer() - _root.enemySpawnTime; _root.bulletCount = 0; _root.shotDelay = _root.fireSpeed; _root.enemiesKilled = 0; _root.lastShot = getTimer() - _root.shotDelay; var keyListener = new Object(); Key.addListener(keyListener); keyListener.onKeyDown = function () { switch (Key.getCode()) { case 37 : case 65 : _root.player_mc.moveLeft = true; break; case 38 : case 87 : _root.player_mc.moveUp = true; break; case 39 : case 68 : _root.player_mc.moveRight = true; break; case 40 : case 83 : _root.player_mc.moveDown = true; break; case 81 : placeTurret(); break; case 69 : _root.fireEMP = true; fire(); break; case 32 : _root.player_mc.moveLeft = false; _root.player_mc.moveUp = false; _root.player_mc.moveRight = false; _root.player_mc.moveDown = false; break; case 80 : } }; } onClipEvent (enterFrame) { function goTo() { clearGame(); if (_root.musicOn) { _global.gameMusic.stop(); _global.menuMusic.start(0, 1); } switch (_global.strGameState) { case "upgrade" : _root.local_data.data.track_version = _root.TrackVersion; _root.local_data.data.converter_version = _root.ConverterVersion; _root.local_data.data.inhibitor_version = _root.InhibitorVersion; _root.local_data.data.reactor_version = _root.ReactorVersion; _root.local_data.data.shield_version = _root.ShieldsVersion; _root.local_data.data.armor_version = _root.ArmorVersion; _root.local_data.data.EMP_version = _root.EMPVersion; _root.local_data.data.turret_version = _root.TurretVersion; _root.local_data.data.currentHealth = _root.playerHealth; _root.local_data.data.currentCores = _root.cores; _root.local_data.data.currentPoints = _root.playerPoints; _root.local_data.data.currentGame = true; _root.local_data.data.currentWave = _root.gameRound; _root.local_data.data.currentDiff = _root.hardnessLevel; _root.local_data.data.currentEncryption = (_root.playerPoints * 15) / 3; trace(_root.local_data.data.currentEncryption); screen = "upgrade"; break; case "lose" : _root.local_data.data.currentPoints = Math.ceil(_root.local_data.data.currentPoints / 1.5); _root.local_data.data.currentEncryption = (_root.local_data.data.currentPoints * 15) / 3; screen = "loseScreen"; } } switch (_global.strGameState) { case "begin" : _root.startTime = getTimer(); _global.intStartTime = getTimer(); _global.strGameState = "game"; _root.spawnWave = 3; case "game" : if (_root.intervalsSet) { if ((!Key.isDown(37)) && (!Key.isDown(65))) { _root.player_mc.moveLeft = false; } if ((!Key.isDown(38)) && (!Key.isDown(87))) { _root.player_mc.moveUp = false; } if ((!Key.isDown(39)) && (!Key.isDown(68))) { _root.player_mc.moveRight = false; } if ((!Key.isDown(40)) && (!Key.isDown(83))) { _root.player_mc.moveDown = false; } spawnEnemies(); updateEnemies(); updateBullets(); playerMovement(_root.player_mc); setPlayerRotation(); } else { _root.gamePaused = false; var mouseListener = new Object(); Mouse.addListener(mouseListener); mouseListener.onMouseDown = function () { clearInterval(_root.fireInterval); fire(); _root.fireInterval = setInterval(_root.actions_mc, "fire", _root.shotDelay); }; mouseListener.onMouseUp = function () { clearInterval(_root.fireInterval); }; _root.timeInterval = setInterval(this, "updateTime", 1000); _root.guiInterval = setInterval(this, "updateGui", 200); _root.intervalsSet = true; _root.spotlight1Interval = setInterval(this, "moveSpotlight", 3222, _root.spotlight1); _root.spotlight2Interval = setInterval(this, "moveSpotlight", 4729, _root.spotlight2); _root.bombingInterval = setInterval(this, "bombingRun", _root.bombingTime); _root.deleteCraterInterval = setInterval(this, "deleteCraters", 2000); } break; case "end" : clearGame(); _root.gotoAndPlay("end"); break; case "upgrade" : if (!_root.goingToScreen) { beginClear(); _root.goingToScreen = true; _root.playerHealth = _root.player_mc.health; _root.attachMovie("roundOver", "roundOver", _root.getNextHighestDepth(), {_x:400, _y:300, _alpha:100}); _root.roundOver.round_txt.text = ("Wave " + _root.gameRound) + " annihilated."; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.roundOver, "_alpha", [50], 1, "linear", 2, goTo); } break; case "lose" : if (_root.goingToScreen) { break; } beginClear(); _root.goingToScreen = true; _root.attachMovie("roundOver", "roundOver", _root.getNextHighestDepth(), {_x:400, _y:300, _alpha:100}); _root.roundOver.round_txt.text = "KX-3700 threat eliminated."; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.roundOver, "_alpha", [50], 1, "linear", 2, goTo); } local_data.flush(); _root.gotoAndPlay(screen); }
Frame 675
function changeChoice(choice) { _root[_root.currentChoice].gotoAndStop("up"); _root.currentChoice = choice; infoText.info_txt.text = _root[_root.currentChoice + "Text"]; infoText.cost_txt.text = "Cost: " + _root[_root.currentChoice + "Costs"][_root[_root.currentChoice + "Version"]]; updateInfo(); } function updateInfo() { updateValues(); switch (_root.currentChoice) { case "Track" : infoText.change1Name.text = "Speed"; infoText.change2Name.text = "Stun Time"; infoText.change3Name.text = "---"; infoText.change1CurVal.text = _root.playerspeed; infoText.change2CurVal.text = _root.playerStun / 1000; infoText.change3CurVal.text = "---"; infoText.change1NewVal.text = _root.playerspeed + _root.speedMultiplier; infoText.change2NewVal.text = (_root.playerStun - _root.playerStunMultiplier) / 1000; infoText.change3NewVal.text = "---"; if (_root.TrackVersion >= 9) { infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } break; case "Converter" : infoText.change1Name.text = "Damage"; infoText.change2Name.text = "Heat Gen"; infoText.change3Name.text = "Plasma Use"; infoText.change1CurVal.text = _root.playerDamage; infoText.change2CurVal.text = _root.heatUse; infoText.change3CurVal.text = _root.plasmaUse; infoText.change1NewVal.text = _root.playerDamage + _root.damageMultiplier; infoText.change2NewVal.text = _root.heatUse + _root.heatMultiplier; infoText.change3NewVal.text = _root.plasmaUse + _root.plasmaUseMultiplier; if (_root.ConverterVersion >= 9) { infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } break; case "Inhibitor" : infoText.change1Name.text = "Heat Dis"; infoText.change2Name.text = "Overheat Time"; infoText.change3Name.text = "---"; infoText.change1CurVal.text = _root.heatDis; infoText.change2CurVal.text = _root.overheatTime / 1000; infoText.change3CurVal.text = "---"; infoText.change1NewVal.text = _root.heatDis + _root.heatDisMultiplier; infoText.change2NewVal.text = (_root.overheatTime - _root.overheatMultiplier) / 1000; infoText.change3NewVal.text = "---"; if (_root.InhibitorVersion >= 9) { infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } break; case "Reactor" : infoText.change1Name.text = "Plasma Gen"; infoText.change2Name.text = "Fire Speed"; infoText.change3Name.text = "---"; infoText.change1CurVal.text = _root.plasmaRegen; infoText.change2CurVal.text = _root.fireSpeed / 1000; infoText.change3CurVal.text = "---"; infoText.change1NewVal.text = _root.plasmaRegen + _root.plasmaRegenMultiplier; infoText.change2NewVal.text = (_root.fireSpeed - _root.fireSpeedMultiplier) / 1000; infoText.change3NewVal.text = "---"; if (_root.ReactorVersion >= 9) { infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } break; case "Armor" : infoText.change1Name.text = "Damage Reduction"; infoText.change2Name.text = "---"; infoText.change3Name.text = "---"; infoText.change1CurVal.text = _root.armor + "%"; infoText.change2CurVal.text = "---"; infoText.change3CurVal.text = "---"; infoText.change1NewVal.text = (_root.armor + _root.armorMultiplier) + "%"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; if (_root.ArmorVersion >= 9) { infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } break; case "Shields" : infoText.change1Name.text = "Shields"; infoText.change2Name.text = "Offline Time"; infoText.change3Name.text = "Regen Rate"; infoText.change1CurVal.text = _root.shields; infoText.change2CurVal.text = _root.shieldOfflineTime / 1000; infoText.change3CurVal.text = _root.shieldRegen; if (_root.ShieldsVersion == 0) { infoText.change2NewVal.text = 5; infoText.change1NewVal.text = _root.shields + 25; infoText.change3NewVal.text = 5; } else { infoText.change3NewVal.text = _root.shieldRegen + _root.shieldRegenMultiplier; infoText.change2NewVal.text = (_root.shieldOfflineTime - _root.shieldOfflineMultiplier) / 1000; infoText.change1NewVal.text = _root.shields + _root.shieldMultiplier; } if (_root.ShieldsVersion >= 9) { infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } break; case "EMP" : infoText.change1Name.text = "Stun Time"; infoText.change2Name.text = "Recharge Time"; infoText.change3Name.text = "---"; infoText.change1CurVal.text = _root.EMPTime / 1000; infoText.change2CurVal.text = _root.EMPResetTime / 1000; infoText.change3CurVal.text = "---"; if (_root.EMPVersion == 0) { infoText.change1NewVal.text = 3; infoText.change2NewVal.text = 10; } else { infoText.change1NewVal.text = (_root.EMPTime + _root.EMPMultiplier) / 1000; infoText.change2NewVal.text = (_root.EMPResetTime - _root.EMPRechargeMultiplier) / 1000; } infoText.change3NewVal.text = "---"; if (_root.EMPVersion >= 9) { infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } break; case "Turret" : infoText.change1Name.text = "Damage"; infoText.change2Name.text = "Lifetime"; infoText.change3Name.text = "Recharge"; if (_root.TurretVersion == 0) { infoText.change1NewVal.text = 20; infoText.change2NewVal.text = 15; infoText.change3NewVal.text = 35; infoText.change1CurVal.text = 0; infoText.change2CurVal.text = 0; infoText.change3CurVal.text = 0; } else { infoText.change1CurVal.text = _root.turretDamage; infoText.change2CurVal.text = _root.turretLife / 1000; infoText.change3CurVal.text = _root.turretDelay / 1000; infoText.change1NewVal.text = _root.turretDamage + _root.turretDamageMultiplier; infoText.change2NewVal.text = (_root.turretLife + _root.turretLifeMultiplier) / 1000; infoText.change3NewVal.text = (_root.turretDelay - _root.turretDelayMultiplier) / 1000; } if (_root.TurretVersion < 9) { break; } infoText.change1NewVal.text = "---"; infoText.change2NewVal.text = "---"; infoText.change3NewVal.text = "---"; } infoText.version_txt.text = "Version Info: " + _root.currentChoice; infoText.info_txt.text = _root[_root.currentChoice + "Text"]; infoText.cost_txt.text = "Cost: " + _root[_root.currentChoice + "Costs"][_root[_root.currentChoice + "Version"]]; infoText.cores_txt.text = "Cores: " + _root.cores; } function upgradeChoice() { if (_root[_root.currentChoice + "Version"] < _root.maxVersion) { _root[_root.currentChoice + "Version"]++; } updateVersions(); updateInfo(); } function purchase() { cost = _root[_root.currentChoice + "Costs"][_root[_root.currentChoice + "Version"]]; if ((_root.cores >= cost) && (cost > 0)) { _root.cores = _root.cores - cost; upgradeChoice(); } } function updateVersions() { _root.kongregateStats.submit("HighScore", 398); _root.kongregateStats.submit("LapTime", 60); infoText.track_txt.text = "Version " + _root.TrackVersion; infoText.converter_txt.text = "Version " + _root.ConverterVersion; infoText.reactor_txt.text = "Version " + _root.ReactorVersion; infoText.inhibitor_txt.text = "Version " + _root.InhibitorVersion; infoText.armor_txt.text = "Version " + _root.ArmorVersion; infoText.shields_txt.text = "Version " + _root.ShieldsVersion; infoText.EMP_txt.text = "Version " + _root.EMPVersion; infoText.turret_txt.text = "Version " + _root.TurretVersion; _root.tier2parts = 0; _root.tier3parts = 0; _root.track_mc.track_mc.removeMovieClip(); _root.player_mc.reactor_mc.reactor.removeMovieClip(); _root.player_mc.emp_mc.emp.removeMovieClip(); _root.player_mc.gun_mc.gun_mc.removeMovieClip(); _root.player_mc.armor_mc.armor.removeMovieClip(); switch (_root.TrackVersion) { case 4 : case 3 : case 2 : case 1 : _root.track_mc.attachMovie("track1", "track_mc", _root.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.track_mc.attachMovie("track2", "track_mc", _root.getNextHighestDepth()); _root.tier2parts++; break; case 9 : _root.track_mc.attachMovie("track3", "track_mc", _root.getNextHighestDepth()); _root.tier3parts++; } switch (_root.ConverterVersion) { case 4 : case 3 : case 2 : case 1 : break; case 8 : case 7 : case 6 : case 5 : _root.tier2parts++; break; case 9 : _root.tier3parts++; } switch (_root.ShieldsVersion) { case 4 : case 3 : case 2 : case 1 : break; case 8 : case 7 : case 6 : case 5 : _root.tier2parts++; break; case 9 : _root.tier3parts++; } switch (_root.ReactorVersion) { case 4 : case 3 : case 2 : case 1 : _root.player_mc.reactor_mc.attachMovie("reactor1", "reactor", _root.player_mc.body_mc.reactor_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.reactor_mc.attachMovie("reactor2", "reactor", _root.player_mc.body_mc.reactor_mc.getNextHighestDepth()); _root.tier2parts++; break; case 9 : _root.player_mc.reactor_mc.attachMovie("reactor3", "reactor", _root.player_mc.body_mc.reactor_mc.getNextHighestDepth()); _root.tier3parts++; } switch (_root.EMPVersion) { case 4 : case 3 : case 2 : case 1 : case 0 : _root.player_mc.emp_mc.attachMovie("emp1", "emp", _root.player_mc.body_mc.emp_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.emp_mc.attachMovie("emp2", "emp", _root.player_mc.body_mc.emp_mc.getNextHighestDepth()); _root.tier2parts++; break; case 9 : _root.player_mc.emp_mc.attachMovie("emp3", "emp", _root.player_mc.body_mc.emp_mc.getNextHighestDepth()); _root.tier3parts++; } switch (_root.InhibitorVersion) { case 4 : case 3 : case 2 : case 1 : _root.player_mc.gun_mc.attachMovie("gun1", "gun", _root.player_mc.body_mc.gun_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.gun_mc.attachMovie("gun2", "gun", _root.player_mc.body_mc.gun_mc.getNextHighestDepth()); _root.tier2parts++; break; case 9 : _root.player_mc.gun_mc.attachMovie("gun3", "gun", _root.player_mc.body_mc.gun_mc.getNextHighestDepth()); _root.tier3parts++; } switch (_root.ArmorVersion) { case 4 : case 3 : case 2 : case 1 : _root.player_mc.armor_mc.attachMovie("armor1", "armor", _root.player_mc.body_mc.armor_mc.getNextHighestDepth()); break; case 8 : case 7 : case 6 : case 5 : _root.player_mc.armor_mc.attachMovie("armor2", "armor", _root.player_mc.body_mc.armor_mc.getNextHighestDepth()); _root.tier2parts++; break; case 9 : _root.player_mc.armor_mc.attachMovie("armor3", "armor", _root.player_mc.body_mc.armor_mc.getNextHighestDepth()); _root.tier3parts++; } switch (_root.TurretVersion) { case 4 : case 3 : case 2 : case 1 : _root.turretName = "turret1"; _root.turretShotName = "shot1"; break; case 8 : case 7 : case 6 : case 5 : _root.turretName = "turret2"; _root.turretShotName = "shot2"; _root.tier2parts++; break; case 9 : _root.turretName = "turret3"; _root.turretShotName = "shot3"; _root.tier3parts++; } trace("Tier 2: " + (_root.tier2parts + _root.tier3parts)); trace("Tier 3: " + _root.tier3parts); _root.kongregateStats.submit("tier2", _root.tier2parts + _root.tier3parts); _root.kongregateStats.submit("tier3", _root.tier3parts); } function repairPlayer(amount) { canHeal = Math.floor(_root.cores / _root.pointCost); if ((_root.repairCost <= 0) || (canHeal <= 0)) { return(undefined); } damage = 100 - _root.playerHealth; if (damage > amount) { heal = amount; } else { heal = damage; } if (heal > canHeal) { heal = canHeal; } _root.cores = _root.cores - (_root.pointCost * heal); _root.playerHealth = _root.playerHealth + heal; healthW = (150 * _root.playerHealth) / 100; com.mosesSupposes.fuse.ZigoEngine.doTween(playerHealth_mc.healthLeft_mc, "_width", [healthW], 1, 0, 0); infoText.cores_txt.text = "Cores: " + _root.cores; damage = 100 - _root.playerHealth; _root.repairCost = damage * _root.pointCost; if (damage > 10) { _root.repairCost10 = 10 * _root.pointCost; } else { _root.repairCost10 = damage * _root.pointCost; } infoText.repaircost_txt.text = _root.repairCost; infoText.repair10cost_txt.text = _root.repairCost10; } function updateValues() { _root.playerspeed = 2 + (_root.speedMultiplier * _root.TrackVersion); _root.playerStun = 2250 - (_root.playerStunMultiplier * _root.TrackVersion); _root.overheatTime = 3000 - (_root.overheatMultiplier * _root.InhibitorVersion); _root.bulletSpeed = 30; _root.enemyBulletSpeed = 15; _root.playerDamage = 20 + (_root.damageMultiplier * _root.ConverterVersion); _root.heatUse = 0.5 + (_root.heatMultiplier * _root.ConverterVersion); _root.plasmaUse = 0.5 + (_root.plasmaUseMultiplier * _root.ConverterVersion); _root.plasmaTotal = 100; _root.plasmaLeft = 100; _root.gunHeat = 0; _root.heatDisTime = 1000; _root.plasmaRegenTime = 1000; _root.heatDis = 0.7 + (_root.heatDisMultiplier * _root.InhibitorVersion); _root.plasmaRegen = 0.7 + (_root.plasmaRegenMultiplier * _root.ReactorVersion); _root.fireSpeed = 350 - (_root.fireSpeedMultiplier * _root.ReactorVersion); _root.armor = _root.ArmorVersion * _root.armorMultiplier; _root.shieldRegenTime = 1000; if (_root.ShieldsVersion > 0) { _root.shieldRegen = 4 + (_root.ShieldsVersion * _root.shieldRegenMultiplier); _root.shieldsMax = 0 + (_root.ShieldsVersion * _root.shieldMultiplier); _root.shieldOfflineTime = 5000 - (_root.shieldOfflineMultiplier * _root.ShieldsVersion); _root.shields = _root.shieldsMax; } else { _root.shieldRegen = 0; _root.shields = 0; _root.shieldOfflineTime = 0; } if (_root.EMPVersion > 0) { _root.EMPReady = true; _root.EMPTime = 3000 + (_root.EMPMultiplier * (_root.EMPVersion - 1)); _root.EMPResetTime = 10000 - (_root.EMPRechargeMultiplier * (_root.EMPVersion - 1)); } else { _root.EMPTime = 0; _root.EMPResetTime = 0; _root.EMPReady = false; } if (_root.TurretVersion > 0) { _root.turretDamage = 20 + (_root.turretDamageMultiplier * (_root.TurretVersion - 1)); _root.turretDelay = 35000 - (_root.turretDelayMultiplier * (_root.TurretVersion - 1)); _root.lastTurret = getTimer() - _root.turretDelay; _root.turretLife = 15000 + (_root.turretLifeMultiplier * (_root.TurretVersion - 1)); _root.turretReady = true; } else { _root.turretReady = false; } } function toggleMusic() { if (_root.musicOn) { _global.menuMusic.start(0, 1); } else { _global.menuMusic.stop(); } } function buttonSound() { if (_root.soundOn) { _global.buttonSound.start(); } } com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing, com.mosesSupposes.fuse.Fuse); stop(); _root.pointCost = Math.floor(5 * Math.sqrt(_root.gameRound)); _root.pointCost = _root.pointCost * _root.enemyStats; damage = 100 - _root.playerHealth; _root.repairCost = damage * _root.pointCost; if (damage > 10) { _root.repairCost10 = 10 * _root.pointCost; } else { _root.repairCost10 = damage * _root.pointCost; } help._alpha = 0; if (_root.firstPlay) { _root.firstPlay = false; com.mosesSupposes.fuse.ZigoEngine.doTween(_root.help, "_alpha", [100, 400, 300], 1, 0, 0); } _root.gameRound++; _global.strGameState = "start"; trace(_root.playerHealth); healthW = (150 * _root.playerHealth) / 100; com.mosesSupposes.fuse.ZigoEngine.doTween(playerHealth_mc.healthLeft_mc, "_width", [healthW], 1, 0, 0); infoText.repaircost_txt.text = _root.repairCost; infoText.repair10cost_txt.text = _root.repairCost10; updateVersions(); changeChoice("Track"); Track.gotoAndStop("down"); upgrade_btn.onRelease = function () { purchase(); this.gotoAndStop("over"); }; upgrade_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; upgrade_btn.onRollOver = function () { this.gotoAndStop("over"); }; upgrade_btn.onRollOut = function () { this.gotoAndStop("up"); }; upgrade_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; ready_btn.onRelease = function () { if (_root.musicOn) { _global.menuMusic.stop(); _global.gameMusic.start(0, 1); } _root.gotoAndPlay("game"); this.gotoAndStop("over"); }; ready_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; ready_btn.onRollOver = function () { this.gotoAndStop("over"); }; ready_btn.onRollOut = function () { this.gotoAndStop("up"); }; ready_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; repair_btn.onRelease = function () { repairPlayer(100); this.gotoAndStop("over"); }; repair_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; repair_btn.onRollOver = function () { this.gotoAndStop("over"); }; repair_btn.onRollOut = function () { this.gotoAndStop("up"); }; repair_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; repair10_btn.onRelease = function () { repairPlayer(10); this.gotoAndStop("over"); }; repair10_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; repair10_btn.onRollOver = function () { this.gotoAndStop("over"); }; repair10_btn.onRollOut = function () { this.gotoAndStop("up"); }; repair10_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; Track.onPress = function () { buttonSound(); changeChoice("Track"); this.gotoAndStop("down"); }; Converter.onPress = function () { buttonSound(); changeChoice("Converter"); this.gotoAndStop("down"); }; Inhibitor.onPress = function () { buttonSound(); changeChoice("Inhibitor"); this.gotoAndStop("down"); }; Reactor.onPress = function () { buttonSound(); changeChoice("Reactor"); this.gotoAndStop("down"); }; Armor.onPress = function () { buttonSound(); changeChoice("Armor"); this.gotoAndStop("down"); }; Shields.onPress = function () { buttonSound(); changeChoice("Shields"); this.gotoAndStop("down"); }; EMP.onPress = function () { buttonSound(); changeChoice("EMP"); this.gotoAndStop("down"); }; Turret.onPress = function () { buttonSound(); changeChoice("Turret"); this.gotoAndStop("down"); }; if (_root.musicOn) { music_on.gotoAndStop("down"); music_off.gotoAndStop("up"); } else { music_on.gotoAndStop("up"); music_off.gotoAndStop("down"); } if (_root.soundOn) { sound_on.gotoAndStop("down"); sound_off.gotoAndStop("up"); } else { sound_on.gotoAndStop("up"); sound_off.gotoAndStop("down"); } sound_on.onRelease = function () { _root.soundOn = true; sound_off.gotoAndStop("up"); }; sound_on.onReleaseOutside = function () { this.gotoAndStop("up"); }; sound_on.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; sound_off.onRelease = function () { _root.soundOn = false; sound_on.gotoAndStop("up"); }; sound_off.onReleaseOutside = function () { this.gotoAndStop("up"); }; sound_off.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; music_on.onRelease = function () { if (!_root.musicOn) { _root.musicOn = true; toggleMusic(); } music_off.gotoAndStop("up"); }; music_on.onReleaseOutside = function () { this.gotoAndStop("up"); }; music_on.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; music_off.onRelease = function () { if (_root.musicOn) { _root.musicOn = false; toggleMusic(); } music_on.gotoAndStop("up"); }; music_off.onReleaseOutside = function () { this.gotoAndStop("up"); }; music_off.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; moregames_btn.onRelease = function () { getURL ("http://www.legitgames.com/", "_blank"); }; moregames_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; moregames_btn.onRollOver = function () { this.gotoAndStop("over"); }; moregames_btn.onRollOut = function () { this.gotoAndStop("up"); }; moregames_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; exit_btn.onRelease = function () { _root.local_data.data.track_version = _root.TrackVersion; _root.local_data.data.converter_version = _root.ConverterVersion; _root.local_data.data.inhibitor_version = _root.InhibitorVersion; _root.local_data.data.reactor_version = _root.ReactorVersion; _root.local_data.data.shield_version = _root.ShieldsVersion; _root.local_data.data.armor_version = _root.ArmorVersion; _root.local_data.data.EMP_version = _root.EMPVersion; _root.local_data.data.turret_version = _root.TurretVersion; _root.local_data.data.currentHealth = _root.playerHealth; _root.local_data.data.currentCores = _root.cores; _root.local_data.data.currentPoints = _root.playerPoints; _root.local_data.data.currentGame = true; _root.local_data.data.currentWave = _root.gameRound - 1; _root.local_data.data.currentDiff = _root.hardnessLevel; _root.local_data.data.currentEncryption = (_root.playerPoints * 15) / 3; trace(_root.local_data.data.currentEncryption); local_data.flush(); _root.gotoAndPlay("mainmenu"); }; exit_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; exit_btn.onRollOver = function () { this.gotoAndStop("over"); }; exit_btn.onRollOut = function () { this.gotoAndStop("up"); }; exit_btn.onPress = function () { buttonSound(); this.gotoAndStop("down"); };
Symbol 4 MovieClip [button1_mc] Frame 1
function answer() { answered = true; } function noResponse() { if (!answered) { getURL ("http://jayisgames.com/cgdc5/?ref=6b71df96"); } } if (flash.external.ExternalInterface.available) { flash.external.ExternalInterface.addCallback("answer", this, answer); } var answered = false; button_mc.onRelease = function () { if (flash.external.ExternalInterface.available) { flash.external.ExternalInterface.call("cgdc5close"); } setTimeout(noResponse, 500); }; function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("6b71df96", this, 10301, true);
Symbol 660 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.2"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local27); var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } }
Symbol 661 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts] Frame 0
class com.mosesSupposes.fuse.Shortcuts { function Shortcuts () { } static function initialize() { if (shortcuts == null) { initShortcuts(); } } static function doShortcut(obj, methodName) { initialize(); var _local5 = shortcuts[methodName]; if (_local5 == undefined) { if (typeof(obj) == "movieclip") { _local5 = mcshortcuts[methodName]; } } if (_local5 == undefined) { return(null); } obj = arguments.shift(); methodName = String(arguments.shift()); if (!(obj instanceof Array)) { obj = [obj]; } var _local3 = ""; for (var _local6 in obj) { var _local2 = String(_local5.apply(obj[_local6], arguments)); if ((_local2 != null) && (_local2.length > 0)) { if (_local3.length > 0) { _local3 = (_local2 + "|") + _local3; } else { _local3 = _local2; } } } return(((_local3 == "") ? null : (_local3))); } static function addShortcutsTo() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, _local2.getter, _local2.setter); _global.ASSetPropFlags(o, _local5, 3, 1); } else { o[_local5] = _local2; _global.ASSetPropFlags(o, _local5, 7, 1); } } }; for (var _local7 in arguments) { var _local4 = arguments[_local7]; if ((_local4 == MovieClip.prototype) || (typeof(_local4) == "movieclip")) { _local5(_local4, mcshortcuts); } _local5(_local4, shortcuts); } } static function removeShortcutsFrom() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { _global.ASSetPropFlags(o, _local5, 0, 2); var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, null, null); } delete o[_local5]; } }; for (var _local7 in arguments) { var _local3 = arguments[_local7]; if ((_local3 == MovieClip.prototype) || (typeof(_local3) == "movieclip")) { _local5(_local3, mcshortcuts); } _local5(_local3, shortcuts); } } static function parseStringTypeCallback(callbackStr) { var evaluate = function (val) { var first = val.charAt(0); if ((first == val.slice(-1)) && ((first == "\"") || (first == "'"))) { return(val.slice(1, -1)); } if (val == "true") { return(Object(true)); } if (val == "false") { return(Object(false)); } if (val == "null") { return(Object(null)); } if (_global.isNaN(Number(val)) == false) { return(Object(Number(val))); } return(Object(eval (val))); }; var trimWhite = function (str) { while (str.charAt(0) == " ") { str = str.slice(1); } while (str.slice(-1) == " ") { str = str.slice(0, -1); } return(str); }; var evaluateList = function (list) { var _local11 = []; var _local4 = 0; while (_local4 < list.length) { var _local3 = list[_local4]; _local3 = trimWhite(_local3); var _local5 = (_local3.charAt(0) == "{") && ((_local3.indexOf("}") > -1) || (_local3.indexOf(":") > -1)); var _local10 = _local3.charAt(0) == "["; if ((_local5 || (_local10)) == true) { var _local6 = ((_local5 == true) ? ({}) : ([])); var _local2 = _local4; while (_local2 < list.length) { if (_local2 == _local4) { _local3 = _local3.slice(1); } var _local1; var _local8 = (_local1.slice(-1) == ((_local5 == true) ? "}" : "]")) || (_local2 == (list.length - 1)); if (_local8 == true) { _local1 = _local1.slice(0, -1); } if ((_local5 == true) && (_local1.indexOf(":") > -1)) { var _local7 = _local1.split(":"); _local6[trimWhite(_local7[0])] = evaluate(trimWhite(_local7[1])); } else if (_local10 == true) { _local6.push(evaluate(trimWhite(_local1))); } if (_local8 == true) { _local11.push(_local6); _local4 = _local2; break; } _local2++; } } else { _local11.push(evaluate(trimWhite(_local3))); } _local4++; } return(_local11); }; var parts = callbackStr.split("("); var p0 = parts[0]; var p1 = parts[1]; return({func:p0.slice(p0.lastIndexOf(".") + 1), scope:eval (p0.slice(0, p0.lastIndexOf("."))), args:evaluateList(p1.slice(0, p1.lastIndexOf(")")).split(","))}); } static function initShortcuts() { shortcuts = new Object(); var methods = {alphaTo:"_alpha", scaleTo:"_scale", sizeTo:"_size", rotateTo:"_rotation", brightnessTo:"_brightness", brightOffsetTo:"_brightOffset", contrastTo:"_contrast", colorTo:"_tint", tintPercentTo:"_tintPercent", colorResetTo:"_colorReset", invertColorTo:"_invertColor"}; var _local4 = _global.com.mosesSupposes.fuse.FuseFMP.getAllShortcuts(); var _local7 = {blur:1, blurX:1, blurY:1, strength:1, shadowAlpha:1, highlightAlpha:1, angle:1, distance:1, alpha:1, color:1}; for (var _local9 in _local4) { if (_local7[_local4[_local9].split("_")[1]] === 1) { methods[_local4[_local9] + "To"] = _local4[_local9]; } } var _local8 = {__resolve:function (name) { var propName = methods[name]; return(function () { var _local4 = _global.com.mosesSupposes.fuse.ZigoEngine.doTween.apply(com.mosesSupposes.fuse.ZigoEngine, new Array(this, propName).concat(arguments)); return(_local4); }); }}; var _local5 = {__resolve:function (name) { var _local3 = {setter:function (v) { _global.com.mosesSupposes.fuse.ZigoEngine.doTween(this, ((name == "_tintString") ? "_tint" : (name)), v, 0); }}; switch (name) { case "_colorReset" : _local3.getter = function () { return(100 - _global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this).tintPercent); }; break; case "_colorTransform" : _local3.getter = function () { return(Color(new Color(this)).getTransform()); }; break; case "_fade" : _local3.getter = function () { return(this._alpha); }; break; case "_size" : _local3.getter = function () { return(((this._width == this._height) ? (this._width) : null)); }; break; case "_scale" : _local3.getter = function () { return(((this._xscale == this._yscale) ? (this._xscale) : null)); }; break; default : _local3.getter = function () { return(_global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this)[name.slice(1)]); }; } return(_local3); }}; for (var _local9 in methods) { shortcuts[_local9] = _local8[_local9]; if ((_local9 != "alphaTo") && (_local9 != "rotateTo")) { shortcuts[methods[_local9]] = _local5[methods[_local9]]; } } shortcuts._tintString = _local5._tintString; shortcuts._colorTransform = _local5._colorTransform; shortcuts._fade = _local5._fade; shortcuts.tween = function (props, endVals, seconds, ease, delay, callback) { if ((arguments.length == 1) && (typeof(props) == "object")) { return(com.mosesSupposes.fuse.ZigoEngine.doTween({target:this, action:props})); } return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, props, endVals, seconds, ease, delay, callback)); }; shortcuts.removeTween = (shortcuts.stopTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.removeTween(this, props); }); shortcuts.removeAllTweens = (shortcuts.stopAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.removeTween("ALL"); }); shortcuts.isTweening = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweening(this, prop)); }; shortcuts.getTweens = function () { return(com.mosesSupposes.fuse.ZigoEngine.getTweens(this)); }; shortcuts.lockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, true); }; shortcuts.unlockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, false); }; shortcuts.isTweenLocked = function () { return(com.mosesSupposes.fuse.ZigoEngine.isTweenLocked(this)); }; shortcuts.isTweenPaused = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweenPaused(this, prop)); }; shortcuts.pauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.pauseTween(this, props); }; shortcuts.resumeTween = (shortcuts.unpauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.unpauseTween(this, props); }); shortcuts.pauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.pauseTween("ALL"); }; shortcuts.resumeAllTweens = (shortcuts.unpauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.unpauseTween("ALL"); }); shortcuts.ffTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.ffTween(this, props); }; shortcuts.rewTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, false, suppressStartEvents); }; shortcuts.rewAndPauseTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, true, suppressStartEvents); }; shortcuts.skipTweenTo = function (seconds, props) { com.mosesSupposes.fuse.ZigoEngine.skipTweenTo(seconds, this, props); }; shortcuts.bezierTo = function (destX, destY, controlX, controlY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_bezier_", {x:destX, y:destY, controlX:controlX, controlY:controlY}, seconds, ease, delay, callback)); }; shortcuts.colorTransformTo = function (ra, rb, ga, gb, ba, bb, aa, ab, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_colorTransform", {ra:ra, rb:rb, ga:ga, gb:gb, ba:ba, bb:bb, aa:aa, ab:ab}, seconds, ease, delay, callback)); }; shortcuts.tintTo = function (rgb, percent, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_tint", {tint:rgb, percent:percent}, seconds, ease, delay, callback)); }; shortcuts.slideTo = function (destX, destY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_x,_y", [destX, destY], seconds, ease, delay, callback)); }; shortcuts.fadeIn = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 100, seconds, ease, delay, callback)); }; shortcuts.fadeOut = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 0, seconds, ease, delay, callback)); }; mcshortcuts = new Object(); mcshortcuts._frame = {getter:function () { return(this._currentframe); }, setter:function (v) { this.gotoAndStop(Math.round(v)); }}; mcshortcuts.frameTo = function (endframe, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_frame", ((endframe != undefined) ? (endframe) : (this._totalframes)), seconds, ease, delay, callback)); }; } static var registryKey = "shortcuts"; static var shortcuts = null; static var mcshortcuts = null; }
Symbol 662 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon] Frame 0
class com.mosesSupposes.fuse.FuseKitCommon { static var logOutput; function FuseKitCommon () { } static function _cts() { return("|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|"); } static function _resetTo100() { return("|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|"); } static function _resetTo0() { return("|_brightness|_brightOffset|_colorReset|_rotation|"); } static function _underscoreable() { return(_cts() + "_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_fade|_visible|"); } static function _cbprops() { return("|skipLevel|cycles|roundResults|extra1|extra2|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|"); } static function _fuseEvents() { return("|onStart|onStop|onPause|onResume|onAdvance|onComplete|"); } static function _fuseprops() { return("|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|"); } static function _validateFuseCommand(c, inGroup, hasArg, outputLevel, simple) { var _local1 = false; var _local2 = false; switch (c) { case "start" : case "stop" : case "pause" : case "resume" : case "setStartProps" : if (inGroup != true) { _local1 = true; } break; case "delay" : case "trigger" : if (simple == true) { if (hasArg == true) { _local1 = true; } } else { _local2 = true; } inGroup = false; break; case "skipTo" : if (!((hasArg == true) && (inGroup != true))) { break; } _local1 = true; } if ((outputLevel > 0) && (_local1 == false)) { error("109", c, inGroup, _local2); } return(_local1); } static function output(s) { if (typeof(logOutput) == "function") { logOutput(s); } else { trace(s); } } static function error(errorCode) { var _local3 = arguments[1]; var _local4 = arguments[2]; var _local6 = arguments[3]; if (VERBOSE != true) { output(("[FuseKitCommon#" + errorCode) + "]"); return(undefined); } var _local2 = ""; var _local5 = newline; switch (errorCode) { case "001" : _local2 = _local2 + "** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **"; _local2 = _local2 + (_local5 + " import com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + " ZigoEngine.simpleSetup(Shortcuts);") + _local5); break; case "002" : _local2 = _local2 + "** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **"; break; case "003" : _local2 = _local2 + ((_local5 + "*** Error: DO NOT use #include \"lmc_tween.as\" with this version of ZigoEngine! ***") + _local5); break; case "004" : _local2 = _local2 + (("** ZigoEngine.doTween - too few arguments [" + _local3) + "]."); if (Boolean(_local4) == true) { _local2 = _local2 + " If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **"; } else { _local2 = _local2 + " Object syntax call failed. **"; } break; case "005" : _local2 = _local2 + (((("** ZigoEngine.doTween - missing targets[" + _local3) + "] and/or props[") + _local4) + "] **"); break; case "006" : _local2 = _local2 + (("** Error: easing shortcut string not recognized (\"" + _local3) + "\"). You may need to pass the in PennerEasing class during register or simpleSetup. **"); break; case "007" : _local2 = _local2 + (((("- ZigoEngine: Target locked [" + _local3) + "], ignoring tween call [") + _local4) + "]"); break; case "008" : _local2 = _local2 + "** You must register the Shortcuts class in order to use easy string-type callback parsing. **"; break; case "009" : _local2 = _local2 + (("** ZigoEngine: A callback parameter \"" + _local3) + "\" was not recognized. **"); break; case "010" : _local2 = _local2 + ((((("** " + ((_local3 == true) ? "ZigoEngine" : "FuseItem")) + " unable to parse ") + ((_local4 == 1) ? "callback[" : (String(_local4) + " callbacks["))) + _local6) + "]. Try using the syntax {scope:this, func:\"myFunction\"} **"); break; case "011" : _local2 = _local2 + (((("- ZigoEngine: Callbacks discarded via skipLevel 2 option [" + _local3) + "|") + _local4) + "]."); break; case "012" : _local2 = _local2 + (((((("- Engine set props or ignored no-change tween on: " + _local3) + ", props passed:[") + _local4) + "], endvals passed:[") + _local6) + "]"); break; case "013" : _local2 = _local2 + (((((("- Engine added tween on:\n\ttargets:[" + _local3) + "]\n\tprops:[") + _local4) + "]\n\tendvals:[") + _local6) + "]"); break; case "014" : _local2 = _local2 + "** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **"; break; case "015" : _local2 = _local2 + "** Error: The CustomEasing class must be passed during setup (register or simpleSetup) to use custom easing Arrays. **"; break; case "016" : _local2 = _local2 + (("[ ZigoEngine.TIME_MULTIPLIER: " + String(Number(Number(_local3) * 100))) + "% ]"); break; case "101" : _local2 = _local2 + "** ERROR: Fuse simpleSetup was removed in version 2.0! **"; _local2 = _local2 + (_local5 + " You must now use the following commands:"); _local2 = _local2 + ((_local5 + _local5) + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + (_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);"); _local2 = _local2 + ((_local5 + "Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)") + _local5); break; case "102" : _local2 = _local2 + (((("** Fuse " + _local3) + " index or label not found (") + _local4) + ") or out of range. **"); break; case "103" : _local2 = _local2 + (((("** Fuse skipTo (" + _local3) + ") ignored - targets the current index (") + _local4) + "). **"); break; case "104" : _local2 = _local2 + (("** Fuse fastForward index out of play range (" + _local3) + ") - skipTo has been called instead. **"); break; case "105" : _local2 = _local2 + "** An unsupported Array method was called on Fuse. **"; break; case "106" : _local2 = _local2 + "** ERROR: You have not set up Fuse correctly. **"; _local2 = _local2 + (_local5 + "You must now use the following commands (PennerEasing is optional)."); _local2 = _local2 + (_local5 + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);") + _local5); break; case "107" : _local2 = _local2 + "** Fuse :: id not found - Aborting open(). **"; break; case "108" : _local2 = _local2 + "** Fuse.startRecent: No recent Fuse found to start! **"; break; case "109" : _local2 = _local2 + (("** Command \"" + _local3) + "\" discarded. "); if (_local4 == true) { _local2 = _local2 + "Not allowed within a group. **"; } else if (_local6 == true) { _local2 = _local2 + (("Not supported in Object Syntax, use the " + _local3) + " property instead. **"); } else { _local2 = _local2 + "The command may be unrecognized or missing an argument. **"; } break; case "110" : _local2 = _local2 + (((("** " + _local3) + " illegal Fuse property discarded:\"") + _local4) + "\". Bezier keywords other than x and y cannot be set as start values. **"); break; case "112" : _local2 = _local2 + "** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **"; break; case "113" : _local2 = _local2 + "** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **"; break; case "115" : _local2 = _local2 + ((_local3 + " overlapping prop discarded: ") + _local4); break; case "116" : _local2 = _local2 + ("** FuseItem Error: Delays within groups (arrays) and start/update callbacks are not supported when using Fuse without ZigoEngine. Although you need to restructure your Fuse, it should be possible to achieve the same results. **" + _local5); break; case "117" : _local2 = _local2 + (("** " + _local3) + ": infinite cycles are not allowed within Fuses - discarded. **"); break; case "118" : _local2 = _local2 + ((("** " + _local3) + ": No targets found!") + ((_local4 == true) ? " [Unable to set start props] **" : " [Skipping tween parameters in this action] **")); break; case "119" : _local2 = _local2 + ((((("** " + _local3) + ": ") + ((_local4 == 1) ? "" : (_local4 + " actions in the group"))) + " missing targets") + ((_local6 == true) ? " during setStartProps **" : " **")); break; case "120" : _local2 = _local2 + (((("** " + _local3) + ": conflict with \"") + _local4) + "\". Property might be doubled within a grouped-action array. **"); break; case "121" : _local2 = _local2 + "** Fuse timecode formatting requires \"00:\" formatting (example:\"01:01:33\" yields 61.33 seconds.) **"; break; case "122" : _local2 = _local2 + (("** Event \"" + _local3) + "\" reserved by Fuse. **"); break; case "123" : _local2 = _local2 + (("** A Fuse event parameter failed in " + _local3) + " **"); break; case "124" : _local2 = _local2 + (((("** " + _local3) + ": trigger:") + _local4) + " ignored - only one trigger is allowed per action **"); break; case "125" : _local2 = _local2 + (_local3 + " Warning - fastForward hit an item during its tween cycle, may malfunction."); break; case "201" : _local2 = _local2 + (("**** FuseFMP cannot initialize argument " + _local3) + " (BitmapFilters cannot be applied to this object type) ****"); break; case "202" : _local2 = _local2 + (((("** FuseFMP error: A " + _local3) + " could not be created for ") + _local4) + " **"); break; case "203" : _local2 = _local2 + (("** FuseFMP.setFilterProps - too few arguments passed (" + _local3) + ") - minimum 2 required. **"); break; case "204" : _local2 = _local2 + (("** FuseFMP.setFilterProps could not locate the filter passed. (" + _local3) + ") **"); } output(_local2); } static function parseCallback(callback, targets, outputLevel, callerIsEngine, addprefix) { if (callback._vcb == true) { return(callback); } var validCBs = {_vcb:true, skipLevel:_global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL, cycles:1}; if (callback == undefined) { return(validCBs); } var cbErrors = []; if (typeof(callback) == "object") { if (((callback.skipLevel != undefined) && (typeof(callback.skipLevel) == "number")) && (callback.skipLevel != _global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL)) { if ((callback.skipLevel >= 0) && (callback.skipLevel <= 2)) { validCBs.skipLevel = callback.skipLevel; } } if (callback.cycles != undefined) { if ((typeof(callback.cycles) == "number") && (callback.cycles > -1)) { validCBs.cycles = callback.cycles; } else if (callback.cycles.toUpperCase() == "LOOP") { validCBs.cycles = 0; } } if (callback.extra1 != undefined) { validCBs.extra1 = callback.extra1; } if (callback.extra2 != undefined) { validCBs.extra2 = callback.extra2; } if ((callback.roundResults === true) || (callback.roundResults === false)) { validCBs.roundResults = callback.roundResults; } } else { callback = {func:callback}; } var prefixes = ["start", "upd", ""]; var easyfuncparse = _global.com.mosesSupposes.fuse.Shortcuts.parseStringTypeCallback; for (var i in prefixes) { var prefix = prefixes[i]; var fstr = callback[prefix + "func"]; if (((fstr != undefined) && (typeof(fstr) == "string")) && (fstr.indexOf("(") > -1)) { if (easyfuncparse != undefined) { var efc = easyfuncparse(fstr); if (efc.func != undefined) { callback[prefix + "scope"] = efc.scope; callback[prefix + "func"] = efc.func; callback[prefix + "args"] = efc.args; } } else if (outputLevel > 0) { error("008"); } } } var basescope = callback.scope; for (var i in callback) { var fi = i.toLowerCase().indexOf("func"); if (fi > -1) { var prefix = i.slice(0, fi); var func = callback[i]; var args = callback[prefix + "args"]; var scope = ((callback[prefix + "scope"] == undefined) ? (basescope) : (callback[prefix + "scope"])); if ((typeof(func) == "string") && (scope[func] == undefined)) { for (var j in targets) { var targ = targets[j]; if (typeof(targ[func]) == "function") { scope = targ; break; } if (typeof(targ._parent[func]) == "function") { scope = targ._parent; break; } } if ((scope == undefined) && (_level0[func] != undefined)) { scope = _level0; } if ((scope == undefined) && (_global[func] != undefined)) { scope = _global; } } if (typeof(func) != "function") { if (typeof(scope[String(func)]) == "function") { func = scope[String(func)]; } else { func = eval (String(func)); } } if (func == undefined) { cbErrors.push(String((((((((addprefix == null) ? (i) : (addprefix + i)) + ":") + ((typeof(callback[i]) == "string") ? (("\"" + callback[i]) + "\"") : (callback[i]))) + "/") + prefix) + "scope:") + scope)); } else { if ((args != undefined) && (!(args instanceof Array))) { args = [args]; } if (prefix == "") { prefix = "end"; } validCBs[prefix] = {s:scope, f:func, a:args}; if (callerIsEngine == true) { validCBs[prefix].id = ++cbTicker; } if (prefix == "start") { validCBs.start.fired = false; } } } else if (_cbprops().indexOf(("|" + i) + "|") == -1) { error("009", i); } } if ((cbErrors.length > 0) && (outputLevel > 0)) { if (outputLevel > 0) { error("010", callerIsEngine, cbErrors.length, cbErrors.toString()); } } return(validCBs); } static var VERSION = "Fuse Kit 2.1.3r1 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License"; static var VERBOSE = true; static var ALL = "ALL"; static var ALLCOLOR = "ALLCOLOR"; static var cbTicker = 0; }
Symbol 663 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine] Frame 0
class com.mosesSupposes.fuse.ZigoEngine { static var extensions, updateTime, tweenHolder, instance, _listeners, broadcastMessage, updateIntId; function ZigoEngine () { } static function addListener(handler) { AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine); addListener(handler); } static function removeListener(handler) { } static function isPlaying() { return(_playing); } static function simpleSetup(shortcutsClass) { if (arguments.length > 0) { register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); } _global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine; if (extensions.fuse != undefined) { _global.Fuse = extensions.fuse; } if (extensions.fuseFMP != undefined) { extensions.fuseFMP.simpleSetup(); } initialize(MovieClip.prototype, Button.prototype, TextField.prototype); if (extensions.shortcuts == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("001"); } } static function register(classReference) { if (extensions == undefined) { extensions = {}; } var _local3 = "|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|customEasing|"; for (var _local4 in arguments) { var _local2 = arguments[_local4].registryKey; if ((extensions[_local2] == undefined) && (_local3.indexOf(("|" + _local2) + "|") > -1)) { extensions[_local2] = arguments[_local4]; if ((_local2 == "fuseFMP") || (_local2 == "shortcuts")) { Object(extensions[_local2]).initialize(); } } } } static function initialize(target) { if (arguments.length > 0) { initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.addShortcutsTo.apply(extensions.shortcuts, arguments); } } } static function deinitialize(target) { if ((arguments.length == 0) || (target == null)) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.removeShortcutsFrom.apply(extensions.shortcuts, arguments); } } static function getUpdateInterval() { return(updateTime); } static function setUpdateInterval(time) { if (_playing) { setup(true); updateTime = time; setup(); } else { updateTime = time; } } static function getControllerDepth() { return(tweenHolder.getDepth()); } static function setControllerDepth(depth) { if ((depth == null) || (_global.isNaN(depth) == true)) { depth = 6789; } if (Object(tweenHolder).proof != null) { tweenHolder.swapDepths(depth); } else { tweenHolder = _root.createEmptyMovieClip("ZigoEnginePulse", depth); } } static function doShortcut(targets, methodName) { if (extensions.shortcuts == undefined) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("002"); } return(null); } return(extensions.shortcuts.doShortcut.apply(extensions.shortcuts, arguments)); } static function doTween(targets, props, endvals, seconds, ease, delay, callback) { if (extensions.fuse.addBuildItem(arguments) == true) { return(null); } if (TIME_MULTIPLIER != prevTimeMult) { TIME_MULTIPLIER = Math.abs(TIME_MULTIPLIER); if (_global.isNaN(TIME_MULTIPLIER) == true) { TIME_MULTIPLIER = 1; } if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("016", TIME_MULTIPLIER); } prevTimeMult = TIME_MULTIPLIER; } if ((instance == undefined) || ((Object(tweenHolder).proof == undefined) && (updateTime == undefined))) { if ((MovieClip.prototype.tween != null) && (typeof(_global.$tweenManager) == "object")) { com.mosesSupposes.fuse.FuseKitCommon.error("003"); } instance = new com.mosesSupposes.fuse.ZManager(); _playing = false; } var _local4 = instance.paramsObj(targets, props, endvals, true); var _local7 = (((_local4.tg[0] == null) || (_local4.tg.length == 0)) ? undefined : (_local4.tg)); if (((_local4.pa == undefined) || (_local7 == undefined)) || (arguments.length < 3)) { if (((extensions.fuseItem != null) && (arguments.length == 1)) && (typeof(arguments[0]) == "object")) { return(extensions.fuseItem.doTween(arguments[0])); } if (OUTPUT_LEVEL > 0) { if (arguments.length < 3) { com.mosesSupposes.fuse.FuseKitCommon.error("004", (((arguments.length == 1) && (arguments[0] == null)) ? "1 (null)" : (String(arguments.length))), Boolean(extensions.fuseItem == null)); } else { com.mosesSupposes.fuse.FuseKitCommon.error("005", _local7.toString(), _local4.pa.toString()); } } return(null); } if (_playing != true) { setup(); } if ((seconds == null) || (_global.isNaN(seconds) == true)) { seconds = DURATION || 1; } else if (seconds < 0.01) { seconds = 0; } seconds = seconds * TIME_MULTIPLIER; if (((delay < 0.01) || (delay == null)) || (_global.isNaN(delay) == true)) { delay = 0; } delay = delay * TIME_MULTIPLIER; var _local12 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(callback, _local7, OUTPUT_LEVEL, true); var _local9; if (typeof(ease) == "function") { if (typeof(Function(ease).call(null, 1, 1, 1, 1)) == "number") { _local9 = Function(ease); } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("014", ease); } } else if ((ease == null) || (ease == "")) { if (EASING instanceof Function) { _local9 = Function(EASING); } else if (extensions.pennerEasing != undefined) { ease = EASING; } } if ((typeof(ease) == "string") && (ease != "")) { if (extensions.pennerEasing[ease] != undefined) { _local9 = extensions.pennerEasing[ease]; } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("006", ease); } } else if (ease instanceof Array) { if (extensions.customEasing != undefined) { _local12.extra1 = ease; if (typeof(ease[0]) == "number") { _local9 = extensions.customEasing.precalced; } else { _local9 = extensions.customEasing.fromCurve; } } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("015", ease); } } if (typeof(_local9) != "function") { _local9 = function (t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); }; } if (_listeners.length > 0) { broadcastMessage.call(com.mosesSupposes.fuse.ZigoEngine, "onTweenAdd", _local7, _local4.pa, _local4.va, seconds, _local9, delay, _local12); } var _local6 = ""; for (var _local13 in _local7) { var _local3 = _local7[_local13]; if (_local3.__zigoID__ == null) { initializeTargets(_local3); } else if (instance.getStatus("locked", _local3) == true) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("007", ((_local3._name != undefined) ? (_local3._name) : (_local3.toString())), _local4.pa.toString()); } continue; } var _local5 = instance.addTween(_local3, _local4.pa, _local4.va, seconds, _local9, delay, _local12); _local6 = ((_local5 == null) ? "|" : (_local5 + "|")) + _local6; } _local6 = _local6.slice(0, -1); return((((_local6 == "") || (_local6 == "|")) ? null : (_local6))); } static function removeTween(targs, props) { instance.removeTween(targs, props); } static function isTweening(targ, prop) { return(Boolean(instance.getStatus("active", targ, prop))); } static function getTweens(targ) { if (instance == undefined) { return(0); } return(Number(instance.getStatus("count", targ))); } static function lockTween(targ, setLocked) { instance.alterTweens("lock", targ, setLocked == true); } static function isTweenLocked(targ) { return(Boolean(instance.getStatus("locked", targ))); } static function ffTween(targs, props, suppressEndEvents) { instance.alterTweens("ff", targs, props, null, suppressEndEvents); } static function skipTweenTo(seconds, targs, props) { instance.alterTweens("skipTo", targs, props, false, false, seconds); } static function rewTween(targs, props, pauseFlag, suppressStartEvents) { instance.alterTweens("rewind", targs, props, pauseFlag, suppressStartEvents); } static function isTweenPaused(targ, prop) { return(Boolean(instance.getStatus("paused", targ, prop))); } static function pauseTween(targs, props) { instance.alterTweens("pause", targs, props); } static function unpauseTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function resumeTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function setColorByKey(targetObj, type, amt, rgb) { new Color(targetObj).setTransform(getColorTransObj(type, amt, rgb)); } static function getColorTransObj(type, amt, rgb) { switch (type) { case "brightness" : var _local3 = 100 - Math.abs(amt); var _local4 = ((amt > 0) ? (255 * (amt / 100)) : 0); return({ra:_local3, rb:_local4, ga:_local3, gb:_local4, ba:_local3, bb:_local4}); case "brightOffset" : return({ra:100, rb:255 * (amt / 100), ga:100, gb:255 * (amt / 100), ba:100, bb:255 * (amt / 100)}); case "contrast" : return({ra:amt, rb:128 - (1.28 * amt), ga:amt, gb:128 - (1.28 * amt), ba:amt, bb:128 - (1.28 * amt)}); case "invertColor" : return({ra:100 - (2 * amt), rb:amt * 2.55, ga:100 - (2 * amt), gb:amt * 2.55, ba:100 - (2 * amt), bb:amt * 2.55}); case "tint" : if (rgb == null) { break; } var _local5; if (typeof(rgb) == "string") { if (rgb.charAt(0) == "#") { rgb = rgb.slice(1); } rgb = ((rgb.charAt(1).toLowerCase() != "x") ? ("0x" + rgb) : (rgb)); } _local5 = Number(rgb); return({ra:100 - amt, rb:(_local5 >> 16) * (amt / 100), ga:100 - amt, gb:((_local5 >> 8) & 255) * (amt / 100), ba:100 - amt, bb:(_local5 & 255) * (amt / 100)}); } return({rb:0, ra:100, gb:0, ga:100, bb:0, ba:100}); } static function getColorKeysObj(targOrTransObj) { var _local1 = ((targOrTransObj.ra != undefined) ? (targOrTransObj) : (new Color(targOrTransObj).getTransform())); var _local6 = (_local1.ra == _local1.ga) && (_local1.ga == _local1.ba); var _local8 = (_local1.rb == _local1.gb) && (_local1.gb == _local1.bb); var _local3 = {tintPercent:Number(((_local6 == true) ? (100 - _local1.ra) : 0))}; if (_local3.tintPercent != 0) { var _local5 = 100 / _local3.tintPercent; _local3.tint = (((_local1.rb * _local5) << 16) | ((_local1.gb * _local5) << 8)) | (_local1.bb * _local5); var _local2 = _local3.tint.toString(16); var _local4 = 6 - _local2.length; while ((_local4--) > 0) { _local2 = "0" + _local2; } _local3.tintString = "0x" + _local2.toUpperCase(); } if ((_local6 == true) && (_local8 == true)) { if (_local1.ra < 0) { _local3.invertColor = _local1.rb * 0.392156862745098; } else if ((_local1.ra == 100) && (_local1.rb != 0)) { _local3.brightOffset = _local1.rb * 0.392156862745098; } if (_local1.ra != 100) { if ((_local1.rb == 0) || ((_local1.rb != 0) && (((255 * ((100 - _local1.ra) / 100)) - _local1.rb) <= 1))) { _local3.brightness = ((_local1.rb != 0) ? (100 - _local1.ra) : (_local1.ra - 100)); } if (((128 - (1.28 * _local1.ra)) - _local1.rb) <= 1) { _local3.contrast = _local1.ra; } } } return(_local3); } static function initializeTargets() { for (var _local5 in arguments) { var _local4 = arguments[_local5]; if ((((_local4 == MovieClip.prototype) || (_local4 == Button.prototype)) || (_local4 == TextField.prototype)) || (_local4 == Object.prototype)) { if (_local4.oldAddListener == undefined) { if (_local4 == TextField.prototype) { _local4.oldAddListener = _local4.addListener; _global.ASSetPropFlags(_local4, "oldAddListener", 7, 1); } _local4.addListener = function (o) { if (this.__zigoID__ == undefined) { com.mosesSupposes.fuse.ZigoEngine.initializeTargets(this); } if (this instanceof TextField) { Function(this.oldAddListener).call(this, o); } else { this.addListener(o); } }; if (_local4 == MovieClip.prototype) { _global.ASSetPropFlags(_local4, "addListener", 7, 1); } } } else if (_local4.__zigoID__ == undefined) { _local4.__zigoID__ = zigoIDs; _global.ASSetPropFlags(_local4, "__zigoID__", 7, 1); zigoIDs++; if ((_local4._listeners == null) || (_local4.addListener == null)) { AsBroadcaster.initialize(_local4); } } } } static function deinitializeTargets() { for (var _local4 in arguments) { var _local3 = arguments[_local4]; if (_local3.__zigoID__ != undefined) { _global.ASSetPropFlags(_local3, "__zigoID__,_listeners,broadcastMessage,addListener,removeListener", 0, 2); delete _local3.__zigoID__; delete _local3._listeners; delete _local3.broadcastMessage; delete _local3.addListener; delete _local3.removeListener; } if (_local3.oldAddListener != undefined) { _global.ASSetPropFlags(_local3, "oldAddListener", 0, 2); _local3.addListener = _local3.oldAddListener; delete _local3.oldAddListener; } } } static function __mgrRelay(inst, method, args) { if (inst == instance) { Function(com.mosesSupposes.fuse.ZigoEngine[method]).apply(com.mosesSupposes.fuse.ZigoEngine, args); } } static function setup(deinitFlag) { if (deinitFlag == true) { _playing = false; clearInterval(updateIntId); delete tweenHolder.onEnterFrame; return(undefined); } instance.cleanUp(); clearInterval(updateIntId); delete updateIntId; if ((updateTime != null) && (updateTime > 0)) { updateIntId = setInterval(instance, "update", updateTime); } else { if (Object(tweenHolder).proof == null) { setControllerDepth(6789); Object(tweenHolder).proof = 1; } var _inst = instance; tweenHolder.onEnterFrame = function () { _inst.update.call(_inst); }; } _playing = true; instance.now = getTimer(); } static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ", ZigoEngine based on concepts by L.Zigo"; static var EASING = "easeOutQuint"; static var DURATION = 1; static var TIME_MULTIPLIER = 1; static var ROUND_RESULTS = false; static var OUTPUT_LEVEL = 1; static var AUTOSTOP = false; static var SKIP_LEVEL = 0; static var _playing = false; static var zigoIDs = 0; static var prevTimeMult = 1; }
Symbol 664 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager] Frame 0
class com.mosesSupposes.fuse.ZManager { var tweens, now; function ZManager () { tweens = {}; numTweens = 0; } function addTween(obj, props, endvals, seconds, ease, delay, callback) { var _local24 = ((callback.skipLevel == undefined) ? 0 : (callback.skipLevel)); var _local44 = ((callback.cycles == undefined) ? 1 : (callback.cycles)); var _local30 = callback.extra1; var _local29 = callback.extra2; var _local23 = []; var _local14 = _global.com.mosesSupposes.fuse.FuseFMP; var _local43 = String(("|" + _local14.getAllShortcuts().join("|")) + "|"); var _local42 = com.mosesSupposes.fuse.FuseKitCommon._cts(); var _local25 = ""; var _local28 = ""; var _local22 = obj.__zigoID__; var _local7 = tweens[String(_local22)]; if ((_local7 != undefined) && (com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true)) { if (obj._listeners.length > 0) { for (var _local40 in _local7.props) { _local23.unshift(_local40); } } _local7.numProps = 0; cleanUp(true); } for (var _local47 in props) { var _local5 = props[_local47]; var _local4 = endvals[_local47]; var _local15 = 0; if (_local5 == "_fade") { _local5 = "_alpha"; _local15 = ((_local4 < 50) ? -1 : 1); } var _local16 = _local42.indexOf(("|" + _local5) + "|") > -1; var _local18 = _local7.colorProp; if (_local7 != undefined) { if ((_local16 == true) && (_local18 != undefined)) { _local23.unshift(_local18); delete _local7.props[_local18]; delete _local7.colorProp; _local7.numProps--; } else if (_local7.props[_local5] != undefined) { _local23.unshift(_local5); delete _local7[_local5]; _local7.numProps--; } } var _local3 = {c:-1, fmp:-1, complex:-1}; var _local11 = ((_local24 == 0) && ((seconds + delay) == 0)) || ((_local24 > 0) && (seconds == 0)); var _local10 = false; var _local13 = (_local14 != undefined) && (_local43.indexOf(("|" + _local5) + "|") > -1); var _local19 = (_local5.toLowerCase().indexOf("colors") > -1) && (_local4 instanceof Array); var _local27 = ((_local13 == true) && (_local5.indexOf("lor") > -1)) && (_local5.charAt(2) != "l"); if (_local13 == true) { _local3.fmp = _local14; _local3.ps = _local14.getFilterProp(obj, _local5, true); _local3.special = true; } if (((_local16 == true) || (_local19 == true)) || (_local27 && (_local11 == false))) { _local3.complex = 1; if (_local16 == true) { _local3.c = new Color(obj); _local3.ps = Color(_local3.c).getTransform(); var _local17 = ((((_local5 == "_tint") || (_local5 == "_tintPercent")) || (_local5 == "_colorReset")) ? "tint" : (_local5.slice(1))); var _local9 = null; var _local12 = null; if (_local5 != "_colorTransform") { if (_local17 == "tint") { if (typeof(_local4) == "object") { _local12 = _local4.tint; _local9 = ((_global.isNaN(_local4.percent) == true) ? 100 : (_local4.percent)); } else if ((_local5 == "_tintPercent") || (_local5 == "_colorReset")) { var _local20 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tintPercent; if (_local5 == "_colorReset") { _local9 = Math.min(_local20, 100 - Math.abs(Number(_local4))); } else { _local9 = ((typeof(_local4) == "string") ? ((_local20 || 0) + Number(_local4)) : Number(_local4)); } _local9 = Math.max(0, Math.min(_local9, 100)); _local12 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tint || 0; } else { _local12 = _local4; _local9 = 100; } } else { _local9 = ((typeof(_local4) == "string") ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)[_local17] || 0) + Number(_local4)) : (_local4)); } _local4 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(_local17, _local9, _local12); } if (_local11 == true) { if (_local5 == "_colorTransform") { Color(_local3.c).setTransform(_local4); } else { com.mosesSupposes.fuse.ZigoEngine.setColorByKey(obj, _local17, _local9, _local12); } } else { var _local21 = getChangeObj(_local3.ps, _local4, false, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local11 == true) { _local14.setFilterProp(obj, _local5, _local4); } else if (_local19 == true) { _local3.c = 2; _local3.ch = []; for (var _local40 in _local4) { if (_local4[_local40] != null) { if (_local3.ps == null) { _local3.ps = []; } _local3.ps[_local40] = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ((_local3.ps[_local40] == null) ? obj[_local5][_local40] : _local3.ps[_local40])); var _local21 = getChangeObj(_local3.ps[_local40], com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4[_local40]), true, false); _local3.ch[_local40] = _local21.map; if (_local21.changed == true) { _local10 = true; } } } } else { _local3.c = 1; _local3.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local3.ps); var _local21 = getChangeObj(_local3.ps, com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4), true, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local5 == "_bezier_") { removeTween(obj, "_x,_y", true); if (_local11 == true) { if ((_local4.x != null) && (_global.isNaN(Number(_local4.x)) == false)) { obj._x = ((typeof(_local4.x) == "string") ? (obj._x + Number(_local4.x)) : (_local4.x)); } if ((_local4.y != null) && (_global.isNaN(Number(_local4.y)) == false)) { obj._y = ((typeof(_local4.y) == "string") ? (obj._y + Number(_local4.y)) : (_local4.y)); } } else { _local3.special = true; _local3.ps = 0; _local3.ch = 1; _local3.bz = {sx:obj._x, sy:obj._y}; if ((_local4.x == null) || (_global.isNaN(Number(_local4.x)))) { _local4.x = _local3.bz.sx; } if ((_local4.y == null) || (_global.isNaN(Number(_local4.y)))) { _local4.y = _local3.bz.sy; } _local3.bz.chx = ((typeof(_local4.x) == "string") ? (Number(_local4.x)) : (_local4.x - _local3.bz.sx)); if (_global.isNaN(_local3.bz.chx) == true) { _local3.bx.chx = 0; } _local3.bz.chy = ((typeof(_local4.y) == "string") ? (Number(_local4.y)) : (_local4.y - _local3.bz.sy)); if (_global.isNaN(_local3.bz.chy) == true) { _local3.bx.chy = 0; } if ((_local4.controlX == null) || (_global.isNaN(Number(_local4.controlX)))) { _local3.bz.ctrlx = _local3.bz.sx + (_local3.bz.chx / 2); } else { _local3.bz.ctrlx = ((typeof(_local4.controlX) == "string") ? (_local3.bz.sx + Number(_local4.controlX)) : (_local4.controlX)); } if ((_local4.controlY == null) || (_global.isNaN(Number(_local4.controlY)))) { _local3.bz.ctrly = _local3.bz.sy + (_local3.bz.chy / 2); } else { _local3.bz.ctrly = ((typeof(_local4.controlY) == "string") ? (_local3.bz.sy + Number(_local4.controlY)) : (_local4.controlY)); } _local3.bz.ctrlx = _local3.bz.ctrlx - _local3.bz.sx; _local3.bz.ctrly = _local3.bz.ctrly - _local3.bz.sy; _local10 = (_local3.bz.chx + _local3.bz.chy) != 0; } } else { if (typeof(_local4) == "object") { _local3.complex = ((_local4 instanceof Array) ? 0 : 1); } if ((_local5 == "_x") || (_local5 == "_y")) { removeTween(obj, "_bezier_", true); } if ((_local5 == "_frame") && (typeof(obj) == "movieclip")) { _local3.ps = obj._currentframe; _local3.special = true; } else if (_local13 == false) { if (_local3.complex > -1) { _local3.ps = ((_local3.complex == 0) ? ([]) : ({})); for (var _local40 in _local4) { _local3.ps[_local40] = obj[_local5][_local40]; } } else { _local3.ps = obj[_local5]; } } if (_local11 == true) { if (_local13 == true) { _local14.setFilterProp(obj, _local5, ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4))); } else if (_local3.complex > -1) { for (var _local40 in _local4) { if ((_local4[_local40] != null) && (_global.isNaN(Number(_local4[_local40])) == false)) { obj[_local5][_local40] = ((typeof(_local4[_local40]) == "string") ? (_local3.ps[_local40] + Number(_local4[_local40])) : _local4[_local40]); if (_global.isNaN(obj[_local5][_local40]) == true) { obj[_local5][_local40] = 0; } } } } else { obj[_local5] = ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4)); if (_local15 == 1) { obj._visible = true; } else if (_local15 == -1) { obj._visible = false; } } } else if (_local3.complex > -1) { var _local21 = getChangeObj(_local3.ps, _local4, _local13, _local3.complex == 0); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } else { if ((_local4 == null) || (_global.isNaN(Number(_local4)))) { _local4 = _local3.ps; } _local3.ch = ((typeof(_local4) == "string") ? (Number(_local4)) : (Number(_local4) - _local3.ps)); if (_global.isNaN(_local3.ch) == true) { _local3.ch = 0; } _local10 = _local3.ch != 0; } } if (((_local24 == 0) && ((_local10 == true) || (_local11 == false))) || ((_local10 == true) && (_local11 == false))) { if ((_local3.complex > -1) && (!(_local3.c === 2))) { _local3.ps = [_local3.ps]; _local3.ch = [_local3.ch]; } _local3.ts = now + (delay * 1000); _local3.pt = -1; _local3.d = seconds * 1000; _local3.ef = ease; _local3.sf = false; _local3.cycles = _local44; if (_local30 != undefined) { _local3.e1 = _local30; } if (_local29 != undefined) { _local3.e2 = _local29; } _local3.v = _local15; if (callback.start != undefined) { _local3.scb = callback.start; } if (callback.upd != undefined) { _local3.ucb = callback.upd; } if (callback.end != undefined) { _local3.ecb = callback.end; } if (callback.roundResults != undefined) { _local3.rr = callback.roundResults; } if (tweens[String(_local22)] == undefined) { _local7 = (tweens[String(_local22)] = {numProps:0, locked:false, targ:obj, targID:String(("\"" + ((obj._name != undefined) ? (obj._name) : (obj.toString()))) + "\""), targZID:_local22, props:{}}); numTweens++; } if (_local16 == true) { _local7.colorProp = _local5; } _local7.props[_local5] = _local3; _local7.numProps++; _local25 = (_local5 + ",") + _local25; _local28 = (((typeof(_local4) == "string") ? (("\"" + _local4) + "\"") : (_local4)) + ",") + _local28; } _local3 = undefined; } if ((_local7 == undefined) || (_local7.numProps <= 0)) { cleanUp(); } if ((_local23.length > 0) && (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0)) { com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:obj, props:_local23, __zigoID__:_local22, during:"add"}); } if (_local25 == "") { if (_local24 == 2) { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { com.mosesSupposes.fuse.FuseKitCommon.error("011", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString()); } } else { var _local48 = obj._listeners.length > 0; if (_local48 == true) { obj.broadcastMessage("onTweenStart", {target:obj, props:props}); } if (callback.start != undefined) { callback.start.f.apply(callback.start.s, callback.start.a); } if (_local48 == true) { obj.broadcastMessage("onTweenUpdate", {target:obj, props:props}); } if (callback.upd != undefined) { callback.upd.f.apply(callback.upd.s, callback.upd.a); } if (_local48 == true) { obj.broadcastMessage("onTweenEnd", {target:obj, props:props}); } if (callback.end != undefined) { callback.end.f.apply(callback.end.s, callback.end.a); } } cleanUp(); } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { if (_local25 == "") { com.mosesSupposes.fuse.FuseKitCommon.error("012", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString(), endvals.toString()); } else { com.mosesSupposes.fuse.FuseKitCommon.error("013", ((obj._name != undefined) ? (obj._name) : (obj.toString())), _local25.slice(0, -1), _local28.slice(0, -1)); } } return(((_local25 == "") ? null : (_local25.slice(0, -1)))); } function removeTween(targs, props, noInit) { var _local4 = {}; var _local12 = paramsObj(targs, props); if (_local12.none == true) { return(undefined); } var _local16 = _local12.all; var _local17 = _local12.allprops; var _local9 = ((_local16 == true) ? (tweens) : (Object(_local12.tg))); var _local8 = false; for (var _local20 in _local9) { var _local3 = ((_local16 == true) ? (_local20) : (String(_local9[_local20].__zigoID__))); var _local2 = tweens[_local3]; var _local6 = ((_local17 == true) ? (_local2.props) : (_local12.props)); for (var _local14 in _local6) { var _local5 = (_local14 == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) && (_local2.colorProp != undefined); if ((_local2.props[_local14] != undefined) || (_local5 == true)) { if (_local4[_local3] == null) { _local4[_local3] = []; } _local4[_local3].unshift(_local14); if ((_local14 == _local2.colorProp) || (_local5 == true)) { delete _local2.props[_local2.colorProp]; delete _local2.colorProp; } else { delete _local2.props[_local14]; } _local2.numProps--; if (_local2.numProps <= 0) { _local8 = true; break; } } } } if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { for (var _local19 in _local4) { var _local7 = tweens[_local19].targ; com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local7.addProperty) == "function") ? (_local7) : (("[MISSING(\"" + tweens[_local19].targID) + "\")]")), props:_local4[_local19], __zigoID__:tweens[_local19].targZID, during:((noInit == true) ? "add" : "remove")}); } } if (_local8 == true) { cleanUp(noInit); } } function alterTweens(type, targs, props, pauseFlag, noEvents, skipTo) { if (type == "lock") { tweens[String(targs.__zigoID__)].locked = props; return(undefined); } var _local11 = paramsObj(targs, props); if (_local11.none == true) { return(undefined); } var _local14 = _local11.all; var _local15 = _local11.allprops; var _local9 = ((_local14 == true) ? (tweens) : (Object(_local11.tg))); var _local8 = 0; for (var _local16 in _local9) { var _local7 = ((_local14 == true) ? (_local16) : (String(_local9[_local16].__zigoID__))); var _local5 = tweens[_local7]; var _local4 = ((_local15 == true) ? (_local5.props) : (_local11.props)); if (_local4.ALLCOLOR == true) { _local4[_local5.colorProp] = true; delete _local4.ALLCOLOR; } for (var _local10 in _local4) { _local8++; var _local2 = _local5.props[_local10]; if (type == "rewind") { if (pauseFlag == true) { _local2.pt = now; } _local2.ts = now; if (noEvents != true) { _local2.sf = false; if (_local2.scb != undefined) { _local2.scb.fired = false; } } } else if (type == "ff") { if (noEvents == true) { _local2.suppressEnd = true; } _local2.o = true; _local2.pt = -1; _local2.ts = now - _local2.d; } else if (type == "skipTo") { _local2.ts = Math.min(now, (_local2.ts + (now - _local2.ts)) - (skipTo * 1000)); } else if (type == "pause") { if (_local2.pt == -1) { _local2.pt = now; } } else if (type == "unpause") { if (_local2.pt != -1) { _local2.ts = now - (_local2.pt - _local2.ts); _local2.pt = -1; } } } } if ((type == "ff") && (_local8 > 0)) { update(); } else if ((type == "rewind") && (_local8 > 0)) { update(true); } } function getStatus(type, targ, param) { if (targ == null) { return(null); } var _local8 = String(targ).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; var _local4 = tweens[String(targ.__zigoID__)]; switch (type) { case "paused" : var _local2 = _local4.props; if (param != null) { if (_local2[String(param)] == undefined) { return(false); } return(Boolean(_local2[String(param)].pt != -1)); } for (var _local6 in _local2) { if (_local2[_local6].pt != -1) { return(true); } } return(false); case "active" : if (param == null) { return(Boolean(_local4 != undefined)); } if (String(param).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { return(Boolean(_local4.colorProp != undefined)); } return(Boolean(_local4.props[String(param)] != undefined)); case "count" : if (!_local8) { return(_local4.numProps); } var _local3 = 0; for (var _local6 in tweens) { _local3 = _local3 + tweens[_local6].numProps; } return(_local3); case "locked" : return(_local4.locked); } } function update(force) { var _local22 = {}; var _local24 = {}; var _local23 = {}; var _local15 = {}; var _local13 = {}; var _local14 = {}; var _local26 = false; var _local20 = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS; for (var _local35 in tweens) { var _local12 = tweens[_local35]; var _local5 = _local12.targ; var _local34 = _local12.props; var _local21 = _local5._listeners.length > 0; if (_local5.__zigoID__ == undefined) { _local26 = true; if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { var _local25 = []; for (var _local30 in _local34) { _local25.unshift(_local30); } com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local5.addProperty) == "function") ? (_local5) : (("[MISSING:" + _local12.targID) + "]")), props:_local25, __zigoID__:_local12.targZID, during:"update"}); } continue; } for (var _local30 in _local34) { var _local3 = _local34[_local30]; if (((_local3.ts > now) || (_local3.pt != -1)) && (force != true)) { continue; } var _local9 = now >= (_local3.ts + _local3.d); if (_local3.complex == -1) { var _local6; if (_local9 == true) { _local6 = _local3.ps + _local3.ch; if ((_local3.cycles > 1) || (_local3.cycles == 0)) { if (_local3.cycles > 1) { _local3.cycles--; } _local3.ps = _local6; _local3.ch = -_local3.ch; _local3.ts = now; _local9 = false; } } else { _local6 = _local3.ef(now - _local3.ts, _local3.ps, _local3.ch, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local6) == false) { if ((_local30 != "_bezier_") && ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false))))) { _local6 = Math.round(Number(_local6)); } if (_local3.special != true) { _local5[_local30] = _local6; } else if (_local3.fmp != -1) { _local3.fmp.setFilterProp(_local5, _local30, _local6); } else if (_local30 == "_bezier_") { var _local10 = _local3.bz; var _local18 = _local10.sx + (_local6 * (((2 * (1 - _local6)) * _local10.ctrlx) + (_local6 * _local10.chx))); var _local17 = _local10.sy + (_local6 * (((2 * (1 - _local6)) * _local10.ctrly) + (_local6 * _local10.chy))); if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) { _local18 = Math.round(Number(_local18)); _local17 = Math.round(Number(_local17)); } _local5._x = _local18; _local5._y = _local17; } else if (_local30 == "_frame") { MovieClip(_local5).gotoAndStop(Math.ceil(_local6)); } } } else { var _local16 = (_local9 == true) && ((_local3.cycles > 1) || (_local3.cycles == 0)); var _local7 = []; for (var _local27 in _local3.ch) { var _local4 = ((_local3.complex == 0) ? ([]) : ({})); for (var _local28 in _local3.ch[_local27]) { var _local8 = _local3.ch[_local27][_local28]; var _local11 = _local3.ps[_local27][_local28]; if (_local9 == true) { _local4[_local28] = _local11 + _local8; if (_local16 == true) { _local3.ch[_local27][_local28] = -_local8; } } else { _local4[_local28] = _local3.ef(now - _local3.ts, _local11, _local8, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local4[_local28]) == false) { if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) { _local4[_local28] = Math.round(_local4[_local28]); } } if ((_local3.fmp == -1) && (_local3.c == -1)) { _local5[_local30][_local28] = _local4[_local28]; } } _local7.push(_local4); if ((_local3.fmp == -1) && (_local3.c == 2)) { _local5[_local30][_local27] = Number(((_local4.rb << 16) | (_local4.gb << 8)) | _local4.bb); } } if (_local3.fmp != -1) { if (_local3.c == 1) { _local3.fmp.setFilterProp(_local5, _local30, ((_local7[0].rb << 16) | (_local7[0].gb << 8)) | _local7[0].bb); } else if (_local3.c == 2) { var _local19 = []; for (var _local28 in _local7) { _local19.unshift(((_local7[_local28].rb << 16) | (_local7[_local28].gb << 8)) | _local7[_local28].bb); } _local3.fmp.setFilterProp(_local5, _local30, _local19); } } else if (_local3.c != -1) { _local3.c.setTransform(_local7[0]); } if (_local16 == true) { if (_local3.cycles > 1) { _local3.cycles--; } _local9 = false; _local3.ts = now; _local3.ps = _local7; } } if (_local3.sf == false) { if (_local3.v != 0) { _local5._visible = true; } if (_local21 == true) { if (_local15[_local35] == undefined) { _local15[_local35] = [_local5, []]; } _local15[_local35][1].unshift(_local30); } _local3.sf = true; } if (_local3.scb.fired == false) { _local22[String(_local3.scb.id)] = _local3.scb; _local3.scb.fired = true; } if (_local21 == true) { if (_local13[_local35] == undefined) { _local13[_local35] = [_local5, []]; } _local13[_local35][1].unshift(_local30); } if (_local3.ucb != undefined) { _local24[String(_local3.ucb.id)] = _local3.ucb; } if (_local9 == true) { if (_local3.v === -1) { _local5._visible = false; } if (_local3.suppressEnd != true) { if (_local21 == true) { if (_local14[_local35] == undefined) { _local14[_local35] = [_local5, []]; } _local14[_local35][1].unshift(_local30); } if (_local3.ecb != undefined) { _local23[String(_local3.ecb.id)] = _local3.ecb; } } delete _local34[_local30]; if (_local30 == _local12.colorProp) { delete _local12.colorProp; } _local12.numProps--; if (_local12.numProps <= 0) { _local26 = true; } } delete _local3.suppressEnd; } } for (var _local35 in _local15) { _local15[_local35][0].broadcastMessage("onTweenStart", {target:_local15[_local35][0], props:_local15[_local35][1]}); } for (var _local35 in _local22) { _local22[_local35].f.apply(_local22[_local35].s, _local22[_local35].a); } for (var _local35 in _local13) { _local13[_local35][0].broadcastMessage("onTweenUpdate", {target:_local13[_local35][0], props:_local13[_local35][1]}); } for (var _local35 in _local24) { _local24[_local35].f.apply(_local24[_local35].s, _local24[_local35].a); } for (var _local35 in _local14) { _local14[_local35][0].broadcastMessage("onTweenEnd", {target:_local14[_local35][0], props:_local14[_local35][1]}); } for (var _local35 in _local23) { _local23[_local35].f.apply(_local23[_local35].s, _local23[_local35].a); } if (_local26) { cleanUp(); } now = getTimer(); } function cleanUp(noInit) { for (var _local4 in tweens) { var _local2 = tweens[_local4].targ; if ((tweens[_local4].numProps <= 0) || (_local2.__zigoID__ == undefined)) { if ((((_local2 != undefined) && (_local2.tween == undefined)) && (noInit != true)) && (_local2._listeners.length <= 0)) { com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(_local2); } delete tweens[_local4]; numTweens--; } } if (numTweens <= 0) { numTweens = 0; delete tweens; tweens = {}; if (noInit != true) { com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, "setup", [true]); } } } function paramsObj(targs, props, endvals, retainFade) { var _local6 = {}; _local6.all = String(targs).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; _local6.none = Boolean(targs == null); if (_local6.all == true) { _local6.tg = [null]; } else { _local6.tg = ((targs instanceof Array) ? (targs) : ([targs])); for (var _local11 in _local6.tg) { var _local7 = _local6.tg[_local11]; if ((_local7 == null) || (!((typeof(_local7) == "object") || (typeof(_local7) == "movieclip")))) { _local6.tg.splice(Number(_local11), 1); } } } _local6.allprops = props == null; var _local1; var _local4; var _local3 = {}; if (_local6.allprops == false) { if ((typeof(props) == "string") && ((String(props).indexOf(" ") > -1) || (String(props).indexOf(",") > -1))) { props = String(props.split(" ").join("")).split(","); } _local1 = ((props instanceof Array) ? (props.slice()) : ([props])); if (endvals != undefined) { if ((typeof(endvals) == "string") && ((String(endvals).indexOf(" ") > -1) || (String(endvals).indexOf(",") > -1))) { endvals = String(endvals.split(" ").join("")).split(","); } _local4 = ((endvals instanceof Array) ? (endvals.slice()) : ([endvals])); while (_local4.length < _local1.length) { _local4.push(_local4[_local4.length - 1]); } _local4.splice(_local1.length, _local4.length - _local1.length); } for (var _local11 in _local1) { var _local2 = Number(_local11); if ((_local1[_local11] != "_scale") && (_local1[_local11] != "_size")) { if (_local3[_local1[_local11]] == undefined) { if ((_local1[_local11] == "_fade") && (retainFade != true)) { _local1[_local11] = "_alpha"; } if (String(_local1[_local11]).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { _local1[_local11] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR; } _local3[_local1[_local11]] = true; } else { _local1.splice(_local2, 1); _local4.splice(_local2, 1); } } else { var _local8 = String(_local1.splice(_local2, 1)[0]); var _local5 = _local4.splice(_local2, 1)[0]; if (_local8 == "_scale") { if (_local3._xscale == undefined) { _local1.splice(_local2, 0, "_xscale"); _local4.splice(_local2, 0, _local5); _local3._xscale = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_yscale"); _local4.splice(_local2, 0, _local5); _local3._yscale = true; } } if (_local8 == "_size") { if (_local3._width == undefined) { _local1.splice(_local2, 0, "_width"); _local4.splice(_local2, 0, _local5); _local3._width = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_height"); _local4.splice(_local2, 0, _local5); _local3._height = true; } } } } for (var _local11 in _local1) { if (((_local1[_local11] == "_xscale") && (_local3._width == true)) || ((_local1[_local11] == "_yscale") && (_local3._height == true))) { _local1.splice(Number(_local11), 1); _local4.splice(Number(_local11), 1); delete _local3[_local1[_local11]]; } } } _local6.pa = _local1; _local6.va = _local4; _local6.props = _local3; return(_local6); } function getChangeObj(ps, ep, isFMP, useArray) { var _local3 = {map:((useArray == true) ? ([]) : ({})), changed:false}; for (var _local7 in ep) { if ((((((isFMP == true) && (_local7.charAt(1) == "b")) || (ep[_local7] != ps[_local7])) || (useArray == true)) && (ep[_local7] != null)) && (_global.isNaN(Number(ep[_local7])) == false)) { _local3.map[_local7] = ((typeof(ep[_local7]) == "string") ? (Number(ep[_local7])) : (ep[_local7] - ps[_local7])); if (_global.isNaN(_local3.map[_local7]) == true) { _local3.map[_local7] = 0; } else if (_local3.map[_local7] != 0) { _local3.changed = true; } } } return(_local3); } var numTweens = 0; }
Symbol 665 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing] Frame 0
class com.mosesSupposes.fuse.PennerEasing { function PennerEasing () { } static function linear(t, b, c, d) { return(((c * t) / d) + b); } static function easeInQuad(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOutQuad(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOutQuad(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static function easeInExpo(t, b, c, d) { return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b))); } static function easeOutExpo(t, b, c, d) { return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b))); } static function easeInOutExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b); } t--; return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b); } static function easeOutInExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return(((c / 2) * ((-Math.pow(2, -10 * t)) + 1)) + b); } return(((c / 2) * (Math.pow(2, 10 * (t - 2)) + 1)) + b); } static function easeInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } t = t - 1; return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } static function easeOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) + c) + b); } static function easeInOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { t = t - 1; return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } t = t - 1; return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static function easeOutInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { return(((0.5 * ((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + (c / 2)) + b); } return(((c / 2) + (0.5 * ((a * Math.pow(2, 10 * (t - 2))) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)))) + b); } static function easeInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / d; return((((c * t) * t) * (((s + 1) * t) - s)) + b); } static function easeOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = (t / d) - 1; return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } static function easeInOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { s = s * 1.525; return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b); } t = t - 2; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b); } static function easeOutInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) - s)) + 1)) + b); } static function easeOutBounce(t, b, c, d) { t = t / d; if (t < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { t = t - 0.545454545454545; return((c * (((7.5625 * t) * t) + 0.75)) + b); } if (t < 0.909090909090909) { t = t - 0.818181818181818; return((c * (((7.5625 * t) * t) + 0.9375)) + b); } t = t - 0.954545454545455; return((c * (((7.5625 * t) * t) + 0.984375)) + b); } static function easeInBounce(t, b, c, d) { return((c - easeOutBounce(d - t, 0, c, d)) + b); } static function easeInOutBounce(t, b, c, d) { if (t < (d / 2)) { return((easeInBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeOutInBounce(t, b, c, d) { if (t < (d / 2)) { return((easeOutBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeInBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeInCubic(t, b, c, d) { t = t / d; return((((c * t) * t) * t) + b); } static function easeOutCubic(t, b, c, d) { t = (t / d) - 1; return((c * (((t * t) * t) + 1)) + b); } static function easeInOutCubic(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((c / 2) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((t * t) * t) + 2)) + b); } static function easeOutInCubic(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((t * t) * t) + 1)) + b); } static function easeInQuart(t, b, c, d) { t = t / d; return(((((c * t) * t) * t) * t) + b); } static function easeOutQuart(t, b, c, d) { t = (t / d) - 1; return(((-c) * ((((t * t) * t) * t) - 1)) + b); } static function easeInOutQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((((c / 2) * t) * t) * t) * t) + b); } t = t - 2; return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b); } static function easeOutInQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return((((-c) / 2) * ((((t * t) * t) * t) - 1)) + b); } t--; return(((c / 2) * ((((t * t) * t) * t) + 1)) + b); } static function easeInQuint(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOutQuint(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOutQuint(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static function easeOutInQuint(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInSine(t, b, c, d) { return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b); } static function easeOutSine(t, b, c, d) { return((c * Math.sin((t / d) * (Math.PI/2))) + b); } static function easeInOutSine(t, b, c, d) { return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b); } static function easeOutInSine(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.sin((Math.PI * t) / 2)) + b); } t--; return((((-c) / 2) * (Math.cos((Math.PI * t) / 2) - 2)) + b); } static function easeInCirc(t, b, c, d) { t = t / d; return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b); } static function easeOutCirc(t, b, c, d) { t = (t / d) - 1; return((c * Math.sqrt(1 - (t * t))) + b); } static function easeInOutCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b); } t = t - 2; return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b); } static function easeOutInCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return(((c / 2) * Math.sqrt(1 - (t * t))) + b); } t--; return(((c / 2) * (2 - Math.sqrt(1 - (t * t)))) + b); } static var registryKey = "pennerEasing"; }
Symbol 666 MovieClip [__Packages.com.mosesSupposes.fuse.Fuse] Frame 0
class com.mosesSupposes.fuse.Fuse extends Array { var _nID, _aDefaultTargs, length, scope, _nIndex, _oDel1, dispatchEvent, label, autoClear, duration, easing; function Fuse (fuseAction) { super(); mx.events.EventDispatcher.initialize(this); _nID = registerInstance(this); _nState = -1; _aDefaultTargs = new Array(); if (arguments.length > 0) { splice.apply(this, new Array(0, 0).concat(arguments)); } var _local4 = ["concat", "join", "sort", "sortOn"]; for (var _local5 in _local4) { com.mosesSupposes.fuse.Fuse.prototype[_local4[_local5]] = function () { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("105"); } }; } } function addEventListener(event, handler) { } function removeEventListener(event, handler) { } function destroy() { if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " destroy."); } stop(true); splice(0, length); _aDefaultTargs = null; scope = null; _global.ASSetPropFlags(this, null, 0, 7); var _local4 = _nID; for (var _local3 in this) { delete this[_local3]; } removeInstanceAt(_local4, true); } static function getInstance(idOrLabel) { if (typeof(idOrLabel) == "number") { return(_aInstances[idOrLabel]); } if (typeof(idOrLabel) == "string") { for (var _local2 in _aInstances) { if (com.mosesSupposes.fuse.Fuse(_aInstances[_local2]).label == idOrLabel) { return(_aInstances[_local2]); } } } return(null); } static function getInstances(stateFilter, targets) { var _local10 = (stateFilter == null) || (stateFilter.toUpperCase() == "ALL"); if (!(targets instanceof Array)) { targets = arguments.slice(1); } var _local8 = []; for (var _local11 in _aInstances) { var _local5 = _aInstances[_local11]; if (_aInstances[_local11] == null) { continue; } if ((_local10 == false) && (_local5.__get__state() != stateFilter)) { continue; } var _local3 = targets.length == 0; if (_local3 == false) { if (_local3 == true) { continue; } var _local2 = _local5.getActiveTargets(true); for (var _local7 in targets) { for (var _local6 in _local2) { if (_local2[_local6] == targets[_local7]) { _local3 = true; break; } } } } if (_local3 == true) { _local8.unshift(_local5); } } return(_local8); } function get id() { return(_nID); } function get state() { switch (_nState) { case -1 : return("stopped"); case 0 : return("paused"); case 1 : return("playing"); } return(undefined); } function get currentIndex() { return(_nIndex); } function get currentLabel() { return(this[_nIndex].label); } function get target() { return(((_aDefaultTargs.length == 1) ? (_aDefaultTargs[0]) : (_aDefaultTargs))); } function set target(t) { delete _aDefaultTargs; if (t != null) { addTarget(t); } //return(target); } function addTarget(t) { if (_aDefaultTargs == null) { _aDefaultTargs = []; } if (arguments[0] instanceof Array) { arguments=arguments[0];//parameter overwritten arguments[0]; } for (var _local5 in arguments) { var _local3 = false; for (var _local4 in _aDefaultTargs) { if (arguments[_local5] == _aDefaultTargs[_local4]) { _local3 = true; break; } } if (_local3 == false) { _aDefaultTargs.push(arguments[_local5]); } } } function removeTarget(t) { if ((_aDefaultTargs == null) || (_aDefaultTargs.length == 0)) { return(undefined); } if (arguments[0] instanceof Array) { arguments=arguments[0];//parameter overwritten arguments[0]; } for (var _local4 in arguments) { for (var _local3 in _aDefaultTargs) { if (arguments[_local4] == _aDefaultTargs[_local3]) { _aDefaultTargs.splice(Number(_local3), 1); } } } } function getActiveTargets(includeDefaults) { if (_nState == -1) { return([]); } var _local2; if (includeDefaults == true) { _local2 = _aDefaultTargs.slice(); } else { _local2 = []; } return(com.mosesSupposes.fuse.FuseItem(this[_nIndex]).getActiveTargets(_local2)); } function clone() { var _local3 = []; var _local2 = 0; while (_local2 < length) { _local3.push(com.mosesSupposes.fuse.FuseItem(this[_local2]).getInitObj()); _local2++; } var _local4 = new com.mosesSupposes.fuse.Fuse(); _local4.push.apply(_local4, _local3); _local4.scope = scope; _local4.__set__target(target); return(_local4); } function push(fuseAction) { splice.apply(this, new Array(length, 0).concat(arguments)); return(length); } function pushTween(targets, props, endvals, seconds, ease, delay, callback) { push({__buildMode:true, tweenargs:arguments}); return(length); } function pop() { var _local2 = com.mosesSupposes.fuse.FuseItem(this[length - 1]).getInitObj(); splice(length - 1, 1); return(_local2); } function unshift(fuseAction) { splice.apply(this, new Array(0, 0).concat(arguments)); return(length); } function shift() { var _local2 = com.mosesSupposes.fuse.FuseItem(this[0]).getInitObj(); splice(0, 1); return(_local2); } function splice(startIndex, deleteCount, fuseAction) { stop(true); var _local7 = Number(arguments.shift()); if (_local7 < 0) { _local7 = length + _local7; } deleteCount = Number(arguments.shift()); var _local8 = new Array(); var _local5 = 0; while (_local5 < arguments.length) { var _local4 = ((arguments[_local5] instanceof com.mosesSupposes.fuse.Fuse) ? (arguments[_local5]) : (new com.mosesSupposes.fuse.FuseItem(_local7 + _local5, arguments[_local5], _nID))); addEventListener("onStop", _local4); addEventListener("evtSetStart", _local4); _local8.push(_local4); _local5++; } var _local6 = super.splice.apply(this, new Array(_local7, deleteCount).concat(_local8)); for (var _local9 in _local6) { var _local4 = _local6[_local9]; removeEventListener("onStop", _local4); removeEventListener("evtSetStart", _local4); if (_local4 instanceof com.mosesSupposes.fuse.Fuse) { _local4.removeEventListener("onComplete", _oDel1); } else { _local4.destroy(); } } _local5 = 0; while (_local5 < length) { com.mosesSupposes.fuse.FuseItem(this[_local5])._nItemID = _local5; _local5++; } } function slice(indexA, indexB) { var _local6 = super.slice(indexA, indexB); var _local5 = new Array(); var _local4 = 0; while (_local4 < arguments.length) { _local5.push(com.mosesSupposes.fuse.FuseItem(this[_local4]).getInitObj()); _local4++; } return(_local5); } function reverse() { stop(true); super.reverse(); var _local3 = 0; while (_local3 < length) { com.mosesSupposes.fuse.FuseItem(this[_local3])._nItemID = _local3; _local3++; } } function traceItems(indexA, indexB) { var _local5 = ""; var _local4 = super.slice(indexA, indexB); _local5 = _local5 + ((getHandle() + " traceItems:") + "\n----------\n"); var _local3 = 0; while (_local3 < _local4.length) { if (_local4[_local3] instanceof com.mosesSupposes.fuse.Fuse) { _local5 = _local5 + (((((getHandle() + ">Item#") + _local3) + ": [Nested Fuse] ") + _local4[_local3]) + newline); } else { _local5 = _local5 + (_local4[_local3] + newline); } _local3++; } _local5 = _local5 + "----------"; com.mosesSupposes.fuse.FuseKitCommon.output(_local5); } function toString() { return(((getHandle() + " (contains ") + length) + ((length == 1) ? " item)" : " items)")); } function setStartProps(trueOrItemIDs) { var _local8 = ((arguments.length == 0) || (trueOrItemIDs === true)) || (trueOrItemIDs == com.mosesSupposes.fuse.FuseKitCommon.ALL); dispatchEvent({target:this, type:"evtSetStart", all:_local8, filter:((trueOrItemIDs instanceof Array) ? (trueOrItemIDs) : arguments), curIndex:((_nState == 1) ? (_nIndex) : -1), targs:_aDefaultTargs, scope:scope}); } function start(setStart) { close(); stop(true); _nState = 1; if (length == 0) { advance(false, true, false); } if ((setStart != null) && (setStart != false)) { setStartProps.apply(this, arguments); } dispatchEvent({target:this, type:"onStart"}); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " start."); } playCurrentItem(); } function stop() { if (_nState != -1) { var _local3 = 0; while (_local3 < length) { if (this[_local3] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_local3]).removeEventListener("onComplete", _oDel1); if (com.mosesSupposes.fuse.Fuse(this[_local3]).__get__state() == "playing") { com.mosesSupposes.fuse.Fuse(this[_local3]).stop(); } } else if ((_local3 == _nIndex) || (com.mosesSupposes.fuse.FuseItem(this[_local3]).hasTriggerFired() == true)) { com.mosesSupposes.fuse.FuseItem(this[_local3]).stop(); } _local3++; } } var _local4 = _nState; _nState = -1; if ((!(arguments[0] === true)) && (_local4 != -1)) { dispatchEvent({target:this, type:"onStop"}); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " stop."); } } _nIndex = 0; clearInterval(_nDelay); _nTimeCache = (_nDelay = -1); } function skipTo(indexOrLabel) { close(); var _local3 = normalizeIndex(indexOrLabel); if (_local3 == null) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("102", "skipTo", String(indexOrLabel)); } return(undefined); } if ((_local3 == _nIndex) && (arguments[1] === true)) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("103", String(indexOrLabel), _nIndex); } } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).removeEventListener("onComplete", _oDel1); } stop(true); _nIndex = _local3; var _local4 = _nState; _nState = 1; if (_local4 == -1) { dispatchEvent({target:this, type:"onStart"}); } playCurrentItem(); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output("skipTo:" + _local3); } } function pause() { if (_nState == 1) { var _local2 = 0; while (_local2 <= _nIndex) { if ((this[_local2].state === "playing") || (this[_local2]._nPlaying > 0)) { this[_local2].pause(); } _local2++; } if (_nTimeCache != -1) { _nTimeCache = _nTimeCache - getTimer(); clearInterval(_nDelay); } _nState = 0; if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " pause."); } dispatchEvent({target:this, type:"onPause"}); } } function resume() { if (_nState != 0) { return(undefined); } close(); _nState = 1; if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " resume."); } dispatchEvent({target:this, type:"onResume"}); if (_nTimeCache != -1) { playCurrentItem(false, true); } var _local2 = 0; while (_local2 <= _nIndex) { if ((this[_local2] instanceof com.mosesSupposes.fuse.Fuse) && (this[_local2].state == "paused")) { com.mosesSupposes.fuse.Fuse(this[_local2]).resume(); } else if (this[_local2]._nPlaying == 0) { com.mosesSupposes.fuse.FuseItem(this[_local2]).pause(true); } _local2++; } } function fastForward(resumeAtIndexOrLabel) { var _local3 = ((resumeAtIndexOrLabel == null) ? (length) : (normalizeIndex(resumeAtIndexOrLabel))); if (_local3 == null) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("102", "fastForward", String(resumeAtIndexOrLabel)); } return(undefined); } if ((_local3 == 0) || (_local3 <= _nIndex)) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("104", _local3); } skipTo(_local3); return(undefined); } clearInterval(_nDelay); var _local2 = _nIndex; while (_local2 < _local3) { this[_local2].fastForward(null, _aDefaultTargs, scope); advance(false, true, !((_local2 == (_local3 - 1)) && (_local3 < length))); _local2++; } } function getHandle() { return("-Fuse" + ((label != undefined) ? ((" \"" + label) + "\"") : ("#" + String(_nID)))); } function advance(wasTriggered, silentStop, isFF) { if (_nState < 1) { if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("** DEVELOPER ALERT: " + getHandle()) + " advance called out of turn! (state:") + state) + " currentIndex:") + currentIndex) + ") Please report this Fuse's details to MosesSupposes.com. **"); } return(undefined); } var _local3 = false; if ((_nIndex == (length - 1)) && (isFF != true)) { var _local2 = length - 1; while (_local2 > -1) { if (com.mosesSupposes.fuse.FuseItem(this[_local2])._nPlaying > -1) { return(undefined); } _local2--; } _local3 = true; } if ((wasTriggered == true) && (_local3 == false)) { return(undefined); } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).removeEventListener("onComplete", _oDel1); } if ((_nIndex + 1) >= length) { stop(silentStop); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " complete."); } _nIndex = length - 1; dispatchEvent({target:this, type:"onComplete"}); if ((autoClear == true) || ((!(autoClear === false)) && (AUTOCLEAR == true))) { destroy(); } return(undefined); } _nIndex++; if (isFF == true) { return(undefined); } if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output((getHandle() + " advance: ") + _nIndex); } dispatchEvent({target:this, type:"onAdvance"}); playCurrentItem(); } function playCurrentItem(postDelay, resumeDelay) { clearInterval(_nDelay); if ((postDelay != true) || (resumeDelay == true)) { var _local3 = 0; if (resumeDelay != true) { _local3 = (com.mosesSupposes.fuse.FuseItem(this[_nIndex]).evalDelay(scope) || 0) * 1000; } if ((_local3 > 0) || (resumeDelay == true)) { if (resumeDelay == true) { _local3 = _nTimeCache; _nTimeCache = _nTimeCache + getTimer(); } else { var _local4 = Math.abs(_global.com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER); if (_global.isNaN(_local4) == true) { _local4 = 1; } _local3 = _local3 * _local4; _nTimeCache = getTimer() + _local3; } _nDelay = setInterval(this, "playCurrentItem", _local3, true); return(undefined); } } _nTimeCache = (_nDelay = -1); if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { if (_oDel1 == null) { _oDel1 = mx.utils.Delegate.create(this, advance); } com.mosesSupposes.fuse.Fuse(this[_nIndex]).addEventListener("onComplete", _oDel1); com.mosesSupposes.fuse.Fuse(this[_nIndex]).start(_aDefaultTargs, scope); } else { var _local6 = com.mosesSupposes.fuse.FuseItem(this[_nIndex]).startItem(_aDefaultTargs, scope, duration, easing); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output((getHandle() + " props tweened: ") + _local6); } } } function evtSetStart(o) { setStartProps.apply(this, o.filter); } static function open(fuseOrID) { var _local3 = _global.com.mosesSupposes.fuse.ZigoEngine; if (_local3 == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("106"); return(null); } _local3.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.FuseItem); if (_oBuildMode == null) { _oBuildMode = {curID:-1, prevID:-1, curGroup:null}; } else if ((_oBuildMode != null) && (_oBuildMode.curID > -1)) { close(); } if (fuseOrID != null) { if (fuseOrID instanceof com.mosesSupposes.fuse.Fuse) { _oBuildMode.curID = fuseOrID.id; } else if (getInstance(fuseOrID) != null) { _oBuildMode.curID = getInstance(fuseOrID).id; } else { com.mosesSupposes.fuse.FuseKitCommon.error("107"); return(null); } } else { _oBuildMode.curID = (new com.mosesSupposes.fuse.Fuse()).id; } _oBuildMode.prevID = _oBuildMode.curID; return(getInstance(_oBuildMode.curID)); } static function openGroup(fuseOrID) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { open(fuseOrID); } else if (_oBuildMode.curGroup != null) { closeGroup(); } _oBuildMode.curGroup = new Array(); return(getInstance(_oBuildMode.curID)); } static function closeGroup() { if ((_oBuildMode.curGroup == null) || (!((_oBuildMode != null) && (_oBuildMode.curID > -1)))) { return(undefined); } getInstance(_oBuildMode.curID).push(_oBuildMode.curGroup); _oBuildMode.curGroup = null; } static function close() { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } if (_oBuildMode.curGroup != null) { closeGroup(); } _oBuildMode.curID = -1; } static function closeAndStart(setStart) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } var _local2 = getInstance(_oBuildMode.curID); close(); _local2.start.apply(_local2, arguments); } static function startRecent(setStart) { var _local2 = getInstance(_oBuildMode.prevID); if (_local2 != null) { _local2.start.apply(_local2, arguments); } else { com.mosesSupposes.fuse.FuseKitCommon.error("108"); } } static function addCommand(commandOrScope, indexOrFunc, argument) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } var _local4 = _oBuildMode.curGroup != null; var _local2 = ((_local4 == true) ? (_oBuildMode.curGroup) : (getInstance(_oBuildMode.curID))); if (typeof(commandOrScope) == "string") { var _local7 = indexOrFunc != undefined; var _local5 = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(String(commandOrScope), _local4, _local7, OUTPUT_LEVEL, true); if (_local5 == true) { _local2.push({__buildMode:true, command:commandOrScope, commandargs:indexOrFunc}); } } else { _local2.push({__buildMode:true, scope:commandOrScope, func:indexOrFunc, args:arguments.slice(2)}); } } static function addBuildItem(args) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(false); } var _local1 = ((_oBuildMode.curGroup != null) ? (_oBuildMode.curGroup) : (getInstance(_oBuildMode.curID))); if ((args.length == 1) && (typeof(args[0]) == "object")) { _local1.push(args[0]); } else { _local1.push({__buildMode:true, tweenargs:args}); } return(true); } function normalizeIndex(indexOrLabel) { var _local4; if (typeof(indexOrLabel) == "string") { _local4 = -1; var _local3 = 0; while (_local3 < length) { if (this[_local3].label == String(indexOrLabel)) { _local4 = _local3; break; } _local3++; } if (_local4 == -1) { return(null); } } else { _local4 = Number(indexOrLabel); } if ((_global.isNaN(_local4) == true) || (Math.abs(_local4) >= length)) { return(null); } if (_local4 < 0) { _local4 = Math.max(0, length + _local4); } return(_local4); } static function registerInstance(s) { if (_aInstances == null) { _aInstances = new Array(); } return(_aInstances.push(s) - 1); } static function removeInstanceAt(id, isDestroyCall) { if (isDestroyCall != true) { com.mosesSupposes.fuse.Fuse(_aInstances[id]).destroy(); } delete _aInstances[id]; } static var registryKey = "fuse"; static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION; static var OUTPUT_LEVEL = 1; static var AUTOCLEAR = false; static var AUTOSTOP = true; var _nState = -1; var _nDelay = -1; var _nTimeCache = -1; static var _aInstances = null; static var _oBuildMode = null; }
Symbol 667 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 668 MovieClip [__Packages.com.mosesSupposes.fuse.FuseItem] Frame 0
class com.mosesSupposes.fuse.FuseItem { static var _ZigoEngine, _aInstances; var _nItemID, _nFuseID, _initObj, _aProfiles, _oElements, _oTemps, _sImage, _aTweens, _oTwBeingAdded; function FuseItem (id, o, fuseID) { _ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; _nItemID = id; _nFuseID = fuseID; _initObj = o; _aProfiles = []; _oElements = {aEvents:[]}; _oTemps = {}; if (!(o instanceof Array)) { o = [o]; } var _local19 = _global.com.mosesSupposes.fuse.Fuse; _oTemps.outputLevel = ((_local19 != undefined) ? (_local19.OUTPUT_LEVEL) : (_global.com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL)); if (o.length == 1) { var _local18 = o[0]; var _local12 = ((_local18.action != undefined) ? (_local18.action) : (_local18)); if ((_local12.__buildMode != true) && (_local12.command != undefined)) { _oElements.command = _local12.command; _oElements.scope = _local12.scope; _oElements.args = _local12.args; _sImage = " Elements:[" + ("command" + ((typeof(_local12.command) == "string") ? ((":\"" + _local12.command) + "\", ") : ", ")); if (_local12.delay != undefined) { _sImage = _sImage + "delay, "; _oElements.delay = _local12.delay; } _sImage = _sImage.slice(0, -2) + "]"; if ((_local12.func != undefined) && (_oTemps.outputLevel > 0)) { com.mosesSupposes.fuse.FuseKitCommon.error("113"); } return; } } _oTemps.sImgS = ""; _oTemps.sImgE = ""; _oTemps.sImgB = ""; _oTemps.afl = 0; _oTemps.ael = 0; _oTemps.twDelayFlag = false; _oTemps.nActions = o.length; _oTemps.fuseProps = com.mosesSupposes.fuse.FuseKitCommon._fuseprops(); _oTemps.cbProps = com.mosesSupposes.fuse.FuseKitCommon._cbprops(); _oTemps.sUP = com.mosesSupposes.fuse.FuseKitCommon._underscoreable(); _oTemps.sCT = com.mosesSupposes.fuse.FuseKitCommon._cts(); _oTemps.bTriggerFound = false; for (var _local17 in o) { var _local3 = o[_local17]; if ((_local3.label != undefined) && (typeof(_local3.label) == "string")) { _oElements.label = _local3.label; } var _local4; var _local8 = Boolean(typeof(_local3.action) == "object"); if (_local8 == true) { var _local7 = ((_local3.action instanceof Array) ? (_local3.action) : ([_local3.action])); _local4 = {delay:_local3.delay, target:_local3.target, addTarget:_local3.addTarget, label:_local3.label, trigger:_local3.trigger}; for (var _local15 in _local7) { var _local5 = parseProfile(_local7[_local15], _local4); if (_local5 != undefined) { _aProfiles.unshift(_local5); } } } else { var _local7 = _local3; var _local5 = parseProfile(_local7, _local4); if (_local5 != undefined) { _aProfiles.unshift(_local5); } } } _sImage = ""; var _local16 = ""; if (_oTemps.afl > 0) { _local16 = _local16 + ((_oTemps.afl > 1) ? (_oTemps.afl + " callbacks, ") : "callback, "); } if ((_oElements.delay != undefined) || (_oTemps.twDelayFlag == true)) { _local16 = _local16 + "delay, "; } if (_oTemps.bTriggerFound == true) { _local16 = _local16 + "trigger, "; } if (_oTemps.ael > 0) { _local16 = _local16 + ((_oTemps.ael > 1) ? (_oTemps.ael + " events, ") : "event, "); } if (_local16 != "") { _sImage = _sImage + ((" Elements:[" + _local16.slice(0, -2)) + "]"); } if (_oTemps.sImgS != "") { _sImage = _sImage + ((" StartProps:[" + _oTemps.sImgS.slice(0, -2)) + "]"); } if (_oTemps.sImgE != "") { _sImage = _sImage + ((" Props:[" + _oTemps.sImgE.slice(0, -2)) + "]"); } if (_oTemps.sImgB != "") { _sImage = _sImage + ((" Simple Syntax Props:[" + _oTemps.sImgB.slice(0, -1)) + "]"); } if (_sImage.slice(-2) == ", ") { _sImage = _sImage.slice(0, -2); } delete _oTemps; } static function doTween() { for (var _local3 in arguments) { if (typeof(arguments[_local3]) == "object") { if (_aInstances == undefined) { _aInstances = new Array(); } var _local2 = new com.mosesSupposes.fuse.FuseItem(_aInstances.length, arguments[_local3], -1); return(_local2.startItem()); } } } function get label() { return(_oElements.label); } function hasTriggerFired() { return(_bTrigger == true); } function getInitObj() { return(_initObj); } function getActiveTargets(targetList) { if (_aTweens.length <= 0) { return(targetList); } var _local3 = false; for (var _local5 in _aTweens) { for (var _local4 in targetList) { if (targetList[_local4] == _aTweens[_local5].targ) { _local3 = true; break; } } if (_local3 == false) { targetList.unshift(_aTweens[_local5].targ); } } return(targetList); } function toString() { return(String((_sID() + ":") + _sImage)); } function evalDelay(scope) { var _local3 = _oElements.delay; if (_local3 instanceof Function) { _local3 = _local3.apply(((_oElements.delayscope != undefined) ? (_oElements.delayscope) : (scope))); } if (typeof(_local3) == "string") { _local3 = parseClock(String(_local3)); } if (_global.isNaN(Number(_local3)) == true) { return(0); } return(Number(_local3)); } function startItem(targs, scope, duration, easing) { _ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; var _local11 = _global.com.mosesSupposes.fuse.Fuse; var _local5 = ((_local11 != undefined) ? (_local11.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); if (_oElements.command != null) { var _local12 = _oElements.scope || (scope); var _local10 = ((_oElements.command instanceof Function) ? (String(_oElements.command.apply(_local12))) : (String(_oElements.command))); var _local6 = ((_oElements.args instanceof Function) ? (_oElements.args.apply(_local12)) : (_oElements.args)); var _local13 = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(_local10, _aProfiles.length > 0, (_local6 != null) && (!((_local6 instanceof Array) && (_local6.length == 0))), _local5, false); if (_local13 == true) { _nPlaying = 1; if (!(_local6 instanceof Array)) { _local6 = ((_local6 == null) ? ([]) : ([_local6])); } dispatchRequest(String(_local10), _local6); } if ((_local13 == false) || (_local10 == "setStartProps")) { complete(); } return(null); } if (_aTweens.length > 0) { stop(); } _ZigoEngine.addListener(this); _nPlaying = 2; var _local4 = null; if (_aProfiles.length > 0) { if (_ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("112"); } else { _local4 = doTweens(targs, scope, duration, easing, false, false); } } _nPlaying = 1; var _local3 = _oElements.aEvents; for (var _local9 in _local3) { if (((_local4 == null) && (_aTweens.length > 0)) && (_local3[_local9].skipLevel == 2)) { continue; } fireEvents(_local3[_local9], scope, _local5, targs); } if (((_local4 == null) && (_aTweens.length <= 0)) && (_nPlaying == 1)) { if (_local5 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((_sID() + " no tweens added - item done. [getTimer()=") + getTimer()) + "]"); } complete(); } return(_local4); } function stop() { var _local2 = _nPlaying > -1; _nPlaying = -1; if (_local2 == true) { onStop(); } _ZigoEngine.removeListener(this); } static function removeInstance(id) { com.mosesSupposes.fuse.FuseItem(_aInstances[id]).destroy(); delete _aInstances[id]; } function onStop() { _bStartSet = false; for (var _local3 in _aTweens) { var _local2 = _aTweens[_local3]; _local2.targ.removeListener(this); _ZigoEngine.removeTween(_local2.targ, _local2.props); delete _aTweens[_local3]; } delete _aTweens; _bTrigger = false; } function evtSetStart(o) { if ((_sImage.indexOf("StartProps:") == -1) || (o.curIndex == _nItemID)) { return(undefined); } if (o.all != true) { var _local3 = false; for (var _local4 in o.filter) { if ((Number(o.filter[_local4]) == _nItemID) || (String(o.filter[_local4]) == _oElements.label)) { _local3 = true; } } if (_local3 == false) { return(undefined); } } _nPlaying = 2; doTweens(o.targs, o.scope, null, null, true, false); _nPlaying = -1; _bStartSet = true; } function pause(resume) { if (_nPlaying == -1) { return(undefined); } _nPlaying = ((resume == true) ? 1 : 0); for (var _local12 in _aTweens) { var _local4 = _aTweens[_local12]; var _local2 = _local4.targ; var _local3 = _local4.props; if (resume == true) { var _local5 = []; var _local6 = _aTweens.length; for (var _local8 in _local3) { if (_ZigoEngine.isTweenPaused(_local2, _local3[_local8]) == false) { _local5.push(_local3[_local8]); } } if (_local5.length > 0) { onTweenEnd({__zigoID__:_local4.targZID, props:_local5, isResume:true}); } if (_aTweens.length == _local6) { _local2.addListener(this); _ZigoEngine.unpauseTween(_local2, _local4.props); } } else { _local2.removeListener(this); _ZigoEngine.pauseTween(_local2, _local4.props); } } if ((resume == true) && (_aTweens.length <= 0)) { complete(); } else if (resume == true) { _ZigoEngine.addListener(this); } else { _ZigoEngine.removeListener(this); } } function fastForward(ignore, targs, scope) { if (_nPlaying == 1) { for (var _local4 in _aTweens) { var _local3 = _aTweens[_local4]; var _local2 = _local3.targ; _local2.removeListener(this); _ZigoEngine.ffTween(_local2, _local3.props, true); } return(undefined); } if (_nPlaying == 2) { com.mosesSupposes.fuse.FuseKitCommon.error("125", _nItemID); } _nPlaying = 2; doTweens(targs, scope, null, null, false, true); stop(); } function destroy() { var _local3 = _nPlaying > -1; _nPlaying = -1; for (var _local5 in _aTweens) { var _local2 = _aTweens[_local5]; _local2.targ.removeListener(this); if (_local3 == true) { _ZigoEngine.removeTween(_local2.targ, _local2.props); } delete _aTweens[_local5]; } for (var _local4 in this) { delete this[_local4]; } } function dispatchRequest(type, args) { var _local4 = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID); if ((!(args instanceof Array)) && (args != null)) { args = new Array(args); } Function(_local4[type]).apply(_local4, args); } function _sID() { var _local3; if (_nFuseID == -1) { _local3 = "-One-off tween "; } else { _local3 = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID).getHandle(); } _local3 = _local3 + (">Item #" + String(_nItemID)); if (_oElements.label != undefined) { _local3 = _local3 + ((" \"" + _oElements.label) + "\""); } return(_local3); } function parseProfile(obj, aap) { var _local40; var _local2; var _local8; if (obj.__buildMode == true) { if (obj.command != undefined) { if (obj.command == "delay") { _oElements.delay = obj.commandargs; } else if (obj.command == "trigger") { if (_oTemps.bTriggerFound == false) { _oTemps.bTriggerFound = true; return({trigger:obj.commandargs, _doTimer:true}); } if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("124", _sID(), obj.commandargs); } } else { _oElements.command = obj.command; _oElements.args = obj.commandargs; } } if (obj.func != undefined) { _oTemps.afl++; _oElements.aEvents.unshift({scope:obj.scope, func:obj.func, args:obj.args}); } if (obj.tweenargs != undefined) { _oTemps.sImgB = _oTemps.sImgB + (obj.tweenargs[1].toString() + ","); return(obj); } return(null); } var _local4 = {delay:((aap.delay != undefined) ? (aap.delay) : (obj.delay)), ease:obj.ease, seconds:obj.seconds, event:obj.event, eventparams:obj.eventparams, skipLevel:((((typeof(obj.skipLevel) == "number") && (obj.skipLevel >= 0)) && (obj.skipLevel <= 2)) ? (obj.skipLevel) : (_ZigoEngine.SKIP_LEVEL)), roundResults:obj.roundResults, oSP:{}, oEP:{}, oAFV:{}}; var _local22 = ((aap.trigger != undefined) ? (aap.trigger) : (obj.trigger)); if (_local22 != undefined) { if (_oTemps.bTriggerFound == false) { _local4.trigger = _local22; _oTemps.bTriggerFound = true; } else if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("124", _sID(), _local22); } } if (_local4.delay == undefined) { _local4.delay = obj.startAt; } if (_local4.ease == undefined) { _local4.ease = obj.easing; } if (_local4.seconds == undefined) { _local4.seconds = ((obj.duration != undefined) ? (obj.duration) : (obj.time)); } if (aap.target != undefined) { _local4.target = ((aap.target instanceof Array) ? (aap.target) : ([aap.target])); } else if (obj.target != undefined) { _local4.target = ((obj.target instanceof Array) ? (obj.target) : ([obj.target])); } if (obj.addTarget != undefined) { _local4.addTarget = ((obj.addTarget instanceof Array) ? (obj.addTarget) : ([obj.addTarget])); } if (aap.addTarget != undefined) { if (_local4.addTarget == undefined) { _local4.addTarget = ((aap.addTarget instanceof Array) ? (aap.addTarget) : ([aap.addTarget])); } else { _local4.addTarget = ((_local4.addTarget instanceof Array) ? (_local4.addTarget.concat(aap.addTarget)) : (new Array(_local4.addTarget).concat(aap.addTarget))); } } var _local15 = false; for (_local2 in obj) { var _local11 = obj[_local2]; if (_oTemps.cbProps.indexOf(("|" + _local2) + "|") > -1) { if (_local2 != "skipLevel") { _local4[_local2] = _local11; } continue; } if (_oTemps.fuseProps.indexOf(("|" + _local2) + "|") > -1) { if (((_local2 == "command") && (_oTemps.nActions > 1)) && (_oTemps.outputLevel > 0)) { com.mosesSupposes.fuse.FuseKitCommon.error("109", String(_local11), true); } continue; } if (typeof(_local11) == "object") { var _local10 = ((_local11 instanceof Array) ? ([]) : ({})); for (_local8 in _local11) { _local10[_local8] = _local11[_local8]; } _local11 = _local10; } var _local3; var _local21; if (_local2.indexOf("start_") == 0) { if (((_local2 == "start_controlX") || (_local2 == "start_controlY")) || (_local2.indexOf("_bezier_") > -1)) { if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("110", _sID(), _local2); } continue; } _local2 = _local2.slice(6); _local3 = _local4.oSP; } else { _local3 = _local4.oEP; } if ((ADD_UNDERSCORES == true) && (_oTemps.sUP.indexOf(("|_" + _local2) + "|") > -1)) { _local2 = "_" + _local2; } if (_oTemps.sCT.indexOf(("|" + _local2) + "|") > -1) { var _local13 = (_local2 == "_tintPercent") && (_local3.colorProp.p == "_tint"); var _local12 = (_local2 == "_tint") && (_local3.colorProp.p == "_tintPercent"); if (((_local3.colorProp == undefined) || (_local13 == true)) || (_local12 == true)) { if (_local13 == true) { _local3.colorProp = {p:"_tint", v:{tint:_local3.colorProp.v, percent:_local11}}; } else if (_local12 == true) { _local3.colorProp = {p:"_tint", v:{tint:_local11, percent:_local3.colorProp.v}}; } else { _local3.colorProp = {p:_local2, v:_local11}; } _local15 = true; } else if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), _local2); } } else if (_local11 != null) { _local3[_local2] = _local11; _local15 = true; } } if ((_local15 == false) && ((_local4.trigger != undefined) || (((_local4.delay != undefined) || (_local4.seconds != undefined)) && (((_local4.startfunc != undefined) || (_local4.updfunc != undefined)) || ((_local4.func != undefined) && (_oTemps.nActions > 1)))))) { if (_ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("116"); } else { if (_local4.func != undefined) { _oTemps.afl++; } if (_local4.event != undefined) { _oTemps.ael++; } _local4._doTimer = true; if (_local4.delay != undefined) { _oTemps.twDelayFlag = true; } return(_local4); } } if (_local15 == true) { var _local17 = _local4.oEP.colorProp != undefined; var _local7 = 0; while (_local7 < 2) { var _local3 = ((_local7 == 0) ? (_local4.oSP) : (_local4.oEP)); var _local6 = ((_local7 == 0) ? (_oTemps.sImgS) : (_oTemps.sImgE)); var _local9 = _local3.colorProp.p; if (_local9 != undefined) { _local3[_local9] = _local3.colorProp.v; delete _local3.colorProp; } if (((_local3._xscale != undefined) || (_local3._scale != undefined)) && ((_local3._width != undefined) || (_local3._size != undefined))) { var _local14 = ((_local3._xscale != undefined) ? "_xscale" : "_scale"); delete _local3[_local14]; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), _local14); } } if (((_local3._yscale != undefined) || (_local3._scale != undefined)) && ((_local3._height != undefined) || (_local3._size != undefined))) { var _local14 = ((_local3._yscale != undefined) ? "_yscale" : "_scale"); delete _local3[_local14]; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), _local14); } } if ((_local3._fade != undefined) && (_local3._alpha != undefined)) { delete _local3._alpha; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), "_alpha"); } } for (_local2 in _local3) { if (_local6.indexOf(_local2 + ", ") == -1) { _local6 = _local6 + (_local2 + ", "); } if (_local3 == _local4.oSP) { if ((_local4.oEP[_local2] == undefined) && (!((_local2 == _local9) && (_local17 == true)))) { _local4.oAFV[_local2] = true; _local4.oEP[_local2] = []; } } } ((_local7 == 0) ? ((_oTemps.sImgS = _local6)) : ((_oTemps.sImgE = _local6))); _local7++; } return(_local4); } if ((_local4.delay != undefined) && (_oTemps.nActions == 1)) { _oElements.delay = _local4.delay; _oElements.delayscope = _local4.scope; } if (_local4.event != undefined) { _oTemps.ael++; _oElements.aEvents.unshift({scope:_local4.scope, e:_local4.event, ep:_local4.eventparams, skipLevel:_local4.skipLevel}); } var _local23 = _oElements.aEvents.length; if (_local4.func != undefined) { _oElements.aEvents.push({func:_local4.func, scope:_local4.scope, args:_local4.args, skipLevel:_local4.skipLevel}); } _oTemps.afl = _oTemps.afl + (_oElements.aEvents.length - _local23); return(undefined); } function doTweens(targs, defaultScope, defaultSeconds, defaultEase, setStart, isFF) { if (_aTweens == null) { _aTweens = []; } var tba = ((_oTwBeingAdded = {})); var ZE = _ZigoEngine; var _local35 = function (target, props, endvals, seconds, ease, delay, callback) { if (target.__zigoID__ == null) { ZE.initializeTargets(target); } tba[target.__zigoID__] = true; var _local3 = ZE.doTween.apply(ZE, arguments); tba[target.__zigoID__] = false; return(((_local3 == null) ? ([]) : (_local3.split(",")))); }; var _local74 = _global.com.mosesSupposes.fuse.Fuse; var _local19 = ((_local74 != undefined) ? (_local74.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); var _local24 = ""; var _local66 = 0; var _local8; var _local5; var _local6; var _local75 = (_bStartSet != true) && ((setStart == true) || (_sImage.indexOf("StartProps:") > -1)); var _local51 = 0; while (_local51 < _aProfiles.length) { if (_nPlaying < 2) { return(null); } var _local4 = _aProfiles[_local51]; if (_local4.__buildMode == true) { var _local10 = _aProfiles[_local51].tweenargs; var _local65 = _local24; if ((_local10[6].cycles === 0) || (_local10[6].cycles.toUpperCase() == "LOOP")) { delete _local10[6].cycles; if (_local19 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("117", _sID()); } } var _local60 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(_local10[6]); if (!(_local10[0] instanceof Array)) { _local10[0] = [_local10[0]]; } for (_local8 in _local10[0]) { if (isFF == true) { _local35(_local10[0][_local8], _local10[1], _local10[2], 0, null, 0, {skipLevel:0}); if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " FF(simple syntax)\ttargets:[") + _local10[0][_local8]) + "]\tprops:[") + _local10[1]) + "]"); } } else { var _local17 = _local35(_local10[0][_local8], _local10[1], _local10[2], _local10[3], _local10[4], _local10[5], _local60); if (_local17.length > 0) { _aTweens.push({targ:_local10[0][_local8], props:_local17, targZID:_local10[0][_local8].__zigoID__}); _local10[0][_local8].addListener(this); for (_local5 in _local17) { if (_local24.indexOf(_local17[_local5] + ",") == -1) { _local24 = _local24 + (_local17[_local5] + ","); } } } if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " TWEEN(simple syntax)\ttargets:[") + _local10[0][_local8]) + "]\tprops tweened:[") + _local17.toString()) + "]"); } } } if ((isFF == false) && ((_local65 == _local24) || (_local24 == ""))) { _local66++; } } else { var _local23 = defaultScope; var _local16 = []; var _local52 = ((_local4.target == undefined) ? (targs) : (_local4.target)); var _local26 = []; var _local54 = false; for (_local8 in _local52) { var _local7 = _local52[_local8]; _local26 = _local26.concat(((_local7 instanceof Function) ? (_local7.apply(_local23)) : (_local7))); } for (_local8 in _local4.addTarget) { var _local7 = _local4.addTarget[_local8]; _local26 = _local26.concat(((_local7 instanceof Function) ? (_local7.apply(_local23)) : (_local7))); } for (_local8 in _local26) { var _local7 = _local26[_local8]; if (_local7 != null) { var _local40 = false; for (_local5 in _local16) { if (_local16[_local5] == _local7) { _local40 = true; break; } } if (_local40 == false) { _local16.unshift(_local7); } } else { _local54 = true; } } var _local56 = ((_local4._doTimer == true) && (_local16.length == 0)) && (isFF == false); if ((_local54 == true) || ((_local16.length == 0) && (_local4._doTimer != true))) { _local66++; } if (_local75 == true) { for (_local8 in _local16) { if (_nPlaying < 2) { return(null); } var _local36 = _local16[_local8]; var _local33 = []; var _local27 = []; if (setStart == true) { for (var _local63 in _local4.oEP) { _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(_local36, _local63, true); } } for (var _local64 in _local4.oSP) { var _local7 = _local4.oSP[_local64]; if (_local7 instanceof Function) { _local7 = _local7.apply(_local23); } if ((_local7 === true) || (_local7 === false)) { _local36[_local64] = _local7; if (_local4.oAFV[_local64] == true) { for (_local6 in _local4.oEP[_local64]) { if (_local4.oEP[_local64][_local6].targ == _local36) { _local4.oEP[_local64].splice(Number(_local6), 1); } } _local4.oEP[_local64].push({targ:_local36, val:"IGNORE", _isAF:true}); } continue; } if (((_local4.oAFV[_local64] == true) && (!((_local64 == "_colorReset") && (_local7 == 100)))) && (!((_local64 == "_tintPercent") && (_local7 == 0)))) { var _local20; if ((_local64 == "_tint") || (_local64 == "_colorTransform")) { _local20 = _ZigoEngine.getColorTransObj(); } else if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo100()).indexOf(("|" + _local64) + "|") > -1) || ((_local64 == "_fade") && (_local7 < 50))) { _local20 = 100; } else if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo0()).indexOf(("|" + _local64) + "|") > -1) || (_local64 == "_fade")) { _local20 = 0; } else { var _local29 = _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(_local36, _local64, true); if (_local29 != null) { _local20 = _local29; } else { _local20 = ((_global.isNaN(_local36[_local64]) == false) ? _local36[_local64] : 0); } } for (_local6 in _local4.oEP[_local64]) { if (_local4.oEP[_local64][_local6].targ == _local36) { _local4.oEP[_local64].splice(Number(_local6), 1); } } _local4.oEP[_local64].push({targ:_local36, val:_local20, _isAF:true}); } if (typeof(_local7) == "object") { var _local28 = ((_local7 instanceof Array) ? ([]) : ({})); for (_local6 in _local7) { _local28[_local6] = ((_local7[_local6] instanceof Function) ? Function(_local7[_local6]).apply(_local23) : _local7[_local6]); } _local7 = _local28; } _local33.push(_local64); _local27.push(_local7); } if (_local27.length > 0) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output((((_sID() + " ") + _local36) + " SET STARTS: ") + [("[" + _local33) + "]", ("[" + _local27) + "]"]); } _local35(_local36, _local33, _local27, 0); } } } if (setStart == true) { } else { var _local25; var _local50; var _local32; var _local12; var _local49; var _local21; var _local43 = ""; if (isFF == false) { if (_local4.scope != undefined) { _local23 = _local4.scope; } _local50 = ((_local4.skipLevel instanceof Function) ? (_local4.skipLevel.apply(_local23)) : (_local4.skipLevel)); var _local71 = ((_local4.extra1 instanceof Function) ? (_local4.extra1.apply(_local23)) : (_local4.extra1)); var _local70 = ((_local4.extra2 instanceof Function) ? (_local4.extra2.apply(_local23)) : (_local4.extra2)); var _local72 = ((_local4.roundResults instanceof Function) ? (_local4.roundResults.apply(_local23)) : (_local4.roundResults)); _local32 = {skipLevel:_local50, extra1:_local71, extra2:_local70, roundResults:_local72}; _local12 = {skipLevel:_local50, extra1:_local71, extra2:_local70, roundResults:_local72}; if (_local4.cycles != undefined) { var _local55 = ((_local4.cycles instanceof Function) ? (_local4.cycles.apply(_local23)) : (_local4.cycles)); if (((Number(_local55) == 0) || (String(_local55).toUpperCase() == "LOOP")) && (_local74 != undefined)) { delete _local4.cycles; if (_local19 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("117", _sID()); } } else { _local32.cycles = (_local12.cycles = _local55); } } if (((_local4.func != undefined) || (_local4.startfunc != undefined)) || (_local4.updfunc != undefined)) { for (_local8 in _local4) { if (_local8.indexOf("func") > -1) { _local12[_local8] = _local4[_local8]; } else if (((_local8 == "startscope") || (_local8 == "updscope")) || (_local8.indexOf("args") > -1)) { _local12[_local8] = _local4[_local8]; } } if (_local23 != undefined) { if ((_local12.func != undefined) && (_local12.scope == undefined)) { _local12.scope = _local23; } if ((_local12.updfunc != undefined) && (_local12.updscope == undefined)) { _local12.updscope = _local23; } if ((_local12.startfunc != undefined) && (_local12.startscope == undefined)) { _local12.startscope = _local23; } } } for (_local5 in _local12) { _local43 = _local43 + (((_local5 + ":") + _local12[_local5]) + "|"); } if (_local4.event != undefined) { _local25 = {scope:_local4.scope, e:_local4.event, ep:_local4.eventparams, skipLevel:_local50}; } _local49 = _local4.trigger === true; _local21 = undefined; if ((_local49 == false) && (_local4.trigger != undefined)) { _local21 = ((_local4.trigger instanceof Function) ? (_local4.trigger.apply(_local23)) : (_local4.trigger)); if (typeof(_local21) == "string") { _local21 = ((String(_local21).charAt(0) == "-") ? (-parseClock(String(_local21).slice(1))) : (parseClock(String(_local21)))); } if (_global.isNaN(_local21) == true) { _local21 = undefined; } } } var _local18; var _local13; var _local22; var _local15; var _local42 = false; var _local53 = ((_local56 == false) ? (_local16) : ([0])); var _local34 = -1; for (_local8 in _local53) { if (_nPlaying < 2) { return(null); } if (isFF == false) { if (_local4.ease != null) { _local22 = _local4.ease; if (_local22 instanceof Function) { var _local44 = Function(_local22); if (typeof(_local44(1, 1, 1, 1)) != "number") { _local22 = _local44.apply(_local23); } } } if (_local22 == null) { _local22 = defaultEase; } _local13 = ((_local4.seconds instanceof Function) ? (_local4.seconds.apply(_local23)) : (_local4.seconds)); if (_local13 != undefined) { if (typeof(_local13) == "string") { _local13 = parseClock(String(_local13)); } if (_global.isNaN(_local13) == true) { _local13 = _ZigoEngine.DURATION || 0; } } if (_local13 == null) { _local13 = defaultSeconds; } _local18 = ((_local4.delay instanceof Function) ? (_local4.delay.apply(_local23)) : (_local4.delay)); if (typeof(_local18) == "string") { _local18 = parseClock(String(_local18)); } if ((_local18 == null) || (_global.isNaN(_local18) == true)) { _local18 = 0; } if (_local56 == true) { continue; } } var _local36 = _local53[_local8]; var _local9 = []; var _local11 = []; var _local46 = 0; var _local14 = -2; for (var _local64 in _local4.oEP) { var _local7 = _local4.oEP[_local64]; if (_local7 instanceof Function) { _local7 = _local7.apply(_local23); } if ((_local7 === true) || (_local7 === false)) { if (_local15 == undefined) { _local15 = {}; } _local15[_local64] = _local7; _local46++; continue; } if (typeof(_local7) == "object") { if (_local7[0]._isAF == true) { for (_local6 in _local7) { if (_local7[_local6].targ == _local36) { _local7 = _local7[_local6].val; break; } } } else { var _local28 = ((_local7 instanceof Array) ? [] : {}); for (_local6 in _local7) { _local28[_local6] = ((_local7[_local6] instanceof Function) ? Function(_local7[_local6]).apply(_local23) : _local7[_local6]); } _local7 = _local28; } } if (_local7 != "IGNORE") { if (_local64 == "_bezier_") { _local14 = _local9.length; } else if ((_local14 == -2) && ((_local64 == "controlX") || (_local64 == "controlY"))) { _local14 = -1; } _local9.push(_local64); _local11.push(_local7); } } if (_local11.length > 0) { if (_local14 > -2) { if (_local14 == -1) { _local14 = _local9.length; } _local9[_local14] = "_bezier_"; if (typeof(_local11[_local14]) != "object") { _local11[_local14] = {}; } var _local37 = _local11[_local14]; for (_local5 in _local9) { if ("|x|y|_x|_y|controlX|controlY|".indexOf(("|" + _local9[_local5]) + "|") > -1) { if (_local9[_local5].charAt(0) == "_") { _local9[_local5] = _local9[_local5].slice(-1); } if (typeof(_local37[_local9[_local5]]) == "number") { if ((_local19 > 0) && ((_local34 == -1) || (_local34 == _local8))) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), _local9[_local5]); _local34 = Number(_local8); } } else { _local37[_local9[_local5]] = _local11[_local5]; } _local9.splice(Number(_local5), 1); _local11.splice(Number(_local5), 1); } } } if (isFF == true) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " FF\ttargets:[") + _local36) + "]\tprops:[") + _local9.toString()) + "]"); } _local35(_local36, _local9, _local11, 0, null, 0, {skipLevel:0}); continue; } var _local31 = {caught:false, onTweenEnd:function (evto) { this.caught = true; }}; _local36.addListener(_local31); var _local17 = _local35(_local36, _local9, _local11, _local13, _local22, _local18, _local12); _local36.removeListener(_local31); if (_local17.length == 0) { if (_local31.caught == true) { _local12 = _local32; } } else { if (_local17.length > 0) { var _local38 = {targ:_local36, props:_local17, bools:_local15, targZID:_local36.__zigoID__}; if (_local42 == false) { _local12 = _local32; _local38.event = _local25; _local15 = undefined; _local25 = _local15; _local38.trigger = _local49; } _aTweens.push(_local38); _local36.addListener(this); _local42 = true; for (_local5 in _local17) { if (_local24.indexOf(_local17[_local5] + ",") == -1) { _local24 = _local24 + (_local17[_local5] + ","); } } } if (_local19 == 3) { var _local45 = _local9.toString(); if (_local17.length > _local9.length) { _local45 = _local45 + (("\n\t[NO-CHANGE PROPS DISCARDED (disregard this for double props like _scale). KEPT:" + _local17.toString()) + "]"); } var _local30 = ""; for (_local5 in _local11) { _local30 = (((typeof(_local11[_local5]) == "string") ? (("\"" + _local11[_local5]) + "\"") : _local11[_local5]) + ", ") + _local30; } com.mosesSupposes.fuse.FuseKitCommon.output((("\n-" + _sID()) + " TWEEN:\n") + [("\t[getTimer():" + getTimer()) + "] ", "targ: " + _local36, "props: " + _local45, "endVals: " + _local30, "time: " + ((_local13 == undefined) ? _ZigoEngine.DURATION : _local13), "easing: " + ((_local22 == undefined) ? _ZigoEngine.EASING : _local22), "delay: " + ((_local18 == undefined) ? 0 : _local18), "callbacks: " + ((_local43 == "") ? "(none)" : _local43)].join("\n\t")); } } _local31 = undefined; } } if ((_global.isNaN(_local13) == true) || (_local4.seconds == null)) { _local13 = 0; } var _local39 = _local18 + _local13; if (_local21 != undefined) { if (_local21 < 0) { _local21 = _local21 + _local39; } if ((_local21 > 0) && ((_local39 == 0) || (_local21 < _local39))) { if (_local39 == 0) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((((_sID() + " graft a timed trigger (") + _local21) + " sec). [has callback:") + (_local12 != _local32)) + ", has event:") + (_local25 != undefined)) + ", has booleans:") + (_local15 != undefined)) + "]"); } doTimerTween(null, _local21, 0, true, _local15, _local12, _local25); _local42 = true; } else { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((_sID() + " graft a timed trigger (") + _local21) + " sec)."); } doTimerTween(null, _local21, 0, true); } } else if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((_sID() + " timed trigger discarded: out of range. [") + _local21) + "/") + _local39) + "]"); } } if ((_local42 == false) && (((_local12 != _local32) || (_local25 != undefined)) || (_local15 != undefined))) { if ((_local50 == 0) && (_local39 > 0)) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((((_sID() + " no props tweened - graft a delay (") + _local39) + " sec). [has callback:") + (_local12 != _local32)) + ", has event:") + (_local25 != undefined)) + ", has booleans:") + (_local15 != undefined)) + "]"); } doTimerTween(_local16, _local13, _local18, _local49, _local15, _local12, _local25); } else { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((_sID() + " no props tweened, executing nontween items. [has callback:") + (_local12 != _local32)) + ", has event:") + (_local25 != undefined)) + ", has booleans:") + (_local15 != undefined)) + "]"); } for (_local8 in _local16) { for (_local5 in _local15) { _local16[_local8][_local5] = _local15[_local5]; } } if (_local50 < 2) { if (_local12 != undefined) { fireEvents(_local12, _local23, _local19, _local16); } if (_local25 != undefined) { fireEvents(_local25, _local23, _local19); } } } } } } _local51++; } if ((_local66 > 0) && (_local19 > 0)) { if ((_local66 == _aProfiles.length) && (_local24 == "")) { com.mosesSupposes.fuse.FuseKitCommon.error("118", _sID(), setStart); } else { com.mosesSupposes.fuse.FuseKitCommon.error("119", _sID(), _local66, _local75); } } tba = undefined; _oTwBeingAdded = undefined; return(((_local24 == "") ? null : (_local24.slice(0, -1)))); } function doTimerTween(actualTargets, duration, delay, trigger, booleans, callback, event) { var _local2 = {__TweenedDelay:0}; _ZigoEngine.initializeTargets(_local2); _aTweens.push({targ:_local2, props:["__TweenedDelay"], trigger:trigger, bools:booleans, event:event, actualTargs:actualTargets, targZID:_local2.__zigoID__}); var _local3 = _ZigoEngine.doTween(_local2, "__TweenedDelay", 1, duration, null, delay, callback) == null; if (_local3 == true) { onTweenEnd({target:_local2, props:["__TweenedDelay"]}); } else { _local2.addListener(this); } } function onTweenEnd(o, doAutoStop) { if (_nPlaying < 1) { return(undefined); } var _local12 = _global.com.mosesSupposes.fuse.Fuse; var _local8 = ((_local12 != undefined) ? (_local12.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); var _local11 = ((!(o.__zigoID__ === undefined)) ? (o.__zigoID__) : (o.target.__zigoID__)); for (var _local19 in _aTweens) { var _local3 = _aTweens[_local19]; if (_local3.targZID == _local11) { for (var _local18 in o.props) { var _local7 = _local3.props; for (var _local16 in _local7) { var _local5 = _local7[_local16]; if (_local5 == o.props[_local18]) { _local7.splice(Number(_local16), 1); if (doAutoStop == true) { var _local6 = _local12.getInstance(_nFuseID); var _local10 = (((_bTrigger == true) && (o.during == "add")) && (_local6[_local6.currentIndex]._oTwBeingAdded[_local11] === true)) && (_local6.state == "playing"); if (_local10 == false) { _local3.targ.removeListener(this); for (var _local19 in _aTweens) { if (_aTweens[_local19].targZID == _local11) { for (var _local18 in o.props) { for (var _local16 in _aTweens[_local19].props) { if (_aTweens[_local19].props[_local16] == o.props[_local18]) { _aTweens[_local19].props.splice(Number(_local16), 1); } } } if (_aTweens[_local19].props.length == 0) { _aTweens.splice(Number(_local19), 1); } } } if (_local8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " triggering auto-stop due to interruption"); } if ((_local6.autoClear == true) || ((!(_local6.autoClear === false)) && (_local12.AUTOCLEAR == true))) { dispatchRequest("destroy"); } else { dispatchRequest("stop"); } return(undefined); } if (_local8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((("note -" + _sID()) + " interrupted one of its own properties \"") + _local5) + "\". (Autostop not triggered.)"); } } if ((_nPlaying == 2) && (_local5 != "__TweenedDelay")) { if (_local8 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("120", _sID(), _local5); } } if (_local7.length == 0) { if (_local3.event != undefined) { fireEvents(_local3.event, null, _local8); } if (_local5 == "__TweenedDelay") { _ZigoEngine.deinitializeTargets(_local3.targ); delete _local3.targ; for (var _local14 in _local3.bools) { for (var _local13 in _local3.actualTargs) { _local3.actualTargs[_local13][_local14] = _local3.bools[_local14]; } } } else { var _local9 = false; for (var _local14 in _local3.bools) { _local3.targ[_local14] = _local3.bools[_local14]; } for (var _local15 in _aTweens) { if ((_local15 != _local19) && (_aTweens[_local15].targ == _local3.targ)) { _local9 = true; } } if (_local9 == false) { _local3.targ.removeListener(this); } } if (_local3.trigger == true) { if (((_bTrigger == false) && (o.isResume != true)) && (_aTweens.length > 1)) { _bTrigger = true; if (_local8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " trigger fired!"); } var breakChainInt; breakChainInt = setInterval(function (fi) { clearInterval(breakChainInt); fi.dispatchRequest("advance", [false, false, false]); }, 1, this); } } _aTweens.splice(Number(_local19), 1); } } } } } } if (((_aTweens.length == 0) && (_nPlaying == 1)) && (o.isResume != true)) { complete(_local8); } } function onTweenInterrupt(o) { if (_nPlaying == -1) { return(undefined); } var _local4 = _global.com.mosesSupposes.fuse.Fuse; var _local6 = _local4.getInstance(_nFuseID); var _local8 = (_local6.autoStop == true) || ((!(_local6.autoStop === false)) && (_local4.AUTOSTOP == true)); var _local3 = o.__zigoID__; var _local9 = ((_local4 != undefined) ? (_local4.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); if ((_local8 == true) || ((!(_local8 === false)) && (_local4.AUTOSTOP == true))) { onTweenEnd(o, true); return(undefined); } if (typeof(o.target) != "string") { onTweenEnd(o); return(undefined); } for (var _local5 in _aTweens) { if (_aTweens[_local5].targZID == _local3) { _aTweens.splice(Number(_local5), 1); } } if ((_aTweens.length == 0) && (_nPlaying == 1)) { complete(_local9); } } function complete(outputLevel) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " complete."); } var breakChainInt; breakChainInt = setInterval(function (fi, trigger) { clearInterval(breakChainInt); var _local1 = fi._nPlaying; if (trigger != true) { if (_local1 < 1) { return(undefined); } } fi.stop(); if (_local1 > 0) { fi.dispatchRequest("advance", [trigger, false, false]); } }, 1, this, _bTrigger); } function parseClock(str) { if (str.indexOf(":") != 2) { com.mosesSupposes.fuse.FuseKitCommon.error("121"); return(_ZigoEngine.DURATION || 0); } var _local4 = 0; var _local3 = str.split(":"); _local3.reverse(); var _local2; if ((String(_local3[0]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[0]))) == false)) { _local4 = _local4 + (_local2 / 100); } if (((String(_local3[1]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[1]))) == false)) && (_local2 < 60)) { _local4 = _local4 + _local2; } if (((String(_local3[2]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[2]))) == false)) && (_local2 < 60)) { _local4 = _local4 + (_local2 * 60); } if (((String(_local3[3]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[3]))) == false)) && (_local2 < 24)) { _local4 = _local4 + (_local2 * 3600); } return(_local4); } function fireEvents(o, scope, outputLevel, targets) { if (o.scope == undefined) { o.scope = scope; } if (o.e == undefined) { var _local3 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(o, targets, outputLevel, false); if (_local3.start.f != null) { _local3.start.f.apply(_local3.start.s, _local3.start.a); } if (_local3.upd.f != null) { _local3.upd.f.apply(_local3.upd.s, _local3.upd.a); } if (_local3.end.f != null) { _local3.end.f.apply(_local3.end.s, _local3.end.a); } } else { var _local6 = ((o.e instanceof Function) ? (String(o.e.apply(scope))) : (String(o.e))); if ((_local6 != "undefined") && (_local6.length > 0)) { if (String(com.mosesSupposes.fuse.FuseKitCommon._fuseEvents()).indexOf(("|" + _local6) + "|") > -1) { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("122", _local6); } } else { var _local7 = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID); var _local5 = ((o.ep instanceof Function) ? (o.ep.apply(scope)) : (o.ep)); if ((_local5 == null) || (typeof(_local5) != "object")) { _local5 = {}; } _local5.target = _local7; _local5.type = _local6; _local7.dispatchEvent.call(_local7, _local5); } } else if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("123", _sID()); } } } static var registryKey = "fuseItem"; static var ADD_UNDERSCORES = true; var _nPlaying = -1; var _bStartSet = false; var _bTrigger = false; }
Symbol 669 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 670 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object { static var _CharsReverseLookup; var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count; function Armor_Bot_30_En_AS1 () { super(); } static function Encode(str) { var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1(); return(_local1.encodeArmor_Bot_30_En_AS1(str)); } static function Decode(str) { var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1(); return(_local1.decodeArmor_Bot_30_En_AS1(str)); } static function StringReplaceAll(source, find, replacement) { return(source.split(find).join(replacement)); } static function InitReverseChars() { _CharsReverseLookup = new Array(); var _local1 = 0; while (_local1 < _Chars.length) { _CharsReverseLookup[_Chars[_local1]] = _local1; _local1++; } return(true); } static function UrlDecode(str) { str = StringReplaceAll(str, "\\", " "); str = unescape(str); return(str); } static function UrlEncode(str) { str = escape(str); str = StringReplaceAll(str, "\\", "%2B"); str = StringReplaceAll(str, "%20", "+"); return(str); } function setArmor_Bot_30_En_AS1Str(str) { _Armor_Bot_30_En_AS1Str = str; _Armor_Bot_30_En_AS1Count = 0; } function readArmor_Bot_30_En_AS1() { if (!_Armor_Bot_30_En_AS1Str) { return(_EndOfInput); } if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) { return(_EndOfInput); } var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255; _Armor_Bot_30_En_AS1Count++; return(_local2); } function encodeArmor_Bot_30_En_AS1(str) { setArmor_Bot_30_En_AS1Str(str); var _local3 = ""; var _local2 = new Array(3); var _local5 = 0; var _local4 = false; while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) { _local2[1] = readArmor_Bot_30_En_AS1(); _local2[2] = readArmor_Bot_30_En_AS1(); _local3 = _local3 + _Chars[_local2[0] >> 2]; if (_local2[1] != _EndOfInput) { _local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)]; if (_local2[2] != _EndOfInput) { _local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)]; _local3 = _local3 + _Chars[_local2[2] & 63]; } else { _local3 = _local3 + _Chars[(_local2[1] << 2) & 60]; _local3 = _local3 + "="; _local4 = true; } } else { _local3 = _local3 + _Chars[(_local2[0] << 4) & 48]; _local3 = _local3 + "="; _local3 = _local3 + "="; _local4 = true; } _local5 = _local5 + 4; if (_local5 >= 76) { _local3 = _local3 + newline; _local5 = 0; } } return(_local3); } function readReverseArmor_Bot_30_En_AS1() { if (!_Armor_Bot_30_En_AS1Str) { return(_EndOfInput); } while (true) { if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) { return(_EndOfInput); } var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count); _Armor_Bot_30_En_AS1Count++; if (_CharsReverseLookup[_local2]) { return(_CharsReverseLookup[_local2]); } if (_local2 == "A") { return(0); } } } function ntos(n) { var _local1 = n.toString(16); if (_local1.length == 1) { _local1 = "0" + _local1; } _local1 = "%" + _local1; return(unescape(_local1)); } function decodeArmor_Bot_30_En_AS1(str) { setArmor_Bot_30_En_AS1Str(str); var _local3 = ""; var _local2 = new Array(4); var _local4 = false; while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) { _local2[2] = readReverseArmor_Bot_30_En_AS1(); _local2[3] = readReverseArmor_Bot_30_En_AS1(); _local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4)); if (_local2[2] != _EndOfInput) { _local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2)); if (_local2[3] != _EndOfInput) { _local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]); } else { _local4 = true; } } else { _local4 = true; } } return(_local3); } function toHex(n) { var _local4 = ""; var _local3 = true; var _local1 = 32; while (_local1 > 0) { _local1 = _local1 - 4; var _local2 = (n >> _local1) & 15; if ((!_local3) || (_local2 != 0)) { _local3 = false; _local4 = _local4 + _Digits[_local2]; } } return(((_local4 == "") ? "0" : (_local4))); } function pad(str, len, pad) { var _local2 = str; var _local1 = str.length; while (_local1 < len) { _local2 = pad + _local2; _local1++; } return(_local2); } function encodeHex(str) { var _local4 = ""; var _local2 = 0; while (_local2 < str.length) { _local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0"); _local2++; } return(_local4); } function decodeHex(str) { var _local5 = ""; var _local3 = ""; var _local2 = 0; while (_local2 < str.length) { _local3 = _local3 + str.charAt(_local2); if (_local3.length == 2) { _local5 = _local5 + ntos(parseInt("0x" + _local3)); _local3 = ""; } _local2++; } return(_local5); } static var _EndOfInput = -1; static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/"); static var _CharsReverseLookupInited = InitReverseChars(); static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"); }
Symbol 100 MovieClip Frame 1
this.hatchOpen = false; stop();
Symbol 100 MovieClip Frame 35
stop(); this.hatchOpen = true;
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
this.play();
Symbol 104 MovieClip Frame 30
stop(); if (this.killTime > (getTimer() + 6000)) { this.removeMovieClip(); }
Symbol 105 MovieClip [carrier] Frame 1
stop();
Symbol 105 MovieClip [carrier] Frame 10
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
this.play();
Symbol 121 MovieClip Frame 15
stop();
Symbol 122 MovieClip [floater] Frame 1
stop();
Symbol 122 MovieClip [floater] Frame 10
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
this.play();
Symbol 147 MovieClip Frame 15
stop();
Symbol 148 MovieClip [shield] Frame 1
stop();
Symbol 167 MovieClip Frame 60
this.moving = false;
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
this.play();
Symbol 194 MovieClip Frame 10
stop();
Symbol 195 MovieClip [gunner] Frame 1
stop();
Symbol 195 MovieClip [gunner] Frame 20
this.moving = true;
Symbol 195 MovieClip [gunner] Frame 60
this.moving = false;
Symbol 195 MovieClip [gunner] Frame 80
this.gotoAndPlay(1);
Symbol 195 MovieClip [gunner] Frame 101
stop();
Symbol 228 MovieClip [turret1] Frame 30
function resetAttack() { clearInterval(this.resetAttackInterval); this.canAttack = true; } function fire(eX, eY, eW, target, arrayPos) { tX = tX + (this.moveX * 20); tY = tY + (this.moveY * 20); eW = eW / 3; eX = eX - (this.moveX * eW); eY = eY - (this.moveY * eW); _root.laserShot_mc.removeMovieClip(); _root.createEmptyMovieClip("laserShot_mc", _root.getNextHighestDepth()); _root.laserShot_mc.lineStyle(3, 16711680, 80); _root.laserShot_mc.moveTo(tX, tY); _root.laserShot_mc.lineTo(eX, eY); ZigoEngine.doTween(_root.laserShot_mc, "_alpha", [0], 0.3, 0, 0); _root.actions_mc.damageEnemy(target, _root.turretDamage, arrayPos); } stop(); this.attackRange = 350; this.attackMinDelay = 700; this.attackMaxDelay = 1000; this.canAttack = true; this.lastAttack = getTimer(); this.onEnterFrame = function () { if (_root.gamePaused) { return(undefined); } tX = this._x; tY = this._y; this.enemyWithinRange = false; var _local3 = 0; while (_local3 < _root.enemyOnScreen.length) { enemy = _root[_root.enemyOnScreen[_local3]]; tempX = enemy._x; tempY = enemy._y; tempDis = Math.sqrt(Math.pow(Math.abs(tX - tempX), 2) + Math.pow(Math.abs(tY - tempY), 2)); if (tempDis <= this.attackRange) { if (this.enemyWithinRange) { if (tempDis < dis) { eX = tempX; eY = tempY; eW = enemy.body.collision._width; target = enemy; arrayPos = _local3; dis = tempDis; } } else { eX = tempX; eY = tempY; eW = enemy.body.collision._width; target = enemy; dis = tempDis; arrayPos = _local3; this.enemyWithinRange = true; } } _local3++; } if (this.enemyWithinRange) { var _local7 = new Array(eX, eY); this.anglePos = _local7; _local7 = new Array(tX, tY); this.startPos = _local7; var _local5 = -1 * (this.anglePos[1] - this.startPos[1]); var _local6 = this.anglePos[0] - this.startPos[0]; var _local4 = Math.atan2(_local5, _local6); _local4 = Math.round((_local4 / Math.PI) * 180); this.turret_mc._rotation = -1 * (_local4 - 90); this.moveX = Math.sin(((_local4 + 90) * Math.PI) / 180); this.moveY = Math.cos(((_local4 + 90) * Math.PI) / 180); } else { this.turret_mc._rotation = this.turret_mc._rotation + 1; } if (this.canAttack && (this.enemyWithinRange)) { this.canAttack = false; _root.actions_mc.playSound("laser", 100); fire(eX, eY, eW, target, arrayPos); randNum = _root.actions_mc.randRange(this.attackMinDelay, this.attackMaxDelay); this.resetAttackInterval = setInterval(this, "resetAttack", randNum); } };
Symbol 235 MovieClip [turret2] Frame 30
function resetAttack() { clearInterval(this.resetAttackInterval); this.canAttack = true; } function fire(eX, eY, eW, target, arrayPos) { tX = tX + (this.moveX * 20); tY = tY + (this.moveY * 20); eW = eW / 3; eX = eX - (this.moveX * eW); eY = eY - (this.moveY * eW); _root.laserShot_mc.removeMovieClip(); _root.createEmptyMovieClip("laserShot_mc", _root.getNextHighestDepth()); _root.laserShot_mc.lineStyle(3, 16711680, 80); _root.laserShot_mc.moveTo(tX, tY); _root.laserShot_mc.lineTo(eX, eY); ZigoEngine.doTween(_root.laserShot_mc, "_alpha", [0], 0.3, 0, 0); _root.actions_mc.damageEnemy(target, _root.turretDamage, arrayPos); } stop(); this.attackRange = 350; this.attackMinDelay = 700; this.attackMaxDelay = 1000; this.canAttack = true; this.lastAttack = getTimer(); this.onEnterFrame = function () { if (_root.gamePaused) { return(undefined); } tX = this._x; tY = this._y; this.enemyWithinRange = false; var _local3 = 0; while (_local3 < _root.enemyOnScreen.length) { enemy = _root[_root.enemyOnScreen[_local3]]; tempX = enemy._x; tempY = enemy._y; tempDis = Math.sqrt(Math.pow(Math.abs(tX - tempX), 2) + Math.pow(Math.abs(tY - tempY), 2)); if (tempDis <= this.attackRange) { if (this.enemyWithinRange) { if (tempDis < dis) { eX = tempX; eY = tempY; eW = enemy.body.collision._width; target = enemy; arrayPos = _local3; dis = tempDis; } } else { eX = tempX; eY = tempY; eW = enemy.body.collision._width; target = enemy; dis = tempDis; arrayPos = _local3; this.enemyWithinRange = true; } } _local3++; } if (this.enemyWithinRange) { var _local7 = new Array(eX, eY); this.anglePos = _local7; _local7 = new Array(tX, tY); this.startPos = _local7; var _local5 = -1 * (this.anglePos[1] - this.startPos[1]); var _local6 = this.anglePos[0] - this.startPos[0]; var _local4 = Math.atan2(_local5, _local6); _local4 = Math.round((_local4 / Math.PI) * 180); this.turret_mc._rotation = -1 * (_local4 - 90); this.moveX = Math.sin(((_local4 + 90) * Math.PI) / 180); this.moveY = Math.cos(((_local4 + 90) * Math.PI) / 180); } else { this.turret_mc._rotation = this.turret_mc._rotation + 1; } if (this.canAttack && (this.enemyWithinRange)) { this.canAttack = false; _root.actions_mc.playSound("laser", 100); fire(eX, eY, eW, target, arrayPos); randNum = _root.actions_mc.randRange(this.attackMinDelay, this.attackMaxDelay); this.resetAttackInterval = setInterval(this, "resetAttack", randNum); } };
Symbol 248 MovieClip [turret3] Frame 30
function resetAttack() { clearInterval(this.resetAttackInterval); this.canAttack = true; } function fire(eX, eY, eW, target, arrayPos) { tX = tX + (this.moveX * 20); tY = tY + (this.moveY * 20); eW = eW / 3; eX = eX - (this.moveX * eW); eY = eY - (this.moveY * eW); _root.laserShot_mc.removeMovieClip(); _root.createEmptyMovieClip("laserShot_mc", _root.getNextHighestDepth()); _root.laserShot_mc.lineStyle(3, 16711680, 80); _root.laserShot_mc.moveTo(tX, tY); _root.laserShot_mc.lineTo(eX, eY); ZigoEngine.doTween(_root.laserShot_mc, "_alpha", [0], 0.3, 0, 0); _root.actions_mc.damageEnemy(target, _root.turretDamage, arrayPos); } stop(); this.attackRange = 350; this.attackMinDelay = 700; this.attackMaxDelay = 1000; this.canAttack = true; this.lastAttack = getTimer(); this.onEnterFrame = function () { if (_root.gamePaused) { return(undefined); } tX = this._x; tY = this._y; this.enemyWithinRange = false; var _local3 = 0; while (_local3 < _root.enemyOnScreen.length) { enemy = _root[_root.enemyOnScreen[_local3]]; tempX = enemy._x; tempY = enemy._y; tempDis = Math.sqrt(Math.pow(Math.abs(tX - tempX), 2) + Math.pow(Math.abs(tY - tempY), 2)); if (tempDis <= this.attackRange) { if (this.enemyWithinRange) { if (tempDis < dis) { eX = tempX; eY = tempY; eW = enemy.body.collision._width; target = enemy; arrayPos = _local3; dis = tempDis; } } else { eX = tempX; eY = tempY; eW = enemy.body.collision._width; target = enemy; dis = tempDis; arrayPos = _local3; this.enemyWithinRange = true; } } _local3++; } if (this.enemyWithinRange) { var _local7 = new Array(eX, eY); this.anglePos = _local7; _local7 = new Array(tX, tY); this.startPos = _local7; var _local5 = -1 * (this.anglePos[1] - this.startPos[1]); var _local6 = this.anglePos[0] - this.startPos[0]; var _local4 = Math.atan2(_local5, _local6); _local4 = Math.round((_local4 / Math.PI) * 180); this.turret_mc._rotation = -1 * (_local4 - 90); this.moveX = Math.sin(((_local4 + 90) * Math.PI) / 180); this.moveY = Math.cos(((_local4 + 90) * Math.PI) / 180); } else { this.turret_mc._rotation = this.turret_mc._rotation + 1; } if (this.canAttack && (this.enemyWithinRange)) { this.canAttack = false; _root.actions_mc.playSound("laser", 100); fire(eX, eY, eW, target, arrayPos); randNum = _root.actions_mc.randRange(this.attackMinDelay, this.attackMaxDelay); this.resetAttackInterval = setInterval(this, "resetAttack", randNum); } };
Symbol 298 MovieClip [enemyExplosion] Frame 25
this.removeMovieClip();
Symbol 302 MovieClip Frame 1
loadMovie ("http://208.109.177.63/~blitzgam/blitz_HighScores/encrypted.swf", this); this._alpha = 0;
Symbol 320 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 1
function answer() { answered = true; } function noResponse() { if (!answered) { getURL ("http://jayisgames.com/cgdc5/?ref=6b71df96"); } } if (flash.external.ExternalInterface.available) { flash.external.ExternalInterface.addCallback("answer", this, answer); } var answered = false; button_mc.onRelease = function () { if (flash.external.ExternalInterface.available) { flash.external.ExternalInterface.call("cgdc5close"); } setTimeout(noResponse, 500); }; function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("6b71df96", this, 10301, true);
Symbol 430 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 1
function setGraphics(level) { _root._quality = level; low.gotoAndStop("up"); medium.gotoAndStop("up"); high.gotoAndStop("up"); } function toggleMusic() { if (_root.musicOn) { _global.menuMusic.start(0, 1); } else { _global.menuMusic.stop(); } } function buttonSound() { if (_root.soundOn) { _global.buttonSound.start(); } } low.gotoAndStop("up"); medium.gotoAndStop("up"); high.gotoAndStop("up"); switch (_root._quality) { case "LOW" : low.gotoAndStop("down"); break; case "MEDIUM" : medium.gotoAndStop("down"); break; case "HIGH" : high.gotoAndStop("down"); } if (_root.musicOn) { music_on.gotoAndStop("down"); music_off.gotoAndStop("up"); } else { music_on.gotoAndStop("up"); music_off.gotoAndStop("down"); } if (_root.soundOn) { sound_on.gotoAndStop("down"); sound_off.gotoAndStop("up"); } else { sound_on.gotoAndStop("up"); sound_off.gotoAndStop("down"); } low.onRelease = function () { setGraphics("LOW"); this.gotoAndStop("down"); }; low.onReleaseOutside = function () { this.gotoAndStop("up"); }; low.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; medium.onRelease = function () { setGraphics("MEDIUM"); this.gotoAndStop("down"); }; medium.onReleaseOutside = function () { this.gotoAndStop("up"); }; medium.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; high.onRelease = function () { setGraphics("HIGH"); this.gotoAndStop("down"); }; high.onReleaseOutside = function () { this.gotoAndStop("up"); }; high.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; sound_on.onRelease = function () { _root.soundOn = true; sound_off.gotoAndStop("up"); }; sound_on.onReleaseOutside = function () { this.gotoAndStop("up"); }; sound_on.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; sound_off.onRelease = function () { _root.soundOn = false; sound_on.gotoAndStop("up"); }; sound_off.onReleaseOutside = function () { this.gotoAndStop("up"); }; sound_off.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; music_on.onRelease = function () { if (!_root.musicOn) { _root.musicOn = true; toggleMusic(); } music_off.gotoAndStop("up"); }; music_on.onReleaseOutside = function () { this.gotoAndStop("up"); }; music_on.onPress = function () { buttonSound(); this.gotoAndStop("down"); }; music_off.onRelease = function () { if (_root.musicOn) { _root.musicOn = false; toggleMusic(); } music_on.gotoAndStop("up"); }; music_off.onReleaseOutside = function () { this.gotoAndStop("up"); }; music_off.onPress = function () { buttonSound(); this.gotoAndStop("down"); };
Symbol 443 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 1
function buttonSound() { if (_root.soundOn) { _global.buttonSound.start(); } }
Symbol 460 Button
on (release) { _root.gotoAndPlay("mainmenu"); }
Symbol 463 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 1
stop(); ready_btn.onRelease = function () { _root.actions_mc.prepGame(); this.gotoAndStop("over"); }; ready_btn.onReleaseOutside = function () { this.gotoAndStop("up"); }; ready_btn.onRollOver = function () { this.gotoAndStop("over"); }; ready_btn.onRollOut = function () { this.gotoAndStop("up"); }; ready_btn.onPress = function () { this.gotoAndStop("down"); };
Symbol 598 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 1
stop();
Symbol 606 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 1
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 1
stop();

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClipUses:2Used by:4
Symbol 4 MovieClip [button1_mc]Uses:3
Symbol 5 GraphicUsed by:10
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:10 542
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:10 539
Symbol 10 MovieClip [healthBar]Uses:5 7 9Used by:105 122 148 195 215
Symbol 11 BitmapUsed by:12 344
Symbol 12 GraphicUses:11Used by:Timeline
Symbol 13 FontUsed by:14
Symbol 14 TextUses:13Used by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:423  Timeline
Symbol 660 MovieClip [__Packages.MochiAd]
Symbol 661 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts]
Symbol 662 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon]
Symbol 663 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine]
Symbol 664 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager]
Symbol 665 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing]
Symbol 666 MovieClip [__Packages.com.mosesSupposes.fuse.Fuse]
Symbol 667 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 668 MovieClip [__Packages.com.mosesSupposes.fuse.FuseItem]
Symbol 669 MovieClip [__Packages.mx.utils.Delegate]
Symbol 670 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1]
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClip [armor1]Uses:19Used by:320
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClip [armor2]Uses:22Used by:320
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClip [armor3]Uses:25Used by:320
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:29
Symbol 29 MovieClip [emp1]Uses:28Used by:320
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClip [emp2]Uses:31Used by:320
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:35
Symbol 35 MovieClip [emp3]Uses:34Used by:320
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:38
Symbol 38 MovieClip [gun1]Uses:37Used by:320
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClip [gun2]Uses:40Used by:320
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:44
Symbol 44 MovieClip [gun3]Uses:43Used by:320
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:47
Symbol 47 MovieClip [reactor1]Uses:46Used by:320
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClip [reactor2]Uses:49Used by:320
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:53
Symbol 53 MovieClip [reactor3]Uses:52Used by:320
Symbol 54 BitmapUsed by:57 60
Symbol 55 BitmapUsed by:57 58
Symbol 56 BitmapUsed by:57 62
Symbol 57 GraphicUses:54 55 56Used by:320
Symbol 58 GraphicUses:55Used by:59
Symbol 59 MovieClipUses:58Used by:64
Symbol 60 GraphicUses:54Used by:61
Symbol 61 MovieClipUses:60Used by:64
Symbol 62 GraphicUses:56Used by:63
Symbol 63 MovieClipUses:62Used by:64
Symbol 64 MovieClip [track1]Uses:59 61 63Used by:320
Symbol 65 BitmapUsed by:69 74
Symbol 66 BitmapUsed by:69 72
Symbol 67 BitmapUsed by:69 76
Symbol 68 BitmapUsed by:69 70
Symbol 69 GraphicUses:65 66 67 68Used by:320
Symbol 70 GraphicUses:68Used by:71
Symbol 71 MovieClipUses:70Used by:320
Symbol 72 GraphicUses:66Used by:73
Symbol 73 MovieClipUses:72Used by:78
Symbol 74 GraphicUses:65Used by:75
Symbol 75 MovieClipUses:74Used by:78
Symbol 76 GraphicUses:67Used by:77
Symbol 77 MovieClipUses:76Used by:78
Symbol 78 MovieClip [track2]Uses:73 75 77Used by:320
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:81
Symbol 81 MovieClip [track3]Uses:80Used by:320
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:104
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:86
Symbol 86 MovieClipUses:85Used by:93
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:89
Symbol 89 MovieClipUses:88Used by:93
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:92
Symbol 92 MovieClipUses:91Used by:93
Symbol 93 MovieClipUses:86 89 92Used by:104
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClipUses:95Used by:104
Symbol 97 BitmapUsed by:98 99
Symbol 98 GraphicUses:97Used by:100
Symbol 99 GraphicUses:97Used by:100
Symbol 100 MovieClipUses:98 99Used by:104
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:103
Symbol 103 MovieClipUses:102Used by:104
Symbol 104 MovieClipUses:83 93 96 100 103Used by:105
Symbol 105 MovieClip [carrier]Uses:104 10Used by:320 594
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:108
Symbol 108 MovieClip [bomb]Uses:107Used by:320
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:111
Symbol 111 MovieClipUses:110Used by:115
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:114
Symbol 114 MovieClipUses:113Used by:115
Symbol 115 MovieClipUses:111 114Used by:121
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:118
Symbol 118 MovieClipUses:117Used by:121
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClipUses:115 118 120Used by:122
Symbol 122 MovieClip [floater]Uses:121 10Used by:320 594
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:125
Symbol 125 MovieClip [crater1]Uses:124Used by:320  Timeline
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClip [crater2]Uses:127Used by:320  Timeline
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:131
Symbol 131 MovieClip [crater3]Uses:130Used by:320  Timeline
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClip [crater4]Uses:133Used by:320  Timeline
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:137
Symbol 137 MovieClipUses:136Used by:140
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:140
Symbol 140 MovieClip [spotlight]Uses:137 139Used by:320
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:143
Symbol 143 MovieClipUses:142Used by:147
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:146
Symbol 146 MovieClipUses:145Used by:147 572
Symbol 147 MovieClipUses:143 146Used by:148
Symbol 148 MovieClip [shield]Uses:147 10Used by:320 594
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:194
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:153
Symbol 153 MovieClipUses:152Used by:167
Symbol 154 BitmapUsed by:155
Symbol 155 GraphicUses:154Used by:156
Symbol 156 MovieClipUses:155Used by:159
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:159
Symbol 159 MovieClipUses:156 158Used by:167
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:160Used by:162
Symbol 162 MovieClipUses:161Used by:166
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:165
Symbol 165 MovieClipUses:164Used by:166
Symbol 166 MovieClipUses:162 165Used by:167
Symbol 167 MovieClipUses:153 159 166Used by:194
Symbol 168 BitmapUsed by:169
Symbol 169 GraphicUses:168Used by:170
Symbol 170 MovieClipUses:169Used by:184
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:173
Symbol 173 MovieClipUses:172Used by:176
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:174Used by:176
Symbol 176 MovieClipUses:173 175Used by:184
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:179
Symbol 179 MovieClipUses:178Used by:183
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:182
Symbol 182 MovieClipUses:181Used by:183
Symbol 183 MovieClipUses:179 182Used by:184
Symbol 184 MovieClipUses:170 176 183Used by:194
Symbol 185 BitmapUsed by:186
Symbol 186 GraphicUses:185Used by:187
Symbol 187 MovieClipUses:186Used by:194
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:190
Symbol 190 MovieClipUses:189Used by:194
Symbol 191 BitmapUsed by:192
Symbol 192 GraphicUses:191Used by:193
Symbol 193 MovieClipUses:192Used by:194
Symbol 194 MovieClipUses:150 167 184 187 190 193Used by:195
Symbol 195 MovieClip [gunner]Uses:194 10Used by:320 594
Symbol 196 BitmapUsed by:197 200
Symbol 197 GraphicUses:196Used by:201
Symbol 198 BitmapUsed by:199 200
Symbol 199 GraphicUses:198Used by:201
Symbol 200 GraphicUses:198 196Used by:201
Symbol 201 MovieClipUses:197 199 200Used by:214
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:204
Symbol 204 MovieClipUses:203Used by:214
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:207
Symbol 207 MovieClipUses:206Used by:211
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:210
Symbol 210 MovieClipUses:209Used by:211
Symbol 211 MovieClipUses:207 210Used by:214
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:214
Symbol 214 MovieClipUses:201 204 211 213Used by:215
Symbol 215 MovieClip [exploder]Uses:214 10Used by:320 594
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:218
Symbol 218 MovieClipUses:217Used by:221
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClip [targeter]Uses:218 220Used by:320 594
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:224
Symbol 224 MovieClipUses:223Used by:228 594
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:227
Symbol 227 MovieClipUses:226Used by:228 594
Symbol 228 MovieClip [turret1]Uses:224 227Used by:320
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:231
Symbol 231 MovieClipUses:230Used by:235
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:234
Symbol 234 MovieClipUses:233Used by:235
Symbol 235 MovieClip [turret2]Uses:231 234Used by:320
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:238
Symbol 238 MovieClipUses:237Used by:244
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:241
Symbol 241 MovieClipUses:240Used by:244
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:244
Symbol 244 MovieClipUses:238 241 243Used by:248
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:247
Symbol 247 MovieClipUses:246Used by:248
Symbol 248 MovieClip [turret3]Uses:244 247Used by:320
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:251
Symbol 251 MovieClip [EMPBlast]Uses:250Used by:320
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:254
Symbol 254 MovieClipUses:253Used by:257
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:257
Symbol 257 MovieClip [EMPShot]Uses:254 256Used by:320 594
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:260
Symbol 260 MovieClipUses:259Used by:263
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:263
Symbol 263 MovieClip [enemyBullet]Uses:260 262Used by:320
Symbol 264 BitmapUsed by:265
Symbol 265 GraphicUses:264Used by:266
Symbol 266 MovieClipUses:265Used by:269
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:269
Symbol 269 MovieClip [shot1]Uses:266 268Used by:320
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:272
Symbol 272 MovieClipUses:271Used by:275
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:275
Symbol 275 MovieClip [shot2]Uses:272 274Used by:320
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:278
Symbol 278 MovieClipUses:277Used by:281
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:279Used by:281
Symbol 281 MovieClip [shot3]Uses:278 280Used by:320
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:284
Symbol 284 MovieClipUses:283Used by:320
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:287
Symbol 287 MovieClipUses:286Used by:290
Symbol 288 BitmapUsed by:289
Symbol 289 GraphicUses:288Used by:290
Symbol 290 MovieClipUses:287 289Used by:293 581 594  Timeline
Symbol 291 FontUsed by:292 448 461 573 574 576 577 578 579 580 583 584 585 586 587 591 592 593 621 622 623 624 625 626 627 628 629 630 631 633 634 635 636 637 638 639 640 641 642 643 649 650 651 652 653 654 655 656 657 658
Symbol 292 EditableTextUses:291Used by:293
Symbol 293 MovieClip [roundOver]Uses:290 292Used by:320
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294Used by:298
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:298
Symbol 298 MovieClip [enemyExplosion]Uses:295 297Used by:320
Symbol 299 GraphicUsed by:302
Symbol 300 FontUsed by:301
Symbol 301 TextUses:300Used by:302
Symbol 302 MovieClipUses:299 301Used by:320
Symbol 303 Sound [titleMusic]Used by:320
Symbol 304 Sound [airplane]Used by:320
Symbol 305 Sound [explosionsAirplane]Used by:320
Symbol 306 Sound [hatchOpen]Used by:320
Symbol 307 Sound [buttonSound]Used by:320
Symbol 308 Sound [EMP]Used by:320
Symbol 309 Sound [explosion]Used by:320
Symbol 310 Sound [gunSound]Used by:320
Symbol 311 Sound [shieldPowerDown]Used by:320
Symbol 312 Sound [shieldPowerUp]Used by:320
Symbol 313 Sound [turretDeploy]Used by:320
Symbol 314 Sound [gameMusic1]Used by:320
Symbol 315 Sound [gameMusic2]Used by:320
Symbol 316 Sound [laser]Used by:320
Symbol 317 SoundUsed by:320  Timeline
Symbol 318 SoundUsed by:320  Timeline
Symbol 319 SoundUsed by:320  Timeline
Symbol 320 MovieClipUses:20 23 26 29 32 35 38 41 44 47 50 53 57 64 69 71 78 81 105 108 122 125 128 131 134 140 148 195 215 221 228 235 248 251 257 263 269 275 281 284 293 298 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319Used by:Timeline
Symbol 321 BitmapUsed by:322
Symbol 322 GraphicUses:321Used by:323
Symbol 323 MovieClipUses:322Used by:342 423
Symbol 324 BitmapUsed by:325
Symbol 325 GraphicUses:324Used by:326
Symbol 326 MovieClipUses:325Used by:332
Symbol 327 BitmapUsed by:328
Symbol 328 GraphicUses:327Used by:329
Symbol 329 MovieClipUses:328Used by:332
Symbol 330 BitmapUsed by:331
Symbol 331 GraphicUses:330Used by:332
Symbol 332 MovieClipUses:326 329 331Used by:342
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:335
Symbol 335 MovieClipUses:334Used by:341
Symbol 336 BitmapUsed by:337
Symbol 337 GraphicUses:336Used by:338
Symbol 338 MovieClipUses:337Used by:341
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:341
Symbol 341 MovieClipUses:335 338 340Used by:342
Symbol 342 MovieClipUses:323 332 341Used by:Timeline
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343 11Used by:Timeline
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:347
Symbol 347 MovieClipUses:346Used by:350
Symbol 348 BitmapUsed by:349
Symbol 349 GraphicUses:348Used by:350
Symbol 350 MovieClipUses:347 349Used by:372 409 419
Symbol 351 BitmapUsed by:352
Symbol 352 GraphicUses:351Used by:353
Symbol 353 MovieClipUses:352Used by:359
Symbol 354 BitmapUsed by:355
Symbol 355 GraphicUses:354Used by:356
Symbol 356 MovieClipUses:355Used by:359
Symbol 357 BitmapUsed by:358
Symbol 358 GraphicUses:357Used by:359
Symbol 359 MovieClipUses:353 356 358Used by:372
Symbol 360 BitmapUsed by:361
Symbol 361 GraphicUses:360Used by:362
Symbol 362 MovieClipUses:361Used by:365
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:363Used by:365
Symbol 365 MovieClipUses:362 364Used by:372 409 419
Symbol 366 BitmapUsed by:367
Symbol 367 GraphicUses:366Used by:368
Symbol 368 MovieClipUses:367Used by:371
Symbol 369 BitmapUsed by:370
Symbol 370 GraphicUses:369Used by:371
Symbol 371 MovieClipUses:368 370Used by:372 409 419
Symbol 372 MovieClipUses:350 359 365 371Used by:Timeline
Symbol 373 FontUsed by:374 381 398 420 421 422 428 429 431 433 435 436 438 440 442 444 446 449 450 451 452 453 455 457 458 462 464 466 467 469 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 582 588 589 590 591 592 593 597 599 601 603 605 607 609 611 613 615 617 632 645 646 647
Symbol 374 TextUses:373Used by:Timeline
Symbol 375 BitmapUsed by:376
Symbol 376 GraphicUses:375Used by:377
Symbol 377 MovieClipUses:376Used by:380
Symbol 378 BitmapUsed by:379
Symbol 379 GraphicUses:378Used by:380
Symbol 380 MovieClipUses:377 379Used by:397 399 430 432 434 437 439 443 445 447 454 463 465 470 598 600 602 604 606 608 610 612 614 616 618 648
Symbol 381 TextUses:373Used by:397
Symbol 382 BitmapUsed by:383
Symbol 383 GraphicUses:382Used by:384
Symbol 384 MovieClipUses:383Used by:387
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:387
Symbol 387 MovieClipUses:384 386Used by:397 399 430 432 434 437 439 443 445 447 454 463 465 470 598 600 602 604 606 608 610 612 614 616 618 648
Symbol 388 BitmapUsed by:389
Symbol 389 GraphicUses:388Used by:390
Symbol 390 MovieClipUses:389Used by:396
Symbol 391 BitmapUsed by:392
Symbol 392 GraphicUses:391Used by:393
Symbol 393 MovieClipUses:392Used by:396
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:396
Symbol 396 MovieClipUses:390 393 395Used by:397 399 430 432 434 437 439 443 445 447 454 463 465 470 598 600 602 604 606 608 610 612 614 616 618 648
Symbol 397 MovieClipUses:380 381 387 396Used by:Timeline
Symbol 398 TextUses:373Used by:399
Symbol 399 MovieClipUses:380 398 387 396Used by:Timeline
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:402
Symbol 402 MovieClipUses:401Used by:408
Symbol 403 BitmapUsed by:404
Symbol 404 GraphicUses:403Used by:405
Symbol 405 MovieClipUses:404Used by:408
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:408
Symbol 408 MovieClipUses:402 405 407Used by:409
Symbol 409 MovieClipUses:350 408 365 371Used by:Timeline
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:412
Symbol 412 MovieClipUses:411Used by:418
Symbol 413 BitmapUsed by:414
Symbol 414 GraphicUses:413Used by:415
Symbol 415 MovieClipUses:414Used by:418
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:418
Symbol 418 MovieClipUses:412 415 417Used by:419
Symbol 419 MovieClipUses:350 418 365 371Used by:Timeline
Symbol 420 TextUses:373Used by:423
Symbol 421 TextUses:373Used by:423
Symbol 422 TextUses:373Used by:423
Symbol 423 MovieClipUses:420 421 422 323 17Used by:Timeline
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:426
Symbol 426 MovieClipUses:425Used by:427
Symbol 427 MovieClipUses:426Used by:Timeline
Symbol 428 TextUses:373Used by:441
Symbol 429 TextUses:373Used by:430
Symbol 430 MovieClipUses:380 429 387 396Used by:441
Symbol 431 TextUses:373Used by:432
Symbol 432 MovieClipUses:380 431 387 396Used by:441
Symbol 433 TextUses:373Used by:434
Symbol 434 MovieClipUses:380 433 387 396Used by:441 456
Symbol 435 TextUses:373Used by:441
Symbol 436 TextUses:373Used by:437
Symbol 437 MovieClipUses:380 436 387 396Used by:441  Timeline
Symbol 438 TextUses:373Used by:439
Symbol 439 MovieClipUses:380 438 387 396Used by:441  Timeline
Symbol 440 TextUses:373Used by:441
Symbol 441 MovieClipUses:428 430 432 434 435 437 439 440Used by:Timeline
Symbol 442 TextUses:373Used by:443
Symbol 443 MovieClipUses:380 442 387 396Used by:456
Symbol 444 TextUses:373Used by:445
Symbol 445 MovieClipUses:380 444 387 396Used by:456
Symbol 446 TextUses:373Used by:447
Symbol 447 MovieClipUses:380 446 387 396Used by:456
Symbol 448 TextUses:291Used by:456
Symbol 449 TextUses:373Used by:456
Symbol 450 TextUses:373Used by:456
Symbol 451 TextUses:373Used by:456
Symbol 452 TextUses:373Used by:456
Symbol 453 TextUses:373Used by:454
Symbol 454 MovieClipUses:380 453 387 396Used by:456
Symbol 455 EditableTextUses:373Used by:456
Symbol 456 MovieClipUses:443 445 434 447 448 449 450 451 452 454 455Used by:Timeline
Symbol 457 EditableTextUses:373Used by:Timeline
Symbol 458 EditableTextUses:373Used by:Timeline
Symbol 459 GraphicUsed by:460
Symbol 460 ButtonUses:459Used by:Timeline
Symbol 461 TextUses:291Used by:468
Symbol 462 TextUses:373Used by:463
Symbol 463 MovieClipUses:380 462 387 396Used by:468
Symbol 464 TextUses:373Used by:465
Symbol 465 MovieClipUses:380 464 387 396Used by:468
Symbol 466 EditableTextUses:373Used by:468
Symbol 467 EditableTextUses:373Used by:468
Symbol 468 MovieClipUses:461 463 465 466 467Used by:Timeline
Symbol 469 TextUses:373Used by:470
Symbol 470 MovieClipUses:380 469 387 396Used by:594  Timeline
Symbol 471 TextUses:373Used by:Timeline
Symbol 472 TextUses:373Used by:Timeline
Symbol 473 TextUses:373Used by:Timeline
Symbol 474 TextUses:373Used by:Timeline
Symbol 475 TextUses:373Used by:Timeline
Symbol 476 TextUses:373Used by:Timeline
Symbol 477 TextUses:373Used by:Timeline
Symbol 478 TextUses:373Used by:Timeline
Symbol 479 TextUses:373Used by:Timeline
Symbol 480 TextUses:373Used by:Timeline
Symbol 481 TextUses:373Used by:Timeline
Symbol 482 TextUses:373Used by:Timeline
Symbol 483 TextUses:373Used by:Timeline
Symbol 484 TextUses:373Used by:Timeline
Symbol 485 TextUses:373Used by:Timeline
Symbol 486 TextUses:373Used by:Timeline
Symbol 487 TextUses:373Used by:Timeline
Symbol 488 TextUses:373Used by:Timeline
Symbol 489 TextUses:373Used by:Timeline
Symbol 490 TextUses:373Used by:Timeline
Symbol 491 TextUses:373Used by:Timeline
Symbol 492 TextUses:373Used by:Timeline
Symbol 493 TextUses:373Used by:Timeline
Symbol 494 TextUses:373Used by:Timeline
Symbol 495 TextUses:373Used by:Timeline
Symbol 496 TextUses:373Used by:Timeline
Symbol 497 TextUses:373Used by:Timeline
Symbol 498 TextUses:373Used by:Timeline
Symbol 499 TextUses:373Used by:Timeline
Symbol 500 TextUses:373Used by:Timeline
Symbol 501 TextUses:373Used by:Timeline
Symbol 502 TextUses:373Used by:Timeline
Symbol 503 TextUses:373Used by:Timeline
Symbol 504 TextUses:373Used by:Timeline
Symbol 505 TextUses:373Used by:Timeline
Symbol 506 TextUses:373Used by:Timeline
Symbol 507 TextUses:373Used by:Timeline
Symbol 508 TextUses:373Used by:Timeline
Symbol 509 TextUses:373Used by:Timeline
Symbol 510 TextUses:373Used by:Timeline
Symbol 511 TextUses:373Used by:Timeline
Symbol 512 TextUses:373Used by:Timeline
Symbol 513 BitmapUsed by:514
Symbol 514 GraphicUses:513Used by:515
Symbol 515 MovieClipUses:514Used by:Timeline
Symbol 516 BitmapUsed by:517
Symbol 517 GraphicUses:516Used by:518
Symbol 518 MovieClipUses:517Used by:Timeline
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:521
Symbol 521 MovieClipUses:520Used by:536
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:524
Symbol 524 MovieClipUses:523Used by:528
Symbol 525 BitmapUsed by:526
Symbol 526 GraphicUses:525Used by:527
Symbol 527 MovieClipUses:526Used by:528
Symbol 528 MovieClipUses:524 527Used by:536
Symbol 529 BitmapUsed by:530
Symbol 530 GraphicUses:529Used by:531
Symbol 531 MovieClipUses:530Used by:535
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:534
Symbol 534 MovieClipUses:533Used by:535
Symbol 535 MovieClipUses:531 534Used by:536
Symbol 536 MovieClipUses:521 528 535Used by:Timeline
Symbol 537 MovieClipUsed by:Timeline
Symbol 538 GraphicUsed by:539 542
Symbol 539 MovieClipUses:538 9Used by:572 594  Timeline
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:540Used by:542
Symbol 542 MovieClipUses:538 541 7Used by:572 594
Symbol 543 BitmapUsed by:544
Symbol 544 GraphicUses:543Used by:545
Symbol 545 MovieClipUses:544Used by:572
Symbol 546 MovieClipUsed by:572  Timeline
Symbol 547 BitmapUsed by:548
Symbol 548 GraphicUses:547Used by:549
Symbol 549 MovieClipUses:548Used by:556
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:552
Symbol 552 MovieClipUses:551Used by:556
Symbol 553 BitmapUsed by:554
Symbol 554 GraphicUses:553Used by:555
Symbol 555 MovieClipUses:554Used by:556
Symbol 556 MovieClipUses:549 552 555Used by:572 594
Symbol 557 BitmapUsed by:558
Symbol 558 GraphicUses:557Used by:559
Symbol 559 MovieClipUses:558Used by:566
Symbol 560 BitmapUsed by:561
Symbol 561 GraphicUses:560Used by:562
Symbol 562 MovieClipUses:561Used by:566
Symbol 563 BitmapUsed by:564
Symbol 564 GraphicUses:563Used by:565
Symbol 565 MovieClipUses:564Used by:566
Symbol 566 MovieClipUses:559 562 565Used by:572 594
Symbol 567 MovieClipUsed by:571
Symbol 568 MovieClipUsed by:571
Symbol 569 MovieClipUsed by:571
Symbol 570 MovieClipUsed by:571
Symbol 571 MovieClipUses:567 568 569 570Used by:572  Timeline
Symbol 572 MovieClip [playerbody]Uses:539 542 545 546 556 566 571 146Used by:Timeline
Symbol 573 EditableTextUses:291Used by:Timeline
Symbol 574 EditableTextUses:291Used by:575
Symbol 575 MovieClipUses:574Used by:Timeline
Symbol 576 TextUses:291Used by:581
Symbol 577 TextUses:291Used by:581
Symbol 578 TextUses:291Used by:581
Symbol 579 TextUses:291Used by:581
Symbol 580 TextUses:291Used by:581
Symbol 581 MovieClipUses:290 576 577 578 579 580Used by:594  Timeline
Symbol 582 TextUses:373Used by:594
Symbol 583 TextUses:291Used by:594
Symbol 584 TextUses:291Used by:594
Symbol 585 TextUses:291Used by:594
Symbol 586 TextUses:291Used by:594
Symbol 587 TextUses:291Used by:594
Symbol 588 TextUses:373Used by:594
Symbol 589 TextUses:373Used by:594
Symbol 590 TextUses:373Used by:594
Symbol 591 TextUses:291 373Used by:594
Symbol 592 TextUses:291 373Used by:594
Symbol 593 TextUses:291 373Used by:594
Symbol 594 MovieClipUses:290 581 221 215 195 148 122 105 257 582 583 470 224 227 584 585 586 587 588 589 590 542 539 591 592 593 556 566Used by:Timeline
Symbol 595 Font
Symbol 596 TextUsed by:Timeline
Symbol 597 TextUses:373Used by:598
Symbol 598 MovieClipUses:380 597 387 396Used by:Timeline
Symbol 599 TextUses:373Used by:600
Symbol 600 MovieClipUses:380 599 387 396Used by:Timeline
Symbol 601 TextUses:373Used by:602
Symbol 602 MovieClipUses:380 601 387 396Used by:Timeline
Symbol 603 TextUses:373Used by:604
Symbol 604 MovieClipUses:380 603 387 396Used by:Timeline
Symbol 605 TextUses:373Used by:606
Symbol 606 MovieClipUses:380 605 387 396Used by:Timeline
Symbol 607 TextUses:373Used by:608
Symbol 608 MovieClipUses:380 607 387 396Used by:Timeline
Symbol 609 TextUses:373Used by:610
Symbol 610 MovieClipUses:380 609 387 396Used by:Timeline
Symbol 611 TextUses:373Used by:612
Symbol 612 MovieClipUses:380 611 387 396Used by:Timeline
Symbol 613 TextUses:373Used by:614
Symbol 614 MovieClipUses:380 613 387 396Used by:Timeline
Symbol 615 TextUses:373Used by:616
Symbol 616 MovieClipUses:380 615 387 396Used by:Timeline
Symbol 617 TextUses:373Used by:618
Symbol 618 MovieClipUses:380 617 387 396Used by:Timeline
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClipUses:619Used by:659  Timeline
Symbol 621 EditableTextUses:291Used by:644
Symbol 622 EditableTextUses:291Used by:644
Symbol 623 EditableTextUses:291Used by:644
Symbol 624 EditableTextUses:291Used by:644
Symbol 625 EditableTextUses:291Used by:644
Symbol 626 EditableTextUses:291Used by:644
Symbol 627 EditableTextUses:291Used by:644
Symbol 628 EditableTextUses:291Used by:644
Symbol 629 EditableTextUses:291Used by:644
Symbol 630 EditableTextUses:291Used by:644
Symbol 631 EditableTextUses:291Used by:644
Symbol 632 EditableTextUses:373Used by:644
Symbol 633 EditableTextUses:291Used by:644
Symbol 634 EditableTextUses:291Used by:644
Symbol 635 EditableTextUses:291Used by:644
Symbol 636 EditableTextUses:291Used by:644
Symbol 637 EditableTextUses:291Used by:644
Symbol 638 EditableTextUses:291Used by:644
Symbol 639 EditableTextUses:291Used by:644
Symbol 640 EditableTextUses:291Used by:644
Symbol 641 EditableTextUses:291Used by:644
Symbol 642 EditableTextUses:291Used by:644
Symbol 643 EditableTextUses:291Used by:644
Symbol 644 MovieClipUses:621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643Used by:Timeline
Symbol 645 TextUses:373Used by:Timeline
Symbol 646 TextUses:373Used by:Timeline
Symbol 647 TextUses:373Used by:648
Symbol 648 MovieClipUses:380 647 387 396Used by:Timeline
Symbol 649 TextUses:291Used by:659
Symbol 650 TextUses:291Used by:659
Symbol 651 TextUses:291Used by:659
Symbol 652 TextUses:291Used by:659
Symbol 653 TextUses:291Used by:659
Symbol 654 TextUses:291Used by:659
Symbol 655 TextUses:291Used by:659
Symbol 656 TextUses:291Used by:659
Symbol 657 TextUses:291Used by:659
Symbol 658 TextUses:291Used by:659
Symbol 659 MovieClipUses:649 650 651 652 653 654 655 656 657 620 658Used by:Timeline

Instance Names

"sponsor_logo"Frame 1Symbol 17 MovieClip
"MI_logo"Frame 2Symbol 342 MovieClip
"play_btn"Frame 4Symbol 372 MovieClip
"highscores"Frame 4Symbol 397 MovieClip
"moregames_btn"Frame 4Symbol 399 MovieClip
"sidemenu"Frame 4Symbol 290 MovieClip
"options_btn"Frame 4Symbol 409 MovieClip
"credits_btn"Frame 4Symbol 419 MovieClip
"creditsInfo"Frame 4Symbol 423 MovieClip
"design_btn"Frame 4Symbol 427 MovieClip
"sponsor_logo"Frame 4Symbol 17 MovieClip
"optionsInfo"Frame 4Symbol 441 MovieClip
"difficulty"Frame 4Symbol 456 MovieClip
"name_txt"Frame 33Symbol 457 EditableText
"name_txt"Frame 33Symbol 458 EditableText
"mainmenu"Frame 33Symbol 460 Button
"scoreMenu"Frame 33Symbol 468 MovieClip
"sidemenu"Frame 34Symbol 290 MovieClip
"ready_btn"Frame 34Symbol 470 MovieClip
"ground_mc"Frame 674Symbol 515 MovieClip
"debris_mc"Frame 674Symbol 537 MovieClip
"player_mc"Frame 674Symbol 572 MovieClip [playerbody]
"roundTimer"Frame 674Symbol 575 MovieClip
"instructions1"Frame 674Symbol 594 MovieClip
"actions_mc"Frame 674Symbol 15 MovieClip
"instructions1"Frame 675Symbol 581 MovieClip
"track_mc"Frame 675Symbol 546 MovieClip
"player_mc"Frame 675Symbol 571 MovieClip
"rightSide"Frame 675Symbol 290 MovieClip
"leftSide"Frame 675Symbol 290 MovieClip
"upgrade_btn"Frame 675Symbol 598 MovieClip
"Turret"Frame 675Symbol 600 MovieClip
"EMP"Frame 675Symbol 602 MovieClip
"Shields"Frame 675Symbol 604 MovieClip
"Armor"Frame 675Symbol 606 MovieClip
"Reactor"Frame 675Symbol 608 MovieClip
"Inhibitor"Frame 675Symbol 610 MovieClip
"Converter"Frame 675Symbol 612 MovieClip
"Track"Frame 675Symbol 614 MovieClip
"ready_btn"Frame 675Symbol 470 MovieClip
"playerHealth_mc"Frame 675Symbol 539 MovieClip
"repair_btn"Frame 675Symbol 616 MovieClip
"repair10_btn"Frame 675Symbol 618 MovieClip
"infoText"Frame 675Symbol 644 MovieClip
"music_off"Frame 675Symbol 437 MovieClip
"music_on"Frame 675Symbol 439 MovieClip
"sound_off"Frame 675Symbol 437 MovieClip
"sound_on"Frame 675Symbol 439 MovieClip
"moregames_btn"Frame 675Symbol 399 MovieClip
"exit_btn"Frame 675Symbol 648 MovieClip
"help"Frame 675Symbol 659 MovieClip
"button_mc"Symbol 4 MovieClip [button1_mc] Frame 1Symbol 3 MovieClip
"healthLeft_mc"Symbol 10 MovieClip [healthBar] Frame 1Symbol 9 MovieClip
"rearglow"Symbol 93 MovieClip Frame 1Symbol 86 MovieClip
"glow"Symbol 93 MovieClip Frame 1Symbol 89 MovieClip
"thrusters"Symbol 93 MovieClip Frame 1Symbol 92 MovieClip
"collision"Symbol 104 MovieClip Frame 1Symbol 83 MovieClip
"thrusters"Symbol 104 MovieClip Frame 1Symbol 93 MovieClip
"body"Symbol 104 MovieClip Frame 1Symbol 96 MovieClip
"hatch_mc"Symbol 104 MovieClip Frame 1Symbol 100 MovieClip
"outline"Symbol 104 MovieClip Frame 1Symbol 103 MovieClip
"body"Symbol 105 MovieClip [carrier] Frame 1Symbol 104 MovieClip
"healthbar_mc"Symbol 105 MovieClip [carrier] Frame 1Symbol 10 MovieClip [healthBar]
"flames"Symbol 115 MovieClip Frame 1Symbol 111 MovieClip
"thrusters"Symbol 115 MovieClip Frame 1Symbol 114 MovieClip
"thrusters_mc"Symbol 121 MovieClip Frame 1Symbol 115 MovieClip
"body"Symbol 121 MovieClip Frame 1Symbol 118 MovieClip
"collision"Symbol 121 MovieClip Frame 1Symbol 120 MovieClip
"body"Symbol 122 MovieClip [floater] Frame 1Symbol 121 MovieClip
"healthbar_mc"Symbol 122 MovieClip [floater] Frame 1Symbol 10 MovieClip [healthBar]
"body"Symbol 147 MovieClip Frame 1Symbol 143 MovieClip
"collision"Symbol 147 MovieClip Frame 1Symbol 146 MovieClip
"body"Symbol 148 MovieClip [shield] Frame 1Symbol 147 MovieClip
"healthbar_mc"Symbol 148 MovieClip [shield] Frame 1Symbol 10 MovieClip [healthBar]
"foot"Symbol 167 MovieClip Frame 1Symbol 153 MovieClip
"pivot"Symbol 167 MovieClip Frame 1Symbol 159 MovieClip
"leg"Symbol 167 MovieClip Frame 1Symbol 166 MovieClip
"foot"Symbol 184 MovieClip Frame 1Symbol 170 MovieClip
"pivot"Symbol 184 MovieClip Frame 1Symbol 176 MovieClip
"leg"Symbol 184 MovieClip Frame 1Symbol 183 MovieClip
"collision"Symbol 194 MovieClip Frame 1Symbol 150 MovieClip
"leftLeg"Symbol 194 MovieClip Frame 1Symbol 167 MovieClip
"rightLeg"Symbol 194 MovieClip Frame 1Symbol 184 MovieClip
"gun_mc"Symbol 194 MovieClip Frame 1Symbol 187 MovieClip
"pivots"Symbol 194 MovieClip Frame 1Symbol 190 MovieClip
"body_mc"Symbol 194 MovieClip Frame 1Symbol 193 MovieClip
"body"Symbol 194 MovieClip Frame 2Symbol 193 MovieClip
"body"Symbol 195 MovieClip [gunner] Frame 1Symbol 194 MovieClip
"healthbar_mc"Symbol 195 MovieClip [gunner] Frame 1Symbol 10 MovieClip [healthBar]
"base_mc"Symbol 211 MovieClip Frame 1Symbol 207 MovieClip
"lights_mc"Symbol 211 MovieClip Frame 1Symbol 210 MovieClip
"track_mc"Symbol 214 MovieClip Frame 1Symbol 201 MovieClip
"body_mc"Symbol 214 MovieClip Frame 1Symbol 204 MovieClip
"bomb_mc"Symbol 214 MovieClip Frame 1Symbol 211 MovieClip
"collision"Symbol 214 MovieClip Frame 1Symbol 213 MovieClip
"body"Symbol 215 MovieClip [exploder] Frame 1Symbol 214 MovieClip
"healthbar_mc"Symbol 215 MovieClip [exploder] Frame 1Symbol 10 MovieClip [healthBar]
"turret_mc"Symbol 228 MovieClip [turret1] Frame 1Symbol 227 MovieClip
"turret_mc"Symbol 235 MovieClip [turret2] Frame 1Symbol 234 MovieClip
"turret_mc"Symbol 248 MovieClip [turret3] Frame 1Symbol 247 MovieClip
"round_txt"Symbol 293 MovieClip [roundOver] Frame 1Symbol 292 EditableText
"sponsor_logo"Symbol 423 MovieClip Frame 1Symbol 17 MovieClip
"button_mc"Symbol 427 MovieClip Frame 1Symbol 426 MovieClip
"high"Symbol 441 MovieClip Frame 1Symbol 430 MovieClip
"low"Symbol 441 MovieClip Frame 1Symbol 432 MovieClip
"medium"Symbol 441 MovieClip Frame 1Symbol 434 MovieClip
"music_off"Symbol 441 MovieClip Frame 1Symbol 437 MovieClip
"music_on"Symbol 441 MovieClip Frame 1Symbol 439 MovieClip
"sound_off"Symbol 441 MovieClip Frame 1Symbol 437 MovieClip
"sound_on"Symbol 441 MovieClip Frame 1Symbol 439 MovieClip
"insane"Symbol 456 MovieClip Frame 1Symbol 443 MovieClip
"hard"Symbol 456 MovieClip Frame 1Symbol 445 MovieClip
"medium"Symbol 456 MovieClip Frame 1Symbol 434 MovieClip
"easy"Symbol 456 MovieClip Frame 1Symbol 447 MovieClip
"continue_btn"Symbol 456 MovieClip Frame 1Symbol 454 MovieClip
"saveddata_txt"Symbol 456 MovieClip Frame 1Symbol 455 EditableText
"submit"Symbol 468 MovieClip Frame 1Symbol 463 MovieClip
"menu"Symbol 468 MovieClip Frame 1Symbol 465 MovieClip
"name_txt"Symbol 468 MovieClip Frame 1Symbol 466 EditableText
"score_txt"Symbol 468 MovieClip Frame 1Symbol 467 EditableText
"healthLeft_mc"Symbol 539 MovieClip Frame 1Symbol 9 MovieClip
"plasmaLeft_mc"Symbol 542 MovieClip Frame 1Symbol 541 MovieClip
"heatBar_mc"Symbol 542 MovieClip Frame 1Symbol 7 MovieClip
"reactor_mc"Symbol 571 MovieClip Frame 1Symbol 567 MovieClip
"emp_mc"Symbol 571 MovieClip Frame 1Symbol 568 MovieClip
"gun_mc"Symbol 571 MovieClip Frame 1Symbol 569 MovieClip
"armor_mc"Symbol 571 MovieClip Frame 1Symbol 570 MovieClip
"healthBar_mc"Symbol 572 MovieClip [playerbody] Frame 1Symbol 539 MovieClip
"plasmaBar_mc"Symbol 572 MovieClip [playerbody] Frame 1Symbol 542 MovieClip
"collision"Symbol 572 MovieClip [playerbody] Frame 1Symbol 545 MovieClip
"track_mc"Symbol 572 MovieClip [playerbody] Frame 1Symbol 546 MovieClip
"EMPIcon"Symbol 572 MovieClip [playerbody] Frame 1Symbol 556 MovieClip
"turretIcon"Symbol 572 MovieClip [playerbody] Frame 1Symbol 566 MovieClip
"body_mc"Symbol 572 MovieClip [playerbody] Frame 1Symbol 571 MovieClip
"shield_mc"Symbol 572 MovieClip [playerbody] Frame 1Symbol 146 MovieClip
"roundTime_txt"Symbol 575 MovieClip Frame 1Symbol 574 EditableText
"ready_btn"Symbol 594 MovieClip Frame 1Symbol 470 MovieClip
"track_txt"Symbol 644 MovieClip Frame 1Symbol 621 EditableText
"converter_txt"Symbol 644 MovieClip Frame 1Symbol 622 EditableText
"inhibitor_txt"Symbol 644 MovieClip Frame 1Symbol 623 EditableText
"reactor_txt"Symbol 644 MovieClip Frame 1Symbol 624 EditableText
"armor_txt"Symbol 644 MovieClip Frame 1Symbol 625 EditableText
"shields_txt"Symbol 644 MovieClip Frame 1Symbol 626 EditableText
"EMP_txt"Symbol 644 MovieClip Frame 1Symbol 627 EditableText
"turret_txt"Symbol 644 MovieClip Frame 1Symbol 628 EditableText
"repaircost_txt"Symbol 644 MovieClip Frame 1Symbol 629 EditableText
"repair10cost_txt"Symbol 644 MovieClip Frame 1Symbol 630 EditableText
"version_txt"Symbol 644 MovieClip Frame 1Symbol 631 EditableText
"info_txt"Symbol 644 MovieClip Frame 1Symbol 632 EditableText
"cores_txt"Symbol 644 MovieClip Frame 1Symbol 633 EditableText
"cost_txt"Symbol 644 MovieClip Frame 1Symbol 634 EditableText
"change1Name"Symbol 644 MovieClip Frame 1Symbol 635 EditableText
"change1CurVal"Symbol 644 MovieClip Frame 1Symbol 636 EditableText
"change2CurVal"Symbol 644 MovieClip Frame 1Symbol 637 EditableText
"change3CurVal"Symbol 644 MovieClip Frame 1Symbol 638 EditableText
"change1NewVal"Symbol 644 MovieClip Frame 1Symbol 639 EditableText
"change2NewVal"Symbol 644 MovieClip Frame 1Symbol 640 EditableText
"change3NewVal"Symbol 644 MovieClip Frame 1Symbol 641 EditableText
"change2Name"Symbol 644 MovieClip Frame 1Symbol 642 EditableText
"change3Name"Symbol 644 MovieClip Frame 1Symbol 643 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 4 as "button1_mc"
ExportAssets (56)Timeline Frame 1Symbol 10 as "healthBar"
ExportAssets (56)Timeline Frame 1Symbol 660 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 661 as "__Packages.com.mosesSupposes.fuse.Shortcuts"
ExportAssets (56)Timeline Frame 1Symbol 662 as "__Packages.com.mosesSupposes.fuse.FuseKitCommon"
ExportAssets (56)Timeline Frame 1Symbol 663 as "__Packages.com.mosesSupposes.fuse.ZigoEngine"
ExportAssets (56)Timeline Frame 1Symbol 664 as "__Packages.com.mosesSupposes.fuse.ZManager"
ExportAssets (56)Timeline Frame 1Symbol 665 as "__Packages.com.mosesSupposes.fuse.PennerEasing"
ExportAssets (56)Timeline Frame 1Symbol 666 as "__Packages.com.mosesSupposes.fuse.Fuse"
ExportAssets (56)Timeline Frame 1Symbol 667 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 668 as "__Packages.com.mosesSupposes.fuse.FuseItem"
ExportAssets (56)Timeline Frame 1Symbol 669 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 670 as "__Packages.ab3.rankz.Armor_Bot_30_En_AS1"
ExportAssets (56)Timeline Frame 2Symbol 20 as "armor1"
ExportAssets (56)Timeline Frame 2Symbol 23 as "armor2"
ExportAssets (56)Timeline Frame 2Symbol 26 as "armor3"
ExportAssets (56)Timeline Frame 2Symbol 29 as "emp1"
ExportAssets (56)Timeline Frame 2Symbol 32 as "emp2"
ExportAssets (56)Timeline Frame 2Symbol 35 as "emp3"
ExportAssets (56)Timeline Frame 2Symbol 38 as "gun1"
ExportAssets (56)Timeline Frame 2Symbol 41 as "gun2"
ExportAssets (56)Timeline Frame 2Symbol 44 as "gun3"
ExportAssets (56)Timeline Frame 2Symbol 47 as "reactor1"
ExportAssets (56)Timeline Frame 2Symbol 50 as "reactor2"
ExportAssets (56)Timeline Frame 2Symbol 53 as "reactor3"
ExportAssets (56)Timeline Frame 2Symbol 64 as "track1"
ExportAssets (56)Timeline Frame 2Symbol 78 as "track2"
ExportAssets (56)Timeline Frame 2Symbol 81 as "track3"
ExportAssets (56)Timeline Frame 2Symbol 105 as "carrier"
ExportAssets (56)Timeline Frame 2Symbol 108 as "bomb"
ExportAssets (56)Timeline Frame 2Symbol 122 as "floater"
ExportAssets (56)Timeline Frame 2Symbol 125 as "crater1"
ExportAssets (56)Timeline Frame 2Symbol 128 as "crater2"
ExportAssets (56)Timeline Frame 2Symbol 131 as "crater3"
ExportAssets (56)Timeline Frame 2Symbol 134 as "crater4"
ExportAssets (56)Timeline Frame 2Symbol 140 as "spotlight"
ExportAssets (56)Timeline Frame 2Symbol 148 as "shield"
ExportAssets (56)Timeline Frame 2Symbol 195 as "gunner"
ExportAssets (56)Timeline Frame 2Symbol 215 as "exploder"
ExportAssets (56)Timeline Frame 2Symbol 221 as "targeter"
ExportAssets (56)Timeline Frame 2Symbol 228 as "turret1"
ExportAssets (56)Timeline Frame 2Symbol 235 as "turret2"
ExportAssets (56)Timeline Frame 2Symbol 248 as "turret3"
ExportAssets (56)Timeline Frame 2Symbol 251 as "EMPBlast"
ExportAssets (56)Timeline Frame 2Symbol 257 as "EMPShot"
ExportAssets (56)Timeline Frame 2Symbol 263 as "enemyBullet"
ExportAssets (56)Timeline Frame 2Symbol 269 as "shot1"
ExportAssets (56)Timeline Frame 2Symbol 275 as "shot2"
ExportAssets (56)Timeline Frame 2Symbol 281 as "shot3"
ExportAssets (56)Timeline Frame 2Symbol 293 as "roundOver"
ExportAssets (56)Timeline Frame 2Symbol 298 as "enemyExplosion"
ExportAssets (56)Timeline Frame 2Symbol 303 as "titleMusic"
ExportAssets (56)Timeline Frame 2Symbol 304 as "airplane"
ExportAssets (56)Timeline Frame 2Symbol 305 as "explosionsAirplane"
ExportAssets (56)Timeline Frame 2Symbol 306 as "hatchOpen"
ExportAssets (56)Timeline Frame 2Symbol 307 as "buttonSound"
ExportAssets (56)Timeline Frame 2Symbol 308 as "EMP"
ExportAssets (56)Timeline Frame 2Symbol 309 as "explosion"
ExportAssets (56)Timeline Frame 2Symbol 310 as "gunSound"
ExportAssets (56)Timeline Frame 2Symbol 311 as "shieldPowerDown"
ExportAssets (56)Timeline Frame 2Symbol 312 as "shieldPowerUp"
ExportAssets (56)Timeline Frame 2Symbol 313 as "turretDeploy"
ExportAssets (56)Timeline Frame 2Symbol 314 as "gameMusic1"
ExportAssets (56)Timeline Frame 2Symbol 315 as "gameMusic2"
ExportAssets (56)Timeline Frame 2Symbol 316 as "laser"
ExportAssets (56)Timeline Frame 674Symbol 572 as "playerbody"

Labels

"mainmenu"Frame 4
"loseScreen"Frame 33
"story"Frame 34
"game"Frame 674
"upgrade"Frame 675
"dead"Symbol 104 MovieClip Frame 2
"dead"Symbol 105 MovieClip [carrier] Frame 10
"dead"Symbol 121 MovieClip Frame 2
"dead"Symbol 122 MovieClip [floater] Frame 10
"dead"Symbol 147 MovieClip Frame 2
"dead"Symbol 148 MovieClip [shield] Frame 10
"dead"Symbol 194 MovieClip Frame 2
"dead"Symbol 195 MovieClip [gunner] Frame 101
"up"Symbol 372 MovieClip Frame 1
"over"Symbol 372 MovieClip Frame 2
"down"Symbol 372 MovieClip Frame 3
"up"Symbol 397 MovieClip Frame 1
"down"Symbol 397 MovieClip Frame 2
"over"Symbol 397 MovieClip Frame 3
"up"Symbol 399 MovieClip Frame 1
"down"Symbol 399 MovieClip Frame 2
"over"Symbol 399 MovieClip Frame 3
"up"Symbol 409 MovieClip Frame 1
"over"Symbol 409 MovieClip Frame 2
"down"Symbol 409 MovieClip Frame 3
"up"Symbol 419 MovieClip Frame 1
"over"Symbol 419 MovieClip Frame 2
"down"Symbol 419 MovieClip Frame 3
"up"Symbol 430 MovieClip Frame 1
"down"Symbol 430 MovieClip Frame 2
"over"Symbol 430 MovieClip Frame 3
"up"Symbol 432 MovieClip Frame 1
"down"Symbol 432 MovieClip Frame 2
"over"Symbol 432 MovieClip Frame 3
"up"Symbol 434 MovieClip Frame 1
"down"Symbol 434 MovieClip Frame 2
"over"Symbol 434 MovieClip Frame 3
"up"Symbol 437 MovieClip Frame 1
"down"Symbol 437 MovieClip Frame 2
"over"Symbol 437 MovieClip Frame 3
"up"Symbol 439 MovieClip Frame 1
"down"Symbol 439 MovieClip Frame 2
"over"Symbol 439 MovieClip Frame 3
"up"Symbol 443 MovieClip Frame 1
"down"Symbol 443 MovieClip Frame 2
"over"Symbol 443 MovieClip Frame 3
"up"Symbol 445 MovieClip Frame 1
"down"Symbol 445 MovieClip Frame 2
"over"Symbol 445 MovieClip Frame 3
"up"Symbol 447 MovieClip Frame 1
"down"Symbol 447 MovieClip Frame 2
"over"Symbol 447 MovieClip Frame 3
"up"Symbol 454 MovieClip Frame 1
"down"Symbol 454 MovieClip Frame 2
"over"Symbol 454 MovieClip Frame 3
"up"Symbol 463 MovieClip Frame 1
"down"Symbol 463 MovieClip Frame 2
"over"Symbol 463 MovieClip Frame 3
"up"Symbol 465 MovieClip Frame 1
"down"Symbol 465 MovieClip Frame 2
"over"Symbol 465 MovieClip Frame 3
"up"Symbol 470 MovieClip Frame 1
"down"Symbol 470 MovieClip Frame 2
"over"Symbol 470 MovieClip Frame 3
"up"Symbol 598 MovieClip Frame 1
"down"Symbol 598 MovieClip Frame 2
"over"Symbol 598 MovieClip Frame 3
"up"Symbol 600 MovieClip Frame 1
"down"Symbol 600 MovieClip Frame 2
"over"Symbol 600 MovieClip Frame 3
"up"Symbol 602 MovieClip Frame 1
"down"Symbol 602 MovieClip Frame 2
"over"Symbol 602 MovieClip Frame 3
"up"Symbol 604 MovieClip Frame 1
"down"Symbol 604 MovieClip Frame 2
"over"Symbol 604 MovieClip Frame 3
"up"Symbol 606 MovieClip Frame 1
"down"Symbol 606 MovieClip Frame 2
"over"Symbol 606 MovieClip Frame 3
"up"Symbol 608 MovieClip Frame 1
"down"Symbol 608 MovieClip Frame 2
"over"Symbol 608 MovieClip Frame 3
"up"Symbol 610 MovieClip Frame 1
"down"Symbol 610 MovieClip Frame 2
"over"Symbol 610 MovieClip Frame 3
"up"Symbol 612 MovieClip Frame 1
"down"Symbol 612 MovieClip Frame 2
"over"Symbol 612 MovieClip Frame 3
"up"Symbol 614 MovieClip Frame 1
"down"Symbol 614 MovieClip Frame 2
"over"Symbol 614 MovieClip Frame 3
"up"Symbol 616 MovieClip Frame 1
"down"Symbol 616 MovieClip Frame 2
"over"Symbol 616 MovieClip Frame 3
"up"Symbol 618 MovieClip Frame 1
"down"Symbol 618 MovieClip Frame 2
"over"Symbol 618 MovieClip Frame 3
"up"Symbol 648 MovieClip Frame 1
"down"Symbol 648 MovieClip Frame 2
"over"Symbol 648 MovieClip Frame 3

Dynamic Text Variables

p_nameSymbol 466 EditableText"-Your Name-"
_root.intTimeDisplaySymbol 573 EditableText"Time: 0:00:00"




http://swfchan.com/16/75605/info.shtml
Created: 6/4 -2019 00:15:31 Last modified: 6/4 -2019 00:15:31 Server time: 05/11 -2024 06:45:50