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/30487763?noj=FRM30487763-22DC" width="1" height="1"></div>

Burger Defense.swf

This is the info page for
Flash #71042

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


Text
Burger Defense (v1.4)

<p align="right"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Game by Rob Foor 2008 - </b><font color="#ffff00"><a href="http://www.imnotworking.com" target = "_blank"><b>ImNotWorking.com</b></a></font></font></p>

<p align="left"></p>

Level

<p align="left"></p>

<p align="left"></p>

<p align="center"></p>

<p align="left"></p>

<p align="left"></p>

Potatoes

<p align="left"></p>

Combos

<p align="left"></p>

Accuracy

<p align="left"></p>

Total Score

<p align="left"></p>

RESTART

<p align="left"></p>

Game Options

Sound

Quality

Effects

<p align="left"></p>

Aim Assist

PAUSE

UPGRADES

<p align="center"><font face="Arial" size="14" color="#00cc00" letterSpacing="0.000000" kerning="1"><b>15</b></font></p>

Side O' Glass

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Current Damage: 60</font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Next Upgrade: $400</font></p>

More Potatos!

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Current Damage: 60</font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Next Upgrade: $400</font></p>

Rat Poison

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Current Damage: 60</font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Next Upgrade: $400</font></p>

M60 Potatos

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Current Damage: 60</font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Next Upgrade: $400</font></p>

You Lose!

Winning Bonus: 10,000

You Win!

Submit

Kills

<p align="left"></p>

<p align="left"></p>

x 100 =

Accuracy

<p align="left"></p>

<p align="left"></p>

x 1000 =

Combos

<p align="left"></p>

<p align="left"></p>

x 10 =

Total

<p align="left"></p>

Money

<p align="left"></p>

Thanks for
Playing!

<p align="center"><font face="Comic Book" size="26" color="#0000ff" letterSpacing="0.000000" kerning="1"><b>goto </b><font color="#336699"><a href="http://www.burgerdefense.com/" target = "_blank"><b>BurgerDefense.com</b></a></font></font></p><p align="center"><font face="Comic Book" size="26" color="#0000ff" letterSpacing="0.000000" kerning="1"><b>to play the latest version.</b></font></p>

velocity

elevation

Burger Defense

Cannon Defense Game

Play

Help

Back

ActionScript [AS3]

