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

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

Spin Match 2 - match all the same colored balls on the screen.swf

This is the info page for
Flash #92962

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


Text
Developed by :

Programming
Velimir Gajski
Artwork
Moses Bounty
Music
Luka Mundjer

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

www.gamingocean.com

www.gamingocean.com

Special balls:

Do not pick

Resets  Time

Adds Extra Score

Changes Rotation

Reduces Speed

Resizes

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

Match all the same colored balls on screen by moving the centre
of rotation.

Beware of the time-bar, if it runs out you have to restart level.

Good luck and have a nice spin!

ii

SPINMATCH

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="33" color="#003399" letterSpacing="0.000000" kerning="1"><b>INSTRUCTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="33" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>INSTRUCTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="33" color="#000033" letterSpacing="0.000000" kerning="1"><b>INSTRUCTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>CREDITS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>CREDITS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>CREDITS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>FREE PLAY</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>FREE PLAY</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>FREE PLAY</b></font></p>

Created by:

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>NOVICE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>NOVICE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>NOVICE</b></font></p>

SELECT CAMPAIGN

EACH CAMPAIGN CONSISTS OF 12 DIFFERENT LEVELS

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>NORMAL</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>NORMAL</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>NORMAL</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>HARD</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>HARD</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>HARD</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>EXPERT</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>EXPERT</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>EXPERT</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>IMPOSSIBLE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>IMPOSSIBLE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000000" letterSpacing="0.000000" kerning="1"><b>IMPOSSIBLE</b></font></p>

Change direction of your spin. Use it
wisely.

ROTATE BALL

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>CONTINUE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>CONTINUE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>CONTINUE</b></font></p>

Pick the ball
to increase the size
of the rotating controlled-ball.

SIZE BALL

Score some extra points by picking
this nice starlike ball!!

SCORE BALL

No need to rush cause extra
time is here!

TIME BALL

Slow those fast bouncing balls and
make your matching walk in the
park!

SLOW BALL

Better not to pick this one!

STONE BALL

<p align="center"><font face="BD Norway" size="36" color="#ff6600" letterSpacing="0.000000" kerning="1">PERSONAL BEST :</font></p>

GAME OVER

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>RESTART</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>RESTART</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>RESTART</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>MAIN MENU</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>MAIN MENU</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>MAIN MENU</b></font></p>

Start

SOUND FX

MUSIC

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>ON</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>ON</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>ON</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>OFF</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>OFF</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>OFF</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>BACK</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>START</b></font></p>

<p align="center"><font face="Aharoni" size="22" color="#003399" letterSpacing="0.000000" kerning="1"><b>RESTART</b></font></p><p align="center"><font face="Aharoni" size="22" color="#003399" letterSpacing="0.000000" kerning="1"><b>CAMPAIGN</b></font></p>

<p align="center"><font face="Aharoni" size="22" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>RESTART</b></font></p><p align="center"><font face="Aharoni" size="22" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>CAMPAIGN</b></font></p>

<p align="center"><font face="Aharoni" size="22" color="#000033" letterSpacing="0.000000" kerning="1"><b>RESTART</b></font></p><p align="center"><font face="Aharoni" size="22" color="#000033" letterSpacing="0.000000" kerning="1"><b>CAMPAIGN</b></font></p>

WARNING!
THIS WILL TAKE YOU TO MAIN
MENU...

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>YES</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>YES</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>YES</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>NO</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>NO</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>NO</b></font></p>

IN GAME MENU

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>CONTINUE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>CONTINUE</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>CONTINUE</b></font></p>

SOUND FX

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>ON</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>ON</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>ON</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>OFF</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>OFF</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>OFF</b></font></p>

MUSIC

<p align="left"><font face="BD Norway" size="35" color="#66ff00" letterSpacing="0.000000" kerning="1">PERSONAL BEST :</font></p>

<p align="center"><font face="BD Norway" size="35" color="#66ff00" letterSpacing="0.000000" kerning="1">SCORE:</font></p>

<p align="center"><font face="BD Norway" size="35" color="#000066" letterSpacing="0.000000" kerning="1">LEVEL PASSED</font></p>

<p align="center"><font face="BD Norway" size="35" color="#66ff00" letterSpacing="0.000000" kerning="1">SCORE: </font></p>

CONGRATULATIONS

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>OPTIONS</b></font></p>

Match balls before time runs out...

Level failed...

Try again!

<p align="left"><font face="BD Norway" size="35" color="#66ff00" letterSpacing="0.000000" kerning="1"><b>SCORE: 00</b></font></p>

<p align="center"><font face="BD Norway" size="40" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>CAMPAIGN SCORE: </b></font></p>

<p align="center"><font face="BD Norway" size="37" color="#000066" letterSpacing="0.000000" kerning="1">CAMPAIGN FINISHED!!!</font></p>

<p align="center"><font face="BD Norway" size="40" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>PERSONAL BEST:</b></font></p>

CONGRATULATIONS

<p align="center"><font face="Aharoni" size="35" color="#003399" letterSpacing="0.000000" kerning="1"><b>NEXT</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>NEXT</b></font></p>

<p align="center"><font face="Aharoni" size="35" color="#000033" letterSpacing="0.000000" kerning="1"><b>NEXT</b></font></p>

ActionScript [AS3]

