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

swfchan turned sixteen years old yesterday! (5may2024)

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

Dream Pet Link.swf

This is the info page for
Flash #135601

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


Text
more puzzle games at

more puzzle games at

PLAY THIS GAME AT:

玩此游戏请到:

Speel dit spel op:

Joue à ce jeu sur :

Spiele dieses Spiel auf:

Zagraj w tę grę na:

Spela det här spelet på:

Gioca questo gioco su:

Juega a este juego en:

Jogue este jogo em:

Сыграйте в эту игру
на сайте

Mainkan permainan ini di:

Oyunu bu sitede
oynayabilirsiniz:

Main permainan ini di:

このゲームをプレイ

reset

reset

reset

© www.spilgames.com

© www.spilgames.com

Loading…

MORE FREE ONLINE GAMES AT:

MORE GAMES

MORE GAMES

MORE GAMES

MORE GAMES

START GAME

START GAME

START GAME

NEXT LEVEL

NEXT
LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

NEXT LEVEL

sec.

sec.

<p align="justify"></p>

<p align="right"></p>

<p align="justify"></p>

TIME BONUS

TIME
BONUS

TIME BONUS

TIME BONUS

TIME BONUS

TIME BONUS

TIME BONUS

TIME BONUS

TIME BONUS

TIME BONUS

TIME BONUS

LEVEL SCORE

LEVEL
SCORE

LEVEL SCORE

LEVEL SCORE

LEVEL SCORE

LEVEL SCORE

LEVEL SCORE

LEVEL SCORE

LEVEL SCORE

LEVEL SCORE

GAME OVER

GAME OVER

GAME OVER

GAME OVER

GAME OVER

SCORE

SCORE

SCORE

<p align="left"><font face="Impact" size="26" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>0025</b></font></p>

MORE GAMES

MORE GAMES

MORE GAMES

MORE GAMES

MORE GAMES

<p align="left"></p>

1/9

99999

LEVEL

LEVE
L

LEVEL

LEVEL

Play more puzzle games at

Play more puzzle games at

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

NO MORE MATCHES

ARE YOU SURE?

ARE YOU SURE?

ARE YOU SURE?

YES

YES

No

No

Sound and animal

CONGRATULATIONS!

CONGRATULATIONS!

YOU WIN

YOU WIN

<p align="left"></p>

Credits

Credits

Credits

Credits

<p align="left"></p>

<p align="right"></p>

© 2008

G

A

M

E

S

®

Thank you for playing Dream Pet Link

Thank you for playing Dream
Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Thank you for playing Dream Pet Link

Game concept

Game concept

Art work

Art work

Art work

Art work

Art work

Programming

Programming

Producer

Producer

Project Management

Project Management

Project Management

Music

Music

QA/LQA Testing

QA/LQA Testing

QA/LQA Testing

QA/LQA Testing

QA/LQA Testing

QA/LQA Testing

Sound FX

Sound FX

Special thanks to

Special thanks
to

Special thanks to

Special thanks to

Lu Yuan

Lu
Yuan

Yao Rong

Yao
Rong

Yang Xiao Rong

Yang Xiao
Rong

Niels Walta

Saskia van 't Hoff

zlong music team

zlong music
team

Rico Ku

Rico
Ku

Ma Li Yong

Ma Li Yong

Breath Xue

Breath Xue

Zhang Xiao Ming

Zhang Xiao
Ming

Developed by

Developed
by

Developed
by

Developed by

Developed by

ActionScript [AS3]