Section 1
//MainTimeline (burgerdefense_v14_norm_fla.MainTimeline) package burgerdefense_v14_norm_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class MainTimeline extends MovieClip { public var monster_inc; public var total_hit; public var game_over_outcome; public var upgrade_radius; public var mute; public var tank_1:MovieClip; public var total_fired; public var upgrade_clip_explode; public var max_cannon; public var new_monster; public var game_over_break; public var particle_effects; public var monster_e_inc; public var gravity; public var go_button:SimpleButton; public var intro:intro_music; public var new_cannon; public var gamedata3_1g:MovieClip; public var gamedata3_1a:MovieClip; public var gameSpace1:MovieClip; public var ground2_1:MovieClip; public var firepower; public var monster_energy; public var enemy_poisoned; public var monster_type; public var upgrade_active; public var upgrade_poison; public var burgers; public var next_level_stop; public var particles; public var upgrade_spikes; public var firstClick; public var hardFired; public var money; public var angle; public var monster_xspeed; public var money_earned; public var total_combo; public var mouseDown:Boolean; public var monster_combo; public var fired; public var angle_xdif; public var Nav; public var time_over; public var game_over; public var upgrade_time; public var total_acc; public var upgrade_clip_money; public var game_time; public var myTransform:SoundTransform; public var myMenu:ContextMenu; public var game_winner; public var currentCount; public var combo_count_five; public var upgrade_clip_poison; public var current_level; public var next_level; public var spawn_max_monster; public var cannon_strength; public var GTimer:Timer; public var greset; public var node_1:MovieClip; public var gamedata2_1:MovieClip; public var show_aim_ui; public var mouseMoving; public var angle_ydif; public var gamedata_1:MovieClip; public var fireStop; public var crosshair_1:MovieClip; public var menuItem1:ContextMenuItem; public var monsters_placed; public var crosshair_2:MovieClip; public var menuItem2:ContextMenuItem; public var menuItem3:ContextMenuItem; public var upgrade_clip_spikes; public var ground_1:MovieClip; public var upgrade_approved; public var max_firepower; public var upgrade_type; public var runTimer; public var spawn_max_cannon; public var back_button:SimpleButton; public var enemy_kill_score; public var cannons_left; public var bar_border_1:MovieClip; public var delay; public var upgrade_clip; public var repeat; public var gamedata3_1:MovieClip; public var ui_aim_bar_1:MovieClip; public var ui_aim_bar_2:MovieClip; public var upgrade_time_max; public var total_accuracy; public var myChannel:SoundChannel; public var cannon_delay; public var upgrade_explode; public var total_score; public var explode_strength; public var thoomp_1:MovieClip; public var gpause; public var help_button:SimpleButton; public var levelCount; public var max_monster; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 121, frame122, 122, frame123, 123, frame124); } public function describeSpike(_arg1:MouseEvent):void{ var _local2:MovieClip; _local2 = gameSpace1.addChild(new spike_description()); _local2.x = (mouseX - 5); _local2.y = (mouseY - 5); _local2.name = "spike_description1"; _local2.spike_damage_txt.text = String(("Current Damage: " + cannon_strength)); if (upgrade_spikes <= 2){ _local2.spike_upgrade_txt.text = String(("Next Upgrade: $" + upgrade_clip_spikes)); } else { _local2.spike_upgrade_txt.text = String(""); }; } public function doSomething(_arg1:ContextMenuEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.burgerdefense.com"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } public function upgradePoison(_arg1:MouseEvent):void{ var _local2:*; if (upgrade_type == "none"){ upgrade_type = "poison"; }; _local2 = gameSpace1.getChildByName("poison_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("poison_description1")); }; } public function place_enemy(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6):void{ var _local7:MovieClip; if (_arg6 == 1){ _local7 = gameSpace1.addChild(new enemy()); } else { if (_arg6 == 2){ _local7 = gameSpace1.addChild(new enemy2()); } else { if (_arg6 == 3){ _local7 = gameSpace1.addChild(new enemy3()); } else { if (_arg6 == 4){ _local7 = gameSpace1.addChild(new enemy4()); } else { _local7 = gameSpace1.addChild(new enemy()); }; }; }; }; _local7.name = ("enemy_" + spawn_max_monster); _local7.x = _arg1; _local7.y = _arg2; _local7.yspeed = 0; _local7.xspeed = _arg3; _local7.energy = _arg4; _local7.energy_max = _arg4; _local7.poison_level = 0; _local7.pi = _arg5; _local7.graphic = _arg6; _local7.dead = false; _local7.hit = false; _local7.delay_hit = 25; _local7.count = 1; _local7.max_count = 2; _local7.new_count = 0; _local7.hit = false; _local7.addEventListener(Event.ENTER_FRAME, move_enemy); } public function gameHelp(_arg1:MouseEvent):void{ gotoAndStop(2); } function frame2(){ gamedata3_1g = this.addChild(new gamedata3()); gamedata3_1g.x = 25; gamedata3_1g.y = 363; } public function moveShot(_arg1:Event){ var enemy_count:*; var enemyChecker:*; var combo_graphic_1:*; var event = _arg1; var _local3 = event.target; with (_local3) { if (gpause == false){ diry = (diry + gravity); x = (x + (dirx / 30)); y = (y + (diry / 30)); while (ground_1.hitTestPoint(x, y, true)) { y--; rotation = (rotation - 1); dirx = (dirx + final_momentum); if ((((dirx >= 0)) && ((blow_up_state == false)))){ dirx = 0; rotation = final_rotation; if (u_explode >= 1){ gotoAndPlay("explode"); if (mute == false){ thoomp_1.gotoAndPlay("explode2"); }; ground_explode = true; } else { gotoAndPlay(26); }; blow_up_state = true; } else { if ((((dirx >= 0)) && ((blow_up_state == true)))){ dirx = 0; rotation = final_rotation; }; }; }; if (!ground_1.hitTestPoint(x, y, true)){ rotation = (rotation - 10); }; }; enemy_count = 1; while (enemy_count <= max_monster) { enemyChecker = parent.getChildByName(("enemy_" + enemy_count)); if (enemyChecker){ if (((parent.getChildByName(("enemy_" + enemy_count)).hitTestPoint(x, y, true)) && ((parent.getChildByName(("enemy_" + enemy_count)).dead == false)))){ if (p_strength > 0){ parent.getChildByName(("enemy_" + enemy_count)).poison_level = p_strength; }; if ((((u_explode >= 1)) && ((blowing_up == false)))){ parent.getChildByName(("enemy_" + enemy_count)).energy = (parent.getChildByName(("enemy_" + enemy_count)).energy - c_strength); dirx = 0; gotoAndPlay("explode"); if (mute == false){ thoomp_1.gotoAndPlay("explode"); }; total_hit++; blowing_up = true; }; if (u_explode == 0){ parent.getChildByName(("enemy_" + enemy_count)).energy = (parent.getChildByName(("enemy_" + enemy_count)).energy - c_strength); if (mute == false){ thoomp_1.gotoAndPlay("crack"); }; total_hit++; dead = true; }; }; if ((((blowing_up == true)) || ((ground_explode == true)))){ ground_explode = false; distance_from_turret_x = (x - parent.getChildByName(("enemy_" + enemy_count)).x); distance_from_turret_y = (y - parent.getChildByName(("enemy_" + enemy_count)).y); if ((((Math.sqrt(((distance_from_turret_x * distance_from_turret_x) + (distance_from_turret_y * distance_from_turret_y))) < (radius / 2))) && ((parent.getChildByName(("enemy_" + enemy_count)).hit == false)))){ combo = (combo + 1); parent.getChildByName(("enemy_" + enemy_count)).energy = (parent.getChildByName(("enemy_" + enemy_count)).energy - e_strength); parent.getChildByName(("enemy_" + enemy_count)).hit = true; if (p_strength > 0){ parent.getChildByName(("enemy_" + enemy_count)).poison_level = p_strength; }; if ((((combo >= 5)) && ((combo_finished == false)))){ if (particle_effects == true){ createExplosion(x, (y - 20)); createExplosion((x + 15), (y - 20)); createExplosion((x - 15), (y - 20)); }; combo_graphic_1 = gameSpace1.addChild(new combo_graphic()); combo_graphic_1.name = ("combo_" + name); combo_graphic_1.x = x; combo_graphic_1.y = (y - 15); if (mute == false){ thoomp_1.gotoAndPlay("combo"); }; p_strength = (p_strength * 2); combo = 0; radius = (radius + 200); e_strength = (e_strength * 3.5); combo_count_five = (combo_count_five + 1); combo_finished = true; parent.getChildByName(("enemy_" + enemy_count)).hit = false; }; }; }; }; enemy_count++; }; if (currentFrame == 25){ dead = true; }; if (currentFrame == 35){ dead = true; }; if ((((x < -10)) || ((x > 525)))){ dead = true; }; if ((((dead == true)) || ((greset == true)))){ fired--; event.target.removeEventListener(Event.ENTER_FRAME, moveShot); gameSpace1.removeChild(DisplayObject(event.target)); }; if (game_over == true){ }; }; } function frame1(){ repeat = 0; gamedata3_1a = this.addChild(new gamedata3()); gamedata3_1a.x = 25; gamedata3_1a.y = 363; intro = new intro_music(); myChannel = new SoundChannel(); myTransform = new SoundTransform(0.25, 0); myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); menuItem1 = new ContextMenuItem("Game by Rob Foor 2008"); menuItem2 = new ContextMenuItem("BurgerDefense.com"); menuItem3 = new ContextMenuItem("ImNotWorking.com"); menuItem2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doSomething); menuItem3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doSomething2); myMenu.customItems.push(menuItem1); myMenu.customItems.push(menuItem2); myMenu.customItems.push(menuItem3); this.contextMenu = myMenu; MochiAd.showPreGameAd({clip:root, id:"4d6395c7952b0bd2", res:"500x350"}); } public function gameGo(_arg1:MouseEvent):void{ myChannel.stop(); gotoAndStop(1, "Game"); } public function describeClip(_arg1:MouseEvent):void{ var _local2:MovieClip; _local2 = gameSpace1.addChild(new clip_description()); _local2.x = (mouseX - 5); _local2.y = (mouseY - 5); _local2.name = "clip_description1"; _local2.clip_damage_txt.text = String(("Max Firepower: " + max_firepower)); if (upgrade_clip <= 2){ _local2.clip_upgrade_txt.text = String(("Next Upgrade: $" + upgrade_clip_money)); } else { _local2.clip_upgrade_txt.text = String(""); }; } public function onStageMouseUp(_arg1:MouseEvent):void{ gameSpace1.removeEventListener(MouseEvent.MOUSE_UP, onStageMouseUp); mouseDown = false; firstClick = true; } public function lowerQuality(_arg1:MouseEvent):void{ if (stage.quality == "HIGH"){ stage.quality = "LOW"; gamedata_1.option_quality.gotoAndStop(2); } else { stage.quality = "HIGH"; gamedata_1.option_quality.gotoAndStop(1); }; } public function level_timer(_arg1:TimerEvent):void{ if (gpause == false){ currentCount--; }; game_time = Math.floor((currentCount / 100)); if (currentCount == 0){ switch_levels(); currentCount = levelCount; GTimer.stop(); }; } public function describeClip2(_arg1:MouseEvent):void{ var _local2:*; _local2 = gameSpace1.getChildByName("clip_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("clip_description1")); }; } public function muteSound(_arg1:MouseEvent):void{ if (mute == false){ mute = true; gamedata_1.option_sound.gotoAndStop(2); } else { mute = false; gamedata_1.option_sound.gotoAndStop(1); }; } public function switch_levels():void{ spawn_max_monster = 0; if (current_level == 0){ levelCount = 299; monster_e_inc = 30; }; if (current_level == 4){ monster_e_inc = 150; }; if (current_level == 6){ monster_e_inc = 200; }; if (current_level == 7){ monster_e_inc = 250; }; if (current_level == 9){ monster_e_inc = 325; }; max_monster = (max_monster + monster_inc); monster_energy = (monster_energy + monster_e_inc); money_earned = (money_earned + 1); current_level = (current_level + 1); next_level_stop = true; runTimer = true; if (current_level == next_level){ if ((((current_level <= 19)) && ((game_over == false)))){ if (game_time > 0){ next_level_stop = false; next_level = (next_level + 1); }; } else { next_level_stop = true; }; }; if (current_level == 6){ ground_1.gotoAndPlay(2); ground2_1.gotoAndPlay(2); }; if (current_level == 11){ ground_1.gotoAndPlay(26); ground2_1.gotoAndPlay(26); }; if (current_level == 16){ ground_1.gotoAndPlay(51); ground2_1.gotoAndPlay(51); }; } public function describePoison2(_arg1:MouseEvent):void{ var _local2:*; _local2 = gameSpace1.getChildByName("poison_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("poison_description1")); }; } public function dropEffects(_arg1:MouseEvent):void{ if (particle_effects == true){ particle_effects = false; gamedata_1.option_effects.gotoAndStop(2); } else { particle_effects = true; gamedata_1.option_effects.gotoAndStop(1); }; } public function OEF(_arg1:Event){ var game_bar_1:MovieClip; var bar_border_1:MovieClip; var UTimer:Timer; var upgrade_potato:*; var xplacement:*; var yplacement:*; var monster_energy_temp:*; var monster_xspeed_temp:*; var ranNum:*; var poison_immunity:*; var gamedata4_1:MovieClip; var event = _arg1; if (Nav == false){ angle_xdif = (mouseX - tank_1.x); angle_ydif = ((mouseY - tank_1.y) * -1); angle = (Math.atan((angle_ydif / angle_xdif)) / (Math.PI / 180)); if (angle_xdif < 0){ angle = (angle + 180); }; if ((((angle_xdif >= 0)) && ((angle_ydif < 0)))){ angle = (angle + 360); }; if (angle > 175){ angle = 175; }; if (angle < 20){ angle = 20; }; tank_1.cannon.rotation = (angle * -1); firepower = Math.sqrt(((angle_xdif * angle_xdif) + ((angle_ydif * angle_ydif) * 6))); firepower = (firepower / 1.8); if (firepower > 250){ firepower = 250; }; if (firepower < 30){ firepower = 30; }; }; if (show_aim_ui == true){ if (gpause == false){ firepower2 = (firepower - 30); ui_aim_bar_1.aim_bar_main.scaleY = (firepower2 / 220); angle2 = (175 - angle); if (angle2 > 85){ angle3 = (angle2 - 85); angle2 = (angle2 - angle3); }; ui_aim_bar_2.aim_bar_main.scaleY = (angle2 / 85); }; }; if (fired >= max_firepower){ fireStop = true; }; if (fired == 0){ fireStop = false; hardFired = 0; cannons_left = (max_firepower - hardFired); }; if (fired < 0){ fired = 0; }; if (((((!((upgrade_type == "none"))) && ((upgrade_active == false)))) && ((gpause == false)))){ if ((((((upgrade_type == "clip")) && ((money >= upgrade_clip_money)))) && ((upgrade_clip <= 2)))){ money = (money - upgrade_clip_money); upgrade_approved = true; } else { if ((((((upgrade_type == "explode")) && ((money >= upgrade_clip_explode)))) && ((upgrade_explode <= 2)))){ money = (money - upgrade_clip_explode); upgrade_approved = true; } else { if ((((((upgrade_type == "spikes")) && ((money >= upgrade_clip_spikes)))) && ((upgrade_spikes <= 2)))){ money = (money - upgrade_clip_spikes); upgrade_approved = true; } else { if ((((((upgrade_type == "poison")) && ((money >= upgrade_clip_poison)))) && ((upgrade_poison <= 2)))){ money = (money - upgrade_clip_poison); upgrade_approved = true; } else { upgrade_type = "none"; }; }; }; }; } else { if ((((gpause == true)) && ((upgrade_approved == false)))){ upgrade_type = "none"; }; }; if (upgrade_approved == true){ if (upgrade_active == false){ upgrade_potato = function (_arg1:TimerEvent):void{ var _local2:*; if (gpause == false){ upgrade_time++; }; _local2 = (upgrade_time / upgrade_time_max); if (_local2 <= 1){ game_bar_1.bar.scaleX = _local2; }; if (upgrade_approved == false){ UTimer.stop(); }; }; game_bar_1 = gameSpace1.addChild(new game_bar()); game_bar_1.x = 349; game_bar_1.y = 293; game_bar_1.name = "game_bar"; bar_border_1 = gameSpace1.addChild(new bar_border()); bar_border_1.x = 349; bar_border_1.y = 293; bar_border_1.name = "bar_border"; game_bar_1.bar.scaleX = 0; UTimer = new Timer(10, 0); UTimer.addEventListener(TimerEvent.TIMER, upgrade_potato); UTimer.start(); }; upgrade_active = true; if (upgrade_time >= upgrade_time_max){ if (upgrade_type == "clip"){ upgrade_clip_money = (upgrade_clip_money + 400); max_firepower = (max_firepower + 5); upgrade_clip = (upgrade_clip + 1); }; if (upgrade_type == "explode"){ upgrade_clip_explode = (upgrade_clip_explode + 300); upgrade_radius = (upgrade_radius + 20); explode_strength = (explode_strength + 55); upgrade_explode = (upgrade_explode + 1); }; if (upgrade_type == "spikes"){ upgrade_clip_spikes = (upgrade_clip_spikes + 400); cannon_strength = (cannon_strength + 70); upgrade_spikes = (upgrade_spikes + 1); }; if (upgrade_type == "poison"){ upgrade_clip_poison = (upgrade_clip_poison + 400); enemy_poisoned = (enemy_poisoned + 1); upgrade_poison = (upgrade_poison + 1); }; upgrade_active = false; upgrade_approved = false; upgrade_type = "none"; upgrade_time = 0; gameSpace1.removeChild(gameSpace1.getChildByName("game_bar")); gameSpace1.removeChild(gameSpace1.getChildByName("bar_border")); }; }; if (gpause == false){ if (spawn_max_monster < max_monster){ new_monster++; }; if (new_monster == delay){ spawn_max_monster++; monsters_placed++; new_monster = 0; xplacement = -50; yplacement = 0; monster_energy_temp = monster_energy; monster_xspeed_temp = monster_xspeed; poison_immunity = 0; if ((((current_level >= 1)) && ((current_level <= 5)))){ monster_type = 1; poison_immunity = 0; }; if ((((current_level >= 6)) && ((current_level <= 10)))){ monster_type = 3; poison_immunity = -1; }; if ((((current_level >= 11)) && ((current_level <= 15)))){ monster_type = 2; poison_immunity = 1; ranNum = Math.floor(((Math.random() * (3 - 1)) + 1)); if (ranNum == 1){ yplacement = 200; }; monster_xspeed_temp = 0.7; }; if ((((current_level >= 16)) && ((current_level <= 20)))){ monster_type = 4; poison_immunity = 0; xplacement = Math.floor(((Math.random() * (200 - 0)) + 0)); }; if (current_level == 21){ monster_type = Math.floor(((Math.random() * (5 - 1)) + 1)); if ((((monster_type == 1)) || ((monster_type == 4)))){ poison_immunity = 0; } else { if (monster_type == 3){ poison_immunity = -1; } else { if (monster_type == 2){ poison_immunity = 1; } else { poison_immunity = 0; }; }; }; }; place_enemy(xplacement, yplacement, monster_xspeed_temp, monster_energy_temp, poison_immunity, monster_type); }; }; if ((((((((spawn_max_monster == max_monster)) && ((monsters_placed == 0)))) && ((game_over == false)))) && ((runTimer == true)))){ runTimer = false; GTimer.addEventListener(TimerEvent.TIMER, level_timer); GTimer.start(); }; if (current_level == 20){ }; if ((((((current_level == 20)) && ((monsters_placed == 0)))) && (!((spawn_max_monster == 0))))){ game_over = true; game_over_outcome = "winner"; }; if (burgers <= 0){ time_over = true; game_over = true; game_over_outcome = "loser"; }; if (game_over == true){ if (game_over_break == false){ gamedata4_1 = gameSpace1.addChild(new gamedata4()); gamedata4_1.x = 18; gamedata4_1.y = 15; if (game_over_outcome == "winner"){ gamedata4_1.end_graphic.gotoAndStop(2); game_winner = 10000; }; total_killed = (enemy_kill_score / 100); total_acc = ((total_accuracy * 0.01) * 1000); total_combo = (combo_count_five * 10); total_score = ((((enemy_kill_score + money) + total_acc) + total_combo) + game_winner); gamedata4_1.money_txt.text = String(("$" + money)); gamedata4_1.total_combo_txt.text = String(total_combo); gamedata4_1.combo_txt.text = String(combo_count_five); gamedata4_1.total_acc_txt.text = String(total_acc); gamedata4_1.acc_txt.text = String((total_accuracy + "%")); gamedata4_1.total_killed_txt.text = String(total_killed); gamedata4_1.enemy_kill_txt.text = String(enemy_kill_score); gamedata4_1.total_txt.text = String(total_score); Nav = true; gpause = true; game_over_break = true; GTimer.stop(); }; }; if (total_fired > 0){ total_accuracy = Math.floor(((total_hit / total_fired) * 100)); }; if (game_over == false){ total_score = (enemy_kill_score + (combo_count_five * 10)); }; gameSpace1.addEventListener(MouseEvent.MOUSE_DOWN, onStageMouseDown); if (fired == 0){ cannon_delay = 15; spawn_max_cannon = 0; firstClick = true; max_cannon = max_firepower; }; if (mouseDown){ if (firstClick == true){ firstClick = false; shootShot(); } else { if (spawn_max_cannon < (max_cannon - 1)){ new_cannon++; }; if (new_cannon == cannon_delay){ spawn_max_cannon++; new_cannon = 0; shootShot(); }; }; }; } public function upgradeExplode(_arg1:MouseEvent):void{ var _local2:*; if (upgrade_type == "none"){ upgrade_type = "explode"; }; _local2 = gameSpace1.getChildByName("explode_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("explode_description1")); }; } public function upgradeSpike(_arg1:MouseEvent):void{ var _local2:*; if (upgrade_type == "none"){ upgrade_type = "spikes"; }; _local2 = gameSpace1.getChildByName("spike_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("spike_description1")); }; } public function describeExplode2(_arg1:MouseEvent):void{ var _local2:*; _local2 = gameSpace1.getChildByName("explode_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("explode_description1")); }; } public function onStageMouseDown(_arg1:MouseEvent):void{ gameSpace1.addEventListener(MouseEvent.MOUSE_UP, onStageMouseUp); mouseDown = true; } public function moveMouse(_arg1){ if ((((((mouseY > 290)) || ((gpause == true)))) || ((game_over == true)))){ Mouse.show(); Nav = true; } else { Mouse.hide(); Nav = false; }; if ((((((Nav == false)) && ((gpause == false)))) && ((game_over == false)))){ crosshair_1.x = mouseX; crosshair_1.y = mouseY; } else { crosshair_1.x = -300; crosshair_1.y = -300; }; } public function describeSpike2(_arg1:MouseEvent):void{ var _local2:*; _local2 = gameSpace1.getChildByName("spike_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("spike_description1")); }; } public function describeExplode(_arg1:MouseEvent):void{ var _local2:MovieClip; _local2 = gameSpace1.addChild(new explode_description()); _local2.x = (mouseX - 5); _local2.y = (mouseY - 5); _local2.name = "explode_description1"; _local2.explode_damage_txt.text = String(("Current Damage: " + explode_strength)); if (upgrade_explode <= 2){ _local2.explode_upgrade_txt.text = String(("Next Upgrade: $" + upgrade_clip_explode)); } else { _local2.explode_upgrade_txt.text = String(""); }; } public function upgradeClip(_arg1:MouseEvent):void{ var _local2:*; if (upgrade_type == "none"){ upgrade_type = "clip"; }; _local2 = gameSpace1.getChildByName("clip_description1"); if (_local2){ gameSpace1.removeChild(gameSpace1.getChildByName("clip_description1")); }; } public function move_enemy(_arg1:Event){ var PercentLoaded:*; var colorTransform2:*; var earned_money_1:*; var event = _arg1; var _local3 = event.target; with (_local3) { if (currentFrame == 42){ gotoAndPlay(1); }; if (currentFrame == 1){ if (dead == true){ gotoAndPlay("dead"); }; }; if (currentFrame == 74){ event.target.removeEventListener(Event.ENTER_FRAME, move_enemy); gameSpace1.removeChild(DisplayObject(event.target)); }; if (gameSpace1.getChildByName(("enemy_" + name))){ if (gameSpace1.getChildByName(("enemy_" + name)).currentFrame == 25){ gameSpace1.removeChild(gameSpace1.getChildByName(("enemy_" + name))); }; if (game_over == true){ gameSpace1.removeChild(gameSpace1.getChildByName(("enemy_" + name))); }; }; if (hit == true){ if (count < max_count){ new_count++; }; if (new_count == delay_hit){ count++; new_count = 0; count = 1; max_count = 2; hit = false; }; }; if (dead == false){ PercentLoaded = ((energy / energy_max) * 100); PercentLoaded = (energy / energy_max); if (PercentLoaded <= 1){ bar.scaleX = PercentLoaded; }; if ((((poison_level > 0)) && (!((pi == -1))))){ colorTransform2 = transform.colorTransform; colorTransform2.color = "0x00EE00"; bar.transform.colorTransform = colorTransform2; }; }; if (gpause == false){ if (pi == 0){ energy = (energy - poison_level); } else { if (pi == 1){ energy = (energy - (poison_level * 4)); } else { if (pi == -1){ energy = energy; } else { energy = (energy - poison_level); }; }; }; yspeed = (yspeed + (gravity / 10)); x = (x + xspeed); while (ground_1.hitTestPoint((x + (width / 2)), ((y + height) - 10), true)) { y--; yspeed = 0; }; if (!ground_1.hitTestPoint((x + (width / 2)), ((y + height) - 9), true)){ y = (y + yspeed); } else { yspeed = 0; }; if (node_1.hitTestPoint(x, y, true)){ xspeed = -3; gotoAndPlay(75); dead = true; burgers--; if (burgers <= 0){ burgers = 0; }; }; }; if (greset == true){ event.target.removeEventListener(Event.ENTER_FRAME, move_enemy); }; if (x > 500){ monsters_placed--; event.target.removeEventListener(Event.ENTER_FRAME, move_enemy); gameSpace1.removeChild(DisplayObject(event.target)); }; if (y > 500){ monsters_placed--; event.target.removeEventListener(Event.ENTER_FRAME, move_enemy); gameSpace1.removeChild(DisplayObject(event.target)); }; if ((((energy <= 0)) && ((dead == false)))){ earned_money_1 = gameSpace1.addChild(new earned_money()); earned_money_1.name = ("enemy_" + name); earned_money_1.x = x; earned_money_1.y = (y + 5); earned_money_1.money_money.money_earned_txt.text = String(("+$" + money_earned)); gotoAndPlay("dead"); dead = true; xspeed = 0; money = (money + money_earned); enemy_kill_score = (enemy_kill_score + 100); monsters_placed--; }; }; } public function createExplosion(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:MovieClip; var _local11:ColorTransform; _local3 = new Array("0xFF0000", "0x00FF00", "0x0000FF", "0xFFFF00", "0xFF00FF", "0x00FFFF"); particles++; i = 0; while (i < 2) { _local4 = ((_arg1 + Math.floor((Math.random() * (40 + 40)))) - 40); _local5 = (_arg2 + ((Math.floor((Math.random() * (25 - 1))) + 1) * -1)); _local6 = (Math.floor((Math.random() * (15 - 1))) + 1); _local7 = (Math.floor((Math.random() * (5 - 0))) + 0); _local8 = (Math.floor((Math.random() * (0.6 - 0.3))) + 0.3); _local9 = (Math.floor((Math.random() * (0.7 - 0.5))) + 0.5); _local10 = stage.addChild(new myParticle()); _local11 = _local10.transform.colorTransform; _local11.color = _local3[_local7]; _local10.fireworkz.transform.colorTransform = _local11; _local10.x = _local4; _local10.y = _local5; _local10.scaleX = _local8; _local10.scaleY = _local8; _local10.alpha = _local9; _local10.gotoAndPlay(_local6); _local10.name = (("Particle1_" + particles) + i); i++; }; } public function describePoison(_arg1:MouseEvent):void{ var _local2:MovieClip; _local2 = gameSpace1.addChild(new poison_description()); _local2.x = (mouseX - 5); _local2.y = (mouseY - 5); _local2.name = "poison_description1"; _local2.poison_damage_txt.text = String(("Toxic Level: " + enemy_poisoned)); if (upgrade_poison <= 2){ _local2.poison_upgrade_txt.text = String(("Next Upgrade: $" + upgrade_clip_poison)); } else { _local2.poison_upgrade_txt.text = String(""); }; } function frame123(){ back_button.addEventListener(MouseEvent.CLICK, gameBack); } public function shootShot():void{ var _local1:*; var _local2:*; var _local3:*; var _local4:MovieClip; if ((((((hardFired < max_firepower)) && ((fireStop == false)))) && ((Nav == false)))){ if (mute == false){ thoomp_1.gotoAndPlay("cannon"); }; money--; total_fired++; hardFired++; fired++; cannons_left = (max_firepower - hardFired); _local1 = (tank_1.cannon.rotation - 1); _local2 = (tank_1.x + (48 * Math.cos(((_local1 * Math.PI) / 180)))); _local3 = (tank_1.y + (48 * Math.sin(((_local1 * Math.PI) / 180)))); _local4 = gameSpace1.addChild(new cannonball()); _local4.x = _local2; _local4.y = _local3; _local4.name = ("cannon_" + total_fired); _local4.lasty = 0; _local4.x_stop = false; _local4.dirx = (Math.cos(((_local1 * Math.PI) / 180)) * firepower); _local4.diry = (Math.sin(((_local1 * Math.PI) / 180)) * firepower); _local4.final_rotation = (Math.floor((Math.random() * (360 - 0))) + 0); _local4.final_momentum = (Math.floor((Math.random() * (5 - 1))) + 1); _local4.blow_up_state = false; _local4.blowing_up = false; _local4.ground_explode = false; _local4.combo = 0; _local4.combo_finished = false; _local4.c_strength = cannon_strength; _local4.e_strength = explode_strength; _local4.u_explode = upgrade_explode; _local4.radius = upgrade_radius; _local4.p_strength = enemy_poisoned; _local4.dead = false; _local4.addEventListener(Event.ENTER_FRAME, moveShot); if (upgrade_spikes == 1){ _local4.spikes.gotoAndStop(2); } else { if (upgrade_spikes == 2){ _local4.spikes.gotoAndStop(3); } else { if (upgrade_spikes == 3){ _local4.spikes.gotoAndStop(4); } else { _local4.spikes.gotoAndStop(1); }; }; }; if (upgrade_poison > 0){ _local4.poisoned1.gotoAndStop(2); } else { _local4.poisoned1.gotoAndStop(1); }; }; } public function gamePause(_arg1:MouseEvent):void{ if (gpause == false){ gpause = true; } else { gpause = false; }; } function frame122(){ if (repeat == 0){ myChannel = intro.play(0, 10); myChannel.soundTransform = myTransform; repeat = 1; }; go_button.addEventListener(MouseEvent.CLICK, gameGo); help_button.addEventListener(MouseEvent.CLICK, gameHelp); stop(); } function frame124(){ MochiBot.track(this, "0994a1f3"); show_aim_ui = true; mouseMoving = false; firstClick = true; Nav = false; mute = false; gpause = false; greset = false; particle_effects = true; gravity = 3; money = 200; money_earned = 10; burgers = 20; combo_count_five = 0; monster_combo = false; fired = 0; hardFired = 0; fireStop = false; max_firepower = 5; total_fired = 0; total_hit = 0; total_accuracy = 0; cannon_strength = 50; explode_strength = Math.floor((cannon_strength / 3)); cannons_left = max_firepower; upgrade_time = 0; upgrade_time_max = 1000; upgrade_type = "none"; upgrade_approved = false; upgrade_active = false; upgrade_clip = 0; upgrade_explode = 0; upgrade_spikes = 0; upgrade_poison = 0; upgrade_radius = 150; upgrade_clip_money = 250; upgrade_clip_explode = 150; upgrade_clip_poison = 170; upgrade_clip_spikes = 200; time_over = false; game_over = false; game_over_break = false; game_over_outcome = ""; enemy_poisoned = 0; cannon_delay = 0; new_cannon = 0; spawn_max_cannon = 0; max_cannon = max_firepower; delay = 50; new_monster = 0; monsters_placed = 0; spawn_max_monster = 0; max_monster = 0; monster_xspeed = 0.5; monster_e_inc = 10; monster_energy = monster_e_inc; monster_type = new enemy(); current_level = 0; next_level = 1; next_level_stop = false; monster_inc = 2; game_time = 0; GTimer = new Timer(5, 0); levelCount = 999; currentCount = levelCount; runTimer = true; angle_xdif = 0; angle_ydif = 0; angle = 0; firepower = 0; particles = 0; enemy_kill_score = 0; total_score = 0; total_acc = 0; total_combo = 0; game_winner = 0; gameSpace1 = root.addChild(new gameSpace()); gameSpace1.name = "gameSpace1"; gameSpace1.x = 0; gameSpace1.y = 0; ground2_1 = gameSpace1.addChild(new ground2()); ground2_1.x = 0; ground2_1.y = 196; ground_1 = gameSpace1.addChild(new ground()); ground_1.x = 0; ground_1.y = 198; tank_1 = gameSpace1.addChild(new tank()); tank_1.x = 465; tank_1.y = 198; node_1 = gameSpace1.addChild(new node()); node_1.x = 468; node_1.y = 0xFF; gamedata_1 = gameSpace1.addChild(new gamedata()); gamedata_1.x = 25; gamedata_1.y = 315; gamedata2_1 = gameSpace1.addChild(new gamedata2()); gamedata2_1.x = 25; gamedata2_1.y = 0; gamedata3_1 = gameSpace1.addChild(new gamedata3()); gamedata3_1.x = 25; gamedata3_1.y = 363; ui_aim_bar_1 = gameSpace1.addChild(new aim_bar()); ui_aim_bar_1.x = 460; ui_aim_bar_1.y = 50; ui_aim_bar_1.rotation = 180; ui_aim_bar_1.aim_name.gotoAndStop(1); ui_aim_bar_2 = gameSpace1.addChild(new aim_bar()); ui_aim_bar_2.x = 490; ui_aim_bar_2.y = 50; ui_aim_bar_2.rotation = 180; ui_aim_bar_2.aim_name.gotoAndStop(2); bar_border_1 = gameSpace1.addChild(new bar_border()); bar_border_1.x = 349; bar_border_1.y = 293; thoomp_1 = gameSpace1.addChild(new thoomp()); thoomp_1.x = -300; thoomp_1.y = -300; crosshair_1 = gameSpace1.addChild(new crosshair()); crosshair_1.x = 50; crosshair_1.y = 50; crosshair_2 = gameSpace1.addChild(new crosshair()); crosshair_2.x = -500; crosshair_2.y = -500; gamedata_1.explode_button.addEventListener(MouseEvent.CLICK, upgradeExplode); gamedata_1.explode_button.addEventListener(MouseEvent.ROLL_OVER, describeExplode); gamedata_1.explode_button.addEventListener(MouseEvent.ROLL_OUT, describeExplode2); gamedata_1.spike_button.addEventListener(MouseEvent.CLICK, upgradeSpike); gamedata_1.spike_button.addEventListener(MouseEvent.ROLL_OVER, describeSpike); gamedata_1.spike_button.addEventListener(MouseEvent.ROLL_OUT, describeSpike2); gamedata_1.clip_button.addEventListener(MouseEvent.CLICK, upgradeClip); gamedata_1.clip_button.addEventListener(MouseEvent.ROLL_OVER, describeClip); gamedata_1.clip_button.addEventListener(MouseEvent.ROLL_OUT, describeClip2); gamedata_1.poison_button.addEventListener(MouseEvent.CLICK, upgradePoison); gamedata_1.poison_button.addEventListener(MouseEvent.ROLL_OVER, describePoison); gamedata_1.poison_button.addEventListener(MouseEvent.ROLL_OUT, describePoison2); gamedata_1.sound_button.addEventListener(MouseEvent.CLICK, muteSound); gamedata_1.quality_button.addEventListener(MouseEvent.CLICK, lowerQuality); gamedata_1.effects_button.addEventListener(MouseEvent.CLICK, dropEffects); gamedata_1.aim_button.addEventListener(MouseEvent.CLICK, dropAim); gamedata_1.pause_button.addEventListener(MouseEvent.CLICK, gamePause); gamedata_1.restart_button.addEventListener(MouseEvent.CLICK, gameRestart); gameSpace1.addEventListener(Event.ENTER_FRAME, moveMouse); gameSpace1.addEventListener(Event.ENTER_FRAME, textShow); gameSpace1.addEventListener(Event.ENTER_FRAME, OEF); stop(); stop(); } public function textShow(_arg1:Event){ gamedata2_1.money_txt.text = String(("$" + money)); gamedata2_1.burger_txt.text = String(burgers); gamedata2_1.timer_txt.text = String(game_time); gamedata2_1.level_txt.text = String(current_level); gamedata_1.explode_txt.text = String((upgrade_explode + " / 3")); gamedata_1.spike_txt.text = String((upgrade_spikes + " / 3")); gamedata_1.clip_txt.text = String((upgrade_clip + " / 3")); gamedata_1.poison_txt.text = String((upgrade_poison + " / 3")); gamedata_1.ammo_txt.text = String(cannons_left); gamedata_1.combo_txt.text = String(combo_count_five); gamedata_1.acc_txt.text = String(total_accuracy); gamedata_1.total_txt.text = String(enemy_kill_score); } public function gameRestart(_arg1:MouseEvent):void{ GTimer.removeEventListener(TimerEvent.TIMER, level_timer); gameSpace1.removeEventListener(Event.ENTER_FRAME, moveMouse); gameSpace1.removeEventListener(Event.ENTER_FRAME, OEF); gameSpace1.removeEventListener(MouseEvent.MOUSE_DOWN, onStageMouseDown); greset = true; root.removeChild(getChildByName("gameSpace1")); gotoAndStop(1, "Title"); } public function dropAim(_arg1:MouseEvent):void{ if (show_aim_ui == true){ show_aim_ui = false; ui_aim_bar_1.alpha = 0; ui_aim_bar_2.alpha = 0; gamedata_1.option_aim.gotoAndStop(2); } else { show_aim_ui = true; ui_aim_bar_1.alpha = 1; ui_aim_bar_2.alpha = 1; gamedata_1.option_aim.gotoAndStop(1); }; } public function doSomething2(_arg1:ContextMenuEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.imnotworking.com"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } public function gameBack(_arg1:MouseEvent):void{ gotoAndStop(1); } } }//package burgerdefense_v14_norm_fla
Section 2
//poisoned_62 (burgerdefense_v14_norm_fla.poisoned_62) package burgerdefense_v14_norm_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class poisoned_62 extends MovieClip { public function poisoned_62(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package burgerdefense_v14_norm_fla
Section 3
//Symbol11_63 (burgerdefense_v14_norm_fla.Symbol11_63) package burgerdefense_v14_norm_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class Symbol11_63 extends MovieClip { public function Symbol11_63(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame2(){ stop(); } } }//package burgerdefense_v14_norm_fla
Section 4
//Symbol21_17 (burgerdefense_v14_norm_fla.Symbol21_17) package burgerdefense_v14_norm_fla { import flash.display.*; import flash.text.*; public dynamic class Symbol21_17 extends MovieClip { public var money_earned_txt:TextField; } }//package burgerdefense_v14_norm_fla
Section 5
//Symbol30_9 (burgerdefense_v14_norm_fla.Symbol30_9) package burgerdefense_v14_norm_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class Symbol30_9 extends MovieClip { public function Symbol30_9(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package burgerdefense_v14_norm_fla
Section 6
//Symbol32_5 (burgerdefense_v14_norm_fla.Symbol32_5) package burgerdefense_v14_norm_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class Symbol32_5 extends MovieClip { public function Symbol32_5(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package burgerdefense_v14_norm_fla
Section 7
//xmark_33 (burgerdefense_v14_norm_fla.xmark_33) package burgerdefense_v14_norm_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class xmark_33 extends MovieClip { public function xmark_33(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package burgerdefense_v14_norm_fla
Section 8
//KongregateEvent (com.kongregate.as3.client.events.KongregateEvent) package com.kongregate.as3.client.events { import flash.events.*; public class KongregateEvent extends Event { public static const COMPLETE:String = "component_api_available"; public function KongregateEvent(_arg1:String){ super(_arg1); } } }//package com.kongregate.as3.client.events
Section 9
//AbstractShadowService (com.kongregate.as3.client.services.AbstractShadowService) package com.kongregate.as3.client.services { import flash.events.*; public class AbstractShadowService extends EventDispatcher { protected function alert(_arg1:String, _arg2:String, _arg3="", _arg4:String=""):void{ trace(((((((("Kongregate API: " + _arg1) + ".") + _arg2) + "(") + _arg3) + ") ") + _arg4)); } } }//package com.kongregate.as3.client.services
Section 10
//HighScoreServiceShadow (com.kongregate.as3.client.services.HighScoreServiceShadow) package com.kongregate.as3.client.services { public class HighScoreServiceShadow extends AbstractShadowService implements IHighScoreServices { private var mode:String; public function HighScoreServiceShadow(){ mode = ""; } public function submit(_arg1:Number, _arg2:String=null):void{ alert("IHighScoreServices", "submit", arguments); } public function connect():Boolean{ alert("IKongregateServices", "connect"); return (true); } public function requestList(_arg1:Function):void{ alert("IHighScoreServices", "requestList", "", (("[Mode: " + mode) + "]")); _arg1({success:false}); } public function setMode(_arg1:String):void{ alert("IHighScoreServices", "setMode", arguments); this.mode = _arg1; } } }//package com.kongregate.as3.client.services
Section 11
//IHighScoreServices (com.kongregate.as3.client.services.IHighScoreServices) package com.kongregate.as3.client.services { public interface IHighScoreServices { function setMode(_arg1:String):void; function submit(_arg1:Number, _arg2:String=null):void; function requestList(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 12
//IKongregateServices (com.kongregate.as3.client.services.IKongregateServices) package com.kongregate.as3.client.services { import flash.events.*; public interface IKongregateServices extends IEventDispatcher { function getPlayerInfo(_arg1:Function):void; function connect(_arg1:Number=-1):Boolean; } }//package com.kongregate.as3.client.services
Section 13
//IStatServices (com.kongregate.as3.client.services.IStatServices) package com.kongregate.as3.client.services { public interface IStatServices { function submitArray(_arg1:Array):void; function submit(_arg1:String, _arg2:Number):void; } }//package com.kongregate.as3.client.services
Section 14
//IUserServices (com.kongregate.as3.client.services.IUserServices) package com.kongregate.as3.client.services { public interface IUserServices { function getName():String; function getPlayerInfo(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 15
//KongregateServiceShadow (com.kongregate.as3.client.services.KongregateServiceShadow) package com.kongregate.as3.client.services { public class KongregateServiceShadow extends AbstractShadowService implements IKongregateServices { public function getName():String{ alert("IKongregateServices", "getName"); return ("Guest"); } public function connect(_arg1:Number=-1):Boolean{ alert("IKongregateServices", "connect", arguments); return (true); } public function getPlayerInfo(_arg1:Function):void{ alert("IKongregateServices", "getPlayerInfo"); _arg1(new Object()); } } }//package com.kongregate.as3.client.services
Section 16
//StatServiceShadow (com.kongregate.as3.client.services.StatServiceShadow) package com.kongregate.as3.client.services { public class StatServiceShadow extends AbstractShadowService implements IStatServices { public function submitArray(_arg1:Array):void{ alert("IStatServices", "submitArray", arguments); } public function submit(_arg1:String, _arg2:Number):void{ alert("IStatServices", "submitStat", arguments); } } }//package com.kongregate.as3.client.services
Section 17
//UserServiceShadow (com.kongregate.as3.client.services.UserServiceShadow) package com.kongregate.as3.client.services { public class UserServiceShadow extends AbstractShadowService implements IUserServices { public function getName():String{ alert("UserService", "getName"); return ("Guest"); } public function getPlayerInfo(_arg1:Function):void{ alert("UserService", "getPlayerInfo"); _arg1({isGuest:true, name:"Guest", points:0, level:0, isMode:false, isAdmin:false, isDeveloper:false, avatarPath:"", chatAvatarPath:""}); } } }//package com.kongregate.as3.client.services
Section 18
//IAPIBootstrap (com.kongregate.as3.client.IAPIBootstrap) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; public interface IAPIBootstrap { function init(_arg1:Event=null, _arg2:Stage=null):void; function hideLog():void; function showLog(_arg1:int=0):void; } }//package com.kongregate.as3.client
Section 19
//KongregateAPI (com.kongregate.as3.client.KongregateAPI) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; import com.kongregate.as3.client.services.*; import com.kongregate.as3.client.events.*; import flash.system.*; import flash.utils.*; import flash.net.*; import flash.errors.*; public class KongregateAPI extends Sprite { private const VERSION:Number = 1; private var loader:Loader; private var loadedDomain:ApplicationDomain; private static const CLASS_USER:String = "com.kongregate.as3.client.services.UserServices"; private static const CLASS_STATS:String = "com.kongregate.as3.client.services.StatServices"; private static const CLASS_SERVICES:String = "com.kongregate.as3.client.services.KongregateServices"; private static const CLASS_SCORES:String = "com.kongregate.as3.client.services.HighScoreServices"; private static const DEBUG_API_URL:String = "//Linuxpc/kongregate/public/flash/API_AS3.swf"; private static var _connected:Boolean; private static var kUser:IUserServices; private static var _loaded:Boolean; private static var kServices:IKongregateServices; private static var kScores:IHighScoreServices; private static var mInstance:KongregateAPI; private static var kStats:IStatServices; private static var kAPI:IAPIBootstrap; public function KongregateAPI(){ if (mInstance != null){ throw (new Error("Warning: KongregateAPI has been added to stage more than once or accessed improperly. Use getInstance() or a stage reference to access.")); }; mInstance = this; this.addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true); } public function get loaded():Boolean{ return (_loaded); } public function get connected():Boolean{ return (_connected); } private function alertConnected(_arg1:TimerEvent=null):void{ var _local2:KongregateEvent; var _local3:Boolean; _local2 = new KongregateEvent(KongregateEvent.COMPLETE); _local3 = this.dispatchEvent(_local2); } private function init(_arg1:Event):void{ var _local2:Object; var _local3:String; var _local4:URLRequest; var _local5:LoaderContext; this.removeEventListener(Event.ADDED_TO_STAGE, init); _loaded = false; _connected = false; _local2 = LoaderInfo(root.loaderInfo).parameters; _local3 = _local2.api_path; if (_local3 == null){ trace("Alert: Kongregate API could not be loaded, due to local testing. API will load when the game is uploaded."); createShadowServices(); return; }; Security.allowDomain("*.kongregate.com"); Security.allowDomain("kongregatetrunk.com"); _local4 = new URLRequest(_local3); _local5 = new LoaderContext(false); _local5.applicationDomain = ApplicationDomain.currentDomain; _local5.securityDomain = SecurityDomain.currentDomain; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); loader.load(_local4, _local5); } public function get api():IAPIBootstrap{ return (kAPI); } private function loadComplete(_arg1:Event):void{ getServices(); } public function get scores():IHighScoreServices{ return (kScores); } private function ioErrorHandler(_arg1:IOErrorEvent):void{ throw (new IOError(("API file not found. " + _arg1))); } public function get services():IKongregateServices{ return (kServices); } public function get stats():IStatServices{ return (kStats); } private function createShadowServices():void{ var _local1:Timer; trace(">>> Kongregate Shadow Services instantiated for local development.."); kServices = new KongregateServiceShadow(); kScores = new HighScoreServiceShadow(); kStats = new StatServiceShadow(); kUser = new UserServiceShadow(); _local1 = new Timer(200, 1); _local1.addEventListener(TimerEvent.TIMER_COMPLETE, alertConnected); _local1.start(); _connected = true; } public function get user():IUserServices{ return (kUser); } private function getServices():void{ var _local1:ApplicationDomain; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = ApplicationDomain.currentDomain; kAPI = IAPIBootstrap(loader.getChildAt(0)); this.addChild(loader); _local2 = _local1.getDefinition(CLASS_SERVICES); trace(_local2); kServices = _local2.getInstance(); _local3 = _local1.getDefinition(CLASS_SCORES); kScores = _local3.getInstance(); _local4 = _local1.getDefinition(CLASS_STATS); kStats = _local4.getInstance(); _local5 = _local1.getDefinition(CLASS_USER); kUser = _local5.getInstance(); kServices.connect(VERSION); _loaded = true; _connected = true; alertConnected(); } public static function getInstance():KongregateAPI{ if (!mInstance){ throw (new IllegalOperationError("You must add the Kongregate API component to the stage before attempting to access it.")); }; return (mInstance); } } }//package com.kongregate.as3.client
Section 20
//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi
Section 21
//MochiServices (mochi.MochiServices) package mochi { import flash.events.*; import flash.display.*; import flash.system.*; import flash.utils.*; import flash.net.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _sendChannel:LocalConnection; private static var _rcvChannelName:String; private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; private static var _timer:Timer; private static var _sendChannelName:String; private static var _startTime:Number; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__mochiservices"; private static var _rcvChannel:LocalConnection; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } public static function get id():String{ return (_id); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function getVersion():String{ return ("1.34"); } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); _rcvChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; Security.allowDomain("*"); Security.allowInsecureDomain("*"); if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; return (_local2); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); _rcvChannelName = _arg1; initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var id = _arg1; var clip = _arg2; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; MochiServices.allowDomains(_gatewayURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); _timer = new Timer(1000, 0); _startTime = getTimer(); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); f = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_gatewayURL); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain("*", "localhost"); _rcvChannel.allowInsecureDomain("*", "localhost"); _rcvChannel.client = _clip; _clip._nextcallbackID = 0; _clip._callbacks = {}; listen(); return (_clip); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if ((getTimer() - _startTime) > 10000){ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _timer.stop(); }; } } }//package mochi
Section 22
//aim_bar (aim_bar) package { import flash.display.*; public dynamic class aim_bar extends MovieClip { public var aim_bar_main:MovieClip; public var aim_name:MovieClip; } }//package
Section 23
//bar_border (bar_border) package { import flash.display.*; public dynamic class bar_border extends MovieClip { } }//package
Section 24
//cannonball (cannonball) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class cannonball extends MovieClip { public var spikes:MovieClip; public var poisoned1:MovieClip; public function cannonball(){ addFrameScript(0, frame1, 13, frame14, 24, frame25, 34, frame35); } function frame14(){ } function frame1(){ stop(); } function frame25(){ stop(); } function frame35(){ stop(); } } }//package
Section 25
//cannonballp (cannonballp) package { import flash.display.*; public dynamic class cannonballp extends MovieClip { } }//package
Section 26
//clip_description (clip_description) package { import flash.display.*; import flash.text.*; public dynamic class clip_description extends MovieClip { public var clip_upgrade_txt:TextField; public var clip_damage_txt:TextField; } }//package
Section 27
//combo_graphic (combo_graphic) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class combo_graphic extends MovieClip { public function combo_graphic(){ addFrameScript(24, frame25); } function frame25(){ stop(); root.gameSpace1.removeChild(root.gameSpace1.getChildByName(name)); } } }//package
Section 28
//crosshair (crosshair) package { import flash.display.*; public dynamic class crosshair extends MovieClip { } }//package
Section 29
//earned_money (earned_money) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class earned_money extends MovieClip { public var money_money:MovieClip; public function earned_money(){ addFrameScript(24, frame25); } function frame25(){ } } }//package
Section 30
//enemy (enemy) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class enemy extends MovieClip { public var bar:MovieClip; public function enemy(){ addFrameScript(0, frame1, 41, frame42, 73, frame74, 115, frame116); } function frame74(){ stop(); } function frame1(){ } function frame116(){ gotoAndPlay(75); } function frame42(){ } } }//package
Section 31
//enemy2 (enemy2) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class enemy2 extends MovieClip { public var bar:MovieClip; public function enemy2(){ addFrameScript(0, frame1, 41, frame42, 73, frame74, 115, frame116); } function frame74(){ stop(); } function frame1(){ } function frame116(){ gotoAndPlay(75); } function frame42(){ } } }//package
Section 32
//enemy3 (enemy3) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class enemy3 extends MovieClip { public var bar:MovieClip; public function enemy3(){ addFrameScript(0, frame1, 41, frame42, 73, frame74, 115, frame116); } function frame74(){ stop(); } function frame1(){ } function frame116(){ gotoAndPlay(75); } function frame42(){ } } }//package
Section 33
//enemy4 (enemy4) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class enemy4 extends MovieClip { public var bar:MovieClip; public function enemy4(){ addFrameScript(0, frame1, 41, frame42, 73, frame74, 115, frame116); } function frame74(){ stop(); } function frame1(){ } function frame116(){ gotoAndPlay(75); } function frame42(){ } } }//package
Section 34
//explode_description (explode_description) package { import flash.display.*; import flash.text.*; public dynamic class explode_description extends MovieClip { public var explode_upgrade_txt:TextField; public var explode_damage_txt:TextField; } }//package
Section 35
//game_bar (game_bar) package { import flash.display.*; public dynamic class game_bar extends MovieClip { public var bar:MovieClip; } }//package
Section 36
//gamedata (gamedata) package { import flash.display.*; import flash.text.*; public dynamic class gamedata extends MovieClip { public var clip_button:SimpleButton; public var total_txt:TextField; public var clip_txt:TextField; public var explode_txt:TextField; public var effects_button:SimpleButton; public var option_quality:MovieClip; public var option_effects:MovieClip; public var combo_txt:TextField; public var poison_button:SimpleButton; public var explode_button:SimpleButton; public var restart_button:SimpleButton; public var sound_button:SimpleButton; public var aim_button:SimpleButton; public var ammo_txt:TextField; public var spike_button:SimpleButton; public var option_aim:MovieClip; public var quality_button:SimpleButton; public var pause_button:SimpleButton; public var spike_txt:TextField; public var poison_txt:TextField; public var acc_txt:TextField; public var option_sound:MovieClip; } }//package
Section 37
//gamedata2 (gamedata2) package { import flash.display.*; import flash.text.*; public dynamic class gamedata2 extends MovieClip { public var level_txt:TextField; public var money_txt:TextField; public var timer_txt:TextField; public var burger_txt:TextField; } }//package
Section 38
//gamedata3 (gamedata3) package { import flash.display.*; public dynamic class gamedata3 extends MovieClip { } }//package
Section 39
//gamedata4 (gamedata4) package { import flash.events.*; import flash.display.*; import mochi.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class gamedata4 extends MovieClip { public var total_txt:TextField; public var total_combo_txt:TextField; public var combo_txt:TextField; public var submit_button:SimpleButton; public var money_txt:TextField; public var end_graphic:MovieClip; public var total_killed_txt:TextField; public var total_acc_txt:TextField; public var acc_txt:TextField; public var enemy_kill_txt:TextField; public function gamedata4(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ MochiServices.connect("4d6395c7952b0bd2", root); submit_button.addEventListener(MouseEvent.CLICK, gameSubmit); stop(); } function frame2(){ stop(); } public function myClosefunction(){ gotoAndStop(2); } public function gameSubmit(_arg1:MouseEvent):void{ MochiScores.showLeaderboard({boardID:"9b9651265e258494", score:root.total_score, onClose:myClosefunction}); } } }//package
Section 40
//gameSpace (gameSpace) package { import flash.display.*; public dynamic class gameSpace extends MovieClip { } }//package
Section 41
//ground (ground) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class ground extends MovieClip { public function ground(){ addFrameScript(0, frame1, 24, frame25, 49, frame50, 74, frame75); } function frame75(){ stop(); } function frame1(){ stop(); } function frame25(){ stop(); } function frame50(){ stop(); } } }//package
Section 42
//ground2 (ground2) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class ground2 extends MovieClip { public function ground2(){ addFrameScript(0, frame1, 24, frame25, 49, frame50, 74, frame75); } function frame75(){ stop(); } function frame1(){ stop(); } function frame25(){ stop(); } function frame50(){ stop(); } } }//package
Section 43
//intro_music (intro_music) package { import flash.media.*; public dynamic class intro_music extends Sound { } }//package
Section 44
//MochiAd (MochiAd) package { import flash.events.*; import flash.display.*; import flash.system.*; import flash.utils.*; import flash.net.*; public class MochiAd { public static function getVersion():String{ return ("2.6"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array; var _local4:Number; _local3 = _arg2.split("."); _local4 = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 45
//MochiBot (MochiBot) package { import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 46
//myParticle (myParticle) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class myParticle extends MovieClip { public var fireworkz:MovieClip; public function myParticle(){ addFrameScript(34, frame35); } function frame35(){ stop(); stage.removeChild(stage.getChildByName(name)); } } }//package
Section 47
//node (node) package { import flash.display.*; public dynamic class node extends MovieClip { } }//package
Section 48
//poison_description (poison_description) package { import flash.display.*; import flash.text.*; public dynamic class poison_description extends MovieClip { public var poison_upgrade_txt:TextField; public var poison_damage_txt:TextField; } }//package
Section 49
//spike_description (spike_description) package { import flash.display.*; import flash.text.*; public dynamic class spike_description extends MovieClip { public var spike_upgrade_txt:TextField; public var spike_damage_txt:TextField; } }//package
Section 50
//tank (tank) package { import flash.display.*; public dynamic class tank extends MovieClip { public var cannon:MovieClip; } }//package
Section 51
//thoomp (thoomp) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.text.*; import flash.net.*; import flash.errors.*; import flash.accessibility.*; import flash.filters.*; import flash.geom.*; public dynamic class thoomp extends MovieClip { public function thoomp(){ addFrameScript(0, frame1, 16, frame17, 58, frame59, 89, frame90, 173, frame174, 199, frame200); } function frame200(){ stop(); } function frame90(){ stop(); } function frame174(){ stop(); } function frame1(){ stop(); } function frame17(){ stop(); } function frame59(){ stop(); } } }//package
Section 52
//upgrade_bar (upgrade_bar) package { import flash.display.*; public dynamic class upgrade_bar extends MovieClip { public var bar:MovieClip; } }//package

