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

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

Blueball 2.swf

This is the info page for
Flash #49672

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


Text
Mode Locked

BlueBall 2

BlueBall 2

Loading...

<p align="center"><font face="Arial" size="13" color="#ededed" letterSpacing="0.000000" kerning="0"><a href="https://www.mochiads.com/r/b2d668e95a1a46f4" target = "_blank">mochiads</a></font></p>

<p align="center"><font face="Arial" size="15" color="#ededed" letterSpacing="0.000000" kerning="0"><a href="https://www.mochiads.com/r/b2d668e95a1a46f4" target = "_blank">mochiads</a></font></p>

Play

Play

Instructions

Instructions

Highscores

Highscores

Options

Options

Credits

Credits

Around

Around

Around Mode

Around Mode

Cannon

Cannon

Cannon Mode

Cannon Mode

Level Mode

Choose Mode

Choose Mode

Crazy

Crazy

Crazy Mode

Crazy Mode

Extreme

Extreme

Extreme Mode

Extreme Mode

- BlueBalls spawn only
from the top left corner

- 10 fun levels to beat
- No highscores

- BlueBalls spawn from
random corners

- BlueBalls spawn
clockwise

- Unlock all trophies to
play this mode

- BlueBalls spawn from
every corner
- 1 cannon shoots

- All cannons shoot you.
- BlueBalls spawn later in
the game

- This is real Crazy! XD

Submit Highscore

Submit Highscore

Submit

Submit

Submit

Level

Level

Menu

Menu

Normal

Normal

Normal Mode

Normal Mode

Play Again

Play Again

Play Again

Play Again

Random

Random

Random Mode

Random Mode

Highscore
posted!

Normal Mode

Random Mode

Around Mode

Crazy Mode

Extreme Mode

Cannon Mode

Start

Start

PLAY

PLAY

STOP

STOP

Congratulations, you unlocked the trophy.

View Highscores

View Highscores

View

View

0

Seconds Survived

You have to survive

0

20

Next Shield

0

Game Over

Seconds Survived:

Mr. BlueBall

Name:

Submit Highscore

Made by
Jonas Richner

Music:

<p align="center"><font face="Arial" size="27" color="#ededed" letterSpacing="0.000000" kerning="0"><a href="http://kr1z.newgrounds.com/" target = "_blank">Kr1z</a></font></p>

You must avoid all BlueBalls and still keep inside the
white box. The BlueBalls get faster as the game goes
on...
Shields appear in the center of the white box every 20
seconds, you can pick them up by moving the cursor to
the shield. They protect you from the BlueBalls, but get
weaker every time they are hit until they disappear. So
be there in time if you want it.
Survive 100 seconds in a mode to unlock its trophy, or
complete all levels, if you are playing the level mode.
Try to survive as long as you can to make it into the
highscores.

1

2

3

Music:

Cursor Color:

Quality:

Low

Low

Medium

Medium

High

High

Effects:

Info

Best Time:

-

-

-

-

-

-

BlueBalls shot at you:

-

Total Time:

1

2

3

4

5

6

7

8

9

10

ActionScript [AS3]