Section 1
//loading__10 (dream_pet_link_gamesgames_com_fla.loading__10) package dream_pet_link_gamesgames_com_fla { import flash.display.*; public dynamic class loading__10 extends MovieClip { public function loading__10(){ addFrameScript(100, frame101); } function frame101(){ stop(); } } }//package dream_pet_link_gamesgames_com_fla
Section 2
//loading_3 (dream_pet_link_gamesgames_com_fla.loading_3) package dream_pet_link_gamesgames_com_fla { import flash.display.*; public dynamic class loading_3 extends MovieClip { public var logo_perloader:branding_aligned_center; public var barMc:MovieClip; public var gameportal:spill_group; } }//package dream_pet_link_gamesgames_com_fla
Section 3
//Timeline_26 (dream_pet_link_gamesgames_com_fla.Timeline_26) package dream_pet_link_gamesgames_com_fla { import flash.display.*; public dynamic class Timeline_26 extends MovieClip { public var MovieClip1518:startGameLabel; } }//package dream_pet_link_gamesgames_com_fla
Section 4
//Timeline_79 (dream_pet_link_gamesgames_com_fla.Timeline_79) package dream_pet_link_gamesgames_com_fla { import flash.display.*; public dynamic class Timeline_79 extends MovieClip { public function Timeline_79(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package dream_pet_link_gamesgames_com_fla
Section 5
//Back (fl.motion.easing.Back) package fl.motion.easing { public class Back { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0):Number{ if (!_arg5){ _arg5 = 1.70158; }; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0):Number{ if (!_arg5){ _arg5 = 1.70158; }; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0):Number{ if (!_arg5){ _arg5 = 1.70158; }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2)); }; _arg1 = (_arg1 - 2); _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2)); } } }//package fl.motion.easing
Section 6
//Elastic (fl.motion.easing.Elastic) package fl.motion.easing { public class Elastic { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * 0.3); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) + _arg3) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * 0.3); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; --_arg1; return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * (0.3 * 1.5)); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2)); }; --_arg1; return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) * 0.5) + _arg3) + _arg2)); } } }//package fl.motion.easing
Section 7
//Elastic (fl.transitions.easing.Elastic) package fl.transitions.easing { public class Elastic { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * 0.3); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) + _arg3) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * 0.3); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; --_arg1; return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * (0.3 * 1.5)); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2)); }; --_arg1; return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) * 0.5) + _arg3) + _arg2)); } } }//package fl.transitions.easing
Section 8
//TileMc (game.binding.TileMc) package game.binding { import flash.display.*; import flash.events.*; import zlong.utils.*; import zlong.motion.*; import flash.filters.*; import zlong.events.*; public class TileMc extends Sprite { private var picIndex:int; private var mapArr:Array; private var picBm:Bitmap; private var col:int; private var point:Object; public function TileMc(_arg1:Array=null){ this.mapArr = _arg1; init(); selected = false; } public function init():void{ picBm = new Bitmap(new BitmapData(Data.tileWidth, Data.tileHeight, true, 0)); addChild(picBm); this.addEventListener(MouseEvent.MOUSE_DOWN, clickHandler); this.addEventListener(Event.REMOVED_FROM_STAGE, onRemove); } public function dispose():void{ TweenMax.killDelayedCallsTo(glowTimer); TweenMax.killTweensOf(this); mapArr[point.r][point.l] = 0; name = ((("dispose" + point.r) + "_") + point.l); this.removeEventListener(MouseEvent.MOUSE_DOWN, clickHandler); this.removeEventListener(Event.REMOVED_FROM_STAGE, onRemove); TweenMax.to(this, 0.1, {onComplete:removeFromParent, blurFilter:{blurX:20, blurY:20}}); } public function set selected(_arg1:Boolean):void{ var _local2:Array; if (_arg1){ _local2 = []; _local2[0] = new GlowFilter(0x800000, 1, 10, 10, 2, 1, false); picBm.filters = _local2; parent.setChildIndex(this, (parent.numChildren - 2)); } else { picBm.filters = null; }; } private function onRemove(_arg1:Event):void{ TweenMax.killDelayedCallsTo(glowTimer); TweenMax.killTweensOf(this); this.removeEventListener(MouseEvent.CLICK, clickHandler); this.removeEventListener(Event.REMOVED_FROM_STAGE, onRemove); picBm.bitmapData.dispose(); removeChild(picBm); picBm = null; } public function setPoint(_arg1:int, _arg2:int):void{ name = ((("tile" + _arg1) + "_") + _arg2); point = {r:_arg1, l:_arg2}; } private function removeFromParent():void{ picBm.bitmapData.dispose(); removeChild(picBm); picBm = null; if (parent != null){ parent.removeChild(this); }; } public function set index(_arg1:int):void{ var _local2:Sprite; if (this.numChildren > 2){ this.removeChildAt(0); }; picIndex = _arg1; _local2 = Library.getSprite(("coin_" + _arg1)); picBm.bitmapData.draw(_local2); } private function clickHandler(_arg1:MouseEvent):void{ selected = true; dispatchEvent(new MyEvent(MyEvent.SELECTED, this)); } public function glow():void{ var _local1:Array; var _local2:int; _local1 = [3, 1, 3, 1, 3, 1]; _local2 = 0; while (_local2 < _local1.length) { TweenMax.delayedCall((0.6 * _local2), glowTimer, [_local1[_local2]]); _local2++; }; } private function glowTimer(_arg1:int):void{ TweenMax.to(this, 0.6, {colorMatrixFilter:{brightness:_arg1}}); } public function get index():int{ return (picIndex); } public function getPoint():Object{ return (point); } } }//package game.binding
Section 9
//LevelConsole (game.core.LevelConsole) package game.core { import flash.display.*; import game.media.*; import flash.events.*; import zlong.utils.*; import zlong.motion.*; import zlong.events.*; import game.binding.*; import game.utils.*; import game.ui.*; import game.*; public class LevelConsole extends EventDispatcher { private var calculator:Calculator; private var currentLevel:int; private var tileMoveTime:int;// = 50 private var ui:GameUI; private var currentScore:int; private var prizeScore:int; private var isPlaying:Boolean;// = true private var styleMc:MovieClip; private var lineMc:MovieClip; private var clearLineTime:int;// = 200 private var hintArr:Array; private var alignH; private var tileMc:MovieClip; private var mapArr:Array; private var selectedTile:TileMc; private var alignV; private var myTimer:MyTimer; private var showLineTime:int;// = 100 private var prizeTime:int; public function LevelConsole(_arg1:Object){ isPlaying = true; hintArr = []; showLineTime = 100; clearLineTime = 200; tileMoveTime = 50; super(); this.ui = GameUI(_arg1); Data.score = 0; init(); } private function init():void{ tileMc = ui.tileMc; lineMc = ui.lineMc; myTimer = new MyTimer(MovieClip(ui.container["barMc"])); myTimer.addEventListener(MyTimer.TIME_OVER, timeOver); ui.addEventListener("resetPic", autoCheckPic); } private function test(_arg1):void{ resetPicArr(null); } private function clearMapTile(_arg1:TileMc):void{ _arg1.removeEventListener(MyEvent.SELECTED, tileClickHandler); _arg1.dispose(); if (selectedTile == _arg1){ selectedTile = null; }; } private function get score():int{ return (currentScore); } private function resetPicArr(_arg1:Array):void{ var resultArr = _arg1; myTimer.pause = true; tileMc.mouseChildren = false; this.dispatchEvent(new MyEvent(Game.RESET_PIC)); while (resultArr == null) { calculator.resetPic(mapArr); resultArr = calculator.getHintResult(mapArr); }; clearMapArr(); TweenMax.delayedCall(1, drawMapTile, [mapArr, []]); TweenMax.delayedCall(2, function ():void{ myTimer.pause = false; tileMc.mouseChildren = true; dispatchEvent(new MyEvent(Game.REMOVE_RESET_PIC_REMIND)); }); } private function levelClear(_arg1:Boolean=false):void{ pause = true; this.dispatchEvent(new MyEvent(Game.LEVEL_OVER, {time:myTimer.count, score:currentScore})); } private function set score(_arg1:int):void{ currentScore = _arg1; ui.addScore(_arg1); } private function checkResetPicIndex(_arg1:Boolean=false):void{ var _local2:Array; var _local3:Array; var _local4:TileMc; if (calculator.isComplete(mapArr)){ levelClear(); return; }; _local2 = calculator.getHintResult(mapArr); if (_local2 == null){ resetPicArr(_local2); return; }; if (_local2.length == 0){ resetPicArr(_local2); return; }; if (!_arg1){ return; }; _local3 = _local2[0]; _local4 = TileMc(tileMc.getChildByName(((("tile" + _local3[0]) + "_") + _local3[1]))); _local4.glow(); if (hintArr.indexOf(_local4) == -1){ hintArr.push(_local4); }; _local3 = _local2[(_local2.length - 1)]; _local4 = TileMc(tileMc.getChildByName(((("tile" + _local3[0]) + "_") + _local3[1]))); _local4.glow(); if (hintArr.indexOf(_local4) == -1){ hintArr.push(_local4); }; } private function autoCheckPic(_arg1:MyEvent):void{ var _local2:Array; var _local3:Array; var _local4:TileMc; _local2 = calculator.getHintResult(mapArr); if (_local2 == null){ while (_local2 == null) { trace("打乱图片顺序"); calculator.resetPic(mapArr); _local2 = calculator.getHintResult(mapArr); }; clearMapArr(); drawMapTile(mapArr, []); return; } else { if (_local2.length == 0){ return; }; }; _local3 = _local2[0]; _local4 = TileMc(tileMc.getChildByName(((("tile" + _local3[0]) + "_") + _local3[1]))); clearMapTile(_local4); _local3 = _local2[(_local2.length - 1)]; _local4 = TileMc(tileMc.getChildByName(((("tile" + _local3[0]) + "_") + _local3[1]))); clearMapTile(_local4); drawLine(_local2); TweenMax.delayedCall(0.25, checkResetPicIndex); TweenMax.delayedCall(0.1, checkRetract, [_local2[0][0], _local2[0][1], _local2[(_local2.length - 1)][0], _local2[(_local2.length - 1)][1]]); } public function showHint():void{ checkResetPicIndex(true); } private function clearMapArr():void{ var _local1:int; _local1 = (tileMc.numChildren - 1); while (_local1 >= 0) { tileMc.removeChildAt(_local1); _local1--; }; } private function timeOver(_arg1:MyEvent):void{ levelClear(true); } private function skipLevel(_arg1:MyEvent):void{ } public function reset(_arg1:int=1):void{ var _local2:Object; var _local3:int; var _local4:Object; var _local5:Array; var _local6:Array; var _local7:int; score = 0; _local2 = Data[("level" + _arg1)]; if (_local2 == null){ return; }; hintArr = []; Data.currentLevel = _arg1; myTimer.reset(_local2.time); currentLevel = _arg1; alignV = _local2.vAlign; alignH = _local2.hAlign; prizeTime = _local2.prizeTime; prizeScore = _local2.prizeScore; if (mapArr != null){ clearMapArr(); }; pause = false; mapArr = new Array(Data.row); _local3 = 0; while (_local3 < mapArr.length) { mapArr[_local3] = new Array(Data.line); _local7 = 0; while (_local7 < mapArr[_local3].length) { mapArr[_local3][_local7] = 0; _local7++; }; _local3++; }; _local4 = Data[("level" + _arg1)]; calculator = new Calculator(); _local5 = calculator.getAllPicArr(calculator.getPicTypeArr(_local4.picNumbers)); if (_local4.minPairs != null){ calculator.setConnectPicArr(mapArr, _local5, _local4.minPairs); }; _local6 = []; _local3 = 0; while (_local3 < Data.line) { _local6.push(-1); _local3++; }; mapArr.unshift(_local6); mapArr.push(_local6.concat()); _local3 = 0; while (_local3 < mapArr.length) { mapArr[_local3].unshift(-1); mapArr[_local3].push(-1); _local3++; }; drawMapTile(mapArr, _local5); } private function drawMapTile(_arg1:Array, _arg2:Array):void{ var _local3:String; var _local4:String; var _local5:TileMc; var _local6:int; selectedTile = null; for (_local3 in _arg1) { for (_local4 in _arg1[_local3]) { if (_arg1[_local3][_local4] == 0){ if (_arg2.length == 0){ continue; }; _local6 = int((_arg2.length * Math.random())); _arg1[_local3][_local4] = _arg2[_local6]; _arg2.splice(_local6, 1); } else { if (_arg1[_local3][_local4] == -1){ _arg1[_local3][_local4] = 0; continue; }; }; _local5 = new TileMc(mapArr); _local5.setPoint(int(_local3), int(_local4)); _local5.x = (int(_local4) * Data.tileWidth); _local5.y = (int(_local3) * Data.tileHeight); _local5.index = _arg1[_local3][_local4]; tileMc.addChild(_local5); tileMc.addEventListener(MyEvent.SELECTED, tileClickHandler); }; }; } private function drawLine(_arg1:Array):void{ var _local2:MovieClip; var _local3:int; _local2 = new MovieClip(); lineMc.addChild(_local2); _local2.alpha = 0.1; _local2.graphics.lineStyle(2, 6750207); _local2.graphics.moveTo((_arg1[0][1] * Data.tileWidth), (_arg1[0][0] * Data.tileHeight)); _local3 = 1; while (_local3 < _arg1.length) { _local2.graphics.lineTo((_arg1[_local3][1] * Data.tileWidth), (_arg1[_local3][0] * Data.tileHeight)); _local3++; }; TweenMax.to(_local2, (showLineTime / 1000), {alpha:1, glowFilter:{color:0x9F9F, alpha:1, blurX:10, blurY:10}}); TweenMax.delayedCall(0.1, clearLine, [_local2]); } private function checkRetract(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{ var _local5:int; var _local6:int; var _local7:int; var _local8:Array; var _local9:*; var _local10:*; var _local11:Boolean; var _local12:Boolean; var _local13:Array; var _local14:Array; var _local15:Boolean; var _local16:int; var _local17:TileMc; var _local18:Array; var _local19:Array; var _local20:Boolean; var _local21:int; var _local22:TileMc; _local7 = 1; _local8 = []; _local9 = Math.abs(this.alignV); _local10 = Math.abs(this.alignH); if ((_local9 is String)){ _local11 = true; _local12 = true; } else { _local11 = false; _local12 = ((this.alignV >= 0)) ? true : false; }; if (this.alignV != null){ _local13 = [_arg1, _arg3]; _local14 = [_arg2, _arg4]; if (_arg2 == _arg4){ if (_local11){ _local13 = ((int(_local9) < 0)) ? [Math.min(_arg1, _arg3), Math.max(_arg1, _arg3)] : [Math.max(_arg1, _arg3), Math.min(_arg1, _arg3)]; } else { if ((((((_arg1 <= _local9)) && ((_arg3 <= _local9)))) || ((((_arg1 > _local9)) && ((_arg3 > _local9)))))){ _local13 = ((_arg1 > _local9)) ? [Math.min(_arg1, _arg3), Math.max(_arg1, _arg3)] : [Math.max(_arg1, _arg3), Math.min(_arg1, _arg3)]; if (_local12){ _local13 = _local13.reverse(); }; }; }; }; _local6 = 0; while (_local6 < _local13.length) { _local15 = false; _local5 = _local13[_local6]; if (_local11){ _local9 = int(_local5); _local7 = ((int(this.alignV) > 0)) ? 1 : -1; } else { if (_local12){ _local7 = ((_local13[_local6] <= _local9)) ? -1 : 1; } else { _local7 = ((_local13[_local6] >= _local9)) ? -1 : 1; }; }; _local16 = _local14[_local6]; while (((((((((_local12) && ((_local5 > 0)))) && ((_local5 < (Data.row + 1))))) || (((((!(_local12)) && ((_local13[_local6] < _local9)))) && ((_local5 < _local9)))))) || (((((!(_local12)) && ((_local13[_local6] > (_local9 + 1))))) && ((_local5 > (_local9 + 1))))))) { mapArr[_local5][_local16] = mapArr[(_local5 + _local7)][_local16]; _local17 = TileMc(tileMc.getChildByName(((("tile" + (_local5 + _local7)) + "_") + _local16))); if (_local17 == null){ if (!_local15){ _local8.push([_local5, _local16]); }; _local15 = true; } else { _local17.setPoint(_local5, _local16); TweenMax.to(_local17, (tileMoveTime / 1000), {x:(_local16 * Data.tileWidth), y:(_local5 * Data.tileHeight)}); }; _local5 = (_local5 + _local7); }; if (!_local12){ if (_local13[_local6] <= _local9){ mapArr[_local9][_local16] = 0; } else { mapArr[(_local9 + 1)][_local16] = 0; }; }; _local6++; }; }; if ((_local10 is String)){ _local11 = true; _local12 = true; } else { _local11 = false; _local12 = ((this.alignH >= 0)) ? true : false; }; if (this.alignH != null){ if (_local8.length != 0){ _arg1 = _local8[0][0]; _arg2 = _local8[0][1]; _arg3 = _local8[1][0]; _arg4 = _local8[1][1]; }; _local18 = [_arg1, _arg3]; _local19 = [_arg2, _arg4]; if (_arg1 == _arg3){ if (_local11){ _local19 = ((int(_local10) < 0)) ? [Math.min(_arg2, _arg4), Math.max(_arg2, _arg4)] : [Math.max(_arg2, _arg4), Math.min(_arg2, _arg4)]; } else { if ((((((_arg2 <= _local10)) && ((_arg4 <= _local10)))) || ((((_arg2 > _local10)) && ((_arg4 > _local10)))))){ _local19 = ((_arg2 > _local10)) ? [Math.min(_arg2, _arg4), Math.max(_arg2, _arg4)] : [Math.max(_arg2, _arg4), Math.min(_arg2, _arg4)]; if (_local12){ _local19 = _local19.reverse(); }; }; }; }; _local6 = 0; while (_local6 < _local19.length) { _local20 = false; _local5 = _local19[_local6]; if (_local11){ _local10 = int(_local5); _local7 = ((int(this.alignH) > 0)) ? 1 : -1; } else { if (_local12){ _local7 = ((_local19[_local6] <= _local10)) ? -1 : 1; } else { _local7 = ((_local19[_local6] > _local10)) ? -1 : 1; }; }; _local21 = _local18[_local6]; while (((((((((_local12) && ((_local5 > 0)))) && ((_local5 < (Data.line + 1))))) || (((((!(_local12)) && ((_local19[_local6] < _local10)))) && ((_local5 < _local10)))))) || (((((!(_local12)) && ((_local19[_local6] > (_local10 + 1))))) && ((_local5 > (_local10 + 1))))))) { mapArr[_local21][_local5] = mapArr[_local21][(_local5 + _local7)]; _local22 = TileMc(tileMc.getChildByName(((("tile" + _local21) + "_") + (_local5 + _local7)))); if (_local22 == null){ if (!_local20){ _local8.push([_local5, _local16]); }; _local20 = true; } else { _local22.setPoint(_local21, _local5); TweenMax.to(_local22, (tileMoveTime / 1000), {x:(_local5 * Data.tileWidth), y:(_local21 * Data.tileHeight)}); }; _local5 = (_local5 + _local7); }; if (!_local12){ if (_local19[_local6] <= _local10){ mapArr[_local21][_local10] = 0; } else { mapArr[_local21][(_local10 + 1)] = 0; }; }; _local6++; }; }; } private function clearLine(_arg1:MovieClip):void{ _arg1.alpha = 1; TweenMax.to(_arg1, (clearLineTime / 1000), {alpha:0.1, onComplete:lineMc.removeChild, onCompleteParams:[_arg1]}); } private function resetPicArray(_arg1:MyEvent):void{ resetPicArr(null); } private function tileClickHandler(_arg1:MyEvent):void{ var _local2:TileMc; var _local3:Array; _local2 = TileMc(_arg1.target); if (styleMc == null){ styleMc = Library.getMovieClip("selectStyleMc"); }; if (selectedTile == null){ selectedTile = _local2; styleMc.x = (((selectedTile.width - styleMc.width) * 0.5) + selectedTile.x); styleMc.y = (((selectedTile.height - styleMc.height) * 0.5) + selectedTile.y); if (styleMc.parent == null){ this.tileMc.addChild(styleMc); }; } else { if (selectedTile == _local2){ return; }; if (selectedTile.index != _local2.index){ selectedTile.selected = false; selectedTile = _local2; styleMc.x = (((selectedTile.width - styleMc.width) * 0.5) + selectedTile.x); styleMc.y = (((selectedTile.height - styleMc.height) * 0.5) + selectedTile.y); if (styleMc.parent == null){ this.tileMc.addChild(styleMc); }; } else { _local3 = calculator.isConnected(mapArr, selectedTile.getPoint(), _local2.getPoint()); if (_local3 != null){ if ((((hintArr.indexOf(selectedTile) == -1)) || ((hintArr.indexOf(_local2) == -1)))){ score = (score + prizeScore); } else { hintArr.splice(hintArr.indexOf(selectedTile), 1); hintArr.splice(hintArr.indexOf(_local2), 1); }; clearMapTile(_local2); clearMapTile(selectedTile); drawLine(_local3); selectedTile = null; SoundManager.getInstance().playSound(SoundManager.CLEAR_TILE); TweenMax.delayedCall(0.25, checkResetPicIndex); TweenMax.delayedCall(0.1, checkRetract, [_local3[0][0], _local3[0][1], _local3[(_local3.length - 1)][0], _local3[(_local3.length - 1)][1]]); myTimer.addTime(prizeTime); if (styleMc.parent != null){ this.tileMc.removeChild(styleMc); }; return; } else { selectedTile.selected = false; selectedTile = _local2; styleMc.x = (((selectedTile.width - styleMc.width) * 0.5) + selectedTile.x); styleMc.y = (((selectedTile.height - styleMc.height) * 0.5) + selectedTile.y); if (styleMc.parent == null){ this.tileMc.addChild(styleMc); }; }; }; }; SoundManager.getInstance().playSound(SoundManager.SELECT_TILE); } public function set pause(_arg1:Boolean):void{ isPlaying = !(_arg1); if (_arg1){ myTimer.pause = true; tileMc.mouseChildren = false; } else { myTimer.pause = false; tileMc.mouseChildren = true; }; } public function get pause():Boolean{ return (!(isPlaying)); } } }//package game.core
Section 10
//MyTimer (game.core.MyTimer) package game.core { import flash.display.*; import flash.events.*; import zlong.events.*; import flash.utils.*; public class MyTimer extends EventDispatcher { private var ui:MovieClip; private var leastTime:int; private var mt:Timer; private var totalTime:int; public static var TIMER:String = "timer"; public static var TIME_OVER:String = "timeOver"; public function MyTimer(_arg1:MovieClip){ this.ui = _arg1; _arg1.gotoAndStop(1); } public function set pause(_arg1:Boolean):void{ if (_arg1){ mt.stop(); } else { mt.start(); }; } public function reset(_arg1:int):void{ count = _arg1; totalTime = _arg1; if (mt == null){ mt = new Timer(1000); mt.addEventListener(TimerEvent.TIMER, onTimer); }; ui.gotoAndStop(1); mt.reset(); mt.start(); } public function set count(_arg1:int):void{ var _local2:int; var _local3:int; _local2 = ui.totalFrames; _local3 = (_local2 * (((_arg1 / totalTime) > 1)) ? 1 : (_arg1 / totalTime)); ui.gotoAndStop(((_local2 - _local3) + 1)); leastTime = _arg1; } public function addTime(_arg1:int):void{ count = (count + _arg1); if (count > totalTime){ totalTime = count; }; } private function onTimer(_arg1:TimerEvent):void{ count--; if (count <= 0){ mt.reset(); dispatchEvent(new MyEvent(TIME_OVER)); }; } public function get count():int{ return (leastTime); } } }//package game.core
Section 11
//UIConsole (game.core.UIConsole) package game.core { import flash.display.*; import zlong.utils.*; import game.ui.*; public class UIConsole { private var container:MovieClip; private var classObj:Object; public var levConsole:LevelConsole; public static var CONFIRM:String = "confirm"; public static var GAME_OVER:String = "gameOver"; public static var GAME_COMPLETE:String = "gameComplete"; public static var LINK_PROTECTED:String = "linkPrt"; public static var GAME:String = "game"; public static var NEXT:String = "next"; public static var PAUSE:String = "pause"; public static var RESET_PIC:String = "resetPic"; public static var MENU:String = "menu"; public function UIConsole(_arg1:MovieClip){ classObj = {menu:MenuUI, game:GameUI, gameOver:OverUI, next:LevelClearUI, gameComplete:CompleteUI, pause:PauseUI, confirm:ConfirmUI, resetPic:ResetPicUI, creadit:CreaditsUI, linkPrt:LinkProtectedUI}; super(); this.container = _arg1; } public function showUI(_arg1:String, ... _args):Object{ var _local3:MovieClip; var _local4:Object; _local3 = Library.getMovieClip((_arg1 + "UI")); _local3.cacheAsBitmap = true; _local3.name = (_arg1 + "UI"); container.addChild(_local3); if (classObj[_arg1] != null){ _args.unshift(_local3); _local4 = new (classObj[_arg1]); _local4["init"].apply(null, _args); return (_local4); }; return (_local3); } public function removeUI(_arg1:String):Boolean{ var _local2:MovieClip; _local2 = MovieClip(container.getChildByName((_arg1 + "UI"))); if (_local2 == null){ return (false); }; container.removeChild(_local2); return (true); } } }//package game.core
Section 12
//SoundManager (game.media.SoundManager) package game.media { import flash.media.*; import flash.events.*; import zlong.utils.*; public class SoundManager { public var active:Boolean;// = true private var soundObj:Object; public static var CLEAR_TILE:String = "clearTile"; public static var BT_ROLL_OVER:String = "btRollOver"; public static var BG_MUSIC:String = "bgMusic"; public static var SELECT_TILE:String = "selectTile"; public static var LEVEL_CLEAR:String = "LevelClear"; private static var self:SoundManager; public static var BT_PRESS:String = "btPress"; public function SoundManager(){ active = true; super(); } public function playSound(_arg1:String, _arg2:Number=0, _arg3:Boolean=false):Boolean{ var _local4:Sound; var _local5:Object; if (!active){ return (false); }; _local4 = Library.getSound(_arg1); if (_local4 == null){ return (false); }; if (_arg3){ _local5 = soundObj[_arg1]; if (_local5 == null){ _local5 = new Object(); } else { return (false); }; _local5["s"] = _local4; if (_arg2 >= _local4.length){ _arg2 = 0; }; _local5["sc"] = _local4.play(_arg2); _local5["sc"].addEventListener(Event.SOUND_COMPLETE, onMusicComplete); soundObj[_arg1] = _local5; } else { _local4.play(_arg2); }; return (true); } public function stopSound(_arg1:String):Number{ var _local2:Object; var _local3:Number; _local2 = soundObj[_arg1]; if (_local2 != null){ _local3 = _local2.sc.position; _local2.sc.stop(); if (_local3 >= _local2.s.length){ _local3 = 0; }; delete soundObj[_arg1]; return (_local3); //unresolved jump }; return (0); } private function onMusicComplete(_arg1:Event):void{ var _local2:String; _arg1.currentTarget.removeEventListener(Event.SOUND_COMPLETE, onMusicComplete); for (_local2 in soundObj) { if (soundObj[_local2].sc == _arg1.currentTarget){ soundObj[_local2]["sc"] = soundObj[_local2].s.play(0, 9999999); return; }; }; } public static function getInstance():SoundManager{ if (self == null){ self = new (SoundManager); self.soundObj = new Object(); }; return (self); } } }//package game.media
Section 13
//BaseUIClass (game.ui.BaseUIClass) package game.ui { import flash.display.*; import flash.events.*; import zlong.motion.*; import fl.motion.easing.*; public class BaseUIClass extends EventDispatcher { public var container:MovieClip; public function init(... _args):void{ container = _args[0]; container.cacheAsBitmap = true; } protected function removeSelf():void{ if (container.parent != null){ container.parent.removeChild(container); }; } protected function show():void{ TweenMax.from(container, 1, {scaleX:0.1, scaleY:0.1, ease:Elastic.easeOut}); } public function dispose():void{ TweenMax.to(container, 0.5, {scaleX:0.1, scaleY:0.1, ease:Back.easeIn, onComplete:removeSelf}); } } }//package game.ui
Section 14
//CompleteUI (game.ui.CompleteUI) package game.ui { import flash.events.*; import zlong.motion.*; import zlong.events.*; import fl.transitions.easing.*; import game.*; public class CompleteUI extends BaseUIClass { override public function init(... _args):void{ super.init(_args[0]); container.x = 327; container.y = 216; initEvent(); container.scoreTxt.text = ((Data.score + _args[1]) + (_args[2] * Data.timeToScore)); container.leastTimeTxt.text = _args[2]; container.leastTimeTxt.autoSize = "left"; container.secMc.x = (container.leastTimeTxt.x + container.leastTimeTxt.width); container.prizeTimeTxt.text = ("+" + (_args[2] * Data.timeToScore)); container.scaleX = (container.scaleY = 0.2); TweenMax.to(container, 1, {scaleX:1, scaleY:1, ease:Elastic.easeOut}); if (container.submitBt != null){ container.submitBt.addEventListener(MouseEvent.CLICK, submitScore); }; } private function submitScore(_arg1:MouseEvent):void{ this.dispatchEvent(new MyEvent(Game.SUBMIT_SCORE, int(container.scoreTxt.text))); } private function initEvent():void{ container.replyBt.addEventListener(MouseEvent.CLICK, replyGame); container.creditsBt.addEventListener(MouseEvent.CLICK, showCreadits); } private function showCreadits(_arg1:MouseEvent):void{ this.dispatchEvent(new MyEvent(Game.SHOW_CREADITS, {level:1, score:0})); } private function replyGame(_arg1:MouseEvent):void{ container.replyBt.removeEventListener(MouseEvent.CLICK, replyGame); this.dispatchEvent(new MyEvent(Game.START_LEVEL, {level:1, score:0})); } } }//package game.ui
Section 15
//ConfirmUI (game.ui.ConfirmUI) package game.ui { import flash.events.*; import zlong.events.*; import game.*; public class ConfirmUI extends BaseUIClass { override public function init(... _args):void{ super.init(_args[0]); container.x = 320; container.y = 240; initEvent(); super.show(); } private function cancleRestart(_arg1:MouseEvent):void{ this.dispatchEvent(new MyEvent(Game.CANCLE)); } private function restartLevel(_arg1:MouseEvent):void{ this.dispatchEvent(new MyEvent(Game.START_LEVEL, {score:Data.score, level:Data.currentLevel})); } private function initEvent():void{ container.okBt.addEventListener(MouseEvent.CLICK, restartLevel); container.cancleBt.addEventListener(MouseEvent.CLICK, cancleRestart); } } }//package game.ui
Section 16
//CreaditsUI (game.ui.CreaditsUI) package game.ui { import flash.events.*; public class CreaditsUI extends BaseUIClass { override public function init(... _args):void{ super.init(_args[0]); container.addEventListener(MouseEvent.CLICK, removeUI); container.x = 320; container.y = 240; super.show(); } private function removeUI(_arg1:MouseEvent):void{ container.removeEventListener(MouseEvent.CLICK, removeUI); super.dispose(); } } }//package game.ui
Section 17
//GameUI (game.ui.GameUI) package game.ui { import flash.display.*; import game.media.*; import flash.events.*; import zlong.motion.*; import zlong.events.*; import flash.utils.*; import game.*; import flash.text.*; public class GameUI extends BaseUIClass { private var vTimeout:int; public var tileMc:MovieClip; public var lineMc:MovieClip; private var isPause:Boolean;// = true private var hintNum:int; public function GameUI(){ isPause = true; super(); } public function getHint():int{ return (hintNum); } private function skipLevel(_arg1:MouseEvent):void{ dispatchEvent(new MyEvent("skipLevel")); } override public function init(... _args):void{ super.init(_args[0]); container.parent.setChildIndex(container, 1); initUI(); initEvent(); show(); } private function restartEvent(_arg1:MouseEvent):void{ dispatchEvent(new MyEvent(Game.RESTART_GAME)); } private function pauseEvent(_arg1:MouseEvent):void{ if (container.pauseBt.currentFrame == 1){ container.pauseBt.gotoAndStop(2); } else { container.pauseBt.gotoAndStop(1); }; dispatchEvent(new MyEvent(Game.PAUSE_GAME)); } private function hintEvent(_arg1:MouseEvent):void{ var evt = _arg1; if (hintNum > 0){ hintNum--; container.hintNumTxt.text = hintNum; container.hintBt.mouseEnabled = false; setTimeout(function ():void{ if (container.restartBt.mouseEnabled){ container.hintBt.mouseEnabled = true; }; }, 3000); dispatchEvent(new MyEvent(Game.SHOW_HINT)); }; } public function setButtonEnable(_arg1:Boolean=false, _arg2:Boolean=false, _arg3:Boolean=false):void{ trace(("禁用:" + _arg1)); container.pauseBt.mouseEnabled = (container.pauseBt.mouseChildren = _arg1); container.restartBt.mouseEnabled = _arg2; container.hintBt.mouseEnabled = _arg3; container.skipBt.mouseEnabled = _arg3; } override public function dispose():void{ TweenMax.to(container, 0.5, {alpha:0}); if (container.parent != null){ setTimeout(container.parent.removeChild, 1000, container); }; } public function refreshView():void{ container.levNumTxt.text = ((Data.currentLevel + "/") + Data.totalLevel); hintNum = Data.currentHint; container.hintNumTxt.text = Data.currentHint; if (Data.currentHint <= 0){ container.hintBt.mouseEnabled = false; } else { container.hintBt.mouseEnabled = true; }; } private function soundSwitch(_arg1:MouseEvent):void{ if (container.switchBt.currentFrame == 1){ container.switchBt.gotoAndStop(2); } else { container.switchBt.gotoAndStop(1); }; this.dispatchEvent(new MyEvent(Game.PLAY_MUSIC, (container.switchBt.currentFrame == 2))); } private function initUI():void{ tileMc = new MovieClip(); tileMc.cacheAsBitmap = true; container.addChild(tileMc); this.container = container; lineMc = new MovieClip(); container.addChild(lineMc); tileMc.x = (61 - Data.tileWidth); tileMc.y = (84 - Data.tileWidth); lineMc.x = (tileMc.x + (Data.tileWidth * 0.5)); lineMc.y = (tileMc.y + (Data.tileHeight * 0.5)); container.hintNumTxt.text = Data.hintNumbers; container.hintNumTxt.autoSize = "left"; if (SoundManager.getInstance().active){ container.switchBt.gotoAndStop(1); } else { container.switchBt.gotoAndStop(2); }; container.maskMc.gotoAndStop(1); container.setChildIndex(container.maskMc, (container.numChildren - 1)); container.pauseBt.stop(); container.setChildIndex(container.logo_level, 0); container.setChildIndex(container.button_level_moregames, 0); } public function addScore(_arg1:int):void{ var _local2:TextField; _local2 = TextField(container["scoreTxt"]); _local2.text = ("" + (Data.score + _arg1)); } public function setVisible(_arg1:Boolean=true, _arg2:Boolean=false):void{ var isShow = _arg1; var isAlpha = _arg2; clearTimeout(vTimeout); if (isShow){ container.maskMc.visible = true; TweenMax.to(container.maskMc, 0.5, {alpha:0}); vTimeout = setTimeout(function ():void{ container.maskMc.visible = false; }, 500); tileMc.visible = true; } else { vTimeout = setTimeout(function ():void{ tileMc.visible = false; }, 500); container.maskMc.visible = true; tileMc.visible = false; TweenMax.to(container.maskMc, 0.5, {alpha:(isAlpha) ? 0.5 : 1}); }; } private function initEvent():void{ container.restartBt.addEventListener(MouseEvent.CLICK, restartEvent); container.pauseBt.addEventListener(MouseEvent.CLICK, pauseEvent); container.hintBt.addEventListener(MouseEvent.CLICK, hintEvent); container.skipBt.doubleClickEnabled = true; container.skipBt.addEventListener(MouseEvent.DOUBLE_CLICK, skipLevel); container.skipBt.useHandCursor = false; container.switchBt.addEventListener(MouseEvent.CLICK, soundSwitch); } override protected function show():void{ TweenMax.from(tileMc, 0.5, {colorMatrixFilter:{brightness:-2}}); } } }//package game.ui
Section 18
//LevelClearUI (game.ui.LevelClearUI) package game.ui { import flash.events.*; import zlong.events.*; import flash.utils.*; import game.*; public class LevelClearUI extends BaseUIClass { private var leastTime:int; private var prizeScore:int; private var levelScore:int; private function showPrizeScore():void{ container.addEventListener(Event.ENTER_FRAME, enterFrame); } override public function init(... _args):void{ super.init(_args[0]); show(); initView(_args[1], _args[2]); container.x = 320; container.y = 240; } private function initView(_arg1:int, _arg2:int):void{ this.leastTime = _arg2; prizeScore = 0; this.levelScore = (_arg1 + (_arg2 * Data.timeToScore)); Data.score = (Data.score + levelScore); container["leastTimeTxt"].text = _arg2; container["prizeTimeTxt"].text = 0; container.leastTimeTxt.autoSize = "left"; container.secMc.x = (container.leastTimeTxt.x + container.leastTimeTxt.width); container.goNextBt.enabled = false; setTimeout(showPrizeScore, 1000); } private function clickStage(_arg1:Event):void{ container.goNextBt.removeEventListener("click", clickStage); this.dispatchEvent(new MyEvent(Game.START_LEVEL, {score:Data.score, level:Data.currentLevel})); } private function enterFrame(_arg1:Event):void{ var _local2:int; _local2 = ((leastTime > 10)) ? 10 : leastTime; prizeScore = (prizeScore + (_local2 * Data.timeToScore)); container["prizeTimeTxt"].text = ("+" + prizeScore); if (leastTime <= 0){ container.goNextBt.enabled = true; container.removeEventListener(Event.ENTER_FRAME, enterFrame); container.goNextBt.addEventListener("click", clickStage); container["levelScoreTxt"].text = levelScore; }; leastTime = (leastTime - _local2); } } }//package game.ui
Section 19
//LinkProtectedUI (game.ui.LinkProtectedUI) package game.ui { public class LinkProtectedUI extends BaseUIClass { override public function init(... _args):void{ super.init(_args[0]); show(); } override protected function show():void{ } } }//package game.ui
Section 20
//MenuUI (game.ui.MenuUI) package game.ui { import flash.events.*; import zlong.math.*; import zlong.events.*; import game.*; public class MenuUI extends BaseUIClass { private function showHightScore(_arg1:MouseEvent):void{ Random.geturl(); } override public function init(... _args):void{ super.init(_args[0]); container.startBt.useHandCursor = true; container.startBt.addEventListener(MouseEvent.CLICK, clickStartBt); if (container.highScoreBt != null){ container.highScoreBt.addEventListener(MouseEvent.CLICK, showHightScore); }; } private function clickStartBt(_arg1:MouseEvent):void{ container.startBt.removeEventListener(MouseEvent.CLICK, clickStartBt); this.dispatchEvent(new MyEvent(Game.START_LEVEL, {})); } override public function dispose():void{ if (container.parent != null){ container.parent.removeChild(container); }; } } }//package game.ui
Section 21
//OverUI (game.ui.OverUI) package game.ui { import flash.events.*; import zlong.math.*; import zlong.events.*; import game.*; public class OverUI extends BaseUIClass { private function replyGame(_arg1:MouseEvent):void{ container.replyBt.removeEventListener(MouseEvent.CLICK, replyGame); this.dispatchEvent(new MyEvent(Game.START_LEVEL, {score:0, level:1})); } override public function init(... _args):void{ trace(("rest=" + _args.join("#"))); super.init(_args[0]); container.x = 320; container.y = 250; super.show(); initEvent(); container.scoreTxt.text = (Data.score + _args[1]); if (container.submitBt != null){ container.submitBt.addEventListener(MouseEvent.CLICK, submitScore); }; } private function initEvent():void{ container.replyBt.addEventListener(MouseEvent.CLICK, replyGame); } private function submitScore(_arg1:MouseEvent):void{ this.dispatchEvent(new MyEvent(Game.SUBMIT_SCORE, int(container.scoreTxt.text))); } } }//package game.ui
Section 22
//PauseUI (game.ui.PauseUI) package game.ui { import flash.events.*; import zlong.motion.*; import zlong.events.*; import flash.utils.*; import game.*; public class PauseUI extends BaseUIClass { override public function init(... _args):void{ super.init(_args[0]); container.addEventListener("click", continueGame); show(); } private function continueGame(_arg1:MouseEvent):void{ this.dispatchEvent(new MyEvent(Game.CONTINUE_GAME)); } override protected function show():void{ TweenMax.from(container, 2, {alpha:0}); } override public function dispose():void{ TweenMax.to(container, 0.5, {alpha:0}); if (container.parent != null){ setTimeout(container.parent.removeChild, 500, container); }; } } }//package game.ui
Section 23
//ResetPicUI (game.ui.ResetPicUI) package game.ui { public class ResetPicUI extends BaseUIClass { override public function init(... _args):void{ super.init(_args[0]); container.x = 320; container.y = 240; show(); } } }//package game.ui
Section 24
//Calculator (game.utils.Calculator) package game.utils { public class Calculator { public function getAllPicArr(_arg1:Array):Array{ var _local2:Array; var _local3:int; var _local4:int; _local2 = []; _local3 = 0; _local4 = 0; while ((_local3 + 2) <= (Data.row * Data.line)) { if (_local4 >= _arg1.length){ _local4 = 0; }; _local2.push(_arg1[_local4], _arg1[_local4]); _local4++; _local3 = (_local3 + 2); }; return (_local2); } public function isComplete(_arg1:Array):Boolean{ var _local2:int; var _local3:int; _local2 = 0; while (_local2 < _arg1.length) { _local3 = 0; while (_local3 < _arg1[_local2].length) { if (((!((_arg1[_local2][_local3] == 0))) && (!((_arg1[_local2][_local3] == null))))){ return (false); }; _local3++; }; _local2++; }; return (true); } private function getPathArr(_arg1:Array):Array{ var _local2:int; var _local3:Array; _local2 = (_arg1.length - 1); _local3 = [[_arg1[_local2].r, _arg1[_local2].l]]; while (_local2 != 0) { _local2 = _arg1[_local2].p; _local3.push([_arg1[_local2].r, _arg1[_local2].l]); }; return (_local3); } public function setConnectPicArr(_arg1:Array, _arg2:Array, _arg3:int):void{ var _local4:Array; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:Array; var _local10:String; var _local11:int; var _local12:Array; var _local13:int; var _local14:int; _local4 = [[-1, 0], [1, 0], [0, -1], [0, 1]]; if (_arg3 > (Data.row * Data.line)){ _arg3 = int(((Data.row * Data.line) / 2)); }; _local5 = 0; _local6 = 0; for (;_local5 < _arg3;_local5++) { if (_local6 >= 10000){ break; }; _local7 = (Data.row * Math.random()); _local8 = (Data.line * Math.random()); if (_arg1[_local7][_local8] == 0){ _local9 = []; for (_local10 in _local4) { _local13 = (_local7 + int(_local4[_local10][0])); _local14 = (_local8 + int(_local4[_local10][1])); if ((((((((_local13 < 0)) || ((_local13 > (Data.row - 1))))) || ((_local14 < 0)))) || ((_local14 > (Data.line - 1))))){ continue; } else { if (_arg1[_local13][_local14] == 0){ _local9.push([_local13, _local14]); }; }; }; if (_local9.length == 0){ _local5--; _local6++; continue; }; _local6 = 0; _local11 = _arg2.shift(); _arg1[_local7][_local8] = _local11; _local12 = _local9[int((_local9.length * Math.random()))]; _local11 = _arg2.shift(); _arg1[_local12[0]][_local12[1]] = _local11; } else { _local5--; _local6++; continue; }; }; } public function getPicTypeArr(_arg1:int):Array{ var _local2:Array; var _local3:int; var _local4:Array; var _local5:Array; _local2 = new Array(Data.totalPics); _local3 = 1; while (_local3 <= _local2.length) { _local2[(_local3 - 1)] = _local3; _local3++; }; _local4 = []; _local5 = []; _local3 = 0; while (_local3 < _arg1) { if (_local4.length == 0){ _local4 = _local2.concat(); }; _local5.push(_local4.splice(int((_local4.length * Math.random())), 1)); _local3++; }; return (_local5); } public function getHintResult(_arg1:Array):Array{ var _local2:Array; var _local3:Object; var _local4:Array; var _local5:int; var _local6:int; var _local7:int; var _local8:Array; var _local9:int; var _local10:int; var _local11:Array; _local2 = [[-1, 0], [1, 0], [0, -1], [0, 1]]; _local3 = new Object(); _local4 = []; _local5 = 0; while (_local5 < _arg1.length) { _local6 = 0; while (_local6 < _arg1[_local5].length) { if (((!((_arg1[_local5][_local6] == 0))) && (!((_arg1[_local5][_local6] == null))))){ if (_local3[_arg1[_local5][_local6]] == null){ _local3[_arg1[_local5][_local6]] = new Array(); _local4.push(_arg1[_local5][_local6]); }; _local3[_arg1[_local5][_local6]].push([_local5, _local6]); }; _local6++; }; _local5++; }; if (_local4.length <= 0){ return ([]); }; while (_local4.length > 0) { _local7 = _local4.splice(int((_local4.length * Math.random())), 1); _local8 = _local3[_local7]; _local9 = 0; while (_local9 < (_local8.length - 1)) { _local10 = (_local9 + 1); while (_local10 < _local8.length) { _local11 = isConnected(_arg1, {r:_local8[_local9][0], l:_local8[_local9][1]}, {r:_local8[_local10][0], l:_local8[_local10][1]}); if (_local11 != null){ return (_local11); }; _local10++; }; _local9++; }; }; return (null); } public function resetPic(_arg1:Array):void{ var _local2:Array; var _local3:int; var _local4:int; var _local5:int; _local2 = []; _local3 = 0; while (_local3 < _arg1.length) { _local4 = 0; while (_local4 < _arg1[_local3].length) { if (_arg1[_local3][_local4] > 0){ _local2.push(_arg1[_local3][_local4]); }; _local4++; }; _local3++; }; _local3 = 0; while (_local3 < _arg1.length) { _local4 = 0; while (_local4 < _arg1[_local3].length) { if (_arg1[_local3][_local4] > 0){ _local5 = int((_local2.length * Math.random())); _arg1[_local3][_local4] = _local2[_local5]; _local2.splice(_local5, 1); }; _local4++; }; _local3++; }; } private function checkLine(_arg1:Array, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Boolean{ var _local6:int; var _local7:int; if (((!((_arg2 == _arg4))) && (!((_arg3 == _arg5))))){ trace("checkLine只能检测直线上的点!"); return (false); }; if ((((_arg2 == _arg4)) && ((_arg3 == _arg5)))){ return ((_arg1[_arg2][_arg3] == 0)); }; if (_arg2 == _arg4){ _local6 = Math.min(_arg3, _arg5); while (_local6 <= Math.max(_arg3, _arg5)) { if (_arg1[_arg2][_local6] > 0){ return (false); }; _local6++; }; return (true); //unresolved jump }; _local7 = Math.min(_arg2, _arg4); while (_local7 <= Math.max(_arg2, _arg4)) { if (_arg1[_local7][_arg3] > 0){ return (false); }; _local7++; }; return (true); } private function getPathPointNumber(_arg1:Array):int{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; _local2 = 0; _local3 = _arg1[0][0]; _local4 = _arg1[0][1]; _local7 = 1; while (_local7 < _arg1.length) { _local5 = _arg1[_local7][0]; _local6 = _arg1[_local7][1]; _local2 = (_local2 + ((_local5 == _local3)) ? Math.abs((_local4 - _local6)) : Math.abs((_local3 - _local5))); _local3 = _local5; _local4 = _local6; _local7++; }; return (_local2); } public function isConnected(_arg1:Array, _arg2:Object, _arg3:Object):Array{ var _local4:Array; var _local5:int; var _local6:int; var _local7:int; _local4 = []; if (_arg2.r == _arg3.r){ if ((((Math.abs((_arg2.l - _arg3.l)) <= 1)) || (checkLine(_arg1, _arg2.r, ((_arg2.l > _arg3.l)) ? (_arg2.l - 1) : (_arg2.l + 1), _arg3.r, ((_arg3.l > _arg2.l)) ? (_arg3.l - 1) : (_arg3.l + 1))))){ return ([[_arg2.r, _arg2.l], [_arg3.r, _arg3.l]]); }; } else { if (_arg2.l == _arg3.l){ if ((((Math.abs((_arg2.r - _arg3.r)) <= 1)) || (checkLine(_arg1, ((_arg2.r > _arg3.r)) ? (_arg2.r - 1) : (_arg2.r + 1), _arg2.l, ((_arg3.r > _arg2.r)) ? (_arg3.r - 1) : (_arg3.r + 1), _arg3.l)))){ return ([[_arg2.r, _arg2.l], [_arg3.r, _arg3.l]]); }; }; }; _local5 = (_arg2.r + 1); for (;_local5 < (Data.row + 2);_local5++) { if (_arg1[_local5][_arg2.l] > 0){ break; } else { if (!checkLine(_arg1, _local5, _arg2.l, _local5, ((_arg3.l > _arg2.l)) ? (_arg3.l - 1) : (_arg3.l + 1))){ continue; } else { if (_local5 == _arg3.r){ _local4.push([[_arg2.r, _arg2.l], [_local5, _arg2.l], [_arg3.r, _arg3.l]]); break; } else { if (checkLine(_arg1, _local5, _arg3.l, ((_arg3.r > _local5)) ? (_arg3.r - 1) : (_arg3.r + 1), _arg3.l)){ _local4.push([[_arg2.r, _arg2.l], [_local5, _arg2.l], [_local5, _arg3.l], [_arg3.r, _arg3.l]]); break; }; }; }; }; }; _local5 = (_arg2.r - 1); for (;_local5 >= 0;_local5--) { if (_arg1[_local5][_arg2.l] > 0){ break; } else { if (!checkLine(_arg1, _local5, _arg2.l, _local5, ((_arg3.l > _arg2.l)) ? (_arg3.l - 1) : (_arg3.l + 1))){ continue; } else { if (_local5 == _arg3.r){ _local4.push([[_arg2.r, _arg2.l], [_local5, _arg2.l], [_arg3.r, _arg3.l]]); break; } else { if (checkLine(_arg1, _local5, _arg3.l, ((_arg3.r > _local5)) ? (_arg3.r - 1) : (_arg3.r + 1), _arg3.l)){ _local4.push([[_arg2.r, _arg2.l], [_local5, _arg2.l], [_local5, _arg3.l], [_arg3.r, _arg3.l]]); break; }; }; }; }; }; _local6 = (_arg2.l + 1); for (;_local6 < (Data.line + 2);_local6++) { if (_arg1[_arg2.r][_local6] > 0){ break; } else { if (!checkLine(_arg1, _arg2.r, _local6, ((_arg3.r > _arg2.r)) ? (_arg3.r - 1) : (_arg3.r + 1), _local6)){ continue; } else { if (_local6 == _arg3.l){ _local4.push([[_arg2.r, _arg2.l], [_arg2.r, _local6], [_arg3.r, _arg3.l]]); break; } else { if (checkLine(_arg1, _arg3.r, _local6, _arg3.r, ((_arg3.l > _local6)) ? (_arg3.l - 1) : (_arg3.l + 1))){ _local4.push([[_arg2.r, _arg2.l], [_arg2.r, _local6], [_arg3.r, _local6], [_arg3.r, _arg3.l]]); break; }; }; }; }; }; _local6 = (_arg2.l - 1); for (;_local6 >= 0;_local6--) { if (_arg1[_arg2.r][_local6] > 0){ break; } else { if (!checkLine(_arg1, _arg2.r, _local6, ((_arg3.r > _arg2.r)) ? (_arg3.r - 1) : (_arg3.r + 1), _local6)){ continue; } else { if (_local6 == _arg3.l){ _local4.push([[_arg2.r, _arg2.l], [_arg2.r, _local6], [_arg3.r, _arg3.l]]); break; } else { if (checkLine(_arg1, _arg3.r, _local6, _arg3.r, ((_arg3.l > _local6)) ? (_arg3.l - 1) : (_arg3.l + 1))){ _local4.push([[_arg2.r, _arg2.l], [_arg2.r, _local6], [_arg3.r, _local6], [_arg3.r, _arg3.l]]); break; }; }; }; }; }; if (_local4.length > 0){ _local7 = 0; _local5 = 1; while (_local5 < _local4.length) { if (_local4[_local5].length < _local4[_local7].length){ _local7 = _local5; } else { if (getPathPointNumber(_local4[_local5]) < getPathPointNumber(_local4[_local7])){ _local7 = _local5; }; }; _local5++; }; return (_local4[_local7]); //unresolved jump }; return (null); } } }//package game.utils
Section 25
//Game (game.Game) package game { import flash.display.*; import game.media.*; import zlong.utils.*; import zlong.math.*; import zlong.events.*; import game.core.*; import game.ui.*; import flash.utils.*; public class Game extends MovieClip { private var gameUI:GameUI; private var stopPostion:Number;// = 0 private var pauseUI:BaseUIClass; private var uiConsole:UIConsole; private var menuUI:BaseUIClass; private var confirmUI:BaseUIClass; private var overUI:BaseUIClass; private var levelClearUI:BaseUIClass; private var pauseTimeout:int; private var level:LevelConsole; private var resetPicUI:BaseUIClass; private var completeUI:BaseUIClass; private var isCloseSound:Boolean; public static var SHOW_HINT:String = "showHint"; public static var CONTINUE_GAME:String = "continueGame"; public static var SUBMIT_SCORE:String = "submitScore"; public static var CANCLE:String = "cancle"; public static var LEVEL_OVER:String = "levelClear"; public static var SHOW_CREADITS:String = "showCreadits"; public static var PAUSE_GAME:String = "pauseGame"; public static var RESTART_GAME:String = "restartGame"; public static var SHOW_MENU:String = "showMenu"; public static var REMOVE_RESET_PIC_REMIND:String = "removeRePicRemind"; public static var START_LEVEL:String = "startLevel"; public static var RESET_PIC:String = "resetPic"; public static var PLAY_MUSIC:String = "playMusic"; public function Game(){ stopPostion = 0; super(); } private function checkDomain():void{ showMenu(); if (DomainCheck.getInstance().isOnSpillSites()){ }; } private function showMenu(_arg1:MyEvent=null):void{ menuUI = BaseUIClass(uiConsole.showUI(UIConsole.MENU)); menuUI.addEventListener(START_LEVEL, startLevel); } public function init():void{ uiConsole = new UIConsole(this); uiConsole.showUI("mainBg"); checkDomain(); } private function pauseGame(_arg1:MyEvent):void{ if (pauseTimeout != 0){ clearTimeout(pauseTimeout); pauseTimeout = 0; }; gameUI.setVisible(level.pause); if (level.pause){ removePauseUI(); gameUI.setButtonEnable(true, true, true); level.pause = false; } else { level.pause = true; gameUI.setButtonEnable(true); pauseUI = BaseUIClass(uiConsole.showUI(UIConsole.PAUSE)); }; } private function showHint(_arg1:MyEvent):void{ level.showHint(); } private function removeNextLevel():void{ if (levelClearUI != null){ levelClearUI.dispose(); levelClearUI.removeEventListener(START_LEVEL, startLevel); levelClearUI = null; }; } private function removeConfirmUI(_arg1:MyEvent=null):void{ if (confirmUI != null){ level.pause = false; gameUI.setButtonEnable(true, true, true); gameUI.setVisible(true); confirmUI.dispose(); confirmUI.removeEventListener(CANCLE, removeConfirmUI); confirmUI.removeEventListener(START_LEVEL, startLevel); confirmUI = null; }; } private function resetPicPlace(_arg1:MyEvent):void{ gameUI.setButtonEnable(); resetPicUI = BaseUIClass(uiConsole.showUI(UIConsole.RESET_PIC)); } private function gameComplete(_arg1:int, _arg2:int):void{ playBgMusic(false); removeGameUI(); completeUI = BaseUIClass(uiConsole.showUI(UIConsole.GAME_COMPLETE, _arg2, _arg1)); completeUI.addEventListener(START_LEVEL, startLevel); completeUI.addEventListener(SHOW_CREADITS, showCreadits); completeUI.addEventListener(SUBMIT_SCORE, submitScore); } private function nextLevel(_arg1:int, _arg2:int):void{ trace("nextLevel!!"); gameUI.setVisible(false); levelClearUI = BaseUIClass(uiConsole.showUI(UIConsole.NEXT, _arg2, _arg1)); levelClearUI.addEventListener(START_LEVEL, startLevel); } private function pressMusicSwitch(_arg1:MyEvent):void{ isCloseSound = Boolean(_arg1.data); SoundManager.getInstance().active = !(isCloseSound); playBgMusic(!(isCloseSound)); } private function startLevel(_arg1:MyEvent):void{ removeMenuUI(); removeGameOver(); removeNextLevel(); removeGameComplete(); removeConfirmUI(); if (!isCloseSound){ playBgMusic(); }; Data.score = int(_arg1.data.score); Data.currentLevel = ((int(_arg1.data.level) == 0)) ? 1 : int(_arg1.data.level); Data.currentHint = ((Data.currentLevel == 1)) ? Data.hintNumbers : Data.currentHint; if (level == null){ gameUI = GameUI(uiConsole.showUI(UIConsole.GAME)); level = new LevelConsole(gameUI); level.addEventListener(LEVEL_OVER, levelOver); level.addEventListener(RESET_PIC, resetPicPlace); level.addEventListener(REMOVE_RESET_PIC_REMIND, removeResetPicUI); gameUI.addEventListener(RESTART_GAME, restartGame); gameUI.addEventListener(PAUSE_GAME, pauseGame); gameUI.addEventListener(SHOW_HINT, showHint); gameUI.addEventListener(PLAY_MUSIC, pressMusicSwitch); }; level.reset(Data.currentLevel); gameUI.setVisible(); gameUI.refreshView(); gameUI.setButtonEnable(true, true, true); } private function submitScore(_arg1:MyEvent):void{ var _local2:int; var _local3:int; var _local4:*; var _local5:*; var _local6:*; _local2 = int(_arg1.data); _local3 = new Date().getTime(); _local4 = Random.SortT(); _local5 = Random.hex_average((((String(Random.gameID) + _local2) + _local4) + _local3)); Random.DrawLine(_local5, _local4, 10, 10, 15, 15); _local6 = Random.strqq; Random.senturl(_local2, _local4, _local6, _local3); removeGameUI(); removeGameOver(); removeGameComplete(); setTimeout(showMenu, 600); } private function levelOver(_arg1:MyEvent):void{ gameUI.setButtonEnable(); if (_arg1.data.time > 0){ if (Data.currentLevel == Data.totalLevel){ gameComplete(_arg1.data.time, _arg1.data.score); } else { Data.currentHint = gameUI.getHint(); Data.currentHint++; Data.currentLevel++; nextLevel(_arg1.data.time, _arg1.data.score); SoundManager.getInstance().playSound(SoundManager.LEVEL_CLEAR); }; } else { gameOver(_arg1.data.score); }; } private function removeGameOver():void{ if (overUI != null){ overUI.dispose(); overUI.removeEventListener(START_LEVEL, startLevel); overUI = null; }; } private function playBgMusic(_arg1:Boolean=true):void{ if (_arg1){ trace(("播放:" + stopPostion)); SoundManager.getInstance().playSound(SoundManager.BG_MUSIC, stopPostion, true); } else { trace("暂停"); stopPostion = SoundManager.getInstance().stopSound(SoundManager.BG_MUSIC); }; } private function restartGame(_arg1:MyEvent):void{ level.pause = true; gameUI.setButtonEnable(); gameUI.setVisible(false); confirmUI = BaseUIClass(uiConsole.showUI(UIConsole.CONFIRM)); confirmUI.addEventListener(CANCLE, removeConfirmUI); confirmUI.addEventListener(START_LEVEL, startLevel); } private function showCreadits(_arg1:MyEvent):void{ uiConsole.showUI("creadit"); } private function removeGameUI():void{ if (gameUI != null){ gameUI.dispose(); gameUI.removeEventListener(START_LEVEL, startLevel); gameUI.removeEventListener(PAUSE_GAME, pauseGame); gameUI.removeEventListener(SHOW_HINT, showHint); gameUI = null; level.removeEventListener(LEVEL_OVER, levelOver); level = null; }; } private function removeResetPicUI(_arg1:MyEvent=null):void{ gameUI.setButtonEnable(true, true, true); if (resetPicUI != null){ resetPicUI.dispose(); resetPicUI = null; }; } private function showLinkProtectUI():void{ uiConsole.showUI(UIConsole.LINK_PROTECTED); } private function removeMenuUI():void{ if (menuUI != null){ menuUI.dispose(); menuUI.removeEventListener(START_LEVEL, startLevel); menuUI = null; }; } private function gameOver(_arg1:int):void{ gameUI.setButtonEnable(); gameUI.setVisible(false); overUI = BaseUIClass(uiConsole.showUI(UIConsole.GAME_OVER, _arg1)); overUI.addEventListener(START_LEVEL, startLevel); overUI.addEventListener(SUBMIT_SCORE, submitScore); } private function removePauseUI():void{ if (pauseUI != null){ pauseUI.dispose(); pauseUI = null; }; } private function removeGameComplete():void{ if (completeUI != null){ completeUI.dispose(); completeUI.removeEventListener(START_LEVEL, startLevel); completeUI = null; }; } } }//package game
Section 26
//Main (game.Main) package game { import flash.display.*; import flash.events.*; import zlong.utils.*; import zlong.events.*; public class Main extends MovieClip { public var loadingMc:MovieClip; public function Main(){ stop(); init(); stage.scaleMode = StageScaleMode.SHOW_ALL; } public function init():void{ var _local1:SelfLoading; var _local2:int; language.Language = 1; _local1 = new SelfLoading(); _local1.addEventListener(MyEvent.COMPLETE, loadComplete); _local1.addEventListener(MyEvent.PROGRASS, loadPrograss); _local1.init(this); MovieClip(this["loadingMc"].barMc).stop(); _local2 = 0; while (_local2 < 10) { MovieClip(this["loadingMc"].barMc).addFrameScript(((_local2 * 10) + 2), MovieClip(this["loadingMc"].barMc).stop); _local2++; }; } private function loadPrograss(_arg1:MyEvent):void{ var _local2:int; _local2 = int(((100 * _arg1.data.loaded) / _arg1.data.total)); _local2 = int((_local2 / 10)); if (_local2 == 10){ this["loadingMc"].barMc.gotoAndStop(100); this["loadingMc"].barMc.stop(); return; }; if (this["loadingMc"].barMc.currentFrame < ((_local2 * 10) + 1)){ this["loadingMc"].barMc.play(); }; } private function loadComplete(_arg1:MyEvent):void{ var mc:MovieClip; var obj:Object; var g:Game; var evt = _arg1; gotoAndStop(3); if (int(language.language_nr) == 2){ mc = Library.getMovieClip("logologo游戏中国"); addChild(mc); mc.x = 316; mc.y = 237; obj = this; mc.addEventListener("playComplete", function (_arg1:Event):void{ var _local2:Game; trace("playComplete!"); mc.stop(); obj.removeChild(mc); _local2 = new Game(); addChild(_local2); _local2.init(); }); mc.addFrameScript((mc.totalFrames - 1), function ():void{ mc.dispatchEvent(new Event("playComplete")); }); } else { g = new Game(); addChild(g); g.init(); }; this.addFrameScript(0, function ():void{ gotoAndStop(3); }); } } }//package game
Section 27
//MyEvent (zlong.events.MyEvent) package zlong.events { import flash.events.*; public class MyEvent extends Event { public var data:Object; public static var PROGRASS:String = "prograss"; public static var ERROR:String = "error"; public static var COMPLETE:String = "complete"; public static var SELECTED:String = "selected"; public function MyEvent(_arg1:String, _arg2:Object=null, _arg3=true, _arg4=false){ data = _arg2; super(_arg1, _arg3, _arg4); } } }//package zlong.events
Section 28
//Random (zlong.math.Random) package zlong.math { import flash.display.*; import flash.net.*; public class Random { var randomStr; private static var hexcase = 0; public static var gameID = 73; public static var strqq:String; private static var chrsz = 8; private static var b64pad = ""; public function Random(){ randomStr = Randoms(10); super(); } public static function average_ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (average_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function SortT(){ var _local1:*; var _local2:*; var _local3:*; _local1 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; _local2 = ""; trace((_local1 + "###")); _local3 = 0; while (_local3 < 10) { _local2 = (_local2 + _local1.substr(Math.floor((Math.random() * _local1.length)), 1)); _local3++; }; trace(_local2); return (_local2); } public static function b64_hmac_average(_arg1, _arg2){ return (binl2b64(core_hmac_average(_arg1, _arg2))); } public static function md5(_arg1:String){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; var _local16:*; var _local17:*; var _local18:*; var _local19:*; _local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32))); _local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3; _local5 = 1732584193; _local6 = -271733879; _local7 = -1732584194; _local8 = 271733878; _local9 = str2binl(_local4); if (_local9.length > 16){ _local9 = core_average(_local9, (_local4.length * chrsz)); }; _local10 = new Array(16); _local11 = new Array(16); _local12 = 0; while (_local12 < 16) { _local10[_local12] = (_local9[_local12] ^ 909522486); _local11[_local12] = (_local9[_local12] ^ 1549556828); _local12++; }; _local14 = core_average(_local10.concat(str2binl(_local13)), (0x0200 + (_local13.length * chrsz))); return (core_average(_local11.concat(_local14), (0x0200 + 128))); return (new Array(_local5, _local6, _local7, _local8)); } public static function average_gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (average_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function average_hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (average_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function binl2b64(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; _local3 = ""; _local4 = 0; while (_local4 < (_arg1.length * 4)) { _local5 = (((((_arg1[(_local4 >> 2)] >> (8 * (_local4 % 4))) & 0xFF) << 16) | (((_arg1[((_local4 + 1) >> 2)] >> (8 * ((_local4 + 1) % 4))) & 0xFF) << 8)) | ((_arg1[((_local4 + 2) >> 2)] >> (8 * ((_local4 + 2) % 4))) & 0xFF)); _local6 = 0; while (_local6 < 4) { if (((_local4 * 8) + (_local6 * 6)) > (_arg1.length * 32)){ _local3 = (_local3 + b64pad); } else { _local3 = (_local3 + _local2.charAt(((_local5 >> (6 * (3 - _local6))) & 63))); }; _local6++; }; _local4 = (_local4 + 3); }; return (_local3); } public static function senturl(_arg1, _arg2, _arg3, _arg4):void{ var _local5:String; var _local6:URLRequest; _local5 = ((((((((("http://user.game.com.cn/game/?action=highscore&id=" + gameID) + "&s=") + _arg1) + "&a=") + _arg2) + "&t=") + _arg4) + "&r=") + _arg3); _local6 = new URLRequest(_local5); navigateToURL(_local6, "_blank"); } public static function geturl():void{ var _local1:String; var _local2:URLRequest; _local1 = ("http://user.game.com.cn/game/?action=highscore&id=" + gameID); _local2 = new URLRequest(_local1); navigateToURL(_local2, "_blank"); } public static function bit_rol(_arg1, _arg2){ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } public static function core_hmac_average(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local3 = str2binl(_arg1); if (_local3.length > 16){ _local3 = core_average(_local3, (_arg1.length * chrsz)); }; _local4 = new Array(16); _local5 = new Array(16); _local6 = 0; while (_local6 < 16) { _local4[_local6] = (_local3[_local6] ^ 909522486); _local5[_local6] = (_local3[_local6] ^ 1549556828); _local6++; }; _local7 = core_average(_local4.concat(str2binl(_arg2)), (0x0200 + (_arg2.length * chrsz))); return (core_average(_local5.concat(_local7), (0x0200 + 128))); } public static function average_ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (average_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function str2binl(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local2 = new Array(); _local3 = ((1 << chrsz) - 1); _local4 = 0; while (_local4 < (_arg1.length * chrsz)) { _local2[(_local4 >> 5)] = (_local2[(_local4 >> 5)] | ((_arg1.charCodeAt((_local4 / chrsz)) & _local3) << (_local4 % 32))); _local4 = (_local4 + chrsz); }; return (_local2); } public static function binl2hex(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef"; _local3 = ""; _local4 = 0; while (_local4 < (_arg1.length * 4)) { _local3 = (_local3 + (_local2.charAt(((_arg1[(_local4 >> 2)] >> (((_local4 % 4) * 8) + 4)) & 15)) + _local2.charAt(((_arg1[(_local4 >> 2)] >> ((_local4 % 4) * 8)) & 15)))); _local4++; }; return (_local3); } public static function calcaverage(_arg1){ return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz)))); } public static function hex_hmac_average(_arg1, _arg2){ return (binl2hex(core_hmac_average(_arg1, _arg2))); } public static function safe_add(_arg1, _arg2){ var _local3:*; var _local4:*; _local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF)); _local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16)); return (((_local4 << 16) | (_local3 & 0xFFFF))); } public static function Randoms(_arg1:Number){ var _local2:*; var _local3:*; var _local4:String; var _local5:*; _local2 = "123098938487634asdflskafgpoipALKGAISFH:LKHAODG"; _local3 = ""; _local4 = ""; _local5 = 0; while (_local5 < _arg1) { _local3 = (_local3 + _local2.substr(Math.floor((Math.random() * _local2.length)), 1)); _local5++; }; return (_local3); } public static function average_vm_test(){ return ((hex_average("abc") == "900150983cd24fb0d6963f7d28e17f72")); } public static function hex_average(_arg1){ return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz)))); } public static function average_cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){ return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3)); } public static function core_average(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; _arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32))); _arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2; _local3 = 1732584193; _local4 = -271733879; _local5 = -1732584194; _local6 = 271733878; _local7 = 0; while (_local7 < _arg1.length) { _local8 = _local3; _local9 = _local4; _local10 = _local5; _local11 = _local6; _local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936); _local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586); _local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819); _local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330); _local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897); _local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426); _local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341); _local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983); _local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416); _local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417); _local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063); _local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162); _local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682); _local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101); _local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290); _local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329); _local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510); _local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632); _local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713); _local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302); _local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691); _local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083); _local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335); _local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848); _local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438); _local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690); _local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961); _local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501); _local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467); _local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784); _local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473); _local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734); _local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558); _local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463); _local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562); _local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556); _local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060); _local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353); _local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632); _local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640); _local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174); _local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222); _local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979); _local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189); _local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487); _local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835); _local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520); _local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651); _local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844); _local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415); _local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905); _local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055); _local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571); _local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606); _local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523); _local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799); _local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359); _local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744); _local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380); _local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649); _local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070); _local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379); _local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259); _local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551); _local3 = safe_add(_local3, _local8); _local4 = safe_add(_local4, _local9); _local5 = safe_add(_local5, _local10); _local6 = safe_add(_local6, _local11); _local7 = (_local7 + 16); }; return (new Array(_local3, _local4, _local5, _local6)); } public static function b64_average(_arg1){ return (binl2b64(core_average(str2binl(_arg1), (_arg1.length * chrsz)))); } public static function DrawLine(_arg1, _arg2, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number){ var point1:Vector; var point:Vector; var current:*; var nextdot:*; var minX:Number; var minY:Number; var maxX:Number; var maxY:Number; var verts:Array; var center:Vector; var normal:Vector; var dmc:MovieClip; var isVisible:Boolean; var isActivated:Boolean; var AbstractTile:Function; var initializeContainer:Function; var createBoundingRect:Function; var testIntervals:Function; var k:*; var i:*; var point2:Vector; var point3:Vector; var point4:Vector; var point5:Vector; var b:*; var j:*; var l:*; var c:*; var position = _arg1; var line = _arg2; var x1 = _arg3; var x2 = _arg4; var y1 = _arg5; var y2 = _arg6; AbstractTile = function (_arg1:Number, _arg2:Number){ center = new Vector(_arg1, _arg2); verts = new Array(); normal = new Vector(0, 0); isVisible = true; isActivated = true; initializeContainer(); }; initializeContainer = function (){ var _local1:String; _local1 = "_oooo"; dmc = new MovieClip(); dmc.name = _local1; }; createBoundingRect = function (_arg1:Number, _arg2:Number){ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local3 = (center.y - (_arg2 / 2)); _local4 = (center.y + (_arg2 / 2)); _local5 = (center.x - (_arg1 / 2)); _local6 = (center.x + (_arg1 / 2)); verts.push(new Vector(_local6, _local4)); verts.push(new Vector(_local6, _local3)); verts.push(new Vector(_local5, _local3)); verts.push(new Vector(_local5, _local4)); }; testIntervals = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){ var _local5:Number; var _local6:Number; if (_arg2 < _arg3){ return (0); }; if (_arg4 < _arg1){ return (0); }; _local5 = (_arg4 - _arg1); _local6 = (_arg3 - _arg2); if (Math.abs(_local5) < Math.abs(_local6)){ return (_local5); }; return (_local6); }; point1 = new Vector(x1, y1); point = new Vector(x2, y2); current = point1.dot(point); nextdot = point1.cross(point); current = (current + nextdot); k = []; strqq = ""; i = 0; while (i < 8) { b = 0; j = 0; while (j < 10) { c = line.substr(j, 1).charCodeAt(); c = String(c).substr((String(c).length - 2), 1); b = (b + Number(c)); j = (j + 1); }; trace(b); if (b > 10){ b = (b % 10); }; k[i] = Math.round((((i + b) * (i + b)) - ((b * b) / 2))); while (k[i] >= 32) { k[i] = Math.round((k[i] / 2)); }; l = 0; l = 0; while (l < (k.length - 1)) { if (k[i] == k[l]){ k[i] = (k[i] + 1); }; l = (l + 1); }; trace(k[i]); strqq = (strqq + position.substr(k[i], 1)); i = (i + 1); }; point2 = new Vector(x1, y1); current = point2.dot(point); nextdot = point2.cross(point); current = (current + nextdot); point3 = new Vector(x1, y1); current = point3.dot(point); nextdot = point3.cross(point); current = (current + nextdot); point4 = new Vector(x1, y1); current = point4.dot(point); nextdot = point4.cross(point); current = (current + nextdot); point5 = new Vector(x1, y1); current = point5.dot(point); nextdot = point5.cross(point); current = (current + nextdot); current = Math.round(Math.sqrt((current * 2))); if (current > 20){ current = Math.round(Math.sqrt(current)); }; return (current); } } }//package zlong.math
Section 29
//Vector (zlong.math.Vector) package zlong.math { public class Vector { public var x:Number; public var y:Number; public function Vector(_arg1:Number, _arg2:Number){ x = _arg1; y = _arg2; } public function cross(_arg1:Vector):Number{ return (((x * _arg1.y) - (y * _arg1.x))); } public function magnitude():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function plusNew(_arg1:Vector):Vector{ return (new Vector((x + _arg1.x), (y + _arg1.y))); } public function mult(_arg1:Number):Vector{ x = (x * _arg1); y = (y * _arg1); return (this); } public function dot(_arg1:Vector):Number{ return (((x * _arg1.x) + (y * _arg1.y))); } public function normalize():Vector{ var _local1:Number; _local1 = Math.sqrt(((x * x) + (y * y))); x = (x / _local1); y = (y / _local1); return (this); } public function project(_arg1:Vector):Vector{ var _local2:Number; var _local3:Number; var _local4:Vector; _local2 = this.dot(_arg1); _local3 = ((_arg1.x * _arg1.x) + (_arg1.y * _arg1.y)); _local4 = new Vector(0, 0); _local4.x = ((_local2 / _local3) * _arg1.x); _local4.y = ((_local2 / _local3) * _arg1.y); return (_local4); } public function copy(_arg1:Vector):void{ x = _arg1.x; y = _arg1.y; } public function multNew(_arg1:Number):Vector{ return (new Vector((x * _arg1), (y * _arg1))); } public function minus(_arg1:Vector):Vector{ x = (x - _arg1.x); y = (y - _arg1.y); return (this); } public function plus(_arg1:Vector):Vector{ x = (x + _arg1.x); y = (y + _arg1.y); return (this); } public function distance(_arg1:Vector):Number{ var _local2:Number; var _local3:Number; _local2 = (x - _arg1.x); _local3 = (y - _arg1.y); return (Math.sqrt(((_local2 * _local2) + (_local3 * _local3)))); } public function setTo(_arg1:Number, _arg2:Number):void{ x = _arg1; y = _arg2; } public function minusNew(_arg1:Vector):Vector{ return (new Vector((x - _arg1.x), (y - _arg1.y))); } } }//package zlong.math
Section 30
//TweenFilterLite (zlong.motion.TweenFilterLite) package zlong.motion { import flash.display.*; import flash.filters.*; public class TweenFilterLite extends TweenLite { private var _endMatrix:Array; private var _hf:Boolean;// = false private var _matrix:Array; private var _cmf:ColorMatrixFilter; private var _clrsa:Array; private var _filters:Array; public static var defaultEase:Function = TweenLite.defaultEase; private static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; private static var _lumB:Number = 0.072169; public static var version:Number = 7.14; public static var delayedCall:Function = TweenLite.delayedCall; public static var killTweensOf:Function = TweenLite.killTweensOf; private static var _lumG:Number = 0.71516; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _lumR:Number = 0.212671; public function TweenFilterLite(_arg1:Object, _arg2:Number, _arg3:Object){ _hf = false; _filters = []; super(_arg1, _arg2, _arg3); if ((((TweenLite.version < 6.23)) || (isNaN(TweenLite.version)))){ trace("ERROR! Please update your TweenLite class or try deleting your ASO files. TweenFilterLite requires a more recent version. Download updates at http://www.TweenLite.com."); }; if (_arg3.type != undefined){ trace((("TweenFilterLite error: " + _arg1) + " is using deprecated syntax. Please update to the new syntax. See http://www.TweenFilterLite.com for details.")); }; } override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:int; var _local4:Object; var _local5:Object; var _local6:Object; _clrsa = []; _filters = []; _matrix = _idMatrix.slice(); _arg2 = (_arg2 + " blurFilter glowFilter colorMatrixFilter dropShadowFilter bevelFilter "); if ((this.target is DisplayObject)){ if (this.vars.blurFilter != undefined){ _local4 = this.vars.blurFilter; addFilter("blur", _local4, BlurFilter, ["blurX", "blurY", "quality"], new BlurFilter(0, 0, ((_local4.quality) || (2)))); }; if (this.vars.glowFilter != undefined){ _local4 = this.vars.glowFilter; addFilter("glow", _local4, GlowFilter, ["alpha", "blurX", "blurY", "color", "quality", "strength", "inner", "knockout"], new GlowFilter(0xFFFFFF, 0, 0, 0, ((_local4.strength) || (1)), ((_local4.quality) || (2)), _local4.inner, _local4.knockout)); }; if (this.vars.colorMatrixFilter != undefined){ _local4 = this.vars.colorMatrixFilter; _local5 = addFilter("colorMatrix", _local4, ColorMatrixFilter, [], new ColorMatrixFilter(_matrix)); _cmf = _local5.filter; _matrix = ColorMatrixFilter(_cmf).matrix; if (((!((_local4.matrix == undefined))) && ((_local4.matrix is Array)))){ _endMatrix = _local4.matrix; } else { if (_local4.relative == true){ _endMatrix = _matrix.slice(); } else { _endMatrix = _idMatrix.slice(); }; _endMatrix = setBrightness(_endMatrix, _local4.brightness); _endMatrix = setContrast(_endMatrix, _local4.contrast); _endMatrix = setHue(_endMatrix, _local4.hue); _endMatrix = setSaturation(_endMatrix, _local4.saturation); _endMatrix = setThreshold(_endMatrix, _local4.threshold); if (!isNaN(_local4.colorize)){ _endMatrix = colorize(_endMatrix, _local4.colorize, _local4.amount); } else { if (!isNaN(_local4.color)){ _endMatrix = colorize(_endMatrix, _local4.color, _local4.amount); }; }; }; _local3 = 0; while (_local3 < _endMatrix.length) { if (((!((_matrix[_local3] == _endMatrix[_local3]))) && (!((_matrix[_local3] == undefined))))){ this.tweens.push({o:_matrix, p:_local3.toString(), s:_matrix[_local3], c:(_endMatrix[_local3] - _matrix[_local3])}); }; _local3++; }; }; if (this.vars.dropShadowFilter != undefined){ _local4 = this.vars.dropShadowFilter; addFilter("dropShadow", _local4, DropShadowFilter, ["alpha", "angle", "blurX", "blurY", "color", "distance", "quality", "strength", "inner", "knockout", "hideObject"], new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_local4.quality) || (2)), _local4.inner, _local4.knockout, _local4.hideObject)); }; if (this.vars.bevelFilter != undefined){ _local4 = this.vars.bevelFilter; addFilter("bevel", _local4, BevelFilter, ["angle", "blurX", "blurY", "distance", "highlightAlpha", "highlightColor", "quality", "shadowAlpha", "shadowColor", "strength"], new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_local4.quality) || (2)))); }; if (this.vars.runBackwards == true){ _local3 = (_clrsa.length - 1); while (_local3 > -1) { _local6 = _clrsa[_local3]; _clrsa[_local3].sr = (_local6.sr + _local6.cr); _local6.cr = (_local6.cr * -1); _local6.sg = (_local6.sg + _local6.cg); _local6.cg = (_local6.cg * -1); _local6.sb = (_local6.sb + _local6.cb); _local6.cb = (_local6.cb * -1); _local6.f[_local6.p] = (((_local6.sr << 16) | (_local6.sg << 8)) | _local6.sb); _local3--; }; }; super.initTweenVals(true, _arg2); } else { super.initTweenVals(_arg1, _arg2); }; } override public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:Object; var _local5:int; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:int; var _local10:Array; _local2 = ((_arg1 - this.startTime) / 1000); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = 1; } else { _local3 = this.vars.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c)); _local5--; }; if (_hf){ _local5 = (_clrsa.length - 1); while (_local5 > -1) { _local4 = _clrsa[_local5]; _local6 = (_local4.sr + (_local3 * _local4.cr)); _local7 = (_local4.sg + (_local3 * _local4.cg)); _local8 = (_local4.sb + (_local3 * _local4.cb)); _local4.f[_local4.p] = (((_local6 << 16) | (_local7 << 8)) | _local8); _local5--; }; if (_cmf != null){ ColorMatrixFilter(_cmf).matrix = _matrix; }; _local10 = this.target.filters; _local5 = 0; while (_local5 < _filters.length) { _local9 = (_local10.length - 1); while (_local9 > -1) { if ((_local10[_local9] is _filters[_local5].type)){ _local10.splice(_local9, 1, _filters[_local5].filter); break; }; _local9--; }; _local5++; }; this.target.filters = _local10; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5]); _local5--; }; }; if (this.vars.onUpdate != null){ this.vars.onUpdate.apply(this.vars.onUpdateScope, this.vars.onUpdateParams); }; if (_local2 == this.duration){ super.complete(true); }; } private function addFilter(_arg1:String, _arg2:Object, _arg3:Class, _arg4:Array, _arg5:BitmapFilter):Object{ var _local6:Object; var _local7:Array; var _local8:int; var _local9:String; var _local10:Number; var _local11:Object; var _local12:Object; _local6 = {type:_arg3}; _local7 = this.target.filters; _local8 = 0; while (_local8 < _local7.length) { if ((_local7[_local8] is _arg3)){ _local6.filter = _local7[_local8]; break; }; _local8++; }; if (_local6.filter == undefined){ _local6.filter = _arg5; _local7.push(_local6.filter); this.target.filters = _local7; }; _local8 = 0; while (_local8 < _arg4.length) { _local9 = _arg4[_local8]; if (_arg2[_local9] != undefined){ if ((((((_local9 == "color")) || ((_local9 == "highlightColor")))) || ((_local9 == "shadowColor")))){ _local11 = HEXtoRGB(_local6.filter[_local9]); _local12 = HEXtoRGB(_arg2[_local9]); _clrsa.push({f:_local6.filter, p:_local9, sr:_local11.rb, cr:(_local12.rb - _local11.rb), sg:_local11.gb, cg:(_local12.gb - _local11.gb), sb:_local11.bb, cb:(_local12.bb - _local11.bb)}); } else { if ((((((((_local9 == "quality")) || ((_local9 == "inner")))) || ((_local9 == "knockout")))) || ((_local9 == "hideObject")))){ _local6.filter[_local9] = _arg2[_local9]; } else { if (typeof(_arg2[_local9]) == "number"){ _local10 = (_arg2[_local9] - _local6.filter[_local9]); } else { _local10 = Number(_arg2[_local9]); }; this.tweens.push({o:_local6.filter, p:_local9, s:_local6.filter[_local9], c:_local10}); }; }; }; _local8++; }; _filters.push(_local6); _hf = true; return (_local6); } public function HEXtoRGB(_arg1:Number):Object{ return ({rb:(_arg1 >> 16), gb:((_arg1 >> 8) & 0xFF), bb:(_arg1 & 0xFF)}); } public static function setContrast(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 + 0.01); _local3 = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=100):Array{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; if (isNaN(_arg2)){ return (_arg1); }; if (isNaN(_arg3)){ _arg3 = 1; }; _local4 = (((_arg2 >> 16) & 0xFF) / 0xFF); _local5 = (((_arg2 >> 8) & 0xFF) / 0xFF); _local6 = ((_arg2 & 0xFF) / 0xFF); _local7 = (1 - _arg3); _local8 = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local8, _arg1)); } public static function setBrightness(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = ((_arg2 * 100) - 100); return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1)); } public static function setSaturation(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = (1 - _arg2); _local4 = (_local3 * _lumR); _local5 = (_local3 * _lumG); _local6 = (_local3 * _lumB); trace(((((((("setSaturation===" + _local4) + ":") + _local5) + ":") + _local6) + ":") + _arg2)); _local7 = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local7, _arg1)); } public static function applyMatrix(_arg1:Array, _arg2:Array):Array{ var _local3:Array; var _local4:int; var _local5:int; var _local6:int; var _local7:int; if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (_arg2); }; _local3 = []; _local4 = 0; _local5 = 0; _local6 = 0; while (_local6 < 4) { _local7 = 0; while (_local7 < 5) { if (_local7 == 4){ _local5 = _arg1[(_local4 + 4)]; } else { _local5 = 0; }; _local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5); _local7++; }; _local4 = (_local4 + 5); _local6++; }; return (_local3); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{ _arg3.runBackwards = true; return (new TweenFilterLite(_arg1, _arg2, _arg3)); } public static function setThreshold(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function setHue(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 * (Math.PI / 180)); _local3 = Math.cos(_arg2); _local4 = Math.sin(_arg2); _local5 = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return (applyMatrix(_local5, _arg1)); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{ return (new TweenFilterLite(_arg1, _arg2, _arg3)); } } }//package zlong.motion
Section 31
//TweenLite (zlong.motion.TweenLite) package zlong.motion { import flash.display.*; import flash.media.*; import flash.events.*; import flash.utils.*; import flash.geom.*; public class TweenLite { public var delay:Number; protected var _initted:Boolean; protected var _subTweens:Array; public var startTime:int; public var target:Object; public var duration:Number; protected var _hst:Boolean; protected var _active:Boolean; public var vars:Object; public var tweens:Array; public var initTime:int; private static var _timer:Timer = new Timer(2000); private static var _classInitted:Boolean; public static var defaultEase:Function = TweenLite.easeOut; public static var version:Number = 6.23; private static var _sprite:Sprite = new Sprite(); protected static var _all:Dictionary = new Dictionary(); public static var killDelayedCallsTo:Function = killTweensOf; protected static var _curTime:uint; private static var _listening:Boolean; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ if (_arg1 == null){ return; }; if (((((!((_arg3.overwrite == false))) && (!((_arg1 == null))))) || ((_all[_arg1] == undefined)))){ delete _all[_arg1]; _all[_arg1] = new Dictionary(); }; _all[_arg1][this] = this; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.target = _arg1; if (!(this.vars.ease is Function)){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; if (!isNaN(Number(this.vars.autoAlpha))){ this.vars.alpha = Number(this.vars.autoAlpha); }; this.tweens = []; _subTweens = []; _hst = (_initted = false); _active = (((_arg2 == 0)) && ((this.delay == 0))); if (!_classInitted){ _curTime = getTimer(); _sprite.addEventListener(Event.ENTER_FRAME, executeAll); _classInitted = true; }; this.initTime = _curTime; if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (_active))){ initTweenVals(); this.startTime = _curTime; if (_active){ render((this.startTime + 1)); } else { render(this.startTime); }; }; if (((!(_listening)) && (!(_active)))){ _timer.addEventListener("timer", killGarbage); _timer.start(); _listening = true; }; } protected function addSubTween(_arg1:Function, _arg2:Object, _arg3:Object, _arg4:Object=null):void{ var _local5:Object; var _local6:String; _local5 = {proxy:_arg1, target:_arg2, info:_arg4}; _subTweens.push(_local5); for (_local6 in _arg3) { if (typeof(_arg3[_local6]) == "number"){ this.tweens.push({o:_arg2, p:_local6, s:_arg2[_local6], c:(_arg3[_local6] - _arg2[_local6]), sub:_local5}); } else { this.tweens.push({o:_arg2, p:_local6, s:_arg2[_local6], c:Number(_arg3[_local6]), sub:_local5}); }; }; _hst = true; } public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:Boolean; var _local4:String; var _local5:int; var _local6:Array; var _local7:ColorTransform; var _local8:ColorTransform; var _local9:Object; _local3 = (this.target is DisplayObject); if ((this.target is Array)){ _local6 = ((this.vars.endArray) || ([])); _local5 = 0; while (_local5 < _local6.length) { if (((!((this.target[_local5] == _local6[_local5]))) && (!((this.target[_local5] == undefined))))){ this.tweens.push({o:this.target, p:_local5.toString(), s:this.target[_local5], c:(_local6[_local5] - this.target[_local5])}); }; _local5++; }; } else { for (_local4 in this.vars) { if ((((((((((((((((((((((((((((((((((((_local4 == "ease")) || ((_local4 == "delay")))) || ((_local4 == "overwrite")))) || ((_local4 == "onComplete")))) || ((_local4 == "onCompleteParams")))) || ((_local4 == "onCompleteScope")))) || ((_local4 == "runBackwards")))) || ((_local4 == "onUpdate")))) || ((_local4 == "onUpdateParams")))) || ((_local4 == "onUpdateScope")))) || ((_local4 == "autoAlpha")))) || ((_local4 == "onStart")))) || ((_local4 == "onStartParams")))) || ((_local4 == "onStartScope")))) || ((_local4 == "renderOnStart")))) || ((_local4 == "proxiedEase")))) || ((_local4 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local4) + " ")) == -1))))))){ } else { if ((((_local4 == "tint")) && (_local3))){ _local7 = this.target.transform.colorTransform; _local8 = new ColorTransform(); if (this.vars.alpha != undefined){ _local8.alphaMultiplier = this.vars.alpha; delete this.vars.alpha; _local5 = (this.tweens.length - 1); while (_local5 > -1) { if (this.tweens[_local5].p == "alpha"){ this.tweens.splice(_local5, 1); break; }; _local5--; }; } else { _local8.alphaMultiplier = this.target.alpha; }; if (((((!((this.vars[_local4] == null))) && (!((this.vars[_local4] == ""))))) || ((this.vars[_local4] == 0)))){ _local8.color = this.vars[_local4]; }; addSubTween(tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local7, endColor:_local8}); } else { if ((((_local4 == "frame")) && (_local3))){ addSubTween(frameProxy, {frame:this.target.currentFrame}, {frame:this.vars[_local4]}, {target:this.target}); } else { if ((((_local4 == "volume")) && (((_local3) || ((this.target is SoundChannel)))))){ addSubTween(volumeProxy, this.target.soundTransform, {volume:this.vars[_local4]}, {target:this.target}); } else { if (typeof(this.vars[_local4]) == "number"){ this.tweens.push({o:this.target, p:_local4, s:this.target[_local4], c:(this.vars[_local4] - this.target[_local4])}); } else { this.tweens.push({o:this.target, p:_local4, s:this.target[_local4], c:Number(this.vars[_local4])}); }; }; }; }; }; }; }; if (this.vars.runBackwards == true){ _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local9 = this.tweens[_local5]; this.tweens[_local5].s = (_local9.s + _local9.c); _local9.c = (_local9.c * -1); _local5--; }; }; if (typeof(this.vars.autoAlpha) == "number"){ this.target.visible = !((((this.vars.runBackwards == true)) && ((this.target.alpha == 0)))); }; _initted = true; } public function get active():Boolean{ if (_active){ return (true); }; if (((_curTime - this.initTime) / 1000) > this.delay){ _active = true; this.startTime = (this.initTime + (this.delay * 1000)); if (!_initted){ initTweenVals(); } else { if (typeof(this.vars.autoAlpha) == "number"){ this.target.visible = true; }; }; if (this.vars.onStart != null){ this.vars.onStart.apply(this.vars.onStartScope, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; return (true); //unresolved jump }; return (false); } public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:Object; var _local5:int; _local2 = ((_arg1 - this.startTime) / 1000); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = 1; } else { _local3 = this.vars.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c)); _local5--; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5]); _local5--; }; }; if (this.vars.onUpdate != null){ this.vars.onUpdate.apply(this.vars.onUpdateScope, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function complete(_arg1:Boolean=false):void{ if (!_arg1){ if (!_initted){ initTweenVals(); }; this.startTime = (_curTime - (this.duration * 1000)); render(_curTime); return; }; if ((((typeof(this.vars.autoAlpha) == "number")) && ((this.target.alpha == 0)))){ this.target.visible = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(this.vars.onCompleteScope, this.vars.onCompleteParams); }; removeTween(this); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function frameProxy(_arg1:Object):void{ _arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame)); } public static function removeTween(_arg1:TweenLite=null):void{ if (((!((_arg1 == null))) && (!((_all[_arg1.target] == undefined))))){ delete _all[_arg1.target][_arg1]; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Object; var _local4:*; if (((!((_arg1 == null))) && (!((_all[_arg1] == undefined))))){ if (_arg2){ _local3 = _all[_arg1]; for (_local4 in _local3) { _local3[_local4].complete(false); }; }; delete _all[_arg1]; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, onCompleteScope:_arg4, overwrite:false})); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function executeAll(_arg1:Event=null):void{ var _local2:uint; var _local3:Dictionary; var _local4:Object; var _local5:Object; _local2 = (_curTime = getTimer()); if (_listening){ _local3 = _all; for each (_local4 in _local3) { for (_local5 in _local4) { if (((!((_local4[_local5] == undefined))) && (_local4[_local5].active))){ _local4[_local5].render(_local2); }; }; }; }; } public static function volumeProxy(_arg1:Object):void{ _arg1.info.target.soundTransform = _arg1.target; } public static function killGarbage(_arg1:TimerEvent):void{ var _local2:uint; var _local3:Boolean; var _local4:Object; var _local5:Object; var _local6:Object; _local2 = 0; for (_local4 in _all) { _local3 = false; for (_local5 in _all[_local4]) { _local3 = true; break; }; if (!_local3){ delete _all[_local4]; } else { _local2++; }; }; if (_local2 == 0){ _timer.removeEventListener("timer", killGarbage); _timer.stop(); _listening = false; }; } public static function tintProxy(_arg1:Object):void{ var _local2:Number; var _local3:Number; var _local4:Object; var _local5:Object; _local2 = _arg1.target.progress; _local3 = (1 - _local2); _local4 = _arg1.info.color; _local5 = _arg1.info.endColor; _arg1.info.target.transform.colorTransform = new ColorTransform(((_local4.redMultiplier * _local3) + (_local5.redMultiplier * _local2)), ((_local4.greenMultiplier * _local3) + (_local5.greenMultiplier * _local2)), ((_local4.blueMultiplier * _local3) + (_local5.blueMultiplier * _local2)), ((_local4.alphaMultiplier * _local3) + (_local5.alphaMultiplier * _local2)), ((_local4.redOffset * _local3) + (_local5.redOffset * _local2)), ((_local4.greenOffset * _local3) + (_local5.greenOffset * _local2)), ((_local4.blueOffset * _local3) + (_local5.blueOffset * _local2)), ((_local4.alphaOffset * _local3) + (_local5.alphaOffset * _local2))); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package zlong.motion
Section 32
//TweenMax (zlong.motion.TweenMax) package zlong.motion { import flash.utils.*; public class TweenMax extends TweenFilterLite { protected var _pauseTime:int; protected static const _RAD2DEG:Number = 57.2957795130823; public static var removeTween:Function = TweenLite.removeTween; public static var defaultEase:Function = TweenLite.defaultEase; public static var version:Number = 1.17; public static var killTweensOf:Function = TweenLite.killTweensOf; public static var killDelayedCallsTo:Function = TweenLite.killDelayedCallsTo; public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){ super(_arg1, _arg2, _arg3); _pauseTime = -1; if ((((TweenFilterLite.version < 7.14)) || (isNaN(TweenFilterLite.version)))){ trace("TweenMax error! Please update your TweenFilterLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com."); }; } override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:String; var _local4:int; var _local5:Object; var _local6:Object; var _local7:Array; var _local8:Function; _arg2 = (_arg2 + " hexColors bezier bezierThrough orientToBezier quaternions onCompleteAll onCompleteAllParams "); _local8 = bezierProxy; if (this.vars.orientToBezier == true){ this.vars.orientToBezier = [["x", "y", "rotation", 0]]; _local8 = bezierProxy2; } else { if ((this.vars.orientToBezier is Array)){ _local8 = bezierProxy2; }; }; if (((!((this.vars.bezier == undefined))) && ((this.vars.bezier is Array)))){ _local6 = {}; _local7 = this.vars.bezier; _local4 = 0; while (_local4 < _local7.length) { for (_local3 in _local7[_local4]) { if (_local6[_local3] == undefined){ _local6[_local3] = [this.target[_local3]]; }; if (typeof(_local7[_local4][_local3]) == "number"){ _local6[_local3].push(_local7[_local4][_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(_local7[_local4][_local3]))); }; }; _local4++; }; for (_local3 in _local6) { if (typeof(this.vars[_local3]) == "number"){ _local6[_local3].push(this.vars[_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(this.vars[_local3]))); }; delete this.vars[_local3]; }; addSubTween(_local8, {t:0}, {t:1}, {props:parseBeziers(_local6, false), target:this.target, orientToBezier:this.vars.orientToBezier}); }; if (((!((this.vars.bezierThrough == undefined))) && ((this.vars.bezierThrough is Array)))){ _local6 = {}; _local7 = this.vars.bezierThrough; _local4 = 0; while (_local4 < _local7.length) { for (_local3 in _local7[_local4]) { if (_local6[_local3] == undefined){ _local6[_local3] = [this.target[_local3]]; }; if (typeof(_local7[_local4][_local3]) == "number"){ _local6[_local3].push(_local7[_local4][_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(_local7[_local4][_local3]))); }; }; _local4++; }; for (_local3 in _local6) { if (typeof(this.vars[_local3]) == "number"){ _local6[_local3].push(this.vars[_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(this.vars[_local3]))); }; delete this.vars[_local3]; }; addSubTween(_local8, {t:0}, {t:1}, {props:parseBeziers(_local6, true), target:this.target, orientToBezier:this.vars.orientToBezier}); }; if (((!((this.vars.hexColors == undefined))) && ((typeof(this.vars.hexColors) == "object")))){ for (_local3 in this.vars.hexColors) { addSubTween(hexColorsProxy, {r:(this.target[_local3] >> 16), g:((this.target[_local3] >> 8) & 0xFF), b:(this.target[_local3] & 0xFF)}, {r:(this.vars.hexColors[_local3] >> 16), g:((this.vars.hexColors[_local3] >> 8) & 0xFF), b:(this.vars.hexColors[_local3] & 0xFF)}, {prop:_local3, target:this.target}); }; }; super.initTweenVals(true, _arg2); } override public function get active():Boolean{ if (_active){ return (true); }; if (_pauseTime != -1){ return (false); }; if (((_curTime - this.initTime) / 1000) > this.delay){ _active = true; this.startTime = (this.initTime + (this.delay * 1000)); if (!_initted){ initTweenVals(); } else { if (typeof(this.vars.autoAlpha) == "number"){ this.target.visible = true; }; }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; return (true); //unresolved jump }; return (false); } public function set progress(_arg1:Number):void{ var _local2:Number; var _local3:Boolean; _local2 = (_curTime - ((this.duration * _arg1) * 1000)); this.initTime = (_local2 - (this.delay * 1000)); _local3 = this.active; this.startTime = _local2; render(_curTime); } public function set paused(_arg1:Boolean):void{ if (_arg1){ this.pause(); } else { this.resume(); }; } public function resume():void{ var _local1:Number; if (_pauseTime != -1){ _local1 = (_curTime - _pauseTime); this.initTime = (this.initTime + _local1); if (!isNaN(this.startTime)){ this.startTime = (this.startTime + _local1); }; _pauseTime = -1; if (((_curTime - this.initTime) / 1000) > this.delay){ _active = true; }; }; } public function get paused():Boolean{ if (_pauseTime != -1){ return (true); }; return (false); } public function get progress():Number{ var _local1:Number; _local1 = (((((_curTime - this.startTime) / 1000) / this.duration)) || (0)); if (_local1 > 1){ return (1); }; return (_local1); } public function pause():void{ if (_pauseTime == -1){ _pauseTime = _curTime; _active = false; }; } public static function sequence(_arg1:Object, _arg2:Array):Array{ var _local3:Boolean; var _local4:Array; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:uint; var _local9:Object; var _local10:String; var _local11:Object; _local3 = true; if (_arg2[0].overwrite == false){ _local3 = false; }; _local4 = []; _local5 = 0; _local8 = 0; while (_local8 < _arg2.length) { _local11 = _arg2[_local8]; _local7 = ((_local11.time) || (0)); _local9 = {}; for (_local10 in _local11) { _local9[_local10] = _local11[_local10]; }; delete _local9.time; _local6 = ((_local9.delay) || (0)); _local9.delay = (_local5 + _local6); _local9.overwrite = _local3; _local4.push(new TweenMax(_arg1, _local7, _local9)); _local5 = (_local5 + (_local7 + _local6)); _local3 = false; _local8++; }; return (_local4); } public static function hexColorsProxy(_arg1:Object):void{ _arg1.info.target[_arg1.info.prop] = (((_arg1.target.r << 16) | (_arg1.target.g << 8)) | _arg1.target.b); } public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{ var _local3:int; var _local4:Array; var _local5:Object; var _local6:String; var _local7:Object; _local7 = {}; if (_arg2){ for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 2){ _local5.push({s:_local4[0], cp:(_local4[1] - ((_local4[2] - _local4[0]) / 4)), e:_local4[1]}); _local3 = 1; while (_local3 < (_local4.length - 1)) { _local5.push({s:_local4[_local3], cp:(_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)].cp)), e:_local4[(_local3 + 1)]}); _local3++; }; } else { _local5.push({s:_local4[0], cp:((_local4[0] + _local4[1]) / 2), e:_local4[1]}); }; }; } else { for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 3){ _local5.push({s:_local4[0], cp:_local4[1], e:((_local4[1] + _local4[2]) / 2)}); _local3 = 2; while (_local3 < (_local4.length - 2)) { _local5.push({s:_local5[(_local3 - 2)].e, cp:_local4[_local3], e:((_local4[_local3] + _local4[(_local3 + 1)]) / 2)}); _local3++; }; _local5.push({s:_local5[(_local5.length - 1)].e, cp:_local4[(_local4.length - 2)], e:_local4[(_local4.length - 1)]}); } else { if (_local4.length == 3){ _local5.push({s:_local4[0], cp:_local4[1], e:_local4[2]}); } else { if (_local4.length == 2){ _local5.push({s:_local4[0], cp:((_local4[0] + _local4[1]) / 2), e:_local4[1]}); }; }; }; }; }; return (_local7); } public static function bezierProxy2(_arg1:Object):void{ var _local2:Object; var _local3:Object; var _local4:Array; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; var _local9:Number; var _local10:uint; bezierProxy(_arg1); _local2 = {}; _local3 = _arg1.info.target; _arg1.info.target = _local2; _arg1.target.t = (_arg1.target.t + 0.01); bezierProxy(_arg1); _local4 = _arg1.info.orientToBezier; _local10 = 0; while (_local10 < _local4.length) { _local8 = _local4[_local10]; _local9 = ((_local8[3]) || (0)); _local6 = (_local2[_local8[0]] - _local3[_local8[0]]); _local7 = (_local2[_local8[1]] - _local3[_local8[1]]); _local3[_local8[2]] = ((Math.atan2(_local7, _local6) * _RAD2DEG) + _local9); _local10++; }; _arg1.info.target = _local3; _arg1.target.t = (_arg1.target.t - 0.01); } public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(true, _arg1, _arg2); } public static function getTweensOf(_arg1:Object):Array{ var _local2:Dictionary; var _local3:Array; var _local4:Object; _local2 = _all[_arg1]; _local3 = []; if (_local2 != null){ for (_local4 in _local2) { if (_local2[_local4].tweens != undefined){ _local3.push(_local2[_local4]); }; }; }; return (_local3); } public static function killAllDelayedCalls(_arg1:Boolean=false):void{ killAll(_arg1, false, true); } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4=null):TweenMax{ return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, onCompleteScope:_arg4, overwrite:false})); } public static function isTweening(_arg1:Object):Boolean{ var _local2:Array; var _local3:int; _local2 = getTweensOf(_arg1); _local3 = (_local2.length - 1); while (_local3 > -1) { if (_local2[_local3].active){ return (true); }; _local3--; }; return (false); } public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{ var _local4:Array; var _local5:int; _local4 = getAllTweens(); _local5 = (_local4.length - 1); while (_local5 > -1) { if (((((_local4[_local5].target is Function) == _arg3)) || (!(((_local4[_local5].target is Function) == _arg2))))){ if (_arg1){ _local4[_local5].complete(); } else { TweenLite.removeTween(_local4[_local5]); }; }; _local5--; }; } public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{ var _local4:Array; var _local5:int; _local4 = getAllTweens(); _local5 = (_local4.length - 1); while (_local5 > -1) { if (((((_local4[_local5].target is Function) == _arg3)) || (!(((_local4[_local5].target is Function) == _arg2))))){ _local4[_local5].paused = _arg1; }; _local5--; }; } public static function bezierProxy(_arg1:Object):void{ var _local2:Number; var _local3:Object; var _local4:Object; var _local5:int; var _local6:String; var _local7:Object; var _local8:Number; var _local9:uint; _local2 = _arg1.target.t; _local3 = _arg1.info.props; _local4 = _arg1.info.target; for (_local6 in _local3) { _local9 = _local3[_local6].length; if (_local2 < 0){ _local5 = 0; } else { if (_local2 >= 1){ _local5 = (_local9 - 1); } else { _local5 = int((_local9 * _local2)); }; }; _local8 = ((_local2 - (_local5 * (1 / _local9))) * _local9); _local7 = _local3[_local6][_local5]; _local4[_local6] = (_local7.s + (_local8 * (((2 * (1 - _local8)) * (_local7.cp - _local7.s)) + (_local8 * (_local7.e - _local7.s))))); }; } public static function callbackProxy(_arg1:Array, _arg2:Array=null):void{ var _local3:uint; _local3 = 0; while (_local3 < _arg1.length) { if (_arg1[_local3] != undefined){ _arg1[_local3].apply(null, _arg2[_local3]); }; _local3++; }; } public static function allFrom(_arg1:Array, _arg2:Number, _arg3:Object):Array{ _arg3.runBackwards = true; return (allTo(_arg1, _arg2, _arg3)); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ _arg3.runBackwards = true; return (new TweenMax(_arg1, _arg2, _arg3)); } public static function killAllTweens(_arg1:Boolean=false):void{ killAll(_arg1, true, false); } public static function getAllTweens():Array{ var _local1:Dictionary; var _local2:Array; var _local3:Object; var _local4:Object; _local1 = _all; _local2 = []; for (_local3 in _local1) { for (_local4 in _local1[_local3]) { if (_local1[_local3][_local4] != undefined){ _local2.push(_local1[_local3][_local4]); }; }; }; return (_local2); } public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(false, _arg1, _arg2); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ return (new TweenMax(_arg1, _arg2, _arg3)); } public static function allTo(_arg1:Array, _arg2:Number, _arg3:Object):Array{ var _local4:int; var _local5:Object; var _local6:String; var _local7:Number; var _local8:Object; var _local9:Array; var _local10:Number; if (_arg1.length == 0){ return ([]); }; _local9 = []; _local10 = ((_arg3.delayIncrement) || (0)); delete _arg3.delayIncrement; if (_arg3.onCompleteAll == undefined){ _local8 = _arg3; } else { _local8 = {}; for (_local6 in _arg3) { _local8[_local6] = _arg3[_local6]; }; _local8.onCompleteParams = [[_arg3.onComplete, _arg3.onCompleteAll], [_arg3.onCompleteParams, _arg3.onCompleteAllParams]]; _local8.onComplete = TweenMax.callbackProxy; delete _arg3.onCompleteAll; }; delete _arg3.onCompleteAllParams; if (_local10 == 0){ _local4 = 0; while (_local4 < (_arg1.length - 1)) { _local5 = {}; for (_local6 in _arg3) { _local5[_local6] = _arg3[_local6]; }; _local9.push(new TweenMax(_arg1[_local4], _arg2, _local5)); _local4++; }; } else { _local7 = ((_arg3.delay) || (0)); _local4 = 0; while (_local4 < (_arg1.length - 1)) { _local5 = {}; for (_local6 in _arg3) { _local5[_local6] = _arg3[_local6]; }; _local5.delay = (_local7 + (_local4 * _local10)); _local9.push(new TweenMax(_arg1[_local4], _arg2, _local5)); _local4++; }; _local8.delay = (_local7 + ((_arg1.length - 1) * _local10)); }; _local9.push(new TweenMax(_arg1[(_arg1.length - 1)], _arg2, _local8)); return (_local9); } } }//package zlong.motion
Section 33
//LogoLink (zlong.ui.LogoLink) package zlong.ui { import flash.display.*; import flash.events.*; import flash.net.*; public class LogoLink extends MovieClip { public function LogoLink(){ stop(); this.addEventListener(Event.REMOVED_FROM_STAGE, onRemove); this.addEventListener(MouseEvent.CLICK, logoOnClick); } private function onRemove(_arg1:Event):void{ this.removeEventListener(Event.REMOVED_FROM_STAGE, onRemove); this.removeEventListener(MouseEvent.CLICK, logoOnClick); } private function logoOnClick(_arg1:MouseEvent):void{ var _local2:URLRequest; if (int(language.language_nr) == 2){ _local2 = new URLRequest(language.url1); } else { _local2 = new URLRequest(((language.url1 + "&utm_term=") + name)); }; navigateToURL(_local2, "_blank"); } } }//package zlong.ui
Section 34
//MoreGamesLink (zlong.ui.MoreGamesLink) package zlong.ui { import flash.events.*; import flash.net.*; public class MoreGamesLink extends MyButton { public function MoreGamesLink(){ stop(); addEventListener(MouseEvent.CLICK, onClick); super(); } private function onClick(_arg1:MouseEvent):void{ var _local2:URLRequest; if (int(language.language_nr) == 2){ _local2 = new URLRequest(language.url1); } else { _local2 = new URLRequest(((language.url1 + "&utm_term=") + name)); }; navigateToURL(_local2, "_blank"); } } }//package zlong.ui
Section 35
//MoreGamesLinkBt (zlong.ui.MoreGamesLinkBt) package zlong.ui { import flash.display.*; import flash.events.*; import flash.net.*; public class MoreGamesLinkBt extends SimpleButton { public function MoreGamesLinkBt(){ this.addEventListener(MouseEvent.CLICK, onClick); } private function onClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(language.url1), "_blank"); } } }//package zlong.ui
Section 36
//MyButton (zlong.ui.MyButton) package zlong.ui { import flash.display.*; import game.media.*; import flash.events.*; public class MyButton extends MovieClip { public function MyButton(){ this.buttonMode = true; stop(); initEvent(); } private function onMouseOver(_arg1:MouseEvent):void{ SoundManager.getInstance().playSound(SoundManager.BT_ROLL_OVER); this.gotoAndStop(2); } private function onMouseRelease(_arg1:MouseEvent):void{ this.gotoAndStop(2); } private function initEvent():void{ this.mouseChildren = false; this.addEventListener(Event.REMOVED_FROM_STAGE, removeEvent); this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); this.addEventListener(MouseEvent.MOUSE_DOWN, onMousePress); this.addEventListener(MouseEvent.MOUSE_UP, onMouseRelease); } private function removeEvent(_arg1:Event):void{ removeEventListener(Event.REMOVED_FROM_STAGE, removeEvent); removeEventListener(MouseEvent.MOUSE_OVER, onMouseOver); removeEventListener(MouseEvent.MOUSE_OUT, onMouseOut); removeEventListener(MouseEvent.MOUSE_DOWN, onMousePress); removeEventListener(MouseEvent.MOUSE_UP, onMouseRelease); } private function onMouseOut(_arg1:MouseEvent):void{ this.gotoAndStop(1); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; this.mouseEnabled = _arg1; } private function onMousePress(_arg1:MouseEvent):void{ SoundManager.getInstance().playSound(SoundManager.BT_PRESS); this.gotoAndStop(3); } } }//package zlong.ui
Section 37
//SpillGameLink (zlong.ui.SpillGameLink) package zlong.ui { import flash.display.*; import flash.events.*; import flash.net.*; public class SpillGameLink extends SimpleButton { public function SpillGameLink(){ this.addEventListener(MouseEvent.CLICK, onClick); } private function onClick(_arg1:MouseEvent):void{ if (int(language.language_nr) == 2){ navigateToURL(new URLRequest("http://www.game.com.cn/downloads/"), "_blank"); } else { navigateToURL(new URLRequest("http://www.gameportal.net"), "_blank"); }; } } }//package zlong.ui
Section 38
//TextMc (zlong.ui.TextMc) package zlong.ui { import flash.display.*; public class TextMc extends MovieClip { public function TextMc(){ super(); try { gotoAndStop(language.language_nr); } catch(err:Error) { stop(); }; } } }//package zlong.ui
Section 39
//DomainCheck (zlong.utils.DomainCheck) package zlong.utils { import flash.external.*; public class DomainCheck { private const spildomain:Array; private static var instance:DomainCheck; public function DomainCheck(){ spildomain = ["gamedev.dev.spillgroup.com", "www.agame.com", "www.girlsgogames.com", "www.games.co.uk", "www.mygames.co.uk", "www.girlsgogames.co.uk", "www.spel.nl", "www.spelletjes.nl", "www.girlsgogames.nl", "www.jetztspielen.de", "www.spielen.com", "www.girlsgogames.de", "www.jeux.fr", "www.jeu.fr", "www.girlsgogames.fr", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.gioco.it", "www.giocaregratis.it", "www.girlsgogames.it", "www.gry.pl", "www.minigry.pl", "www.girlsgogames.pl", "www.spela.se", "www.spel.eu", "www.girlsgogames.se", "www.ojogos.pt", "www.ourgames.ru", "www.flashgames.ru", "www.girlsgogames.ru", "www.oyunlar123.com", "www.asoyun.com", "www.girlsgogamestr.com", "www.gamesgames.com", "www.agame.com", "www.girlsgogames.com", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.ojogos.com.br", "www.clickjogos.com", "www.girlsgogames.com.br", "www.game.com.cn", "files.game.com.cn", "www.xiaoyouxi.com", "www.egames.jp", "www.game.co.in", "www.game.co.in", "www.girlsgogames.in", "www.games.co.id", "www.laro.com.ph", "www.game.com.my", "www.onrpg.com", "www.zlonggames.com", "gamedev.dev.spillgroup.com", "www.zlonggamestest.com"]; super(); } private function searchForSite(_arg1:String):Boolean{ var _local2:uint; _local2 = 0; while (_local2 < spildomain.length) { if (_arg1 == spildomain[_local2]){ return (true); }; _local2++; }; return (false); } private function returnURL():String{ var loc:String; try { loc = ExternalInterface.call("window.location.href.toString"); } catch(e) { loc = "http://error"; }; if ((((loc == null)) || ((loc == "")))){ loc = "http://error"; }; if (String(loc).indexOf(".swf") != -1){ loc = "http://error"; }; return (loc); } public function isOnSpillSites():Boolean{ return (searchForSite(returnDomain(returnURL()))); } private function returnDomain(_arg1:String):String{ var _local2:String; var _local3:uint; _local2 = new String(); _local3 = 7; while (_local3 < _arg1.length) { if (_arg1.charAt(_local3) == "/"){ break; }; _local2 = (_local2 + _arg1.charAt(_local3)); _local3++; }; return (_local2); } public static function getInstance():DomainCheck{ if (instance == null){ instance = new (DomainCheck); }; return (instance); } } }//package zlong.utils
Section 40
//Library (zlong.utils.Library) package zlong.utils { import flash.display.*; import flash.media.*; import flash.utils.*; public class Library { public static function getSound(_arg1:String):Sound{ return (Sound(new (getClass(_arg1)))); } public static function getMovieClip(_arg1:String):MovieClip{ return (MovieClip(new (getClass(_arg1)))); } public static function getSprite(_arg1:String):Sprite{ return (Sprite(new (getClass(_arg1)))); } public static function getClass(_arg1:String):Class{ var cd:Class; var name = _arg1; try { cd = (getDefinitionByName(name) as Class); } catch(re:ReferenceError) { return (null); }; return (cd); } public static function getBitmapData(_arg1:String):BitmapData{ return (BitmapData(new getClass(_arg1)(1, 1))); } } }//package zlong.utils
Section 41
//SelfLoading (zlong.utils.SelfLoading) package zlong.utils { import flash.display.*; import flash.events.*; import zlong.events.*; public class SelfLoading extends EventDispatcher { public function init(_arg1:MovieClip):void{ if (_arg1.loaderInfo.bytesLoaded >= _arg1.loaderInfo.bytesTotal){ this.dispatchEvent(new MyEvent(MyEvent.COMPLETE)); } else { _arg1.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress); _arg1.loaderInfo.addEventListener(Event.COMPLETE, loadComplete); }; } private function loadProgress(_arg1:ProgressEvent):void{ dispatchEvent(new MyEvent(MyEvent.PROGRASS, {loaded:_arg1.bytesLoaded, total:_arg1.bytesTotal})); } private function loadComplete(_arg1:Event):void{ _arg1.target.removeEventListener(ProgressEvent.PROGRESS, loadProgress); _arg1.target.removeEventListener(Event.COMPLETE, loadComplete); dispatchEvent(new MyEvent(MyEvent.COMPLETE, _arg1.target)); } } }//package zlong.utils
Section 42
//bgMusic (bgMusic) package { import flash.media.*; public dynamic class bgMusic extends Sound { } }//package
Section 43
//branding_aligned_center (branding_aligned_center) package { import zlong.ui.*; public dynamic class branding_aligned_center extends LogoLink { } }//package
Section 44
//btPress (btPress) package { import flash.media.*; public dynamic class btPress extends Sound { } }//package
Section 45
//btRollOver (btRollOver) package { import flash.media.*; public dynamic class btRollOver extends Sound { } }//package
Section 46
//clearTile (clearTile) package { import flash.media.*; public dynamic class clearTile extends Sound { } }//package
Section 47
//coin_1 (coin_1) package { import flash.display.*; public dynamic class coin_1 extends Sprite { } }//package
Section 48
//coin_10 (coin_10) package { import flash.display.*; public dynamic class coin_10 extends Sprite { } }//package
Section 49
//coin_11 (coin_11) package { import flash.display.*; public dynamic class coin_11 extends Sprite { } }//package
Section 50
//coin_12 (coin_12) package { import flash.display.*; public dynamic class coin_12 extends Sprite { } }//package
Section 51
//coin_13 (coin_13) package { import flash.display.*; public dynamic class coin_13 extends Sprite { } }//package
Section 52
//coin_14 (coin_14) package { import flash.display.*; public dynamic class coin_14 extends Sprite { } }//package
Section 53
//coin_15 (coin_15) package { import flash.display.*; public dynamic class coin_15 extends Sprite { } }//package
Section 54
//coin_16 (coin_16) package { import flash.display.*; public dynamic class coin_16 extends Sprite { } }//package
Section 55
//coin_17 (coin_17) package { import flash.display.*; public dynamic class coin_17 extends Sprite { } }//package
Section 56
//coin_18 (coin_18) package { import flash.display.*; public dynamic class coin_18 extends Sprite { } }//package
Section 57
//coin_19 (coin_19) package { import flash.display.*; public dynamic class coin_19 extends Sprite { } }//package
Section 58
//coin_2 (coin_2) package { import flash.display.*; public dynamic class coin_2 extends Sprite { } }//package
Section 59
//coin_20 (coin_20) package { import flash.display.*; public dynamic class coin_20 extends Sprite { } }//package
Section 60
//coin_21 (coin_21) package { import flash.display.*; public dynamic class coin_21 extends Sprite { } }//package
Section 61
//coin_22 (coin_22) package { import flash.display.*; public dynamic class coin_22 extends Sprite { } }//package
Section 62
//coin_23 (coin_23) package { import flash.display.*; public dynamic class coin_23 extends Sprite { } }//package
Section 63
//coin_24 (coin_24) package { import flash.display.*; public dynamic class coin_24 extends Sprite { } }//package
Section 64
//coin_25 (coin_25) package { import flash.display.*; public dynamic class coin_25 extends Sprite { } }//package
Section 65
//coin_26 (coin_26) package { import flash.display.*; public dynamic class coin_26 extends Sprite { } }//package
Section 66
//coin_27 (coin_27) package { import flash.display.*; public dynamic class coin_27 extends Sprite { } }//package
Section 67
//coin_28 (coin_28) package { import flash.display.*; public dynamic class coin_28 extends Sprite { } }//package
Section 68
//coin_29 (coin_29) package { import flash.display.*; public dynamic class coin_29 extends Sprite { } }//package
Section 69
//coin_3 (coin_3) package { import flash.display.*; public dynamic class coin_3 extends Sprite { } }//package
Section 70
//coin_30 (coin_30) package { import flash.display.*; public dynamic class coin_30 extends Sprite { } }//package
Section 71
//coin_31 (coin_31) package { import flash.display.*; public dynamic class coin_31 extends Sprite { } }//package
Section 72
//coin_32 (coin_32) package { import flash.display.*; public dynamic class coin_32 extends Sprite { } }//package
Section 73
//coin_33 (coin_33) package { import flash.display.*; public dynamic class coin_33 extends Sprite { } }//package
Section 74
//coin_34 (coin_34) package { import flash.display.*; public dynamic class coin_34 extends Sprite { } }//package
Section 75
//coin_35 (coin_35) package { import flash.display.*; public dynamic class coin_35 extends Sprite { } }//package
Section 76
//coin_36 (coin_36) package { import flash.display.*; public dynamic class coin_36 extends Sprite { } }//package
Section 77
//coin_37 (coin_37) package { import flash.display.*; public dynamic class coin_37 extends Sprite { } }//package
Section 78
//coin_38 (coin_38) package { import flash.display.*; public dynamic class coin_38 extends Sprite { } }//package
Section 79
//coin_39 (coin_39) package { import flash.display.*; public dynamic class coin_39 extends Sprite { } }//package
Section 80
//coin_4 (coin_4) package { import flash.display.*; public dynamic class coin_4 extends Sprite { } }//package
Section 81
//coin_40 (coin_40) package { import flash.display.*; public dynamic class coin_40 extends Sprite { } }//package
Section 82
//coin_5 (coin_5) package { import flash.display.*; public dynamic class coin_5 extends Sprite { } }//package
Section 83
//coin_6 (coin_6) package { import flash.display.*; public dynamic class coin_6 extends Sprite { } }//package
Section 84
//coin_7 (coin_7) package { import flash.display.*; public dynamic class coin_7 extends Sprite { } }//package
Section 85
//coin_8 (coin_8) package { import flash.display.*; public dynamic class coin_8 extends Sprite { } }//package
Section 86
//coin_9 (coin_9) package { import flash.display.*; public dynamic class coin_9 extends Sprite { } }//package
Section 87
//confirmUI (confirmUI) package { import flash.display.*; public dynamic class confirmUI extends MovieClip { public var okBt:YES; public var cancleBt:NO; } }//package
Section 88
//creaditUI (creaditUI) package { import flash.display.*; public dynamic class creaditUI extends MovieClip { } }//package
Section 89
//credits (credits) package { import zlong.ui.*; public dynamic class credits extends MyButton { } }//package
Section 90
//Data (Data) package { public class Data { public static var currentHint:int; public static var hintNumbers:int = 6; public static var timeToScore:Number = 2; public static var currentLevel:int; public static var level8:Object = {time:180, prizeTime:4, prizeScore:10, minPairs:7, picNumbers:40, vAlign:null, hAlign:14}; public static var totalPics:int = 39; public static var score:int = 0; public static var totalLevel:int = 9; public static var row:int = 10; public static var level1:Object = {time:260, prizeTime:5, prizeScore:10, minPairs:0, picNumbers:20, vAlign:null, hAlign:null}; public static var level2:Object = {time:240, prizeTime:4, prizeScore:10, minPairs:12, picNumbers:30, vAlign:null, hAlign:null}; public static var level3:Object = {time:220, prizeTime:4, prizeScore:10, minPairs:10, picNumbers:30, vAlign:-5, hAlign:null}; public static var level5:Object = {time:200, prizeTime:4, prizeScore:10, minPairs:9, picNumbers:30, vAlign:null, hAlign:0}; public static var level6:Object = {time:200, prizeTime:4, prizeScore:10, minPairs:8, picNumbers:30, vAlign:10, hAlign:null}; public static var level7:Object = {time:180, prizeTime:4, prizeScore:10, minPairs:8, picNumbers:40, vAlign:0, hAlign:null}; public static var tileHeight:int = 34; public static var level4:Object = {time:220, prizeTime:4, prizeScore:10, minPairs:9, picNumbers:30, vAlign:null, hAlign:-7}; public static var tileWidth:int = 37; public static var line:int = 14; public static var level9:Object = {time:180, prizeTime:4, prizeScore:10, minPairs:7, picNumbers:40, vAlign:5, hAlign:7}; } }//package
Section 91
//gameCompleteUI (gameCompleteUI) package { import flash.display.*; import flash.text.*; public dynamic class gameCompleteUI extends MovieClip { public var replyBt:replay; public var button_highscore_moregames:moregames; public var scoreTxt:TextField; public var creditsBt:credits; public var leastTimeTxt:TextField; public var secMc:元件_56; public var prizeTimeTxt:TextField; } }//package
Section 92
//gameOverUI (gameOverUI) package { import flash.display.*; import flash.text.*; public dynamic class gameOverUI extends MovieClip { public var replyBt:replay; public var button_gameover_moregames:moregames; public var scoreTxt:TextField; } }//package
Section 93
//gameUI (gameUI) package { import flash.display.*; import flash.text.*; public dynamic class gameUI extends MovieClip { public var barMc:MovieClip; public var skipBt:SimpleButton; public var hintBt:SimpleButton; public var hintNumTxt:TextField; public var button_level_moregames:moregames游戏中; public var levNumTxt:TextField; public var switchBt:MovieClip; public var maskMc:MovieClip; public var scoreTxt:TextField; public var restartBt:SimpleButton; public var pauseBt:MovieClip; public var logo_level:branding_aligned_center; } }//package
Section 94
//language (language) package { import flash.net.*; public class language { public static var SpillGroupUrl:Array = new Array(); public static var localConnection = new LocalConnection(); public static var _languageNum:uint = 0; public static var _languageBox:Array = new Array(); public static var hostingdomain:String; public static function get url2():String{ var _local1:int; _local1 = 0; while (_local1 < SpillGroupUrl.length) { if (localConnection.domain == SpillGroupUrl[_local1]){ return (_languageBox[_languageNum].url2); }; _local1++; }; return (_languageBox[_languageNum].url2); } public static function get language_nr():String{ return (_languageBox[_languageNum].language_nr); } public static function set Language(_arg1:Object):void{ var returnDomain:Function; var language1:*; var language2:*; var language3:*; var language4:*; var language5:*; var language6:*; var language7:*; var language8:*; var language9:*; var language10:*; var language11:*; var language12:*; var language13:*; var language14:*; var language15:*; var language16:*; var language17:*; var language18:*; var language19:*; var myList:String; var myArray:Array; var domainextention:int; var domainname:int; var languageVersion = _arg1; returnDomain = function (_arg1:String):String{ var _local2:String; var _local3:uint; _local2 = new String(); _local3 = 7; while (_local3 < _arg1.length) { if (_arg1.charAt(_local3) == "/"){ break; }; _local2 = (_local2 + _arg1.charAt(_local3)); _local3++; }; return (_local2); }; if (localConnection.domain != "localhost"){ myList = localConnection.domain.split("."); myArray = myList.split(","); trace(myArray.length); domainextention = (myArray.length - 1); domainname = (myArray.length - 2); hostingdomain = ((myArray[domainname] + ".") + myArray[domainextention]); } else { hostingdomain = "localhost"; }; language1 = new languageItem(); language1.url1 = ("http://www.gamesgames.com/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language1.url2 = "http://www.gamesgames.com/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language1.language_nr = 1; language1.branding_nr = 17; _languageBox.push(language1); language2 = new languageItem(); language2.url1 = "http://www.game.com.cn/moregames/"; language2.url2 = "http://www.game.com.cn/moregames/"; language2.language_nr = 2; language2.branding_nr = 2; _languageBox.push(language2); language3 = new languageItem(); language3.url1 = ("http://www.spelletjes.nl/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language3.url2 = "http://www.spelletjes.nl/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language3.language_nr = 3; language3.branding_nr = 18; _languageBox.push(language3); language4 = new languageItem(); language4.url1 = ("http://www.jeux.fr/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language4.url2 = "http://www.jeux.fr/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language4.language_nr = 4; language4.branding_nr = 19; _languageBox.push(language4); language5 = new languageItem(); language5.url1 = ("http://www.jetztspielen.de/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language5.url2 = "http://www.jetztspielen.de/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language5.language_nr = 5; language5.branding_nr = 20; _languageBox.push(language5); language6 = new languageItem(); language6.url1 = ("http://www.gry.pl/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language6.url2 = "http://www.gry.pl/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language6.language_nr = 6; language6.branding_nr = 21; _languageBox.push(language6); language7 = new languageItem(); language7.url1 = ("http://www.spela.se/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language7.url2 = "http://www.spela.se/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language7.language_nr = 7; language7.branding_nr = 22; _languageBox.push(language7); language8 = new languageItem(); language8.url1 = ("http://www.gioco.it/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language8.url2 = "http://www.gioco.it/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language8.language_nr = 8; language8.branding_nr = 23; _languageBox.push(language8); language9 = new languageItem(); language9.url1 = ("http://www.juegos.com/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language9.url2 = "http://www.juegos.com/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language9.language_nr = 9; language9.branding_nr = 24; _languageBox.push(language9); language10 = new languageItem(); language10.url1 = ("http://www.ojogos.com.br/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language10.url2 = "http://www.ojogos.com.br/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language10.language_nr = 11; language10.branding_nr = 25; _languageBox.push(language10); language11 = new languageItem(); language11.url1 = ("http://www.games.co.id/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language11.url2 = "http://www.games.co.id/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language11.language_nr = 13; language11.branding_nr = 13; _languageBox.push(language11); language12 = new languageItem(); language12.url1 = ("http://www.ourgames.ru/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language12.url2 = "http://www.ourgames.ru/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language12.language_nr = 12; language12.branding_nr = 26; _languageBox.push(language12); language13 = new languageItem(); language13.url1 = ("http://www.games.co.uk/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language13.url2 = "http://www.games.co.uk/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language13.language_nr = 16; language13.branding_nr = 27; _languageBox.push(language13); language14 = new languageItem(); language14.url1 = ("http://www.game.co.in/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language14.url2 = "http://www.game.co.in/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language14.language_nr = 16; language14.branding_nr = 12; _languageBox.push(language14); language15 = new languageItem(); language15.url1 = ("http://www.oyunlar123.com/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language15.url2 = "http://www.oyunlar123.com/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language15.language_nr = 14; language15.branding_nr = 28; _languageBox.push(language15); language16 = new languageItem(); language16.url1 = ("http://www.game.com.my/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language16.url2 = "http://www.game.com.my/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language16.language_nr = 15; language16.branding_nr = 16; _languageBox.push(language16); language17 = new languageItem(); language17.url1 = ("http://www.ojogos.pt/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language17.url2 = "http://www.ojogos.pt/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language17.language_nr = 10; language17.branding_nr = 42; _languageBox.push(language17); language18 = new languageItem(); language18.url1 = ("http://www.laro.com.ph/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language18.url2 = "http://www.laro.com.ph/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language18.language_nr = 16; language18.branding_nr = 43; _languageBox.push(language18); language19 = new languageItem(); language19.url1 = ("http://www.egames.jp/moregames/?utm_source=brandedgames_external&utm_medium=dream_pet_link&utm_campaign=" + hostingdomain); language19.url2 = "http://www.egames.jp/moregames/?utm_source=brandedgames_internal&utm_medium=dream_pet_link"; language19.language_nr = 17; language19.branding_nr = 44; _languageBox.push(language19); SpillGroupUrl.push("localhost"); SpillGroupUrl.push("www8.agame.com"); if ((((((languageVersion is Number)) || ((languageVersion is uint)))) || ((languageVersion is int)))){ _languageNum = (Number(languageVersion) - 1); }; } public static function get url1():String{ var _local1:int; _local1 = 0; while (_local1 < SpillGroupUrl.length) { if (localConnection.domain == SpillGroupUrl[_local1]){ return (_languageBox[_languageNum].url2); }; _local1++; }; return (_languageBox[_languageNum].url1); } public static function get branding_nr():String{ return (_languageBox[_languageNum].branding_nr); } } }//package class languageItem { public var url1:String; public var url2:String; public var branding_nr:int; public var language_nr:int; private function languageItem(){ } }
Section 95
//LevelClear (LevelClear) package { import flash.media.*; public dynamic class LevelClear extends Sound { } }//package
Section 96
//linkPrtUI (linkPrtUI) package { import flash.display.*; public dynamic class linkPrtUI extends MovieClip { } }//package
Section 97
//mainBgUI (mainBgUI) package { import flash.display.*; public dynamic class mainBgUI extends MovieClip { } }//package
Section 98
//menuUI (menuUI) package { import flash.display.*; public dynamic class menuUI extends MovieClip { public var button_mainscreen_moregames:PLAYMOREGAMES; public var startBt:STARTGAME; public var gameportal:spill_group; } }//package
Section 99
//moregames (moregames) package { import zlong.ui.*; public dynamic class moregames extends MoreGamesLink { } }//package
Section 100
//moregames游戏中 (moregames游戏中) package { import zlong.ui.*; public dynamic class moregames游戏中 extends MoreGamesLink { } }//package
Section 101
//nextlevel_按钮 (nextlevel_按钮) package { import zlong.ui.*; public dynamic class nextlevel_按钮 extends MyButton { } }//package
Section 102
//nextUI (nextUI) package { import flash.display.*; import flash.text.*; public dynamic class nextUI extends MovieClip { public var levelScoreTxt:TextField; public var goNextBt:nextlevel_按钮; public var leastTimeTxt:TextField; public var secMc:元件_56; public var prizeTimeTxt:TextField; } }//package
Section 103
//NO (NO) package { import zlong.ui.*; public dynamic class NO extends MyButton { } }//package
Section 104
//pauseUI (pauseUI) package { import flash.display.*; public dynamic class pauseUI extends MovieClip { } }//package
Section 105
//PLAYMOREGAMES (PLAYMOREGAMES) package { import zlong.ui.*; public dynamic class PLAYMOREGAMES extends MoreGamesLink { } }//package
Section 106
//Playthisgameon (Playthisgameon) package { import zlong.ui.*; public dynamic class Playthisgameon extends TextMc { } }//package
Section 107
//replay (replay) package { import zlong.ui.*; public dynamic class replay extends MyButton { } }//package
Section 108
//resetPicUI (resetPicUI) package { import flash.display.*; public dynamic class resetPicUI extends MovieClip { } }//package
Section 109
//selectStyleMc (selectStyleMc) package { import flash.display.*; public dynamic class selectStyleMc extends MovieClip { } }//package
Section 110
//selectTile (selectTile) package { import flash.media.*; public dynamic class selectTile extends Sound { } }//package
Section 111
//spill_group (spill_group) package { import zlong.ui.*; public dynamic class spill_group extends SpillGameLink { } }//package
Section 112
//STARTGAME (STARTGAME) package { import zlong.ui.*; public dynamic class STARTGAME extends MyButton { } }//package
Section 113
//startGameLabel (startGameLabel) package { import zlong.ui.*; public dynamic class startGameLabel extends TextMc { } }//package
Section 114
//YES (YES) package { import zlong.ui.*; public dynamic class YES extends MyButton { } }//package
Section 115
//元件 26 (元件 26) package { import zlong.ui.*; public dynamic class 元件 26 extends TextMc { } }//package
Section 116
//元件 28 (元件 28) package { import zlong.ui.*; public dynamic class 元件 28 extends TextMc { } }//package
Section 117
//元件 30 (元件 30) package { import zlong.ui.*; public dynamic class 元件 30 extends TextMc { } }//package
Section 118
//元件 32 (元件 32) package { import zlong.ui.*; public dynamic class 元件 32 extends TextMc { } }//package
Section 119
//元件 60 (元件 60) package { import zlong.ui.*; public dynamic class 元件 60 extends TextMc { } }//package
Section 120
//元件_10 (元件_10) package { import zlong.ui.*; public dynamic class 元件_10 extends TextMc { } }//package
Section 121
//元件_13 (元件_13) package { import zlong.ui.*; public dynamic class 元件_13 extends TextMc { } }//package
Section 122
//元件_14 (元件_14) package { import zlong.ui.*; public dynamic class 元件_14 extends TextMc { } }//package
Section 123
//元件_17 (元件_17) package { import zlong.ui.*; public dynamic class 元件_17 extends TextMc { } }//package
Section 124
//元件_18 (元件_18) package { import zlong.ui.*; public dynamic class 元件_18 extends TextMc { } }//package
Section 125
//元件_19 (元件_19) package { import zlong.ui.*; public dynamic class 元件_19 extends TextMc { } }//package
Section 126
//元件_21 (元件_21) package { import zlong.ui.*; public dynamic class 元件_21 extends TextMc { } }//package
Section 127
//元件_22 (元件_22) package { import zlong.ui.*; public dynamic class 元件_22 extends TextMc { } }//package
Section 128
//元件_23 (元件_23) package { import zlong.ui.*; public dynamic class 元件_23 extends TextMc { } }//package
Section 129
//元件_25 (元件_25) package { import zlong.ui.*; public dynamic class 元件_25 extends TextMc { } }//package
Section 130
//元件_27 (元件_27) package { import zlong.ui.*; public dynamic class 元件_27 extends TextMc { } }//package
Section 131
//元件_29 (元件_29) package { import zlong.ui.*; public dynamic class 元件_29 extends TextMc { } }//package
Section 132
//元件_31 (元件_31) package { import zlong.ui.*; public dynamic class 元件_31 extends TextMc { } }//package
Section 133
//元件_33 (元件_33) package { import zlong.ui.*; public dynamic class 元件_33 extends TextMc { } }//package
Section 134
//元件_35 (元件_35) package { import zlong.ui.*; public dynamic class 元件_35 extends TextMc { } }//package
Section 135
//元件_36 (元件_36) package { import zlong.ui.*; public dynamic class 元件_36 extends TextMc { } }//package
Section 136
//元件_37 (元件_37) package { import zlong.ui.*; public dynamic class 元件_37 extends TextMc { } }//package
Section 137
//元件_38 (元件_38) package { import zlong.ui.*; public dynamic class 元件_38 extends TextMc { } }//package
Section 138
//元件_39 (元件_39) package { import zlong.ui.*; public dynamic class 元件_39 extends TextMc { } }//package
Section 139
//元件_40 (元件_40) package { import zlong.ui.*; public dynamic class 元件_40 extends TextMc { } }//package
Section 140
//元件_41 (元件_41) package { import zlong.ui.*; public dynamic class 元件_41 extends TextMc { } }//package
Section 141
//元件_42 (元件_42) package { import zlong.ui.*; public dynamic class 元件_42 extends TextMc { } }//package
Section 142
//元件_43 (元件_43) package { import zlong.ui.*; public dynamic class 元件_43 extends TextMc { } }//package
Section 143
//元件_44 (元件_44) package { import zlong.ui.*; public dynamic class 元件_44 extends TextMc { } }//package
Section 144
//元件_45 (元件_45) package { import zlong.ui.*; public dynamic class 元件_45 extends TextMc { } }//package
Section 145
//元件_46 (元件_46) package { import zlong.ui.*; public dynamic class 元件_46 extends TextMc { } }//package
Section 146
//元件_47 (元件_47) package { import zlong.ui.*; public dynamic class 元件_47 extends TextMc { } }//package
Section 147
//元件_48 (元件_48) package { import zlong.ui.*; public dynamic class 元件_48 extends TextMc { } }//package
Section 148
//元件_49 (元件_49) package { import zlong.ui.*; public dynamic class 元件_49 extends TextMc { } }//package
Section 149
//元件_50 (元件_50) package { import zlong.ui.*; public dynamic class 元件_50 extends TextMc { } }//package
Section 150
//元件_51 (元件_51) package { import zlong.ui.*; public dynamic class 元件_51 extends TextMc { } }//package
Section 151
//元件_52 (元件_52) package { import zlong.ui.*; public dynamic class 元件_52 extends TextMc { } }//package
Section 152
//元件_53 (元件_53) package { import zlong.ui.*; public dynamic class 元件_53 extends TextMc { } }//package
Section 153
//元件_54 (元件_54) package { import zlong.ui.*; public dynamic class 元件_54 extends TextMc { } }//package
Section 154
//元件_55 (元件_55) package { import zlong.ui.*; public dynamic class 元件_55 extends TextMc { } }//package
Section 155
//元件_56 (元件_56) package { import zlong.ui.*; public dynamic class 元件_56 extends TextMc { } }//package
Section 156
//元件_57 (元件_57) package { import zlong.ui.*; public dynamic class 元件_57 extends TextMc { } }//package
Section 157
//元件_58 (元件_58) package { import zlong.ui.*; public dynamic class 元件_58 extends TextMc { } }//package
Section 158
//元件_59 (元件_59) package { import zlong.ui.*; public dynamic class 元件_59 extends TextMc { } }//package
Section 159
//元件_61 (元件_61) package { import zlong.ui.*; public dynamic class 元件_61 extends TextMc { } }//package

