Section 1
//amazingds_435 (_fla.amazingds_435)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class amazingds_435 extends MovieClip {
public function amazingds_435(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 2
//congratulation_434 (_fla.congratulation_434)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class congratulation_434 extends MovieClip {
public function congratulation_434(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 3
//greatjob_423 (_fla.greatjob_423)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class greatjob_423 extends MovieClip {
public function greatjob_423(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 4
//helzp2ef_238 (_fla.helzp2ef_238)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class helzp2ef_238 extends MovieClip {
public function helzp2ef_238(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 5
//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 6
//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 7
//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 8
//hotgamesforgirls_mc_120 (_fla.hotgamesforgirls_mc_120)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class hotgamesforgirls_mc_120 extends MovieClip {
public var logo_btn:SimpleButton;
public function hotgamesforgirls_mc_120(){
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-love-dating-joke.html"), "_blank");
}
}
}//package _fla
Section 9
//howzi_240 (_fla.howzi_240)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class howzi_240 extends MovieClip {
public function howzi_240(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 10
//lianzia_378 (_fla.lianzia_378)
package _fla {
import flash.display.*;
public dynamic class lianzia_378 extends MovieClip {
public var o3_mc:链子3容器;
public var o1_mc:link1con;
public var o2_mc:链子2容器;
public function lianzia_378(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package _fla
Section 11
//MainTimeline (_fla.MainTimeline)
package _fla {
import flash.events.*;
import caurina.transitions.*;
import flash.display.*;
import flash.filters.*;
import core.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var player_pg:MovieClip;
public var hook_mc:MovieClip;
public var cptAi:CptAI;
public var help_ok_btn:SimpleButton;
public var isPassed:Boolean;
public var setting:Array;
public var help_btn:SimpleButton;
public var pass_mc:MovieClip;
public var dragedItem:MovieClip;
public var more_btn:SimpleButton;
public var p10:link_10;
public var p11:link_11;
public var lost_mc:MovieClip;
public var p15:link_15;
public var p16:link_16;
public var p17:link_17;
public var p18:link_18;
public var p19:link_19;
public var p13:link_13;
public var p_icons:MovieClip;
public var player_link:MovieClip;
public var cpt_icons:MovieClip;
public var p12:link_12;
public var p14:link_14;
public var p20:link_20;
public var p21:link_21;
public var p22:link_22;
public var p23:link_23;
public var p25:link_25;
public var p27:link_27;
public var p29:link_29;
public var p24:link_24;
public var p26:link_26;
public var p28:link_28;
public var tpl_mc:MovieClip;
public var p30:link_30;
public var p31:link_31;
public var p32:link_32;
public var p33:link_33;
public var p34:link_34;
public var p35:link_35;
public var p36:link_36;
public var p37:link_37;
public var p38:link_38;
public var p39:link_39;
public var win_mc:MovieClip;
public var overhook_mc:MovieClip;
public var play_btn:SimpleButton;
public var cpt_con:MovieClip;
public var p40:link_40;
public var p41:link_41;
public var p42:link_42;
public var p43:link_43;
public var p45:link_45;
public var p44:link_44;
public var isPaused:Boolean;
public var p46:link_46;
public var 新建符号_55:MovieClip;
public var moreGameURI:String;
public var 新建符号_53:MovieClip;
public var 新建符号_61:MovieClip;
public var 新建符号_64:MovieClip;
public var player_con:MovieClip;
public var 新建符号_75:MovieClip;
public var 新建符号_77:MovieClip;
public var cptItem:MovieClip;
public var hand_mc:MovieClip;
public var ok_btn:SimpleButton;
public var isLost:Boolean;
public var level:int;
public var cpt_pg:MovieClip;
public var cpt_link:MovieClip;
public var answer:Array;
public var p1:link_1;
public var p2:link_2;
public var p3:link_3;
public var p5:link_5;
public var p8:link_8;
public var p9:link_9;
public var p6:link_6;
public var p7:link_7;
public var cptObj:Object;
public var p4:link_4;
public var lang:String;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function pass():void{
show_effect("pass");
isPassed = true;
level++;
no_action();
if (level <= 8){
pass_mc.x = (stage.stageWidth / 2);
pass_mc.y = -500;
Tweener.addTween(pass_mc, {time:0.5, y:(stage.stageHeight / 2)});
} else {
win();
};
}
public function init_level_data():void{
isPassed = false;
isLost = false;
}
public function $(_arg1:MovieClip, _arg2:Function, _arg3:String, _arg4:String="", _arg5:int=1, _arg6:int=-1):void{
var _local7:InteractiveObject;
var _local8:int;
if (_arg6 != -1){
_local8 = _arg5;
while (_local8 <= _arg6) {
_local7 = _arg1[((_arg3 + _local8) + _arg4)];
_arg2.apply(null, [_local7, _local8]);
_local8++;
};
} else {
_local8 = _arg5;
while ((_local7 = _arg1[((_arg3 + _local8) + _arg4)])) {
_arg2.apply(null, [_local7, _local8]);
_local8++;
};
};
}
public function move_icon(_arg1:MouseEvent):void{
dragedItem.x = stage.mouseX;
dragedItem.y = (stage.mouseY - (dragedItem.height / 2));
}
public function help_handler(_arg1:MouseEvent):void{
clear_start();
this.gotoAndStop("help");
}
function frame3(){
stop();
init_help();
}
function frame4(){
stop();
init_game();
}
public function init_start():void{
more_btn.addEventListener(MouseEvent.CLICK, More);
play_btn.addEventListener(MouseEvent.CLICK, play_handler);
help_btn.addEventListener(MouseEvent.CLICK, help_handler);
}
public function no_action():void{
p_icons.mouseChildren = false;
hook_mc.visible = true;
player_link.pause(true);
cpt_link.pause(true);
cptAi.pause(true);
}
function frame1(){
MochiBot.track(this, "c001381a");
lang = "en";
moreGameURI = "http://www.hotgamesforgirls.com/play-venture-on-chocalate.html";
cptObj = {step:1, total:1};
player_link = null;
cpt_link = null;
setting = [undefined, {cptSpeed:3}, {cptSpeed:3.2}, {cptSpeed:3.4}, {cptSpeed:3.6}, {cptSpeed:3.6}, {cptSpeed:3.6}, {cptSpeed:3.6}, {cptSpeed:4}];
stop();
}
function frame2(){
stop();
init_start();
}
public function stop_icon(_arg1:MouseEvent):void{
stage.removeEventListener(MouseEvent.MOUSE_MOVE, move_icon);
stage.removeEventListener(MouseEvent.MOUSE_UP, stop_icon);
player_link.add_obj(dragedItem);
}
public function icon_down(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
removeLight(_local2);
dragedItem = get_linked(_local2);
stage.addEventListener(MouseEvent.MOUSE_MOVE, move_icon);
stage.addEventListener(MouseEvent.MOUSE_UP, stop_icon);
}
public function retry_handler(_arg1:MouseEvent):void{
lost_mc.y = -500;
player_link.reset();
cpt_link.reset();
init_level();
}
public function get_id(_arg1:String, _arg2:int=1):int{
var _local3:Array;
_local3 = _arg1.split("_");
return (int(_local3[_arg2]));
}
public function icon_over(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
addLight(_local2);
}
public function clear_game():void{
}
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_help():void{
help_ok_btn.addEventListener(MouseEvent.CLICK, help_ok_handler);
}
public function removeLight(_arg1:MovieClip):void{
_arg1.removeEventListener(Event.ENTER_FRAME, lightHandler);
_arg1.filters = [];
}
public function show_effect(_arg1:String):void{
var _local2:Class;
var _local3:Sound;
_local2 = (ApplicationDomain.currentDomain.getDefinition(_arg1) as Class);
_local3 = (new (_local2) as Sound);
_local3.play();
}
public function update_progress(_arg1:Event):void{
var _local2:MovieClip;
var _local3:Array;
var _local4:MovieClip;
_local2 = (_arg1.target as MovieClip);
_local3 = _local2.get_list();
if (_local2 == player_link){
_local4 = player_pg;
} else {
_local4 = cpt_pg;
cptAi.fetch_next();
};
tick_progress(_local4, _local3);
}
public function replay_handler(_arg1:MouseEvent):void{
clear_game();
this.gotoAndStop("start");
}
public function get_linked(_arg1:MovieClip):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (ApplicationDomain.currentDomain.getDefinition(getQualifiedClassName(_arg1)) as Class);
_local3 = (new (_local2) as MovieClip);
_local3.x = stage.mouseX;
_local3.y = (stage.mouseY - (_local3.height / 2));
addChild(_local3);
return (_local3);
}
public function icon_out(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
removeLight(_local2);
}
public function tick_progress(_arg1:MovieClip, _arg2:Array):void{
var _local3:String;
var _local4:String;
if (((isPassed) || (isLost))){
return;
};
if (_arg2.length == 0){
_arg1.set_progress(0);
return;
};
_local3 = (("#" + _arg2.join("#")) + "#");
_local4 = (("#" + answer.join("#")) + "#");
if (_local4.indexOf(_local3) != -1){
_arg1.set_progress((_arg2.length / answer.length));
if (_arg2.length == answer.length){
overhook_mc.visible = true;
if (_arg1 == player_pg){
pass();
} else {
lost();
};
};
};
}
public function play_handler(_arg1:MouseEvent):void{
clear_start();
this.gotoAndStop("game");
}
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 lost():void{
show_effect("lost");
no_action();
isLost = true;
lost_mc.x = (stage.stageWidth / 2);
lost_mc.y = -500;
Tweener.addTween(lost_mc, {time:0.5, y:(stage.stageHeight / 2)});
}
public function nextLevel_handler(_arg1:MouseEvent):void{
pass_mc.y = -500;
player_link.reset();
cpt_link.reset();
init_level();
}
public function More(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(moreGameURI), "_blank");
}
public function init_game_data():void{
level = 1;
cptAi = new CptAI(this);
}
public function init_level_ui():void{
overhook_mc.visible = false;
player_pg.set_progress(0);
cpt_pg.set_progress(0);
tpl_mc.x = (tpl_mc.x - 30);
Tweener.addTween(tpl_mc, {time:0.3, x:(tpl_mc.x + 30), transition:"easeOutElastic", onComplete:function (){
tpl_mc.gotoAndStop(level);
}});
hook_mc.visible = true;
ok_btn.visible = true;
if (level == 3){
player_con.gotoAndStop(2);
cpt_con.gotoAndStop(2);
} else {
if (level == 5){
player_con.gotoAndStop(3);
cpt_con.gotoAndStop(3);
};
};
}
public function init_level():void{
init_level_data();
init_level_ui();
}
public function start_game():void{
p_icons.mouseChildren = true;
cptAi.start(setting[level].cptSpeed);
}
public function help_ok_handler(_arg1:MouseEvent):void{
help_ok_btn.removeEventListener(MouseEvent.CLICK, help_ok_handler);
removeChild(help_ok_btn);
help_ok_btn = null;
this.gotoAndStop("game");
}
public function init_game_ui():void{
tpl_mc.gotoAndStop(level);
overhook_mc.visible = false;
ok_btn.visible = true;
}
public function init_game():void{
init_game_data();
init_level_data();
init_game_ui();
append_events();
}
public function append_events():void{
$(p_icons, function (_arg1:MovieClip, _arg2:int):void{
_arg1.mouseChildren = false;
_arg1.buttonMode = true;
_arg1.lightColor = 0xFFFFFF;
_arg1.initData = {sx:_arg1.scaleX, sy:_arg1.scaleY};
_arg1.addEventListener(MouseEvent.ROLL_OUT, icon_out);
_arg1.addEventListener(MouseEvent.ROLL_OVER, icon_over);
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, icon_down);
}, "p_");
ok_btn.addEventListener(MouseEvent.CLICK, ok_handler);
lost_mc.try_btn.addEventListener(MouseEvent.CLICK, retry_handler);
pass_mc.next_btn.addEventListener(MouseEvent.CLICK, nextLevel_handler);
win_mc.replay_btn.addEventListener(MouseEvent.CLICK, replay_handler);
}
public function init_answer(_arg1:MovieClip):void{
var _local2:int;
var _local3:Array;
var _local4:DisplayObject;
var _local5:int;
answer = [];
_local2 = _arg1.numChildren;
_local3 = [];
_local5 = 0;
while (_local5 < _local2) {
_local4 = _arg1.getChildAt(_local5);
_local3[_local5] = {def:getQualifiedClassName(_local4), x:_local4.x};
_local5++;
};
_local3.sortOn("x", Array.NUMERIC);
_local5 = 0;
while (_local5 < _local2) {
answer[_local5] = _local3[_local5].def;
_local5++;
};
}
public function register_container(_arg1:MovieClip):void{
if (_arg1.parent.name == "player_con"){
player_link = _arg1;
} else {
cpt_link = _arg1;
};
_arg1.addEventListener("motion_over", update_progress);
}
public function clear_start():void{
play_btn.removeEventListener(MouseEvent.CLICK, play_handler);
help_btn.removeEventListener(MouseEvent.CLICK, help_handler);
removeChild(play_btn);
play_btn = null;
removeChild(help_btn);
help_btn = null;
}
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 win():void{
win_mc.x = (stage.stageWidth / 2);
win_mc.y = -500;
Tweener.addTween(win_mc, {time:0.5, y:(stage.stageHeight / 2)});
}
public function ok_handler(_arg1:MouseEvent):void{
ok_btn.visible = false;
hook_mc.visible = false;
start_game();
}
}
}//package _fla
Section 12
//notbad_405 (_fla.notbad_405)
package _fla {
import flash.display.*;
public dynamic class notbad_405 extends MovieClip {
public var try_btn:SimpleButton;
}
}//package _fla
Section 13
//notgood_412 (_fla.notgood_412)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class notgood_412 extends MovieClip {
public function notgood_412(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 14
//passmc_416 (_fla.passmc_416)
package _fla {
import flash.display.*;
public dynamic class passmc_416 extends MovieClip {
public var next_btn:SimpleButton;
}
}//package _fla
Section 15
//pgbars_389 (_fla.pgbars_389)
package _fla {
import flash.display.*;
import flash.geom.*;
public dynamic class pgbars_389 extends MovieClip {
public var colors:Array;
public var value:Number;
public var g:Graphics;
public var w:Number;
public var h:Number;
public var matri:Matrix;
public var radius:Number;
public var pbar_mc:MovieClip;
public var ratios:Array;
public var alphas:Array;
public function pgbars_389(){
addFrameScript(0, frame1);
}
public function set_progress(_arg1:Number):void{
var _local2:Number;
_arg1 = Math.max(0, Math.min(1, _arg1));
_local2 = (w * _arg1);
matri.createGradientBox(_local2, h, (Math.PI / 2));
g.clear();
g.beginGradientFill(GradientType.LINEAR, colors, alphas, ratios, matri, SpreadMethod.PAD);
g.drawRoundRect(0, 0, _local2, h, radius);
g.endFill();
}
function frame1(){
w = 86;
h = 7;
colors = [16023983, 15356647];
alphas = [100, 100];
ratios = [0, 0xFF];
matri = new Matrix();
radius = 10;
pbar_mc.removeChildAt(0);
g = pbar_mc.graphics;
value = 0;
set_progress(0);
}
}
}//package _fla
Section 16
//rulezi_239 (_fla.rulezi_239)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class rulezi_239 extends MovieClip {
public function rulezi_239(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 17
//Timeline_108 (_fla.Timeline_108)
package _fla {
import flash.display.*;
public dynamic class Timeline_108 extends MovieClip {
public function Timeline_108(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package _fla
Section 18
//Timeline_110 (_fla.Timeline_110)
package _fla {
import flash.display.*;
public dynamic class Timeline_110 extends MovieClip {
public function Timeline_110(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package _fla
Section 19
//Timeline_126 (_fla.Timeline_126)
package _fla {
import flash.display.*;
public dynamic class Timeline_126 extends MovieClip {
public var 新建符号_10:MovieClip;
public var 新建符号_11:MovieClip;
public var 新建符号_13:MovieClip;
public var 新建符号_14:MovieClip;
public var 新建符号_17:MovieClip;
public var 新建符号_12:MovieClip;
public var 新建符号_15:MovieClip;
public var 新建符号_16:MovieClip;
public var 新建符号_18:MovieClip;
public var 新建符号_19:MovieClip;
public var 新建符号_21:MovieClip;
public var 新建符号_22:MovieClip;
public var 新建符号_23:MovieClip;
public var 新建符号_24:MovieClip;
public var 新建符号_25:MovieClip;
public var 新建符号_26:MovieClip;
public var 新建符号_20:MovieClip;
public var 新建符号_29:MovieClip;
public var 新建符号_27:MovieClip;
public var 新建符号_28:MovieClip;
public var 新建符号_30:MovieClip;
public var 新建符号_31:MovieClip;
public var 新建符号_32:MovieClip;
public var 新建符号_33:MovieClip;
public var 新建符号_34:MovieClip;
public var 新建符号_35:MovieClip;
public var 新建符号_36:MovieClip;
public var 新建符号_37:MovieClip;
public var 新建符号_38:MovieClip;
public var 新建符号_39:MovieClip;
public var 新建符号_40:MovieClip;
public var 新建符号_41:MovieClip;
public var 新建符号_43:MovieClip;
public var 新建符号_44:MovieClip;
public var 新建符号_45:MovieClip;
public var 新建符号_46:MovieClip;
public var 新建符号_47:MovieClip;
public var 新建符号_48:MovieClip;
public var 新建符号_42:MovieClip;
public var 新建符号_3:MovieClip;
public var 新建符号_7:MovieClip;
public var 新建符号_8:MovieClip;
public var 新建符号_9:MovieClip;
public var 新建符号_4:MovieClip;
public var 新建符号_5:MovieClip;
public var 新建符号_6:MovieClip;
}
}//package _fla
Section 20
//Timeline_139 (_fla.Timeline_139)
package _fla {
import flash.display.*;
public dynamic class Timeline_139 extends MovieClip {
public var 新建符号_2:MovieClip;
}
}//package _fla
Section 21
//Timeline_190 (_fla.Timeline_190)
package _fla {
import flash.display.*;
public dynamic class Timeline_190 extends MovieClip {
public var 新符号_6:MovieClip;
}
}//package _fla
Section 22
//Timeline_192 (_fla.Timeline_192)
package _fla {
import flash.display.*;
public dynamic class Timeline_192 extends MovieClip {
public var 新符号_3:MovieClip;
}
}//package _fla
Section 23
//Timeline_194 (_fla.Timeline_194)
package _fla {
import flash.display.*;
public dynamic class Timeline_194 extends MovieClip {
public var 新符号_9:MovieClip;
}
}//package _fla
Section 24
//Timeline_196 (_fla.Timeline_196)
package _fla {
import flash.display.*;
public dynamic class Timeline_196 extends MovieClip {
public var 新符号_8:MovieClip;
}
}//package _fla
Section 25
//Timeline_208 (_fla.Timeline_208)
package _fla {
import flash.display.*;
public dynamic class Timeline_208 extends MovieClip {
public var 钻石:MovieClip;
}
}//package _fla
Section 26
//Timeline_210 (_fla.Timeline_210)
package _fla {
import flash.display.*;
public dynamic class Timeline_210 extends MovieClip {
public var 钻石:MovieClip;
}
}//package _fla
Section 27
//Timeline_211 (_fla.Timeline_211)
package _fla {
import flash.display.*;
public dynamic class Timeline_211 extends MovieClip {
public var 钻石:MovieClip;
}
}//package _fla
Section 28
//Timeline_221 (_fla.Timeline_221)
package _fla {
import flash.display.*;
public dynamic class Timeline_221 extends MovieClip {
public var 新建符号_24:MovieClip;
public var 新建符号_25:MovieClip;
public var 新建符号_22:MovieClip;
public var 新建符号_31:MovieClip;
public var 新建符号_46:MovieClip;
public var 新建符号_42:MovieClip;
}
}//package _fla
Section 29
//Timeline_247 (_fla.Timeline_247)
package _fla {
import flash.display.*;
public dynamic class Timeline_247 extends MovieClip {
public var p_1:link_27;
public var p_2:link_30;
public var p_3:link_33;
public var p_4:link_24;
public var p_5:link_31;
public var p_6:link_23;
public var p_7:link_36;
public var p_8:link_25;
public var p_9:link_29;
public var p_19:link_5;
public var p_13:link_28;
public var p_14:link_32;
public var p_16:link_38;
public var p_17:link_14;
public var p_18:link_6;
public var p_12:link_37;
public var p_15:link_35;
public var p_11:link_26;
public var p_20:link_17;
public var p_21:link_16;
public var p_22:link_8;
public var p_10:link_34;
public var p_24:link_15;
public var p_26:link_16;
public var p_27:link_14;
public var p_28:link_5;
public var p_29:link_15;
public var p_23:link_7;
public var p_25:link_8;
public var p_30:link_17;
public var p_33:link_22;
public var p_34:link_19;
public var p_35:link_42;
public var p_38:link_21;
public var p_39:link_18;
public var p_36:link_45;
public var p_37:link_20;
public var p_32:link_3;
public var p_40:link_44;
public var p_42:link_40;
public var p_44:link_22;
public var p_45:link_11;
public var p_41:link_19;
public var p_43:link_21;
public var p_46:link_41;
public var p_47:link_43;
public var p_48:link_12;
public var p_49:link_10;
public var p_31:link_46;
public var p_50:link_20;
public var p_51:link_13;
public var p_52:link_39;
public var p_53:link_9;
public var p_54:link_11;
public var p_55:link_2;
public var p_56:link_12;
public var p_57:link_10;
public var p_58:link_13;
public var p_59:link_4;
public var p_60:link_9;
public var p_61:link_1;
}
}//package _fla
Section 30
//Timeline_273 (_fla.Timeline_273)
package _fla {
import flash.display.*;
public dynamic class Timeline_273 extends MovieClip {
public var 钻石:MovieClip;
}
}//package _fla
Section 31
//Timeline_275 (_fla.Timeline_275)
package _fla {
import flash.display.*;
public dynamic class Timeline_275 extends MovieClip {
public var 钻石:MovieClip;
}
}//package _fla
Section 32
//Timeline_277 (_fla.Timeline_277)
package _fla {
import flash.display.*;
public dynamic class Timeline_277 extends MovieClip {
public var 钻石:MovieClip;
}
}//package _fla
Section 33
//Timeline_291 (_fla.Timeline_291)
package _fla {
import flash.display.*;
public dynamic class Timeline_291 extends MovieClip {
public var 新建符号_2:MovieClip;
}
}//package _fla
Section 34
//Timeline_309 (_fla.Timeline_309)
package _fla {
import flash.display.*;
public dynamic class Timeline_309 extends MovieClip {
public var 新符号_8:MovieClip;
}
}//package _fla
Section 35
//Timeline_311 (_fla.Timeline_311)
package _fla {
import flash.display.*;
public dynamic class Timeline_311 extends MovieClip {
public var 新符号_9:MovieClip;
}
}//package _fla
Section 36
//Timeline_313 (_fla.Timeline_313)
package _fla {
import flash.display.*;
public dynamic class Timeline_313 extends MovieClip {
public var 新符号_3:MovieClip;
}
}//package _fla
Section 37
//Timeline_315 (_fla.Timeline_315)
package _fla {
import flash.display.*;
public dynamic class Timeline_315 extends MovieClip {
public var 新符号_6:MovieClip;
}
}//package _fla
Section 38
//Timeline_382 (_fla.Timeline_382)
package _fla {
import flash.display.*;
public dynamic class Timeline_382 extends MovieClip {
public var p1:MovieClip;
}
}//package _fla
Section 39
//Timeline_386 (_fla.Timeline_386)
package _fla {
import flash.display.*;
public dynamic class Timeline_386 extends MovieClip {
public var p1:MovieClip;
}
}//package _fla
Section 40
//Timeline_387 (_fla.Timeline_387)
package _fla {
import flash.display.*;
public dynamic class Timeline_387 extends MovieClip {
public var 新建符号_53:MovieClip;
}
}//package _fla
Section 41
//Timeline_407 (_fla.Timeline_407)
package _fla {
import flash.display.*;
public dynamic class Timeline_407 extends MovieClip {
public var 新建符号_2:MovieClip;
public var 新建符号_19:MovieClip;
}
}//package _fla
Section 42
//Timeline_418 (_fla.Timeline_418)
package _fla {
import flash.display.*;
public dynamic class Timeline_418 extends MovieClip {
public var 新建符号_2:MovieClip;
public var 新建符号_19:MovieClip;
}
}//package _fla
Section 43
//Timeline_429 (_fla.Timeline_429)
package _fla {
import flash.display.*;
public dynamic class Timeline_429 extends MovieClip {
public var 新建符号_2:MovieClip;
public var 新建符号_19:MovieClip;
}
}//package _fla
Section 44
//Timeline_91 (_fla.Timeline_91)
package _fla {
import flash.display.*;
public dynamic class Timeline_91 extends MovieClip {
public function Timeline_91(){
addFrameScript(41, frame42);
}
function frame42(){
stop();
}
}
}//package _fla
Section 45
//Timeline_95 (_fla.Timeline_95)
package _fla {
import flash.display.*;
public dynamic class Timeline_95 extends MovieClip {
public var 新建符号_2:MovieClip;
public var 新建符号_19:MovieClip;
}
}//package _fla
Section 46
//title_107 (_fla.title_107)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class title_107 extends MovieClip {
public function title_107(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(root).lang);
}
}
}//package _fla
Section 47
//tpl_lianzi_396 (_fla.tpl_lianzi_396)
package _fla {
import flash.display.*;
public dynamic class tpl_lianzi_396 extends MovieClip {
public var 新建符号_53:MovieClip;
public function tpl_lianzi_396(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package _fla
Section 48
//tpl1_397 (_fla.tpl1_397)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl1_397 extends MovieClip {
public var p17:link_17;
public var p10:link_10;
public var p5:link_5;
public var p44:link_44;
public function tpl1_397(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 49
//tpl2_398 (_fla.tpl2_398)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl2_398 extends MovieClip {
public var p11:link_11;
public var p13:link_13;
public var p37:link_37;
public var p43:link_43;
public function tpl2_398(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 50
//tpl3_399 (_fla.tpl3_399)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl3_399 extends MovieClip {
public var p23:link_23;
public var p27:link_27;
public var p3:link_3;
public function tpl3_399(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 51
//tpl4_400 (_fla.tpl4_400)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl4_400 extends MovieClip {
public var p24:link_24;
public var p5:link_5;
public var p9:link_9;
public var p37:link_37;
public function tpl4_400(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 52
//tpl5_401 (_fla.tpl5_401)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl5_401 extends MovieClip {
public var p40:link_40;
public var p23:link_23;
public var p25:link_25;
public var p9:link_9;
public function tpl5_401(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 53
//tpl6_402 (_fla.tpl6_402)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl6_402 extends MovieClip {
public var p23:link_23;
public var p26:link_26;
public var p1:link_1;
public var p4:link_4;
public var p37:link_37;
public function tpl6_402(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 54
//tpl7_403 (_fla.tpl7_403)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl7_403 extends MovieClip {
public var p10:link_10;
public var p15:link_15;
public var p2:link_2;
public var p4:link_4;
public var p41:link_41;
public function tpl7_403(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 55
//tpl8_404 (_fla.tpl8_404)
package _fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tpl8_404 extends MovieClip {
public var p12:link_12;
public var p18:link_18;
public var p13:link_13;
public var p27:link_27;
public var p31:link_31;
public var p37:link_37;
public function tpl8_404(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).init_answer(this);
}
}
}//package _fla
Section 56
//winmc_427 (_fla.winmc_427)
package _fla {
import flash.display.*;
public dynamic class winmc_427 extends MovieClip {
public var replay_btn:SimpleButton;
}
}//package _fla
Section 57
//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 58
//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 59
//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 60
//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 61
//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 62
//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 63
//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 64
//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 65
//CptAI (core.CptAI)
package core {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
import flash.system.*;
public class CptAI extends EventDispatcher {
private const STEP_GO:int = 1;
private const STEP_BACK:int = 2;
private var icons:MovieClip;
private var list:Array;
private var dict:Object;
private var main:MovieClip;
private var entryPoint:Point;
private var step:int;
private var speed:Number;
private var index:int;
private var movedItem:MovieClip;
private var itemObj:Object;
private var hand:MovieClip;
private var speedX:Number;
private var speedY:Number;
private var isPaused:Boolean;// = false
private var targetPoint:Point;
public function CptAI(_arg1:MovieClip):void{
isPaused = false;
super();
main = _arg1;
hand = main.hand_mc;
icons = main.cpt_icons;
dict = {};
init_dict();
}
private function init_dict():void{
var _local1:DisplayObject;
var _local2:int;
dict = {};
_local2 = 1;
while ((_local1 = icons[("p_" + _local2)])) {
dict[getQualifiedClassName(_local1)] = {x:_local1.x, y:_local1.y};
_local2++;
};
}
private function before_move():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
targetPoint.x = (Math.round((targetPoint.x * 100)) / 100);
targetPoint.y = (Math.round((targetPoint.y * 100)) / 100);
hand.x = (Math.round((hand.x * 100)) / 100);
hand.y = (Math.round((hand.y * 100)) / 100);
_local1 = Math.atan2((targetPoint.y - hand.y), (targetPoint.x - hand.x));
_local2 = (targetPoint.x - hand.x);
_local3 = (targetPoint.y - hand.y);
speedY = (speed * Math.sin(_local1));
speedX = (speed * Math.cos(_local1));
speedY = (Math.round((speedY * 100)) / 100);
speedX = (Math.round((speedX * 100)) / 100);
hand.addEventListener(Event.ENTER_FRAME, move);
}
private function next_step():void{
if (step == STEP_GO){
step = STEP_BACK;
movedItem = add_link();
targetPoint = entryPoint.clone();
before_move();
} else {
main.cpt_link.add_obj(movedItem);
index++;
};
}
public function fetch_next():void{
if (index == list.length){
return;
};
itemObj = {};
itemObj.def = list[index];
itemObj.x = dict[list[index]].x;
itemObj.y = dict[list[index]].y;
targetPoint = new Point(itemObj.x, itemObj.y);
targetPoint = icons.localToGlobal(targetPoint);
step = STEP_GO;
movedItem = null;
before_move();
}
private function add_link():MovieClip{
var _local1:Class;
var _local2:MovieClip;
_local1 = (ApplicationDomain.currentDomain.getDefinition(itemObj.def) as Class);
_local2 = new (_local1);
_local2.x = hand.x;
_local2.y = hand.y;
main.addChildAt(_local2, main.getChildIndex(hand));
return (_local2);
}
private function move(_arg1:Event):void{
if (isPaused){
return;
};
hand.x = (hand.x + speedX);
hand.y = (hand.y + speedY);
hand.x = (Math.round((hand.x * 100)) / 100);
hand.y = (Math.round((hand.y * 100)) / 100);
if (movedItem){
movedItem.x = hand.x;
movedItem.y = (hand.y - 20);
};
if (Point.distance(targetPoint, new Point(hand.x, hand.y)) <= (speed + 0.1)){
hand.x = targetPoint.x;
hand.y = targetPoint.y;
hand.removeEventListener(Event.ENTER_FRAME, move);
next_step();
};
}
public function start(_arg1:Number=2):void{
isPaused = false;
speed = _arg1;
list = main.answer.concat();
index = 0;
if (main.level < 5){
list.reverse();
};
entryPoint = new Point(main.cpt_link.entry_mc.p1.x, main.cpt_link.entry_mc.p1.y);
entryPoint = main.cpt_link.entry_mc.localToGlobal(entryPoint);
fetch_next();
}
public function pause(_arg1:Boolean):void{
isPaused = _arg1;
}
}
}//package core
Section 66
//LinkCon (core.LinkCon)
package core {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public dynamic class LinkCon extends MovieClip {
private var updateArr:Array;
private var goCount:Number;
private var goOnAngle:Number;
private var angleSpeed:Number;// = 0.15707963267949
private var b:Number;
private var a:Number;
private var cx:Number;
private var cy:Number;
public var entry_mc:MovieClip;
private var _idle:Boolean;// = true
private var oc:Sprite;
private var newItem:MovieClip;
public var c_mc:MovieClip;
private var isPaused:Boolean;// = false
public function LinkCon():void{
_idle = true;
angleSpeed = (Math.PI / 20);
updateArr = [];
isPaused = false;
super();
if (stage){
init();
} else {
addEventListener(Event.ADDED_TO_STAGE, init);
};
}
private function find_ep(_arg1:MovieClip):DisplayObject{
var _local2:int;
var _local3:int;
_local2 = entry_mc.numChildren;
_local3 = 0;
while (_local3 < _local2) {
if (_arg1.hitTestObject(entry_mc.getChildAt(_local3))){
return (entry_mc.getChildAt(_local3));
};
_local3++;
};
return (null);
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.ADDED_TO_STAGE, init);
addEventListener(Event.REMOVED_FROM_STAGE, onRemoved);
c_mc.visible = false;
entry_mc.visible = false;
cx = c_mc.x;
cy = c_mc.y;
a = (c_mc.width / 2);
b = (c_mc.height / 2);
oc = new Sprite();
oc.x = (oc.y = 0);
addChild(oc);
MovieClip(root).register_container(this);
}
private function release_idle():void{
_idle = true;
this.dispatchEvent(new Event("motion_over"));
}
private function go_on_rotate():void{
var _local1:Number;
var _local2:Number;
var _local3:MovieClip;
var _local4:int;
_local1 = get_angle_by_length(newItem.nw, (newItem.nh / 2));
_local1 = (_local1 / 2);
goOnAngle = _local1;
_local2 = angleSpeed;
if (newItem.angleSpeed < 0){
_local1 = -(_local1);
_local2 = -(_local2);
};
goCount = 0;
_local4 = 0;
while (_local4 < oc.numChildren) {
_local3 = (oc.getChildAt(_local4) as MovieClip);
_local3.maxLastAngle = (_local3.lastAngle + _local1);
_local3.angleSpeed = _local2;
_local4++;
};
oc.addEventListener(Event.ENTER_FRAME, go_on);
}
private function find_max_angle():Number{
var _local1:int;
var _local2:Number;
var _local3:MovieClip;
var _local4:int;
var _local5:Number;
var _local6:Number;
if (oc.numChildren == 0){
return ((Math.PI / 2));
};
_local1 = 0;
_local2 = 0;
_local4 = oc.numChildren;
while (_local1 < _local4) {
_local3 = (oc.getChildAt(_local1) as MovieClip);
_local2 = (_local2 + get_angle_by_length(_local3.nw, (_local3.nh / 2)));
_local1++;
};
_local2 = (_local2 / 2);
_local5 = _local2;
_local6 = (get_angle_by_length(newItem.nw, (newItem.nh / 2)) / 2);
return (((Math.PI / 2) - (_local5 + _local6)));
}
public function add_obj(_arg1:MovieClip):void{
var _local2:DisplayObject;
if (!idle){
_arg1.parent.removeChild(_arg1);
_arg1 = null;
return;
};
_local2 = find_ep(_arg1);
if (_local2 == null){
_arg1.parent.removeChild(_arg1);
_arg1 = null;
return;
};
newItem = _arg1;
newItem.nw = _arg1.width;
newItem.nh = _arg1.height;
newItem.lastAngle = 0;
newItem.angleSpeed = angleSpeed;
newItem.maxLastAngle = find_max_angle();
updateArr = [_arg1];
_idle = false;
if (_local2.x < -5){
oc.addChildAt(newItem, 0);
} else {
oc.addChild(newItem);
};
newItem.mouseChildren = false;
newItem.buttonMode = true;
newItem.addEventListener(MouseEvent.CLICK, remove_obj);
oc.addEventListener(Event.ENTER_FRAME, tick);
}
public function reset():void{
var _local1:MovieClip;
isPaused = false;
oc.removeEventListener(Event.ENTER_FRAME, tick);
oc.removeEventListener(Event.ENTER_FRAME, go_on);
_idle = true;
while (oc.numChildren) {
_local1 = (oc.getChildAt(0) as MovieClip);
_local1.removeEventListener(MouseEvent.CLICK, remove_obj);
oc.removeChild(_local1);
_local1 = null;
};
}
private function get_angle_by_entry():Number{
var _local1:Number;
_local1 = Math.atan2((entry_mc.y - cy), (entry_mc.x - cx));
if (_local1 < 0){
_local1 = (_local1 + (Math.PI * 2));
};
return (_local1);
}
function onRemoved(_arg1:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, onRemoved);
}
private function get_angle_by_length(_arg1:Number, _arg2:Number=12):Number{
var _local3:Number;
var _local4:Number;
_local3 = (Math.PI * (a + _arg2));
_local4 = ((_arg1 / _local3) * Math.PI);
return (_local4);
}
private function tick(_arg1:Event):void{
if (isPaused){
return;
};
update_item(newItem);
if (Math.abs((newItem.lastAngle - newItem.maxLastAngle)) < 0.0001){
oc.removeEventListener(Event.ENTER_FRAME, tick);
if (oc.numChildren > 1){
go_on_rotate();
} else {
release_idle();
};
};
}
private function remove_obj(_arg1:MouseEvent):void{
var _local2:MovieClip;
var _local3:int;
var _local4:Number;
var _local5:int;
var _local6:MovieClip;
var _local7:int;
if (!idle){
return;
};
_idle = true;
_local2 = (_arg1.currentTarget as MovieClip);
_local3 = oc.getChildIndex(_local2);
_local2.removeEventListener(MouseEvent.CLICK, remove_obj);
_local4 = (get_angle_by_length(_local2.nw, (_local2.nh / 2)) / 2);
oc.removeChild(_local2);
_local2 = null;
_local5 = oc.numChildren;
goCount = 0;
goOnAngle = _local4;
_local7 = 0;
while (_local7 < _local3) {
_local6 = (oc.getChildAt(_local7) as MovieClip);
(oc.getChildAt(_local7) as MovieClip).maxLastAngle = (_local6.lastAngle - _local4);
_local6.angleSpeed = -(angleSpeed);
_local7++;
};
while (_local7 < _local5) {
_local6 = (oc.getChildAt(_local7) as MovieClip);
(oc.getChildAt(_local7) as MovieClip).maxLastAngle = (_local6.lastAngle + _local4);
_local6.angleSpeed = angleSpeed;
_local7++;
};
oc.addEventListener(Event.ENTER_FRAME, go_on);
}
private function update_item(_arg1:MovieClip):void{
_arg1.lastAngle = (_arg1.lastAngle + _arg1.angleSpeed);
if (_arg1.angleSpeed < 0){
_arg1.lastAngle = Math.max(_arg1.lastAngle, _arg1.maxLastAngle);
} else {
_arg1.lastAngle = Math.min(_arg1.lastAngle, _arg1.maxLastAngle);
};
_arg1.x = (cx + (a * Math.cos(_arg1.lastAngle)));
_arg1.y = (cy + (b * Math.sin(_arg1.lastAngle)));
_arg1.rotation = (((Math.atan2((cy - _arg1.y), (cx - _arg1.x)) / Math.PI) * 180) + 90);
}
private function go_on(_arg1:Event):void{
var _local2:int;
var _local3:int;
if (isPaused){
return;
};
goCount = (goCount + angleSpeed);
_local2 = oc.numChildren;
_local3 = 0;
while (_local3 < _local2) {
update_item((oc.getChildAt(_local3) as MovieClip));
_local3++;
};
if (goCount >= goOnAngle){
oc.removeEventListener(Event.ENTER_FRAME, go_on);
release_idle();
};
}
public function get idle():Boolean{
return (_idle);
}
public function get_list():Array{
var _local1:Array;
var _local2:int;
var _local3:int;
_local1 = [];
_local2 = oc.numChildren;
_local3 = 0;
while (_local3 < _local2) {
_local1[_local3] = getQualifiedClassName(oc.getChildAt(_local3));
_local3++;
};
return (_local1.concat());
}
public function pause(_arg1:Boolean):void{
isPaused = _arg1;
}
}
}//package core
Section 67
//BGMusic (ui.BGMusic)
package ui {
import flash.events.*;
import flash.display.*;
import flash.media.*;
public class BGMusic extends MovieClip {
private static var channel:SoundChannel = null;
private static var position:Number = 0;
private static var soundPlay:Boolean = true;
private static var sound:Sound = null;
private static var soundDef:Class;
public function BGMusic(){
this.mouseChildren = false;
this.buttonMode = true;
if (stage){
init();
} else {
addEventListener(Event.ENTER_FRAME, init);
};
this.addEventListener(MouseEvent.CLICK, toggleSound);
}
private function closeSound():void{
soundPlay = false;
this.gotoAndStop(2);
if (channel){
position = channel.position;
channel.stop();
channel.removeEventListener(Event.SOUND_COMPLETE, onComplete);
};
channel = null;
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.ENTER_FRAME, init);
if (!sound){
sound = (new bg_sound() as Sound);
};
if (soundPlay){
showSound();
} else {
closeSound();
};
}
private function showSound():void{
soundPlay = true;
this.gotoAndStop(1);
if (channel){
channel.removeEventListener(Event.SOUND_COMPLETE, onComplete);
channel.stop();
};
channel = sound.play(position, 0, new SoundTransform(0.8));
channel.addEventListener(Event.SOUND_COMPLETE, onComplete);
}
private function toggleSound(_arg1:MouseEvent):void{
if (soundPlay){
closeSound();
} else {
showSound();
};
}
private function onRemoved(_arg1:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, onRemoved);
this.removeEventListener(MouseEvent.CLICK, toggleSound);
if (soundPlay){
closeSound();
soundPlay = true;
};
}
public function change_sound(_arg1:Class):void{
}
public static function set_def(_arg1:Class){
soundDef = _arg1;
position = 0;
sound = (new (_arg1) as Sound);
if (channel){
channel.stop();
channel = sound.play();
channel.addEventListener(Event.SOUND_COMPLETE, onComplete);
};
}
public static function onComplete(_arg1:Event):void{
if (channel){
channel.stop();
};
position = 0;
channel = sound.play(position, 0, new SoundTransform(0.8));
channel.addEventListener(Event.SOUND_COMPLETE, onComplete);
}
}
}//package ui
Section 68
//bg_sound (bg_sound)
package {
import flash.media.*;
public dynamic class bg_sound extends Sound {
}
}//package
Section 69
//link_1 (link_1)
package {
import flash.display.*;
public dynamic class link_1 extends MovieClip {
public var 新建符号_55:MovieClip;
}
}//package
Section 70
//link_10 (link_10)
package {
import flash.display.*;
public dynamic class link_10 extends MovieClip {
public var 新建符号_88:MovieClip;
}
}//package
Section 71
//link_11 (link_11)
package {
import flash.display.*;
public dynamic class link_11 extends MovieClip {
public var 新建符号_89:MovieClip;
}
}//package
Section 72
//link_12 (link_12)
package {
import flash.display.*;
public dynamic class link_12 extends MovieClip {
public var 新建符号_90:MovieClip;
}
}//package
Section 73
//link_13 (link_13)
package {
import flash.display.*;
public dynamic class link_13 extends MovieClip {
public var 新建符号_91:MovieClip;
}
}//package
Section 74
//link_14 (link_14)
package {
import flash.display.*;
public dynamic class link_14 extends MovieClip {
public var 新建符号_83:MovieClip;
}
}//package
Section 75
//link_15 (link_15)
package {
import flash.display.*;
public dynamic class link_15 extends MovieClip {
public var 新建符号_84:MovieClip;
}
}//package
Section 76
//link_16 (link_16)
package {
import flash.display.*;
public dynamic class link_16 extends MovieClip {
public var 新建符号_85:MovieClip;
}
}//package
Section 77
//link_17 (link_17)
package {
import flash.display.*;
public dynamic class link_17 extends MovieClip {
public var 新建符号_86:MovieClip;
}
}//package
Section 78
//link_18 (link_18)
package {
import flash.display.*;
public dynamic class link_18 extends MovieClip {
public var 新建符号_78:MovieClip;
}
}//package
Section 79
//link_19 (link_19)
package {
import flash.display.*;
public dynamic class link_19 extends MovieClip {
public var 新建符号_79:MovieClip;
}
}//package
Section 80
//link_2 (link_2)
package {
import flash.display.*;
public dynamic class link_2 extends MovieClip {
public var 新建符号_54:MovieClip;
}
}//package
Section 81
//link_20 (link_20)
package {
import flash.display.*;
public dynamic class link_20 extends MovieClip {
public var 新建符号_80:MovieClip;
}
}//package
Section 82
//link_21 (link_21)
package {
import flash.display.*;
public dynamic class link_21 extends MovieClip {
public var 新建符号_81:MovieClip;
}
}//package
Section 83
//link_22 (link_22)
package {
import flash.display.*;
public dynamic class link_22 extends MovieClip {
public var 新建符号_82:MovieClip;
}
}//package
Section 84
//link_23 (link_23)
package {
import flash.display.*;
public dynamic class link_23 extends MovieClip {
public var 新建符号_77:MovieClip;
}
}//package
Section 85
//link_24 (link_24)
package {
import flash.display.*;
public dynamic class link_24 extends MovieClip {
public var 新建符号_73:MovieClip;
}
}//package
Section 86
//link_25 (link_25)
package {
import flash.display.*;
public dynamic class link_25 extends MovieClip {
public var 新建符号_74:MovieClip;
}
}//package
Section 87
//link_26 (link_26)
package {
import flash.display.*;
public dynamic class link_26 extends MovieClip {
public var 新建符号_75:MovieClip;
}
}//package
Section 88
//link_27 (link_27)
package {
import flash.display.*;
public dynamic class link_27 extends MovieClip {
public var 新建符号_76:MovieClip;
}
}//package
Section 89
//link_28 (link_28)
package {
import flash.display.*;
public dynamic class link_28 extends MovieClip {
public var 新建符号_69:MovieClip;
}
}//package
Section 90
//link_29 (link_29)
package {
import flash.display.*;
public dynamic class link_29 extends MovieClip {
public var 新建符号_70:MovieClip;
}
}//package
Section 91
//link_3 (link_3)
package {
import flash.display.*;
public dynamic class link_3 extends MovieClip {
public var 新建符号_56:MovieClip;
}
}//package
Section 92
//link_30 (link_30)
package {
import flash.display.*;
public dynamic class link_30 extends MovieClip {
public var 新建符号_71:MovieClip;
}
}//package
Section 93
//link_31 (link_31)
package {
import flash.display.*;
public dynamic class link_31 extends MovieClip {
public var 新建符号_72:MovieClip;
}
}//package
Section 94
//link_32 (link_32)
package {
import flash.display.*;
public dynamic class link_32 extends MovieClip {
public var 新建符号_66:MovieClip;
}
}//package
Section 95
//link_33 (link_33)
package {
import flash.display.*;
public dynamic class link_33 extends MovieClip {
public var 新建符号_67:MovieClip;
}
}//package
Section 96
//link_34 (link_34)
package {
import flash.display.*;
public dynamic class link_34 extends MovieClip {
public var 新建符号_68:MovieClip;
}
}//package
Section 97
//link_35 (link_35)
package {
import flash.display.*;
public dynamic class link_35 extends MovieClip {
public var 新建符号_62:MovieClip;
}
}//package
Section 98
//link_36 (link_36)
package {
import flash.display.*;
public dynamic class link_36 extends MovieClip {
public var 新建符号_63:MovieClip;
}
}//package
Section 99
//link_37 (link_37)
package {
import flash.display.*;
public dynamic class link_37 extends MovieClip {
public var 新建符号_64:MovieClip;
}
}//package
Section 100
//link_38 (link_38)
package {
import flash.display.*;
public dynamic class link_38 extends MovieClip {
public var 新建符号_65:MovieClip;
}
}//package
Section 101
//link_39 (link_39)
package {
import flash.display.*;
public dynamic class link_39 extends MovieClip {
public var 新建符号_60:MovieClip;
}
}//package
Section 102
//link_4 (link_4)
package {
import flash.display.*;
public dynamic class link_4 extends MovieClip {
public var 新建符号_61:MovieClip;
}
}//package
Section 103
//link_40 (link_40)
package {
import flash.display.*;
public dynamic class link_40 extends MovieClip {
public var 新建符号_59:MovieClip;
}
}//package
Section 104
//link_41 (link_41)
package {
import flash.display.*;
public dynamic class link_41 extends MovieClip {
public var 新建符号_58:MovieClip;
}
}//package
Section 105
//link_42 (link_42)
package {
import flash.display.*;
public dynamic class link_42 extends MovieClip {
public var 新建符号_57:MovieClip;
}
}//package
Section 106
//link_43 (link_43)
package {
import flash.display.*;
public dynamic class link_43 extends MovieClip {
public var 新建符号_53:MovieClip;
}
}//package
Section 107
//link_44 (link_44)
package {
import flash.display.*;
public dynamic class link_44 extends MovieClip {
public var 新建符号_52:MovieClip;
}
}//package
Section 108
//link_45 (link_45)
package {
import flash.display.*;
public dynamic class link_45 extends MovieClip {
public var 新建符号_51:MovieClip;
}
}//package
Section 109
//link_46 (link_46)
package {
import flash.display.*;
public dynamic class link_46 extends MovieClip {
public var 新建符号_50:MovieClip;
}
}//package
Section 110
//link_5 (link_5)
package {
import flash.display.*;
public dynamic class link_5 extends MovieClip {
public var 新建符号_95:MovieClip;
}
}//package
Section 111
//link_6 (link_6)
package {
import flash.display.*;
public dynamic class link_6 extends MovieClip {
public var 新建符号_94:MovieClip;
}
}//package
Section 112
//link_7 (link_7)
package {
import flash.display.*;
public dynamic class link_7 extends MovieClip {
public var 新建符号_93:MovieClip;
}
}//package
Section 113
//link_8 (link_8)
package {
import flash.display.*;
public dynamic class link_8 extends MovieClip {
public var 新建符号_92:MovieClip;
}
}//package
Section 114
//link_9 (link_9)
package {
import flash.display.*;
public dynamic class link_9 extends MovieClip {
public var 新建符号_87:MovieClip;
}
}//package
Section 115
//link1con (link1con)
package {
import core.*;
public dynamic class link1con extends LinkCon {
}
}//package
Section 116
//lost (lost)
package {
import flash.media.*;
public dynamic class lost extends Sound {
}
}//package
Section 117
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.system.*;
import flash.net.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 118
//pass (pass)
package {
import flash.media.*;
public dynamic class pass extends Sound {
}
}//package
Section 119
//链子2容器 (链å2容器)
package {
import core.*;
public dynamic class 链子2容器 extends LinkCon {
}
}//package
Section 120
//链子3容器 (链å3容器)
package {
import core.*;
public dynamic class 链子3容器 extends LinkCon {
}
}//package