Section 1
//AdLoader (CPMStar.AdLoader)
package CPMStar {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public class AdLoader {
private static var cpmstarLoader:Loader;
public static function LoadAd(_arg1:int, _arg2:int):DisplayObject{
var _local3:String;
Security.allowDomain("server.cpmstar.com");
_local3 = "http://server.cpmstar.com/adviewas3.swf";
cpmstarLoader = new Loader();
cpmstarLoader.load(new URLRequest(((((_local3 + "?poolid=") + _arg1) + "&subpoolid=") + _arg2)));
return (cpmstarLoader);
}
}
}//package CPMStar
Section 2
//Regular (fl.transitions.easing.Regular)
package fl.transitions.easing {
public class Regular {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package fl.transitions.easing
Section 3
//Strong (fl.transitions.easing.Strong)
package fl.transitions.easing {
public class Strong {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package fl.transitions.easing
Section 4
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var
:Number;// = NAN
public var :Number;// = NAN
public var :Number;// = NAN
public var isPlaying:Boolean;// = false
public var :Number;// = NAN
private var :Number;// = NAN
private var :Number;// = NAN
public var
:Number;// = NAN
private var :Number;// = NAN
public var
:Boolean;// = false
private var :uint;// = 0
public var :Function;
private var :Timer;// = null
private var :Number;// = NAN
public var :String;// = ""
private var :Number;// = NAN
public var
:Object;// = null
public var :Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
isPlaying = false;
= null;
= "";
= function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
= NaN;
= NaN;
= false;
= NaN;
= NaN;
= false;
= NaN;
= NaN;
= NaN;
= NaN;
= NaN;
= 0;
= NaN;
= null;
super();
if (!arguments.length){
return;
};
this.
= _arg1;
this. = _arg2;
this. = _arg4;
this.position = _arg4;
this.duration = _arg6;
this. = _arg7;
if ((_arg3 is Function)){
this. = _arg3;
};
this.finish = _arg5;
this. = new Timer(100);
this.start();
}
public function (_arg1:Number, _arg2:Number):void{
this. = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function stop():void{
this.();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this., this.
));
}
private function ():void{
if (this.){
this. = (getTimer() - (this. * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean;
_local2 = this.isPlaying;
this.();
this. = _arg1;
if (_local2){
this.();
};
}
public function get finish():Number{
return ((this. + this.
));
}
public function get duration():Number{
return (this. );
}
protected function ():void{
var _local1:Number;
if (isNaN(this.)){
_mc.addEventListener(Event.ENTER_FRAME, this.
, false, 0, true);
} else {
_local1 = (1000 / this.);
this..delay = _local1;
this..addEventListener(TimerEvent.TIMER, this., false, 0, true);
this..start();
};
this.isPlaying = true;
}
public function set time(_arg1:Number):void{
this. = this.;
if (_arg1 > this.duration){
if (this.
){
this.((_arg1 - this. ));
this.();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this., this.
));
} else {
if (this.){
this. = this. ;
this.();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this., this.
));
};
} else {
if (_arg1 < 0){
this.();
this.();
} else {
this. = _arg1;
this.();
};
};
}
protected function ():void{
if (isNaN(this.)){
_mc.removeEventListener(Event.ENTER_FRAME, this.
);
} else {
this..stop();
};
this.isPlaying = false;
}
public function (_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this.;
};
return (this.(_arg1, this., this.
, this. ));
}
public function set finish(_arg1:Number):void{
this.
= (_arg1 - this.);
}
public function set duration(_arg1:Number):void{
this. = ((_arg1)<=0) ? Infinity : _arg1;
}
public function (_arg1:Number):void{
this. = this.
;
if (this..length){
this.
[this.] = (this.
= _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this., this.
));
}
public function ():void{
this. ();
this.();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this., this.
));
}
public function ():void{
this.time = this. ;
this. ();
}
protected function
(_arg1:Event):void{
this.();
}
public function get position():Number{
return (this.(this.));
}
public function ():void{
this.(this., this.time);
}
public function ():void{
if (this.){
this.time = ((getTimer() - this.) / 1000);
} else {
this.time = (this. + 1);
};
}
protected function (_arg1:TimerEvent):void{
this.();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this.);
}
public function (_arg1:Number=0):void{
this. = _arg1;
this. ();
this.();
}
public function set position(_arg1:Number):void{
this.(_arg1);
}
public function get time():Number{
return (this.);
}
private function ():void{
this.(this.(this.));
}
public function start():void{
this.();
this.();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this., this.
));
}
public function ():void{
if (!this.){
this.time = (this. - 1);
};
}
}
}//package fl.transitions
Section 5
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
time = NaN;
position = NaN;
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 6
//addToWebsite_34 (gawpsters_fla.addToWebsite_34)
package gawpsters_fla {
import flash.display.*;
public dynamic class addToWebsite_34 extends MovieClip {
public function addToWebsite_34(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 7
//addToWebsiteOut_36 (gawpsters_fla.addToWebsiteOut_36)
package gawpsters_fla {
import flash.display.*;
public dynamic class addToWebsiteOut_36 extends MovieClip {
public function addToWebsiteOut_36(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 8
//addToWebsiteOver_35 (gawpsters_fla.addToWebsiteOver_35)
package gawpsters_fla {
import flash.display.*;
public dynamic class addToWebsiteOver_35 extends MovieClip {
public function addToWebsiteOver_35(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 9
//animEyesBlue_27 (gawpsters_fla.animEyesBlue_27)
package gawpsters_fla {
import flash.display.*;
public dynamic class animEyesBlue_27 extends MovieClip {
public function animEyesBlue_27(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 10
//animEyesGreen_29 (gawpsters_fla.animEyesGreen_29)
package gawpsters_fla {
import flash.display.*;
public dynamic class animEyesGreen_29 extends MovieClip {
public function animEyesGreen_29(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 11
//animEyesRed_28 (gawpsters_fla.animEyesRed_28)
package gawpsters_fla {
import flash.display.*;
public dynamic class animEyesRed_28 extends MovieClip {
public function animEyesRed_28(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 12
//anticollisionShortInstructions_166 (gawpsters_fla.anticollisionShortInstructions_166)
package gawpsters_fla {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.ui.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class anticollisionShortInstructions_166 extends MovieClip {
public const COLORS_EXP_3:Array;
public var greenGawp1:MovieClip;
public var greenGawp2:MovieClip;
public var greenGawp4:MovieClip;
public var blueGawp2:MovieClip;
public var greenGawp3:MovieClip;
public var finder:Finder;
public var specialColors:Array;
public var rect_2:Rectangle;
public var rect_3:Rectangle;
public var rect_4:Rectangle;
public var multiplier:MovieClip;
public var rect_1:Rectangle;
public function anticollisionShortInstructions_166(){
COLORS_EXP_3 = [[12317877, 7858794, 2399254, 3066653, 7790218, 13169359], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
super();
addFrameScript(0, frame1, 58, frame59, 83, frame84, 108, frame109, 154, frame155, 160, frame161, 200, frame201);
}
function frame155(){
multiplier.gotoAndPlay(2);
}
function frame84(){
greenGawp2.expression.gotoAndPlay("highlighted");
greenGawp2.highlighted.gotoAndStop(2);
}
function frame201(){
greenGawp1.expression.gotoAndStop(1);
greenGawp1.highlighted.gotoAndStop(1);
greenGawp2.expression.gotoAndStop(1);
greenGawp2.highlighted.gotoAndStop(1);
greenGawp3.expression.gotoAndStop(1);
greenGawp3.highlighted.gotoAndStop(1);
greenGawp4.expression.gotoAndStop(1);
greenGawp4.highlighted.gotoAndStop(1);
rect_1 = new Rectangle(212.4, 14.5, 40, 40);
rect_2 = new Rectangle(113, 82, 40, 40);
rect_3 = new Rectangle(27.5, 75.2, 40, 40);
rect_4 = new Rectangle(364.4, 26, 40, 40);
specialColors = COLORS_EXP_3;
new ExplosionEffect(this, rect_1, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_2, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_3, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_4, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
}
function frame1(){
finder.gotoAndStop(3);
multiplier.gotoAndStop(1);
}
function frame109(){
greenGawp3.expression.gotoAndPlay("highlighted");
greenGawp3.highlighted.gotoAndStop(2);
}
function frame161(){
greenGawp4.expression.gotoAndPlay("highlighted");
greenGawp4.highlighted.gotoAndStop(2);
}
function frame59(){
greenGawp1.expression.gotoAndPlay("highlighted");
greenGawp1.highlighted.gotoAndStop(2);
}
}
}//package gawpsters_fla
Section 13
//anticollisionTut_103 (gawpsters_fla.anticollisionTut_103)
package gawpsters_fla {
import flash.display.*;
public dynamic class anticollisionTut_103 extends MovieClip {
public function anticollisionTut_103(){
addFrameScript(0, frame1, 11, );
}
function (){
stop();
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 14
//back_47 (gawpsters_fla.back_47)
package gawpsters_fla {
import flash.display.*;
public dynamic class back_47 extends MovieClip {
public function back_47(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 15
//backBtn_30 (gawpsters_fla.backBtn_30)
package gawpsters_fla {
import flash.display.*;
public dynamic class backBtn_30 extends MovieClip {
public function backBtn_30(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 16
//backBtnOut_32 (gawpsters_fla.backBtnOut_32)
package gawpsters_fla {
import flash.display.*;
public dynamic class backBtnOut_32 extends MovieClip {
public function backBtnOut_32(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 17
//backBtnOver_31 (gawpsters_fla.backBtnOver_31)
package gawpsters_fla {
import flash.display.*;
public dynamic class backBtnOver_31 extends MovieClip {
public function backBtnOver_31(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 18
//backgroundWindow_130 (gawpsters_fla.backgroundWindow_130)
package gawpsters_fla {
import flash.display.*;
public dynamic class backgroundWindow_130 extends MovieClip {
public function backgroundWindow_130(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 19
//backOut_49 (gawpsters_fla.backOut_49)
package gawpsters_fla {
import flash.display.*;
public dynamic class backOut_49 extends MovieClip {
public function backOut_49(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 20
//backOver_48 (gawpsters_fla.backOver_48)
package gawpsters_fla {
import flash.display.*;
public dynamic class backOver_48 extends MovieClip {
public function backOver_48(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 21
//bigGawpsterTut_107 (gawpsters_fla.bigGawpsterTut_107)
package gawpsters_fla {
import flash.display.*;
public dynamic class bigGawpsterTut_107 extends MovieClip {
public var highlighted:MovieClip;
public var expression:MovieClip;
}
}//package gawpsters_fla
Section 22
//blueGawpsterTut_95 (gawpsters_fla.blueGawpsterTut_95)
package gawpsters_fla {
import flash.display.*;
public dynamic class blueGawpsterTut_95 extends MovieClip {
public var highlighted:MovieClip;
public var expression:MovieClip;
}
}//package gawpsters_fla
Section 23
//bonus_9 (gawpsters_fla.bonus_9)
package gawpsters_fla {
import flash.display.*;
public dynamic class bonus_9 extends MovieClip {
public function bonus_9(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 24
//bonusMc_8 (gawpsters_fla.bonusMc_8)
package gawpsters_fla {
import flash.display.*;
public dynamic class bonusMc_8 extends MovieClip {
public var bonus:MovieClip;
public function bonusMc_8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 25
//checkbox_163 (gawpsters_fla.checkbox_163)
package gawpsters_fla {
import flash.display.*;
public dynamic class checkbox_163 extends MovieClip {
public function checkbox_163(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 26
//chooseMode_46 (gawpsters_fla.chooseMode_46)
package gawpsters_fla {
import flash.display.*;
public dynamic class chooseMode_46 extends MovieClip {
public function chooseMode_46(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 27
//closeAd_4 (gawpsters_fla.closeAd_4)
package gawpsters_fla {
import flash.display.*;
public dynamic class closeAd_4 extends MovieClip {
public function closeAd_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 28
//cloud1_151 (gawpsters_fla.cloud1_151)
package gawpsters_fla {
import flash.display.*;
public dynamic class cloud1_151 extends MovieClip {
public function cloud1_151(){
addFrameScript(59,
);
}
function
(){
stop();
}
}
}//package gawpsters_fla
Section 29
//cloud2_152 (gawpsters_fla.cloud2_152)
package gawpsters_fla {
import flash.display.*;
public dynamic class cloud2_152 extends MovieClip {
public function cloud2_152(){
addFrameScript(84,
);
}
function
(){
stop();
}
}
}//package gawpsters_fla
Section 30
//cloud3_153 (gawpsters_fla.cloud3_153)
package gawpsters_fla {
import flash.display.*;
public dynamic class cloud3_153 extends MovieClip {
public function cloud3_153(){
addFrameScript(85,
);
}
function
(){
stop();
}
}
}//package gawpsters_fla
Section 31
//cloud4_154 (gawpsters_fla.cloud4_154)
package gawpsters_fla {
import flash.display.*;
public dynamic class cloud4_154 extends MovieClip {
public function cloud4_154(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package gawpsters_fla
Section 32
//cloud5_155 (gawpsters_fla.cloud5_155)
package gawpsters_fla {
import flash.display.*;
public dynamic class cloud5_155 extends MovieClip {
public function cloud5_155(){
addFrameScript(64,
);
}
function
(){
stop();
}
}
}//package gawpsters_fla
Section 33
//cloud6_156 (gawpsters_fla.cloud6_156)
package gawpsters_fla {
import flash.display.*;
public dynamic class cloud6_156 extends MovieClip {
public function cloud6_156(){
addFrameScript(79, frame80);
}
function frame80(){
stop();
}
}
}//package gawpsters_fla
Section 34
//cloud7_157 (gawpsters_fla.cloud7_157)
package gawpsters_fla {
import flash.display.*;
public dynamic class cloud7_157 extends MovieClip {
public function cloud7_157(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package gawpsters_fla
Section 35
//collectHeart_115 (gawpsters_fla.collectHeart_115)
package gawpsters_fla {
import flash.display.*;
import flash.text.*;
public dynamic class collectHeart_115 extends MovieClip {
public var lifeTxt:TextField;
}
}//package gawpsters_fla
Section 36
//collectLife_114 (gawpsters_fla.collectLife_114)
package gawpsters_fla {
import flash.display.*;
public dynamic class collectLife_114 extends MovieClip {
public var collectHeart:MovieClip;
public function collectLife_114(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 37
//expression_109 (gawpsters_fla.expression_109)
package gawpsters_fla {
import flash.display.*;
public dynamic class expression_109 extends MovieClip {
public function expression_109(){
addFrameScript(0, frame1, 24, frame25, 88, );
}
function (){
gotoAndPlay("repeat");
}
function frame1(){
stop();
}
function frame25(){
stop();
}
}
}//package gawpsters_fla
Section 38
//expression_143 (gawpsters_fla.expression_143)
package gawpsters_fla {
import flash.display.*;
public dynamic class expression_143 extends MovieClip {
public function expression_143(){
addFrameScript(0, frame1, 24, frame25, 44, );
}
function frame1(){
stop();
}
function frame25(){
stop();
}
function (){
gotoAndPlay("repeat");
}
}
}//package gawpsters_fla
Section 39
//expression_80 (gawpsters_fla.expression_80)
package gawpsters_fla {
import flash.display.*;
public dynamic class expression_80 extends MovieClip {
public function expression_80(){
addFrameScript(0, frame1, 24, frame25, 65, frame66);
}
function frame1(){
stop();
}
function frame25(){
stop();
}
function frame66(){
gotoAndPlay("repeat");
}
}
}//package gawpsters_fla
Section 40
//expression_86 (gawpsters_fla.expression_86)
package gawpsters_fla {
import flash.display.*;
public dynamic class expression_86 extends MovieClip {
public function expression_86(){
addFrameScript(0, frame1, 24, frame25, 65, frame66);
}
function frame1(){
stop();
}
function frame25(){
stop();
}
function frame66(){
gotoAndPlay("repeat");
}
}
}//package gawpsters_fla
Section 41
//expression_88 (gawpsters_fla.expression_88)
package gawpsters_fla {
import flash.display.*;
public dynamic class expression_88 extends MovieClip {
public function expression_88(){
addFrameScript(0, frame1, 24, frame25, 39, );
}
function frame1(){
stop();
}
function frame25(){
stop();
}
function (){
gotoAndPlay("repeat");
}
}
}//package gawpsters_fla
Section 42
//expression_97 (gawpsters_fla.expression_97)
package gawpsters_fla {
import flash.display.*;
public dynamic class expression_97 extends MovieClip {
public function expression_97(){
addFrameScript(0, frame1, 24, frame25, 65, frame66);
}
function frame1(){
stop();
}
function frame25(){
stop();
}
function frame66(){
gotoAndPlay("repeat");
}
}
}//package gawpsters_fla
Section 43
//extraPoints2_171 (gawpsters_fla.extraPoints2_171)
package gawpsters_fla {
import flash.display.*;
import flash.text.*;
public dynamic class extraPoints2_171 extends MovieClip {
public var points:TextField;
}
}//package gawpsters_fla
Section 44
//gameMenu_33 (gawpsters_fla.gameMenu_33)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameMenu_33 extends MovieClip {
public var backBtn:MovieClip;
public var gameMode1:MovieClip;
public var gameMode2:MovieClip;
public var highscoresBtn:MovieClip;
public var chooseMode:MovieClip;
public var instructionsBtn:MovieClip;
public var newGameBtn:MovieClip;
public var playMoreGamesBtn:MovieClip;
public function gameMenu_33(){
addFrameScript(72, , 133,
, 209,
);
}
function (){
stop();
}
function
(){
stop();
}
function
(){
stop();
}
}
}//package gawpsters_fla
Section 45
//gameMode1_53 (gawpsters_fla.gameMode1_53)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameMode1_53 extends MovieClip {
public function gameMode1_53(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 46
//gameMode1Out_55 (gawpsters_fla.gameMode1Out_55)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameMode1Out_55 extends MovieClip {
public function gameMode1Out_55(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 47
//gameMode1Over_54 (gawpsters_fla.gameMode1Over_54)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameMode1Over_54 extends MovieClip {
public function gameMode1Over_54(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 48
//gameMode2_50 (gawpsters_fla.gameMode2_50)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameMode2_50 extends MovieClip {
public function gameMode2_50(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 49
//gameMode2Out_52 (gawpsters_fla.gameMode2Out_52)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameMode2Out_52 extends MovieClip {
public function gameMode2Out_52(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 50
//gameMode2Over_51 (gawpsters_fla.gameMode2Over_51)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameMode2Over_51 extends MovieClip {
public function gameMode2Over_51(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 51
//gameModeTxt_181 (gawpsters_fla.gameModeTxt_181)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameModeTxt_181 extends MovieClip {
public function gameModeTxt_181(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 52
//gameSummaryTxt_135 (gawpsters_fla.gameSummaryTxt_135)
package gawpsters_fla {
import flash.display.*;
public dynamic class gameSummaryTxt_135 extends MovieClip {
public function gameSummaryTxt_135(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 53
//greenGawpsterTut_84 (gawpsters_fla.greenGawpsterTut_84)
package gawpsters_fla {
import flash.display.*;
public dynamic class greenGawpsterTut_84 extends MovieClip {
public var highlighted:MovieClip;
public var expression:MovieClip;
}
}//package gawpsters_fla
Section 54
//greyGawpsterTut_87 (gawpsters_fla.greyGawpsterTut_87)
package gawpsters_fla {
import flash.display.*;
public dynamic class greyGawpsterTut_87 extends MovieClip {
public var highlighted:MovieClip;
public var expression:MovieClip;
}
}//package gawpsters_fla
Section 55
//handCursor_81 (gawpsters_fla.handCursor_81)
package gawpsters_fla {
import flash.display.*;
public dynamic class handCursor_81 extends MovieClip {
public function handCursor_81(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 56
//heartMC_14 (gawpsters_fla.heartMC_14)
package gawpsters_fla {
import flash.display.*;
public dynamic class heartMC_14 extends MovieClip {
public function heartMC_14(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 57
//high_121 (gawpsters_fla.high_121)
package gawpsters_fla {
import flash.display.*;
public dynamic class high_121 extends MovieClip {
public function high_121(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 58
//highlighted_108 (gawpsters_fla.highlighted_108)
package gawpsters_fla {
import flash.display.*;
public dynamic class highlighted_108 extends MovieClip {
public function highlighted_108(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 59
//highlighted_142 (gawpsters_fla.highlighted_142)
package gawpsters_fla {
import flash.display.*;
public dynamic class highlighted_142 extends MovieClip {
public function highlighted_142(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 60
//highlighted_79 (gawpsters_fla.highlighted_79)
package gawpsters_fla {
import flash.display.*;
public dynamic class highlighted_79 extends MovieClip {
public function highlighted_79(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 61
//highlighted_85 (gawpsters_fla.highlighted_85)
package gawpsters_fla {
import flash.display.*;
public dynamic class highlighted_85 extends MovieClip {
public function highlighted_85(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 62
//highlighted_96 (gawpsters_fla.highlighted_96)
package gawpsters_fla {
import flash.display.*;
public dynamic class highlighted_96 extends MovieClip {
public function highlighted_96(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 63
//highscores_37 (gawpsters_fla.highscores_37)
package gawpsters_fla {
import flash.display.*;
public dynamic class highscores_37 extends MovieClip {
public function highscores_37(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 64
//highscoresOut_39 (gawpsters_fla.highscoresOut_39)
package gawpsters_fla {
import flash.display.*;
public dynamic class highscoresOut_39 extends MovieClip {
public function highscoresOut_39(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 65
//highscoresOver_38 (gawpsters_fla.highscoresOver_38)
package gawpsters_fla {
import flash.display.*;
public dynamic class highscoresOver_38 extends MovieClip {
public function highscoresOver_38(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 66
//instructions_40 (gawpsters_fla.instructions_40)
package gawpsters_fla {
import flash.display.*;
public dynamic class instructions_40 extends MovieClip {
public function instructions_40(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 67
//instructionsOut_42 (gawpsters_fla.instructionsOut_42)
package gawpsters_fla {
import flash.display.*;
public dynamic class instructionsOut_42 extends MovieClip {
public function instructionsOut_42(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 68
//instructionsOver_41 (gawpsters_fla.instructionsOver_41)
package gawpsters_fla {
import flash.display.*;
public dynamic class instructionsOver_41 extends MovieClip {
public function instructionsOver_41(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 69
//instructionTxt_129 (gawpsters_fla.instructionTxt_129)
package gawpsters_fla {
import flash.display.*;
public dynamic class instructionTxt_129 extends MovieClip {
public function instructionTxt_129(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 70
//lifeBigGawpsterTut_110 (gawpsters_fla.lifeBigGawpsterTut_110)
package gawpsters_fla {
import flash.display.*;
public dynamic class lifeBigGawpsterTut_110 extends MovieClip {
public function lifeBigGawpsterTut_110(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 71
//linesWindow_131 (gawpsters_fla.linesWindow_131)
package gawpsters_fla {
import flash.display.*;
public dynamic class linesWindow_131 extends MovieClip {
public function linesWindow_131(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 72
//livesBonus_113 (gawpsters_fla.livesBonus_113)
package gawpsters_fla {
import flash.display.*;
import flash.text.*;
public dynamic class livesBonus_113 extends MovieClip {
public var livesBonusTxt:TextField;
public function livesBonus_113(){
addFrameScript(0, frame1, 19, frame20);
}
function frame1(){
stop();
}
function frame20(){
stop();
}
}
}//package gawpsters_fla
Section 73
//lostLifeTut_92 (gawpsters_fla.lostLifeTut_92)
package gawpsters_fla {
import flash.display.*;
public dynamic class lostLifeTut_92 extends MovieClip {
public function lostLifeTut_92(){
addFrameScript(22, frame23);
}
function frame23(){
stop();
}
}
}//package gawpsters_fla
Section 74
//modeTxt_128 (gawpsters_fla.modeTxt_128)
package gawpsters_fla {
import flash.display.*;
public dynamic class modeTxt_128 extends MovieClip {
public function modeTxt_128(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 75
//musicBtn_124 (gawpsters_fla.musicBtn_124)
package gawpsters_fla {
import flash.display.*;
public dynamic class musicBtn_124 extends MovieClip {
public var musicMode:MovieClip;
public function musicBtn_124(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 76
//newGame_43 (gawpsters_fla.newGame_43)
package gawpsters_fla {
import flash.display.*;
public dynamic class newGame_43 extends MovieClip {
public function newGame_43(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 77
//newGameOut_45 (gawpsters_fla.newGameOut_45)
package gawpsters_fla {
import flash.display.*;
public dynamic class newGameOut_45 extends MovieClip {
public function newGameOut_45(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 78
//newGameOver_44 (gawpsters_fla.newGameOver_44)
package gawpsters_fla {
import flash.display.*;
public dynamic class newGameOver_44 extends MovieClip {
public function newGameOver_44(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 79
//nextBtn_71 (gawpsters_fla.nextBtn_71)
package gawpsters_fla {
import flash.display.*;
public dynamic class nextBtn_71 extends MovieClip {
public function nextBtn_71(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 80
//nextBtnOut_73 (gawpsters_fla.nextBtnOut_73)
package gawpsters_fla {
import flash.display.*;
public dynamic class nextBtnOut_73 extends MovieClip {
public function nextBtnOut_73(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 81
//nextBtnOver_72 (gawpsters_fla.nextBtnOver_72)
package gawpsters_fla {
import flash.display.*;
public dynamic class nextBtnOver_72 extends MovieClip {
public function nextBtnOver_72(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 82
//nicknameSubmit_136 (gawpsters_fla.nicknameSubmit_136)
package gawpsters_fla {
import flash.display.*;
import flash.text.*;
public dynamic class nicknameSubmit_136 extends MovieClip {
public var nicknameTxt:TextField;
public function nicknameSubmit_136(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 83
//on_123 (gawpsters_fla.on_123)
package gawpsters_fla {
import flash.display.*;
public dynamic class on_123 extends MovieClip {
public function on_123(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 84
//playBtn_1 (gawpsters_fla.playBtn_1)
package gawpsters_fla {
import flash.display.*;
public dynamic class playBtn_1 extends MovieClip {
public function playBtn_1(){
addFrameScript(0, frame1, 31,
);
}
function frame1(){
stop();
}
function
(){
stop();
}
}
}//package gawpsters_fla
Section 85
//point_82 (gawpsters_fla.point_82)
package gawpsters_fla {
import flash.display.*;
public dynamic class point_82 extends MovieClip {
public function point_82(){
addFrameScript(20, );
}
function (){
stop();
}
}
}//package gawpsters_fla
Section 86
//point2_83 (gawpsters_fla.point2_83)
package gawpsters_fla {
import flash.display.*;
public dynamic class point2_83 extends MovieClip {
public function point2_83(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package gawpsters_fla
Section 87
//pointsCombination2_179 (gawpsters_fla.pointsCombination2_179)
package gawpsters_fla {
import flash.display.*;
import flash.text.*;
public dynamic class pointsCombination2_179 extends MovieClip {
public var points:TextField;
}
}//package gawpsters_fla
Section 88
//previousBtn_68 (gawpsters_fla.previousBtn_68)
package gawpsters_fla {
import flash.display.*;
public dynamic class previousBtn_68 extends MovieClip {
public function previousBtn_68(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 89
//previousBtnOut_70 (gawpsters_fla.previousBtnOut_70)
package gawpsters_fla {
import flash.display.*;
public dynamic class previousBtnOut_70 extends MovieClip {
public function previousBtnOut_70(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 90
//previousBtnOver_69 (gawpsters_fla.previousBtnOver_69)
package gawpsters_fla {
import flash.display.*;
public dynamic class previousBtnOver_69 extends MovieClip {
public function previousBtnOver_69(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package gawpsters_fla
Section 91
//progressBar_3 (gawpsters_fla.progressBar_3)
package gawpsters_fla {
import flash.display.*;
public dynamic class progressBar_3 extends MovieClip {
public function progressBar_3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 92
//qualityBtn_120 (gawpsters_fla.qualityBtn_120)
package gawpsters_fla {
import flash.display.*;
public dynamic class qualityBtn_120 extends MovieClip {
public var qualityMode:MovieClip;
public function qualityBtn_120(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 93
//reasonMessage_149 (gawpsters_fla.reasonMessage_149)
package gawpsters_fla {
import flash.display.*;
public dynamic class reasonMessage_149 extends MovieClip {
public function reasonMessage_149(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 94
//redGawpsterTut_78 (gawpsters_fla.redGawpsterTut_78)
package gawpsters_fla {
import flash.display.*;
public dynamic class redGawpsterTut_78 extends MovieClip {
public var highlighted:MovieClip;
public var expression:MovieClip;
}
}//package gawpsters_fla
Section 95
//remiGamesIntro_150 (gawpsters_fla.remiGamesIntro_150)
package gawpsters_fla {
import flash.display.*;
public dynamic class remiGamesIntro_150 extends MovieClip {
public function remiGamesIntro_150(){
addFrameScript(0, frame1, 199, );
}
function (){
stop();
GameMain(parent).initTheGame();
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 96
//shortInstructionsBtn_126 (gawpsters_fla.shortInstructionsBtn_126)
package gawpsters_fla {
import flash.display.*;
public dynamic class shortInstructionsBtn_126 extends MovieClip {
public var quickHelpMode:MovieClip;
public function shortInstructionsBtn_126(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 97
//situation1_76 (gawpsters_fla.situation1_76)
package gawpsters_fla {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.ui.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class situation1_76 extends MovieClip {
public const COLORS_EXP_1:Array;
public var finder:Finder;
public var redGawp2:MovieClip;
public var redGawp3:MovieClip;
public var redGawp:MovieClip;
public var specialColors:Array;
public var rect_2:Rectangle;
public var rect_3:Rectangle;
public var rect_1:Rectangle;
public var redGawp1:MovieClip;
public var greyGawp:MovieClip;
public var handCursor:MovieClip;
public var greenGawp:MovieClip;
public function situation1_76(){
COLORS_EXP_1 = [[16694418, 16684110, 13784322, 16739843, 15767387, 16372409], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
super();
addFrameScript(0, frame1, 22, frame23, 38, frame39, 58, frame59, 78,
, 104, , 113, , 134, frame135, 186, , 197, , 217, , 237, , 260, , 267, , 272, );
}
function (){
handCursor.gotoAndStop(2);
}
function
(){
redGawp2.expression.gotoAndPlay("highlighted");
redGawp2.highlighted.gotoAndStop(2);
}
function (){
redGawp1.expression.gotoAndPlay("highlighted");
redGawp1.highlighted.gotoAndStop(2);
}
function (){
handCursor.gotoAndStop(2);
}
function (){
redGawp3.expression.gotoAndPlay("highlighted");
redGawp3.highlighted.gotoAndStop(2);
}
function frame23(){
handCursor.gotoAndStop(2);
}
function (){
handCursor.gotoAndStop(3);
}
function (){
handCursor.gotoAndStop(3);
redGawp1.expression.gotoAndPlay("repeat");
redGawp1.highlighted.gotoAndStop(2);
redGawp2.expression.gotoAndPlay("repeat");
redGawp2.highlighted.gotoAndStop(2);
redGawp3.expression.gotoAndPlay("repeat");
redGawp3.highlighted.gotoAndStop(2);
}
function (){
redGawp2.expression.gotoAndPlay("highlighted");
redGawp2.highlighted.gotoAndStop(2);
}
function frame1(){
handCursor.gotoAndStop(1);
}
function frame39(){
handCursor.gotoAndStop(3);
}
function frame135(){
handCursor.gotoAndStop(1);
redGawp1.expression.gotoAndStop(1);
redGawp1.highlighted.gotoAndStop(1);
redGawp2.expression.gotoAndStop(1);
redGawp2.highlighted.gotoAndStop(1);
redGawp3.expression.gotoAndStop(1);
redGawp3.highlighted.gotoAndStop(1);
rect_1 = new Rectangle(13, 23.7, 40, 40);
rect_2 = new Rectangle(69.5, 93.5, 40, 40);
rect_3 = new Rectangle(148.5, 43.5, 40, 40);
specialColors = COLORS_EXP_1;
new ExplosionEffect(this, rect_1, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_2, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_3, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
}
function frame59(){
redGawp1.expression.gotoAndPlay("highlighted");
redGawp1.highlighted.gotoAndStop(2);
}
function (){
greyGawp.expression.gotoAndPlay("exchange");
}
function (){
handCursor.gotoAndStop(2);
redGawp1.expression.gotoAndStop(1);
redGawp1.highlighted.gotoAndStop(1);
redGawp2.expression.gotoAndStop(1);
redGawp2.highlighted.gotoAndStop(1);
}
}
}//package gawpsters_fla
Section 98
//situation2_94 (gawpsters_fla.situation2_94)
package gawpsters_fla {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.ui.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class situation2_94 extends MovieClip {
public var blueGawp2:MovieClip;
public var blueGawp1:MovieClip;
public var blueGawp3:MovieClip;
public var blueGawp4:MovieClip;
public var finder:Finder;
public var handCursor:MovieClip;
public var greyGawp:MovieClip;
public function situation2_94(){
addFrameScript(0, frame1, 24, frame25, 38, frame39, 58, frame59, 79, frame80, 118, , 135, );
}
function frame80(){
blueGawp2.expression.gotoAndPlay("highlighted");
blueGawp2.highlighted.gotoAndStop(2);
}
function frame25(){
handCursor.gotoAndStop(2);
}
function frame1(){
handCursor.gotoAndStop(1);
finder.gotoAndStop(2);
}
function frame39(){
handCursor.gotoAndStop(3);
}
function (){
blueGawp4.expression.gotoAndPlay("highlighted");
blueGawp4.highlighted.gotoAndStop(2);
}
function (){
handCursor.gotoAndStop(2);
greyGawp.expression.gotoAndPlay("exchange");
blueGawp1.expression.gotoAndStop(1);
blueGawp1.highlighted.gotoAndStop(1);
blueGawp2.expression.gotoAndStop(1);
blueGawp2.highlighted.gotoAndStop(1);
blueGawp4.expression.gotoAndStop(1);
blueGawp4.highlighted.gotoAndStop(1);
}
function frame59(){
blueGawp1.expression.gotoAndPlay("highlighted");
blueGawp1.highlighted.gotoAndStop(2);
}
}
}//package gawpsters_fla
Section 99
//situation3_98 (gawpsters_fla.situation3_98)
package gawpsters_fla {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.media.*;
import splash.*;
import flash.utils.*;
import flash.filters.*;
import flash.ui.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class situation3_98 extends MovieClip {
public const COLORS_EXP_1:Array;
public var bonusMc:MovieClip;
public var finder:Finder;
public var redGawp4:MovieClip;
public var redGawp2:MovieClip;
public var redGawp3:MovieClip;
public var specialColors:Array;
public var rect_2:Rectangle;
public var rect_3:Rectangle;
public var rect_4:Rectangle;
public var rect_1:Rectangle;
public var redGawp1:MovieClip;
public var handCursor:MovieClip;
public function situation3_98(){
COLORS_EXP_1 = [[16694418, 16684110, 13784322, 16739843, 15767387, 16372409], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
super();
addFrameScript(0, frame1, 25, , 38, frame39, 58, frame59, 79, frame80, 105, , 131, frame132, 134, frame135, 155, frame156, 163,
, 166, , 169, , 204,
, 224, frame225, 245, );
}
function frame156(){
handCursor.gotoAndStop(1);
redGawp1.expression.gotoAndStop(1);
redGawp1.highlighted.gotoAndStop(1);
redGawp2.expression.gotoAndStop(1);
redGawp2.highlighted.gotoAndStop(1);
redGawp3.expression.gotoAndStop(1);
redGawp3.highlighted.gotoAndStop(1);
redGawp4.expression.gotoAndStop(1);
redGawp4.highlighted.gotoAndStop(1);
rect_1 = new Rectangle(31.8, 41.7, 40, 40);
rect_2 = new Rectangle(98, 116.1, 40, 40);
rect_3 = new Rectangle(187, 41, 40, 40);
rect_4 = new Rectangle(308.9, 53.5, 40, 40);
specialColors = COLORS_EXP_1;
new ExplosionEffect(this, rect_1, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_2, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_3, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_4, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
bonusMc.gotoAndPlay(2);
}
function
(){
new Splash(this, Element, 327.8, 65, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(this, Element, 44.8, 170.5, 1, 0, 2, -0.1, 4, 0.024);
bonusMc.gotoAndPlay(2);
}
function frame80(){
redGawp2.expression.gotoAndPlay("highlighted");
redGawp2.highlighted.gotoAndStop(2);
}
function (){
new Splash(this, Element, 315.8, 71, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(this, Element, 319.8, 69, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(this, Element, 44.8, 170.5, 1, 0, 2, -0.1, 4, 0.024);
new Splash(this, Element, 44.8, 170.5, 1, 0, 2, -0.1, 4, 0.024);
bonusMc.gotoAndPlay(2);
}
function
(){
new Splash(this, Element, 127.3, 106.5, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(this, Element, 44.8, 170.5, 1, 0, 2, -0.1, 4, 0.024);
bonusMc.gotoAndPlay(2);
}
function (){
redGawp3.expression.gotoAndPlay("highlighted");
redGawp3.highlighted.gotoAndStop(2);
}
function frame1(){
handCursor.gotoAndStop(1);
}
function frame225(){
new Splash(this, Element, 201.3, 55.8, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(this, Element, 44.8, 170.5, 1, 0, 2, -0.1, 4, 0.024);
bonusMc.gotoAndPlay(2);
}
function (){
new Splash(this, Element, 319.8, 69, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(this, Element, 44.8, 170.5, 1, 0, 2, -0.1, 4, 0.024);
bonusMc.gotoAndPlay(2);
}
function frame39(){
handCursor.gotoAndStop(3);
}
function (){
handCursor.gotoAndStop(2);
}
function frame132(){
redGawp4.expression.gotoAndPlay("highlighted");
redGawp4.highlighted.gotoAndStop(2);
}
function (){
new Splash(this, Element, 415.6, 120.3, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(this, Element, 44.8, 170.5, 1, 0, 2, -0.1, 4, 0.024);
bonusMc.gotoAndPlay(2);
}
function frame135(){
handCursor.gotoAndStop(2);
redGawp1.expression.gotoAndPlay("repeat");
redGawp1.highlighted.gotoAndStop(2);
redGawp2.expression.gotoAndPlay("repeat");
redGawp2.highlighted.gotoAndStop(2);
redGawp3.expression.gotoAndPlay("repeat");
redGawp3.highlighted.gotoAndStop(2);
redGawp4.expression.gotoAndPlay("repeat");
redGawp4.highlighted.gotoAndStop(2);
}
function frame59(){
redGawp1.expression.gotoAndPlay("highlighted");
redGawp1.highlighted.gotoAndStop(2);
}
}
}//package gawpsters_fla
Section 100
//situation4_102 (gawpsters_fla.situation4_102)
package gawpsters_fla {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.ui.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class situation4_102 extends MovieClip {
public const COLORS_EXP_3:Array;
public var greenGawp1:MovieClip;
public var greenGawp2:MovieClip;
public var greenGawp4:MovieClip;
public var blueGawp2:MovieClip;
public var greenGawp3:MovieClip;
public var finder:Finder;
public var specialColors:Array;
public var rect_2:Rectangle;
public var rect_3:Rectangle;
public var rect_4:Rectangle;
public var handCursor:MovieClip;
public var multiplier:MovieClip;
public var rect_1:Rectangle;
public function situation4_102(){
COLORS_EXP_3 = [[12317877, 7858794, 2399254, 3066653, 7790218, 13169359], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
super();
addFrameScript(0, frame1, 24, frame25, 38, frame39, 58, frame59, 83, frame84, 108, frame109, 154, frame155, 160, frame161, 180, , 200, frame201);
}
function frame155(){
multiplier.gotoAndPlay(2);
}
function frame84(){
greenGawp2.expression.gotoAndPlay("highlighted");
greenGawp2.highlighted.gotoAndStop(2);
}
function frame201(){
handCursor.gotoAndStop(1);
greenGawp1.expression.gotoAndStop(1);
greenGawp1.highlighted.gotoAndStop(1);
greenGawp2.expression.gotoAndStop(1);
greenGawp2.highlighted.gotoAndStop(1);
greenGawp3.expression.gotoAndStop(1);
greenGawp3.highlighted.gotoAndStop(1);
greenGawp4.expression.gotoAndStop(1);
greenGawp4.highlighted.gotoAndStop(1);
rect_1 = new Rectangle(212.4, 14.5, 40, 40);
rect_2 = new Rectangle(113, 82, 40, 40);
rect_3 = new Rectangle(27.5, 75.2, 40, 40);
rect_4 = new Rectangle(364.4, 26, 40, 40);
specialColors = COLORS_EXP_3;
new ExplosionEffect(this, rect_1, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_2, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_3, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_4, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
}
function (){
handCursor.gotoAndStop(3);
}
function frame1(){
handCursor.gotoAndStop(1);
finder.gotoAndStop(3);
}
function frame109(){
greenGawp3.expression.gotoAndPlay("highlighted");
greenGawp3.highlighted.gotoAndStop(2);
}
function frame25(){
handCursor.gotoAndStop(2);
}
function frame39(){
handCursor.gotoAndStop(3);
}
function frame161(){
greenGawp4.expression.gotoAndPlay("highlighted");
greenGawp4.highlighted.gotoAndStop(2);
}
function frame59(){
greenGawp1.expression.gotoAndPlay("highlighted");
greenGawp1.highlighted.gotoAndStop(2);
}
}
}//package gawpsters_fla
Section 101
//situation5_106 (gawpsters_fla.situation5_106)
package gawpsters_fla {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.ui.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class situation5_106 extends MovieClip {
public const COLORS_EXP_5:Array;
public const COLORS_EXP_1:Array;
public const COLORS_EXP_2:Array;
public var blueGawp2:MovieClip;
public var blueGawp1:MovieClip;
public var finder:Finder;
public var bigGawp2:MovieClip;
public var redGawp2:MovieClip;
public var bigGawp:MovieClip;
public var redGawp3:MovieClip;
public var specialColors:Array;
public var rect_2:Rectangle;
public var rect_3:Rectangle;
public var rect_4:Rectangle;
public var rect_1:Rectangle;
public var redGawp1:MovieClip;
public var :Rectangle;
public var handCursor:MovieClip;
public var :Rectangle;
public var lifeBigGawp:MovieClip;
public var :Rectangle;
public var :Array;
public var
:Array;
public function situation5_106(){
COLORS_EXP_1 = [[16694418, 16684110, 13784322, 16739843, 15767387, 16372409], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
COLORS_EXP_5 = [[16706987, 16702550, 15514882, 0xFFD200, 16435546, 16639925], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
COLORS_EXP_2 = [[8249064, 3984861, 171201, 48877, 6801133, 3847399], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
super();
addFrameScript(0, frame1, 24, frame25, 38, frame39, 58, frame59, 76,
, 102, , 131, frame132, 155, frame156, 158, , 159, , 178, , 200, frame201, 224, frame225, 244, , 249,
, 271, , 275,
, 293, , 294, );
}
function (){
blueGawp2.expression.gotoAndPlay("highlighted");
blueGawp2.highlighted.gotoAndStop(2);
}
function
(){
handCursor.gotoAndStop(3);
}
function frame156(){
redGawp2.expression.gotoAndPlay("highlighted");
redGawp2.highlighted.gotoAndStop(2);
}
function (){
redGawp1.expression.gotoAndPlay("repeat");
redGawp1.highlighted.gotoAndStop(2);
redGawp2.expression.gotoAndPlay("repeat");
redGawp2.highlighted.gotoAndStop(2);
redGawp3.expression.gotoAndPlay("repeat");
redGawp3.highlighted.gotoAndStop(2);
}
function
(){
bigGawp.expression.gotoAndPlay("highlighted");
bigGawp.highlighted.gotoAndStop(2);
}
function (){
handCursor.gotoAndStop(3);
}
function frame201(){
handCursor.gotoAndStop(3);
lifeBigGawp.gotoAndStop(2);
}
function (){
handCursor.gotoAndStop(1);
bigGawp.expression.gotoAndStop(1);
bigGawp.highlighted.gotoAndStop(1);
blueGawp1.expression.gotoAndStop(1);
blueGawp1.highlighted.gotoAndStop(1);
blueGawp2.expression.gotoAndStop(1);
blueGawp2.highlighted.gotoAndStop(1);
rect_4 = new Rectangle(256.2, 60.5, 40, 40);
= new Rectangle(368.2, 31, 40, 40);
= new Rectangle(175.8, 78.2, 50, 50);
= COLORS_EXP_2;
new ExplosionEffect(this, rect_4,
, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, ,
, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, , , 18, 2, 0.5, 0.38, 0.85, 0.8, 0.95, 200, 200);
}
function (){
handCursor.gotoAndStop(2);
}
function frame25(){
handCursor.gotoAndStop(2);
}
function (){
bigGawp2.expression.gotoAndPlay("highlighted");
bigGawp2.highlighted.gotoAndStop(2);
}
function frame1(){
handCursor.gotoAndStop(1);
finder.gotoAndStop(1);
}
function (){
bigGawp.expression.gotoAndPlay("damage");
bigGawp.highlighted.gotoAndStop(1);
handCursor.gotoAndStop(1);
bigGawp2.expression.gotoAndStop(1);
bigGawp2.highlighted.gotoAndStop(1);
redGawp1.expression.gotoAndStop(1);
redGawp1.highlighted.gotoAndStop(1);
redGawp2.expression.gotoAndStop(1);
redGawp2.highlighted.gotoAndStop(1);
redGawp3.expression.gotoAndStop(1);
redGawp3.highlighted.gotoAndStop(1);
rect_1 = new Rectangle(61.8, 90.3, 40, 40);
rect_2 = new Rectangle(41.5, 13, 40, 40);
rect_3 = new Rectangle(144.5, 13, 40, 40);
= new Rectangle(246.8, 95.2, 50, 50);
= COLORS_EXP_5;
specialColors = COLORS_EXP_1;
new ExplosionEffect(this, rect_1, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_2, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, rect_3, specialColors, 10, 2, 1, 0.1825, 0.85, 0.8, 0.95, 200, 200);
new ExplosionEffect(this, , , 18, 2, 0.5, 0.38, 0.85, 0.8, 0.95, 200, 200);
}
function frame225(){
bigGawp.expression.gotoAndPlay("highlighted");
bigGawp.highlighted.gotoAndStop(2);
finder.gotoAndStop(4);
}
function frame39(){
handCursor.gotoAndStop(3);
}
function frame132(){
redGawp3.expression.gotoAndPlay("highlighted");
redGawp3.highlighted.gotoAndStop(2);
}
function frame59(){
redGawp1.expression.gotoAndPlay("highlighted");
redGawp1.highlighted.gotoAndStop(2);
}
function (){
blueGawp1.expression.gotoAndPlay("highlighted");
blueGawp1.highlighted.gotoAndStop(2);
}
function
(){
finder.gotoAndStop(2);
}
}
}//package gawpsters_fla
Section 102
//situations_75 (gawpsters_fla.situations_75)
package gawpsters_fla {
import flash.display.*;
public dynamic class situations_75 extends MovieClip {
public function situations_75(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 103
//situationsTxt_74 (gawpsters_fla.situationsTxt_74)
package gawpsters_fla {
import flash.display.*;
public dynamic class situationsTxt_74 extends MovieClip {
public function situationsTxt_74(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 104
//soundBtn_122 (gawpsters_fla.soundBtn_122)
package gawpsters_fla {
import flash.display.*;
public dynamic class soundBtn_122 extends MovieClip {
public var soundMode:MovieClip;
public function soundBtn_122(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 105
//soundBtn_22 (gawpsters_fla.soundBtn_22)
package gawpsters_fla {
import flash.display.*;
public dynamic class soundBtn_22 extends MovieClip {
public function soundBtn_22(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 106
//summaryTxt_134 (gawpsters_fla.summaryTxt_134)
package gawpsters_fla {
import flash.display.*;
public dynamic class summaryTxt_134 extends MovieClip {
public function summaryTxt_134(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 107
//windowFinish_112 (gawpsters_fla.windowFinish_112)
package gawpsters_fla {
import flash.display.*;
import flash.text.*;
public dynamic class windowFinish_112 extends MovieClip {
public var instructionTxt:MovieClip;
public var lines:MovieClip;
public var gawpBlueTxt:TextField;
public var remiGamesBtn:SimpleButton;
public var levelScoreTxt:TextField;
public var gawpBonusTxt:TextField;
public var nicknameSubmit:MovieClip;
public var background:MovieClip;
public var musicBtn:MovieClip;
public var gawpRedTxt:TextField;
public var submitBtn:SimpleButton;
public var continueBtn:SimpleButton;
public var playAgainBtn:SimpleButton;
public var levelTxt:TextField;
public var livesBonus:MovieClip;
public var gawpBigTxt:TextField;
public var gawpGreyTxt:TextField;
public var flyGawpTxt:TextField;
public var collectLife:MovieClip;
public var gameSummaryTxt:MovieClip;
public var goToMenuBtn:SimpleButton;
public var playMoreGamesBtn:SimpleButton;
public var quickHelpBtn:MovieClip;
public var tryAgainBtn:SimpleButton;
public var timeBonusTxt:TextField;
public var killedTxt:TextField;
public var maxCombTxt:TextField;
public var soundBtn:MovieClip;
public var returnToGameBtn:SimpleButton;
public var gawpGreenTxt:TextField;
public var scoreTxt:TextField;
public var qualityBtn:MovieClip;
public var restartBtn:SimpleButton;
public var modeTxt:MovieClip;
public var summaryTxt:MovieClip;
public function windowFinish_112(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gawpsters_fla
Section 108
//windowInstructions_67 (gawpsters_fla.windowInstructions_67)
package gawpsters_fla {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.ui.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class windowInstructions_67 extends MovieClip {
public var
;
public var situations:MovieClip;
public var nextBtn:MovieClip;
public var situationsTxt:MovieClip;
public var ;
public var previousBtn:MovieClip;
public function windowInstructions_67(){
addFrameScript(0, frame1);
}
public function (_arg1:MouseEvent):void{
if (((!((situations.currentFrame == 5))) && (!((situations.currentFrame == 4))))){
++;
situations.gotoAndStop();
situationsTxt.gotoAndStop();
nextBtn.gotoAndStop(3);
previousBtn.gotoAndStop(2);
.playSound(arrowBtnMp3);
} else {
if (situations.currentFrame == 4){
++;
situations.gotoAndStop();
situationsTxt.gotoAndStop();
nextBtn.gotoAndStop(1);
previousBtn.gotoAndStop(2);
.playSound(arrowBtnMp3);
};
};
}
public function (_arg1:MouseEvent):void{
if (situations.currentFrame != 5){
nextBtn.gotoAndStop(4);
};
}
function frame1(){
= 1;
previousBtn.gotoAndStop(1);
nextBtn.gotoAndStop(2);
situations.gotoAndStop(1);
situationsTxt.gotoAndStop(1);
= new Sounds();
previousBtn.addEventListener(MouseEvent.CLICK, );
previousBtn.addEventListener(MouseEvent.MOUSE_OVER, );
previousBtn.addEventListener(MouseEvent.MOUSE_OUT, );
previousBtn.buttonMode = true;
previousBtn.useHandCursor = true;
previousBtn.mouseChildren = false;
nextBtn.addEventListener(MouseEvent.CLICK, );
nextBtn.addEventListener(MouseEvent.MOUSE_OVER, );
nextBtn.addEventListener(MouseEvent.MOUSE_OUT, );
nextBtn.buttonMode = true;
nextBtn.useHandCursor = true;
nextBtn.mouseChildren = false;
}
public function (_arg1:MouseEvent):void{
if (situations.currentFrame != 1){
previousBtn.gotoAndStop(3);
};
}
public function (_arg1:MouseEvent):void{
if (situations.currentFrame != 5){
nextBtn.gotoAndStop(3);
};
}
public function (_arg1:MouseEvent):void{
if (((!((situations.currentFrame == 1))) && (!((situations.currentFrame == 2))))){
--;
situations.gotoAndStop();
situationsTxt.gotoAndStop();
previousBtn.gotoAndStop(3);
nextBtn.gotoAndStop(2);
.playSound(arrowBtnMp3);
} else {
if (situations.currentFrame == 2){
--;
situations.gotoAndStop();
situationsTxt.gotoAndStop();
previousBtn.gotoAndStop(1);
nextBtn.gotoAndStop(2);
.playSound(arrowBtnMp3);
};
};
}
public function (_arg1:MouseEvent):void{
if (situations.currentFrame != 1){
previousBtn.gotoAndStop(4);
};
}
}
}//package gawpsters_fla
Section 109
//wings_100 (gawpsters_fla.wings_100)
package gawpsters_fla {
import flash.display.*;
public dynamic class wings_100 extends MovieClip {
public function wings_100(){
addFrameScript(14, );
}
function (){
gotoAndPlay("repeat");
}
}
}//package gawpsters_fla
Section 110
//ParticleSplash (splash.ParticleSplash)
package splash {
import flash.display.*;
public class ParticleSplash {
public var vx:Number;
public var vy:Number;
public var mc:MovieClip;
public function ParticleSplash(_arg1:DisplayObjectContainer, _arg2:Class, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number){
mc = new (_arg2);
mc.x = _arg3;
mc.y = _arg4;
mc.width = _arg5;
mc.height = _arg6;
mc.rotation = _arg7;
this.vx = _arg8;
this.vy = _arg9;
_arg1.addChild(mc);
}
}
}//package splash
Section 111
//Splash (splash.Splash)
package splash {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.utils.*;
public class Splash {
private var delay:Number;
private var :Number;
private var
:Number;
private var :Number;
private var :Class;
private var :Number;
private var
:Number;
private var
:uint;
private var
:Number;
private var
:DisplayObjectContainer;
private var
:Array;
private var :DisplayObjectContainer;
private var
:uint;
private var
:uint;
private var x:Number;
private var y:Number;
public function Splash(_arg1:DisplayObjectContainer, _arg2:Class, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:uint, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:uint=1, _arg12:uint=0):void{
this. = _arg8;
this.
= _arg11;
this.
= _arg10;
this. = _arg1;
this.x = _arg3;
this.y = _arg4;
this.
= _arg5;
this. = _arg6;
this.
= _arg7;
this.
= _arg9;
this.delay = _arg12;
this. = _arg2;
= new Sprite();
= new Array();
.addChild(
);
= getTimer();
if (this.
> 1){
if (!_arg12){
throw (new Error("Gdy ilość wyrzutów jest większa od 1 to wartość delay nie może być 0"));
};
= Math.round((_arg7 / this.
));
(
);
} else {
(_arg7);
};
.addEventListener(Event.ENTER_FRAME,
);
}
private function (_arg1:Number, _arg2:Number):Point{
var _local3:Point;
var _local4:Number;
_local3 = new Point();
_local4 = ((Math.random() * Math.PI) * 2);
_local3.x = (Math.sin(_local4) * _arg1);
_local3.y = (Math.cos(_local4) * _arg2);
return (_local3);
}
private function render():void{
var _local1:*;
for (_local1 in
) {
[_local1].mc.x = (
[_local1].mc.x +
[_local1].vx);
[_local1].mc.y = (
[_local1].mc.y +
[_local1].vy);
[_local1].vy = (
[_local1].vy + );
[_local1].mc.alpha = (
[_local1].mc.alpha -
);
if (
[_local1].mc.alpha <= 0.05){
.removeChild(
[_local1].mc);
.splice(_local1, 1);
};
};
}
private function
():Number{
return (Math.round((Math.random() * 360)));
}
private function
(_arg1:uint):void{
var _local2:MovieClip;
var _local3:int;
var _local4:Point;
var _local5:Point;
var _local6:Object;
var _local7:Number;
_local2 = new ();
_local3 = 0;
while (_local3 < _arg1) {
_local4 = (
, );
_local5 =
(
, x, y);
_local6 =
(_local2.width, _local2.height);
_local7 =
();
.push(new ParticleSplash(
, , _local5.x, _local5.y, _local6.width, _local6.height, _local7, _local4.x, _local4.y));
_local3++;
};
}
private function
(_arg1:Number, _arg2:Number):Object{
var _local3:Object;
var _local4:Number;
_local3 = new Object();
_local3.width = (((0.5 * _arg1) * Math.random()) + (0.5 * _arg1));
_local4 = (_local3.width / _arg1);
_local3.height = (_arg2 * _local4);
return (_local3);
}
private function
(_arg1:Event):void{
var _local2:*;
_local2 = (getTimer() - );
if ((((
> 0)) && ((_local2 >= delay)))){
_local2 = 0;
= getTimer();
--;
(
);
};
render();
if ((((((
.length == 0)) && ((
== 0)))) && ((
.numChildren == 0)))){
.removeEventListener(Event.ENTER_FRAME,
);
.removeChild(
);
};
}
private function
(_arg1:Number, _arg2:Number, _arg3:Number):Point{
var _local4:Point;
var _local5:*;
_local4 = new Point();
_local5 = ((Math.random() * Math.PI) * 2);
_local4.x = ((Math.sin(_local5) * _arg1) + _arg2);
_local4.y = ((Math.cos(_local5) * _arg1) + _arg3);
return (_local4);
}
}
}//package splash
Section 112
//AntiCheater (AntiCheater)
package {
public class AntiCheater {
public function showCheaterWindow(_arg1:GameMain):void{
var _local2:CheaterWindow;
_arg1.mouseChildren = false;
_arg1.attachPauseBg();
_local2 = new CheaterWindow();
_local2.x = 155.2;
_local2.y = 57;
_arg1.addChild(_local2);
}
}
}//package
Section 113
//AntiCollision (AntiCollision)
package {
public class AntiCollision extends Bonus {
public const type:String = "ANTI_COLLISION";
public function AntiCollision(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
addFrameScript(0, frame1);
(_arg1, _arg2, _arg3, _arg4);
}
function frame1(){
stop();
}
}
}//package
Section 114
//arrowBtnMp3 (arrowBtnMp3)
package {
import flash.media.*;
public dynamic class arrowBtnMp3 extends Sound {
}
}//package
Section 115
//Ball (Ball)
package {
import flash.display.*;
public class Ball extends MovieClip {
public var _height:Number;
public var vx:Number;
public var vy:Number;
public var _width:Number;
public var vr:Number;
public function Ball(){
this.mouseChildren = false;
}
}
}//package
Section 116
//BallMaker (BallMaker)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class BallMaker {
private var :uint;
private var :Array;
private var :Sprite;
public function BallMaker(_arg1:Sprite){
= _arg1;
}
private function (_arg1:Event):void{
var _local2:int;
_arg1.target.removeEventListener(Event.ADDED_TO_STAGE, );
_local2 = (100, 500);
_arg1.target.startAppearing(_local2);
}
private function (_arg1:Number, _arg2:Number, _arg3:Number):Point{
var _local4:uint;
var _local5:uint;
var _local6:Number;
var _local7:Number;
_local4 = (.length - 1);
_local5 = Math.floor((Math.random() * (1 + _local4)));
_local6 = (((Math.random() * (_arg2 - _arg1)) + ([_local5].x * _arg2)) + (_arg1 / 2));
_local7 = ((((Math.random() * ((_arg3 - _arg1) - 20)) + ([_local5].y * _arg3)) + (_arg1 / 2)) + 20);
.splice(_local5, 1);
return (new Point(_local6, _local7));
}
private function (_arg1:int, _arg2:int):int{
return ((Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1));
}
private function (_arg1:Number):Point{
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local2 = ((Math.random() * Math.PI) * 2);
_local3 = (Math.sin(_local2) * _arg1);
_local4 = (Math.cos(_local2) * _arg1);
return (new Point(_local3, _local4));
}
public function createBonuses(_arg1:Object=null):Array{
var _local2:Array;
var _local3:*;
var _local4:Class;
var _local5:uint;
var _local6:Point;
var _local7:Point;
var _local8:*;
if (!_arg1){
return ([]);
};
_local2 = new Array();
for (_local3 in _arg1) {
if (!_arg1[_local3]){
} else {
_local4 = (String(_local3));
_local5 = 0;
while (_local5 < _arg1[_local3]) {
_local6 =
();
_local7 = (2);
_local8 = new _local4(_local6.x, _local6.y, _local7.x, _local7.y);
_local2.push(_local8);
.addChild(_local8);
_local5++;
};
};
};
return (_local2);
}
private function (_arg1:String):Class{
var _local2:Class;
switch (_arg1){
case "anty":
_local2 = AntiCollision;
break;
case "multi":
_local2 = Multiplier;
break;
case "power":
_local2 = Power;
break;
case "slow":
_local2 = Hourglass;
};
return (_local2);
}
public function createBalls(_arg1:Array, _arg2:Number, _arg3:Array=null):Array{
var _local4:Array;
var _local5:int;
var _local6:int;
var _local7:Number;
var _local8:Number;
var _local9:*;
var _local10:Point;
var _local11:Point;
var _local12:uint;
var _local13:*;
_local4 = new Array();
_local5 = 3;
_local6 = 1;
= 0;
= ();
_local7 = (StageSize.RIGHT / 5);
_local8 = (StageSize.BOTTOM / 5);
while (--_local5 > -1) {
_local9 = 0;
while (_local9 < _arg1[_local5]) {
_local10 = (28, _local7, _local8);
_local11 = (_arg2);
_local12 = Math.floor((Math.random() * (360 + 1)));
_local13 = new ColorBall(_local10.x, _local10.y, _local11.x, _local11.y, _local6, 0.5, 28, 28);
_local13.rotation = _local12;
_local13.alpha = 0;
_local4.push(_local13);
_local13.addEventListener(Event.ADDED_TO_STAGE, );
.addChild(_local13);
_local9++;
};
_local6++;
};
_local5 = 0;
if (!_arg3){
return (_local4);
};
while (_arg3[_local5]) {
_local10 = (56, _local7, _local8);
_local11 = (_arg2);
_local12 = Math.floor((Math.random() * (360 + 1)));
_local13 = new BigColorBall(_local10.x, _local10.y, _local11.x, _local11.y, 6, 1, 56, 56, _arg3[_local5]);
_local13.rotation = _local12;
_local13.alpha = 0;
_local4.push(_local13);
_local13.addEventListener(Event.ADDED_TO_STAGE, );
.addChild(_local13);
_local5++;
};
return (_local4);
}
private function
():Point{
var _local1:Number;
var _local2:Number;
_local1 = ((Math.random() * (StageSize.RIGHT - 20)) + 20);
_local2 = ((Math.random() * (StageSize.BOTTOM - 40)) + 30);
return (new Point(_local1, _local2));
}
private function ():Array{
var _local1:Array;
var _local2:uint;
var _local3:uint;
var _local4:uint;
var _local5:uint;
_local1 = new Array();
_local2 = 0;
_local3 = 0;
_local4 = 0;
while (_local4 < 5) {
_local5 = 0;
while (_local5 < 5) {
_local1.push({x:_local2, y:_local3});
_local2++;
_local5++;
};
_local2 = 0;
_local3++;
_local4++;
};
return (_local1);
}
private function (_arg1:int):int{
return ((Math.floor((Math.random() * (_arg1 - 1))) + 1));
}
}
}//package
Section 117
//BarTop (BarTop)
package {
import flash.display.*;
import flash.text.*;
public dynamic class BarTop extends MovieClip {
public var levelTxt:TextField;
public var timeBonus:MovieClip;
public var timeBonusMask:MovieClip;
public var gameModeTxt:MovieClip;
}
}//package
Section 118
//BigColorBall (BigColorBall)
package {
import flash.events.*;
import flash.utils.*;
public class BigColorBall extends ColorBallMain {
private var
:HealthBar;
public var health:Number;
private var :Timer;
public var
:Number;
public function BigColorBall(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:uint){
addFrameScript(0, frame1);
(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
this.health = _arg9;
= _arg9;
this.addEventListener(Event.ADDED_TO_STAGE, );
this.addEventListener(MouseEvent.MOUSE_OVER, );
this.addEventListener(MouseEvent.MOUSE_OUT, );
}
private function (_arg1:MouseEvent):void{
= new HealthBar();
.name = "health";
();
parent.addChild(
);
.start();
}
private function (_arg1:TimerEvent=null):void{
.health.width = ((
/ health) * 50);
.healthTxt.text = String(
);
.x = (this.x - 24.8);
.y = (this.y - 36);
}
override public function setColor(_arg1:uint):void{
if (_arg1 != 5){
this.color = _arg1;
};
}
private function ():void{
if (
){
parent.removeChild(
);
};
.removeEventListener(TimerEvent.TIMER, );
removeEventListener(MouseEvent.MOUSE_OVER, );
removeEventListener(MouseEvent.MOUSE_OUT, );
}
private function (_arg1:MouseEvent):void{
.stop();
parent.removeChild(
);
= null;
}
function frame1(){
stop();
}
private function (_arg1:Event):void{
= new Timer(30);
.addEventListener(TimerEvent.TIMER, );
}
public function decreaseHealth(_arg1:Number):Boolean{
var _local2:Boolean;
if (
> _arg1){
= (
- _arg1);
_local2 = false;
return (_local2);
};
= 0;
();
_local2 = true;
return (_local2);
}
public function showDamageAnim():void{
expression.gotoAndPlay("damage");
highlighted.gotoAndStop(1);
}
}
}//package
Section 119
//BigGawpDamageMp3 (BigGawpDamageMp3)
package {
import flash.media.*;
public dynamic class BigGawpDamageMp3 extends Sound {
}
}//package
Section 120
//BigGawpDestroyed (BigGawpDestroyed)
package {
import flash.media.*;
public dynamic class BigGawpDestroyed extends Sound {
}
}//package
Section 121
//Bonus (Bonus)
package {
import flash.display.*;
public class Bonus extends Ball {
public var isPulling:Boolean;
public var target:Sprite;
public var lineRef:Sprite;
public function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
this.x = _arg1;
this.y = _arg2;
this.vx = _arg3;
this.vy = _arg4;
_height = this.height;
_width = this.width;
}
public function animAndRemove():void{
mouseEnabled = false;
this.gotoAndPlay(2);
this.addFrameScript(11,
);
}
public function clearTarget():void{
isPulling = false;
target = null;
lineRef = null;
}
protected function
():void{
parent.removeChild(this);
}
}
}//package
Section 122
//BonusCollected2Mp3 (BonusCollected2Mp3)
package {
import flash.media.*;
public dynamic class BonusCollected2Mp3 extends Sound {
}
}//package
Section 123
//BonusCollectedMp3 (BonusCollectedMp3)
package {
import flash.media.*;
public dynamic class BonusCollectedMp3 extends Sound {
}
}//package
Section 124
//CheaterWindow (CheaterWindow)
package {
import flash.display.*;
public dynamic class CheaterWindow extends MovieClip {
}
}//package
Section 125
//Coin (Coin)
package {
import flash.display.*;
public class Coin extends Sprite {
public var vx:Number;
public var vy:Number;
public function Coin(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
var _local5:Number;
super();
_local5 = ((Math.random() * Math.PI) * 2);
this.x = ((Math.sin(_local5) * 10) + _arg1);
this.y = ((Math.cos(_local5) * 10) + _arg2);
this.vx = _arg3;
this.vy = _arg4;
}
}
}//package
Section 126
//CoinHandler (CoinHandler)
package {
import flash.events.*;
import flash.geom.*;
import splash.*;
public class CoinHandler {
private const LEFT:Number;
private const CHAOTIC_MOVE = 0.3;
private const BOTTOM:Number;
private const TOP:Number;
private const RIGHT:Number;
public var coins:Array;
private var theGame:TheGameBoard;
private var
:Number;
private var barBonus;
private var :GameMain;
private var
:Number;
public function CoinHandler(_arg1:GameMain, _arg2){
TOP = StageSize.TOP;
BOTTOM = StageSize.BOTTOM;
RIGHT = StageSize.RIGHT;
LEFT = StageSize.LEFT;
super();
this. = _arg1;
barBonus = _arg2.barBonus;
this.theGame = _arg2;
= 1;
barBonus.width = 1;
coins = new Array();
_arg1.addEventListener(MouseEvent.MOUSE_OVER, , false, 0, true);
}
public function moveCoins():void{
var _local1:*;
if (coins.length > 0){
for (_local1 in coins) {
coins[_local1].vx = (coins[_local1].vx + ((Math.random() / (0.5 / CHAOTIC_MOVE)) - CHAOTIC_MOVE));
coins[_local1].vy = (coins[_local1].vy + ((Math.random() / (0.5 / CHAOTIC_MOVE)) - CHAOTIC_MOVE));
coins[_local1].x = (coins[_local1].x + coins[_local1].vx);
coins[_local1].y = (coins[_local1].y + coins[_local1].vy);
(coins[_local1]);
};
};
}
private function
(_arg1:Coin):void{
if (_arg1.x < (LEFT - (_arg1.width / 2))){
(_arg1);
} else {
if (_arg1.x > (RIGHT + (_arg1.width / 2))){
(_arg1);
} else {
if (_arg1.y < (TOP + (_arg1.height / 2))){
(_arg1);
} else {
if (_arg1.y > (BOTTOM - (_arg1.height / 2))){
(_arg1);
};
};
};
};
}
private function
():void{
if (
< 91){
= (
+ 1);
barBonus.width =
;
} else {
barBonus.width = 91;
.activateBonus();
= 91;
};
}
public function throwCoins(_arg1:Number, _arg2:Number, _arg3:uint):void{
var _local4:*;
var _local5:Point;
var _local6:Coin;
_local4 = 0;
while (_local4 < _arg3) {
_local5 = (0.5);
_local6 = new Coin(_arg1, _arg2, _local5.x, _local5.y);
theGame.addChild(_local6);
coins.push(_local6);
_local4++;
};
}
private function
(_arg1):void{
var _local2:uint;
_local2 = 0;
while (coins[_local2]) {
if (coins[_local2] == _arg1){
theGame.removeChild(_arg1);
coins.splice(_local2, 1);
break;
};
_local2++;
};
}
public function setBar(_arg1:Number):void{
= _arg1;
barBonus.width =
;
}
private function (_arg1:MouseEvent):void{
if ((((((_arg1.eventPhase == EventPhase.BUBBLING_PHASE)) && ((_arg1.target.constructor == Coin)))) && (!(.checkPause())))){
new Splash(, Element, _arg1.target.x, _arg1.target.y, 2, 2, 10, 0.2, 0.5, 0.05);
new Splash(, Element, 461, 434, 1, 0, 2, -0.1, 4, 0.024);
(_arg1.target);
();
.addFlyGawpster();
theGame.bonusMc.gotoAndPlay(2);
.playSounds(FlyGawpCollectedMp3);
};
}
public function setNewBar():void{
= 1;
barBonus.width =
;
}
private function (_arg1:Number):Point{
var _local2:Number;
var _local3:int;
var _local4:int;
_local2 = ((Math.random() * Math.PI) * 2);
_local3 = Math.round((Math.sin(_local2) * _arg1));
_local4 = Math.round((Math.cos(_local2) * _arg1));
return (new Point(_local3, _local4));
}
static function getCoinsCount(_arg1:uint):int{
return (Math.ceil(Math.pow(_arg1, 1.33)));
}
}
}//package
Section 127
//CollectLifeMp3 (CollectLifeMp3)
package {
import flash.media.*;
public dynamic class CollectLifeMp3 extends Sound {
}
}//package
Section 128
//ColorBall (ColorBall)
package {
public class ColorBall extends ColorBallMain {
public function ColorBall(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Number, _arg7:Number, _arg8:Number){
addFrameScript(0, frame1);
(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
}
function frame1(){
stop();
}
}
}//package
Section 129
//ColorBallMain (ColorBallMain)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.*;
public class ColorBallMain extends Ball {
public var mass:Number;
public var color:int;
public var highlighted:MovieClip;
private var
:Tween;
public var connectedArr:Array;
public var expression:MovieClip;
public var
:Boolean;
private var :Timer;
private var :Boolean;
public var wings:MovieClip;
public var collided:Boolean;// = false
public function ColorBallMain(){
connectedArr = new Array();
collided = false;
super();
}
public function disableLine():void{
if (connectedArr[1]){
connectedArr[1].isDisable = true;
};
}
public function startAppearing(_arg1:uint):void{
= new Timer(_arg1, 1);
.addEventListener(TimerEvent.TIMER_COMPLETE, , false, 0, true);
.start();
}
public function setConnectedArr(_arg1:Boolean, _arg2:Object=null):void{
if (_arg1){
if (_arg2 == null){
connectedArr[0] = true;
return;
};
if (connectedArr[1]){
connectedArr[0] = true;
connectedArr[2] = _arg2;
} else {
connectedArr[0] = true;
connectedArr[1] = _arg2;
};
} else {
connectedArr[0] = false;
connectedArr.splice(1, 2);
};
}
public function setColor(_arg1:uint):void{
if ((((_arg1 == 4)) || ((_arg1 == 5)))){
expression = null;
highlighted = null;
};
this.color = _arg1;
gotoAndStop(_arg1);
}
public function makeBallNormal(_arg1:Boolean=false):void{
if (){
return;
};
if (((_arg1) || (highlighted))){
highlighted.gotoAndStop(1);
expression.gotoAndStop(1);
} else {
addFrameScript((color - 1), Delegate.create(makeBallNormal, true));
};
}
private function
(_arg1:TweenEvent):void{
.removeEventListener(TweenEvent.MOTION_FINISH,
);
= null;
}
public function makeBallScared(_arg1:Boolean=false):void{
if (){
return;
};
if (((_arg1) || (expression))){
expression.gotoAndPlay("highlighted");
highlighted.gotoAndStop(2);
} else {
addFrameScript((color - 1), Delegate.create(makeBallScared, true));
};
}
public function
(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Number, _arg7:Number, _arg8:Number){
this.x = _arg1;
this.y = _arg2;
this.vx = _arg3;
this.vy = _arg4;
this.mass = _arg6;
setColor(_arg5);
_height = _arg7;
_width = _arg8;
vr = Math.sqrt((Math.pow(this.vx, 2) + Math.pow(this.vy, 2)));
buttonMode = true;
useHandCursor = true;
}
private function ():void{
expression.addFrameScript(52, null);
= false;
}
public function changeBall(_arg1:Boolean=false):void{
= true;
if (((_arg1) || (expression))){
addFrameScript((color - 1), null);
expression.gotoAndPlay("exchange");
expression.addFrameScript(52, );
} else {
addFrameScript((color - 1), Delegate.create(changeBall, true));
};
}
private function (_arg1:TimerEvent):void{
.removeEventListener(TimerEvent.TIMER_COMPLETE, , false);
= null;
= new Tween(this, "alpha", Strong.easeOut, 0, 1, 1, true);
.addEventListener(TweenEvent.MOTION_FINISH,
);
}
public function showBallReaction(_arg1:Boolean=false):void{
if (){
return;
};
if (!connectedArr[0]){
if (((_arg1) || (expression))){
expression.gotoAndPlay("collision");
} else {
addFrameScript((color - 1), Delegate.create(showBallReaction, true));
};
};
}
}
}//package
Section 130
//CombMp3 (CombMp3)
package {
import flash.media.*;
public dynamic class CombMp3 extends Sound {
}
}//package
Section 131
//ConnectBigMp3 (ConnectBigMp3)
package {
import flash.media.*;
public dynamic class ConnectBigMp3 extends Sound {
}
}//package
Section 132
//ConnectMp3 (ConnectMp3)
package {
import flash.media.*;
public dynamic class ConnectMp3 extends Sound {
}
}//package
Section 133
//CounterMp3 (CounterMp3)
package {
import flash.media.*;
public dynamic class CounterMp3 extends Sound {
}
}//package
Section 134
//CurrentBonuses (CurrentBonuses)
package {
import flash.display.*;
import flash.geom.*;
import fl.transitions.*;
import fl.transitions.easing.*;
public class CurrentBonuses {
private var bonuses:Array;
private var
:Point;
private var target:DisplayObjectContainer;
public function CurrentBonuses(_arg1:DisplayObjectContainer, _arg2:Point){
this.target = _arg1;
= _arg2;
bonuses = new Array();
}
public function ():Array{
return (bonuses);
}
private function
():void{
var _local1:uint;
var _local2:*;
var _local3:uint;
var _local4:*;
var _local5:Number;
var _local6:uint;
var _local7:uint;
var _local8:Sprite;
_local1 = 0;
for (_local2 in bonuses) {
if (bonuses[_local2].state == "added"){
_local3 = (
.x + _local1);
_local4 = new bonuses[_local2].classRef(_local3,
.y, 0, 0);
_local4.scaleX = 0.8;
_local4.scaleY = 0.8;
_local4.mouseEnabled = false;
bonuses[_local2].ref = _local4;
bonuses[_local2].state = "stayed";
target.addChild(_local4);
} else {
if (bonuses[_local2].state == "removed"){
_local5 = bonuses[_local2].ref.x;
target.removeChild(bonuses[_local2].ref);
bonuses.splice(_local2, 1);
_local6 = bonuses.length;
_local7 = _local2;
while (_local7 < _local6) {
_local8 = bonuses[_local7].ref;
new Tween(_local8, "x", Strong.easeOut, _local8.x, _local5, 1, true);
_local5 = _local8.x;
_local7++;
};
break;
};
};
_local1 = (_local1 + (bonuses[_local2].ref.width + 4));
};
}
public function removeBonus(_arg1:Class):void{
var _local2:*;
for (_local2 in bonuses) {
if (bonuses[_local2].classRef == _arg1){
bonuses[_local2].state = "removed";
break;
};
};
();
}
public function removeAll(_arg1:GameMain):void{
var _local2:uint;
_local2 = bonuses.length;
while (--_local2 > -1) {
if ((bonuses[_local2].ref is Hourglass)){
_arg1.restoreSpeeds();
} else {
if ((bonuses[_local2].ref is Multiplier)){
Points.multiplier = 1;
} else {
if ((bonuses[_local2].ref is Power)){
_arg1.power = 1;
};
};
};
bonuses[_local2].ref.parent.removeChild(bonuses[_local2].ref);
bonuses.splice(_local2, 1);
};
}
public function addBonus(_arg1:Class):void{
bonuses.push({classRef:_arg1, state:"added"});
();
}
}
}//package
Section 135
//Delegate (Delegate)
package {
public class Delegate {
public static function create(_arg1:Function, ... _args):Function{
var handler = _arg1;
var args = _args;
return (function (... _args):void{
handler.apply(this, _args.concat(args));
});
}
}
}//package
Section 136
//DisplayMC (DisplayMC)
package {
import flash.display.*;
public class DisplayMC {
static function displayBonusPoints(_arg1:DisplayObjectContainer, _arg2:Number, _arg3:Number, _arg4:uint):void{
var _local5:MovieClip;
_local5 = new ExtraPoints();
_local5.pointsMC.points.text = String(_arg4);
_local5.x = _arg2;
_local5.y = _arg3;
_local5.mouseEnabled = false;
_arg1.addChild(_local5);
_local5.addFrameScript(34, Delegate.create(DisplayMC.removeMC, _arg1, _local5));
}
static function displayPointsCombination(_arg1:DisplayObjectContainer, _arg2:Number, _arg3:Number, _arg4:uint):void{
var _local5:MovieClip;
_local5 = new PointsCombination();
_local5.x = _arg2;
_local5.y = (_arg3 - 20);
_local5.mouseEnabled = false;
_local5.pointsMC.points.text = String(_arg4);
_arg1.addChild(_local5);
_local5.addFrameScript(36, Delegate.create(DisplayMC.removeMC, _arg1, _local5));
}
static function displayLostLifeAnim(_arg1:DisplayObjectContainer, _arg2:Number, _arg3:Number):void{
var _local4:MovieClip;
_local4 = new LostLife();
_local4.x = _arg2;
_local4.y = (_arg3 - 32);
_local4.mouseEnabled = false;
_arg1.addChild(_local4);
_local4.addFrameScript(22, Delegate.create(DisplayMC.removeMC, _arg1, _local4));
}
static function displayBonusText(_arg1:DisplayObjectContainer, _arg2:Class, _arg3:Number, _arg4:Number, _arg5:uint):void{
var _local6:MovieClip;
_local6 = new (_arg2);
_local6.x = _arg3;
_local6.y = _arg4;
_local6.mouseEnabled = false;
_arg1.addChild(_local6);
_local6.addFrameScript(_arg5, Delegate.create(DisplayMC.removeMC, _arg1, _local6));
}
static function removeMC(_arg1:DisplayObjectContainer, _arg2:MovieClip):void{
_arg2.addFrameScript((_arg2.currentFrame - 1), null);
_arg1.removeChild(_arg2);
}
}
}//package
Section 137
//Drawer (Drawer)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.filters.*;
import
.*;
import flash.ui.*;
public class Drawer {
private var theGame:TheGameBoard;
private var :Array;
private var :Array;
private var bonuses:Array;
private var :Sprite;
private var balls:Array;
private var :Sprite;
private var
:MovieClip;
private var finder:Finder;
private var :GameMain;
private var line:Sprite;
private var
:Array;
private var
:Boolean;
private var lines:Array;
public function Drawer(_arg1:GameMain){
this. = _arg1;
theGame = this..getTheGame();
lines = new Array();
= new Array();
= new Array();
line = new Sprite();
theGame.addChild(line);
= new Sprite();
theGame.addChild();
= new Sprite();
theGame.addChild();
.stage.addEventListener(MouseEvent.MOUSE_DOWN, );
.stage.addEventListener(MouseEvent.MOUSE_UP, , false, 1);
.stage.addEventListener(MouseEvent.MOUSE_OVER, );
}
private function (_arg1:ColorBallMain, _arg2:ColorBallMain, _arg3:int):void{
var _local4:Number;
var _local5:Number;
var _local6:Point;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
if (_arg1.x < _arg2.x){
_local6 = new Point(_arg1.x, _arg1.y);
_local7 = _arg1.x;
_local8 = _arg2.x;
_local4 = (_arg2.x - _arg1.x);
if (_arg1.y < _arg2.y){
_local5 = (_arg2.y - _arg1.y);
} else {
_local5 = -((_arg1.y - _arg2.y));
};
} else {
_local6 = new Point(_arg2.x, _arg2.y);
_local7 = _arg2.x;
_local8 = _arg1.x;
_local4 = (_arg1.x - _arg2.x);
if (_arg1.y < _arg2.y){
_local5 = -((_arg2.y - _arg1.y));
} else {
_local5 = (_arg1.y - _arg2.y);
};
};
if (_arg1.y < _arg2.y){
_local9 = _arg1.y;
_local10 = _arg2.y;
} else {
_local9 = _arg2.y;
_local10 = _arg1.y;
};
lines[_arg3].angle = Math.atan2(_local5, _local4);
lines[_arg3].point = _local6;
lines[_arg3].xMin = _local7;
lines[_arg3].xMax = _local8;
lines[_arg3].yMax = _local10;
lines[_arg3].yMin = _local9;
}
public function clearPullingLine():void{
while (.numChildren) {
.removeChildAt(0);
};
if (.length){
.splice(0, .length);
};
}
private function (_arg1:ColorBallMain, _arg2:uint, _arg3:Boolean=false):void{
var _local4:Array;
var _local5:int;
var _local6:Number;
var _local7:int;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:int;
var _local13:int;
var _local14:Rectangle;
if (_arg3){
_local4 = LineColors.COLORS_EXP_4;
} else {
_local4 = LineColors[("COLORS_EXP_" + _arg2)];
};
if (_arg3){
_local5 = 18;
} else {
_local5 = 10;
};
_local6 = 2;
if (_arg3){
_local7 = 0.5;
} else {
_local7 = 1;
};
if (_arg3){
_local8 = 0.38;
} else {
_local8 = 0.1825;
};
_local9 = 0.85;
_local10 = 0.8;
_local11 = 0.95;
_local12 = 200;
_local13 = 200;
if (_arg3){
_local14 = new Rectangle((_arg1.x - 50), (_arg1.y - 50), (_arg1._width + 45), (_arg1._height + 45));
} else {
_local14 = new Rectangle((_arg1.x - 31.5), (_arg1.y - 31), (_arg1._width + 38.5), (_arg1._height + 39));
};
new ExplosionEffect(theGame, _local14, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13);
}
private function (_arg1:MouseEvent):void{
var _local2:Boolean;
var _local3:int;
var _local4:int;
var _local5:Sprite;
var _local6:int;
var _local7:*;
var _local8:Sprite;
var _local9:int;
if ((((_arg1.eventPhase == EventPhase.BUBBLING_PHASE)) && ((_arg1.target is ColorBallMain)))){
if (((
) && ((.length > 0)))){
_local3 = 0;
while ([_local3]) {
if ([_local3] == _arg1.target){
_local2 = false;
break;
} else {
if (((([_local3].color == _arg1.target.color)) || (([_local3] is BigColorBall)))){
_local2 = true;
} else {
if ((_arg1.target is BigColorBall)){
_local2 = true;
_arg1.target.setColor([_local3].color);
} else {
if (_arg1.target.color != 5){
_arg1.target.setColor(5);
};
_arg1.target.changeBall();
.playSounds(ExchangeMp3);
.decreaseLives();
.lifeLostAnim(_arg1.target.x, _arg1.target.y);
clearLine(false);
_local2 = false;
break;
};
};
};
_local3++;
};
if (_local2){
if ((_arg1.target is BigColorBall)){
.playSounds(ConnectBigMp3);
} else {
.playSounds(ConnectMp3);
};
.push(_arg1.target);
_arg1.target.makeBallScared();
_local4 = (.length - 1);
_local5 = new Sprite();
line.addChild(_local5);
lines.push({line:_local5});
_local6 = (lines.length - 1);
[(_local4 - 1)].setConnectedArr(true, lines[_local6]);
[_local4].setConnectedArr(true, lines[_local6]);
([(_local4 - 1)], [_local4], _local6);
};
};
} else {
if ((((((((((_arg1.eventPhase == EventPhase.BUBBLING_PHASE)) && ((_arg1.target is Multiplier)))) || ((_arg1.target is AntiCollision)))) || ((_arg1.target is Hourglass)))) || ((_arg1.target is Power)))){
if (((
) && ((.length > 0)))){
for (_local7 in ) {
if (_arg1.target == [_local7]){
return;
};
};
.playSounds(BonusCollectedMp3);
_arg1.target.isPulling = true;
_local8 = new Sprite();
.addChild(_local8);
_arg1.target.lineRef = _local8;
.push(_arg1.target);
_local9 = (.length - 1);
_arg1.target.target = [_local9];
};
};
};
}
private function (_arg1:MouseEvent):void{
if ((((_arg1.eventPhase == EventPhase.BUBBLING_PHASE)) && ((_arg1.target is ColorBallMain)))){
if (.length){
return;
};
if ((_arg1.target is BigColorBall)){
.playSounds(ConnectBigMp3);
} else {
.playSounds(ConnectMp3);
};
= true;
_arg1.target.makeBallScared();
_arg1.target.setConnectedArr(true);
.push(_arg1.target);
};
}
public function removeBalls(_arg1:Array, _arg2:uint):void{
var _local3:int;
var _local4:int;
var _local5:uint;
var _local6:Boolean;
var _local7:uint;
_local3 = 0;
_local5 = _arg1.length;
[0] = 0;
[1] = _local5;
while (_arg1[_local3]) {
_local4 = 0;
while (balls[_local4]) {
if (_arg1[_local3] == balls[_local4]){
if ((balls[_local4] is BigColorBall)){
_local6 = true;
} else {
_local6 = false;
};
(balls[_local4], balls[_local4].color, _local6);
if (_local6){
_local7 = (balls[_local4].health * 10);
DisplayMC.displayBonusPoints(.getTheGame(), balls[_local4].x, balls[_local4].y, _local7);
.addSpecialPoints(_local7);
.playSounds(BigGawpDestroyed);
};
if (_local3 == (_local5 - 1)){
DisplayMC.displayPointsCombination(.getTheGame(), balls[_local4].x, balls[_local4].y, _arg2);
if ((((_local5 >= 10)) && (!(_local6)))){
DisplayMC.displayBonusText(.getTheGame(), ExtraTxt2, balls[_local4].x, (balls[_local4].y - 50), 29);
} else {
if ((((_local5 >= 5)) && (!(_local6)))){
DisplayMC.displayBonusText(.getTheGame(), ExtraTxt1, balls[_local4].x, (balls[_local4].y - 50), 29);
};
};
.throwCoins(balls[_local4].x, balls[_local4].y, CoinHandler.getCoinsCount(_arg1.length));
.playSounds(CombMp3);
};
.push(new Tween(balls[_local4], "scaleX", Regular.easeIn, 1.2, 0, 0.8, true));
.push(new Tween(balls[_local4], "scaleY", Regular.easeIn, 1.2, 0, 0.8, true));
.push(new Tween(balls[_local4], "rotation", Regular.easeIn, balls[_local4].rotation, (balls[_local4].rotation + 360), 0.7, true));
[(
.length - 1)].addEventListener(TweenEvent.MOTION_FINISH, Delegate.create(, balls[_local4]));
balls.splice(_local4, 1);
break;
};
_local4++;
};
_local3++;
};
}
private function
(_arg1:Object, _arg2:Object, _arg3:Boolean=false):void{
var _local4:Sprite;
var _local5:Boolean;
if (_arg2){
if (_arg3){
(_arg1, _arg2, _arg1.lineRef, false, 3, 15332567);
} else {
_local4 = _arg2.connectedArr[1].line;
_local5 = _arg2.connectedArr[1].isDisable;
(_arg1, _arg2, _local4, _local5, 2, 14289973);
};
} else {
(_arg1);
};
}
private function (_arg1:Object, _arg2:Object, _arg3:Sprite, _arg4:Boolean, _arg5:uint=0, _arg6:uint=0):void{
if (_arg4){
_arg5 = 2.5;
_arg6 = 16777113;
_arg3.filters = [new GlowFilter(16763955, 1, 9, 9, 1.5)];
};
_arg3.graphics.clear();
_arg3.graphics.lineStyle(_arg5, _arg6);
_arg3.graphics.moveTo(_arg1.x, _arg1.y);
_arg3.graphics.lineTo(_arg2.x, _arg2.y);
}
public function drawLines():void{
var _local1:int;
var _local2:int;
var _local3:*;
var _local4:Object;
if (((
) && ((.length > 0)))){
_local1 = .length;
_local2 = 0;
while ([_local2]) {
if (_local2 == (_local1 - 1)){
if (.length){
for (_local3 in ) {
_local4 = {x:[_local3].target.x, y:[_local3].target.y, lineRef:[_local3].lineRef};
(_local4, [_local3], true);
};
};
([_local2], null);
} else {
([_local2], [(_local2 + 1)]);
([_local2], [(_local2 + 1)], _local2);
};
_local2++;
};
};
}
public function clearLine(_arg1:Boolean=true):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:*;
Mouse.show();
_local2 = .length;
_local3 = _local2;
if (!_arg1){
while (--_local2 > -1) {
if (![_local2].collided){
[_local2].makeBallNormal();
} else {
[_local2].collided = false;
};
[_local2].setConnectedArr(false);
};
};
.splice(0, _local3);
lines.splice(0, lines.length);
_local3 = (line.numChildren - 1);
_local4 = _local3;
while (_local4 >= 0) {
line.removeChildAt(_local4);
_local4--;
};
for (_local5 in bonuses) {
bonuses[_local5].clearTarget();
};
.graphics.clear();
while (.numChildren) {
.removeChildAt(0);
};
finder = null;
if (.numChildren > 0){
clearPullingLine();
};
.removeAllBonusesFromBar();
checkBallsPair();
}
private function (_arg1:Event, _arg2):void{
theGame.removeChild(_arg2);
var _local3 =
;
var _local4:int;
var _local5 = (_local3[_local4] + 1);
_local3[_local4] = _local5;
if (
[0] ==
[1]){
.splice(0,
.length);
};
}
private function ():void{
var _local1:*;
for (_local1 in ) {
if (!([_local1] is BigColorBall)){
.addColorKilled([_local1].color);
} else {
.addColorKilled(6);
};
};
}
public function removeListeners():void{
.stage.removeEventListener(MouseEvent.MOUSE_DOWN, );
.stage.removeEventListener(MouseEvent.MOUSE_UP, );
.stage.removeEventListener(MouseEvent.MOUSE_OVER, );
}
private function (_arg1, _arg2=null):void{
var _local3:Object;
var _local4:Number;
var _local5:int;
var _local6:int;
var _local7:Array;
var _local8:Point;
Mouse.hide();
.x = _arg1.x;
.y = _arg1.y;
if (_arg2 == null){
_local3 = {x:.mouseX, y:.mouseY};
} else {
_local8 = new Point(_arg2.x, _arg2.y);
_local8 = .globalToLocal(_local8);
_local3 = {x:_local8.x, y:_local8.y};
};
_local4 = Math.sqrt((Math.pow(_local3.x, 2) + Math.pow(_local3.y, 2)));
if (_local4 < 0xFF){
_local5 = Math.round(((200 / 0xFF) * _local4));
_local6 = Math.round(_local4);
} else {
_local5 = 205;
_local6 = 0xFF;
};
_local7 = LineColors[("COLORS_CATCH_LINE_" + _arg1.color)];
.graphics.clear();
.graphics.lineStyle(4);
.graphics.lineGradientStyle(GradientType.RADIAL, _local7, [0.2, 0.8, 1], [0, _local5, _local6]);
.graphics.lineTo(_local3.x, _local3.y);
if (!finder){
finder = new Finder();
.addChild(finder);
};
finder.gotoAndStop(_arg1.color);
finder.x = _local3.x;
finder.y = _local3.y;
}
private function checkBallsPair():void{
if (balls.length > 1){
if (!.checkBallsPair()){
.setOneColor(5);
};
};
}
public function getArrays():void{
= .getConnectedBalls();
balls = .getBalls();
bonuses = .getBonuses();
}
public function removeBonus(_arg1):void{
var _local2:int;
_local2 = 0;
while (bonuses[_local2]) {
if (bonuses[_local2] == _arg1){
bonuses[_local2].animAndRemove();
bonuses.splice(_local2, 1);
break;
};
_local2++;
};
}
private function (_arg1:MouseEvent):void{
var _local2:uint;
var _local3:Array;
var _local4:Boolean;
var _local5:*;
= false;
if (.numChildren){
_local2 = .length;
if (_local2 >= 10){
.addExtraLive();
};
if (_local2 > 1){
_local3 = .checkBigBalls();
_local2 = (_local3.length + .length);
if (.length){
();
removeBalls(, Points.getPoints(_local2));
.setMaxCombination(_local2);
.addKilled(.length);
.addPoints(_local2);
} else {
_local4 = true;
};
if (_local3.length){
for (_local5 in _local3) {
if (!_local4){
_local3[_local5].showDamageAnim();
.playSounds(BigGawpDamageMp3);
} else {
_local3[_local5].makeBallNormal();
};
_local3[_local5].setConnectedArr(false);
_local3[_local5].setColor(6);
};
};
clearLine(false);
} else {
if (_local2 == 1){
clearLine(false);
};
};
};
}
}
}//package
Section 138
//Element (Element)
package {
import flash.display.*;
public dynamic class Element extends MovieClip {
}
}//package
Section 139
//Element2 (Element2)
package {
import flash.display.*;
public dynamic class Element2 extends MovieClip {
}
}//package
Section 140
//ExchangeMp3 (ExchangeMp3)
package {
import flash.media.*;
public dynamic class ExchangeMp3 extends Sound {
}
}//package
Section 141
//Explosion (Explosion)
package {
import flash.display.*;
import flash.geom.*;
public class Explosion {
private const BLUE:int = 0xFF;
private const GREEN:int = 0;
private const RED:int = 0;
private var :int;
private var :int;
private var :Array;
private var :Number;
private var :Number;
private var :int;
private var
:Number;
private var :Array;
private var :ColorTransform;
private var energie:Number;
private var :Number;
private var :Number;
private var :int;
public function Explosion(_arg1:Number, _arg2:Number, _arg3:Array){
(_arg3);
(_arg1, _arg2);
}
private function (_arg1:Number, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Particle;
var _local7:int;
= new Array();
= new Array();
energie = 1;
_local7 = 0;
while (_local7 < ) {
_local3 = ((Math.random() * Math.PI) * 2);
_local4 = (Math.random() * );
_local5 = (Math.random() * );
_local6 = new Particle((_arg1 + (Math.sin(_local3) * _local5)), (_arg2 + (Math.cos(_local3) * _local5)), (Math.sin(_local3) * _local4), ((Math.cos(_local3) * _local4) - (Math.random() * )), 1, , 1);
.push(_local6);
_local7++;
};
}
public function render(_arg1:BitmapData):Boolean{
var _local2:Boolean;
var _local3:Particle;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:uint;
var _local11:int;
var _local12:int;
if (.length >= ){
= .concat(.splice(-()));
} else {
if (.length > 0){
= ;
};
};
if (.length == 0){
_local2 = true;
return (_local2);
};
_local2 = false;
_local12 = .length;
while (--_local12 > -1) {
_local3 = [_local12];
_local4 = _local3.sx;
_local5 = _local3.sy;
_local6 = _local3.vx;
_local7 = _local3.vy;
_local6 = (_local6 + ((Math.random() / (0.5 /
)) -
));
_local7 = (_local7 + ((Math.random() / (0.5 /
)) -
));
_local3.energie = (_local3.energie * _local3.energieDamp);
_local3.alpha = (_local3.alpha * );
_local8 = int((_local3.alpha * 0xFF));
_local9 = int((_local3.energie * BLUE));
if (_local8 < (0.1 * 0xFF)){
.splice(_local12, 1);
};
_local10 = ((((_local8 << 24) | (RED << 16)) | (GREEN << 8)) | _local9);
_arg1.setPixel32(_local4, _local5, _local10);
_local4 = (_local4 + _local6);
_local5 = (_local5 + _local7);
_local6 = (_local6 * );
_local7 = (_local7 * );
_local3.sx = _local4;
_local3.sy = _local5;
_local3.vx = _local6;
_local3.vy = _local7;
};
return (_local2);
}
private function (_arg1:Array):void{
= _arg1[0];
= _arg1[1];
= _arg1[2];
= _arg1[3];
= _arg1[4];
= _arg1[5];
= _arg1[6];
= _arg1[7];
= _arg1[8];
}
}
}//package
Section 142
//ExplosionEffect (ExplosionEffect)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.filters.*;
public class ExplosionEffect extends Sprite {
private const EXPLOSION_BLUR_QUALITY:int = 1;
private const ORIGIN:Point;
private const EXPLOSION_BLUR_STRENGTH:int = 2;
private var :BitmapData;
private var :int;
private var
:Explosion;
private var :Array;
private var :int;
private var :BitmapData;
private var :BlurFilter;
private var :int;
private var point:Point;
private var
:Sprite;
private var :Boolean;
private var :int;
private var
:int;
private var :Array;
private var :int;
private var :Sprite;
public function ExplosionEffect(_arg1:Sprite, _arg2:Rectangle, _arg3:Array, _arg4:int, _arg5:Number, _arg6:int, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:Number, _arg12:int){
var _local14:int;
ORIGIN = new Point(0, 0);
super();
= _arg1;
= _arg2.width;
= _arg2.height;
= _arg3;
= _arg2.x;
= _arg2.y;
= (_arg2.width / 2);
= (_arg2.height / 2);
= new Array();
_local14 = 3;
while (_local14 <= 12) {
.push(arguments[_local14]);
_local14++;
};
();
}
private function ():void{
= new BitmapData(, , true, 0);
= new BitmapData(, , true, 0);
= new BlurFilter(EXPLOSION_BLUR_STRENGTH, EXPLOSION_BLUR_STRENGTH, EXPLOSION_BLUR_QUALITY);
if (){
= Gradient.getArray([0], [1], [2]);
};
= new Sprite();
.addChild(
);
.addChild(new Bitmap());
.x = ;
.y =
;
();
.addEventListener(Event.ENTER_FRAME, render);
}
private function ():void{
= new Explosion(, , );
}
private function render(_arg1:Event):void{
if (!){
=
.render();
.applyFilter(, .rect, ORIGIN, );
.copyPixels(, .rect, ORIGIN);
if (){
.paletteMap(, .rect, ORIGIN, [], [], , []);
};
} else {
.removeEventListener(Event.ENTER_FRAME, render);
.removeChild(
);
};
}
}
}//package
Section 143
//ExtraPoints (ExtraPoints)
package {
import flash.display.*;
public dynamic class ExtraPoints extends MovieClip {
public var pointsMC:MovieClip;
}
}//package
Section 144
//ExtraTxt1 (ExtraTxt1)
package {
import flash.display.*;
public dynamic class ExtraTxt1 extends MovieClip {
}
}//package
Section 145
//ExtraTxt2 (ExtraTxt2)
package {
import flash.display.*;
public dynamic class ExtraTxt2 extends MovieClip {
}
}//package
Section 146
//Finder (Finder)
package {
import flash.display.*;
public dynamic class Finder extends MovieClip {
public function Finder(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 147
//FinishedLevelMp3 (FinishedLevelMp3)
package {
import flash.media.*;
public dynamic class FinishedLevelMp3 extends Sound {
}
}//package
Section 148
//FlyGawpCollectedMp3 (FlyGawpCollectedMp3)
package {
import flash.media.*;
public dynamic class FlyGawpCollectedMp3 extends Sound {
}
}//package
Section 149
//GameFailedMp3 (GameFailedMp3)
package {
import flash.media.*;
public dynamic class GameFailedMp3 extends Sound {
}
}//package
Section 150
//GameInstructions (GameInstructions)
package {
import flash.display.*;
public dynamic class GameInstructions extends MovieClip {
public function GameInstructions(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package
Section 151
//GameMain (GameMain)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import fl.transitions.*;
import CPMStar.*;
import fl.transitions.easing.*;
import splash.*;
import flash.utils.*;
import
.*;
import flash.ui.*;
public class GameMain extends MovieClip {
private var theGame:TheGameBoard;
public var remiGamesBtn:MovieClip;
public var :DisplayObject;
private var checkSum:String;
private var
:Tween;
private var :uint;
public var remiGamesIntro:MovieClip;
public var :int;
public var :int;
private var :Array;
private var :StartMenu;
private var points:Points;
private var :Boolean;
private var :Drawer;
private var :String;
public var power:Number;// = 1
private var
:uint;
private var bonuses:Array;
private var
:Boolean;
private var
:Timer;
private var
:Boolean;
private var :Sounds;
private var :CurrentBonuses;
private var
:MovieClip;
private var :uint;
private var :Levels;
private var :Boolean;
private var :uint;// = 0
private var :uint;
private var mode:uint;
private var :Array;
private var
:Array;
private var :Array;
private var
:int;
private var
:Array;
private var :BallMaker;
private var :MovieClip;
private var
:Boolean;
private var :MovieClip;
private var :SharedObject;
private var balls:Array;
private var
:Object;
private var :BarTop;
private var :Number;
public var playBtn:MovieClip;
private var :Sprite;
public var progressBar:MovieClip;
public var adBox:Sprite;
private var :String;
private var :Mover;
private var :uint;
private var
:uint;// = 0
private var :uint;
private var :Boolean;
private var :Stopwatch;
private var livesBonus:uint;
public var closeButton:MovieClip;
private var :Timer;
private var :CoinHandler;
private var level:uint;
private var microTime:String;
private var :Timer;
private var :uint;
private static var pass:String = "rughop";
public function GameMain(){
= new Sounds();
= new Levels();
power = 1;
= 0;
= 0;
super();
addFrameScript(0, frame1, 2, );
();
();
();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS,
);
this.loaderInfo.addEventListener(Event.COMPLETE, );
}
private function (_arg1:MovieClip, _arg2:uint):void{
_arg1.addFrameScript(17, null);
if (! ){
_arg1.windowFinish.nicknameSubmit.gotoAndStop(2);
_arg1.windowFinish.nicknameSubmit.addFrameScript(1, Delegate.create(, _arg1));
};
_arg1.windowFinish.scoreTxt.text = String(points.getTotalPoints());
(_arg1);
_arg1.windowFinish.summaryTxt.gotoAndStop(_arg2);
_arg1.addEventListener(MouseEvent.CLICK, Delegate.create(
, _arg1));
_arg1.windowFinish.playAgainBtn.addEventListener(MouseEvent.CLICK, Delegate.create(, _arg1));
_arg1.windowFinish.playMoreGamesBtn.addEventListener(MouseEvent.CLICK, );
_arg1.windowFinish.submitBtn.addEventListener(MouseEvent.CLICK, Delegate.create(
, _arg1));
(null, 1, _arg1);
}
private function ():void{
playSounds(WindowMp3);
= new LevelFinish();
.x = 164;
.y = 0;
attachPauseBg();
.windowFinish.gotoAndStop(4);
.windowFinish.addFrameScript(3, Delegate.create( ,
));
addChild(
);
}
private function ():void{
= false;
theGame.bonusMc.bonus.gotoAndStop(1);
theGame.bonusMc.useHandCursor = false;
.removeEventListener(TimerEvent.TIMER, );
= null;
}
private function (_arg1:Event, _arg2:Sprite):void{
removeChild(_arg2);
.mouseChildren = true;
}
private function ():void{
= false;
();
.finishPause();
();
removeChild(
);
= null;
theGame.mouseChildren = true;
}
private function ():Boolean{
= SharedObject.getLocal("gawpData");
if (.data.viewed){
return (true);
};
return (false);
}
private function ():void{
= root.loaderInfo.parameters.username;
microTime = root.loaderInfo.parameters.microTime;
checkSum = root.loaderInfo.parameters.checkSum;
}
private function (_arg1:String):Boolean{
if (this.checkSum == checkSum){
return (true);
};
return (false);
}
private function ():void{
var _local1:uint;
_local1 = 1;
while (_local1 <= 6) {
[("animEyes" + _local1)].stop();
_local1++;
};
}
private function removeBalls():void{
var _local1:*;
for (_local1 in balls) {
theGame.removeChild(balls[_local1]);
};
}
private function (_arg1:Event):void{
this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS,
);
this.loaderInfo.removeEventListener(Event.COMPLETE, );
();
playBtn.gotoAndPlay(2);
playBtn.buttonMode = true;
playBtn.useHandCursor = true;
if (!
){
playBtn.addEventListener(MouseEvent.CLICK, );
} else {
playBtn.addEventListener(MouseEvent.CLICK, initTheGame);
};
}
private function ():void{
= 0;
= 0;
= 0;
= 0;
power = 1;
= 0;
if (
){
.splice(0,
.length);
};
= 0;
}
private function ():void{
if (String(this.loaderInfo.url).substring(0, 20) == "http://remigames.com"){
= true;
} else {
= false;
};
}
private function (_arg1:TimerEvent=null):void{
var _local2:Object;
();
if (mode == 1){
_local2 = Levels.getLevel(level);
();
} else {
if (! ){
_local2 = .getRandomLevel(level);
(_local2);
} else {
= false;
_local2 =
;
};
};
if (_local2){
.start(_local2.time);
balls = .createBalls(_local2.balls, _local2.maxSpeed, _local2.bigBalls);
bonuses = .createBonuses(_local2.bonuses);
();
};
}
private function (... _args):void{
var flushStatus:String;
var args = _args;
= SharedObject.getLocal("gawpData");
if ((args[0] is Boolean)){
.data.viewed = args[0];
} else {
if ((args[0] is String)){
.data.nick = args[0];
} else {
.data[("mode" + args[0])] = args[1];
};
};
try {
flushStatus = .flush(1000);
} catch(e:Error) {
trace("użytkownik nie zezwala na zapisanie danych");
};
if (flushStatus == SharedObjectFlushStatus.PENDING){
.addEventListener(NetStatusEvent.NET_STATUS, );
};
}
private function (_arg1:uint=0):void{
var _local2:MovieClip;
playSounds(WindowMp3);
_local2 = new LevelFinish();
_local2.x = 164;
_local2.y = 0;
_local2.windowFinish.gotoAndStop(7);
if (_arg1 == 2){
.playSound(GameSummaryMp3);
_local2.addFrameScript(2, Delegate.create(, _local2));
};
addChild(_local2);
();
_local2.addFrameScript(17, Delegate.create(, _local2, _arg1));
}
private function (_arg1:MouseEvent):void{
(1, Delegate.create(, null,
));
}
function frame1(){
stop();
remiGamesBtn.addEventListener(MouseEvent.CLICK, onClicked);
remiGamesBtn.buttonMode = true;
remiGamesBtn.useHandCursor = true;
= 6518;
= 1;
= AdLoader.LoadAd( , );
adBox.addChild();
closeButton.buttonMode = true;
closeButton.useHandCursor = true;
closeButton.addEventListener(MouseEvent.CLICK, );
}
private function (_arg1:Event):void{
if (
.windowFinish.qualityBtn.qualityMode.currentFrame == 1){
.windowFinish.qualityBtn.qualityMode.gotoAndStop(2);
stage.quality = StageQuality.MEDIUM;
} else {
.windowFinish.qualityBtn.qualityMode.gotoAndStop(1);
stage.quality = StageQuality.BEST;
};
}
private function (_arg1:MovieClip):void{
_arg1.addFrameScript(33, null);
();
(_arg1);
}
function (){
}
private function (_arg1:uint=1, _arg2:Boolean=false):void{
var _local3:MovieClip;
_local3 = new ShortInstructions();
_local3.x = 112.3;
_local3.y = 65.2;
addChild(_local3);
_local3.buttonMode = true;
_local3.useHandCursor = true;
_local3.gotoAndStop(_arg1);
if (mode == 1){
_local3.checkboxBtn.gotoAndStop(2);
};
_local3.addEventListener(MouseEvent.CLICK, Delegate.create(, _local3, _arg2));
}
public function addKilled(_arg1:uint):void{
= ( + _arg1);
}
private function (_arg1:Event):void{
.gameMenu.newGameBtn.mouseEnabled = true;
.gameMenu.highscoresBtn.mouseEnabled = true;
.gameMenu.gotoAndPlay(135);
}
private function
(_arg1:Function):void{
();
_arg1();
}
public function ():void{
if (theGame){
(null, );
this. = null;
};
}
private function ():void{
var _local1:int;
_local1 =
(this.mode);
if (points.getTotalPoints() > _local1){
(this.mode, points.getTotalPoints());
};
}
private function finish():void{
.stop();
= false;
theGame.menuBtn.mouseEnabled = false;
removeEventListener(Event.ENTER_FRAME,
);
}
private function ():void{
();
removeChild();
= null;
removeChild(theGame);
theGame = null;
();
();
(this.mode, true);
}
private function ():uint{
return (((
[0] +
[1]) +
[2]));
}
public function getBalls():Array{
return (balls);
}
private function (_arg1:MouseEvent):void{
if ((((.length == 0)) && ())){
();
};
}
public function addFlyGawpster():void{
++;
}
private function (_arg1:NetStatusEvent):void{
switch (_arg1.info.code){
case "SharedObject.Flush.Success":
trace("dane zapisane poprawnie");
break;
case "SharedObject.Flush.Failed":
trace("uzytkownik nie zewolił na zapisane danych");
break;
};
}
private function
(_arg1:Event):void{
if (!){
.moveBalls();
.drawLines();
.moveCoins();
if ((((balls.length == 0)) && ((.coins.length == 0)))){
finish();
points.increaseMultipliers();
if (bonuses.length){
();
};
(true);
} else {
if ((((balls.length == 1)) && (!((balls[0] is BigColorBall))))){
.removeBalls([balls[0]], 10);
} else {
if (((()) && ((.coins.length == 0)))){
(null, false, 2);
};
};
};
};
}
public function throwCoins(_arg1:Number, _arg2:Number, _arg3:uint):void{
.throwCoins(_arg1, _arg2, _arg3);
}
private function (_arg1:MouseEvent):void{
var _local2:Boolean;
_local2 = .muteSounds();
if (!_local2){
.windowFinish.soundBtn.soundMode.gotoAndStop(1);
} else {
.windowFinish.soundBtn.soundMode.gotoAndStop(2);
};
}
private function (_arg1:MovieClip):void{
_arg1.addFrameScript(3, null);
_arg1.windowFinish.returnToGameBtn.addEventListener(MouseEvent.CLICK, );
_arg1.windowFinish.restartBtn.addEventListener(MouseEvent.CLICK, );
_arg1.windowFinish.soundBtn.buttonMode = true;
_arg1.windowFinish.soundBtn.mouseChildren = false;
_arg1.windowFinish.soundBtn.useHandCursor = true;
_arg1.windowFinish.musicBtn.buttonMode = true;
_arg1.windowFinish.musicBtn.mouseChildren = false;
_arg1.windowFinish.musicBtn.useHandCursor = true;
_arg1.windowFinish.qualityBtn.buttonMode = true;
_arg1.windowFinish.qualityBtn.mouseChildren = false;
_arg1.windowFinish.qualityBtn.useHandCursor = true;
_arg1.windowFinish.quickHelpBtn.buttonMode = true;
_arg1.windowFinish.quickHelpBtn.mouseChildren = false;
_arg1.windowFinish.quickHelpBtn.useHandCursor = true;
();
();
_arg1.windowFinish.qualityBtn.addEventListener(MouseEvent.CLICK, );
_arg1.windowFinish.soundBtn.addEventListener(MouseEvent.CLICK, );
_arg1.windowFinish.musicBtn.addEventListener(MouseEvent.CLICK, );
_arg1.windowFinish.quickHelpBtn.addEventListener(MouseEvent.CLICK,
);
_arg1.windowFinish.goToMenuBtn.addEventListener(MouseEvent.CLICK, );
_arg1.windowFinish.remiGamesBtn.addEventListener(MouseEvent.CLICK, );
}
private function (_arg1:Sprite):void{
if (
){
theGame.bonusMc.useHandCursor = true;
};
removeChild(_arg1);
_arg1 = null;
();
if (((!(())) && ((mode == 1)))){
switch (level){
case 1:
(3, true);
break;
case 2:
(4, true);
break;
case 6:
(5, true);
break;
case 3:
(7, true);
break;
case 7:
(6, true);
break;
case 9:
(8, true);
break;
default:
();
};
} else {
();
};
}
public function initTheGame(_arg1:Event=null){
if (adBox){
removeChild(adBox);
adBox = null;
};
gotoAndStop(4);
stage.stageFocusRect = false;
stage.tabChildren = false;
();
}
public function getBonuses():Array{
return (bonuses);
}
private function
(_arg1:MouseEvent):void{
if (((
) && ())){
++;
playSounds(SuperbonusMp3);
();
setOneColor(4);
.setNewBar();
};
}
public function addPoints(_arg1:uint):void{
points.addPoints(_arg1);
}
private function
(_arg1:Object=null):void{
var _local2:*;
var _local3:*;
= points.getTotalPoints();
= theGame.barBonus.width;
if (_arg1){
= {};
for (_local3 in _arg1) {
[_local3] = _arg1[_local3];
};
};
= [];
for (_local2 in ) {
[_local2] = [_local2];
};
}
private function
(_arg1:MovieClip):void{
_arg1.windowFinish.gawpRedTxt.text = [0];
_arg1.windowFinish.gawpBlueTxt.text = [1];
_arg1.windowFinish.gawpGreenTxt.text = [2];
_arg1.windowFinish.gawpGreyTxt.text = [4];
_arg1.windowFinish.gawpBonusTxt.text = [3];
_arg1.windowFinish.gawpBigTxt.text = [5];
_arg1.windowFinish.scoreTxt.text = String(points.getTotalPoints());
}
private function
():void{
();
();
();
();
}
public function getRandomNum():int{
return (Math.floor((Math.random() * 9999)));
}
private function
(_arg1:MovieClip):void{
_arg1.windowFinish.addFrameScript(2, null);
_arg1.windowFinish.continueBtn.addEventListener(MouseEvent.CLICK, Delegate.create( , _arg1));
_arg1.windowFinish.tryAgainBtn.addEventListener(MouseEvent.CLICK, Delegate.create(, _arg1));
}
private function
():void{
= new BarTop();
.x = 0;
.y = 4.7;
.timeBonus.mask = .timeBonusMask;
addChild();
}
private function
(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local2 = this.loaderInfo.bytesLoaded;
_local3 = this.loaderInfo.bytesTotal;
_local4 = Math.round(((_local2 / _local3) * 100));
progressBar.gotoAndStop(_local4);
}
private function
():void{
MochiBot.track(this, "f48cd670");
}
public function restoreSpeeds():void{
var _local1:*;
for (_local1 in balls) {
balls[_local1].vx = (balls[_local1].vx * 2);
balls[_local1].vy = (balls[_local1].vy * 2);
};
}
private function
():void{
if (!){
= true;
();
.pause();
theGame.mouseChildren = false;
} else {
if (
.currentFrame == 19){
playSounds(WindowMp3);
.gotoAndPlay(20);
.addFrameScript(33, );
};
};
}
public function performBonus(_arg1:String, _arg2):void{
var _local3:*;
var _local4:*;
if (_arg1 == "MULTIPLIER"){
Points.multiplier = (Points.multiplier * _arg2.multi);
} else {
if (_arg1 == "ANTI_COLLISION"){
for (_local3 in ) {
[_local3].disableLine();
};
} else {
if (_arg1 == "SLOW_DOWN"){
for (_local4 in balls) {
balls[_local4].vx = (balls[_local4].vx / 2);
balls[_local4].vy = (balls[_local4].vy / 2);
};
} else {
if (_arg1 == "POWER"){
if (!power){
power = 1;
};
power = (power * 2);
};
};
};
};
}
public function ():Boolean{
var _local1:Boolean;
var _local2:*;
for (_local2 in balls) {
if (!(balls[_local2] is BigColorBall)){
return (false);
};
};
return (true);
}
public function onClicked(_arg1:Event){
var _local2:URLRequest;
var _local3:String;
_local2 = new URLRequest("http://remigames.com");
_local3 = "_blank";
navigateToURL(_local2, _local3);
}
private function ():void{
theGame = new TheGameBoard();
theGame.name = "theGame";
theGame.heartMC.stop();
theGame.bonusMc.stop();
theGame.menuBtn.addEventListener(MouseEvent.CLICK, );
theGame.remiGamesBtn.addEventListener(MouseEvent.CLICK, );
addChild(theGame);
}
private function (_arg1:Event):void{
new Splash(theGame.bonusMc, Element2, 24, 35, 0.6, 0.6, 14, -0.05, 4, 0.024);
}
private function ():void{
= new Array();
= new Array();
bonuses = new Array();
= new Array(0, 0, 0, 0, 0, 0);
}
private function ():void{
var _local1:*;
points.setPoints();
if (((
) && (( < 91)))){
();
} else {
if (((!(
)) && (( == 91)))){
activateBonus();
};
};
.setBar();
= [];
for (_local1 in
) {
[_local1] =
[_local1];
};
}
private function (_arg1:MouseEvent):void{
_arg1.target.mouseChildren = false;
MovieClip(_arg1.target).gotoAndStop(2);
}
private function
(_arg1:TimerEvent, _arg2:TextField, _arg3:uint, _arg4:uint):void{
if (_arg2.text == ""){
_arg2.text = String(_arg3);
} else {
if ((Number(_arg2.text) + _arg3) < _arg4){
_arg2.text = String((Number(_arg2.text) + _arg3));
} else {
if (.currentCount < 10){
.repeatCount = .currentCount;
};
_arg2.text = String(_arg4);
.removeEventListener(TimerEvent.TIMER,
);
.removeEventListener(TimerEvent.TIMER_COMPLETE,
);
};
};
}
public function increaseLevelScore(_arg1:uint):void{
= ( + _arg1);
}
private function (_arg1:Event):void{
(2, );
}
public function addExtraLive():void{
++;
}
private function (_arg1:Event):void{
var _local2:URLRequest;
var _local3:String;
_local2 = new URLRequest("http://remigames.com");
_local3 = "_blank";
navigateToURL(_local2, _local3);
}
public function (_arg1:Class):void{
.removeBonus(_arg1);
}
private function (_arg1:MovieClip):void{
_arg1.windowFinish.killedTxt.text = String();
_arg1.windowFinish.levelScoreTxt.text = String();
if (
){
_arg1.windowFinish.maxCombTxt.text = String(
[0]);
_arg1.windowFinish.flyGawpTxt.text = String(
[1]);
_arg1.windowFinish.timeBonusTxt.text = String(
[2]);
_arg1.windowFinish.scoreTxt.text = String();
if ((((mode == 1)) && ((level == 10)))){
_arg1.windowFinish.livesBonus.livesBonusTxt.text = String(livesBonus);
_arg1.windowFinish.livesBonus.play();
};
if ((((mode == 2)) && ((
> 0)))){
_arg1.windowFinish.collectLife.gotoAndPlay(2);
playSounds(CollectLifeMp3);
_arg1.windowFinish.collectLife.collectHeart.lifeTxt.text = String(
);
};
};
}
public function playSounds(_arg1:Class):void{
.playSound(_arg1);
}
public function (_arg1:Event, _arg2:Sprite):void{
(_arg2);
();
();
();
}
private function (_arg1:Event, _arg2:MovieClip):void{
if (){
();
};
_arg2.removeEventListener(MouseEvent.CLICK, Delegate.create(
, _arg2));
_arg2.gotoAndPlay(20);
_arg2.addFrameScript(33, Delegate.create(, _arg2));
}
private function (_arg1:MovieClip):void{
_arg1.addFrameScript(2, null);
_arg1.windowFinish.lines.gotoAndStop(2);
_arg1.windowFinish.background.gotoAndStop(2);
_arg1.windowFinish.gameSummaryTxt.gotoAndStop(2);
}
public function (_arg1:Event):void{
removeChild(adBox);
adBox = null;
}
private function (_arg1:uint=1, _arg2:Boolean=false):void{
if (!.musicMuted){
.setMusicVolume(0.3);
};
.stopMusic();
.playMusic(TheGameMp3);
if (!_arg2){
.gameMenu.gameMode1.removeEventListener(MouseEvent.CLICK, );
.gameMenu.gameMode2.removeEventListener(MouseEvent.CLICK, );
.parent.removeChild( );
= null;
};
this.mode = _arg1;
();
}
public function getConnectedBalls():Array{
return ();
}
private function
(_arg1:uint):void{
= _arg1;
= getRandomNum();
= md5.encrypt(((GameMain.pass +
) +
));
theGame.livesTxt.text = String(
);
}
private function
(_arg1:Event, _arg2:MovieClip):void{
var _local3:SendPHP;
var _local4:URLVariables;
var _local5:int;
var _local6:String;
var _local7:String;
var _local8:String;
var _local9:String;
var _local10:String;
var _local11:String;
var _local12:String;
this. = _arg2;
_local3 = new SendPHP();
_local4 = new URLVariables();
if ( ){
_local5 = 1;
_local12 = ;
} else {
_local5 = 0;
_local12 = _arg2.windowFinish.nicknameSubmit.nicknameTxt.text;
if (_local12 == "nickname"){
_local12 = "";
};
= _local12;
if (_local12 !=
()){
(String(_local12));
};
};
_local4.username = _local12;
_local4.isUser = _local5;
_local4.score = String(this.points.getTotalPoints());
if (this.mode == 1){
_local6 = "training";
} else {
_local6 = "normal";
};
_local4.scoreName = _local6;
_local7 = String(getTimer());
_local4.microtime = _local7;
_local8 = "f;laskjfd;lsafp*Y)(*#H#P(*J@#ORJH@IO_+__jkljFDK";
_local9 = ((((((((((((_local12 + ";") + "gawpsters") + ";") + _local6) + ";") + String(this.points.getTotalPoints())) + ";") + _local7) + ";") + _local5) + ";") + _local8);
_local10 = ((((_local12 + ";") + "gawpsters") + ";") + microTime);
_local10 = md5.encrypt(_local10);
_local9 = md5.encrypt(_local9);
if (
){
_local11 = "_self";
} else {
_local11 = "_blank";
};
if ((_local10)){
_local4.checksum = _local9;
_local3.sendData((("http://remigames.com/game/" + "gawpsters") + "/submit-score"), _local4, _local11);
};
_arg2.windowFinish.submitBtn.mouseEnabled = false;
if (!
){
= null;
};
}
private function
():void{
var _local1:Boolean;
_local1 = .soundsMuted;
if (!_local1){
.windowFinish.soundBtn.soundMode.gotoAndStop(1);
} else {
.windowFinish.soundBtn.soundMode.gotoAndStop(2);
};
_local1 = .musicMuted;
if (!_local1){
.windowFinish.musicBtn.musicMode.gotoAndStop(1);
} else {
.windowFinish.musicBtn.musicMode.gotoAndStop(2);
};
if (!()){
.windowFinish.quickHelpBtn.quickHelpMode.gotoAndStop(1);
} else {
.windowFinish.quickHelpBtn.quickHelpMode.gotoAndStop(2);
};
}
private function
(_arg1:MouseEvent):void{
.gameMenu.chooseMode.gotoAndStop(1);
.gameMenu.newGameBtn.mouseEnabled = false;
.gameMenu.gotoAndPlay(74);
.gameMenu.gameMode1.addEventListener(MouseEvent.CLICK, );
.gameMenu.gameMode2.addEventListener(MouseEvent.CLICK, );
.gameMenu.backBtn.addEventListener(MouseEvent.CLICK, );
}
public function checkPause():Boolean{
return ();
}
private function
(_arg1:MouseEvent, _arg2:MovieClip, _arg3:Boolean=false):void{
var _local4:Function;
var _local5:uint;
var _local6:uint;
if (_arg1.eventPhase == EventPhase.AT_TARGET){
if (((((!()) && ((_arg2.currentFrame == 19)))) && (!(_arg3)))){
playSounds(WindowMp3);
_arg2.removeEventListener(MouseEvent.CLICK,
);
_arg2.gotoAndPlay(20);
if (
){
if ((((mode == 2)) && ((
> 0)))){
_local6 = (
+
);
(_local6);
};
if ((((level == 10)) && ((mode == 1)))){
_local4 = Delegate.create(, null, true);
} else {
_local4 = Delegate.create( , _arg2);
};
_arg2.addFrameScript(33, _local4);
_local5 = ();
points.addSpecialPoints(_local5);
points.addSpecialPoints(livesBonus);
} else {
_arg2.addFrameScript(33, Delegate.create(, _arg2));
};
} else {
if (){
(Delegate.create(, _arg2));
};
};
};
}
private function
(_arg1:MouseEvent, _arg2:MovieClip):void{
if ((() && ((_arg2.currentFrame == 19)))){
(Delegate.create(
, _arg2));
};
}
private function
(_arg1:MouseEvent):void{
if ( ){
if ( .currentFrame == 19){
playSounds(WindowMp3);
if (
.isPlaying){
.stop();
};
};
.gameMenu.mouseChildren = true;
= new Tween( , "x", Strong.easeOut, .x, 0, 1.5, true);
.gotoAndPlay(20);
.addFrameScript(33,
);
};
}
private function
():String{
= SharedObject.getLocal("gawpData");
return (.data.nick);
}
private function
(_arg1:Array, _arg2:uint):Array{
var _local3:Number;
var _local4:uint;
var _local5:*;
_local3 = ((_arg2) * power);
_local4 = _arg1.length;
while (--_local4 > -1) {
if (!_arg1[_local4].decreaseHealth(_local3)){
for (_local5 in ) {
if ([_local5] == _arg1[_local4]){
.splice(_local5, 1);
break;
};
};
} else {
_arg1.splice(_local4, 1);
};
};
return (_arg1);
}
private function
():void{
var _local1:*;
var _local2:ContextMenuBuiltInItems;
var _local3:ContextMenuItem;
_local1 = new ContextMenu();
_local1.hideBuiltInItems();
_local2 = _local1.builtInItems;
_local2.print = true;
_local3 = new ContextMenuItem("Visit RemiGames");
_local1.customItems.push(_local3);
_local3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, );
this.contextMenu = _local1;
}
private function
(_arg1:MovieClip):void{
_arg1.windowFinish.addFrameScript(4, null);
if (mode == 1){
_arg1.windowFinish.modeTxt.gotoAndStop(2);
_arg1.windowFinish.instructionTxt.gotoAndStop(2);
} else {
_arg1.windowFinish.modeTxt.gotoAndStop(3);
_arg1.windowFinish.instructionTxt.gotoAndStop(3);
};
}
private function
():void{
removeChild( );
= null;
}
public function removeBonus(_arg1):void{
.clearPullingLine();
.removeBonus(_arg1);
}
private function (_arg1:MouseEvent):void{
MovieClip(_arg1.target).gotoAndStop(3);
}
private function ():void{
.then = getTimer();
.now = .then;
}
private function (_arg1:MouseEvent, _arg2:MovieClip, _arg3:Boolean):void{
if (_arg1.eventPhase == EventPhase.AT_TARGET){
if (_arg2.checkboxBtn.currentFrame == 3){
(true);
};
if ((((mode == 2)) && ((_arg2.currentFrame == 1)))){
_arg2.gotoAndStop(2);
_arg2.checkboxBtn.gotoAndStop(2);
} else {
removeChild(_arg2);
if (_arg3){
();
} else {
();
};
};
} else {
if ((((_arg1.eventPhase == EventPhase.BUBBLING_PHASE)) && ((_arg1.target.name == "checkboxBtn")))){
if ((((_arg2.checkboxBtn.currentFrame == 2)) || ((_arg2.checkboxBtn.currentFrame == 1)))){
_arg2.checkboxBtn.gotoAndStop(3);
} else {
_arg2.checkboxBtn.gotoAndStop(2);
};
};
};
}
private function (_arg1:Event):void{
(2);
}
private function (_arg1:TimerEvent):void{
var _local2:uint;
if ( ){
_local2 = (1, 6);
[("animEyes" + _local2)].gotoAndPlay(2);
();
} else {
= null;
};
}
private function (_arg1:Event):void{
(1);
}
private function (_arg1:MouseEvent):void{
if (_arg1.eventPhase == EventPhase.BUBBLING_PHASE){
if (_arg1.target.name != "chooseMode"){
MovieClip(_arg1.target).gotoAndStop(3);
};
};
}
public function removeAllBonusesFromBar():void{
.removeAll(this);
}
private function (_arg1:TweenEvent):void{
if ( .x < -580){
playSounds(WindowMp3);
.removeEventListener(TweenEvent.MOTION_CHANGE, );
= new GameInstructions();
.x = 43;
addChild( );
};
}
public function addBonusToBar(_arg1:Class):void{
.addBonus(_arg1);
}
private function (_arg1:MouseEvent):void{
var _local2:Boolean;
if ( ){
_local2 = .muteMusic();
} else {
_local2 = .muteMusic(0.3);
};
if (!_local2){
.windowFinish.musicBtn.musicMode.gotoAndStop(1);
} else {
.windowFinish.musicBtn.musicMode.gotoAndStop(2);
};
}
private function (_arg1:Event):void{
var _local2:SendPHP;
var _local3:String;
_local2 = new SendPHP();
if (
){
_local3 = "_self";
} else {
_local3 = "_blank";
};
_local2.sendData("http://remigames.com/game/gawpsters/scores", null, _local3);
}
private function (_arg1:MouseEvent):void{
.gameMenu.mouseChildren = false;
if (
){
if (
.isPlaying){
.stop();
};
};
= new Tween( , "x", Regular.easeOut, .x, -600, 1, true);
.addEventListener(TweenEvent.MOTION_CHANGE, );
}
public function addColorKilled(_arg1:uint):void{
if (![(_arg1 - 1)]){
[(_arg1 - 1)] = 0;
};
[(_arg1 - 1)] = ([(_arg1 - 1)] + 1);
}
public function checkBigBalls():Array{
var _local1:Array;
var _local2:*;
var _local3:uint;
var _local4:*;
_local1 = new Array();
for (_local2 in ) {
if (([_local2] is BigColorBall)){
_local1.push([_local2]);
};
};
_local3 = _local1.length;
if (_local3){
_local4 = (.length - _local3);
if (_local4){
_local1 =
(_local1, _local4);
} else {
.splice(0, .length);
};
};
return (_local1);
}
private function ():void{
if (
(this.mode)){
theGame.bestScoreTxt.text = String(
(this.mode));
} else {
theGame.bestScoreTxt.text = "0";
};
}
private function ():void{
= new StartMenu();
if (!.musicMuted){
.stopMusic();
.playMusic(StartMenuMp3);
.setMusicVolume(1);
} else {
.stopMusic();
.playMusic(StartMenuMp3);
.soundBtn.gotoAndStop(2);
};
();
.soundBtn.stop();
addChild( );
.gameMenu.buttonMode = true;
.gameMenu.useHandCursor = true;
.gameMenu.chooseMode.useHandCursor = false;
.gameMenu.addEventListener(MouseEvent.MOUSE_OVER, );
.gameMenu.addEventListener(MouseEvent.MOUSE_OUT, );
.gameMenu.instructionsBtn.addEventListener(MouseEvent.CLICK, );
.backBtn.buttonMode = true;
.backBtn.useHandCursor = true;
.backBtn.addEventListener(MouseEvent.CLICK,
);
.backBtn.addEventListener(MouseEvent.MOUSE_OVER, );
.backBtn.addEventListener(MouseEvent.MOUSE_OUT, );
.soundBtn.buttonMode = true;
.soundBtn.useHandCursor = true;
.soundBtn.addEventListener(MouseEvent.CLICK, );
.gameMenu.highscoresBtn.addEventListener(MouseEvent.CLICK, );
.remiGamesBtn.addEventListener(MouseEvent.CLICK, );
.gameMenu.playMoreGamesBtn.addEventListener(MouseEvent.CLICK, );
.gameMenu.newGameBtn.addEventListener(MouseEvent.CLICK,
);
();
}
private function (_arg1:MouseEvent):void{
if (_arg1.eventPhase == EventPhase.BUBBLING_PHASE){
_arg1.target.mouseChildren = false;
if (_arg1.target.name != "chooseMode"){
MovieClip(_arg1.target).gotoAndStop(2);
};
};
}
public function lifeLostAnim(_arg1:Number, _arg2:Number):void{
theGame.heartMC.gotoAndPlay(2);
DisplayMC.displayLostLifeAnim(theGame, _arg1, _arg2);
}
private function ():void{
removeEventListener(Event.ENTER_FRAME,
);
= null;
.removeListeners();
= null;
= null;
points = null;
= null;
= null;
= null;
= null;
= null;
bonuses = null;
= null;
= null;
= 0;
= null;
= 0;
= null;
= false;
livesBonus = 0;
level = 0;
= 0;
= 0;
Points.levelsMultiplier = 1;
Points.multiplier = 1;
= false;
= false;
= false;
if (){
();
};
if (
){
.removeEventListener(TimerEvent.TIMER, );
= null;
};
= 0;
}
private function
(_arg1:Event, _arg2:Sprite, _arg3):void{
removeChild(_arg2);
_arg3();
}
private function ():void{
if (stage.quality == "MEDIUM"){
.windowFinish.qualityBtn.qualityMode.gotoAndStop(2);
} else {
.windowFinish.qualityBtn.qualityMode.gotoAndStop(1);
};
}
private function (_arg1:TimerEvent, _arg2:uint, _arg3:MovieClip):void{
switch (_arg2){
case 1:
([0], _arg3.windowFinish.gawpRedTxt, , 2, _arg3);
break;
case 2:
([1], _arg3.windowFinish.gawpBlueTxt, , 3, _arg3);
break;
case 3:
([2], _arg3.windowFinish.gawpGreenTxt, , 4, _arg3);
break;
case 4:
([4], _arg3.windowFinish.gawpGreyTxt, , 5, _arg3);
break;
case 5:
([3], _arg3.windowFinish.gawpBonusTxt, , 6, _arg3);
break;
case 6:
([5], _arg3.windowFinish.gawpBigTxt, , 7, _arg3);
break;
case 7:
= null;
};
}
private function (_arg1:KeyboardEvent):void{
if ((((((_arg1.keyCode == Keyboard.SPACE)) && ((.length == 0)))) && ())){
();
};
}
private function (_arg1:MouseEvent):void{
if (MovieClip(_arg1.target).currentFrame == 19){
playSounds(WindowMp3);
MovieClip(_arg1.target).gotoAndPlay(20);
MovieClip(_arg1.target).addFrameScript(33, Delegate.create(, MovieClip(_arg1.target)));
};
}
private function (_arg1:TimerEvent, _arg2:uint, _arg3:MovieClip):void{
switch (_arg2){
case 1:
(, _arg3.windowFinish.killedTxt, , 2, _arg3);
break;
case 2:
(, _arg3.windowFinish.levelScoreTxt, , 3, _arg3);
break;
case 3:
if (this.
== false){
= null;
} else {
(
[0], _arg3.windowFinish.maxCombTxt, , 4, _arg3);
};
break;
case 4:
(
[1], _arg3.windowFinish.flyGawpTxt, , 5, _arg3);
break;
case 5:
(
[2], _arg3.windowFinish.timeBonusTxt, , 6, _arg3);
break;
case 6:
if ((((mode == 1)) && ((level == 10)))){
_arg3.windowFinish.livesBonus.play();
(livesBonus, _arg3.windowFinish.livesBonus.livesBonusTxt, , 7, _arg3);
} else {
= null;
_arg3.windowFinish.scoreTxt.text = String();
if ((((mode == 2)) && ((
> 0)))){
_arg3.windowFinish.collectLife.gotoAndPlay(2);
playSounds(CollectLifeMp3);
_arg3.windowFinish.collectLife.collectHeart.lifeTxt.text = String(
);
};
};
break;
case 7:
= null;
_arg3.windowFinish.scoreTxt.text = String();
};
}
private function
(_arg1:int):int{
var _local2:int;
= SharedObject.getLocal("gawpData");
if (_arg1 == 1){
_local2 = .data.mode1;
} else {
_local2 = .data.mode2;
};
return (_local2);
}
public function attachPauseBg():void{
var _local1:MovieClip;
_local1 = new PauseBg();
_local1.name = "pauseBg";
_local1.gotoAndStop(2);
addChild(_local1);
}
private function (_arg1:Event):void{
if ( .soundBtn.currentFrame == 1){
.soundBtn.gotoAndStop(2);
.muteMusic();
} else {
.soundBtn.gotoAndStop(1);
.muteMusic();
};
}
private function (_arg1:uint, _arg2:Function):void{
var _local3:*;
.mouseChildren = false;
_local3 = new WindowMessage();
_local3.x = 143;
_local3.y = 115;
_local3.reasonMessage.gotoAndStop(_arg1);
addChild(_local3);
_local3.yesBtn.addEventListener(MouseEvent.CLICK, Delegate.create(
, _local3, _arg2));
_local3.noBtn.addEventListener(MouseEvent.CLICK, Delegate.create(, _local3));
}
private function ():void{
var _local1:uint;
if ( ){
_local1 = (500, 1000);
= new Timer(_local1, 1);
.addEventListener(TimerEvent.TIMER_COMPLETE, );
.start();
} else {
= null;
};
}
private function (_arg1:Sprite):void{
();
removeChild(_arg1);
_arg1 = null;
removeChild();
= null;
removeChild(theGame);
theGame = null;
}
public function activateBonus():void{
if (!
){
= true;
theGame.bonusMc.bonus.gotoAndStop(2);
theGame.bonusMc.useHandCursor = true;
= new Timer(2000);
.addEventListener(TimerEvent.TIMER, );
.start();
};
}
private function ():void{
theGame.bonusMc.mouseChildren = false;
theGame.bonusMc.buttonMode = true;
theGame.bonusMc.useHandCursor = false;
theGame.bonusMc.addEventListener(MouseEvent.CLICK,
);
}
public function decreaseLives():void{
var _local1:AntiCheater;
var _local2:Timer;
if (
> 1){
if ( == md5.encrypt(((GameMain.pass +
) +
))){
--;
(
);
} else {
_local1 = new AntiCheater();
_local1.showCheaterWindow(this);
};
} else {
= 0;
(
);
this.stage.mouseChildren = false;
_local2 = new Timer(1000, 1);
_local2.addEventListener(TimerEvent.TIMER, Delegate.create(, false, 1));
_local2.start();
};
}
private function (_arg1:uint):void{
if (_arg1 == 1){
.gameModeTxt.gotoAndStop(1);
} else {
.gameModeTxt.gotoAndStop(2);
};
}
private function (_arg1:MovieClip):void{
_arg1.windowFinish.nicknameSubmit.addFrameScript(1, null);
if (
()){
_arg1.windowFinish.nicknameSubmit.nicknameTxt.text =
();
};
}
private function ():void{
.stop();
.removeEventListener(TimerEvent.TIMER,
);
.removeEventListener(TimerEvent.TIMER_COMPLETE,
);
= null;
}
public function setOneColor(_arg1:uint):void{
var _local2:int;
var _local3:uint;
_local2 = 0;
while (balls[_local2]) {
_local3 = balls[_local2].color;
if (((!((_arg1 == _local3))) && (!((balls[_local2] is BigColorBall))))){
if (_local3 == 5){
trace("kurwa znowu ten sam problem");
};
balls[_local2].setColor(_arg1);
balls[_local2].changeBall();
};
_local2++;
};
}
private function (_arg1:Event):void{
if (adBox){
removeChild(adBox);
adBox = null;
};
gotoAndStop(3);
addFrameScript(2, );
}
private function (_arg1:Boolean, _arg2:uint=0):void{
var _local3:MovieClip;
playSounds(WindowMp3);
_local3 = new LevelFinish();
_local3.x = 164;
_local3.y = 0;
if (_arg2 != 2){
_local3.buttonMode = true;
_local3.useHandCursor = true;
_local3.mouseChildren = false;
};
if (
){
theGame.bonusMc.useHandCursor = false;
};
this.
= _arg1;
if (!_arg1){
if (_arg2 == 1){
_local3.windowFinish.gotoAndStop(6);
} else {
if (_arg2 == 2){
_local3.windowFinish.gotoAndStop(3);
_local3.windowFinish.addFrameScript(2, Delegate.create(
, _local3));
};
};
};
addChild(_local3);
_local3.addFrameScript(17, Delegate.create(, _local3, _arg2));
if (_arg2 != 2){
_local3.addEventListener(MouseEvent.CLICK, Delegate.create(
, _local3));
} else {
_local3.windowFinish.addEventListener(MouseEvent.CLICK, Delegate.create(
, _local3, true));
};
}
public function checkBallsPair():Boolean{
var _local1:uint;
var _local2:Boolean;
var _local3:int;
var _local4:*;
for (_local4 in balls) {
if ((balls[_local4] is BigColorBall)){
_local2 = true;
return (_local2);
};
_local1 = balls[_local4].color;
_local3 = (_local4 + 1);
while (balls[_local3]) {
if (_local1 == balls[_local3].color){
_local2 = true;
return (_local2);
};
_local3++;
};
};
_local2 = false;
return (_local2);
}
private function
(_arg1:Event):void{
if (
.windowFinish.quickHelpBtn.quickHelpMode.currentFrame == 1){
.windowFinish.quickHelpBtn.quickHelpMode.gotoAndStop(2);
(true);
} else {
.windowFinish.quickHelpBtn.quickHelpMode.gotoAndStop(1);
(false);
};
}
private function (_arg1:MovieClip):void{
removeChild(DisplayObject(_arg1));
if (!()){
();
} else {
();
};
}
private function (_arg1:MovieClip){
_arg1.windowFinish.gawpRedTxt.mouseEnabled = false;
_arg1.windowFinish.gawpBlueTxt.mouseEnabled = false;
_arg1.windowFinish.gawpGreenTxt.mouseEnabled = false;
_arg1.windowFinish.gawpGreyTxt.mouseEnabled = false;
_arg1.windowFinish.gawpBonusTxt.mouseEnabled = false;
_arg1.windowFinish.gawpBigTxt.mouseEnabled = false;
_arg1.windowFinish.scoreTxt.mouseEnabled = false;
}
private function (_arg1:Sprite):void{
removeChild(_arg1);
_arg1 = null;
();
}
private function ():void{
if (level > 0){
level++;
} else {
level = 1;
};
.levelTxt.text = String(level);
}
private function (_arg1:int, _arg2:int):int{
return ((Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1));
}
private function (_arg1:MouseEvent):void{
if ((((.length == 0)) && ())){
();
};
}
public function (_arg1:Event=null):void{
.getArrays();
.getArrays();
= true;
theGame.menuBtn.mouseEnabled = true;
();
addEventListener(Event.ENTER_FRAME,
);
}
private function ():void{
();
();
();
(mode);
if (mode == 1){
(8);
} else {
(6);
};
theGame.pointsTxt.text = String(0);
();
();
}
private function (_arg1:MovieClip, _arg2:uint):void{
var _local3:uint;
_arg1.addFrameScript(17, null);
if (
){
playSounds(FinishedLevelMp3);
= points.getRestPoints(, , .getPercents());
_local3 = ();
= ( + _local3);
_arg1.windowFinish.levelTxt.text = String(level);
if ((((mode == 1)) && ((level == 10)))){
livesBonus = (
* 1000);
= ( + livesBonus);
_arg1.windowFinish.livesBonus.gotoAndStop(2);
};
} else {
playSounds(GameFailedMp3);
_arg1.windowFinish.levelTxt.text = String((level - 1));
};
(null, 1, _arg1);
}
private function
():void{
var _local1:MovieClip;
playSounds(WindowMp3);
_local1 = new LevelFinish();
_local1.x = 164;
_local1.windowFinish.gotoAndStop(5);
_local1.windowFinish.addFrameScript(4, Delegate.create(
, _local1));
_local1.buttonMode = true;
_local1.mouseChildren = false;
_local1.useHandCursor = true;
_local1.addEventListener(MouseEvent.CLICK, );
addChild(_local1);
}
private function ():void{
= new Levels();
= new BallMaker(theGame);
= new Drawer(this);
= new Mover(this);
points = new Points(this, theGame.pointsTxt);
= new Stopwatch(.timeBonus);
= new CoinHandler(this, theGame);
= new CurrentBonuses(, new Point(250, 10));
}
private function (_arg1:uint):Number{
var _local2:Number;
_local2 = (10 * Math.ceil((Math.pow(_arg1, 2.5) / 3)));
return (_local2);
}
private function
(_arg1:uint, _arg2:TextField, _arg3:Function, _arg4:uint, _arg5:MovieClip):void{
var _local6:uint;
playSounds(CounterMp3);
_local6 = Math.ceil((_arg1 / 10));
= new Timer(30, 10);
.addEventListener(TimerEvent.TIMER, Delegate.create(
, _arg2, _local6, _arg1));
.addEventListener(TimerEvent.TIMER_COMPLETE, Delegate.create(_arg3, _arg4, _arg5));
.start();
}
private function ():void{
removeChild(getChildByName("pauseBg"));
}
private function ():void{
stage.addEventListener(KeyboardEvent.KEY_UP, );
}
public function getTheGame():TheGameBoard{
return (theGame);
}
public function setMaxCombination(_arg1:uint):void{
if (_arg1 > ){
= _arg1;
};
}
public function addSpecialPoints(_arg1:int):void{
points.addSpecialPoints(_arg1);
}
private function (_arg1:Event, _arg2:MovieClip):void{
= true;
level--;
playSounds(WindowMp3);
_arg2.gotoAndPlay(20);
_arg2.addFrameScript(33, Delegate.create(, _arg2));
removeBalls();
();
();
}
public function clearLine():void{
.clearLine(false);
}
private function ():void{
if (
.currentFrame == 19){
playSounds(WindowMp3);
.gotoAndPlay(20);
.addFrameScript(33, );
};
}
public function (_arg1:Event, _arg2:Boolean, _arg3:uint=0):void{
this.stage.mouseChildren = true;
finish();
attachPauseBg();
if (_arg2){
(2);
} else {
(false, _arg3);
};
}
private function ():void{
var _local1:uint;
_local1 = bonuses.length;
while (--_local1 > -1) {
.removeBonus(bonuses[_local1]);
};
}
private function ():void{
addFrameScript(2, null);
remiGamesIntro.gotoAndPlay(2);
remiGamesIntro.buttonMode = true;
remiGamesIntro.useHandCursor = true;
remiGamesIntro.addEventListener(MouseEvent.CLICK, );
}
}
}//package
Section 152
//GameSummaryMp3 (GameSummaryMp3)
package {
import flash.media.*;
public dynamic class GameSummaryMp3 extends Sound {
}
}//package
Section 153
//Gradient (Gradient)
package {
import flash.display.*;
import flash.geom.*;
public class Gradient {
private static const IDENTITY:Matrix = new Matrix();
public static function getArray(_arg1:Array, _arg2:Array, _arg3:Array):Array{
var _local4:Array;
var _local5:Shape;
var _local6:Matrix;
var _local7:BitmapData;
var _local8:Graphics;
var _local9:uint;
var _local10:int;
_local4 = new Array();
_local5 = new Shape();
_local6 = new Matrix();
_local7 = new BitmapData(0x0100, 1, true, 0);
_local8 = _local5.graphics;
_local6.createGradientBox(0x0100, 0x0100, 0, 0, 0);
_local8.clear();
_local8.beginGradientFill("linear", _arg1, _arg2, _arg3, _local6);
_local8.drawRect(0, 0, 0x0100, 0x0100);
_local8.endFill();
_local7.draw(_local5, IDENTITY);
_local10 = 0;
while (_local10 < 0x0100) {
_local9 = _local7.getPixel32(_local10, 0);
_local4.push(_local9);
_local10++;
};
return (_local4);
}
}
}//package
Section 154
//HealthBar (HealthBar)
package {
import flash.display.*;
import flash.text.*;
public dynamic class HealthBar extends MovieClip {
public var health:MovieClip;
public var healthTxt:TextField;
}
}//package
Section 155
//Hourglass (Hourglass)
package {
public class Hourglass extends Bonus {
public const type:String = "SLOW_DOWN";
public function Hourglass(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
addFrameScript(0, frame1);
(_arg1, _arg2, _arg3, _arg4);
}
function frame1(){
stop();
}
}
}//package
Section 156
//LevelFinish (LevelFinish)
package {
import flash.display.*;
public dynamic class LevelFinish extends MovieClip {
public var windowFinish:MovieClip;
public function LevelFinish(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package
Section 157
//Levels (Levels)
package {
public class Levels {
private var :uint;// = 8
private var maxSpeed:Number;// = 10
private var
:uint;// = 0
private var
;// = 30
private var :uint;// = 12
private var :uint;// = 0
private var ;// = 0.3
static var level10 = {time:80, balls:[4, 6, 6], maxSpeed:0.7, bigBalls:[100, 100, 100], bonuses:{power:1, slow:1}};
static var level1 = {time:20, balls:[3, 3], maxSpeed:0.6, bonuses:{multi:1}};
static var level2 = {time:25, balls:[2, 4, 3], maxSpeed:0.6, bonuses:{slow:1}};
static var level3 = {time:35, balls:[3, 3, 6], maxSpeed:0.7, bonuses:{anty:1}};
static var level4 = {time:35, balls:[2, 3, 2], maxSpeed:0.6, bigBalls:[40], bonuses:{slow:1}};
static var level5 = {time:35, balls:[7, 3, 2], maxSpeed:0.7, bonuses:{multi:2, slow:1}};
static var level6 = {time:40, balls:[4, 3, 4], maxSpeed:0.7, bigBalls:[100], bonuses:{multi:1, anty:1}};
static var level7 = {time:55, balls:[6, 2, 2], maxSpeed:0.6, bigBalls:[80, 80], bonuses:{slow:1, anty:1, power:1}};
static var level8 = {time:55, balls:[10, 2], maxSpeed:0.8, bonuses:{slow:1, multi:1}};
static var level9 = {time:55, balls:[2, 5, 5], maxSpeed:0.7, bigBalls:[180], bonuses:{multi:3, power:1}};
public function Levels(){
maxSpeed = 10;
= 8;
= 12;
= 0;
= 0;
= 0.3;
= 30;
super();
}
private function (_arg1:int, _arg2:int):int{
return ((Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1));
}
public function getRandomLevel(_arg1:uint):Object{
var levelObj:Object;
var numBalls:int;
var balls1:uint;
var balls2:uint;
var balls3:uint;
var bigHealthLimit:uint;
var numBigBalls:uint;
var bigBalls:Array;
var i:*;
var numBonuses:uint;
var bonusesArr:Array;
var bonuses:Object;
var index:uint;
var level = _arg1;
(level);
levelObj = new Object();
levelObj.time = 30;
levelObj.maxSpeed = ((8, maxSpeed) / 10);
numBalls = (, );
balls1 = (0, Math.floor((numBalls / 2)));
if (balls1 == 0){
balls1 = (Math.floor(( / 2)), Math.floor(( / 2)));
};
if (balls1 == 1){
balls1 = (balls1 + 1);
};
balls2 = (0, Math.floor((numBalls / 2)));
if (balls2 == 1){
balls2 = (balls2 + 1);
};
numBalls = (numBalls - balls1);
numBalls = (numBalls - balls2);
if (numBalls < 0){
numBalls = 0;
};
if (numBalls > 8){
numBalls = 8;
};
balls3 = numBalls;
if (balls3 == 1){
balls3 = (balls3 + 1);
};
levelObj.balls = new Array(balls1, balls2, balls3);
bigHealthLimit = (((Math.ceil((Math.pow(balls1, 2.5) / 3)) * 10) + (Math.ceil((Math.pow(balls2, 2.5) / 3)) * 10)) + (Math.ceil((Math.pow(balls3, 2.5) / 3)) * 10));
bigHealthLimit = (bigHealthLimit * );
numBigBalls = (
, );
bigBalls = new Array();
i = 0;
while (i < numBigBalls) {
bigBalls.push((10 * Math.floor((bigHealthLimit / 10))));
i = (i + 1);
};
levelObj.bigBalls = bigBalls;
numBonuses = (1, 4);
bonusesArr = new Array("multi", "anty", "slow");
bonuses = new Object();
bonuses.addBonus = function (_arg1:String){
if (!this[_arg1]){
this[_arg1] = 0;
};
var _local2 = this;
var _local3 = _arg1;
var _local4 = (_local2[_local3] + 1);
_local2[_local3] = _local4;
};
if (numBigBalls){
bonusesArr.push("power");
};
while ((numBonuses = (numBonuses - 1)), numBonuses) {
index = (0, (bonusesArr.length - 1));
bonuses.addBonus(bonusesArr[index]);
if ((((bonusesArr[index] == "anty")) || ((bonusesArr[index] == "slow")))){
bonusesArr.splice(index, 1);
};
};
bonuses.addBonus = null;
levelObj.bonuses = bonuses;
return (levelObj);
}
private function (){
var _local1:*;
_local1 = 0;
while (_local1 < 100) {
trace(Math.random());
_local1++;
};
}
private function (_arg1:uint){
if ((((_arg1 > 1)) && ((_arg1 <= 30)))){
if (maxSpeed < 15){
maxSpeed = (maxSpeed + 0.5);
};
if (((!((_arg1 % 5))) && ((_arg1 <= 20)))){
++;
++;
= (
+ 5);
};
if (((!((_arg1 % 3))) && (( < 3)))){
++;
= ( - 1);
};
if (!(_arg1 % 7)){
= ( + 0.1);
};
};
}
static function getLevel(_arg1:uint):Object{
return (Levels[("level" + _arg1)]);
}
}
}//package
Section 158
//LineColors (LineColors)
package {
public class LineColors {
static const COLORS_EXP_1:Array = [[16694418, 16684110, 13784322, 16739843, 15767387, 16372409], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
static const COLORS_CATCH_LINE_2:Array = [48877, 48877, 48877];
static const COLORS_EXP_6:Array = LineColors.COLORS_EXP_4;
static const COLORS_EXP_2:Array = [[8249064, 3984861, 171201, 48877, 6801133, 3847399], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
static const COLORS_EXP_4:Array = [[16706987, 16702550, 15514882, 0xFFD200, 16435546, 16639925], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
static const COLORS_EXP_5:Array = [[0xD9D9D9, 0xB7B7B7, 0x666666, 0x919191, 10069899, 14015183], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
static const COLORS_EXP_3:Array = [[12317877, 7858794, 2399254, 3066653, 7790218, 13169359], [0, 1, 1, 1, 1, 1], [0, 34, 68, 85, 136, 0xFF]];
static const COLORS_CATCH_LINE_1:Array = [16739843, 16739843, 16739843];
static const COLORS_CATCH_LINE_3:Array = [3066653, 3066653, 3066653];
static const COLORS_CATCH_LINE_4:Array = [16433667, 16433667, 16433667];
static const COLORS_CATCH_LINE_5:Array = [0x919191, 0x919191, 0x919191];
static const COLORS_CATCH_LINE_6:Array = LineColors.COLORS_CATCH_LINE_4;
}
}//package
Section 159
//LostLife (LostLife)
package {
import flash.display.*;
public dynamic class LostLife extends MovieClip {
}
}//package
Section 160
//md5 (md5)
package {
public class md5 {
public static const HEX_FORMAT_LOWERCASE:uint = 0;
public static const HEX_FORMAT_UPPERCASE:uint = 1;
public static const BASE64_PAD_CHARACTER_DEFAULT_COMPLIANCE:String = "";
public static const BASE64_PAD_CHARACTER_RFC_COMPLIANCE:String = "=";
public static var hexcase:uint = 0;
public static var b64pad:String = "";
public static function md5_gg(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function md5_cmn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Number{
return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3));
}
public static function binl_md5(_arg1:Array, _arg2:Number):Array{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 = safe_add(_local3, _local8);
_local4 = safe_add(_local4, _local9);
_local5 = safe_add(_local5, _local10);
_local6 = safe_add(_local6, _local11);
_local7 = (_local7 + 16);
};
return ([_local3, _local4, _local5, _local6]);
}
public static function str2rstr_utf16le(_arg1:String):String{
var _local2:String;
var _local3:Number;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + String.fromCharCode((_arg1.charCodeAt(_local3) & 0xFF), ((_arg1.charCodeAt(_local3) >>> 8) & 0xFF)));
_local3++;
};
return (_local2);
}
public static function hex_hmac_md5(_arg1:String, _arg2:String):String{
return (rstr2hex(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2))));
}
public static function binl2rstr(_arg1:Array):String{
var _local2:String;
var _local3:Number;
_local2 = "";
_local3 = 0;
while (_local3 < (_arg1.length * 32)) {
_local2 = (_local2 + String.fromCharCode(((_arg1[(_local3 >> 5)] >>> (_local3 % 32)) & 0xFF)));
_local3 = (_local3 + 8);
};
return (_local2);
}
public static function md5_ff(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function md5_ii(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function rstr2binl(_arg1:String):Array{
var _local2:Array;
var _local3:Number;
_local2 = Array((_arg1.length >> 2));
_local3 = 0;
while (_local3 < _local2.length) {
_local2[_local3] = 0;
_local3++;
};
_local3 = 0;
while (_local3 < (_arg1.length * 8)) {
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | ((_arg1.charCodeAt((_local3 / 8)) & 0xFF) << (_local3 % 32)));
_local3 = (_local3 + 8);
};
return (_local2);
}
public static function md5_vm_test():Boolean{
return ((hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"));
}
public static function b64_md5(_arg1:String):String{
return (rstr2b64(rstr_md5(str2rstr_utf8(_arg1))));
}
public static function any_hmac_md5(_arg1:String, _arg2:String, _arg3:String):String{
return (rstr2any(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2)), _arg3));
}
public static function hex_md5(_arg1:String):String{
return (rstr2hex(rstr_md5(str2rstr_utf8(_arg1))));
}
public static function bit_rol(_arg1:Number, _arg2:Number):Number{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
public static function encrypt(_arg1:String):String{
return (hex_md5(_arg1));
}
public static function md5_hh(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function rstr2hex(_arg1:String):String{
var _local2:String;
var _local3:String;
var _local4:Number;
var _local5:Number;
_local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef";
_local3 = "";
_local5 = 0;
while (_local5 < _arg1.length) {
_local4 = _arg1.charCodeAt(_local5);
_local3 = (_local3 + (_local2.charAt(((_local4 >>> 4) & 15)) + _local2.charAt((_local4 & 15))));
_local5++;
};
return (_local3);
}
public static function any_md5(_arg1:String, _arg2:String):String{
return (rstr2any(rstr_md5(str2rstr_utf8(_arg1)), _arg2));
}
public static function b64_hmac_md5(_arg1:String, _arg2:String):String{
return (rstr2b64(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2))));
}
public static function rstr2b64(_arg1:String):String{
var _local2:String;
var _local3:String;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = "";
_local4 = _arg1.length;
_local5 = 0;
while (_local5 < _local4) {
_local6 = (((_arg1.charCodeAt(_local5) << 16) | (((_local5 + 1) < _local4)) ? (_arg1.charCodeAt((_local5 + 1)) << 8) : 0) | (((_local5 + 2) < _local4)) ? _arg1.charCodeAt((_local5 + 2)) : 0);
_local7 = 0;
while (_local7 < 4) {
if (((_local5 * 8) + (_local7 * 6)) > (_arg1.length * 8)){
_local3 = (_local3 + b64pad);
} else {
_local3 = (_local3 + _local2.charAt(((_local6 >>> (6 * (3 - _local7))) & 63)));
};
_local7++;
};
_local5 = (_local5 + 3);
};
return (_local3);
}
public static function safe_add(_arg1:Number, _arg2:Number):Number{
var _local3:Number;
var _local4:Number;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
public static function str2rstr_utf8(_arg1:String):String{
var _local2:String;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = "";
_local3 = -1;
while (++_local3 < _arg1.length) {
_local4 = _arg1.charCodeAt(_local3);
_local5 = (((_local3 + 1) < _arg1.length)) ? _arg1.charCodeAt((_local3 + 1)) : 0;
if ((((((((0xD800 <= _local4)) && ((_local4 <= 56319)))) && ((0xDC00 <= _local5)))) && ((_local5 <= 57343)))){
_local4 = ((65536 + ((_local4 & 1023) << 10)) + (_local5 & 1023));
_local3++;
};
if (_local4 <= 127){
_local2 = (_local2 + String.fromCharCode(_local4));
} else {
if (_local4 <= 2047){
_local2 = (_local2 + String.fromCharCode((192 | ((_local4 >>> 6) & 31)), (128 | (_local4 & 63))));
} else {
if (_local4 <= 0xFFFF){
_local2 = (_local2 + String.fromCharCode((224 | ((_local4 >>> 12) & 15)), (128 | ((_local4 >>> 6) & 63)), (128 | (_local4 & 63))));
} else {
if (_local4 <= 2097151){
_local2 = (_local2 + String.fromCharCode((240 | ((_local4 >>> 18) & 7)), (128 | ((_local4 >>> 12) & 63)), (128 | ((_local4 >>> 6) & 63)), (128 | (_local4 & 63))));
};
};
};
};
};
return (_local2);
}
public static function rstr_hmac_md5(_arg1:String, _arg2:String):String{
var _local3:Array;
var _local4:Array;
var _local5:Array;
var _local6:Number;
var _local7:Array;
_local3 = rstr2binl(_arg1);
if (_local3.length > 16){
_local3 = binl_md5(_local3, (_arg1.length * 8));
};
_local4 = Array(16);
_local5 = Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = binl_md5(_local4.concat(rstr2binl(_arg2)), (0x0200 + (_arg2.length * 8)));
return (binl2rstr(binl_md5(_local5.concat(_local7), (0x0200 + 128))));
}
public static function str2rstr_utf16be(_arg1:String):String{
var _local2:String;
var _local3:Number;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + String.fromCharCode(((_arg1.charCodeAt(_local3) >>> 8) & 0xFF), (_arg1.charCodeAt(_local3) & 0xFF)));
_local3++;
};
return (_local2);
}
public static function rstr2any(_arg1:String, _arg2:String):String{
var _local3:Number;
var _local4:Array;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Array;
var _local9:Array;
var _local10:String;
_local3 = _arg2.length;
_local4 = [];
_local9 = Array((_arg1.length / 2));
_local5 = 0;
while (_local5 < _local9.length) {
_local9[_local5] = ((_arg1.charCodeAt((_local5 * 2)) << 8) | _arg1.charCodeAt(((_local5 * 2) + 1)));
_local5++;
};
while (_local9.length > 0) {
_local8 = [];
_local7 = 0;
_local5 = 0;
while (_local5 < _local9.length) {
_local7 = ((_local7 << 16) + _local9[_local5]);
_local6 = Math.floor((_local7 / _local3));
_local7 = (_local7 - (_local6 * _local3));
if ((((_local8.length > 0)) || ((_local6 > 0)))){
_local8[_local8.length] = _local6;
};
_local5++;
};
_local4[_local4.length] = _local7;
_local9 = _local8;
};
_local10 = "";
_local5 = (_local4.length - 1);
while (_local5 >= 0) {
_local10 = (_local10 + _arg2.charAt(_local4[_local5]));
_local5--;
};
return (_local10);
}
public static function rstr_md5(_arg1:String):String{
return (binl2rstr(binl_md5(rstr2binl(_arg1), (_arg1.length * 8))));
}
}
}//package
Section 161
//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 162
//Mover (Mover)
package {
import flash.events.*;
import flash.geom.*;
import flash.utils.*;
public class Mover extends EventDispatcher {
private const LEFT:Number = 0;
private const BOTTOM:Number = 412;
private const easing:Number = 0.1;
private const TOP:Number = 20;
private const RIGHT:Number = 600;
private var :Array;
private var
:Number;// = 0.185
private var balls:Array;
public var then:int;
private var bonuses:Array;
private var :GameMain;
public var now:int;
public function Mover(_arg1:GameMain){
= 0.185;
super();
= _arg1;
}
private function
(_arg1):void{
if (_arg1.x < (LEFT + (_arg1._width / 2))){
_arg1.x = (LEFT + (_arg1._width / 2));
_arg1.vx = (_arg1.vx * -1);
} else {
if (_arg1.x > (RIGHT - (_arg1._width / 2))){
_arg1.x = (RIGHT - (_arg1._width / 2));
_arg1.vx = (_arg1.vx * -1);
};
};
if (_arg1.y < (TOP + (_arg1._height / 2))){
_arg1.y = (TOP + (_arg1._height / 2));
_arg1.vy = (_arg1.vy * -1);
} else {
if (_arg1.y > (BOTTOM - (_arg1._height / 2))){
_arg1.y = (BOTTOM - (_arg1._height / 2));
_arg1.vy = (_arg1.vy * -1);
};
};
}
public function moveBalls():void{
var _local1:int;
var _local2:*;
var _local3:int;
var _local4:Point;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:int;
then = now;
now = getTimer();
_local1 = (now - then);
for (_local2 in bonuses) {
if (!bonuses[_local2].isPulling){
bonuses[_local2].x = (bonuses[_local2].x + ((_local1 / 25) * bonuses[_local2].vx));
bonuses[_local2].y = (bonuses[_local2].y + ((_local1 / 25) * bonuses[_local2].vy));
(bonuses[_local2]);
} else {
_local4 = new Point(bonuses[_local2].target.x, bonuses[_local2].target.y);
_local5 = (_local4.x - bonuses[_local2].x);
_local6 = (_local4.y - bonuses[_local2].y);
bonuses[_local2].vx = (_local5 * easing);
bonuses[_local2].vy = (_local6 * easing);
bonuses[_local2].x = (bonuses[_local2].x + bonuses[_local2].vx);
bonuses[_local2].y = (bonuses[_local2].y + bonuses[_local2].vy);
_local7 = Math.sqrt(((_local5 * _local5) + (_local6 * _local6)));
if (_local7 < ((bonuses[_local2]._width / 2) + (bonuses[_local2].target._width / 2))){
.playSounds(BonusCollected2Mp3);
.performBonus(bonuses[_local2].type, bonuses[_local2]);
if (!(bonuses[_local2] is AntiCollision)){
.addBonusToBar(bonuses[_local2].constructor);
};
bonuses[_local2].animAndRemove();
.removeBonus(bonuses[_local2]);
};
};
};
_local2 = balls.length;
while (--_local2 > -1) {
_local8 = ((_local1 / 25) * balls[_local2].vx);
_local9 = ((_local1 / 25) * balls[_local2].vy);
balls[_local2].x = (balls[_local2].x + _local8);
balls[_local2].y = (balls[_local2].y + _local9);
balls[_local2].rotation = (balls[_local2].rotation + balls[_local2].vr);
(balls[_local2]);
(balls[_local2]);
balls[_local2].vr = Math.sqrt((Math.pow(balls[_local2].vx, 2) + Math.pow(balls[_local2].vy, 2)));
};
_local2 = balls.length;
_local3 = 0;
while (_local3 < _local2) {
_local10 = (_local3 + 1);
while (_local10 < _local2) {
(balls[_local3], balls[_local10]);
_local10++;
};
_local3++;
};
}
private function (_arg1:ColorBallMain):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Object;
var _local6:Number;
var _local7:Object;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
if (.length > 1){
_local2 = .length;
_local3 = 0;
while ([_local3]) {
if (_local3 == 0){
_local4 = 1;
} else {
if (_local3 < (_local2 - 1)){
_local4 = 2;
} else {
if (_local3 == (_local2 - 1)){
break;
};
};
};
if ([_local3].connectedArr[_local4] == null){
.clearLine();
return;
};
_local5 = [_local3].connectedArr[_local4];
if (_local5.isDisable){
_local3++;
continue;
} else {
if (((_arg1.connectedArr[0]) && (_arg1.connectedArr[2]))){
if ((((_arg1.connectedArr[1].line == _local5.line)) || ((_arg1.connectedArr[2].line == _local5.line)))){
_local3++;
continue;
};
} else {
if (_arg1.connectedArr[0]){
if (_arg1.connectedArr[1].line == _local5.line){
_local3++;
continue;
};
};
};
};
_local6 = ((_local5.angle / Math.PI) * 180);
if ((((_local6 > 45)) || ((_local6 < -45)))){
if (_local6 > 45){
_local8 = ((Math.PI / 2) - _local5.angle);
} else {
if (_local6 < -45){
_local8 = -((_local5.angle + (Math.PI / 2)));
};
};
if ((((_arg1.y > _local5.yMin)) && ((_arg1.y < _local5.yMax)))){
_local7 = (_local8, _arg1.x, _arg1.y, _local5.point.x, _local5.point.y);
_local9 = ((_local7.cos * _local7.x1) - (_local7.sin * _local7.y1));
_local10 = ((_local7.cos * _arg1.vx) - (_local7.sin * _arg1.vy));
if ((((((_local9 > (-(_arg1._height) / 2))) && ((_local9 < _local10)))) || ((((_local9 < (_arg1._height / 2))) && ((_local9 > _local10)))))){
(_arg1);
break;
};
};
} else {
if ((((_arg1.x > _local5.xMin)) && ((_arg1.x < _local5.xMax)))){
_local7 = (_local5.angle, _arg1.x, _arg1.y, _local5.point.x, _local5.point.y);
_local11 = ((_local7.cos * _local7.y1) - (_local7.sin * _local7.x1));
_local12 = ((_local7.cos * _arg1.vy) - (_local7.sin * _arg1.vx));
if ((((((_local11 > (-(_arg1._height) / 2))) && ((_local11 < _local12)))) || ((((_local11 < (_arg1._height / 2))) && ((_local11 > _local12)))))){
(_arg1);
break;
};
};
};
_local3++;
};
};
}
private function (_arg1, _arg2):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Object;
var _local10:Object;
var _local11:Object;
var _local12:Object;
var _local13:Number;
var _local14:Number;
var _local15:Object;
var _local16:Object;
var _local17:Object;
var _local18:Object;
_local3 = (_arg2.x - _arg1.x);
_local4 = (_arg2.y - _arg1.y);
_local5 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4)));
if (_local5 < ((_arg1._width / 2) + (_arg2._width / 2))){
_arg1.showBallReaction();
_arg2.showBallReaction();
_local6 = Math.atan2(_local4, _local3);
_local7 = Math.sin(_local6);
_local8 = Math.cos(_local6);
_local9 = {x:0, y:0};
_local10 = (_local3, _local4, _local7, _local8, true);
_local11 = (_arg1.vx, _arg1.vy, _local7, _local8, true);
_local12 = (_arg2.vx, _arg2.vy, _local7, _local8, true);
_local13 = (_local11.x - _local12.x);
_local11.x = ((((_arg1.mass - _arg2.mass) * _local11.x) + ((2 * _arg2.mass) * _local12.x)) / (_arg1.mass + _arg2.mass));
_local12.x = (_local13 + _local11.x);
_local14 = (((_arg1._width / 2) + (_arg2._width / 2)) - Math.abs((_local9.x - _local10.x)));
if ((((_local11.x > 0)) && ((_local12.x > 0)))){
if (_local9.x > _local10.x){
_local9.x = (_local9.x + _local14);
} else {
_local10.x = (_local10.x + _local14);
};
} else {
if ((((_local11.x < 0)) && ((_local12.x < 0)))){
if (_local9.x > _local10.x){
_local10.x = (_local10.x + -(_local14));
} else {
_local9.x = (_local9.x + -(_local14));
};
} else {
if (_local11.x > 0){
_local9.x = (_local9.x + (_local14 / 2));
} else {
_local9.x = (_local9.x + (-(_local14) / 2));
};
if (_local12.x > 0){
_local10.x = (_local10.x + (_local14 / 2));
} else {
_local10.x = (_local10.x + (-(_local14) / 2));
};
};
};
_local15 = (_local9.x, _local9.y, _local7, _local8, false);
_local16 = (_local10.x, _local10.y, _local7, _local8, false);
_arg2.x = (_arg1.x + _local16.x);
_arg2.y = (_arg1.y + _local16.y);
_arg1.x = (_arg1.x + _local15.x);
_arg1.y = (_arg1.y + _local15.y);
_local17 = (_local11.x, _local11.y, _local7, _local8, false);
_local18 = (_local12.x, _local12.y, _local7, _local8, false);
_arg1.vx = _local17.x;
_arg1.vy = _local17.y;
_arg2.vx = _local18.x;
_arg2.vy = _local18.y;
};
}
private function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean):Object{
var _local6:Object;
_local6 = new Object();
if (_arg5){
_local6.x = ((_arg1 * _arg4) + (_arg2 * _arg3));
_local6.y = ((_arg2 * _arg4) - (_arg1 * _arg3));
} else {
_local6.x = ((_arg1 * _arg4) - (_arg2 * _arg3));
_local6.y = ((_arg2 * _arg4) + (_arg1 * _arg3));
};
return (_local6);
}
private function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Object{
var _local6:Object;
_local6 = new Object();
_local6.cos = Math.cos(_arg1);
_local6.sin = Math.sin(_arg1);
_local6.x1 = (_arg2 - _arg4);
_local6.y1 = (_arg3 - _arg5);
return (_local6);
}
public function getArrays():void{
= .getConnectedBalls();
bonuses = .getBonuses();
balls = .getBalls();
}
private function (_arg1:ColorBallMain):void{
_arg1.vx = 0;
_arg1.vy = 0;
if (!(_arg1 is BigColorBall)){
if (_arg1.color != 5){
_arg1.setColor(5);
};
_arg1.changeBall();
if (_arg1.connectedArr[0]){
_arg1.collided = true;
};
.playSounds(ExchangeMp3);
} else {
.playSounds(BigGawpDamageMp3);
BigColorBall(_arg1).showDamageAnim();
if (_arg1.connectedArr[0]){
_arg1.collided = true;
};
};
.decreaseLives();
.lifeLostAnim(_arg1.x, _arg1.y);
.clearLine();
}
}
}//package
Section 163
//Multiplier (Multiplier)
package {
public class Multiplier extends Bonus {
public const type:String = "MULTIPLIER";
public var multi:int;
public function Multiplier(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:uint=2){
addFrameScript(0, frame1);
(_arg1, _arg2, _arg3, _arg4);
multi = _arg5;
this.gotoAndStop((multi - 1));
this.mouseChildren = false;
}
function frame1(){
stop();
}
}
}//package
Section 164
//Particle (Particle)
package {
public class Particle {
public var vx:Number;
public var vy:Number;
public var sx:Number;
public var sy:Number;
public var energie:Number;
public var energieDamp:Number;
public var alpha:Number;
public function Particle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number){
this.sx = _arg1;
this.sy = _arg2;
this.vx = _arg3;
this.vy = _arg4;
this.energie = _arg5;
this.energieDamp = _arg6;
this.alpha = _arg7;
}
}
}//package
Section 165
//PauseBg (PauseBg)
package {
import flash.display.*;
public dynamic class PauseBg extends MovieClip {
public function PauseBg(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 166
//Points (Points)
package {
import flash.text.*;
public class Points {
private var points:int;
private var pointsTxt:TextField;
private var :GameMain;
private var :uint;
private var pass:String;// = "szrghp"
private var :int;
private var :String;
static var levelsMultiplier:Number = 1;
static var multiplier:uint = 1;
public function Points(_arg1:GameMain, _arg2:TextField){
pass = "szrghp";
super();
this. = _arg1;
= 500;
this.pointsTxt = _arg2;
= _arg1.getRandomNum();
= md5.encrypt(((pass + "0") + ));
if (pointsTxt.text != "0"){
setPoints(0);
};
}
public function addPoints(_arg1:uint):void{
var _local2:uint;
var _local3:int;
_local2 = Points.getPoints(_arg1);
.increaseLevelScore(_local2);
_local3 = this.points;
_local3 = (_local3 + _local2);
setPoints(_local3);
Points.multiplier = 1;
}
public function getRestPoints(_arg1:uint, _arg2:uint, _arg3:uint):Array{
var _local4:Array;
_local4 = new Array();
_local4.push((_arg1 * 100));
_local4.push((_arg2 * 4));
_local4.push(Math.round((( * _arg3) / 100)));
return (_local4);
}
public function setPoints(_arg1:int):void{
var _local2:AntiCheater;
if ( == md5.encrypt(((pass + points) + ))){
points = _arg1;
= .getRandomNum();
= md5.encrypt(((pass + points) + ));
pointsTxt.text = String(points);
} else {
_local2 = new AntiCheater();
_local2.showCheaterWindow();
};
}
public function (_arg1:uint):uint{
return (Math.round((( * _arg1) / 100)));
}
public function increaseMultipliers():void{
= ( + 100);
Points.levelsMultiplier = (Points.levelsMultiplier + 0.05);
}
public function addSpecialPoints(_arg1:uint):void{
var _local2:int;
_local2 = this.points;
_local2 = (_local2 + _arg1);
.increaseLevelScore(_arg1);
setPoints(_local2);
}
public function getTotalPoints():uint{
return (points);
}
static function getPoints(_arg1:uint):uint{
var _local2:uint;
_local2 = (10 * Math.ceil((Math.pow(_arg1, 2.5) * Points.levelsMultiplier)));
return ((_local2 * Points.multiplier));
}
}
}//package
Section 167
//PointsCombination (PointsCombination)
package {
import flash.display.*;
public dynamic class PointsCombination extends MovieClip {
public var pointsMC:MovieClip;
public function PointsCombination(){
addFrameScript(37, );
}
function (){
stop();
}
}
}//package
Section 168
//Power (Power)
package {
public class Power extends Bonus {
public const type:String = "POWER";
public function Power(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
addFrameScript(0, frame1);
(_arg1, _arg2, _arg3, _arg4);
}
function frame1(){
stop();
}
}
}//package
Section 169
//SendPHP (SendPHP)
package {
import flash.events.*;
import flash.net.*;
public class SendPHP {
private var game:GameMain;
public function (_arg1:GameMain):void{
var myLoader:URLLoader;
var game = _arg1;
this.game = game;
myLoader = new URLLoader();
myLoader.dataFormat = URLLoaderDataFormat.TEXT;
myLoader.addEventListener(Event.COMPLETE, );
myLoader.addEventListener(IOErrorEvent.IO_ERROR,
);
try {
myLoader.load(new URLRequest("http://www.remivision.com/games/gawpsters/gawpstersRun.php"));
} catch(e:Error) {
trace("Błąd odczytu!!! ");
};
}
private function (_arg1:Event):void{
if (_arg1.target.data){
this.game.initTheGame();
};
}
private function
(_arg1:Event):void{
trace("ioError");
}
public function sendData(_arg1:String, _arg2:URLVariables, _arg3:String=null):void{
var _local4:URLRequest;
var _local5:URLVariables;
_local4 = new URLRequest(_arg1);
_local5 = _arg2;
_local4.data = _local5;
_local4.method = URLRequestMethod.POST;
if (!_arg3){
sendToURL(_local4);
} else {
navigateToURL(_local4, _arg3);
};
}
}
}//package
Section 170
//ShortInstructions (ShortInstructions)
package {
import flash.display.*;
public dynamic class ShortInstructions extends MovieClip {
public var health:MovieClip;
public var expression:MovieClip;
public var checkboxBtn:MovieClip;
public function ShortInstructions(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 171
//Sounds (Sounds)
package {
import flash.events.*;
import flash.media.*;
public class Sounds {
private var :Sound;
public var musicMuted:Boolean;
private var :Number;// = 1
private var :SoundChannel;
public var soundsMuted:Boolean;
public function Sounds(){
= 1;
super();
}
public function stopMusic():void{
if ( ){
.stop();
.removeEventListener(Event.SOUND_COMPLETE, );
= null;
= null;
};
}
public function setMusicVolume(_arg1:Number):void{
if ( ){
= _arg1;
.soundTransform = new SoundTransform(_arg1);
};
}
public function (_arg1:Event, _arg2:Class):void{
if ( ){
.removeEventListener(Event.SOUND_COMPLETE, );
playMusic(_arg2);
};
}
public function muteMusic(_arg1:Number=1):Boolean{
if (!musicMuted){
musicMuted = true;
setMusicVolume(0);
} else {
musicMuted = false;
setMusicVolume(_arg1);
};
return (musicMuted);
}
public function playMusic(_arg1:Class):void{
var _local2:SoundTransform;
= new (_arg1);
_local2 = new SoundTransform( );
= .play();
.soundTransform = _local2;
.addEventListener(Event.SOUND_COMPLETE, Delegate.create( , _arg1));
}
public function playSound(_arg1:Class):void{
var _local2:*;
if (!soundsMuted){
_local2 = new (_arg1);
_local2.play();
};
}
public function muteSounds():Boolean{
if (!soundsMuted){
soundsMuted = true;
} else {
soundsMuted = false;
};
return (soundsMuted);
}
}
}//package
Section 172
//StageSize (StageSize)
package {
public class StageSize {
static const TOP:Number = 20;
static const LEFT:Number = 0;
static const BOTTOM:Number = 412;
static const RIGHT:Number = 600;
}
}//package
Section 173
//StartMenu (StartMenu)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class StartMenu extends MovieClip {
public var backBtn:MovieClip;
public var remiGamesBtn:SimpleButton;
public var gameMenu:MovieClip;
public var animEyes2:MovieClip;
public var animEyes6:MovieClip;
public var animEyes3:MovieClip;
public var animEyes4:MovieClip;
public var animEyes5:MovieClip;
public var remivision:MovieClip;
public var soundBtn:MovieClip;
public var animEyes1:MovieClip;
public function StartMenu(){
addFrameScript(0, frame1);
}
public function onClicked(_arg1:Event){
var _local2:URLRequest;
var _local3:String;
_local2 = new URLRequest("http://www.remivision.com");
_local3 = "_blank";
navigateToURL(_local2, _local3);
}
function frame1(){
remivision.addEventListener(MouseEvent.CLICK, onClicked);
remivision.buttonMode = true;
remivision.useHandCursor = true;
}
}
}//package
Section 174
//StartMenuMp3 (StartMenuMp3)
package {
import flash.media.*;
public dynamic class StartMenuMp3 extends Sound {
}
}//package
Section 175
//Stopwatch (Stopwatch)
package {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Stopwatch {
private var :Sprite;
private var :Number;
private var :Sprite;
private var :Number;
private var
:Number;
private var :Number;
private var
:Number;
private var :Number;// = 0
public function Stopwatch(_arg1:Sprite){
= 0;
super();
this. = _arg1;
= _arg1.width;
}
public function stop():void{
if (){
.removeEventListener(Event.ENTER_FRAME, );
= null;
};
= 0;
}
private function (_arg1:Event):void{
= (((getTimer() / 1000) - ) - );
.width = ((1 - (
/ )) *
);
if (
>= ){
.width = 0;
stop();
};
}
public function getPercents():uint{
return (Math.round(((.width /
) * 100)));
}
public function start(_arg1:Number):void{
= _arg1;
= (getTimer() / 1000);
= new Sprite();
.addEventListener(Event.ENTER_FRAME, );
}
public function finishPause():void{
if (.width > 0){
= ( + ((getTimer() / 1000) - ));
.addEventListener(Event.ENTER_FRAME, );
};
}
public function pause():void{
if (.width > 0){
.removeEventListener(Event.ENTER_FRAME, );
= (getTimer() / 1000);
};
}
}
}//package
Section 176
//SuperbonusMp3 (SuperbonusMp3)
package {
import flash.media.*;
public dynamic class SuperbonusMp3 extends Sound {
}
}//package
Section 177
//TheGameBoard (TheGameBoard)
package {
import flash.display.*;
import flash.text.*;
public dynamic class TheGameBoard extends MovieClip {
public var bonusMc:MovieClip;
public var remiGamesBtn:SimpleButton;
public var heartMC:MovieClip;
public var menuBtn:SimpleButton;
public var bestScoreTxt:TextField;
public var maskBonus:MovieClip;
public var pointsTxt:TextField;
public var bubbleAnim:MovieClip;
public var barBonus:MovieClip;
public var livesTxt:TextField;
}
}//package
Section 178
//TheGameMp3 (TheGameMp3)
package {
import flash.media.*;
public dynamic class TheGameMp3 extends Sound {
}
}//package
Section 179
//WindowMessage (WindowMessage)
package {
import flash.display.*;
public dynamic class WindowMessage extends MovieClip {
public var yesBtn:SimpleButton;
public var reasonMessage:MovieClip;
public var noBtn:SimpleButton;
public function WindowMessage(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 180
//WindowMp3 (WindowMp3)
package {
import flash.media.*;
public dynamic class WindowMp3 extends Sound {
}
}//package