Section 1
//MindJoltAPI (com.mindjolt.api.as3.MindJoltAPI) package com.mindjolt.api.as3 { import flash.display.*; import flash.events.*; import flash.net.*; public class MindJoltAPI extends MovieClip { private var dispatcher:CustomDispatcher; public static var service:Object; public function MindJoltAPI(){ dispatcher = new CustomDispatcher(); dispatcher.doAction(1, 100); dispatcher.addEventListener(_slot2.ACTION, createRoot); } private function createRoot(_arg1:Event):void{ if (root != null){ _arg1.currentTarget.removeEventListener(_slot2.ACTION, createRoot); init(); }; } private function init():void{ var _local1:Object; var _local2:String; var _local3:Loader; _local1 = Object(parent.root).loaderInfo.parameters; _local2 = ""; if (((!((_local1.mjPath == null))) && (isDomainAllowed()))){ _local2 = _local1.mjPath; } else { _local2 = "http://static.mindjolt.com/api/as3/scoreapi_as3_local.swf"; }; _local3 = new Loader(); _local3.contentLoaderInfo.addEventListener(Event.COMPLETE, loadFinished); _local3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadFailed); _local3.load(new URLRequest(_local2)); addChild(_local3); } private function loadFinished(_arg1:Event):void{ service = _arg1.currentTarget.content.service; service.connect(); trace("[MindJoltAPI] service loaded"); } private function isDomainAllowed():Boolean{ var _local1:String; var _local2:LocalConnection; var _local3:String; _local1 = ".mindjolt.com"; _local2 = new LocalConnection(); _local3 = _local2.domain; if (_local3.indexOf(_local1) == (_local3.length - _local1.length)){ return (true); }; return (false); } private function loadFailed(_arg1:IOErrorEvent):void{ trace("[MindJoltAPI] unable to load service"); } } }//package com.mindjolt.api.as3 import flash.events.*; import flash.utils.*; class CustomDispatcher extends EventDispatcher { public static var ACTION:String = "action"; private function CustomDispatcher(){ } public function doAction(_arg1:Number, _arg2:Number):void{ var myTimer:Timer; var propAction:Function; var delay = _arg1; var repeat = _arg2; propAction = function (_arg1:TimerEvent):void{ dispatchEvent(new Event(_slot2.ACTION)); }; myTimer = new Timer(delay, repeat); myTimer.addEventListener(TimerEvent.TIMER, propAction); myTimer.start(); } }
Section 2
//BezierSegment (fl.motion.BezierSegment) package fl.motion { import flash.geom.*; public class BezierSegment { public var a:Point; public var c:Point; public var b:Point; public var d:Point; public function BezierSegment(_arg1:Point, _arg2:Point, _arg3:Point, _arg4:Point){ this.a = _arg1; this.b = _arg2; this.c = _arg3; this.d = _arg4; } public function getYForX(_arg1:Number, _arg2:Array=null):Number{ var _local3:Array; var _local4:Number; var _local5:Number; var _local6:Number; if (this.a.x < this.d.x){ if (_arg1 <= (this.a.x + 1E-16)){ return (this.a.y); }; if (_arg1 >= (this.d.x - 1E-16)){ return (this.d.y); }; } else { if (_arg1 >= (this.a.x + 1E-16)){ return (this.a.y); }; if (_arg1 <= (this.d.x - 1E-16)){ return (this.d.y); }; }; if (!_arg2){ _arg2 = getCubicCoefficients(this.a.x, this.b.x, this.c.x, this.d.x); }; _local3 = getCubicRoots(_arg2[0], _arg2[1], _arg2[2], (_arg2[3] - _arg1)); _local4 = NaN; if (_local3.length == 0){ _local4 = 0; } else { if (_local3.length == 1){ _local4 = _local3[0]; } else { for each (_local6 in _local3) { if ((((0 <= _local6)) && ((_local6 <= 1)))){ _local4 = _local6; break; }; }; }; }; if (isNaN(_local4)){ return (NaN); }; _local5 = getSingleValue(_local4, this.a.y, this.b.y, this.c.y, this.d.y); return (_local5); } public function getValue(_arg1:Number):Point{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = this.a.x; _local3 = (((((_arg1 * _arg1) * (this.d.x - _local2)) + ((3 * (1 - _arg1)) * ((_arg1 * (this.c.x - _local2)) + ((1 - _arg1) * (this.b.x - _local2))))) * _arg1) + _local2); _local4 = this.a.y; _local5 = (((((_arg1 * _arg1) * (this.d.y - _local4)) + ((3 * (1 - _arg1)) * ((_arg1 * (this.c.y - _local4)) + ((1 - _arg1) * (this.b.y - _local4))))) * _arg1) + _local4); return (new Point(_local3, _local5)); } public static function getCubicCoefficients(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Array{ return ([(((-(_arg1) + (3 * _arg2)) - (3 * _arg3)) + _arg4), (((3 * _arg1) - (6 * _arg2)) + (3 * _arg3)), ((-3 * _arg1) + (3 * _arg2)), _arg1]); } public static function getSingleValue(_arg1:Number, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return ((((((_arg1 * _arg1) * (_arg5 - _arg2)) + ((3 * (1 - _arg1)) * ((_arg1 * (_arg4 - _arg2)) + ((1 - _arg1) * (_arg3 - _arg2))))) * _arg1) + _arg2)); } public static function getCubicRoots(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):Array{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:int; var _local16:Number; if (!_arg1){ return (BezierSegment.getQuadraticRoots(_arg2, _arg3, _arg4)); }; if (_arg1 != 1){ _arg2 = (_arg2 / _arg1); _arg3 = (_arg3 / _arg1); _arg4 = (_arg4 / _arg1); }; _local5 = (((_arg2 * _arg2) - (3 * _arg3)) / 9); _local6 = (((((_arg2 * _arg2) - (3 * _arg3)) / 9) * _local5) * _local5); _local7 = ((((((2 * _arg2) * _arg2) * _arg2) - ((9 * _arg2) * _arg3)) + (27 * _arg4)) / 54); _local8 = (_local6 - (_local7 * _local7)); if (_local8 >= 0){ if (!_local5){ return ([0]); }; _local9 = Math.acos((_local7 / Math.sqrt(_local6))); _local10 = Math.sqrt(_local5); _local11 = (((-2 * _local10) * Math.cos((_local9 / 3))) - (_arg2 / 3)); _local12 = (((-2 * _local10) * Math.cos(((_local9 + (2 * Math.PI)) / 3))) - (_arg2 / 3)); _local13 = (((-2 * _local10) * Math.cos(((_local9 + (4 * Math.PI)) / 3))) - (_arg2 / 3)); return ([_local11, _local12, _local13]); //unresolved jump }; _local14 = Math.pow((Math.sqrt(-(_local8)) + Math.abs(_local7)), (1 / 3)); _local15 = ((_local7)>0) ? 1 : ((_local7 < 0)) ? -1 : 0; _local16 = ((-(_local15) * (_local14 + (_local5 / _local14))) - (_arg2 / 3)); return ([_local16]); } public static function getQuadraticRoots(_arg1:Number, _arg2:Number, _arg3:Number):Array{ var _local4:Array; var _local5:Number; var _local6:int; var _local7:Number; _local4 = []; if (!_arg1){ if (!_arg2){ return ([]); }; _local4[0] = (-(_arg3) / _arg2); return (_local4); }; _local5 = ((_arg2 * _arg2) - ((4 * _arg1) * _arg3)); _local6 = ((_local5)>0) ? 1 : ((_local5 < 0)) ? -1 : 0; if (_local6 < 0){ return ([]); }; if (!_local6){ _local4[0] = (-(_arg2) / (2 * _arg1)); } else { _local4[0] = (_local4[1] = (-(_arg2) / (2 * _arg1))); _local7 = (Math.sqrt(_local5) / (2 * _arg1)); _local4[0] = (_local4[0] - _local7); _local4[1] = (_local4[1] + _local7); }; return (_local4); } } }//package fl.motion
Section 3
//CustomEase (fl.motion.CustomEase) package fl.motion { import flash.geom.*; public class CustomEase implements ITween { public var points:Array; private var firstNode:Point; private var _target:String;// = "" private var lastNode:Point; public function CustomEase(_arg1:XML=null){ _target = ""; super(); this.points = []; this.parseXML(_arg1); this.firstNode = new Point(0, 0); this.lastNode = new Point(1, 1); } public function set target(_arg1:String):void{ this._target = _arg1; } public function get target():String{ return (this._target); } public function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number; var _local6:Array; var _local7:Number; if (_arg4 <= 0){ return (NaN); }; _local5 = (_arg1 / _arg4); if (_local5 <= 0){ return (_arg2); }; if (_local5 >= 1){ return ((_arg2 + _arg3)); }; _local6 = [this.firstNode].concat(this.points); _local6.push(this.lastNode); _local7 = getYForPercent(_local5, _local6); return ((_arg2 + (_local7 * _arg3))); } private function parseXML(_arg1:XML=null):CustomEase{ var _local2:XMLList; var _local3:XML; if (!_arg1){ return (this); }; if (_arg1.@target.length()){ this.target = _arg1.@target; }; _local2 = _arg1.elements(); for each (_local3 in _local2) { this.points.push(new Point(Number(_local3.@x), Number(_local3.@y))); }; return (this); } static function getYForPercent(_arg1:Number, _arg2:Array):Number{ var _local3:BezierSegment; var _local4:Array; var _local5:int; var _local6:BezierSegment; var _local7:Number; var _local8:int; var _local9:BezierSegment; _local3 = new BezierSegment(_arg2[0], _arg2[1], _arg2[2], _arg2[3]); _local4 = [_local3]; _local5 = 3; while (_local5 < (_arg2.length - 3)) { _local4.push(new BezierSegment(_arg2[_local5], _arg2[(_local5 + 1)], _arg2[(_local5 + 2)], _arg2[(_local5 + 3)])); _local5 = (_local5 + 3); }; _local6 = _local3; if (_arg2.length >= 5){ _local8 = 0; while (_local8 < _local4.length) { _local9 = _local4[_local8]; if ((((_local9.a.x <= _arg1)) && ((_arg1 <= _local9.d.x)))){ _local6 = _local9; break; }; _local8++; }; }; _local7 = _local6.getYForX(_arg1); return (_local7); } } }//package fl.motion
Section 4
//ITween (fl.motion.ITween) package fl.motion { public interface ITween { function get target():String; function set target(_arg1:String):void; function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number; } }//package fl.motion
Section 5
//MochiAd (mochi.as3.MochiAd) package mochi.as3 { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("3.02 as3"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType == "application"){ return (_local2); }; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; } else { trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal"); }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{ trace("[MochiAds] Blocked URL"); }); loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array; var _local4:Number; _local3 = _arg2.split("."); _local4 = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; if (clip.loaderInfo.bytesLoaded == clip.loaderInfo.bytesTotal){ complete = true; } else { if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; } else { clip.loaderInfo.addEventListener(Event.COMPLETE, f); }; } else { clip.loaderInfo.addEventListener(Event.COMPLETE, f); }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package mochi.as3
Section 6
//MochiDigits (mochi.as3.MochiDigits) package mochi.as3 { public final class MochiDigits { private var Sibling:MochiDigits; private var Fragment:Number; private var Encoder:Number; public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{ Encoder = 0; setValue(_arg1, _arg2); } public function set value(_arg1:Number):void{ setValue(_arg1); } public function reencode():void{ var _local1:uint; _local1 = int((2147483647 * Math.random())); Fragment = (Fragment ^ (_local1 ^ Encoder)); Encoder = _local1; } public function toString():String{ var _local1:String; _local1 = String.fromCharCode((Fragment ^ Encoder)); if (Sibling != null){ _local1 = (_local1 + Sibling.toString()); }; return (_local1); } public function get value():Number{ return (Number(this.toString())); } public function setValue(_arg1:Number=0, _arg2:uint=0):void{ var _local3:String; _local3 = _arg1.toString(); var _temp1 = _arg2; _arg2 = (_arg2 + 1); Fragment = (_local3.charCodeAt(_temp1) ^ Encoder); if (_arg2 < _local3.length){ Sibling = new MochiDigits(_arg1, _arg2); } else { Sibling = null; }; reencode(); } public function addValue(_arg1:Number):void{ value = (value + _arg1); } } }//package mochi.as3
Section 7
//MochiScores (mochi.as3.MochiScores) package mochi.as3 { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var n:Number; var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; } else { if ((options.score is MochiDigits)){ options.score = options.score.value; }; }; n = Number(options.score); if (isNaN(n)){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'")); } else { if ((((n == Number.NEGATIVE_INFINITY)) || ((n == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite")); } else { if (Math.floor(n) != n){ trace((("WARNING: Submitted score '" + options.score) + "' will be truncated")); }; options.score = n; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.warnID(options.boardID, true); trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal"); MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ _arg1 = Number(_arg1); if (isNaN(_arg1)){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'")); } else { if ((((_arg1 == Number.NEGATIVE_INFINITY)) || ((_arg1 == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite")); } else { if (Math.floor(_arg1) != _arg1){ trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated")); }; _arg1 = Number(_arg1); }; }; MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiServices.warnID(_arg1, true); MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi.as3
Section 8
//MochiServices (mochi.as3.MochiServices) package mochi.as3 { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; public static var netupAttempted:Boolean = false; private static var _sendChannel:LocalConnection; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; public static var widget:Boolean = false; private static var _timer:Timer; private static var _sendChannelName:String; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__ms_"; private static var _servicesURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; public static var netup:Boolean = true; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local3:Array; var _local4:int; var _local5:Array; var _local6:Array; var _local7:MovieClip; var _local8:LocalConnection; var _local9:String; var _local10:ByteArray; var _local11:ByteArray; var _local12:uint; var _local13:uint; var _local14:Loader; _local3 = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; _local5 = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; _local6 = [0, 64, 0, 0, 0]; _local7 = new MovieClip(); _local8 = new LocalConnection(); _local9 = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().getTime())); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); _local10 = new ByteArray(); _local11 = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); _local12 = ((_local3.length + _local11.length) + 4); _local13 = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var vars:Object; var avm1Click:DisplayObject; var s:String; var i:Number; var x:String; var req:URLRequest; var loader:Loader; var setURL:Function; var err:Function; var complete:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; vars = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); s = "?"; i = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://x.mochiads.com/linkping.swf"); loader = new Loader(); setURL = function (_arg1:String):void{ var _local2:Rectangle; if (avm1Click){ btn.removeChild(avm1Click); }; avm1Click = clickMovie(_arg1, onClick); _local2 = btn.getBounds(btn); btn.addChild(avm1Click); avm1Click.x = _local2.x; avm1Click.y = _local2.y; avm1Click.scaleX = (0.01 * _local2.width); avm1Click.scaleY = (0.01 * _local2.height); }; err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); setURL(burl); }; complete = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; if (netup){ setURL((url + s)); } else { setURL(burl); }; if (!((netupAttempted) || (_connected))){ netupAttempted = true; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); }; } public static function warnID(_arg1:String, _arg2:Boolean):void{ var _local3:Number; _arg1 = _arg1.toLowerCase(); if (_arg1.length != 16){ trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length")); return; } else { if (_arg1 == "1e113c7239048b3f"){ if (_arg2){ trace("WARNING: Using testing board ID"); } else { trace("WARNING: Using testing board ID as game ID"); }; return; } else { if (_arg1 == "84993a1de4031cd8"){ if (_arg2){ trace("WARNING: Using testing game ID as board ID"); } else { trace("WARNING: Using testing game ID"); }; return; }; }; }; _local3 = 0; while (_local3 < _arg1.length) { switch (_arg1.charAt(_local3)){ case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": case "a": case "b": case "c": case "d": case "e": case "f": break; default: trace(("WARNING: Board ID contains illegal characters: " + _arg1)); return; }; _local3++; }; } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; if (Security.sandboxType != "application"){ Security.allowDomain("*"); Security.allowInsecureDomain("*"); }; if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType != "application"){ Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; }; return (_local2); } public static function getVersion():String{ return ("3.02 as3"); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } public static function get id():String{ return (_id); } private static function urlOptions(_arg1:Object):Object{ var _local2:Object; var _local3:String; var _local4:Array; var _local5:Number; var _local6:Array; _local2 = {}; _local3 = _arg1.loaderInfo.parameters.mochiad_options; if (_local3){ _local4 = _local3.split("&"); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split("="); _local2[unescape(_local6[0])] = unescape(_local6[1]); _local5++; }; }; return (_local2); } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _listenChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; trace("connected!"); _connecting = false; _connected = true; while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var vars:URLVariables; var id = _arg1; var clip = _arg2; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; if (urlOptions(clip).servicesURL != undefined){ _servicesURL = urlOptions(clip).servicesURL; }; MochiServices.allowDomains(_servicesURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); f = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor((Math.random() * 99999)))); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_servicesURL); vars = new URLVariables(); vars.listenLC = _listenChannelName; vars.mochiad_options = clip.loaderInfo.parameters.mochiad_options; if (widget){ vars.widget = true; }; req.data = vars; listen(); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _clip._nextcallbackID = 0; _clip._callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } public static function get clip():Object{ return (_container); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; warnID(id, false); if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load. (timeout)"); MochiServices.disconnect(); MochiServices.onError("IOError"); }; } } }//package mochi.as3
Section 9
//MainTimeline (SpinMatch4_fla.MainTimeline) package SpinMatch4_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.media.*; import flash.text.*; import flash.filters.*; import flash.utils.*; import flash.net.*; import flash.system.*; import flash.ui.*; import flash.accessibility.*; import flash.errors.*; public dynamic class MainTimeline extends MovieClip { public var _mochiads_game_id:String; public var frosmoMatch:Game; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ _mochiads_game_id = "e9afab055d8219d6"; MochiServices.connect("e9afab055d8219d6", root); MochiBot.track(this, "990aa329"); MochiAd.showPreGameAd({clip:root, id:"e9afab055d8219d6", res:"600x500"}); } function frame2(){ frosmoMatch = new Game(); addChild(frosmoMatch); stop(); } } }//package SpinMatch4_fla
Section 10
//Achievements (Achievements) package { import flash.display.*; import flash.events.*; public class Achievements extends MovieClip { public function Achievements(_arg1:Stage, _arg2:Number, _arg3:Number){ x = _arg2; y = _arg3; back.addEventListener(MouseEvent.CLICK, backToMainScreen); } public function backToMainScreen(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.INTROSCREEN)); } } }//package
Section 11
//alert_30 (alert_30) package { import flash.media.*; public dynamic class alert_30 extends Sound { } }//package
Section 12
//BadBall (BadBall) package { import flash.display.*; import flash.events.*; import flash.media.*; public class BadBall extends Ball { public function BadBall(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } override public function enterStage(_arg1:Event){ this.scaleX = (this.scaleX + 0.025); this.scaleY = (this.scaleY + 0.025); if (this.scaleX >= 0.9){ this.scaleX = 0.9; this.scaleY = 0.9; removeEventListener(Event.ENTER_FRAME, enterStage); GameData.badBallHolder.push(this); addEventListener(Event.ENTER_FRAME, move); }; } } }//package
Section 13
//Ball (Ball) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.filters.*; public class Ball extends Sprite { public var mySide:Boolean; public var shadowF:DropShadowFilter; public var collision:Collision; public var newY:Number; public var vx:Number; public var vy:Number; public var newX:Number; public var blurF:BlurFilter; public function Ball(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ radius = (width / 2); cacheAsBitmap = true; blurFilter = new BlurFilter(1, 1); shadowF = new DropShadowFilter(2); filters = [blurFilter, shadowF]; x = _arg2; y = _arg3; this.mySide = _arg6; if (_arg6 == false){ addEventListener(Event.ADDED_TO_STAGE, addedToStage); this.scaleX = (this.scaleY = 0.01); this.vx = (_arg4 * 0.8); this.vy = (_arg5 * 0.8); } else { addEventListener(Event.ADDED_TO_STAGE, addedToStage); }; } public function goodCollision(_arg1:Number){ var _local2:Particle; var _local3:Sound; if (GamePlay.score){ GamePlay.score.update(100); }; if (FreePlay.score){ FreePlay.score.update(100); }; GameData.enemiesHolder[_arg1].remove(); _arg1 = 0; while (_arg1 < 20) { _local2 = new Particle(x, y); parent.parent.addChild(_local2); _arg1++; }; if (Game.soundFlag){ _local3 = new Good(); _local3.play(); trace("played"); }; } public function enterStage(_arg1:Event){ this.scaleX = (this.scaleX + 0.025); this.scaleY = (this.scaleY + 0.025); if (this.scaleX >= 1){ this.scaleX = 1; this.scaleY = 1; removeEventListener(Event.ENTER_FRAME, enterStage); if (mySide == false){ GameData.enemiesHolder.push(this); addEventListener(Event.ENTER_FRAME, move); } else { collision = new Collision(); GameData.unitHolder.push(this); addEventListener(Event.ENTER_FRAME, collisionDetection); }; }; } public function shrink(_arg1:Event){ this.scaleX = (this.scaleX - 0.04); this.scaleY = (this.scaleY - 0.04); if (this.scaleX <= 0){ removeEventListener(Event.ENTER_FRAME, shrink); remove(); }; } public function addedToStage(_arg1:Event){ addEventListener(Event.ENTER_FRAME, enterStage); } public function isColliding(_arg1:Sprite){ var _local2:*; var _local3:*; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = (Hero.globalR - 90); _local3 = ((_local2 * 3.141593) / 180); _local4 = (_arg1.x - this.x); _local5 = (_arg1.y - this.y); _local6 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5))); if (_local6 < ((_arg1.width / 2) + (width / 2))){ return (true); }; return (false); } public function collisionDetection(_arg1:Event){ var _local2:*; var _local3:*; var _local4:Point; var _local5:*; var _local6:*; var _local7:*; rotation = (rotation - 3); _local2 = 0; while (_local2 < GameData.badBallHolder.length) { _local3 = this.parent; _local4 = new Point(this.x, this.y); _local5 = parent.localToGlobal(_local4); _local6 = x; _local7 = y; x = _local5.x; y = _local5.y; if (isColliding(GameData.badBallHolder[_local2])){ badCollision(); }; x = _local6; y = _local7; _local2++; }; _local2 = 0; while (_local2 < GameData.enemiesHolder.length) { _local3 = this.parent; _local4 = new Point(this.x, this.y); _local5 = parent.localToGlobal(_local4); _local6 = x; _local7 = y; x = _local5.x; y = _local5.y; if (isColliding(GameData.enemiesHolder[_local2])){ if (this.type == GameData.enemiesHolder[_local2].type){ goodCollision(_local2); } else { badCollision(); }; }; x = _local6; y = _local7; _local2++; }; } public function remove(){ var _local1:*; if ((((GameData.enemiesHolder.length == 1)) && ((GameData.unitHolder.length > 0)))){ trace("Victory"); trace(("Units: " + GameData.unitHolder.length)); dispatchEvent(new NavigationEvent(NavigationEvent.VICTORY)); }; if (this.parent){ parent.removeChild(this); }; removeEventListener(Event.ADDED_TO_STAGE, addedToStage); removeEventListener(Event.ENTER_FRAME, collisionDetection); removeEventListener(Event.ENTER_FRAME, move); _local1 = 0; while (_local1 < GameData.enemiesHolder.length) { if (GameData.enemiesHolder[_local1] == this){ GameData.enemiesHolder.splice(_local1, 1); }; _local1++; }; _local1 = 0; while (_local1 < GameData.badBallHolder.length) { if (GameData.badBallHolder[_local1] == this){ GameData.badBallHolder.splice(_local1, 1); }; _local1++; }; _local1 = 0; while (_local1 < GameData.unitHolder.length) { if (GameData.unitHolder[_local1] == this){ GameData.unitHolder.splice(_local1, 1); }; _local1++; }; } public function badCollision(){ GameData.removeAnim(); dispatchEvent(new NavigationEvent(NavigationEvent.LOSS)); trace("BAD COLLSION"); } public function removeAnim(){ removeEventListener(Event.ENTER_FRAME, move); addEventListener(Event.ENTER_FRAME, shrink); } public function move(_arg1:Event){ newX = (x + vx); newY = (y + vy); if ((newX + radius) > 600){ vx = (vx * -1); newX = (600 - radius); } else { if ((newX - radius) < 0){ vx = (vx * -1); newX = radius; }; }; if ((newY + radius) > 500){ vy = (vy * -1); newY = (500 - radius); } else { if ((newY - radius) < 0){ vy = (vy * -1); newY = radius; }; }; x = newX; y = newY; } } }//package
Section 14
//Ball1 (Ball1) package { import flash.display.*; public class Ball1 extends Ball { public var type;// = 1 public function Ball1(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ type = 1; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } } }//package
Section 15
//Ball2 (Ball2) package { import flash.display.*; public class Ball2 extends Ball { public var type;// = 2 public function Ball2(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ type = 2; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } } }//package
Section 16
//Ball3 (Ball3) package { import flash.display.*; public class Ball3 extends Ball { public var type;// = 3 public function Ball3(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ type = 3; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } } }//package
Section 17
//Ball4 (Ball4) package { import flash.display.*; public class Ball4 extends Ball { public var type;// = 4 public function Ball4(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ type = 4; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } } }//package
Section 18
//Ball5 (Ball5) package { import flash.display.*; public class Ball5 extends Ball { public var type;// = 5 public function Ball5(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ type = 5; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } } }//package
Section 19
//Ball6 (Ball6) package { import flash.display.*; public class Ball6 extends Ball { public var type;// = 6 public function Ball6(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean){ type = 6; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } } }//package
Section 20
//Button (Button) package { import flash.media.*; public dynamic class Button extends Sound { } }//package
Section 21
//Campaign (Campaign) package { import flash.media.*; public dynamic class Campaign extends Sound { } }//package
Section 22
//CampaignCompleted (CampaignCompleted) package { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.media.*; import flash.text.*; import com.mindjolt.api.as3.*; import flash.net.*; public class CampaignCompleted extends MovieClip { public var best:TextField; public var ok:OkBut; public var next:SimpleButton; public var campaign:TextField; public var campaignNumber:Number; private var alphaGrow:Number;// = 0.03 public var score:TextField; public var campaignName:String; public function CampaignCompleted(_arg1:Number, _arg2:Number){ var shared:SharedObject; var mySound:Sound; var o:Object; var boardID:String; var startX = _arg1; var startY = _arg2; alphaGrow = 0.03; super(); alpha = 0.4; addEventListener(Event.ENTER_FRAME, enterStage); if (Game.soundFlag){ mySound = new Campaign(); mySound.play(); trace("played"); }; x = startX; y = startY; ok.addEventListener(MouseEvent.CLICK, okClicked); next.addEventListener(MouseEvent.CLICK, nextClicked); ok.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); next.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); campaignNumber = (Math.round((Game.level / 12)) - 1); trace(Game.level); trace(campaignNumber); switch (campaignNumber){ case 0: campaignName = "Novice"; o = {n:[8, 8, 4, 0, 13, 12, 13, 4, 8, 4, 15, 13, 6, 8, 10, 14], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; boardID = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:Score.amount, onClose:nextScreen}); MindJoltAPI.service.submitScore(score.tempAmount, "easy"); break; case 1: campaignName = "Normal"; o = {n:[9, 2, 5, 14, 1, 13, 0, 10, 12, 3, 8, 5, 9, 11, 15, 7], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; boardID = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:Score.amount, onClose:nextScreen}); MindJoltAPI.service.submitScore(score.tempAmount, "normal"); break; case 2: campaignName = "Hard"; o = {n:[9, 2, 10, 8, 15, 6, 7, 7, 5, 1, 4, 4, 1, 2, 12, 10], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; boardID = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:Score.amount, onClose:nextScreen}); MindJoltAPI.service.submitScore(score.tempAmount, "hard"); break; case 3: campaignName = "Expert"; o = {n:[5, 6, 9, 12, 11, 0, 10, 11, 15, 2, 0, 1, 6, 5, 11, 5], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; boardID = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:Score.amount, onClose:nextScreen}); MindJoltAPI.service.submitScore(score.tempAmount, "expert"); break; case 4: campaignName = "Insane"; o = {n:[2, 6, 1, 13, 2, 8, 5, 11, 11, 15, 10, 3, 2, 0, 0, 9], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; boardID = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:Score.amount, onClose:nextScreen}); MindJoltAPI.service.submitScore(score.tempAmount, "impossible"); break; }; this.campaign.text = (("Campaign " + campaignName) + " completed"); shared = SharedObject.getLocal("userData"); if ((((shared.data.campScore == null)) || ((shared.data.campScore == undefined)))){ trace("Created!"); shared.data.campScore = new Array(); }; if ((((Score.amount >= shared.data.campScore[Math.round((Game.level / 12))])) || ((shared.data.campScore[Math.round((Game.level / 12))] == null)))){ shared.data.campScore[Math.round((Game.level / 12))] = Score.amount; shared.flush(); }; this.score.text = ("Campaign score: " + Score.amount); this.best.text = ("Personal best:" + shared.data.campScore[Math.round((Game.level / 12))]); } private function enterStage(_arg1:Event):void{ if ((alpha + alphaGrow) < 1){ alpha = (alpha + alphaGrow); } else { alpha = 1; removeEventListener(Event.ENTER_FRAME, enterStage); }; } public function nextScreen():void{ stop(); } public function okClicked(_arg1:MouseEvent){ Game.level = 0; Score.amount = 0; next.removeEventListener(MouseEvent.CLICK, nextClicked); ok.removeEventListener(MouseEvent.CLICK, okClicked); if (this.parent){ this.parent.parent.parent.addChild(parent.parent.parent.introScreen); this.parent.removeChild(this); }; } public function nextClicked(_arg1:MouseEvent){ trace("CLICKED"); dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); Score.amount = 0; next.removeEventListener(MouseEvent.CLICK, nextClicked); ok.removeEventListener(MouseEvent.CLICK, okClicked); if (this.parent){ this.parent.removeChild(this); }; } } }//package
Section 23
//CampaignScreen (CampaignScreen) package { import flash.display.*; import flash.events.*; public class CampaignScreen extends MovieClip { public var hard:HardBut; public var expert:SimpleButton; private var alphaGrow:Number;// = 0.03 public var impossible:SimpleButton; public var novice:NoviceBut; public var normal:NormalBut; public function CampaignScreen(_arg1:Number, _arg2:Number){ var _local3:Ball; var _local4:Ball; var _local5:Ball; var _local6:*; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; alphaGrow = 0.03; super(); alpha = 0.4; addEventListener(Event.ENTER_FRAME, enterStage); x = _arg1; y = _arg2; if (GamePlay.score){ GamePlay.score.tempAmount = 0; }; if (Score.amount){ Score.amount = 0; }; hero = new Hero(stage, 500, 250); hero.removeEventListener(Event.ENTER_FRAME, hero.move); addChild(hero); _local3 = new Ball1(stage, 50, 0, -10, -4, true); _local3.removeEventListener(Event.ADDED_TO_STAGE, _local3.addedToStage); hero.addChild(_local3); _local4 = new Ball2(stage, -50, 0, -10, -4, true); _local4.removeEventListener(Event.ADDED_TO_STAGE, _local4.addedToStage); hero.addChild(_local4); _local5 = new Ball3(stage, 0, 50, 0, 0, true); _local5.removeEventListener(Event.ADDED_TO_STAGE, _local5.addedToStage); hero.addChild(_local5); _local6 = new Hero(stage, 100, 250); _local6.removeEventListener(Event.ENTER_FRAME, _local6.move); addChild(_local6); _local7 = new Ball6(stage, 50, 0, -10, -4, true); _local7.removeEventListener(Event.ADDED_TO_STAGE, _local7.addedToStage); _local6.addChild(_local7); _local8 = new Ball3(stage, -50, 0, -10, -4, true); _local8.removeEventListener(Event.ADDED_TO_STAGE, _local8.addedToStage); _local6.addChild(_local8); _local9 = new Ball4(stage, 0, 50, 0, 0, true); _local9.removeEventListener(Event.ADDED_TO_STAGE, _local9.addedToStage); _local6.addChild(_local9); _local10 = new Ball5(stage, 0, -50, 0, 0, true); _local10.removeEventListener(Event.ADDED_TO_STAGE, _local10.addedToStage); _local6.addChild(_local10); novice.addEventListener(MouseEvent.CLICK, noviceStart); normal.addEventListener(MouseEvent.CLICK, normalStart); hard.addEventListener(MouseEvent.CLICK, hardStart); expert.addEventListener(MouseEvent.CLICK, expertStart); impossible.addEventListener(MouseEvent.CLICK, impossibleStart); novice.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); normal.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); hard.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); expert.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); impossible.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); } private function enterStage(_arg1:Event):void{ if ((alpha + alphaGrow) < 1){ alpha = (alpha + alphaGrow); } else { alpha = 1; removeEventListener(Event.ENTER_FRAME, enterStage); }; } public function hardStart(_arg1:MouseEvent){ Game.level = 25; dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); remove(); } public function expertStart(_arg1:MouseEvent){ Game.level = 37; dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); remove(); } public function noviceStart(_arg1:MouseEvent){ Game.level = 1; dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); remove(); } public function remove(){ novice.removeEventListener(MouseEvent.CLICK, noviceStart); normal.removeEventListener(MouseEvent.CLICK, normalStart); hard.removeEventListener(MouseEvent.CLICK, hardStart); expert.removeEventListener(MouseEvent.CLICK, expertStart); impossible.removeEventListener(MouseEvent.CLICK, impossibleStart); if (this.parent){ parent.removeChild(this); }; } public function normalStart(_arg1:MouseEvent){ Game.level = 13; dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); remove(); } public function impossibleStart(_arg1:MouseEvent){ Game.level = 49; dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); remove(); } } }//package
Section 24
//ChangeBall (ChangeBall) package { public class ChangeBall extends PowerUp { public function ChangeBall(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=2){ super(_arg1, _arg2, _arg3, _arg4, _arg5); } } }//package
Section 25
//Collision (Collision) package { import flash.geom.*; import flash.display.*; public class Collision { private function getAlphaMap(_arg1:DisplayObject, _arg2:Rectangle, _arg3:uint, _arg4:Rectangle):BitmapData{ var _local5:BitmapData; var _local6:Matrix; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:BitmapData; _local5 = new BitmapData(_arg2.width, _arg2.height, true, 0); _local6 = new Matrix(); _local7 = (_arg1.x - _arg4.x); _local8 = (_arg1.y - _arg4.y); _local9 = ((_arg4.x + _local7) - _arg2.x); _local10 = ((_arg4.y + _local8) - _arg2.y); _local6.translate(_local9, _local10); _local5.draw(_arg1, _local6); _local11 = new BitmapData(_arg2.width, _arg2.height, false, 0); _local11.copyChannel(_local5, _local5.rect, new Point(0, 0), BitmapDataChannel.ALPHA, _arg3); return (_local11); } public function isColliding(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=0):Boolean{ var _local4:Rectangle; _local4 = getCollision(_arg1, _arg2, _arg3); if (((!((_local4 == null))) && ((_local4.size.length > 0)))){ return (true); }; return (false); } public function getCollisionPoint(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=0):Point{ var _local4:Point; var _local5:Rectangle; var _local6:Number; var _local7:Number; _local5 = getCollision(_arg1, _arg2, _arg3); if (((!((_local5 == null))) && ((_local5.size.length > 0)))){ _local6 = ((_local5.left + _local5.right) / 2); _local7 = ((_local5.top + _local5.bottom) / 2); _local4 = new Point(_local6, _local7); }; return (_local4); } public function getCollision(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=0):Rectangle{ var _local4:Rectangle; var _local5:DisplayObjectContainer; var _local6:Rectangle; var _local7:Rectangle; var _local8:Boolean; var _local9:Rectangle; var _local10:BitmapData; var _local11:BitmapData; var _local12:uint; var _local13:Number; if (_arg1.parent == _arg2.parent){ _local5 = _arg1.parent; _local6 = _arg1.getBounds(_local5); _local7 = _arg2.getBounds(_local5); _local8 = _local6.intersects(_local7); if (_local8){ _local9 = _local6.union(_local7); _local10 = getAlphaMap(_arg1, _local9, BitmapDataChannel.RED, _local6); _local11 = getAlphaMap(_arg2, _local9, BitmapDataChannel.GREEN, _local7); _local10.draw(_local11, new Matrix(), new ColorTransform(), BlendMode.LIGHTEN); if (_arg3 > 1){ _arg3 = 1; }; if (_arg3 < 0){ _arg3 = 0; }; if (_arg3 == 0){ _local12 = 65792; } else { _local13 = Math.round((_arg3 * 0xFF)); _local12 = (((_local13 << 16) | (_local13 << 8)) | 0); }; _local4 = _local10.getColorBoundsRect(_local12, _local12); _local10.getColorBoundsRect(_local12, _local12).x = (_local4.x + _local9.x); _local4.y = (_local4.y + _local9.y); return (_local4); }; }; return (_local4); } } }//package
Section 26
//Credits (Credits) package { import flash.display.*; import flash.events.*; public class Credits extends MovieClip { public var startB:SimpleButton; public var back:SimpleButton; public function Credits(_arg1:Stage, _arg2:Number, _arg3:Number){ x = _arg2; y = _arg3; back.addEventListener(MouseEvent.CLICK, backToMainScreen); back.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); startB.addEventListener(MouseEvent.CLICK, startGame); startB.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); } private function startGame(_arg1:MouseEvent):void{ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.START)); } public function backToMainScreen(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.INTROSCREEN)); } } }//package
Section 27
//EndScreen (EndScreen) package { import flash.display.*; import flash.events.*; import flash.text.*; public class EndScreen extends Sprite { public var restart:SimpleButton; public var menu:OkBut; public var options:SimpleButton; public var best:TextField; public function EndScreen(){ options.addEventListener(MouseEvent.CLICK, optionsClicked); menu.addEventListener(MouseEvent.CLICK, menuClicked); restart.addEventListener(MouseEvent.CLICK, restartClicked); } private function restartClicked(_arg1:MouseEvent):void{ dispatchEvent(new NavigationEvent(NavigationEvent.RESTART)); } private function optionsClicked(_arg1:MouseEvent):void{ dispatchEvent(new NavigationEvent(NavigationEvent.OPTIONS)); } private function menuClicked(_arg1:MouseEvent):void{ dispatchEvent(new NavigationEvent(NavigationEvent.MENU)); } } }//package
Section 28
//FPSCounter (FPSCounter) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; public class FPSCounter extends Sprite { private var ticks:uint;// = 0 private var tf:TextField; private var last:uint; public function FPSCounter(_arg1:int=0, _arg2:int=0, _arg3:uint=0xFFFFFF, _arg4:Boolean=false, _arg5:uint=0){ last = getTimer(); ticks = 0; super(); x = _arg1; y = _arg2; tf = new TextField(); tf.textColor = _arg3; tf.text = "----- fps"; tf.selectable = false; tf.background = _arg4; tf.backgroundColor = _arg5; tf.autoSize = TextFieldAutoSize.LEFT; addChild(tf); width = tf.textWidth; height = tf.textHeight; addEventListener(Event.ENTER_FRAME, tick); } public function tick(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:Number; ticks++; _local2 = getTimer(); _local3 = (_local2 - last); if (_local3 >= 1000){ _local4 = ((ticks / _local3) * 1000); tf.text = (_local4.toFixed(1) + " fps"); ticks = 0; last = _local2; }; } } }//package
Section 29
//FreePlay (FreePlay) package { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.media.*; import flash.net.*; import flash.ui.*; public class FreePlay extends MovieClip { private var alphaGrow:Number;// = 0.03 public var scoreNum:Number; public var gameData:GameData; public static var score:Score; public static var level:LevelFreePlay; public static var levelBG:MovieClip; public function FreePlay(){ var _local1:*; alphaGrow = 0.03; super(); alpha = 0.4; addEventListener(Event.ENTER_FRAME, enterStage); gameData = new GameData(); levelBG = new LevelFree(); levelBG.y = 0; addChild(levelBG); score = new Score(10, 10); addChild(score); _local1 = new FPSCounter(); addChild(_local1); level = new LevelFreePlay(stage, 0, 0); addChild(level); Mouse.hide(); level.addEventListener(NavigationEvent.LOSS, levelLost); addEventListener(NavigationEvent.OPTIONS, displayOptions); addEventListener(NavigationEvent.MENU, displayMenu); addEventListener(NavigationEvent.RESTART, restart); } private function enterStage(_arg1:Event):void{ if ((alpha + alphaGrow) < 1){ alpha = (alpha + alphaGrow); } else { alpha = 1; removeEventListener(Event.ENTER_FRAME, enterStage); }; } private function removeListeners():void{ removeEventListener(NavigationEvent.OPTIONS, displayOptions); removeEventListener(NavigationEvent.MENU, displayMenu); removeEventListener(NavigationEvent.RESTART, restart); } private function restart(_arg1:NavigationEvent):void{ trace("restart"); dispatchEvent(new NavigationEvent(NavigationEvent.RESTARTFREEPLAY)); if (this.parent){ removeChild(levelBG); removeChild(level); removeChild(fps); parent.removeChild(this); }; } private function nextScreen():void{ stop(); } private function displayMenu(_arg1:NavigationEvent):void{ GameData.removeAnim(); removeListeners(); dispatchEvent(new NavigationEvent(NavigationEvent.RESTARTGAME)); if (this.parent){ parent.removeChild(this); }; trace("menu"); } private function updateScores(_arg1:EndScreen):void{ var shared:SharedObject; var o:Object; var boardID:String; var endGame = _arg1; shared = SharedObject.getLocal("FreePlayData"); trace(("MyScore: " + score.tempAmount)); if ((((shared.data.score == null)) || ((shared.data.score == undefined)))){ trace("Created!"); shared.data.score = new Number(); }; if (score.tempAmount > shared.data.score){ shared.data.score = score.tempAmount; shared.flush(); }; o = {n:[13, 4, 4, 4, 2, 13, 3, 9, 3, 1, 9, 3, 8, 5, 1, 1], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; boardID = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:score.tempAmount, onClose:nextScreen}); endGame.best.text = ("Personal best: " + shared.data.score); } private function displayOptions(_arg1:NavigationEvent):void{ var _local2:OptionScreen; trace("options"); _local2 = new OptionScreen(); _local2.addEventListener(NavigationEvent.START, restartFreePlay); addChild(_local2); } private function levelLost(_arg1:NavigationEvent):void{ var _local2:EndScreen; var _local3:Sound; trace("LEVEL LOST"); Mouse.show(); if (Game.soundFlag){ _local3 = new alert_30(); _local3.play(); }; level.stopSpawn(); GameData.removeAnim(); level.removeEventListener(NavigationEvent.LOSS, levelLost); _local2 = new EndScreen(); addChild(_local2); updateScores(_local2); } private function restartFreePlay(_arg1:NavigationEvent):void{ dispatchEvent(new NavigationEvent(NavigationEvent.RESTARTFREEPLAY)); if (this.parent){ removeChild(levelBG); removeChild(level); removeChild(fps); parent.removeChild(this); }; } } }//package
Section 30
//FrosmoLogo (FrosmoLogo) package { import flash.display.*; import flash.events.*; import flash.net.*; public class FrosmoLogo extends SimpleButton { public function FrosmoLogo(){ addEventListener(MouseEvent.CLICK, mouseClicked); } private function mouseClicked(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.frosmo.com/uk/ui/?ref=spinmatch2"); navigateToURL(_local2); } } }//package
Section 31
//FrosmoSplash (FrosmoSplash) package { import flash.display.*; public dynamic class FrosmoSplash extends SimpleButton { } }//package
Section 32
//Game (Game) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.utils.*; public class Game extends MovieClip { public var campaignCompleted:CampaignCompleted; public var instructionsScreen:Instructions; private var preloader:Preloader; public var gamePlay:GamePlay; public var gameTimer:Timer; public var army:Array; public var creditsScreen:Credits; public var optionsScreen:OptionScreen; public var campaignScreen:CampaignScreen; public var freePlay:FreePlay; public var introScreen:IntroScreen; public static var sTransform:SoundTransform; public static var level = 1; public static var musicFlag = true; public static var stageRef:Stage; public static var myMusic:Sound; public static var soundFlag = true; public static var musicChannel:SoundChannel; public function Game(){ preloader = new Preloader(this); preloader.addEventListener(NavigationEvent.STARTGAME, gotoGame); } public function displayAchievements(_arg1:NavigationEvent){ achievementsScreen = new Achievements(stageRef, 100, 100); achievementsScreen.addEventListener(NavigationEvent.INTROSCREEN, displayIntroScreen); addChild(achievementsScreen); } private function gotoGame(_arg1:NavigationEvent):void{ initGame(); } public function musicHandler(_arg1:NavigationEvent){ if (musicFlag == true){ musicFlag = false; musicChannel.stop(); } else { musicFlag = true; musicChannel = myMusic.play(0, 1000); musicChannel.soundTransform = sTransform; }; } private function initGame():void{ stageRef = stage; army = new Array(); introScreen = new IntroScreen(stageRef, 0, 0); addChild(introScreen); sTransform = new SoundTransform(0.1); myMusic = new MusicJazz(); musicChannel = myMusic.play(0, 1000); musicChannel.soundTransform = sTransform; introScreen.addEventListener(NavigationEvent.START, displayCampaign); introScreen.addEventListener(NavigationEvent.CREDITS, displayCredits); introScreen.addEventListener(NavigationEvent.INSTRUCTIONS, displayInstructions); introScreen.addEventListener(NavigationEvent.MAINOPTIONS, displayOptions); introScreen.addEventListener(NavigationEvent.FREEPLAY, freePlayStart); addEventListener(NavigationEvent.MUSIC, musicHandler); addEventListener(NavigationEvent.RESTARTLEVEL, restartLevel); addEventListener(NavigationEvent.NEXTLEVELPLAY, startGame); addEventListener(NavigationEvent.START, displayCampaign); addEventListener(NavigationEvent.RESTARTGAME, restartGame); } public function endGameLoss(_arg1:NavigationEvent){ trace("Loss"); } public function startGame(_arg1:NavigationEvent){ if (gamePlay){ if (gamePlay.parent){ removeChild(gamePlay); }; }; gamePlay = new GamePlay(stageRef, 0, 0, Game.level); addEventListener(NavigationEvent.NEXTLEVELPLAY, startGame); addChild(gamePlay); } private function displayOptions(_arg1:NavigationEvent):void{ optionsScreen = new OptionScreen(); optionsScreen.addEventListener(NavigationEvent.START, displayCampaign); optionsScreen.addEventListener(NavigationEvent.INTROSCREEN, displayIntroScreen); addChild(optionsScreen); } public function displayCredits(_arg1:NavigationEvent){ if (gamePlay){ if (gamePlay.parent){ removeChild(gamePlay); }; }; creditsScreen = new Credits(stageRef, 0, 0); creditsScreen.addEventListener(NavigationEvent.INTROSCREEN, displayIntroScreen); creditsScreen.addEventListener(NavigationEvent.START, displayCampaign); addChild(creditsScreen); } private function freePlayStart(_arg1:NavigationEvent):void{ if (freePlay){ if (freePlay.parent){ removeChild(freePlay); }; }; addEventListener(NavigationEvent.RESTARTFREEPLAY, freePlayStart); freePlay = new FreePlay(); addChild(freePlay); } public function startCampaign(_arg1:NavigationEvent){ trace("START"); removeEventListener(NavigationEvent.NEXTLEVELPLAY, startCampaign); Game.level--; gamePlay = new GamePlay(stageRef, 0, 0, Game.level); addEventListener(NavigationEvent.NEXTLEVELPLAY, startGame); addChild(gamePlay); } public function displayInstructions(_arg1:NavigationEvent){ instructionsScreen = new Instructions(stageRef, 0, 0); instructionsScreen.addEventListener(NavigationEvent.INTROSCREEN, displayIntroScreen); instructionsScreen.addEventListener(NavigationEvent.START, displayCampaign); addChild(instructionsScreen); } public function restartGame(_arg1:NavigationEvent){ if (gamePlay){ if (gamePlay.parent){ trace("GAMEPLAY REMOVED"); removeChild(gamePlay); }; }; introScreen = new IntroScreen(stageRef, 0, 0); addChild(introScreen); introScreen.addEventListener(NavigationEvent.START, displayCampaign); introScreen.addEventListener(NavigationEvent.CREDITS, displayCredits); introScreen.addEventListener(NavigationEvent.INSTRUCTIONS, displayInstructions); introScreen.addEventListener(NavigationEvent.MAINOPTIONS, displayOptions); introScreen.addEventListener(NavigationEvent.FREEPLAY, freePlayStart); addEventListener(NavigationEvent.RESTARTGAME, restartGame); addEventListener(NavigationEvent.RESTARTLEVEL, restartLevel); addEventListener(NavigationEvent.NEXTLEVELPLAY, startGame); addEventListener(NavigationEvent.START, displayCampaign); addEventListener(NavigationEvent.MUSIC, musicHandler); } public function restartLevel(_arg1:NavigationEvent){ gamePlay.removeEventListener(NavigationEvent.STARTNEXTLEVELPLAY, startGame); removeChild(gamePlay); gamePlay = new GamePlay(stageRef, 0, 0, Game.level); gamePlay.addEventListener(NavigationEvent.STARTNEXTLEVELPLAY, startGame); addChild(gamePlay); } public function displayIntroScreen(_arg1:NavigationEvent){ trace(Game.level); trace("IntroDisplayed"); addChild(introScreen); } public function endGameVictory(_arg1:NavigationEvent){ trace("victory"); removeChild(gamePlay); gamePlay = null; } public function displayCampaign(_arg1:NavigationEvent){ campaignScreen = new CampaignScreen(0, 0); addChild(campaignScreen); } public static function buttonSound(_arg1:MouseEvent){ var _local2:Sound; if (Game.soundFlag){ _local2 = new Button(); _local2.play(); trace("played"); }; } } }//package
Section 33
//GameData (GameData) package { import flash.events.*; public class GameData { public static var powerUpHolder:Array; public static var unitHolder:Array; public static var enemiesHolder:Array; public static var badBallHolder:Array; public static var gameFlag:Boolean = true; public function GameData(){ unitHolder = new Array(); enemiesHolder = new Array(); badBallHolder = new Array(); powerUpHolder = new Array(); } public static function remove(){ var _local1:*; _local1 = 0; while (_local1 < unitHolder.length) { unitHolder[_local1].remove(); _local1++; }; _local1 = 0; while (_local1 < enemiesHolder.length) { enemiesHolder[_local1].remove(); _local1++; }; _local1 = 0; while (_local1 < badBallHolder.length) { badBallHolder[_local1].remove(); _local1++; }; _local1 = 0; while (_local1 < powerUpHolder.length) { powerUpHolder[_local1].remove(); _local1++; }; } public static function removeAnim(){ var _local1:*; _local1 = 0; while (_local1 < unitHolder.length) { unitHolder[_local1].removeAnim(); _local1++; }; _local1 = 0; while (_local1 < enemiesHolder.length) { enemiesHolder[_local1].removeAnim(); _local1++; }; _local1 = 0; while (_local1 < badBallHolder.length) { badBallHolder[_local1].removeAnim(); _local1++; }; _local1 = 0; while (_local1 < powerUpHolder.length) { powerUpHolder[_local1].removeAnim(); _local1++; }; } } }//package
Section 34
//GamePlay (GamePlay) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.ui.*; public class GamePlay extends MovieClip { public var timeBar:TimeBar; public var restartScreen:RestartScreen; public var levelNum:Number; private var alphaGrow:Number;// = 0.02 public var levelPassedScreen:LevelPassedScreen; public var inGameMainMenu:InGameMainMenu; public var stageRef:Stage; public var gameData:GameData; public var inGameMenu:InGameMenu; public static var levelBG:MovieClip; public static var score:Score; public static var level:Level; public function GamePlay(_arg1:Stage, _arg2:Number, _arg3:Number, _arg4:Number){ var _local5:*; alphaGrow = 0.02; super(); x = _arg2; y = _arg3; alpha = 0.7; addEventListener(Event.ENTER_FRAME, enterStage); Mouse.hide(); trace(_arg4); this.levelNum = _arg4; this.stageRef = _arg1; gameData = new GameData(); if ((_arg4 / 12) <= 1){ levelBG = new Level2Bg(); } else { if ((_arg4 / 12) <= 2){ levelBG = new Level3Bg(); } else { if ((_arg4 / 12) <= 3){ levelBG = new Level1Bg(); } else { if ((_arg4 / 12) <= 4){ levelBG = new Level4Bg(); } else { levelBG = new Level5Bg(); }; }; }; }; if ((_arg4 % 12) != 0){ levelBG.y = (-1620 + ((_arg4 % 12) * 120)); } else { levelBG.y = (-1620 + (12 * 120)); }; addChild(levelBG); if (_arg4 == 1){ level = new Level1(_arg1, 0, 0); } else { if (_arg4 == 2){ level = new Level2(_arg1, 0, 0); } else { if (_arg4 == 3){ level = new Level3(_arg1, 0, 0); } else { if (_arg4 == 4){ level = new Level4(_arg1, 0, 0); } else { if (_arg4 == 5){ level = new Level5(_arg1, 0, 0); } else { if (_arg4 == 6){ level = new Level6(_arg1, 0, 0); } else { if (_arg4 == 7){ level = new Level7(_arg1, 0, 0); } else { if (_arg4 == 8){ level = new Level8(_arg1, 0, 0); } else { if (_arg4 == 9){ level = new Level9(_arg1, 0, 0); } else { if (_arg4 == 10){ level = new Level10(_arg1, 0, 0); } else { if (_arg4 == 11){ level = new Level11(_arg1, 0, 0); } else { if (_arg4 == 12){ level = new Level12(_arg1, 0, 0); } else { if (_arg4 == 12){ level = new Level12(_arg1, 0, 0); } else { if (_arg4 == 13){ level = new Level13(_arg1, 0, 0); } else { if (_arg4 == 14){ level = new Level14(_arg1, 0, 0); } else { if (_arg4 == 15){ level = new Level15(_arg1, 0, 0); } else { if (_arg4 == 16){ level = new Level16(_arg1, 0, 0); } else { if (_arg4 == 17){ level = new Level17(_arg1, 0, 0); } else { if (_arg4 == 18){ level = new Level18(_arg1, 0, 0); } else { if (_arg4 == 19){ level = new Level19(_arg1, 0, 0); } else { if (_arg4 == 20){ level = new Level20(_arg1, 0, 0); } else { if (_arg4 == 21){ level = new Level21(_arg1, 0, 0); } else { if (_arg4 == 22){ level = new Level22(_arg1, 0, 0); } else { if (_arg4 == 23){ level = new Level23(_arg1, 0, 0); } else { if (_arg4 == 24){ level = new Level24(_arg1, 0, 0); } else { if (_arg4 == 25){ level = new Level25(_arg1, 0, 0); } else { if (_arg4 == 26){ level = new Level26(_arg1, 0, 0); } else { if (_arg4 == 27){ level = new Level27(_arg1, 0, 0); } else { if (_arg4 == 28){ level = new Level28(_arg1, 0, 0); } else { if (_arg4 == 29){ level = new Level29(_arg1, 0, 0); } else { if (_arg4 == 30){ level = new Level30(_arg1, 0, 0); } else { if (_arg4 == 31){ level = new Level31(_arg1, 0, 0); } else { if (_arg4 == 32){ level = new Level32(_arg1, 0, 0); } else { if (_arg4 == 33){ level = new Level33(_arg1, 0, 0); } else { if (_arg4 == 34){ level = new Level34(_arg1, 0, 0); } else { if (_arg4 == 35){ level = new Level35(_arg1, 0, 0); } else { if (_arg4 == 36){ level = new Level36(_arg1, 0, 0); } else { if (_arg4 == 37){ level = new Level37(_arg1, 0, 0); } else { if (_arg4 == 38){ level = new Level38(_arg1, 0, 0); } else { if (_arg4 == 39){ level = new Level39(_arg1, 0, 0); } else { if (_arg4 == 40){ level = new Level40(_arg1, 0, 0); } else { if (_arg4 == 41){ level = new Level41(_arg1, 0, 0); } else { if (_arg4 == 42){ level = new Level42(_arg1, 0, 0); } else { if (_arg4 == 43){ level = new Level43(_arg1, 0, 0); } else { if (_arg4 == 44){ level = new Level44(_arg1, 0, 0); } else { if (_arg4 == 45){ level = new Level45(_arg1, 0, 0); } else { if (_arg4 == 46){ level = new Level46(_arg1, 0, 0); } else { if (_arg4 == 47){ level = new Level47(_arg1, 0, 0); } else { if (_arg4 == 48){ level = new Level48(_arg1, 0, 0); } else { if (_arg4 == 49){ level = new Level49(_arg1, 0, 0); } else { if (_arg4 == 50){ level = new Level50(_arg1, 0, 0); } else { if (_arg4 == 51){ level = new Level51(_arg1, 0, 0); } else { if (_arg4 == 52){ level = new Level52(_arg1, 0, 0); } else { if (_arg4 == 53){ level = new Level53(_arg1, 0, 0); } else { if (_arg4 == 54){ level = new Level54(_arg1, 0, 0); } else { if (_arg4 == 55){ level = new Level55(_arg1, 0, 0); } else { if (_arg4 == 56){ level = new Level56(_arg1, 0, 0); } else { if (_arg4 == 57){ level = new Level57(_arg1, 0, 0); } else { if (_arg4 == 58){ level = new Level58(_arg1, 0, 0); } else { if (_arg4 == 59){ level = new Level59(_arg1, 0, 0); } else { if (_arg4 == 60){ level = new Level60(_arg1, 0, 0); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; addChild(level); addEventListener(NavigationEvent.LOSS, levelLost); addEventListener(NavigationEvent.VICTORY, levelPassed); addEventListener(NavigationEvent.OPTIONS, optionsDisplay); addEventListener(NavigationEvent.MENU, menuDisplay); timeBar = new TimeBar(); addChild(timeBar); score = new Score(10, 10); addChild(score); _local5 = new FPSCounter(); addChild(_local5); } private function enterStage(_arg1:Event):void{ if ((alpha + alphaGrow) < 1){ alpha = (alpha + alphaGrow); } else { alpha = 1; removeEventListener(Event.ENTER_FRAME, enterStage); }; } public function levelPassed(_arg1:NavigationEvent){ Mouse.show(); timeBar.removeEventListener(Event.ENTER_FRAME, timeBar.expand); removeEventListener(NavigationEvent.VICTORY, levelPassed); removeEventListener(NavigationEvent.LOSS, levelLost); levelPassedScreen = new LevelPassedScreen(0, 0); addChild(levelPassedScreen); } public function nextLevelPlay(_arg1:MouseEvent){ } public function nextLevelScreen(_arg1:NavigationEvent){ trace("next level"); } private function optionsDisplay(_arg1:NavigationEvent):void{ inGameMenu = new InGameMenu(0, 0); addChild(inGameMenu); } private function menuDisplay(_arg1:NavigationEvent):void{ inGameMainMenu = new InGameMainMenu(0, 0); addChild(inGameMainMenu); } public function levelLost(_arg1:NavigationEvent){ var _local2:Sound; if (Game.soundFlag){ _local2 = new alert_30(); _local2.play(); }; Mouse.show(); timeBar.removeEventListener(Event.ENTER_FRAME, timeBar.expand); removeEventListener(NavigationEvent.VICTORY, levelPassed); removeEventListener(NavigationEvent.LOSS, levelLost); restartScreen = new RestartScreen(0, 0); addChild(restartScreen); } } }//package
Section 35
//GamingOcean (GamingOcean) package { import flash.display.*; import flash.events.*; import flash.net.*; public class GamingOcean extends SimpleButton { public function GamingOcean(){ addEventListener(MouseEvent.CLICK, mouseClicked); } private function mouseClicked(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamingocean.com"); navigateToURL(_local2); } } }//package
Section 36
//Good (Good) package { import flash.media.*; public dynamic class Good extends Sound { } }//package
Section 37
//HardBut (HardBut) package { import flash.display.*; public dynamic class HardBut extends SimpleButton { } }//package
Section 38
//Hero (Hero) package { import flash.display.*; import flash.events.*; public class Hero extends MovieClip { public var type;// = 1 public static var globalR:Number; private static var _rotationAmount = 3; public static var globalY:Number; public static var globalX:Number; public function Hero(_arg1:Stage, _arg2:Number, _arg3:Number){ type = 1; super(); x = _arg2; y = _arg3; addEventListener(Event.ENTER_FRAME, move); addEventListener(Event.ENTER_FRAME, rotate); addEventListener(Event.ADDED_TO_STAGE, added); } private function added(_arg1:Event):void{ removeEventListener(Event.ADDED_TO_STAGE, added); } public function rotate(_arg1:Event){ rotation = (rotation + Hero.rotationAmount); } public function spawnParticles(_arg1:Event){ var _local2:Particle; if (Math.random() < 0.2){ _local2 = new Particle(x, y); parent.addChild(_local2); }; } private function mouseClicked(_arg1:MouseEvent):void{ trace(Math.random()); } public function move(_arg1:Event){ this.x = parent.mouseX; this.y = parent.mouseY; globalR = rotation; globalX = parent.mouseX; globalY = parent.mouseY; } public static function set rotationAmount(_arg1:int):void{ _rotationAmount = _arg1; } public static function enlarge():void{ i = 0; while (i < GameData.unitHolder.length) { GameData.unitHolder[i].scaleX = (GameData.unitHolder[i].scaleX * 1.5); GameData.unitHolder[i].scaleY = (GameData.unitHolder[i].scaleY * 1.5); i++; }; } public static function get rotationAmount():int{ return (_rotationAmount); } } }//package
Section 39
//InfoBadBall (InfoBadBall) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class InfoBadBall extends InfoBall { public var restart:SimpleButton; public function InfoBadBall(){ Mouse.show(); GameData.gameFlag = false; restart.addEventListener(MouseEvent.CLICK, restartPressed); } private function restartPressed(_arg1:MouseEvent):void{ Mouse.hide(); GameData.gameFlag = true; parent.removeChild(this); } } }//package
Section 40
//InfoBall (InfoBall) package { import flash.display.*; import flash.events.*; public class InfoBall extends Sprite { private var startTweenY:Number; private var goalY:Number; public function InfoBall(){ alpha = 0.1; goalY = y; y = (startTweenY = (goalY + 100)); addEventListener(Event.ENTER_FRAME, enterStage); } private function enterStage(_arg1:Event):void{ if (visible){ if (y > goalY){ y = (y - (1 + ((100 - (startTweenY - y)) / 16))); } else { y = goalY; removeEventListener(Event.ENTER_FRAME, enterStage); }; if ((alpha + 0.05) < 1){ alpha = (alpha + 0.05); } else { alpha = 1; }; }; } } }//package
Section 41
//InfoRotateBall (InfoRotateBall) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class InfoRotateBall extends InfoBall { public var restart:SimpleButton; public function InfoRotateBall(){ Mouse.show(); GameData.gameFlag = false; restart.addEventListener(MouseEvent.CLICK, restartPressed); } private function restartPressed(_arg1:MouseEvent):void{ Mouse.hide(); GameData.gameFlag = true; parent.removeChild(this); } } }//package
Section 42
//InfoScoreBall (InfoScoreBall) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class InfoScoreBall extends InfoBall { public var restart:SimpleButton; public function InfoScoreBall(){ Mouse.show(); GameData.gameFlag = false; restart.addEventListener(MouseEvent.CLICK, restartPressed); } private function restartPressed(_arg1:MouseEvent):void{ Mouse.hide(); GameData.gameFlag = true; parent.removeChild(this); } } }//package
Section 43
//InfoSizeBall (InfoSizeBall) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class InfoSizeBall extends InfoBall { public var restart:SimpleButton; public function InfoSizeBall(){ Mouse.show(); GameData.gameFlag = false; restart.addEventListener(MouseEvent.CLICK, restartPressed); } private function restartPressed(_arg1:MouseEvent):void{ Mouse.hide(); GameData.gameFlag = true; parent.removeChild(this); } } }//package
Section 44
//InfoSlowBall (InfoSlowBall) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class InfoSlowBall extends InfoBall { public var restart:SimpleButton; public function InfoSlowBall(){ Mouse.show(); GameData.gameFlag = false; restart.addEventListener(MouseEvent.CLICK, restartPressed); } private function restartPressed(_arg1:MouseEvent):void{ Mouse.hide(); GameData.gameFlag = true; parent.removeChild(this); } } }//package
Section 45
//InfoTimeBall (InfoTimeBall) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class InfoTimeBall extends InfoBall { public var restart:SimpleButton; public function InfoTimeBall(){ Mouse.show(); GameData.gameFlag = false; restart.addEventListener(MouseEvent.CLICK, restartPressed); } private function restartPressed(_arg1:MouseEvent):void{ Mouse.hide(); GameData.gameFlag = true; parent.removeChild(this); } } }//package
Section 46
//InGameMainMenu (InGameMainMenu) package { import flash.display.*; import flash.events.*; public class InGameMainMenu extends MovieClip { private var levelPassed; public var no:SimpleButton; public var yes:SimpleButton; public function InGameMainMenu(_arg1:Number, _arg2:Number){ no.addEventListener(MouseEvent.CLICK, startClicked); no.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); yes.addEventListener(MouseEvent.CLICK, yesClicked); yes.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); } public function yesClicked(_arg1:MouseEvent){ dispatchEvent(new NavigationEvent(NavigationEvent.RESTARTGAME)); } public function startClicked(_arg1:MouseEvent){ no.removeEventListener(MouseEvent.CLICK, startClicked); if (((Game.level - 1) % 12) != 0){ dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); } else { campaignCompleted = new CampaignCompleted(0, 0); parent.addChild(campaignCompleted); }; if (this.parent){ parent.removeChild(this); }; } } }//package
Section 47
//InGameMenu (InGameMenu) package { import flash.display.*; import flash.events.*; public class InGameMenu extends MovieClip { public var musicOn:SimpleButton; public var onBut:SimpleButton; public var musicOff:SimpleButton; public var start:SimpleButton; public var offBut:SimpleButton; public var inGameMainMenu:InGameMainMenu; public var main:OkBut; public static var levelPassedFlag = true; public function InGameMenu(_arg1:Number, _arg2:Number){ start.addEventListener(MouseEvent.CLICK, continueClicked); start.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); main.addEventListener(MouseEvent.CLICK, menuClicked); main.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); onBut.addEventListener(MouseEvent.CLICK, onClicked); onBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); offBut.addEventListener(MouseEvent.CLICK, offClicked); offBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); musicOff.addEventListener(MouseEvent.CLICK, musicOffClicked); musicOff.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); musicOn.addEventListener(MouseEvent.CLICK, musicOnClicked); musicOn.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); } public function levelPassedFunction(){ start.removeEventListener(MouseEvent.CLICK, continueClicked); if (((Game.level - 1) % 12) != 0){ dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); } else { campaignCompleted = new CampaignCompleted(0, 0); addChild(campaignCompleted); }; } public function onClicked(_arg1:MouseEvent){ Game.soundFlag = true; } private function continueClicked(_arg1:MouseEvent):void{ var _local2:RestartScreen; if (levelPassedFlag){ levelPassedFunction(); return; }; if (this.parent == Game){ trace("Game parent"); }; if (this.parent){ InGameMenu.levelPassedFlag = true; _local2 = new RestartScreen(0, 0); parent.addChild(_local2); parent.removeChild(this); }; } private function musicOnClicked(_arg1:MouseEvent):void{ if (Game.musicFlag == false){ Game.musicFlag = true; Game.musicChannel = Game.myMusic.play(0, 1000); Game.musicChannel.soundTransform = Game.sTransform; }; } private function musicOffClicked(_arg1:MouseEvent):void{ Game.musicFlag = false; Game.musicChannel.stop(); } public function offClicked(_arg1:MouseEvent){ Game.soundFlag = false; } public function menuClicked(_arg1:MouseEvent){ dispatchEvent(new NavigationEvent(NavigationEvent.MENU)); parent.removeChild(this); } } }//package
Section 48
//Instructions (Instructions) package { import flash.display.*; import flash.events.*; public class Instructions extends MovieClip { public var startB:SimpleButton; private var alphaGrow:Number;// = 0.03 public var back:SimpleButton; public function Instructions(_arg1:Stage, _arg2:Number, _arg3:Number){ alphaGrow = 0.03; super(); alpha = 0.4; addEventListener(Event.ENTER_FRAME, enterStage); x = _arg2; y = _arg3; back.addEventListener(MouseEvent.CLICK, backToMainScreen); startB.addEventListener(MouseEvent.CLICK, startGame); back.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); startB.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); } private function enterStage(_arg1:Event):void{ if ((alpha + alphaGrow) < 1){ alpha = (alpha + alphaGrow); } else { alpha = 1; removeEventListener(Event.ENTER_FRAME, enterStage); }; } public function startGame(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.START)); } public function backToMainScreen(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.INTROSCREEN)); } } }//package
Section 49
//IntroScreen (IntroScreen) package { import flash.display.*; import flash.events.*; import fl.motion.*; public class IntroScreen extends MovieClip { public var creditsBut:SimpleButton; public var freePlayBut:SimpleButton; public var options:SimpleButton; public var instructionsBut:SimpleButton; public var startBut:SimpleButton; private var ease:CustomEase; public function IntroScreen(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; ease = new CustomEase(); super(); x = _arg2; y = _arg3; startBut.x = -100; creditsBut.x = -180; instructionsBut.x = -160; freePlayBut.x = -120; options.x = -140; addEventListener(Event.ENTER_FRAME, onEnterFrame); startBut.addEventListener(MouseEvent.CLICK, dispatchStart); creditsBut.addEventListener(MouseEvent.CLICK, dispatchCredits); instructionsBut.addEventListener(MouseEvent.CLICK, dispatchInstructions); startBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); creditsBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); instructionsBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); options.addEventListener(MouseEvent.CLICK, optionsClicked); options.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); freePlayBut.addEventListener(MouseEvent.CLICK, freePlayButClicked); freePlayBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); hero = new Hero(_arg1, 430, 250); hero.removeEventListener(Event.ENTER_FRAME, hero.move); addChild(hero); _local4 = new Ball1(_arg1, 50, 0, -10, -4, true); _local4.removeEventListener(Event.ADDED_TO_STAGE, _local4.addedToStage); hero.addChild(_local4); _local5 = new Ball2(_arg1, -50, 0, -10, -4, true); _local5.removeEventListener(Event.ADDED_TO_STAGE, _local5.addedToStage); hero.addChild(_local5); _local6 = new Ball3(_arg1, 0, 50, 0, 0, true); _local6.removeEventListener(Event.ADDED_TO_STAGE, _local6.addedToStage); hero.addChild(_local6); } public function dispatchStart(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.START)); } public function dispatchInstructions(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.INSTRUCTIONS)); } private function freePlayButClicked(_arg1:MouseEvent):void{ trace("Freeplay dispatched"); parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.FREEPLAY)); } private function myease(_arg1:Number, _arg2:Number){ var _local3:Number; var _local4:Number; _local3 = 380; _local4 = (_arg2 - _arg1); if (_local4 < (_local3 / 2)){ return (((_local4 / 9) + 1)); }; return (20); } public function optionsClicked(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.MAINOPTIONS)); } private function onEnterFrame(_arg1:Event):void{ if (startBut.x < 180){ startBut.x = (startBut.x + myease(startBut.x, 180)); } else { startBut.x = 180; }; if (creditsBut.x < 180){ creditsBut.x = (creditsBut.x + myease(creditsBut.x, 180)); } else { creditsBut.x = 180; }; if (instructionsBut.x < 180){ instructionsBut.x = (instructionsBut.x + myease(instructionsBut.x, 180)); } else { instructionsBut.x = 180; }; if (freePlayBut.x < 180){ freePlayBut.x = (freePlayBut.x + myease(freePlayBut.x, 180)); } else { freePlayBut.x = 180; }; if (options.x < 180){ options.x = (options.x + myease(options.x, 180)); } else { options.x = 180; }; } public function dispatchAchievements(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.ACHIEVEMENTS)); } public function dispatchCredits(_arg1:MouseEvent){ parent.removeChild(this); dispatchEvent(new NavigationEvent(NavigationEvent.CREDITS)); } } }//package
Section 50
//IntroScreenStart (IntroScreenStart) package { import flash.display.*; public dynamic class IntroScreenStart extends SimpleButton { } }//package
Section 51
//Level (Level) package { import flash.display.*; import flash.events.*; public class Level extends MovieClip { public var stageRef:Stage; public function Level(_arg1:Stage, _arg2:Number, _arg3:Number){ x = _arg2; y = _arg3; this.y = (this.y - 0); trace(("This is" + Game.level)); this.stageRef = _arg1; } public function removeListeners(){ removeEventListener(Event.ENTER_FRAME, loop); } } }//package
Section 52
//Level1 (Level1) package { import flash.display.*; import flash.events.*; public class Level1 extends Level { public var hero:Hero; public function Level1(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; _local4 = new Ball1(_arg1, 100, 400, -3, -2, false); addChild(_local4); _local5 = new Ball4(_arg1, 500, 400, 1, 2, false); addChild(_local5); hero = new Hero(_arg1, 400, 400); addChild(hero); _local6 = new Ball1(_arg1, 100, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball4(_arg1, -50, 0, -10, -4, true); hero.addChild(_local7); super(_arg1, _arg2, _arg3); } } }//package
Section 53
//Level10 (Level10) package { import flash.display.*; import flash.events.*; public class Level10 extends Level { public var hero:Hero; public function Level10(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:PowerUp; var _local9:PowerUp; var _local10:PowerUp; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; _local4 = new Ball1(_arg1, 300, 100, -10, -4, false); addChild(_local4); _local5 = new Ball2(_arg1, 150, 100, 6, -4, false); addChild(_local5); _local6 = new Ball3(_arg1, 100, 400, -5, 1, false); addChild(_local6); _local7 = new Ball4(_arg1, 30, 550, 8, 3, false); addChild(_local7); _local8 = new SlowBall(100, 120, -2, -1); addChild(_local8); _local8 = new SlowBall(500, 190, -1.2, 2); addChild(_local8); _local9 = new ScoreBall(550, 430, 1.2, -2.1); addChild(_local9); _local10 = new TimeBall(500, 490, 2.1, -0.1); addChild(_local10); hero = new Hero(_arg1, 400, 400); addChild(hero); _local11 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local11); _local12 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local12); _local13 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local13); _local14 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local14); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 54
//Level11 (Level11) package { import flash.display.*; import flash.events.*; public class Level11 extends Level { public var hero:Hero; public function Level11(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:PowerUp; var _local10:Ball; var _local11:Ball; var _local12:Ball; _local4 = new Ball2(_arg1, 350, 100, -1.2, -3.6, false); addChild(_local4); _local5 = new Ball2(_arg1, 300, 100, -1.5, -5.1, false); addChild(_local5); _local6 = new Ball4(_arg1, 550, 100, 1.2, -2.4, false); addChild(_local6); _local7 = new Ball4(_arg1, 150, 100, 4.1, -0.2, false); addChild(_local7); _local8 = new Ball6(_arg1, 300, 400, 0.71, 1.71, false); addChild(_local8); _local9 = new SlowBall(400, 490, -1.2, 2); addChild(_local9); hero = new Hero(_arg1, 400, 400); addChild(hero); _local10 = new Ball2(_arg1, 60, 0, -10, -4, true); hero.addChild(_local10); _local11 = new Ball4(_arg1, -60, 0, -10, -4, true); hero.addChild(_local11); _local12 = new Ball6(_arg1, 0, 60, 0, 0, true); hero.addChild(_local12); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 55
//Level12 (Level12) package { import flash.display.*; import flash.events.*; public class Level12 extends Level { public var hero:Hero; public function Level12(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:PowerUp; var _local11:PowerUp; var _local12:Ball; var _local13:Ball; var _local14:Ball; _local4 = new Ball2(_arg1, 270, 120, -5, -2, false); addChild(_local4); _local5 = new Ball2(_arg1, 550, 90, -4, -2, false); addChild(_local5); _local6 = new Ball3(_arg1, 550, 450, -4, -2, false); addChild(_local6); _local7 = new Ball3(_arg1, 150, 100, 0.5, 1.3, false); addChild(_local7); _local8 = new Ball5(_arg1, 30, 400, 3.5, -2.3, false); addChild(_local8); _local9 = new Ball5(_arg1, 30, 40, 2.5, -3.3, false); addChild(_local9); _local10 = new ChangeBall(320, 350, 2.2, 3.1); addChild(_local10); _local11 = new ChangeBall(100, 170, 3.2, 4.51); addChild(_local11); hero = new Hero(_arg1, 400, 400); addChild(hero); _local12 = new Ball2(_arg1, 30, 0, -10, -4, true); hero.addChild(_local12); _local13 = new Ball3(_arg1, -30, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball5(_arg1, 0, 30, 0, 0, true); hero.addChild(_local14); super(_arg1, _arg2, _arg3); } } }//package
Section 56
//Level13 (Level13) package { import flash.display.*; import flash.events.*; public class Level13 extends Level { public var hero:Hero; public function Level13(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; _local4 = new Ball1(_arg1, 570, 40, -3.9, -2.3, false); addChild(_local4); _local5 = new Ball2(_arg1, 550, 140, 1.9, -4, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 100, 0.33, -4, false); addChild(_local6); _local7 = new Ball3(_arg1, 350, 400, 1, 1.5, false); addChild(_local7); _local8 = new Ball1(_arg1, 30, 400, 3, 2.3, false); addChild(_local8); _local9 = new BadBall(_arg1, 520, 180, -2, 2.1, false); addChild(_local9); hero = new Hero(_arg1, 400, 400); addChild(hero); _local10 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local10); _local11 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local11); _local12 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local12); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 57
//Level14 (Level14) package { import flash.display.*; import flash.events.*; public class Level14 extends Level { public var hero:Hero; public function Level14(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:PowerUp; var _local11:Ball; var _local12:Ball; var _local13:Ball; _local4 = new Ball4(_arg1, 300, 100, -10, -4, false); addChild(_local4); _local5 = new Ball4(_arg1, 300, 500, -10, -4, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 100, 9, -4, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 100, 1, -8, false); addChild(_local7); _local8 = new Ball5(_arg1, 300, 400, 1, 1, false); addChild(_local8); _local9 = new Ball5(_arg1, 30, 400, 3, 3, false); addChild(_local9); _local10 = new SlowBall(140, 250, -1.2, -0.61); addChild(_local10); _local10 = new SlowBall(450, 150, -2.2, 1); addChild(_local10); hero = new Hero(_arg1, 400, 400); addChild(hero); _local11 = new Ball2(_arg1, 0, 50, -10, -4, true); hero.addChild(_local11); _local12 = new Ball4(_arg1, -50, 0, -10, -4, true); hero.addChild(_local12); _local13 = new Ball5(_arg1, 50, 0, 0, 0, true); hero.addChild(_local13); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 58
//Level15 (Level15) package { import flash.display.*; import flash.events.*; public class Level15 extends Level { public var hero:Hero; public function Level15(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:PowerUp; var _local10:PowerUp; var _local11:PowerUp; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; _local4 = new Ball1(_arg1, 320, 80, -3.5, -2.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 430, 530, -1, -1.4, false); addChild(_local5); _local6 = new Ball2(_arg1, 550, 100, 1, -3.8, false); addChild(_local6); _local7 = new Ball3(_arg1, 300, 400, 1, 1.5, false); addChild(_local7); _local8 = new Ball4(_arg1, 430, 100, 4, 3, false); addChild(_local8); _local9 = new TimeBall(100, 310, 9, 3); addChild(_local9); _local10 = new TimeBall(570, 210, -4.2, 1.1); addChild(_local10); _local11 = new ScoreBall(270, 130, 5.2, -2.1); addChild(_local11); hero = new Hero(_arg1, 400, 400); addChild(hero); _local12 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local12); _local13 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local14); _local15 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local15); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 59
//Level16 (Level16) package { import flash.display.*; import flash.events.*; public class Level16 extends Level { public var hero:Hero; public function Level16(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; _local4 = new Ball1(_arg1, 500, 80, -1.6, -1.4, false); addChild(_local4); _local5 = new Ball2(_arg1, 570, 100, -2.1, 3, false); addChild(_local5); _local6 = new Ball3(_arg1, 30, 400, -2.3, 1, false); addChild(_local6); _local7 = new Ball4(_arg1, 560, 100, -2.5, 3, false); addChild(_local7); _local8 = new Ball5(_arg1, 430, 400, -1.5, 2.8, false); addChild(_local8); hero = new Hero(_arg1, 400, 400); addChild(hero); _local9 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local9); _local10 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local10); _local11 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local11); _local12 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local12); _local13 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local13); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 60
//Level17 (Level17) package { import flash.display.*; import flash.events.*; public class Level17 extends Level { public var hero:Hero; public function Level17(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:PowerUp; var _local13:Ball; var _local14:Ball; _local4 = new Ball1(_arg1, 550, 450, 3, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 350, 450, 0.3, -0.4, false); addChild(_local5); _local6 = new Ball2(_arg1, 550, 550, 1, 0.62, false); addChild(_local6); _local7 = new Ball2(_arg1, 100, 400, 1.8, 1.2, false); addChild(_local7); _local8 = new BadBall(_arg1, 50, 150, 2.1, -1, false); addChild(_local8); _local9 = new BadBall(_arg1, 500, 450, 0.22, 1.111, false); addChild(_local9); _local10 = new BadBall(_arg1, 400, 350, -2, 1, false); addChild(_local10); _local11 = new BadBall(_arg1, 40, 35, -2, 1, false); addChild(_local11); _local12 = new SizeBall(520, 420, 4.2, 6.1); addChild(_local12); hero = new Hero(_arg1, 400, 400); addChild(hero); _local13 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local14); super(_arg1, _arg2, _arg3); } } }//package
Section 61
//Level18 (Level18) package { import flash.display.*; import flash.events.*; public class Level18 extends Level { public var hero:Hero; public function Level18(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:PowerUp; var _local10:PowerUp; var _local11:PowerUp; var _local12:Ball; var _local13:Ball; var _local14:Ball; _local4 = new Ball1(_arg1, 300, 100, -2.5, -2, false); addChild(_local4); _local5 = new Ball2(_arg1, 150, 100, 4.5, -4, false); addChild(_local5); _local6 = new Ball2(_arg1, 550, 100, 5, -4, false); addChild(_local6); _local7 = new Ball3(_arg1, 300, 400, 1, 3, false); addChild(_local7); _local8 = new Ball3(_arg1, 30, 400, 4, 3, false); addChild(_local8); _local9 = new ChangeBall(160, 280, 3.72, -4.1); addChild(_local9); _local10 = new ChangeBall(170, 140, -2.2, -3.81); addChild(_local10); _local11 = new ChangeBall(120, 360, -3.2, 5.3); addChild(_local11); hero = new Hero(_arg1, 400, 400); addChild(hero); _local12 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local12); _local13 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local14); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 62
//Level19 (Level19) package { import flash.display.*; import flash.events.*; public class Level19 extends Level { public var hero:Hero; public function Level19(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:PowerUp; var _local12:PowerUp; var _local13:PowerUp; var _local14:Ball; var _local15:Ball; var _local16:Ball; _local4 = new Ball4(_arg1, 300, 100, -1.5, -4, false); addChild(_local4); _local5 = new Ball4(_arg1, 300, 500, -3, -2, false); addChild(_local5); _local6 = new Ball4(_arg1, 300, 50, -4.7, -2.5, false); addChild(_local6); _local7 = new Ball5(_arg1, 150, 100, 2.9, -4, false); addChild(_local7); _local8 = new Ball5(_arg1, 550, 100, 1, -8, false); addChild(_local8); _local9 = new Ball6(_arg1, 300, 400, 1, 1, false); addChild(_local9); _local10 = new Ball6(_arg1, 30, 400, 3, 3, false); addChild(_local10); _local11 = new ScoreBall(100, 310, 2, 1); addChild(_local11); _local12 = new ScoreBall(500, 210, -0.2, 1.1); addChild(_local12); _local13 = new ScoreBall(70, 130, 1.2, -2.1); addChild(_local13); hero = new Hero(_arg1, 400, 400); addChild(hero); _local14 = new Ball4(_arg1, 50, 0, -10, -4, true); hero.addChild(_local14); _local15 = new Ball6(_arg1, -50, 0, -10, -4, true); hero.addChild(_local15); _local16 = new Ball5(_arg1, 0, 50, 0, 0, true); hero.addChild(_local16); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 63
//Level1Bg (Level1Bg) package { import flash.geom.*; import flash.display.*; import flash.events.*; public class Level1Bg extends MovieClip { public function Level1Bg(){ addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function onEnterFrame(_arg1:Event):void{ var _local2:ParticleSnow; if (Math.random() < 0.08){ _local2 = new ParticleSnow(new Point(((Math.random() * 800) - 300), (1680 - (((Game.level % 12) * Math.random()) * 200)))); _local2.scaleX = (_local2.scaleY = (1 + (Math.random() * 2))); addChild(_local2); }; } } }//package
Section 64
//Level2 (Level2) package { import flash.display.*; import flash.events.*; public class Level2 extends Level { public var hero:Hero; public function Level2(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; _local4 = new Ball6(_arg1, 400, 120, -2, -3, false); addChild(_local4); _local5 = new Ball3(_arg1, 500, 400, 3, -1, false); addChild(_local5); _local6 = new Ball3(_arg1, 30, 150, 1, 2, false); addChild(_local6); hero = new Hero(_arg1, 400, 400); addChild(hero); _local7 = new Ball6(_arg1, 50, 0, -10, -4, true); hero.addChild(_local7); _local8 = new Ball3(_arg1, -50, 0, -10, -4, true); hero.addChild(_local8); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 65
//Level20 (Level20) package { import flash.display.*; import flash.events.*; public class Level20 extends Level { public var hero:Hero; public function Level20(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:PowerUp; var _local12:PowerUp; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; _local4 = new Ball1(_arg1, 300, 100, -1.2, -2.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 500, -0.1, -1.3, false); addChild(_local5); _local6 = new Ball2(_arg1, 550, 100, 2.3, -1.2, false); addChild(_local6); _local7 = new Ball3(_arg1, 300, 400, 2.1, 1.3, false); addChild(_local7); _local8 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local8); _local9 = new Ball4(_arg1, 430, 100, 1.5, 3, false); addChild(_local9); _local10 = new Ball5(_arg1, 430, 400, -2.5, 1.8, false); addChild(_local10); _local11 = new TimeBall(500, 210, 1.9, 3); addChild(_local11); _local12 = new TimeBall(540, 170, -4.2, 1.1); addChild(_local12); hero = new Hero(_arg1, 400, 400); addChild(hero); _local13 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local14); _local15 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local15); _local16 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local16); _local17 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local17); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 66
//Level21 (Level21) package { import flash.display.*; import flash.events.*; public class Level21 extends Level { public var hero:Hero; public function Level21(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:PowerUp; var _local13:Ball; var _local14:Ball; _local4 = new Ball3(_arg1, 100, 100, -10, -4, false); addChild(_local4); _local5 = new Ball4(_arg1, 500, 50, -10, -4, false); addChild(_local5); _local6 = new Ball3(_arg1, 550, 450, -10, -14, false); addChild(_local6); _local7 = new Ball4(_arg1, 300, 400, 1, 1, false); addChild(_local7); _local8 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local8); _local9 = new Ball4(_arg1, 30, 40, 5, 3, false); addChild(_local9); _local10 = new Ball3(_arg1, 100, 100, 3, 12, false); addChild(_local10); _local11 = new Ball3(_arg1, 40, 440, 5, 6, false); addChild(_local11); _local12 = new SlowBall(100, 150, 2, 3); addChild(_local12); hero = new Hero(_arg1, 400, 400); addChild(hero); _local13 = new Ball3(_arg1, 50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball4(_arg1, -50, 0, -10, -4, true); hero.addChild(_local14); super(_arg1, _arg2, _arg3); } } }//package
Section 67
//Level22 (Level22) package { import flash.display.*; import flash.events.*; public class Level22 extends Level { public var hero:Hero; public function Level22(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:PowerUp; var _local15:Ball; var _local16:Ball; var _local17:Ball; _local4 = new Ball1(_arg1, 300, 130, -2.5, -1.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 340, 190, -0.5, 1.4, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 30, 2.9, -2.4, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 4500, 3.1, -2.8, false); addChild(_local7); _local8 = new Ball2(_arg1, 50, 160, 4.7, -2.5, false); addChild(_local8); _local9 = new Ball2(_arg1, 200, 100, 3.1, -3.8, false); addChild(_local9); _local10 = new Ball6(_arg1, 300, 360, 1.4, 5.9, false); addChild(_local10); _local11 = new Ball6(_arg1, 30, 400, 3.8, 3, false); addChild(_local11); _local12 = new BadBall(_arg1, 100, 150, 2, 1, false); addChild(_local12); _local13 = new BadBall(_arg1, 580, 150, -0.2, 3, false); addChild(_local12); _local14 = new TimeBall(500, 50, 0.2, -0.31); addChild(_local14); hero = new Hero(_arg1, 400, 400); addChild(hero); _local15 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local15); _local16 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local16); _local17 = new Ball6(_arg1, 0, 50, 0, 0, true); hero.addChild(_local17); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 68
//Level23 (Level23) package { import flash.display.*; import flash.events.*; public class Level23 extends Level { public var hero:Hero; public function Level23(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:PowerUp; var _local13:Ball; var _local14:Ball; var _local15:Ball; _local4 = new Ball1(_arg1, 300, 100, -10, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 500, -5, -2, false); addChild(_local5); _local6 = new Ball1(_arg1, 300, 50, -10, -4, false); addChild(_local6); _local7 = new Ball2(_arg1, 150, 100, 9, -4, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 100, 1, -8, false); addChild(_local8); _local9 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local9); _local10 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local10); _local11 = new Ball3(_arg1, 30, 40, 13, 3, false); addChild(_local11); _local12 = new SlowBall(120, 350, -5, -1); addChild(_local12); hero = new Hero(_arg1, 400, 400); addChild(hero); _local13 = new Ball1(_arg1, 70, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball2(_arg1, -70, 0, -10, -4, true); hero.addChild(_local14); _local15 = new Ball3(_arg1, 0, 70, 0, 0, true); hero.addChild(_local15); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 69
//Level24 (Level24) package { import flash.display.*; import flash.events.*; public class Level24 extends Level { public var hero:Hero; public function Level24(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:PowerUp; var _local11:PowerUp; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; _local4 = new Ball1(_arg1, 300, 100, -5, -4, false); addChild(_local4); _local5 = new Ball2(_arg1, 150, 100, 9, -4, false); addChild(_local5); _local6 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local6); _local7 = new Ball4(_arg1, 430, 100, 5, 3, false); addChild(_local7); _local8 = new Ball5(_arg1, 430, 400, -5, 2, false); addChild(_local8); _local9 = new BadBall(_arg1, 400, 150, 3.2, -1.2, false); addChild(_local9); _local9 = new BadBall(_arg1, 50, 450, 2, 3, false); addChild(_local9); _local10 = new SlowBall(520, 250, -2, -1); addChild(_local10); _local11 = new TimeBall(500, 550, 2, -1); addChild(_local11); hero = new Hero(_arg1, 400, 400); addChild(hero); _local12 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local12); _local13 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local14); _local15 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local15); _local16 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local16); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 70
//Level25 (Level25) package { import flash.display.*; import flash.events.*; public class Level25 extends Level { public var hero:Hero; public function Level25(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball1; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; _local4 = new Ball1(_arg1, 500, 100, -1.3, -0.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 100, 50, 1.2, -1.6, false); addChild(_local5); _local6 = new Ball2(_arg1, 90, 430, -1.5, 1.8, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 400, -1.4, -1.2, false); addChild(_local7); _local8 = new BadBall(_arg1, 40, 150, 1.2, -1.2, false); addChild(_local8); _local8 = new BadBall(_arg1, 350, 450, -2, 1.3, false); addChild(_local8); _local8 = new BadBall(_arg1, 550, 450, -3.2, 1.2, false); addChild(_local8); _local8 = new BadBall(_arg1, 90, 49, 2.5, -3, false); addChild(_local8); _local8 = new BadBall(_arg1, 300, 200, 3.2, -1.2, false); addChild(_local8); _local8 = new BadBall(_arg1, 50, 450, 2, 3, false); addChild(_local8); hero = new Hero(_arg1, 400, 400); addChild(hero); _local9 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local9); _local10 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local10); super(_arg1, _arg2, _arg3); } } }//package
Section 71
//Level26 (Level26) package { import flash.display.*; import flash.events.*; public class Level26 extends Level { public var hero:Hero; public function Level26(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:PowerUp; var _local12:ScoreBall; var _local13:Ball; var _local14:Ball; var _local15:Ball; _local4 = new Ball1(_arg1, 350, 80, -10, -4, false); addChild(_local4); _local5 = new Ball2(_arg1, 150, 450, 18, -8, false); addChild(_local5); _local6 = new Ball2(_arg1, 550, 360, 10, -8, false); addChild(_local6); _local7 = new Ball2(_arg1, 50, 100, 10, -8, false); addChild(_local7); _local8 = new Ball2(_arg1, 200, 100, 10, -8, false); addChild(_local8); _local9 = new Ball3(_arg1, 300, 400, 1, 9, false); addChild(_local9); _local10 = new Ball3(_arg1, 30, 400, 8, 3, false); addChild(_local10); _local11 = new SlowBall(520, 350, -5, -1); addChild(_local11); _local12 = new ScoreBall(400, 200, -1, -2); addChild(_local12); hero = new Hero(_arg1, 400, 400); addChild(hero); _local13 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local14); _local15 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local15); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 72
//Level27 (Level27) package { import flash.display.*; import flash.events.*; public class Level27 extends Level { public var hero:Hero; public function Level27(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; _local4 = new Ball2(_arg1, 300, 100, 1.3, 2.3, false); addChild(_local4); _local5 = new Ball4(_arg1, 300, 500, -3.6, -2.3, false); addChild(_local5); _local6 = new BadBall(_arg1, 300, 500, 3.2, -1.2, false); addChild(_local6); _local7 = new Ball5(_arg1, 150, 100, 2.7, -2, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 100, 1, -3, false); addChild(_local8); _local9 = new Ball6(_arg1, 50, 100, 1, -1, false); addChild(_local9); hero = new Hero(_arg1, 400, 400); addChild(hero); _local10 = new Ball2(_arg1, 100, 0, -10, -4, true); hero.addChild(_local10); _local11 = new Ball4(_arg1, -100, 0, -10, -4, true); hero.addChild(_local11); _local12 = new Ball5(_arg1, 0, 100, 0, 0, true); hero.addChild(_local12); _local13 = new Ball6(_arg1, 0, -100, 0, 0, true); hero.addChild(_local13); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 73
//Level28 (Level28) package { import flash.display.*; import flash.events.*; public class Level28 extends Level { public var hero:Hero; public function Level28(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:PowerUp; var _local14:PowerUp; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; _local4 = new Ball1(_arg1, 300, 100, -5, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 500, -1, -4, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 100, 5, -3.8, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 100, 2, -1, false); addChild(_local7); _local8 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local8); _local9 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local9); _local10 = new Ball5(_arg1, 430, 400, -2.5, 1.8, false); addChild(_local10); _local11 = new Ball5(_arg1, 430, 400, -4.5, 3.8, false); addChild(_local11); _local12 = new BadBall(_arg1, 450, 190, -3.2, -2.2, false); addChild(_local12); _local12 = new BadBall(_arg1, 550, 450, -1.2, 2.3, false); addChild(_local12); _local13 = new SlowBall(430, 250, -2, -1); addChild(_local13); _local14 = new TimeBall(470, 550, 2, -1); addChild(_local14); hero = new Hero(_arg1, 400, 400); addChild(hero); _local15 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local15); _local16 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local16); _local17 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local17); _local18 = new Ball5(_arg1, 0, -50, 0, 0, true); hero.addChild(_local18); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 74
//Level29 (Level29) package { import flash.display.*; import flash.events.*; public class Level29 extends Level { public var hero:Hero; public function Level29(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:PowerUp; var _local11:ScoreBall; var _local12:SizeBall; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; _local4 = new Ball1(_arg1, 300, 100, -2.5, -1.4, false); addChild(_local4); _local5 = new Ball2(_arg1, 550, 100, 3.1, -3.8, false); addChild(_local5); _local6 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local6); _local7 = new Ball4(_arg1, 430, 100, 5, 3, false); addChild(_local7); _local8 = new Ball5(_arg1, 430, 400, 4.5, 8, false); addChild(_local8); _local9 = new Ball6(_arg1, 20, 400, -3, 5, false); addChild(_local9); _local10 = new SlowBall(520, 350, -5, -1); addChild(_local10); _local11 = new ScoreBall(400, 200, -1, -2); addChild(_local11); _local12 = new SizeBall(450, 470, 5, 6); addChild(_local12); _local13 = new BadBall(_arg1, 550, 450, -3.2, 1.2, false); addChild(_local13); hero = new Hero(_arg1, 400, 400); addChild(hero); _local14 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local14); _local15 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local15); _local16 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local16); _local17 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local17); _local18 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local18); _local19 = new Ball6(_arg1, -60, -60, 0, 0, true); hero.addChild(_local19); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 75
//Level2Bg (Level2Bg) package { import flash.display.*; public dynamic class Level2Bg extends MovieClip { } }//package
Section 76
//Level3 (Level3) package { import flash.display.*; import flash.events.*; public class Level3 extends Level { public var hero:Hero; public function Level3(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:InfoBall; _local4 = new InfoBadBall(); addChild(_local4); _local4.addEventListener(Event.REMOVED_FROM_STAGE, startLevel); super(_arg1, _arg2, _arg3); } private function startLevel(_arg1:Event):void{ var _local2:Ball; var _local3:Ball; var _local4:Ball; var _local5:Ball; var _local6:Ball; _local2 = new Ball4(stageRef, 100, 100, -10, -4, false); addChild(_local2); _local3 = new Ball6(stageRef, 350, 500, 2, 2, false); addChild(_local3); _local4 = new BadBall(stageRef, 500, 150, 2, 1, false); addChild(_local4); hero = new Hero(stageRef, 400, 400); addChild(hero); _local5 = new Ball4(stageRef, 100, 0, -10, -4, true); hero.addChild(_local5); _local6 = new Ball6(stageRef, -50, 0, -10, -4, true); hero.addChild(_local6); } } }//package
Section 77
//Level30 (Level30) package { import flash.display.*; import flash.events.*; public class Level30 extends Level { public var hero:Hero; public function Level30(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:ChangeBall; var _local11:ChangeBall; var _local12:ChangeBall; var _local13:Ball; var _local14:Ball; _local4 = new Ball2(_arg1, 100, 100, -1, -1.4, false); addChild(_local4); _local5 = new Ball2(_arg1, 500, 50, -3, 4, false); addChild(_local5); _local6 = new Ball3(_arg1, 50, 400, -2, -2.8, false); addChild(_local6); _local7 = new Ball3(_arg1, 550, 400, 3, -3.8, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 50, 2.6, -2.4, false); addChild(_local8); _local9 = new BadBall(_arg1, 40, 150, 1.2, -1.2, false); addChild(_local9); _local9 = new BadBall(_arg1, 350, 450, -2, 1.3, false); addChild(_local9); _local9 = new BadBall(_arg1, 550, 450, -3.2, 1.2, false); addChild(_local9); _local9 = new BadBall(_arg1, 90, 49, 2.5, -3, false); addChild(_local9); _local9 = new BadBall(_arg1, 300, 200, 3.2, -1.2, false); addChild(_local9); _local9 = new BadBall(_arg1, 50, 450, 2, 3, false); addChild(_local9); _local10 = new ChangeBall(30, 40, 9, 10); addChild(_local10); _local11 = new ChangeBall(300, 40, 3.9, -5.1); addChild(_local11); _local12 = new ChangeBall(30, 490, -1.9, 2.1); addChild(_local12); hero = new Hero(_arg1, 400, 400); addChild(hero); _local13 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local13); _local14 = new Ball3(_arg1, -50, 0, -10, -4, true); hero.addChild(_local14); super(_arg1, _arg2, _arg3); } } }//package
Section 78
//Level31 (Level31) package { import flash.display.*; import flash.events.*; public class Level31 extends Level { public var hero:Hero; public function Level31(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:PowerUp; var _local14:PowerUp; var _local15:Ball; var _local16:Ball; var _local17:Ball; _local4 = new Ball1(_arg1, 250, 50, -2.7, 1.3, false); addChild(_local4); _local5 = new Ball1(_arg1, 550, 500, -1.5, -2, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 120, 11, -8, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 100, 1.4, -3.8, false); addChild(_local7); _local8 = new Ball2(_arg1, 50, 400, 3, -2, false); addChild(_local8); _local9 = new Ball2(_arg1, 230, 500, 3, -2.6, false); addChild(_local9); _local10 = new Ball3(_arg1, 320, 400, 1, 2.9, false); addChild(_local10); _local11 = new Ball3(_arg1, 30, 450, 1.8, 3, false); addChild(_local11); _local12 = new BadBall(_arg1, 150, 450, -2.2, -1.2, false); addChild(_local12); _local12 = new BadBall(_arg1, 190, 420, -1.2, 1.2, false); addChild(_local12); _local13 = new SlowBall(520, 350, -5, -1); addChild(_local13); _local14 = new TimeBall(500, 550, 0.2, -1); addChild(_local14); hero = new Hero(_arg1, 400, 400); addChild(hero); _local15 = new Ball1(_arg1, 35, 35, -10, -4, true); hero.addChild(_local15); _local16 = new Ball2(_arg1, -35, 35, -10, -4, true); hero.addChild(_local16); _local17 = new Ball3(_arg1, 0, 15, 0, 0, true); hero.addChild(_local17); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 79
//Level32 (Level32) package { import flash.display.*; import flash.events.*; public class Level32 extends Level { public var hero:Hero; public function Level32(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:PowerUp; var _local16:PowerUp; var _local17:Ball; var _local18:Ball; var _local19:Ball; _local4 = new Ball5(_arg1, 300, 100, -1.5, -2.4, false); addChild(_local4); _local5 = new Ball5(_arg1, 300, 500, -1.2, -3.6, false); addChild(_local5); _local6 = new Ball5(_arg1, 300, 50, 3.6, -2.4, false); addChild(_local6); _local7 = new Ball2(_arg1, 150, 100, 2.4, -4.8, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 100, 1.3, -3.6, false); addChild(_local8); _local9 = new Ball2(_arg1, 50, 100, 1.3, -2.4, false); addChild(_local9); _local10 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local10); _local11 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local11); _local12 = new Ball3(_arg1, 30, 40, 4.8, 3, false); addChild(_local12); _local13 = new Ball3(_arg1, 30, 40, 3, -2.7, false); addChild(_local13); _local14 = new BadBall(_arg1, 480, 120, 3.2, -1.2, false); addChild(_local14); _local14 = new BadBall(_arg1, 50, 480, 2, 3, false); addChild(_local14); _local15 = new SlowBall(520, 250, -2, -1); addChild(_local15); _local16 = new TimeBall(500, 550, 2, -1); addChild(_local16); hero = new Hero(_arg1, 400, 400); addChild(hero); _local17 = new Ball5(_arg1, 70, 0, -10, -4, true); hero.addChild(_local17); _local18 = new Ball2(_arg1, -70, 0, -10, -4, true); hero.addChild(_local18); _local19 = new Ball3(_arg1, 0, 70, 0, 0, true); hero.addChild(_local19); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 80
//Level33 (Level33) package { import flash.display.*; import flash.events.*; public class Level33 extends Level { public var hero:Hero; public function Level33(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:PowerUp; var _local15:ChangeBall; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; _local4 = new Ball1(_arg1, 400, 30, -1.2, -2.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 100, 550, -0.1, -0.2, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 10, 1.2, -0.72, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 20, 1.2, -2.3, false); addChild(_local7); _local8 = new Ball4(_arg1, 520, 580, 1.3, -3.6, false); addChild(_local8); _local9 = new Ball3(_arg1, 500, 450, 1, 1, false); addChild(_local9); _local10 = new Ball3(_arg1, 30, 450, 3, 3, false); addChild(_local10); _local11 = new Ball4(_arg1, 430, 50, -2.5, -1.33, false); addChild(_local11); _local12 = new Ball1(_arg1, 430, 430, -1, 1, false); addChild(_local12); _local13 = new BadBall(_arg1, 490, 150, 3.2, -1.2, false); addChild(_local13); _local13 = new BadBall(_arg1, 550, 450, 2, 3, false); addChild(_local13); _local13 = new BadBall(_arg1, 90, 150, 1.2, -1.2, false); addChild(_local13); _local13 = new BadBall(_arg1, 50, 450, 0.82, -0.93, false); addChild(_local13); _local14 = new TimeBall(50, 550, 2, -1); addChild(_local14); _local15 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local15); hero = new Hero(_arg1, 400, 400); addChild(hero); _local16 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local16); _local17 = new Ball3(_arg1, -50, 0, -10, -4, true); hero.addChild(_local17); _local18 = new Ball1(_arg1, 0, 50, 0, 0, true); hero.addChild(_local18); _local19 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local19); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 81
//Level34 (Level34) package { import flash.display.*; import flash.events.*; public class Level34 extends Level { public var hero:Hero; public function Level34(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:SizeBall; var _local14:Ball; var _local15:Ball; _local4 = new Ball5(_arg1, 300, 600, 2, -1.4, false); addChild(_local4); _local5 = new Ball6(_arg1, 300, 500, -1, 1.4, false); addChild(_local5); _local6 = new Ball5(_arg1, 150, 110, 1.8, -0.8, false); addChild(_local6); _local7 = new Ball6(_arg1, 550, 90, 1, -0.8, false); addChild(_local7); _local8 = new Ball5(_arg1, 30, 420, 3, 2.3, false); addChild(_local8); _local9 = new Ball6(_arg1, 430, 100, 1.5, 3, false); addChild(_local9); _local10 = new Ball5(_arg1, 430, 360, -3.5, 2.8, false); addChild(_local10); _local11 = new Ball6(_arg1, 20, 448, -4.3, 2.5, false); addChild(_local11); _local12 = new BadBall(_arg1, 190, 420, -1.2, 1.2, false); addChild(_local12); _local12 = new BadBall(_arg1, 390, 420, 2.2, 1.2, false); addChild(_local12); _local13 = new SizeBall(450, 470, 5, 6); addChild(_local13); hero = new Hero(_arg1, 400, 400); addChild(hero); _local14 = new Ball5(_arg1, 120, 0, -10, -4, true); hero.addChild(_local14); _local15 = new Ball6(_arg1, -120, 0, -10, -4, true); hero.addChild(_local15); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 82
//Level35 (Level35) package { import flash.display.*; import flash.events.*; public class Level35 extends Level { public var hero:Hero; public function Level35(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:PowerUp; var _local17:ChangeBall; var _local18:Ball; var _local19:Ball; var _local20:Ball; _local4 = new Ball2(_arg1, 100, 100, -12, -3, false); addChild(_local4); _local5 = new Ball2(_arg1, 500, 50, -10, -4, false); addChild(_local5); _local6 = new Ball3(_arg1, 50, 400, -8, -8, false); addChild(_local6); _local7 = new Ball3(_arg1, 550, 400, -11, -9, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 50, 9, -4, false); addChild(_local8); _local9 = new Ball2(_arg1, 150, 100, 3, 3, false); addChild(_local9); _local10 = new Ball2(_arg1, 50, 10, 2, 5, false); addChild(_local10); _local11 = new Ball1(_arg1, 300, 400, 1, 1, false); addChild(_local11); _local12 = new Ball1(_arg1, 30, 400, 3, 3, false); addChild(_local12); _local13 = new Ball2(_arg1, 30, 40, 5, 3, false); addChild(_local13); _local14 = new Ball3(_arg1, 100, 100, 3, 12, false); addChild(_local14); _local15 = new Ball2(_arg1, 100, 400, 3, 12, false); addChild(_local15); _local16 = new SlowBall(570, 390, -5, -1); addChild(_local16); _local17 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local17); hero = new Hero(_arg1, 400, 400); addChild(hero); _local18 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local18); _local19 = new Ball3(_arg1, -50, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball1(_arg1, 0, -40, -10, -4, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); } } }//package
Section 83
//Level36 (Level36) package { import flash.display.*; import flash.events.*; public class Level36 extends Level { public var hero:Hero; public function Level36(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:PowerUp; var _local17:PowerUp; var _local18:Ball; var _local19:Ball; var _local20:Ball; _local4 = new Ball5(_arg1, 300, 100, -3.7, -5, false); addChild(_local4); _local5 = new Ball5(_arg1, 300, 500, -2, -1.4, false); addChild(_local5); _local6 = new Ball5(_arg1, 300, 50, -2.8, -6, false); addChild(_local6); _local7 = new Ball1(_arg1, 150, 100, 4.15, -4, false); addChild(_local7); _local8 = new Ball1(_arg1, 550, 100, 3, -2.8, false); addChild(_local8); _local9 = new Ball1(_arg1, 50, 100, 3, -1.4, false); addChild(_local9); _local10 = new Ball1(_arg1, 50, 100, 2.8, -4, false); addChild(_local10); _local11 = new Ball3(_arg1, 300, 400, 3.5, 1, false); addChild(_local11); _local12 = new Ball3(_arg1, 30, 400, 3, 2.7, false); addChild(_local12); _local13 = new Ball3(_arg1, 30, 40, 1.3, 3, false); addChild(_local13); _local14 = new Ball3(_arg1, 30, 40, 3, -7, false); addChild(_local14); _local15 = new BadBall(_arg1, 180, 420, 3.2, -1.2, false); addChild(_local15); _local15 = new BadBall(_arg1, 150, 380, 2, 3, false); addChild(_local15); _local15 = new BadBall(_arg1, 480, 120, 3.2, -1.2, false); addChild(_local15); _local15 = new BadBall(_arg1, 50, 480, 2, 3, false); addChild(_local15); _local16 = new TimeBall(500, 550, 2, -1); addChild(_local16); _local17 = new ScoreBall(70, 130, 1.2, -2.1); addChild(_local17); hero = new Hero(_arg1, 400, 400); addChild(hero); _local18 = new Ball5(_arg1, 50, 0, -10, -4, true); hero.addChild(_local18); _local19 = new Ball1(_arg1, -50, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 84
//Level37 (Level37) package { import flash.display.*; import flash.events.*; public class Level37 extends Level { public var hero:Hero; public function Level37(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball1; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:PowerUp; var _local18:PowerUp; var _local19:Ball; var _local20:Ball; var _local21:Ball; var _local22:Ball; _local4 = new Ball3(_arg1, 500, 100, -3, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 100, 50, -2, -6, false); addChild(_local5); _local6 = new Ball2(_arg1, 50, 450, -5, -8, false); addChild(_local6); _local7 = new Ball4(_arg1, 550, 400, -4, -2, false); addChild(_local7); _local8 = new Ball3(_arg1, 550, 50, 6, -4, false); addChild(_local8); _local9 = new Ball2(_arg1, 150, 100, 3, 3, false); addChild(_local9); _local10 = new Ball1(_arg1, 590, 400, 1, 1, false); addChild(_local10); _local11 = new Ball4(_arg1, 30, 400, 3, 3, false); addChild(_local11); _local12 = new Ball2(_arg1, 30, 40, 5, 3, false); addChild(_local12); _local13 = new Ball3(_arg1, 100, 100, 3, 6, false); addChild(_local13); _local14 = new Ball2(_arg1, 100, 400, 3, 6, false); addChild(_local14); _local15 = new Ball3(_arg1, 10, 10, 5, 6, false); addChild(_local15); _local16 = new BadBall(_arg1, 150, 380, 2, 3, false); addChild(_local16); _local17 = new SlowBall(570, 390, -5, -1); addChild(_local17); _local18 = new ScoreBall(500, 210, -0.2, 1.1); addChild(_local18); hero = new Hero(_arg1, 400, 400); addChild(hero); _local19 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball3(_arg1, 0, 50, -10, -4, true); hero.addChild(_local21); _local22 = new Ball4(_arg1, 0, -50, -10, -4, true); hero.addChild(_local22); super(_arg1, _arg2, _arg3); } } }//package
Section 85
//Level38 (Level38) package { import flash.display.*; import flash.events.*; public class Level38 extends Level { public var hero:Hero; public function Level38(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:PowerUp; var _local15:ChangeBall; var _local16:PowerUp; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:Ball; _local4 = new Ball1(_arg1, 350, 50, -5, -2, false); addChild(_local4); _local5 = new Ball2(_arg1, 380, 90, -2, -3.7, false); addChild(_local5); _local6 = new Ball4(_arg1, 510, 110, -3, -4, false); addChild(_local6); _local7 = new Ball4(_arg1, 350, 20, 2, -4, false); addChild(_local7); _local8 = new Ball2(_arg1, 150, 100, 5, -4, false); addChild(_local8); _local9 = new Ball3(_arg1, 550, 150, 2, -4, false); addChild(_local9); _local10 = new Ball1(_arg1, 50, 470, -5, -4, false); addChild(_local10); _local11 = new Ball2(_arg1, 200, 440, 5, -4, false); addChild(_local11); _local12 = new Ball3(_arg1, 300, 390, 1, 3, false); addChild(_local12); _local13 = new Ball3(_arg1, 30, 400, 4, 3, false); addChild(_local13); _local14 = new TimeBall(500, 550, 2, -1); addChild(_local14); _local15 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local15); _local15 = new ChangeBall(170, 200, 1.9, 2.1); addChild(_local15); _local15 = new ChangeBall(270, 470, -2.9, 1.1); addChild(_local15); _local16 = new ScoreBall(100, 310, 2, 1); addChild(_local16); hero = new Hero(_arg1, 400, 400); addChild(hero); _local17 = new Ball4(_arg1, 30, 0, -10, -4, true); hero.addChild(_local17); _local18 = new Ball1(_arg1, -30, 0, -10, -4, true); hero.addChild(_local18); _local19 = new Ball3(_arg1, 0, 30, 0, 0, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, 0, -30, 0, 0, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 86
//Level39 (Level39) package { import flash.display.*; import flash.events.*; public class Level39 extends Level { public var hero:Hero; public function Level39(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:SizeBall; var _local17:Ball; var _local18:Ball; var _local19:Ball; _local4 = new Ball1(_arg1, 400, 110, -3, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 120, 500, -2, -2, false); addChild(_local5); _local6 = new Ball1(_arg1, 500, 70, -1, -4, false); addChild(_local6); _local7 = new Ball3(_arg1, 550, 50, -2, -4, false); addChild(_local7); _local8 = new Ball2(_arg1, 150, 120, 3, -3, false); addChild(_local8); _local9 = new Ball2(_arg1, 550, 30, 1, -4, false); addChild(_local9); _local10 = new Ball2(_arg1, 50, 100, 1, -4, false); addChild(_local10); _local11 = new Ball2(_arg1, 30, 10, 3, -4, false); addChild(_local11); _local12 = new Ball3(_arg1, 300, 420, 1, 1, false); addChild(_local12); _local13 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local13); _local14 = new Ball3(_arg1, 30, 40, 6.3, 3, false); addChild(_local14); _local15 = new BadBall(_arg1, 390, 420, 2.2, 1.2, false); addChild(_local15); _local15 = new BadBall(_arg1, 550, 420, -1.2, 0.2, false); addChild(_local15); _local16 = new SizeBall(450, 470, 5, 6); addChild(_local16); hero = new Hero(_arg1, 400, 400); addChild(hero); _local17 = new Ball1(_arg1, 70, 0, -10, -4, true); hero.addChild(_local17); _local18 = new Ball2(_arg1, -70, 0, -10, -4, true); hero.addChild(_local18); _local19 = new Ball3(_arg1, 0, 70, 0, 0, true); hero.addChild(_local19); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 87
//Level3Bg (Level3Bg) package { import flash.display.*; public dynamic class Level3Bg extends MovieClip { } }//package
Section 88
//Level4 (Level4) package { import flash.display.*; import flash.events.*; public class Level4 extends Level { public var hero:Hero; public function Level4(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:InfoBall; _local4 = new InfoSlowBall(); addChild(_local4); _local4.addEventListener(Event.REMOVED_FROM_STAGE, startLevel); super(_arg1, _arg2, _arg3); } private function startLevel(_arg1:Event):void{ var _local2:Ball; var _local3:Ball; var _local4:Ball; var _local5:PowerUp; var _local6:Ball; var _local7:Ball; var _local8:Ball; _local2 = new Ball1(stageRef, 100, 300, -2, -4, false); addChild(_local2); _local3 = new Ball2(stageRef, 100, 150, 3, -4, false); addChild(_local3); _local4 = new Ball3(stageRef, 400, 300, 2, 2, false); addChild(_local4); _local5 = new SlowBall(500, 150, -2, -1); addChild(_local5); hero = new Hero(stageRef, 400, 400); addChild(hero); _local6 = new Ball1(stageRef, 50, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball2(stageRef, -50, 0, -10, -4, true); hero.addChild(_local7); _local8 = new Ball3(stageRef, 0, 50, 0, 0, true); hero.addChild(_local8); } } }//package
Section 89
//Level40 (Level40) package { import flash.display.*; import flash.events.*; public class Level40 extends Level { public var hero:Hero; public function Level40(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:PowerUp; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:Ball; _local4 = new Ball1(_arg1, 300, 100, -2, -2.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 500, -1, -1.4, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 100, 5, -6, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 100, 3, -4, false); addChild(_local7); _local8 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local8); _local9 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local9); _local10 = new Ball3(_arg1, 30, 590, 1, 2, false); addChild(_local10); _local11 = new Ball4(_arg1, 430, 100, 5, 3, false); addChild(_local11); _local12 = new Ball5(_arg1, 430, 400, -5, 8, false); addChild(_local12); _local13 = new Ball5(_arg1, 430, 400, -5, 2, false); addChild(_local13); _local14 = new BadBall(_arg1, 150, 420, -1.2, 2.2, false); addChild(_local14); _local14 = new BadBall(_arg1, 500, 220, -1.2, 2.2, false); addChild(_local14); _local15 = new ScoreBall(270, 130, 6.2, -2.1); addChild(_local15); hero = new Hero(_arg1, 400, 400); addChild(hero); _local16 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local16); _local17 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local17); _local18 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local18); _local19 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local19); _local20 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 90
//Level41 (Level41) package { import flash.display.*; import flash.events.*; public class Level41 extends Level { public var hero:Hero; public function Level41(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:PowerUp; var _local15:PowerUp; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:Ball; var _local21:Ball; _local4 = new Ball1(_arg1, 300, 120, -5, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 330, 440, -1, -4, false); addChild(_local5); _local6 = new Ball2(_arg1, 550, 100, 10, -8, false); addChild(_local6); _local7 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local7); _local8 = new Ball4(_arg1, 430, 100, 5, 3, false); addChild(_local8); _local9 = new Ball5(_arg1, 530, 450, -5, 8, false); addChild(_local9); _local10 = new Ball5(_arg1, 30, 80, -5, 2, false); addChild(_local10); _local11 = new Ball6(_arg1, 20, 400, -3, 5, false); addChild(_local11); _local12 = new BadBall(_arg1, 150, 380, 2, 3, false); addChild(_local12); _local13 = new BadBall(_arg1, 190, 80, -2, -1.3, false); addChild(_local13); _local14 = new SlowBall(570, 390, -5, -1); addChild(_local14); _local15 = new ScoreBall(550, 10, -1.2, 1.1); addChild(_local15); hero = new Hero(_arg1, 400, 400); addChild(hero); _local16 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local16); _local17 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local17); _local18 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local18); _local19 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local19); _local20 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local20); _local21 = new Ball6(_arg1, -60, -60, 0, 0, true); hero.addChild(_local21); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 91
//Level42 (Level42) package { import flash.display.*; import flash.events.*; public class Level42 extends Level { public var hero:Hero; public function Level42(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:PowerUp; var _local21:PowerUp; var _local22:Ball; var _local23:Ball; _local4 = new Ball2(_arg1, 100, 50, -1, -4, false); addChild(_local4); _local5 = new Ball3(_arg1, 550, 50, -3, 4, false); addChild(_local5); _local6 = new Ball3(_arg1, 50, 400, -2, 8, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 400, -3, -8, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 50, -6, -4, false); addChild(_local8); _local9 = new Ball3(_arg1, 550, 100, 16, -4, false); addChild(_local9); _local10 = new Ball2(_arg1, 150, 100, 3, 3, false); addChild(_local10); _local11 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local11); _local12 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local12); _local13 = new Ball2(_arg1, 30, 40, 5, 3, false); addChild(_local13); _local14 = new Ball2(_arg1, 100, 100, 3, 6, false); addChild(_local14); _local15 = new Ball2(_arg1, 100, 400, 3, 4, false); addChild(_local15); _local16 = new Ball3(_arg1, 500, 450, 9, 7, false); addChild(_local16); _local17 = new Ball3(_arg1, 10, 40, 13, 14, false); addChild(_local17); _local18 = new BadBall(_arg1, 250, 80, -2, -1.3, false); addChild(_local18); _local19 = new BadBall(_arg1, 90, 400, -2, 2.3, false); addChild(_local19); _local20 = new ScoreBall(300, 310, 2, 1); addChild(_local20); _local21 = new ScoreBall(70, 130, 1.2, -2.1); addChild(_local21); hero = new Hero(_arg1, 400, 400); addChild(hero); _local22 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local22); _local23 = new Ball3(_arg1, -50, 0, -10, -4, true); hero.addChild(_local23); super(_arg1, _arg2, _arg3); } } }//package
Section 92
//Level43 (Level43) package { import flash.display.*; import flash.events.*; public class Level43 extends Level { public var hero:Hero; public function Level43(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:PowerUp; var _local12:ChangeBall; var _local13:ChangeBall; var _local14:ChangeBall; var _local15:Ball; var _local16:Ball; var _local17:Ball; _local4 = new Ball1(_arg1, 200, 100, -7, 3, false); addChild(_local4); _local5 = new Ball2(_arg1, 150, 100, 1, -8, false); addChild(_local5); _local6 = new Ball3(_arg1, 30, 400, 8, 3, false); addChild(_local6); _local7 = new BadBall(_arg1, 490, 150, 3.2, -1.2, false); addChild(_local7); _local8 = new BadBall(_arg1, 550, 450, 2, 3, false); addChild(_local8); _local9 = new BadBall(_arg1, 90, 150, 1.2, -1.2, false); addChild(_local9); _local10 = new BadBall(_arg1, 50, 450, 0.82, -0.93, false); addChild(_local10); _local11 = new TimeBall(50, 550, 2, -1); addChild(_local11); _local12 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local12); _local13 = new ChangeBall(70, 450, 1.9, -2.1); addChild(_local13); _local14 = new ChangeBall(470, 100, 3.9, 1.1); addChild(_local14); hero = new Hero(_arg1, 400, 400); addChild(hero); _local15 = new Ball1(_arg1, 70, 0, -10, -4, true); hero.addChild(_local15); _local16 = new Ball2(_arg1, -70, 0, -10, -4, true); hero.addChild(_local16); _local17 = new Ball3(_arg1, 0, 70, 0, 0, true); hero.addChild(_local17); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 93
//Level44 (Level44) package { import flash.display.*; import flash.events.*; public class Level44 extends Level { public var hero:Hero; public function Level44(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:SizeBall; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:Ball; _local4 = new Ball5(_arg1, 100, 100, -2.5, -2, false); addChild(_local4); _local5 = new Ball5(_arg1, 500, 500, -2, -3.5, false); addChild(_local5); _local6 = new Ball5(_arg1, 300, 50, 2.5, -4, false); addChild(_local6); _local7 = new Ball4(_arg1, 150, 100, 3, -3.8, false); addChild(_local7); _local8 = new Ball4(_arg1, 550, 100, 2, -2.6, false); addChild(_local8); _local9 = new Ball2(_arg1, 50, 100, 3, -2.4, false); addChild(_local9); _local10 = new Ball2(_arg1, 250, 200, 3.6, -4, false); addChild(_local10); _local11 = new Ball3(_arg1, 300, 400, 6, 3.6, false); addChild(_local11); _local12 = new Ball3(_arg1, 30, 400, 3, 2.8, false); addChild(_local12); _local13 = new Ball3(_arg1, 30, 40, 3.8, 3, false); addChild(_local13); _local14 = new Ball3(_arg1, 30, 40, 4.9, -7, false); addChild(_local14); _local15 = new SizeBall(450, 470, 1.5, 2.6); addChild(_local15); _local16 = new BadBall(_arg1, 70, 420, -1.82, 1.93, false); addChild(_local16); hero = new Hero(_arg1, 400, 400); addChild(hero); _local17 = new Ball4(_arg1, 30, 0, -10, -4, true); hero.addChild(_local17); _local18 = new Ball5(_arg1, -30, 0, -10, -4, true); hero.addChild(_local18); _local19 = new Ball3(_arg1, 0, 30, 0, 0, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, 0, -30, 0, 0, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 94
//Level45 (Level45) package { import flash.display.*; import flash.events.*; public class Level45 extends Level { public var hero:Hero; public function Level45(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:PowerUp; var _local18:PowerUp; var _local19:Ball; var _local20:Ball; var _local21:Ball; var _local22:Ball; var _local23:Ball; _local4 = new Ball5(_arg1, 400, 10, -2, -1.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 100, 550, -1, -0.2, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 10, 1.2, -2, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 20, 2, -1.3, false); addChild(_local7); _local8 = new Ball4(_arg1, 520, 580, 3, -2.6, false); addChild(_local8); _local9 = new Ball3(_arg1, 500, 450, 1, 1, false); addChild(_local9); _local10 = new Ball3(_arg1, 30, 450, 3, 1.3, false); addChild(_local10); _local11 = new Ball4(_arg1, 430, 50, 1.5, 3, false); addChild(_local11); _local12 = new Ball5(_arg1, 430, 480, -5, 2.8, false); addChild(_local12); _local13 = new Ball1(_arg1, 430, 430, -1, 1, false); addChild(_local13); _local14 = new Ball5(_arg1, 30, 580, -3.12, 8, false); addChild(_local14); _local15 = new Ball5(_arg1, 530, 80, -7, 2.8, false); addChild(_local15); _local16 = new BadBall(_arg1, 150, 420, -1.2, 2.2, false); addChild(_local16); _local16 = new BadBall(_arg1, 150, 380, 2, 3, false); addChild(_local16); _local17 = new SlowBall(570, 390, -5, -1); addChild(_local17); _local18 = new TimeBall(500, 550, 2, -1); addChild(_local18); hero = new Hero(_arg1, 400, 400); addChild(hero); _local19 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local21); _local22 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local22); _local23 = new Ball5(_arg1, 100, 100, 0, 0, true); hero.addChild(_local23); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 95
//Level46 (Level46) package { import flash.display.*; import flash.events.*; public class Level46 extends Level { public var hero:Hero; public function Level46(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:PowerUp; var _local17:PowerUp; var _local18:ChangeBall; var _local19:Ball; var _local20:Ball; var _local21:Ball; var _local22:Ball; var _local23:Ball; var _local24:Ball; _local4 = new Ball1(_arg1, 300, 120, -7, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 550, -1, -6, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 80, 5, -6, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 40, 10, -8, false); addChild(_local7); _local8 = new Ball3(_arg1, 300, 450, 1, 1, false); addChild(_local8); _local9 = new Ball3(_arg1, 30, 420, 5, 3, false); addChild(_local9); _local10 = new Ball4(_arg1, 430, 100, 5, 1, false); addChild(_local10); _local11 = new Ball5(_arg1, 430, 470, -1.5, 2, false); addChild(_local11); _local12 = new Ball5(_arg1, 430, 390, -5, 3, false); addChild(_local12); _local13 = new Ball6(_arg1, 20, 400, -3, 5, false); addChild(_local13); _local14 = new BadBall(_arg1, 150, 380, 2, 3, false); addChild(_local14); _local15 = new BadBall(_arg1, 190, 80, -2, -1.3, false); addChild(_local15); _local16 = new SlowBall(570, 390, -5, -1); addChild(_local16); _local17 = new TimeBall(500, 550, 2, -1); addChild(_local17); _local18 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local18); hero = new Hero(_arg1, 400, 400); addChild(hero); _local19 = new Ball1(_arg1, 40, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, -40, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball3(_arg1, 0, 40, 0, 0, true); hero.addChild(_local21); _local22 = new Ball4(_arg1, 0, -40, 0, 0, true); hero.addChild(_local22); _local23 = new Ball5(_arg1, 50, 50, 0, 0, true); hero.addChild(_local23); _local24 = new Ball6(_arg1, -50, -50, 0, 0, true); hero.addChild(_local24); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 96
//Level47 (Level47) package { import flash.display.*; import flash.events.*; public class Level47 extends Level { public var hero:Hero; public function Level47(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:PowerUp; var _local15:Ball; var _local16:Ball; _local4 = new Ball2(_arg1, 100, 100, -2, -2, false); addChild(_local4); _local5 = new Ball2(_arg1, 500, 50, 1.8, -4, false); addChild(_local5); _local6 = new Ball3(_arg1, 50, 400, 10, -8, false); addChild(_local6); _local7 = new Ball3(_arg1, 550, 400, -7, -8, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 50, 9, -4, false); addChild(_local8); _local9 = new Ball2(_arg1, 150, 100, 5, 3, false); addChild(_local9); _local10 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local10); _local11 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local11); _local12 = new Ball2(_arg1, 30, 40, 5, 3, false); addChild(_local12); _local13 = new Ball3(_arg1, 100, 100, 3, 12, false); addChild(_local13); _local14 = new ScoreBall(200, 110, -0.2, 5.1); addChild(_local14); hero = new Hero(_arg1, 400, 400); addChild(hero); _local15 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local15); _local16 = new Ball3(_arg1, -50, 0, -10, -4, true); hero.addChild(_local16); _local15 = new Ball2(_arg1, 0, -100, -10, -4, true); hero.addChild(_local15); _local16 = new Ball3(_arg1, 0, 100, -10, -4, true); hero.addChild(_local16); super(_arg1, _arg2, _arg3); } } }//package
Section 97
//Level48 (Level48) package { import flash.display.*; import flash.events.*; public class Level48 extends Level { public var hero:Hero; public function Level48(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:PowerUp; var _local19:ChangeBall; var _local20:ChangeBall; var _local21:ChangeBall; var _local22:PowerUp; var _local23:Ball; var _local24:Ball; var _local25:Ball; _local4 = new Ball4(_arg1, 300, 100, -7, -5, false); addChild(_local4); _local5 = new Ball4(_arg1, 300, 500, -2, -4, false); addChild(_local5); _local6 = new Ball1(_arg1, 350, 550, -4, -3, false); addChild(_local6); _local7 = new Ball4(_arg1, 300, 500, -2, -4, false); addChild(_local5); _local8 = new Ball4(_arg1, 300, 50, -8, -6, false); addChild(_local8); _local9 = new Ball1(_arg1, 150, 100, 5, -4, false); addChild(_local9); _local10 = new Ball1(_arg1, 550, 100, 5, -8, false); addChild(_local10); _local11 = new Ball1(_arg1, 50, 100, 10, -4, false); addChild(_local11); _local12 = new Ball1(_arg1, 50, 100, 9, -4, false); addChild(_local12); _local13 = new Ball3(_arg1, 300, 400, 15, 1, false); addChild(_local13); _local14 = new Ball3(_arg1, 30, 400, 9, 7, false); addChild(_local14); _local15 = new Ball3(_arg1, 30, 40, 8, 3, false); addChild(_local15); _local16 = new Ball3(_arg1, 30, 40, 8, -7, false); addChild(_local16); _local17 = new BadBall(_arg1, 390, 420, 2.2, 1.2, false); addChild(_local17); _local17 = new BadBall(_arg1, 550, 420, -1.2, 0.2, false); addChild(_local17); _local17 = new BadBall(_arg1, 150, 470, -0.2, 0.8, false); addChild(_local17); _local18 = new SlowBall(570, 390, -5, -1); addChild(_local18); _local19 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local19); _local20 = new ChangeBall(70, 450, 1.9, -2.1); addChild(_local20); _local21 = new ChangeBall(470, 100, 3.9, 1.1); addChild(_local21); _local22 = new ScoreBall(70, 130, 1.2, -2.1); addChild(_local22); hero = new Hero(_arg1, 400, 400); addChild(hero); _local23 = new Ball4(_arg1, 50, 0, -10, -4, true); hero.addChild(_local23); _local24 = new Ball1(_arg1, -50, 0, -10, -4, true); hero.addChild(_local24); _local25 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local25); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 98
//Level49 (Level49) package { import flash.display.*; import flash.events.*; public class Level49 extends Level { public var hero:Hero; public function Level49(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:ChangeBall; var _local19:ChangeBall; var _local20:Ball; var _local21:PowerUp; var _local22:PowerUp; var _local23:PowerUp; var _local24:Ball; var _local25:Ball; var _local26:Ball; _local4 = new Ball2(_arg1, 500, 100, -3, -6, false); addChild(_local4); _local5 = new Ball6(_arg1, 100, 50, -4, -6, false); addChild(_local5); _local6 = new Ball4(_arg1, 50, 450, -5, -8, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 400, -4, -2, false); addChild(_local7); _local8 = new Ball6(_arg1, 550, 50, 6, -4, false); addChild(_local8); _local9 = new Ball4(_arg1, 150, 100, 3, 3, false); addChild(_local9); _local10 = new Ball2(_arg1, 590, 400, 1, 1, false); addChild(_local10); _local11 = new Ball6(_arg1, 30, 400, 3, 3, false); addChild(_local11); _local12 = new Ball4(_arg1, 30, 40, 5, 3, false); addChild(_local12); _local13 = new Ball2(_arg1, 100, 100, 3, 6, false); addChild(_local13); _local14 = new Ball4(_arg1, 100, 400, 3, 6, false); addChild(_local14); _local15 = new Ball6(_arg1, 10, 10, 5, 6, false); addChild(_local15); _local16 = new Ball6(_arg1, 200, 10, 3, 2, false); addChild(_local16); _local17 = new Ball6(_arg1, 10, 480, 4, 6, false); addChild(_local17); _local18 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local18); _local19 = new ChangeBall(470, 40, 1.9, -2.1); addChild(_local19); _local20 = new BadBall(_arg1, 390, 420, 2.2, 1.2, false); addChild(_local20); _local20 = new BadBall(_arg1, 550, 420, -1.2, 3.2, false); addChild(_local20); _local20 = new BadBall(_arg1, 150, 470, -0.2, 4.8, false); addChild(_local20); _local21 = new SlowBall(70, 30, -5, -1); addChild(_local21); _local22 = new TimeBall(50, 50, 2, -1); addChild(_local22); _local23 = new ScoreBall(400, 310, 2, 1); addChild(_local23); hero = new Hero(_arg1, 400, 400); addChild(hero); _local24 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local24); _local25 = new Ball4(_arg1, -50, 0, -10, -4, true); hero.addChild(_local25); _local26 = new Ball6(_arg1, 0, 50, -10, -4, true); hero.addChild(_local26); super(_arg1, _arg2, _arg3); } } }//package
Section 99
//Level4Bg (Level4Bg) package { import flash.display.*; public dynamic class Level4Bg extends MovieClip { } }//package
Section 100
//Level5 (Level5) package { import flash.display.*; import flash.events.*; public class Level5 extends Level { public var hero:Hero; public function Level5(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:InfoBall; _local4 = new InfoScoreBall(); addChild(_local4); _local4.addEventListener(Event.REMOVED_FROM_STAGE, startLevel); super(_arg1, _arg2, _arg3); } private function startLevel(_arg1:Event):void{ var _local2:Ball; var _local3:PowerUp; var _local4:Ball; var _local5:Ball; var _local6:PowerUp; var _local7:PowerUp; var _local8:PowerUp; var _local9:Ball; var _local10:Ball; _local2 = new Ball5(stageRef, 100, 350, -3, -4, false); addChild(_local2); _local3 = new ScoreBall(200, 370, -2, 3); addChild(_local3); _local4 = new Ball2(stageRef, 450, 400, -1, 3, false); addChild(_local4); _local5 = new Ball2(stageRef, 100, 400, 1, 1, false); addChild(_local5); _local6 = new ScoreBall(100, 310, 2, 1); addChild(_local6); _local7 = new ScoreBall(500, 210, -0.2, 1.1); addChild(_local7); _local8 = new ScoreBall(70, 130, 1.2, -2.1); addChild(_local8); hero = new Hero(stageRef, 400, 400); addChild(hero); _local9 = new Ball5(stageRef, 70, 0, -10, -4, true); hero.addChild(_local9); _local10 = new Ball2(stageRef, -70, 0, -10, -4, true); hero.addChild(_local10); } } }//package
Section 101
//Level50 (Level50) package { import flash.display.*; import flash.events.*; public class Level50 extends Level { public var hero:Hero; public function Level50(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; _local4 = new Ball1(_arg1, 300, 100, -10, -4, false); addChild(_local4); _local5 = new Ball2(_arg1, 500, 100, -2, -6, false); addChild(_local5); _local6 = new Ball3(_arg1, 300, 100, 5, 3, false); addChild(_local6); _local7 = new Ball4(_arg1, 300, 100, -2, -14, false); addChild(_local7); _local8 = new Ball5(_arg1, 500, 100, -6, -4, false); addChild(_local8); _local9 = new Ball6(_arg1, 350, 100, 2, -4, false); addChild(_local9); _local10 = new BadBall(_arg1, 550, 420, -1.2, 3.2, false); addChild(_local10); hero = new Hero(_arg1, 400, 400); addChild(hero); _local11 = new Ball4(_arg1, 30, 0, -10, -4, true); hero.addChild(_local11); _local12 = new Ball1(_arg1, -30, 0, -10, -4, true); hero.addChild(_local12); _local13 = new Ball3(_arg1, 0, 30, 0, 0, true); hero.addChild(_local13); _local14 = new Ball2(_arg1, 0, -30, 0, 0, true); hero.addChild(_local14); _local15 = new Ball5(_arg1, 0, 70, 0, 0, true); hero.addChild(_local15); _local16 = new Ball6(_arg1, 0, -70, 0, 0, true); hero.addChild(_local16); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 102
//Level51 (Level51) package { import flash.display.*; import flash.events.*; public class Level51 extends Level { public var hero:Hero; public function Level51(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:SizeBall; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:ChangeBall; var _local15:ChangeBall; var _local16:ChangeBall; var _local17:ChangeBall; var _local18:PowerUp; var _local19:PowerUp; var _local20:Ball; var _local21:Ball; var _local22:Ball; var _local23:Ball; var _local24:Ball; var _local25:Ball; _local4 = new Ball6(_arg1, 450, 120, -5, -4, false); addChild(_local4); _local5 = new Ball6(_arg1, 40, 220, 3, -4, false); addChild(_local5); _local6 = new Ball4(_arg1, 520, 100, -3, 5, false); addChild(_local6); _local7 = new Ball5(_arg1, 120, 550, -2, -2, false); addChild(_local7); _local8 = new Ball6(_arg1, 550, 50, -1, -4, false); addChild(_local8); _local9 = new Ball4(_arg1, 550, 50, -6, -4, false); addChild(_local9); _local10 = new SizeBall(450, 420, 0.5, 1.6); addChild(_local10); _local11 = new BadBall(_arg1, 70, 420, -1.82, 1.93, false); addChild(_local11); _local12 = new BadBall(_arg1, 150, 380, 2, 3, false); addChild(_local12); _local13 = new BadBall(_arg1, 190, 80, -2, -1.3, false); addChild(_local13); _local14 = new ChangeBall(170, 440, 1.9, -2.1); addChild(_local14); _local15 = new ChangeBall(570, 200, 3.9, -5.1); addChild(_local15); _local16 = new ChangeBall(70, 40, 5.9, -15.1); addChild(_local16); _local17 = new ChangeBall(70, 120, 7.9, -9.1); addChild(_local17); _local18 = new ScoreBall(500, 210, -0.2, 1.1); addChild(_local18); _local19 = new ScoreBall(70, 130, 1.2, -2.1); addChild(_local19); hero = new Hero(_arg1, 400, 400); addChild(hero); _local20 = new Ball4(_arg1, 30, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball5(_arg1, -30, 0, -10, -4, true); hero.addChild(_local21); _local22 = new Ball6(_arg1, 0, 30, 0, 0, true); hero.addChild(_local22); _local23 = new Ball6(_arg1, 80, 0, -10, -4, true); hero.addChild(_local23); _local24 = new Ball4(_arg1, -80, 0, -10, -4, true); hero.addChild(_local24); _local25 = new Ball5(_arg1, 0, -80, 0, 0, true); hero.addChild(_local25); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 103
//Level52 (Level52) package { import flash.display.*; import flash.events.*; public class Level52 extends Level { public var hero:Hero; public function Level52(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:PowerUp; var _local15:ScoreBall; var _local16:PowerUp; var _local17:Ball; var _local18:PowerUp; var _local19:Ball; var _local20:Ball; var _local21:Ball; var _local22:Ball; var _local23:Ball; var _local24:Ball; _local4 = new Ball1(_arg1, 300, 100, -2.5, -1.4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 500, -1, -4, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 100, 18, -8, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 100, 3.1, -3.8, false); addChild(_local7); _local8 = new Ball3(_arg1, 300, 400, 1, 1, false); addChild(_local8); _local9 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local9); _local10 = new Ball4(_arg1, 430, 100, 5, 3, false); addChild(_local10); _local11 = new Ball5(_arg1, 430, 400, 4.5, 8, false); addChild(_local11); _local12 = new Ball5(_arg1, 430, 400, -5, 8, false); addChild(_local12); _local13 = new Ball6(_arg1, 20, 400, -3, 5, false); addChild(_local13); _local14 = new SlowBall(520, 350, -5, -1); addChild(_local14); _local15 = new ScoreBall(400, 200, -1, -2); addChild(_local15); _local16 = new TimeBall(500, 550, 2, -1); addChild(_local16); _local17 = new BadBall(_arg1, 40, 150, 1.2, -1.2, false); addChild(_local17); _local17 = new BadBall(_arg1, 350, 450, -2, 1.3, false); addChild(_local17); _local17 = new BadBall(_arg1, 550, 450, -3.2, 1.2, false); addChild(_local17); _local17 = new BadBall(_arg1, 90, 49, 2.5, -3, false); addChild(_local17); _local17 = new BadBall(_arg1, 300, 200, 3.2, -1.2, false); addChild(_local17); _local17 = new BadBall(_arg1, 50, 450, 2, 3, false); addChild(_local17); _local18 = new ScoreBall(50, 210, -0.2, 1.1); addChild(_local18); hero = new Hero(_arg1, 400, 400); addChild(hero); _local19 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local21); _local22 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local22); _local23 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local23); _local24 = new Ball6(_arg1, -60, -60, 0, 0, true); hero.addChild(_local24); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 104
//Level53 (Level53) package { import flash.display.*; import flash.events.*; public class Level53 extends Level { public var hero:Hero; public function Level53(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:PowerUp; var _local19:Ball; var _local20:Ball; _local4 = new Ball1(_arg1, 300, 100, -7, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 500, -3, -5, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 100, 12, -9, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 100, 15, -8, false); addChild(_local7); _local8 = new Ball1(_arg1, 300, 400, 12, 7, false); addChild(_local8); _local9 = new Ball1(_arg1, 30, 400, 13, 5, false); addChild(_local9); _local10 = new Ball2(_arg1, 430, 100, 5, 13, false); addChild(_local10); _local11 = new Ball2(_arg1, 530, 450, -5, 4, false); addChild(_local11); _local12 = new Ball2(_arg1, 30, 80, -5, 2, false); addChild(_local12); _local13 = new Ball1(_arg1, 20, 400, -5, 5, false); addChild(_local13); _local14 = new Ball2(_arg1, 120, 370, 3, 1, false); addChild(_local14); _local15 = new Ball1(_arg1, 220, 430, 2, 4, false); addChild(_local15); _local16 = new Ball2(_arg1, 520, 460, -3, 6, false); addChild(_local16); _local17 = new BadBall(_arg1, 390, 420, 2.2, 1.2, false); addChild(_local17); _local17 = new BadBall(_arg1, 550, 420, -1.2, 3.2, false); addChild(_local17); _local17 = new BadBall(_arg1, 150, 470, -0.2, 4.8, false); addChild(_local17); _local18 = new TimeBall(50, 50, 2, -1); addChild(_local18); hero = new Hero(_arg1, 400, 400); addChild(hero); _local19 = new Ball1(_arg1, 35, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, -35, 0, -10, -4, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 105
//Level54 (Level54) package { import flash.display.*; import flash.events.*; public class Level54 extends Level { public var hero:Hero; public function Level54(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:ChangeBall; var _local21:ChangeBall; var _local22:ChangeBall; var _local23:ChangeBall; var _local24:PowerUp; var _local25:Ball; var _local26:Ball; var _local27:Ball; _local4 = new Ball4(_arg1, 100, 50, -1, -4, false); addChild(_local4); _local5 = new Ball5(_arg1, 550, 50, -3, 4, false); addChild(_local5); _local6 = new Ball4(_arg1, 50, 400, -2, 1.8, false); addChild(_local6); _local7 = new Ball5(_arg1, 550, 400, -3, -8, false); addChild(_local7); _local8 = new Ball4(_arg1, 550, 50, -6, -4, false); addChild(_local8); _local9 = new Ball4(_arg1, 550, 100, 1.6, -4, false); addChild(_local9); _local10 = new Ball5(_arg1, 150, 100, 3, 3, false); addChild(_local10); _local11 = new Ball4(_arg1, 300, 400, 1, 1, false); addChild(_local11); _local12 = new Ball4(_arg1, 30, 400, 3, 3, false); addChild(_local12); _local13 = new Ball5(_arg1, 30, 40, 5, 3, false); addChild(_local13); _local14 = new Ball4(_arg1, 100, 100, 3, 6, false); addChild(_local14); _local15 = new Ball5(_arg1, 100, 400, 3, 4, false); addChild(_local15); _local16 = new Ball4(_arg1, 500, 450, 0.9, 7, false); addChild(_local16); _local17 = new Ball5(_arg1, 10, 40, 1.3, 1.4, false); addChild(_local17); _local18 = new Ball6(_arg1, 140, 40, 3, 4, false); addChild(_local18); _local19 = new BadBall(_arg1, 190, 80, -2, -1.3, false); addChild(_local19); _local20 = new ChangeBall(120, 460, 1.9, -2.1); addChild(_local20); _local21 = new ChangeBall(530, 210, 3.9, -5.1); addChild(_local21); _local22 = new ChangeBall(40, 40, 5.9, -15.1); addChild(_local22); _local23 = new ChangeBall(110, 120, 7.9, -9.1); addChild(_local23); _local24 = new ScoreBall(70, 130, 1.2, -2.1); addChild(_local24); hero = new Hero(_arg1, 400, 400); addChild(hero); _local25 = new Ball4(_arg1, 50, 0, -10, -4, true); hero.addChild(_local25); _local26 = new Ball5(_arg1, -50, 0, -10, -4, true); hero.addChild(_local26); _local27 = new Ball6(_arg1, 0, 35, -10, -4, true); hero.addChild(_local27); super(_arg1, _arg2, _arg3); } } }//package
Section 106
//Level55 (Level55) package { import flash.display.*; import flash.events.*; public class Level55 extends Level { public var hero:Hero; public function Level55(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:PowerUp; var _local17:ChangeBall; var _local18:Ball; var _local19:PowerUp; var _local20:Ball; var _local21:Ball; var _local22:Ball; _local4 = new Ball1(_arg1, 200, 120, -7, 3, false); addChild(_local4); _local5 = new Ball1(_arg1, 100, 80, -6, 3, false); addChild(_local5); _local6 = new Ball1(_arg1, 520, 460, -5, -2, false); addChild(_local6); _local7 = new Ball2(_arg1, 150, 30, 1, -8, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 40, 4, -8, false); addChild(_local8); _local9 = new Ball2(_arg1, 50, 160, 3, -2, false); addChild(_local9); _local10 = new Ball2(_arg1, 200, 110, 3, -6, false); addChild(_local10); _local11 = new Ball2(_arg1, 220, 100, 3, 5, false); addChild(_local11); _local12 = new Ball3(_arg1, 300, 390, 1, 9, false); addChild(_local12); _local13 = new Ball3(_arg1, 30, 440, 8, 3, false); addChild(_local13); _local14 = new Ball3(_arg1, 30, 460, 8, 7, false); addChild(_local14); _local15 = new Ball3(_arg1, 530, 400, 2, 2, false); addChild(_local15); _local16 = new TimeBall(50, 50, 2, -1); addChild(_local16); _local17 = new ChangeBall(120, 460, 1.9, -2.1); addChild(_local17); _local18 = new BadBall(_arg1, 90, 49, 2.5, -3, false); addChild(_local18); _local19 = new ScoreBall(450, 310, 2, 1); addChild(_local19); hero = new Hero(_arg1, 400, 400); addChild(hero); _local20 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local21); _local22 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local22); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 107
//Level56 (Level56) package { import flash.display.*; import flash.events.*; public class Level56 extends Level { public var hero:Hero; public function Level56(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:PowerUp; var _local14:ChangeBall; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:Ball; _local4 = new Ball1(_arg1, 300, 120, -7, -4, false); addChild(_local4); _local5 = new Ball2(_arg1, 150, 80, 5, -6, false); addChild(_local5); _local6 = new Ball2(_arg1, 550, 40, 10, -8, false); addChild(_local6); _local7 = new Ball3(_arg1, 300, 450, 1, 1, false); addChild(_local7); _local8 = new Ball4(_arg1, 430, 100, 5, 1, false); addChild(_local8); _local9 = new Ball5(_arg1, 430, 470, -1.5, 2, false); addChild(_local9); _local10 = new Ball6(_arg1, 20, 400, -3, 5, false); addChild(_local10); _local11 = new BadBall(_arg1, 150, 380, 2, 3, false); addChild(_local11); _local12 = new BadBall(_arg1, 190, 80, -2, -1.3, false); addChild(_local12); _local13 = new TimeBall(500, 550, 2, -1); addChild(_local13); _local14 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local14); hero = new Hero(_arg1, 400, 400); addChild(hero); _local15 = new Ball1(_arg1, 40, 0, -10, -4, true); hero.addChild(_local15); _local16 = new Ball2(_arg1, -40, 0, -10, -4, true); hero.addChild(_local16); _local17 = new Ball3(_arg1, 0, 40, 0, 0, true); hero.addChild(_local17); _local18 = new Ball4(_arg1, 0, -40, 0, 0, true); hero.addChild(_local18); _local19 = new Ball5(_arg1, 50, 50, 0, 0, true); hero.addChild(_local19); _local20 = new Ball6(_arg1, -50, -50, 0, 0, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 108
//Level57 (Level57) package { import flash.display.*; import flash.events.*; public class Level57 extends Level { public var hero:Hero; public function Level57(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:PowerUp; var _local20:PowerUp; var _local21:PowerUp; var _local22:Ball; var _local23:Ball; var _local24:Ball; var _local25:Ball; var _local26:Ball; _local4 = new Ball1(_arg1, 300, 100, -15, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 300, 500, -1, -4, false); addChild(_local5); _local6 = new Ball2(_arg1, 150, 100, 9, -4, false); addChild(_local6); _local7 = new Ball2(_arg1, 550, 100, 15, -4, false); addChild(_local7); _local8 = new Ball3(_arg1, 300, 400, 11, 1, false); addChild(_local8); _local9 = new Ball3(_arg1, 30, 400, 13, 3, false); addChild(_local9); _local10 = new Ball4(_arg1, 430, 100, 5, 13, false); addChild(_local10); _local11 = new Ball5(_arg1, 430, 400, -5, 12, false); addChild(_local11); _local12 = new BadBall(_arg1, 400, 150, 9.2, -1.2, false); addChild(_local12); _local13 = new BadBall(_arg1, 50, 450, 2, 9, false); addChild(_local13); _local14 = new BadBall(_arg1, 450, 120, 6.2, -3.2, false); addChild(_local14); _local15 = new BadBall(_arg1, 30, 450, 15, 3, false); addChild(_local15); _local16 = new BadBall(_arg1, 420, 70, 2.2, -1.2, false); addChild(_local16); _local17 = new BadBall(_arg1, 60, 390, 5, 3, false); addChild(_local17); _local18 = new BadBall(_arg1, 80, 490, 5, 13, false); addChild(_local18); _local19 = new SlowBall(520, 250, -2, -1); addChild(_local19); _local20 = new TimeBall(500, 550, 2, -1); addChild(_local20); _local21 = new ScoreBall(470, 230, 1.2, -2.1); addChild(_local21); hero = new Hero(_arg1, 400, 400); addChild(hero); _local22 = new Ball1(_arg1, 50, 0, -10, -4, true); hero.addChild(_local22); _local23 = new Ball2(_arg1, -50, 0, -10, -4, true); hero.addChild(_local23); _local24 = new Ball3(_arg1, 0, 50, 0, 0, true); hero.addChild(_local24); _local25 = new Ball4(_arg1, 0, -50, 0, 0, true); hero.addChild(_local25); _local26 = new Ball5(_arg1, 60, 60, 0, 0, true); hero.addChild(_local26); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 109
//Level58 (Level58) package { import flash.display.*; import flash.events.*; public class Level58 extends Level { public var hero:Hero; public function Level58(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:SizeBall; var _local17:ChangeBall; var _local18:ChangeBall; var _local19:ChangeBall; var _local20:Ball; var _local21:Ball; var _local22:Ball; var _local23:Ball; _local4 = new Ball5(_arg1, 300, 550, 2, -1.4, false); addChild(_local4); _local5 = new Ball6(_arg1, 300, 10, -1, 1.4, false); addChild(_local5); _local6 = new Ball5(_arg1, 150, 130, 1.8, -0.8, false); addChild(_local6); _local7 = new Ball6(_arg1, 550, 50, 1, -0.8, false); addChild(_local7); _local8 = new Ball5(_arg1, 60, 420, 3, 2.3, false); addChild(_local8); _local9 = new Ball6(_arg1, 430, 100, 1.5, 3, false); addChild(_local9); _local10 = new Ball5(_arg1, 430, 360, -3.5, 2.8, false); addChild(_local10); _local11 = new Ball6(_arg1, 20, 448, -4.3, 2.5, false); addChild(_local11); _local12 = new BadBall(_arg1, 190, 420, -1.2, 1.2, false); addChild(_local12); _local13 = new BadBall(_arg1, 190, 420, 3.2, -2.2, false); addChild(_local13); _local14 = new BadBall(_arg1, 190, 420, -1.2, 1.2, false); addChild(_local14); _local15 = new BadBall(_arg1, 590, 420, 1.2, -1.2, false); addChild(_local15); _local16 = new SizeBall(450, 470, 5, 6); addChild(_local16); _local17 = new ChangeBall(370, 400, 3.9, -5.1); addChild(_local17); _local18 = new ChangeBall(270, 300, 7.9, -3.1); addChild(_local18); _local19 = new ChangeBall(290, 350, -1.9, 9.1); addChild(_local19); hero = new Hero(_arg1, 400, 400); addChild(hero); _local20 = new Ball5(_arg1, 120, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball6(_arg1, -120, 0, -10, -4, true); hero.addChild(_local21); _local22 = new Ball5(_arg1, 0, 30, -10, -4, true); hero.addChild(_local22); _local23 = new Ball6(_arg1, 0, -30, -10, -4, true); hero.addChild(_local23); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 110
//Level59 (Level59) package { import flash.display.*; import flash.events.*; public class Level59 extends Level { public var hero:Hero; public function Level59(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:Ball; _local4 = new Ball2(_arg1, 100, 100, -12, -2, false); addChild(_local4); _local5 = new Ball2(_arg1, 500, 50, 8, -4, false); addChild(_local5); _local6 = new Ball3(_arg1, 50, 400, 10, -8, false); addChild(_local6); _local7 = new Ball3(_arg1, 550, 400, -7, -8, false); addChild(_local7); _local8 = new Ball2(_arg1, 550, 50, 9, -4, false); addChild(_local8); _local9 = new Ball2(_arg1, 150, 100, 5, 3, false); addChild(_local9); _local10 = new Ball3(_arg1, 300, 400, 4, 4, false); addChild(_local10); _local11 = new Ball3(_arg1, 30, 400, 3, 3, false); addChild(_local11); _local12 = new Ball2(_arg1, 30, 40, 5, 13, false); addChild(_local12); _local13 = new Ball3(_arg1, 100, 100, 3, 12, false); addChild(_local13); _local14 = new Ball2(_arg1, 100, 400, 3, 11, false); addChild(_local14); _local15 = new Ball3(_arg1, 500, 550, 2, 5, false); addChild(_local15); _local16 = new Ball3(_arg1, 100, 550, 12, 5, false); addChild(_local16); _local17 = new Ball3(_arg1, 500, 550, 2, 15, false); addChild(_local17); _local18 = new Ball3(_arg1, 50, 550, 12, -4, false); addChild(_local18); hero = new Hero(_arg1, 400, 400); addChild(hero); _local19 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball3(_arg1, -50, 0, -10, -4, true); hero.addChild(_local20); super(_arg1, _arg2, _arg3); } } }//package
Section 111
//Level5Bg (Level5Bg) package { import flash.display.*; public dynamic class Level5Bg extends MovieClip { } }//package
Section 112
//Level6 (Level6) package { import flash.display.*; import flash.events.*; public class Level6 extends Level { public var hero:Hero; public function Level6(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:InfoBall; _local4 = new InfoTimeBall(); addChild(_local4); _local4.addEventListener(Event.REMOVED_FROM_STAGE, startLevel); super(_arg1, _arg2, _arg3); } private function startLevel(_arg1:Event):void{ var _local2:Ball; var _local3:Ball; var _local4:Ball; var _local5:Ball; var _local6:PowerUp; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; _local2 = new Ball1(stageRef, 300, 100, -1, -1.5, false); addChild(_local2); _local3 = new Ball2(stageRef, 150, 100, 0.5, -2, false); addChild(_local3); _local4 = new Ball2(stageRef, 50, 10, 2.5, -1, false); addChild(_local4); _local5 = new Ball3(stageRef, 300, 400, 1, 1, false); addChild(_local5); _local6 = new TimeBall(500, 50, 2, -1); addChild(_local6); _local7 = new Ball4(stageRef, 30, 40, 0.2, 0.8, false); addChild(_local7); hero = new Hero(stageRef, 400, 400); addChild(hero); _local8 = new Ball1(stageRef, 50, 0, -10, -4, true); hero.addChild(_local8); _local9 = new Ball2(stageRef, -50, 0, -10, -4, true); hero.addChild(_local9); _local10 = new Ball3(stageRef, 0, 50, 0, 0, true); hero.addChild(_local10); _local11 = new Ball4(stageRef, 0, -50, 0, 0, true); hero.addChild(_local11); } } }//package
Section 113
//Level60 (Level60) package { import flash.display.*; import flash.events.*; public class Level60 extends Level { public var hero:Hero; public function Level60(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; var _local11:Ball; var _local12:Ball; var _local13:Ball; var _local14:Ball; var _local15:Ball; var _local16:Ball; var _local17:Ball; var _local18:Ball; var _local19:Ball; var _local20:Ball; var _local21:Ball; var _local22:Ball; _local4 = new Ball1(_arg1, 300, 100, -10, -4, false); addChild(_local4); _local5 = new Ball1(_arg1, 520, 180, -1, -4, false); addChild(_local5); _local6 = new Ball1(_arg1, 550, 100, -4, -6, false); addChild(_local6); _local7 = new Ball1(_arg1, 390, 100, 4, 5, false); addChild(_local7); _local8 = new Ball2(_arg1, 300, 100, -2, -14, false); addChild(_local8); _local9 = new Ball4(_arg1, 500, 100, -6, -4, false); addChild(_local9); _local10 = new Ball4(_arg1, 350, 100, 2, -4, false); addChild(_local10); _local11 = new Ball2(_arg1, 150, 100, 5, -8, false); addChild(_local11); _local12 = new Ball3(_arg1, 550, 100, 2, -8, false); addChild(_local12); _local13 = new Ball1(_arg1, 50, 100, -10, -8, false); addChild(_local13); _local14 = new Ball2(_arg1, 200, 100, 5, -8, false); addChild(_local14); _local15 = new Ball3(_arg1, 300, 400, 1, 9, false); addChild(_local15); _local16 = new Ball1(_arg1, 30, 400, 8, 8, false); addChild(_local16); _local17 = new Ball2(_arg1, 30, 400, 9, 13, false); addChild(_local17); _local18 = new Ball3(_arg1, 30, 400, 5, 14, false); addChild(_local18); hero = new Hero(_arg1, 400, 400); addChild(hero); _local19 = new Ball1(_arg1, 30, 0, -10, -4, true); hero.addChild(_local19); _local20 = new Ball2(_arg1, -30, 0, -10, -4, true); hero.addChild(_local20); _local21 = new Ball3(_arg1, 0, 30, 0, 0, true); hero.addChild(_local21); _local22 = new Ball4(_arg1, 0, -30, 0, 0, true); hero.addChild(_local22); super(_arg1, _arg2, _arg3); trace("placed"); } } }//package
Section 114
//Level7 (Level7) package { import flash.display.*; import flash.events.*; public class Level7 extends Level { public var hero:Hero; public function Level7(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:InfoBall; _local4 = new InfoSizeBall(); addChild(_local4); _local4.addEventListener(Event.REMOVED_FROM_STAGE, startLevel); super(_arg1, _arg2, _arg3); } private function startLevel(_arg1:Event):void{ var _local2:Ball; var _local3:Ball; var _local4:Ball; var _local5:Ball; var _local6:PowerUp; var _local7:Ball; var _local8:Ball; var _local9:Ball; _local2 = new Ball1(stageRef, 550, 100, -1, -2, false); addChild(_local2); _local3 = new Ball2(stageRef, 50, 10, 1.3, -3, false); addChild(_local3); _local4 = new Ball2(stageRef, 450, 390, 2.2, -1.2, false); addChild(_local4); _local5 = new Ball3(stageRef, 550, 400, 0.2, 0.11, false); addChild(_local5); _local6 = new SizeBall(500, 450, 1.2, 1.1); addChild(_local6); hero = new Hero(stageRef, 400, 400); addChild(hero); _local7 = new Ball1(stageRef, 50, 0, -10, -4, true); hero.addChild(_local7); _local8 = new Ball2(stageRef, -50, 0, -10, -4, true); hero.addChild(_local8); _local9 = new Ball3(stageRef, 0, 50, 0, 0, true); hero.addChild(_local9); } } }//package
Section 115
//Level8 (Level8) package { import flash.display.*; import flash.events.*; public class Level8 extends Level { public var hero:Hero; public function Level8(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:InfoBall; _local4 = new InfoRotateBall(); addChild(_local4); _local4.addEventListener(Event.REMOVED_FROM_STAGE, startLevel); super(_arg1, _arg2, _arg3); } private function startLevel(_arg1:Event):void{ var _local2:Ball; var _local3:Ball; var _local4:Ball; var _local5:PowerUp; var _local6:PowerUp; var _local7:PowerUp; var _local8:PowerUp; var _local9:PowerUp; var _local10:Ball; var _local11:Ball; var _local12:Ball; _local2 = new Ball4(stageRef, 300, 100, -0.25, -1, false); addChild(_local2); _local3 = new Ball5(stageRef, 150, 100, 0.35, -2, false); addChild(_local3); _local4 = new Ball6(stageRef, 550, 100, 3, -1.5, false); addChild(_local4); _local5 = new ChangeBall(320, 350, 2.2, 3.1); addChild(_local5); _local6 = new ChangeBall(100, 170, 3.2, 4.51); addChild(_local6); _local7 = new ChangeBall(160, 280, 3.72, -4.1); addChild(_local7); _local8 = new ChangeBall(170, 140, -2.2, -3.81); addChild(_local8); _local9 = new ChangeBall(120, 360, -3.2, 5.3); addChild(_local9); hero = new Hero(stageRef, 400, 400); addChild(hero); _local10 = new Ball4(stageRef, 50, 0, -10, -4, true); hero.addChild(_local10); _local11 = new Ball5(stageRef, -50, 0, -10, -4, true); hero.addChild(_local11); _local12 = new Ball6(stageRef, 0, 50, 0, 0, true); hero.addChild(_local12); } } }//package
Section 116
//Level9 (Level9) package { import flash.display.*; import flash.events.*; public class Level9 extends Level { public var hero:Hero; public function Level9(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:Ball; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; var _local9:Ball; var _local10:Ball; _local4 = new BadBall(_arg1, 550, 50, -1, 1, false); addChild(_local4); _local5 = new BadBall(_arg1, 100, 50, 0.2, 1, false); addChild(_local5); _local6 = new Ball3(_arg1, 50, 400, -1, -1.1, false); addChild(_local6); _local7 = new Ball5(_arg1, 110, 30, 1, 0.6, false); addChild(_local7); _local8 = new Ball5(_arg1, 380, 450, 1.31, 1, false); addChild(_local8); hero = new Hero(_arg1, 400, 400); addChild(hero); _local9 = new Ball3(_arg1, 100, 0, -10, -4, true); hero.addChild(_local9); _local10 = new Ball5(_arg1, -50, 0, -10, -4, true); hero.addChild(_local10); super(_arg1, _arg2, _arg3); } } }//package
Section 117
//LevelFree (LevelFree) package { import flash.display.*; public dynamic class LevelFree extends MovieClip { } }//package
Section 118
//LevelFreePlay (LevelFreePlay) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class LevelFreePlay extends Level { public var hero:Hero; private var secondsPlayed;// = 0 private var timer:Timer; private var spawnRate:Number;// = 2.5 private var time:Number;// = 1000 public function LevelFreePlay(_arg1:Stage, _arg2:Number, _arg3:Number){ var _local4:*; var _local5:Ball; var _local6:Ball; var _local7:Ball; var _local8:Ball; spawnRate = 2.5; time = 1000; secondsPlayed = 0; timer = new Timer(time); timer.addEventListener(TimerEvent.TIMER, onSpawnTimer); timer.start(); addEventListener(Event.ENTER_FRAME, onEnterFrame); hero = new Hero(_arg1, 400, 400); addChild(hero); _local4 = Math.floor((Math.random() * 10)); if (_local4 == 0){ _local5 = new Ball1(_arg1, 0, -50, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 50, -10, -4, true); hero.addChild(_local7); _local8 = new Ball4(_arg1, -50, 0, -10, -4, true); hero.addChild(_local8); } else { if (_local4 == 1){ _local7 = new Ball1(_arg1, 0, 100, -10, -4, true); hero.addChild(_local7); _local8 = new Ball2(_arg1, 0, 0, -10, -4, true); hero.addChild(_local8); } else { if (_local4 == 2){ _local5 = new Ball1(_arg1, 0, -50, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 150, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 50, -10, -4, true); hero.addChild(_local7); } else { if (_local4 == 3){ _local5 = new Ball1(_arg1, 0, -50, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 150, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 50, -10, -4, true); hero.addChild(_local7); } else { if (_local4 == 4){ _local5 = new Ball1(_arg1, 0, -70, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 70, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 70, -10, -4, true); hero.addChild(_local7); } else { if (_local4 == 5){ _local5 = new Ball1(_arg1, 0, -100, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 100, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 100, -10, -4, true); hero.addChild(_local7); _local8 = new Ball4(_arg1, -100, 0, -10, -4, true); hero.addChild(_local8); } else { if (_local4 == 6){ _local5 = new Ball1(_arg1, 0, -40, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 100, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 40, -10, -4, true); hero.addChild(_local7); _local8 = new Ball4(_arg1, -100, 0, -10, -4, true); hero.addChild(_local8); } else { if (_local4 == 7){ _local5 = new Ball1(_arg1, 0, -50, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local6); } else { if (_local4 == 8){ _local5 = new Ball1(_arg1, 0, 0, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 50, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 100, 0, -10, -4, true); hero.addChild(_local7); } else { if (_local4 == 9){ _local5 = new Ball1(_arg1, -100, 0, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 0, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 100, 0, -10, -4, true); hero.addChild(_local7); } else { if (_local4 == 10){ _local5 = new Ball1(_arg1, 0, -50, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 150, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 50, -10, -4, true); hero.addChild(_local7); _local8 = new Ball4(_arg1, -50, 0, -10, -4, true); hero.addChild(_local8); } else { if (_local4 == 11){ _local5 = new Ball1(_arg1, 0, -30, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 30, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 30, -10, -4, true); hero.addChild(_local7); _local8 = new Ball4(_arg1, -30, 0, -10, -4, true); hero.addChild(_local8); } else { if (_local4 == 12){ _local5 = new Ball1(_arg1, 0, -30, -10, -4, true); hero.addChild(_local5); _local6 = new Ball2(_arg1, 45, 0, -10, -4, true); hero.addChild(_local6); _local7 = new Ball3(_arg1, 0, 30, -10, -4, true); hero.addChild(_local7); }; }; }; }; }; }; }; }; }; }; }; }; }; trace(hero.numChildren); super(_arg1, _arg2, _arg3); } private function spawn(_arg1:Number):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:Ball; var _local7:PowerUp; _local2 = (Math.random() * 600); _local3 = (Math.random() * 500); _local4 = (Math.random() * ((secondsPlayed / 10) + 2)); _local5 = (Math.random() * ((secondsPlayed / 10) + 2)); if (Math.random() < 0.5){ _local4 = (_local4 * -1); }; if (Math.random < 0.5){ _local5 = (_local5 * -1); }; if (_arg1 == 1){ _local6 = new Ball1(stageRef, _local2, _local3, _local4, _local5, false); addChild(_local6); }; if (_arg1 == 2){ _local6 = new Ball2(stageRef, _local2, _local3, _local4, _local5, false); addChild(_local6); }; if (_arg1 == 3){ _local6 = new Ball3(stageRef, _local2, _local3, _local4, _local5, false); addChild(_local6); }; if (_arg1 == 4){ _local6 = new Ball4(stageRef, _local2, _local3, _local4, _local5, false); addChild(_local6); }; if (_arg1 == 5){ _local6 = new Ball5(stageRef, _local2, _local3, _local4, _local5, false); addChild(_local6); }; if (_arg1 == 6){ _local6 = new Ball6(stageRef, _local2, _local3, _local4, _local5, false); addChild(_local6); }; if (_arg1 == 7){ _local7 = new ScoreBall(_local2, _local3, _local4, _local5); addChild(_local7); }; if (_arg1 == 8){ _local7 = new SlowBall(_local2, _local3, _local4, _local5); addChild(_local7); }; if (_arg1 == 9){ _local7 = new ChangeBall(_local2, _local3, _local4, _local5); addChild(_local7); }; } public function removeAll():void{ while (numChildren > 0) { removeChildAt(0); }; } public function stopSpawn():void{ timer.stop(); timer.removeEventListener(TimerEvent.TIMER, onSpawnTimer); removeEventListener(Event.ENTER_FRAME, onEnterFrame); } private function onEnterFrame(_arg1:Event):void{ var _local2:*; _local2 = Math.ceil((Math.random() * hero.numChildren)); if (spawnRate < 6){ spawnRate = (spawnRate * 1.0003); } else { spawnRate = (spawnRate * 1.0001); }; trace(spawnRate); if (Math.random() < (spawnRate / 600)){ trace("SPAWN SPECIAL"); spawn(7); }; if (Math.random() < (spawnRate / 10000)){ trace("SPAWN SPECIAL"); spawn(8); }; if (Math.random() < (spawnRate / 10000)){ trace("SPAWN SPECIAL"); spawn(9); }; if (Math.random() < (spawnRate / 1000)){ if (_local2 == 1){ spawn(1); return; }; if (_local2 == 2){ spawn(2); return; }; if (_local2 == 3){ spawn(3); return; }; if (_local2 == 4){ }; spawn(4); return; }; } private function onSpawnTimer(_arg1:TimerEvent):void{ var _local2:*; secondsPlayed++; trace(hero.numChildren); _local2 = Math.ceil((Math.random() * hero.numChildren)); if (GameData.enemiesHolder.length <= 1){ if (_local2 == 1){ spawn(1); return; }; if (_local2 == 2){ spawn(2); return; }; if (_local2 == 3){ spawn(3); return; }; if (_local2 == 4){ }; spawn(4); return; }; } } }//package
Section 119
//LevelPassedScreen (LevelPassedScreen) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; public class LevelPassedScreen extends MovieClip { public var best:TextField; public var totalBest:TextField; private var startTweenY:Number; public var start:SimpleButton; public var passed:TextField; public var score:TextField; private var goalY:Number; public var options:SimpleButton; public function LevelPassedScreen(_arg1:Number, _arg2:Number){ x = _arg1; y = _arg2; alpha = 0.1; goalY = _arg2; y = (startTweenY = (goalY + 100)); addEventListener(Event.ENTER_FRAME, enterStage); if ((Game.level % 12) != 0){ this.passed.text = (("Level " + (Game.level % 12)) + " passed!"); } else { this.passed.text = "Level 12 passed!"; }; start.addEventListener(MouseEvent.CLICK, startClicked); start.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); options.addEventListener(MouseEvent.CLICK, optionsClicked); options.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); start.visible = false; score.visible = false; best.visible = false; totalBest.visible = false; options.visible = false; addEventListener(Event.ADDED_TO_STAGE, addedToStage); GameData.removeAnim(); } private function enterStage(_arg1:Event):void{ if (y > goalY){ y = (y - (1 + ((100 - (startTweenY - y)) / 16))); } else { y = goalY; removeEventListener(Event.ENTER_FRAME, enterStage); }; if ((alpha + 0.05) < 1){ alpha = (alpha + 0.05); } else { alpha = 1; }; } public function addedToStage(_arg1:Event){ var _local2:Sound; parent.timeBar.addEventListener(Event.ENTER_FRAME, parent.timeBar.fastExpandPrepare); if (Game.soundFlag){ _local2 = new mallert006(); _local2.play(); }; } public function startClicked(_arg1:MouseEvent){ start.removeEventListener(MouseEvent.CLICK, startClicked); trace(("Current Level: " + (Game.level - 1))); if (((Game.level - 1) % 12) != 0){ dispatchEvent(new NavigationEvent(NavigationEvent.NEXTLEVELPLAY)); } else { trace("Level 13..."); campaignCompleted = new CampaignCompleted(0, 0); addChild(campaignCompleted); }; } public function optionsClicked(_arg1:MouseEvent){ dispatchEvent(new NavigationEvent(NavigationEvent.OPTIONS)); if (parent){ parent.removeChild(this); }; } } }//package
Section 120
//mallert006 (mallert006) package { import flash.media.*; public dynamic class mallert006 extends Sound { } }//package
Section 121
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 122
//MusicJazz (MusicJazz) package { import flash.media.*; public dynamic class MusicJazz extends Sound { } }//package
Section 123
//NavigationEvent (NavigationEvent) package { import flash.events.*; public class NavigationEvent extends Event { public static const STARTNEXTLEVELPLAY:String = "startnextlevelplay"; public static const NEXTLEVELPLAY:String = "nextlevelplay"; public static const MUSIC:String = "music"; public static const RESTARTFREEPLAY:String = "restartfreeplay"; public static const STOPSPAWN:String = "stopspawn"; public static const FREEPLAY:String = "freeplay"; public static const LOSS:String = "loss"; public static const ACHIEVEMENTS:String = "achievements"; public static const INSTRUCTIONS:String = "instructions"; public static const MAINOPTIONS:String = "mainoptions"; public static const CREATEUNIT1:String = "createunit1"; public static const CREATEUNIT3:String = "createunit3"; public static const CREATEUNIT4:String = "createunit4"; public static const CREATEUNIT5:String = "createunit5"; public static const CREATEUNIT6:String = "createunit6"; public static const INTROSCREEN:String = "introscreen"; public static const CREATEUNIT2:String = "createunit2"; public static const STARTGAME:String = "startgame"; public static const START:String = "start"; public static const RESTARTLEVEL:String = "restartlevel"; public static const MENU:String = "menu"; public static const RESTARTGAME:String = "restartgame"; public static const RESTART:String = "restart"; public static const VICTORY:String = "victory"; public static const CREDITS:String = "credits"; public static const OPTIONS:String = "options"; public function NavigationEvent(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("NavigationEvent", "type", "bubbles", "cancelable", "eventPhase")); } override public function clone():Event{ return (new NavigationEvent(type, bubbles, cancelable)); } } }//package
Section 124
//NormalBut (NormalBut) package { import flash.display.*; public dynamic class NormalBut extends SimpleButton { } }//package
Section 125
//NoviceBut (NoviceBut) package { import flash.display.*; public dynamic class NoviceBut extends SimpleButton { } }//package
Section 126
//OkBut (OkBut) package { import flash.display.*; public dynamic class OkBut extends SimpleButton { } }//package
Section 127
//OptionScreen (OptionScreen) package { import flash.display.*; import flash.events.*; public class OptionScreen extends MovieClip { public var musicOn:SimpleButton; public var onBut:SimpleButton; public var musicOff:SimpleButton; public var start:SimpleButton; private var alphaGrow:Number;// = 0.03 public var offBut:SimpleButton; public var main:SimpleButton; public function OptionScreen(){ alphaGrow = 0.03; super(); alpha = 0.4; addEventListener(Event.ENTER_FRAME, enterStage); start.addEventListener(MouseEvent.CLICK, continueClicked); start.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); main.addEventListener(MouseEvent.CLICK, menuClicked); main.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); onBut.addEventListener(MouseEvent.CLICK, onClicked); onBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); offBut.addEventListener(MouseEvent.CLICK, offClicked); offBut.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); musicOff.addEventListener(MouseEvent.CLICK, musicOffClicked); musicOff.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); musicOn.addEventListener(MouseEvent.CLICK, musicOnClicked); musicOn.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); } private function enterStage(_arg1:Event):void{ if ((alpha + alphaGrow) < 1){ alpha = (alpha + alphaGrow); } else { alpha = 1; removeEventListener(Event.ENTER_FRAME, enterStage); }; } public function onClicked(_arg1:MouseEvent){ Game.soundFlag = true; } private function continueClicked(_arg1:Event):void{ if (parent){ parent.removeChild(this); }; dispatchEvent(new NavigationEvent(NavigationEvent.START)); } private function musicOnClicked(_arg1:MouseEvent):void{ if (Game.musicFlag == false){ Game.musicFlag = true; Game.musicChannel = Game.myMusic.play(0, 1000); Game.musicChannel.soundTransform = Game.sTransform; }; } private function musicOffClicked(_arg1:MouseEvent):void{ Game.musicFlag = false; Game.musicChannel.stop(); } public function offClicked(_arg1:MouseEvent){ Game.soundFlag = false; } private function menuClicked(_arg1:MouseEvent):void{ if (parent){ parent.removeChild(this); }; dispatchEvent(new NavigationEvent(NavigationEvent.INTROSCREEN)); } } }//package
Section 128
//Particle (Particle) package { import flash.display.*; import flash.events.*; public class Particle extends MovieClip { public var dy:Number; public var vel:Number;// = 10 public var dx:Number; public function Particle(_arg1:Number, _arg2:Number){ vel = 10; super(); x = _arg1; y = _arg2; alpha = 0.9; scaleX = (0.5 + (0.9 * Math.random())); scaleY = scaleX; dx = ((Math.random() * vel) - (vel / 2)); dy = ((Math.random() * vel) - (vel / 2)); addEventListener(Event.ENTER_FRAME, loop); } public function loop(_arg1:Event){ x = (x + dx); y = (y + dy); alpha = (alpha - 0.001); if (alpha <= 0.6){ if (this.parent){ parent.removeChild(this); }; }; } } }//package
Section 129
//ParticleSnow (ParticleSnow) package { import flash.geom.*; import flash.display.*; import flash.events.*; public class ParticleSnow extends Sprite { private var frameCount;// = 0 public function ParticleSnow(_arg1:Point){ frameCount = 0; super(); x = _arg1.x; y = _arg1.y; addEventListener(Event.ENTER_FRAME, down); } private function down(_arg1:Event):void{ y = (y + ((Math.random() * 0.8) + 1.2)); x = (x + (0.8 + ((2 / 4) * Math.sin((frameCount / 8))))); frameCount++; this.alpha = (this.alpha - 0.001); if ((((alpha < 0.5)) && (this.parent))){ parent.removeChild(this); }; } } }//package
Section 130
//PowerUp (PowerUp) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.filters.*; public class PowerUp extends MovieClip { public var mySide:Boolean; public var shadowF:DropShadowFilter; public var collision:Collision; public var glowF:GlowFilter; public var type:Number; public var newY:Number; public var vx:Number; public var vy:Number; public var blurF:BlurFilter; public var newX:Number; public function PowerUp(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0){ radius = (width / 2); cacheAsBitmap = true; blurFilter = new BlurFilter(1, 1); shadowF = new DropShadowFilter(2); glowF = new GlowFilter(0xFFFF00, 1, 25, 25, 1.5, 1, false, false); filters = [glowF]; this.type = _arg5; x = _arg1; y = _arg2; this.mySide = mySide; addEventListener(Event.ADDED_TO_STAGE, addedToStage); this.scaleX = (this.scaleY = 0.01); this.vx = _arg3; this.vy = _arg4; } public function goodCollision(_arg1:Number){ var _local2:Particle; var _local3:Sound; if (type == 0){ if (parent.parent.timeBar){ parent.parent.timeBar.updateW(400); }; } else { if (type == 1){ if (GamePlay.score){ GamePlay.score.update(300); } else { if (FreePlay.score){ FreePlay.score.update(50); }; }; }; }; if (type == 2){ Hero.rotationAmount = (Hero.rotationAmount * -1); }; if (type == 3){ trace("ENLARGR!"); Hero.enlarge(); }; if (type == 4){ trace("Slow"); if (GameData.enemiesHolder){ _arg1 = 0; while (_arg1 < GameData.enemiesHolder.length) { GameData.enemiesHolder[_arg1].vx = (GameData.enemiesHolder[_arg1].vx / 3); GameData.enemiesHolder[_arg1].vy = (GameData.enemiesHolder[_arg1].vy / 3); _arg1++; }; _arg1 = 0; while (_arg1 < GameData.badBallHolder.length) { GameData.badBallHolder[_arg1].vx = (GameData.badBallHolder[_arg1].vx / 3); GameData.badBallHolder[_arg1].vy = (GameData.badBallHolder[_arg1].vy / 3); _arg1++; }; _arg1 = 0; while (_arg1 < GameData.powerUpHolder.length) { GameData.powerUpHolder[_arg1].vx = (GameData.powerUpHolder[_arg1].vx / 3); GameData.powerUpHolder[_arg1].vy = (GameData.powerUpHolder[_arg1].vy / 3); _arg1++; }; }; }; _arg1 = 0; while (_arg1 < 20) { _local2 = new Particle(x, y); parent.addChild(_local2); _arg1++; }; remove(); if (Game.soundFlag){ _local3 = new Good(); _local3.play(); trace("played"); }; } public function enterStage(_arg1:Event){ this.scaleX = (this.scaleX + 0.02); this.scaleY = (this.scaleY + 0.02); if (this.scaleX >= 0.9){ this.scaleX = 0.9; this.scaleY = 0.9; removeEventListener(Event.ENTER_FRAME, enterStage); GameData.powerUpHolder.push(this); addEventListener(Event.ENTER_FRAME, move); }; } public function shrink(_arg1:Event){ this.scaleX = (this.scaleX - 0.04); this.scaleY = (this.scaleY - 0.04); if (this.scaleX <= 0){ removeEventListener(Event.ENTER_FRAME, shrink); remove(); }; } public function addedToStage(_arg1:Event){ addEventListener(Event.ENTER_FRAME, enterStage); } public function remove(){ var _local1:*; if (this){ if (this.parent){ trace(parent); parent.removeChild(this); }; }; removeEventListener(Event.ADDED_TO_STAGE, addedToStage); _local1 = 0; while (_local1 < GameData.powerUpHolder.length) { if (GameData.powerUpHolder[_local1] == this){ GameData.powerUpHolder.splice(_local1, 1); }; _local1++; }; } public function removeAnim(){ removeEventListener(Event.ENTER_FRAME, move); addEventListener(Event.ENTER_FRAME, shrink); } public function move(_arg1:Event){ var _local2:*; var _local3:Point; var _local4:*; var _local5:*; var _local6:*; newX = (x + vx); newY = (y + vy); _local2 = 0; while (_local2 < GameData.unitHolder.length) { _local3 = new Point(GameData.unitHolder[_local2].x, GameData.unitHolder[_local2].y); _local4 = GameData.unitHolder[_local2].parent.localToGlobal(_local3); _local5 = GameData.unitHolder[_local2].x; _local6 = GameData.unitHolder[_local2].y; GameData.unitHolder[_local2].x = _local4.x; GameData.unitHolder[_local2].y = _local4.y; if (GameData.unitHolder[_local2].isColliding(this)){ GameData.unitHolder[_local2].x = _local5; GameData.unitHolder[_local2].y = _local6; removeEventListener(Event.ENTER_FRAME, move); goodCollision(_local2); return; }; GameData.unitHolder[_local2].x = _local5; GameData.unitHolder[_local2].y = _local6; _local2++; }; if ((newX + radius) > 600){ vx = (vx * -1); newX = (600 - radius); } else { if ((newX - radius) < 0){ vx = (vx * -1); newX = radius; }; }; if ((newY + radius) > 500){ vy = (vy * -1); newY = (500 - radius); } else { if ((newY - radius) < 0){ vy = (vy * -1); newY = radius; }; }; x = newX; y = newY; } } }//package
Section 131
//Preloader (Preloader) package { import flash.display.*; import flash.events.*; import flash.net.*; public class Preloader extends Sprite { private var counter:Number;// = 160 public var splash:FrosmoSplash; public function Preloader(_arg1:DisplayObjectContainer){ counter = 160; super(); _arg1.addChild(this); splash.addEventListener(MouseEvent.CLICK, splashClicked); addEventListener(Event.ENTER_FRAME, onEnterFrame); alpha = 0.1; } private function onEnterFrame(_arg1:Event):void{ counter--; alpha = (alpha + 0.05); if (counter < 0){ if (parent){ parent.removeChild(this); }; removeEventListener(Event.ENTER_FRAME, onEnterFrame); dispatchEvent(new NavigationEvent(NavigationEvent.STARTGAME)); }; } private function splashClicked(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.frosmo.com/uk/ui/?ref=spinmatch2"); navigateToURL(_local2); } } }//package
Section 132
//RestartCampaign (RestartCampaign) package { import flash.display.*; public dynamic class RestartCampaign extends SimpleButton { } }//package
Section 133
//RestartScreen (RestartScreen) package { import flash.display.*; import flash.events.*; public class RestartScreen extends MovieClip { public var restart:SimpleButton; private var startTweenY:Number; private var goalY:Number; public var options:SimpleButton; public var inGameMenu:InGameMenu; public function RestartScreen(_arg1:Number, _arg2:Number){ x = _arg1; y = _arg2; alpha = 0.1; goalY = _arg2; y = (startTweenY = (goalY + 100)); addEventListener(Event.ENTER_FRAME, enterStage); this.visible = false; addEventListener(Event.ENTER_FRAME, chkGameData); restart.addEventListener(MouseEvent.CLICK, restartClicked); restart.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); options.addEventListener(MouseEvent.CLICK, optionsClicked); options.addEventListener(MouseEvent.MOUSE_OVER, Game.buttonSound); } private function enterStage(_arg1:Event):void{ if (visible){ if (y > goalY){ y = (y - (1 + ((100 - (startTweenY - y)) / 16))); } else { y = goalY; removeEventListener(Event.ENTER_FRAME, enterStage); }; if ((alpha + 0.05) < 1){ alpha = (alpha + 0.05); } else { alpha = 1; }; }; } public function restartClicked(_arg1:MouseEvent){ restart.removeEventListener(MouseEvent.CLICK, restartClicked); dispatchEvent(new NavigationEvent(NavigationEvent.RESTARTLEVEL)); } public function chkGameData(_arg1:Event){ if (GameData.enemiesHolder.length == 0){ this.visible = true; removeEventListener(Event.ENTER_FRAME, chkGameData); }; } public function optionsClicked(_arg1:MouseEvent){ InGameMenu.levelPassedFlag = false; dispatchEvent(new NavigationEvent(NavigationEvent.OPTIONS)); if (parent){ parent.removeChild(this); }; } } }//package
Section 134
//Score (Score) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.filters.*; public class Score extends MovieClip { public var tempAmount;// = 0 public var score:TextField; var frameCount; public static var amount = 0; public function Score(_arg1:Number, _arg2:Number){ tempAmount = 0; super(); this.x = _arg1; this.y = _arg2; this.score.text = ("Score: " + tempAmount); } private function onEnterFrame(_arg1:Event):void{ var _local2:GlowFilter; frameCount--; _local2 = new GlowFilter(); _local2.strength = (2 * Math.sin((frameCount / 5))); _local2.alpha = 0.8; _local2.color = 0xFF00; this.filters = [_local2]; if (frameCount <= 0){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); }; } public function update(_arg1:Number){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); addEventListener(Event.ENTER_FRAME, onEnterFrame); frameCount = 10; tempAmount = (tempAmount + _arg1); this.score.text = ("Score: " + tempAmount); } } }//package
Section 135
//ScoreBall (ScoreBall) package { public class ScoreBall extends PowerUp { public function ScoreBall(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1){ super(_arg1, _arg2, _arg3, _arg4, _arg5); } } }//package
Section 136
//SizeBall (SizeBall) package { public class SizeBall extends PowerUp { public function SizeBall(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=3){ super(_arg1, _arg2, _arg3, _arg4, _arg5); } } }//package
Section 137
//SlowBall (SlowBall) package { public class SlowBall extends PowerUp { public function SlowBall(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=4){ super(_arg1, _arg2, _arg3, _arg4, _arg5); } } }//package
Section 138
//TimeBall (TimeBall) package { public class TimeBall extends PowerUp { public function TimeBall(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0){ super(_arg1, _arg2, _arg3, _arg4, _arg5); } } }//package
Section 139
//TimeBar (TimeBar) package { import flash.display.*; import flash.events.*; import flash.net.*; public class TimeBar extends MovieClip { public var prepareCounter;// = 45 public var bar:MovieClip; public var maxW;// = 500 public function TimeBar(){ maxW = 500; prepareCounter = 45; super(); bar.width = 0; addEventListener(Event.ENTER_FRAME, expand); } public function fastExpand(_arg1:Event){ var _local2:*; var _local3:SharedObject; if ((parent.levelNum % 12) != 0){ _local2 = (-1620 + ((parent.levelNum % 12) * 120)); } else { _local2 = (-1620 + (12 * 120)); }; newY = (_local2 + 130); if (GamePlay.levelBG.y < newY){ GamePlay.levelBG.y = (GamePlay.levelBG.y + 3); } else { GamePlay.levelBG.y = newY; }; if (bar.width <= (maxW / 1.18)){ bar.width = (bar.width + 7); } else { bar.width = (bar.width + (((maxW - bar.width) / 8) + 0.5)); }; GamePlay.score.update(Math.round((GamePlay.score.tempAmount * 0.01))); if ((((bar.width >= maxW)) && ((GamePlay.levelBG.y >= newY)))){ bar.width = maxW; removeEventListener(Event.ENTER_FRAME, fastExpand); parent.levelPassedScreen.start.visible = true; parent.levelPassedScreen.score.visible = true; parent.levelPassedScreen.best.visible = true; parent.levelPassedScreen.totalBest.visible = true; parent.levelPassedScreen.options.visible = true; Score.amount = (Score.amount + GamePlay.score.tempAmount); parent.levelPassedScreen.score.text = ("Total score: " + Score.amount); _local3 = SharedObject.getLocal("userData"); if ((((_local3.data.levelScore == null)) || ((_local3.data.levelScore == undefined)))){ trace("Created!"); _local3.data.levelScore = new Array(); }; if ((((_local3.data.totalScore == null)) || ((_local3.data.totalScore == undefined)))){ trace("Created!"); _local3.data.totalScore = new Array(); }; if ((((GamePlay.score.tempAmount > _local3.data.levelScore[Game.level])) || ((_local3.data.levelScore[Game.level] == null)))){ _local3.data.levelScore[Game.level] = GamePlay.score.tempAmount; _local3.flush(); }; trace(Score.amount); trace(_local3.data.totalScore[Game.level]); if ((((Score.amount >= _local3.data.totalScore[Game.level])) || ((_local3.data.totalScore[Game.level] == null)))){ _local3.data.totalScore[Game.level] = Score.amount; _local3.flush(); }; parent.levelPassedScreen.best.text = ("Personal best: " + _local3.data.levelScore[Game.level]); if ((Game.level % 12) != 0){ parent.levelPassedScreen.totalBest.text = ((("Personal total best at level " + (Game.level % 12)) + ": ") + _local3.data.totalScore[Game.level]); } else { parent.levelPassedScreen.totalBest.text = ("Personal total best at level 12: " + _local3.data.totalScore[Game.level]); }; trace(Game.level++); }; } public function fastExpandPrepare(_arg1:Event){ prepareCounter--; if (prepareCounter <= 0){ addEventListener(Event.ENTER_FRAME, fastExpand); removeEventListener(Event.ENTER_FRAME, fastExpandPrepare); }; } public function expand(_arg1:Event){ if (GameData.gameFlag){ bar.width = (bar.width + 0.6); }; if (bar.width >= maxW){ bar.width = maxW; removeEventListener(Event.ENTER_FRAME, expand); GameData.removeAnim(); dispatchEvent(new NavigationEvent(NavigationEvent.LOSS)); }; } public function updateW(_arg1:Number){ if ((bar.width - _arg1) > 0){ bar.width = (bar.width - _arg1); } else { bar.width = 0; }; } } }//package