Section 1
//BlueBall_24 (NewGame_fla.BlueBall_24) package NewGame_fla { import flash.display.*; public dynamic class BlueBall_24 extends MovieClip { public var playButton:SimpleButton; } }//package NewGame_fla
Section 2
//gamelevel_35 (NewGame_fla.gamelevel_35) package NewGame_fla { import flash.display.*; public dynamic class gamelevel_35 extends MovieClip { public var quarterWall:Wall; } }//package NewGame_fla
Section 3
//GameText_37 (NewGame_fla.GameText_37) package NewGame_fla { import flash.display.*; public dynamic class GameText_37 extends MovieClip { public function GameText_37(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package NewGame_fla
Section 4
//ShowIfPosted_51 (NewGame_fla.ShowIfPosted_51) package NewGame_fla { import flash.display.*; public dynamic class ShowIfPosted_51 extends MovieClip { public function ShowIfPosted_51(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package NewGame_fla
Section 5
//ShowModeMC_52 (NewGame_fla.ShowModeMC_52) package NewGame_fla { import flash.display.*; public dynamic class ShowModeMC_52 extends MovieClip { public function ShowModeMC_52(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package NewGame_fla
Section 6
//ToggleButton_54 (NewGame_fla.ToggleButton_54) package NewGame_fla { import flash.display.*; public dynamic class ToggleButton_54 extends MovieClip { public function ToggleButton_54(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package NewGame_fla
Section 7
//Trophie_55 (NewGame_fla.Trophie_55) package NewGame_fla { import flash.display.*; public dynamic class Trophie_55 extends MovieClip { public function Trophie_55(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package NewGame_fla
Section 8
//Block (Block) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class Block extends MovieClip { private var xdif:Number;// = 0 private var cursor:Cursor; private var speed; private var ydif:Number;// = 0 private var lastTime:int; private var updatePositionY:Number; private var locationTimer:Timer; private var target:Cursor; private var updatePositionX:Number; public var blockSpeed:Number;// = 100 public var length; public function Block(_arg1, _arg2:Number, _arg3:Number, _arg4:Cursor){ blockSpeed = 100; xdif = 0; ydif = 0; speed = ((Math.random() * 80) + 60); length = Math.sqrt(((xdif * xdif) + (ydif * ydif))); super(); this.x = _arg1; this.y = _arg2; blockSpeed = _arg3; addEventListener(Event.ENTER_FRAME, moveBlock); this.target = _arg4; getCursorLocation(); } public function getCursorLocation(){ var _local1:Number; _local1 = (Math.random() * 20000); locationTimer = new Timer(_local1, 1); locationTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatGetCursorLocation); locationTimer.start(); } public function moveBlock(_arg1:Event){ var _local2:int; var _local3:*; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.x = (this.x + ((xdif * _local2) / 1000)); this.y = (this.y + ((ydif * _local2) / 1000)); if (this.x < 40){ xdif = (target.x - this.x); ydif = (target.y - this.y); length = Math.sqrt(((xdif * xdif) + (ydif * ydif))); xdif = (xdif / length); ydif = (ydif / length); xdif = (xdif * speed); ydif = (ydif * speed); }; if (this.y < 60){ xdif = (target.x - this.x); ydif = (target.y - this.y); length = Math.sqrt(((xdif * xdif) + (ydif * ydif))); xdif = (xdif / length); ydif = (ydif / length); xdif = (xdif * speed); ydif = (ydif * speed); }; if (this.x > 557){ xdif = (target.x - this.x); ydif = (target.y - this.y); length = Math.sqrt(((xdif * xdif) + (ydif * ydif))); xdif = (xdif / length); ydif = (ydif / length); xdif = (xdif * speed); ydif = (ydif * speed); }; if (this.y > 396){ xdif = (target.x - this.x); ydif = (target.y - this.y); _local3 = Math.sqrt(((xdif * xdif) + (ydif * ydif))); xdif = (xdif / _local3); ydif = (ydif / _local3); xdif = (xdif * speed); ydif = (ydif * speed); }; if (this.x < -10){ deleteBlock(); } else { if (this.y > 510){ deleteBlock(); } else { if (this.y < -10){ deleteBlock(); } else { if (this.x > 610){ deleteBlock(); }; }; }; }; } public function deleteBlock(){ MovieClip(parent).removeBlock(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveBlock); } public function repeatGetCursorLocation(_arg1:TimerEvent){ var _local2:*; getCursorLocation(); if (speed < 200){ speed = (speed + 10); } else { if (speed > 200){ speed = (speed + 2); }; }; xdif = (target.x - this.x); ydif = (target.y - this.y); _local2 = Math.sqrt(((xdif * xdif) + (ydif * ydif))); xdif = (xdif / _local2); ydif = (ydif / _local2); xdif = (xdif * speed); ydif = (ydif * speed); } } }//package
Section 9
//Cursor (Cursor) package { import flash.display.*; public dynamic class Cursor extends MovieClip { public function Cursor(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 10
//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.2"); } public static function showTimedAd(_arg1:Object):void{ MochiAd.showInterLevelAd(_arg1); } 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 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 f:Function; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; lv.lc = name; lv.st = getTimer(); loader = new Loader(); f = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); mc._mochiad_ctr_failed = true; }; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["sendHighScore", _arg1], _arg2, _arg3); return (true); } 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 _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } 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 unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (!_arg1._mochiad){ return (false); }; 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.")); }; }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.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); }; 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 = _local1.loaderInfo.bytesTotal; if ((((_local4 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ _local3 = true; }; }; }; if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _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 _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 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 _loadCommunicator(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var clipname:String; var server:String; var depth:Number; var mc:MovieClip; var lv:URLVariables; var k:String; var lc:LocalConnection; var name:String; var req:URLRequest; var loader:Loader; var options = _arg1; DEFAULTS = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; clipname = ("_mochiad_com_" + options.id); if (!MochiAd._isNetworkAvailable()){ return (null); }; if (clip[clipname]){ return (clip[clipname]); }; server = (options.com_server + options.id); MochiAd._allowDomains(server); delete options.id; delete options.com_server; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, clipname, depth); lv = new URLVariables(); for (k in options) { lv[k] = options[k]; }; 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.name = name; mc.lc = lc; lv.lc = name; mc._id = 0; mc._queue = []; mc.rpcResult = function (_arg1:Object):void{ var _local3:Array; var _local4:Array; var _local5:Number; var _local6:Object; var _local7:Object; _arg1 = parseInt(_arg1.toString()); _local3 = mc._callbacks[_arg1]; if (typeof(_local3) == "undefined"){ return; }; delete mc._callbacks[_arg1]; _local4 = []; _local5 = 2; while (_local5 < _local3.length) { _local4.push(_local3[_local5]); _local5++; }; _local5 = 1; while (_local5 < arguments.length) { _local4.push(arguments[_local5]); _local5++; }; _local6 = _local3[1]; _local7 = _local3[0]; if (((_local7) && ((typeof(_local6) == "string")))){ _local6 = _local7[_local6]; }; if (typeof(_local6) == "function"){ _local6.apply(_local7, _local4); }; }; mc._didConnect = function (_arg1:String):void{ var _local2:Array; var _local3:Function; var _local4:Number; var _local5:Array; mc._endpoint = _arg1; _local2 = mc._queue; delete mc._queue; _local3 = mc.doSend; _local4 = 0; while (_local4 < _local2.length) { _local5 = _local2[_local4]; _local3.apply(this, _local5); _local4++; }; }; mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{ var _local5:Number; var _local6:LocalConnection; var _local7:Array; var _local8:Number; if (mc._endpoint == null){ _local7 = []; _local8 = 0; while (_local8 < arguments.length) { _local7.push(arguments[_local8]); _local8++; }; mc._queue.push(_local7); return; }; mc._id = (mc._id + 1); _local5 = mc._id; mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))]; _local6 = new LocalConnection(); _local6.send(mc._endpoint, "rpc", _local5, _arg1); }; mc._callbacks = {}; mc._callbacks[0] = [mc, "_didConnect"]; lv.st = getTimer(); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader = new Loader(); loader.load(req); mc.addChild(loader); mc._mochiad_com = loader; return (mc); } 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 r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, 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.")); }; }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); bar.x = 10; bar.y = (h - 20); bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.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; }; 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.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); if (!chk.showing){ _local11 = _local2.loaderInfo.bytesTotal; if ((((_local11 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local3 > chk.ad_timeout){ _local4 = true; }; }; }; if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _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{ MochiAd.showPreGameAd(_arg1); } public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3); return (true); } 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 11
//ModeLocked (ModeLocked) package { import flash.display.*; public dynamic class ModeLocked extends MovieClip { } }//package
Section 12
//NewGame (NewGame) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.utils.*; import flash.text.*; import flash.net.*; import MochiAd_v2_2.*; import flash.ui.*; public dynamic class NewGame extends MovieClip { public var bb1:MovieClip; public var Txt2:MovieClip; public var bb6:MovieClip; public var BlockX1:Number; public var AroundT:Number; public var BlockX3:Number; public var TotalTime:TextField; public var BlockX2:Number; public var NormalB:Number; public var ExtremeCannonTimer:Timer; public var BlockY1:Number; public var BlockY3:Number; public var NormalT:Number; var Powerupon:Boolean;// = false public var BlockY2:Number; public var theplayerName:String; public var gameText:MovieClip; public var ChooseModeButton:SimpleButton; public var CreditsButton:SimpleButton; public var CannonMode:SimpleButton; public var deleteTimer:Timer; public var RandomBB:TextField; public var ExtremeMode:SimpleButton; public var LevelTxt:MovieClip; public var LocalLevelT:SharedObject; public var Level10:MovieClip; public var Level11:Number; private var smartblocks:Array; public var smartBlockY:Number; public var smartBlockX:Number; public var Level22:Number; public var Level33:Number; public var powerupTimer:Timer; public var MenuButton9:SimpleButton; public var GameMode:String; public var speedB:Number;// = 100 public var Level44:Number; public var ballTimerRandom:Timer; public var Level55:Number; public var playerName:TextField; public var CrazyModeH:SimpleButton; public var song:Sound; public var ViewHighScoresButton1:SimpleButton; public var AroundModeH:SimpleButton; public var playAgainButton1:SimpleButton; public var playAgainButton5:SimpleButton; public var Level66:Number; public var playAgainButton4:SimpleButton; public var RandomMode:SimpleButton; public var LocalCannonB:SharedObject; public var myMenu; public var LocalCannonT:SharedObject; public var AroundMode:SimpleButton; public var timeDisplay:TextField; public var ExtremeB:Number; public var timeString:String; public var smartblockTimer:Timer; public var HighScoreButton:SimpleButton; public var Level77:Number; public var Level1:MovieClip; public var Level2:MovieClip; public var Level3:MovieClip; public var Level4:MovieClip; public var Level5:MovieClip; public var Level6:MovieClip; public var Level7:MovieClip; public var Level8:MovieClip; public var Level9:MovieClip; public var InstructionsButton:SimpleButton; public var Level88:Number; public var ChooseModeButton1:SimpleButton; public var ExtremeT:Number; public var LevelB:Number; public var url:String; public var LevelT:Number; public var playAgainButton10:SimpleButton; public var LocalExtremeB:SharedObject; public var Level99:Number; public var MenuButton:SimpleButton; public var BlockX:Number; public var LocalExtremeT:SharedObject; public var downWall:Wall; public var CursorColor:SimpleButton; private var blocks:Array; public var shootingTimer:Timer; public var AroundBlockTime:Number;// = 1500 public var mochiads:SimpleButton; public var CrazyMode:SimpleButton; public var BlockY:Number; public var BBCounter:Number; public var timePassed:int; public var ExtremeBB:TextField; public var box:MovieClip; public var ExtremeModeH:SimpleButton; public var Level1010:Number; public var MoreCannons:Number;// = 0 public var ballTimerAround:Timer; public var rightWall:Wall; private var powerups:Array; public var StartButton:SimpleButton; public var CannonBB:TextField; public var PowerupY:Number; public var BlueBallCounter:TextField; public var Trophie:MovieClip; public var PowerupX:Number; public var LocalRandomT:SharedObject; public var ExtremeTimer:Timer; public var LocalRandomB:SharedObject; public var NormalModeH:SimpleButton; public var songChannel:SoundChannel; public var LevelTimer:Timer; public var LocalAroundB:SharedObject; public var LocalAroundT:SharedObject; public var ViewHighScoresButton:SimpleButton; public var LocalNormalB:SharedObject; public var leftWall:Wall; public var CrazyUnlocked:Number; public var seconds:int; public var lastTime:int;// = 0 public var LocalNormalT:SharedObject; public var LevelMade:TextField; public var progressBar:MovieClip; public var Musicon:Boolean; public var LocalBBCounter:SharedObject; public var blockTimer:Timer; public var CannonB:Number; public var gamelevel:MovieClip; public var CannonT:Number; public var CountdownText:TextField; public var playAgainButton:SimpleButton; public var AroundBB:TextField; public var LocalLevel1010:SharedObject; public var ShowIfPosted:MovieClip; public var LocalLevel22:SharedObject; public var highe:SimpleButton; public var upWall:Wall; public var locked:ModeLocked; public var highq:SimpleButton; public var LocalLevel33:SharedObject; public var LevelMode:SimpleButton; public var CountdownSeconds:Number; public var LocalLevel44:SharedObject; public var smartBlockShootingTime:Number;// = 2000 public var PlayThisAgainButton:SimpleButton; public var Countdownseconds:Number; public var OptionsButton:SimpleButton; public var cursor:Cursor; public var LeveltimeDisplay:TextField; public var NormalMode:SimpleButton; public var LocalLevel55:SharedObject; public var LocalLevel66:SharedObject; public var countDownTimer:Timer; public var ExtremeShootingTime:Number;// = 19000 public var NormalBB:TextField; public var CursorC; public var mediume:SimpleButton; public var lowe:SimpleButton; public var LocalLevel77:SharedObject; public var mediumq:SimpleButton; public var lowq:SimpleButton; public var toggleButton:MovieClip; public var LeveltimeString:String; public var LocalLevel88:SharedObject; public var RandomB:Number; public var startGameButton:SimpleButton; public var AroundNumber:Number;// = 0 public var RandomT:Number; public var LocalLevel99:SharedObject; public var Txt1:MovieClip; public var RandomModeH:SimpleButton; public var CannonModeH:SimpleButton; private var walls:Array; public var bb2:MovieClip; public var bb4:MovieClip; public var AroundB:Number; public var ShowModeMC:MovieClip; public var ClockTimer:Timer; public var blackbutton:SimpleButton; public var bb3:MovieClip; public var bb5:MovieClip; public function NewGame(){ var _local1:*; lastTime = 0; AroundNumber = 0; smartBlockShootingTime = 2000; MoreCannons = 0; Powerupon = false; ExtremeShootingTime = 19000; AroundBlockTime = 1500; speedB = 100; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); _local1 = new ContextMenu(); _local1.hideBuiltInItems(); } public function RandomModeHigh(_arg1:MouseEvent){ var _local2:URLRequest; url = "http://rankz.armorbot.com/BlueBall2RandomMode/"; _local2 = new URLRequest(url); navigateToURL(_local2, "_blank"); } public function PopUpHighScores1(_arg1:MouseEvent){ var _local2:String; var _local3:URLRequest; if (GameMode == "Normal"){ _local2 = "http://rankz.armorbot.com/BlueBall2NormalMode/"; } else { if (GameMode == "Random"){ _local2 = "http://rankz.armorbot.com/BlueBall2RandomMode/"; } else { if (GameMode == "Around"){ _local2 = "http://rankz.armorbot.com/BlueBall2AroundMode/"; } else { if (GameMode == "Crazy"){ _local2 = "http://rankz.armorbot.com/BlueBall2CrazyMode/"; } else { if (GameMode == "Extreme"){ _local2 = "http://rankz.armorbot.com/BlueBall2ExtremeMode/"; } else { if (GameMode == "Cannon"){ _local2 = "http://rankz.armorbot.com/BlueBall2CannonMode/"; }; }; }; }; }; }; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } public function NormalModeHigh(_arg1:MouseEvent){ var _local2:URLRequest; url = "http://rankz.armorbot.com/BlueBall2NormalMode/"; _local2 = new URLRequest(url); navigateToURL(_local2, "_blank"); } public function gotoMochiAds(_arg1:MouseEvent){ var _local2:*; var _local3:URLRequest; _local2 = new URLRequest(); _local2 = "https://www.mochiads.com/r/b2d668e95a1a46f4"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } public function mediumquality(_arg1:MouseEvent){ stage.quality = "medium"; } public function stopSong(){ songChannel.stop(); } public function rolloverCrazy(_arg1:MouseEvent){ if (CrazyUnlocked == 2){ gameText.gotoAndStop(6); } else { gameText.gotoAndStop(9); }; } function frame11(){ Musicon = true; song = new TestSong(); startSong(); gotoAndStop("Menu"); } public function ExtremeModeTimer(){ ExtremeTimer = new Timer(ExtremeShootingTime, 1); ExtremeTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatExtremeModeTimer); ExtremeTimer.start(); } public function CountDownClock(){ countDownTimer = new Timer(1000, 1); countDownTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatCountDownClock); countDownTimer.start(); } public function rolloutToggle(_arg1:MouseEvent){ toggleButton.gotoAndStop(toggleButton.buttonState); } function frame3(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; stop(); LeveltimeString = String(CountdownSeconds); if (GameMode == "Level1"){ CountdownSeconds = 45; removeChild(Txt1); timeDisplay.x = -1000; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level2"){ CountdownSeconds = 65; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; removeChild(Txt1); timeDisplay.x = -1000; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level3"){ CountdownSeconds = 40; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; removeChild(Txt1); timeDisplay.x = -1000; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level4"){ CountdownSeconds = 50; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; removeChild(Txt1); timeDisplay.x = -1000; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level5"){ CountdownSeconds = 90; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; removeChild(Txt1); timeDisplay.x = -1000; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level6"){ CountdownSeconds = 65; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; removeChild(Txt1); timeDisplay.x = -1000; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level7"){ CountdownSeconds = 20; timeDisplay.x = -1000; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; removeChild(Txt1); LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level8"){ CountdownSeconds = 30; timeDisplay.x = -1000; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; removeChild(Txt1); LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; } else { if (GameMode == "Level9"){ CountdownSeconds = 100; timeDisplay.x = -1000; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; removeChild(Txt1); } else { if (GameMode == "Level10"){ CountdownSeconds = 45; timeDisplay.x = -1000; LeveltimeDisplay.x = 25.6; LeveltimeDisplay.y = 465; LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; removeChild(Txt1); } else { LevelTxt.x = -1000; }; }; }; }; }; }; }; }; }; }; StartButton.addEventListener(MouseEvent.CLICK, startTheRealGame); seconds = 0; timeString = String(seconds); } function frame5(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; playAgainButton.addEventListener(MouseEvent.CLICK, goToMenu); } function frame6(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; playAgainButton10.addEventListener(MouseEvent.CLICK, goToMenu10); } function frame7(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; playAgainButton5.addEventListener(MouseEvent.CLICK, goToMenu5); CursorColor.addEventListener(MouseEvent.CLICK, ChangeCursor); blackbutton.addEventListener(MouseEvent.CLICK, ChangeCursord); lowq.addEventListener(MouseEvent.CLICK, lowquality); mediumq.addEventListener(MouseEvent.CLICK, mediumquality); highq.addEventListener(MouseEvent.CLICK, highquality); lowe.addEventListener(MouseEvent.CLICK, loweffects); mediume.addEventListener(MouseEvent.CLICK, mediumeffects); highe.addEventListener(MouseEvent.CLICK, higheffects); toggleButton.addEventListener(MouseEvent.MOUSE_OVER, rolloverToggle); toggleButton.addEventListener(MouseEvent.MOUSE_OUT, rolloutToggle); toggleButton.addEventListener(MouseEvent.CLICK, toggleClick); toggleButton.buttonState = "on"; toggleButton.gotoAndStop("on"); } public function addBlockTimerRandom(){ ballTimerRandom = new Timer(1500, 1); ballTimerRandom.addEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerRandom); ballTimerRandom.start(); } public function addBlock(){ var _local1:Number; var _local2:Block; _local1 = 100; BlockY = 40; BlockX = 24; _local2 = new Block(BlockX, BlockY, _local1, cursor); addChild(_local2); blocks.push(_local2); BBCounter = (BBCounter + 1); } function frame2(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; startGameButton.addEventListener(MouseEvent.CLICK, starttheGame); ViewHighScoresButton.addEventListener(MouseEvent.CLICK, PopUpHighScores); InstructionsButton.addEventListener(MouseEvent.CLICK, showInstructions); OptionsButton.addEventListener(MouseEvent.CLICK, gotoOptions); CreditsButton.addEventListener(MouseEvent.CLICK, gotoCredits); if (Musicon == false){ gotoAndStop(11); }; stop(); } public function addSecond(_arg1:TimerEvent){ seconds = (seconds + 1); timeString = String(seconds); timeDisplay.text = timeString; startClock(); } function frame4(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; if (GameMode == "Normal"){ ShowModeMC.gotoAndStop(1); } else { if (GameMode == "Random"){ ShowModeMC.gotoAndStop(2); } else { if (GameMode == "Around"){ ShowModeMC.gotoAndStop(3); } else { if (GameMode == "Crazy"){ ShowModeMC.gotoAndStop(4); } else { if (GameMode == "Extreme"){ ShowModeMC.gotoAndStop(5); } else { if (GameMode == "Cannon"){ ShowModeMC.gotoAndStop(6); }; }; }; }; }; }; HighScoreButton.addEventListener(MouseEvent.CLICK, gotoSubmitPage); playAgainButton1.addEventListener(MouseEvent.CLICK, goToMenu1); ViewHighScoresButton1.addEventListener(MouseEvent.CLICK, PopUpHighScores1); ChooseModeButton.addEventListener(MouseEvent.CLICK, gotoChooseMode); PlayThisAgainButton.addEventListener(MouseEvent.CLICK, PlayThisAgain); if (seconds >= 100){ if (GameMode == "Normal"){ if (NormalT == 2){ Trophie.gotoAndStop(2); }; } else { if (GameMode == "Random"){ if (RandomT == 2){ Trophie.gotoAndStop(3); }; } else { if (GameMode == "Around"){ if (AroundT == 2){ Trophie.gotoAndStop(4); }; } else { if (GameMode == "Extreme"){ if (ExtremeT == 2){ Trophie.gotoAndStop(5); }; } else { if (GameMode == "Cannon"){ if (CannonT == 2){ Trophie.gotoAndStop(6); }; }; }; }; }; }; if (GameMode == "Normal"){ NormalT = 1; } else { if (GameMode == "Random"){ RandomT = 1; } else { if (GameMode == "Around"){ AroundT = 1; } else { if (GameMode == "Extreme"){ ExtremeT = 1; } else { if (GameMode == "Cannon"){ CannonT = 1; }; }; }; }; }; }; if (GameMode == "Level1"){ gotoAndStop("Level"); } else { if (GameMode == "Level2"){ gotoAndStop("Level"); } else { if (GameMode == "Level3"){ gotoAndStop("Level"); } else { if (GameMode == "Level4"){ gotoAndStop("Level"); } else { if (GameMode == "Level5"){ gotoAndStop("Level"); } else { if (GameMode == "Level6"){ gotoAndStop("Level"); } else { if (GameMode == "Level7"){ gotoAndStop("Level"); } else { if (GameMode == "Level8"){ gotoAndStop("Level"); } else { if (GameMode == "Level9"){ gotoAndStop("Level"); } else { if (GameMode == "Level10"){ gotoAndStop("Level"); }; }; }; }; }; }; }; }; }; }; timeString = String(seconds); timeDisplay.text = timeString; if (GameMode == "Normal"){ if (seconds > NormalB){ NormalB = seconds; }; } else { if (GameMode == "Random"){ if (seconds > RandomB){ RandomB = seconds; }; } else { if (GameMode == "Around"){ if (seconds > AroundB){ AroundB = seconds; }; } else { if (GameMode == "Extreme"){ if (seconds > ExtremeB){ ExtremeB = seconds; }; } else { if (GameMode == "Cannon"){ if (seconds > CannonB){ CannonB = seconds; }; }; }; }; }; }; theplayerName = "Mr. BlueBall"; playerName.text = theplayerName; } public function startTheRealGame(_arg1:MouseEvent){ startGame(); startClock(); removeChild(StartButton); } public function addBlockTimerNormal(){ blockTimer = new Timer(1500, 1); blockTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); blockTimer.start(); } function frame1(){ Mouse.hide(); addEventListener(Event.ENTER_FRAME, moveCursor); cursor.mouseEnabled = false; stop(); MochiAd.showPreGameAd({clip:root, id:"76cd9baf367c30ff", res:"600x500", background:16777161, color:655518, outline:0, no_bg:true}); myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); mochiads.addEventListener(MouseEvent.CLICK, gotoMochiAds); Musicon = false; CrazyUnlocked = 2; CursorC = 1; Level11 = 1; LocalBBCounter = SharedObject.getLocal("BBCounter"); if (!isNaN(Number(LocalBBCounter.data.gameinfoBB))){ BBCounter = LocalBBCounter.data.gameinfoBB; } else { BBCounter = 0; }; LocalNormalB = SharedObject.getLocal("B1"); LocalRandomB = SharedObject.getLocal("B2"); LocalAroundB = SharedObject.getLocal("B3"); LocalExtremeB = SharedObject.getLocal("B4"); LocalCannonB = SharedObject.getLocal("B5"); if (!isNaN(Number(LocalNormalB.data.gameinfoB1))){ NormalB = LocalNormalB.data.gameinfoB1; } else { NormalB = 0; }; if (!isNaN(Number(LocalRandomB.data.gameinfoB2))){ RandomB = LocalRandomB.data.gameinfoB2; } else { RandomB = 0; }; if (!isNaN(Number(LocalAroundB.data.gameinfoB3))){ AroundB = LocalAroundB.data.gameinfoB3; } else { AroundB = 0; }; if (!isNaN(Number(LocalExtremeB.data.gameinfoB4))){ ExtremeB = LocalExtremeB.data.gameinfoB4; } else { ExtremeB = 0; }; if (!isNaN(Number(LocalCannonB.data.gameinfoB5))){ CannonB = LocalCannonB.data.gameinfoB5; } else { CannonB = 0; }; LocalLevel22 = SharedObject.getLocal("L22"); LocalLevel33 = SharedObject.getLocal("L33"); LocalLevel44 = SharedObject.getLocal("L44"); LocalLevel55 = SharedObject.getLocal("L55"); LocalLevel66 = SharedObject.getLocal("L66"); LocalLevel77 = SharedObject.getLocal("L77"); LocalLevel88 = SharedObject.getLocal("L88"); LocalLevel99 = SharedObject.getLocal("L99"); LocalLevel1010 = SharedObject.getLocal("L1010"); if (!isNaN(Number(LocalLevel22.data.gameinfo22))){ Level22 = LocalLevel22.data.gameinfo22; } else { Level22 = 2; }; if (!isNaN(Number(LocalLevel33.data.gameinfo33))){ Level33 = LocalLevel33.data.gameinfo33; } else { Level33 = 2; }; if (!isNaN(Number(LocalLevel44.data.gameinfo44))){ Level44 = LocalLevel44.data.gameinfo44; } else { Level44 = 2; }; if (!isNaN(Number(LocalLevel55.data.gameinfo55))){ Level55 = LocalLevel55.data.gameinfo55; } else { Level55 = 2; }; if (!isNaN(Number(LocalLevel66.data.gameinfo66))){ Level66 = LocalLevel66.data.gameinfo66; } else { Level66 = 2; }; if (!isNaN(Number(LocalLevel77.data.gameinfo77))){ Level77 = LocalLevel77.data.gameinfo77; } else { Level77 = 2; }; if (!isNaN(Number(LocalLevel88.data.gameinfo88))){ Level88 = LocalLevel88.data.gameinfo88; } else { Level88 = 2; }; if (!isNaN(Number(LocalLevel99.data.gameinfo99))){ Level99 = LocalLevel99.data.gameinfo99; } else { Level99 = 2; }; if (!isNaN(Number(LocalLevel1010.data.gameinfo1010))){ Level1010 = LocalLevel1010.data.gameinfo1010; } else { Level1010 = 2; }; LocalNormalT = SharedObject.getLocal("T1"); LocalLevelT = SharedObject.getLocal("T2"); LocalRandomT = SharedObject.getLocal("T3"); LocalAroundT = SharedObject.getLocal("T4"); LocalExtremeT = SharedObject.getLocal("T5"); LocalCannonT = SharedObject.getLocal("T6"); if (!isNaN(Number(LocalNormalT.data.gameinfo1))){ NormalT = LocalNormalT.data.gameinfo1; } else { trace(("not saved! " + LocalNormalT.data.gameinfo1)); NormalT = 2; }; if (!isNaN(Number(LocalLevelT.data.gameinfo2))){ LevelT = LocalLevelT.data.gameinfo2; } else { trace(("not saved! " + LocalLevelT.data.gameinfo2)); LevelT = 2; }; if (!isNaN(Number(LocalRandomT.data.gameinfo3))){ RandomT = LocalRandomT.data.gameinfo3; } else { trace(("not saved! " + LocalRandomT.data.gameinfo3)); RandomT = 2; }; if (!isNaN(Number(LocalAroundT.data.gameinfo4))){ AroundT = LocalAroundT.data.gameinfo4; } else { trace(("not saved! " + LocalAroundT.data.gameinfo4)); AroundT = 2; }; if (!isNaN(Number(LocalExtremeT.data.gameinfo5))){ ExtremeT = LocalExtremeT.data.gameinfo5; } else { trace(("not saved! " + LocalExtremeT.data.gameinfo5)); ExtremeT = 2; }; if (!isNaN(Number(LocalCannonT.data.gameinfo6))){ CannonT = LocalCannonT.data.gameinfo6; } else { trace(("not saved! " + LocalCannonT.data.gameinfo6)); CannonT = 2; }; } public function gotoSubmitPage(_arg1:MouseEvent){ theplayerName = playerName.text; trace(theplayerName); sendHighScores(); removeChild(HighScoreButton); } function frame9(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; NormalModeH.addEventListener(MouseEvent.CLICK, NormalModeHigh); RandomModeH.addEventListener(MouseEvent.CLICK, RandomModeHigh); AroundModeH.addEventListener(MouseEvent.CLICK, AroundModeHigh); CrazyModeH.addEventListener(MouseEvent.CLICK, CrazyModeHigh); ExtremeModeH.addEventListener(MouseEvent.CLICK, ExtremeModeHigh); CannonModeH.addEventListener(MouseEvent.CLICK, CannonModeHigh); playAgainButton4.addEventListener(MouseEvent.CLICK, goToMenu4); } function frame10(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; if (GameMode == "Level1"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level2"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level3"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level4"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level5"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level6"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level7"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level8"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level9"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; } else { if (GameMode == "Level10"){ if (CountdownSeconds > seconds){ LevelMade.text = String((("You would have had to survive " + CountdownSeconds) + " seconds longer to win.")); } else { if (CountdownSeconds <= 0){ LevelMade.text = String("Congratlations, you did it!"); }; }; }; }; }; }; }; }; }; }; }; }; seconds = 0; if (Level22 == 2){ Level2.alpha = 0.5; } else { Level2.addEventListener(MouseEvent.CLICK, playLevel2); }; if (Level33 == 2){ Level3.alpha = 0.5; } else { Level3.addEventListener(MouseEvent.CLICK, playLevel3); }; if (Level44 == 2){ Level4.alpha = 0.5; } else { Level4.addEventListener(MouseEvent.CLICK, playLevel4); }; if (Level55 == 2){ Level5.alpha = 0.5; } else { Level5.addEventListener(MouseEvent.CLICK, playLevel5); }; if (Level66 == 2){ Level6.alpha = 0.5; } else { Level6.addEventListener(MouseEvent.CLICK, playLevel6); }; if (Level77 == 2){ Level7.alpha = 0.5; } else { Level7.addEventListener(MouseEvent.CLICK, playLevel7); }; if (Level88 == 2){ Level8.alpha = 0.5; } else { Level8.addEventListener(MouseEvent.CLICK, playLevel8); }; if (Level99 == 2){ Level9.alpha = 0.5; } else { Level9.addEventListener(MouseEvent.CLICK, playLevel9); }; if (Level1010 == 2){ Level10.alpha = 0.5; } else { Level10.addEventListener(MouseEvent.CLICK, playLevel10); }; MenuButton9.addEventListener(MouseEvent.CLICK, goToMenu9); Level1.addEventListener(MouseEvent.CLICK, playLevel1); ChooseModeButton1.addEventListener(MouseEvent.CLICK, gotoChooseMode1); } public function startSong(){ songChannel = song.play(); songChannel.addEventListener(Event.SOUND_COMPLETE, songCompleteHandler); } public function rolloverExtreme(_arg1:MouseEvent){ gameText.gotoAndStop(7); } public function repeatlessShootingTime(_arg1:TimerEvent){ lessShootingTime(); if (smartBlockShootingTime > 900){ smartBlockShootingTime = (smartBlockShootingTime - 45); }; if (smartBlockShootingTime < 1700){ addBlock(); }; if (smartBlockShootingTime < 1500){ addBlock1(); }; if (smartBlockShootingTime < 1250){ addBlock2(); }; if (smartBlockShootingTime < 1000){ addBlock3(); }; MoreCannons = (MoreCannons + 1); } public function deletelocked(_arg1:TimerEvent){ removeChild(locked); } public function playLevel(_arg1:MouseEvent){ gotoAndStop("Level"); GameMode = "Level"; } function frame8(){ LocalBBCounter.data.gameinfoBB = BBCounter; LocalNormalT.data.gameinfo1 = NormalT; LocalLevelT.data.gameinfo2 = LevelT; LocalRandomT.data.gameinfo3 = RandomT; LocalAroundT.data.gameinfo4 = AroundT; LocalExtremeT.data.gameinfo5 = ExtremeT; LocalCannonT.data.gameinfo6 = CannonT; LocalLevel22.data.gameinfo22 = Level22; LocalLevel33.data.gameinfo33 = Level33; LocalLevel44.data.gameinfo44 = Level44; LocalLevel55.data.gameinfo55 = Level55; LocalLevel66.data.gameinfo66 = Level66; LocalLevel77.data.gameinfo77 = Level77; LocalLevel88.data.gameinfo88 = Level88; LocalLevel99.data.gameinfo99 = Level99; LocalLevel1010.data.gameinfo1010 = Level1010; LocalNormalB.data.gameinfoB1 = NormalB; LocalRandomB.data.gameinfoB2 = RandomB; LocalAroundB.data.gameinfoB3 = AroundB; LocalExtremeB.data.gameinfoB4 = ExtremeB; LocalCannonB.data.gameinfoB5 = CannonB; if (LevelT == 1){ if (NormalT == 1){ if (RandomT == 1){ if (AroundT == 1){ if (ExtremeT == 1){ if (CannonT == 1){ CrazyUnlocked = 1; }; }; }; }; }; }; NormalBB.text = String(NormalB); RandomBB.text = String(RandomB); AroundBB.text = String(AroundB); ExtremeBB.text = String(ExtremeB); CannonBB.text = String(CannonB); TotalTime.text = String(((((NormalB + RandomB) + AroundB) + ExtremeB) + CannonB)); BlueBallCounter.text = String(BBCounter); locked = new ModeLocked(); NormalMode.addEventListener(MouseEvent.CLICK, playNormal); NormalMode.addEventListener(MouseEvent.ROLL_OVER, rolloverNormal); NormalMode.addEventListener(MouseEvent.ROLL_OUT, rollout); LevelMode.addEventListener(MouseEvent.CLICK, playLevel); LevelMode.addEventListener(MouseEvent.ROLL_OVER, rolloverLevel); LevelMode.addEventListener(MouseEvent.ROLL_OUT, rollout); RandomMode.addEventListener(MouseEvent.CLICK, playRandom); RandomMode.addEventListener(MouseEvent.ROLL_OVER, rolloverRandom); RandomMode.addEventListener(MouseEvent.ROLL_OUT, rollout); AroundMode.addEventListener(MouseEvent.CLICK, playAround); AroundMode.addEventListener(MouseEvent.ROLL_OVER, rolloverAround); AroundMode.addEventListener(MouseEvent.ROLL_OUT, rollout); CrazyMode.addEventListener(MouseEvent.CLICK, playCrazy); CrazyMode.addEventListener(MouseEvent.ROLL_OVER, rolloverCrazy); CrazyMode.addEventListener(MouseEvent.ROLL_OUT, rollout); ExtremeMode.addEventListener(MouseEvent.CLICK, playExtreme); ExtremeMode.addEventListener(MouseEvent.ROLL_OVER, rolloverExtreme); ExtremeMode.addEventListener(MouseEvent.ROLL_OUT, rollout); CannonMode.addEventListener(MouseEvent.CLICK, playCannon); CannonMode.addEventListener(MouseEvent.ROLL_OVER, rolloverCannon); CannonMode.addEventListener(MouseEvent.ROLL_OUT, rollout); MenuButton.addEventListener(MouseEvent.CLICK, gotoMenu); GameMode = "Nothing"; if (LevelT == 1){ bb2.alpha = 1; } else { bb2.alpha = 0.3; }; if (NormalT == 1){ bb1.aplha = 1; } else { bb1.alpha = 0.3; }; if (RandomT == 1){ bb3.alpha = 1; } else { bb3.alpha = 0.3; }; if (AroundT == 1){ bb4.alpha = 1; } else { bb4.alpha = 0.3; }; if (ExtremeT == 1){ bb5.alpha = 1; } else { bb5.alpha = 0.3; }; if (CannonT == 1){ bb6.alpha = 1; } else { bb6.alpha = 0.3; }; } public function startClock(){ ClockTimer = new Timer(1000, 1); ClockTimer.addEventListener(TimerEvent.TIMER_COMPLETE, addSecond); ClockTimer.start(); } public function examineLevel(){ var _local1:int; var _local2:*; var _local3:Object; walls = new Array(); _local1 = 0; while (_local1 < this.gamelevel.numChildren) { _local2 = this.gamelevel.getChildAt(_local1); _local3 = new Object(); _local3.mc = _local2; walls.push(_local3.mc); _local1++; }; } public function checkTimePassed(_arg1:Event){ } public function deletePowerups(){ var _local1:int; _local1 = (powerups.length - 1); while (_local1 >= 0) { removeChild(powerups[_local1]); _local1--; }; } public function poweruptimer(){ powerupTimer = new Timer(20000, 1); powerupTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatpoweruptimer); powerupTimer.start(); } public function ExtremeCannons(){ ExtremeCannonTimer = new Timer(1000, 1); ExtremeCannonTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatExtremeCannonTimer); ExtremeCannonTimer.start(); } public function startLevelClock(){ LevelTimer = new Timer(1000, 1); LevelTimer.addEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); LevelTimer.start(); } public function repeatExtremeCannonTimer(_arg1:TimerEvent){ ExtremeCannons(); addsmartBlock1(); } public function lessShootingTime(){ shootingTimer = new Timer(5000, 1); shootingTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatlessShootingTime); shootingTimer.start(); } public function higheffects(_arg1:MouseEvent){ stage.frameRate = 25; } public function addsmartBlock3(){ var _local1:Number; var _local2:smartBlock; _local1 = 100; smartBlockY = 420; smartBlockX = 302; _local2 = new smartBlock(smartBlockX, smartBlockY, _local1, cursor); addChild(_local2); smartblocks.push(_local2); BBCounter = (BBCounter + 1); } public function playRandom(_arg1:MouseEvent){ gotoAndStop("Normal"); GameMode = "Random"; } public function addsmartBlock1(){ var _local1:Number; var _local2:smartBlock; _local1 = 100; smartBlockY = 34; smartBlockX = 302; _local2 = new smartBlock(smartBlockX, smartBlockY, _local1, cursor); addChild(_local2); smartblocks.push(_local2); BBCounter = (BBCounter + 1); } public function addsmartBlock2(){ var _local1:Number; var _local2:smartBlock; _local1 = 100; smartBlockY = 224; smartBlockX = 576; _local2 = new smartBlock(smartBlockX, smartBlockY, _local1, cursor); addChild(_local2); smartblocks.push(_local2); BBCounter = (BBCounter + 1); } public function playNormal(_arg1:MouseEvent){ gotoAndStop("Normal"); GameMode = "Normal"; } public function removePowerup(_arg1:Powerup){ var _local2:*; for (_local2 in powerups) { if (powerups[_local2] == _arg1){ powerups.splice(_local2, 1); break; }; }; } public function highquality(_arg1:MouseEvent){ stage.quality = "high"; } public function addBlock1(){ var _local1:Number; var _local2:Block; _local1 = 100; BlockY1 = 40; BlockX1 = 575; _local2 = new Block(BlockX1, BlockY1, _local1, cursor); addChild(_local2); blocks.push(_local2); BBCounter = (BBCounter + 1); } public function addBlock2(){ var _local1:Number; var _local2:Block; _local1 = 100; BlockY2 = 413; BlockX2 = 22; _local2 = new Block(BlockX2, BlockY2, _local1, cursor); addChild(_local2); blocks.push(_local2); BBCounter = (BBCounter + 1); } public function addBlock3(){ var _local1:Number; var _local2:Block; _local1 = 100; BlockY3 = 413; BlockX3 = 575; _local2 = new Block(BlockX3, BlockY3, _local1, cursor); addChild(_local2); blocks.push(_local2); BBCounter = (BBCounter + 1); } public function showInstructions(_arg1:MouseEvent){ gotoAndStop("Instructions"); } public function playCannon(_arg1:MouseEvent){ gotoAndStop("Normal"); GameMode = "Cannon"; } public function addsmartBlock4(){ var _local1:Number; var _local2:smartBlock; _local1 = 100; smartBlockY = 225; smartBlockX = 18; _local2 = new smartBlock(smartBlockX, smartBlockY, _local1, cursor); addChild(_local2); smartblocks.push(_local2); BBCounter = (BBCounter + 1); } public function starttheGame(_arg1:MouseEvent){ gotoAndStop("ChooseMode"); } public function addBlockTimerAround(){ ballTimerAround = new Timer(AroundBlockTime, 1); ballTimerAround.addEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); ballTimerAround.start(); } public function gotoMenu(_arg1:MouseEvent){ gotoAndStop("Menu"); } public function repeatsmartBlockTimerandAddsmartBlock(_arg1:TimerEvent){ addsmartBlock1(); addsmartBlockTimer(); if (MoreCannons > 2){ addsmartBlock2(); }; if (MoreCannons > 3){ addsmartBlock3(); }; if (MoreCannons > 6){ addsmartBlock4(); }; } public function CrazyModeHigh(_arg1:MouseEvent){ var _local2:URLRequest; url = "http://rankz.armorbot.com/BlueBall2CrazyMode/"; _local2 = new URLRequest(url); navigateToURL(_local2, "_blank"); } public function goToMenu(_arg1:MouseEvent){ gotoAndStop("Menu"); } public function playLevel3(_arg1:MouseEvent){ GameMode = "Level3"; gotoAndStop("Normal"); } public function rolloverToggle(_arg1:MouseEvent){ toggleButton.gotoAndStop((toggleButton.buttonState + " over")); } public function playLevel7(_arg1:MouseEvent){ GameMode = "Level7"; gotoAndStop("Normal"); } public function playLevel2(_arg1:MouseEvent){ GameMode = "Level2"; gotoAndStop("Normal"); } public function playLevel4(_arg1:MouseEvent){ GameMode = "Level4"; gotoAndStop("Normal"); } public function playLevel8(_arg1:MouseEvent){ GameMode = "Level8"; gotoAndStop("Normal"); } public function playLevel6(_arg1:MouseEvent){ GameMode = "Level6"; gotoAndStop("Normal"); } public function playLevel9(_arg1:MouseEvent){ GameMode = "Level9"; gotoAndStop("Normal"); } public function playLevel1(_arg1:MouseEvent){ GameMode = "Level1"; gotoAndStop("Normal"); } public function playLevel5(_arg1:MouseEvent){ GameMode = "Level5"; gotoAndStop("Normal"); } public function rollout(_arg1:MouseEvent){ gameText.gotoAndStop(1); } public function gotoCredits(_arg1:MouseEvent){ gotoAndStop("Credits"); } public function checkForHits(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; _local2 = (blocks.length - 1); while (_local2 >= 0) { _local5 = (powerups.length - 1); while (_local5 >= 0) { if (powerups[_local5].hitTestObject(blocks[_local2])){ powerups[_local5].alpha = (powerups[_local5].alpha - 0.2); blocks[_local2].x = -1000; }; if (powerups[_local5].alpha < 0.1){ powerups[_local5].x = -1000; }; if (cursor.hitTestObject(powerups[_local5])){ Powerupon = true; } else { Powerupon = false; }; _local5--; }; if (cursor.hitTestObject(blocks[_local2])){ if (Powerupon == true){ } else { if (Powerupon == false){ endGame(); trace("hit"); }; }; }; _local2--; }; _local3 = (smartblocks.length - 1); while (_local3 >= 0) { _local6 = (powerups.length - 1); while (_local6 >= 0) { if (powerups[_local6].hitTestObject(smartblocks[_local3])){ powerups[_local6].alpha = (powerups[_local6].alpha - 0.2); smartblocks[_local3].x = -1000; }; if (powerups[_local6].alpha < 0.1){ powerups[_local6].x = -1000; }; if (cursor.hitTestObject(powerups[_local6])){ Powerupon = true; } else { Powerupon = false; }; _local6--; }; if (smartblocks[_local3].hitTestObject(cursor)){ if (Powerupon == true){ } else { endGame(); }; }; _local3--; }; _local4 = (walls.length - 1); while (_local4 >= 0) { if (cursor.hitTestObject(walls[_local4])){ endGame(); }; _local4--; }; if (cursor.hitTestObject(box)){ } else { endGame(); }; if (cursor.hitTestObject(rightWall)){ endGame(); }; if (cursor.hitTestObject(leftWall)){ endGame(); }; if (cursor.hitTestObject(upWall)){ endGame(); }; if (cursor.hitTestObject(downWall)){ endGame(); }; } public function gotoChooseMode1(_arg1:MouseEvent){ gotoAndStop("ChooseMode"); } public function playCrazy(_arg1:MouseEvent){ if (CrazyUnlocked == 1){ gotoAndStop("Normal"); GameMode = "Crazy"; } else { if (CrazyUnlocked == 2){ deletelockedTimer(); }; }; } public function addLevelSecond(_arg1:TimerEvent){ CountdownSeconds = (CountdownSeconds - 1); LeveltimeString = String(CountdownSeconds); LeveltimeDisplay.text = LeveltimeString; startLevelClock(); if (CountdownSeconds <= 0){ if (GameMode == "Level1"){ Level22 = 1; } else { if (GameMode == "Level2"){ Level33 = 1; } else { if (GameMode == "Level3"){ Level44 = 1; } else { if (GameMode == "Level4"){ Level55 = 1; } else { if (GameMode == "Level5"){ Level66 = 1; } else { if (GameMode == "Level6"){ Level77 = 1; } else { if (GameMode == "Level7"){ Level88 = 1; } else { if (GameMode == "Level8"){ Level99 = 1; } else { if (GameMode == "Level9"){ Level1010 = 1; } else { if (GameMode == "Level10"){ LevelT = 1; }; }; }; }; }; }; }; }; }; }; LocalBBCounter.data.gameinfoBB = BBCounter; endGame(); }; } public function checkGameMode(){ if (GameMode == "Normal"){ addBlockTimerNormal(); } else { if (GameMode == "Random"){ addBlockTimerRandom(); } else { if (GameMode == "Around"){ AroundBlockTime = 1500; addBlockTimerAround(); } else { if (GameMode == "Cannon"){ addsmartBlockTimer(); lessShootingTime(); } else { if (GameMode == "Extreme"){ AroundBlockTime = 9000; ExtremeModeTimer(); addBlockTimerAround(); ExtremeCannons(); addBlock(); addBlock1(); addBlock2(); addBlock3(); } else { if (GameMode == "Crazy"){ addBlockTimerCrazy(); } else { if (GameMode == "Level1"){ startLevelClock(); addBlockTimerNormal(); } else { if (GameMode == "Level2"){ startLevelClock(); addBlockTimerNormal(); } else { if (GameMode == "Level3"){ startLevelClock(); addBlockTimerNormal(); addBlockTimerRandom(); } else { if (GameMode == "Level4"){ startLevelClock(); AroundBlockTime = 1346; addBlockTimerAround(); addBlockTimerRandom(); } else { if (GameMode == "Level5"){ startLevelClock(); addBlockTimerNormal(); } else { if (GameMode == "Level6"){ startLevelClock(); addBlockTimerNormal(); AroundBlockTime = 1346; addBlockTimerAround(); } else { if (GameMode == "Level7"){ startLevelClock(); AroundBlockTime = 160; addBlockTimerAround(); } else { if (GameMode == "Level8"){ startLevelClock(); addsmartBlockTimer(); lessShootingTime(); AroundBlockTime = 1346; addBlockTimerAround(); addBlockTimerNormal(); } else { if (GameMode == "Level9"){ startLevelClock(); addBlockTimerNormal(); } else { if (GameMode == "Level10"){ startLevelClock(); AroundBlockTime = 500; addBlockTimerAround(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } public function ChangeCursord(_arg1:MouseEvent){ cursor.gotoAndStop(1); } public function addBlockTimerCrazy(){ blockTimer = new Timer(130, 1); blockTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlockC); blockTimer.start(); } public function repeatballTimerRandom(_arg1:TimerEvent){ var _local2:Number; _local2 = Math.random(); if (_local2 > 0.5){ if (Math.random() > 0.5){ addBlock(); } else { addBlock1(); }; } else { if (Math.random() > 0.5){ addBlock2(); } else { addBlock3(); }; }; addBlockTimerRandom(); } public function songCompleteHandler(_arg1:Event){ toggleButton.buttonState = "on"; startSong(); } public function repeatpoweruptimer(_arg1:TimerEvent){ poweruptimer(); } public function sendHighScores(){ var abrazor30Data:URLRequest; var variables:URLVariables; var verbs:Number; var viper:String; var loader:URLLoader; var dataOnLoad:Function; dataOnLoad = function (_arg1:Event){ trace(loader.data); }; abrazor30Data = new URLRequest("http://rankz.armorbot.com/submit/as3_v0.php"); abrazor30Data.method = URLRequestMethod.POST; variables = new URLVariables(); if (GameMode == "Normal"){ variables.flashkey = "SGFrVlRkdGg="; variables.SU0249 = "MjUyMGolZSVhJW4lcw=="; } else { if (GameMode == "Random"){ variables.flashkey = "SlVyclpPa0o="; variables.SU0249 = "MjUyMWolZSVhJW4lcw=="; } else { if (GameMode == "Around"){ variables.flashkey = "VXVLZEJ1Wm8="; variables.SU0249 = "MjUyMmolZSVhJW4lcw=="; } else { if (GameMode == "Crazy"){ variables.flashkey = "dWJkR0dwUXg="; variables.SU0249 = "MjUyM2olZSVhJW4lcw=="; } else { if (GameMode == "Extreme"){ variables.flashkey = "b01ZRW1rYWk="; variables.SU0249 = "MjUyNGolZSVhJW4lcw=="; } else { if (GameMode == "Cannon"){ variables.flashkey = "b2lnYnZWaEw="; variables.SU0249 = "MjUyNWolZSVhJW4lcw=="; }; }; }; }; }; }; variables.bmFtZTE = theplayerName; verbs = seconds; viper = (verbs + "Z"); variables.c2NvcmUx = viper.split("0").join("U"); variables.c2NvcmUx = variables.c2NvcmUx.split("").join("A"); variables.c2NvcmUx = variables.c2NvcmUx.split("AU").join("Y"); variables.c2NvcmUx = variables.c2NvcmUx.split("A1").join("B"); variables.c2NvcmUx = variables.c2NvcmUx.split(".").join("N"); abrazor30Data.data = variables; loader = new URLLoader(); loader.dataFormat = URLLoaderDataFormat.TEXT; loader.addEventListener(Event.COMPLETE, dataOnLoad); loader.load(abrazor30Data); ShowIfPosted.gotoAndStop(2); } public function playAround(_arg1:MouseEvent){ gotoAndStop("Normal"); GameMode = "Around"; } public function CannonModeHigh(_arg1:MouseEvent){ var _local2:URLRequest; url = "http://rankz.armorbot.com/BlueBall2CannonMode/"; _local2 = new URLRequest(url); navigateToURL(_local2, "_blank"); } public function gotoChooseMode(_arg1:MouseEvent){ gotoAndStop("ChooseMode"); } public function deletesmartBlocks(){ var _local1:int; _local1 = (smartblocks.length - 1); while (_local1 >= 0) { smartblocks[_local1].x = -1000; _local1--; }; } public function PopUpHighScores(_arg1:MouseEvent){ gotoAndStop("HighScores"); } public function removeBlock(_arg1:Block){ var _local2:*; for (_local2 in blocks) { if (blocks[_local2] == _arg1){ blocks.splice(_local2, 1); break; }; }; } public function PlayThisAgain(_arg1:MouseEvent){ gotoAndStop("Normal"); } public function addPowerup(){ var _local1:Number; var _local2:Powerup; _local1 = 100; PowerupY = 217; PowerupX = 285; _local2 = new Powerup(PowerupX, PowerupY, _local1, cursor); addChild(_local2); powerups.push(_local2); } public function moveCursor(_arg1:Event){ cursor.x = mouseX; cursor.y = mouseY; } public function ExtremeModeHigh(_arg1:MouseEvent){ var _local2:URLRequest; url = "http://rankz.armorbot.com/BlueBall2ExtremeMode/"; _local2 = new URLRequest(url); navigateToURL(_local2, "_blank"); } public function toggleClick(_arg1:MouseEvent){ if (toggleButton.buttonState == "on"){ toggleButton.buttonState = "off"; stopSong(); } else { toggleButton.buttonState = "on"; startSong(); }; toggleButton.gotoAndStop((toggleButton.buttonState + " over")); } public function repeatCountDownClock(_arg1:TimerEvent){ var _local2:*; CountDownClock(); if (Countdownseconds == 0){ Countdownseconds = 20; addPowerup(); } else { Countdownseconds = (Countdownseconds - 1); }; _local2 = String(Countdownseconds); CountdownText.text = _local2; } public function addsmartBlockTimer(){ smartblockTimer = new Timer(smartBlockShootingTime, 1); smartblockTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatsmartBlockTimerandAddsmartBlock); smartblockTimer.start(); } public function repeatBlockTimerandAddBlock(_arg1:TimerEvent){ var _local2:Number; _local2 = Math.random(); addBlock(); addBlockTimerNormal(); } public function playLevel10(_arg1:MouseEvent){ GameMode = "Level10"; gotoAndStop("Normal"); } public function playExtreme(_arg1:MouseEvent){ gotoAndStop("Normal"); GameMode = "Extreme"; } public function goToMenu1(_arg1:MouseEvent){ gotoAndStop("Menu"); } public function goToMenu5(_arg1:MouseEvent){ gotoAndStop("Menu"); } public function rolloverRandom(_arg1:MouseEvent){ gameText.gotoAndStop(4); } public function goToMenu9(_arg1:MouseEvent){ gotoAndStop("Menu"); } public function repeatballTimerAround(_arg1:TimerEvent){ addBlockTimerAround(); if (AroundNumber == 0){ addBlock(); } else { if (AroundNumber == 1){ addBlock1(); } else { if (AroundNumber == 2){ addBlock3(); } else { if (AroundNumber == 3){ addBlock2(); }; }; }; }; if (AroundNumber == 3){ AroundNumber = 0; } else { AroundNumber = (AroundNumber + 1); }; } public function AroundModeHigh(_arg1:MouseEvent){ var _local2:URLRequest; url = "http://rankz.armorbot.com/BlueBall2AroundMode/"; _local2 = new URLRequest(url); navigateToURL(_local2, "_blank"); } public function lowquality(_arg1:MouseEvent){ stage.quality = "low"; } public function rolloverLevel(_arg1:MouseEvent){ gameText.gotoAndStop(3); } public function loweffects(_arg1:MouseEvent){ stage.frameRate = 15; } public function rolloverCannon(_arg1:MouseEvent){ gameText.gotoAndStop(8); } public function deleteBlocks(){ var _local1:int; _local1 = (blocks.length - 1); while (_local1 >= 0) { blocks[_local1].x = -1000; _local1--; }; } public function goToMenu10(_arg1:MouseEvent){ gotoAndStop("Menu"); } public function rolloverNormal(_arg1:MouseEvent){ gameText.gotoAndStop(2); } public function ChangeCursor(_arg1:MouseEvent){ if (CursorC > 26){ CursorC = 1; } else { CursorC = (CursorC + 1); }; cursor.gotoAndStop(CursorC); } public function goToMenu4(_arg1:MouseEvent){ gotoAndStop("Menu"); } public function endGame(){ removeEventListener(Event.ENTER_FRAME, checkForHits); if (GameMode == "Normal"){ blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); } else { if (GameMode == "Random"){ ballTimerRandom.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerRandom); } else { if (GameMode == "Around"){ ballTimerAround.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); AroundNumber = 0; } else { if (GameMode == "Cannon"){ smartblockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatsmartBlockTimerandAddsmartBlock); shootingTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatlessShootingTime); smartBlockShootingTime = 2000; MoreCannons = 0; } else { if (GameMode == "Extreme"){ ExtremeTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatExtremeModeTimer); ballTimerAround.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); ExtremeCannonTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatExtremeCannonTimer); AroundNumber = 0; ExtremeShootingTime = 19000; } else { if (GameMode == "Crazy"){ blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlockC); } else { if (GameMode == "Level1"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); } else { if (GameMode == "Level2"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); } else { if (GameMode == "Level3"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); ballTimerRandom.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerRandom); blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); } else { if (GameMode == "Level4"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); ballTimerAround.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); ballTimerRandom.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerRandom); AroundNumber = 0; } else { if (GameMode == "Level5"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); } else { if (GameMode == "Level6"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); ballTimerAround.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); AroundNumber = 0; } else { if (GameMode == "Level7"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); ballTimerAround.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); AroundNumber = 0; } else { if (GameMode == "Level8"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); ballTimerAround.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); AroundNumber = 0; blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); smartblockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatsmartBlockTimerandAddsmartBlock); shootingTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatlessShootingTime); smartBlockShootingTime = 2000; MoreCannons = 0; } else { if (GameMode == "Level9"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); blockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatBlockTimerandAddBlock); } else { if (GameMode == "Level10"){ LevelTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addLevelSecond); ballTimerAround.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatballTimerAround); AroundNumber = 0; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; deleteBlocks(); deletesmartBlocks(); deletePowerups(); ClockTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, addSecond); powerupTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatpoweruptimer); countDownTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, repeatCountDownClock); gotoAndStop("GameOver"); } public function repeatBlockTimerandAddBlockC(_arg1:TimerEvent){ addBlock(); addBlockTimerCrazy(); } public function startGame(){ blocks = new Array(); smartblocks = new Array(); powerups = new Array(); examineLevel(); checkGameMode(); addEventListener(Event.ENTER_FRAME, checkForHits); Countdownseconds = 20; CountDownClock(); poweruptimer(); } public function gotoOptions(_arg1:MouseEvent){ gotoAndStop("Options"); } public function removesmartBlock(_arg1:smartBlock){ var _local2:*; for (_local2 in smartblocks) { if (smartblocks[_local2] == _arg1){ smartblocks.splice(_local2, 1); break; }; }; } public function deletelockedTimer(){ locked.x = (CrazyMode.x - 60); locked.y = CrazyMode.y; locked.alpha = 0.6; addChild(locked); deleteTimer = new Timer(1000, 1); deleteTimer.addEventListener(TimerEvent.TIMER_COMPLETE, deletelocked); deleteTimer.start(); } public function repeatExtremeModeTimer(_arg1:TimerEvent){ ExtremeModeTimer(); if (ExtremeShootingTime >= 300){ ExtremeShootingTime = (ExtremeShootingTime - 50); }; addBlock(); addBlock1(); addBlock2(); addBlock3(); } public function mediumeffects(_arg1:MouseEvent){ stage.frameRate = 20; } public function rolloverAround(_arg1:MouseEvent){ gameText.gotoAndStop(5); } } }//package
Section 13
//Powerup (Powerup) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class Powerup extends MovieClip { private var xdif:Number;// = 0 public var poweredUp:Boolean;// = false private var cursor:Cursor; private var speed; public var deleteTimer:Timer; private var ydif:Number;// = 0 private var lastTime:int; private var updatePositionY:Number; private var locationTimer:Timer; private var target:Cursor; private var updatePositionX:Number; public var blockSpeed:Number;// = 100 public var length; public function Powerup(_arg1, _arg2:Number, _arg3:Number, _arg4:Cursor){ blockSpeed = 100; xdif = 0; ydif = 0; speed = ((Math.random() * 80) + 60); length = Math.sqrt(((xdif * xdif) + (ydif * ydif))); poweredUp = false; super(); this.x = _arg1; this.y = _arg2; blockSpeed = _arg3; addEventListener(Event.ENTER_FRAME, movePowerup); this.target = _arg4; } public function movePowerup(_arg1:Event){ var _local2:int; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); if (poweredUp == true){ this.x = target.x; this.y = target.y; if (this.alpha < 0.1){ deleteBlock(); }; }; if (this.hitTestObject(target)){ poweredUp = true; }; } public function deleteBlock(){ MovieClip(parent).removePowerup(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, movePowerup); } } }//package
Section 14
//smartBlock (smartBlock) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class smartBlock extends MovieClip { private var xdif:Number;// = 0 private var cursor:Cursor; private var speed;// = 300 private var ydif:Number;// = 0 private var lastTime:int; private var updatePositionY:Number; private var locationTimer:Timer; private var target:Cursor; private var updatePositionX:Number; public var blockSpeed:Number;// = 100 public function smartBlock(_arg1, _arg2:Number, _arg3:Number, _arg4:Cursor){ blockSpeed = 100; xdif = 0; ydif = 0; speed = 300; super(); this.x = _arg1; this.y = _arg2; addEventListener(Event.ENTER_FRAME, moveBlock); this.target = _arg4; getCursorLocation(); } public function getCursorLocation(){ locationTimer = new Timer(3000, 1); locationTimer.addEventListener(TimerEvent.TIMER_COMPLETE, repeatGetCursorLocation); locationTimer.start(); } public function deletesmartBlock(){ MovieClip(parent).removesmartBlock(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveBlock); } public function moveBlock(_arg1:Event){ var _local2:int; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.x = (this.x + ((xdif * _local2) / 1000)); this.y = (this.y + ((ydif * _local2) / 1000)); if (this.x < -10){ deletesmartBlock(); } else { if (this.y > 510){ deletesmartBlock(); } else { if (this.y < -10){ deletesmartBlock(); } else { if (this.x > 610){ deletesmartBlock(); }; }; }; }; } public function repeatGetCursorLocation(_arg1:TimerEvent){ var _local2:*; getCursorLocation(); xdif = (target.x - this.x); ydif = (target.y - this.y); _local2 = Math.sqrt(((xdif * xdif) + (ydif * ydif))); xdif = (xdif / _local2); ydif = (ydif / _local2); xdif = (xdif * speed); ydif = (ydif * speed); } } }//package
Section 15
//TestSong (TestSong) package { import flash.media.*; public dynamic class TestSong extends Sound { } }//package
Section 16
//Wall (Wall) package { import flash.display.*; public dynamic class Wall extends MovieClip { } }//package