Library Items

Symbol 1 Sound {intro_music}
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip {crosshair}Uses:2
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:13
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:8
Symbol 8 MovieClipUses:7Used by:13
Symbol 9 BitmapUsed by:12
Symbol 10 BitmapUsed by:12
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:9 10 11Used by:13
Symbol 13 MovieClip {tank}Uses:5 8 12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClip {cannonballp}Uses:14
Symbol 16 BitmapUsed by:17 175
Symbol 17 GraphicUses:16Used by:18
Symbol 18 MovieClipUses:17Used by:32
Symbol 19 BitmapUsed by:20 189
Symbol 20 GraphicUses:19Used by:21
Symbol 21 MovieClip {burgerdefense_v14_norm_fla.poisoned_62}Uses:20Used by:32
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:28
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:28
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:28
Symbol 28 MovieClip {burgerdefense_v14_norm_fla.Symbol11_63}Uses:23 25 27Used by:32
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:31
Symbol 31 MovieClipUses:30Used by:32 224
Symbol 32 MovieClip {cannonball}Uses:18 21 28 31
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:45
Symbol 35 GraphicUsed by:45
Symbol 36 GraphicUsed by:37  Timeline
Symbol 37 MovieClipUses:36Used by:45
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:45
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:45
Symbol 42 GraphicUsed by:43
Symbol 43 ButtonUses:42Used by:45
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip {ground2}Uses:34 35 37 39 41 43 44
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:54
Symbol 48 GraphicUsed by:54
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:54
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip {ground}Uses:47 48 50 52 53
Symbol 55 BitmapUsed by:56 72
Symbol 56 GraphicUses:55Used by:80
Symbol 57 GraphicUsed by:58 196 225
Symbol 58 MovieClipUses:57Used by:80 99 118 137
Symbol 59 GraphicUsed by:80 99 118 137
Symbol 60 BitmapUsed by:61 77
Symbol 61 GraphicUses:60Used by:80
Symbol 62 BitmapUsed by:63 78
Symbol 63 GraphicUses:62Used by:80
Symbol 64 BitmapUsed by:65 79
Symbol 65 GraphicUses:64Used by:80
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 MovieClipUses:67Used by:80
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:71
Symbol 71 MovieClipUses:70Used by:80
Symbol 72 GraphicUses:55Used by:80
Symbol 73 BitmapUsed by:74 152
Symbol 74 GraphicUses:73Used by:75
Symbol 75 MovieClipUses:74Used by:76
Symbol 76 MovieClipUses:75Used by:80 99 118 137
Symbol 77 GraphicUses:60Used by:80
Symbol 78 GraphicUses:62Used by:80
Symbol 79 GraphicUses:64Used by:80
Symbol 80 MovieClip {enemy3}Uses:56 58 59 61 63 65 68 71 72 76 77 78 79
Symbol 81 BitmapUsed by:82 95
Symbol 82 GraphicUses:81Used by:99
Symbol 83 BitmapUsed by:84 96
Symbol 84 GraphicUses:83Used by:99
Symbol 85 BitmapUsed by:86 97
Symbol 86 GraphicUses:85Used by:99
Symbol 87 BitmapUsed by:88 98
Symbol 88 GraphicUses:87Used by:99
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:91
Symbol 91 MovieClipUses:90Used by:99
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94
Symbol 94 MovieClipUses:93Used by:99
Symbol 95 GraphicUses:81Used by:99
Symbol 96 GraphicUses:83Used by:99
Symbol 97 GraphicUses:85Used by:99
Symbol 98 GraphicUses:87Used by:99
Symbol 99 MovieClip {enemy4}Uses:82 58 59 84 86 88 91 94 95 76 96 97 98
Symbol 100 BitmapUsed by:101 114
Symbol 101 GraphicUses:100Used by:118
Symbol 102 BitmapUsed by:103 115
Symbol 103 GraphicUses:102Used by:118
Symbol 104 BitmapUsed by:105 116
Symbol 105 GraphicUses:104Used by:118
Symbol 106 BitmapUsed by:107 117
Symbol 107 GraphicUses:106Used by:118
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:110
Symbol 110 MovieClipUses:109Used by:118
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:113
Symbol 113 MovieClipUses:112Used by:118
Symbol 114 GraphicUses:100Used by:118
Symbol 115 GraphicUses:102Used by:118
Symbol 116 GraphicUses:104Used by:118
Symbol 117 GraphicUses:106Used by:118
Symbol 118 MovieClip {enemy2}Uses:101 58 59 103 105 107 110 113 114 76 115 116 117
Symbol 119 BitmapUsed by:120 133
Symbol 120 GraphicUses:119Used by:137
Symbol 121 BitmapUsed by:122 134
Symbol 122 GraphicUses:121Used by:137
Symbol 123 BitmapUsed by:124 135
Symbol 124 GraphicUses:123Used by:137
Symbol 125 BitmapUsed by:126 136
Symbol 126 GraphicUses:125Used by:137
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:129
Symbol 129 MovieClipUses:128Used by:137
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:132
Symbol 132 MovieClipUses:131Used by:137
Symbol 133 GraphicUses:119Used by:137
Symbol 134 GraphicUses:121Used by:137
Symbol 135 GraphicUses:123Used by:137
Symbol 136 GraphicUses:125Used by:137
Symbol 137 MovieClip {enemy}Uses:120 58 59 122 124 126 129 132 133 76 134 135 136
Symbol 138 GraphicUsed by:143
Symbol 139 FontUsed by:140 142 238 239 242 243 246 247 250 251
Symbol 140 TextUses:139Used by:143
Symbol 141 FontUsed by:142 145 146 147 148 149 155 156 157 158 162 163 164 165 170 171 172 176 179 180 181 182 187 190 191 192 229 237 241 245 249 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
Symbol 142 EditableTextUses:139 141Used by:143
Symbol 143 MovieClip {gamedata3}Uses:138 140 142
Symbol 144 GraphicUsed by:153
Symbol 145 EditableTextUses:141Used by:153
Symbol 146 TextUses:141Used by:153
Symbol 147 EditableTextUses:141Used by:153
Symbol 148 EditableTextUses:141Used by:153
Symbol 149 EditableTextUses:141Used by:153
Symbol 150 BitmapUsed by:152
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:73 150 151Used by:153
Symbol 153 MovieClip {gamedata2}Uses:144 145 146 147 148 149 152
Symbol 154 GraphicUsed by:193
Symbol 155 EditableTextUses:141Used by:193
Symbol 156 EditableTextUses:141Used by:193
Symbol 157 TextUses:141Used by:193
Symbol 158 EditableTextUses:141Used by:193
Symbol 159 GraphicUsed by:161
Symbol 160 GraphicUsed by:161
Symbol 161 ButtonUses:159 160Used by:193
Symbol 162 TextUses:141Used by:193
Symbol 163 EditableTextUses:141Used by:193
Symbol 164 TextUses:141Used by:193
Symbol 165 EditableTextUses:141Used by:193
Symbol 166 GraphicUsed by:169
Symbol 167 GraphicUsed by:169
Symbol 168 GraphicUsed by:169
Symbol 169 ButtonUses:166 167 168Used by:193
Symbol 170 TextUses:141Used by:193
Symbol 171 EditableTextUses:141Used by:193
Symbol 172 TextUses:141Used by:193
Symbol 173 BitmapUsed by:175
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:173 174 16Used by:193
Symbol 176 EditableTextUses:141Used by:193
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:193
Symbol 179 TextUses:141Used by:193
Symbol 180 TextUses:141Used by:193
Symbol 181 TextUses:141Used by:193
Symbol 182 TextUses:141Used by:193
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClip {burgerdefense_v14_norm_fla.xmark_33}Uses:183Used by:193
Symbol 185 GraphicUsed by:186
Symbol 186 ButtonUses:185Used by:193
Symbol 187 EditableTextUses:141Used by:193
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:19 188Used by:193
Symbol 190 TextUses:141Used by:193
Symbol 191 TextUses:141Used by:193
Symbol 192 TextUses:141Used by:193
Symbol 193 MovieClip {gamedata}Uses:154 155 156 157 158 161 162 163 164 165 169 170 171 172 175 176 178 179 180 181 182 184 186 187 189 190 191 192
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClip {node}Uses:194
Symbol 196 MovieClipUses:57Used by:198
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClip {upgrade_bar}Uses:196 197
Symbol 199 SoundUsed by:204
Symbol 200 SoundUsed by:204
Symbol 201 SoundUsed by:204
Symbol 202 SoundUsed by:204
Symbol 203 SoundUsed by:204
Symbol 204 MovieClip {thoomp}Uses:199 200 201 202 203
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:221
Symbol 207 BitmapUsed by:208
Symbol 208 GraphicUses:207Used by:221
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:221
Symbol 211 BitmapUsed by:212
Symbol 212 GraphicUses:211Used by:221 222
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:221
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:221
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:217Used by:221
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClipUses:206 208 210 212 214 216 218 220Used by:224
Symbol 222 MovieClipUses:212Used by:223
Symbol 223 MovieClipUses:222Used by:224
Symbol 224 MovieClip {myParticle}Uses:221 31 223
Symbol 225 MovieClipUses:57Used by:226
Symbol 226 MovieClip {game_bar}Uses:225
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClip {bar_border}Uses:227
Symbol 229 EditableTextUses:141Used by:230
Symbol 230 MovieClip {burgerdefense_v14_norm_fla.Symbol21_17}Uses:229Used by:231
Symbol 231 MovieClip {earned_money}Uses:230
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:234
Symbol 234 MovieClipUses:233Used by:235
Symbol 235 MovieClip {combo_graphic}Uses:234
Symbol 236 GraphicUsed by:240 244 248 252
Symbol 237 TextUses:141Used by:240
Symbol 238 EditableTextUses:139Used by:240
Symbol 239 EditableTextUses:139Used by:240
Symbol 240 MovieClip {spike_description}Uses:236 237 238 239
Symbol 241 TextUses:141Used by:244
Symbol 242 EditableTextUses:139Used by:244
Symbol 243 EditableTextUses:139Used by:244
Symbol 244 MovieClip {clip_description}Uses:236 241 242 243
Symbol 245 TextUses:141Used by:248
Symbol 246 EditableTextUses:139Used by:248
Symbol 247 EditableTextUses:139Used by:248
Symbol 248 MovieClip {poison_description}Uses:236 245 246 247
Symbol 249 TextUses:141Used by:252
Symbol 250 EditableTextUses:139Used by:252
Symbol 251 EditableTextUses:139Used by:252
Symbol 252 MovieClip {explode_description}Uses:236 249 250 251
Symbol 253 GraphicUsed by:282
Symbol 254 FontUsed by:255 256 257 263 280 281 301 302 303 304 307
Symbol 255 TextUses:254Used by:258
Symbol 256 TextUses:254Used by:258
Symbol 257 TextUses:254Used by:258
Symbol 258 MovieClip {burgerdefense_v14_norm_fla.Symbol30_9}Uses:255 256 257Used by:282
Symbol 259 GraphicUsed by:262
Symbol 260 GraphicUsed by:262
Symbol 261 GraphicUsed by:262
Symbol 262 ButtonUses:259 260 261Used by:282  Timeline
Symbol 263 TextUses:254Used by:282
Symbol 264 TextUses:141Used by:282
Symbol 265 EditableTextUses:141Used by:282
Symbol 266 EditableTextUses:141Used by:282
Symbol 267 TextUses:141Used by:282
Symbol 268 TextUses:141Used by:282
Symbol 269 EditableTextUses:141Used by:282
Symbol 270 EditableTextUses:141Used by:282
Symbol 271 TextUses:141Used by:282
Symbol 272 TextUses:141Used by:282
Symbol 273 EditableTextUses:141Used by:282
Symbol 274 EditableTextUses:141Used by:282
Symbol 275 TextUses:141Used by:282
Symbol 276 TextUses:141Used by:282
Symbol 277 EditableTextUses:141Used by:282
Symbol 278 TextUses:141Used by:282
Symbol 279 EditableTextUses:141Used by:282
Symbol 280 TextUses:254Used by:282
Symbol 281 EditableTextUses:254 288Used by:282
Symbol 282 MovieClip {gamedata4}Uses:253 258 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
Symbol 283 MovieClip {gameSpace}
Symbol 284 GraphicUsed by:293
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:285Used by:293
Symbol 287 GraphicUsed by:293
Symbol 288 FontUsed by:281 289 290
Symbol 289 TextUses:288Used by:292
Symbol 290 TextUses:288Used by:291
Symbol 291 MovieClipUses:290Used by:292
Symbol 292 MovieClip {burgerdefense_v14_norm_fla.Symbol32_5}Uses:289 291Used by:293
Symbol 293 MovieClip {aim_bar}Uses:284 286 287 292
Symbol 294 MovieClip {com.kongregate.as3.client.KongregateAPI}
Symbol 295 GraphicUsed by:Timeline
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:298
Symbol 298 MovieClipUses:297Used by:Timeline
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:299Used by:Timeline
Symbol 301 TextUses:254Used by:Timeline
Symbol 302 TextUses:254Used by:Timeline
Symbol 303 TextUses:254Used by:Timeline
Symbol 304 TextUses:254Used by:Timeline
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:Timeline
Symbol 307 TextUses:254Used by:Timeline

