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

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

Orbitex.swf

This is the info page for
Flash #46860

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


Text
1

Score

User

Loading....

Orbtrex

Instructions

Start Game

Wall of Fame

Loading...

Saving...

High Scores

Continue

GAME OVER

High Score

Submit Score

99999

Score

Lvl 1

Health

Prompt Text

Double-Shot

100000

Instructions

Use your mouse to rotate and click the mouse button to fire bullets at incoming enemies.

Collect colored orbs :

= weapon upgrade
= 5000 points
= health upgrade

Sound Effects

Paused
press spacebar to continue

ActionScript [AS1/AS2]

Frame 1
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); } stop(); mochi.MochiServices.connect("f2561d504f00ac64"); __com_mochibot__("1d0c96ed", this, 10301, true); function GlobalSettingsParent() { this._state = "Loading"; this.Max_x = 480; this.Max_y = 480; this._background = 1; this._initLoad = 0; this._initAsteroid = 0; this._initPowerup = 0; this._shake = 0; this._theme = 1; this._level = 1; this._mute = false; this._slidestep = 0.25; this._score = 0; this._highscore = 0; this._bonus = 100; this._multiplier; this.Game_ID = 8; this.GameTitle = "Orbtrex"; this.BasePath = "http://games.smallzworld.com/"; this.InitLoadTime = 0; this.SpecialLinkURL = ""; this.SpecialMessage = ""; this._username = "Default"; this._submitState = false; } function create_movie_clip(ObjectName, Instance, NewLevel, instance_array) { var _local2; SymbolName = ObjectName + "Symbol"; _local2 = instance_array.length; InstanceName = (Instance + "_") + _local2; instance_array[_local2] = new Sprite(_local2, ObjectName, InstanceName); _root.attachMovie(SymbolName, InstanceName, NewLevel); _root[InstanceName].cacheAsBitmap; return(instance_array); } function create_instance(ObjectName, amount, Instance, TargetLevel) { var _local1; var _local2 = new Array(); _local1 = 1; while (_local1 <= amount) { _local2 = create_movie_clip(ObjectName, Instance, (TargetLevel + _local1) - 1, _local2); _local1++; } return(_local2); } function MC_alpha(InstanceName, pct) { setProperty(InstanceName, _alpha , pct); } function MC_rotate(InstanceName, angle) { setProperty(InstanceName, _rotation , angle); } function MC_pos(InstanceName, loc_x, loc_y) { setProperty(InstanceName, _x , loc_x); setProperty(InstanceName, _y , loc_y); } function MC_scale(InstanceName, newscale) { setProperty(InstanceName, _xscale , newscale); setProperty(InstanceName, _yscale , newscale); } function MC_size(InstanceName, new_width, new_height) { setProperty(InstanceName, _width , new_width); setProperty(InstanceName, _height , new_height); } function MC_show(InstanceName) { setProperty(InstanceName, _visible , 1); } function MC_hide(InstanceName) { setProperty(InstanceName, _visible , 0); } function display_prompt(PromptText, loc_x, loc_y) { Prompt.PromptText.text = PromptText; MC_pos("Prompt", loc_x, loc_y); MC_show("Prompt"); } function MC_tween(ObjectName, Property, tweenType, Begin, End, Time) { switch (tweenType) { case "Bounce" : easeType = mx.transitions.easing.Bounce.easeOut; break; case "Strong" : easeType = mx.transitions.easing.Strong.easeOut; break; case "Back" : easeType = mx.transitions.easing.Back.easeOut; break; case "Elastic" : easeType = mx.transitions.easing.Elastic.easeOut; break; case "Regular" : easeType = mx.transitions.easing.Regular.easeOut; break; case "None" : easeType = mx.transitions.easing.None.easeOut; } Tween = new mx.transitions.Tween(ObjectName, Property, easeType, Begin, End, Time, true); } function update_score_UI() { var _local1; MainUI_0.Score.text = int(Global._score); if (Global._score > Global._highscore) { Global._highscore = Global._score; } MainUI_0.HighScore.text = int(Global._highscore); MainUI_0.Level.text = "Level " + Global._level; Player = update_weapon_timer(Player); _local1 = update_timer(Player[0]._initWeapon); if (Player[0]._weaponDuration > 0) { MC_show(MainUI_0.Weapon); MainUI_0.Weapon.text = (Player[0]._weapon + " ") + int(Player[0]._weaponDuration - _local1); } else { MC_hide(MainUI_0.Weapon); } } function create_ui() { GameOver = create_instance("GameOver", 1, "GameOver", 8250); MC_pos(GameOver_0, 0, 0); MC_hide(GameOver_0); MainMenu = create_instance("MainMenu", 1, "MainMenu", 8100); MC_pos(MainMenu_0, 0, 0); MC_hide(MainMenu_0); Instructions = create_instance("Instructions", 1, "Instructions", 8200); MC_pos(Instructions_0, 0, 0); MC_hide(Instructions_0); MainUI = create_instance("MainUI", 1, "MainUI", 8000); MC_pos(MainUI_0, 240, 240); MC_hide(MainUI_0); create_instance("LoadingData", 1, "LoadingData", 8300); MC_pos(LoadingData_0, 0, 0); MC_hide(LoadingData_0); create_instance("SavingData", 1, "SavingData", 8400); MC_pos(SavingData_0, 0, 0); MC_hide(SavingData_0); create_instance("HighScores", 1, "HighScores", 8500); MC_pos(HighScores_0, 0, 0); MC_hide(HighScores_0); create_instance("Mute", 1, "Mute", 8600); Mute_0.gotoAndStop(1); MC_pos(Mute_0, 10, 410); MC_show(Mute_0); create_instance("Pause", 1, "Pause", 10000); MC_pos(Pause_0, 0, 0); MC_hide(Pause_0); ButtonList = button_setup(ButtonList); } function set_prompt(prompt_text) { MainUI_0.Prompt.text = prompt_text; MC_alpha(MainUI_0.Prompt, 100); } function prompt_update() { if (MainUI_0.Prompt._alpha > 0) { MainUI_0.Prompt._alpha = MainUI_0.Prompt._alpha - 4; } } function button_setup(button_array) { button_array = init_button(button_array, MainMenu_0.StartGame, "MainMenu", 100, 125); button_array = init_button(button_array, MainMenu_0.HighScores, "MainMenu", 100, 125); button_array = init_button(button_array, MainMenu_0.Instructions, "MainMenu", 100, 125); button_array = init_button(button_array, MainMenu_0.ADDButton, "MainMenu", 100, 125); button_array = init_button(button_array, MainMenu_0.Message, "MainMenu", 100, 125); button_array = init_button(button_array, Instructions_0.Back, "Instructions", 100, 125); button_array = init_button(button_array, GameOver_0.Back, "GameOver", 100, 125); button_array = init_button(button_array, GameOver_0.Submit, "GameOver", 100, 125); button_array = init_button(button_array, HighScores_0.Back, "HighScores", 100, 125); return(button_array); } function shake_check() { if (Global._shake > 0) { Global._shake--; MainUI_0._x = 238 + int(random(4) + 1); MainUI_0._y = 238 + int(random(4) + 1); } else { MainUI_0._x = 240; MainUI_0._y = 240; } } function mousecursor_check() { with (Player[0]) { if (Global._state != "Core") { Mouse.show(); if (Global._state != "Paused") { MC_hide(_instance); } } else { Mouse.hide(); MC_show(_instance); } } } function ButtonInfo(instance_name, game_state, min_scale, max_scale) { this._instance = instance_name; this._state = game_state; this._min = min_scale; this._max = max_scale; } function init_button(button_array, instance_name, game_state, min_scale, max_scale) { button_array[button_array.length] = new ButtonInfo(instance_name, game_state, min_scale, max_scale); return(button_array); } function check_rollovers(button_array, game_state) { var index; for (index in button_array) { with (button_array[index]) { if (_state == game_state) { if (_instance.hitTest(_root._xmouse, _root._ymouse)) { MC_scale(_instance, _max); } else { MC_scale(_instance, _min); } } } } } function AudioDataParent(identifier) { this._identifier = identifier; this._object = new Sound(); this._object.attachSound(identifier); } function audio_add(audio_array, identifier) { audio_array[audio_array.length] = new AudioDataParent(identifier); return(audio_array); } function audio_play(audio_array, identifier) { var index; for (index in audio_array) { with (audio_array[index]) { if (_identifier == identifier) { _object.start(); break; } } } } function audio_stop(audio_array, identifier) { var index; for (index in audio_array) { with (audio_array[index]) { if (_identifier == identifier) { _object.stop(); break; } } } } function audio_mute(audio_array) { var index; for (index in audio_array) { with (audio_array[index]) { _object.setVolume(0); } } } function audio_unmute(audio_array) { var index; for (index in audio_array) { with (audio_array[index]) { _object.setVolume(100); } } } function audio_init(audio_array) { audio_add(audio_array, "CompleteAnarchy"); audio_add(audio_array, "ClubStompas"); audio_add(audio_array, "ThrowinBows"); audio_add(audio_array, "Click"); audio_add(audio_array, "laser"); audio_add(audio_array, "bloop"); audio_add(audio_array, "explosion"); audio_add(audio_array, "health"); audio_add(audio_array, "upgrade"); audio_add(audio_array, "points"); return(audio_array); } function Preloader_Status() { var _local1; _local1 = (Math.round(getBytesLoaded()) / Math.round(getBytesTotal())) * 100; return(_local1); } function main_loop() { shake_check(); mousecursor_check(); prompt_update(); check_rollovers(ButtonList, Global._state); if (((Global._state == "Paused") || (Global._state == "MainMenu")) || (Global._state == "Core")) { MC_show(Mute_0); } else { MC_hide(Mute_0); } switch (Global._state) { case "Loading" : break; case "MainMenu" : update_background(); if ((MainMenu_0._visible == 0) || (MainMenu_0._xscale == 0)) { MC_show(MainMenu_0); MC_tween(MainMenu_0, "_xscale", "Regular", 5, 100, 0.75); MC_tween(MainMenu_0, "_yscale", "Regular", 5, 100, 0.75); } break; case "Core" : update_background(); if ((MainUI_0._visible == 0) || (MainUI_0._xscale == 0)) { MC_show(MainUI_0); MC_tween(MainUI_0, "_xscale", "Regular", 5, 100, 0.75); MC_tween(MainUI_0, "_yscale", "Regular", 5, 100, 0.75); Global._initAsteroid = getTimer(); Global._initPowerup = getTimer(); LevelData[Global._level]._initLevel = getTimer(); } elapsedTime = update_timer(Global._initAsteroid); if (elapsedTime > LevelData[Global._level]._asteroidDelay) { Asteroids = release_asteroid(Asteroids); Global._initAsteroid = getTimer(); } elapsedTime = update_timer(Global._initPowerup); if (elapsedTime > LevelData[Global._level]._powerupDelay) { Powerups = release_new_powerup(Powerups); Global._initPowerup = getTimer(); } Player = update_player(Player); Asteroids = update_asteroids(Asteroids); Bullets = update_bullets(Bullets); Powerups = update_powerups(Powerups); Powerups = powerup_collision(Powerups); Asteroids = asteroid_collision(Asteroids); Bullets = check_bullet_collision(Bullets, Asteroids); elapsedTime = update_timer(LevelData[Global._level]._initLevel); if (elapsedTime > LevelData[Global._level]._duration) { audio_stop(Audio, ThemeData[LevelData[Global._level]._theme]._music); Global._level++; LevelData[Global._level]._initLevel = getTimer(); if (Global._level > 7) { new_level = int(random(3) + 1); } else { new_level = Global._level; } set_theme(LevelData[new_level]._theme); } update_score_UI(); update_damage_meter(); if (Player[0]._health <= 0) { Global._state = "GameOver"; } break; case "Paused" : if (Pause_0._visible == 0) { MC_show(Pause_0); } update_background(); MC_alpha(MousePointer[0]._instance, (Math.random() * 70) + 30); break; case "GameOver" : update_background(); if ((GameOver_0._visible == 0) || (GameOver_0._xscale == 0)) { MC_tween(GameOver_0, "_xscale", "Regular", 5, 100, 0.75); MC_tween(GameOver_0, "_yscale", "Regular", 5, 100, 0.75); Global._submitState = false; MC_show(GameOver_0); if (Global.Score > Global._highscore) { Global._highscore = Global._score; } GameOver_0.ScoreText.text = "Score\r" + Global._score; GameOver_0.HighScoreText.text = "High Score\r" + Global._highscore; GameOver_0.UserName.text = Global._username; MC_show(GameOver_0.UserName); MC_show(GameOver_0.Label); mochi.MochiScores.showLeaderboard({boardID:"ed1a860d95261eb0", score:Global._score, name:playername}); } break; case "Instructions" : update_background(); if ((Instructions_0._visible == 0) || (Instructions_0._xscale == 0)) { MC_show(Instructions_0); MC_tween(Instructions_0, "_xscale", "Regular", 5, 100, 0.75); MC_tween(Instructions_0, "_yscale", "Regular", 5, 100, 0.75); } break; case "ResetGame" : reset_game(); MC_show(MainUI_0); Global._state = "MainMenu"; break; case "LoadingData" : update_background(); if (LoadingData_0._visible == 0) { Global._initLoad = getTimer(); MC_show(LoadingData_0); } elapsedTime = update_timer(Global._initLoad); if (elapsedTime > 45) { MC_hide(LoadingData_0); Global._state = "MainMenu"; } break; case "SavingData" : update_background(); if (SavingData_0._visible != 0) { break; } MC_show(SavingData_0); } } function reset_game() { Global._score = 0; Global._level = 1; Asteroids = reset_asteroids(Asteroids); Bullets = reset_bullets(Bullets); Powerups = reset_powerups(Powerups); Player[0]._health = 100; Player[0]._weaponDuration = 0; Player[0]._weapon = "SingleShot"; Audio[0]._object.stop(); set_level(LevelData[Global._level]); } function Process_Control_Input(KeyCode) { if (Mute_0.hitTest(_root._xmouse, _root._ymouse)) { if (Global._mute) { audio_unmute(Audio); Mute_0.gotoAndStop(1); Global._mute = false; } else { audio_mute(Audio); Mute_0.gotoAndStop(2); Global._mute = true; } } switch (Global._state) { case "Loading" : break; case "MainMenu" : if (MainMenu_0.StartGame.hitTest(_root._xmouse, _root._ymouse)) { MC_tween(MainMenu_0, "_xscale", "Regular", 100, 0, 0.75); MC_tween(MainMenu_0, "_yscale", "Regular", 100, 0, 0.75); reset_game(); Global._state = "Core"; } if (MainMenu_0.seeScores.hitTest(_root._xmouse, _root.ymouse)) { mochi.MochiScores.showLeaderboard({boardID:"ed1a860d95261eb0"}); } if (MainMenu_0.Instructions.hitTest(_root._xmouse, _root._ymouse)) { MC_tween(MainMenu_0, "_xscale", "Regular", 100, 0, 0.75); MC_tween(MainMenu_0, "_yscale", "Regular", 100, 0, 0.75); Global._state = "Instructions"; } break; case "Core" : if (KeyCode == 32) { Global._state = "Paused"; } if (KeyCode == 0) { Player = player_fire_weapon(Player); } break; case "Paused" : if (KeyCode == 32) { MC_hide(Pause_0); Global._state = "Core"; } break; case "GameOver" : if (GameOver_0.Back.hitTest(_root._xmouse, _root._ymouse)) { MC_hide(GameOver_0); MC_tween(GameOver_0, "_xscale", "Regular", 100, 0, 0.75); MC_tween(GameOver_0, "_yscale", "Regular", 100, 0, 0.75); MC_tween(MainUI_0, "_xscale", "Regular", 100, 0, 0.75); MC_tween(MainUI_0, "_yscale", "Regular", 100, 0, 0.75); Global._state = "MainMenu"; gotoAndPlay (7); } break; case "Instructions" : if (!Instructions_0.Back.hitTest(_root._xmouse, _root._ymouse)) { break; } MC_tween(Instructions_0, "_xscale", "Regular", 100, 0, 0.75); MC_tween(Instructions_0, "_yscale", "Regular", 100, 0, 0.75); Global._state = "MainMenu"; } } function init_orb(amount, symbol_name, instance_name, target_level) { var index; var orb_array = new Array(); orb_array = create_instance(symbol_name, amount, instance_name, target_level); for (index in orb_array) { with (orb_array[index]) { _state = "Inactive"; _alpha = 100; _color = (Math.random() * 3) + 1; _xoff = 0; _yoff = 0; _speed = (Math.random() * 2) + 1; _scale = (Math.random() * 60) + 30; _xpos = random(Global.Max_x); _ypos = (random(Global.Max_y) + Global.Max_y) + 30; _root[_instance].gotoAndStop(1); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); MC_alpha(_instance, _alpha); } } return(orb_array); } function orb_bullet_collision() { var index; for (index in orb_array) { with (orb_array[index]) { } } } function check_for_collision(orb_array) { var index; var point_value; player_width = Player_0._width / 2; for (index in orb_array) { with (orb_array[index]) { if (_state == "Floater") { orb_width = _root[_instance]._width / 2; distance = get_distance(_xpos, _ypos, Player[0]._xpos, Player[0]._ypos); if ((orb_width + player_width) > distance) { if (_color == Player[0]._color) { _state = "Orbiting"; _radius = 20; Global.ActiveOrbiters++; _orbitslot = Global.ActiveOrbiters; Global.Score = Global.Score + 100; SFX_Blip.start(); point_value = int((300 + (Global._level * 50)) - _scale); if (point_value < 5) { point_value = 5; } Global.Multiplier++; multiplier_suffix = " x" + Global.Multiplier; _root[_instance].Points.PointText.PointText.text = point_value + multiplier_suffix; Global.Score = Global.Score + (point_value * Global.Multiplier); break; } Player[0]._health = Player[0]._health - 5; } } } } return(orb_array); } function move_orb(Datastruct) { var dist; var new_scale; with (Datastruct) { switch (_state) { case "Inactive" : MC_hide(_instance); break; case "PointsDisplay" : if (_root[_instance].Points._currentframe == _root[_instance].Points._totalframes) { _state = "Inactive"; } break; case "Orbiting" : _orbitrotation = Global._orbitrotation + (_orbitslot * 36); _xpos = Player[0]._xpos + (_radius * Math.cos((_orbitrotation * Math.PI) / 180)); _ypos = Player[0]._ypos + (_radius * Math.sin((_orbitrotation * Math.PI) / 180)); break; case "Bullet" : _xpos = _xpos + _xs; _ypos = _ypos + _ys; if (_ypos < 0) { _state = "Inactive"; } break; case "Floater" : _xpos = _xpos + _xs; _ypos = _ypos + _ys; dist = get_distance(_xpos, _ypos, _targetx, _targety); new_scale = 100 - ((dist / 200) * 100); _scale = new_scale; if (!_onscreen) { if ((((_xpos >= 0) && (_xpos <= Global.Max_x)) && (_ypos >= 0)) && (_ypos <= Global.Max_y)) { _onscreen = true; } } else { if (!((((_xpos > Global.Max_x) || (_xpos < 0)) || (_ypos < 0)) || (_ypos > Global.Max_y))) { break; } _state = "Inactive"; } } } return(Datastruct); } function update_orbs(orb_array) { var index; Global._orbitrotation = Global._orbitrotation + Global._orbitspeed; for (index in orb_array) { with (orb_array[index]) { orb_array[index] = move_orb(orb_array[index]); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); } } return(orb_array); } function release_new_orb(orb_array) { var index; for (index in orb_array) { with (orb_array[index]) { if (_state == "Inactive") { min_distance = 0; loopcount = 1; while ((min_distance < Global.MinSpacing) && (loopcount <= 100)) { loopcount++; _xpos = random(Global.Max_x - 50) + 25; _ypos = random(Global.Max_y - 200) + 50; min_distance = get_min_distance(orb_array, _xpos, _ypos); } if (loopcount > 100) { Global.initTime = getTimer(); Global._state = "GameOver"; } _state = "Active"; _alpha = 100; _color = random(3) + 1; _speed = 0; _scale = 1; _root[_instance].gotoAndStop(_color); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); MC_alpha(_instance, _alpha); MC_show(_instance); break; } } } return(orb_array); } function check_end_game(orb_array) { var index; for (index in orb_array) { with (orb_array[index]) { if (_state == "Active") { main_width = _root[_instance]._width / 2; for (test_index in orb_array) { cur_id = orb_array[test_index]._id; cur_state = orb_array[test_index]._state; if ((cur_id != _id) && (cur_state == "Active")) { cur_x = orb_array[test_index]._xpos; cur_y = orb_array[test_index]._ypos; test_orb = _root[orb_array[test_index]._instance]; cur_width = test_orb._width / 2; distance = get_distance(_xpos, _ypos, cur_x, cur_y); if ((cur_width + main_width) > distance) { trace("it's over"); Global._state = "GameOver"; return(true); } } } } } } return(false); } function reset_orbs(orb_array) { var index; for (index in orb_array) { with (orb_array[index]) { _state = "Inactive"; MC_hide(_instance); } } return(orb_array); } function launch_orb(orb_array) { var index; var origin = (int(random(10)) * 36); var angle; for (index in orb_array) { with (orb_array[index]) { if (_state == "Inactive") { _state = "Floater"; _targetx = 240 + (200 * Math.cos(origin)); _targety = 220 + (200 * Math.sin(origin)); _color = random(10) + 1; _scale = 5; _speed = Global._orbspeed; _xpos = 240; _ypos = 220; angle = get_angle(_xpos, _ypos, _targetx, _targety); orb_array[index] = set_angle_movement(orb_array[index], angle, _speed); _root[_instance].gotoAndStop(_color); MC_show(_instance); MC_scale(_instance, _scale); MC_pos(_instance, _xpos, _ypos); break; } } } return(orb_array); } function fire_orb(orb_array) { var index; var loc_x = _root._xmouse; var loc_y = _root._ymouse; for (index in orb_array) { with (orb_array[index]) { if (_state == "Orbiting") { _state = "Bullet"; _xpos = loc_x; _ypos = loc_y; _ys = -15; _xs = 0; break; } } } return(orb_array); } function Sprite(id, object_name, instance_name) { Global.Sprite_Count++; this._id = int(id); this._instance = instance_name; this._object = object_name; this._spriteid = int(Global.Sprite_Count); this._state = "Inactive"; this._color = 0; this._xpos = 0; this._ypos = 0; this._xoff = 0; this._yoff = 0; this._targetx = 0; this._targety = 0; this._xs = 0; this._ys = 0; this._scale = 100; this._rotation = 0; this._speed = 0; this._alpha = 100; this._strength = 0; this._health = 100; this._target = 0; this._facing = 0; this._formation = 0; this._weapon = ""; this._type = ""; this._circleradius = 0; this._circlex = 0; this._circley = 0; } function update_timer(timer_init) { var _local1; _local1 = (getTimer() - timer_init) / 1000; _local1 = int(_local1 * 100) / 100; return(_local1); } function timeString(TimerValue) { var _local3; var _local1; var _local4; var _local2; var _local5; _local3 = int(TimerValue / 60); _local1 = int(TimerValue - (_local3 * 60)); _local4 = int((_local3 * 60) + _local1); _local2 = int((((TimerValue * 100) - (_local4 * 100)) / 100) * 100); if (_local1 < 10) { _local1 = "0" + _local1; } if (_local2 < 10) { _local2 = "0" + _local2; } _local5 = (((_local3 + ":") + _local1) + ".") + _local2; return(_local5); } function LoadHighScores(game_id) { Global._phpRoutine = "LoadHighScores"; PHPSendData.Routine = "LoadHighScores"; PHPSendData.Game_ID = game_id; PHPSendData.sendAndLoad(Global.BasePath + "RecordManagement.php", PHPLoadData, "GET"); Global._initLoad = getTimer(); Global._state = "LoadingData"; } function SaveHighScore(game_id, profile_id, user_name, level, score, time_score, comment) { Global._phpRoutine = "AddHighScore"; PHPSendData.Routine = "AddHighScore"; PHPSendData.Game_ID = game_id; PHPSendData.Profile_ID = profile_id; PHPSendData.UserName = user_name; PHPSendData.Level = level; PHPSendData.Score = score; PHPSendData.TimeScore = time_score; PHPSendData.Comment = comment; PHPSendData.sendAndLoad(Global.BasePath + "RecordManagement.php", PHPLoadData, "GET"); Global._initLoad = getTimer(); Global._state = "SavingData"; } function process_php_data(Routine) { switch (Routine) { case "AddHighScore" : MC_hide(SavingData_0); Global._state = "GameOver"; break; case "LoadHighScores" : Global.SpecialMessage = PHPLoadData.SpecialMessage; Global.SpecialLinkURL = PHPLoadData.SpecialLinkURL; MC_hide(LoadingData_0); Global._state = "HighScores"; } } function output_high_scores() { mochi.MochiScores.showLeaderboard({boardID:"ed1a860d95261eb0", score:playerscore, name:playername}); } function ThemeDataParent() { this._background = 0; this._rotate = false; this._alpha = 0; this._pulse = false; this._scale = false; this._bubbles = false; this._slide = false; this._slidestep = 0; this._scalestep = 0; this._music = ""; } function theme_definitions(theme_array) { theme_array[1] = new ThemeDataParent(); theme_array[1]._rotate = false; theme_array[1]._alpha = 50; theme_array[1]._pulse = false; theme_array[1]._scale = false; theme_array[1]._bubbles = false; theme_array[1]._slide = true; theme_array[1]._slidestep = 0.25; theme_array[1]._scalestep = 0; theme_array[1]._background = 1; theme_array[1]._music = "CompleteAnarchy"; theme_array[2] = new ThemeDataParent(); theme_array[2]._rotate = false; theme_array[2]._alpha = 50; theme_array[2]._pulse = false; theme_array[2]._scale = false; theme_array[2]._bubbles = false; theme_array[2]._slide = true; theme_array[2]._slidestep = 0.25; theme_array[2]._scalestep = 0; theme_array[2]._background = 2; theme_array[2]._music = "ClubStompas"; theme_array[3] = new ThemeDataParent(); theme_array[3]._rotate = false; theme_array[3]._alpha = 50; theme_array[3]._pulse = false; theme_array[3]._scale = false; theme_array[3]._bubbles = false; theme_array[3]._slide = true; theme_array[3]._slidestep = 0.25; theme_array[3]._scalestep = 0; theme_array[3]._background = 3; theme_array[3]._music = "ThrowinBows"; return(theme_array); } function set_theme(theme_index) { with (ThemeData[theme_index]) { change_background(_background); MC_rotate(Background_0, 0); MC_scale(Background_0, 100); MC_alpha(Background_0, _alpha); audio_play(Audio, _music); } } function rotate_background() { Background_0._rotation = Background_0._rotation + 0.05; } function next_background() { Global._background++; if (Global._background > 4) { Global._background = 1; } change_background(Global._background); } function slide_background(Min_x, Max_x) { Backgrounds[0]._xpos = Backgrounds[0]._xpos + Global._slidestep; if ((Backgrounds[0]._xpos > Max_x) || (Backgrounds[0]._xpos < Min_x)) { Global._slidestep = -Global._slidestep; } MC_pos(Background_0, Backgrounds[0]._xpos, Backgrounds[0]._ypos); } function scale_background(Min_scale, Max_scale) { Backgrounds[0]._scale = Backgrounds[0]._scale + ThemeData._scalestep; if ((Backgrounds[0]._scale > Max_scale) || (Backgrounds[0]._scale < Min_scale)) { ThemeData._scalestep = -ThemeData._scalestep; } MC_scale(Background_0, Backgrounds[0]._scale); } function update_pulse(pulseSpeed) { Pulse_0._xscale = Pulse_0._xscale + pulseSpeed; Pulse_0._yscale = Pulse_0._yscale + pulseSpeed; if (Pulse_0._xscale > 400) { Pulse_0._xscale = 0; Pulse_0._yscale = 0; } } function change_background(theme_index) { Global._curBackground = ThemeData[theme_index]._background; } function update_background() { slide_background(-100, 100); for (index in ThemeData) { with (ThemeData[index]) { if (_background == Global._curBackground) { if (Background_0["Background_" + _background]._alpha < _alpha) { Background_0["Background_" + _background]._alpha = Background_0["Background_" + _background]._alpha + 5; } } else if (Background_0["Background_" + _background]._alpha > 0) { Background_0["Background_" + _background]._alpha = Background_0["Background_" + _background]._alpha - 5; } } } } function init_player(amount, symbol_name, instance_name, target_level) { var index; var player_array = new Array(); player_array = create_instance(symbol_name, amount, instance_name, target_level); for (index in player_array) { with (player_array[index]) { _state = "Active"; _weapon = "SingleShot"; _bulletspeed = 9; _health = 100; _alpha = 100; _speed = 0; _scale = 100; _xpos = 0; _ypos = 0; _color = 1; MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); MC_alpha(_instance, _alpha); _root[_instance].gotoAndStop(_color); } } return(player_array); } function move_player(Datastruct) { with (Datastruct) { switch (_state) { case "Active" : angle = get_angle(240, 220, _root._xmouse, _root._ymouse); _xpos = 240 + (200 * Math.cos(angle)); _ypos = 220 + (200 * Math.sin(angle)); break; case "Exploding" : } } return(Datastruct); } function update_player(player_array) { var index; for (index in player_array) { with (player_array[index]) { player_array[index] = move_player(player_array[index]); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); } } return(player_array); } function player_fire_weapon(player_array) { var x1; var y1; var x2; var y2; var angle1; var angle2; var angle_offset; with (player_array[0]) { switch (Player[0]._weapon) { case "SingleShot" : Bullets = player_fire_bullet(Bullets, _xpos, _ypos, _bulletspeed); break; case "DoubleShot" : angle_offset = 5; angle1 = get_angle(240, 220, _root._xmouse, _root._ymouse) + ((angle_offset * Math.PI) / 180); angle2 = get_angle(240, 220, _root._xmouse, _root._ymouse) + (((-angle_offset) * Math.PI) / 180); x1 = 240 + (200 * Math.cos(angle1)); y1 = 220 + (200 * Math.sin(angle1)); x2 = 240 + (200 * Math.cos(angle2)); y2 = 220 + (200 * Math.sin(angle2)); Bullets = player_fire_bullet(Bullets, x1, y1, _bulletspeed); Bullets = player_fire_bullet(Bullets, x2, y2, _bulletspeed); break; case "TripleShot" : } } return(player_array); } function player_fire_bullet(bullet_array, loc_x, loc_y, speed) { var index; var angle; for (index in bullet_array) { with (bullet_array[index]) { if (_state == "Inactive") { _state = "Active"; _ys = speed; _xpos = loc_x; _ypos = loc_y; _speed = speed; _scale = 25; _targetx = 240; _targety = 220; angle = get_angle(_xpos, _ypos, _targetx, _targety); _xs = _speed * Math.cos(angle); _ys = _speed * Math.sin(angle); MC_show(_instance); MC_scale(_instance, _scale); audio_play(Audio, "laser"); break; } } } return(bullet_array); } function update_damage_meter() { if (Player[0]._health <= 25) { if (Player[0]._health < 0) { Player[0]._health = 0; } MainUI_0.Damage.Red._visible = 1; MainUI_0.Damage.Red._width = Player[0]._health; MainUI_0.Damage.Green._visible = 0; MainUI_0.Damage.Yellow._visible = 0; } if ((Player[0]._health > 25) && (Player[0]._health < 75)) { MainUI_0.Damage.Yellow._visible = 1; MainUI_0.Damage.Yellow._width = Player[0]._health; MainUI_0.Damage.Green._visible = 0; MainUI_0.Damage.Red._visible = 0; } if (Player[0]._health >= 75) { MainUI_0.Damage.Green._visible = 1; MainUI_0.Damage.Green._width = Player[0]._health; MainUI_0.Damage.Red._visible = 0; MainUI_0.Damage.Yellow._visible = 0; } if (Player[0]._health < 0) { Global._state = "GameOver"; } } function update_weapon_timer(player_array) { var elapsedTime; with (player_array[0]) { elapsedTime = update_timer(_initWeapon); if (elapsedTime > _weaponDuration) { _weapon = "SingleShot"; _weaponDuration = 0; } } return(player_array); } function get_object_distance(Datastruct_1, Datastruct_2) { var _local2; var _local1; _local2 = Datastruct_1._xpos - Datastruct_2._xpos; _local1 = Datastruct_1._ypos - Datastruct_2._ypos; return(Math.sqrt((_local2 * _local2) + (_local1 * _local1))); } function get_distance(x1, y1, x2, y2) { var _local1; _local1 = Math.sqrt(((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2))); return(_local1); } function get_min_distance(object_array, x_loc, y_loc) { var index; var distance; var min_distance = 999; for (index in object_array) { with (object_array[index]) { if (_state == "Active") { distance = get_distance(x_loc, y_loc, _xpos, _ypos); if (distance < min_distance) { min_distance = distance; } } } } return(min_distance); } function get_angle(loc_x, loc_y, target_x, target_y) { return(Math.atan2(target_y - loc_y, target_x - loc_x)); } function set_angle_movement(Datastruct, angle, speed) { with (Datastruct) { _xs = speed * Math.cos(angle); _ys = speed * Math.sin(angle); } return(Datastruct); } function init_bullets(amount, symbol_name, instance_name, target_level) { var index; var bullet_array = new Array(); bullet_array = create_instance(symbol_name, amount, instance_name, target_level); for (index in bullet_array) { with (bullet_array[index]) { _state = "Inactive"; _alpha = 100; _speed = 0; _scale = 100; _xpos = 0; _ypos = 0; MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); MC_alpha(_instance, _alpha); MC_hide(_instance); } } return(bullet_array); } function move_bullet(Datastruct) { var dist; with (Datastruct) { if (!(_state === "Active")) { } else { _xpos = _xpos + _xs; _ypos = _ypos + _ys; dist = get_distance(_xpos, _ypos, _targetx, _targety); _scale = (dist / 200) * 80; if (dist < 15) { _state = "Inactive"; MC_hide(_instance); } } } return(Datastruct); } function check_bullet_collision(bullet_array, object_array) { var index; var c_object; for (index in bullet_array) { with (bullet_array[index]) { if (_state == "Active") { for (c_object in object_array) { if ((object_array[c_object]._state != "Inactive") && (object_array[c_object]._state != "Exploding")) { if (_root[object_array[c_object]._instance].hitTest(_root[_instance])) { object_array[c_object]._state = "Exploding"; _root[object_array[c_object]._instance].Explosion.gotoAndPlay(1); _root[object_array[c_object]._instance].gotoAndStop("explosion"); _state = "Inactive"; Global._score = Global._score + 150; audio_play(Audio, "explosion"); MC_hide(_instance); } } } } } } return(bullet_array); } function update_bullets(bullet_array) { var index; for (index in bullet_array) { with (bullet_array[index]) { bullet_array[index] = move_bullet(bullet_array[index]); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); } } return(bullet_array); } function reset_bullets(bullets_array) { var index; for (index in bullets_array) { with (bullets_array[index]) { _state = "Inactive"; MC_hide(_instance); } } return(bullets_array); } function init_powerups(amount, symbol_name, instance_name, target_level) { var index; var powerup_array = new Array(); powerup_array = create_instance(symbol_name, amount, instance_name, target_level); for (index in powerup_array) { with (powerup_array[index]) { _state = "Inactive"; _alpha = 100; _speed = 0; _scale = 100; _xpos = 0; _ypos = 0; MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); MC_alpha(_instance, _alpha); MC_hide(_instance); _root[_instance].gotoAndStop(1); } } return(powerup_array); } function move_powerup(Datastruct) { with (Datastruct) { if (!(_state === "Active")) { } else { _xpos = _xpos + _xs; _ypos = _ypos + _ys; dist = get_distance(_xpos, _ypos, _targetx, _targety); new_scale = 100 - ((dist / 200) * 100); _scale = new_scale; if (dist < 5) { _state = "Inactive"; MC_hide(_instance); } } } return(Datastruct); } function powerup_collision(powerup_array) { var index; var elapsedTime; var remainingTime; for (index in powerup_array) { with (powerup_array[index]) { if (_state == "Active") { if (_root[_instance].hitTest(_root[Player[0]._instance])) { switch (_type) { case 1 : audio_play(Audio, "upgrade"); set_prompt("Double Shot"); if (Player[0]._weapon == "DoubleShot") { Player[0]._weaponDuration = Player[0]._weaponDuration + 20; } else { Player[0]._weapon = "DoubleShot"; Player[0]._initWeapon = getTimer(); Player[0]._weaponDuration = 20; } break; case 2 : audio_play(Audio, "points"); set_prompt("5000 pts"); Global._score = Global._score + 5000; break; case 3 : audio_play(Audio, "health"); set_prompt("Health +50"); Player[0]._health = Player[0]._health + 50; if (Player[0]._health <= 100) { break; } Player[0]._health = 100; } _state = "Inactive"; MC_hide(_instance); } } } } return(powerup_array); } function update_powerups(powerup_array) { var index; for (index in powerup_array) { with (powerup_array[index]) { powerup_array[index] = move_powerup(powerup_array[index]); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); } } return(powerup_array); } function release_new_powerup(powerup_array) { var index; var origin = (int(random(10)) * 36); var angle; var elapsedTime; var remainingTime; for (index in powerup_array) { with (powerup_array[index]) { if (_state == "Inactive") { _state = "Active"; _type = int(random(3) + 1); if (Player[0]._health < 50) { _type = 3; } else { if (Player[0]._weapon != "SingleShot") { elapsedTime = update_timer(Player[0]._initWeapon); remainingTime = int(Player[0]._weaponDuration - elapsedTime); } else { remainingTime = 0; } if ((Player[0]._health >= 90) && (remainingTime <= 15)) { _type = 1; } if ((Player[0]._health >= 90) && (remainingTime > 15)) { _type = 2; } if ((Player[0]._health < 90) && (remainingTime <= 15)) { _type = 1; } if ((Player[0]._health < 90) && (remainingTime > 15)) { _type = 3; } } trace((((("Health -- " + Player[0]._health) + " duration -- ") + remainingTime) + " _type -- ") + _type); _targetx = 240 + (200 * Math.cos(origin)); _targety = 220 + (200 * Math.sin(origin)); _scale = 5; _speed = LevelData[Global._level]._powerupspeed; _xpos = 240; _ypos = 220; angle = get_angle(_xpos, _ypos, _targetx, _targety); powerup_array[index] = set_angle_movement(powerup_array[index], angle, _speed); _root[_instance].gotoAndStop(_type); MC_show(_instance); break; } } } return(powerup_array); } function reset_powerups(powerup_array) { var index; for (index in powerup_array) { with (powerup_array[index]) { _state = "Inactive"; MC_hide(_instance); } } return(powerup_array); } function init_asteroids(amount, symbol_name, instance_name, target_level) { var index; var asteroid_array = new Array(); asteroid_array = create_instance(symbol_name, amount, instance_name, target_level); for (index in asteroid_array) { with (asteroid_array[index]) { _state = "Inactive"; _alpha = 100; _color = (Math.random() * 3) + 1; _xoff = 0; _yoff = 0; _speed = (Math.random() * 2) + 1; _scale = (Math.random() * 60) + 30; _xpos = random(Global.Max_x); _ypos = (random(Global.Max_y) + Global.Max_y) + 30; _root[_instance].gotoAndStop(1); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); MC_alpha(_instance, _alpha); } } return(asteroid_array); } function asteroid_bullet_collision() { var index; for (index in asteroid_array) { with (asteroid_array[index]) { } } } function asteroid_collision(asteroid_array) { var index; var point_value; player_width = Player_0._width / 2; for (index in asteroid_array) { with (asteroid_array[index]) { if (_state == "Floater") { asteroid_width = _root[_instance]._width / 2; distance = get_distance(_xpos, _ypos, Player[0]._xpos, Player[0]._ypos); if ((asteroid_width + player_width) > distance) { Player[0]._health = Player[0]._health - 25; _state = "Exploding"; Global._shake = 10; _root[_instance].Explosion.gotoAndPlay(1); _root[_instance].gotoAndStop("explosion"); audio_play(Audio, "explosion"); } } } } return(asteroid_array); } function move_asteroid(Datastruct) { var dist; var new_scale; with (Datastruct) { switch (_state) { case "Inactive" : MC_hide(_instance); break; case "PointsDisplay" : if (_root[_instance].Points._currentframe == _root[_instance].Points._totalframes) { _state = "Inactive"; } break; case "Exploding" : if (_root[_instance].Explosion._currentframe == 9) { _state = "Inactive"; } break; case "Floater" : _xpos = _xpos + _xs; _ypos = _ypos + _ys; dist = get_distance(_xpos, _ypos, _targetx, _targety); new_scale = (100 - ((dist / 200) * 100)) + 25; _scale = new_scale; _rotation = _rotation + _rs; if (dist >= 5) { break; } Player[0]._health = Player[0]._health - 10; Audio_Explosion.start(); _state = "Exploding"; Global._shake = 10; _root[_instance].Explosion.gotoAndPlay(1); _root[_instance].gotoAndStop("explosion"); } } return(Datastruct); } function update_asteroids(asteroid_array) { var index; for (index in asteroid_array) { with (asteroid_array[index]) { asteroid_array[index] = move_asteroid(asteroid_array[index]); MC_pos(_instance, _xpos, _ypos); MC_scale(_instance, _scale); MC_rotate(_instance, _rotation); } } return(asteroid_array); } function reset_asteroids(asteroid_array) { var index; for (index in asteroid_array) { with (asteroid_array[index]) { _state = "Inactive"; MC_hide(_instance); } } return(asteroid_array); } function release_asteroid(asteroid_array) { var index; var origin = int(random(360) + 1); var angle; for (index in asteroid_array) { with (asteroid_array[index]) { if (_state == "Inactive") { _state = "Floater"; _targetx = 240 + (200 * Math.cos(origin)); _targety = 220 + (200 * Math.sin(origin)); _rotation = random(360); _rs = (random(3) + 1) * 0.75; _type = random(7) + 1; _speed = LevelData[Global._level]._asteroidspeed; _xpos = 240; _ypos = 220; angle = get_angle(_xpos, _ypos, _targetx, _targety); asteroid_array[index] = set_angle_movement(asteroid_array[index], angle, _speed); _root[_instance].gotoAndStop(_type); MC_show(_instance); MC_scale(_instance, _scale); MC_rotation(_instance, _rotation); MC_pos(_instance, _xpos, _ypos); break; } } } return(asteroid_array); } function LevelDataParent() { this._asteroidspeed = 0.5; this._powerupspeed = 1; this._asteroidDelay = 1; this._powerupDelay = 10; this._maxAsteroids = 5; this._theme = 1; this._initLevel = 0; this._duration = 0; } function set_level(datastruct) { set_theme(datastruct._theme); } function level_definitions(level_array) { level_array[1] = new LevelDataParent(); level_array[1]._asteroidspeed = 1.5; level_array[1]._powerupspeed = 2.5; level_array[1]._asteroidDelay = 0.8; level_array[1]._powerupDelay = 10; level_array[1]._maxAsteroids = 7; level_array[1]._theme = 1; level_array[1]._initLevel = 0; level_array[1]._duration = 90; level_array[2] = new LevelDataParent(); level_array[2]._asteroidspeed = 1.75; level_array[2]._powerupspeed = 2.6; level_array[2]._asteroidDelay = 0.75; level_array[2]._powerupDelay = 10; level_array[2]._maxAsteroids = 8; level_array[2]._theme = 2; level_array[2]._initLevel = 0; level_array[2]._duration = 90; level_array[3] = new LevelDataParent(); level_array[3]._asteroidspeed = 2; level_array[3]._powerupspeed = 2.7; level_array[3]._asteroidDelay = 0.7; level_array[3]._powerupDelay = 10; level_array[3]._maxAsteroids = 9; level_array[3]._theme = 3; level_array[3]._initLevel = 0; level_array[3]._duration = 90; level_array[4] = new LevelDataParent(); level_array[4]._asteroidspeed = 2.25; level_array[4]._powerupspeed = 2.8; level_array[4]._asteroidDelay = 0.65; level_array[4]._powerupDelay = 10; level_array[4]._maxAsteroids = 10; level_array[4]._theme = 1; level_array[4]._initLevel = 0; level_array[4]._duration = 90; level_array[5] = new LevelDataParent(); level_array[5]._asteroidspeed = 2.5; level_array[5]._powerupspeed = 3; level_array[5]._asteroidDelay = 0.6; level_array[5]._powerupDelay = 10; level_array[5]._maxAsteroids = 11; level_array[5]._theme = 2; level_array[5]._initLevel = 0; level_array[5]._duration = 90; level_array[6] = new LevelDataParent(); level_array[6]._asteroidspeed = 2.75; level_array[6]._powerupspeed = 3.25; level_array[6]._asteroidDelay = 0.55; level_array[6]._powerupDelay = 10; level_array[6]._maxAsteroids = 12; level_array[6]._theme = 3; level_array[6]._initLevel = 0; level_array[6]._duration = 90; level_array[7] = new LevelDataParent(); level_array[7]._asteroidspeed = 3; level_array[7]._powerupspeed = 3.25; level_array[7]._asteroidDelay = 0.4; level_array[7]._powerupDelay = 10; level_array[7]._maxAsteroids = 12; level_array[7]._theme = 1; level_array[7]._initLevel = 0; level_array[7]._duration = 90; return(level_array); } Stage.scaleMode = "noScale"; var blur = (new flash.filters.BlurFilter(10, 10, 3)); var drop = (new flash.filters.DropShadowFilter(40, 45, 0, 0.3, 10, 10, 2, Quality.HIGH)); var glow = (new flash.filters.GlowFilter(16777215, 0.5, 5, 5, 2, 3)); var Asteroids = new Array(); var Player = new Array(); var Powerups = new Array(); var ButtonList = new Array(); var LevelData = new Array(); var Audio = new Array(); var ThemeData = new Array(); Header.HeaderText.text = HeaderText; Global = new GlobalSettingsParent(); userKey = new Object(); userKey.onKeyDown = function () { KeyCode = Key.getCode(); if (KeyCode != 0) { Process_Control_Input(KeyCode); } }; Key.addListener(userKey); mouseObj = new Object(); mouseObj.onMouseUp = function () { Process_Control_Input(0); }; Mouse.addListener(mouseObj); var PHPSendData = new LoadVars(); var PHPLoadData = new LoadVars(); PHPLoadData.onLoad = function (success) { if (success) { process_php_data(Global._phpRoutine); } };
Frame 2
stop(); MochiAd.showPreGameAd({id:"f2561d504f00ac64", res:"480x480"});
Frame 4
MC_hide(LoadBar_0); Global._state = "MainMenu"; Backgrounds = create_instance("Background", 1, "Background", 50); Backgrounds[0]._xpos = 0; Backgrounds[0]._ypos = 0; MC_pos(Background_0, Backgrounds[0]._xpos, Backgrounds[0]._ypos); MC_alpha(Background_0, 20); MC_show(Background_0);
Frame 6
create_ui(); Asteroids = init_asteroids(10, "Asteroid", "Asteroid", 3250); Bullets = init_bullets(20, "Bullet", "Bullets", 4000); Powerups = init_powerups(3, "Powerup", "Powerup", 4500); Player = init_player(1, "Orb", "Player", 9000); LevelData = level_definitions(LevelData); ThemeData = theme_definitions(ThemeData); Audio = audio_init(Audio); if ((MuteFlag != undefined) && (MuteFlag.toUpperCase() == "TRUE")) { audio_mute(Audio); Mute_0.gotoAndStop(2); Global._mute = true; } set_theme(1);
Frame 7
main_loop();
Frame 8
gotoAndPlay (7);
Frame 10
gotoAndPlay (7);
Symbol 52 MovieClip Frame 1
Symbol 52 MovieClip Frame 189
stop(); _root.gotoAndPlay(_root._currentframe + 1);
Symbol 178 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices { static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel; function MochiServices () { } static function get id() { return(_id); } static function get clip() { return(_container); } static function get childClip() { return(_clip); } static function getVersion() { return("1.2"); } 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 get isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function set comChannelName(val) { if (val != undefined) { if (val.length > 3) { _sendChannelName = val + "_fromgame"; _rcvChannelName = val; initComChannels(); } } //return(__get__comChannelName()); } static function get connected() { return(_connected); } static function connect(id, clip, onError) { if ((!_connected) && (_clip == undefined)) { trace("MochiServices Connecting..."); _connecting = true; init(id, clip); } if (onError != undefined) { mochi.MochiServices.onError = onError; } else if (mochi.MochiServices.onError == undefined) { mochi.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } static function disconnect() { if (_connected || (_connecting)) { _connecting = (_connected = false); flush(true); if (_clip != undefined) { _clip.removeMovieClip(); delete _clip; } _listenChannel.close(); _rcvChannel.close(); } } static function init(id, clip) { _id = id; if (clip != undefined) { _container = clip; } else { _container = _root; } loadCommunicator(id, _container); } static function loadCommunicator(id, clip) { var _local2 = "_mochiservices_com_" + id; if (_clip != null) { return(_clip); } if (!isNetworkAvailable) { return(null); } allowDomains(_gatewayURL); _clip = clip.createEmptyMovieClip(_local2, 10336, false); _loader = new MovieClipLoader(); if (_loaderListener.waitInterval != null) { clearInterval(_loaderListener.waitInterval); } _loaderListener = {}; _loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) { trace("MochiServices could not load."); mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, [errorCode]); }; _loaderListener.onLoadStart = function (target_mc) { this.isLoading = true; }; _loaderListener.startTime = getTimer(); _loaderListener.wait = function () { if ((getTimer() - this.startTime) > 10000) { if (!this.isLoading) { mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, ["IOError"]); } clearInterval(this.waitInterval); } }; _loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000); _loader.addListener(_loaderListener); _loader.loadClip(_gatewayURL, _clip); _sendChannel = new LocalConnection(); _sendChannel._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain = function (d) { return(true); }; _rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain; _rcvChannel._nextcallbackID = 0; _rcvChannel._callbacks = {}; listen(); return(_clip); } static function onStatus(infoObject) { if (!(infoObject.level === "error")) { } else { _connected = false; _listenChannel.connect(_listenChannelName); } } static function listen() { _listenChannel = new LocalConnection(); _listenChannel.handshake = function (args) { mochi.MochiServices.__set__comChannelName(args.newChannel); }; _listenChannel.allowDomain = function (d) { return(true); }; _listenChannel.allowInsecureDomain = _listenChannel.allowDomain; _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } static function initComChannels() { if (!_connected) { _sendChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()}); _rcvChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _rcvChannel.onReceive = function (pkg) { var _local5 = pkg.callbackID; var _local4 = this._callbacks[_local5]; if (!_local4) { return(undefined); } var _local2 = _local4.callbackMethod; var _local3 = _local4.callbackObject; if (_local3 && (typeof(_local2) == "string")) { _local2 = _local3[_local2]; } if (_local2 != undefined) { _local2.apply(_local3, pkg.args); } delete this._callbacks[_local5]; }; _rcvChannel.onError = function () { mochi.MochiServices.onError.apply(null, ["IOError"]); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_sendChannel._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift()); } } } static function flush(error) { var _local1; var _local2; while (_sendChannel._queue.length > 0) { _local1 = _sendChannel._queue.shift(); if (_local1.callbackID != null) { _local2 = _rcvChannel._callbacks[_local1.callbackID]; } delete _rcvChannel._callbacks[_local1.callbackID]; if (error) { handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod); } } } static function handleError(args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ["NotConnected"]); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = "NotConnected"; if ((callbackObject != null) && (typeof(callbackMethod) == "string")) { callbackObject[callbackMethod](args); } else if (callbackMethod != null) { callbackMethod.apply(args); } } } static function send(methodName, args, callbackObject, callbackMethod) { if (_connected) { _sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } else { if ((_clip == undefined) || (!_connecting)) { onError.apply(null, ["NotConnected"]); handleError(args, callbackObject, callbackMethod); flush(true); return(undefined); } _sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } _rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod}; _rcvChannel._nextcallbackID++; } static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf"; static var _listenChannelName = "__mochiservices"; static var _connecting = false; static var _connected = false; }
Symbol 179 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 180 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 181 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 182 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores { static var boardID, onClose, onError; function MochiScores () { } static function setBoardID(boardID) { mochi.MochiScores.boardID = boardID; mochi.MochiServices.send("scores_setBoardID", {boardID:boardID}); } static function showLeaderboard(options) { if (options.clip != null) { if (options.clip != mochi.MochiServices.__get__clip()) { mochi.MochiServices.disconnect(); mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip); } delete options.clip; } if (options.name != null) { if (typeof(options.name) == "object") { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (typeof(options.score) == "object") { if (options.score.text != undefined) { options.score = options.score.text; } } } if (options.onDisplay != null) { options.onDisplay(); } else { mochi.MochiServices.__get__clip().stop(); } if (options.onClose != null) { onClose = options.onClose; } else { onClose = function () { mochi.MochiServices.__get__clip().play(); }; } if (options.onError != null) { onError = options.onError; } else { onError = onClose; } if (options.boardID == null) { if (boardID != null) { options.boardID = boardID; } } mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose); } static function closeLeaderboard() { mochi.MochiServices.send("scores_closeLeaderboard"); } static function getPlayerInfo(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod); } static function submit(score, name, callbackObj, callbackMethod) { mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod); } static function requestList(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod); } static function scoresArrayToObjects(scores) { var _local5 = {}; var _local1; var _local4; var _local2; var _local6; for (var _local8 in scores) { if (typeof(scores[_local8]) == "object") { if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) { _local5[_local8] = []; _local2 = scores[_local8]; _local4 = 0; while (_local4 < _local2.rows.length) { _local6 = {}; _local1 = 0; while (_local1 < _local2.cols.length) { _local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1]; _local1++; } _local5[_local8].push(_local6); _local4++; } } else { _local5[_local8] = {}; for (var _local7 in scores[_local8]) { _local5[_local8][_local7] = scores[_local8][_local7]; } } } else { _local5[_local8] = scores[_local8]; } } return(_local5); } static function doClose(args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = "IOError"; } onError.apply(null, [args.errorCode]); } else { onClose.apply(); } } }
Symbol 183 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic { function Elastic () { } static function easeIn(t, b, c, d, a, p) { 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; var _local7 = p / 4; } else { var _local7 = (p / (Math.PI*2)) * Math.asin(c / a); } t = t - 1; return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b); } static function easeOut(t, b, c, d, a, p) { 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; var _local7 = p / 4; } else { var _local7 = (p / (Math.PI*2)) * Math.asin(c / a); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b); } static function easeInOut(t, b, c, d, a, p) { 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; var _local7 = p / 4; } else { var _local7 = (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) - _local7) * (Math.PI*2)) / p))) + b); } t = t - 1; return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static var version = "1.1.0.52"; }
Symbol 184 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(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 var version = "1.1.0.52"; }
Symbol 185 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back { function Back () { } static function easeIn(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 easeOut(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 easeInOut(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 var version = "1.1.0.52"; }
Symbol 186 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce { function Bounce () { } static function easeOut(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 easeIn(t, b, c, d) { return((c - easeOut(d - t, 0, c, d)) + b); } static function easeInOut(t, b, c, d) { if (t < (d / 2)) { return((easeIn(t * 2, 0, c, d) * 0.5) + b); } return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static var version = "1.1.0.52"; }
Symbol 187 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOut(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOut(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 var version = "1.1.0.52"; }
Symbol 188 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None { function None () { } static function easeNone(t, b, c, d) { return(((c * t) / d) + b); } static function easeIn(t, b, c, d) { return(((c * t) / d) + b); } static function easeOut(t, b, c, d) { return(((c * t) / d) + b); } static function easeInOut(t, b, c, d) { return(((c * t) / d) + b); } static var version = "1.1.0.52"; }
Symbol 189 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.1"); } 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++; } } return(_local4); } }
Instance of Symbol 58 MovieClip "seeScores" in Symbol 59 MovieClip [MainMenuSymbol] Frame 1
on (release) { mochi.MochiScores.showLeaderboard({boardID:"ed1a860d95261eb0"}); }
Symbol 94 MovieClip [PointsSymbol] Frame 15
this.stop();
Instance of Symbol 95 MovieClip [OrbSymbol] in Symbol 100 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(1); }
Instance of Symbol 95 MovieClip [OrbSymbol] in Symbol 100 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(2); }
Instance of Symbol 95 MovieClip [OrbSymbol] in Symbol 100 MovieClip Frame 1
onClipEvent (load) { this.gotoAndStop(3); }
Symbol 114 MovieClip Frame 1
this.stop();
Symbol 151 MovieClip Frame 9
this.stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [WhiteBallSymbol]Uses:1Used by:95 117
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [BlackBallSymbol]Uses:3Used by:95 117
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip [GrayBallSymbol]Uses:5Used by:95 117
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip [OrangeBallSymbol]Uses:7Used by:95 117
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [YellowBallSymbol]Uses:9Used by:95 117
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClip [PinkBallSymbol]Uses:11Used by:95 117
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [BrownBallSymbol]Uses:13Used by:95 117
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [GreenBallSymbol]Uses:15Used by:95 117
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip [BlueBallSymbol]Uses:17Used by:95 117
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip [RedBallSymbol]Uses:19Used by:95 117
Symbol 21 FontUsed by:22 23 24 75 76 77 87 89 97 115
Symbol 22 EditableTextUses:21Used by:25
Symbol 23 EditableTextUses:21Used by:25
Symbol 24 EditableTextUses:21Used by:25
Symbol 25 MovieClip [HighScoreListingSymbol]Uses:22 23 24Used by:69
Symbol 26 FontUsed by:27 28 53 55 57 62 64 66 67 70 71 72 88 96 98
Symbol 27 EditableTextUses:26Used by:30
Symbol 28 EditableTextUses:26Used by:29
Symbol 29 MovieClipUses:28Used by:30 59
Symbol 30 MovieClip [LoadBarSymbol]Uses:27 29Used by:Timeline
Symbol 31 GraphicUsed by:Timeline
Symbol 32 GraphicUsed by:52
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:52
Symbol 35 SoundUsed by:52
Symbol 36 ShapeTweeningUsed by:52
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:52
Symbol 39 GraphicUsed by:52
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:52
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:52
Symbol 44 ShapeTweeningUsed by:52
Symbol 45 ShapeTweeningUsed by:52
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:52
Symbol 48 GraphicUsed by:52
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:32 34 35 36 38 39 41 43 44 45 47 48 50 51Used by:Timeline
Symbol 178 MovieClip [__Packages.mochi.MochiServices]
Symbol 179 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 180 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 181 MovieClip [__Packages.mx.transitions.Tween]
Symbol 182 MovieClip [__Packages.mochi.MochiScores]
Symbol 183 MovieClip [__Packages.mx.transitions.easing.Elastic]
Symbol 184 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 185 MovieClip [__Packages.mx.transitions.easing.Back]
Symbol 186 MovieClip [__Packages.mx.transitions.easing.Bounce]
Symbol 187 MovieClip [__Packages.mx.transitions.easing.Regular]
Symbol 188 MovieClip [__Packages.mx.transitions.easing.None]
Symbol 189 MovieClip [__Packages.MochiAd]
Symbol 53 EditableTextUses:26Used by:54
Symbol 54 MovieClipUses:53Used by:59
Symbol 55 EditableTextUses:26Used by:56
Symbol 56 MovieClipUses:55Used by:59
Symbol 57 EditableTextUses:26Used by:58
Symbol 58 MovieClipUses:57Used by:59
Symbol 59 MovieClip [MainMenuSymbol]Uses:54 29 56 58Used by:Timeline
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:63 65
Symbol 62 EditableTextUses:26Used by:63
Symbol 63 MovieClip [LoadingDataSymbol]Uses:61 62Used by:Timeline
Symbol 64 EditableTextUses:26Used by:65
Symbol 65 MovieClip [SavingDataSymbol]Uses:61 64Used by:Timeline
Symbol 66 EditableTextUses:26Used by:69
Symbol 67 EditableTextUses:26Used by:68
Symbol 68 MovieClipUses:67Used by:69 74 101
Symbol 69 MovieClip [HighScoresSymbol]Uses:25 66 68Used by:Timeline
Symbol 70 EditableTextUses:26Used by:74
Symbol 71 EditableTextUses:26Used by:74
Symbol 72 EditableTextUses:26Used by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClip [GameOverSymbol]Uses:70 71 68 73Used by:Timeline
Symbol 75 EditableTextUses:21Used by:90
Symbol 76 EditableTextUses:21Used by:90
Symbol 77 EditableTextUses:21Used by:90
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:84
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:84
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:79 81 83Used by:90
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:90
Symbol 87 EditableTextUses:21Used by:90
Symbol 88 EditableTextUses:26Used by:90
Symbol 89 EditableTextUses:21Used by:90
Symbol 90 MovieClip [MainUISymbol]Uses:75 76 77 84 86 87 88 89Used by:Timeline
Symbol 91 FontUsed by:92
Symbol 92 EditableTextUses:91Used by:93
Symbol 93 MovieClipUses:92Used by:94
Symbol 94 MovieClip [PointsSymbol]Uses:93Used by:95 117  Timeline
Symbol 95 MovieClip [OrbSymbol]Uses:20 18 16 14 12 10 8 6 4 2 94Used by:100  Timeline
Symbol 96 EditableTextUses:26Used by:101
Symbol 97 EditableTextUses:21Used by:101
Symbol 98 EditableTextUses:26Used by:99
Symbol 99 MovieClipUses:98Used by:100
Symbol 100 MovieClipUses:95 99Used by:101
Symbol 101 MovieClip [InstructionsSymbol]Uses:96 97 68 100Used by:Timeline
Symbol 102 FontUsed by:103
Symbol 103 EditableTextUses:102Used by:114
Symbol 104 Sound [explosion]Used by:114
Symbol 105 Sound [Click]Used by:114
Symbol 106 Sound [CompleteAnarchy]Used by:114
Symbol 107 Sound [bloop]Used by:114
Symbol 108 Sound [health]Used by:114
Symbol 109 Sound [upgrade]Used by:114
Symbol 110 Sound [laser]Used by:114
Symbol 111 Sound [points]Used by:114
Symbol 112 Sound [ClubStompas]Used by:114
Symbol 113 Sound [ThrowinBows]Used by:114
Symbol 114 MovieClipUses:103 104 105 106 107 108 109 110 111 112 113Used by:Timeline
Symbol 115 EditableTextUses:21Used by:116
Symbol 116 MovieClip [PauseSymbol]Uses:115Used by:Timeline
Symbol 117 MovieClip [PowerupSymbol]Uses:20 18 16 14 12 10 8 6 4 2 94Used by:Timeline
Symbol 118 GraphicUsed by:122
Symbol 119 GraphicUsed by:122
Symbol 120 GraphicUsed by:122
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:118 119 120 121Used by:152
Symbol 123 GraphicUsed by:126
Symbol 124 GraphicUsed by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:123 124 125Used by:152
Symbol 127 GraphicUsed by:130
Symbol 128 GraphicUsed by:130
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:127 128 129Used by:152
Symbol 131 GraphicUsed by:134
Symbol 132 GraphicUsed by:134
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:131 132 133Used by:152
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:135Used by:152
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:152
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:139 140 141Used by:152
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:151
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClipUses:145Used by:151
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClipUses:147Used by:151
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClipUses:144 146 148 150Used by:152
Symbol 152 MovieClip [AsteroidSymbol]Uses:122 126 130 134 136 138 142 151Used by:Timeline
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:155
Symbol 155 MovieClipUses:154Used by:162
Symbol 156 BitmapUsed by:157
Symbol 157 GraphicUses:156Used by:158
Symbol 158 MovieClipUses:157Used by:162
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:161
Symbol 161 MovieClipUses:160Used by:162
Symbol 162 MovieClip [BackgroundSymbol]Uses:155 158 161Used by:Timeline
Symbol 163 GraphicUsed by:168
Symbol 164 BitmapUsed by:165
Symbol 165 GraphicUses:164Used by:168
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:168
Symbol 168 MovieClip [MuteSymbol]Uses:163 165 167Used by:Timeline
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:177
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:171Used by:177
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClipUses:173Used by:177
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:175Used by:177
Symbol 177 MovieClip [BulletSymbol]Uses:170 172 174 176Used by:Timeline

Instance Names

"link"Frame 1Symbol 52 MovieClip
"Rank"Symbol 25 MovieClip [HighScoreListingSymbol] Frame 1Symbol 22 EditableText
"Score"Symbol 25 MovieClip [HighScoreListingSymbol] Frame 1Symbol 23 EditableText
"User"Symbol 25 MovieClip [HighScoreListingSymbol] Frame 1Symbol 24 EditableText
"Title"Symbol 29 MovieClip Frame 1Symbol 28 EditableText
"LoadText"Symbol 30 MovieClip [LoadBarSymbol] Frame 1Symbol 27 EditableText
"Instructions"Symbol 59 MovieClip [MainMenuSymbol] Frame 1Symbol 54 MovieClip
"Title"Symbol 59 MovieClip [MainMenuSymbol] Frame 1Symbol 29 MovieClip
"StartGame"Symbol 59 MovieClip [MainMenuSymbol] Frame 1Symbol 56 MovieClip
"seeScores"Symbol 59 MovieClip [MainMenuSymbol] Frame 1Symbol 58 MovieClip
"Listing_2"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_3"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_4"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_5"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_7"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_8"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_9"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_10"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Listing_6"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"Back"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 68 MovieClip
"Listing_1"Symbol 69 MovieClip [HighScoresSymbol] Frame 1Symbol 25 MovieClip [HighScoreListingSymbol]
"HighScoreText"Symbol 74 MovieClip [GameOverSymbol] Frame 1Symbol 71 EditableText
"Back"Symbol 74 MovieClip [GameOverSymbol] Frame 1Symbol 68 MovieClip
"Back"Symbol 74 MovieClip [GameOverSymbol] Frame 1Symbol 73 MovieClip
"Red"Symbol 84 MovieClip Frame 1Symbol 79 MovieClip
"Yellow"Symbol 84 MovieClip Frame 1Symbol 81 MovieClip
"Green"Symbol 84 MovieClip Frame 1Symbol 83 MovieClip
"Score"Symbol 90 MovieClip [MainUISymbol] Frame 1Symbol 75 EditableText
"Level"Symbol 90 MovieClip [MainUISymbol] Frame 1Symbol 77 EditableText
"Damage"Symbol 90 MovieClip [MainUISymbol] Frame 1Symbol 84 MovieClip
"Health"Symbol 90 MovieClip [MainUISymbol] Frame 1Symbol 87 EditableText
"Prompt"Symbol 90 MovieClip [MainUISymbol] Frame 1Symbol 88 EditableText
"Weapon"Symbol 90 MovieClip [MainUISymbol] Frame 1Symbol 89 EditableText
"PointText"Symbol 93 MovieClip Frame 1Symbol 92 EditableText
"PointText"Symbol 94 MovieClip [PointsSymbol] Frame 1Symbol 93 MovieClip
"Points"Symbol 95 MovieClip [OrbSymbol] Frame 20Symbol 94 MovieClip [PointsSymbol]
"Back"Symbol 101 MovieClip [InstructionsSymbol] Frame 1Symbol 68 MovieClip
"Points"Symbol 117 MovieClip [PowerupSymbol] Frame 20Symbol 94 MovieClip [PointsSymbol]
"Explosion"Symbol 152 MovieClip [AsteroidSymbol] Frame 13Symbol 151 MovieClip
"Background_3"Symbol 162 MovieClip [BackgroundSymbol] Frame 1Symbol 155 MovieClip
"Background_2"Symbol 162 MovieClip [BackgroundSymbol] Frame 1Symbol 158 MovieClip
"Background_1"Symbol 162 MovieClip [BackgroundSymbol] Frame 1Symbol 161 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "WhiteBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 4 as "BlackBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 6 as "GrayBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 8 as "OrangeBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 10 as "YellowBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 12 as "PinkBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 14 as "BrownBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 16 as "GreenBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 18 as "BlueBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 20 as "RedBallSymbol"
ExportAssets (56)Timeline Frame 1Symbol 25 as "HighScoreListingSymbol"
ExportAssets (56)Timeline Frame 1Symbol 30 as "LoadBarSymbol"
ExportAssets (56)Timeline Frame 1Symbol 178 as "__Packages.mochi.MochiServices"
ExportAssets (56)Timeline Frame 1Symbol 179 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 180 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 181 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 182 as "__Packages.mochi.MochiScores"
ExportAssets (56)Timeline Frame 1Symbol 183 as "__Packages.mx.transitions.easing.Elastic"
ExportAssets (56)Timeline Frame 1Symbol 184 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 185 as "__Packages.mx.transitions.easing.Back"
ExportAssets (56)Timeline Frame 1Symbol 186 as "__Packages.mx.transitions.easing.Bounce"
ExportAssets (56)Timeline Frame 1Symbol 187 as "__Packages.mx.transitions.easing.Regular"
ExportAssets (56)Timeline Frame 1Symbol 188 as "__Packages.mx.transitions.easing.None"
ExportAssets (56)Timeline Frame 1Symbol 189 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 4Symbol 59 as "MainMenuSymbol"
ExportAssets (56)Timeline Frame 4Symbol 63 as "LoadingDataSymbol"
ExportAssets (56)Timeline Frame 4Symbol 65 as "SavingDataSymbol"
ExportAssets (56)Timeline Frame 4Symbol 69 as "HighScoresSymbol"
ExportAssets (56)Timeline Frame 4Symbol 74 as "GameOverSymbol"
ExportAssets (56)Timeline Frame 4Symbol 90 as "MainUISymbol"
ExportAssets (56)Timeline Frame 4Symbol 94 as "PointsSymbol"
ExportAssets (56)Timeline Frame 4Symbol 95 as "OrbSymbol"
ExportAssets (56)Timeline Frame 4Symbol 101 as "InstructionsSymbol"
ExportAssets (56)Timeline Frame 4Symbol 104 as "explosion"
ExportAssets (56)Timeline Frame 4Symbol 105 as "Click"
ExportAssets (56)Timeline Frame 4Symbol 106 as "CompleteAnarchy"
ExportAssets (56)Timeline Frame 4Symbol 107 as "bloop"
ExportAssets (56)Timeline Frame 4Symbol 108 as "health"
ExportAssets (56)Timeline Frame 4Symbol 109 as "upgrade"
ExportAssets (56)Timeline Frame 4Symbol 110 as "laser"
ExportAssets (56)Timeline Frame 4Symbol 111 as "points"
ExportAssets (56)Timeline Frame 4Symbol 112 as "ClubStompas"
ExportAssets (56)Timeline Frame 4Symbol 113 as "ThrowinBows"
ExportAssets (56)Timeline Frame 4Symbol 116 as "PauseSymbol"
ExportAssets (56)Timeline Frame 4Symbol 117 as "PowerupSymbol"
ExportAssets (56)Timeline Frame 4Symbol 152 as "AsteroidSymbol"
ExportAssets (56)Timeline Frame 4Symbol 162 as "BackgroundSymbol"
ExportAssets (56)Timeline Frame 4Symbol 168 as "MuteSymbol"
ExportAssets (56)Timeline Frame 4Symbol 177 as "BulletSymbol"

Labels

"PointsFrame"Symbol 95 MovieClip [OrbSymbol] Frame 20
"Weapon"Symbol 117 MovieClip [PowerupSymbol] Frame 1
"Points"Symbol 117 MovieClip [PowerupSymbol] Frame 2
"Health"Symbol 117 MovieClip [PowerupSymbol] Frame 3
"PointsFrame"Symbol 117 MovieClip [PowerupSymbol] Frame 20
"explosion"Symbol 152 MovieClip [AsteroidSymbol] Frame 13




http://swfchan.com/10/46860/info.shtml
Created: 2/5 -2019 22:19:16 Last modified: 2/5 -2019 22:19:16 Server time: 22/12 -2024 20:37:39