Library Items

Symbol 1 Sound {alert_30}
Symbol 2 Sound {Good}
Symbol 3 Sound {MusicJazz}
Symbol 4 Sound {mallert006}
Symbol 5 Sound {Campaign}
Symbol 6 Sound {Button}
Symbol 7 BitmapUsed by:8
Symbol 8 GraphicUses:7Used by:9
Symbol 9 Button {FrosmoSplash}Uses:8Used by:10
Symbol 10 MovieClip {Preloader}Uses:9
Symbol 11 GraphicUsed by:49
Symbol 12 GraphicUsed by:13 68 271
Symbol 13 MovieClipUses:12Used by:49
Symbol 14 ShapeTweeningUsed by:17
Symbol 15 ShapeTweeningUsed by:17
Symbol 16 GraphicUsed by:17 368
Symbol 17 MovieClipUses:14 15 16Used by:49
Symbol 18 ShapeTweeningUsed by:21
Symbol 19 ShapeTweeningUsed by:21
Symbol 20 GraphicUsed by:21 314
Symbol 21 MovieClipUses:18 19 20Used by:49
Symbol 22 GraphicUsed by:49
Symbol 23 FontUsed by:24 25 28 30 32 35 37 39 81 83 85 88 90 92 119 120 121 124 126 128 131 133 135 138 140 142 144 146 148 159 161 163 165 169 171 173 176 178 180 183 185 187 190 192 194 202 204 206 208 213 217 221 225 229 234 236 238 240 243 245 247 250 252 254 275 277 279 282 284 286 289 291 293 295 297 299 303 305 307 383 385 387 390 392 394 397 398 399 400 404 406 408 411 413 415 423 425 427 429 434 435 436 440 441 454 456 458 460
Symbol 24 TextUses:23Used by:49
Symbol 25 TextUses:23Used by:49
Symbol 26 GraphicUsed by:33
Symbol 27 FontUsed by:28 30 32 35 37 39 81 83 85 88 90 92 119 120 121 124 126 128 131 133 135 138 140 142 144 146 148 159 161 163 169 171 173 176 178 180 183 185 187 190 192 194 204 206 208 236 238 240 243 245 247 250 252 254 275 277 279 282 284 286 289 291 293 295 297 299 303 305 307 383 385 387 390 392 394 398 399 400 404 406 408 411 413 415 425 427 429 434 435 436 456 458 460
Symbol 28 EditableTextUses:23 27Used by:33
Symbol 29 GraphicUsed by:33
Symbol 30 EditableTextUses:23 27Used by:33
Symbol 31 GraphicUsed by:33
Symbol 32 EditableTextUses:23 27Used by:33
Symbol 33 ButtonUses:26 28 29 30 31 32Used by:49
Symbol 34 GraphicUsed by:40 122
Symbol 35 EditableTextUses:23 27Used by:40
Symbol 36 GraphicUsed by:40 122
Symbol 37 EditableTextUses:23 27Used by:40
Symbol 38 GraphicUsed by:40 122
Symbol 39 EditableTextUses:23 27Used by:40
Symbol 40 ButtonUses:34 35 36 37 38 39Used by:49
Symbol 41 FontUsed by:42 43 150 233 272 273 402 417 419 420 421 422 447 451 452 453
Symbol 42 TextUses:41Used by:45
Symbol 43 TextUses:41Used by:45
Symbol 44 GraphicUsed by:45
Symbol 45 Button {GamingOcean}Uses:42 43 44Used by:49 151
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:48
Symbol 48 Button {FrosmoLogo}Uses:47Used by:49 97 151 256 301 442
Symbol 49 MovieClip {Credits}Uses:11 13 17 21 22 24 25 33 40 45 48
Symbol 50 GraphicUsed by:57
Symbol 51 GraphicUsed by:52 153
Symbol 52 MovieClipUses:51Used by:53
Symbol 53 MovieClipUses:52Used by:57 324 338 369 375
Symbol 54 GraphicUsed by:55 110
Symbol 55 MovieClipUses:54Used by:56
Symbol 56 MovieClipUses:55Used by:57 324 338 375
Symbol 57 MovieClip {LevelFree}Uses:50 53 56
Symbol 58 GraphicUsed by:97
Symbol 59 ShapeTweeningUsed by:62
Symbol 60 ShapeTweeningUsed by:62
Symbol 61 GraphicUsed by:62 373
Symbol 62 MovieClipUses:59 60 61Used by:63
Symbol 63 MovieClipUses:62Used by:97
Symbol 64 GraphicUsed by:65 263 315
Symbol 65 MovieClipUses:64Used by:66
Symbol 66 MovieClipUses:65Used by:97
Symbol 67 GraphicUsed by:97
Symbol 68 MovieClipUses:12Used by:97
Symbol 69 GraphicUsed by:97
Symbol 70 FontUsed by:71 73 74 75 77 78 79 94 95 96 201 212 216 220 224 228
Symbol 71 TextUses:70Used by:97
Symbol 72 GraphicUsed by:97
Symbol 73 TextUses:70Used by:97
Symbol 74 TextUses:70Used by:97
Symbol 75 TextUses:70Used by:97
Symbol 76 GraphicUsed by:97
Symbol 77 TextUses:70Used by:97
Symbol 78 TextUses:70Used by:97
Symbol 79 TextUses:70Used by:97
Symbol 80 GraphicUsed by:86
Symbol 81 EditableTextUses:23 27Used by:86
Symbol 82 GraphicUsed by:86
Symbol 83 EditableTextUses:23 27Used by:86
Symbol 84 GraphicUsed by:86
Symbol 85 EditableTextUses:23 27Used by:86
Symbol 86 ButtonUses:80 81 82 83 84 85Used by:97
Symbol 87 GraphicUsed by:93 149 300
Symbol 88 EditableTextUses:23 27Used by:93
Symbol 89 GraphicUsed by:93
Symbol 90 EditableTextUses:23 27Used by:93
Symbol 91 GraphicUsed by:93
Symbol 92 EditableTextUses:23 27Used by:93
Symbol 93 ButtonUses:87 88 89 90 91 92Used by:97
Symbol 94 TextUses:70Used by:97
Symbol 95 TextUses:70Used by:97
Symbol 96 TextUses:70Used by:97
Symbol 97 MovieClip {Instructions}Uses:58 63 66 67 68 69 71 72 73 74 75 76 77 78 79 86 93 94 95 96 48
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClip {TimeBall}Uses:98
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip {ScoreBall}Uses:100
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip {BadBall}Uses:102
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:151
Symbol 106 ShapeTweeningUsed by:109
Symbol 107 ShapeTweeningUsed by:109
Symbol 108 GraphicUsed by:109 328
Symbol 109 MovieClipUses:106 107 108Used by:151
Symbol 110 MovieClipUses:54Used by:111
Symbol 111 MovieClipUses:110Used by:151
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:114
Symbol 114 MovieClipUses:113Used by:151
Symbol 115 GraphicUsed by:151
Symbol 116 FontUsed by:117 118
Symbol 117 TextUses:116Used by:151
Symbol 118 TextUses:116Used by:151
Symbol 119 EditableTextUses:23 27Used by:122
Symbol 120 EditableTextUses:23 27Used by:122
Symbol 121 EditableTextUses:23 27Used by:122
Symbol 122 ButtonUses:34 119 36 120 38 121Used by:151
Symbol 123 GraphicUsed by:129 437
Symbol 124 EditableTextUses:23 27Used by:129
Symbol 125 GraphicUsed by:129 437
Symbol 126 EditableTextUses:23 27Used by:129
Symbol 127 GraphicUsed by:129 437
Symbol 128 EditableTextUses:23 27Used by:129
Symbol 129 ButtonUses:123 124 125 126 127 128Used by:151
Symbol 130 GraphicUsed by:136
Symbol 131 EditableTextUses:23 27Used by:136
Symbol 132 GraphicUsed by:136
Symbol 133 EditableTextUses:23 27Used by:136
Symbol 134 GraphicUsed by:136
Symbol 135 EditableTextUses:23 27Used by:136
Symbol 136 ButtonUses:130 131 132 133 134 135Used by:151
Symbol 137 GraphicUsed by:143
Symbol 138 EditableTextUses:23 27Used by:143
Symbol 139 GraphicUsed by:143
Symbol 140 EditableTextUses:23 27Used by:143
Symbol 141 GraphicUsed by:143
Symbol 142 EditableTextUses:23 27Used by:143
Symbol 143 ButtonUses:137 138 139 140 141 142Used by:151
Symbol 144 EditableTextUses:23 27Used by:149
Symbol 145 GraphicUsed by:149
Symbol 146 EditableTextUses:23 27Used by:149
Symbol 147 GraphicUsed by:149
Symbol 148 EditableTextUses:23 27Used by:149
Symbol 149 ButtonUses:87 144 145 146 147 148Used by:151
Symbol 150 TextUses:41Used by:151
Symbol 151 MovieClip {IntroScreen}Uses:105 109 111 114 45 115 117 118 122 129 136 143 149 48 150
Symbol 152 GraphicUsed by:196
Symbol 153 MovieClipUses:51Used by:154
Symbol 154 MovieClipUses:153Used by:196
Symbol 155 GraphicUsed by:156 336
Symbol 156 MovieClipUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:196
Symbol 158 GraphicUsed by:164
Symbol 159 EditableTextUses:23 27Used by:164
Symbol 160 GraphicUsed by:164
Symbol 161 EditableTextUses:23 27Used by:164
Symbol 162 GraphicUsed by:164
Symbol 163 EditableTextUses:23 27Used by:164
Symbol 164 Button {NoviceBut}Uses:158 159 160 161 162 163Used by:196
Symbol 165 TextUses:23Used by:196
Symbol 166 FontUsed by:167 233 381 419 420 421 422 447 451 452 453
Symbol 167 TextUses:166Used by:196
Symbol 168 GraphicUsed by:174
Symbol 169 EditableTextUses:23 27Used by:174
Symbol 170 GraphicUsed by:174
Symbol 171 EditableTextUses:23 27Used by:174
Symbol 172 GraphicUsed by:174
Symbol 173 EditableTextUses:23 27Used by:174
Symbol 174 Button {NormalBut}Uses:168 169 170 171 172 173Used by:196
Symbol 175 GraphicUsed by:181
Symbol 176 EditableTextUses:23 27Used by:181
Symbol 177 GraphicUsed by:181
Symbol 178 EditableTextUses:23 27Used by:181
Symbol 179 GraphicUsed by:181
Symbol 180 EditableTextUses:23 27Used by:181
Symbol 181 Button {HardBut}Uses:175 176 177 178 179 180Used by:196
Symbol 182 GraphicUsed by:188
Symbol 183 EditableTextUses:23 27Used by:188
Symbol 184 GraphicUsed by:188
Symbol 185 EditableTextUses:23 27Used by:188
Symbol 186 GraphicUsed by:188
Symbol 187 EditableTextUses:23 27Used by:188
Symbol 188 ButtonUses:182 183 184 185 186 187Used by:196
Symbol 189 GraphicUsed by:195
Symbol 190 EditableTextUses:23 27Used by:195
Symbol 191 GraphicUsed by:195
Symbol 192 EditableTextUses:23 27Used by:195
Symbol 193 GraphicUsed by:195
Symbol 194 EditableTextUses:23 27Used by:195
Symbol 195 ButtonUses:189 190 191 192 193 194Used by:196
Symbol 196 MovieClip {CampaignScreen}Uses:152 154 157 164 165 167 174 181 188 195
Symbol 197 GraphicUsed by:210 214 218 222 226
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:210 214 218 222 226 230
Symbol 200 GraphicUsed by:210
Symbol 201 TextUses:70Used by:210
Symbol 202 TextUses:23Used by:210
Symbol 203 GraphicUsed by:209 401
Symbol 204 EditableTextUses:23 27Used by:209
Symbol 205 GraphicUsed by:209 401
Symbol 206 EditableTextUses:23 27Used by:209
Symbol 207 GraphicUsed by:209 401
Symbol 208 EditableTextUses:23 27Used by:209
Symbol 209 ButtonUses:203 204 205 206 207 208Used by:210 214 218 222 226 230
Symbol 210 MovieClip {InfoRotateBall}Uses:197 199 200 201 202 209
Symbol 211 GraphicUsed by:214
Symbol 212 TextUses:70Used by:214
Symbol 213 TextUses:23Used by:214
Symbol 214 MovieClip {InfoSizeBall}Uses:197 199 211 212 213 209
Symbol 215 GraphicUsed by:218
Symbol 216 TextUses:70Used by:218
Symbol 217 TextUses:23Used by:218
Symbol 218 MovieClip {InfoScoreBall}Uses:197 199 215 216 217 209
Symbol 219 GraphicUsed by:222
Symbol 220 TextUses:70Used by:222
Symbol 221 TextUses:23Used by:222
Symbol 222 MovieClip {InfoTimeBall}Uses:197 199 219 220 221 209
Symbol 223 GraphicUsed by:226
Symbol 224 TextUses:70Used by:226
Symbol 225 TextUses:23Used by:226
Symbol 226 MovieClip {InfoSlowBall}Uses:197 199 223 224 225 209
Symbol 227 GraphicUsed by:230
Symbol 228 TextUses:70Used by:230
Symbol 229 TextUses:23Used by:230
Symbol 230 MovieClip {InfoBadBall}Uses:199 227 228 229 209
Symbol 231 GraphicUsed by:232 380
Symbol 232 MovieClipUses:231Used by:256
Symbol 233 EditableTextUses:41 166Used by:256
Symbol 234 TextUses:23Used by:256
Symbol 235 GraphicUsed by:241
Symbol 236 EditableTextUses:23 27Used by:241
Symbol 237 GraphicUsed by:241
Symbol 238 EditableTextUses:23 27Used by:241
Symbol 239 GraphicUsed by:241
Symbol 240 EditableTextUses:23 27Used by:241
Symbol 241 ButtonUses:235 236 237 238 239 240Used by:256
Symbol 242 GraphicUsed by:248
Symbol 243 EditableTextUses:23 27Used by:248
Symbol 244 GraphicUsed by:248
Symbol 245 EditableTextUses:23 27Used by:248
Symbol 246 GraphicUsed by:248
Symbol 247 EditableTextUses:23 27Used by:248
Symbol 248 ButtonUses:242 243 244 245 246 247Used by:256
Symbol 249 GraphicUsed by:255
Symbol 250 EditableTextUses:23 27Used by:255
Symbol 251 GraphicUsed by:255
Symbol 252 EditableTextUses:23 27Used by:255
Symbol 253 GraphicUsed by:255
Symbol 254 EditableTextUses:23 27Used by:255
Symbol 255 Button {OkBut}Uses:249 250 251 252 253 254Used by:256 418 462
Symbol 256 MovieClip {EndScreen}Uses:232 233 48 234 241 248 255
Symbol 257 FontUsed by:258
Symbol 258 TextUses:257Used by:259
Symbol 259 Button {IntroScreenStart}Uses:258
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClip {ParticleSnow}Uses:260
Symbol 262 GraphicUsed by:301
Symbol 263 MovieClipUses:64Used by:264
Symbol 264 MovieClipUses:263Used by:301
Symbol 265 GraphicUsed by:266 317
Symbol 266 MovieClipUses:265Used by:267
Symbol 267 MovieClipUses:266Used by:301
Symbol 268 GraphicUsed by:269 322
Symbol 269 MovieClipUses:268Used by:270
Symbol 270 MovieClipUses:269Used by:301
Symbol 271 MovieClipUses:12Used by:301
Symbol 272 TextUses:41Used by:301
Symbol 273 TextUses:41Used by:301
Symbol 274 GraphicUsed by:280
Symbol 275 EditableTextUses:23 27Used by:280
Symbol 276 GraphicUsed by:280
Symbol 277 EditableTextUses:23 27Used by:280
Symbol 278 GraphicUsed by:280
Symbol 279 EditableTextUses:23 27Used by:280
Symbol 280 ButtonUses:274 275 276 277 278 279Used by:301
Symbol 281 GraphicUsed by:287
Symbol 282 EditableTextUses:23 27Used by:287
Symbol 283 GraphicUsed by:287
Symbol 284 EditableTextUses:23 27Used by:287
Symbol 285 GraphicUsed by:287
Symbol 286 EditableTextUses:23 27Used by:287
Symbol 287 ButtonUses:281 282 283 284 285 286Used by:301
Symbol 288 GraphicUsed by:294
Symbol 289 EditableTextUses:23 27Used by:294
Symbol 290 GraphicUsed by:294
Symbol 291 EditableTextUses:23 27Used by:294
Symbol 292 GraphicUsed by:294
Symbol 293 EditableTextUses:23 27Used by:294
Symbol 294 ButtonUses:288 289 290 291 292 293Used by:301
Symbol 295 EditableTextUses:23 27Used by:300
Symbol 296 GraphicUsed by:300
Symbol 297 EditableTextUses:23 27Used by:300
Symbol 298 GraphicUsed by:300
Symbol 299 EditableTextUses:23 27Used by:300
Symbol 300 ButtonUses:87 295 296 297 298 299Used by:301
Symbol 301 MovieClip {OptionScreen}Uses:262 264 267 270 271 272 273 280 287 294 300 48
Symbol 302 GraphicUsed by:308
Symbol 303 EditableTextUses:23 27Used by:308
Symbol 304 GraphicUsed by:308
Symbol 305 EditableTextUses:23 27Used by:308
Symbol 306 GraphicUsed by:308
Symbol 307 EditableTextUses:23 27Used by:308
Symbol 308 Button {RestartCampaign}Uses:302 303 304 305 306 307
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClip {SizeBall}Uses:309
Symbol 311 GraphicUsed by:324
Symbol 312 ShapeTweeningUsed by:314
Symbol 313 ShapeTweeningUsed by:314
Symbol 314 MovieClipUses:312 313 20Used by:324 338 364 369 375 462
Symbol 315 MovieClipUses:64Used by:316
Symbol 316 MovieClipUses:315Used by:324 338 369 375
Symbol 317 MovieClipUses:265Used by:318
Symbol 318 MovieClipUses:317Used by:324
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:319Used by:321
Symbol 321 MovieClipUses:320Used by:324
Symbol 322 MovieClipUses:268Used by:323
Symbol 323 MovieClipUses:322Used by:324
Symbol 324 MovieClip {Level1Bg}Uses:311 314 53 56 316 318 321 323
Symbol 325 GraphicUsed by:338
Symbol 326 ShapeTweeningUsed by:328
Symbol 327 ShapeTweeningUsed by:328
Symbol 328 MovieClipUses:326 327 108Used by:338
Symbol 329 ShapeTweeningUsed by:332
Symbol 330 ShapeTweeningUsed by:332
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:329 330 331Used by:338 375
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:335
Symbol 335 MovieClipUses:334Used by:338 369 375
Symbol 336 MovieClipUses:155Used by:337
Symbol 337 MovieClipUses:336Used by:338 369 375
Symbol 338 MovieClip {Level2Bg}Uses:325 328 314 332 335 337 53 56 316
Symbol 339 GraphicUsed by:364
Symbol 340 ShapeTweeningUsed by:343
Symbol 341 ShapeTweeningUsed by:343
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClipUses:340 341 342Used by:364 369
Symbol 344 ShapeTweeningUsed by:352
Symbol 345 ShapeTweeningUsed by:352
Symbol 346 ShapeTweeningUsed by:352
Symbol 347 ShapeTweeningUsed by:352
Symbol 348 ShapeTweeningUsed by:352
Symbol 349 ShapeTweeningUsed by:352
Symbol 350 ShapeTweeningUsed by:352
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:344 345 346 347 348 349 350 351Used by:364
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:355
Symbol 355 MovieClipUses:354Used by:364
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:356Used by:358
Symbol 358 MovieClipUses:357Used by:364
Symbol 359 GraphicUsed by:364
Symbol 360 ShapeTweeningUsed by:363
Symbol 361 ShapeTweeningUsed by:363
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:360 361 362Used by:364
Symbol 364 MovieClip {Level5Bg}Uses:339 314 343 352 355 358 359 363
Symbol 365 GraphicUsed by:369
Symbol 366 ShapeTweeningUsed by:368
Symbol 367 ShapeTweeningUsed by:368
Symbol 368 MovieClipUses:366 367 16Used by:369
Symbol 369 MovieClip {Level4Bg}Uses:365 314 368 343 335 337 53 316
Symbol 370 GraphicUsed by:375
Symbol 371 ShapeTweeningUsed by:373
Symbol 372 ShapeTweeningUsed by:373
Symbol 373 MovieClipUses:371 372 61Used by:374
Symbol 374 MovieClipUses:373Used by:375
Symbol 375 MovieClip {Level3Bg}Uses:370 314 332 374 316 56 335 337 53
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClip {SlowBall}Uses:376
Symbol 378 GraphicUsed by:379
Symbol 379 MovieClip {ChangeBall}Uses:378
Symbol 380 MovieClipUses:231Used by:396 418 431
Symbol 381 TextUses:166Used by:396
Symbol 382 GraphicUsed by:388
Symbol 383 EditableTextUses:23 27Used by:388
Symbol 384 GraphicUsed by:388
Symbol 385 EditableTextUses:23 27Used by:388
Symbol 386 GraphicUsed by:388
Symbol 387 EditableTextUses:23 27Used by:388
Symbol 388 ButtonUses:382 383 384 385 386 387Used by:396
Symbol 389 GraphicUsed by:395
Symbol 390 EditableTextUses:23 27Used by:395
Symbol 391 GraphicUsed by:395
Symbol 392 EditableTextUses:23 27Used by:395
Symbol 393 GraphicUsed by:395
Symbol 394 EditableTextUses:23 27Used by:395
Symbol 395 ButtonUses:389 390 391 392 393 394Used by:396
Symbol 396 MovieClip {InGameMainMenu}Uses:380 381 388 395
Symbol 397 TextUses:23Used by:418
Symbol 398 EditableTextUses:23 27Used by:401
Symbol 399 EditableTextUses:23 27Used by:401
Symbol 400 EditableTextUses:23 27Used by:401
Symbol 401 ButtonUses:203 398 205 399 207 400Used by:418 431 442
Symbol 402 TextUses:41Used by:418
Symbol 403 GraphicUsed by:409
Symbol 404 EditableTextUses:23 27Used by:409
Symbol 405 GraphicUsed by:409
Symbol 406 EditableTextUses:23 27Used by:409
Symbol 407 GraphicUsed by:409
Symbol 408 EditableTextUses:23 27Used by:409
Symbol 409 ButtonUses:403 404 405 406 407 408Used by:418
Symbol 410 GraphicUsed by:416
Symbol 411 EditableTextUses:23 27Used by:416
Symbol 412 GraphicUsed by:416
Symbol 413 EditableTextUses:23 27Used by:416
Symbol 414 GraphicUsed by:416
Symbol 415 EditableTextUses:23 27Used by:416
Symbol 416 ButtonUses:410 411 412 413 414 415Used by:418
Symbol 417 TextUses:41Used by:418
Symbol 418 MovieClip {InGameMenu}Uses:380 397 255 401 402 409 416 417
Symbol 419 EditableTextUses:41 166Used by:431
Symbol 420 EditableTextUses:41 166Used by:431
Symbol 421 EditableTextUses:41 166Used by:431
Symbol 422 EditableTextUses:41 166Used by:431
Symbol 423 TextUses:23Used by:431
Symbol 424 GraphicUsed by:430
Symbol 425 EditableTextUses:23 27Used by:430
Symbol 426 GraphicUsed by:430
Symbol 427 EditableTextUses:23 27Used by:430
Symbol 428 GraphicUsed by:430
Symbol 429 EditableTextUses:23 27Used by:430
Symbol 430 ButtonUses:424 425 426 427 428 429Used by:431
Symbol 431 MovieClip {LevelPassedScreen}Uses:380 419 420 421 422 423 430 401
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:442
Symbol 434 EditableTextUses:23 27Used by:437
Symbol 435 EditableTextUses:23 27Used by:437
Symbol 436 EditableTextUses:23 27Used by:437
Symbol 437 ButtonUses:123 434 125 435 127 436Used by:442
Symbol 438 FontUsed by:439
Symbol 439 TextUses:438Used by:442
Symbol 440 TextUses:23Used by:442
Symbol 441 TextUses:23Used by:442
Symbol 442 MovieClip {RestartScreen}Uses:433 437 439 48 440 441 401
Symbol 443 GraphicUsed by:446
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClipUses:444Used by:446
Symbol 446 MovieClip {TimeBar}Uses:443 445
Symbol 447 EditableTextUses:41 166Used by:448
Symbol 448 MovieClip {Score}Uses:447
Symbol 449 GraphicUsed by:462
Symbol 450 GraphicUsed by:462
Symbol 451 EditableTextUses:41 166Used by:462
Symbol 452 EditableTextUses:41 166Used by:462
Symbol 453 EditableTextUses:41 166Used by:462
Symbol 454 TextUses:23Used by:462
Symbol 455 GraphicUsed by:461
Symbol 456 EditableTextUses:23 27Used by:461
Symbol 457 GraphicUsed by:461
Symbol 458 EditableTextUses:23 27Used by:461
Symbol 459 GraphicUsed by:461
Symbol 460 EditableTextUses:23 27Used by:461
Symbol 461 ButtonUses:455 456 457 458 459 460Used by:462
Symbol 462 MovieClip {CampaignCompleted}Uses:449 314 450 451 452 453 454 461 255
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClip {Ball3}Uses:463
Symbol 465 GraphicUsed by:466
Symbol 466 MovieClip {Ball6}Uses:465
Symbol 467 GraphicUsed by:468
Symbol 468 MovieClip {Ball5}Uses:467
Symbol 469 GraphicUsed by:470
Symbol 470 MovieClip {Ball4}Uses:469
Symbol 471 GraphicUsed by:472
Symbol 472 MovieClip {Ball1}Uses:471
Symbol 473 GraphicUsed by:474
Symbol 474 MovieClip {Ball2}Uses:473
Symbol 475 MovieClip {Achievements}
Symbol 476 MovieClip {Hero}
Symbol 477 GraphicUsed by:478
Symbol 478 MovieClip {Particle}Uses:477
Symbol 479 MovieClip {GamePlay}
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:482
Symbol 482 MovieClip {com.mindjolt.api.as3.MindJoltAPI}Uses:481Used by:Timeline

