Section 1
//areyousure_191 (bloonstd3_fla.areyousure_191)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class areyousure_191 extends MovieClip {
public var confirmquit:SimpleButton;
public var cancelquit:SimpleButton;
public function areyousure_191(){
addFrameScript(0, frame1);
}
function frame1(){
confirmquit.addEventListener(MouseEvent.CLICK, quitgame);
cancelquit.addEventListener(MouseEvent.CLICK, cancel);
}
public function cancel(_arg1:Event){
parent.gotoAndStop(1);
}
public function quitgame(_arg1:Event){
parent.gotoAndStop(1);
parent.parent.yesimsure();
}
}
}//package bloonstd3_fla
Section 2
//areyousureyesno_190 (bloonstd3_fla.areyousureyesno_190)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class areyousureyesno_190 extends MovieClip {
public var donthitme:SimpleButton;
public function areyousureyesno_190(){
addFrameScript(0, frame1, 4, frame5, 16, frame17);
}
function frame1(){
stop();
}
function frame17(){
stop();
}
function frame5(){
donthitme.addEventListener(MouseEvent.MOUSE_DOWN, donothing);
}
public function donothing(_arg1:MouseEvent){
trace("stop all input");
}
}
}//package bloonstd3_fla
Section 3
//arm1_65 (bloonstd3_fla.arm1_65)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class arm1_65 extends MovieClip {
public function arm1_65(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 4
//arm1_b_86 (bloonstd3_fla.arm1_b_86)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class arm1_b_86 extends MovieClip {
public function arm1_b_86(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 5
//arm1_b2_2_313 (bloonstd3_fla.arm1_b2_2_313)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class arm1_b2_2_313 extends MovieClip {
public function arm1_b2_2_313(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package bloonstd3_fla
Section 6
//arm1_b2_74 (bloonstd3_fla.arm1_b2_74)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class arm1_b2_74 extends MovieClip {
public function arm1_b2_74(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 7
//attackradius_61 (bloonstd3_fla.attackradius_61)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class attackradius_61 extends MovieClip {
public var cantplace:MovieClip;
public function attackradius_61(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
cantplace.visible = false;
}
function frame2(){
stop();
cantplace.visible = true;
}
}
}//package bloonstd3_fla
Section 8
//ballooonslione1_241 (bloonstd3_fla.ballooonslione1_241)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class ballooonslione1_241 extends MovieClip {
public function ballooonslione1_241(){
addFrameScript(97, frame98);
}
function frame98(){
stop();
}
}
}//package bloonstd3_fla
Section 9
//balooons1_244 (bloonstd3_fla.balooons1_244)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class balooons1_244 extends MovieClip {
public function balooons1_244(){
addFrameScript(16, frame17);
}
function frame17(){
stop();
}
}
}//package bloonstd3_fla
Section 10
//bladeanimate_298 (bloonstd3_fla.bladeanimate_298)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bladeanimate_298 extends MovieClip {
public var inner:MovieClip;
public function bladeanimate_298(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package bloonstd3_fla
Section 11
//bladefraganimate_300 (bloonstd3_fla.bladefraganimate_300)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bladefraganimate_300 extends MovieClip {
public var inner:MovieClip;
public function bladefraganimate_300(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package bloonstd3_fla
Section 12
//bladeinner_130 (bloonstd3_fla.bladeinner_130)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bladeinner_130 extends MovieClip {
public var hitbit:MovieClip;
}
}//package bloonstd3_fla
Section 13
//bladeinnerfrag_301 (bloonstd3_fla.bladeinnerfrag_301)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bladeinnerfrag_301 extends MovieClip {
public var hitbit:MovieClip;
}
}//package bloonstd3_fla
Section 14
//bloon_inner_black_343 (bloonstd3_fla.bloon_inner_black_343)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_black_343 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 15
//bloon_inner_black_469 (bloonstd3_fla.bloon_inner_black_469)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_black_469 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 16
//bloon_inner_black_502 (bloonstd3_fla.bloon_inner_black_502)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_black_502 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 17
//bloon_inner_blue_352 (bloonstd3_fla.bloon_inner_blue_352)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_blue_352 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 18
//bloon_inner_blue_479 (bloonstd3_fla.bloon_inner_blue_479)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_blue_479 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 19
//bloon_inner_blue_512 (bloonstd3_fla.bloon_inner_blue_512)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_blue_512 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 20
//bloon_inner_green_349 (bloonstd3_fla.bloon_inner_green_349)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_green_349 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 21
//bloon_inner_green_476 (bloonstd3_fla.bloon_inner_green_476)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_green_476 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 22
//bloon_inner_green_509 (bloonstd3_fla.bloon_inner_green_509)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_green_509 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 23
//bloon_inner_lead_331 (bloonstd3_fla.bloon_inner_lead_331)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_lead_331 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 24
//bloon_inner_lead_463 (bloonstd3_fla.bloon_inner_lead_463)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_lead_463 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 25
//bloon_inner_lead_496 (bloonstd3_fla.bloon_inner_lead_496)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_lead_496 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 26
//bloon_inner_rainbow_328 (bloonstd3_fla.bloon_inner_rainbow_328)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_rainbow_328 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 27
//bloon_inner_rainbow_458 (bloonstd3_fla.bloon_inner_rainbow_458)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_rainbow_458 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 28
//bloon_inner_rainbow_487 (bloonstd3_fla.bloon_inner_rainbow_487)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_rainbow_487 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 29
//bloon_inner_red_168 (bloonstd3_fla.bloon_inner_red_168)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_red_168 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 30
//bloon_inner_red_453 (bloonstd3_fla.bloon_inner_red_453)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_red_453 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 31
//bloon_inner_red_482 (bloonstd3_fla.bloon_inner_red_482)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_red_482 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 32
//bloon_inner_white_340 (bloonstd3_fla.bloon_inner_white_340)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_white_340 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 33
//bloon_inner_white_466 (bloonstd3_fla.bloon_inner_white_466)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_white_466 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 34
//bloon_inner_white_499 (bloonstd3_fla.bloon_inner_white_499)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_white_499 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 35
//bloon_inner_yellow_346 (bloonstd3_fla.bloon_inner_yellow_346)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_yellow_346 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 36
//bloon_inner_yellow_472 (bloonstd3_fla.bloon_inner_yellow_472)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_yellow_472 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 37
//bloon_inner_yellow_505 (bloonstd3_fla.bloon_inner_yellow_505)
package bloonstd3_fla {
import flash.display.*;
public dynamic class bloon_inner_yellow_505 extends MovieClip {
public var freeze:MovieClip;
}
}//package bloonstd3_fla
Section 38
//bloon_reg1_324 (bloonstd3_fla.bloon_reg1_324)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg1_324 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg1_324(){
addFrameScript(77, frame78, 78, frame79, 82, frame83);
}
function frame78(){
gotoAndPlay(1);
}
function frame79(){
}
function frame83(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 39
//bloon_reg1_452 (bloonstd3_fla.bloon_reg1_452)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg1_452 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg1_452(){
addFrameScript(77, frame78, 78, frame79, 82, frame83);
}
function frame78(){
gotoAndPlay(1);
}
function frame79(){
popped = true;
}
function frame83(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 40
//bloon_reg1_481 (bloonstd3_fla.bloon_reg1_481)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg1_481 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg1_481(){
addFrameScript(77, frame78, 78, frame79, 82, frame83);
}
function frame78(){
gotoAndPlay(1);
}
function frame79(){
popped = true;
}
function frame83(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 41
//bloon_reg2_351 (bloonstd3_fla.bloon_reg2_351)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg2_351 extends MovieClip {
public var left:MovieClip;
public var right:MovieClip;
public var bottom:MovieClip;
public var inner:MovieClip;
public var top:MovieClip;
public function bloon_reg2_351(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 42
//bloon_reg2_478 (bloonstd3_fla.bloon_reg2_478)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg2_478 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg2_478(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 43
//bloon_reg2_511 (bloonstd3_fla.bloon_reg2_511)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg2_511 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg2_511(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 44
//bloon_reg3_348 (bloonstd3_fla.bloon_reg3_348)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg3_348 extends MovieClip {
public var left:MovieClip;
public var right:MovieClip;
public var bottom:MovieClip;
public var inner:MovieClip;
public var top:MovieClip;
public function bloon_reg3_348(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 45
//bloon_reg3_474 (bloonstd3_fla.bloon_reg3_474)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg3_474 extends MovieClip {
public var left:MovieClip;
public var right:MovieClip;
public var bottom:MovieClip;
public var inner:MovieClip;
public var top:MovieClip;
public function bloon_reg3_474(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 46
//bloon_reg3_507 (bloonstd3_fla.bloon_reg3_507)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg3_507 extends MovieClip {
public var left:MovieClip;
public var right:MovieClip;
public var bottom:MovieClip;
public var inner:MovieClip;
public var top:MovieClip;
public function bloon_reg3_507(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 47
//bloon_reg4_345 (bloonstd3_fla.bloon_reg4_345)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg4_345 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg4_345(){
addFrameScript(96, frame97, 101, frame102);
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 48
//bloon_reg4_471 (bloonstd3_fla.bloon_reg4_471)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg4_471 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg4_471(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 49
//bloon_reg4_504 (bloonstd3_fla.bloon_reg4_504)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg4_504 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg4_504(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 50
//bloon_reg5_342 (bloonstd3_fla.bloon_reg5_342)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg5_342 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg5_342(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
play();
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 51
//bloon_reg5_468 (bloonstd3_fla.bloon_reg5_468)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg5_468 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg5_468(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 52
//bloon_reg5_501 (bloonstd3_fla.bloon_reg5_501)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg5_501 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg5_501(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 53
//bloon_reg6_339 (bloonstd3_fla.bloon_reg6_339)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg6_339 extends MovieClip {
public var left:MovieClip;
public var right:MovieClip;
public var bottom:MovieClip;
public var inner:MovieClip;
public var top:MovieClip;
public function bloon_reg6_339(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 54
//bloon_reg6_465 (bloonstd3_fla.bloon_reg6_465)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg6_465 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg6_465(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 55
//bloon_reg6_498 (bloonstd3_fla.bloon_reg6_498)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg6_498 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg6_498(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 56
//bloon_reg7_330 (bloonstd3_fla.bloon_reg7_330)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg7_330 extends MovieClip {
public var left:MovieClip;
public var right:MovieClip;
public var bottom:MovieClip;
public var inner:MovieClip;
public var top:MovieClip;
public function bloon_reg7_330(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 57
//bloon_reg7_462 (bloonstd3_fla.bloon_reg7_462)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg7_462 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg7_462(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 58
//bloon_reg7_495 (bloonstd3_fla.bloon_reg7_495)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg7_495 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg7_495(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 59
//bloon_reg8_326 (bloonstd3_fla.bloon_reg8_326)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg8_326 extends MovieClip {
public var left:MovieClip;
public var right:MovieClip;
public var bottom:MovieClip;
public var inner:MovieClip;
public var top:MovieClip;
public function bloon_reg8_326(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 60
//bloon_reg8_457 (bloonstd3_fla.bloon_reg8_457)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg8_457 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg8_457(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 61
//bloon_reg8_486 (bloonstd3_fla.bloon_reg8_486)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bloon_reg8_486 extends MovieClip {
public var inner:MovieClip;
public function bloon_reg8_486(){
addFrameScript(96, frame97, 97, frame98, 101, frame102);
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
stop();
visible = false;
parent.RemoveMe(true);
}
}
}//package bloonstd3_fla
Section 62
//BombTower_78 (bloonstd3_fla.BombTower_78)
package bloonstd3_fla {
import flash.display.*;
public dynamic class BombTower_78 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 63
//Boomerangmonkey_73 (bloonstd3_fla.Boomerangmonkey_73)
package bloonstd3_fla {
import flash.display.*;
public dynamic class Boomerangmonkey_73 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 64
//Boomerangmonkey2_312 (bloonstd3_fla.Boomerangmonkey2_312)
package bloonstd3_fla {
import flash.display.*;
public dynamic class Boomerangmonkey2_312 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 65
//bullet_missileinner_287 (bloonstd3_fla.bullet_missileinner_287)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class bullet_missileinner_287 extends MovieClip {
public function bullet_missileinner_287(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package bloonstd3_fla
Section 66
//CatapultTower_90 (bloonstd3_fla.CatapultTower_90)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class CatapultTower_90 extends MovieClip {
public function CatapultTower_90(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 67
//CatapultTowerupgrader_515 (bloonstd3_fla.CatapultTowerupgrader_515)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class CatapultTowerupgrader_515 extends MovieClip {
public var inner:MovieClip;
public function CatapultTowerupgrader_515(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 68
//chooseDiffbox_207 (bloonstd3_fla.chooseDiffbox_207)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class chooseDiffbox_207 extends MovieClip {
public var suffixbit:String;
public var donthitme:SimpleButton;
public var cancelbtn:SimpleButton;
public var hardDiffBtn:SimpleButton;
public var easyDiffBtn:SimpleButton;
public var medDiffBtn:SimpleButton;
public function chooseDiffbox_207(){
addFrameScript(0, frame1);
}
public function cancelchoose(_arg1:MouseEvent){
visible = false;
parent.mainmenu.visible = true;
}
public function clickMed(_arg1:Event){
suffixbit = "On medium, stuff is fairly priced and you have 75 lives.";
parent.SetDiff("medium");
startGame();
}
function frame1(){
donthitme.addEventListener(MouseEvent.MOUSE_DOWN, donothing);
cancelbtn.addEventListener(MouseEvent.MOUSE_DOWN, cancelchoose);
easyDiffBtn.addEventListener(MouseEvent.CLICK, clickEasy);
medDiffBtn.addEventListener(MouseEvent.CLICK, clickMed);
hardDiffBtn.addEventListener(MouseEvent.CLICK, clickHard);
suffixbit = "";
}
public function startGame(){
visible = false;
parent.startrnd_btn.visible = true;
parent.Output(("Weclome to Bloons Tower Defense 3! Click on stuff on the right to buy it. " + suffixbit));
parent.Init();
}
public function clickHard(_arg1:Event){
suffixbit = "On hard, stuff is expensive and you only have 50 lives.";
parent.SetDiff("hard");
startGame();
}
public function clickEasy(_arg1:Event){
suffixbit = "On easy, stuff is quite cheap to buy and you have 100 lives.";
parent.SetDiff("easy");
startGame();
}
public function donothing(_arg1:MouseEvent){
trace("stop all input");
}
}
}//package bloonstd3_fla
Section 69
//clinksound_264 (bloonstd3_fla.clinksound_264)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class clinksound_264 extends MovieClip {
public function clinksound_264(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package bloonstd3_fla
Section 70
//disntegratingbloon_333 (bloonstd3_fla.disntegratingbloon_333)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class disntegratingbloon_333 extends MovieClip {
public var hits:int;
public function disntegratingbloon_333(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
hits = 0;
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
visible = false;
parent.RemoveMe(true);
}
function frame2(){
stop();
hits++;
gotoAndStop((hits + 2));
}
}
}//package bloonstd3_fla
Section 71
//disntegratingbloon_460 (bloonstd3_fla.disntegratingbloon_460)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class disntegratingbloon_460 extends MovieClip {
public function disntegratingbloon_460(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package bloonstd3_fla
Section 72
//disntegratingbloon_489 (bloonstd3_fla.disntegratingbloon_489)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class disntegratingbloon_489 extends MovieClip {
public var hits:int;
public function disntegratingbloon_489(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
hits = 0;
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
visible = false;
parent.RemoveMe(true);
}
function frame2(){
stop();
hits++;
gotoAndStop((hits + 2));
}
}
}//package bloonstd3_fla
Section 73
//FPS_1 (bloonstd3_fla.FPS_1)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class FPS_1 extends MovieClip {
public var prevSecondTime:Number;
public var secondTime:Number;
public var tf:TextField;
public var frames:Number;
public var time:Number;
public var frameTime:Number;
public var fps:String;
public var prevFrameTime:Number;
public var iBar:MovieClip;
public function FPS_1(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
prevFrameTime = getTimer();
prevSecondTime = getTimer();
frames = 0;
fps = "...";
}
function frame2(){
stop();
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
public function onEnterFrame(_arg1:Event):void{
time = getTimer();
frameTime = (time - prevFrameTime);
secondTime = (time - prevSecondTime);
if (secondTime >= 1000){
fps = frames.toString();
frames = 0;
prevSecondTime = time;
} else {
frames++;
};
prevFrameTime = time;
tf.text = (((fps + " FPS / ") + frameTime) + " MS");
iBar.scaleX = (iBar.scaleX - ((iBar.scaleX - (frameTime / 10)) / 5));
}
}
}//package bloonstd3_fla
Section 74
//freeze_169 (bloonstd3_fla.freeze_169)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class freeze_169 extends MovieClip {
public function freeze_169(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 29, frame30);
}
function frame3(){
play();
}
function frame1(){
stop();
}
function frame4(){
play();
}
function frame2(){
play();
}
function frame30(){
stop();
}
}
}//package bloonstd3_fla
Section 75
//freeze_454 (bloonstd3_fla.freeze_454)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class freeze_454 extends MovieClip {
public function freeze_454(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package bloonstd3_fla
Section 76
//freeze_483 (bloonstd3_fla.freeze_483)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class freeze_483 extends MovieClip {
public function freeze_483(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package bloonstd3_fla
Section 77
//glowme_103 (bloonstd3_fla.glowme_103)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class glowme_103 extends MovieClip {
public function glowme_103(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package bloonstd3_fla
Section 78
//gunbarrell_79 (bloonstd3_fla.gunbarrell_79)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class gunbarrell_79 extends MovieClip {
public function gunbarrell_79(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 79
//infobox_187 (bloonstd3_fla.infobox_187)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class infobox_187 extends MovieClip {
public var inner:MovieClip;
public function infobox_187(){
addFrameScript(0, frame1, 1, frame2, 14, frame15);
}
function frame15(){
}
function frame1(){
visible = false;
stop();
}
function frame2(){
visible = true;
}
}
}//package bloonstd3_fla
Section 80
//intro_4 (bloonstd3_fla.intro_4)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class intro_4 extends MovieClip {
public var done;
public function intro_4(){
addFrameScript(0, frame1, 198, frame199);
}
function frame1(){
done = false;
}
function frame199(){
stop();
this.done = true;
}
}
}//package bloonstd3_fla
Section 81
//losepanel_183 (bloonstd3_fla.losepanel_183)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class losepanel_183 extends MovieClip {
public function losepanel_183(){
addFrameScript(0, frame1, 1, frame2, 68, frame69);
}
function frame1(){
stop();
visible = false;
}
function frame2(){
visible = true;
}
function frame69(){
parent.mainmenu.visible = true;
visible = false;
}
}
}//package bloonstd3_fla
Section 82
//mainmenu_212 (bloonstd3_fla.mainmenu_212)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mainmenu_212 extends MovieClip {
public var track2select:SimpleButton;
public var medal1:MovieClip;
public var medal2:MovieClip;
public var medal3:MovieClip;
public var medal5:MovieClip;
public var medal4:MovieClip;
public var medal6:MovieClip;
public var medal8:MovieClip;
public var track3select:SimpleButton;
public var medal7:MovieClip;
public var i:int;
public var lock5:MovieClip;
public var lock6:MovieClip;
public var lock8:MovieClip;
public var lock7:MovieClip;
public var track4select:SimpleButton;
public var linktobloonsworldbtn:MovieClip;
public var track1select:SimpleButton;
public var track5select:MovieClip;
public var howtounlock:MovieClip;
public function mainmenu_212(){
addFrameScript(0, frame1);
}
public function playonnk(){
var _local1:String;
var _local2:URLRequest;
_local1 = "http://www.ninjakiwi.com/Games/Tower-Defense/Bloons-Tower-Defense-3.html";
_local2 = new URLRequest(_local1);
navigateToURL(_local2, "_blank");
}
function frame1(){
if (parent.chooseDiffBox){
parent.chooseDiffBox.visible = false;
};
if (track1select){
track1select.addEventListener(MouseEvent.CLICK, clickHandler);
track2select.addEventListener(MouseEvent.CLICK, clickHandler);
track3select.addEventListener(MouseEvent.CLICK, clickHandler);
track4select.addEventListener(MouseEvent.CLICK, clickHandler);
track5select.buttonMode = true;
track5select.addEventListener(MouseEvent.CLICK, clickHandler);
};
if (linktobloonsworldbtn){
linktobloonsworldbtn.buttonMode = true;
linktobloonsworldbtn.addEventListener(MouseEvent.CLICK, gotobloonsworld);
};
i = 1;
while (i < 9) {
if (this[("medal" + i)].strap){
this[("medal" + i)].strap.gotoAndStop(i);
};
i++;
};
}
public function clickHandler(_arg1:MouseEvent){
switch (_arg1.target.name){
case "track1select":
trace("start track 1");
parent.setTrack(1);
break;
case "track2select":
parent.setTrack(2);
break;
case "track3select":
parent.setTrack(3);
break;
case "track4select":
parent.setTrack(4);
break;
case "track5select":
playonnk();
return;
};
visible = false;
parent.chooseDiffBox.visible = true;
}
public function gotobloonsworld(_arg1:MouseEvent){
var _local2:String;
var _local3:URLRequest;
_local2 = "http://www.bloonsworld.com";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
}
}//package bloonstd3_fla
Section 83
//medalz_201 (bloonstd3_fla.medalz_201)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class medalz_201 extends MovieClip {
public var strap:MovieClip;
public function medalz_201(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 84
//metalclinksound_265 (bloonstd3_fla.metalclinksound_265)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class metalclinksound_265 extends MovieClip {
public function metalclinksound_265(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package bloonstd3_fla
Section 85
//monkeystorm_177 (bloonstd3_fla.monkeystorm_177)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class monkeystorm_177 extends MovieClip {
public var inner:MovieClip;
public function monkeystorm_177(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 39, frame40);
}
function frame10(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame14(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame18(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame3(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame6(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame7(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame1(){
stop();
}
function frame19(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame12(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame13(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame17(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame4(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame5(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame9(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame22(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame16(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame8(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame21(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame2(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame15(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame23(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame24(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame28(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame20(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame30(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame25(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame27(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame11(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame40(){
parent.stormReady = true;
}
function frame29(){
parent.stormReady = false;
parent.doStormHittest();
}
function frame26(){
parent.stormReady = false;
parent.doStormHittest();
}
}
}//package bloonstd3_fla
Section 86
//monkeystormbtn_118 (bloonstd3_fla.monkeystormbtn_118)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class monkeystormbtn_118 extends MovieClip {
public function monkeystormbtn_118(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 87
//monkeytower_64 (bloonstd3_fla.monkeytower_64)
package bloonstd3_fla {
import flash.display.*;
public dynamic class monkeytower_64 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 88
//morth_123 (bloonstd3_fla.morth_123)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class morth_123 extends MovieClip {
public function morth_123(){
addFrameScript(8, frame9);
}
function frame9(){
stop();
}
}
}//package bloonstd3_fla
Section 89
//outputboxbg_188 (bloonstd3_fla.outputboxbg_188)
package bloonstd3_fla {
import flash.display.*;
import flash.text.*;
public dynamic class outputboxbg_188 extends MovieClip {
public var output_txt:TextField;
}
}//package bloonstd3_fla
Section 90
//pathhitmc_15 (bloonstd3_fla.pathhitmc_15)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class pathhitmc_15 extends MovieClip {
public var pathhit27:Pathhit;
public var pathhit28:Pathhit;
public var pathhit29:Pathhit;
public var pathhit30:Pathhit;
public var pathhit31:Pathhit;
public var pathhit17:Pathhit;
public var pathhit6:Pathhit;
public var pathhit3:Pathhit;
public var pathhit8:Pathhit;
public var pathhit1:Pathhit;
public var pathhit10:Pathhit;
public var pathhit14:Pathhit;
public var pathhit15:Pathhit;
public function pathhitmc_15(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
}
}//package bloonstd3_fla
Section 91
//playarea_17 (bloonstd3_fla.playarea_17)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class playarea_17 extends MovieClip {
public function playarea_17(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 92
//rockettower_321 (bloonstd3_fla.rockettower_321)
package bloonstd3_fla {
import flash.display.*;
public dynamic class rockettower_321 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 93
//sellforbtn_122 (bloonstd3_fla.sellforbtn_122)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class sellforbtn_122 extends MovieClip {
public var sellfor_txt:TextField;
public function sellforbtn_122(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 94
//seq1_242 (bloonstd3_fla.seq1_242)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class seq1_242 extends MovieClip {
public function seq1_242(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package bloonstd3_fla
Section 95
//smalltack_296 (bloonstd3_fla.smalltack_296)
package bloonstd3_fla {
import flash.display.*;
public dynamic class smalltack_296 extends MovieClip {
public var hitbit:MovieClip;
}
}//package bloonstd3_fla
Section 96
//sndeffects_263 (bloonstd3_fla.sndeffects_263)
package bloonstd3_fla {
import flash.display.*;
public dynamic class sndeffects_263 extends MovieClip {
public var splat:MovieClip;
public var metalclink:MovieClip;
public var clink:MovieClip;
}
}//package bloonstd3_fla
Section 97
//Soundtoggle_221 (bloonstd3_fla.Soundtoggle_221)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Soundtoggle_221 extends MovieClip {
public var newTransform:SoundTransform;
public function Soundtoggle_221(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
newTransform = new SoundTransform(1, 0);
newTransform.volume = 0.5;
SoundMixer.soundTransform = newTransform;
}
function frame2(){
stop();
newTransform = new SoundTransform(1, 0);
SoundMixer.stopAll();
newTransform.volume = 0;
SoundMixer.soundTransform = newTransform;
}
}
}//package bloonstd3_fla
Section 98
//spikeopultinner_89 (bloonstd3_fla.spikeopultinner_89)
package bloonstd3_fla {
import flash.display.*;
public dynamic class spikeopultinner_89 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 99
//spikeopulttripleinner_514 (bloonstd3_fla.spikeopulttripleinner_514)
package bloonstd3_fla {
import flash.display.*;
public dynamic class spikeopulttripleinner_514 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 100
//spikeyball_116 (bloonstd3_fla.spikeyball_116)
package bloonstd3_fla {
import flash.display.*;
public dynamic class spikeyball_116 extends MovieClip {
public var hitbit:MovieClip;
}
}//package bloonstd3_fla
Section 101
//spikeyballanim_292 (bloonstd3_fla.spikeyballanim_292)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class spikeyballanim_292 extends MovieClip {
public var inner:MovieClip;
public function spikeyballanim_292(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package bloonstd3_fla
Section 102
//spinnyintro_222 (bloonstd3_fla.spinnyintro_222)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class spinnyintro_222 extends MovieClip {
public var tower:MovieClip;
public var arm:MovieClip;
public function spinnyintro_222(){
addFrameScript(0, frame1, 344, frame345);
}
function frame1(){
if (Capabilities.playerType == "External"){
gotoAndStop(345);
};
}
function frame345(){
stop();
visible = false;
}
}
}//package bloonstd3_fla
Section 103
//splatsound_266 (bloonstd3_fla.splatsound_266)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class splatsound_266 extends MovieClip {
public function splatsound_266(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package bloonstd3_fla
Section 104
//splosion_285 (bloonstd3_fla.splosion_285)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class splosion_285 extends MovieClip {
public function splosion_285(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package bloonstd3_fla
Section 105
//st_203 (bloonstd3_fla.st_203)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class st_203 extends MovieClip {
public function st_203(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 106
//Supermonkey_a_85 (bloonstd3_fla.Supermonkey_a_85)
package bloonstd3_fla {
import flash.display.*;
public dynamic class Supermonkey_a_85 extends MovieClip {
public var arm:MovieClip;
}
}//package bloonstd3_fla
Section 107
//tackanimate_295 (bloonstd3_fla.tackanimate_295)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class tackanimate_295 extends MovieClip {
public var inner:MovieClip;
public function tackanimate_295(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package bloonstd3_fla
Section 108
//targpriority_176 (bloonstd3_fla.targpriority_176)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class targpriority_176 extends MovieClip {
public function targpriority_176(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (parent.parent.currentTower){
parent.parent.currentTower.AImode = "first";
};
}
function frame2(){
stop();
parent.parent.currentTower.AImode = "last";
}
}
}//package bloonstd3_fla
Section 109
//test_220 (bloonstd3_fla.test_220)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class test_220 extends MovieClip {
public var strap:MovieClip;
public function test_220(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 110
//tower1_63 (bloonstd3_fla.tower1_63)
package bloonstd3_fla {
import flash.display.*;
public dynamic class tower1_63 extends MovieClip {
public var inner:MovieClip;
}
}//package bloonstd3_fla
Section 111
//tower2_76 (bloonstd3_fla.tower2_76)
package bloonstd3_fla {
import flash.display.*;
public dynamic class tower2_76 extends MovieClip {
public var inner:MovieClip;
}
}//package bloonstd3_fla
Section 112
//towerinfo_189 (bloonstd3_fla.towerinfo_189)
package bloonstd3_fla {
import flash.display.*;
import flash.text.*;
public dynamic class towerinfo_189 extends MovieClip {
public var towercost_txt:TextField;
public var towerinfo_txt:TextField;
public var towername_txt:TextField;
}
}//package bloonstd3_fla
Section 113
//toweroptions_121 (bloonstd3_fla.toweroptions_121)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class toweroptions_121 extends MovieClip {
public var sellTowerBtn:MovieClip;
public var targpriority:MovieClip;
public var popcount_txt:TextField;
public var upgrade1:MovieClip;
public var upgrade2:MovieClip;
public var towername_txt:TextField;
public function toweroptions_121(){
addFrameScript(0, frame1);
}
public function sellTowerOut(_arg1:MouseEvent){
sellTowerBtn.gotoAndStop(1);
}
public function togglePriority(_arg1:MouseEvent){
targpriority.play();
}
public function sellTowerOver(_arg1:MouseEvent){
sellTowerBtn.gotoAndStop(2);
}
function frame1(){
upgrade1.upgrade = "na";
upgrade2.upgrade = "na";
sellTowerBtn.addEventListener(MouseEvent.MOUSE_DOWN, sellTower);
sellTowerBtn.addEventListener(MouseEvent.ROLL_OVER, sellTowerOver);
sellTowerBtn.addEventListener(MouseEvent.ROLL_OUT, sellTowerOut);
targpriority.addEventListener(MouseEvent.MOUSE_DOWN, togglePriority);
}
public function Refresh(){
if (parent.currentTower.upgrade2){
upgrade1.hasbought.visible = true;
upgrade1.cost_txt.visible = false;
upgrade1.gotoAndStop((parent.currentTower.type + "2"));
upgrade1.upgrade = "na";
} else {
if (parent.currentTower.upgrade1){
upgrade1.hasbought.visible = false;
upgrade1.cost_txt.text = parent.GetUpgradeCost(2);
upgrade1.cost_txt.visible = true;
upgrade1.gotoAndStop((parent.currentTower.type + "2"));
upgrade1.upgrade = (parent.currentTower.type + "2");
} else {
upgrade1.hasbought.visible = false;
upgrade1.cost_txt.text = parent.GetUpgradeCost(1);
upgrade1.cost_txt.visible = true;
upgrade1.gotoAndStop((parent.currentTower.type + "1"));
upgrade1.upgrade = (parent.currentTower.type + "1");
};
};
if (parent.currentTower.upgrade4){
upgrade2.hasbought.visible = true;
upgrade2.cost_txt.visible = false;
upgrade2.gotoAndStop((parent.currentTower.type + "4"));
upgrade2.upgrade = "na";
} else {
if (parent.currentTower.upgrade3){
upgrade2.hasbought.visible = false;
upgrade2.cost_txt.text = parent.GetUpgradeCost(4);
upgrade2.cost_txt.visible = true;
upgrade2.gotoAndStop((parent.currentTower.type + "4"));
upgrade2.upgrade = (parent.currentTower.type + "4");
} else {
upgrade2.hasbought.visible = false;
upgrade2.cost_txt.text = parent.GetUpgradeCost(3);
upgrade2.cost_txt.visible = true;
upgrade2.gotoAndStop((parent.currentTower.type + "3"));
upgrade2.upgrade = (parent.currentTower.type + "3");
};
};
trace(("upgrade1 upgrade = " + upgrade1.upgrade));
trace(("upgrade2 upgrade = " + upgrade2.upgrade));
upgrade1.CheckAfford();
upgrade2.CheckAfford();
}
public function sellTower(_arg1:MouseEvent){
parent.SellCurrentTower();
}
}
}//package bloonstd3_fla
Section 114
//towerplace_60 (bloonstd3_fla.towerplace_60)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class towerplace_60 extends MovieClip {
public var tower:MovieClip;
public var inner:MovieClip;
public var hitbit:MovieClip;
public var radiusmc:MovieClip;
public function towerplace_60(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_SPIKEOPULT));
}
function frame3(){
stop();
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_BOOMERANG));
}
function frame6(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_SUPER));
}
function frame7(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = 40);
}
function frame1(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_DART));
trace("tehdart");
}
function frame4(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_BOMB));
}
function frame5(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_ICE));
}
function frame9(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = 40);
}
function frame8(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = 40);
}
function frame2(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_TACK));
}
function frame11(){
stop();
radiusmc.visible = true;
radiusmc.width = (radiusmc.height = (2 * parent.RANGE_BEACON));
}
}
}//package bloonstd3_fla
Section 115
//track1towertest_21 (bloonstd3_fla.track1towertest_21)
package bloonstd3_fla {
import flash.display.*;
public dynamic class track1towertest_21 extends MovieClip {
public var mc002:MovieClip;
public var mc001:MovieClip;
public var mc003:MovieClip;
}
}//package bloonstd3_fla
Section 116
//track2towertest_24 (bloonstd3_fla.track2towertest_24)
package bloonstd3_fla {
import flash.display.*;
public dynamic class track2towertest_24 extends MovieClip {
public var mc014:MovieClip;
public var mc015:MovieClip;
public var mc016:MovieClip;
public var mc018:MovieClip;
public var mc011:MovieClip;
public var mc013:MovieClip;
public var mc009:MovieClip;
public var mc022:MovieClip;
public var mc020:MovieClip;
public var mc021:MovieClip;
public var mc019:MovieClip;
public var mc012:MovieClip;
public var mc006:MovieClip;
public var mc007:MovieClip;
public var mc005:MovieClip;
public var mc008:MovieClip;
public var mc010:MovieClip;
}
}//package bloonstd3_fla
Section 117
//track4towertest_33 (bloonstd3_fla.track4towertest_33)
package bloonstd3_fla {
import flash.display.*;
public dynamic class track4towertest_33 extends MovieClip {
public var mc026:MovieClip;
public var mc025:MovieClip;
public var mc027:MovieClip;
public var mc029:MovieClip;
public var mc034:MovieClip;
public var mc030:MovieClip;
public var mc032:MovieClip;
}
}//package bloonstd3_fla
Section 118
//track7towertest_36 (bloonstd3_fla.track7towertest_36)
package bloonstd3_fla {
import flash.display.*;
public dynamic class track7towertest_36 extends MovieClip {
public var mc200:MovieClip;
public var mc201:MovieClip;
public var mc203:MovieClip;
public var mc204:MovieClip;
public var mc205:MovieClip;
public var mc206:MovieClip;
public var mc207:MovieClip;
public var mc208:MovieClip;
public var mc202:MovieClip;
public var mc209:MovieClip;
public var mc210:MovieClip;
public var mc211:MovieClip;
public var mc213:MovieClip;
public var mc214:MovieClip;
public var mc215:MovieClip;
public var mc217:MovieClip;
public var mc218:MovieClip;
public var mc219:MovieClip;
public var mc216:MovieClip;
public var mc220:MovieClip;
public var mc100:MovieClip;
public var mc102:MovieClip;
public var mc104:MovieClip;
public var mc106:MovieClip;
public var mc101:MovieClip;
public var mc223:MovieClip;
public var mc103:MovieClip;
public var mc225:MovieClip;
public var mc105:MovieClip;
public var mc227:MovieClip;
public var mc107:MovieClip;
public var mc222:MovieClip;
public var mc224:MovieClip;
public var mc226:MovieClip;
public var mc228:MovieClip;
public var mc221:MovieClip;
public var mc230:MovieClip;
public var mc111:MovieClip;
public var mc113:MovieClip;
public var mc115:MovieClip;
public var mc110:MovieClip;
public var mc232:MovieClip;
public var mc112:MovieClip;
public var mc114:MovieClip;
public var mc116:MovieClip;
public var mc231:MovieClip;
public var mc233:MovieClip;
public var mc234:MovieClip;
public var mc235:MovieClip;
public var mc236:MovieClip;
public var mc237:MovieClip;
public var mc117:MovieClip;
public var mc119:MovieClip;
public var mc240:MovieClip;
public var mc241:MovieClip;
public var mc242:MovieClip;
public var mc243:MovieClip;
public var mc244:MovieClip;
public var mc245:MovieClip;
public var mc005:MovieClip;
public var mc120:MovieClip;
public var mc121:MovieClip;
public var mc002:MovieClip;
public var mc248:MovieClip;
public var mc007:MovieClip;
public var mc108:MovieClip;
public var mc122:MovieClip;
public var mc123:MovieClip;
public var mc124:MovieClip;
public var mc006:MovieClip;
public var mc008:MovieClip;
public var mc229:MovieClip;
public var mc251:MovieClip;
public var mc252:MovieClip;
public var mc011:MovieClip;
public var mc256:MovieClip;
public var mc257:MovieClip;
public var mc258:MovieClip;
public var mc010:MovieClip;
public var mc132:MovieClip;
public var mc014:MovieClip;
public var mc016:MovieClip;
public var mc131:MovieClip;
public var mc013:MovieClip;
public var mc015:MovieClip;
public var mc137:MovieClip;
public var mc259:MovieClip;
public var mc130:MovieClip;
public var mc019:MovieClip;
public var mc254:MovieClip;
public var mc134:MovieClip;
public var mc135:MovieClip;
public var mc140:MovieClip;
public var mc141:MovieClip;
public var mc142:MovieClip;
public var mc143:MovieClip;
public var mc144:MovieClip;
public var mc145:MovieClip;
public var mc261:MovieClip;
public var mc148:MovieClip;
public var mc263:MovieClip;
public var mc018:MovieClip;
public var mc146:MovieClip;
public var mc260:MovieClip;
public var mc021:MovieClip;
public var mc264:MovieClip;
public var mc136:MovieClip;
public var mc147:MovieClip;
public var mc027:MovieClip;
public var mc149:MovieClip;
public var mc262:MovieClip;
public var mc022:MovieClip;
public var mc118:MovieClip;
public var mc150:MovieClip;
public var mc153:MovieClip;
public var mc155:MovieClip;
public var mc156:MovieClip;
public var mc151:MovieClip;
public var mc152:MovieClip;
public var mc154:MovieClip;
public var mc157:MovieClip;
public var mc030:MovieClip;
public var mc039:MovieClip;
public var mc032:MovieClip;
public var mc034:MovieClip;
public var mc036:MovieClip;
public var mc159:MovieClip;
public var mc012:MovieClip;
public var mc020:MovieClip;
public var mc033:MovieClip;
public var mc160:MovieClip;
public var mc040:MovieClip;
public var mc041:MovieClip;
public var mc042:MovieClip;
public var mc044:MovieClip;
public var mc166:MovieClip;
public var mc046:MovieClip;
public var mc161:MovieClip;
public var mc163:MovieClip;
public var mc165:MovieClip;
public var mc045:MovieClip;
public var mc167:MovieClip;
public var mc047:MovieClip;
public var mc048:MovieClip;
public var mc162:MovieClip;
public var mc035:MovieClip;
public var mc158:MovieClip;
public var mc168:MovieClip;
public var mc133:MovieClip;
public var mc043:MovieClip;
public var mc170:MovieClip;
public var mc050:MovieClip;
public var mc051:MovieClip;
public var mc052:MovieClip;
public var mc053:MovieClip;
public var mc054:MovieClip;
public var mc055:MovieClip;
public var mc056:MovieClip;
public var mc171:MovieClip;
public var mc172:MovieClip;
public var mc173:MovieClip;
public var mc177:MovieClip;
public var mc058:MovieClip;
public var mc174:MovieClip;
public var mc176:MovieClip;
public var mc164:MovieClip;
public var mc061:MovieClip;
public var mc062:MovieClip;
public var mc184:MovieClip;
public var mc185:MovieClip;
public var mc186:MovieClip;
public var mc187:MovieClip;
public var mc060:MovieClip;
public var mc189:MovieClip;
public var mc069:MovieClip;
public var mc063:MovieClip;
public var mc064:MovieClip;
public var mc065:MovieClip;
public var mc188:MovieClip;
public var mc169:MovieClip;
public var mc049:MovieClip;
public var mc066:MovieClip;
public var mc067:MovieClip;
public var mc181:MovieClip;
public var mc070:MovieClip;
public var mc193:MovieClip;
public var mc194:MovieClip;
public var mc195:MovieClip;
public var mc197:MovieClip;
public var mc199:MovieClip;
public var mc072:MovieClip;
public var mc074:MovieClip;
public var mc198:MovieClip;
public var mc057:MovieClip;
public var mc071:MovieClip;
public var mc073:MovieClip;
public var mc076:MovieClip;
public var mc196:MovieClip;
public var mc078:MovieClip;
public var mc109:MovieClip;
public var mc083:MovieClip;
public var mc084:MovieClip;
public var mc085:MovieClip;
public var mc086:MovieClip;
public var mc087:MovieClip;
public var mc088:MovieClip;
public var mc089:MovieClip;
public var mc028:MovieClip;
public var mc079:MovieClip;
public var mc179:MovieClip;
public var mc031:MovieClip;
public var mc068:MovieClip;
public var mc082:MovieClip;
public var mc077:MovieClip;
public var mc138:MovieClip;
public var mc080:MovieClip;
public var mc190:MovieClip;
public var mc092:MovieClip;
public var mc094:MovieClip;
public var mc097:MovieClip;
public var mc099:MovieClip;
public var mc093:MovieClip;
public var mc098:MovieClip;
public var mc059:MovieClip;
public var mc095:MovieClip;
public var mc096:MovieClip;
public var mc192:MovieClip;
public var mc075:MovieClip;
public var mc090:MovieClip;
public var mc180:MovieClip;
public var mc029:MovieClip;
public var mc178:MovieClip;
public var mc037:MovieClip;
public var mc127:MovieClip;
public var mc128:MovieClip;
public var mc139:MovieClip;
public var mc081:MovieClip;
public var mc091:MovieClip;
public var mc038:MovieClip;
public var mc191:MovieClip;
public var mc239:MovieClip;
public var mc129:MovieClip;
}
}//package bloonstd3_fla
Section 119
//upgrade_icons_124 (bloonstd3_fla.upgrade_icons_124)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class upgrade_icons_124 extends MovieClip {
public var cantafford:MovieClip;
public var hasbought:MovieClip;
public var cost_txt:TextField;
public function upgrade_icons_124(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame25(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
public function CheckAfford(){
if (parent.parent.CanAfford(this.upgrade)){
cantafford.visible = false;
} else {
cantafford.visible = true;
};
}
function frame9(){
stop();
}
function frame22(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame21(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
function frame23(){
stop();
}
function frame24(){
stop();
}
function frame28(){
stop();
}
function frame15(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
function frame31(){
stop();
}
function frame27(){
stop();
}
function frame11(){
stop();
}
function frame29(){
stop();
}
function frame26(){
stop();
}
function frame32(){
stop();
}
}
}//package bloonstd3_fla
Section 120
//winbar_198 (bloonstd3_fla.winbar_198)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class winbar_198 extends MovieClip {
public var okbtn:SimpleButton;
public var medal:MovieClip;
public var keepgoingbtn:SimpleButton;
public var msg_txt:TextField;
public function winbar_198(){
addFrameScript(0, frame1);
}
function frame1(){
okbtn.addEventListener(MouseEvent.CLICK, clickBtn);
keepgoingbtn.addEventListener(MouseEvent.CLICK, keepgoing);
}
public function keepgoing(_arg1:MouseEvent){
parent.parent.visible = false;
parent.parent.parent.startrnd_btn.visible = true;
}
public function clickBtn(_arg1:MouseEvent){
parent.parent.gotoAndPlay("drawOff");
}
}
}//package bloonstd3_fla
Section 121
//wingameinner_196 (bloonstd3_fla.wingameinner_196)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class wingameinner_196 extends MovieClip {
public var inner:MovieClip;
public var nohitbtn:SimpleButton;
public function wingameinner_196(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
nohitbtn.addEventListener(MouseEvent.CLICK, nohitplz);
}
public function nohitplz(_arg1:MouseEvent){
}
}
}//package bloonstd3_fla
Section 122
//winpanel_195 (bloonstd3_fla.winpanel_195)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class winpanel_195 extends MovieClip {
public var inner:MovieClip;
public function winpanel_195(){
addFrameScript(0, frame1, 1, frame2, 46, frame47, 92, frame93);
}
function frame93(){
parent.mainmenu.visible = true;
parent.Init();
visible = false;
}
function frame1(){
stop();
visible = false;
}
function frame2(){
visible = true;
inner.inner.medal.gotoAndStop(parent.diff);
inner.inner.medal.strap.gotoAndStop(parent.trackNum);
inner.inner.msg_txt.text = ((("You passed track " + parent.trackNum) + " on ") + parent.diff);
}
function frame47(){
stop();
}
}
}//package bloonstd3_fla
Section 123
//zeppelin_335 (bloonstd3_fla.zeppelin_335)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class zeppelin_335 extends MovieClip {
public var hits:int;
public function zeppelin_335(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 7, frame8);
}
function frame3(){
hits++;
nextFrame();
}
function frame1(){
hits = 0;
}
function frame4(){
if (hits > 130){
play();
} else {
parent.done = false;
parent.popped = false;
gotoAndStop(2);
};
}
function frame5(){
parent.playZepSmash();
}
function frame8(){
stop();
visible = false;
parent.RemoveMe(true);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 124
//zeppelin_491 (bloonstd3_fla.zeppelin_491)
package bloonstd3_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class zeppelin_491 extends MovieClip {
public var hits:int;
public function zeppelin_491(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 7, frame8);
}
function frame3(){
hits++;
nextFrame();
}
function frame1(){
hits = 0;
}
function frame4(){
trace(("hits: " + hits));
if (hits > 130){
play();
} else {
parent.done = false;
parent.popped = false;
gotoAndStop(2);
};
}
function frame8(){
stop();
visible = false;
parent.RemoveMe(true);
}
function frame2(){
stop();
}
}
}//package bloonstd3_fla
Section 125
//balloon (balloon)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class balloon extends MovieClip {
public var inner:MovieClip;
public function balloon(){
addFrameScript(0, frame1, 96, frame97, 97, frame98, 101, frame102);
}
public function Pop(){
gotoAndPlay("pop");
}
function frame98(){
popped = true;
}
function frame97(){
gotoAndPlay(1);
}
function frame102(){
_visible = false;
}
function frame1(){
}
}
}//package
Section 126
//Blades (Blades)
package {
public dynamic class Blades extends Bullet {
}
}//package
Section 127
//Bloon (Bloon)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class Bloon extends MovieClip {
var blewup:Boolean;
var popped:Boolean;
var rank:int;
var side:int;
var maxspeed:Number;
var speed:Number;
var frame:Number;
var parentBlewUp:Boolean;
var done:Boolean;
var initdone:Boolean;
var frozen:Boolean;
var freezer:Tower;
var timeFrozen:int;
var :int;
public var respawnMe:Boolean;
public var snapfrozen:Boolean;
var game:BloonsTD;
public function Bloon(){
rank = 0;
snapfrozen = false;
popped = false;
frozen = false;
blewup = false;
parentBlewUp = false;
frame = 1;
timeFrozen = 0;
initdone = false;
cacheAsBitmap = true;
addEventListener(Event.ENTER_FRAME, Update);
done = false;
}
function Init(){
inner = this.inner;
initdone = true;
if (rank < 9){
inner.gotoAndStop(random(50));
};
switch (rank){
case 1:
maxspeed = (speed = 1);
break;
case 2:
maxspeed = (speed = 1.4);
break;
case 3:
maxspeed = (speed = 1.8);
break;
case 4:
maxspeed = (speed = 3.2);
break;
case 5:
maxspeed = (speed = 1.8);
break;
case 6:
maxspeed = (speed = 2.5);
break;
case 7:
maxspeed = (speed = 1);
break;
case 8:
maxspeed = (speed = 2.2);
break;
case 9:
maxspeed = (speed = 2.5);
break;
case 10:
maxspeed = (speed = 1);
break;
};
maxspeed = (maxspeed + game.globSpeedMod);
speed = maxspeed;
}
function Pop(_arg1:String, _arg2:Tower=null, _arg3:Boolean=true){
done = true;
respawnMe = _arg3;
popped = true;
if ((((((_arg1 == "bomb")) || ((_arg1 == "pineapple")))) && (((!((rank == 9))) && (!((rank == 10))))))){
if (rank == 5){
popped = false;
done = false;
return;
};
if (_arg2 != null){
_arg2.popcount++;
};
blewup = true;
RemoveMe(true);
} else {
if (_arg2 != null){
_arg2.popcount++;
};
popped = true;
if (rank == 9){
if (this.inner.hits < 8){
game.ceramicSnd.play(0, 1);
popped = false;
done = false;
};
};
if (rank == 10){
if (this.inner.hits < 130){
popped = false;
done = false;
};
};
this.inner.gotoAndPlay("pop");
};
}
function GotToEnd(){
trace(("got to end: " + rank));
game.Escaped(this);
RemoveMe(false);
done = true;
}
public function RemoveMe(_arg1){
var _local2:Bloon;
if (_arg1){
game.PoppedOne(false);
_local2 = null;
if (snapfrozen){
_local2 = this;
};
if ((((rank > 1)) && (respawnMe))){
if (rank < 5){
game.NewBloon((rank - 1), (this.currentFrame / this.totalFrames), x, y, name, side, _local2);
};
if ((((rank == 5)) || ((rank == 6)))){
game.NewBloon(4, ((this.currentFrame + 5) / this.totalFrames), x, y, name, side, _local2);
game.NewBloon(4, ((this.currentFrame - 5) / this.totalFrames), x, y, null, side, _local2);
};
if (rank == 7){
game.NewBloon(5, ((this.currentFrame + 4) / this.totalFrames), x, y, name, side, _local2);
game.NewBloon(5, ((this.currentFrame - 4) / this.totalFrames), x, y, null, side, _local2);
};
if (rank == 8){
game.NewBloon(5, ((this.currentFrame + 5) / this.totalFrames), x, y, name, side, _local2);
game.NewBloon(5, ((this.currentFrame + 1) / this.totalFrames), x, y, null, side, _local2);
game.NewBloon(6, ((this.currentFrame - 1) / this.totalFrames), x, y, null, side, null);
game.NewBloon(6, ((this.currentFrame - 5) / this.totalFrames), x, y, null, side, null);
};
if (rank == 9){
game.NewBloon(8, ((this.currentFrame + 6) / this.totalFrames), x, y, name, side, _local2);
game.NewBloon(8, ((this.currentFrame - 6) / this.totalFrames), x, y, null, side, _local2);
};
if (rank == 10){
game.NewBloon(9, ((this.currentFrame + 5) / this.totalFrames), x, y, name, side, null);
game.NewBloon(9, ((this.currentFrame + 2) / this.totalFrames), x, y, null, side, null);
game.NewBloon(9, ((this.currentFrame - 2) / this.totalFrames), x, y, null, side, null);
game.NewBloon(9, ((this.currentFrame - 5) / this.totalFrames), x, y, null, side, null);
};
};
};
game.RemoveBloon(this);
}
public function playZepSmash(){
game.zeppSmash.play(0, 1);
}
public function freezeMe(_arg1:Boolean, _arg2:Bullet=null, _arg3:Bloon=null){
if ((((rank == 10)) || ((rank == 9)))){
return;
};
this.stop();
this.inner.inner.freeze.gotoAndPlay("drawOn");
frozen = true;
timeFrozen = 0;
if (_arg2 != null){
freezer = _arg2.shooter;
if (freezer == null){
trace(("type: " + rank));
};
};
if (_arg3 != null){
freezer = _arg3.freezer;
trace(("freezer: " + freezer));
};
if (freezer.upgrade2){
if ((((speed == maxspeed)) && (!((rank == 10))))){
speed = (speed / 2);
};
};
if (_arg1){
if (freezer.upgrade4){
if (random(100) > 60){
snapfrozen = true;
Pop(_arg2.type, _arg2.shooter);
};
};
};
}
function random(_arg1){
return (Math.floor((Math.random() * _arg1)));
}
function Update(_arg1:Event){
var _local2:int;
var _local3:*;
var _local4:int;
var _local5:*;
if (!initdone){
Init();
return;
};
if (((popped) || (done))){
return;
};
if (frozen){
timeFrozen++;
if ((((timeFrozen > freezer.freezeLen)) || ((timeFrozen > 100)))){
frozen = false;
this.inner.inner.freeze.gotoAndStop(1);
};
} else {
frame = (frame + speed);
gotoAndStop(Math.round(frame));
};
_local2 = 0;
while (_local2 < game.bulletlist.length) {
_local3 = game.bulletlist[_local2];
if (_local3.isspread){
_local4 = 1;
while (_local4 < 9) {
_local5 = _local3[((_local3.type + "") + _local4)];
if (((_local5.visible) && (!(_local5.c)))){
_local5.c = true;
if (this.inner.hitTestObject(_local5.inner.hitbit)){
if ((((((rank == 7)) && (!((_local3.type == "bomb"))))) && (!((_local3.type == "ice"))))){
_local3.pierceCount++;
game.soundeffects.metalclink.play();
_local5.visible = false;
if (_local3.pierceCount >= _local3.pierceMax){
_local3.DeleteMe();
};
return;
};
_local3.pierceCount++;
if (_local3.pierceCount >= _local3.pierceMax){
_local5.visible = false;
};
if (!frozen){
Pop("NA", _local3.shooter);
} else {
trace("CLINK");
_local3.pierceCount = (_local3.pierceCount + 5);
game.soundeffects.clink.play();
};
return;
};
} else {
if (_local5.c){
_local5.c = false;
};
};
_local4++;
};
} else {
if (_local3.hitbit){
if (_local3.type == "pineapple"){
//unresolved if
} else {
if (this.inner.hitTestObject(_local3.hitbit)){
if ((((_local3.type == "glue")) && (!((rank == 10))))){
if (speed == maxspeed){
if (_local3.pierceCount == 0){
game.soundeffects.splat.play();
};
_local3.pierceCount++;
if (_local3.pierceCount >= _local3.pierceMax){
_local3.DeleteMe();
};
speed = (speed / 3);
};
} else {
if ((((((rank == 7)) && (!(_local3.leadbreak)))) && (!((_local3.type == "ice"))))){
_local3.pierceCount = (_local3.pierceCount + 5);
game.soundeffects.metalclink.play();
if (_local3.pierceCount >= _local3.pierceMax){
_local3.DeleteMe();
};
return;
};
_local3.pierceCount++;
if (_local3.pierceCount >= _local3.pierceMax){
_local3.DeleteMe();
} else {
if (_local3.count_txt){
_local3.count_txt.text = (_local3.pierceMax - _local3.pierceCount);
};
};
if ((((_local3.type == "bomb")) && (!(_local3.hashit)))){
_local3.hashit = true;
_local3.vx = (_local3.vy = 0);
_local3.gotoAndPlay(2);
if (_local3.shooter.upgrade2){
game.ShootBullet(_local3, null);
};
};
if (_local3.type == "ice"){
if (((!(frozen)) && (!((rank == 6))))){
freezeMe(true, _local3);
};
} else {
if (!frozen){
Pop(_local3.type, _local3.shooter);
} else {
if (_local3.icebreak){
Pop(_local3.type, _local3.shooter);
} else {
if (_local3.type != "ice"){
game.soundeffects.clink.play();
};
};
};
};
return;
};
};
};
};
};
_local2++;
};
}
}
}//package
Section 128
//Bloon_1_1 (Bloon_1_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_1 extends Bloon {
public function Bloon_1_1(){
addFrameScript(1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331, 1331, frame1332);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
function frame1332(){
GotToEnd();
}
}
}//package
Section 129
//Bloon_1_2 (Bloon_1_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_2 extends Bloon {
public function Bloon_1_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 130
//Bloon_1_3 (Bloon_1_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_3 extends Bloon {
public function Bloon_1_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 131
//Bloon_1_4 (Bloon_1_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_4 extends Bloon {
public function Bloon_1_4(){
addFrameScript(862, frame863, 863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame863(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 132
//Bloon_1_5 (Bloon_1_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_5 extends Bloon {
public function Bloon_1_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 133
//Bloon_1_6_1 (Bloon_1_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_6_1 extends Bloon {
public function Bloon_1_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 134
//Bloon_1_6_2 (Bloon_1_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_6_2 extends Bloon {
public function Bloon_1_6_2(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 135
//Bloon_1_6_3 (Bloon_1_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_6_3 extends Bloon {
public function Bloon_1_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 136
//Bloon_1_7_1 (Bloon_1_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_7_1 extends Bloon {
public function Bloon_1_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 137
//Bloon_1_7_2 (Bloon_1_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_7_2 extends Bloon {
public function Bloon_1_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 138
//Bloon_1_8_1 (Bloon_1_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_8_1 extends Bloon {
public function Bloon_1_8_1(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 139
//Bloon_1_8_2 (Bloon_1_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_8_2 extends Bloon {
public function Bloon_1_8_2(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 140
//Bloon_1_8_3 (Bloon_1_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_1_8_3 extends Bloon {
public function Bloon_1_8_3(){
addFrameScript(717, frame718, 718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724);
}
function frame719(){
GotToEnd();
}
function frame718(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 141
//Bloon_10_1 (Bloon_10_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_1 extends Bloon {
public function Bloon_10_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 142
//Bloon_10_2 (Bloon_10_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_2 extends Bloon {
public function Bloon_10_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 143
//Bloon_10_3 (Bloon_10_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_3 extends Bloon {
public function Bloon_10_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 144
//Bloon_10_4 (Bloon_10_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_4 extends Bloon {
public function Bloon_10_4(){
addFrameScript(897, frame898, 898, frame899, 899, frame900, 900, frame901, 901, frame902, 902, frame903, 903, frame904);
}
function frame904(){
GotToEnd();
}
function frame902(){
GotToEnd();
}
function frame900(){
GotToEnd();
}
function frame903(){
GotToEnd();
}
function frame901(){
GotToEnd();
}
function frame898(){
GotToEnd();
}
function frame899(){
GotToEnd();
}
}
}//package
Section 145
//Bloon_10_5 (Bloon_10_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_5 extends Bloon {
public function Bloon_10_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 146
//Bloon_10_6_3 (Bloon_10_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_6_3 extends Bloon {
public function Bloon_10_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 147
//Bloon_10_7_2 (Bloon_10_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_7_2 extends Bloon {
public function Bloon_10_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 148
//Bloon_10_8_1 (Bloon_10_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_8_1 extends Bloon {
public function Bloon_10_8_1(){
addFrameScript(994, frame995, 995, frame996, 996, frame997, 997, frame998, 998, frame999, 999, frame1000, 1000, frame1001);
}
function frame1000(){
GotToEnd();
}
function frame997(){
GotToEnd();
}
function frame995(){
GotToEnd();
}
function frame996(){
GotToEnd();
}
function frame1001(){
GotToEnd();
}
function frame999(){
GotToEnd();
}
function frame998(){
GotToEnd();
}
}
}//package
Section 149
//Bloon_10_8_2 (Bloon_10_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_8_2 extends Bloon {
public function Bloon_10_8_2(){
addFrameScript(994, frame995, 995, frame996, 996, frame997, 997, frame998, 998, frame999, 999, frame1000, 1000, frame1001);
}
function frame1000(){
GotToEnd();
}
function frame997(){
GotToEnd();
}
function frame995(){
GotToEnd();
}
function frame996(){
GotToEnd();
}
function frame1001(){
GotToEnd();
}
function frame999(){
GotToEnd();
}
function frame998(){
GotToEnd();
}
}
}//package
Section 150
//Bloon_10_8_3 (Bloon_10_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_10_8_3 extends Bloon {
public function Bloon_10_8_3(){
addFrameScript(998, frame999, 999, frame1000, 1000, frame1001, 1001, frame1002, 1002, frame1003, 1003, frame1004, 1004, frame1005);
}
function frame1000(){
GotToEnd();
}
function frame1004(){
GotToEnd();
}
function frame1002(){
GotToEnd();
}
function frame1005(){
GotToEnd();
}
function frame1003(){
GotToEnd();
}
function frame1001(){
GotToEnd();
}
function frame999(){
GotToEnd();
}
}
}//package
Section 151
//Bloon_2_1 (Bloon_2_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_1 extends Bloon {
public function Bloon_2_1(){
addFrameScript(1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331, 1331, frame1332);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
function frame1332(){
GotToEnd();
}
}
}//package
Section 152
//Bloon_2_2 (Bloon_2_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_2 extends Bloon {
public function Bloon_2_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 153
//Bloon_2_3 (Bloon_2_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_3 extends Bloon {
public function Bloon_2_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 154
//Bloon_2_4 (Bloon_2_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_4 extends Bloon {
public function Bloon_2_4(){
addFrameScript(862, frame863, 863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame863(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 155
//Bloon_2_5 (Bloon_2_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_5 extends Bloon {
public function Bloon_2_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 156
//Bloon_2_6_1 (Bloon_2_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_6_1 extends Bloon {
public function Bloon_2_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 157
//Bloon_2_6_2 (Bloon_2_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_6_2 extends Bloon {
public function Bloon_2_6_2(){
addFrameScript(881, frame882, 882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame882(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 158
//Bloon_2_6_3 (Bloon_2_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_6_3 extends Bloon {
public function Bloon_2_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 159
//Bloon_2_7_1 (Bloon_2_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_7_1 extends Bloon {
public function Bloon_2_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 160
//Bloon_2_7_2 (Bloon_2_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_7_2 extends Bloon {
public function Bloon_2_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 161
//Bloon_2_8_1 (Bloon_2_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_8_1 extends Bloon {
public function Bloon_2_8_1(){
addFrameScript(703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709, 709, frame710);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame710(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 162
//Bloon_2_8_2 (Bloon_2_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_8_2 extends Bloon {
public function Bloon_2_8_2(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 163
//Bloon_2_8_3 (Bloon_2_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_2_8_3 extends Bloon {
public function Bloon_2_8_3(){
addFrameScript(718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724, 724, frame725);
}
function frame719(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame725(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 164
//Bloon_3_1 (Bloon_3_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_1 extends Bloon {
public function Bloon_3_1(){
addFrameScript(1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331, 1331, frame1332);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
function frame1332(){
GotToEnd();
}
}
}//package
Section 165
//Bloon_3_2 (Bloon_3_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_2 extends Bloon {
public function Bloon_3_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 166
//Bloon_3_3 (Bloon_3_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_3 extends Bloon {
public function Bloon_3_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 167
//Bloon_3_4 (Bloon_3_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_4 extends Bloon {
public function Bloon_3_4(){
addFrameScript(862, frame863, 863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame863(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 168
//Bloon_3_5 (Bloon_3_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_5 extends Bloon {
public function Bloon_3_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 169
//Bloon_3_6_1 (Bloon_3_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_6_1 extends Bloon {
public function Bloon_3_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 170
//Bloon_3_6_2 (Bloon_3_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_6_2 extends Bloon {
public function Bloon_3_6_2(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 171
//Bloon_3_6_3 (Bloon_3_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_6_3 extends Bloon {
public function Bloon_3_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 172
//Bloon_3_7_1 (Bloon_3_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_7_1 extends Bloon {
public function Bloon_3_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 173
//Bloon_3_7_2 (Bloon_3_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_7_2 extends Bloon {
public function Bloon_3_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 174
//Bloon_3_8_1 (Bloon_3_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_8_1 extends Bloon {
public function Bloon_3_8_1(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 175
//Bloon_3_8_2 (Bloon_3_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_8_2 extends Bloon {
public function Bloon_3_8_2(){
addFrameScript(703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709, 709, frame710);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame710(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 176
//Bloon_3_8_3 (Bloon_3_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_3_8_3 extends Bloon {
public function Bloon_3_8_3(){
addFrameScript(717, frame718, 718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724);
}
function frame719(){
GotToEnd();
}
function frame718(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 177
//Bloon_4_1 (Bloon_4_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_1 extends Bloon {
public function Bloon_4_1(){
addFrameScript(1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331, 1331, frame1332);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
function frame1332(){
GotToEnd();
}
}
}//package
Section 178
//Bloon_4_2 (Bloon_4_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_2 extends Bloon {
public function Bloon_4_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 179
//Bloon_4_3 (Bloon_4_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_3 extends Bloon {
public function Bloon_4_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 180
//Bloon_4_4 (Bloon_4_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_4 extends Bloon {
public function Bloon_4_4(){
addFrameScript(862, frame863, 863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame863(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 181
//Bloon_4_5 (Bloon_4_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_5 extends Bloon {
public function Bloon_4_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 182
//Bloon_4_6_1 (Bloon_4_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_6_1 extends Bloon {
public function Bloon_4_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 183
//Bloon_4_6_2 (Bloon_4_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_6_2 extends Bloon {
public function Bloon_4_6_2(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 184
//Bloon_4_6_3 (Bloon_4_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_6_3 extends Bloon {
public function Bloon_4_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 185
//Bloon_4_7_1 (Bloon_4_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_7_1 extends Bloon {
public function Bloon_4_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 186
//Bloon_4_7_2 (Bloon_4_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_7_2 extends Bloon {
public function Bloon_4_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 187
//Bloon_4_8_1 (Bloon_4_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_8_1 extends Bloon {
public function Bloon_4_8_1(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 188
//Bloon_4_8_2 (Bloon_4_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_8_2 extends Bloon {
public function Bloon_4_8_2(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 189
//Bloon_4_8_3 (Bloon_4_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_4_8_3 extends Bloon {
public function Bloon_4_8_3(){
addFrameScript(717, frame718, 718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724);
}
function frame719(){
GotToEnd();
}
function frame718(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 190
//Bloon_5_1 (Bloon_5_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_1 extends Bloon {
public function Bloon_5_1(){
addFrameScript(1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331, 1331, frame1332);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
function frame1332(){
GotToEnd();
}
}
}//package
Section 191
//Bloon_5_2 (Bloon_5_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_2 extends Bloon {
public function Bloon_5_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 192
//Bloon_5_3 (Bloon_5_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_3 extends Bloon {
public function Bloon_5_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 193
//Bloon_5_4 (Bloon_5_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_4 extends Bloon {
public function Bloon_5_4(){
addFrameScript(863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869, 869, frame870);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame870(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 194
//Bloon_5_5 (Bloon_5_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_5 extends Bloon {
public function Bloon_5_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 195
//Bloon_5_6_1 (Bloon_5_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_6_1 extends Bloon {
public function Bloon_5_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 196
//Bloon_5_6_2 (Bloon_5_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_6_2 extends Bloon {
public function Bloon_5_6_2(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 197
//Bloon_5_6_3 (Bloon_5_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_6_3 extends Bloon {
public function Bloon_5_6_3(){
addFrameScript(881, frame882, 882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame882(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 198
//Bloon_5_7_1 (Bloon_5_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_7_1 extends Bloon {
public function Bloon_5_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 199
//Bloon_5_7_2 (Bloon_5_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_7_2 extends Bloon {
public function Bloon_5_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 200
//Bloon_5_8_1 (Bloon_5_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_8_1 extends Bloon {
public function Bloon_5_8_1(){
addFrameScript(703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709, 709, frame710);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame710(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 201
//Bloon_5_8_2 (Bloon_5_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_8_2 extends Bloon {
public function Bloon_5_8_2(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 202
//Bloon_5_8_3 (Bloon_5_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_5_8_3 extends Bloon {
public function Bloon_5_8_3(){
addFrameScript(717, frame718, 718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724);
}
function frame719(){
GotToEnd();
}
function frame718(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 203
//Bloon_6_1 (Bloon_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_1 extends Bloon {
public function Bloon_6_1(){
addFrameScript(1324, frame1325, 1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1325(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
}
}//package
Section 204
//Bloon_6_2 (Bloon_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_2 extends Bloon {
public function Bloon_6_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 205
//Bloon_6_3 (Bloon_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_3 extends Bloon {
public function Bloon_6_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 206
//Bloon_6_4 (Bloon_6_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_4 extends Bloon {
public function Bloon_6_4(){
addFrameScript(863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869, 869, frame870);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame870(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 207
//Bloon_6_5 (Bloon_6_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_5 extends Bloon {
public function Bloon_6_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 208
//Bloon_6_6_1 (Bloon_6_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_6_1 extends Bloon {
public function Bloon_6_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 209
//Bloon_6_6_2 (Bloon_6_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_6_2 extends Bloon {
public function Bloon_6_6_2(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 210
//Bloon_6_6_3 (Bloon_6_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_6_3 extends Bloon {
public function Bloon_6_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 211
//Bloon_6_7_1 (Bloon_6_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_7_1 extends Bloon {
public function Bloon_6_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 212
//Bloon_6_7_2 (Bloon_6_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_7_2 extends Bloon {
public function Bloon_6_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 213
//Bloon_6_8_1 (Bloon_6_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_8_1 extends Bloon {
public function Bloon_6_8_1(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 214
//Bloon_6_8_2 (Bloon_6_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_8_2 extends Bloon {
public function Bloon_6_8_2(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 215
//Bloon_6_8_3 (Bloon_6_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_6_8_3 extends Bloon {
public function Bloon_6_8_3(){
addFrameScript(718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724, 724, frame725);
}
function frame719(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame725(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 216
//Bloon_7_1 (Bloon_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_1 extends Bloon {
public function Bloon_7_1(){
addFrameScript(1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331, 1331, frame1332);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
function frame1332(){
GotToEnd();
}
}
}//package
Section 217
//Bloon_7_2 (Bloon_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_2 extends Bloon {
public function Bloon_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 218
//Bloon_7_3 (Bloon_7_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_3 extends Bloon {
public function Bloon_7_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 219
//Bloon_7_4 (Bloon_7_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_4 extends Bloon {
public function Bloon_7_4(){
addFrameScript(862, frame863, 863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame863(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 220
//Bloon_7_5 (Bloon_7_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_5 extends Bloon {
public function Bloon_7_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 221
//Bloon_7_6_1 (Bloon_7_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_6_1 extends Bloon {
public function Bloon_7_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 222
//Bloon_7_6_2 (Bloon_7_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_6_2 extends Bloon {
public function Bloon_7_6_2(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 223
//Bloon_7_6_3 (Bloon_7_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_6_3 extends Bloon {
public function Bloon_7_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 224
//Bloon_7_7_1 (Bloon_7_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_7_1 extends Bloon {
public function Bloon_7_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 225
//Bloon_7_7_2 (Bloon_7_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_7_2 extends Bloon {
public function Bloon_7_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 226
//Bloon_7_8_1 (Bloon_7_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_8_1 extends Bloon {
public function Bloon_7_8_1(){
addFrameScript(702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame703(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 227
//Bloon_7_8_2 (Bloon_7_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_8_2 extends Bloon {
public function Bloon_7_8_2(){
addFrameScript(703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709, 709, frame710);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame710(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 228
//Bloon_7_8_3 (Bloon_7_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_7_8_3 extends Bloon {
public function Bloon_7_8_3(){
addFrameScript(718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724, 724, frame725);
}
function frame719(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame725(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 229
//Bloon_8_1 (Bloon_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_1 extends Bloon {
public function Bloon_8_1(){
addFrameScript(1324, frame1325, 1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1325(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
}
}//package
Section 230
//Bloon_8_2 (Bloon_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_2 extends Bloon {
public function Bloon_8_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 231
//Bloon_8_3 (Bloon_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_3 extends Bloon {
public function Bloon_8_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 232
//Bloon_8_4 (Bloon_8_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_4 extends Bloon {
public function Bloon_8_4(){
addFrameScript(862, frame863, 863, frame864, 864, frame865, 865, frame866, 866, frame867, 867, frame868, 868, frame869);
}
function frame864(){
GotToEnd();
}
function frame865(){
GotToEnd();
}
function frame869(){
GotToEnd();
}
function frame867(){
GotToEnd();
}
function frame866(){
GotToEnd();
}
function frame863(){
GotToEnd();
}
function frame868(){
GotToEnd();
}
}
}//package
Section 233
//Bloon_8_5 (Bloon_8_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_5 extends Bloon {
public function Bloon_8_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 234
//Bloon_8_6_1 (Bloon_8_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_6_1 extends Bloon {
public function Bloon_8_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 235
//Bloon_8_6_2 (Bloon_8_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_6_2 extends Bloon {
public function Bloon_8_6_2(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 236
//Bloon_8_6_3 (Bloon_8_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_6_3 extends Bloon {
public function Bloon_8_6_3(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 237
//Bloon_8_7_1 (Bloon_8_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_7_1 extends Bloon {
public function Bloon_8_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 238
//Bloon_8_7_2 (Bloon_8_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_7_2 extends Bloon {
public function Bloon_8_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 239
//Bloon_8_8_1 (Bloon_8_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_8_1 extends Bloon {
public function Bloon_8_8_1(){
addFrameScript(703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709, 709, frame710);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame710(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 240
//Bloon_8_8_2 (Bloon_8_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_8_2 extends Bloon {
public function Bloon_8_8_2(){
addFrameScript(703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708, 708, frame709, 709, frame710);
}
function frame707(){
GotToEnd();
}
function frame708(){
GotToEnd();
}
function frame709(){
GotToEnd();
}
function frame710(){
GotToEnd();
}
function frame704(){
GotToEnd();
}
function frame705(){
GotToEnd();
}
function frame706(){
GotToEnd();
}
}
}//package
Section 241
//Bloon_8_8_3 (Bloon_8_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_8_8_3 extends Bloon {
public function Bloon_8_8_3(){
addFrameScript(717, frame718, 718, frame719, 719, frame720, 720, frame721, 721, frame722, 722, frame723, 723, frame724);
}
function frame719(){
GotToEnd();
}
function frame718(){
GotToEnd();
}
function frame721(){
GotToEnd();
}
function frame723(){
GotToEnd();
}
function frame724(){
GotToEnd();
}
function frame722(){
GotToEnd();
}
function frame720(){
GotToEnd();
}
}
}//package
Section 242
//Bloon_9_1 (Bloon_9_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_1 extends Bloon {
public function Bloon_9_1(){
addFrameScript(1325, frame1326, 1326, frame1327, 1327, frame1328, 1328, frame1329, 1329, frame1330, 1330, frame1331, 1331, frame1332);
}
function frame1327(){
GotToEnd();
}
function frame1330(){
GotToEnd();
}
function frame1326(){
GotToEnd();
}
function frame1328(){
GotToEnd();
}
function frame1329(){
GotToEnd();
}
function frame1331(){
GotToEnd();
}
function frame1332(){
GotToEnd();
}
}
}//package
Section 243
//Bloon_9_2 (Bloon_9_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_2 extends Bloon {
public function Bloon_9_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 244
//Bloon_9_3 (Bloon_9_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_3 extends Bloon {
public function Bloon_9_3(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 245
//Bloon_9_4 (Bloon_9_4)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_4 extends Bloon {
public function Bloon_9_4(){
addFrameScript(857, frame858, 858, frame859, 859, frame860, 860, frame861, 861, frame862, 862, frame863, 863, frame864);
}
function frame858(){
GotToEnd();
}
function frame861(){
GotToEnd();
}
function frame864(){
GotToEnd();
}
function frame859(){
GotToEnd();
}
function frame862(){
GotToEnd();
}
function frame860(){
GotToEnd();
}
function frame863(){
GotToEnd();
}
}
}//package
Section 246
//Bloon_9_5 (Bloon_9_5)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_5 extends Bloon {
public function Bloon_9_5(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 247
//Bloon_9_6_1 (Bloon_9_6_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_6_1 extends Bloon {
public function Bloon_9_6_1(){
addFrameScript(882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 248
//Bloon_9_6_2 (Bloon_9_6_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_6_2 extends Bloon {
public function Bloon_9_6_2(){
addFrameScript(881, frame882, 882, frame883, 883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888);
}
function frame883(){
GotToEnd();
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame882(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 249
//Bloon_9_6_3 (Bloon_9_6_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_6_3 extends Bloon {
public function Bloon_9_6_3(){
addFrameScript(883, frame884, 884, frame885, 885, frame886, 886, frame887, 887, frame888, 888, frame889, 889, frame890);
}
function frame885(){
GotToEnd();
}
function frame886(){
GotToEnd();
}
function frame889(){
GotToEnd();
}
function frame887(){
GotToEnd();
}
function frame888(){
GotToEnd();
}
function frame890(){
GotToEnd();
}
function frame884(){
GotToEnd();
}
}
}//package
Section 250
//Bloon_9_7_1 (Bloon_9_7_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_7_1 extends Bloon {
public function Bloon_9_7_1(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 251
//Bloon_9_7_2 (Bloon_9_7_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_7_2 extends Bloon {
public function Bloon_9_7_2(){
addFrameScript(933, frame934, 934, frame935, 935, frame936, 936, frame937, 937, frame938, 938, frame939, 939, frame940);
}
function frame935(){
GotToEnd();
}
function frame937(){
GotToEnd();
}
function frame938(){
GotToEnd();
}
function frame936(){
GotToEnd();
}
function frame939(){
GotToEnd();
}
function frame934(){
GotToEnd();
}
function frame940(){
GotToEnd();
}
}
}//package
Section 252
//Bloon_9_8_1 (Bloon_9_8_1)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_8_1 extends Bloon {
public function Bloon_9_8_1(){
addFrameScript(994, frame995, 995, frame996, 996, frame997, 997, frame998, 998, frame999, 999, frame1000, 1000, frame1001);
}
function frame1000(){
GotToEnd();
}
function frame997(){
GotToEnd();
}
function frame995(){
GotToEnd();
}
function frame996(){
GotToEnd();
}
function frame1001(){
GotToEnd();
}
function frame999(){
GotToEnd();
}
function frame998(){
GotToEnd();
}
}
}//package
Section 253
//Bloon_9_8_2 (Bloon_9_8_2)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_8_2 extends Bloon {
public function Bloon_9_8_2(){
addFrameScript(994, frame995, 995, frame996, 996, frame997, 997, frame998, 998, frame999, 999, frame1000, 1000, frame1001);
}
function frame1000(){
GotToEnd();
}
function frame997(){
GotToEnd();
}
function frame995(){
GotToEnd();
}
function frame996(){
GotToEnd();
}
function frame1001(){
GotToEnd();
}
function frame999(){
GotToEnd();
}
function frame998(){
GotToEnd();
}
}
}//package
Section 254
//Bloon_9_8_3 (Bloon_9_8_3)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bloon_9_8_3 extends Bloon {
public function Bloon_9_8_3(){
addFrameScript(1010, frame1011, 1011, frame1012, 1012, frame1013, 1013, frame1014, 1014, frame1015, 1015, frame1016, 1016, frame1017);
}
function frame1015(){
GotToEnd();
}
function frame1016(){
GotToEnd();
}
function frame1013(){
GotToEnd();
}
function frame1011(){
GotToEnd();
}
function frame1014(){
GotToEnd();
}
function frame1017(){
GotToEnd();
}
function frame1012(){
GotToEnd();
}
}
}//package
Section 255
//BloonsTD (BloonsTD)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
public dynamic class BloonsTD extends MovieClip {
public var diff:String;
public var gluebtn:SimpleButton;
public var losepanel:MovieClip;
public var COST_BOOMERANG_GLAIVE_UPGRADE:int;// = 280
public var COST_BOOMERANG_PIERCE_UPGRADE:int;// = 270
public var RANGE_ICE:int;// = 60
public var sndbtn:MovieClip;
public var COST_SUPER:int;// = 4000
public var RANGE_BOMB:int;// = 120
public var supermonkeybtn:SimpleButton;
public var startrnd_btn:SimpleButton;
public var COST_MULT_HARD:Number;// = 1.08
public var bulletlist:Array;
public var bloonholder:MovieClip;
public var COST_DART:int;// = 250
public var COST_BOOMERANG_SONIC_UPGRADE:int;// = 150
public var noMore:Boolean;
public var money:int;
public var timeLastBloon:int;
public var COST_TACK:int;// = 360
public var stormbtn:MovieClip;
public var MAX_LIVES_MEDIUM:int;// = 75
public var roundnum_txt:TextField;
public var monkeystorm:MovieClip;
public var ;
public var COST_BEACON:int;// = 1000
public var output:MovieClip;
public var COST_BEACON_STORM_UPGRADE:int;// = 2500
public var lives:int;
public var COST_TACK_RANGE_UPGRADE1:int;// = 100
public var cancelbuybtn:SimpleButton;
public var soundeffects:MovieClip;
public var currentTower:Tower;
public var boomerangbtn:SimpleButton;
var pineappleSnd:Sound;
public var curLevel:int;
public var COST_TACK_RANGE_UPGRADE2:int;// = 100
public var myMenu:ContextMenu;
public var COST_SUPER_RANGE_UPGRADE1:int;// = 1000
public var bulletholder:MovieClip;
public var bloonIndex:int;
public var ourgame:ContextMenuItem;
public var COST_DART_PIERCE_UPGRADE2:int;// = 120
public var freeplaymode:Boolean;
public var COST_DART_PIERCE_UPGRADE1:int;// = 140
public var tacktowerbtn:SimpleButton;
public var COST_SUPER_RANGE_UPGRADE2:int;// = 1400
public var COST_BEACON_RANGE_UPGRADE:int;// = 500
public var COST_BOMB_MISSILE_UPGRADE:int;// = 210
public var RANGE_DART:int;// = 100
public var loadbar:MovieClip;
public var chooseDiffBox:MovieClip;
public var
:int;
public var RANGE_TACK:int;// = 70
public var copyrightNotice:ContextMenuItem;
var
:Boolean;// = false
public var COST_BEACON_DRUMS_UPGRADE:int;// = 1500
public var levelHints:Array;
public var holder:MovieClip;
public var RANGE_BOOMERANG:int;// = 130
public var SELL_RATE:Number;// = 0.8
public var RANGE_BEACON:int;// = 120
public var RANGE_SUPER:int;// = 140
public var playarea:MovieClip;
public var COST_SPIKEOPULT_RATE_UPGRADE:int;// = 250
public var COST_BOOMERANG_THERMITE_UPGRADE:int;// = 120
public var COST_SPIKES:int;// = 30
public var COST_PINEAPPLE:int;// = 25
public var towerholder:MovieClip;
public var counter:int;
public var :MovieClip;
public var COST_ICE_SNAP_UPGRADE:int;// = 290
public var spikesbtn:SimpleButton;
public var numBloons:int;
public var COST_ICE_RANGE_UPGRADE:int;// = 200
public var COST_TACK_RATE_UPGRADE:int;// = 200
public var levelsArray:Array;
public var haveCurTower:Boolean;
public var pineapplebtn:SimpleButton;
public var MAX_LIVES_EASY:int;// = 100
var zeppSmash:Sound;
public var trackNum:int;
public var icetowerbtn:SimpleButton;
public var stormReady:Boolean;
public var COST_MULT_MED:Number;// = 1.02
public var moregamesbtn:MovieClip;
public var COST_BOMB_SIZE_UPGRADE:int;// = 430
public var COST_ICE_FREEZE_UPGRADE:int;// = 250
public var money_txt:TextField;
var costmult:Number;
public var COST_SUPER_PLASMA_UPGRADE:int;// = 4000
public var ingame:Boolean;
public var mainmenu:MovieClip;
public var COST_SPIKEOPULT_JUGGERNAUT_UPGRADE:int;// = 825
public var hitarea:MovieClip;
public var :int;
public var COST_SPIKEOPULT:int;// = 600
public var currentTool:String;
public var COST_ICE_PERMAFROST_UPGRADE:int;// = 250
public var globSpeedMod:Number;
public var bloonInterval:int;
var ceramicSnd:Sound;
public var COST_ICE:int;// = 425
public var COST_SUPER_LASER_UPGRADE:int;// = 3500
public var MAX_LIVES_HARD:int;// = 50
public var towerlist:Array;
public var darttowerbtn:SimpleButton;
public var towerinfo:MovieClip;
public var lives_txt:TextField;
public var COST_BOMB_FRAG_UPGRADE:int;// = 220
public var COST_TACK_BLADE_UPGRADE:int;// = 180
public var bombtowerbtn:SimpleButton;
public var prog;
public var RANGE_SPIKEOPULT:int;// = 110
var endRoundCount:int;
public var pathhitmc:MovieClip;
public var userProfile:SharedObject;
var bombSnd:Sound;
public var spinintro:MovieClip;
public var bloonsSpawned:int;
public var COST_GLUE:int;// = 35
public var COST_MONKEYSTORM:int;// = 1000
public var toweroptions:MovieClip;
public var COST_SPIKEOPULT_MULTISHOT_UPGRADE:int;// = 575
public var source_url_txt:TextField;
public var COST_SPIKEOPULT_RANGE_UPGRADE:int;// = 250
public var beaconbtn:SimpleButton;
public var towerplace:MovieClip;
public var spikeopultbtn:SimpleButton;
public var winpanel:MovieClip;
public var COST_BOMB_RANGE_UPGRADE:int;// = 200
public var introclip:MovieClip;
public var COST_MULT_EASY:Number;// = 0.85
public var COST_BOMB:int;// = 725
public var areyousure:MovieClip;
public var STARTING_MONEY:int;// = 650
public var COST_DART_RANGE_UPGRADE1:int;// = 90
public var COST_DART_RANGE_UPGRADE2:int;// = 90
public var endgamebtn:SimpleButton;
public var COST_BOOMERANG:int;// = 515
var iceBlastSnd:Sound;
public function BloonsTD(){
var _local1:*;
bombSnd = new BombSnd();
iceBlastSnd = new IceSnd();
pineappleSnd = new PineSnd();
ceramicSnd = new CeramicSnd();
zeppSmash = new ZeppSmash();
= false;
COST_DART = 250;
COST_TACK = 360;
COST_BOMB = 725;
COST_ICE = 425;
COST_SUPER = 4000;
COST_BOOMERANG = 515;
COST_SPIKES = 30;
COST_GLUE = 35;
COST_SPIKEOPULT = 600;
COST_PINEAPPLE = 25;
COST_BEACON = 1000;
COST_MONKEYSTORM = 1000;
COST_DART_RANGE_UPGRADE1 = 90;
COST_DART_RANGE_UPGRADE2 = 90;
COST_DART_PIERCE_UPGRADE1 = 140;
COST_DART_PIERCE_UPGRADE2 = 120;
COST_TACK_RANGE_UPGRADE1 = 100;
COST_TACK_RANGE_UPGRADE2 = 100;
COST_TACK_RATE_UPGRADE = 200;
COST_TACK_BLADE_UPGRADE = 180;
COST_BOOMERANG_PIERCE_UPGRADE = 270;
COST_BOOMERANG_GLAIVE_UPGRADE = 280;
COST_BOOMERANG_SONIC_UPGRADE = 150;
COST_BOOMERANG_THERMITE_UPGRADE = 120;
COST_BOMB_SIZE_UPGRADE = 430;
COST_BOMB_FRAG_UPGRADE = 220;
COST_BOMB_RANGE_UPGRADE = 200;
COST_BOMB_MISSILE_UPGRADE = 210;
COST_ICE_FREEZE_UPGRADE = 250;
COST_ICE_RANGE_UPGRADE = 200;
COST_ICE_PERMAFROST_UPGRADE = 250;
COST_ICE_SNAP_UPGRADE = 290;
COST_SPIKEOPULT_RANGE_UPGRADE = 250;
COST_SPIKEOPULT_JUGGERNAUT_UPGRADE = 825;
COST_SPIKEOPULT_RATE_UPGRADE = 250;
COST_SPIKEOPULT_MULTISHOT_UPGRADE = 575;
COST_SUPER_RANGE_UPGRADE1 = 1000;
COST_SUPER_RANGE_UPGRADE2 = 1400;
COST_SUPER_LASER_UPGRADE = 3500;
COST_SUPER_PLASMA_UPGRADE = 4000;
COST_BEACON_RANGE_UPGRADE = 500;
COST_BEACON_DRUMS_UPGRADE = 1500;
COST_BEACON_STORM_UPGRADE = 2500;
RANGE_DART = 100;
RANGE_TACK = 70;
RANGE_SPIKEOPULT = 110;
RANGE_BEACON = 120;
RANGE_BOMB = 120;
RANGE_ICE = 60;
RANGE_SUPER = 140;
RANGE_BOOMERANG = 130;
SELL_RATE = 0.8;
STARTING_MONEY = 650;
MAX_LIVES_EASY = 100;
MAX_LIVES_MEDIUM = 75;
MAX_LIVES_HARD = 50;
COST_MULT_EASY = 0.85;
COST_MULT_MED = 1.02;
COST_MULT_HARD = 1.08;
super();
addFrameScript(0, frame1, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 9, frame10, 10, frame11, 11, frame12);
globSpeedMod = 0;
_local1 = loaderInfo.url;
trace(_local1);
}
public function GameOver(_arg1){
ClearBullets();
DeselectCurrent();
ingame = false;
trace("END GAME");
if (!_arg1){
noMore = true;
losepanel.gotoAndPlay("drawOn");
} else {
if (diff == "easy"){
userProfile.data[("bronze" + trackNum)] = "yes";
};
if (diff == "medium"){
userProfile.data[("silver" + trackNum)] = "yes";
};
if (diff == "hard"){
userProfile.data[("gold" + trackNum)] = "yes";
};
userProfile.flush();
UpdateMedals();
winpanel.gotoAndPlay("drawOn");
};
}
public function clickMoreGamesBtn(_arg1:MouseEvent){
var _local2:String;
var _local3:URLRequest;
_local2 = "http://www.ninjakiwi.com";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
public function HideTowerInfo(){
towerinfo.visible = false;
}
public function clickTowerBtn(_arg1:Event){
switch (_arg1.target.name){
case "darttowerbtn":
SetCurrentTool("dart");
break;
case "tacktowerbtn":
SetCurrentTool("tack");
break;
case "icetowerbtn":
SetCurrentTool("ice");
break;
case "bombtowerbtn":
SetCurrentTool("bomb");
break;
case "spikesbtn":
SetCurrentTool("spikes");
break;
case "gluebtn":
SetCurrentTool("glue");
break;
case "boomerangbtn":
SetCurrentTool("boomerang");
break;
case "supermonkeybtn":
SetCurrentTool("super");
break;
case "pineapplebtn":
SetCurrentTool("pineapple");
break;
case "spikeopultbtn":
SetCurrentTool("spikeopult");
break;
case "beaconbtn":
SetCurrentTool("beacon");
break;
case "stormbtn":
if (stormReady){
callMonkeyStorm();
};
break;
};
}
public function clickStartBtn(_arg1:MouseEvent){
StartLevel();
}
public function ClearAll(){
ClearBalloons();
ClearBullets();
numBloons = 0;
ClearTowers();
}
public function PoppedOne(_arg1){
if (!_arg1){
numBloons--;
};
if (curLevel < 51){
money++;
} else {
if (curLevel < 60){
if (random(3) == 0){
money++;
};
} else {
if (random(5) == 0){
money++;
};
};
};
UpdateMoney();
}
function frame10(){
if (!introclip.done){
gotoAndPlay("intro");
};
}
function frame11(){
spinintro.visible = true;
chooseDiffBox.visible = false;
Init();
}
function frame12(){
startrnd_btn.visible = false;
stop();
}
function frame4(){
prog = (this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal);
loadbar.scaleX = prog;
}
public function NewBloon(_arg1:int, _arg2:Number, _arg3, _arg4, _arg5, _arg6, _arg7:Bloon=null){
var _local8:int;
var _local9:String;
var _local10:Bloon;
var _local11:int;
var _local12:int;
var _local13:int;
timeLastBloon = getTimer();
numBloons++;
if ((((((trackNum == 4)) || ((trackNum == 6)))) || ((trackNum == 8)))){
if (!_arg6){
if (trackNum == 4){
_arg6 = (random(2) + 1);
if (_arg1 == 10){
_arg6 = 2;
};
} else {
_arg6 = (random(3) + 1);
if ((((trackNum == 6)) && ((_arg1 == 10)))){
_arg6 = 3;
};
};
};
};
_local8 = _arg1;
_local9 = _arg5;
if (!_arg5){
bloonsSpawned++;
_local9 = ("bloon" + bloonsSpawned);
};
_local11 = 0;
_local12 = 0;
switch (trackNum){
case 1:
_local11 = -54;
_local12 = 14;
switch (_local8){
case 1:
_local10 = new Bloon_1_1();
break;
case 2:
_local10 = new Bloon_2_1();
break;
case 3:
_local10 = new Bloon_3_1();
break;
case 4:
_local10 = new Bloon_4_1();
break;
case 5:
_local10 = new Bloon_5_1();
break;
case 6:
_local10 = new Bloon_6_1();
break;
case 7:
_local10 = new Bloon_7_1();
break;
case 8:
_local10 = new Bloon_8_1();
break;
case 9:
_local10 = new Bloon_9_1();
break;
case 10:
_local10 = new Bloon_10_1();
break;
};
break;
case 2:
_local11 = -48;
_local12 = -133;
switch (_local8){
case 1:
_local10 = new Bloon_1_2();
break;
case 2:
_local10 = new Bloon_2_2();
break;
case 3:
_local10 = new Bloon_3_2();
break;
case 4:
_local10 = new Bloon_4_2();
break;
case 5:
_local10 = new Bloon_5_2();
break;
case 6:
_local10 = new Bloon_6_2();
break;
case 7:
_local10 = new Bloon_7_2();
break;
case 8:
_local10 = new Bloon_8_2();
break;
case 9:
_local10 = new Bloon_9_2();
break;
case 10:
_local10 = new Bloon_10_2();
break;
};
break;
case 3:
_local11 = 47;
_local12 = -174;
switch (_local8){
case 1:
_local10 = new Bloon_1_3();
break;
case 2:
_local10 = new Bloon_2_3();
break;
case 3:
_local10 = new Bloon_3_3();
break;
case 4:
_local10 = new Bloon_4_3();
break;
case 5:
_local10 = new Bloon_5_3();
break;
case 6:
_local10 = new Bloon_6_3();
break;
case 7:
_local10 = new Bloon_7_3();
break;
case 8:
_local10 = new Bloon_8_3();
break;
case 9:
_local10 = new Bloon_9_3();
break;
case 10:
_local10 = new Bloon_10_3();
break;
};
break;
case 4:
_local11 = 337;
_local12 = -164;
if (_arg6 == 1){
switch (_local8){
case 1:
_local10 = new Bloon_1_7_1();
break;
case 2:
_local10 = new Bloon_2_7_1();
break;
case 3:
_local10 = new Bloon_3_7_1();
break;
case 4:
_local10 = new Bloon_4_7_1();
break;
case 5:
_local10 = new Bloon_5_7_1();
break;
case 6:
_local10 = new Bloon_6_7_1();
break;
case 7:
_local10 = new Bloon_7_7_1();
break;
case 8:
_local10 = new Bloon_8_7_1();
break;
case 9:
_local10 = new Bloon_9_7_1();
break;
case 10:
_local10 = new Bloon_10_7_1();
break;
};
} else {
_local12 = -178;
_local11 = 82;
switch (_local8){
case 1:
_local10 = new Bloon_1_7_2();
break;
case 2:
_local10 = new Bloon_2_7_2();
break;
case 3:
_local10 = new Bloon_3_7_2();
break;
case 4:
_local10 = new Bloon_4_7_2();
break;
case 5:
_local10 = new Bloon_5_7_2();
break;
case 6:
_local10 = new Bloon_6_7_2();
break;
case 7:
_local10 = new Bloon_7_7_2();
break;
case 8:
_local10 = new Bloon_8_7_2();
break;
case 9:
_local10 = new Bloon_9_7_2();
break;
case 10:
_local10 = new Bloon_10_7_2();
break;
};
};
break;
case 5:
_local11 = -35;
_local12 = -15;
switch (_local8){
case 1:
_local10 = new Bloon_1_5();
break;
case 2:
_local10 = new Bloon_2_5();
break;
case 3:
_local10 = new Bloon_3_5();
break;
case 4:
_local10 = new Bloon_4_5();
break;
case 5:
_local10 = new Bloon_5_5();
break;
case 6:
_local10 = new Bloon_6_5();
break;
case 7:
_local10 = new Bloon_7_5();
break;
case 8:
_local10 = new Bloon_8_5();
break;
case 9:
_local10 = new Bloon_9_5();
break;
case 10:
_local10 = new Bloon_10_5();
break;
};
break;
case 6:
if (_arg6 == 1){
_local11 = 140;
_local12 = -156;
switch (_local8){
case 1:
_local10 = new Bloon_1_6_1();
break;
case 2:
_local10 = new Bloon_2_6_1();
break;
case 3:
_local10 = new Bloon_3_6_1();
break;
case 4:
_local10 = new Bloon_4_6_1();
break;
case 5:
_local10 = new Bloon_5_6_1();
break;
case 6:
_local10 = new Bloon_6_6_1();
break;
case 7:
_local10 = new Bloon_7_6_1();
break;
case 8:
_local10 = new Bloon_8_6_1();
break;
case 9:
_local10 = new Bloon_9_6_1();
break;
case 10:
_local10 = new Bloon_10_6_1();
break;
};
} else {
if (_arg6 == 2){
_local11 = -65;
_local12 = 135;
switch (_local8){
case 1:
_local10 = new Bloon_1_6_2();
break;
case 2:
_local10 = new Bloon_2_6_2();
break;
case 3:
_local10 = new Bloon_3_6_2();
break;
case 4:
_local10 = new Bloon_4_6_2();
break;
case 5:
_local10 = new Bloon_5_6_2();
break;
case 6:
_local10 = new Bloon_6_6_2();
break;
case 7:
_local10 = new Bloon_7_6_2();
break;
case 8:
_local10 = new Bloon_8_6_2();
break;
case 9:
_local10 = new Bloon_9_6_2();
break;
case 10:
_local10 = new Bloon_10_6_2();
break;
};
} else {
if (_arg6 == 3){
_local11 = -85;
_local12 = -135;
switch (_local8){
case 1:
_local10 = new Bloon_1_6_3();
break;
case 2:
_local10 = new Bloon_2_6_3();
break;
case 3:
_local10 = new Bloon_3_6_3();
break;
case 4:
_local10 = new Bloon_4_6_3();
break;
case 5:
_local10 = new Bloon_5_6_3();
break;
case 6:
_local10 = new Bloon_6_6_3();
break;
case 7:
_local10 = new Bloon_7_6_3();
break;
case 8:
_local10 = new Bloon_8_6_3();
break;
case 9:
_local10 = new Bloon_9_6_3();
break;
case 10:
_local10 = new Bloon_10_6_3();
break;
};
};
};
};
break;
case 7:
_local11 = 240;
_local12 = 378;
switch (_local8){
case 1:
_local10 = new Bloon_1_4();
break;
case 2:
_local10 = new Bloon_2_4();
break;
case 3:
_local10 = new Bloon_3_4();
break;
case 4:
_local10 = new Bloon_4_4();
break;
case 5:
_local10 = new Bloon_5_4();
break;
case 6:
_local10 = new Bloon_6_4();
break;
case 7:
_local10 = new Bloon_7_4();
break;
case 8:
_local10 = new Bloon_8_4();
break;
case 9:
_local10 = new Bloon_9_4();
break;
case 10:
_local10 = new Bloon_10_4();
break;
};
break;
case 8:
if (_arg6 == 1){
_local11 = 250;
_local12 = -175;
switch (_local8){
case 1:
_local10 = new Bloon_1_8_1();
break;
case 2:
_local10 = new Bloon_2_8_1();
break;
case 3:
_local10 = new Bloon_3_8_1();
break;
case 4:
_local10 = new Bloon_4_8_1();
break;
case 5:
_local10 = new Bloon_5_8_1();
break;
case 6:
_local10 = new Bloon_6_8_1();
break;
case 7:
_local10 = new Bloon_7_8_1();
break;
case 8:
_local10 = new Bloon_8_8_1();
break;
case 9:
_local10 = new Bloon_9_8_1();
break;
case 10:
_local10 = new Bloon_10_8_1();
break;
};
} else {
if (_arg6 == 2){
_local11 = -66;
_local12 = -66;
switch (_local8){
case 1:
_local10 = new Bloon_1_8_2();
break;
case 2:
_local10 = new Bloon_2_8_2();
break;
case 3:
_local10 = new Bloon_3_8_2();
break;
case 4:
_local10 = new Bloon_4_8_2();
break;
case 5:
_local10 = new Bloon_5_8_2();
break;
case 6:
_local10 = new Bloon_6_8_2();
break;
case 7:
_local10 = new Bloon_7_8_2();
break;
case 8:
_local10 = new Bloon_8_8_2();
break;
case 9:
_local10 = new Bloon_9_8_2();
break;
case 10:
_local10 = new Bloon_10_8_2();
break;
};
} else {
if (_arg6 == 3){
_local11 = -72;
_local12 = 212;
switch (_local8){
case 1:
_local10 = new Bloon_1_8_3();
break;
case 2:
_local10 = new Bloon_2_8_3();
break;
case 3:
_local10 = new Bloon_3_8_3();
break;
case 4:
_local10 = new Bloon_4_8_3();
break;
case 5:
_local10 = new Bloon_5_8_3();
break;
case 6:
_local10 = new Bloon_6_8_3();
break;
case 7:
_local10 = new Bloon_7_8_3();
break;
case 8:
_local10 = new Bloon_8_8_3();
break;
case 9:
_local10 = new Bloon_9_8_3();
break;
case 10:
_local10 = new Bloon_10_8_3();
break;
};
};
};
};
break;
};
bloonholder.addChild(_local10);
_local10.rank = _local8;
_local10.x = (_local11 + random(10));
_local10.y = (_local12 + random(10));
_local10.game = this;
_local10.side = _arg6;
_local10.stop();
if (_arg2){
_local13 = Math.round((_arg2 * _local10.totalFrames));
_local10.gotoAndStop(_local13);
_local10.frame = _local10.currentFrame;
_local10.x = _arg3;
_local10.y = _arg4;
};
if (_arg7 != null){
trace(("inherit: " + _arg7.freezer));
_local10.freezeMe(false, null, _arg7);
};
}
function frame5(){
if (framesLoaded == totalFrames){
play();
} else {
gotoAndPlay("load");
};
}
public function StartLevel(){
if (((!(noMore)) && ((numBloons == 0)))){
return;
};
timeLastBloon = getTimer();
endRoundCount = 0;
startrnd_btn.visible = false;
output.gotoAndPlay("drawOff");
trace("START NEW LEVEL");
curLevel++;
if (curLevel > 50){
globSpeedMod = ((curLevel - 50) / 15);
if (diff == "medium"){
globSpeedMod = (globSpeedMod + 0.1);
};
if (diff == "hard"){
globSpeedMod = (globSpeedMod + 0.25);
};
};
roundnum_txt.text = ((("Round " + curLevel) + " ") + diff);
ingame = true;
noMore = false;
counter = 0;
numBloons = 0;
bloonIndex = 0;
bloonsSpawned = 0;
bloonInterval = (20 - curLevel);
if (bloonInterval < 7){
bloonInterval = Math.ceil((7 - (curLevel / 20)));
};
switch (trackNum){
case 4:
case 6:
case 8:
bloonInterval = Math.ceil((bloonInterval * 1.3));
break;
};
}
function frame1(){
myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
this.contextMenu = myMenu;
ourgame = new ContextMenuItem("Bloons Tower Defense 3 by Ninjakiwi");
copyrightNotice = new ContextMenuItem("© 2008 Kaiparasoft Ltd");
myMenu.customItems.push(ourgame, copyrightNotice);
MochiAd.showPreGameAd({clip:root, id:"594ca4ae1f3c3fc3", res:"640x480", background:0xFFFFFF, color:26367, outline:0xFFFFFF, no_bg:false});
MochiBot.track(this, "f7655d59");
}
function frame7(){
introclip.addEventListener(MouseEvent.CLICK, gotoNK);
}
public function deselectBuy(_arg1:MouseEvent){
DeselectCurrent();
}
public function rolloverTowerBtn(_arg1:Event){
switch (_arg1.target.name){
case "darttowerbtn":
ShowTowerInfo("dart");
break;
case "tacktowerbtn":
ShowTowerInfo("tack");
break;
case "icetowerbtn":
ShowTowerInfo("ice");
break;
case "bombtowerbtn":
ShowTowerInfo("bomb");
break;
case "spikesbtn":
ShowTowerInfo("spikes");
break;
case "gluebtn":
ShowTowerInfo("glue");
break;
case "boomerangbtn":
ShowTowerInfo("boomerang");
break;
case "supermonkeybtn":
ShowTowerInfo("super");
break;
case "pineapplebtn":
ShowTowerInfo("pineapple");
break;
case "spikeopultbtn":
ShowTowerInfo("spikeopult");
break;
case "beaconbtn":
ShowTowerInfo("beacon");
break;
case "stormbtn":
ShowTowerInfo("storm");
break;
};
}
public function rolloffTowerBtn(_arg1:Event){
HideTowerInfo();
}
function frame6(){
if (Capabilities.playerType == "External"){
gotoAndStop("main");
};
}
public function SetUpSound(){
}
function (){
}
function random(_arg1){
return (Math.floor((Math.random() * _arg1)));
}
public function ClearBullets(){
var _local1:Bullet;
while (bulletholder.numChildren) {
_local1 = bulletholder.getChildAt(0);
bulletholder.removeChildAt(0);
_local1 = null;
};
bulletlist = new Array();
}
public function RemoveTower(_arg1){
var _local2:int;
_local2 = 0;
while (_local2 < towerlist.length) {
if (_arg1 == towerlist[_local2]){
towerlist.splice(_local2, 1);
towerholder.removeChild(_arg1);
_arg1 = null;
return;
};
_local2++;
};
}
public function ShowTowerInfo(_arg1){
towerinfo.visible = true;
switch (_arg1){
case "dart":
towerinfo.towername_txt.text = "Dart Monkey";
towerinfo.towercost_txt.text = GetPrice(COST_DART);
towerinfo.towerinfo_txt.text = "Shoots a single dart. Can upgrade to piercing darts, razor darts and long range darts";
break;
case "tack":
towerinfo.towername_txt.text = "Tack Shooter";
towerinfo.towercost_txt.text = GetPrice(COST_TACK);
towerinfo.towerinfo_txt.text = "Shoots volley of tacks in 8 directions. Can upgrade to a blade shooter.";
break;
case "spikes":
towerinfo.towername_txt.text = "Road Spikes";
towerinfo.towercost_txt.text = GetPrice(COST_SPIKES);
towerinfo.towerinfo_txt.text = "Place these road spikes on the track to pop bloons. Can pop 10 bloons before wearing out. Road spikes only last until the end of the round.";
break;
case "glue":
towerinfo.towername_txt.text = "Monkey Glue";
towerinfo.towercost_txt.text = GetPrice(COST_GLUE);
towerinfo.towerinfo_txt.text = "Monkey glue slows down bloons. Each blob can slow down 20 bloons before wearing out. Monkey glue only lasts until the end of the round.";
break;
case "boomerang":
towerinfo.towername_txt.text = "Boomerang";
towerinfo.towercost_txt.text = GetPrice(COST_BOOMERANG);
towerinfo.towerinfo_txt.text = "Throws a boomerang that follows a curved path back to the tower. Can pop multiple bloons at once. Upgrades to glaive thrower.";
break;
case "bomb":
towerinfo.towername_txt.text = "Cannon";
towerinfo.towercost_txt.text = GetPrice(COST_BOMB);
towerinfo.towerinfo_txt.text = "Launches a bomb that explodes on impact. Can upgrade to bigger bombs and longer range, and Missile Launcher.";
break;
case "ice":
towerinfo.towername_txt.text = "Ice Ball";
towerinfo.towercost_txt.text = GetPrice(COST_ICE);
towerinfo.towerinfo_txt.text = "Freezes nearby bloons. Frozen bloons are immune to anything sharp. Can upgrade to increased freeze time, and larger freeze radius.";
break;
case "super":
towerinfo.towername_txt.text = "Super Monkey";
towerinfo.towercost_txt.text = GetPrice(COST_SUPER);
towerinfo.towerinfo_txt.text = "Super monkey shoots incredibly fast. Can upgrade to epic range, laser vision, and more!";
break;
case "pineapple":
towerinfo.towername_txt.text = "Pineapple";
towerinfo.towercost_txt.text = GetPrice(COST_PINEAPPLE);
towerinfo.towerinfo_txt.text = "Like all healthy food, pineapples explode violently shortly after being placed, so don't put any down until you want to blow up some bloons.";
break;
case "storm":
if (stormReady){
towerinfo.towername_txt.text = "Monkey Storm";
towerinfo.towercost_txt.text = GetPrice(COST_MONKEYSTORM);
towerinfo.towerinfo_txt.text = "Call in a storm of Super Monkeys - expensive, but it will wipe the screen clean of all bloons.";
} else {
towerinfo.towername_txt.text = "TOP SECRET";
towerinfo.towercost_txt.text = "Classified";
towerinfo.towerinfo_txt.text = "Classified top secret - by order of super monkey collective.";
};
break;
case "spikeopult":
towerinfo.towername_txt.text = "Spike-o-pult";
towerinfo.towercost_txt.text = GetPrice(COST_SPIKEOPULT);
towerinfo.towerinfo_txt.text = "Hurls a huge spiked ball that pops everything it touches. Can upgrade range, speed, and multi-shot";
break;
case "beacon":
towerinfo.towername_txt.text = "Monkey Beacon";
towerinfo.towercost_txt.text = GetPrice(COST_BEACON);
towerinfo.towerinfo_txt.text = "Increases the attack range of all stuff within the beacon area. Can upgrade to increase attack speed in the area, and grants access to the most powerful ability ever.";
break;
};
}
public function UpdateTowers(){
var _local1:int;
_local1 = 0;
while (_local1 < towerlist.length) {
towerlist[_local1].Update();
_local1++;
};
}
public function yesimsure(){
mainmenu.visible = true;
Init();
}
public function SetCurrentTool(_arg1){
var _local2:int;
_local2 = 0;
switch (_arg1){
case "dart":
_local2 = GetPrice(COST_DART);
break;
case "tack":
_local2 = GetPrice(COST_TACK);
break;
case "spikes":
_local2 = GetPrice(COST_SPIKES);
break;
case "glue":
_local2 = GetPrice(COST_GLUE);
break;
case "bomb":
_local2 = GetPrice(COST_BOMB);
break;
case "ice":
_local2 = GetPrice(COST_ICE);
break;
case "super":
_local2 = GetPrice(COST_SUPER);
break;
case "boomerang":
_local2 = GetPrice(COST_BOOMERANG);
break;
case "spikeopult":
_local2 = GetPrice(COST_SPIKEOPULT);
break;
case "storm":
_local2 = GetPrice(COST_MONKEYSTORM);
break;
case "pineapple":
_local2 = GetPrice(COST_PINEAPPLE);
break;
};
if (_local2 > money){
return;
};
DeselectCurrent();
towerplace.gotoAndStop("tack");
towerplace.gotoAndStop(_arg1);
towerplace.radiusmc.cantplace.gotoAndPlay(1);
currentTool = _arg1;
cancelbuybtn.visible = true;
}
public function Output(_arg1){
output.inner.output_txt.text = _arg1;
if (!output.visible){
output.gotoAndPlay("drawOn");
};
}
public function Init(){
var _local1:int;
var _local2:*;
sndbtn.addEventListener(MouseEvent.CLICK, sndToggle);
cancelbuybtn.visible = false;
userProfile = SharedObject.getLocal("btd3");
stormReady = false;
haveCurTower = false;
freeplaymode = false;
timeLastBloon = getTimer();
UpdateMedals();
output.visible = false;
addEventListener(Event.ENTER_FRAME, EnterFrame);
stage.addEventListener(KeyboardEvent.KEY_DOWN, ResolveInput);
hitarea.addEventListener(MouseEvent.MOUSE_DOWN, OnClick);
darttowerbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
darttowerbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
darttowerbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
tacktowerbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
tacktowerbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
tacktowerbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
icetowerbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
icetowerbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
icetowerbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
cancelbuybtn.addEventListener(MouseEvent.MOUSE_DOWN, deselectBuy);
bombtowerbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
bombtowerbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
bombtowerbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
spikeopultbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
spikeopultbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
spikeopultbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
beaconbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
beaconbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
beaconbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
pineapplebtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
pineapplebtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
pineapplebtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
stormbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
stormbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
stormbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
spikesbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
spikesbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
spikesbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
gluebtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
gluebtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
gluebtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
boomerangbtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
boomerangbtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
boomerangbtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
supermonkeybtn.addEventListener(MouseEvent.MOUSE_DOWN, clickTowerBtn);
supermonkeybtn.addEventListener(MouseEvent.ROLL_OVER, rolloverTowerBtn);
supermonkeybtn.addEventListener(MouseEvent.ROLL_OUT, rolloffTowerBtn);
startrnd_btn.addEventListener(MouseEvent.MOUSE_DOWN, clickStartBtn);
endgamebtn.addEventListener(MouseEvent.MOUSE_DOWN, clickEndgameBtn);
moregamesbtn.addEventListener(MouseEvent.CLICK, clickMoreGamesBtn);
moregamesbtn.buttonMode = true;
output.addEventListener(MouseEvent.MOUSE_DOWN, endOutput);
toweroptions.upgrade1.upgrade = "na";
toweroptions.upgrade2.upgrade = "na";
toweroptions.upgrade1.buttonMode = true;
toweroptions.upgrade2.buttonMode = true;
toweroptions.upgrade1.addEventListener(MouseEvent.MOUSE_DOWN, clickUpgradeBtn);
toweroptions.upgrade2.addEventListener(MouseEvent.MOUSE_DOWN, clickUpgradeBtn);
roundnum_txt.text = "";
_local1 = 0;
while (_local1 < pathhitmc.numChildren) {
_local2 = pathhitmc.getChildAt(_local1);
if ((_local2 is Pathhit)){
_local2.visible = false;
};
_local1++;
};
timeLastFrame = getTimer();
fpsFrameCount = 0;
timeSum = 0;
levelsArray = new Array();
levelHints = new Array();
towerinfo.visible = false;
startrnd_btn.visible = true;
ClearAll();
BuildLevels();
BuildLevelHints();
if (diff == "easy"){
lives = MAX_LIVES_EASY;
costmult = COST_MULT_EASY;
};
if (diff == "medium"){
lives = MAX_LIVES_MEDIUM;
costmult = COST_MULT_MED;
};
if (diff == "hard"){
lives = MAX_LIVES_HARD;
costmult = COST_MULT_HARD;
};
lives_txt.text = lives;
curLevel = 0;
money = STARTING_MONEY;
noMore = true;
currentTool = "none";
ingame = false;
towerlist = new Array();
bulletlist = new Array();
lives_txt.text = lives;
UpdateMoney();
SetUpSound();
}
public function BuildLevels(){
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
ABSTL(14, 1, 1);
ABSTL(30, 2, 1);
ABSTL(10, 3, 1);
ABSTL(4, 3, 2);
ABSTL(5, 3, 1);
ABSTL(4, 3, 2);
ABSTL(5, 4, 1);
ABSTL(12, 4, 2);
ABSTL(5, 4, 1);
ABSTL(12, 4, 2);
ABSTL(10, 5, 1);
ABSTL(8, 5, 2);
ABSTL(12, 5, 1);
ABSTL(20, 5, 2);
ABSTL(13, 6, 1);
ABSTL(7, 6, 3);
ABSTL(50, 7, 2);
ABSTL(9, 8, 1);
ABSTL(16, 8, 2);
ABSTL(9, 8, 1);
ABSTL(7, 8, 2);
ABSTL(9, 8, 1);
ABSTL(7, 8, 2);
ABSTL(8, 6, 3);
ABSTL(20, 9, 2);
ABSTL(15, 9, 3);
ABSTL(12, 9, 2);
ABSTL(32, 10, 3);
ABSTL(12, 11, 3);
ABSTL(7, 11, 4);
ABSTL(1, 12, 8);
ABSTL(4, 11, 4);
ABSTL(18, 13, 2);
ABSTL(18, 13, 1);
ABSTL(30, 13, 3);
ABSTL(20, 13, 2);
ABSTL(1, 14, 8);
ABSTL(12, 14, 4);
ABSTL(8, 15, 4);
ABSTL(6, 15, 3);
ABSTL(8, 15, 4);
ABSTL(8, 15, 3);
ABSTL(5, 15, 4);
ABSTL(35, 16, 3);
ABSTL(15, 16, 4);
ABSTL(9, 16, 2);
ABSTL(7, 16, 4);
ABSTL(20, 17, 2);
ABSTL(55, 17, 3);
ABSTL(10, 17, 4);
ABSTL(30, 18, 2);
ABSTL(25, 18, 4);
ABSTL(28, 18, 3);
ABSTL(45, 19, 3);
ABSTL(25, 19, 4);
ABSTL(5, 20, 7);
ABSTL(17, 21, 4);
ABSTL(10, 21, 2);
ABSTL(27, 21, 4);
ABSTL(10, 21, 3);
ABSTL(30, 21, 3);
ABSTL(50, 22, 4);
ABSTL(30, 23, 4);
ABSTL(35, 23, 3);
ABSTL(30, 23, 4);
ABSTL(30, 24, 3);
ABSTL(45, 24, 4);
ABSTL(26, 24, 3);
ABSTL(20, 24, 2);
ABSTL(20, 25, 4);
ABSTL(15, 25, 5);
ABSTL(22, 25, 4);
ABSTL(80, 26, 4);
ABSTL(15, 26, 5);
ABSTL(35, 27, 5);
ABSTL(19, 28, 5);
ABSTL(16, 28, 6);
ABSTL(20, 26, 4);
ABSTL(14, 26, 7);
ABSTL(6, 29, 7);
ABSTL(12, 29, 5);
ABSTL(14, 29, 6);
ABSTL(60, 30, 4);
ABSTL(28, 30, 5);
ABSTL(2, 31, 9);
ABSTL(20, 32, 4);
ABSTL(16, 32, 6);
ABSTL(22, 32, 5);
ABSTL(60, 33, 5);
ABSTL(3, 33, 9);
ABSTL(25, 34, 5);
ABSTL(25, 34, 6);
ABSTL(50, 34, 4);
ABSTL(4, 34, 9);
ABSTL(12, 35, 8);
ABSTL(11, 36, 5);
ABSTL(12, 36, 4);
ABSTL(10, 36, 5);
ABSTL(10, 36, 7);
ABSTL(12, 36, 6);
ABSTL(9, 36, 5);
ABSTL(1, 37, 10);
ABSTL(1, 38, 9);
ABSTL(60, 38, 4);
ABSTL(50, 38, 5);
ABSTL(4, 38, 9);
ABSTL(50, 39, 4);
ABSTL(22, 39, 5);
ABSTL(22, 39, 6);
ABSTL(10, 39, 7);
ABSTL(9, 39, 8);
ABSTL(64, 40, 5);
ABSTL(5, 40, 9);
ABSTL(25, 39, 6);
ABSTL(18, 41, 6);
ABSTL(14, 41, 7);
ABSTL(16, 41, 8);
ABSTL(10, 42, 9);
ABSTL(100, 42, 4);
ABSTL(54, 42, 5);
ABSTL(23, 43, 8);
ABSTL(20, 43, 7);
ABSTL(5, 43, 9);
ABSTL(5, 44, 9);
ABSTL(130, 44, 5);
ABSTL(1, 44, 10);
ABSTL(12, 46, 8);
ABSTL(11, 45, 9);
ABSTL(90, 45, 6);
ABSTL(8, 46, 9);
ABSTL(38, 46, 7);
ABSTL(18, 46, 8);
ABSTL(20, 47, 5);
ABSTL(40, 47, 6);
ABSTL(6, 47, 9);
ABSTL(18, 47, 7);
ABSTL(15, 47, 8);
ABSTL(6, 47, 9);
ABSTL(25, 48, 8);
ABSTL(30, 48, 6);
ABSTL(30, 48, 5);
ABSTL(25, 48, 7);
ABSTL(12, 48, 8);
ABSTL(5, 49, 9);
ABSTL(34, 49, 8);
ABSTL(17, 49, 9);
ABSTL(8, 50, 9);
ABSTL(13, 50, 8);
ABSTL(6, 50, 7);
ABSTL(5, 50, 9);
ABSTL(7, 50, 8);
ABSTL(6, 50, 7);
ABSTL(9, 50, 8);
ABSTL(4, 50, 7);
ABSTL(9, 50, 8);
ABSTL(2, 50, 10);
_local1 = 51;
while (_local1 < 150) {
_local2 = ((7 + _local1) - 50);
_local3 = 0;
while (_local3 < _local2) {
_local4 = 5;
_local5 = random(_local1);
if (diff == "medium"){
_local5 = (_local5 + 3);
};
if (diff == "hard"){
_local5 = (_local5 + 7);
};
if (_local5 > 10){
_local4 = 6;
};
if (_local5 > 16){
_local4 = 7;
};
if (_local5 > 29){
_local4 = 8;
};
if (_local5 > 39){
_local4 = 9;
};
if (_local5 > 47){
_local4 = 10;
};
switch (_local4){
case 5:
ABSTL(10, _local1, _local4);
break;
case 6:
ABSTL(10, _local1, _local4);
break;
case 7:
ABSTL(10, _local1, _local4);
break;
case 8:
ABSTL((_local1 - 40), _local1, _local4);
break;
case 9:
ABSTL((_local1 - 42), _local1, _local4);
break;
case 10:
ABSTL(Math.round(((_local1 - 50) / 3)), _local1, _local4);
break;
};
_local3++;
};
_local1++;
};
}
public function ResolveInput(_arg1:KeyboardEvent){
if (_arg1.keyCode == 27){
DeselectCurrent();
};
}
public function UpdateMoney(){
money_txt.text = money;
if (currentTower != null){
toweroptions.popcount_txt.text = ("Pop Count: " + currentTower.popcount);
toweroptions.upgrade1.CheckAfford();
toweroptions.upgrade2.CheckAfford();
};
}
function EnterFrame(_arg1:Event){
var _local2:Boolean;
var _local3:int;
var _local4:*;
if (stormReady){
stormbtn.gotoAndStop(2);
} else {
stormbtn.gotoAndStop(1);
};
if (haveCurTower == true){
EnableOptions();
} else {
DisableOptions();
};
if (currentTool != "none"){
towerplace.x = mouseX;
towerplace.y = mouseY;
_local2 = false;
if (mouseX > 460){
_local2 = true;
};
_local3 = 0;
while (_local3 < towerlist.length) {
if (towerlist[_local3].hitbit.hitTestObject(towerplace.hitbit)){
towerplace.radiusmc.gotoAndStop(2);
_local2 = true;
break;
};
_local3++;
};
if (((((!((currentTool == "spikes"))) && (!((currentTool == "glue"))))) && (!((currentTool == "pineapple"))))){
_local3 = 0;
while (_local3 < pathhitmc.numChildren) {
_local4 = pathhitmc.getChildAt(_local3);
if ((_local4 is Pathhit)){
if (_local4.hitTestObject(towerplace.hitbit)){
towerplace.radiusmc.gotoAndStop(2);
break;
} else {
if (!_local2){
towerplace.radiusmc.gotoAndStop(1);
};
};
};
_local3++;
};
} else {
_local3 = 0;
while (_local3 < pathhitmc.numChildren) {
_local4 = pathhitmc.getChildAt(_local3);
if ((_local4 is Pathhit)){
if (_local4.hitTestObject(towerplace.hitbit)){
towerplace.radiusmc.gotoAndStop(2);
break;
} else {
if (!_local2){
towerplace.radiusmc.gotoAndStop(1);
};
};
};
_local3++;
};
_local3 = 1;
while (_local3 < 33) {
if (_local4.hitTestObject(towerplace.hitbit)){
if (!_local2){
towerplace.radiusmc.gotoAndStop(1);
break;
};
} else {
towerplace.radiusmc.gotoAndStop(2);
};
_local3++;
};
};
} else {
towerplace.x = 1500;
towerplace.y = 1500;
};
if (!ingame){
return;
};
if (((((getTimer() - timeLastBloon) > 5000)) && ((numBloons < 1)))){
noMore = true;
EndLevel();
endRoundCount = 0;
return;
};
if (!noMore){
counter++;
if (counter > bloonInterval){
counter = 0;
NewBloon(levelsArray[(curLevel - 1)][bloonIndex], 0, 0, 0, false, false);
bloonIndex++;
if (!levelsArray[(curLevel - 1)][bloonIndex]){
trace("no more bloons");
noMore = true;
};
};
} else {
if (numBloons < 1){
if (endRoundCount > 20){
trace("end lev");
EndLevel();
endRoundCount = 0;
} else {
endRoundCount++;
};
};
};
UpdateTowers();
UpdateBullets();
CalcFPS();
}
public function SellCurrentTower(){
if (haveCurTower == true){
money = (money + Math.floor((SELL_RATE * currentTower.spentonme)));
UpdateMoney();
if (currentTower.type == "beacon"){
currentTower.deleteBeacon();
};
RemoveTower(currentTower);
DeselectCurrent();
};
}
public function doStormHittest(){
var _local1:int;
var _local2:Bloon;
_local1 = 0;
while (_local1 < bloonholder.numChildren) {
_local2 = bloonholder.getChildAt(_local1);
if (((_local2.popped) || (_local2.done))){
};
if (_local2.rank == 10){
} else {
if (monkeystorm.inner.hitTestObject(_local2)){
_local2.Pop("storm", null, false);
};
};
_local1++;
};
}
public function endOutput(_arg1:MouseEvent){
output.gotoAndPlay("drawOff");
}
public function ShootBullet(_arg1, _arg2){
var _local3:String;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Bullet;
var _local10:Number;
var _local11:Number;
_local4 = 0;
_local5 = 0;
if (_arg1){
_local3 = _arg1.type;
if ((((_arg1.type == "bomb")) && (_arg1.alive))){
_local4 = _arg1.x;
_local5 = _arg1.y;
_arg1 = _arg1.shooter;
_local3 = "frag";
};
} else {
_local3 = currentTool;
};
if (_arg1){
if (_arg1.laser){
_local3 = "laser";
};
};
_local6 = 0;
_local7 = 0;
_local8 = 0;
if (_arg2){
_local7 = (((_arg2.x + _arg2.inner.x) - 10) - _arg1.x);
_local8 = (((_arg2.y + _arg2.inner.y) - 15) - _arg1.y);
_local10 = Math.sqrt(((_local7 * _local7) + (_local8 * _local8)));
_local7 = (_local7 / _local10);
_local8 = (_local8 / _local10);
_local6 = _arg1.shootPower;
};
switch (_local3){
case "dart":
_local9 = new Dart();
break;
case "boomerang":
if (_arg1.transformed){
_local9 = new Glaive();
} else {
_local9 = new Boomerang();
};
break;
case "tack":
if (_arg1.transformed){
_local9 = new Blades();
} else {
_local9 = new Tack();
};
break;
case "spikeopult":
if (_arg1.transformed){
_local9 = new SpikeyBalls();
} else {
_local9 = new SpikeyBall();
};
break;
case "bomb":
if (_arg1.transformed){
_local9 = new Missile();
} else {
_local9 = new Bomb();
};
break;
case "frag":
_local9 = new Frags();
break;
case "ice":
_local9 = new IceBomb();
break;
case "super":
_local9 = new SuperDart();
break;
case "laser":
if (_arg1.upgrade4){
_local9 = new Plasma();
} else {
_local9 = new Laser();
};
break;
case "spikes":
_local9 = new RoadSpikes();
break;
case "glue":
_local9 = new Glue();
break;
case "pineapple":
_local9 = new Pineapple();
break;
default:
_local9 = new Dart();
break;
};
if (_local9){
bulletholder.addChild(_local9);
if (_arg1){
if (_local3 == "frag"){
_local9.x = _local4;
_local9.y = _local5;
_local9.pierceMax = 1;
_local9.isspread = true;
_local9.icebreak = false;
_local9.leadbreak = false;
} else {
_local9.x = (_arg1.x + (_local7 * 10));
_local9.y = (_arg1.y + (_local8 * 10));
_local9.pierceMax = _arg1.pierceMax;
_local9.isspread = _arg1.isspread;
_local9.icebreak = _arg1.icebreak;
_local9.leadbreak = _arg1.leadbreak;
};
_local9.shooter = _arg1;
_local9.scaleX = (_local9.scaleY = _arg1.bulletScale);
} else {
_local9.x = mouseX;
_local9.y = mouseY;
};
_local9.vx = (_local7 * _local6);
_local9.vy = (_local8 * _local6);
_local9.game = this;
_local9.type = _local3;
_local9.cacheAsBitmap = true;
_local11 = Math.atan((_local8 / _local7));
_local11 = ((180 / Math.PI) * _local11);
_local9.rotation = (_local11 + 90);
if ((((_local9.rotation > 90)) && ((_local8 < 0)))){
_local9.rotation = (_local9.rotation - 180);
};
if ((((_local7 < 0)) && ((_local8 > 0)))){
_local9.rotation = (_local9.rotation - 180);
};
if (_arg2){
_arg1.rotation = _local9.rotation;
if (((!((_local3 == "laser"))) && (_arg1.inner.arm))){
_arg1.inner.arm.gotoAndPlay(3);
};
};
bulletlist.push(_local9);
};
}
public function DeselectCurrent(){
cancelbuybtn.visible = false;
currentTool = "none";
if (haveCurTower == true){
currentTower.radiusmc.visible = false;
haveCurTower = false;
};
}
public function GetUpgrade(_arg1){
switch (_arg1){
case "dart1":
money = (money - GetPrice(COST_DART_RANGE_UPGRADE1));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_DART_RANGE_UPGRADE1));
currentTower.upgrade1 = true;
if (currentTower.type == "dart"){
currentTower.attackRadius = (currentTower.attackRadius + 25);
};
break;
case "dart2":
money = (money - GetPrice(COST_DART_RANGE_UPGRADE2));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_DART_RANGE_UPGRADE2));
currentTower.upgrade2 = true;
if (currentTower.type == "dart"){
currentTower.attackRadius = (currentTower.attackRadius + 25);
};
break;
case "dart3":
money = (money - GetPrice(COST_DART_PIERCE_UPGRADE1));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_DART_PIERCE_UPGRADE1));
currentTower.upgrade3 = true;
if (currentTower.type == "dart"){
currentTower.pierceMax = (currentTower.pierceMax + 1);
};
break;
case "dart4":
money = (money - GetPrice(COST_DART_PIERCE_UPGRADE2));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_DART_PIERCE_UPGRADE2));
currentTower.upgrade4 = true;
if (currentTower.type == "dart"){
currentTower.pierceMax = (currentTower.pierceMax + 1);
};
break;
case "tack1":
money = (money - GetPrice(COST_TACK_RATE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_TACK_RATE_UPGRADE));
currentTower.upgrade1 = true;
if (currentTower.type == "tack"){
currentTower.attackRate = (currentTower.attackRate - 15);
};
break;
case "tack2":
money = (money - GetPrice(COST_TACK_BLADE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_TACK_BLADE_UPGRADE));
currentTower.upgrade2 = true;
if (currentTower.type == "tack"){
currentTower.attackRate = (currentTower.attackRate - 5);
currentTower.transformed = true;
currentTower.gotoAndStop(2);
currentTower.timeSinceLastShot = 0;
};
break;
case "tack3":
money = (money - GetPrice(COST_TACK_RANGE_UPGRADE1));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_TACK_RANGE_UPGRADE1));
currentTower.upgrade3 = true;
if (currentTower.type == "tack"){
currentTower.bulletScale = 1.3;
currentTower.attackRadius = (currentTower.attackRadius + 10);
};
break;
case "tack4":
money = (money - GetPrice(COST_TACK_RANGE_UPGRADE2));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_TACK_RANGE_UPGRADE2));
currentTower.upgrade4 = true;
if (currentTower.type == "tack"){
currentTower.bulletScale = 1.5;
currentTower.attackRadius = (currentTower.attackRadius + 10);
};
break;
case "boomerang1":
money = (money - GetPrice(COST_BOOMERANG_PIERCE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOOMERANG_PIERCE_UPGRADE));
currentTower.upgrade1 = true;
if (currentTower.type == "boomerang"){
currentTower.pierceMax = (currentTower.pierceMax + 3);
};
break;
case "boomerang2":
money = (money - GetPrice(COST_BOOMERANG_GLAIVE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOOMERANG_GLAIVE_UPGRADE));
currentTower.upgrade2 = true;
if (currentTower.type == "boomerang"){
currentTower.transformed = true;
currentTower.gotoAndStop(2);
currentTower.pierceMax = (currentTower.pierceMax + 3);
currentTower.timeSinceLastShot = 0;
};
break;
case "boomerang3":
money = (money - GetPrice(COST_BOOMERANG_SONIC_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOOMERANG_SONIC_UPGRADE));
currentTower.upgrade3 = true;
if (currentTower.type == "boomerang"){
currentTower.icebreak = true;
};
break;
case "boomerang4":
money = (money - GetPrice(COST_BOOMERANG_THERMITE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOOMERANG_THERMITE_UPGRADE));
currentTower.upgrade4 = true;
if (currentTower.type == "boomerang"){
currentTower.leadbreak = true;
};
break;
case "bomb1":
money = (money - GetPrice(COST_BOMB_SIZE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOMB_SIZE_UPGRADE));
currentTower.upgrade1 = true;
if (currentTower.type == "bomb"){
currentTower.bulletScale = 1.5;
};
break;
case "bomb2":
money = (money - GetPrice(COST_BOMB_FRAG_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOMB_FRAG_UPGRADE));
currentTower.upgrade2 = true;
if (currentTower.type == "bomb"){
};
break;
case "bomb3":
money = (money - GetPrice(COST_BOMB_RANGE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOMB_RANGE_UPGRADE));
currentTower.upgrade3 = true;
if (currentTower.type == "bomb"){
currentTower.attackRadius = (currentTower.attackRadius + 20);
};
break;
case "bomb4":
money = (money - GetPrice(COST_BOMB_MISSILE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BOMB_MISSILE_UPGRADE));
currentTower.upgrade4 = true;
if (currentTower.type == "bomb"){
currentTower.transformed = true;
currentTower.shootPower = 25;
currentTower.attackRate = (currentTower.attackRate - 8);
currentTower.gotoAndStop(2);
currentTower.timeSinceLastShot = 0;
};
break;
case "ice1":
money = (money - GetPrice(COST_ICE_FREEZE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_ICE_FREEZE_UPGRADE));
currentTower.upgrade1 = true;
if (currentTower.type == "ice"){
currentTower.freezeLen = (currentTower.freezeLen + 20);
};
break;
case "ice2":
money = (money - GetPrice(COST_ICE_PERMAFROST_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_ICE_PERMAFROST_UPGRADE));
currentTower.upgrade2 = true;
break;
case "ice3":
money = (money - GetPrice(COST_ICE_RANGE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_ICE_RANGE_UPGRADE));
currentTower.upgrade3 = true;
if (currentTower.type == "ice"){
currentTower.bulletScale = 1;
currentTower.attackRadius = (currentTower.attackRadius + 15);
};
break;
case "ice4":
money = (money - GetPrice(COST_ICE_SNAP_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_ICE_SNAP_UPGRADE));
currentTower.upgrade4 = true;
if (currentTower.type == "ice"){
};
break;
case "super1":
money = (money - GetPrice(COST_SUPER_RANGE_UPGRADE1));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SUPER_RANGE_UPGRADE1));
currentTower.upgrade1 = true;
if (currentTower.type == "super"){
currentTower.attackRadius = (currentTower.attackRadius + 50);
};
break;
case "super2":
money = (money - GetPrice(COST_SUPER_RANGE_UPGRADE2));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SUPER_RANGE_UPGRADE2));
currentTower.upgrade2 = true;
if (currentTower.type == "super"){
currentTower.attackRadius = (currentTower.attackRadius + 50);
};
break;
case "super3":
money = (money - GetPrice(COST_SUPER_LASER_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SUPER_LASER_UPGRADE));
currentTower.upgrade3 = true;
if (currentTower.type == "super"){
currentTower.pierceMax = (currentTower.pierceMax + 1);
currentTower.icebreak = true;
currentTower.laser = true;
};
break;
case "super4":
money = (money - GetPrice(COST_SUPER_PLASMA_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SUPER_PLASMA_UPGRADE));
currentTower.upgrade4 = true;
if (currentTower.type == "super"){
currentTower.pierceMax = (currentTower.pierceMax + 1);
currentTower.icebreak = true;
currentTower.leadbreak = true;
currentTower.laser = true;
currentTower.attackRate = 1;
};
break;
case "spikeopult1":
money = (money - GetPrice(COST_SPIKEOPULT_RANGE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SPIKEOPULT_RANGE_UPGRADE));
currentTower.upgrade1 = true;
if (currentTower.type == "spikeopult"){
currentTower.attackRadius = (currentTower.attackRadius + 20);
};
break;
case "spikeopult2":
money = (money - GetPrice(COST_SPIKEOPULT_JUGGERNAUT_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SPIKEOPULT_JUGGERNAUT_UPGRADE));
currentTower.upgrade2 = true;
currentTower.pierceMax = 20;
break;
case "spikeopult3":
money = (money - GetPrice(COST_SPIKEOPULT_RATE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SPIKEOPULT_RATE_UPGRADE));
currentTower.upgrade3 = true;
if (currentTower.type == "spikeopult"){
currentTower.attackRate = (currentTower.attackRate - 8);
};
break;
case "spikeopult4":
money = (money - GetPrice(COST_SPIKEOPULT_MULTISHOT_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_SPIKEOPULT_MULTISHOT_UPGRADE));
if (currentTower.type == "spikeopult"){
currentTower.upgrade4 = true;
currentTower.transformed = true;
currentTower.gotoAndStop(2);
};
break;
case "beacon1":
money = (money - GetPrice(COST_BEACON_RANGE_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BEACON_RANGE_UPGRADE));
currentTower.upgrade1 = true;
if (currentTower.type == "beacon"){
currentTower.attackRadius = (currentTower.attackRadius + 30);
};
break;
case "beacon2":
money = (money - GetPrice(COST_BEACON_DRUMS_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BEACON_DRUMS_UPGRADE));
currentTower.upgrade2 = true;
break;
case "beacon3":
money = (money - GetPrice(COST_BEACON_STORM_UPGRADE));
currentTower.spentonme = (currentTower.spentonme + GetPrice(COST_BEACON_STORM_UPGRADE));
currentTower.upgrade3 = true;
stormReady = true;
currentTower.gotoAndStop(2);
break;
case "beacon4":
if (stormReady){
callMonkeyStorm();
};
break;
};
currentTower.CalcRadius();
SelectTower(currentTower);
UpdateMoney();
}
public function setTrack(_arg1){
ClearAll();
trackNum = _arg1;
playarea.gotoAndStop(_arg1);
pathhitmc.gotoAndStop(_arg1);
}
function sndToggle(_arg1:MouseEvent){
sndbtn.play();
}
public function CanAfford(_arg1){
switch (_arg1){
case "dart1":
if (money >= GetPrice(COST_DART_RANGE_UPGRADE1)){
return (true);
};
break;
case "dart2":
if (money >= GetPrice(COST_DART_RANGE_UPGRADE2)){
return (true);
};
break;
case "dart3":
if (money >= GetPrice(COST_DART_PIERCE_UPGRADE1)){
return (true);
};
break;
case "dart4":
if (money >= GetPrice(COST_DART_PIERCE_UPGRADE2)){
return (true);
};
break;
case "boomerang1":
if (money >= GetPrice(COST_BOOMERANG_PIERCE_UPGRADE)){
return (true);
};
break;
case "boomerang2":
if (money >= GetPrice(COST_BOOMERANG_GLAIVE_UPGRADE)){
return (true);
};
break;
case "boomerang3":
if (money >= GetPrice(COST_BOOMERANG_SONIC_UPGRADE)){
return (true);
};
break;
case "boomerang4":
if (money >= GetPrice(COST_BOOMERANG_THERMITE_UPGRADE)){
return (true);
};
break;
case "tack1":
if (money >= GetPrice(COST_TACK_RATE_UPGRADE)){
return (true);
};
break;
case "tack2":
if (money >= GetPrice(COST_TACK_BLADE_UPGRADE)){
return (true);
};
break;
case "tack3":
if (money >= GetPrice(COST_TACK_RANGE_UPGRADE1)){
return (true);
};
break;
case "tack4":
if (money >= GetPrice(COST_TACK_RANGE_UPGRADE2)){
return (true);
};
break;
case "bomb1":
if (money >= GetPrice(COST_BOMB_SIZE_UPGRADE)){
return (true);
};
break;
case "bomb2":
if (money >= GetPrice(COST_BOMB_FRAG_UPGRADE)){
return (true);
};
break;
case "bomb3":
if (money >= GetPrice(COST_BOMB_RANGE_UPGRADE)){
return (true);
};
break;
case "bomb4":
if (money >= GetPrice(COST_BOMB_MISSILE_UPGRADE)){
return (true);
};
break;
case "ice1":
if (money >= GetPrice(COST_ICE_FREEZE_UPGRADE)){
return (true);
};
break;
case "ice3":
if (money >= GetPrice(COST_ICE_RANGE_UPGRADE)){
return (true);
};
break;
case "ice2":
if (money >= GetPrice(COST_ICE_PERMAFROST_UPGRADE)){
return (true);
};
break;
case "ice4":
if (money >= GetPrice(COST_ICE_SNAP_UPGRADE)){
return (true);
};
break;
case "super1":
if (money >= GetPrice(COST_SUPER_RANGE_UPGRADE1)){
return (true);
};
break;
case "super2":
if (money >= GetPrice(COST_SUPER_RANGE_UPGRADE2)){
return (true);
};
break;
case "super3":
if (money >= GetPrice(COST_SUPER_LASER_UPGRADE)){
return (true);
};
break;
case "super4":
if (money >= GetPrice(COST_SUPER_PLASMA_UPGRADE)){
return (true);
};
break;
case "beacon1":
if (money >= GetPrice(COST_BEACON_RANGE_UPGRADE)){
return (true);
};
break;
case "beacon2":
if (money >= GetPrice(COST_BEACON_DRUMS_UPGRADE)){
return (true);
};
break;
case "beacon3":
if (money >= GetPrice(COST_BEACON_STORM_UPGRADE)){
return (true);
};
break;
case "beacon4":
if (money >= GetPrice(COST_MONKEYSTORM)){
return (true);
};
break;
case "spikeopult1":
if (money >= GetPrice(COST_SPIKEOPULT_RANGE_UPGRADE)){
return (true);
};
break;
case "spikeopult2":
if (money >= GetPrice(COST_SPIKEOPULT_JUGGERNAUT_UPGRADE)){
return (true);
};
break;
case "spikeopult3":
if (money >= GetPrice(COST_SPIKEOPULT_RATE_UPGRADE)){
return (true);
};
break;
case "spikeopult4":
if (money >= GetPrice(COST_SPIKEOPULT_MULTISHOT_UPGRADE)){
return (true);
};
break;
};
return (false);
}
public function CalcFPS(){
timeSum = (timeSum + (getTimer() - timeLastFrame));
fpsFrameCount++;
if (timeSum >= 1000){
timeSum = 0;
fpsFrameCount = 0;
};
timeLastFrame = getTimer();
}
public function ABSTL(_arg1, _arg2, _arg3){
var _local4:int;
_local4 = 0;
while (_local4 < _arg1) {
ABTL(_arg2, _arg3);
_local4++;
};
}
public function clickUpgradeBtn(_arg1:MouseEvent){
if (_arg1.target.parent.name == "upgrade1"){
if (currentTower.upgrade2){
return;
};
};
if (_arg1.target.parent.name == "upgrade2"){
if (currentTower.upgrade4){
return;
};
};
if (CanAfford(_arg1.target.parent.upgrade)){
GetUpgrade(_arg1.target.parent.upgrade);
};
}
public function ABTL(_arg1, _arg2){
var _local3:Array;
if (!levelsArray[(_arg1 - 1)]){
_local3 = new Array();
levelsArray[(_arg1 - 1)] = _local3;
};
levelsArray[(_arg1 - 1)].push(_arg2);
}
function gotoNK(_arg1:MouseEvent){
var _local2:String;
var _local3:URLRequest;
_local2 = "http://www.ninjakiwi.com";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
public function CreateNewTower(_arg1, _arg2, _arg3){
var _local4:int;
var _local5:Boolean;
var _local6:Tower;
_local4 = 0;
_local5 = false;
switch (_arg1){
case "dart":
_local4 = GetPrice(COST_DART);
_local6 = new DartMonkey();
break;
case "boomerang":
_local4 = GetPrice(COST_BOOMERANG);
_local6 = new BoomerangMonkey();
break;
case "tack":
_local4 = GetPrice(COST_TACK);
_local6 = new TackTower();
break;
case "spikeopult":
_local4 = GetPrice(COST_SPIKEOPULT);
_local6 = new Spikeopult();
break;
case "bomb":
_local4 = GetPrice(COST_BOMB);
_local6 = new CannonTower();
break;
case "ice":
_local4 = GetPrice(COST_ICE);
_local6 = new IceTower();
break;
case "super":
_local4 = GetPrice(COST_SUPER);
_local6 = new SuperMonkey();
break;
case "beacon":
_local4 = GetPrice(COST_BEACON);
_local6 = new MonkeyBeacon();
break;
};
if (_local4 > money){
Output("not enough money.");
return;
};
money = (money - _local4);
UpdateMoney();
towerholder.addChild(_local6);
_local6.x = _arg2;
_local6.y = _arg3;
_local6.type = _arg1;
_local6.game = this;
_local6.Init();
towerlist.push(_local6);
}
public function UpdateBullets(){
var _local1:int;
_local1 = 0;
while (_local1 < bulletlist.length) {
bulletlist[_local1].Update();
_local1++;
};
}
function BuildLevelHints(){
levelHints[0] = "";
levelHints[1] = "Pop, pop, pop. Too easy.";
levelHints[2] = "";
levelHints[3] = "";
levelHints[4] = "You can unlock all 8 tracks by passing tracks 1 to 4 in easy mode.";
levelHints[5] = "";
levelHints[6] = "50 blues heading down next.";
levelHints[7] = "The Pop Count under the tower name is how many bloons that thing has popped.";
levelHints[8] = "";
levelHints[9] = "Road spikes are good for getting those bloons that slip through your defenses.";
levelHints[10] = "To recap, yellows spawn, greens, that spawn blues, that spawn reds. Yellows move very fast.";
levelHints[11] = "Rainbow bloons are fast and mean, and have 2 blacks and 2 whites in them.";
levelHints[12] = "";
levelHints[13] = "The permafrost and snap freeze upgrades for Ice Towers are powerful, you should try them.";
levelHints[14] = "Try not to rely on road spikes too much, they don't earn as much as they cost.";
levelHints[15] = "Strategies that work well on some tracks may not work well on others.";
levelHints[16] = "You can play any of the tracks on Easy Medium or Hard difficulties. How cool is that?";
levelHints[17] = "";
levelHints[18] = "Thermite allows boomerangs to pop lead bloons.";
levelHints[19] = "Lead bloons move slowly, but they are immune to sharp objects. You need to use bombs or similar.";
levelHints[20] = "";
levelHints[21] = "Monkey glue is good on levels with multiple paths - you can split the oncoming streams.";
levelHints[22] = "Next level will be a doozy.";
levelHints[23] = "";
levelHints[24] = "Monkey beacons do not attack, they just increase the range of all stuff in their radius.";
levelHints[25] = "";
levelHints[26] = "Some tracks are hard on easy, and others are easy on hard. Ain't life funny.";
levelHints[27] = "In BTD3, every tower type has 4 upgrades, split into 2 upgrade paths.";
levelHints[28] = "";
levelHints[29] = "Black bloons are immune to bombs, white ones are immune to freezing.";
levelHints[30] = "Did you know the bomb missile upgrade also gives a slight fire rate increase?";
levelHints[31] = "";
levelHints[32] = "60 black bloons followed by 3 brown coming up.";
levelHints[33] = "Enjoying the brown bloons? They're ceramic, so they take several hits to pop. They have rainbows in them too :)";
levelHints[34] = "";
levelHints[35] = "";
levelHints[36] = "Beware the M.O.A.B - its coming next level.";
levelHints[37] = "M.O.A.B stands for Massive Ornary Air Blimp, not Mother Of All Bloons. Either way, it brings pain.";
levelHints[38] = "";
levelHints[39] = "";
levelHints[40] = "If you manage to beat level 50, you can opt to play on in 'free play' mode until you run out of lives.";
levelHints[41] = "Need a cash injection? Heres 100 yellows - right after 9 browns. Sorry, it is level 42 after all.";
levelHints[42] = "";
levelHints[43] = "If a M.O.A.B escapes, it's game over. Yes, that sucker will eat all your lives.";
levelHints[44] = "Rainbows, browns, then 100 straight whites.";
levelHints[45] = "";
levelHints[46] = "Super monkey plasma shoots even faster than laser vision.";
levelHints[47] = "";
levelHints[48] = "Nicely done. Getting difficult yet?";
levelHints[49] = "Here comes the final level. It's hard. Don't forget if you win you can play on in free play mode.";
}
public function UpdateMedals(){
var _local1:Array;
var _local2:int;
_local1 = new Array(false, false, false, false);
_local2 = 1;
while (_local2 < 5) {
if (((((!(userProfile.data[("bronze" + _local2)])) && (!(userProfile.data[("silver" + _local2)])))) && (!(userProfile.data[("gold" + _local2)])))){
mainmenu[("medal" + _local2)].gotoAndStop(1);
};
if (userProfile.data[("bronze" + _local2)]){
_local1[(_local2 - 1)] = true;
mainmenu[("medal" + _local2)].gotoAndStop(2);
};
if (userProfile.data[("silver" + _local2)]){
mainmenu[("medal" + _local2)].gotoAndStop(3);
_local1[(_local2 - 1)] = true;
};
if (userProfile.data[("gold" + _local2)]){
mainmenu[("medal" + _local2)].gotoAndStop(4);
_local1[(_local2 - 1)] = true;
};
_local2++;
};
}
public function DisableOptions(){
toweroptions.visible = false;
}
public function RemoveBullet(_arg1){
var _local2:int;
_local2 = 0;
while (_local2 < bulletlist.length) {
if (_arg1 == bulletlist[_local2]){
bulletlist.splice(_local2, 1);
bulletholder.removeChild(_arg1);
_arg1 = null;
return;
};
_local2++;
};
}
public function OnClick(_arg1:MouseEvent){
var _local2:int;
if (mouseX > 472){
return;
};
trace(("on click: " + currentTool));
if (currentTool != "none"){
if (towerplace.radiusmc.currentFrame == 1){
if (((((!((currentTool == "spikes"))) && (!((currentTool == "glue"))))) && (!((currentTool == "pineapple"))))){
CreateNewTower(currentTool, mouseX, mouseY);
} else {
_local2 = 0;
if (currentTool == "spikes"){
_local2 = GetPrice(COST_SPIKES);
};
if (currentTool == "glue"){
_local2 = GetPrice(COST_GLUE);
};
if (currentTool == "pineapple"){
_local2 = GetPrice(COST_PINEAPPLE);
};
if (_local2 > money){
Output("not enough money.");
return;
};
money = (money - _local2);
UpdateMoney();
ShootBullet(false, false);
};
};
} else {
DeselectCurrent();
};
}
public function GetNextLevelHint(){
if (levelHints[curLevel]){
return (levelHints[curLevel]);
};
return ("");
}
public function GetUpgradeCost(_arg1){
var _local2:String;
_local2 = (currentTower.type + _arg1);
switch (_local2){
case "dart1":
return (GetPrice(COST_DART_RANGE_UPGRADE1));
case "dart2":
return (GetPrice(COST_DART_RANGE_UPGRADE2));
case "dart3":
return (GetPrice(COST_DART_PIERCE_UPGRADE1));
case "dart4":
return (GetPrice(COST_DART_PIERCE_UPGRADE2));
case "boomerang1":
return (GetPrice(COST_BOOMERANG_PIERCE_UPGRADE));
case "boomerang2":
return (GetPrice(COST_BOOMERANG_GLAIVE_UPGRADE));
case "boomerang3":
return (GetPrice(COST_BOOMERANG_SONIC_UPGRADE));
case "boomerang4":
return (GetPrice(COST_BOOMERANG_THERMITE_UPGRADE));
case "tack1":
return (GetPrice(COST_TACK_RATE_UPGRADE));
case "tack2":
return (GetPrice(COST_TACK_BLADE_UPGRADE));
case "tack3":
return (GetPrice(COST_TACK_RANGE_UPGRADE1));
case "tack4":
return (GetPrice(COST_TACK_RANGE_UPGRADE2));
case "bomb1":
return (GetPrice(COST_BOMB_SIZE_UPGRADE));
case "bomb2":
return (GetPrice(COST_BOMB_FRAG_UPGRADE));
case "bomb3":
return (GetPrice(COST_BOMB_RANGE_UPGRADE));
case "bomb4":
return (GetPrice(COST_BOMB_MISSILE_UPGRADE));
case "ice1":
return (GetPrice(COST_ICE_FREEZE_UPGRADE));
case "ice3":
return (GetPrice(COST_ICE_RANGE_UPGRADE));
case "ice2":
return (GetPrice(COST_ICE_PERMAFROST_UPGRADE));
case "ice4":
return (GetPrice(COST_ICE_SNAP_UPGRADE));
case "super1":
return (GetPrice(COST_SUPER_RANGE_UPGRADE1));
case "super2":
return (GetPrice(COST_SUPER_RANGE_UPGRADE2));
case "super3":
return (GetPrice(COST_SUPER_LASER_UPGRADE));
case "super4":
return (GetPrice(COST_SUPER_PLASMA_UPGRADE));
case "beacon2":
return (GetPrice(COST_BEACON_DRUMS_UPGRADE));
case "beacon1":
return (GetPrice(COST_BEACON_RANGE_UPGRADE));
case "beacon3":
return (GetPrice(COST_BEACON_STORM_UPGRADE));
case "beacon4":
return (GetPrice(COST_MONKEYSTORM));
case "spikeopult1":
return (GetPrice(COST_SPIKEOPULT_RANGE_UPGRADE));
case "spikeopult2":
return (GetPrice(COST_SPIKEOPULT_JUGGERNAUT_UPGRADE));
case "spikeopult3":
return (GetPrice(COST_SPIKEOPULT_RATE_UPGRADE));
case "spikeopult4":
return (GetPrice(COST_SPIKEOPULT_MULTISHOT_UPGRADE));
};
}
public function ClearTowers(){
var _local1:Tower;
if (towerlist){
while (towerlist.length > 0) {
_local1 = towerlist.shift();
towerholder.removeChild(_local1);
_local1 = null;
};
};
}
public function SelectTower(_arg1){
DeselectCurrent();
currentTower = _arg1;
haveCurTower = true;
currentTower.radiusmc.visible = true;
toweroptions.towername_txt.text = currentTower.towerName;
toweroptions.Refresh();
towerholder.setChildIndex(currentTower, 0);
toweroptions.targpriority.gotoAndStop(currentTower.AImode);
toweroptions.popcount_txt.text = ("Pop Count: " + currentTower.popcount);
}
public function ClearBalloons(){
var _local1:Bloon;
if (bloonholder != null){
while (bloonholder.numChildren) {
_local1 = bloonholder.getChildAt(0);
bloonholder.removeChildAt(0);
_local1.done = true;
_local1 = null;
};
};
}
public function SetDiff(_arg1){
diff = _arg1;
if (diff == "easy"){
lives = MAX_LIVES_EASY;
costmult = COST_MULT_EASY;
globSpeedMod = 0;
};
if (diff == "medium"){
lives = MAX_LIVES_MEDIUM;
costmult = COST_MULT_MED;
globSpeedMod = 0.1;
};
if (diff == "hard"){
lives = MAX_LIVES_HARD;
costmult = COST_MULT_HARD;
globSpeedMod = 0.25;
};
lives_txt.text = lives;
}
public function clickEndgameBtn(_arg1:MouseEvent){
areyousure.gotoAndPlay("active_");
}
public function EnableOptions(){
toweroptions.visible = true;
toweroptions.sellTowerBtn.sellfor_txt.text = Math.floor((SELL_RATE * currentTower.spentonme));
}
public function EndLevel(){
var _local1:int;
ingame = false;
trace("You win");
ClearBullets();
ClearBalloons();
if (curLevel != 50){
startrnd_btn.visible = true;
_local1 = (99 + curLevel);
money = (money + _local1);
UpdateMoney();
Output(((((("Round " + curLevel) + " passed. ") + _local1) + " money awarded. ") + GetNextLevelHint()));
} else {
if (curLevel == 50){
GameOver(true);
};
};
}
public function callMonkeyStorm(){
if ((((money >= GetPrice(COST_MONKEYSTORM))) && (ingame))){
money = (money - GetPrice(COST_MONKEYSTORM));
monkeystorm.play();
};
}
public function GetPrice(_arg1){
var _local2:Number;
_local2 = (_arg1 * costmult);
_local2 = (_local2 / 5);
_local2 = Math.round(_local2);
return ((_local2 * 5));
}
public function RemoveBloon(_arg1:Bloon){
var pbloon = _arg1;
try {
bloonholder.removeChild(pbloon);
} catch(e:ArgumentError) {
trace((("ZOMG ERRORZ: " + e) + " END ERRORZ"));
};
pbloon = null;
}
public function Escaped(_arg1){
var _local2:int;
if (!ingame){
return;
};
trace("-----------------");
_local2 = 0;
switch (_arg1.rank){
case 1:
_local2 = 1;
break;
case 2:
_local2 = 2;
break;
case 3:
_local2 = 3;
break;
case 4:
_local2 = 4;
break;
case 5:
_local2 = 9;
break;
case 6:
_local2 = 9;
break;
case 7:
_local2 = 19;
break;
case 8:
_local2 = 37;
break;
case 9:
_local2 = 38;
break;
case 10:
_local2 = 100;
break;
};
lives = (lives - _local2);
lives_txt.text = lives;
if (lives < 1){
lives = 0;
lives_txt.text = lives;
GameOver(false);
} else {
numBloons--;
};
}
}
}//package
Section 256
//Bomb (Bomb)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Bomb extends Bullet {
public function Bomb(){
addFrameScript(0, frame1, 1, frame2, 14, frame15);
}
function frame15(){
stop();
}
function frame1(){
stop();
}
function frame2(){
parent.parent.bombSnd.play(0, 1);
}
}
}//package
Section 257
//BombSnd (BombSnd)
package {
import flash.media.*;
public dynamic class BombSnd extends Sound {
}
}//package
Section 258
//Boomerang (Boomerang)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Boomerang extends Bullet {
public function Boomerang(){
addFrameScript(0, frame1, 1, frame2, 24, frame25);
}
function frame1(){
visible = false;
}
function frame25(){
gotoAndStop(1);
}
function frame2(){
visible = true;
}
}
}//package
Section 259
//BoomerangMonkey (BoomerangMonkey)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class BoomerangMonkey extends Tower {
public function BoomerangMonkey(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 260
//Bullet (Bullet)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class Bullet extends MovieClip {
var pierceMax:int;
var shooter:Tower;
var leadbreak:Boolean;
var isspread:Boolean;
var timealive:int;
var icebreak:Boolean;
var :int;
var lifespan:int;
var initdone:Boolean;
var type:String;
var pierceCount:int;
var exploded:Boolean;
var vx:Number;
var vy:Number;
var alive:Boolean;
var hashit:Boolean;
var game:BloonsTD;
public function Bullet(){
vx = (vy = 0);
hashit = false;
alive = true;
cacheAsBitmap = true;
isspread = false;
pierceCount = 0;
icebreak = false;
leadbreak = false;
}
function Init(){
visible = true;
if ((((((type == "dart")) || ((type == "super")))) && (!((type == "laser"))))){
this.inner.x = (this.inner.x + 8);
this.hitbit.x = (this.hitbit.x + 6);
};
timealive = 0;
exploded = false;
switch (type){
case "dart":
lifespan = 7;
break;
case "boomerang":
lifespan = 50;
break;
case "spikes":
lifespan = 999999;
pierceMax = 10;
vx = (vy = 0);
break;
case "glue":
lifespan = 999999;
pierceMax = 20;
vx = (vy = 0);
break;
case "pineapple":
lifespan = 999999;
pierceMax = 400;
icebreak = true;
leadbreak = true;
vx = (vy = 0);
break;
case "tack":
case "frag":
lifespan = 5;
break;
case "ice":
lifespan = 10;
break;
case "spikeopult":
if (shooter.upgrade2){
lifespan = 40;
} else {
lifespan = 20;
};
break;
case "bomb":
lifespan = 18;
break;
case "super":
case "laser":
lifespan = 20;
break;
default:
break;
};
}
function GetDistSq(_arg1, _arg2, _arg3, _arg4){
var _local5:*;
var _local6:*;
var _local7:*;
_local5 = (_arg1 - _arg3);
_local6 = (_arg2 - _arg4);
_local7 = ((_local5 * _local5) + (_local6 * _local6));
return (_local7);
}
public function DeleteMe(){
alive = false;
game.RemoveBullet(this);
}
function Update(){
if (!initdone){
initdone = true;
Init();
return;
};
timealive++;
if (timealive > lifespan){
DeleteMe();
return;
};
x = (x + vx);
y = (y + vy);
}
}
}//package
Section 261
//CannonTower (CannonTower)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class CannonTower extends Tower {
public function CannonTower(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 262
//CeramicSnd (CeramicSnd)
package {
import flash.media.*;
public dynamic class CeramicSnd extends Sound {
}
}//package
Section 263
//Dart (Dart)
package {
public dynamic class Dart extends Bullet {
}
}//package
Section 264
//DartMonkey (DartMonkey)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class DartMonkey extends Tower {
public function DartMonkey(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 265
//Exclusive (Exclusive)
package {
import flash.display.*;
public dynamic class Exclusive extends MovieClip {
}
}//package
Section 266
//Frags (Frags)
package {
public dynamic class Frags extends Bullet {
}
}//package
Section 267
//Glaive (Glaive)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Glaive extends Bullet {
public function Glaive(){
addFrameScript(0, frame1, 1, frame2, 24, frame25);
}
function frame1(){
visible = false;
}
function frame25(){
gotoAndStop(1);
}
function frame2(){
visible = true;
}
}
}//package
Section 268
//Glue (Glue)
package {
public dynamic class Glue extends Bullet {
}
}//package
Section 269
//IceBomb (IceBomb)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class IceBomb extends Bullet {
public function IceBomb(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
parent.parent.iceBlastSnd.play(0, 1);
}
function frame11(){
stop();
}
}
}//package
Section 270
//IceSnd (IceSnd)
package {
import flash.media.*;
public dynamic class IceSnd extends Sound {
}
}//package
Section 271
//IceTower (IceTower)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class IceTower extends Tower {
public function IceTower(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 272
//Laser (Laser)
package {
public dynamic class Laser extends Bullet {
}
}//package
Section 273
//metalclink (metalclink)
package {
import flash.media.*;
public dynamic class metalclink extends Sound {
}
}//package
Section 274
//Missile (Missile)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Missile extends Bullet {
public function Missile(){
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
stop();
}
function frame1(){
stop();
}
}
}//package
Section 275
//MochiAd (MochiAd)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
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 = _slot1._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
if (!_slot1.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
_slot1._cleanup(mc);
options.ad_finished();
};
wh = _slot1._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{
_slot1.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.rpc = function (_arg1:Number, _arg2:Object):void{
_slot1.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 = _slot1._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 (!_slot1.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
_slot1._cleanup(mc);
options.ad_finished();
};
wh = _slot1._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 {
_slot1.unload(clip);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
_slot1.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{
_slot1.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();
_slot1.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 = _slot1._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = _slot1.getVersion();
clip = options.clip;
if (!_slot1._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 = _slot1._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);
_slot1.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":
_slot1.setValue(_arg1, _arg3.objectName, _arg3.value);
break;
case "getValue":
_local4 = _slot1.getValue(_arg1, _arg3.objectName);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4);
break;
case "runMethod":
_local5 = _slot1.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 = _slot1._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 (!_slot1.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
var fn:Function;
_slot1._cleanup(mc);
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
};
wh = _slot1._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 {
_slot1.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){
_slot1.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){
_slot1.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{
_slot1.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();
_slot1.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");
_slot1.showPreGameAd(_arg1);
}
public static function showTimedAd(_arg1:Object):void{
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
_slot1.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 276
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
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("core.mochibot.com");
Security.allowInsecureDomain("core.mochibot.com");
_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 277
//MonkeyBeacon (MonkeyBeacon)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MonkeyBeacon extends Tower {
public function MonkeyBeacon(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 278
//Pathhit (Pathhit)
package {
import flash.display.*;
public dynamic class Pathhit extends MovieClip {
}
}//package
Section 279
//Pineapple (Pineapple)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Pineapple extends Bullet {
public var pineSnd:SoundChannel;
public function Pineapple(){
addFrameScript(66, frame67, 80, frame81);
}
function frame81(){
stop();
DeleteMe();
}
function frame67(){
exploded = true;
pineSnd = parent.parent.pineappleSnd.play(0, 1);
}
}
}//package
Section 280
//PineSnd (PineSnd)
package {
import flash.media.*;
public dynamic class PineSnd extends Sound {
}
}//package
Section 281
//Plasma (Plasma)
package {
public dynamic class Plasma extends Bullet {
}
}//package
Section 282
//RoadSpikes (RoadSpikes)
package {
public dynamic class RoadSpikes extends Bullet {
}
}//package
Section 283
//Spikeopult (Spikeopult)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Spikeopult extends Tower {
public function Spikeopult(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 284
//SpikeyBall (SpikeyBall)
package {
public dynamic class SpikeyBall extends Bullet {
}
}//package
Section 285
//SpikeyBalls (SpikeyBalls)
package {
public dynamic class SpikeyBalls extends Bullet {
}
}//package
Section 286
//splat (splat)
package {
import flash.media.*;
public dynamic class splat extends Sound {
}
}//package
Section 287
//SuperDart (SuperDart)
package {
public dynamic class SuperDart extends Bullet {
}
}//package
Section 288
//SuperMonkey (SuperMonkey)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class SuperMonkey extends Tower {
public function SuperMonkey(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 289
//Tack (Tack)
package {
public dynamic class Tack extends Bullet {
}
}//package
Section 290
//TackTower (TackTower)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class TackTower extends Tower {
public function TackTower(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 291
//Tower (Tower)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class Tower extends MovieClip {
public var attackRadius:int;
public var freezeLen:int;
public var transformed:Boolean;
public var BEACON_RATE_FACTOR;// = 0.85
public var pierceMax:int;
public var leadbreak:Boolean;
public var spentonme:int;
public var isspread:Boolean;
public var shootPower:Number;
public var towerName:String;
public var timeSinceLastShot:int;
public var attackRate:int;
public var icebreak:Boolean;
public var beaconRate:Boolean;
public var popcount:int;
public var arsq:Number;
public var target:Bloon;
public var upgrade1:Boolean;
public var upgrade3:Boolean;
public var upgrade4:Boolean;
public var type:String;
public var bulletScale:Number;
public var radiusmc:MovieClip;
public var upgrade2:Boolean;
public var BEACON_RANGE_FACTOR;// = 1.2
public var laser:Boolean;
public var AImode:String;
public var game:BloonsTD;
public var beaconRadius:Boolean;
public function Tower(){
BEACON_RANGE_FACTOR = 1.2;
BEACON_RATE_FACTOR = 0.85;
super();
popcount = 0;
beaconRadius = (beaconRate = false);
leadbreak = false;
transformed = false;
freezeLen = 0;
pierceMax = 1;
icebreak = false;
bulletScale = 1;
upgrade1 = false;
upgrade2 = false;
upgrade3 = false;
upgrade4 = false;
isspread = false;
towerName = "none";
laser = false;
type = "none";
attackRate = 9999999999;
timeSinceLastShot = 0;
AImode = "first";
addEventListener(MouseEvent.MOUSE_DOWN, Press);
}
function Shoot(){
if (type == "beacon"){
doBeaconUpdate();
return;
};
target = GetTarget();
if (target){
timeSinceLastShot = 0;
if ((((((type == "tack")) || ((type == "spikey")))) || ((type == "ice")))){
target = null;
};
game.ShootBullet(this, target);
};
}
function Press(_arg1:MouseEvent){
game.SelectTower(this);
}
function Init(){
switch (type){
case "dart":
attackRate = 33;
attackRadius = game.RANGE_DART;
spentonme = game.COST_DART;
shootPower = 23;
towerName = "Dart Monkey";
break;
case "boomerang":
attackRate = 50;
pierceMax = 2;
attackRadius = game.RANGE_BOOMERANG;
spentonme = game.COST_BOOMERANG;
shootPower = 0;
towerName = "Boomerang";
break;
case "tack":
attackRate = 54;
attackRadius = game.RANGE_TACK;
isspread = true;
spentonme = game.COST_TACK;
shootPower = 15;
towerName = "Tack Shooter";
pierceMax = 8;
break;
case "bomb":
attackRate = 54;
shootPower = 13;
attackRadius = game.RANGE_BOMB;
towerName = "Cannon";
spentonme = game.COST_BOMB;
pierceMax = 18;
icebreak = true;
leadbreak = true;
break;
case "spikeopult":
attackRate = 63;
shootPower = 10;
attackRadius = game.RANGE_SPIKEOPULT;
towerName = "Spike-o-pult";
spentonme = game.COST_SPIKEOPULT;
pierceMax = 6;
bulletScale = 1;
break;
case "ice":
attackRate = 93;
attackRadius = game.RANGE_ICE;
towerName = "Ice Ball";
spentonme = game.COST_ICE;
bulletScale = 0.8;
freezeLen = 50;
pierceMax = 50;
break;
case "super":
attackRate = 2;
shootPower = 20;
attackRadius = game.RANGE_SUPER;
towerName = "Super Monkey";
spentonme = game.COST_SUPER;
pierceMax = 1;
break;
case "beacon":
attackRate = 60;
shootPower = 20;
attackRadius = game.RANGE_BEACON;
towerName = "Monkey Beacon";
spentonme = game.COST_BEACON;
pierceMax = 0;
CalcRadius();
doBeaconUpdate();
break;
default:
break;
};
radiusmc.width = (radiusmc.height = (attackRadius * 2));
CalcRadius();
target = null;
radiusmc.visible = false;
game.SelectTower(this);
}
public function doBeaconUpdate(){
var _local1:int;
var _local2:Tower;
var _local3:*;
_local1 = 0;
while (_local1 < game.towerlist.length) {
if (((upgrade2) && ((game.monkeystorm.currentFrame == 1)))){
game.stormready = true;
};
_local2 = game.towerlist[_local1];
if (_local2.type == "beacon"){
} else {
_local3 = GetDistSq(_local2.x, _local2.y, x, y);
if (_local3 < arsq){
_local2.beaconRadius = true;
if (upgrade2){
_local2.beaconRate = true;
};
};
_local2.CalcRadius();
};
_local1++;
};
}
function CalcRadius(){
arsq = (attackRadius * attackRadius);
if (beaconRadius){
radiusmc.width = (radiusmc.height = ((attackRadius * 2) * BEACON_RANGE_FACTOR));
} else {
radiusmc.width = (radiusmc.height = (attackRadius * 2));
};
}
function GetDistSq(_arg1, _arg2, _arg3, _arg4){
var _local5:*;
var _local6:*;
var _local7:*;
_local5 = (_arg1 - _arg3);
_local6 = (_arg2 - _arg4);
_local7 = ((_local5 * _local5) + (_local6 * _local6));
return (_local7);
}
function GetTarget(){
var _local1:Bloon;
var _local2:Number;
var _local3:int;
var _local4:Bloon;
var _local5:Number;
var _local6:Number;
var _local7:*;
var _local8:*;
if (AImode == "first"){
_local2 = 0;
} else {
_local2 = 1;
};
_local3 = 0;
while (_local3 < game.bloonholder.numChildren) {
_local4 = game.bloonholder.getChildAt(_local3);
if (_local4.popped){
} else {
if (!icebreak){
//unresolved if
} else {
_local5 = ((_local4.x + _local4.inner.x) - 10);
_local6 = ((_local4.y + _local4.inner.y) - 15);
_local7 = GetDistSq(_local5, _local6, x, y);
_local8 = arsq;
if (beaconRadius){
_local8 = (_local8 * BEACON_RANGE_FACTOR);
};
if (_local7 < _local8){
if (AImode == "first"){
if ((_local4.currentFrame / _local4.totalFrames) > _local2){
_local2 = (_local4.currentFrame / _local4.totalFrames);
_local1 = _local4;
};
} else {
if ((_local4.currentFrame / _local4.totalFrames) < _local2){
_local2 = (_local4.currentFrame / _local4.totalFrames);
_local1 = _local4;
};
};
};
};
};
_local3++;
};
return (_local1);
}
function (){
if (attackRate < 4){
return ("hypersonic");
};
if ((((attackRate >= 4)) && ((attackRate < 24)))){
return ("very fast");
};
if ((((attackRate >= 24)) && ((attackRate < 40)))){
return ("fast");
};
if ((((attackRate >= 40)) && ((attackRate < 60)))){
return ("medium");
};
if ((((attackRate >= 60)) && ((attackRate < 100)))){
return ("slow");
};
if (attackRate >= 100){
return ("very slow");
};
}
public function deleteBeacon(){
var _local1:int;
var _local2:Tower;
var _local3:*;
_local1 = 0;
while (_local1 < game.towerlist.length) {
game.stormready = false;
_local2 = game.towerlist[_local1];
if (_local2.type == "beacon"){
} else {
_local3 = GetDistSq(_local2.x, _local2.y, x, y);
if (_local3 < arsq){
_local2.beaconRadius = false;
if (upgrade2){
_local2.beaconRate = false;
};
};
_local2.CalcRadius();
};
_local1++;
};
}
function Update(){
var _local1:*;
timeSinceLastShot++;
_local1 = attackRate;
if (beaconRate){
_local1 = (_local1 * BEACON_RATE_FACTOR);
_local1 = Math.ceil(_local1);
if (_local1 < 1){
_local1 = 1;
};
};
if (timeSinceLastShot > _local1){
Shoot();
};
}
}
}//package
Section 292
//ZeppSmash (ZeppSmash)
package {
import flash.media.*;
public dynamic class ZeppSmash extends Sound {
}
}//package