Library Items

Symbol 1 FontUsed by:2 4 37 38
Symbol 2 TextUses:1Used by:5
Symbol 3 GraphicUsed by:5 39
Symbol 4 TextUses:1Used by:5
Symbol 5 Button {zlong.ui.MoreGamesLinkBt}Uses:2 3 4
Symbol 6 FontUsed by:7 10 11 12 13 14 15 16 17 18 19 20 21 28 31 48 50 76 78 79 87 89 101 103 104 105 106 107 108 109 110 111 112 113 114 115 116 154 156 157 158 160 162 165 167 169 170 171 210 211 229 231 232 240 242 243 244 245 246 247 248 249 250 251 252 255 257 260 266 362 365 369 370 372 373
Symbol 7 TextUses:6Used by:23
Symbol 8 FontUsed by:9 22
Symbol 9 TextUses:8Used by:23
Symbol 10 TextUses:6Used by:23
Symbol 11 TextUses:6Used by:23
Symbol 12 TextUses:6Used by:23
Symbol 13 TextUses:6Used by:23
Symbol 14 TextUses:6Used by:23
Symbol 15 TextUses:6Used by:23
Symbol 16 TextUses:6Used by:23
Symbol 17 TextUses:6Used by:23
Symbol 18 TextUses:6Used by:23
Symbol 19 TextUses:6Used by:23
Symbol 20 TextUses:6Used by:23
Symbol 21 TextUses:6Used by:23
Symbol 22 TextUses:8Used by:23
Symbol 23 MovieClip {Playthisgameon}Uses:7 9 10 11 12 13 14 15 16 17 18 19 20 21 22Used by:479
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:26
Symbol 26 MovieClip {selectStyleMc}Uses:25Used by:Timeline
Symbol 27 GraphicUsed by:36 121 265 270 378
Symbol 28 TextUses:6Used by:32
Symbol 29 FontUsed by:30 77 88 102 130 142 155 161 168 230 236 241 256 261 267 363 366 371 393 406 409 415 418 421 425 428 435 438 443 446 449 456 459 462 465 468 471 472
Symbol 30 TextUses:29Used by:32
Symbol 31 TextUses:6Used by:32
Symbol 32 MovieClip {元件_23}Uses:28 30 31Used by:34 36
Symbol 33 GraphicUsed by:36
Symbol 34 MovieClipUses:32Used by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClip {replay}Uses:27 32 33 34 35Used by:178 381
Symbol 37 TextUses:1Used by:39
Symbol 38 TextUses:1Used by:39
Symbol 39 Button {spill_group}Uses:37 3 38Used by:57 95
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:42
Symbol 42 MovieClip {mainBgUI}Uses:41Used by:Timeline
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:46
Symbol 46 MovieClipUses:43 45Used by:47
Symbol 47 MovieClip {branding_aligned_center}Uses:46Used by:57 85 177 238 479
Symbol 48 TextUses:6Used by:49
Symbol 49 MovieClip {元件_59}Uses:48Used by:57
Symbol 50 TextUses:6Used by:51
Symbol 51 MovieClip {元件 60}Uses:50Used by:57
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:54 69
Symbol 54 MovieClipUses:53Used by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClip {dream_pet_link_gamesgames_com_fla.loading__10}Uses:52 54 55Used by:57
Symbol 57 MovieClip {dream_pet_link_gamesgames_com_fla.loading_3}Uses:47 39 49 51 56Used by:Timeline
Symbol 58 GraphicUsed by:74
Symbol 59 GraphicUsed by:62
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:62
Symbol 62 MovieClipUses:59 61Used by:63
Symbol 63 MovieClipUses:62Used by:74
Symbol 64 GraphicUsed by:74
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:74
Symbol 67 GraphicUsed by:68
Symbol 68 ButtonUses:67Used by:74
Symbol 69 MovieClipUses:53Used by:74 281 283 285 287 289 291 293 295 297 299 301 303 305 307 309 311 313 315 317 319 321 323 325 327 329 331 333 335 337 339 341 343 345 347 349 351 353 355 357 359
Symbol 70 GraphicUsed by:74
Symbol 71 GraphicUsed by:74
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClipUses:58 63 64 66 68 69 70 71 73Used by:95
Symbol 75 GraphicUsed by:85
Symbol 76 TextUses:6Used by:80
Symbol 77 TextUses:29Used by:80
Symbol 78 TextUses:6Used by:80
Symbol 79 TextUses:6Used by:80
Symbol 80 MovieClip {元件_10}Uses:76 77 78 79Used by:81 83
Symbol 81 MovieClipUses:80Used by:85
Symbol 82 GraphicUsed by:85
Symbol 83 MovieClipUses:80Used by:85
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClip {PLAYMOREGAMES}Uses:75 47 81 82 83 84Used by:95
Symbol 86 GraphicUsed by:94
Symbol 87 TextUses:6Used by:90
Symbol 88 TextUses:29Used by:90
Symbol 89 TextUses:6Used by:90
Symbol 90 MovieClip {startGameLabel}Uses:87 88 89Used by:91 93
Symbol 91 MovieClip {dream_pet_link_gamesgames_com_fla.Timeline_26}Uses:90Used by:94
Symbol 92 GraphicUsed by:94
Symbol 93 MovieClipUses:90Used by:94
Symbol 94 MovieClip {STARTGAME}Uses:86 91 92 93Used by:95
Symbol 95 MovieClip {menuUI}Uses:74 85 94 39Used by:Timeline
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:98
Symbol 98 MovieClip {pauseUI}Uses:97Used by:Timeline
Symbol 99 GraphicUsed by:100 259
Symbol 100 MovieClipUses:99Used by:152
Symbol 101 TextUses:6Used by:117
Symbol 102 TextUses:29Used by:117
Symbol 103 TextUses:6Used by:117
Symbol 104 TextUses:6Used by:117
Symbol 105 TextUses:6Used by:117
Symbol 106 TextUses:6Used by:117
Symbol 107 TextUses:6Used by:117
Symbol 108 TextUses:6Used by:117
Symbol 109 TextUses:6Used by:117
Symbol 110 TextUses:6Used by:117
Symbol 111 TextUses:6Used by:117
Symbol 112 TextUses:6Used by:117
Symbol 113 TextUses:6Used by:117
Symbol 114 TextUses:6Used by:117
Symbol 115 TextUses:6Used by:117
Symbol 116 TextUses:6Used by:117
Symbol 117 MovieClip {元件_27}Uses:101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116Used by:119 121
Symbol 118 GraphicUsed by:121
Symbol 119 MovieClip {元件 28}Uses:117Used by:121
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClip {nextlevel_按钮}Uses:27 117 118 119 120Used by:152
Symbol 122 FontUsed by:123 124 126 127 128 129 131 132 133 134 135 136 137 138 139 141 143 144 145 146 147 148 149 150 165 207 273 379 380 383 392 394 395 396 397 398 399 400 401 402 403 405 408 410 411 412 414 417 420 422 424 427 429 430 431 432 434 437 439 440 442 445 448 451 453 455 458 461 464 467 470 473 474
Symbol 123 TextUses:122Used by:125
Symbol 124 TextUses:122Used by:125
Symbol 125 MovieClip {元件_56}Uses:123 124Used by:152 381
Symbol 126 EditableTextUses:122Used by:152
Symbol 127 EditableTextUses:122Used by:152
Symbol 128 EditableTextUses:122Used by:152
Symbol 129 TextUses:122Used by:140
Symbol 130 TextUses:29Used by:140
Symbol 131 TextUses:122Used by:140
Symbol 132 TextUses:122Used by:140
Symbol 133 TextUses:122Used by:140
Symbol 134 TextUses:122Used by:140
Symbol 135 TextUses:122Used by:140
Symbol 136 TextUses:122Used by:140
Symbol 137 TextUses:122Used by:140
Symbol 138 TextUses:122Used by:140
Symbol 139 TextUses:122Used by:140
Symbol 140 MovieClip {元件_17}Uses:129 130 131 132 133 134 135 136 137 138 139Used by:152 381
Symbol 141 TextUses:122Used by:151
Symbol 142 TextUses:29Used by:151
Symbol 143 TextUses:122Used by:151
Symbol 144 TextUses:122Used by:151
Symbol 145 TextUses:122Used by:151
Symbol 146 TextUses:122Used by:151
Symbol 147 TextUses:122Used by:151
Symbol 148 TextUses:122Used by:151
Symbol 149 TextUses:122Used by:151
Symbol 150 TextUses:122Used by:151
Symbol 151 MovieClip {元件_19}Uses:141 142 143 144 145 146 147 148 149 150Used by:152
Symbol 152 MovieClip {nextUI}Uses:100 121 125 126 127 128 140 151Used by:Timeline
Symbol 153 GraphicUsed by:164
Symbol 154 TextUses:6Used by:159
Symbol 155 TextUses:29Used by:159
Symbol 156 TextUses:6Used by:159
Symbol 157 TextUses:6Used by:159
Symbol 158 TextUses:6Used by:159
Symbol 159 MovieClip {元件_61}Uses:154 155 156 157 158Used by:164
Symbol 160 TextUses:6Used by:163
Symbol 161 TextUses:29Used by:163
Symbol 162 TextUses:6Used by:163
Symbol 163 MovieClip {元件_18}Uses:160 161 162Used by:164 368
Symbol 164 MovieClipUses:153 159 163Used by:178
Symbol 165 EditableTextUses:6 122Used by:178
Symbol 166 GraphicUsed by:177
Symbol 167 TextUses:6Used by:172
Symbol 168 TextUses:29Used by:172
Symbol 169 TextUses:6Used by:172
Symbol 170 TextUses:6Used by:172
Symbol 171 TextUses:6Used by:172
Symbol 172 MovieClip {元件_14}Uses:167 168 169 170 171Used by:173 175
Symbol 173 MovieClipUses:172Used by:177 181
Symbol 174 GraphicUsed by:177
Symbol 175 MovieClipUses:172Used by:177 181
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClip {moregames}Uses:166 47 173 174 175 176Used by:178 381
Symbol 178 MovieClip {gameOverUI}Uses:164 165 177 36Used by:Timeline
Symbol 179 GraphicUsed by:181
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClip {moregames游戏中}Uses:179 173 180 175Used by:238
Symbol 182 GraphicUsed by:238
Symbol 183 GraphicUsed by:188
Symbol 184 ShapeTweeningUsed by:188
Symbol 185 GraphicUsed by:188
Symbol 186 ShapeTweeningUsed by:188
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:183 184 185 186 187Used by:238
Symbol 189 GraphicUsed by:193
Symbol 190 GraphicUsed by:193
Symbol 191 GraphicUsed by:193
Symbol 192 GraphicUsed by:193
Symbol 193 ButtonUses:189 190 191 192Used by:238
Symbol 194 GraphicUsed by:197
Symbol 195 GraphicUsed by:197
Symbol 196 GraphicUsed by:197
Symbol 197 ButtonUses:194 195 196Used by:202
Symbol 198 GraphicUsed by:201
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 ButtonUses:198 199 200Used by:202
Symbol 202 MovieClipUses:197 201Used by:238
Symbol 203 GraphicUsed by:206
Symbol 204 GraphicUsed by:206
Symbol 205 GraphicUsed by:206
Symbol 206 ButtonUses:203 204 205Used by:238
Symbol 207 EditableTextUses:122Used by:238
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClipUses:208Used by:238
Symbol 210 EditableTextUses:6Used by:238
Symbol 211 EditableTextUses:6Used by:238
Symbol 212 GraphicUsed by:217
Symbol 213 GraphicUsed by:217
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:214Used by:217
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:212 213 215 216Used by:238
Symbol 218 GraphicUsed by:222
Symbol 219 GraphicUsed by:222
Symbol 220 GraphicUsed by:222
Symbol 221 GraphicUsed by:222
Symbol 222 ButtonUses:218 219 220 221Used by:226
Symbol 223 GraphicUsed by:224 225
Symbol 224 MovieClipUses:223Used by:225
Symbol 225 ButtonUses:224 223Used by:226
Symbol 226 MovieClipUses:222 225Used by:238
Symbol 227 GraphicUsed by:228
Symbol 228 ButtonUses:227Used by:238
Symbol 229 TextUses:6Used by:233
Symbol 230 TextUses:29Used by:233
Symbol 231 TextUses:6Used by:233
Symbol 232 TextUses:6Used by:233
Symbol 233 MovieClip {元件_13}Uses:229 230 231 232Used by:238
Symbol 234 FontUsed by:235
Symbol 235 TextUses:234Used by:237
Symbol 236 TextUses:29Used by:237
Symbol 237 MovieClip {元件_33}Uses:235 236Used by:238
Symbol 238 MovieClip {gameUI}Uses:181 182 188 193 202 206 207 209 210 211 217 226 47 228 233 237Used by:Timeline
Symbol 239 GraphicUsed by:254
Symbol 240 TextUses:6Used by:253
Symbol 241 TextUses:29Used by:253
Symbol 242 TextUses:6Used by:253
Symbol 243 TextUses:6Used by:253
Symbol 244 TextUses:6Used by:253
Symbol 245 TextUses:6Used by:253
Symbol 246 TextUses:6Used by:253
Symbol 247 TextUses:6Used by:253
Symbol 248 TextUses:6Used by:253
Symbol 249 TextUses:6Used by:253
Symbol 250 TextUses:6Used by:253
Symbol 251 TextUses:6Used by:253
Symbol 252 TextUses:6Used by:253
Symbol 253 MovieClip {元件_21}Uses:240 241 242 243 244 245 246 247 248 249 250 251 252Used by:254
Symbol 254 MovieClip {resetPicUI}Uses:239 253Used by:Timeline
Symbol 255 TextUses:6Used by:258
Symbol 256 TextUses:29Used by:258
Symbol 257 TextUses:6Used by:258
Symbol 258 MovieClip {元件_22}Uses:255 256 257Used by:259
Symbol 259 MovieClipUses:99 258Used by:271
Symbol 260 TextUses:6Used by:262
Symbol 261 TextUses:29Used by:262
Symbol 262 MovieClip {元件_29}Uses:260 261Used by:264 265
Symbol 263 GraphicUsed by:265 270
Symbol 264 MovieClip {元件 30}Uses:262Used by:265
Symbol 265 MovieClip {YES}Uses:27 262 263 264Used by:271
Symbol 266 TextUses:6Used by:268
Symbol 267 TextUses:29Used by:268
Symbol 268 MovieClip {元件_31}Uses:266 267Used by:269 270
Symbol 269 MovieClip {元件 32}Uses:268Used by:270
Symbol 270 MovieClip {NO}Uses:27 268 263 269Used by:271
Symbol 271 MovieClip {confirmUI}Uses:259 265 270Used by:Timeline
Symbol 272 GraphicUsed by:360
Symbol 273 TextUses:122Used by:360
Symbol 274 Sound {bgMusic}Used by:360
Symbol 275 Sound {btPress}Used by:360
Symbol 276 Sound {btRollOver}Used by:360
Symbol 277 Sound {clearTile}Used by:360
Symbol 278 Sound {selectTile}Used by:360
Symbol 279 Sound {LevelClear}Used by:360
Symbol 280 GraphicUsed by:281
Symbol 281 MovieClip {coin_1}Uses:69 280Used by:360
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClip {coin_2}Uses:69 282Used by:360
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClip {coin_3}Uses:69 284Used by:360
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClip {coin_4}Uses:69 286Used by:360
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClip {coin_5}Uses:69 288Used by:360
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClip {coin_6}Uses:69 290Used by:360
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClip {coin_7}Uses:69 292Used by:360
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClip {coin_8}Uses:69 294Used by:360
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClip {coin_9}Uses:69 296Used by:360
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClip {coin_10}Uses:69 298Used by:360
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClip {coin_11}Uses:69 300Used by:360
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClip {coin_12}Uses:69 302Used by:360
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClip {coin_13}Uses:69 304Used by:360
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClip {coin_14}Uses:69 306Used by:360
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClip {coin_15}Uses:69 308Used by:360
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClip {coin_16}Uses:69 310Used by:360
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClip {coin_17}Uses:69 312Used by:360
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClip {coin_18}Uses:69 314Used by:360
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClip {coin_19}Uses:69 316Used by:360
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClip {coin_20}Uses:69 318Used by:360
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClip {coin_21}Uses:69 320Used by:360
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClip {coin_22}Uses:69 322Used by:360
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClip {coin_23}Uses:69 324Used by:360
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClip {coin_24}Uses:69 326Used by:360
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClip {coin_25}Uses:69 328Used by:360
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClip {coin_26}Uses:69 330Used by:360
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClip {coin_27}Uses:69 332Used by:360
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClip {coin_28}Uses:69 334Used by:360
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClip {coin_29}Uses:69 336Used by:360
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClip {coin_30}Uses:69 338Used by:360
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClip {coin_31}Uses:69 340Used by:360
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClip {coin_32}Uses:69 342Used by:360
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClip {coin_33}Uses:69 344Used by:360
Symbol 346 GraphicUsed by:347
Symbol 347 MovieClip {coin_34}Uses:69 346Used by:360
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClip {coin_35}Uses:69 348Used by:360
Symbol 350 GraphicUsed by:351
Symbol 351 MovieClip {coin_36}Uses:69 350Used by:360
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClip {coin_37}Uses:69 352Used by:360
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClip {coin_38}Uses:69 354Used by:360
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClip {coin_39}Uses:69 356Used by:360
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClip {coin_40}Uses:69 358Used by:360
Symbol 360 MovieClip {dream_pet_link_gamesgames_com_fla.Timeline_79}Uses:272 273 274 275 276 277 278 279 281 283 285 287 289 291 293 295 297 299 301 303 305 307 309 311 313 315 317 319 321 323 325 327 329 331 333 335 337 339 341 343 345 347 349 351 353 355 357 359Used by:Timeline
Symbol 361 GraphicUsed by:368
Symbol 362 TextUses:6Used by:364
Symbol 363 TextUses:29Used by:364
Symbol 364 MovieClip {元件_57}Uses:362 363Used by:368
Symbol 365 TextUses:6Used by:367
Symbol 366 TextUses:29Used by:367
Symbol 367 MovieClip {元件_58}Uses:365 366Used by:368
Symbol 368 MovieClipUses:361 163 364 367Used by:381
Symbol 369 EditableTextUses:6Used by:381
Symbol 370 TextUses:6Used by:374
Symbol 371 TextUses:29Used by:374
Symbol 372 TextUses:6Used by:374
Symbol 373 TextUses:6Used by:374
Symbol 374 MovieClip {元件_25}Uses:370 371 372 373Used by:376 378
Symbol 375 GraphicUsed by:378
Symbol 376 MovieClip {元件 26}Uses:374Used by:378
Symbol 377 GraphicUsed by:378
Symbol 378 MovieClip {credits}Uses:27 374 375 376 377Used by:381
Symbol 379 EditableTextUses:122Used by:381
Symbol 380 EditableTextUses:122Used by:381
Symbol 381 MovieClip {gameCompleteUI}Uses:368 369 36 378 177 379 380 140 125Used by:Timeline
Symbol 382 GraphicUsed by:476
Symbol 383 TextUses:122Used by:476
Symbol 384 GraphicUsed by:476
Symbol 385 FontUsed by:386 387 388 389 390 391
Symbol 386 TextUses:385Used by:476
Symbol 387 TextUses:385Used by:476
Symbol 388 TextUses:385Used by:476
Symbol 389 TextUses:385Used by:476
Symbol 390 TextUses:385Used by:476
Symbol 391 TextUses:385Used by:476
Symbol 392 TextUses:122Used by:404
Symbol 393 TextUses:29Used by:404
Symbol 394 TextUses:122Used by:404
Symbol 395 TextUses:122Used by:404
Symbol 396 TextUses:122Used by:404
Symbol 397 TextUses:122Used by:404
Symbol 398 TextUses:122Used by:404
Symbol 399 TextUses:122Used by:404
Symbol 400 TextUses:122Used by:404
Symbol 401 TextUses:122Used by:404
Symbol 402 TextUses:122Used by:404
Symbol 403 TextUses:122Used by:404
Symbol 404 MovieClip {元件_35}Uses:392 393 394 395 396 397 398 399 400 401 402 403Used by:476
Symbol 405 TextUses:122Used by:407
Symbol 406 TextUses:29Used by:407
Symbol 407 MovieClip {元件_36}Uses:405 406Used by:476
Symbol 408 TextUses:122Used by:413
Symbol 409 TextUses:29Used by:413
Symbol 410 TextUses:122Used by:413
Symbol 411 TextUses:122Used by:413
Symbol 412 TextUses:122Used by:413
Symbol 413 MovieClip {元件_37}Uses:408 409 410 411 412Used by:476
Symbol 414 TextUses:122Used by:416
Symbol 415 TextUses:29Used by:416
Symbol 416 MovieClip {元件_38}Uses:414 415Used by:476
Symbol 417 TextUses:122Used by:419
Symbol 418 TextUses:29Used by:419
Symbol 419 MovieClip {元件_39}Uses:417 418Used by:476
Symbol 420 TextUses:122Used by:423
Symbol 421 TextUses:29Used by:423
Symbol 422 TextUses:122Used by:423
Symbol 423 MovieClip {元件_40}Uses:420 421 422Used by:476
Symbol 424 TextUses:122Used by:426
Symbol 425 TextUses:29Used by:426
Symbol 426 MovieClip {元件_41}Uses:424 425Used by:476
Symbol 427 TextUses:122Used by:433
Symbol 428 TextUses:29Used by:433
Symbol 429 TextUses:122Used by:433
Symbol 430 TextUses:122Used by:433
Symbol 431 TextUses:122Used by:433
Symbol 432 TextUses:122Used by:433
Symbol 433 MovieClip {元件_43}Uses:427 428 429 430 431 432Used by:476
Symbol 434 TextUses:122Used by:436
Symbol 435 TextUses:29Used by:436
Symbol 436 MovieClip {元件_42}Uses:434 435Used by:476
Symbol 437 TextUses:122Used by:441
Symbol 438 TextUses:29Used by:441
Symbol 439 TextUses:122Used by:441
Symbol 440 TextUses:122Used by:441
Symbol 441 MovieClip {元件_44}Uses:437 438 439 440Used by:476
Symbol 442 TextUses:122Used by:444
Symbol 443 TextUses:29Used by:444
Symbol 444 MovieClip {元件_45}Uses:442 443Used by:476
Symbol 445 TextUses:122Used by:447
Symbol 446 TextUses:29Used by:447
Symbol 447 MovieClip {元件_46}Uses:445 446Used by:476
Symbol 448 TextUses:122Used by:450
Symbol 449 TextUses:29Used by:450
Symbol 450 MovieClip {元件_47}Uses:448 449Used by:476
Symbol 451 TextUses:122Used by:452
Symbol 452 MovieClip {元件_48}Uses:451Used by:476
Symbol 453 TextUses:122Used by:454
Symbol 454 MovieClip {元件_49}Uses:453Used by:476
Symbol 455 TextUses:122Used by:457
Symbol 456 TextUses:29Used by:457
Symbol 457 MovieClip {元件_50}Uses:455 456Used by:476
Symbol 458 TextUses:122Used by:460
Symbol 459 TextUses:29Used by:460
Symbol 460 MovieClip {元件_51}Uses:458 459Used by:476
Symbol 461 TextUses:122Used by:463
Symbol 462 TextUses:29Used by:463
Symbol 463 MovieClip {元件_52}Uses:461 462Used by:476
Symbol 464 TextUses:122Used by:466
Symbol 465 TextUses:29Used by:466
Symbol 466 MovieClip {元件_53}Uses:464 465Used by:476
Symbol 467 TextUses:122Used by:469
Symbol 468 TextUses:29Used by:469
Symbol 469 MovieClip {元件_54}Uses:467 468Used by:476
Symbol 470 TextUses:122Used by:475
Symbol 471 TextUses:29Used by:475
Symbol 472 TextUses:29Used by:475
Symbol 473 TextUses:122Used by:475
Symbol 474 TextUses:122Used by:475
Symbol 475 MovieClip {元件_55}Uses:470 471 472 473 474Used by:476
Symbol 476 MovieClipUses:382 383 384 386 387 388 389 390 391 404 407 413 416 419 423 426 433 436 441 444 447 450 452 454 457 460 463 466 469 475Used by:477
Symbol 477 MovieClip {creaditUI}Uses:476Used by:Timeline
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClip {linkPrtUI}Uses:478 23 47Used by:Timeline