Instance Names

"go_button"Frame 122Symbol 262 Button
"help_button"Frame 122Symbol 262 Button
"back_button"Frame 123Symbol 262 Button
"cannon"Symbol 13 MovieClip {tank} Frame 1Symbol 8 MovieClip
"poisoned1"Symbol 32 MovieClip {cannonball} Frame 1Symbol 21 MovieClip {burgerdefense_v14_norm_fla.poisoned_62}
"spikes"Symbol 32 MovieClip {cannonball} Frame 1Symbol 28 MovieClip {burgerdefense_v14_norm_fla.Symbol11_63}
"bar"Symbol 80 MovieClip {enemy3} Frame 1Symbol 58 MovieClip
"bar"Symbol 99 MovieClip {enemy4} Frame 1Symbol 58 MovieClip
"bar"Symbol 118 MovieClip {enemy2} Frame 1Symbol 58 MovieClip
"bar"Symbol 137 MovieClip {enemy} Frame 1Symbol 58 MovieClip
"timer_txt"Symbol 153 MovieClip {gamedata2} Frame 1Symbol 145 EditableText
"level_txt"Symbol 153 MovieClip {gamedata2} Frame 1Symbol 147 EditableText
"money_txt"Symbol 153 MovieClip {gamedata2} Frame 1Symbol 148 EditableText
"burger_txt"Symbol 153 MovieClip {gamedata2} Frame 1Symbol 149 EditableText
"clip_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 155 EditableText
"poison_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 156 EditableText
"ammo_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 158 EditableText
"clip_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 161 Button
"poison_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 161 Button
"combo_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 163 EditableText
"acc_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 165 EditableText
"pause_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 169 Button
"total_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 171 EditableText
"restart_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 169 Button
"spike_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 176 EditableText
"spike_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 161 Button
"option_effects"Symbol 193 MovieClip {gamedata} Frame 1Symbol 184 MovieClip {burgerdefense_v14_norm_fla.xmark_33}
"effects_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 186 Button
"option_quality"Symbol 193 MovieClip {gamedata} Frame 1Symbol 184 MovieClip {burgerdefense_v14_norm_fla.xmark_33}
"quality_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 186 Button
"option_sound"Symbol 193 MovieClip {gamedata} Frame 1Symbol 184 MovieClip {burgerdefense_v14_norm_fla.xmark_33}
"sound_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 186 Button
"explode_txt"Symbol 193 MovieClip {gamedata} Frame 1Symbol 187 EditableText
"explode_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 161 Button
"option_aim"Symbol 193 MovieClip {gamedata} Frame 1Symbol 184 MovieClip {burgerdefense_v14_norm_fla.xmark_33}
"aim_button"Symbol 193 MovieClip {gamedata} Frame 1Symbol 186 Button
"bar"Symbol 198 MovieClip {upgrade_bar} Frame 1Symbol 196 MovieClip
"fireworkz"Symbol 224 MovieClip {myParticle} Frame 1Symbol 221 MovieClip
"bar"Symbol 226 MovieClip {game_bar} Frame 1Symbol 225 MovieClip
"money_earned_txt"Symbol 230 MovieClip {burgerdefense_v14_norm_fla.Symbol21_17} Frame 1Symbol 229 EditableText
"money_money"Symbol 231 MovieClip {earned_money} Frame 1Symbol 230 MovieClip {burgerdefense_v14_norm_fla.Symbol21_17}
"spike_damage_txt"Symbol 240 MovieClip {spike_description} Frame 1Symbol 238 EditableText
"spike_upgrade_txt"Symbol 240 MovieClip {spike_description} Frame 1Symbol 239 EditableText
"clip_damage_txt"Symbol 244 MovieClip {clip_description} Frame 1Symbol 242 EditableText
"clip_upgrade_txt"Symbol 244 MovieClip {clip_description} Frame 1Symbol 243 EditableText
"poison_damage_txt"Symbol 248 MovieClip {poison_description} Frame 1Symbol 246 EditableText
"poison_upgrade_txt"Symbol 248 MovieClip {poison_description} Frame 1Symbol 247 EditableText
"explode_damage_txt"Symbol 252 MovieClip {explode_description} Frame 1Symbol 250 EditableText
"explode_upgrade_txt"Symbol 252 MovieClip {explode_description} Frame 1Symbol 251 EditableText
"end_graphic"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 258 MovieClip {burgerdefense_v14_norm_fla.Symbol30_9}
"submit_button"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 262 Button
"total_killed_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 265 EditableText
"enemy_kill_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 266 EditableText
"acc_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 269 EditableText
"total_acc_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 270 EditableText
"combo_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 273 EditableText
"total_combo_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 274 EditableText
"total_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 277 EditableText
"money_txt"Symbol 282 MovieClip {gamedata4} Frame 1Symbol 279 EditableText
"aim_bar_main"Symbol 293 MovieClip {aim_bar} Frame 1Symbol 286 MovieClip
"aim_name"Symbol 293 MovieClip {aim_bar} Frame 1Symbol 292 MovieClip {burgerdefense_v14_norm_fla.Symbol32_5}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Protect (24)Timeline Frame 131 bytes "..$1$JZ$2fEuXuoWpOsrT4.ZzU0mT/."

Labels

"explode"Symbol 32 MovieClip {cannonball} Frame 14
"dead"Symbol 80 MovieClip {enemy3} Frame 43
"dead"Symbol 99 MovieClip {enemy4} Frame 43
"dead"Symbol 118 MovieClip {enemy2} Frame 43
"dead"Symbol 137 MovieClip {enemy} Frame 43
"cannon"Symbol 204 MovieClip {thoomp} Frame 2
"explode"Symbol 204 MovieClip {thoomp} Frame 18
"explode2"Symbol 204 MovieClip {thoomp} Frame 60
"combo"Symbol 204 MovieClip {thoomp} Frame 91
"crack"Symbol 204 MovieClip {thoomp} Frame 175




http://swfchan.com/15/71042/info.shtml
Created: 9/4 -2019 13:24:37 Last modified: 9/4 -2019 13:24:37 Server time: 22/12 -2024 23:57:52