Section 1
//bg_68 (Eva_fla.bg_68)
package Eva_fla {
import flash.display.*;
public dynamic class bg_68 extends MovieClip {
public function bg_68(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 2
//Continue_31 (Eva_fla.Continue_31)
package Eva_fla {
import flash.display.*;
public dynamic class Continue_31 extends MovieClip {
public var a:MovieClip;
public function Continue_31(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 3
//Continue_32 (Eva_fla.Continue_32)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Continue_32 extends MovieClip {
public function Continue_32(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.TypeSS);
}
function frame1(){
New();
}
}
}//package Eva_fla
Section 4
//didigames_button_59 (Eva_fla.didigames_button_59)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class didigames_button_59 extends MovieClip {
public var fButton:MovieClip;
public function didigames_button_59(){
addFrameScript(0, frame1);
}
function frame1(){
fButton.addEventListener(MouseEvent.CLICK, fButtonClicked);
}
public function fButtonClicked(_arg1:MouseEvent){
var urlRequest:URLRequest;
var e = _arg1;
try {
urlRequest = new URLRequest("http://www.didigames.com/");
navigateToURL(urlRequest, "_blank");
} catch(e:Error) {
};
}
}
}//package Eva_fla
Section 5
//ForGirls_42 (Eva_fla.ForGirls_42)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ForGirls_42 extends MovieClip {
public function ForGirls_42(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.TypeSS);
}
function frame1(){
stop();
New();
}
}
}//package Eva_fla
Section 6
//Games_41 (Eva_fla.Games_41)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Games_41 extends MovieClip {
public function Games_41(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.TypeSS);
}
function frame1(){
stop();
New();
}
}
}//package Eva_fla
Section 7
//Glowbewegend_24 (Eva_fla.Glowbewegend_24)
package Eva_fla {
import flash.display.*;
public dynamic class Glowbewegend_24 extends MovieClip {
public function Glowbewegend_24(){
addFrameScript(49, frame50);
}
function frame50(){
stop();
}
}
}//package Eva_fla
Section 8
//Introewrewrewr_36 (Eva_fla.Introewrewrewr_36)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Introewrewrewr_36 extends MovieClip {
public var titterBtn:MovieClip;
public function Introewrewrewr_36(){
addFrameScript(149, frame150);
}
function frame150(){
SoundMixer.stopAll();
stop();
MovieClip(parent).LoadGamePlay();
}
}
}//package Eva_fla
Section 9
//Loaded_28 (Eva_fla.Loaded_28)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Loaded_28 extends MovieClip {
public var loadTxt:TextField;
public function Loaded_28(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.TypeSS);
}
function frame1(){
New();
}
}
}//package Eva_fla
Section 10
//Loaderdsfsdfsdf_1 (Eva_fla.Loaderdsfsdfsdf_1)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Loaderdsfsdfsdf_1 extends MovieClip {
public var Loaded:MovieClip;
public var PIC:MovieClip;
public var continueBtn:MovieClip;
public var titterBtn:MovieClip;
public var loadMc:MovieClip;
public function Loaderdsfsdfsdf_1(){
addFrameScript(0, frame1, 9, frame10);
}
public function Effect2(_arg1){
continueBtn.gotoAndStop(1);
}
function frame1(){
stop();
}
public function run(_arg1){
PIC.visible = true;
PIC.gotoAndPlay(2);
continueBtn.visible = false;
PIC.addEventListener(MouseEvent.CLICK, intro);
PIC.buttonMode = true;
}
public function intro(_arg1){
var _local2:* = parent;
_local2.utm_content = "intro";
_local2.MoreGameURL(true);
}
public function Effect(_arg1){
continueBtn.gotoAndStop(2);
}
function frame10(){
stop();
PIC.visible = false;
continueBtn.mouseChildren = false;
continueBtn.buttonMode = true;
continueBtn.addEventListener(MouseEvent.CLICK, run);
continueBtn.addEventListener(MouseEvent.ROLL_OVER, Effect);
continueBtn.addEventListener(MouseEvent.ROLL_OUT, Effect2);
PIC.mouseChildren = false;
}
}
}//package Eva_fla
Section 11
//Loading_6 (Eva_fla.Loading_6)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Loading_6 extends MovieClip {
public var loadTxt:TextField;
public function Loading_6(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.TypeSS);
}
function frame1(){
New();
}
}
}//package Eva_fla
Section 12
//LOGOKnop_7 (Eva_fla.LOGOKnop_7)
package Eva_fla {
import flash.display.*;
public dynamic class LOGOKnop_7 extends MovieClip {
public var Txt:MovieClip;
public var glowMc:MovieClip;
public function LOGOKnop_7(){
addFrameScript(0, frame1, 5, frame6, 9, frame10);
}
function frame1(){
stop();
}
function frame6(){
stop();
}
function frame10(){
gotoAndPlay(1);
}
}
}//package Eva_fla
Section 13
//LOGOs_54 (Eva_fla.LOGOs_54)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class LOGOs_54 extends MovieClip {
public function LOGOs_54(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.TypeSS);
trace(("root.TypeSS:" + _local1.TypeSS));
}
function frame1(){
New();
}
}
}//package Eva_fla
Section 14
//MainTimeline (Eva_fla.MainTimeline)
package Eva_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var r2:MovieClip;
public var r3:MovieClip;
public var r5:MovieClip;
public var hw_4_y:Number;
public var colorarr_:Array;
public var r4:MovieClip;
public var loader:URLLoader;
public var exp:MovieClip;
public var colorarr:Array;
public var zf_x:Number;
public var zf_y:Number;
public var c1:Boolean;
public var c2:Boolean;
public var c3:Boolean;
public var c5:Boolean;
public var c6:Boolean;
public var sdf:MovieClip;
public var jf_y:Number;
public var c4:Boolean;
public var zsarr_2:int;
public var sender:LocalConnection;
public var zsarr_4:int;
public var zsarr_5:int;
public var t3:int;
public var zsarr_1:int;
public var farr:Array;
public var zsarr_3:int;
public var jf_x:Number;
public var bg:MovieClip;
public var t2:int;
public var colorarr_1:Array;
public var colorarr_2:Array;
public var colorarr_3:Array;
public var colorarr_4:Array;
public var colorarr_5:Array;
public var hw_3_y:Number;
public var t1:int;
public var _done:SimpleButton;
public var hw_3_x:Number;
public var portal:String;
public var MochiBotNum:String;
public var hw_2_y:Number;
public var t:int;
public var div:MovieClip;
public var score:MovieClip;
public var hw_2_x:Number;
public var game_arr:Array;
public var i:int;
public var zsarr:int;
public var color_x:Array;
public var color_y:Array;
public var _r1:MovieClip;
public var _r2:MovieClip;
public var _r3:MovieClip;
public var _r4:MovieClip;
public var _r5:MovieClip;
public var div_bg:MovieClip;
public var sz_x:Number;
public var x1:MovieClip;
public var x2:MovieClip;
public var x3:MovieClip;
public var x4:MovieClip;
public var x5:MovieClip;
public var jd_y:Number;
public var domain:String;
public var hw_1_x:Number;
public var hw_1_y:Number;
public var sz_y:Number;
public var show_time:Timer;
public var speek_i:int;
public var zsarr_:int;
public var jd_x:Number;
public var mysound:LearningCurve;
public var utm_content:String;
public var next:SimpleButton;
public var rdone:SimpleButton;
public var life:MovieClip;
public var loaderMc:MovieClip;
public var music_play:SimpleButton;
public var song:SoundChannel;
public var i_:int;
public var _farr:Array;
public var farr_1:Array;
public var farr_2:Array;
public var farr_3:Array;
public var farr_5:Array;
public var farr_4:Array;
public var TypeSS;
public var time_1:MovieClip;
public var time_3:MovieClip;
public var help_:int;
public var time_2:MovieClip;
public var help:SimpleButton;
public var introMc2:MovieClip;
public var PicNumber:Number;
public var Url:String;
public var _classarr:Array;
public var replay_:SimpleButton;
public var man:MovieClip;
public var peek:SimpleButton;
public var classarr_2:Array;
public var classarr_4:Array;
public var classarr_5:Array;
public var msic:Boolean;
public var classarr_3:Array;
public var classarr_1:Array;
public var url:String;
public var _colorarr:Array;
public var msg:MovieClip;
public var done:SimpleButton;
public var farr_:Array;
public var color_arr:Array;
public var color_set:String;
public var ferr_r:int;
public var game_err:int;
public var classarr_:Array;
public var _zsarr:int;
public var vscom:SimpleButton;
public var show_t:int;
public var game_num:int;
public var GameName:String;
public var hw_5_x:Number;
public var hw_5_y:Number;
public var domein;
public var Logo:MovieClip;
public var gametime:Timer;
public var music_stop:SimpleButton;
public var vsplayer:SimpleButton;
public var replay:SimpleButton;
public var classarr:Array;
public var _i:int;
public var game:int;
public var hw_4_x:Number;
public var r1:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
public function mandata(){
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
}
public function showexp(){
speek_i = (speek_i + 1);
show_t = 10;
this.done.mouseEnabled = false;
this.replay.mouseEnabled = false;
this.exp.t1.gotoAndStop(1);
this.exp.t2.gotoAndStop(show_t);
show_time = new Timer(1000, 11);
show_time.stop();
show_time.start();
show_time.addEventListener(TimerEvent.TIMER, set_show_time);
show_time.addEventListener(TimerEvent.TIMER_COMPLETE, function (){
TweenLite.to(exp, 0.5, {y:898.7, ease:Back.easeOut});
done.mouseEnabled = true;
replay.mouseEnabled = true;
});
exp.y = 898.7;
this.exp.man_r.r.gotoAndStop(game_num);
TweenLite.to(exp, 1, {y:278.7, ease:Back.easeOut});
this.exp.done.addEventListener(MouseEvent.CLICK, function (){
TweenLite.to(exp, 0.5, {y:898.7, ease:Back.easeOut});
show_time.stop();
done.mouseEnabled = true;
replay.mouseEnabled = true;
});
}
public function hw_dow(_arg1:MouseEvent){
this.div.setChildIndex((_arg1.currentTarget as DisplayObject), (this.div.numChildren - 1));
_arg1.currentTarget.startDrag();
}
public function onEnterFramee(_arg1:Event){
var _local2:Number;
var _local3:Number;
if (framesLoaded == totalFrames){
trace(1);
stage.removeEventListener(Event.ENTER_FRAME, onEnterFramee);
loaderMc.play();
} else {
_local2 = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal);
_local3 = Math.round((_local2 * 100));
loaderMc.loadMc.gotoAndStop(_local3);
loaderMc.loadMc.Loading.loadTxt.text = (_local3 + "%");
};
}
public function settime(){
t1 = int((t / 100));
t2 = int(((t - (t1 * 100)) / 10));
t3 = int(((t - (t1 * 100)) - (t2 * 10)));
time_1.gotoAndStop((t1 + 1));
time_2.gotoAndStop((t2 + 1));
time_3.gotoAndStop((t3 + 1));
}
public function removedow(_arg1:MouseEvent){
div.active.play();
mandata();
farr_ = this[("farr_" + game_num)];
colorarr_ = this[("colorarr_" + game_num)];
classarr_ = this[("classarr_" + game_num)];
zsarr_ = this[("zsarr_" + game_num)];
start_exp();
trace("数据还原");
}
public function Continue2(_arg1:MouseEvent){
var _local2:SharedObject = SharedObject.getLocal("so");
if (_local2.data.game != 1){
gotoAndStop(7);
_local2.data.game = 1;
help_ = 1;
_local2.flush();
} else {
gotoAndStop(2);
};
}
function frame10(){
stop();
replay.addEventListener(MouseEvent.CLICK, function (){
gotoAndStop(1);
});
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
setman();
trace(_farr);
trace(_colorarr);
trace(_classarr);
trace(_zsarr);
Logo.buttonMode = true;
Logo.addEventListener(MouseEvent.CLICK, ingameOK);
}
function frame5(){
mandata();
stop();
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
game_arr = ["farr", "color", "clas", "zsarr"];
color_set = "1";
color_x = [];
color_y = [];
jd_x = 0;
jd_y = 0;
zf_x = 0;
zf_y = 0;
jf_x = 0;
jf_y = 0;
hw_1_x = 0;
hw_1_y = 0;
hw_2_x = 0;
hw_2_y = 0;
hw_3_x = 0;
hw_3_y = 0;
c1 = false;
c2 = false;
c3 = false;
c4 = false;
c5 = false;
_farr = farr_1;
_colorarr = colorarr_1;
_classarr = classarr_1;
_zsarr = zsarr_1;
farr_ = farr_1;
colorarr_ = colorarr_1;
classarr_ = classarr_1;
zsarr_ = zsarr_1;
farr = [];
colorarr = [];
classarr = [];
t = (game * 60);
t1 = 0;
t2 = 0;
t3 = 0;
_i = 1;
while (_i <= 5) {
this[("_r" + _i)].visible = false;
this[("r" + _i)].visible = false;
this[("r" + _i)].gotoAndStop(1);
_i++;
};
i_ = 1;
while (i_ <= game) {
this[("r" + i_)].visible = true;
i_++;
};
setdata();
settime();
gamedata();
addEvent();
timerstart();
expdata();
setexp();
speek_i = 0;
done.addEventListener(MouseEvent.CLICK, done_);
next.addEventListener(MouseEvent.CLICK, done_);
peek.addEventListener(MouseEvent.CLICK, peek_);
replay.addEventListener(MouseEvent.CLICK, function (){
gametime.stop();
gotoAndStop(1);
});
this.div.remove.addEventListener(MouseEvent.CLICK, removedow);
this.div.remove.buttonMode = true;
}
public function peek_(_arg1:MouseEvent){
if (speek_i < 3){
show_time.stop();
showexp();
};
}
public function intro(_arg1){
utm_content = "intro";
MoreGameURL(true);
}
public function randomOrder(_arg1:Array):Array{
var _local2:Number = _arg1.length;
var _local3:Array = [];
i = 0;
while (i < _local2) {
_local3[i] = i;
i++;
};
var _local4:Array = [];
i = 0;
while (i < _local2) {
_local4[i] = _local3.splice(Math.floor((Math.random() * _local3.length)), 1);
i++;
};
var _local5:Array = [];
i = 0;
while (i < _local2) {
_local5[i] = _arg1[_local4[i]];
i++;
};
return (_local5);
}
function frame4(){
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
stop();
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
color_x = [];
color_y = [];
c1 = false;
c2 = false;
c3 = false;
c4 = false;
c5 = false;
c6 = false;
ferr_r = 1;
r1.buttonMode = true;
r2.buttonMode = true;
r3.buttonMode = true;
r4.buttonMode = true;
r5.buttonMode = true;
r1.play();
r2.gotoAndStop(1);
r3.gotoAndStop(1);
r4.gotoAndStop(1);
r5.gotoAndStop(1);
r1.addEventListener(MouseEvent.CLICK, function (){
man.r.gotoAndStop(1);
r1.play();
r2.gotoAndStop(1);
r3.gotoAndStop(1);
r4.gotoAndStop(1);
r5.gotoAndStop(1);
ferr_r = 1;
startgame();
});
r2.addEventListener(MouseEvent.CLICK, function (){
man.r.gotoAndStop(2);
r2.play();
r1.gotoAndStop(1);
r3.gotoAndStop(1);
r4.gotoAndStop(1);
r5.gotoAndStop(1);
ferr_r = 2;
startgame();
});
r3.addEventListener(MouseEvent.CLICK, function (){
man.r.gotoAndStop(3);
r3.play();
r2.gotoAndStop(1);
r1.gotoAndStop(1);
r4.gotoAndStop(1);
r5.gotoAndStop(1);
ferr_r = 3;
startgame();
});
r4.addEventListener(MouseEvent.CLICK, function (){
man.r.gotoAndStop(4);
r4.play();
r2.gotoAndStop(1);
r3.gotoAndStop(1);
r1.gotoAndStop(1);
r5.gotoAndStop(1);
ferr_r = 4;
startgame();
});
r5.addEventListener(MouseEvent.CLICK, function (){
man.r.gotoAndStop(5);
r5.play();
r2.gotoAndStop(1);
r3.gotoAndStop(1);
r4.gotoAndStop(1);
r1.gotoAndStop(1);
ferr_r = 5;
startgame();
});
bg.gotoAndStop(5);
rdone.addEventListener(MouseEvent.CLICK, function (){
gotoAndStop(8);
removeEventListener(MouseEvent.MOUSE_MOVE, mouse_move);
});
startgame();
gamedata();
addEvent();
this.div.remove.addEventListener(MouseEvent.CLICK, remove_dow);
this.div.remove.buttonMode = true;
}
public function color_dow(_arg1:MouseEvent){
this.div.jd.x = jd_x;
this.div.jd.y = jd_y;
this.div.zf.x = zf_x;
this.div.zf.y = zf_y;
this.div.jf.x = jf_x;
this.div.jf.y = jf_y;
this.div.sz.x = sz_x;
this.div.sz.y = sz_y;
_arg1.currentTarget.startDrag();
_arg1.currentTarget.x = this.div.mouseX;
_arg1.currentTarget.y = this.div.mouseY;
var _local2:String = _arg1.currentTarget.name;
var _local3:Array = _local2.split("_");
color_set = color_arr[(_local3[1] - 1)];
this.div.setChildIndex((_arg1.currentTarget as DisplayObject), (this.div.numChildren - 1));
var _local4 = 18;
while (_local4 >= 1) {
if (((!((_local4 == 1))) && (!((_local4 == 4))))){
if ((((HitTest.complexHitTestObject((_arg1.currentTarget.color as DisplayObject), man[("f_" + _local4)]) == true)) && ((man[("f_" + _local4)].visible == true)))){
_arg1.currentTarget.active.play();
this.div.show.play();
this.div.show.x = (this.div.mouseX - 20);
this.div.show.y = this.div.mouseY;
TweenMax.to(man[("f_" + _local4)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
if ((((_local4 == 2)) || ((_local4 == 3)))){
TweenMax.to(man[("f_" + 2)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 3)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
_colorarr[2] = _local3[1];
_colorarr[3] = _local3[1];
};
if ((((_local4 == 5)) || ((_local4 == 6)))){
TweenMax.to(man[("f_" + 5)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 6)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
_colorarr[5] = _local3[1];
_colorarr[6] = _local3[1];
};
if ((((((((_local4 == 7)) || ((_local4 == 8)))) || ((_local4 == 9)))) || ((_local4 == 10)))){
TweenMax.to(man[("f_" + 7)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 8)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 9)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 10)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
_colorarr[7] = _local3[1];
_colorarr[8] = _local3[1];
_colorarr[9] = _local3[1];
trace(("颜色开始9" + _colorarr[9]));
_colorarr[10] = _local3[1];
};
if ((((((((_local4 == 11)) || ((_local4 == 12)))) || ((_local4 == 13)))) || ((_local4 == 14)))){
TweenMax.to(man[("f_" + 11)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 12)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 13)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 14)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
_colorarr[11] = _local3[1];
_colorarr[12] = _local3[1];
_colorarr[13] = _local3[1];
_colorarr[14] = _local3[1];
};
if ((((_local4 == 15)) || ((_local4 == 16)))){
TweenMax.to(man[("f_" + 15)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 16)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
_colorarr[15] = _local3[1];
_colorarr[16] = _local3[1];
};
if ((((_local4 == 17)) || ((_local4 == 18)))){
TweenMax.to(man[("f_" + 17)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
TweenMax.to(man[("f_" + 18)], 1, {colorMatrixFilter:{colorize:color_set, amount:1}});
_colorarr[17] = _local3[1];
_colorarr[18] = _local3[1];
};
};
};
_local4--;
};
var _local5:Boolean;
_local4 = 1;
while (_local4 <= 6) {
if ((((HitTest.complexHitTestObject((_arg1.currentTarget as DisplayObject), this.div[("color_" + _local4)]) == true)) && ((_arg1.currentTarget.hitTestObject(this.div_bg.c_5) == true)))){
if (_local4 != int(_local3[1])){
_local5 = true;
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
this.div.setChildIndex(this.div[("color_" + _local4)], (this.div.numChildren - 1));
this.div[("color_" + _local4)].x = this.div.mouseX;
this.div[("color_" + _local4)].y = this.div.mouseY;
this.div[("color_" + _local4)].startDrag();
};
};
_local4++;
};
if ((((_arg1.currentTarget.hitTestObject(this.div_bg.c_5) == true)) && ((_local5 == false)))){
if (c5 == false){
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
_arg1.currentTarget.stopDrag();
c5 = true;
} else {
c5 = false;
};
};
if (_arg1.currentTarget.hitTestObject(this.div.jd) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
this.div.jd.x = this.div.mouseX;
this.div.jd.y = this.div.mouseY;
this.div.jd.startDrag();
this.div.setChildIndex(this.div.jd, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.sz) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
this.div.sz.x = this.div.mouseX;
this.div.sz.y = this.div.mouseY;
this.div.sz.startDrag();
this.div.setChildIndex(this.div.sz, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.zf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
this.div.zf.x = this.div.mouseX;
this.div.zf.y = this.div.mouseY;
this.div.zf.startDrag();
this.div.setChildIndex(this.div.zf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.jf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
this.div.jf.x = this.div.mouseX;
this.div.jf.y = this.div.mouseY;
this.div.jf.startDrag();
this.div.setChildIndex(this.div.jf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.remove) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
};
_local4 = 1;
while (_local4 <= 5) {
if (_arg1.currentTarget.hitTestObject(this.div[("hw_" + _local4)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = color_x[_local3[1]];
_arg1.currentTarget.y = color_y[_local3[1]];
};
_local4++;
};
}
function frame8(){
stop();
}
public function preloader(_arg1){
utm_content = "preloader";
MoreGameURL(true);
}
function frame1(){
stop();
GameName = "Eva's hair studio";
PicNumber = 1;
MochiBotNum = "4a128184";
stage.frameRate = 30;
stage.addEventListener(Event.ENTER_FRAME, onEnterFramee);
MochiBot.track(this, MochiBotNum);
sender = new LocalConnection();
url = root.loaderInfo.url;
domain = sender.domain;
utm_content = "intro";
loaderMc.titterBtn.addEventListener(MouseEvent.CLICK, preloader);
loaderMc.titterBtn.buttonMode = true;
Url = "http://www.titter.com";
TypeSS = 1;
domein = sender.domain;
if (domein != "localhost"){
loader = new URLLoader(new URLRequest("http://api.jaludo.com/geoip/index.php?return=domain&type=gameshell&portal=titter"));
loader.addEventListener(Event.COMPLETE, com);
};
stop();
}
public function addEvent(){
var _local1 = 1;
while (_local1 <= 6) {
this.div[("color_" + _local1)].buttonMode = true;
this.div[("color_" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, color_dow);
_local1++;
};
this.div.jd.addEventListener(MouseEvent.CLICK, jd_dow);
this.div.jd.buttonMode = true;
this.div.sz.addEventListener(MouseEvent.CLICK, sz_dow);
this.div.sz.buttonMode = true;
this.div.zf.addEventListener(MouseEvent.CLICK, zf_dow);
this.div.zf.buttonMode = true;
this.div.jf.addEventListener(MouseEvent.CLICK, jf_dow);
this.div.jf.buttonMode = true;
var _local2 = 1;
while (_local2 <= 5) {
this.div[("hw_" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, hw_dow);
this.div[("hw_" + _local2)].addEventListener(MouseEvent.MOUSE_UP, hw_up);
this.div[("hw_" + _local2)].buttonMode = true;
_local2++;
};
this.addEventListener(MouseEvent.MOUSE_MOVE, mouse_move);
this.man.hw.addEventListener(MouseEvent.CLICK, remove_hw);
this.man.hw.buttonMode = true;
}
function frame9(){
vscom.visible = false;
vsplayer.visible = false;
next.visible = false;
bg.stop();
vscom.addEventListener(MouseEvent.CLICK, function (){
gotoAndStop(3);
});
vsplayer.addEventListener(MouseEvent.CLICK, function (){
gotoAndStop(2);
});
msg.done.addEventListener(MouseEvent.CLICK, help_show);
}
public function gamedata(){
jd_x = this.div.jd.x;
jd_y = this.div.jd.y;
zf_x = this.div.zf.x;
zf_y = this.div.zf.y;
jf_x = this.div.jf.x;
jf_y = this.div.jf.y;
sz_x = this.div.sz.x;
sz_y = this.div.sz.y;
c1 = true;
c2 = true;
c3 = true;
c4 = true;
c5 = true;
c6 = true;
var _local1 = 1;
while (_local1 <= 6) {
color_x[_local1] = this.div[("color_" + _local1)].x;
color_y[_local1] = this.div[("color_" + _local1)].y;
_local1++;
};
_local1 = 1;
while (_local1 <= 5) {
this[(("hw_" + _local1) + "_x")] = this.div[("hw_" + _local1)].x;
this[(("hw_" + _local1) + "_y")] = this.div[("hw_" + _local1)].y;
_local1++;
};
}
public function remove_hw(_arg1:MouseEvent){
this.man.hw.gotoAndStop(1);
_zsarr = 1;
}
function frame2(){
stop();
introMc2.addEventListener(MouseEvent.CLICK, intro);
introMc2.buttonMode = true;
introMc2.mouseChildren = false;
msic = true;
}
function frame3(){
stop();
help_ = 0;
game = 1;
game_num = 0;
game_err = 0;
if (msic){
mysound = new LearningCurve();
msic = false;
song = mysound.play(0, 100);
music_stop.visible = false;
music_play.visible = true;
};
music_stop.addEventListener(MouseEvent.CLICK, function (){
song.stop();
song = mysound.play(0, 100);
music_stop.visible = false;
music_play.visible = true;
});
music_play.addEventListener(MouseEvent.CLICK, function (){
song.stop();
music_stop.visible = true;
music_play.visible = false;
});
vscom.addEventListener(MouseEvent.CLICK, Continue);
vsplayer.addEventListener(MouseEvent.CLICK, Continue2);
help.addEventListener(MouseEvent.CLICK, function (){
help_ = 0;
gotoAndStop(7);
});
Logo.buttonMode = true;
Logo.addEventListener(MouseEvent.CLICK, ingameOK);
}
public function menu_fun(_arg1){
utm_content = "menu";
MoreGameURL(true);
}
public function Continue(_arg1:MouseEvent){
var _local2:SharedObject = SharedObject.getLocal("so");
if (_local2.data.game != 1){
gotoAndStop(7);
_local2.data.game = 1;
help_ = 2;
_local2.flush();
} else {
gotoAndStop(3);
};
}
function frame6(){
stop();
this.removeEventListener(MouseEvent.MOUSE_MOVE, mouse_move);
game_num = 0;
game_err++;
bg.gotoAndStop(game);
_done.addEventListener(MouseEvent.CLICK, function (){
if (game_err >= 3){
gotoAndStop(1);
} else {
gotoAndStop(3);
};
});
replay_.addEventListener(MouseEvent.CLICK, function (){
gotoAndStop(1);
});
Logo.buttonMode = true;
Logo.addEventListener(MouseEvent.CLICK, ingameOK);
}
function frame7(){
this.removeEventListener(MouseEvent.MOUSE_MOVE, mouse_move);
i = 1;
while (i <= game) {
this[("x" + i)].gotoAndStop(2);
i++;
};
if (game < 5){
bg.gotoAndStop(game);
} else {
gotoAndStop(6);
};
game = (game + 1);
game_num = 0;
game_err = 0;
next.addEventListener(MouseEvent.CLICK, function (){
if (game > 5){
gotoAndStop(6);
} else {
gotoAndStop(3);
};
});
}
public function timerstart(){
gametime = new Timer(1000, t);
gametime.start();
gametime.addEventListener(TimerEvent.TIMER, function (){
t--;
settime();
});
gametime.addEventListener(TimerEvent.TIMER_COMPLETE, timeouve);
}
public function ingameOK(_arg1){
utm_content = "ingame";
MoreGameURL(true);
}
public function jd_dow(_arg1:MouseEvent){
this.div.setChildIndex((_arg1.currentTarget as DisplayObject), (this.div.numChildren - 1));
var _local2 = 1;
while (_local2 <= 6) {
this.div[("color_" + _local2)].x = color_x[_local2];
this.div[("color_" + _local2)].y = color_y[_local2];
_local2++;
};
this.div.zf.x = zf_x;
this.div.zf.y = zf_y;
this.div.jf.x = jf_x;
this.div.jf.y = jf_y;
this.div.sz.x = sz_x;
this.div.sz.y = sz_y;
_arg1.currentTarget.x = this.div.mouseX;
_arg1.currentTarget.y = this.div.mouseY;
_arg1.currentTarget.startDrag();
_local2 = 18;
while (_local2 >= 1) {
if (((((((((((((((!((_local2 == 1))) && (!((_local2 == 4))))) && (!((_local2 == 3))))) && (!((_local2 == 6))))) && (!((_local2 == 10))))) && (!((_local2 == 14))))) && (!((_local2 == 16))))) && (!((_local2 == 18))))){
if ((((HitTest.complexHitTestObject((_arg1.currentTarget.jd as DisplayObject), man[("f_" + _local2)]) == true)) && ((man[("f_" + _local2)].visible == true)))){
_arg1.currentTarget.active.play();
this.div.show.play();
this.div.show.x = (this.div.mouseX - 50);
this.div.show.y = (this.div.mouseY - 20);
if (_local2 == 7){
_colorarr[7] = 0;
_farr[7] = 0;
_classarr[7] = 1;
_farr[8] = 1;
man[("f_" + 8)].visible = true;
_colorarr[9] = 0;
_farr[9] = 0;
_classarr[9] = 1;
_colorarr[10] = 0;
_farr[10] = 0;
_classarr[10] = 1;
man[("f_" + _local2)].visible = false;
trace(("7颜色9" + _colorarr[9]));
};
if (_local2 == 8){
_colorarr[7] = 0;
_farr[7] = 0;
_classarr[7] = 1;
_farr[9] = 1;
_colorarr[9] = _colorarr[8];
_classarr[9] = _classarr[8];
man[("f_" + 9)].visible = true;
trace(("8颜色9" + _colorarr[9]));
_colorarr[10] = 0;
_farr[10] = 0;
_classarr[10] = 1;
_colorarr[8] = 0;
_farr[8] = 0;
_classarr[8] = 1;
man[("f_" + _local2)].visible = false;
};
if (_local2 == 9){
_colorarr[7] = 0;
_farr[7] = 0;
_classarr[7] = 1;
_colorarr[8] = 0;
_farr[8] = 0;
_classarr[8] = 1;
_farr[10] = 1;
_colorarr[10] = _colorarr[9];
_classarr[10] = _classarr[9];
man[("f_" + 10)].visible = true;
man[("f_" + _local2)].visible = false;
_colorarr[9] = 0;
_farr[9] = 0;
_classarr[9] = 1;
};
if (_local2 == 11){
_colorarr[11] = 0;
_farr[11] = 0;
_classarr[11] = 1;
_farr[12] = 1;
man[("f_" + 12)].visible = true;
_colorarr[13] = 0;
_farr[13] = 0;
_classarr[13] = 1;
_colorarr[14] = 0;
_farr[14] = 0;
_classarr[14] = 1;
man[("f_" + _local2)].visible = false;
};
if (_local2 == 12){
_colorarr[11] = 0;
_farr[11] = 0;
_classarr[11] = 1;
_farr[13] = 1;
_colorarr[13] = _colorarr[12];
_classarr[13] = _classarr[12];
man[("f_" + 13)].visible = true;
_colorarr[14] = 0;
_farr[14] = 0;
_classarr[14] = 1;
man[("f_" + _local2)].visible = false;
_colorarr[12] = 0;
_farr[12] = 0;
_classarr[12] = 1;
};
if (_local2 == 13){
_colorarr[11] = 0;
_farr[11] = 0;
_classarr[11] = 1;
_colorarr[12] = 0;
_farr[12] = 0;
_classarr[12] = 1;
_farr[14] = 1;
_colorarr[14] = _colorarr[13];
_classarr[14] = _classarr[13];
man[("f_" + 14)].visible = true;
man[("f_" + _local2)].visible = false;
_colorarr[13] = 0;
_farr[13] = 0;
_classarr[13] = 1;
};
if (_local2 == 2){
_colorarr[2] = 0;
_farr[2] = 0;
_classarr[2] = 1;
_farr[3] = 1;
man[("f_" + 3)].visible = true;
man[("f_" + _local2)].visible = false;
};
if (_local2 == 5){
_colorarr[5] = 0;
_farr[5] = 0;
_classarr[5] = 1;
_farr[6] = 1;
man[("f_" + 6)].visible = true;
man[("f_" + _local2)].visible = false;
};
if (_local2 == 15){
_colorarr[15] = 0;
_farr[15] = 0;
_classarr[15] = 1;
_farr[16] = 1;
man[("f_" + 16)].visible = true;
man[("f_" + _local2)].visible = false;
};
if (_local2 == 17){
_colorarr[17] = 0;
_farr[17] = 0;
_classarr[17] = 1;
_farr[18] = 1;
man[("f_" + 18)].visible = true;
man[("f_" + _local2)].visible = false;
};
break;
};
};
_local2--;
};
if (_arg1.currentTarget.hitTestObject(this.div_bg.c_2) == true){
if (c2 == false){
this.div.jd.x = jd_x;
this.div.jd.y = jd_y;
_arg1.currentTarget.stopDrag();
c2 = true;
} else {
c2 = false;
};
};
if (_arg1.currentTarget.hitTestObject(this.div.zf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jd_x;
_arg1.currentTarget.y = jd_y;
this.div.zf.startDrag();
this.div.zf.x = this.div.mouseX;
this.div.zf.y = this.div.mouseY;
this.div.setChildIndex(this.div.zf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.jf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jd_x;
_arg1.currentTarget.y = jd_y;
this.div.jf.startDrag();
this.div.jf.x = this.div.mouseX;
this.div.jf.y = this.div.mouseY;
this.div.setChildIndex(this.div.jf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.sz) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jd_x;
_arg1.currentTarget.y = jd_y;
this.div.sz.startDrag();
this.div.sz.x = this.div.mouseX;
this.div.sz.y = this.div.mouseY;
this.div.setChildIndex(this.div.sz, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.remove) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jd_x;
_arg1.currentTarget.y = jd_y;
};
_local2 = 1;
while (_local2 <= 5) {
if (_arg1.currentTarget.hitTestObject(this.div[("hw_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jd_x;
_arg1.currentTarget.y = jd_y;
};
_local2++;
};
_local2 = 1;
while (_local2 <= 6) {
if (_arg1.currentTarget.hitTestObject(this.div[("color_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jd_x;
_arg1.currentTarget.y = jd_y;
};
_local2++;
};
}
public function start_exp(){
mandata();
farr_ = this[("farr_" + game_num)];
colorarr_ = this[("colorarr_" + game_num)];
classarr_ = this[("classarr_" + game_num)];
zsarr_ = this[("zsarr_" + game_num)];
_farr = farr_;
_colorarr = colorarr_;
_classarr = classarr_;
_zsarr = zsarr_;
trace("初始化人");
trace(zsarr_);
man.hw.gotoAndStop(zsarr_);
exp.man_r.hw.gotoAndStop(zsarr_);
var _local1 = 1;
while (_local1 <= 18) {
if (((!((_local1 == 1))) && (!((_local1 == 4))))){
man[("f_" + _local1)].gotoAndStop(classarr_[_local1]);
exp.man_r[("f_" + _local1)].gotoAndStop(classarr_[_local1]);
if (colorarr_[_local1] == 0){
TweenMax.to(man[("f_" + _local1)], 0, {colorMatrixFilter:{colorize:16045471, amount:0}});
TweenMax.to(exp.man_r[("f_" + _local1)], 0.5, {colorMatrixFilter:{colorize:16045471, amount:0}});
} else {
TweenMax.to(man[("f_" + _local1)], 0, {colorMatrixFilter:{colorize:color_arr[(colorarr_[_local1] - 1)], amount:1}});
TweenMax.to(exp.man_r[("f_" + _local1)], 0.5, {colorMatrixFilter:{colorize:color_arr[(colorarr_[_local1] - 1)], amount:1}});
};
man[("f_" + _local1)].visible = farr_[_local1];
exp.man_r[("f_" + _local1)].visible = farr_[_local1];
};
_local1++;
};
}
public function MoreGameURL(_arg1){
var _local2:String = ((((("/?utm_campaign=" + GameName) + "&utm_content=") + utm_content) + "&utm_medium=cobranded - didigames&utm_source=") + url);
var _local3:String = (Url + _local2);
var _local4:URLRequest = new URLRequest(_local3);
navigateToURL(_local4);
}
public function setexp(){
start_exp();
var _local1 = 1;
while (_local1 <= 18) {
if (((!((_local1 == 1))) && (!((_local1 == 4))))){
this.exp.man[("f_" + _local1)].visible = farr[_local1];
this[("_r" + game_num)][("f_" + _local1)].visible = farr[_local1];
if (colorarr[_local1] != 0){
TweenMax.to(exp.man[("f_" + _local1)], 0.5, {colorMatrixFilter:{colorize:color_arr[(colorarr[_local1] - 1)], amount:1}});
TweenMax.to(this[("_r" + game_num)][("f_" + _local1)], 0.5, {colorMatrixFilter:{colorize:color_arr[(colorarr[_local1] - 1)], amount:1}});
};
this.exp.man[("f_" + _local1)].gotoAndStop(classarr[_local1]);
this[("_r" + game_num)][("f_" + _local1)].gotoAndStop(classarr[_local1]);
};
_local1++;
};
this.exp.man.hw.gotoAndStop(zsarr);
this[("_r" + game_num)].hw.gotoAndStop(zsarr);
this.exp.man.r.gotoAndStop(game_num);
this[("_r" + game_num)].r.gotoAndStop(game_num);
}
public function setdata(){
game_num++;
bg.gotoAndStop(game);
score.gotoAndStop((game + 1));
life.gotoAndStop((game_err + 1));
if (game_num == game){
done.x = 542.15;
next.x = 800;
} else {
done.x = 800;
next.x = 542.15;
};
this[("r" + game_num)].play();
this.man.r.gotoAndStop(game_num);
trace("***************开始设置人物数据");
if (game_num == 1){
_farr = farr_1;
_colorarr = colorarr_1;
_classarr = classarr_1;
_zsarr = zsarr_1;
};
if (game_num == 2){
_farr = farr_2;
_colorarr = colorarr_2;
_classarr = classarr_2;
_zsarr = zsarr_2;
};
if (game_num == 3){
_farr = farr_3;
_colorarr = colorarr_3;
_classarr = classarr_3;
_zsarr = zsarr_3;
};
if (game_num == 4){
_farr = farr_4;
_colorarr = colorarr_4;
_classarr = classarr_4;
_zsarr = zsarr_4;
};
if (game_num == 5){
_farr = farr_5;
_colorarr = colorarr_5;
_classarr = classarr_5;
_zsarr = zsarr_5;
};
farr_ = _farr;
colorarr_ = _colorarr;
classarr_ = _classarr;
zsarr_ = _zsarr;
trace("***************设置人物数据完成");
}
public function remove_dow(_arg1:MouseEvent){
this.div.setChildIndex((_arg1.currentTarget as DisplayObject), (this.div.numChildren - 1));
startgame();
div.active.play();
trace("数据还原");
}
public function done_(_arg1:MouseEvent){
trace(("初始头发:" + farr));
trace(("初始颜色:" + colorarr));
trace(("初始类型:" + classarr));
sendgame();
}
public function mouse_move(_arg1:MouseEvent){
var _local2:int;
if (mouseY > 445){
Mouse.show();
this.div.jd.x = jd_x;
this.div.jd.y = jd_y;
this.div.jd.stopDrag();
this.div.zf.x = zf_x;
this.div.zf.y = zf_y;
this.div.zf.stopDrag();
this.div.jf.x = jf_x;
this.div.jf.y = jf_y;
this.div.jf.stopDrag();
this.div.sz.x = sz_x;
this.div.sz.y = sz_y;
this.div.sz.stopDrag();
_local2 = 1;
while (_local2 <= 6) {
this.div[("color_" + _local2)].x = color_x[_local2];
this.div[("color_" + _local2)].y = color_y[_local2];
this.div[("color_" + _local2)].stopDrag();
c1 = true;
c2 = true;
c3 = true;
c4 = true;
c5 = true;
c6 = true;
_local2++;
};
_local2 = 1;
while (_local2 <= 5) {
this.div[("hw_" + _local2)].x = this[(("hw_" + _local2) + "_x")];
this.div[("hw_" + _local2)].y = this[(("hw_" + _local2) + "_y")];
this.div[("hw_" + _local2)].stopDrag();
_local2++;
};
};
}
public function set_show_time(_arg1:TimerEvent){
show_t--;
this.exp.t2.gotoAndStop(show_t);
}
public function help_show(_arg1:MouseEvent){
var e = _arg1;
bg.play();
msg.visible = false;
if (help_ == 0){
vscom.visible = true;
vsplayer.visible = true;
next.visible = false;
};
if (help_ == 1){
vscom.visible = false;
vsplayer.visible = false;
next.visible = true;
next.addEventListener(MouseEvent.CLICK, function (){
gotoAndStop(2);
});
};
if (help_ == 2){
vscom.visible = false;
vsplayer.visible = false;
next.visible = true;
next.addEventListener(MouseEvent.CLICK, function (){
gotoAndStop(3);
});
};
}
public function expdata(){
var _local2:int;
var _local3:int;
mandata();
farr = farr_1;
colorarr = colorarr_1;
classarr = classarr_1;
zsarr = zsarr_1;
if (game == 1){
game_arr = ["color", "zsarr"];
game_arr = randomOrder(game_arr);
} else {
game_arr = ["farr", "color", "clas", "zsarr"];
game_arr = randomOrder(game_arr);
};
trace(game_arr);
var _local1:int;
while (_local1 <= (game - 1)) {
trace(game_arr[_local1]);
if (game_arr[_local1] == "farr"){
trace("farr");
i = 1;
while (i <= 18) {
farr[i] = Math.round(Math.random());
i++;
};
if (farr[2] == 1){
farr[3] = 0;
} else {
farr[3] = 1;
};
farr[5] = farr[2];
farr[6] = farr[3];
farr[2] = 1;
farr[3] = 1;
farr[5] = 1;
farr[6] = 1;
if (farr[7] == 1){
farr[8] = 0;
farr[9] = 0;
farr[10] = 0;
} else {
if (farr[8] == 1){
farr[9] = 0;
farr[10] = 0;
} else {
if (farr[9] == 1){
farr[10] = 0;
} else {
farr[10] = 1;
};
};
};
farr[11] = farr[7];
farr[12] = farr[8];
farr[13] = farr[9];
farr[14] = farr[10];
if (farr[15] == 1){
farr[16] = 0;
} else {
farr[16] = 1;
};
farr[17] = farr[15];
farr[18] = farr[16];
};
if (game_arr[_local1] == "color"){
trace("color");
_local2 = (Math.round((Math.random() * 5)) + 1);
if (_local2 == colorarr_[i]){
_local2 = (Math.round((Math.random() * 5)) + 1);
};
i = 1;
while (i <= 18) {
colorarr[i] = _local2;
i++;
};
};
if (game_arr[_local1] == "clas"){
trace("clas");
_local3 = (Math.round((Math.random() * 2)) + 1);
if (_local3 == colorarr_[i]){
_local3 = (Math.round((Math.random() * 2)) + 1);
};
i = 1;
while (i <= 18) {
classarr[i] = _local3;
i++;
};
};
if (game_arr[_local1] == "zsarr"){
trace("zsarr");
zsarr = (Math.round((Math.random() * 4)) + 2);
};
_local1++;
};
trace(farr);
trace(colorarr);
trace(classarr);
trace(zsarr);
showexp();
speek_i = 0;
}
public function startgame(){
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
farr_ = this[("farr_" + ferr_r)];
colorarr_ = this[("colorarr_" + ferr_r)];
classarr_ = this[("classarr_" + ferr_r)];
zsarr_ = this[("zsarr_" + ferr_r)];
_farr = farr_;
_colorarr = colorarr_;
_classarr = classarr_;
_zsarr = zsarr_;
trace("初始化人");
trace(zsarr_);
man.hw.gotoAndStop(zsarr_);
var _local1 = 1;
while (_local1 <= 18) {
if (((!((_local1 == 1))) && (!((_local1 == 4))))){
man[("f_" + _local1)].gotoAndStop(classarr_[_local1]);
if (colorarr_[_local1] == 0){
TweenMax.to(man[("f_" + _local1)], 0, {colorMatrixFilter:{colorize:16045471, amount:0}});
} else {
TweenMax.to(man[("f_" + _local1)], 0, {colorMatrixFilter:{colorize:color_arr[(colorarr_[_local1] - 1)], amount:1}});
};
man[("f_" + _local1)].visible = farr_[_local1];
};
_local1++;
};
}
public function youwin(_arg1){
utm_content = "youwin";
MoreGameURL(true);
}
public function timeouve(_arg1:TimerEvent){
sendgame();
}
public function LoadGamePlay(){
gotoAndPlay(1, "GameStar");
}
public function sz_dow(_arg1:MouseEvent){
trace("刷子");
this.div.setChildIndex((_arg1.currentTarget as DisplayObject), (this.div.numChildren - 1));
var _local2 = 1;
while (_local2 <= 6) {
this.div[("color_" + _local2)].x = color_x[_local2];
this.div[("color_" + _local2)].y = color_y[_local2];
_local2++;
};
this.div.jd.x = jd_x;
this.div.jd.y = jd_y;
this.div.zf.x = zf_x;
this.div.zf.y = zf_y;
this.div.jf.x = jf_x;
this.div.jf.y = jf_y;
_arg1.currentTarget.x = this.div.mouseX;
_arg1.currentTarget.y = this.div.mouseY;
_arg1.currentTarget.startDrag();
_local2 = 1;
while (_local2 <= 18) {
if (((!((_local2 == 1))) && (!((_local2 == 4))))){
if ((((_arg1.currentTarget.sz.hitTestObject(man[("f_" + _local2)]) == true)) && ((man[("f_" + _local2)].visible == true)))){
_arg1.currentTarget.active.play();
this.div.show.play();
this.div.show.x = (this.div.mouseX - 50);
this.div.show.y = (this.div.mouseY - 20);
if ((((_local2 == 2)) || ((_local2 == 3)))){
man[("f_" + 2)].gotoAndStop(1);
_classarr[2] = 1;
man[("f_" + 3)].gotoAndStop(1);
_classarr[3] = 1;
};
if ((((_local2 == 5)) || ((_local2 == 6)))){
man[("f_" + 5)].gotoAndStop(1);
_classarr[5] = 1;
man[("f_" + 6)].gotoAndStop(1);
_classarr[6] = 1;
};
if ((((((((_local2 == 7)) || ((_local2 == 8)))) || ((_local2 == 9)))) || ((_local2 == 10)))){
man[("f_" + 7)].gotoAndStop(1);
_classarr[7] = 1;
man[("f_" + 8)].gotoAndStop(1);
_classarr[8] = 1;
man[("f_" + 9)].gotoAndStop(1);
_classarr[9] = 1;
man[("f_" + 10)].gotoAndStop(1);
_classarr[10] = 1;
};
if ((((((((_local2 == 11)) || ((_local2 == 12)))) || ((_local2 == 13)))) || ((_local2 == 14)))){
man[("f_" + 11)].gotoAndStop(1);
_classarr[11] = 1;
man[("f_" + 12)].gotoAndStop(1);
_classarr[12] = 1;
man[("f_" + 13)].gotoAndStop(1);
_classarr[13] = 1;
man[("f_" + 14)].gotoAndStop(1);
_classarr[14] = 1;
};
if ((((_local2 == 15)) || ((_local2 == 16)))){
man[("f_" + 15)].gotoAndStop(1);
_classarr[15] = 1;
man[("f_" + 16)].gotoAndStop(1);
_classarr[16] = 1;
};
if ((((_local2 == 17)) || ((_local2 == 18)))){
man[("f_" + 17)].gotoAndStop(1);
_classarr[17] = 1;
man[("f_" + 18)].gotoAndStop(1);
_classarr[18] = 1;
};
};
};
_local2++;
};
if (_arg1.currentTarget.hitTestObject(this.div_bg.c_6) == true){
if (c6 == false){
_arg1.currentTarget.x = sz_x;
_arg1.currentTarget.y = sz_y;
_arg1.currentTarget.stopDrag();
c6 = true;
} else {
c6 = false;
};
};
if (_arg1.currentTarget.hitTestObject(this.div.jd) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = sz_x;
_arg1.currentTarget.y = sz_y;
this.div.jd.startDrag();
this.div.jd.x = this.div.mouseX;
this.div.jd.y = this.div.mouseY;
this.div.setChildIndex(this.div.jd, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.zf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = sz_x;
_arg1.currentTarget.y = sz_y;
this.div.zf.startDrag();
this.div.zf.x = this.div.mouseX;
this.div.zf.y = this.div.mouseY;
this.div.setChildIndex(this.div.zf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.jf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = sz_x;
_arg1.currentTarget.y = sz_y;
this.div.jf.startDrag();
this.div.jf.x = this.div.mouseX;
this.div.jf.y = this.div.mouseY;
this.div.setChildIndex(this.div.jf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.remove) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = sz_x;
_arg1.currentTarget.y = sz_y;
};
_local2 = 1;
while (_local2 <= 5) {
if (_arg1.currentTarget.hitTestObject(this.div[("hw_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = sz_x;
_arg1.currentTarget.y = sz_y;
};
_local2++;
};
_local2 = 1;
while (_local2 <= 6) {
if (_arg1.currentTarget.hitTestObject(this.div[("color_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = sz_x;
_arg1.currentTarget.y = sz_y;
};
_local2++;
};
}
public function sendgame(){
gametime.stop();
show_time.stop();
show_time.removeEventListener(TimerEvent.TIMER, set_show_time);
peek.visible = true;
var _local1 = 1;
var _local2 = 1;
var _local3 = 1;
var _local4 = 1;
var _local5 = 1;
while (_local5 <= 18) {
if (((!((_local5 == 1))) && (!((_local5 == 4))))){
if (colorarr[_local5] != _colorarr[_local5]){
trace(((((("颜色错误: f_" + _local5) + " &") + colorarr[_local5]) + ",") + _colorarr[_local5]));
_local1 = 1;
} else {
trace("颜色通过");
_local1 = 0;
};
if (farr[_local5] != _farr[_local5]){
trace(((((("头发错误: f_" + _local5) + " &") + farr[_local5]) + ",") + _farr[_local5]));
_local2 = 1;
} else {
trace("头发通过");
_local2 = 0;
};
if (classarr[_local5] != _classarr[_local5]){
trace(((((("类型错误: f_" + _local5) + " &") + classarr[_local5]) + ",") + _classarr[_local5]));
_local3 = 1;
} else {
trace("类型通过");
_local3 = 0;
};
};
_local5++;
};
if (_zsarr != zsarr){
trace("花纹错误");
_local4 = 1;
} else {
trace("花纹通过");
_local4 = 0;
};
if ((((_local1 + _local2) + _local3) + _local4) == 0){
if (game != game_num){
this[("r" + game_num)].visible = false;
this[("_r" + game_num)].visible = true;
speek_i = 0;
setdata();
settime();
gamedata();
expdata();
setexp();
} else {
gotoAndStop(5);
};
} else {
gotoAndStop(4);
};
}
public function com(_arg1){
var _local2:String;
_local2 = _arg1.target.data.toLowerCase();
if (_local2 == "titter.fr"){
Url = "http://www.titter.fr";
TypeSS = 2;
} else {
if (_local2 == "titter.pt"){
Url = "http://www.titter.pt";
TypeSS = 3;
} else {
if (_local2 == "titter.es"){
Url = "http://www.titter.es";
TypeSS = 4;
} else {
Url = "http://www.titter.com";
TypeSS = 1;
};
};
};
loaderMc.titterBtn.Txt.gotoAndStop(TypeSS);
loaderMc.loadMc.Loading.gotoAndStop(TypeSS);
}
public function zf_dow(_arg1:MouseEvent){
this.div.setChildIndex((_arg1.currentTarget as DisplayObject), (this.div.numChildren - 1));
var _local2 = 1;
while (_local2 <= 6) {
this.div[("color_" + _local2)].x = color_x[_local2];
this.div[("color_" + _local2)].y = color_y[_local2];
_local2++;
};
this.div.jd.x = jd_x;
this.div.jd.y = jd_y;
this.div.jf.x = jf_x;
this.div.jf.y = jf_y;
this.div.sz.x = sz_x;
this.div.sz.y = sz_y;
_arg1.currentTarget.startDrag();
this.div.zf.x = this.div.mouseX;
this.div.zf.y = this.div.mouseY;
_local2 = 1;
while (_local2 <= 18) {
if (((!((_local2 == 1))) && (!((_local2 == 4))))){
if ((((_arg1.currentTarget.zf.hitTestObject(man[("f_" + _local2)]) == true)) && ((man[("f_" + _local2)].visible == true)))){
_arg1.currentTarget.active.play();
this.div.show.play();
this.div.show.x = (this.div.mouseX - 50);
this.div.show.y = (this.div.mouseY - 20);
if ((((_local2 == 2)) || ((_local2 == 3)))){
man[("f_" + 2)].gotoAndStop(2);
_classarr[2] = 2;
man[("f_" + 3)].gotoAndStop(2);
_classarr[3] = 2;
};
if ((((_local2 == 5)) || ((_local2 == 6)))){
man[("f_" + 5)].gotoAndStop(2);
_classarr[5] = 2;
man[("f_" + 6)].gotoAndStop(2);
_classarr[6] = 2;
};
if ((((((((_local2 == 7)) || ((_local2 == 8)))) || ((_local2 == 9)))) || ((_local2 == 10)))){
man[("f_" + 7)].gotoAndStop(2);
_classarr[7] = 2;
man[("f_" + 8)].gotoAndStop(2);
_classarr[8] = 2;
man[("f_" + 9)].gotoAndStop(2);
_classarr[9] = 2;
man[("f_" + 10)].gotoAndStop(2);
_classarr[10] = 2;
};
if ((((((((_local2 == 11)) || ((_local2 == 12)))) || ((_local2 == 13)))) || ((_local2 == 14)))){
man[("f_" + 11)].gotoAndStop(2);
_classarr[11] = 2;
man[("f_" + 12)].gotoAndStop(2);
_classarr[12] = 2;
man[("f_" + 13)].gotoAndStop(2);
_classarr[13] = 2;
man[("f_" + 14)].gotoAndStop(2);
_classarr[14] = 2;
};
if ((((_local2 == 15)) || ((_local2 == 16)))){
man[("f_" + 15)].gotoAndStop(2);
_classarr[15] = 2;
man[("f_" + 16)].gotoAndStop(2);
_classarr[16] = 2;
};
if ((((_local2 == 17)) || ((_local2 == 18)))){
man[("f_" + 17)].gotoAndStop(2);
_classarr[17] = 2;
man[("f_" + 18)].gotoAndStop(2);
_classarr[18] = 2;
};
};
};
_local2++;
};
if (_arg1.currentTarget.hitTestObject(this.div_bg.c_3) == true){
if (c3 == false){
_arg1.currentTarget.x = zf_x;
_arg1.currentTarget.y = zf_y;
_arg1.currentTarget.stopDrag();
c3 = true;
} else {
c3 = false;
};
};
if (_arg1.currentTarget.hitTestObject(this.div.jd) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = zf_x;
_arg1.currentTarget.y = zf_y;
this.div.jd.startDrag();
this.div.jd.x = this.div.mouseX;
this.div.jd.y = this.div.mouseY;
this.div.setChildIndex(this.div.jd, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.jf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = zf_x;
_arg1.currentTarget.y = zf_y;
this.div.jf.startDrag();
this.div.jf.x = this.div.mouseX;
this.div.jf.y = this.div.mouseY;
this.div.setChildIndex(this.div.jf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.sz) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = zf_x;
_arg1.currentTarget.y = zf_y;
this.div.sz.startDrag();
this.div.sz.x = this.div.mouseX;
this.div.sz.y = this.div.mouseY;
this.div.setChildIndex(this.div.sz, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.remove) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = zf_x;
_arg1.currentTarget.y = zf_y;
};
_local2 = 1;
while (_local2 <= 5) {
if (_arg1.currentTarget.hitTestObject(this.div[("hw_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = zf_x;
_arg1.currentTarget.y = zf_y;
};
_local2++;
};
_local2 = 1;
while (_local2 <= 6) {
if (_arg1.currentTarget.hitTestObject(this.div[("color_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = zf_x;
_arg1.currentTarget.y = zf_y;
};
_local2++;
};
}
public function gameover(_arg1){
utm_content = "gameover";
MoreGameURL(true);
}
public function setman(){
var _local1 = 1;
while (_local1 <= 18) {
if (((!((_local1 == 1))) && (!((_local1 == 4))))){
man[("f_" + _local1)].visible = _farr[_local1];
TweenMax.to(man[("f_" + _local1)], 0, {colorMatrixFilter:{colorize:color_arr[(_colorarr[_local1] - 1)], amount:1}});
man[("f_" + _local1)].gotoAndStop(_classarr[_local1]);
};
_local1++;
};
man.hw.gotoAndStop(_zsarr);
man.r.gotoAndStop(ferr_r);
}
public function jf_dow(_arg1:MouseEvent){
this.div.setChildIndex((_arg1.currentTarget as DisplayObject), (this.div.numChildren - 1));
var _local2 = 1;
while (_local2 <= 6) {
this.div[("color_" + _local2)].x = color_x[_local2];
this.div[("color_" + _local2)].y = color_y[_local2];
_local2++;
};
this.div.jd.x = jd_x;
this.div.jd.y = jd_y;
this.div.zf.x = zf_x;
this.div.zf.y = zf_y;
this.div.sz.x = sz_x;
this.div.sz.y = sz_y;
this.div.jf.x = this.div.mouseX;
this.div.jf.y = this.div.mouseY;
_arg1.currentTarget.startDrag();
_local2 = 1;
while (_local2 <= 18) {
if (((!((_local2 == 1))) && (!((_local2 == 4))))){
if ((((_arg1.currentTarget.jf.hitTestObject(man[("f_" + _local2)]) == true)) && ((man[("f_" + _local2)].visible == true)))){
_arg1.currentTarget.active.play();
this.div.show.play();
this.div.show.x = (this.div.mouseX - 50);
this.div.show.y = (this.div.mouseY - 20);
if ((((_local2 == 2)) || ((_local2 == 3)))){
man[("f_" + 2)].gotoAndStop(3);
_classarr[2] = 3;
man[("f_" + 3)].gotoAndStop(3);
_classarr[3] = 3;
};
if ((((_local2 == 5)) || ((_local2 == 6)))){
man[("f_" + 5)].gotoAndStop(3);
_classarr[5] = 3;
man[("f_" + 6)].gotoAndStop(3);
_classarr[6] = 3;
};
if ((((((((_local2 == 7)) || ((_local2 == 8)))) || ((_local2 == 9)))) || ((_local2 == 10)))){
man[("f_" + 7)].gotoAndStop(3);
_classarr[7] = 3;
man[("f_" + 8)].gotoAndStop(3);
_classarr[8] = 3;
man[("f_" + 9)].gotoAndStop(3);
_classarr[9] = 3;
man[("f_" + 10)].gotoAndStop(3);
_classarr[10] = 3;
};
if ((((((((_local2 == 11)) || ((_local2 == 12)))) || ((_local2 == 13)))) || ((_local2 == 14)))){
man[("f_" + 11)].gotoAndStop(3);
_classarr[11] = 3;
man[("f_" + 12)].gotoAndStop(3);
_classarr[12] = 3;
man[("f_" + 13)].gotoAndStop(3);
_classarr[13] = 3;
man[("f_" + 14)].gotoAndStop(3);
_classarr[14] = 3;
};
if ((((_local2 == 15)) || ((_local2 == 16)))){
man[("f_" + 15)].gotoAndStop(3);
_classarr[15] = 3;
man[("f_" + 16)].gotoAndStop(3);
_classarr[16] = 3;
};
if ((((_local2 == 17)) || ((_local2 == 18)))){
man[("f_" + 17)].gotoAndStop(3);
_classarr[17] = 3;
man[("f_" + 18)].gotoAndStop(3);
_classarr[18] = 3;
};
};
};
_local2++;
};
if (_arg1.currentTarget.hitTestObject(this.div_bg.c_4) == true){
if (c4 == false){
_arg1.currentTarget.x = jf_x;
_arg1.currentTarget.y = jf_y;
_arg1.currentTarget.stopDrag();
c4 = true;
} else {
c4 = false;
};
};
if (_arg1.currentTarget.hitTestObject(this.div.jd) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jf_x;
_arg1.currentTarget.y = jf_y;
this.div.jd.startDrag();
this.div.jd.x = this.div.mouseX;
this.div.jd.y = this.div.mouseY;
this.div.setChildIndex(this.div.jd, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.zf) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jf_x;
_arg1.currentTarget.y = jf_y;
this.div.zf.startDrag();
this.div.zf.x = this.div.mouseX;
this.div.zf.y = this.div.mouseY;
this.div.setChildIndex(this.div.zf, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.sz) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jf_x;
_arg1.currentTarget.y = jf_y;
this.div.sz.startDrag();
this.div.sz.x = this.div.mouseX;
this.div.sz.y = this.div.mouseY;
this.div.setChildIndex(this.div.sz, (this.div.numChildren - 1));
};
if (_arg1.currentTarget.hitTestObject(this.div.remove) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jf_x;
_arg1.currentTarget.y = jf_y;
};
_local2 = 1;
while (_local2 <= 5) {
if (_arg1.currentTarget.hitTestObject(this.div[("hw_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jf_x;
_arg1.currentTarget.y = jf_y;
};
_local2++;
};
_local2 = 1;
while (_local2 <= 6) {
if (_arg1.currentTarget.hitTestObject(this.div[("color_" + _local2)]) == true){
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.x = jf_x;
_arg1.currentTarget.y = jf_y;
};
_local2++;
};
}
public function hw_up(_arg1:MouseEvent){
_arg1.currentTarget.stopDrag();
var _local2:String = _arg1.currentTarget.name;
var _local3:Array = _local2.split("_");
if (_arg1.currentTarget.hitTestObject(this.man.hw) == true){
this.div.show.play();
this.div.show.x = this.div.mouseX;
this.div.show.y = this.div.mouseY;
man.hw.gotoAndStop((Number(_local3[1]) + 1));
_zsarr = (Number(_local3[1]) + 1);
};
_arg1.currentTarget.x = this[(("hw_" + _local3[1]) + "_x")];
_arg1.currentTarget.y = this[(("hw_" + _local3[1]) + "_y")];
}
}
}//package Eva_fla
Section 15
//preLoader_2 (Eva_fla.preLoader_2)
package Eva_fla {
import flash.display.*;
public dynamic class preLoader_2 extends MovieClip {
public var Loading:MovieClip;
public function preLoader_2(){
addFrameScript(0, frame1, 99, frame100);
}
function frame1(){
stop();
}
function frame100(){
stop();
}
}
}//package Eva_fla
Section 16
//r1__194 (Eva_fla.r1__194)
package Eva_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class r1__194 extends MovieClip {
public var colorarr_:Array;
public var farr_:Array;
public var color_arr:Array;
public var classarr_:Array;
public var farr_1:Array;
public var farr_2:Array;
public var farr_3:Array;
public var farr_4:Array;
public var farr_5:Array;
public var zsarr_2:int;
public var zsarr_3:int;
public var zsarr_4:int;
public var zsarr_5:int;
public var zsarr_1:int;
public var ferr_r_:int;
public var colorarr_1:Array;
public var colorarr_2:Array;
public var colorarr_3:Array;
public var colorarr_4:Array;
public var colorarr_5:Array;
public var zsarr_:int;
public var classarr_1:Array;
public var classarr_3:Array;
public var classarr_5:Array;
public var classarr_2:Array;
public var classarr_4:Array;
public var man:MovieClip;
public var i:int;
public function r1__194(){
addFrameScript(0, frame1);
}
function frame1(){
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
ferr_r_ = 1;
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
farr_ = this[("farr_" + ferr_r_)];
colorarr_ = this[("colorarr_" + ferr_r_)];
classarr_ = this[("classarr_" + ferr_r_)];
zsarr_ = this[("zsarr_" + ferr_r_)];
man.hw.gotoAndStop(zsarr_);
i = 1;
while (i <= 18) {
if (((!((i == 1))) && (!((i == 4))))){
man[("f_" + i)].gotoAndStop(classarr_[i]);
if (colorarr_[i] == 0){
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:16045471, amount:0}});
} else {
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:color_arr[(colorarr_[i] - 1)], amount:1}});
};
man[("f_" + i)].visible = farr_[i];
};
i++;
};
}
}
}//package Eva_fla
Section 17
//r2__188 (Eva_fla.r2__188)
package Eva_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class r2__188 extends MovieClip {
public var colorarr_:Array;
public var farr_:Array;
public var color_arr:Array;
public var classarr_:Array;
public var farr_1:Array;
public var farr_2:Array;
public var farr_3:Array;
public var farr_4:Array;
public var farr_5:Array;
public var zsarr_2:int;
public var zsarr_3:int;
public var zsarr_4:int;
public var zsarr_5:int;
public var zsarr_1:int;
public var ferr_r_:int;
public var colorarr_1:Array;
public var colorarr_2:Array;
public var colorarr_3:Array;
public var colorarr_4:Array;
public var colorarr_5:Array;
public var zsarr_:int;
public var classarr_1:Array;
public var classarr_3:Array;
public var classarr_5:Array;
public var classarr_2:Array;
public var classarr_4:Array;
public var man:MovieClip;
public var i:int;
public function r2__188(){
addFrameScript(0, frame1);
}
function frame1(){
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
ferr_r_ = 2;
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
farr_ = this[("farr_" + ferr_r_)];
colorarr_ = this[("colorarr_" + ferr_r_)];
classarr_ = this[("classarr_" + ferr_r_)];
zsarr_ = this[("zsarr_" + ferr_r_)];
man.hw.gotoAndStop(zsarr_);
i = 1;
while (i <= 18) {
if (((!((i == 1))) && (!((i == 4))))){
man[("f_" + i)].gotoAndStop(classarr_[i]);
if (colorarr_[i] == 0){
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:16045471, amount:0}});
} else {
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:color_arr[(colorarr_[i] - 1)], amount:1}});
};
man[("f_" + i)].visible = farr_[i];
};
man.r.gotoAndStop(ferr_r_);
i++;
};
}
}
}//package Eva_fla
Section 18
//r3__190 (Eva_fla.r3__190)
package Eva_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class r3__190 extends MovieClip {
public var colorarr_:Array;
public var farr_:Array;
public var color_arr:Array;
public var classarr_:Array;
public var farr_1:Array;
public var farr_2:Array;
public var farr_3:Array;
public var farr_4:Array;
public var farr_5:Array;
public var zsarr_2:int;
public var zsarr_3:int;
public var zsarr_4:int;
public var zsarr_5:int;
public var zsarr_1:int;
public var ferr_r_:int;
public var colorarr_1:Array;
public var colorarr_2:Array;
public var colorarr_3:Array;
public var colorarr_4:Array;
public var colorarr_5:Array;
public var zsarr_:int;
public var classarr_1:Array;
public var classarr_3:Array;
public var classarr_5:Array;
public var classarr_2:Array;
public var classarr_4:Array;
public var man:MovieClip;
public var i:int;
public function r3__190(){
addFrameScript(0, frame1);
}
function frame1(){
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
ferr_r_ = 3;
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
farr_ = this[("farr_" + ferr_r_)];
colorarr_ = this[("colorarr_" + ferr_r_)];
classarr_ = this[("classarr_" + ferr_r_)];
zsarr_ = this[("zsarr_" + ferr_r_)];
man.hw.gotoAndStop(zsarr_);
i = 1;
while (i <= 18) {
if (((!((i == 1))) && (!((i == 4))))){
man[("f_" + i)].gotoAndStop(classarr_[i]);
if (colorarr_[i] == 0){
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:16045471, amount:0}});
} else {
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:color_arr[(colorarr_[i] - 1)], amount:1}});
};
man[("f_" + i)].visible = farr_[i];
};
man.r.gotoAndStop(ferr_r_);
i++;
};
}
}
}//package Eva_fla
Section 19
//r4__192 (Eva_fla.r4__192)
package Eva_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class r4__192 extends MovieClip {
public var colorarr_:Array;
public var farr_:Array;
public var color_arr:Array;
public var classarr_:Array;
public var farr_1:Array;
public var farr_2:Array;
public var farr_3:Array;
public var farr_4:Array;
public var farr_5:Array;
public var zsarr_2:int;
public var zsarr_3:int;
public var zsarr_4:int;
public var zsarr_5:int;
public var zsarr_1:int;
public var ferr_r_:int;
public var colorarr_1:Array;
public var colorarr_2:Array;
public var colorarr_3:Array;
public var colorarr_4:Array;
public var colorarr_5:Array;
public var zsarr_:int;
public var classarr_1:Array;
public var classarr_3:Array;
public var classarr_5:Array;
public var classarr_2:Array;
public var classarr_4:Array;
public var man:MovieClip;
public var i:int;
public function r4__192(){
addFrameScript(0, frame1);
}
function frame1(){
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
ferr_r_ = 4;
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
farr_ = this[("farr_" + ferr_r_)];
colorarr_ = this[("colorarr_" + ferr_r_)];
classarr_ = this[("classarr_" + ferr_r_)];
zsarr_ = this[("zsarr_" + ferr_r_)];
man.hw.gotoAndStop(zsarr_);
i = 1;
while (i <= 18) {
if (((!((i == 1))) && (!((i == 4))))){
man[("f_" + i)].gotoAndStop(classarr_[i]);
if (colorarr_[i] == 0){
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:16045471, amount:0}});
} else {
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:color_arr[(colorarr_[i] - 1)], amount:1}});
};
man[("f_" + i)].visible = farr_[i];
};
man.r.gotoAndStop(ferr_r_);
i++;
};
}
}
}//package Eva_fla
Section 20
//r5__196 (Eva_fla.r5__196)
package Eva_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class r5__196 extends MovieClip {
public var colorarr_:Array;
public var farr_:Array;
public var color_arr:Array;
public var classarr_:Array;
public var farr_1:Array;
public var farr_2:Array;
public var farr_3:Array;
public var farr_4:Array;
public var farr_5:Array;
public var zsarr_2:int;
public var zsarr_3:int;
public var zsarr_4:int;
public var zsarr_5:int;
public var zsarr_1:int;
public var ferr_r_:int;
public var colorarr_1:Array;
public var colorarr_2:Array;
public var colorarr_3:Array;
public var colorarr_4:Array;
public var colorarr_5:Array;
public var zsarr_:int;
public var classarr_1:Array;
public var classarr_3:Array;
public var classarr_5:Array;
public var classarr_2:Array;
public var classarr_4:Array;
public var man:MovieClip;
public var i:int;
public function r5__196(){
addFrameScript(0, frame1);
}
function frame1(){
color_arr = ["0x3D4EB1", "0xF0C586", "0x9900FF", "0xCC0000", "0x669900", "0x333333"];
ferr_r_ = 5;
farr_1 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_1 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
classarr_1 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_1 = 1;
farr_2 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_2 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
classarr_2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_2 = 1;
farr_3 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
classarr_3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
zsarr_3 = 1;
farr_4 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_4 = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
classarr_4 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
zsarr_4 = 1;
farr_5 = [0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0];
colorarr_5 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
classarr_5 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];
zsarr_5 = 1;
farr_ = this[("farr_" + ferr_r_)];
colorarr_ = this[("colorarr_" + ferr_r_)];
classarr_ = this[("classarr_" + ferr_r_)];
zsarr_ = this[("zsarr_" + ferr_r_)];
man.hw.gotoAndStop(zsarr_);
i = 1;
while (i <= 18) {
if (((!((i == 1))) && (!((i == 4))))){
man[("f_" + i)].gotoAndStop(classarr_[i]);
if (colorarr_[i] == 0){
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:16045471, amount:0}});
} else {
TweenMax.to(man[("f_" + i)], 0, {colorMatrixFilter:{colorize:color_arr[(colorarr_[i] - 1)], amount:1}});
};
man[("f_" + i)].visible = farr_[i];
};
man.r.gotoAndStop(ferr_r_);
i++;
};
}
}
}//package Eva_fla
Section 21
//Scene_6_bg1to2_230 (Eva_fla.Scene_6_bg1to2_230)
package Eva_fla {
import flash.display.*;
public dynamic class Scene_6_bg1to2_230 extends MovieClip {
public function Scene_6_bg1to2_230(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package Eva_fla
Section 22
//Scene_6_bg2to3_231 (Eva_fla.Scene_6_bg2to3_231)
package Eva_fla {
import flash.display.*;
public dynamic class Scene_6_bg2to3_231 extends MovieClip {
public function Scene_6_bg2to3_231(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package Eva_fla
Section 23
//Scene_6_bg3to4_232 (Eva_fla.Scene_6_bg3to4_232)
package Eva_fla {
import flash.display.*;
public dynamic class Scene_6_bg3to4_232 extends MovieClip {
public function Scene_6_bg3to4_232(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package Eva_fla
Section 24
//Scene_6_bg4to5_233 (Eva_fla.Scene_6_bg4to5_233)
package Eva_fla {
import flash.display.*;
public dynamic class Scene_6_bg4to5_233 extends MovieClip {
public function Scene_6_bg4to5_233(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package Eva_fla
Section 25
//Timeline_153 (Eva_fla.Timeline_153)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_153 extends MovieClip {
public function Timeline_153(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 26
//Timeline_156 (Eva_fla.Timeline_156)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_156 extends MovieClip {
public function Timeline_156(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 27
//Timeline_159 (Eva_fla.Timeline_159)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_159 extends MovieClip {
public function Timeline_159(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 28
//Timeline_162 (Eva_fla.Timeline_162)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_162 extends MovieClip {
public function Timeline_162(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 29
//Timeline_164 (Eva_fla.Timeline_164)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_164 extends MovieClip {
public function Timeline_164(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 30
//Timeline_166 (Eva_fla.Timeline_166)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_166 extends MovieClip {
public function Timeline_166(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 31
//Timeline_168 (Eva_fla.Timeline_168)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_168 extends MovieClip {
public function Timeline_168(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 32
//Timeline_170 (Eva_fla.Timeline_170)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_170 extends MovieClip {
public function Timeline_170(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 33
//Timeline_176 (Eva_fla.Timeline_176)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_176 extends MovieClip {
public function Timeline_176(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 34
//Timeline_180 (Eva_fla.Timeline_180)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_180 extends MovieClip {
public function Timeline_180(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 35
//Timeline_181 (Eva_fla.Timeline_181)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_181 extends MovieClip {
public function Timeline_181(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 36
//Timeline_182 (Eva_fla.Timeline_182)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_182 extends MovieClip {
public function Timeline_182(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 37
//Timeline_223 (Eva_fla.Timeline_223)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_223 extends MovieClip {
public function Timeline_223(){
addFrameScript(54, frame55);
}
function frame55(){
stop();
}
}
}//package Eva_fla
Section 38
//Timeline_239 (Eva_fla.Timeline_239)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_239 extends MovieClip {
public function Timeline_239(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 39
//Timeline_34 (Eva_fla.Timeline_34)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_34 extends MovieClip {
public function Timeline_34(){
addFrameScript(0, frame1, 73, frame74);
}
public function GOGO(){
var _local1:* = parent;
_local1.parent.gotoAndStop(2);
}
function frame74(){
stop();
GOGO();
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 40
//Timeline_35 (Eva_fla.Timeline_35)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_35 extends MovieClip {
public function Timeline_35(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.PicNumber);
}
function frame1(){
New();
}
}
}//package Eva_fla
Section 41
//Timeline_90 (Eva_fla.Timeline_90)
package Eva_fla {
import flash.display.*;
public dynamic class Timeline_90 extends MovieClip {
public function Timeline_90(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Eva_fla
Section 42
//TITTER_8 (Eva_fla.TITTER_8)
package Eva_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TITTER_8 extends MovieClip {
public function TITTER_8(){
addFrameScript(0, frame1);
}
public function New(){
var _local1:* = root;
gotoAndStop(_local1.TypeSS);
}
function frame1(){
stop();
New();
}
}
}//package Eva_fla
Section 43
//Back (gs.easing.Back)
package gs.easing {
public class Back {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2));
};
_arg1 = (_arg1 - 2);
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2));
}
}
}//package gs.easing
Section 44
//TweenEvent (gs.events.TweenEvent)
package gs.events {
import flash.events.*;
public class TweenEvent extends Event {
public var info:Object;
public static const UPDATE:String = "update";
public static const START:String = "start";
public static const version:Number = 0.9;
public static const COMPLETE:String = "complete";
public function TweenEvent(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.info = _arg2;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.info, this.bubbles, this.cancelable));
}
}
}//package gs.events
Section 45
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _target:Object;
protected var _visible:Boolean;
protected var _tween:TweenLite;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_tweenVisible = !(Boolean(("visible" in _arg1)));
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(!((_arg2 == 0)));
_tweenVisible = true;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 46
//BevelFilterPlugin (gs.plugins.BevelFilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
public class BevelFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BevelFilterPlugin(){
this.propName = "bevelFilter";
this.overwriteProps = ["bevelFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BevelFilter;
initFilter(_arg2, new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_arg2.quality) || (2))));
return (true);
}
}
}//package gs.plugins
Section 47
//BezierPlugin (gs.plugins.BezierPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class BezierPlugin extends TweenPlugin {
protected var _future:Object;
protected var _orient:Boolean;
protected var _orientData:Array;
protected var _target:Object;
protected var _beziers:Object;
protected static const _RAD2DEG:Number = 57.2957795130823;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function BezierPlugin(){
_future = {};
super();
this.propName = "bezier";
this.overwriteProps = [];
}
override public function killProps(_arg1:Object):void{
var _local2:String;
for (_local2 in _beziers) {
if ((_local2 in _arg1)){
delete _beziers[_local2];
};
};
super.killProps(_arg1);
}
protected function init(_arg1:TweenLite, _arg2:Array, _arg3:Boolean):void{
var _local5:int;
var _local6:String;
_target = _arg1.target;
if (_arg1.exposedVars.orientToBezier == true){
_orientData = [["x", "y", "rotation", 0]];
_orient = true;
} else {
if ((_arg1.exposedVars.orientToBezier is Array)){
_orientData = _arg1.exposedVars.orientToBezier;
_orient = true;
};
};
var _local4:Object = {};
_local5 = 0;
while (_local5 < _arg2.length) {
for (_local6 in _arg2[_local5]) {
if (_local4[_local6] == undefined){
_local4[_local6] = [_arg1.target[_local6]];
};
if (typeof(_arg2[_local5][_local6]) == "number"){
_local4[_local6].push(_arg2[_local5][_local6]);
} else {
_local4[_local6].push((_arg1.target[_local6] + Number(_arg2[_local5][_local6])));
};
};
_local5++;
};
for (_local6 in _local4) {
this.overwriteProps[this.overwriteProps.length] = _local6;
if (_arg1.exposedVars[_local6] != undefined){
if (typeof(_arg1.exposedVars[_local6]) == "number"){
_local4[_local6].push(_arg1.exposedVars[_local6]);
} else {
_local4[_local6].push((_arg1.target[_local6] + Number(_arg1.exposedVars[_local6])));
};
delete _arg1.exposedVars[_local6];
_local5 = (_arg1.tweens.length - 1);
while (_local5 > -1) {
if (_arg1.tweens[_local5].name == _local6){
_arg1.tweens.splice(_local5, 1);
};
_local5--;
};
};
};
_beziers = parseBeziers(_local4, _arg3);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), false);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:String;
var _local4:Object;
var _local5:Number;
var _local6:uint;
var _local7:Number;
var _local8:int;
var _local9:Object;
var _local10:Boolean;
var _local11:Number;
var _local12:Number;
var _local13:Array;
var _local14:Number;
if (_arg1 == 1){
for (_local3 in _beziers) {
_local2 = (_beziers[_local3].length - 1);
_target[_local3] = _beziers[_local3][_local2][2];
};
} else {
for (_local3 in _beziers) {
_local6 = _beziers[_local3].length;
if (_arg1 < 0){
_local2 = 0;
} else {
if (_arg1 >= 1){
_local2 = (_local6 - 1);
} else {
_local2 = int((_local6 * _arg1));
};
};
_local5 = ((_arg1 - (_local2 * (1 / _local6))) * _local6);
_local4 = _beziers[_local3][_local2];
if (this.round){
_local7 = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
_local8 = ((_local7)<0) ? -1 : 1;
_target[_local3] = ((((_local7 % 1) * _local8))>0.5) ? (int(_local7) + _local8) : int(_local7);
} else {
_target[_local3] = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
};
};
};
if (_orient){
_local9 = _target;
_local10 = this.round;
_target = _future;
this.round = false;
_orient = false;
this.changeFactor = (_arg1 + 0.01);
_target = _local9;
this.round = _local10;
_orient = true;
_local2 = 0;
while (_local2 < _orientData.length) {
_local13 = _orientData[_local2];
_local14 = ((_local13[3]) || (0));
_local11 = (_future[_local13[0]] - _target[_local13[0]]);
_local12 = (_future[_local13[1]] - _target[_local13[1]]);
_target[_local13[2]] = ((Math.atan2(_local12, _local11) * _RAD2DEG) + _local14);
_local2++;
};
};
}
public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{
var _local3:int;
var _local4:Array;
var _local5:Object;
var _local6:String;
var _local7:Object = {};
if (_arg2){
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 2){
_local5[_local5.length] = [_local4[0], (_local4[1] - ((_local4[2] - _local4[0]) / 4)), _local4[1]];
_local3 = 1;
while (_local3 < (_local4.length - 1)) {
_local5[_local5.length] = [_local4[_local3], (_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)][1])), _local4[(_local3 + 1)]];
_local3++;
};
} else {
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
} else {
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 3){
_local5[_local5.length] = [_local4[0], _local4[1], ((_local4[1] + _local4[2]) / 2)];
_local3 = 2;
while (_local3 < (_local4.length - 2)) {
_local5[_local5.length] = [_local5[(_local3 - 2)][2], _local4[_local3], ((_local4[_local3] + _local4[(_local3 + 1)]) / 2)];
_local3++;
};
_local5[_local5.length] = [_local5[(_local5.length - 1)][2], _local4[(_local4.length - 2)], _local4[(_local4.length - 1)]];
} else {
if (_local4.length == 3){
_local5[_local5.length] = [_local4[0], _local4[1], _local4[2]];
} else {
if (_local4.length == 2){
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
};
};
};
return (_local7);
}
}
}//package gs.plugins
Section 48
//BezierThroughPlugin (gs.plugins.BezierThroughPlugin)
package gs.plugins {
import gs.*;
public class BezierThroughPlugin extends BezierPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BezierThroughPlugin(){
this.propName = "bezierThrough";
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), true);
return (true);
}
}
}//package gs.plugins
Section 49
//BlurFilterPlugin (gs.plugins.BlurFilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
public class BlurFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BlurFilterPlugin(){
this.propName = "blurFilter";
this.overwriteProps = ["blurFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BlurFilter;
initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2))));
return (true);
}
}
}//package gs.plugins
Section 50
//ColorMatrixFilterPlugin (gs.plugins.ColorMatrixFilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
public class ColorMatrixFilterPlugin extends FilterPlugin {
protected var _matrix:Array;
protected var _matrixTween:EndArrayPlugin;
public static const API:Number = 1;
public static const VERSION:Number = 1.1;
protected static var _lumG:Number = 0.71516;
protected static var _lumR:Number = 0.212671;
protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
protected static var _lumB:Number = 0.072169;
public function ColorMatrixFilterPlugin(){
this.propName = "colorMatrixFilter";
this.overwriteProps = ["colorMatrixFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = ColorMatrixFilter;
var _local4:Object = _arg2;
initFilter({remove:_arg2.remove, index:_arg2.index, addFilter:_arg2.addFilter}, new ColorMatrixFilter(_idMatrix.slice()));
_matrix = ColorMatrixFilter(_filter).matrix;
var _local5:Array = [];
if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){
_local5 = _local4.matrix;
} else {
if (_local4.relative == true){
_local5 = _matrix.slice();
} else {
_local5 = _idMatrix.slice();
};
_local5 = setBrightness(_local5, _local4.brightness);
_local5 = setContrast(_local5, _local4.contrast);
_local5 = setHue(_local5, _local4.hue);
_local5 = setSaturation(_local5, _local4.saturation);
_local5 = setThreshold(_local5, _local4.threshold);
if (!isNaN(_local4.colorize)){
_local5 = colorize(_local5, _local4.colorize, _local4.amount);
};
};
_matrixTween = new EndArrayPlugin();
_matrixTween.init(_matrix, _local5);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
_matrixTween.changeFactor = _arg1;
ColorMatrixFilter(_filter).matrix = _matrix;
super.changeFactor = _arg1;
}
public static function setSaturation(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Number = (1 - _arg2);
var _local4:Number = (_local3 * _lumR);
var _local5:Number = (_local3 * _lumG);
var _local6:Number = (_local3 * _lumB);
var _local7:Array = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local7, _arg1));
}
public static function setHue(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 * (Math.PI / 180));
var _local3:Number = Math.cos(_arg2);
var _local4:Number = Math.sin(_arg2);
var _local5:Array = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
return (applyMatrix(_local5, _arg1));
}
public static function setThreshold(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Array = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function applyMatrix(_arg1:Array, _arg2:Array):Array{
var _local6:int;
var _local7:int;
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (_arg2);
};
var _local3:Array = [];
var _local4:int;
var _local5:int;
_local6 = 0;
while (_local6 < 4) {
_local7 = 0;
while (_local7 < 5) {
if (_local7 == 4){
_local5 = _arg1[(_local4 + 4)];
} else {
_local5 = 0;
};
_local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5);
_local7++;
};
_local4 = (_local4 + 5);
_local6++;
};
return (_local3);
}
public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{
if (isNaN(_arg2)){
return (_arg1);
};
if (isNaN(_arg3)){
_arg3 = 1;
};
var _local4:Number = (((_arg2 >> 16) & 0xFF) / 0xFF);
var _local5:Number = (((_arg2 >> 8) & 0xFF) / 0xFF);
var _local6:Number = ((_arg2 & 0xFF) / 0xFF);
var _local7:Number = (1 - _arg3);
var _local8:Array = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local8, _arg1));
}
public static function setBrightness(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = ((_arg2 * 100) - 100);
return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1));
}
public static function setContrast(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 + 0.01);
var _local3:Array = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
}
}//package gs.plugins
Section 51
//DropShadowFilterPlugin (gs.plugins.DropShadowFilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
public class DropShadowFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function DropShadowFilterPlugin(){
this.propName = "dropShadowFilter";
this.overwriteProps = ["dropShadowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = DropShadowFilter;
initFilter(_arg2, new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout, _arg2.hideObject));
return (true);
}
}
}//package gs.plugins
Section 52
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _a:Array;
protected var _info:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
public function init(_arg1:Array, _arg2:Array):void{
_a = _arg1;
var _local3:int = (_arg2.length - 1);
while (_local3 > -1) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
}
}//package gs.plugins
Section 53
//FilterPlugin (gs.plugins.FilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
import gs.utils.tween.*;
public class FilterPlugin extends TweenPlugin {
protected var _remove:Boolean;
protected var _target:Object;
protected var _index:int;
protected var _filter:BitmapFilter;
protected var _type:Class;
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function onCompleteTween():void{
var _local1:int;
var _local2:Array;
if (_remove){
_local2 = _target.filters;
if (!(_local2[_index] is _type)){
_local1 = (_local2.length - 1);
while (_local1 > -1) {
if ((_local2[_local1] is _type)){
_local2.splice(_local1, 1);
break;
};
_local1--;
};
} else {
_local2.splice(_index, 1);
};
_target.filters = _local2;
};
}
protected function initFilter(_arg1:Object, _arg2:BitmapFilter):void{
var _local4:String;
var _local5:int;
var _local6:HexColorsPlugin;
var _local3:Array = _target.filters;
_index = -1;
if (_arg1.index != null){
_index = _arg1.index;
} else {
_local5 = (_local3.length - 1);
while (_local5 > -1) {
if ((_local3[_local5] is _type)){
_index = _local5;
break;
};
_local5--;
};
};
if ((((((_index == -1)) || ((_local3[_index] == null)))) || ((_arg1.addFilter == true)))){
_index = ((_arg1.index)!=null) ? _arg1.index : _local3.length;
_local3[_index] = _arg2;
_target.filters = _local3;
};
_filter = _local3[_index];
_remove = Boolean((_arg1.remove == true));
if (_remove){
this.onComplete = onCompleteTween;
};
var _local7:Object = ((_arg1.isTV)==true) ? _arg1.exposedVars : _arg1;
for (_local4 in _local7) {
if (((((((((!((_local4 in _filter))) || ((_filter[_local4] == _local7[_local4])))) || ((_local4 == "remove")))) || ((_local4 == "index")))) || ((_local4 == "addFilter")))){
} else {
if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){
_local6 = new HexColorsPlugin();
_local6.initColor(_filter, _local4, _filter[_local4], _local7[_local4]);
_tweens[_tweens.length] = new TweenInfo(_local6, "changeFactor", 0, 1, _local4, false);
} else {
if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){
_filter[_local4] = _local7[_local4];
} else {
addTween(_filter, _local4, _filter[_local4], _local7[_local4], _local4);
};
};
};
};
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Array = _target.filters;
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
if (!(_local4[_index] is _type)){
_index = (_local4.length - 1);
_local2 = (_local4.length - 1);
while (_local2 > -1) {
if ((_local4[_local2] is _type)){
_index = _local2;
break;
};
_local2--;
};
};
_local4[_index] = _filter;
_target.filters = _local4;
}
}
}//package gs.plugins
Section 54
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class FramePlugin extends TweenPlugin {
protected var _target:MovieClip;
public var frame:int;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, _arg2, "frame");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
}
}//package gs.plugins
Section 55
//GlowFilterPlugin (gs.plugins.GlowFilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
public class GlowFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function GlowFilterPlugin(){
this.propName = "glowFilter";
this.overwriteProps = ["glowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = GlowFilter;
initFilter(_arg2, new GlowFilter(0xFFFFFF, 0, 0, 0, ((_arg2.strength) || (1)), ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout));
return (true);
}
}
}//package gs.plugins
Section 56
//HexColorsPlugin (gs.plugins.HexColorsPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class HexColorsPlugin extends TweenPlugin {
protected var _colors:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function HexColorsPlugin(){
this.propName = "hexColors";
this.overwriteProps = [];
_colors = [];
}
override public function killProps(_arg1:Object):void{
var _local2:int = (_colors.length - 1);
while (_local2 > -1) {
if (_arg1[_colors[_local2][1]] != undefined){
_colors.splice(_local2, 1);
};
_local2--;
};
super.killProps(_arg1);
}
public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
if (_arg3 != _arg4){
_local5 = (_arg3 >> 16);
_local6 = ((_arg3 >> 8) & 0xFF);
_local7 = (_arg3 & 0xFF);
_colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)];
this.overwriteProps[this.overwriteProps.length] = _arg2;
};
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:Array;
_local2 = (_colors.length - 1);
while (_local2 > -1) {
_local3 = _colors[_local2];
_local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7])));
_local2--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
for (_local4 in _arg2) {
initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4]));
};
return (true);
}
}
}//package gs.plugins
Section 57
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 58
//RoundPropsPlugin (gs.plugins.RoundPropsPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class RoundPropsPlugin extends TweenPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function RoundPropsPlugin(){
this.propName = "roundProps";
this.overwriteProps = [];
this.round = true;
}
public function add(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
addTween(_arg1, _arg2, _arg3, (_arg3 + _arg4), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package gs.plugins
Section 59
//ShortRotationPlugin (gs.plugins.ShortRotationPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class ShortRotationPlugin extends TweenPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function ShortRotationPlugin(){
this.propName = "shortRotation";
this.overwriteProps = [];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
if (typeof(_arg2) == "number"){
trace("WARNING: You appear to be using the old shortRotation syntax. Instead of passing a number, please pass an object with properties that correspond to the rotations values For example, TweenMax.to(mc, 2, {shortRotation:{rotationX:-170, rotationY:25}})");
return (false);
};
for (_local4 in _arg2) {
initRotation(_arg1, _local4, _arg1[_local4], _arg2[_local4]);
};
return (true);
}
public function initRotation(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
var _local5:Number = ((_arg4 - _arg3) % 360);
if (((_arg4 - _arg3) % 360) != (_local5 % 180)){
_local5 = ((_local5)<0) ? (_local5 + 360) : (_local5 - 360);
};
addTween(_arg1, _arg2, _arg3, (_arg3 + _local5), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package gs.plugins
Section 60
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _target:DisplayObject;
protected var _ct:ColorTransform;
protected var _ignoreAlpha:Boolean;
public static const VERSION:Number = 1.1;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local3:int;
var _local4:String;
_target = _arg1;
_ct = _target.transform.colorTransform;
_local3 = (_props.length - 1);
while (_local3 > -1) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg1 is DisplayObject)){
return (false);
};
var _local4:ColorTransform = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){
_local4.color = uint(_arg2);
};
_ignoreAlpha = true;
init((_arg1 as DisplayObject), _local4);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:ColorTransform;
updateTweens(_arg1);
if (_ignoreAlpha){
_local2 = _target.transform.colorTransform;
_ct.alphaMultiplier = _local2.alphaMultiplier;
_ct.alphaOffset = _local2.alphaOffset;
};
_target.transform.colorTransform = _ct;
}
}
}//package gs.plugins
Section 61
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var overwriteProps:Array;
protected var _tweens:Array;
public var propName:String;
public var onComplete:Function;
public var round:Boolean;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
super();
}
protected function updateTweens(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (this.overwriteProps.length - 1);
while (_local2 > -1) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
_local2--;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2].name in _arg1)){
_tweens.splice(_local2, 1);
};
_local2--;
};
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function get changeFactor():Number{
return (_changeFactor);
}
public static function activate(_arg1:Array):Boolean{
var _local2:int;
var _local3:Object;
_local2 = (_arg1.length - 1);
while (_local2 > -1) {
_local3 = new (_arg1[_local2]);
TweenLite.plugins[_local3.propName] = _arg1[_local2];
_local2--;
};
return (true);
}
}
}//package gs.plugins
Section 62
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class VisiblePlugin extends TweenPlugin {
protected var _target:Object;
protected var _visible:Boolean;
protected var _tween:TweenLite;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(_arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 63
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _target:Object;
protected var _st:SoundTransform;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
}
}//package gs.plugins
Section 64
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var change:Number;
public var start:Number;
public var index:uint;
public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
}//package gs.utils.tween
Section 65
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var start:Number;
public var name:String;
public var change:Number;
public var target:Object;
public var property:String;
public var isPlugin:Boolean;
public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
}
}
}//package gs.utils.tween
Section 66
//OverwriteManager (gs.OverwriteManager)
package gs {
import gs.utils.tween.*;
import flash.utils.*;
import flash.errors.*;
public class OverwriteManager {
public static const ALL:int = 1;
public static const NONE:int = 0;
public static const AUTO:int = 2;
public static const CONCURRENT:int = 3;
public static const version:Number = 3.12;
public static var mode:int;
public static var enabled:Boolean;
public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array):void{
var _local4:int;
var _local5:String;
var _local6:TweenInfo;
_local4 = (_arg3.length - 1);
while (_local4 > -1) {
_local6 = _arg3[_local4];
if ((_local6.name in _arg1)){
_arg3.splice(_local4, 1);
} else {
if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){
_local6.target.killProps(_arg1);
if (_local6.target.overwriteProps.length == 0){
_arg3.splice(_local4, 1);
};
};
};
_local4--;
};
for (_local5 in _arg1) {
delete _arg2[_local5];
};
}
public static function manageOverwrites(_arg1:TweenLite, _arg2:Array):void{
var _local7:int;
var _local8:TweenLite;
var _local10:Array;
var _local11:Object;
var _local12:int;
var _local13:TweenInfo;
var _local14:Array;
var _local3:Object = _arg1.vars;
var _local4:int = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite);
if ((((_local4 < 2)) || ((_arg2 == null)))){
return;
};
var _local5:Number = _arg1.startTime;
var _local6:Array = [];
var _local9 = -1;
_local7 = (_arg2.length - 1);
while (_local7 > -1) {
_local8 = _arg2[_local7];
if (_local8 == _arg1){
_local9 = _local7;
} else {
if ((((((_local7 < _local9)) && ((_local8.startTime <= _local5)))) && (((_local8.startTime + ((_local8.duration * 1000) / _local8.combinedTimeScale)) > _local5)))){
_local6[_local6.length] = _local8;
};
};
_local7--;
};
if ((((_local6.length == 0)) || ((_arg1.tweens.length == 0)))){
return;
};
if (_local4 == AUTO){
_local10 = _arg1.tweens;
_local11 = {};
_local7 = (_local10.length - 1);
while (_local7 > -1) {
_local13 = _local10[_local7];
if (_local13.isPlugin){
if (_local13.name == "_MULTIPLE_"){
_local14 = _local13.target.overwriteProps;
_local12 = (_local14.length - 1);
while (_local12 > -1) {
_local11[_local14[_local12]] = true;
_local12--;
};
} else {
_local11[_local13.name] = true;
};
_local11[_local13.target.propName] = true;
} else {
_local11[_local13.name] = true;
};
_local7--;
};
_local7 = (_local6.length - 1);
while (_local7 > -1) {
killVars(_local11, _local6[_local7].exposedVars, _local6[_local7].tweens);
_local7--;
};
} else {
_local7 = (_local6.length - 1);
while (_local7 > -1) {
_local6[_local7].enabled = false;
_local7--;
};
};
}
public static function init(_arg1:int=2):int{
if (TweenLite.version < 10.09){
trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.");
};
TweenLite.overwriteManager = OverwriteManager;
mode = _arg1;
enabled = true;
return (mode);
}
}
}//package gs
Section 67
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import gs.utils.tween.*;
import gs.plugins.*;
import flash.utils.*;
public class TweenLite {
public var started:Boolean;
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _hasPlugins:Boolean;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
public var gc:Boolean;
public var tweens:Array;
public var vars:Object;
public var ease:Function;
public var exposedVars:Object;
public var initTime:Number;
public var combinedTimeScale:Number;
public static const version:Number = 10.092;
private static var _timer:Timer = new Timer(2000);
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public static var overwriteManager:Object;
private static var _tlInitted:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
if (_arg1 == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if (((!((_arg1 in masterList))) || ((_local4 == 1)))){
masterList[_arg1] = [this];
} else {
masterList[_arg1].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
_local2[_local2.length] = this;
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function render(_arg1:uint):void{
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
var _local2:Number = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function initTweenVals():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:TweenInfo;
if (((!((this.exposedVars.timeScale == undefined))) && (this.target.hasOwnProperty("timeScale")))){
this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false);
};
for (_local1 in this.exposedVars) {
if ((_local1 in _reservedProps)){
} else {
if ((_local1 in plugins)){
_local3 = new (plugins[_local1]);
if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
};
};
};
if (this.vars.runBackwards == true){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local4 = this.tweens[_local2];
this.tweens[_local2].start = (_local4.start + _local4.change);
_local4.change = -(_local4.change);
_local2--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.exposedVars, this.tweens);
};
}
public function complete(_arg1:Boolean=false):void{
var _local2:int;
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){
this.tweens[_local2].target.onComplete();
};
_local2--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function updateAll(_arg1:Event=null):void{
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
var _local2:uint = (currentTime = getTimer());
var _local3:Dictionary = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
_local5--;
};
};
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && ((_arg1 in masterList)))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local3:Object;
var _local2:Dictionary = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 68
//TweenMax (gs.TweenMax)
package gs {
import flash.events.*;
import gs.utils.tween.*;
import gs.plugins.*;
import gs.events.*;
import flash.utils.*;
public class TweenMax extends TweenLite implements IEventDispatcher {
protected var _dispatcher:EventDispatcher;
protected var _callbacks:Object;
public var pauseTime:Number;
protected var _repeatCount:Number;
protected var _timeScale:Number;
public static const version:Number = 10.12;
public static var removeTween:Function = TweenLite.removeTween;
private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init();
;
protected static var _pausedTweens:Dictionary = new Dictionary(false);
protected static var _globalTimeScale:Number = 1;
public static var killTweensOf:Function = TweenLite.killTweensOf;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _activatedPlugins:Boolean = TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin, HexColorsPlugin, BlurFilterPlugin, ColorMatrixFilterPlugin, BevelFilterPlugin, DropShadowFilterPlugin, GlowFilterPlugin, RoundPropsPlugin, BezierPlugin, BezierThroughPlugin, ShortRotationPlugin]);
public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){
super(_arg1, _arg2, _arg3);
if (TweenLite.version < 10.092){
trace("TweenMax error! Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com.");
};
if (((!((this.combinedTimeScale == 1))) && ((this.target is TweenMax)))){
_timeScale = 1;
this.combinedTimeScale = _globalTimeScale;
} else {
_timeScale = this.combinedTimeScale;
this.combinedTimeScale = (this.combinedTimeScale * _globalTimeScale);
};
if (((!((this.combinedTimeScale == 1))) && (!((this.delay == 0))))){
this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale)));
};
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
initDispatcher();
if ((((_arg2 == 0)) && ((this.delay == 0)))){
onUpdateDispatcher();
onCompleteDispatcher();
};
};
_repeatCount = 0;
if (((!(isNaN(this.vars.yoyo))) || (!(isNaN(this.vars.loop))))){
this.vars.persist = true;
};
if ((((this.delay == 0)) && (!((this.vars.startAt == null))))){
this.vars.startAt.overwrite = 0;
new TweenMax(this.target, 0, this.vars.startAt);
};
}
public function dispatchEvent(_arg1:Event):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.dispatchEvent(_arg1));
}
public function get reversed():Boolean{
return ((this.ease == reverseEase));
}
public function set reversed(_arg1:Boolean):void{
if (this.reversed != _arg1){
reverse();
};
}
public function get progress():Number{
var _local1:Number = (isNaN(this.pauseTime)) ? currentTime : this.pauseTime;
var _local2:Number = (((((_local1 - this.initTime) * 0.001) - (this.delay / this.combinedTimeScale)) / this.duration) * this.combinedTimeScale);
if (_local2 > 1){
return (1);
};
if (_local2 < 0){
return (0);
};
return (_local2);
}
override public function set enabled(_arg1:Boolean):void{
if (!_arg1){
_pausedTweens[this] = null;
delete _pausedTweens[this];
};
super.enabled = _arg1;
if (_arg1){
this.combinedTimeScale = (_timeScale * _globalTimeScale);
};
}
protected function onStartDispatcher(... _args):void{
if (_callbacks.onStart != null){
_callbacks.onStart.apply(null, this.vars.onStartParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START));
}
public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{
var _local5:int;
var _local6:TweenInfo;
var _local7:Object;
var _local8:Object;
var _local9:Array;
var _local10:Boolean;
var _local11:Array;
var _local12:Object;
var _local4:Number = this.progress;
if (this.initted){
if (!_arg3){
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local6 = this.tweens[_local5];
if (_local6.name == _arg1){
_local6.target[_local6.property] = _local6.start;
};
_local5--;
};
};
_local7 = this.vars;
_local8 = this.exposedVars;
_local9 = this.tweens;
_local10 = _hasPlugins;
this.tweens = [];
this.vars = (this.exposedVars = {});
this.vars[_arg1] = _arg2;
initTweenVals();
if (((!((this.ease == reverseEase))) && ((_local7.ease is Function)))){
this.ease = _local7.ease;
};
if (((_arg3) && (!((_local4 == 0))))){
adjustStartValues();
};
_local11 = this.tweens;
this.vars = _local7;
this.exposedVars = _local8;
this.tweens = _local9;
_local12 = {};
_local12[_arg1] = true;
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local6 = this.tweens[_local5];
if (_local6.name == _arg1){
this.tweens.splice(_local5, 1);
} else {
if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){
_local6.target.killProps(_local12);
if (_local6.target.overwriteProps.length == 0){
this.tweens.splice(_local5, 1);
};
};
};
_local5--;
};
this.tweens = this.tweens.concat(_local11);
_hasPlugins = Boolean(((_local10) || (_hasPlugins)));
};
this.vars[_arg1] = (this.exposedVars[_arg1] = _arg2);
}
override public function initTweenVals():void{
var _local1:int;
var _local2:int;
var _local3:String;
var _local4:String;
var _local5:Array;
var _local6:Object;
var _local7:TweenInfo;
if (((!((this.vars.startAt == null))) && (!((this.delay == 0))))){
this.vars.startAt.overwrite = 0;
new TweenMax(this.target, 0, this.vars.startAt);
};
super.initTweenVals();
if ((((this.exposedVars.roundProps is Array)) && (!((TweenLite.plugins.roundProps == null))))){
_local5 = this.exposedVars.roundProps;
_local1 = (_local5.length - 1);
while (_local1 > -1) {
_local3 = _local5[_local1];
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local7 = this.tweens[_local2];
if (_local7.name == _local3){
if (_local7.isPlugin){
_local7.target.round = true;
} else {
if (_local6 == null){
_local6 = new TweenLite.plugins.roundProps();
_local6.add(_local7.target, _local3, _local7.start, _local7.change);
_hasPlugins = true;
this.tweens[_local2] = new TweenInfo(_local6, "changeFactor", 0, 1, _local3, true);
} else {
_local6.add(_local7.target, _local3, _local7.start, _local7.change);
this.tweens.splice(_local2, 1);
};
};
} else {
if (((((_local7.isPlugin) && ((_local7.name == "_MULTIPLE_")))) && (!(_local7.target.round)))){
_local4 = ((" " + _local7.target.overwriteProps.join(" ")) + " ");
if (_local4.indexOf(((" " + _local3) + " ")) != -1){
_local7.target.round = true;
};
};
};
_local2--;
};
_local1--;
};
};
}
public function restart(_arg1:Boolean=false):void{
if (_arg1){
this.initTime = currentTime;
this.startTime = (currentTime + (this.delay * (1000 / this.combinedTimeScale)));
} else {
this.startTime = currentTime;
this.initTime = (currentTime - (this.delay * (1000 / this.combinedTimeScale)));
};
_repeatCount = 0;
if (this.target != this.vars.onComplete){
render(this.startTime);
};
this.pauseTime = NaN;
_pausedTweens[this] = null;
delete _pausedTweens[this];
this.enabled = true;
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (_dispatcher != null){
_dispatcher.removeEventListener(_arg1, _arg2, _arg3);
};
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (_dispatcher == null){
initDispatcher();
};
if ((((_arg1 == TweenEvent.UPDATE)) && (!((this.vars.onUpdate == onUpdateDispatcher))))){
this.vars.onUpdate = onUpdateDispatcher;
_hasUpdate = true;
};
_dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
protected function adjustStartValues():void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:TweenInfo;
var _local6:int;
var _local1:Number = this.progress;
if (_local1 != 0){
_local2 = this.ease(_local1, 0, 1, 1);
_local3 = (1 / (1 - _local2));
_local6 = (this.tweens.length - 1);
while (_local6 > -1) {
_local5 = this.tweens[_local6];
_local4 = (_local5.start + _local5.change);
if (_local5.isPlugin){
_local5.change = ((_local4 - _local2) * _local3);
} else {
_local5.change = ((_local4 - _local5.target[_local5.property]) * _local3);
};
_local5.start = (_local4 - _local5.change);
_local6--;
};
};
}
override public function render(_arg1:uint):void{
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
var _local2:Number = (((_arg1 - this.startTime) * 0.001) * this.combinedTimeScale);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
protected function initDispatcher():void{
var _local1:Object;
var _local2:String;
if (_dispatcher == null){
_dispatcher = new EventDispatcher(this);
_callbacks = {onStart:this.vars.onStart, onUpdate:this.vars.onUpdate, onComplete:this.vars.onComplete};
if (this.vars.isTV == true){
this.vars = this.vars.clone();
} else {
_local1 = {};
for (_local2 in this.vars) {
_local1[_local2] = this.vars[_local2];
};
this.vars = _local1;
};
this.vars.onStart = onStartDispatcher;
this.vars.onComplete = onCompleteDispatcher;
if ((this.vars.onStartListener is Function)){
_dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true);
};
if ((this.vars.onUpdateListener is Function)){
_dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true);
this.vars.onUpdate = onUpdateDispatcher;
_hasUpdate = true;
};
if ((this.vars.onCompleteListener is Function)){
_dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true);
};
};
}
public function willTrigger(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.willTrigger(_arg1));
}
public function get repeatCount():Number{
return (_repeatCount);
}
public function reverse(_arg1:Boolean=true, _arg2:Boolean=true):void{
this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease;
var _local3:Number = this.progress;
if (((_arg1) && ((_local3 > 0)))){
this.startTime = (currentTime - ((((1 - _local3) * this.duration) * 1000) / this.combinedTimeScale));
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
};
if (_arg2 != false){
if (_local3 < 1){
resume();
} else {
restart();
};
};
}
protected function onUpdateDispatcher(... _args):void{
if (_callbacks.onUpdate != null){
_callbacks.onUpdate.apply(null, this.vars.onUpdateParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE));
}
public function set paused(_arg1:Boolean):void{
if (_arg1){
pause();
} else {
resume();
};
}
public function resume():void{
this.enabled = true;
if (!isNaN(this.pauseTime)){
this.initTime = (this.initTime + (currentTime - this.pauseTime));
this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale)));
this.pauseTime = NaN;
if (((!(this.started)) && ((currentTime >= this.startTime)))){
activate();
} else {
this.active = this.started;
};
_pausedTweens[this] = null;
delete _pausedTweens[this];
};
}
public function get paused():Boolean{
return (!(isNaN(this.pauseTime)));
}
public function set repeatCount(_arg1:Number):void{
_repeatCount = _arg1;
}
public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.ease((_arg4 - _arg1), _arg2, _arg3, _arg4));
}
public function killProperties(_arg1:Array):void{
var _local3:int;
var _local2:Object = {};
_local3 = (_arg1.length - 1);
while (_local3 > -1) {
_local2[_arg1[_local3]] = true;
_local3--;
};
killVars(_local2);
}
public function set progress(_arg1:Number):void{
this.startTime = (currentTime - ((this.duration * _arg1) * 1000));
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
if (!this.started){
activate();
};
render(currentTime);
if (!isNaN(this.pauseTime)){
this.pauseTime = currentTime;
this.startTime = 999999999999999;
this.active = false;
};
}
public function hasEventListener(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.hasEventListener(_arg1));
}
public function pause():void{
if (isNaN(this.pauseTime)){
this.pauseTime = currentTime;
this.startTime = 999999999999999;
this.enabled = false;
_pausedTweens[this] = this;
};
}
override public function complete(_arg1:Boolean=false):void{
if (((((!(isNaN(this.vars.yoyo))) && ((((_repeatCount < this.vars.yoyo)) || ((this.vars.yoyo == 0)))))) || (((!(isNaN(this.vars.loop))) && ((((_repeatCount < this.vars.loop)) || ((this.vars.loop == 0)))))))){
_repeatCount++;
if (!isNaN(this.vars.yoyo)){
this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease;
};
this.startTime = (_arg1) ? (this.startTime + (this.duration * (1000 / this.combinedTimeScale))) : currentTime;
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
} else {
if (this.vars.persist == true){
pause();
};
};
super.complete(_arg1);
}
public function set timeScale(_arg1:Number):void{
if (_arg1 < 1E-5){
_arg1 = (_timeScale = 1E-5);
} else {
_timeScale = _arg1;
_arg1 = (_arg1 * _globalTimeScale);
};
this.initTime = ((currentTime - ((((currentTime - this.initTime) - (this.delay * (1000 / this.combinedTimeScale))) * this.combinedTimeScale) * (1 / _arg1))) - (this.delay * (1000 / _arg1)));
if (this.startTime != 999999999999999){
this.startTime = (this.initTime + (this.delay * (1000 / _arg1)));
};
this.combinedTimeScale = _arg1;
}
public function invalidate(_arg1:Boolean=true):void{
var _local2:Number;
if (this.initted){
_local2 = this.progress;
if (((!(_arg1)) && (!((_local2 == 0))))){
this.progress = 0;
};
this.tweens = [];
_hasPlugins = false;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars;
initTweenVals();
_timeScale = ((this.vars.timeScale) || (1));
this.combinedTimeScale = (_timeScale * _globalTimeScale);
this.delay = ((this.vars.delay) || (0));
if (isNaN(this.pauseTime)){
this.startTime = (this.initTime + ((this.delay * 1000) / this.combinedTimeScale));
};
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
if (_dispatcher != null){
this.vars.onStart = _callbacks.onStart;
this.vars.onUpdate = _callbacks.onUpdate;
this.vars.onComplete = _callbacks.onComplete;
_dispatcher = null;
};
initDispatcher();
};
if (_local2 != 0){
if (_arg1){
adjustStartValues();
} else {
this.progress = _local2;
};
};
};
}
public function get timeScale():Number{
return (_timeScale);
}
protected function onCompleteDispatcher(... _args):void{
if (_callbacks.onComplete != null){
_callbacks.onComplete.apply(null, this.vars.onCompleteParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE));
}
public static function set globalTimeScale(_arg1:Number):void{
setGlobalTimeScale(_arg1);
}
public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(true, _arg1, _arg2);
}
public static function killAllDelayedCalls(_arg1:Boolean=false):void{
killAll(_arg1, false, true);
}
public static function setGlobalTimeScale(_arg1:Number):void{
var _local3:int;
var _local4:Array;
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
var _local2:Dictionary = masterList;
_globalTimeScale = _arg1;
for each (_local4 in _local2) {
_local3 = (_local4.length - 1);
while (_local3 > -1) {
if ((_local4[_local3] is TweenMax)){
_local4[_local3].timeScale = (_local4[_local3].timeScale * 1);
};
_local3--;
};
};
}
public static function get globalTimeScale():Number{
return (_globalTimeScale);
}
public static function getTweensOf(_arg1:Object):Array{
var _local4:TweenLite;
var _local5:int;
var _local2:Array = masterList[_arg1];
var _local3:Array = [];
if (_local2 != null){
_local5 = (_local2.length - 1);
while (_local5 > -1) {
if (!_local2[_local5].gc){
_local3[_local3.length] = _local2[_local5];
};
_local5--;
};
};
for each (_local4 in _pausedTweens) {
if (_local4.target == _arg1){
_local3[_local3.length] = _local4;
};
};
return (_local3);
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenMax{
return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, persist:_arg4, overwrite:0}));
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:Array = getTweensOf(_arg1);
var _local3:int = (_local2.length - 1);
while (_local3 > -1) {
if (((((_local2[_local3].active) || ((_local2[_local3].startTime == currentTime)))) && (!(_local2[_local3].gc)))){
return (true);
};
_local3--;
};
return (false);
}
public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{
var _local5:Boolean;
var _local4:Array = getAllTweens();
var _local6:int = (_local4.length - 1);
while (_local6 > -1) {
_local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete);
if ((((_local4[_local6] is TweenMax)) && ((((_local5 == _arg3)) || (!((_local5 == _arg2))))))){
_local4[_local6].paused = _arg1;
};
_local6--;
};
}
public static function killAllTweens(_arg1:Boolean=false):void{
killAll(_arg1, true, false);
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
_arg3.runBackwards = true;
return (new TweenMax(_arg1, _arg2, _arg3));
}
public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{
var _local5:Boolean;
var _local6:int;
var _local4:Array = getAllTweens();
_local6 = (_local4.length - 1);
while (_local6 > -1) {
_local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete);
if ((((_local5 == _arg3)) || (!((_local5 == _arg2))))){
if (_arg1){
_local4[_local6].complete(false);
_local4[_local6].clear();
} else {
TweenLite.removeTween(_local4[_local6], true);
};
};
_local6--;
};
}
public static function getAllTweens():Array{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
var _local1:Dictionary = masterList;
var _local2:Array = [];
for each (_local3 in _local1) {
_local4 = (_local3.length - 1);
while (_local4 > -1) {
if (!_local3[_local4].gc){
_local2[_local2.length] = _local3[_local4];
};
_local4--;
};
};
for each (_local5 in _pausedTweens) {
_local2[_local2.length] = _local5;
};
return (_local2);
}
public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(false, _arg1, _arg2);
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
return (new TweenMax(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 69
//HitTest (HitTest)
package {
import flash.display.*;
import flash.geom.*;
public class HitTest {
protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{
var _local4:Point;
var _local5:Matrix;
var _local6:Matrix = _arg1.root.transform.concatenatedMatrix;
_local4 = _arg1.localToGlobal(new Point());
_local5 = _arg1.transform.concatenatedMatrix;
_local5.tx = (_local4.x - _arg2.x);
_local5.ty = (_local4.y - _arg2.y);
_local5.a = (_local5.a / _local6.a);
_local5.d = (_local5.d / _local6.d);
if (_arg3 != 1){
_local5.scale(_arg3, _arg3);
};
return (_local5);
}
public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{
return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0)));
}
public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{
if (_arg3 <= 0){
throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001));
};
if (!_arg1.hitTestObject(_arg2)){
return (new Rectangle());
};
var _local4:Rectangle = intersectionRectangle(_arg1, _arg2);
if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){
return (new Rectangle());
};
var _local5:BitmapData = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0);
_local5.draw(_arg1, HitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF));
_local5.draw(_arg2, HitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE);
var _local6:Rectangle = _local5.getColorBoundsRect(4294967295, 4278255615);
_local5.dispose();
if (_arg3 != 1){
_local6.x = (_local6.x / _arg3);
_local6.y = (_local6.y / _arg3);
_local6.width = (_local6.width / _arg3);
_local6.height = (_local6.height / _arg3);
};
_local6.x = (_local6.x + _local4.x);
_local6.y = (_local6.y + _local4.y);
return (_local6);
}
public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{
if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){
return (new Rectangle());
};
var _local3:Rectangle = _arg1.getBounds(_arg1.root);
var _local4:Rectangle = _arg2.getBounds(_arg2.root);
var _local5:Rectangle = new Rectangle();
_local5.x = Math.max(_local3.x, _local4.x);
_local5.y = Math.max(_local3.y, _local4.y);
_local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x));
_local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y));
return (_local5);
}
}
}//package
Section 70
//LearningCurve (LearningCurve)
package {
import flash.media.*;
public dynamic class LearningCurve extends Sound {
}
}//package
Section 71
//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{
if (Security.sandboxType == "localWithFile"){
return (null);
};
var _local3:MochiBot = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
var _local4 = "http://core.mochibot.com/my/core.swf";
var _local5:URLVariables = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
var _local6:String = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
var _local7:URLRequest = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
var _local8:Loader = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 72
//music1 (music1)
package {
import flash.media.*;
public dynamic class music1 extends Sound {
}
}//package