Instance Names

"loadingMc"Frame 1Symbol 57 MovieClip {dream_pet_link_gamesgames_com_fla.loading_3}
"logo_perloader"Symbol 57 MovieClip {dream_pet_link_gamesgames_com_fla.loading_3} Frame 1Symbol 47 MovieClip {branding_aligned_center}
"gameportal"Symbol 57 MovieClip {dream_pet_link_gamesgames_com_fla.loading_3} Frame 1Symbol 39 Button {spill_group}
"barMc"Symbol 57 MovieClip {dream_pet_link_gamesgames_com_fla.loading_3} Frame 1Symbol 56 MovieClip {dream_pet_link_gamesgames_com_fla.loading__10}
"MovieClip1518"Symbol 91 MovieClip {dream_pet_link_gamesgames_com_fla.Timeline_26} Frame 1Symbol 90 MovieClip {startGameLabel}
"button_mainscreen_moregames"Symbol 95 MovieClip {menuUI} Frame 1Symbol 85 MovieClip {PLAYMOREGAMES}
"startBt"Symbol 95 MovieClip {menuUI} Frame 1Symbol 94 MovieClip {STARTGAME}
"gameportal"Symbol 95 MovieClip {menuUI} Frame 1Symbol 39 Button {spill_group}
"goNextBt"Symbol 152 MovieClip {nextUI} Frame 1Symbol 121 MovieClip {nextlevel_按钮}
"secMc"Symbol 152 MovieClip {nextUI} Frame 1Symbol 125 MovieClip {元件_56}
"leastTimeTxt"Symbol 152 MovieClip {nextUI} Frame 1Symbol 126 EditableText
"prizeTimeTxt"Symbol 152 MovieClip {nextUI} Frame 1Symbol 127 EditableText
"levelScoreTxt"Symbol 152 MovieClip {nextUI} Frame 1Symbol 128 EditableText
"scoreTxt"Symbol 178 MovieClip {gameOverUI} Frame 1Symbol 165 EditableText
"button_gameover_moregames"Symbol 178 MovieClip {gameOverUI} Frame 1Symbol 177 MovieClip {moregames}
"replyBt"Symbol 178 MovieClip {gameOverUI} Frame 1Symbol 36 MovieClip {replay}
"button_level_moregames"Symbol 238 MovieClip {gameUI} Frame 1Symbol 181 MovieClip {moregames游戏中}
"maskMc"Symbol 238 MovieClip {gameUI} Frame 1Symbol 188 MovieClip
"hintBt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 193 Button
"switchBt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 202 MovieClip
"restartBt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 206 Button
"hintNumTxt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 207 EditableText
"levNumTxt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 210 EditableText
"scoreTxt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 211 EditableText
"barMc"Symbol 238 MovieClip {gameUI} Frame 1Symbol 217 MovieClip
"pauseBt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 226 MovieClip
"logo_level"Symbol 238 MovieClip {gameUI} Frame 1Symbol 47 MovieClip {branding_aligned_center}
"skipBt"Symbol 238 MovieClip {gameUI} Frame 1Symbol 228 Button
"okBt"Symbol 271 MovieClip {confirmUI} Frame 1Symbol 265 MovieClip {YES}
"cancleBt"Symbol 271 MovieClip {confirmUI} Frame 1Symbol 270 MovieClip {NO}
"scoreTxt"Symbol 381 MovieClip {gameCompleteUI} Frame 1Symbol 369 EditableText
"replyBt"Symbol 381 MovieClip {gameCompleteUI} Frame 1Symbol 36 MovieClip {replay}
"creditsBt"Symbol 381 MovieClip {gameCompleteUI} Frame 1Symbol 378 MovieClip {credits}
"button_highscore_moregames"Symbol 381 MovieClip {gameCompleteUI} Frame 1Symbol 177 MovieClip {moregames}
"leastTimeTxt"Symbol 381 MovieClip {gameCompleteUI} Frame 1Symbol 379 EditableText
"prizeTimeTxt"Symbol 381 MovieClip {gameCompleteUI} Frame 1Symbol 380 EditableText
"secMc"Symbol 381 MovieClip {gameCompleteUI} Frame 1Symbol 125 MovieClip {元件_56}

Special Tags

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




http://swfchan.com/28/135601/info.shtml
Created: 9/2 -2019 11:39:16 Last modified: 9/2 -2019 11:39:16 Server time: 06/05 -2024 20:08:33