Section 1
//clock_224 (_fla.clock_224)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class clock_224 extends MovieClip {
public function clock_224(){
addFrameScript(0, frame1, 100, frame101);
}
function frame1(){
stop();
}
function frame101(){
stop();
MovieClip(root).clock_over();
}
}
}//package _fla
Section 2
//fackbook_mc_103 (_fla.fackbook_mc_103)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class fackbook_mc_103 extends MovieClip {
public var logo_btn:SimpleButton;
public function fackbook_mc_103(){
addFrameScript(0, frame1);
}
function frame1(){
logo_btn.addEventListener(MouseEvent.CLICK, linkHandler);
}
public function linkHandler(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.facebook.com/Hotgamesforgirlsfans"), "_blank");
}
}
}//package _fla
Section 3
//ggg_366 (_fla.ggg_366)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ggg_366 extends MovieClip {
public var girl_mc:MovieClip;
public var main:MovieClip;
public function ggg_366(){
addFrameScript(0, frame1);
}
function frame1(){
main = MovieClip(root);
main.init_player(girl_mc, main.gameData, "o_");
}
}
}//package _fla
Section 4
//hotgamesforgirls_1 (_fla.hotgamesforgirls_1)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
public dynamic class hotgamesforgirls_1 extends MovieClip {
public var loading:MovieClip;
public var percent_txt:TextField;
public var logo_btn:SimpleButton;
public var play_btn:SimpleButton;
public function hotgamesforgirls_1(){
addFrameScript(0, frame1, 1, frame2);
}
public function enterFrameHandler(_arg1:Event):void{
var _local2:Number;
_local2 = int(((root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal) * 100));
if (loading.currentFrame < _local2){
loading.play();
} else {
loading.stop();
};
if (loading.currentFrame == loading.totalFrames){
this.removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
goNext();
};
percent_txt.text = (loading.currentFrame.toString() + "%");
}
function frame1(){
stop();
this.addEventListener(Event.ENTER_FRAME, enterFrameHandler);
logo_btn.addEventListener(MouseEvent.CLICK, linkHandler);
}
function frame2(){
stop();
play_btn.addEventListener(MouseEvent.CLICK, playHandler);
}
public function goNext():void{
this.play();
}
public function playHandler(_arg1:MouseEvent):void{
play_btn.removeEventListener(MouseEvent.CLICK, playHandler);
MovieClip(root).play();
}
public function linkHandler(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.hotgamesforgirls.com"), "_blank");
}
}
}//package _fla
Section 5
//hotgamesforgirls_4 (_fla.hotgamesforgirls_4)
package _fla {
import flash.display.*;
public dynamic class hotgamesforgirls_4 extends MovieClip {
public function hotgamesforgirls_4(){
addFrameScript(105, frame106);
}
function frame106(){
stop();
}
}
}//package _fla
Section 6
//hotgamesforgirls_5 (_fla.hotgamesforgirls_5)
package _fla {
import flash.display.*;
public dynamic class hotgamesforgirls_5 extends MovieClip {
public function hotgamesforgirls_5(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package _fla
Section 7
//hotgamesforgirls_mc_101 (_fla.hotgamesforgirls_mc_101)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class hotgamesforgirls_mc_101 extends MovieClip {
public var logo_btn:SimpleButton;
public function hotgamesforgirls_mc_101(){
addFrameScript(0, frame1);
}
function frame1(){
logo_btn.addEventListener(MouseEvent.CLICK, linkHandler);
}
public function linkHandler(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.hotgamesforgirls.com/play-posy-teens-go-on-a-picnic.html"), "_blank");
}
}
}//package _fla
Section 8
//MainTimeline (_fla.MainTimeline)
package _fla {
import flash.events.*;
import caurina.transitions.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var replay_btn:SimpleButton;
public var f_mc:MovieClip;
public var mktools_mc:MovieClip;
public var show_btn:SimpleButton;
public var girl_mc:MovieClip;
public var mktId:int;
public var nailArr:Array;
public var mask_sp:Sprite;
public var oilId:int;
public var lastPoint:Point;
public var gameData:Array;
public var step:int;
public var play_btn:SimpleButton;
public var mixtools_mc:MovieClip;
public var cut_btn:SimpleButton;
public var littleStep:int;
public var cutId:int;
public var moreGameURI:String;
public var next_btn:SimpleButton;
public var cursor_mc:MovieClip;
public var sdFilter:BitmapFilter;
public var dh_mc:MovieClip;
public var TPL_DATA:Array;
public var foot_mc:MovieClip;
public var barList:Array;
public var hit_count:int;
public var glowFilter:BitmapFilter;
public var clock_mc:MovieClip;
public var m_cursor:MovieClip;
public var reset_btn:SimpleButton;
public var dataCount:int;
public var mask_tpl:Class;
public var hit_total:int;
public var cursorType:String;
public var dataTotal:int;
public var state2:Object;
public var hit_mc:MovieClip;
public var cs_mc:MovieClip;
public var lang:String;
public var normalState:Object;
public var nails_mc:MovieClip;
public var littleTotal:int;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
public function init_dress_foot():void{
$(foot_mc, foot_mc, function (_arg1:MovieClip, _arg2:int):void{
var _local3:MovieClip;
_arg1.mouseChildren = false;
_arg1.addEventListener(MouseEvent.CLICK, cut_handler);
_local3 = this[("n_" + _arg2)];
_local3.gotoAndStop(1);
_local3.alpha = 0;
_local3.visible = false;
_local3.mouseChildren = false;
_local3.addEventListener(MouseEvent.CLICK, nail_handler);
}, "c_");
$(null, nails_mc, function (_arg1:MovieClip, _arg2:int):void{
_arg1.mouseChildren = false;
_arg1.buttonMode = true;
_arg1._mc.gotoAndStop(_arg2);
_arg1.addEventListener(MouseEvent.ROLL_OUT, oil_out);
_arg1.addEventListener(MouseEvent.ROLL_OVER, oil_over);
_arg1.addEventListener(MouseEvent.CLICK, oil_clicked);
}, "b_");
oilId = 0;
cs_mc.gotoAndStop(1);
nails_mc.xx = nails_mc.x;
nails_mc.x = 900;
cut_btn.addEventListener(MouseEvent.CLICK, cut2_handler);
reset_btn.visible = false;
show_btn.visible = false;
cutId = 0;
nailArr = [];
reset_btn.addEventListener(MouseEvent.CLICK, reset_foot);
show_btn.addEventListener(MouseEvent.CLICK, show_handler);
}
public function getBitmapFilter(_arg1:Object):BitmapFilter{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Boolean;
var _local8:Boolean;
var _local9:Number;
_local2 = _arg1.color;
_local3 = 1;
_local4 = _arg1.blur;
_local5 = _arg1.blur;
_local6 = 2;
_local7 = false;
_local8 = false;
_local9 = BitmapFilterQuality.HIGH;
return (new GlowFilter(_local2, _local3, _local4, _local5, _local6, _local9, _local7, _local8));
}
public function move_yanshuang(_arg1:MouseEvent):void{
}
public function show_handler(_arg1:MouseEvent):void{
clear_foot();
this.play();
}
public function nail_handler(_arg1:MouseEvent):void{
var _local2:MovieClip;
var _local3:int;
_local2 = (_arg1.currentTarget as MovieClip);
_local3 = get_id(_local2.name);
if (cursorType == "oil"){
_local2.gotoAndStop(oilId);
_local2.visible = true;
_local2.alpha = 1;
nailArr[_local3] = oilId;
};
}
public function mixtools_handler(_arg1:MouseEvent):void{
var _mc:MovieClip;
var id:int;
var e = _arg1;
_mc = (e.currentTarget as MovieClip);
id = get_id(_mc.name);
focus_tool(_mc, false);
mixtools_mc.hint_mc.visible = false;
switch (id){
case 1:
girl_mc.mix_mc.m_heitou.visible = true;
m_cursor.gotoAndStop("heitougao");
setCursor("heitou", m_cursor);
girl_mc.mix_mc.m_heitou.gotoAndStop(2);
girl_mc.mix_mc.m_heitou.addEventListener(MouseEvent.MOUSE_DOWN, quheitou);
break;
case 2:
case 4:
case 6:
Tweener.addTween(girl_mc, normalState);
focus_tool(mixtools_mc.t_2, false);
focus_tool(mixtools_mc.t_4, false);
focus_tool(mixtools_mc.t_6, false);
m_cursor.gotoAndStop("mianmo");
setCursor("mianmo", m_cursor);
girl_mc.mouseChildren = false;
girl_mc.mix_mc.mianmo_mc._mc.gotoAndStop((id / 2));
girl_mc.mix_mc.mianmo_mc.mid = (id / 2);
mask_sp = (girl_mc.mix_mc.mianmo_mc.mask as Sprite);
mask_tpl = mianmo_mask;
hit_mc = girl_mc.mix_mc.mianmo_mc.hit_mc;
hit_count = 0;
hit_total = hit_mc.numChildren;
$(null, hit_mc, function (_arg1:MovieClip, _arg2:int):void{
_arg1.hited = false;
}, "h_");
girl_mc.addEventListener(MouseEvent.MOUSE_DOWN, before_mask);
break;
case 3:
m_cursor.gotoAndStop("xiurongbi");
setCursor("xiurongbi", m_cursor);
dataTotal = girl_mc.mix_mc.queban_mc.numChildren;
dataCount = 0;
$(null, girl_mc.mix_mc.queban_mc, init_meimao, "s_");
break;
case 5:
m_cursor.gotoAndStop("fencibang");
setCursor("fencibang", m_cursor);
dataTotal = girl_mc.mix_mc.doudou_mc.numChildren;
dataCount = 0;
$(null, girl_mc.mix_mc.doudou_mc, init_meimao, "s_");
break;
case 7:
m_cursor.gotoAndStop("yanyingshuang");
setCursor("yanyingshuang", m_cursor);
girl_mc.sd_1.gotoAndStop(2);
girl_mc.sd_2.gotoAndStop(2);
dataCount = 0;
dataTotal = 2;
$(null, girl_mc, function (_arg1:MovieClip, _arg2:int):void{
_arg1.mouseChildren = false;
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, quyanshuang);
}, "sd_");
break;
case 8:
m_cursor.gotoAndStop(1);
setCursor("paopao", m_cursor);
girl_mc.mouseChildren = false;
mask_sp = (girl_mc.mix_mc.paopao_mc.mask as Sprite);
mask_tpl = pao_mask;
hit_mc = girl_mc.mix_mc.paopao_mc.hit_mc;
hit_count = 0;
hit_total = hit_mc.numChildren;
$(null, hit_mc, function (_arg1:MovieClip, _arg2:int):void{
_arg1.hited = false;
}, "h_");
girl_mc.addEventListener(MouseEvent.MOUSE_DOWN, before_mask);
break;
case 9:
if (step == 2){
girl_mc.mix_mc.paopao_mc.gotoAndPlay(2);
} else {
if (step == 5){
girl_mc.mix_mc.m_heitou.gotoAndPlay(35);
} else {
if (step == 11){
girl_mc.mix_mc.mianmo_mc.gotoAndPlay(2);
};
};
};
break;
case 10:
m_cursor.gotoAndStop("meimaojia");
Tweener.addTween(girl_mc, state2);
dataTotal = girl_mc.mix_mc.meimao_mc.numChildren;
dataCount = 0;
setCursor("jia", m_cursor);
$(null, girl_mc.mix_mc.meimao_mc, init_meimao, "s_");
girl_mc.mix_mc.mzhi_1.visible = true;
girl_mc.mix_mc.mzhi_2.visible = true;
break;
};
}
public function $(_arg1, _arg2:MovieClip, _arg3:Function, _arg4:String, _arg5:String="", _arg6:int=1, _arg7:int=-1):void{
var _local8:InteractiveObject;
var _local9:int;
if (_arg7 != -1){
_local9 = _arg6;
while (_local9 <= _arg7) {
_local8 = _arg2[((_arg4 + _local9) + _arg5)];
_arg3.apply(_arg1, [_local8, _local9]);
_local9++;
};
} else {
_local9 = _arg6;
while ((_local8 = _arg2[((_arg4 + _local9) + _arg5)])) {
_arg3.apply(_arg1, [_local8, _local9]);
_local9++;
};
};
}
public function eye_over(_arg1:MovieClip):void{
dataCount++;
_arg1.removeEventListener(MouseEvent.MOUSE_DOWN, quyanshuang);
if (dataCount >= dataTotal){
step++;
init_step(step);
};
}
public function cut2_handler(_arg1:MouseEvent):void{
cut_btn.visible = false;
cs_mc.gotoAndStop(1);
setCursor("cut", cs_mc);
}
public function stop_move_heitou(_arg1:MouseEvent=null):void{
this.removeEventListener(Event.ENTER_FRAME, motion_heitou);
stage.removeEventListener(MouseEvent.MOUSE_UP, stop_move_heitou);
if (girl_mc.mix_mc.m_heitou.currentFrame == 34){
step++;
init_step(step);
girl_mc.mix_mc.m_heitou.removeEventListener(MouseEvent.MOUSE_DOWN, quheitou);
};
}
public function init_foot(_arg1:MovieClip, _arg2:String, _arg3:Array):void{
var f_mc = _arg1;
var prefix = _arg2;
var arr = _arg3;
$(f_mc, f_mc, function (_arg1:MovieClip, _arg2:int):void{
var _local3:int;
_local3 = arr[_arg2];
this[("c_" + _arg2)].visible = false;
if (_local3 > 0){
_arg1.gotoAndStop(_local3);
_arg1.alpha = 1;
} else {
_arg1.gotoAndStop(1);
_arg1.alpha = 0;
};
}, prefix);
}
public function setCursor(_arg1:String, _arg2:MovieClip=null):void{
switch (cursorType){
case "default":
break;
default:
cursor_mc.x = (cursor_mc.y = -500);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, cursorMove);
break;
};
cursorType = _arg1;
cursor_mc = _arg2;
switch (cursorType){
case "default":
break;
default:
cursor_mc.mouseChildren = false;
cursor_mc.mouseEnabled = false;
cursor_mc.x = stage.mouseX;
cursor_mc.y = stage.mouseY;
stage.addEventListener(MouseEvent.MOUSE_MOVE, cursorMove);
break;
};
}
public function get_shadow_filter():BitmapFilter{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Boolean;
var _local9:Boolean;
var _local10:Number;
_local1 = 0;
_local2 = 45;
_local3 = 0.8;
_local4 = 5;
_local5 = 5;
_local6 = 5;
_local7 = 1;
_local8 = false;
_local9 = false;
_local10 = BitmapFilterQuality.HIGH;
return (new DropShadowFilter(_local6, _local2, _local1, _local3, _local4, _local5, _local7, _local10, _local8, _local9));
}
public function cursorMove(_arg1:MouseEvent):void{
cursor_mc.x = stage.mouseX;
cursor_mc.y = stage.mouseY;
}
public function more_handler(_arg1:MouseEvent=null):void{
navigateToURL(new URLRequest(moreGameURI), "_blank");
}
public function clock_over():void{
step++;
clock_mc.visible = false;
init_step(step);
}
function frame3(){
stop();
normalState = {x:262, y:287, scaleX:1, scaleY:1, time:0.3};
state2 = {x:310, y:304, scaleX:1.45, scaleY:1.45, time:0.3};
init_mix();
}
public function create_mask(_arg1:MovieClip):Sprite{
var _local2:Sprite;
_local2 = new Sprite();
_local2.mouseChildren = false;
_local2.mouseEnabled = false;
_local2.x = _arg1.x;
_local2.y = _arg1.y;
_arg1.parent.addChildAt(_local2, (_arg1.parent.getChildIndex(_arg1) + 1));
_arg1.mask = _local2;
return (_local2);
}
function frame5(){
stop();
foot_mc = f_mc.foot_mc;
init_dress_foot();
}
public function sel_oil(_arg1:int):void{
if (_arg1 == oilId){
sel_oil(0);
return;
};
if (oilId){
nails_mc[("b_" + oilId)].hat_mc.visible = true;
};
oilId = _arg1;
if (oilId){
nails_mc[("b_" + oilId)].hat_mc.visible = false;
cs_mc.gotoAndStop(2);
setCursor("oil", cs_mc);
} else {
setCursor("default");
};
}
function frame4(){
stop();
init_mkup();
}
public function cut_handler(_arg1:MouseEvent):void{
var _local2:MovieClip;
var _local3:int;
_local2 = (_arg1.currentTarget as MovieClip);
_local3 = get_id(_local2.name);
if (cursorType == "cut"){
_local2.visible = false;
cutId++;
foot_mc[("n_" + _local3)].visible = true;
if (cutId >= 10){
setCursor("default");
Tweener.addTween(nails_mc, {time:0.5, x:nails_mc.xx, transition:"easeOutBack"});
show_btn.visible = true;
reset_btn.visible = true;
};
};
}
function frame6(){
stop();
init_show();
}
public function init_start():void{
play_btn.addEventListener(MouseEvent.CLICK, play_handler);
}
function frame2(){
stop();
init_start();
}
function frame1(){
lang = "en";
moreGameURI = "http://www.hotgamesforgirls.com/play-cooking-cuties-dress-up.html";
gameData = [];
lastPoint = new Point();
TPL_DATA = [undefined, 1, 7, undefined, undefined, undefined, 9, 1, 0, 0];
glowFilter = get_glow_filter();
sdFilter = get_shadow_filter();
nailArr = [];
cursorType = "default";
stop();
}
public function init_mkup():void{
$(mktools_mc, mktools_mc, function (_arg1:MovieClip, _arg2:int):void{
var _mc = _arg1;
var id = _arg2;
_mc.mouseChildren = false;
_mc.buttonMode = true;
_mc.addEventListener(MouseEvent.ROLL_OUT, mkitem_out);
_mc.addEventListener(MouseEvent.ROLL_OVER, mkitem_over);
_mc.addEventListener(MouseEvent.CLICK, mkitem_clicked);
this[("a_" + id)].scaleX = (this[("a_" + id)].scaleY = 0);
this[("a_" + id)].exit_btn.addEventListener(MouseEvent.CLICK, exit_panel);
$(null, this[("a_" + id)], function (_arg1:MovieClip, _arg2:int):void{
_arg1.mouseChildren = false;
_arg1.buttonMode = true;
_arg1.gotoAndStop(_arg2);
_arg1.filters = [sdFilter];
_arg1.addEventListener(MouseEvent.ROLL_OUT, mkitem_out);
_arg1.addEventListener(MouseEvent.ROLL_OVER, mkitem_over);
_arg1.addEventListener(MouseEvent.CLICK, mkels_clicked);
}, (("o_" + id) + "_"));
}, "p_", "", 2);
mktId = 0;
reset_btn.visible = true;
next_btn.visible = true;
next_btn.addEventListener(MouseEvent.CLICK, next2_handler);
reset_btn.addEventListener(MouseEvent.CLICK, reset_mk);
dh_mc.gotoAndStop(1);
}
public function reset_mk(_arg1:MouseEvent):void{
gameData = TPL_DATA.concat();
gameData[1] = 3;
init_player(girl_mc, gameData, "o_");
}
public function init_step(_arg1:int):void{
var _local2:int;
var _local3:MovieClip;
_local2 = 0;
switch (_arg1){
case 1:
focus_tool(mixtools_mc.t_8, true);
_local2 = 8;
break;
case 2:
focus_tool(mixtools_mc.t_9, true);
_local2 = 9;
break;
case 3:
focus_tool(mixtools_mc.t_10, true);
_local2 = 10;
break;
case 4:
focus_tool(mixtools_mc.t_1, true);
break;
case 5:
focus_tool(mixtools_mc.t_9, true);
_local2 = 9;
break;
case 6:
focus_tool(mixtools_mc.t_5, true);
_local2 = 5;
break;
case 7:
focus_tool(mixtools_mc.t_7, true);
_local2 = 7;
break;
case 8:
focus_tool(mixtools_mc.t_3, true);
_local2 = 3;
break;
case 9:
focus_tool(mixtools_mc.t_2, true);
focus_tool(mixtools_mc.t_4, true);
focus_tool(mixtools_mc.t_6, true);
_local2 = 4;
break;
case 10:
clock_mc.visible = true;
clock_mc.gotoAndPlay(2);
break;
case 11:
focus_tool(mixtools_mc.t_9, true);
_local2 = 9;
break;
case 12:
Tweener.addTween(next_btn, {time:0.5, scaleX:1, scaleY:1, transition:"easeOutElastic"});
break;
};
if (_local2 > 0){
_local3 = mixtools_mc[("t_" + _local2)];
mixtools_mc.hint_mc.x = _local3.x;
mixtools_mc.hint_mc.y = ((_local3.y - (mixtools_mc.hint_mc.height / 2)) - (_local3.height / 2));
mixtools_mc.hint_mc.visible = true;
};
}
public function focus_tool(_arg1:MovieClip, _arg2:Boolean):void{
_arg1.mouseEnabled = _arg2;
_arg1.buttonMode = _arg2;
if (_arg2){
addLight(_arg1);
} else {
removeLight(_arg1);
};
}
public function get_id(_arg1:String, _arg2:int=1):int{
var _local3:Array;
_local3 = _arg1.split("_");
return (int(_local3[_arg2]));
}
public function init_mix():void{
mixtools_mc.hint_mc.visible = false;
barList = [undefined, 8, 9, 3];
clock_mc.visible = false;
clock_mc.gotoAndStop(1);
gameData = TPL_DATA.concat();
init_player(girl_mc, gameData, "o_");
girl_mc.mix_mc.mianmo_mc._mc.gotoAndStop(1);
girl_mc.mix_mc.mianmo_mc.gotoAndStop(1);
create_mask(girl_mc.mix_mc.paopao_mc);
create_mask(girl_mc.mix_mc.mianmo_mc);
girl_mc.mix_mc.mianmo_mc.gotoAndStop(1);
girl_mc.skin_mc.gotoAndStop(1);
girl_mc.mix_mc.paopao_mc.gotoAndStop(1);
girl_mc.mix_mc.m_heitou.gotoAndStop(1);
girl_mc.mix_mc.mzhi_1.visible = false;
girl_mc.mix_mc.mzhi_2.visible = false;
girl_mc.mix_mc.m_heitou.gotoAndStop(1);
girl_mc.sd_1.gotoAndStop(1);
girl_mc.sd_2.gotoAndStop(1);
step = 1;
$(null, mixtools_mc, function (_arg1:MovieClip, _arg2:int):void{
_arg1.mouseChildren = false;
_arg1.mouseEnabled = false;
_arg1.lightColor = 0xFF00CC;
_arg1.addEventListener(MouseEvent.CLICK, mixtools_handler);
}, "t_");
init_step(step);
next_btn.scaleX = (next_btn.scaleY = 0);
next_btn.addEventListener(MouseEvent.CLICK, next_handler);
reset_btn.visible = false;
}
public function next2_handler(_arg1:MouseEvent):void{
clear_mk();
this.play();
}
public function mkitem_over(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
_local2.filters = [glowFilter];
}
public function oil_clicked(_arg1:MouseEvent):void{
var _local2:MovieClip;
var _local3:int;
_local2 = (_arg1.currentTarget as MovieClip);
_local3 = get_id(_local2.name);
sel_oil(_local3);
}
public function init_show():void{
replay_btn.addEventListener(MouseEvent.CLICK, replay_handler);
}
public function clear_mk():void{
$(mktools_mc, mktools_mc, function (_arg1:MovieClip, _arg2:int):void{
var _mc = _arg1;
var id = _arg2;
_mc.removeEventListener(MouseEvent.ROLL_OUT, mkitem_out);
_mc.removeEventListener(MouseEvent.ROLL_OVER, mkitem_over);
_mc.removeEventListener(MouseEvent.CLICK, mkitem_clicked);
this[("a_" + id)].exit_btn.removeEventListener(MouseEvent.CLICK, exit_panel);
$(null, this[("a_" + id)], function (_arg1:MovieClip, _arg2:int):void{
_arg1.removeEventListener(MouseEvent.ROLL_OUT, mkitem_out);
_arg1.removeEventListener(MouseEvent.ROLL_OVER, mkitem_over);
_arg1.removeEventListener(MouseEvent.CLICK, mkels_clicked);
}, (("o_" + id) + "_"));
}, "p_", "", 2);
next_btn.removeEventListener(MouseEvent.CLICK, next2_handler);
reset_btn.removeEventListener(MouseEvent.CLICK, reset_mk);
}
public function init_item(_arg1:MovieClip, _arg2:int){
if (_arg2){
_arg1.gotoAndStop(_arg2);
_arg1.visible = true;
} else {
_arg1.gotoAndStop(1);
_arg1.visible = false;
};
}
public function addLight(_arg1:MovieClip):void{
_arg1.lightData = {speed:1, blur:5, color:0xFFFFFF};
if (_arg1.hasOwnProperty("lightColor")){
_arg1.lightData.color = _arg1.lightColor;
};
_arg1.addEventListener(Event.ENTER_FRAME, lightHandler);
}
public function init_player(_arg1:MovieClip, _arg2:Array, _arg3:String):void{
var _local4:MovieClip;
var _local5:int;
var _local6:Boolean;
var _local7:int;
var _local8:int;
_local5 = 1;
_local6 = true;
while (true) {
_local7 = int(_arg2[_local5]);
_local6 = true;
_local4 = _arg1[(_arg3 + _local5)];
if (!_local4){
_local8 = 1;
while ((_local4 = _arg1[(((_arg3 + _local5) + "_") + _local8)])) {
_local6 = false;
init_item(_local4, _local7);
_local8++;
};
} else {
_local6 = false;
init_item(_local4, _local7);
};
if (_local6){
break;
};
_local5++;
};
}
public function removeLight(_arg1:MovieClip):void{
_arg1.removeEventListener(Event.ENTER_FRAME, lightHandler);
_arg1.filters = [];
}
public function get_glow_filter():BitmapFilter{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Boolean;
var _local7:Boolean;
var _local8:Number;
_local1 = 0x9900CC;
_local2 = 0.8;
_local3 = 5;
_local4 = 5;
_local5 = 2;
_local6 = false;
_local7 = false;
_local8 = BitmapFilterQuality.HIGH;
return (new GlowFilter(_local1, _local2, _local3, _local4, _local5, _local8, _local6, _local7));
}
public function stop_mask(_arg1:MouseEvent):void{
var isOver:Boolean;
var e = _arg1;
stage.removeEventListener(MouseEvent.MOUSE_MOVE, draw_mask);
stage.removeEventListener(MouseEvent.MOUSE_UP, stop_mask);
isOver = true;
$(null, hit_mc, function (_arg1:MovieClip, _arg2:int):void{
if (_arg1.hited == false){
isOver = false;
};
}, "h_");
if (isOver){
setCursor("default");
if (step == 1){
girl_mc.mix_mc.paopao_mc.mask = null;
girl_mc.mix_mc.removeChild(mask_sp);
mask_sp = null;
girl_mc.removeEventListener(MouseEvent.MOUSE_DOWN, before_mask);
girl_mc.mouseChildren = true;
step++;
init_step(step);
} else {
if (step == 9){
girl_mc.mix_mc.mianmo_mc.mask = null;
girl_mc.mix_mc.removeChild(mask_sp);
mask_sp = null;
girl_mc.removeEventListener(MouseEvent.MOUSE_DOWN, before_mask);
girl_mc.mouseChildren = true;
step++;
init_step(step);
};
};
};
}
public function bameimao(_arg1:MouseEvent):void{
var _mc:MovieClip;
var over:Boolean;
var e = _arg1;
_mc = (e.currentTarget as MovieClip);
focus_tool(_mc, false);
_mc.removeEventListener(MouseEvent.CLICK, bameimao);
dataCount++;
_mc.visible = false;
if (_mc.parent == girl_mc.mix_mc.meimao_mc){
over = true;
$(null, girl_mc.mix_mc.meimao_mc, function (_arg1:MovieClip, _arg2:int):void{
if (_arg1.visible){
over = false;
};
}, "s_", "", 1, 7);
if (over){
girl_mc.mix_mc.mzhi_1.visible = false;
};
over = true;
$(null, girl_mc.mix_mc.meimao_mc, function (_arg1:MovieClip, _arg2:int):void{
if (_arg1.visible){
over = false;
};
}, "s_", "", 8);
if (over){
girl_mc.mix_mc.mzhi_2.visible = false;
};
};
if (dataCount >= dataTotal){
step++;
init_step(step);
};
}
public function draw_mask(_arg1:MouseEvent):void{
var p:Point;
var newmask:MovieClip;
var e = _arg1;
if (girl_mc.hitTestPoint(stage.mouseX, stage.mouseY, true)){
p = new Point(cursor_mc.x, cursor_mc.y);
p = mask_sp.globalToLocal(p);
newmask = new mask_tpl();
newmask.x = p.x;
newmask.y = p.y;
mask_sp.addChild(newmask);
$(null, hit_mc, function (_arg1:MovieClip, _arg2:int):void{
if (_arg1.hitTestObject(mask_sp)){
_arg1.hited = true;
};
}, "h_");
};
}
public function copyObject(_arg1:Object):Object{
var _local2:ByteArray;
_local2 = new ByteArray();
_local2.writeObject(_arg1);
_local2.position = 0;
return (_local2.readObject());
}
public function update_player(_arg1:MovieClip, _arg2:String, _arg3:int, _arg4:int):void{
var _local5:MovieClip;
var _local6:int;
var _local7:int;
gameData[_arg3] = _arg4;
_local6 = _arg3;
_local5 = _arg1[(_arg2 + _arg3)];
if (_local5){
init_item(_local5, _arg4);
} else {
_local7 = 1;
while ((_local5 = _arg1[(((_arg2 + _arg3) + "_") + _local7)])) {
init_item(_local5, _arg4);
_local7++;
};
};
}
public function replay_handler(_arg1:MouseEvent):void{
replay_btn.removeEventListener(MouseEvent.CLICK, replay_handler);
this.gotoAndStop("start");
}
public function clear_foot():void{
setCursor("default");
$(foot_mc, foot_mc, function (_arg1:MovieClip, _arg2:int):void{
var _local3:MovieClip;
_arg1.removeEventListener(MouseEvent.CLICK, cut_handler);
_local3 = this[("n_" + _arg2)];
_local3.removeEventListener(MouseEvent.CLICK, nail_handler);
}, "c_");
$(null, nails_mc, function (_arg1:MovieClip, _arg2:int):void{
_arg1.removeEventListener(MouseEvent.ROLL_OUT, oil_out);
_arg1.removeEventListener(MouseEvent.ROLL_OVER, oil_over);
_arg1.removeEventListener(MouseEvent.CLICK, oil_clicked);
}, "b_");
cut_btn.removeEventListener(MouseEvent.CLICK, cut2_handler);
reset_btn.removeEventListener(MouseEvent.CLICK, reset_foot);
show_btn.removeEventListener(MouseEvent.CLICK, show_handler);
}
public function mkels_clicked(_arg1:MouseEvent):void{
var _local2:Array;
var _local3:int;
var _local4:int;
_local2 = _arg1.currentTarget.name.split("_");
_local3 = int(_local2[1]);
_local4 = int(_local2[2]);
update_player(girl_mc, "o_", _local3, _local4);
dh_mc.gotoAndStop(1);
dh_mc.gotoAndStop(_local3);
}
public function play_handler(_arg1:MouseEvent):void{
play_btn.removeEventListener(MouseEvent.CLICK, play_handler);
this.play();
}
public function oil_over(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
_local2.filters = [glowFilter];
}
public function lightHandler(_arg1:Event):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
_local2.lightData.blur = (_local2.lightData.blur + _local2.lightData.speed);
_local2.filters = [getBitmapFilter(_local2.lightData)];
if (_local2.lightData.blur >= 16){
_local2.lightData.speed = -1;
} else {
if (_local2.lightData.blur <= 5){
_local2.lightData.speed = 1;
};
};
}
public function top(_arg1:DisplayObject):void{
_arg1.parent.setChildIndex(_arg1, (_arg1.parent.numChildren - 1));
}
public function xi_over():void{
step++;
init_step(step);
}
public function quyanshuang(_arg1:MouseEvent):void{
lastPoint = new Point(stage.mouseX, stage.mouseY);
this.addEventListener(Event.ENTER_FRAME, motion_yanshuang);
stage.addEventListener(MouseEvent.MOUSE_UP, stop_move_yanshuang);
}
public function reset_foot(_arg1:MouseEvent):void{
nailArr = [];
init_foot(foot_mc, "n_", nailArr);
}
public function oil_out(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
_local2.filters = [];
}
public function motion_heitou(_arg1:Event):void{
if (Point.distance(new Point(stage.mouseX, stage.mouseY), lastPoint) > 5){
lastPoint = new Point(stage.mouseX, stage.mouseY);
if (girl_mc.mix_mc.m_heitou.hitTestPoint(stage.mouseX, stage.mouseY, true)){
girl_mc.mix_mc.m_heitou.nextFrame();
m_cursor.m_4.alpha = (m_cursor.m_4.alpha - (1 / 33));
if (girl_mc.mix_mc.m_heitou.currentFrame == 34){
stop_move_heitou();
};
};
};
}
public function mkitem_clicked(_arg1:MouseEvent):void{
var _local2:MovieClip;
var _local3:int;
_local2 = (_arg1.currentTarget as MovieClip);
_local3 = get_id(_local2.name);
sel_panel(_local3);
}
public function exit_panel(_arg1:MouseEvent):void{
sel_panel(0);
}
public function before_mask(_arg1:MouseEvent):void{
stage.addEventListener(MouseEvent.MOUSE_MOVE, draw_mask);
stage.addEventListener(MouseEvent.MOUSE_UP, stop_mask);
draw_mask(_arg1);
}
public function motion_yanshuang(_arg1:Event):void{
if (Point.distance(new Point(stage.mouseX, stage.mouseY), lastPoint) > 5){
lastPoint = new Point(stage.mouseX, stage.mouseY);
if (((girl_mc.sd_1.hitTestPoint(stage.mouseX, stage.mouseY, true)) && ((girl_mc.sd_1.currentFrame < 31)))){
girl_mc.sd_1.nextFrame();
m_cursor.m_6.alpha = (m_cursor.m_6.alpha - (1 / 60));
} else {
if (((girl_mc.sd_2.hitTestPoint(stage.mouseX, stage.mouseY, true)) && ((girl_mc.sd_2.currentFrame < 31)))){
girl_mc.sd_2.nextFrame();
m_cursor.m_6.alpha = (m_cursor.m_6.alpha - (1 / 60));
};
};
if ((((girl_mc.sd_1.currentFrame == 31)) && ((girl_mc.sd_2.currentFrame == 31)))){
stop_move_yanshuang();
};
};
}
public function mkitem_out(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
_local2.filters = [sdFilter];
}
public function sel_panel(_arg1:int):void{
if (mktId == _arg1){
return;
};
if (mktId > 0){
Tweener.addTween(mktools_mc[("a_" + mktId)], {time:0.3, scaleX:0, scaleY:0});
};
mktId = _arg1;
if (mktId > 0){
Tweener.addTween(mktools_mc[("a_" + mktId)], {time:0.3, scaleX:1, scaleY:1, transition:"easeOutElastic"});
};
}
public function stop_move_yanshuang(_arg1:MouseEvent=null):void{
this.removeEventListener(Event.ENTER_FRAME, motion_yanshuang);
stage.removeEventListener(MouseEvent.MOUSE_UP, stop_move_yanshuang);
}
public function quheitou(_arg1:MouseEvent):void{
lastPoint = new Point(stage.mouseX, stage.mouseY);
this.addEventListener(Event.ENTER_FRAME, motion_heitou);
stage.addEventListener(MouseEvent.MOUSE_UP, stop_move_heitou);
}
public function init_meimao(_arg1:MovieClip, _arg2:int):void{
var _local3:Number;
_arg1.mouseChildren = false;
if (_arg1.parent == girl_mc.mix_mc.meimao_mc){
_arg1.lightColor = 0;
} else {
if (_arg1.parent == girl_mc.mix_mc.doudou_mc){
_arg1.lightColor = 0xFF0000;
} else {
_arg1.lightColor = 6909796;
_arg1.graphics.beginFill(0, 0);
_local3 = (_arg1.width * 2);
_arg1.graphics.drawCircle(0, 0, _local3);
_arg1.graphics.endFill();
};
};
focus_tool(_arg1, true);
_arg1.buttonMode = true;
_arg1.addEventListener(MouseEvent.CLICK, bameimao);
}
public function next_handler(_arg1:MouseEvent):void{
var e = _arg1;
girl_mc.removeChild(girl_mc.mix_mc);
girl_mc.removeChild(girl_mc.sd_1);
girl_mc.removeChild(girl_mc.sd_2);
update_player(girl_mc, "o_", 1, 3);
next_btn.removeEventListener(MouseEvent.CLICK, next_handler);
$(null, mixtools_mc, function (_arg1:MovieClip, _arg2:int):void{
_arg1.removeEventListener(MouseEvent.CLICK, mixtools_handler);
}, "t_");
this.play();
}
}
}//package _fla
Section 9
//moremc_361 (_fla.moremc_361)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class moremc_361 extends MovieClip {
public function moremc_361(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, MovieClip(root).more_handler);
}
}
}//package _fla
Section 10
//moremc_95 (_fla.moremc_95)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class moremc_95 extends MovieClip {
public function moremc_95(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, MovieClip(root).more_handler);
}
}
}//package _fla
Section 11
//paopaohit_202 (_fla.paopaohit_202)
package _fla {
import flash.display.*;
public dynamic class paopaohit_202 extends MovieClip {
public var h_2:MovieClip;
public var h_4:MovieClip;
public var h_7:MovieClip;
public var h_8:MovieClip;
public var h_9:MovieClip;
public var h_6:MovieClip;
public var h_10:MovieClip;
public var h_12:MovieClip;
public var h_14:MovieClip;
public var h_17:MovieClip;
public var h_19:MovieClip;
public var h_16:MovieClip;
public var h_18:MovieClip;
public var h_13:MovieClip;
public var h_21:MovieClip;
public var h_22:MovieClip;
public var h_24:MovieClip;
public var h_27:MovieClip;
public var h_28:MovieClip;
public var h_31:MovieClip;
public var h_33:MovieClip;
public var h_34:MovieClip;
public var h_35:MovieClip;
public var h_30:MovieClip;
public var h_38:MovieClip;
public var h_32:MovieClip;
public var h_37:MovieClip;
public var h_39:MovieClip;
public var h_40:MovieClip;
public var h_41:MovieClip;
public var h_43:MovieClip;
public var h_44:MovieClip;
public var h_46:MovieClip;
public var h_47:MovieClip;
public var h_48:MovieClip;
public var h_49:MovieClip;
public var h_50:MovieClip;
public var h_51:MovieClip;
public var h_54:MovieClip;
public var h_55:MovieClip;
public var h_56:MovieClip;
public var h_57:MovieClip;
}
}//package _fla
Section 12
//shubiao_232 (_fla.shubiao_232)
package _fla {
import flash.display.*;
public dynamic class shubiao_232 extends MovieClip {
public var m_6:MovieClip;
public var main:MovieClip;
public var m_3:MovieClip;
public var m_4:MovieClip;
public function shubiao_232(){
addFrameScript(0, frame1, 3, frame4, 5, frame6);
}
function frame6(){
stop();
m_6.stop();
}
function frame1(){
stop();
main = MovieClip(root);
}
function frame4(){
stop();
m_4.stop();
}
}
}//package _fla
Section 13
//sprite2_326 (_fla.sprite2_326)
package _fla {
import flash.display.*;
public dynamic class sprite2_326 extends MovieClip {
public function sprite2_326(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package _fla
Section 14
//sprite2_94 (_fla.sprite2_94)
package _fla {
import flash.display.*;
public dynamic class sprite2_94 extends MovieClip {
public function sprite2_94(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package _fla
Section 15
//sprite3_325 (_fla.sprite3_325)
package _fla {
import flash.display.*;
public dynamic class sprite3_325 extends MovieClip {
public function sprite3_325(){
addFrameScript(26, frame27);
}
function frame27(){
stop();
}
}
}//package _fla
Section 16
//Timeline_110 (_fla.Timeline_110)
package _fla {
import flash.display.*;
public dynamic class Timeline_110 extends MovieClip {
public var o_3:MovieClip;
public var o_6:MovieClip;
public var o_9:MovieClip;
public var o_4:MovieClip;
public var o_2:MovieClip;
public var o_7:MovieClip;
public var o_8:MovieClip;
public var mix_mc:MovieClip;
public var o_5:MovieClip;
public var skin_mc:MovieClip;
public var sd_1:MovieClip;
public var o_1_1:MovieClip;
public var o_1_2:MovieClip;
public var sd_2:MovieClip;
}
}//package _fla
Section 17
//Timeline_112 (_fla.Timeline_112)
package _fla {
import flash.display.*;
public dynamic class Timeline_112 extends MovieClip {
public function Timeline_112(){
addFrameScript(19, frame20, 39, frame40);
}
function frame20(){
stop();
}
function frame40(){
stop();
}
}
}//package _fla
Section 18
//Timeline_116 (_fla.Timeline_116)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_116 extends MovieClip {
public function Timeline_116(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
MovieClip(root).eye_over(this);
}
}
}//package _fla
Section 19
//Timeline_166 (_fla.Timeline_166)
package _fla {
import flash.display.*;
public dynamic class Timeline_166 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 20
//Timeline_169 (_fla.Timeline_169)
package _fla {
import flash.display.*;
public dynamic class Timeline_169 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 21
//Timeline_170 (_fla.Timeline_170)
package _fla {
import flash.display.*;
public dynamic class Timeline_170 extends MovieClip {
public var paopao_mc:MovieClip;
public var meimao_mc:MovieClip;
public var mianmo_mc:MovieClip;
public var doudou_mc:MovieClip;
public var mzhi_2:MovieClip;
public var mzhi_1:MovieClip;
public var queban_mc:MovieClip;
public var m_heitou:MovieClip;
}
}//package _fla
Section 22
//Timeline_171 (_fla.Timeline_171)
package _fla {
import flash.display.*;
public dynamic class Timeline_171 extends MovieClip {
public var s_2:MovieClip;
public var s_5:MovieClip;
public var s_6:MovieClip;
public var s_10:MovieClip;
public var s_9:MovieClip;
public var s_15:MovieClip;
public var s_16:MovieClip;
public var s_13:MovieClip;
public var s_3:MovieClip;
public var s_4:MovieClip;
public var s_8:MovieClip;
public var s_12:MovieClip;
public var s_7:MovieClip;
public var s_11:MovieClip;
public var s_1:MovieClip;
public var s_17:MovieClip;
public var s_14:MovieClip;
}
}//package _fla
Section 23
//Timeline_173 (_fla.Timeline_173)
package _fla {
import flash.display.*;
public dynamic class Timeline_173 extends MovieClip {
public var s_2:MovieClip;
public var s_5:MovieClip;
public var s_6:MovieClip;
public var s_7:MovieClip;
public var s_9:MovieClip;
public var s_13:MovieClip;
public var s_3:MovieClip;
public var s_4:MovieClip;
public var s_8:MovieClip;
public var s_12:MovieClip;
public var s_10:MovieClip;
public var s_11:MovieClip;
public var s_1:MovieClip;
public var s_14:MovieClip;
}
}//package _fla
Section 24
//Timeline_175 (_fla.Timeline_175)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_175 extends MovieClip {
public var _mc:MovieClip;
public var hit_mc:MovieClip;
public function Timeline_175(){
addFrameScript(1, frame2, 47, frame48);
}
function frame2(){
_mc.gotoAndStop(this.mid);
MovieClip(root).girl_mc.skin_mc.play();
}
function frame48(){
stop();
MovieClip(root).xi_over();
}
}
}//package _fla
Section 25
//Timeline_177 (_fla.Timeline_177)
package _fla {
import flash.display.*;
public dynamic class Timeline_177 extends MovieClip {
public var h_1:MovieClip;
public var h_2:MovieClip;
public var h_3:MovieClip;
public var h_5:MovieClip;
public var h_9:MovieClip;
public var h_6:MovieClip;
public var h_8:MovieClip;
public var h_7:MovieClip;
public var h_11:MovieClip;
public var h_15:MovieClip;
public var h_10:MovieClip;
public var h_12:MovieClip;
public var h_16:MovieClip;
public var h_19:MovieClip;
public var h_14:MovieClip;
public var h_13:MovieClip;
public var h_20:MovieClip;
public var h_21:MovieClip;
public var h_22:MovieClip;
public var h_23:MovieClip;
public var h_27:MovieClip;
public var h_28:MovieClip;
public var h_26:MovieClip;
public var h_4:MovieClip;
public var h_24:MovieClip;
public var h_31:MovieClip;
public var h_33:MovieClip;
public var h_34:MovieClip;
public var h_32:MovieClip;
public var h_25:MovieClip;
public var h_17:MovieClip;
public var h_29:MovieClip;
public var h_30:MovieClip;
public var h_18:MovieClip;
}
}//package _fla
Section 26
//Timeline_182 (_fla.Timeline_182)
package _fla {
import flash.display.*;
public dynamic class Timeline_182 extends MovieClip {
public var s_2:MovieClip;
public var s_5:MovieClip;
public var s_6:MovieClip;
public var s_7:MovieClip;
public var s_9:MovieClip;
public var s_15:MovieClip;
public var s_13:MovieClip;
public var s_3:MovieClip;
public var s_4:MovieClip;
public var s_8:MovieClip;
public var s_12:MovieClip;
public var s_10:MovieClip;
public var s_11:MovieClip;
public var s_1:MovieClip;
public var s_14:MovieClip;
}
}//package _fla
Section 27
//Timeline_200 (_fla.Timeline_200)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_200 extends MovieClip {
public var hit_mc:MovieClip;
public function Timeline_200(){
addFrameScript(1, frame2, 48, frame49);
}
function frame2(){
MovieClip(root).girl_mc.skin_mc.play();
}
function frame49(){
stop();
MovieClip(root).xi_over();
}
}
}//package _fla
Section 28
//Timeline_203 (_fla.Timeline_203)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_203 extends MovieClip {
public function Timeline_203(){
addFrameScript(33, frame34, 59, frame60);
}
function frame34(){
stop();
}
function frame60(){
stop();
MovieClip(root).xi_over();
}
}
}//package _fla
Section 29
//Timeline_209 (_fla.Timeline_209)
package _fla {
import flash.display.*;
public dynamic class Timeline_209 extends MovieClip {
public var t_4:MovieClip;
public var t_6:MovieClip;
public var t_7:MovieClip;
public var t_1:MovieClip;
public var t_2:MovieClip;
public var t_5:MovieClip;
public var t_9:MovieClip;
public var t_8:MovieClip;
public var hint_mc:MovieClip;
public var t_3:MovieClip;
public var t_10:MovieClip;
}
}//package _fla
Section 30
//Timeline_211 (_fla.Timeline_211)
package _fla {
import flash.display.*;
public dynamic class Timeline_211 extends MovieClip {
public var t_7_3:MovieClip;
}
}//package _fla
Section 31
//Timeline_213 (_fla.Timeline_213)
package _fla {
import flash.display.*;
public dynamic class Timeline_213 extends MovieClip {
public var t_7_2:MovieClip;
}
}//package _fla
Section 32
//Timeline_215 (_fla.Timeline_215)
package _fla {
import flash.display.*;
public dynamic class Timeline_215 extends MovieClip {
public var t_7_1:MovieClip;
}
}//package _fla
Section 33
//Timeline_233 (_fla.Timeline_233)
package _fla {
import flash.display.*;
public dynamic class Timeline_233 extends MovieClip {
public var paopao_mc:MovieClip;
}
}//package _fla
Section 34
//Timeline_234 (_fla.Timeline_234)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_234 extends MovieClip {
public var hit_mc:MovieClip;
public function Timeline_234(){
addFrameScript(1, frame2, 48, frame49);
}
function frame2(){
MovieClip(root).girl_mc.skin_mc.play();
}
function frame49(){
stop();
MovieClip(root).xi_over();
}
}
}//package _fla
Section 35
//Timeline_235 (_fla.Timeline_235)
package _fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_235 extends MovieClip {
public function Timeline_235(){
addFrameScript(0, frame1);
}
public function on_down(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
function frame1(){
stop();
this.addEventListener(Event.REMOVED_FROM_STAGE, onRemoved);
stage.addEventListener(MouseEvent.MOUSE_DOWN, on_down);
stage.addEventListener(MouseEvent.MOUSE_UP, on_up);
}
public function on_up(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
public function onRemoved(_arg1:Event):void{
this.removeEventListener(Event.REMOVED_FROM_STAGE, onRemoved);
stage.removeEventListener(MouseEvent.MOUSE_DOWN, on_down);
stage.removeEventListener(MouseEvent.MOUSE_UP, on_up);
}
}
}//package _fla
Section 36
//Timeline_236 (_fla.Timeline_236)
package _fla {
import flash.display.*;
public dynamic class Timeline_236 extends MovieClip {
public function Timeline_236(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package _fla
Section 37
//Timeline_238 (_fla.Timeline_238)
package _fla {
import flash.display.*;
public dynamic class Timeline_238 extends MovieClip {
public function Timeline_238(){
addFrameScript(0, frame1, 59, frame60);
}
function frame1(){
stop();
}
function frame60(){
stop();
}
}
}//package _fla
Section 38
//Timeline_242 (_fla.Timeline_242)
package _fla {
import flash.display.*;
public dynamic class Timeline_242 extends MovieClip {
public var a_6:MovieClip;
public var p_2:MovieClip;
public var p_4:MovieClip;
public var p_8:MovieClip;
public var p_3:MovieClip;
public var p_5:MovieClip;
public var p_6:MovieClip;
public var p_9:MovieClip;
public var p_7:MovieClip;
public var a_2:MovieClip;
public var a_3:MovieClip;
public var a_4:MovieClip;
public var a_5:MovieClip;
public var a_7:MovieClip;
public var a_8:MovieClip;
public var a_9:MovieClip;
}
}//package _fla
Section 39
//Timeline_253 (_fla.Timeline_253)
package _fla {
import flash.display.*;
public dynamic class Timeline_253 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 40
//Timeline_255 (_fla.Timeline_255)
package _fla {
import flash.display.*;
public dynamic class Timeline_255 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 41
//Timeline_256 (_fla.Timeline_256)
package _fla {
import flash.display.*;
public dynamic class Timeline_256 extends MovieClip {
public var o_7_3:MovieClip;
public var o_7_5:MovieClip;
public var o_7_7:MovieClip;
public var o_7_4:MovieClip;
public var o_7_2:MovieClip;
public var o_7_6:MovieClip;
public var o_7_1:MovieClip;
public var o_7_8:MovieClip;
public var exit_btn:SimpleButton;
}
}//package _fla
Section 42
//Timeline_266 (_fla.Timeline_266)
package _fla {
import flash.display.*;
public dynamic class Timeline_266 extends MovieClip {
public var o_5_2:MovieClip;
public var o_5_6:MovieClip;
public var exit_btn:SimpleButton;
public var o_5_1:MovieClip;
public var o_5_3:MovieClip;
public var o_5_4:MovieClip;
public var o_5_5:MovieClip;
public var o_5_7:MovieClip;
public var o_5_8:MovieClip;
public var o_5_9:MovieClip;
}
}//package _fla
Section 43
//Timeline_276 (_fla.Timeline_276)
package _fla {
import flash.display.*;
public dynamic class Timeline_276 extends MovieClip {
public var o_3_3:MovieClip;
public var o_3_2:MovieClip;
public var o_3_4:MovieClip;
public var o_3_6:MovieClip;
public var o_3_1:MovieClip;
public var o_3_5:MovieClip;
public var exit_btn:SimpleButton;
}
}//package _fla
Section 44
//Timeline_283 (_fla.Timeline_283)
package _fla {
import flash.display.*;
public dynamic class Timeline_283 extends MovieClip {
public var o_2_2:MovieClip;
public var o_2_4:MovieClip;
public var o_2_5:MovieClip;
public var o_2_6:MovieClip;
public var o_2_3:MovieClip;
public var o_2_1:MovieClip;
public var exit_btn:SimpleButton;
}
}//package _fla
Section 45
//Timeline_290 (_fla.Timeline_290)
package _fla {
import flash.display.*;
public dynamic class Timeline_290 extends MovieClip {
public var o_4_2:MovieClip;
public var o_4_5:MovieClip;
public var o_4_6:MovieClip;
public var o_4_7:MovieClip;
public var o_4_1:MovieClip;
public var o_4_8:MovieClip;
public var o_4_3:MovieClip;
public var o_4_4:MovieClip;
public var exit_btn:SimpleButton;
}
}//package _fla
Section 46
//Timeline_299 (_fla.Timeline_299)
package _fla {
import flash.display.*;
public dynamic class Timeline_299 extends MovieClip {
public var o_6_1:MovieClip;
public var o_6_2:MovieClip;
public var o_6_3:MovieClip;
public var o_6_6:MovieClip;
public var o_6_8:MovieClip;
public var o_6_4:MovieClip;
public var exit_btn:SimpleButton;
public var o_6_5:MovieClip;
public var o_6_7:MovieClip;
}
}//package _fla
Section 47
//Timeline_308 (_fla.Timeline_308)
package _fla {
import flash.display.*;
public dynamic class Timeline_308 extends MovieClip {
public var o_8_1:MovieClip;
public var o_8_2:MovieClip;
public var o_8_3:MovieClip;
public var o_8_5:MovieClip;
public var o_8_4:MovieClip;
public var o_8_6:MovieClip;
public var exit_btn:SimpleButton;
}
}//package _fla
Section 48
//Timeline_309 (_fla.Timeline_309)
package _fla {
import flash.display.*;
public dynamic class Timeline_309 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 49
//Timeline_310 (_fla.Timeline_310)
package _fla {
import flash.display.*;
public dynamic class Timeline_310 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 50
//Timeline_311 (_fla.Timeline_311)
package _fla {
import flash.display.*;
public dynamic class Timeline_311 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 51
//Timeline_314 (_fla.Timeline_314)
package _fla {
import flash.display.*;
public dynamic class Timeline_314 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 52
//Timeline_315 (_fla.Timeline_315)
package _fla {
import flash.display.*;
public dynamic class Timeline_315 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 53
//Timeline_316 (_fla.Timeline_316)
package _fla {
import flash.display.*;
public dynamic class Timeline_316 extends MovieClip {
public var 新符号_1:MovieClip;
}
}//package _fla
Section 54
//Timeline_317 (_fla.Timeline_317)
package _fla {
import flash.display.*;
public dynamic class Timeline_317 extends MovieClip {
public var o_9_2:MovieClip;
public var exit_btn:SimpleButton;
public var o_9_1:MovieClip;
public var o_9_3:MovieClip;
public var o_9_4:MovieClip;
public var o_9_6:MovieClip;
public var o_9_5:MovieClip;
}
}//package _fla
Section 55
//Timeline_318 (_fla.Timeline_318)
package _fla {
import flash.display.*;
public dynamic class Timeline_318 extends MovieClip {
public function Timeline_318(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
}
}
}//package _fla
Section 56
//Timeline_319 (_fla.Timeline_319)
package _fla {
import flash.display.*;
public dynamic class Timeline_319 extends MovieClip {
public function Timeline_319(){
addFrameScript(16, frame17);
}
function frame17(){
stop();
}
}
}//package _fla
Section 57
//Timeline_321 (_fla.Timeline_321)
package _fla {
import flash.display.*;
public dynamic class Timeline_321 extends MovieClip {
public function Timeline_321(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package _fla
Section 58
//Timeline_322 (_fla.Timeline_322)
package _fla {
import flash.display.*;
public dynamic class Timeline_322 extends MovieClip {
public function Timeline_322(){
addFrameScript(38, frame39);
}
function frame39(){
stop();
}
}
}//package _fla
Section 59
//Timeline_323 (_fla.Timeline_323)
package _fla {
import flash.display.*;
public dynamic class Timeline_323 extends MovieClip {
public function Timeline_323(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package _fla
Section 60
//Timeline_324 (_fla.Timeline_324)
package _fla {
import flash.display.*;
public dynamic class Timeline_324 extends MovieClip {
public function Timeline_324(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package _fla
Section 61
//Timeline_327 (_fla.Timeline_327)
package _fla {
import flash.display.*;
public dynamic class Timeline_327 extends MovieClip {
public var foot_mc:MovieClip;
}
}//package _fla
Section 62
//Timeline_328 (_fla.Timeline_328)
package _fla {
import flash.display.*;
public dynamic class Timeline_328 extends MovieClip {
public var c_3:MovieClip;
public var c_7:MovieClip;
public var c_4:MovieClip;
public var c_8:MovieClip;
public var c_6:MovieClip;
public var c_1:MovieClip;
public var c_5:MovieClip;
public var c_9:MovieClip;
public var c_10:MovieClip;
public var c_2:MovieClip;
public var n_10:MovieClip;
public var n_2:MovieClip;
public var n_7:MovieClip;
public var n_8:MovieClip;
public var n_9:MovieClip;
public var n_3:MovieClip;
public var n_1:MovieClip;
public var n_4:MovieClip;
public var n_5:MovieClip;
public var n_6:MovieClip;
}
}//package _fla
Section 63
//Timeline_350 (_fla.Timeline_350)
package _fla {
import flash.display.*;
public dynamic class Timeline_350 extends MovieClip {
public var b_2:MovieClip;
public var b_4:MovieClip;
public var b_5:MovieClip;
public var b_6:MovieClip;
public var b_7:MovieClip;
public var b_3:MovieClip;
public var b_1:MovieClip;
public var b_8:MovieClip;
}
}//package _fla
Section 64
//Timeline_351 (_fla.Timeline_351)
package _fla {
import flash.display.*;
public dynamic class Timeline_351 extends MovieClip {
public var _mc:MovieClip;
public var hat_mc:MovieClip;
}
}//package _fla
Section 65
//Timeline_356 (_fla.Timeline_356)
package _fla {
import flash.display.*;
public dynamic class Timeline_356 extends MovieClip {
public var c_mc:MovieClip;
}
}//package _fla
Section 66
//Timeline_364 (_fla.Timeline_364)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_364 extends MovieClip {
public var foot_mc:MovieClip;
public var main:MovieClip;
public function Timeline_364(){
addFrameScript(0, frame1);
}
function frame1(){
main = MovieClip(root);
main.init_foot(foot_mc, "n_", main.nailArr);
}
}
}//package _fla
Section 67
//Timeline_367 (_fla.Timeline_367)
package _fla {
import flash.display.*;
public dynamic class Timeline_367 extends MovieClip {
public var o_3:MovieClip;
public var o_6:MovieClip;
public var o_9:MovieClip;
public var o_4:MovieClip;
public var o_2:MovieClip;
public var o_7:MovieClip;
public var o_8:MovieClip;
public var o_5:MovieClip;
public var o_1_1:MovieClip;
public var o_1_2:MovieClip;
}
}//package _fla
Section 68
//Timeline_368 (_fla.Timeline_368)
package _fla {
import flash.display.*;
public dynamic class Timeline_368 extends MovieClip {
public function Timeline_368(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package _fla
Section 69
//title_100 (_fla.title_100)
package _fla {
import flash.events.*;
import flash.filters.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.media.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class title_100 extends MovieClip {
public function title_100(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 70
//AuxFunctions (caurina.transitions.AuxFunctions)
package caurina.transitions {
public class AuxFunctions {
public static function getObjectLength(_arg1:Object):uint{
var _local2:uint;
var _local3:String;
_local2 = 0;
for (_local3 in _arg1) {
_local2++;
};
return (_local2);
}
public static function numberToG(_arg1:Number):Number{
return (((_arg1 & 0xFF00) >> 8));
}
public static function numberToB(_arg1:Number):Number{
return ((_arg1 & 0xFF));
}
public static function numberToR(_arg1:Number):Number{
return (((_arg1 & 0xFF0000) >> 16));
}
public static function concatObjects(... _args):Object{
var _local2:Object;
var _local3:Object;
var _local4:int;
var _local5:String;
_local2 = {};
_local4 = 0;
while (_local4 < _args.length) {
_local3 = _args[_local4];
for (_local5 in _local3) {
if (_local3[_local5] == null){
delete _local2[_local5];
} else {
_local2[_local5] = _local3[_local5];
};
};
_local4++;
};
return (_local2);
}
}
}//package caurina.transitions
Section 71
//Equations (caurina.transitions.Equations)
package caurina.transitions {
public class Equations {
public function Equations(){
trace("Equations is a static class and should not be instantiated.");
}
public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
};
--_arg1;
return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2));
}
public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2));
}
public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2));
};
_arg1 = (_arg1 - 2);
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2));
}
public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2));
}
public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2));
}
public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2));
}
public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function init():void{
Tweener.registerTransition("easenone", easeNone);
Tweener.registerTransition("linear", easeNone);
Tweener.registerTransition("easeinquad", easeInQuad);
Tweener.registerTransition("easeoutquad", easeOutQuad);
Tweener.registerTransition("easeinoutquad", easeInOutQuad);
Tweener.registerTransition("easeoutinquad", easeOutInQuad);
Tweener.registerTransition("easeincubic", easeInCubic);
Tweener.registerTransition("easeoutcubic", easeOutCubic);
Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
Tweener.registerTransition("easeoutincubic", easeOutInCubic);
Tweener.registerTransition("easeinquart", easeInQuart);
Tweener.registerTransition("easeoutquart", easeOutQuart);
Tweener.registerTransition("easeinoutquart", easeInOutQuart);
Tweener.registerTransition("easeoutinquart", easeOutInQuart);
Tweener.registerTransition("easeinquint", easeInQuint);
Tweener.registerTransition("easeoutquint", easeOutQuint);
Tweener.registerTransition("easeinoutquint", easeInOutQuint);
Tweener.registerTransition("easeoutinquint", easeOutInQuint);
Tweener.registerTransition("easeinsine", easeInSine);
Tweener.registerTransition("easeoutsine", easeOutSine);
Tweener.registerTransition("easeinoutsine", easeInOutSine);
Tweener.registerTransition("easeoutinsine", easeOutInSine);
Tweener.registerTransition("easeincirc", easeInCirc);
Tweener.registerTransition("easeoutcirc", easeOutCirc);
Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
Tweener.registerTransition("easeoutincirc", easeOutInCirc);
Tweener.registerTransition("easeinexpo", easeInExpo);
Tweener.registerTransition("easeoutexpo", easeOutExpo);
Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
Tweener.registerTransition("easeinelastic", easeInElastic);
Tweener.registerTransition("easeoutelastic", easeOutElastic);
Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
Tweener.registerTransition("easeinback", easeInBack);
Tweener.registerTransition("easeoutback", easeOutBack);
Tweener.registerTransition("easeinoutback", easeInOutBack);
Tweener.registerTransition("easeoutinback", easeOutInBack);
Tweener.registerTransition("easeinbounce", easeInBounce);
Tweener.registerTransition("easeoutbounce", easeOutBounce);
Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2));
}
public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001)));
}
public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2));
}
public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2));
}
public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2));
}
public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2));
}
public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
--_arg1;
return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
}
public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2));
}
public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
}
public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 == 0){
return (_arg2);
};
if (_arg1 == _arg4){
return ((_arg2 + _arg3));
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005)));
};
--_arg1;
return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2));
}
public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2));
}
public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2));
}
public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
}
}//package caurina.transitions
Section 72
//PropertyInfoObj (caurina.transitions.PropertyInfoObj)
package caurina.transitions {
public class PropertyInfoObj {
public var originalValueComplete:Object;
public var modifierParameters:Array;
public var isSpecialProperty:Boolean;
public var hasModifier:Boolean;
public var valueComplete:Number;
public var extra:Object;
public var valueStart:Number;
public var modifierFunction:Function;
public var arrayIndex:Number;
public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){
valueStart = _arg1;
valueComplete = _arg2;
originalValueComplete = _arg3;
arrayIndex = _arg4;
extra = _arg5;
isSpecialProperty = _arg6;
hasModifier = Boolean(_arg7);
modifierFunction = _arg7;
modifierParameters = _arg8;
}
public function toString():String{
var _local1:String;
_local1 = "\n[PropertyInfoObj ";
_local1 = (_local1 + ("valueStart:" + String(valueStart)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("valueComplete:" + String(valueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("arrayIndex:" + String(arrayIndex)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("extra:" + String(extra)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("hasModifier:" + String(hasModifier)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierFunction:" + String(modifierFunction)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierParameters:" + String(modifierParameters)));
_local1 = (_local1 + "]\n");
return (_local1);
}
public function clone():PropertyInfoObj{
var _local1:PropertyInfoObj;
_local1 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters);
return (_local1);
}
}
}//package caurina.transitions
Section 73
//SpecialProperty (caurina.transitions.SpecialProperty)
package caurina.transitions {
public class SpecialProperty {
public var parameters:Array;
public var preProcess:Function;
public var setValue:Function;
public var getValue:Function;
public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){
getValue = _arg1;
setValue = _arg2;
parameters = _arg3;
preProcess = _arg4;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialProperty ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("setValue:" + String(setValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("preProcess:" + String(preProcess)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 74
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier)
package caurina.transitions {
public class SpecialPropertyModifier {
public var getValue:Function;
public var modifyValues:Function;
public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){
modifyValues = _arg1;
getValue = _arg2;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialPropertyModifier ");
_local1 = (_local1 + ("modifyValues:" + String(modifyValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 75
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter)
package caurina.transitions {
public class SpecialPropertySplitter {
public var parameters:Array;
public var splitValues:Function;
public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){
splitValues = _arg1;
parameters = _arg2;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialPropertySplitter ");
_local1 = (_local1 + ("splitValues:" + String(splitValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 76
//Tweener (caurina.transitions.Tweener)
package caurina.transitions {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Tweener {
private static var _timeScale:Number = 1;
private static var _currentTimeFrame:Number;
private static var _specialPropertySplitterList:Object;
public static var autoOverwrite:Boolean = true;
private static var _engineExists:Boolean = false;
private static var _currentTime:Number;
private static var _tweenList:Array;
private static var _specialPropertyModifierList:Object;
private static var _specialPropertyList:Object;
private static var _transitionList:Object;
private static var _inited:Boolean = false;
private static var __tweener_controller__:MovieClip;
public function Tweener(){
trace("Tweener is a static class and should not be instantiated.");
}
public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{
var _local4:SpecialPropertyModifier;
if (!_inited){
init();
};
_local4 = new SpecialPropertyModifier(_arg2, _arg3);
_specialPropertyModifierList[_arg1] = _local4;
}
public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{
var _local6:SpecialProperty;
if (!_inited){
init();
};
_local6 = new SpecialProperty(_arg2, _arg3, _arg4, _arg5);
_specialPropertyList[_arg1] = _local6;
}
public static function init(... _args):void{
_inited = true;
_transitionList = new Object();
Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
}
private static function updateTweens():Boolean{
var _local1:int;
if (_tweenList.length == 0){
return (false);
};
_local1 = 0;
while (_local1 < _tweenList.length) {
if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){
if (!updateTweenByIndex(_local1)){
removeTweenByIndex(_local1);
};
if (_tweenList[_local1] == null){
removeTweenByIndex(_local1, true);
_local1--;
};
};
_local1++;
};
return (true);
}
public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Array;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Function;
var _local9:TweenListObj;
var _local10:Number;
var _local11:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local4 = _arg1.concat();
} else {
_local4 = [_arg1];
};
_local5 = _arg2;
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
_local6 = (isNaN(_local5.time)) ? 0 : _local5.time;
_local7 = (isNaN(_local5.delay)) ? 0 : _local5.delay;
if (typeof(_local5.transition) == "string"){
_local11 = _local5.transition.toLowerCase();
_local8 = _transitionList[_local11];
} else {
_local8 = _local5.transition;
};
if (!Boolean(_local8)){
_local8 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local4.length) {
if (_local5.useFrames == true){
_local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams);
} else {
_local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams);
};
_local9.properties = null;
_local9.onStart = _local5.onStart;
_local9.onUpdate = _local5.onUpdate;
_local9.onComplete = _local5.onComplete;
_local9.onOverwrite = _local5.onOverwrite;
_local9.onStartParams = _local5.onStartParams;
_local9.onUpdateParams = _local5.onUpdateParams;
_local9.onCompleteParams = _local5.onCompleteParams;
_local9.onOverwriteParams = _local5.onOverwriteParams;
_local9.onStartScope = _local5.onStartScope;
_local9.onUpdateScope = _local5.onUpdateScope;
_local9.onCompleteScope = _local5.onCompleteScope;
_local9.onOverwriteScope = _local5.onOverwriteScope;
_local9.onErrorScope = _local5.onErrorScope;
_local9.isCaller = true;
_local9.count = _local5.count;
_local9.waitFrames = _local5.waitFrames;
_tweenList.push(_local9);
if ((((_local6 == 0)) && ((_local7 == 0)))){
_local10 = (_tweenList.length - 1);
updateTweenByIndex(_local10);
removeTweenByIndex(_local10);
};
_local3++;
};
return (true);
}
public static function pauseAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
pauseTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function removeTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
var _local5:SpecialPropertySplitter;
var _local6:Array;
var _local7:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
if (_specialPropertySplitterList[_args[_local4]]){
_local5 = _specialPropertySplitterList[_args[_local4]];
_local6 = _local5.splitValues(_arg1, null);
_local7 = 0;
while (_local7 < _local6.length) {
_local3.push(_local6[_local7].name);
_local7++;
};
} else {
_local3.push(_args[_local4]);
};
};
_local4++;
};
return (affectTweens(removeTweenByIndex, _arg1, _local3));
}
public static function updateFrame():void{
_currentTimeFrame++;
}
public static function splitTweens(_arg1:Number, _arg2:Array):uint{
var _local3:TweenListObj;
var _local4:TweenListObj;
var _local5:uint;
var _local6:String;
var _local7:Boolean;
_local3 = _tweenList[_arg1];
_local4 = _local3.clone(false);
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2[_local5];
if (Boolean(_local3.properties[_local6])){
_local3.properties[_local6] = undefined;
delete _local3.properties[_local6];
};
_local5++;
};
for (_local6 in _local4.properties) {
_local7 = false;
_local5 = 0;
while (_local5 < _arg2.length) {
if (_arg2[_local5] == _local6){
_local7 = true;
break;
};
_local5++;
};
if (!_local7){
_local4.properties[_local6] = undefined;
delete _local4.properties[_local6];
};
};
_tweenList.push(_local4);
return ((_tweenList.length - 1));
}
public static function resumeTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj;
var _local3:Number;
_local2 = _tweenList[_arg1];
if ((((_local2 == null)) || (!(_local2.isPaused)))){
return (false);
};
_local3 = getCurrentTweeningTime(_local2);
_local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused));
_local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused));
_local2.timePaused = undefined;
_local2.isPaused = false;
return (true);
}
public static function getVersion():String{
return ("AS3 1.33.74");
}
public static function onEnterFrame(_arg1:Event):void{
var _local2:Boolean;
updateTime();
updateFrame();
_local2 = false;
_local2 = updateTweens();
if (!_local2){
stopEngine();
};
}
public static function updateTime():void{
_currentTime = getTimer();
}
private static function updateTweenByIndex(_arg1:Number):Boolean{
var tTweening:TweenListObj;
var isOver:Boolean;
var mustUpdate:Boolean;
var nv:Number;
var t:Number;
var b:Number;
var c:Number;
var d:Number;
var pName:String;
var eventScope:Object;
var tScope:Object;
var cTime:Number;
var tProperty:Object;
var pv:Number;
var i = _arg1;
tTweening = _tweenList[i];
if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){
return (false);
};
isOver = false;
cTime = getCurrentTweeningTime(tTweening);
if (cTime >= tTweening.timeStart){
tScope = tTweening.scope;
if (tTweening.isCaller){
if (!tTweening.hasStarted){
if (Boolean(tTweening.onStart)){
eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope;
try {
tTweening.onStart.apply(eventScope, tTweening.onStartParams);
} catch(e2:Error) {
handleError(tTweening, e2, "onStart");
};
};
tTweening.hasStarted = true;
};
do {
t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1));
b = tTweening.timeStart;
c = (tTweening.timeComplete - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d);
} while (!(cTime >= nv));
} else {
mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates)));
if (cTime >= tTweening.timeComplete){
isOver = true;
mustUpdate = true;
};
if (!tTweening.hasStarted){
if (Boolean(tTweening.onStart)){
eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope;
try {
tTweening.onStart.apply(eventScope, tTweening.onStartParams);
} catch(e2:Error) {
handleError(tTweening, e2, "onStart");
};
};
for (pName in tTweening.properties) {
if (tTweening.properties[pName].isSpecialProperty){
if (Boolean(_specialPropertyList[pName].preProcess)){
tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra);
};
pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
pv = tScope[pName];
};
tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv;
};
mustUpdate = true;
tTweening.hasStarted = true;
};
if (mustUpdate){
for (pName in tTweening.properties) {
tProperty = tTweening.properties[pName];
if (isOver){
nv = tProperty.valueComplete;
} else {
if (tProperty.hasModifier){
t = (cTime - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams);
nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters);
} else {
t = (cTime - tTweening.timeStart);
b = tProperty.valueStart;
c = (tProperty.valueComplete - tProperty.valueStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d, tTweening.transitionParams);
};
};
if (tTweening.rounded){
nv = Math.round(nv);
};
if (tProperty.isSpecialProperty){
_specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
tScope[pName] = nv;
};
};
tTweening.updatesSkipped = 0;
if (Boolean(tTweening.onUpdate)){
eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope;
try {
tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams);
} catch(e3:Error) {
handleError(tTweening, e3, "onUpdate");
};
};
} else {
tTweening.updatesSkipped++;
};
};
if (((isOver) && (Boolean(tTweening.onComplete)))){
eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope;
try {
tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams);
} catch(e4:Error) {
handleError(tTweening, e4, "onComplete");
};
};
return (!(isOver));
};
return (true);
}
public static function setTimeScale(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (isNaN(_arg1)){
_arg1 = 1;
};
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
if (_arg1 != _timeScale){
if (_tweenList != null){
_local2 = 0;
while (_local2 < _tweenList.length) {
_local3 = getCurrentTweeningTime(_tweenList[_local2]);
_tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1));
_tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1));
if (_tweenList[_local2].timePaused != undefined){
_tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1));
};
_local2++;
};
};
_timeScale = _arg1;
};
}
public static function resumeAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
resumeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{
var eventScope:Object;
var pTweening = _arg1;
var pError = _arg2;
var pCallBackName = _arg3;
if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){
eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope;
try {
pTweening.onError.apply(eventScope, [pTweening.scope, pError]);
} catch(metaError:Error) {
printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace()));
};
} else {
if (!Boolean(pTweening.onError)){
printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace()));
};
};
}
private static function startEngine():void{
_engineExists = true;
_tweenList = new Array();
__tweener_controller__ = new MovieClip();
__tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
_currentTimeFrame = 0;
updateTime();
}
public static function removeAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
removeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Number;
var _local5:String;
var _local6:Array;
var _local7:Object;
var _local8:Number;
var _local9:Number;
var _local10:Array;
var _local11:Object;
var _local12:Object;
var _local13:Function;
var _local14:Object;
var _local15:TweenListObj;
var _local16:Number;
var _local17:Array;
var _local18:Array;
var _local19:Array;
var _local20:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local6 = _arg1.concat();
} else {
_local6 = [_arg1];
};
_local7 = TweenListObj.makePropertiesChain(_arg2);
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
_local8 = (isNaN(_local7.time)) ? 0 : _local7.time;
_local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay;
_local10 = new Array();
_local11 = {overwrite:true, time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true};
_local12 = new Object();
for (_local5 in _local7) {
if (!_local11[_local5]){
if (_specialPropertySplitterList[_local5]){
_local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters);
_local3 = 0;
while (_local3 < _local17.length) {
if (_specialPropertySplitterList[_local17[_local3].name]){
_local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters);
_local4 = 0;
while (_local4 < _local18.length) {
_local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false};
_local4++;
};
} else {
_local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false};
};
_local3++;
};
} else {
if (_specialPropertyModifierList[_local5] != undefined){
_local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]);
_local3 = 0;
while (_local3 < _local19.length) {
_local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue};
_local3++;
};
} else {
_local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]};
};
};
};
};
for (_local5 in _local10) {
if (_specialPropertyList[_local5] != undefined){
_local10[_local5].isSpecialProperty = true;
} else {
if (_local6[0][_local5] == undefined){
printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property."));
};
};
};
for (_local5 in _local12) {
if (_local10[_local5] != undefined){
_local10[_local5].modifierParameters = _local12[_local5].modifierParameters;
_local10[_local5].modifierFunction = _local12[_local5].modifierFunction;
};
};
if (typeof(_local7.transition) == "string"){
_local20 = _local7.transition.toLowerCase();
_local13 = _transitionList[_local20];
} else {
_local13 = _local7.transition;
};
if (!Boolean(_local13)){
_local13 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local6.length) {
_local14 = new Object();
for (_local5 in _local10) {
_local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters);
};
if (_local7.useFrames == true){
_local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams);
} else {
_local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams);
};
_local15.properties = _local14;
_local15.onStart = _local7.onStart;
_local15.onUpdate = _local7.onUpdate;
_local15.onComplete = _local7.onComplete;
_local15.onOverwrite = _local7.onOverwrite;
_local15.onError = _local7.onError;
_local15.onStartParams = _local7.onStartParams;
_local15.onUpdateParams = _local7.onUpdateParams;
_local15.onCompleteParams = _local7.onCompleteParams;
_local15.onOverwriteParams = _local7.onOverwriteParams;
_local15.onStartScope = _local7.onStartScope;
_local15.onUpdateScope = _local7.onUpdateScope;
_local15.onCompleteScope = _local7.onCompleteScope;
_local15.onOverwriteScope = _local7.onOverwriteScope;
_local15.onErrorScope = _local7.onErrorScope;
_local15.rounded = _local7.rounded;
_local15.skipUpdates = _local7.skipUpdates;
if (((_local7.overwrite == undefined)) ? autoOverwrite : _local7.overwrite){
removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete);
};
_tweenList.push(_local15);
if ((((_local8 == 0)) && ((_local9 == 0)))){
_local16 = (_tweenList.length - 1);
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
};
_local3++;
};
return (true);
}
public static function registerTransition(_arg1:String, _arg2:Function):void{
if (!_inited){
init();
};
_transitionList[_arg1] = _arg2;
}
public static function printError(_arg1:String):void{
trace(("## [Tweener] Error: " + _arg1));
}
private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{
var _local4:Boolean;
var _local5:uint;
var _local6:Array;
var _local7:uint;
var _local8:uint;
var _local9:uint;
_local4 = false;
if (!Boolean(_tweenList)){
return (false);
};
_local5 = 0;
while (_local5 < _tweenList.length) {
if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){
if (_arg3.length == 0){
_arg1(_local5);
_local4 = true;
} else {
_local6 = new Array();
_local7 = 0;
while (_local7 < _arg3.length) {
if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){
_local6.push(_arg3[_local7]);
};
_local7++;
};
if (_local6.length > 0){
_local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties);
if (_local8 == _local6.length){
_arg1(_local5);
_local4 = true;
} else {
_local9 = splitTweens(_local5, _local6);
_arg1(_local9);
_local4 = true;
};
};
};
};
_local5++;
};
return (_local4);
}
public static function getTweens(_arg1:Object):Array{
var _local2:uint;
var _local3:String;
var _local4:Array;
if (!Boolean(_tweenList)){
return ([]);
};
_local4 = new Array();
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
for (_local3 in _tweenList[_local2].properties) {
_local4.push(_local3);
};
};
_local2++;
};
return (_local4);
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
return (true);
};
_local2++;
};
return (false);
}
public static function pauseTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj;
_local2 = _tweenList[_arg1];
if ((((_local2 == null)) || (_local2.isPaused))){
return (false);
};
_local2.timePaused = getCurrentTweeningTime(_local2);
_local2.isPaused = true;
return (true);
}
public static function getCurrentTweeningTime(_arg1:Object):Number{
return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime);
}
public static function getTweenCount(_arg1:Object):Number{
var _local2:uint;
var _local3:Number;
if (!Boolean(_tweenList)){
return (0);
};
_local3 = 0;
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
_local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties));
};
_local2++;
};
return (_local3);
}
private static function stopEngine():void{
_engineExists = false;
_tweenList = null;
_currentTime = 0;
_currentTimeFrame = 0;
__tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
__tweener_controller__ = null;
}
public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{
var removed:Boolean;
var removedLocally:Boolean;
var i:uint;
var tl:uint;
var pName:String;
var eventScope:Object;
var p_scope = _arg1;
var p_properties = _arg2;
var p_timeStart = _arg3;
var p_timeComplete = _arg4;
removed = false;
tl = _tweenList.length;
i = 0;
while (i < tl) {
if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){
if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){
removedLocally = false;
for (pName in _tweenList[i].properties) {
if (Boolean(p_properties[pName])){
if (Boolean(_tweenList[i].onOverwrite)){
eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope;
try {
_tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[i], e, "onOverwrite");
};
};
_tweenList[i].properties[pName] = undefined;
delete _tweenList[i].properties[pName];
removedLocally = true;
removed = true;
};
};
if (removedLocally){
if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){
removeTweenByIndex(i);
};
};
};
};
i = (i + 1);
};
return (removed);
}
public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{
var _local4:SpecialPropertySplitter;
if (!_inited){
init();
};
_local4 = new SpecialPropertySplitter(_arg2, _arg3);
_specialPropertySplitterList[_arg1] = _local4;
}
public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{
_tweenList[_arg1] = null;
if (_arg2){
_tweenList.splice(_arg1, 1);
};
return (true);
}
public static function resumeTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(resumeTweenByIndex, _arg1, _local3));
}
public static function pauseTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(pauseTweenByIndex, _arg1, _local3));
}
}
}//package caurina.transitions
Section 77
//TweenListObj (caurina.transitions.TweenListObj)
package caurina.transitions {
public class TweenListObj {
public var onUpdate:Function;
public var useFrames:Boolean;
public var hasStarted:Boolean;
public var onOverwriteParams:Array;
public var timeStart:Number;
public var count:Number;
public var timeComplete:Number;
public var onStartParams:Array;
public var onUpdateScope:Object;
public var rounded:Boolean;
public var onUpdateParams:Array;
public var properties:Object;
public var onComplete:Function;
public var transitionParams:Object;
public var updatesSkipped:Number;
public var onStart:Function;
public var onOverwriteScope:Object;
public var skipUpdates:Number;
public var onStartScope:Object;
public var scope:Object;
public var transition:Function;
public var timePaused:Number;
public var onCompleteParams:Array;
public var timesCalled:Number;
public var isCaller:Boolean;
public var onError:Function;
public var onErrorScope:Object;
public var onOverwrite:Function;
public var isPaused:Boolean;
public var waitFrames:Boolean;
public var onCompleteScope:Object;
public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){
scope = _arg1;
timeStart = _arg2;
timeComplete = _arg3;
useFrames = _arg4;
transition = _arg5;
transitionParams = _arg6;
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
public function clone(_arg1:Boolean):TweenListObj{
var _local2:TweenListObj;
var _local3:String;
_local2 = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams);
_local2.properties = new Array();
for (_local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
};
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!_arg1){
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
_local2.onStartScope = onStartScope;
_local2.onUpdateScope = onUpdateScope;
_local2.onCompleteScope = onCompleteScope;
_local2.onOverwriteScope = onOverwriteScope;
_local2.onErrorScope = onErrorScope;
};
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return (_local2);
}
public function toString():String{
var _local1:String;
var _local2:Boolean;
var _local3:String;
_local1 = "\n[TweenListObj ";
_local1 = (_local1 + ("scope:" + String(scope)));
_local1 = (_local1 + ", properties:");
_local2 = true;
for (_local3 in properties) {
if (!_local2){
_local1 = (_local1 + ",");
};
_local1 = (_local1 + ("[name:" + properties[_local3].name));
_local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart));
_local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete));
_local1 = (_local1 + "]");
_local2 = false;
};
_local1 = (_local1 + (", timeStart:" + String(timeStart)));
_local1 = (_local1 + (", timeComplete:" + String(timeComplete)));
_local1 = (_local1 + (", useFrames:" + String(useFrames)));
_local1 = (_local1 + (", transition:" + String(transition)));
_local1 = (_local1 + (", transitionParams:" + String(transitionParams)));
if (skipUpdates){
_local1 = (_local1 + (", skipUpdates:" + String(skipUpdates)));
};
if (updatesSkipped){
_local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped)));
};
if (Boolean(onStart)){
_local1 = (_local1 + (", onStart:" + String(onStart)));
};
if (Boolean(onUpdate)){
_local1 = (_local1 + (", onUpdate:" + String(onUpdate)));
};
if (Boolean(onComplete)){
_local1 = (_local1 + (", onComplete:" + String(onComplete)));
};
if (Boolean(onOverwrite)){
_local1 = (_local1 + (", onOverwrite:" + String(onOverwrite)));
};
if (Boolean(onError)){
_local1 = (_local1 + (", onError:" + String(onError)));
};
if (onStartParams){
_local1 = (_local1 + (", onStartParams:" + String(onStartParams)));
};
if (onUpdateParams){
_local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams)));
};
if (onCompleteParams){
_local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams)));
};
if (onOverwriteParams){
_local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams)));
};
if (onStartScope){
_local1 = (_local1 + (", onStartScope:" + String(onStartScope)));
};
if (onUpdateScope){
_local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope)));
};
if (onCompleteScope){
_local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope)));
};
if (onOverwriteScope){
_local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope)));
};
if (onErrorScope){
_local1 = (_local1 + (", onErrorScope:" + String(onErrorScope)));
};
if (rounded){
_local1 = (_local1 + (", rounded:" + String(rounded)));
};
if (isPaused){
_local1 = (_local1 + (", isPaused:" + String(isPaused)));
};
if (timePaused){
_local1 = (_local1 + (", timePaused:" + String(timePaused)));
};
if (isCaller){
_local1 = (_local1 + (", isCaller:" + String(isCaller)));
};
if (count){
_local1 = (_local1 + (", count:" + String(count)));
};
if (timesCalled){
_local1 = (_local1 + (", timesCalled:" + String(timesCalled)));
};
if (waitFrames){
_local1 = (_local1 + (", waitFrames:" + String(waitFrames)));
};
if (hasStarted){
_local1 = (_local1 + (", hasStarted:" + String(hasStarted)));
};
_local1 = (_local1 + "]\n");
return (_local1);
}
public static function makePropertiesChain(_arg1:Object):Object{
var _local2:Object;
var _local3:Object;
var _local4:Object;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local2 = _arg1.base;
if (_local2){
_local3 = {};
if ((_local2 is Array)){
_local4 = [];
_local8 = 0;
while (_local8 < _local2.length) {
_local4.push(_local2[_local8]);
_local8++;
};
} else {
_local4 = [_local2];
};
_local4.push(_arg1);
_local6 = _local4.length;
_local7 = 0;
while (_local7 < _local6) {
if (_local4[_local7]["base"]){
_local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]);
} else {
_local5 = _local4[_local7];
};
_local3 = AuxFunctions.concatObjects(_local3, _local5);
_local7++;
};
if (_local3["base"]){
delete _local3["base"];
};
return (_local3);
//unresolved jump
};
return (_arg1);
}
}
}//package caurina.transitions
Section 78
//mianmo_mask (mianmo_mask)
package {
import flash.display.*;
public dynamic class mianmo_mask extends MovieClip {
}
}//package
Section 79
//pao_mask (pao_mask)
package {
import flash.display.*;
public dynamic class pao_mask extends MovieClip {
}
}//package