Instance Names

"splash"Symbol 10 MovieClip {Preloader} Frame 1Symbol 9 Button {FrosmoSplash}
"back"Symbol 49 MovieClip {Credits} Frame 1Symbol 33 Button
"startB"Symbol 49 MovieClip {Credits} Frame 1Symbol 40 Button
"back"Symbol 97 MovieClip {Instructions} Frame 1Symbol 86 Button
"startB"Symbol 97 MovieClip {Instructions} Frame 1Symbol 93 Button
"startBut"Symbol 151 MovieClip {IntroScreen} Frame 1Symbol 122 Button
"instructionsBut"Symbol 151 MovieClip {IntroScreen} Frame 1Symbol 129 Button
"creditsBut"Symbol 151 MovieClip {IntroScreen} Frame 1Symbol 136 Button
"options"Symbol 151 MovieClip {IntroScreen} Frame 1Symbol 143 Button
"freePlayBut"Symbol 151 MovieClip {IntroScreen} Frame 1Symbol 149 Button
"novice"Symbol 196 MovieClip {CampaignScreen} Frame 1Symbol 164 Button {NoviceBut}
"normal"Symbol 196 MovieClip {CampaignScreen} Frame 1Symbol 174 Button {NormalBut}
"hard"Symbol 196 MovieClip {CampaignScreen} Frame 1Symbol 181 Button {HardBut}
"expert"Symbol 196 MovieClip {CampaignScreen} Frame 1Symbol 188 Button
"impossible"Symbol 196 MovieClip {CampaignScreen} Frame 1Symbol 195 Button
"restart"Symbol 210 MovieClip {InfoRotateBall} Frame 1Symbol 209 Button
"restart"Symbol 214 MovieClip {InfoSizeBall} Frame 1Symbol 209 Button
"restart"Symbol 218 MovieClip {InfoScoreBall} Frame 1Symbol 209 Button
"restart"Symbol 222 MovieClip {InfoTimeBall} Frame 1Symbol 209 Button
"restart"Symbol 226 MovieClip {InfoSlowBall} Frame 1Symbol 209 Button
"restart"Symbol 230 MovieClip {InfoBadBall} Frame 1Symbol 209 Button
"best"Symbol 256 MovieClip {EndScreen} Frame 1Symbol 233 EditableText
"options"Symbol 256 MovieClip {EndScreen} Frame 1Symbol 241 Button
"restart"Symbol 256 MovieClip {EndScreen} Frame 1Symbol 248 Button
"menu"Symbol 256 MovieClip {EndScreen} Frame 1Symbol 255 Button {OkBut}
"musicOn"Symbol 301 MovieClip {OptionScreen} Frame 1Symbol 280 Button
"musicOff"Symbol 301 MovieClip {OptionScreen} Frame 1Symbol 287 Button
"main"Symbol 301 MovieClip {OptionScreen} Frame 1Symbol 294 Button
"start"Symbol 301 MovieClip {OptionScreen} Frame 1Symbol 300 Button
"onBut"Symbol 301 MovieClip {OptionScreen} Frame 1Symbol 280 Button
"offBut"Symbol 301 MovieClip {OptionScreen} Frame 1Symbol 287 Button
"yes"Symbol 396 MovieClip {InGameMainMenu} Frame 1Symbol 388 Button
"no"Symbol 396 MovieClip {InGameMainMenu} Frame 1Symbol 395 Button
"main"Symbol 418 MovieClip {InGameMenu} Frame 1Symbol 255 Button {OkBut}
"start"Symbol 418 MovieClip {InGameMenu} Frame 1Symbol 401 Button
"onBut"Symbol 418 MovieClip {InGameMenu} Frame 1Symbol 409 Button
"offBut"Symbol 418 MovieClip {InGameMenu} Frame 1Symbol 416 Button
"musicOn"Symbol 418 MovieClip {InGameMenu} Frame 1Symbol 409 Button
"musicOff"Symbol 418 MovieClip {InGameMenu} Frame 1Symbol 416 Button
"best"Symbol 431 MovieClip {LevelPassedScreen} Frame 1Symbol 419 EditableText
"totalBest"Symbol 431 MovieClip {LevelPassedScreen} Frame 1Symbol 420 EditableText
"passed"Symbol 431 MovieClip {LevelPassedScreen} Frame 1Symbol 421 EditableText
"score"Symbol 431 MovieClip {LevelPassedScreen} Frame 1Symbol 422 EditableText
"options"Symbol 431 MovieClip {LevelPassedScreen} Frame 1Symbol 430 Button
"start"Symbol 431 MovieClip {LevelPassedScreen} Frame 1Symbol 401 Button
"options"Symbol 442 MovieClip {RestartScreen} Frame 1Symbol 437 Button
"restart"Symbol 442 MovieClip {RestartScreen} Frame 1Symbol 401 Button
"bar"Symbol 446 MovieClip {TimeBar} Frame 1Symbol 445 MovieClip
"score"Symbol 448 MovieClip {Score} Frame 1Symbol 447 EditableText
"score"Symbol 462 MovieClip {CampaignCompleted} Frame 1Symbol 451 EditableText
"campaign"Symbol 462 MovieClip {CampaignCompleted} Frame 1Symbol 452 EditableText
"best"Symbol 462 MovieClip {CampaignCompleted} Frame 1Symbol 453 EditableText
"next"Symbol 462 MovieClip {CampaignCompleted} Frame 1Symbol 461 Button
"ok"Symbol 462 MovieClip {CampaignCompleted} Frame 1Symbol 255 Button {OkBut}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/19/92962/info.shtml
Created: 27/3 -2019 04:45:51 Last modified: 27/3 -2019 04:45:51 Server time: 14/11 -2024 23:51:33