Library Items

Symbol 1 GraphicUsed by:2 40 76 77 78 79 80 81 219
Symbol 2 MovieClipUses:1Used by:3
Symbol 3 MovieClip {Block}Uses:2
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip {smartBlock}Uses:4
Symbol 6 GraphicUsed by:7 218
Symbol 7 MovieClip {Powerup}Uses:6
Symbol 8 FontUsed by:9 41 43 47 49 50 54 55 57 58 60 61 63 64 66 67 70 71 73 74 93 94 96 97 99 101 102 104 105 107 108 113 114 116 117 120 121 122 123 124 125 126 127 130 131 133 135 136 138 139 141 142 144 145 147 148 151 152 154 155 157 158 160 161 163 165 166 167 168 169 170 173 175 183 185 186 188 189 195 196 198 200 201 202 206 207 208 209 210 211 213 214 215 217 222 224 226 232 233 234 235 236 238 239 241 242 244 246 248 249 250 251 252 253 254 255 256 257 261 263 265 267 269 271 273 275 277 279 281
Symbol 9 TextUses:8Used by:10
Symbol 10 MovieClip {ModeLocked}Uses:9Used by:191
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClip {Wall}Uses:11Used by:119  Timeline
Symbol 13 GraphicUsed by:38 85
Symbol 14 GraphicUsed by:38
Symbol 15 GraphicUsed by:38
Symbol 16 GraphicUsed by:38
Symbol 17 GraphicUsed by:38
Symbol 18 GraphicUsed by:38
Symbol 19 GraphicUsed by:38
Symbol 20 GraphicUsed by:38
Symbol 21 GraphicUsed by:38
Symbol 22 GraphicUsed by:38
Symbol 23 GraphicUsed by:38
Symbol 24 GraphicUsed by:38
Symbol 25 GraphicUsed by:38
Symbol 26 GraphicUsed by:38
Symbol 27 GraphicUsed by:38
Symbol 28 GraphicUsed by:38
Symbol 29 GraphicUsed by:38
Symbol 30 GraphicUsed by:38
Symbol 31 GraphicUsed by:38
Symbol 32 GraphicUsed by:38
Symbol 33 GraphicUsed by:38
Symbol 34 GraphicUsed by:38
Symbol 35 GraphicUsed by:38
Symbol 36 GraphicUsed by:38
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClip {Cursor}Uses:13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37Used by:191  Timeline
Symbol 39 GraphicUsed by:Timeline
Symbol 40 MovieClipUses:1Used by:191  Timeline
Symbol 41 TextUses:8Used by:42
Symbol 42 MovieClipUses:41Used by:191  Timeline
Symbol 43 TextUses:8Used by:44
Symbol 44 MovieClipUses:43Used by:191  Timeline
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:191  Timeline
Symbol 47 TextUses:8Used by:Timeline
Symbol 48 GraphicUsed by:51
Symbol 49 EditableTextUses:8 177Used by:51
Symbol 50 EditableTextUses:8 177Used by:51
Symbol 51 ButtonUses:48 49 50Used by:Timeline
Symbol 52 GraphicUsed by:Timeline
Symbol 53 GraphicUsed by:Timeline
Symbol 54 TextUses:8Used by:56
Symbol 55 TextUses:8Used by:56
Symbol 56 ButtonUses:54 55Used by:191  Timeline
Symbol 57 TextUses:8Used by:59  Timeline
Symbol 58 TextUses:8Used by:59
Symbol 59 ButtonUses:57 58Used by:191  Timeline
Symbol 60 TextUses:8Used by:62  Timeline
Symbol 61 TextUses:8Used by:62
Symbol 62 ButtonUses:60 61Used by:191  Timeline
Symbol 63 TextUses:8Used by:65  Timeline
Symbol 64 TextUses:8Used by:65
Symbol 65 ButtonUses:63 64Used by:191  Timeline
Symbol 66 TextUses:8Used by:68  Timeline
Symbol 67 TextUses:8Used by:68
Symbol 68 ButtonUses:66 67Used by:Timeline
Symbol 69 GraphicUsed by:191
Symbol 70 TextUses:8Used by:72
Symbol 71 TextUses:8Used by:72
Symbol 72 ButtonUses:70 71Used by:191  Timeline
Symbol 73 TextUses:8Used by:75
Symbol 74 TextUses:8Used by:75
Symbol 75 ButtonUses:73 74Used by:191  Timeline
Symbol 76 MovieClipUses:1Used by:191  Timeline
Symbol 77 MovieClipUses:1Used by:191  Timeline
Symbol 78 MovieClipUses:1Used by:191  Timeline
Symbol 79 MovieClipUses:1Used by:191  Timeline
Symbol 80 MovieClipUses:1Used by:191  Timeline
Symbol 81 MovieClipUses:1Used by:191  Timeline
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:191
Symbol 84 GraphicUsed by:85
Symbol 85 ButtonUses:13 84Used by:191  Timeline
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:191  Timeline
Symbol 88 GraphicUsed by:92
Symbol 89 GraphicUsed by:91
Symbol 90 GraphicUsed by:91
Symbol 91 ButtonUses:89 90Used by:92
Symbol 92 MovieClip {NewGame_fla.BlueBall_24}Uses:88 91Used by:191
Symbol 93 TextUses:8Used by:95
Symbol 94 TextUses:8Used by:95
Symbol 95 ButtonUses:93 94Used by:191  Timeline
Symbol 96 TextUses:8Used by:98
Symbol 97 TextUses:8Used by:98
Symbol 98 ButtonUses:96 97Used by:191  Timeline
Symbol 99 TextUses:8Used by:100
Symbol 100 MovieClipUses:99Used by:191  Timeline
Symbol 101 TextUses:8Used by:103
Symbol 102 TextUses:8Used by:103
Symbol 103 ButtonUses:101 102Used by:191  Timeline
Symbol 104 TextUses:8Used by:106
Symbol 105 TextUses:8Used by:106
Symbol 106 ButtonUses:104 105Used by:191  Timeline
Symbol 107 TextUses:8Used by:109
Symbol 108 TextUses:8Used by:109
Symbol 109 ButtonUses:107 108Used by:191  Timeline
Symbol 110 GraphicUsed by:112
Symbol 111 GraphicUsed by:112
Symbol 112 ButtonUses:110 111Used by:191  Timeline
Symbol 113 TextUses:8Used by:115
Symbol 114 TextUses:8Used by:115
Symbol 115 ButtonUses:113 114Used by:191  Timeline
Symbol 116 TextUses:8Used by:118
Symbol 117 TextUses:8Used by:118
Symbol 118 ButtonUses:116 117Used by:191  Timeline
Symbol 119 MovieClip {NewGame_fla.gamelevel_35}Uses:12Used by:191  Timeline
Symbol 120 TextUses:8Used by:128
Symbol 121 TextUses:8Used by:128
Symbol 122 TextUses:8Used by:128
Symbol 123 TextUses:8Used by:128
Symbol 124 TextUses:8Used by:128
Symbol 125 TextUses:8Used by:128
Symbol 126 TextUses:8Used by:128
Symbol 127 TextUses:8Used by:128
Symbol 128 MovieClip {NewGame_fla.GameText_37}Uses:120 121 122 123 124 125 126 127Used by:191  Timeline
Symbol 129 GraphicUsed by:132 187
Symbol 130 EditableTextUses:8Used by:132
Symbol 131 EditableTextUses:8Used by:132
Symbol 132 ButtonUses:129 130 131Used by:191
Symbol 133 TextUses:8Used by:134
Symbol 134 MovieClipUses:133Used by:191
Symbol 135 TextUses:8Used by:137
Symbol 136 TextUses:8Used by:137
Symbol 137 ButtonUses:135 136Used by:191  Timeline
Symbol 138 TextUses:8Used by:140
Symbol 139 TextUses:8Used by:140
Symbol 140 ButtonUses:138 139Used by:191  Timeline
Symbol 141 TextUses:8Used by:143
Symbol 142 TextUses:8Used by:143
Symbol 143 ButtonUses:141 142Used by:191  Timeline
Symbol 144 TextUses:8Used by:146
Symbol 145 TextUses:8Used by:146
Symbol 146 ButtonUses:144 145Used by:191  Timeline
Symbol 147 TextUses:8Used by:149
Symbol 148 TextUses:8Used by:149
Symbol 149 ButtonUses:147 148Used by:191  Timeline
Symbol 150 MovieClipUsed by:191
Symbol 151 TextUses:8Used by:153
Symbol 152 TextUses:8Used by:153
Symbol 153 ButtonUses:151 152Used by:191
Symbol 154 TextUses:8Used by:156
Symbol 155 TextUses:8Used by:156
Symbol 156 ButtonUses:154 155Used by:191  Timeline
Symbol 157 TextUses:8Used by:159
Symbol 158 TextUses:8Used by:159
Symbol 159 ButtonUses:157 158Used by:191  Timeline
Symbol 160 TextUses:8Used by:162
Symbol 161 TextUses:8Used by:162
Symbol 162 ButtonUses:160 161Used by:191  Timeline
Symbol 163 TextUses:8Used by:164
Symbol 164 MovieClip {NewGame_fla.ShowIfPosted_51}Uses:163Used by:191  Timeline
Symbol 165 TextUses:8Used by:171
Symbol 166 TextUses:8Used by:171
Symbol 167 TextUses:8Used by:171
Symbol 168 TextUses:8Used by:171
Symbol 169 TextUses:8Used by:171
Symbol 170 TextUses:8Used by:171
Symbol 171 MovieClip {NewGame_fla.ShowModeMC_52}Uses:165 166 167 168 169 170Used by:191  Timeline
Symbol 172 GraphicUsed by:176
Symbol 173 TextUses:8Used by:176
Symbol 174 GraphicUsed by:176
Symbol 175 TextUses:8Used by:176
Symbol 176 ButtonUses:172 173 174 175Used by:191  Timeline
Symbol 177 FontUsed by:49 50 178 179 180 181 215
Symbol 178 TextUses:177Used by:182
Symbol 179 TextUses:177Used by:182
Symbol 180 TextUses:177Used by:182
Symbol 181 TextUses:177Used by:182
Symbol 182 MovieClip {NewGame_fla.ToggleButton_54}Uses:178 179 180 181Used by:191  Timeline
Symbol 183 TextUses:8Used by:184
Symbol 184 MovieClip {NewGame_fla.Trophie_55}Uses:183Used by:191  Timeline
Symbol 185 TextUses:8Used by:187
Symbol 186 TextUses:8Used by:187
Symbol 187 ButtonUses:129 185 186Used by:191
Symbol 188 TextUses:8Used by:190
Symbol 189 TextUses:8Used by:190
Symbol 190 ButtonUses:188 189Used by:191  Timeline
Symbol 191 MovieClipUses:69 72 75 76 77 78 79 80 81 83 40 85 87 92 42 95 98 100 103 106 109 38 112 115 118 119 128 132 62 134 137 59 140 143 10 146 149 65 46 150 153 156 159 162 44 164 171 176 56 182 184 187 190Used by:Timeline
Symbol 192 Sound {TestSong}Used by:Timeline
Symbol 193 GraphicUsed by:Timeline
Symbol 194 GraphicUsed by:Timeline
Symbol 195 EditableTextUses:8Used by:Timeline
Symbol 196 TextUses:8Used by:197
Symbol 197 MovieClipUses:196Used by:Timeline
Symbol 198 TextUses:8Used by:199
Symbol 199 MovieClipUses:198Used by:Timeline
Symbol 200 EditableTextUses:8Used by:Timeline
Symbol 201 EditableTextUses:8Used by:Timeline
Symbol 202 TextUses:8Used by:203
Symbol 203 MovieClipUses:202Used by:Timeline
Symbol 204 GraphicUsed by:Timeline
Symbol 205 GraphicUsed by:Timeline
Symbol 206 EditableTextUses:8Used by:Timeline
Symbol 207 TextUses:8Used by:Timeline
Symbol 208 TextUses:8Used by:Timeline
Symbol 209 EditableTextUses:8Used by:Timeline
Symbol 210 TextUses:8Used by:Timeline
Symbol 211 TextUses:8Used by:Timeline
Symbol 212 GraphicUsed by:Timeline
Symbol 213 TextUses:8Used by:Timeline
Symbol 214 TextUses:8Used by:Timeline
Symbol 215 EditableTextUses:8 177Used by:Timeline
Symbol 216 GraphicUsed by:Timeline
Symbol 217 TextUses:8Used by:Timeline
Symbol 218 MovieClipUses:6Used by:Timeline
Symbol 219 MovieClipUses:1Used by:228  Timeline
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:220Used by:228
Symbol 222 TextUses:8Used by:223
Symbol 223 MovieClipUses:222Used by:228
Symbol 224 TextUses:8Used by:225
Symbol 225 MovieClipUses:224Used by:228
Symbol 226 TextUses:8Used by:227
Symbol 227 MovieClipUses:226Used by:228
Symbol 228 MovieClipUses:219 221 223 225 227Used by:Timeline
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:Timeline
Symbol 231 GraphicUsed by:Timeline
Symbol 232 TextUses:8Used by:Timeline
Symbol 233 TextUses:8Used by:Timeline
Symbol 234 TextUses:8Used by:Timeline
Symbol 235 TextUses:8Used by:237
Symbol 236 TextUses:8Used by:237
Symbol 237 ButtonUses:235 236Used by:Timeline
Symbol 238 TextUses:8Used by:240
Symbol 239 TextUses:8Used by:240
Symbol 240 ButtonUses:238 239Used by:Timeline
Symbol 241 TextUses:8Used by:243
Symbol 242 TextUses:8Used by:243
Symbol 243 ButtonUses:241 242Used by:Timeline
Symbol 244 TextUses:8Used by:Timeline
Symbol 245 GraphicUsed by:Timeline
Symbol 246 TextUses:8Used by:Timeline
Symbol 247 GraphicUsed by:Timeline
Symbol 248 TextUses:8Used by:Timeline
Symbol 249 EditableTextUses:8Used by:Timeline
Symbol 250 EditableTextUses:8Used by:Timeline
Symbol 251 EditableTextUses:8Used by:Timeline
Symbol 252 EditableTextUses:8Used by:Timeline
Symbol 253 EditableTextUses:8Used by:Timeline
Symbol 254 EditableTextUses:8Used by:Timeline
Symbol 255 TextUses:8Used by:Timeline
Symbol 256 EditableTextUses:8Used by:Timeline
Symbol 257 TextUses:8Used by:Timeline
Symbol 258 GraphicUsed by:Timeline
Symbol 259 GraphicUsed by:Timeline
Symbol 260 GraphicUsed by:262 264 266 268 270 272 274 276 278 280
Symbol 261 TextUses:8Used by:262
Symbol 262 MovieClipUses:260 261Used by:Timeline
Symbol 263 TextUses:8Used by:264
Symbol 264 MovieClipUses:260 263Used by:Timeline
Symbol 265 TextUses:8Used by:266
Symbol 266 MovieClipUses:260 265Used by:Timeline
Symbol 267 TextUses:8Used by:268
Symbol 268 MovieClipUses:260 267Used by:Timeline
Symbol 269 TextUses:8Used by:270
Symbol 270 MovieClipUses:260 269Used by:Timeline
Symbol 271 TextUses:8Used by:272
Symbol 272 MovieClipUses:260 271Used by:Timeline
Symbol 273 TextUses:8Used by:274
Symbol 274 MovieClipUses:260 273Used by:Timeline
Symbol 275 TextUses:8Used by:276
Symbol 276 MovieClipUses:260 275Used by:Timeline
Symbol 277 TextUses:8Used by:278
Symbol 278 MovieClipUses:260 277Used by:Timeline
Symbol 279 TextUses:8Used by:280
Symbol 280 MovieClipUses:260 279Used by:Timeline
Symbol 281 EditableTextUses:8Used by:Timeline

Instance Names

"progressBar"Frame 1Symbol 46 MovieClip
"mochiads"Frame 1Symbol 51 Button
"cursor"Frame 1Symbol 38 MovieClip {Cursor}
"startGameButton"Frame 2Symbol 56 Button
"InstructionsButton"Frame 2Symbol 59 Button
"ViewHighScoresButton"Frame 2Symbol 62 Button
"OptionsButton"Frame 2Symbol 65 Button
"CreditsButton"Frame 2Symbol 68 Button
"box"Frame 3Symbol 87 MovieClip
"gamelevel"Frame 3Symbol 119 MovieClip {NewGame_fla.gamelevel_35}
"timeDisplay"Frame 3Symbol 195 EditableText
"StartButton"Frame 3Symbol 176 Button
"Txt1"Frame 3Symbol 197 MovieClip
"LevelTxt"Frame 3Symbol 199 MovieClip
"LeveltimeDisplay"Frame 3Symbol 200 EditableText
"leftWall"Frame 3Symbol 12 MovieClip {Wall}
"rightWall"Frame 3Symbol 12 MovieClip {Wall}
"upWall"Frame 3Symbol 12 MovieClip {Wall}
"downWall"Frame 3Symbol 12 MovieClip {Wall}
"CountdownText"Frame 3Symbol 201 EditableText
"Txt2"Frame 3Symbol 203 MovieClip
"Trophie"Frame 4Symbol 184 MovieClip {NewGame_fla.Trophie_55}
"timeDisplay"Frame 4Symbol 206 EditableText
"playerName"Frame 4Symbol 209 EditableText
"playAgainButton1"Frame 4Symbol 143 Button
"ShowIfPosted"Frame 4Symbol 164 MovieClip {NewGame_fla.ShowIfPosted_51}
"ChooseModeButton"Frame 4Symbol 103 Button
"PlayThisAgainButton"Frame 4Symbol 156 Button
"HighScoreButton"Frame 4Symbol 137 Button
"ViewHighScoresButton1"Frame 4Symbol 190 Button
"ShowModeMC"Frame 4Symbol 171 MovieClip {NewGame_fla.ShowModeMC_52}
"playAgainButton"Frame 5Symbol 143 Button
"playAgainButton10"Frame 6Symbol 143 Button
"playAgainButton5"Frame 7Symbol 143 Button
"toggleButton"Frame 7Symbol 182 MovieClip {NewGame_fla.ToggleButton_54}
"lowq"Frame 7Symbol 237 Button
"mediumq"Frame 7Symbol 240 Button
"highq"Frame 7Symbol 243 Button
"lowe"Frame 7Symbol 237 Button
"mediume"Frame 7Symbol 240 Button
"highe"Frame 7Symbol 243 Button
"CursorColor"Frame 7Symbol 112 Button
"blackbutton"Frame 7Symbol 85 Button
"MenuButton"Frame 8Symbol 143 Button
"NormalMode"Frame 8Symbol 146 Button
"bb1"Frame 8Symbol 76 MovieClip
"bb2"Frame 8Symbol 77 MovieClip
"bb3"Frame 8Symbol 78 MovieClip
"bb4"Frame 8Symbol 79 MovieClip
"bb5"Frame 8Symbol 80 MovieClip
"bb6"Frame 8Symbol 81 MovieClip
"NormalBB"Frame 8Symbol 249 EditableText
"RandomBB"Frame 8Symbol 250 EditableText
"AroundBB"Frame 8Symbol 251 EditableText
"ExtremeBB"Frame 8Symbol 252 EditableText
"CannonBB"Frame 8Symbol 253 EditableText
"TotalTime"Frame 8Symbol 254 EditableText
"BlueBallCounter"Frame 8Symbol 256 EditableText
"RandomMode"Frame 8Symbol 159 Button
"gameText"Frame 8Symbol 128 MovieClip {NewGame_fla.GameText_37}
"AroundMode"Frame 8Symbol 72 Button
"LevelMode"Frame 8Symbol 140 Button
"CrazyMode"Frame 8Symbol 106 Button
"ExtremeMode"Frame 8Symbol 115 Button
"CannonMode"Frame 8Symbol 95 Button
"playAgainButton4"Frame 9Symbol 143 Button
"NormalModeH"Frame 9Symbol 149 Button
"RandomModeH"Frame 9Symbol 162 Button
"AroundModeH"Frame 9Symbol 75 Button
"CrazyModeH"Frame 9Symbol 109 Button
"ExtremeModeH"Frame 9Symbol 118 Button
"CannonModeH"Frame 9Symbol 98 Button
"MenuButton9"Frame 10Symbol 143 Button
"Level1"Frame 10Symbol 262 MovieClip
"Level2"Frame 10Symbol 264 MovieClip
"Level3"Frame 10Symbol 266 MovieClip
"Level4"Frame 10Symbol 268 MovieClip
"Level5"Frame 10Symbol 270 MovieClip
"Level6"Frame 10Symbol 272 MovieClip
"Level7"Frame 10Symbol 274 MovieClip
"Level8"Frame 10Symbol 276 MovieClip
"Level9"Frame 10Symbol 278 MovieClip
"Level10"Frame 10Symbol 280 MovieClip
"ChooseModeButton1"Frame 10Symbol 103 Button
"LevelMade"Frame 10Symbol 281 EditableText
"playButton"Symbol 92 MovieClip {NewGame_fla.BlueBall_24} Frame 1Symbol 91 Button
"quarterWall"Symbol 119 MovieClip {NewGame_fla.gamelevel_35} Frame 1Symbol 12 MovieClip {Wall}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.
Protect (24)Timeline Frame 10 bytes ""

Labels

"Preloader"Frame 1
"Menu"Frame 2
"Normal"Frame 3
"GameOver"Frame 4
"Credits"Frame 5
"Instructions"Frame 6
"Options"Frame 7
"ChooseMode"Frame 8
"HighScores"Frame 9
"Level"Frame 10
"Song"Frame 11
"off"Symbol 182 MovieClip {NewGame_fla.ToggleButton_54} Frame 1
"off over"Symbol 182 MovieClip {NewGame_fla.ToggleButton_54} Frame 2
"on"Symbol 182 MovieClip {NewGame_fla.ToggleButton_54} Frame 3
"on over"Symbol 182 MovieClip {NewGame_fla.ToggleButton_54} Frame 4




http://swfchan.com/10/49672/info.shtml
Created: 27/4 -2019 17:19:41 Last modified: 27/4 -2019 17:19:41 Server time: 29/04 -2024 19:12:19