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

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

powerpuff_girls_z_super_capricious.swf

This is the info page for
Flash #256181

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


Text
CARGANDO

100%

listo

<p align="center"><font face="HelveticaRounded Bold" size="14" color="#ecffb0" letterSpacing="-0.500000" kerning="0"><b>Você terá que satisfazer os caprichos das Meninas </b></font></p>

<p align="center"><font face="HelveticaRounded LT Std Bd" size="11" color="#e0548f" letterSpacing="0.500000" kerning="0"><b>Bicicleta</b></font></p>

TV

<p align="center"><font face="HelveticaRounded LT Std Bd" size="12" color="#e52389" letterSpacing="0.500000" kerning="0"><b>Telefono</b></font></p>

1

2

3

4

5

6

7

8

9

<p align="center"><font face="HelveticaRounded LT Std Bd" size="11" color="#0066cc" letterSpacing="0.500000" kerning="0"><b>Musica</b></font></p>

0

1

2

3

Juegos

pronto

Horno

CONTINUE

INSTRUCTIONS

PATROCINADO POR

JUGAR

<p align="center"><font face="ShagExpert-Lounge" size="12" color="#ffffff" letterSpacing="-1.000000" kerning="0"><b>MAS JUEGOS</b></font></p>

CONTINUE

Ayuda a las chicas a realizar diversas actividades en el laboratorio del profesor Utonio para que no se aburran.

You have to fill
the bars to get
the stage cleared

INSTRUCTIONS

MENÚ

VOLVER A
JUGAR

Puntaje Final:

00000

Calificación:

SUPER CAPRICHOSA

Las chicas están muy contentas

Pontuação Final:

00000

Classificação:

As Meninas estão mais felizes do que nunca.

Total Score:

00000

Qualification:

The girls are happier than ever…

¡FELICITACIONES!

PARABÉNS!

CONGRATULATIONS!!!

Puntaje total:

00000

Calificación:

SUPER CAPRICHOSA

¡Inténtalo de nuevo!

No lograste entretener a las chicas

Pontuação Total:

00000

Classificação:

SUPER CAPRICHOSA

Tente outra vez!

Você não conseguiu distrair as Meninas

Total Score:

00000

Qualification:

SUPER CAPRICHOSA

Try Again!

You didn't entertain the girls

FIN DEL JUEGO

OK!

SALTEAR

PUNTOS

00000

<p align="center"><font face="HelveticaRounded Bold" size="13" color="#352c65" letterSpacing="1.000000" kerning="0"><b>120</b></font></p>

TIEMPO

CONTINUE

Puntaje Total:

SUPER CAPRICHOSA

Calificación:

00000

000000

Puntaje por nivel:

Pontuação Total:

SUPER CAPRICHOSA

Classificação:

00000

000000

Pontuação por nível:

Total Score:

SUPER CAPRICHOSA

Qualification:

00000

000000

Level Score:

RESULTADOS

<p align="center"><font face="HelveticaRounded Bold" size="65" color="#99f400" letterSpacing="-5.000000" kerning="0">TUTOR</font></p>

ActionScript [AS3]

Section 1
//Artifact (actions.Artifact) package actions { import flash.events.*; import flash.display.*; import flash.geom.*; import character.*; import terrain.*; import config.*; import com.gamesandweb.ui.*; public class Artifact extends EventDispatcher { private var _indexTileBefore:int;// = -1 protected var _view:MovieClip; protected var _hitArea:MovieClip; protected var _state:uint; protected var _whoManipulate:Girl; protected var _active:Boolean; protected var _readyToDo:Boolean; protected var _popup:UIWidget; protected var _countTimeProcess:Number; private var _indexTileAfter:int;// = -1 private var _timerProcess:MovieClip; protected var _countTimePopUp:Number; protected var _name:String; protected var _prevTilePositions:Array; protected var _afterTilePositions:Array; public static const STATE_PROCESS:uint = 2; public static const STATE_DO_NOTHING:uint = 0; public static const TURN_OFF:String = "TurnOffEvent"; public static const STATE_BREAK:uint = 3; public static const STATE_OPERATING:uint = 1; public static const E_FORCE_END:String = "ForceToEnd"; public static const E_END_PROCESS:String = "EndProcessEvent"; public static const E_END_OPERATE:String = "EndOperateEvent"; public static const E_INIT_OPERATE:String = "InitOperateEvent"; public static const STATE_REPEARING:uint = 4; public static var TIME_POP_UP:Number = 10000; public static var TIME_PROCESS:Number = 8000; public static var MAX_TIME_OPTIMUN:Number = 8000; public function Artifact(_arg1:MovieClip, _arg2:UIWidget, _arg3:String){ _indexTileBefore = -1; _indexTileAfter = -1; super(); _name = _arg3; _popup = _arg2; _prevTilePositions = new Array(); _afterTilePositions = new Array(); _countTimePopUp = 0; _countTimeProcess = 0; _view = _arg1; _state = STATE_DO_NOTHING; _whoManipulate = null; _hitArea = (View.getChildByName("hitArea_mc") as MovieClip); if (_hitArea == null){ _hitArea = View; }; ReadyToDo = false; _active = false; _indexTileBefore = -1; _indexTileAfter = -1; _timerProcess = new TimerControlAsset(); _timerProcess.scaleX = (_timerProcess.scaleY = ConfigLoader.Instance.Config["TimerScale"]); _timerProcess.gotoAndStop(1); } public function get ReadyToDo():Boolean{ return (_readyToDo); } public function set View(_arg1:MovieClip):void{ _view = _arg1; } public function set AfterTilesPositions(_arg1:Array):void{ _afterTilePositions = _arg1; } public function get State():uint{ return (_state); } public function Deactivate():void{ Active = false; } public function Activate():void{ Active = true; } public function get PreviusTilesPositions():Array{ return (_prevTilePositions); } public function get TimerProcess():MovieClip{ return (_timerProcess); } public function get Active():Boolean{ return (_active); } public function get HitArea():MovieClip{ return (_hitArea); } public function get Operating():Boolean{ if (State == STATE_OPERATING){ return (true); }; return (false); } public function get Name():String{ return (_name); } public function get PopUp():UIWidget{ return (_popup); } public function get TileBeforeDoAction():Point{ do { _indexTileBefore++; if (_indexTileBefore == _prevTilePositions.length){ _indexTileBefore = 0; }; } while (!(Map.Instance.IsWalkable((PreviusTilesPositions[_indexTileBefore] as Point)))); return (PreviusTilesPositions[_indexTileBefore]); } public function Reset():void{ var _local1:uint; var _local2:int; var _local3:Point; _indexTileBefore = -1; _indexTileAfter = -1; _local1 = _prevTilePositions.length; _local2 = 0; while (_local2 < _local1) { _local3 = (_prevTilePositions[_local2] as Point); Map.Instance.UpdateTile(_local3.x, _local3.y, Map.WALKABLE); _local3 = (_afterTilePositions[_local2] as Point); Map.Instance.UpdateTile(_local3.x, _local3.y, Map.WALKABLE); _local2++; }; _countTimeProcess = 0; _countTimePopUp = 0; _state = STATE_DO_NOTHING; if (_whoManipulate != null){ _whoManipulate.DoNothing(); _whoManipulate = null; }; ReadyToDo = false; _popup.View.gotoAndStop(1); if (PopUp.View.parent != null){ PopUp.View.parent.removeChild(PopUp.View); }; } public function set ReadyToDo(_arg1:Boolean):void{ _readyToDo = _arg1; } public function set IncrementTimeProcess(_arg1:Number):void{ _countTimeProcess = (_countTimeProcess + _arg1); if (Math.round(_countTimeProcess) == 0){ _timerProcess.gotoAndStop(1); return; }; if (TimeProcess >= TIME_PROCESS){ _countTimeProcess = TIME_PROCESS; _timerProcess.gotoAndStop(Constants.CIEN); return; }; _timerProcess.gotoAndStop(Math.round(((_countTimeProcess * Constants.CIEN) / TIME_PROCESS))); } public function get Processing():Boolean{ if (State == STATE_PROCESS){ return (true); }; return (false); } public function get AfterTilesPositions():Array{ return (_afterTilePositions); } public function get TimeProcess():Number{ return (_countTimeProcess); } public function get View():MovieClip{ return (_view); } public function set Active(_arg1:Boolean):void{ _active = _arg1; } public function set HitArea(_arg1:MovieClip):void{ _hitArea = _arg1; } public function CouldBreak():Boolean{ return (false); } public function get TimePopUp():Number{ return (_countTimePopUp); } public function set IncrementTimePopUp(_arg1:Number):void{ _countTimePopUp = (_countTimePopUp + _arg1); if (TimePopUp >= TIME_POP_UP){ _countTimePopUp = TIME_POP_UP; }; IControlable(PopUp).SetRestTime(Math.floor(((_countTimePopUp * 100) / TIME_POP_UP))); } public function set State(_arg1:uint):void{ _state = _arg1; } public function Break():void{ } public function set PopUp(_arg1:UIWidget):void{ _popup = _arg1; } public function set PreviusTilesPositions(_arg1:Array):void{ _prevTilePositions = _arg1; } public function get TileAfterDoAction():Point{ do { _indexTileAfter++; if (_indexTileAfter == _prevTilePositions.length){ _indexTileAfter = 0; }; } while (!(Map.Instance.IsWalkable((AfterTilesPositions[_indexTileAfter] as Point)))); return (AfterTilesPositions[_indexTileAfter]); } public function set WhoManipulate(_arg1:Girl):void{ _whoManipulate = _arg1; } public function get WhoManipulate():Girl{ return (_whoManipulate); } } }//package actions
Section 2
//Computer (actions.Computer) package actions { import flash.events.*; import game.*; import flash.display.*; import flash.geom.*; import managers.*; import character.*; import terrain.*; import utils.*; import config.*; import com.gamesandweb.ui.*; import view.*; public class Computer extends Artifact implements IAvailable { private var _endShowSequence:Boolean; private var _orderButtons:Array; private var _indexSequence:uint; private var _chair:MovieClip;// = null private var _playerSequence:Array; public static var SCORE_X_GOOD_ACTION:uint = 100; public static var NUM_BUTTONS:uint = 5; public static var PERCENTAGE_X_GOOD_ACTION:uint = 15; public static var POS_X:Number = 158; public static var POS_Y:Number = 100; public static var NUM_BUTTONS_SEQUECE:uint = 3; public static var DEC_PERCENTAGE_X_BAD_ACTION:uint = 10; public function Computer(_arg1:Array, _arg2:Array){ _chair = null; super(new ComputerAsset(), new ComputerPopUp(new PopUpComputerAsset()), ActionsManager.AC_PLAYING); View.name = ActionsManager.AC_PLAYING; View.x = POS_X; View.y = POS_Y; _playerSequence = new Array(); _orderButtons = new Array(); InitPopUp(); AfterTilesPositions = _arg2; PreviusTilesPositions = _arg1; _chair = new StoolAsset(); _chair.x = 77; _chair.y = 193; LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(View); LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(_chair); TimerProcess.x = ConfigLoader.Instance.Config["ComputerTimerX"]; TimerProcess.y = ConfigLoader.Instance.Config["ComputerTimerY"]; _endShowSequence = false; } public function get OptimumScore():uint{ return (SCORE_X_GOOD_ACTION); } private function InitSequence(_arg1:Event):void{ ComputerPopUp(PopUp).OKBtn.addEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); GetOrderButtons(); _indexSequence = 0; _endShowSequence = false; LightButton(_indexSequence, true); } public function Suspend():void{ var _local1:int; switch (State){ case STATE_OPERATING: ComputerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); _countTimePopUp = 0; BadProcess(); _local1 = 0; while (_local1 < NUM_BUTTONS) { ComputerPopUp(PopUp).GetBtnWithNumber(_local1).gotoAndStop("apagado"); _local1++; }; break; case STATE_PROCESS: Completed(); break; }; } public function Completed():void{ var _local1:MovieClip; var _local2:Point; if (State == STATE_PROCESS){ _local1 = ((_chair.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); _local2 = TileAfterDoAction; (_chair.getChildByName("container_mc") as MovieClip).removeChild(_local1); if (TimerProcess.parent != null){ TimerProcess.parent.removeChild(TimerProcess); }; _local1 = null; WhoManipulate.ChangeThePosition(Map.Instance.GetPositionOfTile(_local2.x, _local2.y)); WhoManipulate.View.visible = true; View.gotoAndStop("apagau"); State = STATE_DO_NOTHING; WhoManipulate.DoNothing(); _countTimePopUp = 0; _countTimeProcess = 0; _whoManipulate = null; }; } override public function Reset():void{ Suspend(); if (_orderButtons.length > 0){ _orderButtons.splice(0, _orderButtons.length); }; if (_playerSequence.length > 0){ _playerSequence.splice(0, _playerSequence.length); }; _endShowSequence = false; _indexSequence = 0; super.Reset(); if (ComputerPopUp(PopUp).OKBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ ComputerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); }; } public function Process():void{ var _local1:MovieClip; var _local2:Point; _countTimeProcess = 0; TimerProcess.gotoAndStop(1); State = STATE_PROCESS; WhoManipulate.IncrementCheerUpPercentage(PercentageXGoodAction); GameManager.Instance.IncrementScore(ScoreGoodAction); _local1 = MovieClipUtils.Instance.Copy(WhoManipulate.View); WhoManipulate.View.visible = false; _local2 = Map.Instance.GetTileAt(WhoManipulate.View.x, WhoManipulate.View.y); Map.Instance.UpdateTile(_local2.x, _local2.y, Map.WALKABLE); _local1.name = "duplicado"; _local1.x = 2; _local1.y = 50; _local1.addChild(TimerProcess); (_chair.getChildByName("container_mc") as MovieClip).addChild(_local1); View.gotoAndStop("encendido"); _local1.gotoAndStop(Girl.AC_PLAYING); } public function get ScoreGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((SCORE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (SCORE_X_GOOD_ACTION); } public function Operate(_arg1:Girl):void{ if (((!((_arg1.LittleBallon == null))) || ((State == STATE_BREAK)))){ dispatchEvent(new Event(Artifact.E_INIT_OPERATE)); State = STATE_OPERATING; WhoManipulate = _arg1; if (_arg1.LittleBallon != null){ _arg1.LittleBallon.parent.removeChild(_arg1.LittleBallon); _arg1.LittleBallon = null; }; PopUp.FadeIn(); _countTimeProcess = 0; _countTimePopUp = 0; MovieClip(View.getChildByName("flecha_mc")).visible = false; LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).addChild(PopUp.View); }; } protected function ClickedCorrectButton(_arg1:MouseEvent){ var _local2:Array; var _local3:uint; var _local4:MovieClip; if (State == STATE_OPERATING){ _local2 = (_arg1.currentTarget as MovieClip).name.split("_"); _local3 = uint(_local2[1]); _local4 = (ComputerPopUp(PopUp).GetBtnWithNumber(_local3) as MovieClip); _playerSequence.push(_local4); _local4.gotoAndPlay("encendido"); Sfx.PlaySound(Sfx.SFX_BTN_COMPUTER); }; } public function Resume():void{ var _local1:MovieClip; var _local2:MovieClip; if (State != STATE_PROCESS){ return; }; _local1 = ((_chair.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); (_local1.getChildByName("girl_mc") as MovieClip).play(); _local2 = (View.getChildByName("compu_mc") as MovieClip); (_local2.getChildByName("linea_mc") as MovieClip).play(); (_local2.getChildByName("pto_mc") as MovieClip).play(); (_local2.getChildByName("radar_mc") as MovieClip).play(); (_local2.getChildByName("luces_mc") as MovieClip).play(); } protected function InitPopUp():void{ var _local1:int; _local1 = 0; while (_local1 < NUM_BUTTONS) { ComputerPopUp(PopUp).GetHitAreaBtnWithNumber(_local1).addEventListener(MouseEvent.MOUSE_DOWN, ClickedCorrectButton); ComputerPopUp(PopUp).ChangeStateButton(_local1, "apagado"); _local1++; }; PopUp.addEventListener(UIWidget.FADE_OUT_OVER, RemovePopUp); PopUp.addEventListener(UIWidget.FADE_IN_OVER, InitSequence); } protected function RemovePopUp(_arg1:Event):void{ if (PopUp.View.parent != null){ LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).removeChild(PopUp.View); }; } public function get Chair():MovieClip{ return (_chair); } public function GetOrderButtons():void{ var _local1:uint; var _local2:uint; var _local3:int; if (_orderButtons.length > 0){ _orderButtons.splice(0, _orderButtons.length); }; if (_playerSequence.length > 0){ _playerSequence.splice(0, _playerSequence.length); }; _local1 = NUM_BUTTONS; _local3 = 0; while (_local3 < NUM_BUTTONS_SEQUECE) { _local2 = Math.round((Math.random() * (NUM_BUTTONS - 1))); if (_local1 != _local2){ _local1 = _local2; _orderButtons.unshift(ComputerPopUp(PopUp).GetBtnWithNumber(_local2)); ComputerPopUp(PopUp).ChangeStateButton(_local2, "apagado"); } else { _local3--; }; _local3++; }; } public function get DeductPercentageXBadAction():Number{ return (DEC_PERCENTAGE_X_BAD_ACTION); } protected function LightButton(_arg1:uint, _arg2:Boolean){ if (State == STATE_OPERATING){ if (_arg2){ (_orderButtons[_arg1] as MovieClip).addEventListener(TURN_OFF, GoOnSequence); }; (_orderButtons[_arg1] as MovieClip).gotoAndPlay("luz"); }; } public function BadProcess():void{ WhoManipulate.DecrementCheerUpPercentage(DeductPercentageXBadAction); WhoManipulate.DoNothing(); _countTimePopUp = 0; State = STATE_DO_NOTHING; } public function ForcePopUpOut():void{ ComputerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); dispatchEvent(new Event(E_FORCE_END)); } public function Pause():void{ var _local1:MovieClip; var _local2:MovieClip; if (State != STATE_PROCESS){ return; }; _local1 = ((_chair.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); (_local1.getChildByName("girl_mc") as MovieClip).stop(); _local2 = (View.getChildByName("compu_mc") as MovieClip); (_local2.getChildByName("linea_mc") as MovieClip).stop(); (_local2.getChildByName("pto_mc") as MovieClip).stop(); (_local2.getChildByName("radar_mc") as MovieClip).stop(); (_local2.getChildByName("luces_mc") as MovieClip).stop(); } public function get PercentageXGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((PERCENTAGE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (PERCENTAGE_X_GOOD_ACTION); } protected function GoOnSequence(_arg1:Event):void{ if (_arg1.type == TURN_OFF){ (_arg1.currentTarget as MovieClip).removeEventListener(TURN_OFF, GoOnSequence); }; if (!_endShowSequence){ _indexSequence++; if (_indexSequence < _orderButtons.length){ LightButton(_indexSequence, true); } else { _endShowSequence = true; }; }; } private function PopUpFadeOut(_arg1:Event):void{ ComputerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); this.dispatchEvent(new Event(E_END_OPERATE)); } public function GoodOperate():Boolean{ var _local1:uint; var _local2:uint; var _local3:Boolean; var _local4:uint; _local1 = 0; _local2 = 0; _local3 = true; if (_playerSequence.length == _orderButtons.length){ while (_local4 < _playerSequence.length) { if (MovieClip(_playerSequence[_local4]) != MovieClip(_orderButtons[_local4])){ _local3 = false; }; _local4++; }; } else { _local3 = false; }; return (_local3); } } }//package actions
Section 3
//ComputerPopUp (actions.ComputerPopUp) package actions { import flash.text.*; import flash.display.*; import flash.geom.*; import txt.*; import com.gamesandweb.ui.*; import buttons.*; public class ComputerPopUp extends UIWidget implements IControlable { private var _containerButtons:MovieClip; private var _timerPerc:MovieClip; private var _okBtn:RollOutBtn; public static var POPUP_POSITION:Point = new Point(120, 95); public function ComputerPopUp(_arg1:MovieClip, _arg2:int=-1):void{ super(_arg1, _arg2); InitializeChildren(); SetTexts(); } public function GetBtnWithNumber(_arg1:uint):MovieClip{ return ((_containerButtons.getChildByName(("button" + String(_arg1))) as MovieClip)); } public function GetHitAreaBtnWithNumber(_arg1:uint):MovieClip{ var _local2:MovieClip; _local2 = (_containerButtons.getChildByName(("hitArea_" + String(_arg1))) as MovieClip); _local2 = (_containerButtons.getChildByName(("hitArea_" + String(_arg1))) as MovieClip); if (_local2 == null){ _local2 = (_containerButtons.getChildByName(("button" + String(_arg1))) as MovieClip); }; return (_local2); } public function SetRestTime(_arg1:uint):void{ if (_arg1 == 0){ _timerPerc.gotoAndStop(1); return; }; if (_arg1 != _timerPerc.currentFrame){ _timerPerc.gotoAndStop(_arg1); }; } public function TimerPopUp():MovieClip{ return (_timerPerc); } public function SetTexts():void{ _okBtn.Text = TextLoader.Instance.Texts["Listo"]; ((View.getChildByName("horno") as MovieClip).getChildByName("horno") as TextField).text = TextLoader.Instance.Texts["Juegos"]; } public function InitializeChildren():void{ _containerButtons = ((View.getChildByName("pl_celeste") as MovieClip).getChildByName("elements_mc") as MovieClip); _okBtn = RollOutBtn(View.getChildByName("pop_Btn")); _timerPerc = (View.getChildByName("timer_mc") as MovieClip); _timerPerc.gotoAndStop(1); View.x = POPUP_POSITION.x; View.y = POPUP_POSITION.y; } public function ChangeStateButton(_arg1:uint, _arg2:String):void{ GetBtnWithNumber(_arg1).gotoAndStop(_arg2); } public function get ContainerButtons():MovieClip{ return (_containerButtons); } override public function FadeIn():void{ Sfx.PlaySound(Sfx.SFX_POP_UP); _timerPerc.gotoAndStop(1); super.FadeIn(); } public function get OKBtn():RollOutBtn{ return (_okBtn); } } }//package actions
Section 4
//Cooker (actions.Cooker) package actions { import flash.events.*; import game.*; import flash.display.*; import managers.*; import character.*; import config.*; import com.gamesandweb.ui.*; import view.*; public class Cooker extends Artifact implements IAvailable { private var _endShowSequence:Boolean; private var _orderButtons:Array; private var _timerProcess:Array; private var _timesGirls:Array; private var _girls:Array; private var _cookForPeack:Boolean; private var _controlTutorTime:Number;// = 0 private var _indexSequence:uint; private var _playerSequence:Array; public static var SCORE_X_GOOD_ACTION:uint = 100; public static var NUM_BUTTONS:uint = 5; public static var PERCENTAGE_X_GOOD_ACTION:uint = 15; public static var POS_X:Number = 343; public static var POS_Y:Number = 117; public static var NUM_BUTTONS_SEQUECE:uint = 3; public static var DEC_PERCENTAGE_X_BAD_ACTION:uint = 10; public function Cooker(_arg1:Array, _arg2:Array){ _controlTutorTime = 0; super(new CookerAsset(), new CookerPopUp(new PopUpCookerAsset()), ActionsManager.AC_EATING); View.name = ActionsManager.AC_EATING; View.x = POS_X; View.y = POS_Y; InitPopUp(); _playerSequence = new Array(); _orderButtons = new Array(); AfterTilesPositions = _arg2; PreviusTilesPositions = _arg1; _endShowSequence = false; LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(View); _girls = new Array(); _timesGirls = new Array(); _timerProcess = new Array(); _cookForPeack = false; } public function get OptimumScore():uint{ return (SCORE_X_GOOD_ACTION); } private function InitSequence(_arg1:Event):void{ CookerPopUp(PopUp).OKBtn.addEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); _indexSequence = 0; _endShowSequence = false; if (!_cookForPeack){ GetOrderButtons(); LightButton(_indexSequence, true); } else { _endShowSequence = true; if (_orderButtons.length > 0){ _orderButtons.splice(0, _orderButtons.length); }; if (_playerSequence.length > 0){ _playerSequence.splice(0, _playerSequence.length); }; _orderButtons.push(CookerPopUp(PopUp).GetBtnWithNumber(NUM_BUTTONS)); CookerPopUp(PopUp).ChangeStateButton(NUM_BUTTONS, "apagado"); LightButton(_indexSequence, false); }; } public function Suspend():void{ var _local1:int; switch (State){ case STATE_OPERATING: case STATE_REPEARING: CookerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); BadProcess(); _countTimePopUp = 0; _local1 = 0; while (_local1 < NUM_BUTTONS) { CookerPopUp(PopUp).GetBtnWithNumber(_local1).gotoAndStop("apagado"); _local1++; }; break; case STATE_PROCESS: Completed(); break; case STATE_BREAK: View.gotoAndStop("cerrado"); State = STATE_DO_NOTHING; break; }; _cookForPeack = false; } protected function ShowAgainSequence(_arg1:Event):void{ _controlTutorTime--; Debugger.Log(("COOK -- ShowAgainSequence " + _controlTutorTime)); if (_playerSequence.length > 0){ Time.Instance.removeEventListener(Time.TIMER_EVENT, ShowAgainSequence, false); return; }; if (_controlTutorTime == 0){ Time.Instance.removeEventListener(Time.TIMER_EVENT, ShowAgainSequence, false); _controlTutorTime = ConfigLoader.Instance.Config["ControlTimeTutor"]; _endShowSequence = false; _indexSequence = 0; LightButton(_indexSequence, true); }; } override public function set IncrementTimeProcess(_arg1:Number):void{ var _local2:int; if (_girls.length <= 0){ _countTimeProcess = Artifact.TIME_PROCESS; return; }; _countTimeProcess = 0; _local2 = 0; while (_local2 < _girls.length) { _timesGirls[_local2] = (_timesGirls[_local2] + _arg1); if (Math.round(_timesGirls[_local2]) == 0){ (_timerProcess[_local2] as MovieClip).gotoAndStop(1); } else { if (Math.round(_timesGirls[_local2]) < Artifact.TIME_PROCESS){ (_timerProcess[_local2] as MovieClip).gotoAndStop(Math.round(((_timesGirls[_local2] * Constants.CIEN) / Artifact.TIME_PROCESS))); } else { (_timerProcess[_local2] as MovieClip).gotoAndStop(Constants.CIEN); CompletedOne(_local2); }; }; _local2++; }; } override public function Reset():void{ var _local1:int; _local1 = (_girls.length - 1); while (_local1 >= 0) { CompletedOne(_local1); _local1--; }; Suspend(); if (_orderButtons.length > 0){ _orderButtons.splice(0, _orderButtons.length); }; if (_playerSequence.length > 0){ _playerSequence.splice(0, _playerSequence.length); }; _endShowSequence = false; _indexSequence = 0; _cookForPeack = false; if (CookerPopUp(PopUp).OKBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ CookerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); }; if (View.hasEventListener("HornoAbreCierra")){ View.removeEventListener("HornoAbreCierra", Ready); }; super.Reset(); } private function CompletedOne(_arg1:uint):void{ var _local2:MovieClip; if (State != STATE_OPERATING){ State = STATE_DO_NOTHING; }; _local2 = (_timerProcess[_arg1] as MovieClip); if (_local2.parent != null){ _local2.parent.removeChild(_local2); }; _timerProcess.splice(_arg1, 1); _timesGirls.splice(_arg1, 1); (_girls[_arg1] as Girl).DoNothing(); (_girls[_arg1] as Girl).dispatchEvent(new Event("FINISHED_EAT")); _girls.splice(_arg1, 1); } public function Completed():void{ if ((((State == STATE_PROCESS)) && ((State == STATE_REPEARING)))){ State = STATE_DO_NOTHING; }; _countTimePopUp = 0; _countTimeProcess = 0; } public function Process():void{ var _local1:MovieClip; WhoManipulate.IncrementCheerUpPercentage(PercentageXGoodAction); GameManager.Instance.IncrementScore(ScoreGoodAction); if (State == STATE_REPEARING){ State = STATE_PROCESS; WhoManipulate.DoNothing(); View.gotoAndStop("cerrado"); dispatchEvent(new Event(Artifact.E_END_PROCESS)); } else { _girls.push(WhoManipulate); _timesGirls.push(0); _local1 = new TimerControlAsset(); _local1.scaleX = (_local1.scaleY = ConfigLoader.Instance.Config["TimerScale"]); _local1.gotoAndStop(1); _local1.x = ConfigLoader.Instance.Config["CookerTimerX"]; _local1.y = ConfigLoader.Instance.Config["CookerTimerY"]; _timerProcess.push(_local1); WhoManipulate.View.addChild(_local1); View.addEventListener("HornoAbreCierra", Ready); View.gotoAndStop("abre_cierra"); State = STATE_PROCESS; }; _countTimeProcess = 0; } public function get ScoreGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((SCORE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (SCORE_X_GOOD_ACTION); } public function Operate(_arg1:Girl):void{ if (((!((_arg1.LittleBallon == null))) || ((State == STATE_BREAK)))){ _controlTutorTime = ConfigLoader.Instance.Config["ControlTimeTutor"]; dispatchEvent(new Event(Artifact.E_INIT_OPERATE)); if (GameManager.Instance.CurrentLevel == 0){ TutorInstructions.Instance.ChangeInstruccion("Operate", ActionsManager.AC_EATING, _arg1.Name); }; if (State == STATE_BREAK){ State = STATE_REPEARING; } else { State = STATE_OPERATING; }; WhoManipulate = _arg1; if (_arg1.LittleBallon != null){ _arg1.LittleBallon.parent.removeChild(_arg1.LittleBallon); _arg1.LittleBallon = null; }; (PopUp.View.getChildByName("warn_mc") as MovieClip).visible = false; (PopUp.View.getChildByName("light_mc") as MovieClip).visible = false; PopUp.FadeIn(); MovieClip(View.getChildByName("flecha_mc")).visible = false; LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).addChild(PopUp.View); CookerPopUp(PopUp).ActiveLights(); _countTimeProcess = 0; _countTimePopUp = 0; }; } protected function ClickedCorrectButton(_arg1:MouseEvent){ if ((((State == STATE_OPERATING)) || ((State == STATE_REPEARING)))){ _playerSequence.push(_arg1.currentTarget); if ((((_playerSequence.length == NUM_BUTTONS_SEQUECE)) && ((GameManager.Instance.CurrentLevel == 0)))){ if (!(PopUp.View.getChildByName("warn_mc") as MovieClip).visible){ (PopUp.View.getChildByName("warn_mc") as MovieClip).visible = true; (PopUp.View.getChildByName("warn_mc") as MovieClip).gotoAndPlay(1); (PopUp.View.getChildByName("light_mc") as MovieClip).visible = true; (PopUp.View.getChildByName("light_mc") as MovieClip).gotoAndPlay(1); }; }; (_arg1.currentTarget as MovieClip).gotoAndPlay("encendido"); Sfx.PlaySound(Sfx.SFX_BTN_COOKER); }; } public function Resume():void{ } protected function InitPopUp():void{ var _local1:int; _local1 = 0; while (_local1 <= NUM_BUTTONS) { CookerPopUp(PopUp).GetBtnWithNumber(_local1).addEventListener(MouseEvent.MOUSE_DOWN, ClickedCorrectButton); _local1++; }; (PopUp.View.getChildByName("warn_mc") as MovieClip).visible = false; (PopUp.View.getChildByName("light_mc") as MovieClip).visible = false; PopUp.addEventListener(UIWidget.FADE_IN_OVER, InitSequence); PopUp.addEventListener(UIWidget.FADE_OUT_OVER, RemovePopUp); } protected function Ready(_arg1:Event):void{ View.removeEventListener("HornoAbreCierra", Ready); if (!_cookForPeack){ WhoManipulate.ChangeStatus(Girl.AC_EATING); } else { _timesGirls[(_timesGirls.length - 1)] = Artifact.TIME_PROCESS; _cookForPeack = false; }; State = STATE_DO_NOTHING; } protected function RemovePopUp(_arg1:Event):void{ if (PopUp.View.parent != null){ LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).removeChild(PopUp.View); }; } public function GetOrderButtons():void{ var _local1:uint; var _local2:uint; var _local3:int; if (_orderButtons.length > 0){ _orderButtons.splice(0, _orderButtons.length); }; if (_playerSequence.length > 0){ _playerSequence.splice(0, _playerSequence.length); }; _local1 = NUM_BUTTONS; _local3 = 0; while (_local3 < NUM_BUTTONS_SEQUECE) { _local2 = Math.round((Math.random() * (NUM_BUTTONS - 1))); if (_local1 != _local2){ _local1 = _local2; _orderButtons.unshift(CookerPopUp(PopUp).GetBtnWithNumber(_local2)); CookerPopUp(PopUp).ChangeStateButton(_local2, "apagado"); } else { _local3--; }; _local3++; }; } public function CookForPeack():void{ _cookForPeack = true; } public function get DeductPercentageXBadAction():Number{ return (DEC_PERCENTAGE_X_BAD_ACTION); } protected function LightButton(_arg1:uint, _arg2:Boolean){ if ((((State == STATE_OPERATING)) || ((State == STATE_REPEARING)))){ if (_arg2){ (_orderButtons[_arg1] as MovieClip).addEventListener(TURN_OFF, GoOnSequence); }; (_orderButtons[_arg1] as MovieClip).gotoAndPlay("luz"); }; } public function BadProcess():void{ WhoManipulate.DecrementCheerUpPercentage(DeductPercentageXBadAction); WhoManipulate.DoNothing(); _countTimePopUp = 0; _countTimeProcess = 0; if (State == STATE_OPERATING){ State = STATE_DO_NOTHING; } else { if (State == STATE_REPEARING){ State = STATE_BREAK; }; }; } public function ForcePopUpOut():void{ CookerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); (PopUp.View.getChildByName("warn_mc") as MovieClip).visible = false; (PopUp.View.getChildByName("light_mc") as MovieClip).visible = false; PopUp.FadeOut(); dispatchEvent(new Event(E_FORCE_END)); } public function get PercentageXGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((PERCENTAGE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (PERCENTAGE_X_GOOD_ACTION); } public function Pause():void{ } override public function CouldBreak():Boolean{ if (State == STATE_DO_NOTHING){ return (true); }; return (false); } override public function Break():void{ if ((((State == STATE_DO_NOTHING)) && (!(_cookForPeack)))){ State = STATE_BREAK; View.gotoAndStop("break"); }; } override public function set IncrementTimePopUp(_arg1:Number):void{ super.IncrementTimePopUp = _arg1; if ((((_countTimePopUp > 8000)) && ((GameManager.Instance.CurrentLevel == 0)))){ if (!(PopUp.View.getChildByName("warn_mc") as MovieClip).visible){ (PopUp.View.getChildByName("warn_mc") as MovieClip).visible = true; (PopUp.View.getChildByName("warn_mc") as MovieClip).gotoAndPlay(1); (PopUp.View.getChildByName("light_mc") as MovieClip).visible = true; (PopUp.View.getChildByName("light_mc") as MovieClip).gotoAndPlay(1); }; }; } protected function GoOnSequence(_arg1:Event):void{ if (_arg1.type == TURN_OFF){ (_arg1.currentTarget as MovieClip).removeEventListener(TURN_OFF, GoOnSequence); }; if (!_endShowSequence){ _indexSequence++; if (_indexSequence < _orderButtons.length){ LightButton(_indexSequence, true); } else { if (GameManager.Instance.CurrentLevel == 0){ Time.Instance.addEventListener(Time.TIMER_EVENT, ShowAgainSequence, false, 0, true); } else { _endShowSequence = true; }; }; }; } protected function PopUpFadeOut(_arg1:Event):void{ CookerPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); (PopUp.View.getChildByName("warn_mc") as MovieClip).visible = false; (PopUp.View.getChildByName("light_mc") as MovieClip).visible = false; PopUp.FadeOut(); dispatchEvent(new Event(E_END_OPERATE)); } public function GoodOperate():Boolean{ var _local1:uint; var _local2:uint; var _local3:Boolean; var _local4:uint; _local1 = 0; _local2 = 0; _local3 = true; if (!_cookForPeack){ if (_playerSequence.length == _orderButtons.length){ while (_local4 < _playerSequence.length) { if (MovieClip(_playerSequence[_local4]) != MovieClip(_orderButtons[_local4])){ _local3 = false; }; _local4++; }; } else { _local3 = false; }; } else { if ((((_playerSequence.length == 1)) && ((MovieClip(_playerSequence[0]) == CookerPopUp(PopUp).GetBtnWithNumber(NUM_BUTTONS))))){ _local3 = true; } else { _local3 = false; }; }; return (_local3); } } }//package actions
Section 5
//CookerPopUp (actions.CookerPopUp) package actions { import flash.text.*; import flash.display.*; import flash.geom.*; import txt.*; import com.gamesandweb.ui.*; import buttons.*; public class CookerPopUp extends UIWidget implements IControlable { private var _containerBtns:MovieClip; private var _timerPerc:MovieClip; private var _okBtn:RollOutBtn; public static var POPUP_POSITION:Point = new Point(355, 95); public function CookerPopUp(_arg1:MovieClip, _arg2:int=-1){ super(_arg1, _arg2); InitializeChildren(); SetTexts(); } public function GetBtnWithNumber(_arg1:uint):MovieClip{ return ((_containerBtns.getChildByName(("button" + String(_arg1))) as MovieClip)); } public function SetRestTime(_arg1:uint):void{ if (_arg1 == 0){ _timerPerc.gotoAndStop(1); return; }; if (_arg1 != _timerPerc.currentFrame){ _timerPerc.gotoAndStop(_arg1); }; } public function TimerPopUp():MovieClip{ return (_timerPerc); } public function SetTexts():void{ TextField((View.getChildByName("verde_mc") as MovieClip).getChildByName("titulo_txt")).text = TextLoader.Instance.Texts["Horno"]; _okBtn.Text = TextLoader.Instance.Texts["Listo"]; (((View.getChildByName("warn_mc") as MovieClip).getChildByName("textContainer_mc") as MovieClip).getChildByName("text_txt") as TextField).text = TextLoader.Instance.Texts["Listo"]; } public function InitializeChildren():void{ _okBtn = (View.getChildByName("pop_Btn") as RollOutBtn); _containerBtns = (View.getChildByName("elements_mc") as MovieClip); _timerPerc = (View.getChildByName("timer_mc") as MovieClip); _timerPerc.gotoAndStop(1); View.x = POPUP_POSITION.x; View.y = POPUP_POSITION.y; } public function ChangeStateButton(_arg1:uint, _arg2:String):void{ GetBtnWithNumber(_arg1).gotoAndStop(_arg2); } public function get ContainerButtons():MovieClip{ return (_containerBtns); } override public function FadeIn():void{ Sfx.PlaySound(Sfx.SFX_POP_UP); _timerPerc.gotoAndStop(1); super.FadeIn(); } public function get OKBtn():RollOutBtn{ return (_okBtn); } public function ActiveLights():void{ MovieClip(View.getChildByName("verde_mc")).gotoAndPlay(1); } } }//package actions
Section 6
//ExerciseBike (actions.ExerciseBike) package actions { import flash.events.*; import game.*; import flash.display.*; import flash.geom.*; import managers.*; import character.*; import terrain.*; import utils.*; import config.*; import com.gamesandweb.ui.*; import view.*; public class ExerciseBike extends Artifact implements IAvailable { private var _numTurns:int; private var _currPto:Point;// = null private var _percentage:uint; private var _moving:Boolean; private var _prevPto:Point;// = null private var _rotation:Number; private var _particle:MovieClip;// = null public static const ANGULO_ESTELA_RATIO:Number = 180; public static const RAD_TO_DEG:Number = 57.2957795130823; public static var SCORE_X_GOOD_ACTION:uint = 100; public static var PERCENTAGE_X_GOOD_ACTION:uint = 15; public static var POS_X:Number = 74; public static var POS_Y:Number = 346.6; public static var NUM_TURNS:uint = 10; public static var DEC_PERCENTAGE_X_BAD_ACTION:uint = 10; public function ExerciseBike(_arg1:Array, _arg2:Array){ _prevPto = null; _currPto = null; _particle = null; super(new ExerciseBikeAsset(), new PedalPopUp(new PopupExerciseBikeAsset()), ActionsManager.AC_DOING_GYM); View.name = ActionsManager.AC_DOING_GYM; View.x = POS_X; View.y = POS_Y; _percentage = 0; _rotation = 0; _moving = false; PreviusTilesPositions = _arg1; AfterTilesPositions = _arg2; LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(View); PopUp.addEventListener(UIWidget.FADE_IN_OVER, InitOperate); PopUp.addEventListener(UIWidget.FADE_OUT_OVER, RemovePopUp); TimerProcess.x = ConfigLoader.Instance.Config["BikeTimerX"]; TimerProcess.y = ConfigLoader.Instance.Config["BikeTimerY"]; } public function get OptimumScore():uint{ return (SCORE_X_GOOD_ACTION); } public function Suspend():void{ switch (State){ case STATE_OPERATING: PedalPopUp(PopUp).Pedal.removeEventListener(MouseEvent.MOUSE_DOWN, InitPedal); PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_MOVE, Turn); PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_OUT, MouseOut); PopUp.FadeOut(); BadProcess(); _countTimePopUp = 0; break; case STATE_PROCESS: Completed(); break; }; } private function AddParticle(_arg1:Point, _arg2:Point):void{ var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; _local3 = (_arg2.y - _arg1.y); _local4 = (_arg2.x - _arg1.x); _local6 = 360; _particle = new AParticleAsset(); _particle.x = _arg2.x; _particle.y = _arg2.y; _local5 = Math.abs((_local3 + _local4)); if (_local5 > 0){ _local6 = (ANGULO_ESTELA_RATIO / _local5); }; _local7 = ((Math.random() * _local6) - (_local6 / 2)); _local8 = ((Math.atan2(_local3, _local4) * RAD_TO_DEG) + _local7); _particle.rotation = (_local8 + 180); _local9 = (Math.round((Math.random() * (_particle.totalFrames - 1))) + 1); _particle.gotoAndStop(_local9); _popup.View.addChild(_particle); _particle.addEventListener("AnimationStellaEnd", removeStella); } public function Completed():void{ var _local1:MovieClip; var _local2:Point; Sfx.StopSound(Sfx.SFX_PEDAL); _local1 = ((View.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); _local2 = TileAfterDoAction; _local1.parent.removeChild(_local1); _local1 = null; WhoManipulate.ChangeThePosition(Map.Instance.GetPositionOfTile(_local2.x, _local2.y)); WhoManipulate.View.visible = true; State = STATE_DO_NOTHING; WhoManipulate.DoNothing(); if (TimerProcess.parent != null){ TimerProcess.parent.removeChild(TimerProcess); }; _countTimePopUp = 0; _countTimeProcess = 0; _whoManipulate = null; } override public function Reset():void{ Sfx.StopSound(Sfx.SFX_STARS); Sfx.StopSound(Sfx.SFX_PEDAL); Suspend(); _percentage = 0; _rotation = 0; _moving = false; _prevPto = null; _currPto = null; _numTurns = 0; if (PedalPopUp(PopUp).Pedal.hasEventListener(MouseEvent.MOUSE_DOWN)){ PedalPopUp(PopUp).Pedal.removeEventListener(MouseEvent.MOUSE_DOWN, InitPedal); }; if (PedalPopUp(PopUp).Sensor.hasEventListener(MouseEvent.MOUSE_MOVE)){ PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_MOVE, Turn); }; if (PedalPopUp(PopUp).Sensor.hasEventListener(MouseEvent.ROLL_OUT)){ PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_OUT, MouseOut); }; if (((!((_particle == null))) && (_particle.hasEventListener("AnimationStellaEnd")))){ _particle.dispatchEvent(new Event("AnimationStellaEnd")); }; super.Reset(); } private function InitPedal(_arg1:MouseEvent):void{ PedalPopUp(PopUp).Pedal.removeEventListener(MouseEvent.MOUSE_DOWN, InitPedal); _moving = false; PedalPopUp(PopUp).ActiveSensor(); PedalPopUp(PopUp).Sensor.addEventListener(MouseEvent.MOUSE_MOVE, Turn); PedalPopUp(PopUp).Sensor.addEventListener(MouseEvent.MOUSE_OUT, MouseOut); PedalPopUp(PopUp).Sensor.addEventListener(MouseEvent.MOUSE_UP, StopStars); } private function InitOperate(_arg1:Event):void{ _percentage = 0; _rotation = 0; _numTurns = -1; PedalPopUp(PopUp).InactiveSensor(); PedalPopUp(PopUp).RotatePedal(1); PedalPopUp(PopUp).UpdateBar(1); PedalPopUp(PopUp).Pedal.addEventListener(MouseEvent.MOUSE_DOWN, InitPedal); } public function Process():void{ var _local1:MovieClip; var _local2:Point; PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_MOVE, Turn); PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_OUT, MouseOut); _countTimeProcess = 0; _countTimePopUp = 0; State = STATE_PROCESS; WhoManipulate.IncrementCheerUpPercentage(PercentageXGoodAction); GameManager.Instance.IncrementScore(ScoreGoodAction); _local1 = MovieClipUtils.Instance.Copy(WhoManipulate.View); WhoManipulate.View.visible = false; _local2 = Map.Instance.GetTileAt(WhoManipulate.View.x, WhoManipulate.View.y); Map.Instance.UpdateTile(_local2.x, _local2.y, Map.WALKABLE); _local1.name = "duplicado"; TimerProcess.gotoAndStop(1); _local1.addChild(TimerProcess); _local1.x = (-15.1 + 4); _local1.y = (8 - 13); _local1.gotoAndStop(Girl.AC_DOING_GYM); Sfx.PlaySoundLoop(Sfx.SFX_PEDAL, false); (View.getChildByName("container_mc") as MovieClip).addChild(_local1); } public function get ScoreGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((SCORE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (SCORE_X_GOOD_ACTION); } private function StopStars(_arg1:MouseEvent):void{ Sfx.StopSound(Sfx.SFX_STARS); } public function Operate(_arg1:Girl):void{ if (((!((_arg1.LittleBallon == null))) || ((State == STATE_BREAK)))){ if (GameManager.Instance.CurrentLevel == 0){ TutorInstructions.Instance.ChangeInstruccion("Operate", ActionsManager.AC_DOING_GYM, _arg1.Name); }; dispatchEvent(new Event(Artifact.E_INIT_OPERATE)); _moving = false; WhoManipulate = _arg1; if (_arg1.LittleBallon != null){ _arg1.LittleBallon.parent.removeChild(_arg1.LittleBallon); _arg1.LittleBallon = null; }; PopUp.FadeIn(); MovieClip(View.getChildByName("flecha_mc")).visible = false; LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).addChild(PopUp.View); _countTimePopUp = 0; _prevPto = null; }; } public function Resume():void{ var _local1:MovieClip; if (State != STATE_PROCESS){ return; }; _local1 = ((View.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); (_local1.getChildByName("girl_mc") as MovieClip).play(); Sfx.PlaySoundLoop(Sfx.SFX_PEDAL, false); } protected function RemovePopUp(_arg1:Event):void{ if (PopUp.View.parent != null){ LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).removeChild(PopUp.View); }; } private function MouseOut(_arg1:MouseEvent):void{ if (Math.sqrt((Math.pow(_arg1.localX, 2) + Math.pow(_arg1.localY, 2))) > (PedalPopUp(PopUp).Sensor.width / 2)){ Sfx.StopSound(Sfx.SFX_STARS); PedalPopUp(PopUp).InactiveSensor(); PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_MOVE, Turn); _prevPto = null; _currPto = null; PedalPopUp(PopUp).Pedal.addEventListener(MouseEvent.MOUSE_DOWN, InitPedal); }; } private function Turn(_arg1:MouseEvent):void{ var _local2:Stroke; if (_arg1.buttonDown){ Sfx.PlaySoundLoop(Sfx.SFX_STARS, false); _moving = true; if (_currPto != null){ _currPto.x = _arg1.localX; _currPto.y = _arg1.localY; } else { _currPto = new Point(_arg1.localX, _arg1.localY); }; if (_prevPto == null){ _prevPto = new Point(_currPto.x, _currPto.y); }; AddParticle(_prevPto, _currPto); CalcularRotation(); _prevPto.x = _currPto.x; _prevPto.y = _currPto.y; } else { Sfx.StopSound(Sfx.SFX_STARS); _moving = false; PedalPopUp(PopUp).InactiveSensor(); PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_MOVE, Turn); _prevPto = null; _currPto = null; PedalPopUp(PopUp).Pedal.addEventListener(MouseEvent.MOUSE_DOWN, InitPedal); }; } private function CalcularRotation():void{ var _local1:uint; if (_currPto.x > 0){ if (_currPto.y >= 0){ _rotation = (Math.atan2(_currPto.y, _currPto.x) * MathUtils.RAD_TO_DEG); } else { _rotation = (360 + (Math.atan2(_currPto.y, _currPto.x) * MathUtils.RAD_TO_DEG)); }; } else { if (_currPto.x < 0){ if (_currPto.y >= 0){ _rotation = (Math.atan2(_currPto.y, _currPto.x) * MathUtils.RAD_TO_DEG); } else { _rotation = (360 + (Math.atan2(_currPto.y, _currPto.x) * MathUtils.RAD_TO_DEG)); }; } else { if (_currPto.x == 0){ if (_currPto.y > 0){ _rotation = 90; } else { if (_currPto.y < 0){ _rotation = 270; }; }; }; }; }; if ((((((_prevPto.y < 0)) && ((_currPto.y >= 0)))) && ((_currPto.x > 0)))){ _numTurns++; if (_numTurns > NUM_TURNS){ _numTurns = NUM_TURNS; PopUpFadeOut(); }; _local1 = Math.floor(((_numTurns * Constants.CIEN) / NUM_TURNS)); if (_local1 > 0){ PedalPopUp(PopUp).UpdateBar(_local1); } else { PedalPopUp(PopUp).UpdateBar(1); }; }; PedalPopUp(PopUp).RotatePedal(Math.floor(_rotation)); } public function get DeductPercentageXBadAction():Number{ return (DEC_PERCENTAGE_X_BAD_ACTION); } public function ForcePopUpOut():void{ Sfx.StopSound(Sfx.SFX_STARS); PedalPopUp(PopUp).Pedal.removeEventListener(MouseEvent.MOUSE_DOWN, InitPedal); PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_MOVE, Turn); PedalPopUp(PopUp).Sensor.removeEventListener(MouseEvent.MOUSE_OUT, MouseOut); PopUp.FadeOut(); dispatchEvent(new Event(E_FORCE_END)); } public function BadProcess():void{ WhoManipulate.DecrementCheerUpPercentage(DeductPercentageXBadAction); WhoManipulate.DoNothing(); _countTimePopUp = 0; _countTimeProcess = 0; State = STATE_DO_NOTHING; } public function Pause():void{ var _local1:MovieClip; if (State != STATE_PROCESS){ return; }; _local1 = ((View.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); (_local1.getChildByName("girl_mc") as MovieClip).stop(); Sfx.StopSound(Sfx.SFX_PEDAL); } public function get PercentageXGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((PERCENTAGE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (PERCENTAGE_X_GOOD_ACTION); } private function removeStella(_arg1:Event):void{ if (_arg1.currentTarget != null){ MovieClip(_arg1.currentTarget).removeEventListener("AnimationStellaEnd", removeStella); if (PopUp.View.contains(MovieClip(_arg1.currentTarget))){ PopUp.View.removeChild(MovieClip(_arg1.currentTarget)); }; }; } private function PopUpFadeOut():void{ Sfx.StopSound(Sfx.SFX_STARS); PopUp.FadeOut(); dispatchEvent(new Event(E_END_OPERATE)); } public function GoodOperate():Boolean{ if (_numTurns == NUM_TURNS){ return (true); }; return (false); } } }//package actions
Section 7
//IAvailable (actions.IAvailable) package actions { import flash.display.*; import flash.geom.*; import character.*; public interface IAvailable { function get OptimumScore():uint; function get View():MovieClip; function BadProcess():void; function ForcePopUpOut():void; function Activate():void; function Deactivate():void; function Process():void; function Suspend():void; function Pause():void; function CouldBreak():Boolean; function Break():void; function get HitArea():MovieClip; function get Operating():Boolean; function set State(_arg1:uint):void; function Operate(_arg1:Girl):void; function Resume():void; function get Active():Boolean; function set IncrementTimePopUp(_arg1:Number):void; function Completed():void; function set IncrementTimeProcess(_arg1:Number):void; function GoodOperate():Boolean; function get TileAfterDoAction():Point; function get State():uint; function get Processing():Boolean; function get TileBeforeDoAction():Point; function Reset():void; function get WhoManipulate():Girl; } }//package actions
Section 8
//IControlable (actions.IControlable) package actions { public interface IControlable { function SetRestTime(_arg1:uint):void; } }//package actions
Section 9
//PedalPopUp (actions.PedalPopUp) package actions { import flash.text.*; import flash.events.*; import game.*; import flash.display.*; import flash.geom.*; import txt.*; import com.gamesandweb.ui.*; public class PedalPopUp extends UIWidget implements IControlable { private var _percentage:uint; private var _timerPerc:MovieClip; private var _sensor:MovieClip; private var _bar:MovieClip;// = null private var _rotation:uint; private var _pedal:MovieClip;// = null public static var POPUP_POSITION:Point = new Point(79, 240); public function PedalPopUp(_arg1:MovieClip, _arg2:int=-1){ _bar = null; _pedal = null; super(_arg1, _arg2); InitializeChildren(); SetTexts(); } public function ActiveSensor():void{ _sensor.visible = true; } public function get Sensor():MovieClip{ return (_sensor); } protected function up(_arg1:Event):void{ if (_pedal.currentFrame == Percentage){ _pedal.stop(); _pedal.removeEventListener(Event.ENTER_FRAME, up); return; }; } public function InactiveSensor():void{ _sensor.visible = false; } public function SetRestTime(_arg1:uint):void{ if (_arg1 == 0){ _timerPerc.gotoAndStop(1); return; }; if (_arg1 != _timerPerc.currentFrame){ _timerPerc.gotoAndStop(_arg1); }; } public function get Rotation():uint{ return (_rotation); } public function RotatePedal(_arg1:uint):void{ _rotation = _arg1; if (_arg1 > 360){ _rotation = (_rotation - 360); }; if (_bar.currentFrame == _rotation){ return; }; if (_rotation == 0){ _rotation = 1; }; _pedal.gotoAndStop(_rotation); } public function get Percentage():uint{ return (_percentage); } public function TimerPopUp():MovieClip{ return (_timerPerc); } public function SetTexts():void{ TextField((View.getChildByName("rosa") as MovieClip).getChildByName("bici")).text = TextLoader.Instance.Texts["Bicicleta"]; } public function InitializeChildren():void{ _bar = (((View.getChildByName("pl_celeste") as MovieClip).getChildByName("barra") as MovieClip).getChildByName("barra") as MovieClip); _bar.gotoAndStop(1); _percentage = 0; _timerPerc = (View.getChildByName("timer_mc") as MovieClip); _timerPerc.gotoAndStop(1); _pedal = (View.getChildByName("pedal_mc") as MovieClip); _pedal.gotoAndStop(1); _rotation = 0; _sensor = (View.getChildByName("sensor_mc") as MovieClip); View.x = POPUP_POSITION.x; View.y = POPUP_POSITION.y; } public function get Pedal():MovieClip{ return (_pedal); } override public function FadeIn():void{ Sfx.PlaySound(Sfx.SFX_POP_UP); _rotation = 1; _percentage = 1; _timerPerc.gotoAndStop(1); _bar.gotoAndStop(1); _pedal.gotoAndStop(1); super.FadeIn(); } public function UpdateBar(_arg1:uint):void{ _percentage = _arg1; if (_percentage > 100){ _percentage = 100; } else { if (_percentage <= 0){ _percentage = 1; }; }; if (_percentage == _bar.currentFrame){ return; }; if ((((_percentage == 100)) && ((GameManager.Instance.CurrentLevel == 0)))){ TutorInstructions.Instance.HideText(); }; _bar.gotoAndStop(_percentage); } } }//package actions
Section 10
//Radio (actions.Radio) package actions { import flash.events.*; import game.*; import flash.display.*; import managers.*; import character.*; import config.*; import com.gamesandweb.ui.*; import view.*; import com.gamesandweb.game.*; public class Radio extends Artifact implements IAvailable { private var _indexSoundPlay:int; private var _sounds:Array;// = null private var _radioMv:MovieClip;// = null private var _numSounds:int; private var _playing:Boolean; public static const STATUS_SOUNDING:String = "Encendido"; public static const SCR_ST_BREAK:String = "MojoMusic"; public static const STATUS_OK:String = "Perfect"; public static const SCR_ST_IDLE:String = "MusicInGame"; public static const STATUS_MUFFLED:String = "Apagau"; public static const STATUS_BREAK:String = "Break"; public static var SCORE_X_GOOD_ACTION:uint = 100; public static var PERCENTAGE_X_GOOD_ACTION:uint = 15; public static var POS_X:Number = 515; public static var POS_Y:Number = 154; public static var DEC_PERCENTAGE_X_BAD_ACTION:uint = 10; public function Radio(_arg1:Array, _arg2:Array, _arg3:Array=null):void{ _sounds = null; _radioMv = null; _indexSoundPlay = 0; if (_arg3 == null){ _numSounds = 0; _sounds = new Array(); } else { _sounds = _arg3; _numSounds = _sounds.length; }; _sounds.unshift(SCR_ST_IDLE); super(new RadioAsset(), new RadioPopUp(new RadioPopUpAsset()), ActionsManager.AC_LISTENING); View.name = ActionsManager.AC_LISTENING; View.x = POS_X; View.y = POS_Y; View.gotoAndStop(STATUS_OK); _radioMv = (View.getChildByName("radio") as MovieClip); _playing = false; _indexSoundPlay = 0; PreviusTilesPositions = _arg1; AfterTilesPositions = _arg2; LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(View); PopUp.addEventListener(UIWidget.FADE_IN_OVER, InitOperate); PopUp.addEventListener(UIWidget.FADE_OUT_OVER, RemovePopUp); TimerProcess.x = ConfigLoader.Instance.Config["RadioTimerX"]; TimerProcess.y = ConfigLoader.Instance.Config["RadioTimerY"]; } public function get OptimumScore():uint{ return (SCORE_X_GOOD_ACTION); } public function AddSound(_arg1:String):void{ if (_sounds == null){ _sounds = new Array([_arg1]); } else { _sounds.push(_arg1); }; _numSounds++; } public function Suspend():void{ switch (State){ case STATE_OPERATING: case STATE_REPEARING: RadioPopUp(PopUp).HitAreaNextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, NextMusic); RadioPopUp(PopUp).HitAreaPrevBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PreviusMusic); RadioPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); BadProcess(); break; case STATE_PROCESS: State = STATE_DO_NOTHING; WhoManipulate.DoNothing(); _radioMv.gotoAndStop(STATUS_MUFFLED); Sfx.StopSound(_sounds[0]); _countTimePopUp = 0; _countTimeProcess = 0; if (TimerProcess.parent != null){ TimerProcess.parent.removeChild(TimerProcess); }; break; case STATE_BREAK: View.removeEventListener(Event.RENDER, SoundMojoMusic); View.gotoAndStop(STATUS_OK); _radioMv = (View.getChildByName("radio") as MovieClip); State = STATE_DO_NOTHING; break; }; } override public function get Operating():Boolean{ if (super.Operating){ return (true); }; if (State == STATE_REPEARING){ return (true); }; return (false); } public function Completed():void{ State = STATE_DO_NOTHING; WhoManipulate.DoNothing(); _radioMv.gotoAndStop(STATUS_MUFFLED); Sfx.PlayMusic(_sounds[0], true); _countTimePopUp = 0; _countTimeProcess = 0; if (TimerProcess.parent != null){ TimerProcess.parent.removeChild(TimerProcess); }; } override public function Reset():void{ Suspend(); _indexSoundPlay = 0; _playing = false; View.gotoAndStop(STATUS_OK); _radioMv = (View.getChildByName("radio") as MovieClip); if (RadioPopUp(PopUp).OKBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ RadioPopUp(PopUp).OKBtn.addEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); }; if (RadioPopUp(PopUp).HitAreaNextBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ RadioPopUp(PopUp).HitAreaNextBtn.addEventListener(MouseEvent.MOUSE_DOWN, NextMusic); }; if (RadioPopUp(PopUp).HitAreaPrevBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ RadioPopUp(PopUp).HitAreaPrevBtn.addEventListener(MouseEvent.MOUSE_DOWN, PreviusMusic); }; super.Reset(); } public function InitOperate(_arg1:Event):void{ RadioPopUp(PopUp).OKBtn.addEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); RadioPopUp(PopUp).HitAreaNextBtn.addEventListener(MouseEvent.MOUSE_DOWN, NextMusic); RadioPopUp(PopUp).HitAreaPrevBtn.addEventListener(MouseEvent.MOUSE_DOWN, PreviusMusic); } public function Process():void{ _countTimeProcess = 0; State = STATE_PROCESS; WhoManipulate.IncrementCheerUpPercentage(PercentageXGoodAction); GameManager.Instance.IncrementScore(ScoreGoodAction); WhoManipulate.ChangeStatus(Girl.AC_LISENING_MUSIC); TimerProcess.gotoAndStop(1); WhoManipulate.View.addChild(TimerProcess); _countTimePopUp = 0; } public function get ScoreGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((SCORE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (SCORE_X_GOOD_ACTION); } public function Operate(_arg1:Girl):void{ if (((!((_arg1.LittleBallon == null))) || ((State == STATE_BREAK)))){ dispatchEvent(new Event(Artifact.E_INIT_OPERATE)); _countTimePopUp = 0; WhoManipulate = _arg1; if (_arg1.LittleBallon != null){ _arg1.LittleBallon.parent.removeChild(_arg1.LittleBallon); _arg1.LittleBallon = null; }; _indexSoundPlay = 0; if (State != STATE_BREAK){ RadioPopUp(PopUp).ShowScreen(SCR_ST_IDLE); State = STATE_OPERATING; } else { if (!RadioPopUp(PopUp).IsCurrentFrame(SCR_ST_BREAK)){ RadioPopUp(PopUp).ShowScreen(SCR_ST_BREAK); State = STATE_REPEARING; }; }; PopUp.FadeIn(); MovieClip(View.getChildByName("flecha_mc")).visible = false; LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).addChild(PopUp.View); }; } public function Resume():void{ var _local1:MovieClip; if (_playing){ _local1 = ((View.getChildByName("radio") as MovieClip).getChildByName("radio_mc") as MovieClip); _local1.stop(); if (_local1.getChildByName("notas_mc") != null){ (_local1.getChildByName("notas_mc") as MovieClip).play(); }; }; } private function SoundOnComplete(_arg1:Event):void{ _radioMv = (View.getChildByName("radio") as MovieClip); View.removeEventListener(Event.RENDER, SoundOnComplete); _radioMv.gotoAndStop(STATUS_SOUNDING); } protected function RemovePopUp(_arg1:Event):void{ if (PopUp.View.parent != null){ LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).removeChild(PopUp.View); }; } public function get DeductPercentageXBadAction():Number{ return (DEC_PERCENTAGE_X_BAD_ACTION); } public function BadProcess():void{ var _local1:MovieClip; _local1 = (View.getChildByName("radio") as MovieClip); WhoManipulate.DecrementCheerUpPercentage(DeductPercentageXBadAction); WhoManipulate.DoNothing(); if (State == STATE_REPEARING){ State = STATE_BREAK; RadioPopUp(PopUp).ShowScreen(SCR_ST_BREAK); if (_local1.currentLabel != STATUS_SOUNDING){ _local1.gotoAndStop(STATUS_SOUNDING); }; if (!Sfx.IsPlaying(Sfx.MUSIC_MOJO)){ Sfx.PlayMusic(Sfx.MUSIC_MOJO); }; } else { State = STATE_DO_NOTHING; RadioPopUp(PopUp).ShowScreen(SCR_ST_IDLE); if (_local1.currentLabel == STATUS_SOUNDING){ _local1.gotoAndStop(STATUS_MUFFLED); }; if (!Sfx.IsPlaying(Sfx.MUSIC_INGAME)){ Sfx.PlayMusic(Sfx.MUSIC_INGAME); }; }; _countTimePopUp = 0; } public function ForcePopUpOut():void{ RadioPopUp(PopUp).HitAreaNextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, NextMusic); RadioPopUp(PopUp).HitAreaPrevBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PreviusMusic); RadioPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); dispatchEvent(new Event(E_FORCE_END)); } protected function NextMusic(_arg1:Event):void{ var e = _arg1; try { Sfx.StopSound(_sounds[_indexSoundPlay]); _indexSoundPlay++; if (_indexSoundPlay == (_sounds.length - 1)){ _radioMv.gotoAndStop(STATUS_MUFFLED); _playing = false; _indexSoundPlay = 0; } else { if (!_playing){ _radioMv.gotoAndStop(STATUS_SOUNDING); _playing = true; Sfx.PlaySound(Sfx.SFX_TURN_ON_RADIO, false); }; }; RadioPopUp(PopUp).NextBtn.gotoAndStop("down"); Sfx.PlaySound(Sfx.SFX_BTN_RADIO); RadioPopUp(PopUp).ShowScreen(_sounds[_indexSoundPlay]); Sfx.PlayMusic(_sounds[_indexSoundPlay]); } catch(error:Error) { trace(("IOErrorEvent catch: " + error)); Debugger.LogStack(); _radioMv = (View.getChildByName("radio") as MovieClip); _indexSoundPlay = ((_indexSoundPlay)==0) ? (_sounds.length - 1) : (_indexSoundPlay - 1); NextMusic(e); }; } public function get PercentageXGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((PERCENTAGE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (PERCENTAGE_X_GOOD_ACTION); } override public function CouldBreak():Boolean{ if (State == STATE_DO_NOTHING){ return (true); }; return (false); } override public function Break():void{ if ((State == STATE_DO_NOTHING)){ State = STATE_BREAK; View.addEventListener(Event.RENDER, SoundMojoMusic); GameContext.GlobalStage.invalidate(); View.gotoAndStop(STATUS_BREAK); }; } protected function PreviusMusic(_arg1:Event):void{ var e = _arg1; try { _indexSoundPlay--; Sfx.StopSound(_sounds[(_indexSoundPlay + 1)]); if (_indexSoundPlay < 0){ _indexSoundPlay = (_numSounds - 1); }; if (_indexSoundPlay == 0){ _radioMv.gotoAndStop(STATUS_MUFFLED); _playing = false; } else { if (!_playing){ _radioMv.gotoAndStop(STATUS_SOUNDING); _playing = true; Sfx.PlaySound(Sfx.SFX_TURN_ON_RADIO, false); }; }; RadioPopUp(PopUp).PrevBtn.gotoAndStop("down"); Sfx.PlaySound(Sfx.SFX_BTN_RADIO); RadioPopUp(PopUp).ShowScreen(_sounds[_indexSoundPlay]); Sfx.PlayMusic(_sounds[_indexSoundPlay]); } catch(error:Error) { trace(("IOErrorEvent catch: " + error)); Debugger.LogStack(); _radioMv = (View.getChildByName("radio") as MovieClip); _indexSoundPlay = ((_indexSoundPlay)==(_numSounds - 1)) ? 0 : (_indexSoundPlay + 1); PreviusMusic(e); }; } protected function PopUpFadeOut(_arg1:Event):void{ RadioPopUp(PopUp).NextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, NextMusic); RadioPopUp(PopUp).PrevBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PreviusMusic); RadioPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); dispatchEvent(new Event(E_END_OPERATE)); } public function GoodOperate():Boolean{ if (_sounds[_indexSoundPlay] == WhoManipulate.FavoriteMusic){ if (State == STATE_REPEARING){ View.addEventListener(Event.RENDER, SoundOnComplete); GameContext.GlobalStage.invalidate(); View.gotoAndStop(STATUS_OK); } else { if (_playing){ _radioMv.gotoAndStop(STATUS_SOUNDING); }; }; return (true); }; return (false); } public function Pause():void{ var _local1:MovieClip; if (_playing){ _local1 = ((View.getChildByName("radio") as MovieClip).getChildByName("radio_mc") as MovieClip); _local1.stop(); if (_local1.getChildByName("notas_mc") != null){ (_local1.getChildByName("notas_mc") as MovieClip).stop(); }; }; } private function SoundMojoMusic(_arg1:Event):void{ _radioMv = (View.getChildByName("radio") as MovieClip); View.removeEventListener(Event.RENDER, SoundMojoMusic); _radioMv.gotoAndStop(STATUS_SOUNDING); Sfx.PlayMusic(Sfx.MUSIC_MOJO); } } }//package actions
Section 11
//RadioPopUp (actions.RadioPopUp) package actions { import flash.text.*; import flash.events.*; import flash.display.*; import flash.geom.*; import txt.*; import com.gamesandweb.ui.*; import buttons.*; public class RadioPopUp extends UIWidget implements IControlable { private var _screen:MovieClip; private var _hitAreaPrev:MovieClip; private var _hitAreaNext:MovieClip; private var _nextBtn:MovieClip; private var _timerPerc:MovieClip; private var _okBtn:RollOutBtn; private var _prevBtn:MovieClip; public static var POPUP_POSITION:Point = new Point(473, 85); public function RadioPopUp(_arg1:MovieClip, _arg2:int=-1){ super(_arg1, _arg2); InitializeChildren(); SetTexts(); } public function get PrevBtn():MovieClip{ return (_prevBtn); } public function get Screen():MovieClip{ return (_screen); } public function get HitAreaNextBtn():MovieClip{ return (_hitAreaNext); } public function SetRestTime(_arg1:uint):void{ if (_arg1 == 0){ _timerPerc.gotoAndStop(1); return; }; if (_arg1 != _timerPerc.currentFrame){ _timerPerc.gotoAndStop(_arg1); }; } public function ShowScreen(_arg1:String):void{ _screen.gotoAndStop(_arg1); } public function TimerPopUp():MovieClip{ return (_timerPerc); } public function get NextBtn():MovieClip{ return (_nextBtn); } public function SetTexts():void{ _okBtn.Text = TextLoader.Instance.Texts["Listo"]; TextField(MovieClip(View.getChildByName("musica")).getChildByName("musica")).text = TextLoader.Instance.Texts["Musica"]; } public function InitializeChildren():void{ _okBtn = (View.getChildByName("pop_Btn") as RollOutBtn); _nextBtn = ((View.getChildByName("plVerde") as MovieClip).getChildByName("next_mc") as MovieClip); _prevBtn = ((View.getChildByName("plVerde") as MovieClip).getChildByName("prev_mc") as MovieClip); _screen = ((View.getChildByName("plVerde") as MovieClip).getChildByName("screen_mc") as MovieClip); _hitAreaNext = (View.getChildByName("nextHitArea_mc") as MovieClip); _hitAreaPrev = (View.getChildByName("prevHitArea_mc") as MovieClip); _screen.gotoAndStop(Radio.SCR_ST_IDLE); _timerPerc = (View.getChildByName("timer_mc") as MovieClip); _timerPerc.gotoAndStop(1); View.x = POPUP_POSITION.x; View.y = POPUP_POSITION.y; } public function FadeOutPopUp(_arg1:MouseEvent):void{ FadeOut(); } public function IsCurrentFrame(_arg1:String):Boolean{ if (_screen.currentLabel == _arg1){ return (true); }; return (false); } public function get OKBtn():RollOutBtn{ return (_okBtn); } override public function FadeIn():void{ Sfx.PlaySound(Sfx.SFX_POP_UP); _timerPerc.gotoAndStop(1); super.FadeIn(); } public function get HitAreaPrevBtn():MovieClip{ return (_hitAreaPrev); } } }//package actions
Section 12
//Stroke (actions.Stroke) package actions { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.geom.*; public class Stroke extends MovieClip { public function Stroke(_arg1:Point, _arg2:Point){ var _local3:Timer; super(); _local3 = new Timer(200, 3); graphics.clear(); graphics.lineStyle(2, 0xFF, 1); graphics.moveTo(_arg1.x, _arg1.y); graphics.lineTo(_arg2.x, _arg2.y); _local3.addEventListener(TimerEvent.TIMER_COMPLETE, Disappear); _local3.start(); } public function Disappear(_arg1:TimerEvent):void{ if (parent != null){ parent.removeChild(this); _arg1.target.removeEventListener(TimerEvent.TIMER, Disappear); }; } public function Controle(_arg1:TimerEvent):void{ } } }//package actions
Section 13
//Television (actions.Television) package actions { import flash.events.*; import game.*; import flash.display.*; import flash.geom.*; import managers.*; import character.*; import terrain.*; import utils.*; import config.*; import com.gamesandweb.ui.*; import view.*; public class Television extends Artifact implements IAvailable { private var _indexProgram:int; private var _armchair:MovieClip; private var _numPrograms:int; private var _on:Boolean; private var _screen:MovieClip; private var _programs:Array;// = null public static const SCR_ST_BREAK:String = "MojoProgram"; public static const SCR_ST_IDLE:String = "apagado"; public static var SCORE_X_GOOD_ACTION:uint = 100; public static var PERCENTAGE_X_GOOD_ACTION:uint = 15; public static var POS_X:Number = 428; public static var POS_Y:Number = 294; public static var DEC_PERCENTAGE_X_BAD_ACTION:uint = 10; public function Television(_arg1:Array, _arg2:Array, _arg3:Array=null):void{ _programs = null; _indexProgram = 0; if (_arg3 == null){ _numPrograms = 0; _programs = new Array(); } else { _programs = _arg3; _numPrograms = _programs.length; }; _programs.unshift(1); super(new TVAsset(), new TVPopUp(new RemoteControlAsset()), ActionsManager.AC_WATCHING_TV); View.name = ActionsManager.AC_WATCHING_TV; View.x = POS_X; View.y = POS_Y; _on = false; _indexProgram = 0; _screen = ((View.getChildByName("tv_mc") as MovieClip).getChildByName("screen_mc") as MovieClip); _screen.gotoAndStop(1); PreviusTilesPositions = _arg1; AfterTilesPositions = _arg2; _armchair = new ArmchairAsset(); _armchair.x = 466; _armchair.y = 399; LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(View); LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(_armchair); PopUp.addEventListener(UIWidget.FADE_IN_OVER, InitOperate); PopUp.addEventListener(UIWidget.FADE_OUT_OVER, RemovePopUp); TimerProcess.x = ConfigLoader.Instance.Config["TVTimerX"]; TimerProcess.y = ConfigLoader.Instance.Config["TVTimerY"]; } public function get OptimumScore():uint{ return (SCORE_X_GOOD_ACTION); } public function get Armchair():MovieClip{ return (_armchair); } public function Suspend():void{ switch (State){ case STATE_OPERATING: case STATE_REPEARING: TVPopUp(PopUp).NextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, NextProgram); TVPopUp(PopUp).PrevBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PreviusProgram); TVPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); if (State != STATE_REPEARING){ TurnOff(); }; BadProcess(); break; case STATE_PROCESS: Completed(); break; case STATE_BREAK: _screen.gotoAndStop(SCR_ST_IDLE); _on = false; break; }; _screen.gotoAndStop(1); State = STATE_DO_NOTHING; } override public function get Operating():Boolean{ if (super.Operating){ return (true); }; if (State == STATE_REPEARING){ return (true); }; return (false); } public function Completed():void{ var _local1:MovieClip; var _local2:Point; _local1 = ((_armchair.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); _local2 = TileAfterDoAction; (_armchair.getChildByName("container_mc") as MovieClip).removeChild(_local1); _local1 = null; WhoManipulate.ChangeThePosition(Map.Instance.GetPositionOfTile(_local2.x, _local2.y)); WhoManipulate.View.visible = true; TurnOff(); State = STATE_DO_NOTHING; WhoManipulate.DoNothing(); _countTimePopUp = 0; _countTimeProcess = 0; _whoManipulate = null; if (TimerProcess.parent != null){ TimerProcess.parent.removeChild(TimerProcess); }; } override public function Reset():void{ Suspend(); _indexProgram = 0; super.Reset(); _on = false; if (TVPopUp(PopUp).OKBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ TVPopUp(PopUp).OKBtn.addEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); }; if (TVPopUp(PopUp).NextBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ TVPopUp(PopUp).NextBtn.addEventListener(MouseEvent.MOUSE_DOWN, NextProgram); }; if (TVPopUp(PopUp).PrevBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ TVPopUp(PopUp).PrevBtn.addEventListener(MouseEvent.MOUSE_DOWN, PreviusProgram); }; } private function InitOperate(_arg1:Event):void{ TVPopUp(PopUp).OKBtn.addEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); if (!_on){ TurnOn(new Event("tv")); } else { TVPopUp(PopUp).NextBtn.addEventListener(MouseEvent.MOUSE_DOWN, NextProgram); TVPopUp(PopUp).PrevBtn.addEventListener(MouseEvent.MOUSE_DOWN, PreviusProgram); }; } protected function PreviusProgram(_arg1:Event):void{ (_arg1.currentTarget as MovieClip).gotoAndStop("down"); Sfx.PlaySound(Sfx.SFX_BTN_TV); _indexProgram--; if (_indexProgram <= 0){ _indexProgram = _numPrograms; }; _screen.gotoAndStop(_programs[_indexProgram]); } public function Process():void{ var _local1:MovieClip; var _local2:Point; _countTimeProcess = 0; State = STATE_PROCESS; WhoManipulate.IncrementCheerUpPercentage(PercentageXGoodAction); GameManager.Instance.IncrementScore(ScoreGoodAction); WhoManipulate.ChangeStatus(Girl.AC_LISENING_MUSIC); _countTimePopUp = 0; _local1 = MovieClipUtils.Instance.Copy(WhoManipulate.View); WhoManipulate.View.visible = false; _local2 = Map.Instance.GetTileAt(WhoManipulate.View.x, WhoManipulate.View.y); Map.Instance.UpdateTile(_local2.x, _local2.y, Map.WALKABLE); _local1.name = "duplicado"; TimerProcess.gotoAndStop(1); _local1.addChild(TimerProcess); _local1.x = 17; _local1.y = -7; (_armchair.getChildByName("container_mc") as MovieClip).addChild(_local1); _local1.gotoAndStop(Girl.AC_WATCHING_TV); } public function TurnOn(_arg1:Event):void{ if (!_on){ if (GameManager.Instance.CurrentLevel == 0){ TutorInstructions.Instance.ChangeInstruccion("Select", "chanel", WhoManipulate.Name); }; _on = true; Sfx.PlaySound(Sfx.SFX_TURN_ON_TV, false); _indexProgram = (Math.floor((Math.random() * (_numPrograms - 1))) + 1); if (_programs[_indexProgram] == WhoManipulate.FavoriteProgram){ _indexProgram++; if (_indexProgram == _programs.length){ _indexProgram = 1; }; }; _screen.gotoAndStop(_programs[_indexProgram]); TVPopUp(PopUp).NextBtn.addEventListener(MouseEvent.MOUSE_DOWN, NextProgram); TVPopUp(PopUp).PrevBtn.addEventListener(MouseEvent.MOUSE_DOWN, PreviusProgram); }; } public function get ScoreGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((SCORE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (SCORE_X_GOOD_ACTION); } public function Operate(_arg1:Girl):void{ if (((!((_arg1.LittleBallon == null))) || ((State == STATE_BREAK)))){ dispatchEvent(new Event(Artifact.E_INIT_OPERATE)); _countTimePopUp = 0; if (State != STATE_BREAK){ _screen.gotoAndStop(1); State = STATE_OPERATING; } else { State = STATE_REPEARING; if (_screen.currentLabel != SCR_ST_BREAK){ _on = true; _screen.gotoAndStop(SCR_ST_BREAK); }; }; WhoManipulate = _arg1; if (_arg1.LittleBallon != null){ _arg1.LittleBallon.parent.removeChild(_arg1.LittleBallon); _arg1.LittleBallon = null; }; MovieClip(View.getChildByName("flecha_mc")).visible = false; PopUp.FadeIn(); LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).addChild(PopUp.View); }; } public function Resume():void{ var _local1:MovieClip; if (State != STATE_PROCESS){ return; }; _local1 = ((_armchair.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); (_local1.getChildByName("girl_mc") as MovieClip).play(); } protected function RemovePopUp(_arg1:Event):void{ if (PopUp.View.parent != null){ LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).removeChild(PopUp.View); }; } public function TurnOff():void{ if (_on){ _on = false; _screen.gotoAndStop(SCR_ST_IDLE); }; } public function get DeductPercentageXBadAction():Number{ return (DEC_PERCENTAGE_X_BAD_ACTION); } public function AddProgram(_arg1:String):void{ if (_programs == null){ _programs = new Array([_arg1]); } else { _programs.push(_arg1); }; _numPrograms++; } public function BadProcess():void{ WhoManipulate.DecrementCheerUpPercentage(DeductPercentageXBadAction); WhoManipulate.DoNothing(); if (State == STATE_REPEARING){ State = STATE_BREAK; _on = true; _screen.gotoAndStop(SCR_ST_BREAK); } else { State = STATE_DO_NOTHING; _screen.gotoAndStop(SCR_ST_IDLE); }; _countTimePopUp = 0; _countTimeProcess = 0; } public function ForcePopUpOut():void{ TVPopUp(PopUp).NextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, NextProgram); TVPopUp(PopUp).PrevBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PreviusProgram); TVPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); if (State != STATE_REPEARING){ TurnOff(); }; dispatchEvent(new Event(E_FORCE_END)); } public function Pause():void{ var _local1:MovieClip; if (State != STATE_PROCESS){ return; }; _local1 = ((_armchair.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); (_local1.getChildByName("girl_mc") as MovieClip).stop(); } public function get PercentageXGoodAction():Number{ if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((PERCENTAGE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (PERCENTAGE_X_GOOD_ACTION); } override public function CouldBreak():Boolean{ if (State == STATE_DO_NOTHING){ return (true); }; return (false); } override public function Break():void{ if ((State == STATE_DO_NOTHING)){ State = STATE_BREAK; _screen.gotoAndStop(SCR_ST_BREAK); _on = true; }; } protected function PopUpFadeOut(_arg1:MouseEvent):void{ TVPopUp(PopUp).NextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, NextProgram); TVPopUp(PopUp).PrevBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PreviusProgram); TVPopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); dispatchEvent(new Event(E_END_OPERATE)); } protected function NextProgram(_arg1:Event):void{ _indexProgram++; (_arg1.currentTarget as MovieClip).gotoAndStop("down"); Sfx.PlaySound(Sfx.SFX_BTN_TV); if (_indexProgram == _programs.length){ _indexProgram = 1; }; _screen.gotoAndStop(_programs[_indexProgram]); } public function GoodOperate():Boolean{ if (_programs[_indexProgram] == WhoManipulate.FavoriteProgram){ return (true); }; return (false); } } }//package actions
Section 14
//TVPopUp (actions.TVPopUp) package actions { import flash.text.*; import flash.events.*; import flash.display.*; import flash.geom.*; import txt.*; import com.gamesandweb.ui.*; import buttons.*; public class TVPopUp extends UIWidget implements IControlable { private var _nextBtn:MovieClip; private var _timerPerc:MovieClip; private var _okBtn:RollOutBtn; private var _prevBtn:MovieClip; public static var POPUP_POSITION:Point = new Point(350, 290); public function TVPopUp(_arg1:MovieClip, _arg2:int=-1){ super(_arg1, _arg2); InitializeChildren(); SetTexts(); } public function get PrevBtn():MovieClip{ return (_prevBtn); } public function SetRestTime(_arg1:uint):void{ if (_arg1 == 0){ _timerPerc.gotoAndStop(1); return; }; if (_arg1 != _timerPerc.currentFrame){ _timerPerc.gotoAndStop(_arg1); }; } public function TimerPopUp():MovieClip{ return (_timerPerc); } public function DownBtn(_arg1:MouseEvent):void{ (_arg1.currentTarget as MovieClip).gotoAndStop("down"); } public function get NextBtn():MovieClip{ return (_nextBtn); } public function SetTexts():void{ TextField(MovieClip(View.getChildByName("tv")).getChildByName("tv")).text = TextLoader.Instance.Texts["TV"]; _okBtn.Text = TextLoader.Instance.Texts["Listo"]; } public function InitializeChildren():void{ _okBtn = RollOutBtn(View.getChildByName("pop_Btn")); _nextBtn = MovieClip(MovieClip(View.getChildByName("verde_mc")).getChildByName("next_btn")); _prevBtn = MovieClip(MovieClip(View.getChildByName("verde_mc")).getChildByName("prev_btn")); _timerPerc = (View.getChildByName("timer_mc") as MovieClip); _timerPerc.gotoAndStop(1); View.x = POPUP_POSITION.x; View.y = POPUP_POSITION.y; } public function get OKBtn():MovieClip{ return (_okBtn); } override public function FadeIn():void{ Sfx.PlaySound(Sfx.SFX_POP_UP); _timerPerc.gotoAndStop(1); super.FadeIn(); } } }//package actions
Section 15
//RollOutBtn (buttons.RollOutBtn) package buttons { import flash.text.*; import flash.events.*; import flash.display.*; import com.gamesandweb.game.*; public class RollOutBtn extends MovieClip { protected var _downMc:MovieClip;// = null public var out_mc:MovieClip; protected var _totalFrames:int;// = 1 public var down_mc:MovieClip; protected var _upMc:MovieClip;// = null public var hitArea_mc:MovieClip; protected var _hitArea:MovieClip;// = null protected var _outMc:MovieClip;// = null protected var _overMc:MovieClip;// = null public var up_mc:MovieClip; public var over_mc:MovieClip; public var textContainer_mc:MovieClip; public function RollOutBtn(){ _hitArea = null; _upMc = null; _overMc = null; _downMc = null; _outMc = null; _totalFrames = 1; super(); Construct(); } private function CheckChildren():void{ if (_upMc == null){ Debugger.Log("WARNING: No up_mc in button"); }; if (_overMc == null){ Debugger.Log("WARNING: No over_mc in button"); }; if (_downMc == null){ Debugger.Log("WARNING: No down_mc in button"); }; if (_outMc == null){ Debugger.Log("WARNING: No out_mc in button"); }; } protected function OnRollOver(_arg1:MouseEvent):void{ var _local2:int; _local2 = (_outMc.totalFrames - _outMc.currentFrame); ShowState(_overMc, _local2); if (this.name != "pop_Btn"){ Sfx.PlaySound(Sfx.FX_ROLLOVER); }; } protected function OnMouseUp(_arg1:MouseEvent):void{ var _local2:int; _local2 = (_overMc.totalFrames - _overMc.currentFrame); if (_local2 == (_totalFrames - 1)){ _local2++; }; ShowState(_outMc, _local2); } public function set HtmlText(_arg1:String){ SetText((getChildByName("textContainer_mc") as MovieClip), _arg1, true); SetText((_upMc.getChildByName("textContainer_mc") as MovieClip), _arg1, true); SetText((_downMc.getChildByName("textContainer_mc") as MovieClip), _arg1, true); SetText((_overMc.getChildByName("textContainer_mc") as MovieClip), _arg1, true); if (_outMc != null){ SetText((_outMc.getChildByName("textContainer_mc") as MovieClip), _arg1, true); }; } private function ShowState(_arg1:MovieClip, _arg2:int=1):void{ if (_arg1.visible){ return; }; _outMc.removeEventListener(Event.ENTER_FRAME, OnOutEnterFrame); _upMc.visible = false; _overMc.visible = false; _downMc.visible = false; _outMc.visible = false; if (_arg1.currentFrame != _arg2){ _arg1.gotoAndPlay(_arg2); }; _arg1.visible = true; } protected function OnRollOut(_arg1:MouseEvent):void{ var _local2:int; _local2 = (_overMc.totalFrames - _overMc.currentFrame); if (_local2 == (_totalFrames - 1)){ _local2++; }; if (_local2 < _totalFrames){ ShowState(_outMc, _local2); _outMc.addEventListener(Event.ENTER_FRAME, OnOutEnterFrame); } else { ShowState(_upMc); }; } public function set Text(_arg1:String){ SetText((getChildByName("textContainer_mc") as MovieClip), _arg1); SetText((_upMc.getChildByName("textContainer_mc") as MovieClip), _arg1); SetText((_downMc.getChildByName("textContainer_mc") as MovieClip), _arg1); SetText((_overMc.getChildByName("textContainer_mc") as MovieClip), _arg1); if (_outMc != null){ SetText((_outMc.getChildByName("textContainer_mc") as MovieClip), _arg1); }; } public function get HitArea():MovieClip{ return (_hitArea); } protected function OnMouseDown(_arg1:MouseEvent):void{ ShowState(_downMc); _overMc.gotoAndStop(1); if (_outMc != null){ _outMc.gotoAndStop(_totalFrames); }; } public function Inactive():void{ _hitArea.removeEventListener(MouseEvent.MOUSE_DOWN, OnMouseDown); _hitArea.removeEventListener(MouseEvent.MOUSE_UP, OnMouseUp); _hitArea.removeEventListener(MouseEvent.ROLL_OVER, OnRollOver); _hitArea.removeEventListener(MouseEvent.ROLL_OUT, OnRollOut); } private function SetText(_arg1:MovieClip, _arg2:String, _arg3:Boolean=false):Boolean{ var _local4:TextField; if (_arg1 == null){ return (false); }; _local4 = (_arg1.getChildByName("text_txt") as TextField); if (_local4 == null){ return (false); }; if (_arg3){ _local4.htmlText = _arg2; } else { _local4.text = _arg2; }; return (true); } private function OnOutEnterFrame(_arg1:Event):void{ if (_outMc.currentFrame == _outMc.totalFrames){ ShowState(_upMc); }; } private function Construct():void{ enabled = false; mouseEnabled = false; _hitArea = (getChildByName("hitArea_mc") as MovieClip); if (_hitArea == null){ _hitArea = this; } else { _hitArea.alpha = 0; }; _hitArea.buttonMode = true; _hitArea.enabled = true; _hitArea.mouseChildren = false; _hitArea.addEventListener(MouseEvent.MOUSE_DOWN, OnMouseDown); _hitArea.addEventListener(MouseEvent.MOUSE_UP, OnMouseUp); _hitArea.addEventListener(MouseEvent.ROLL_OVER, OnRollOver); _hitArea.addEventListener(MouseEvent.ROLL_OUT, OnRollOut); _upMc = (getChildByName("up_mc") as MovieClip); _overMc = (getChildByName("over_mc") as MovieClip); _downMc = (getChildByName("down_mc") as MovieClip); _outMc = (getChildByName("out_mc") as MovieClip); _upMc.visible = false; _overMc.visible = false; _overMc.gotoAndStop(1); _totalFrames = _overMc.totalFrames; _downMc.visible = false; if (_outMc != null){ _outMc.visible = false; _outMc.gotoAndStop(_totalFrames); }; ShowState(_upMc); if (GameContext.DebugMode){ CheckChildren(); }; } } }//package buttons
Section 16
//Girl (character.Girl) package character { import flash.utils.*; import flash.events.*; import game.*; import flash.display.*; import ui.*; import flash.geom.*; import managers.*; import actions.*; import terrain.*; import pathfinding.*; import gs.*; import config.*; import gs.easing.*; public class Girl extends EventDispatcher { private var _actiosnsPlaned:Array;// = null private var _favoriteProgram:String; private var _sleeping:Boolean; private var _cheerUpPerc:Number; private var _acDestino:IAvailable;// = null private var _face:int; private var _waitForWalk:Boolean; private var _emotionBallon:MovieClip;// = null private var _nextTargetPoint:Point; private var _currStatus:uint; private var _name:String; private var _tween:TweenMax; private var _goUp:Boolean;// = false private var _view:MovieClip; private var _moving:Boolean; private var _prevY:Number; private var _hitArea:MovieClip; private var _bestPath:Array; private var _initTilePosition:Point; private var _randUpdateState:uint; private var _postY:Number; private var _doingAction:Boolean; private var _actionBallon:MovieClip;// = null private var _favoriteMusic:String; private var _nextIndexActionToDo:int; private var _prevTileOnMap:Point; public static const STATUS_IDLE:uint = 1; public static const MIYAKO:String = "Miyako"; public static const STATUS_MOJO:uint = 15; public static const E_GIRL_END_WALK:String = "GirldEndWalk"; public static const MOMOKO:String = "Momoko"; public static const ON_FRONT:uint = 0; public static const AC_FEED_TO_PEACH:uint = 11; public static const STATUS_HAPPY:uint = 11; public static const STATUS_IMPATIENT:uint = 8; public static const RIGHT_PROFILE:uint = 1; public static const ON_BACK:uint = 2; public static const AC_LISENING_MUSIC:uint = 10; public static const AC_EATING:uint = 12; public static const LEFT_PROFILE:int = -1; public static const AC_DOING_GYM:uint = 6; public static const WALK_ON_BACK:uint = 3; public static const WALK_ON_FRONT:uint = 2; public static const AC_SPEAK_PHONE:uint = 5; public static const WALK_ON_PROFILE:uint = 4; public static const E_GO_TO_SLEEP:String = "GoToSleep"; public static const AC_PLAYING:uint = 7; public static const STATUS_ANGRY:uint = 9; public static const AC_WATCHING_TV:uint = 13; public static const E_END_ACTION:String = "EndAction"; public static const KAOURU:String = "Kaoru"; public static var MIN_TO_BE_HAPPY:uint = 80; public static var MIN_FOR_IDLE:uint = 50; public static var DOOR_POINT:Point = new Point(500, 100); public static var SPEED:Number = 180; public static var INIT_PERCENTAGE:uint = 80; public static var MIN_TO_BE_ANGRY:uint = 10; public static var DECREMENT_CHEERUP:Number = 0.005; public static var MIN_TO_BE_IMPATIENT:uint = 30; public function Girl(_arg1:String, _arg2:String, _arg3:String):void{ _actionBallon = null; _emotionBallon = null; _actiosnsPlaned = null; _goUp = false; _acDestino = null; super(); _name = _arg1; _actionBallon = null; _waitForWalk = false; CreateView(_arg1); _favoriteMusic = _arg2; _favoriteProgram = _arg3; _bestPath = new Array(); _cheerUpPerc = INIT_PERCENTAGE; HUDManager.Instance.UpdateGirlBarPercentage(Name, _cheerUpPerc); _moving = false; _sleeping = false; _doingAction = false; _nextIndexActionToDo = -1; _randUpdateState = 0; } public function CheckFaceOnWalk():void{ var _local1:int; _local1 = 3; if ((((_nextTargetPoint.x > _view.x)) && (!((Face == RIGHT_PROFILE))))){ if (Face != RIGHT_PROFILE){ ChangeStatus(WALK_ON_PROFILE); _view.scaleX = 1; }; _local1 = RIGHT_PROFILE; } else { if ((((_nextTargetPoint.x < _view.x)) && (!((Face == LEFT_PROFILE))))){ if (Face != LEFT_PROFILE){ ChangeStatus(WALK_ON_PROFILE); if (_view.scaleX > 0){ _view.scaleX = (_view.scaleX * -1); }; }; _local1 = LEFT_PROFILE; } else { if ((_nextTargetPoint.x == _view.x)){ if (_view.scaleX == -1){ _view.scaleX = 1; }; if (_nextTargetPoint.y < _view.y){ if (Face != ON_BACK){ ChangeStatus(WALK_ON_BACK); _local1 = ON_BACK; }; } else { if (Face != ON_FRONT){ ChangeStatus(WALK_ON_FRONT); _local1 = ON_FRONT; }; }; }; }; }; if (_local1 != 3){ Face = _local1; }; } public function get NextActionPlaned():Array{ return (_actiosnsPlaned[_nextIndexActionToDo]); } public function get ActiosnsPlaned():Array{ return (_actiosnsPlaned); } public function get Status():uint{ return (_currStatus); } public function FollowBestPath(_arg1:Number):void{ var _local2:Point; var _local3:Timer; if (((Moving) && (!(_waitForWalk)))){ if (((!((_bestPath == null))) && (!((_bestPath[0] == null))))){ MoveToNextTargetPoint(_arg1); if ((((_nextTargetPoint.x == _view.x)) && ((_nextTargetPoint.y == _view.y)))){ Map.Instance.UpdateTile(_prevTileOnMap.x, _prevTileOnMap.y, Map.WALKABLE); _prevTileOnMap = (_bestPath[0] as Point); _bestPath.shift(); if (_bestPath.length > 0){ if (Map.Instance.IsWalkable((_bestPath[0] as Point))){ if (((!((_bestPath[0] == DOOR_POINT.x))) || (!((_bestPath[0].y == DOOR_POINT.y))))){ Map.Instance.UpdateTile((_bestPath[0] as Point).x, (_bestPath[0] as Point).y, Map.NOT_WALKABLE); }; } else { if (_acDestino != null){ _local2 = _acDestino.TileBeforeDoAction; } else { _local2 = _bestPath[(_bestPath.length - 1)]; }; _bestPath = PathFinder.GetInstance().FindPath(Map.Instance.MapBitMap, _prevTileOnMap.y, _prevTileOnMap.x, _local2.y, _local2.x); if (_bestPath == null){ _local3 = new Timer(10, 1); _local3.addEventListener(TimerEvent.TIMER_COMPLETE, TryAgain); _local3.start(); _waitForWalk = true; }; }; if (!_waitForWalk){ _nextTargetPoint = Map.Instance.GetPositionOfTile((_bestPath[0] as Point).x, (_bestPath[0] as Point).y); DepthsManager.Instance.OrderAllDepths(); }; } else { Moving = false; Sfx.StopSound(("Walk" + Name)); dispatchEvent(new Event(E_GIRL_END_WALK)); }; }; }; }; } public function InitMove(_arg1:IAvailable):void{ if (!Moving){ Moving = true; _acDestino = _arg1; if (((!((_bestPath == null))) && (!((_bestPath[0] == null))))){ _nextTargetPoint = Map.Instance.GetPositionOfTile((_bestPath[0] as Point).x, (_bestPath[0] as Point).y); if (((!((_bestPath[0] == DOOR_POINT.x))) || (!((_bestPath[0].y == DOOR_POINT.y))))){ Map.Instance.UpdateTile((_bestPath[0] as Point).x, (_bestPath[0] as Point).y, Map.NOT_WALKABLE); }; CheckFaceOnWalk(); DepthsManager.Instance.CheckDepth(View, View.y, View.y, _goUp); if (!Sfx.IsPlaying(("Walk" + Name))){ Sfx.PlaySoundLoop(("Walk" + Name), false); }; }; }; } public function set Status(_arg1:uint):void{ _currStatus = _arg1; } public function get FavoriteProgram():String{ return (_favoriteProgram); } public function RequireAction(_arg1:MovieClip):void{ if (((!(_doingAction)) && (!(_sleeping)))){ _actionBallon = _arg1; PlaceBallon(Face); _view.addChild(_actionBallon); _actionBallon.y = ConfigLoader.Instance.Config["LittleBallosnPosY"]; _actionBallon.x = ConfigLoader.Instance.Config["LittleBallosnPosX"]; _emotionBallon.visible = false; _actionBallon.gotoAndPlay(1); Sfx.PlaySound(Sfx.SFX_LITTLE_BALLON); }; } public function get IndexActionPlaned():int{ return (_nextIndexActionToDo); } public function Reset():void{ Sfx.StopSound(("Walk" + _name)); _prevTileOnMap = null; if (_sleeping){ this.removeEventListener(Girl.E_GIRL_END_WALK, OpenDoor); GameManager.Instance.GetDoor.RemoveEventListener("EndOpenEvent", Sleep); _sleeping = false; }; if (_tween != null){ _tween.pause(); TweenMax.killAllTweens(false); TweenMax.removeTween(_tween); _tween = null; }; if (_actionBallon != null){ _actionBallon.parent.removeChild(_actionBallon); }; _bestPath = new Array(); _cheerUpPerc = 0; _actionBallon = null; _cheerUpPerc = 0; _moving = false; _doingAction = false; _nextIndexActionToDo = 0; if (View.scaleX < 0){ View.scaleX = (View.scaleX * -1); }; View.visible = true; _emotionBallon.visible = false; if (this.hasEventListener(Girl.E_GIRL_END_WALK)){ this.removeEventListener(Girl.E_GIRL_END_WALK, OpenDoor); }; if (GameManager.Instance.GetDoor.HasEventListener("EndOpenEvent")){ GameManager.Instance.GetDoor.RemoveEventListener("EndOpenEvent", Sleep); }; LocateInit(_initTilePosition); } public function set DestAction(_arg1:IAvailable):void{ _acDestino = _arg1; } private function OpenDoor(_arg1:Event):void{ DepthsManager.Instance.OrderAllDepths(); GameManager.Instance.GetDoor.AddEventListener("EndOpenEvent", Sleep); this.removeEventListener(Girl.E_GIRL_END_WALK, OpenDoor); if (!GameManager.Instance.GetDoor.IsOpen()){ GameManager.Instance.GetDoor.Open(); } else { Sleep(new Event("EndOpenEvent")); }; } private function onFinishTween():void{ if (!_sleeping){ return; }; GameManager.Instance.GetDoor.RemoveEventListener("EndOpenEvent", Sleep); View.visible = false; Sfx.StopSound(("Walk" + Name)); _tween.clear(); HUDManager.Instance.InactiveBar(Name); if (!GameManager.Instance.GetDoor.HasEventListener("EndOpenEvent")){ GameManager.Instance.GetDoor.Close(); }; } public function get CheerupPercentage():Number{ return (_cheerUpPerc); } public function get BestPath():Array{ return (_bestPath); } public function DecrementCheerUpPercentage(_arg1:Number):void{ _cheerUpPerc = (_cheerUpPerc - _arg1); if (_cheerUpPerc < 0){ _cheerUpPerc = 0; }; CheckState(); HUDManager.Instance.UpdateGirlBarPercentage(Name, _cheerUpPerc); } public function get Position():Point{ return (new Point(View.x, View.y)); } public function Resume():void{ (View.getChildByName("girl_mc") as MovieClip).play(); if (((Moving) && (!(Sfx.IsPlaying(("Walk" + _name)))))){ Sfx.PlaySoundLoop(("Walk" + _name), false); }; switch (Status){ case AC_EATING: Sfx.PlaySoundLoop(Sfx.SFX_EATING, false); break; case STATUS_MOJO: Sfx.PlaySoundLoop(("Shout" + Name), false); break; }; } public function get DoingAction():Boolean{ return (_doingAction); } public function get Moving():Boolean{ return (_moving); } public function get Face():int{ return (_face); } public function WakeUp():void{ _sleeping = false; } private function CheckState():void{ if ((((View.currentLabel == "Molesta")) || ((View.currentLabel == "Mojo")))){ return; }; if (_cheerUpPerc > MIN_TO_BE_HAPPY){ if (View.currentFrame != STATUS_HAPPY){ MovieClip(_emotionBallon.getChildByName("contenido_mc")).gotoAndStop("feliz"); _emotionBallon.visible = true; PlaceBallon(Face); _emotionBallon.gotoAndPlay(1); ChangeStatus(STATUS_HAPPY); _randUpdateState = (Math.round((Math.random() * ConfigLoader.Instance.Config["ROUND_ABOUT_DELAY"])) + ConfigLoader.Instance.Config["DELAY_BETWEEN_ANIMATION"]); }; return; }; if (_cheerUpPerc > MIN_FOR_IDLE){ if (View.currentFrame != STATUS_IDLE){ ChangeStatus(STATUS_IDLE); _randUpdateState = 0; }; return; }; if (_cheerUpPerc > MIN_TO_BE_IMPATIENT){ if (View.currentFrame != STATUS_IMPATIENT){ ChangeStatus(STATUS_IMPATIENT); _randUpdateState = (Math.round((Math.random() * ConfigLoader.Instance.Config["ROUND_ABOUT_DELAY"])) + ConfigLoader.Instance.Config["DELAY_BETWEEN_ANIMATION"]); }; return; }; if (View.currentFrame != STATUS_ANGRY){ ChangeStatus(STATUS_ANGRY); MovieClip(_emotionBallon.getChildByName("contenido_mc")).gotoAndStop("enojo"); _emotionBallon.visible = true; PlaceBallon(Face); _emotionBallon.gotoAndPlay(1); _randUpdateState = 0; }; } private function TryAgain(_arg1:TimerEvent):void{ var _local2:Point; (_arg1.currentTarget as Timer).removeEventListener(TimerEvent.TIMER_COMPLETE, TryAgain); if (_prevTileOnMap == null){ return; }; if (_acDestino != null){ _local2 = _acDestino.TileBeforeDoAction; } else { _local2 = DOOR_POINT; }; _bestPath = PathFinder.GetInstance().FindPath(Map.Instance.MapBitMap, _prevTileOnMap.y, _prevTileOnMap.x, _local2.y, _local2.x); if (_bestPath == null){ (_arg1.currentTarget as Timer).addEventListener(TimerEvent.TIMER_COMPLETE, TryAgain); (_arg1.currentTarget as Timer).start(); _waitForWalk = true; } else { _nextTargetPoint = Map.Instance.GetPositionOfTile((_bestPath[0] as Point).x, (_bestPath[0] as Point).y); DepthsManager.Instance.OrderAllDepths(); _waitForWalk = false; }; } public function set BestPath(_arg1:Array):void{ _bestPath = _arg1; if (_bestPath == null){ return; }; if (_bestPath[0].y < _bestPath[(_bestPath.length - 1)].y){ _goUp = false; } else { _goUp = true; }; } public function get DestAction():IAvailable{ return (_acDestino); } public function get HitArea():MovieClip{ return (_hitArea); } public function LocateInit(_arg1:Point):void{ var _local2:Point; _doingAction = false; _randUpdateState = 0; _waitForWalk = false; _initTilePosition = (_prevTileOnMap = (_nextTargetPoint = _arg1)); Map.Instance.UpdateTile(_arg1.x, _arg1.y, Map.NOT_WALKABLE); _local2 = Map.Instance.GetPositionOfTile(_arg1.x, _arg1.y); _view.x = _local2.x; _view.y = _local2.y; _view.visible = true; _view.alpha = 1; ChangeStatus(STATUS_IDLE); Status = STATUS_IDLE; _face = WALK_ON_FRONT; _cheerUpPerc = INIT_PERCENTAGE; HUDManager.Instance.UpdateGirlBarPercentage(Name, _cheerUpPerc); } public function get PosY():Number{ return (_view.y); } private function MoveToNextTargetPoint(_arg1:Number):void{ var _local2:Number; CheckFaceOnWalk(); _local2 = (Math.PI * Constants.UN_MEDIO); _postY = (_prevY = _view.y); if ((_nextTargetPoint.x - _view.x) != 0){ _local2 = Math.atan(((_nextTargetPoint.y - _view.y) / (_nextTargetPoint.x - _view.x))); } else { if (_nextTargetPoint.y < _view.y){ _local2 = (_local2 * -1); }; }; if (_nextTargetPoint.y > _view.y){ _view.y = (_view.y + (((SPEED * Math.abs(Math.sin(_local2))) * _arg1) / 1000)); if (_nextTargetPoint.y < _view.y){ _view.y = _nextTargetPoint.y; }; _postY = _view.y; } else { if (_nextTargetPoint.y < _view.y){ _view.y = (_view.y - (((SPEED * Math.abs(Math.sin(_local2))) * _arg1) / 1000)); if (_nextTargetPoint.y > _view.y){ _view.y = _nextTargetPoint.y; }; _postY = _view.y; }; }; if (_nextTargetPoint.x > _view.x){ _view.x = (_view.x + (((SPEED * Math.abs(Math.cos(_local2))) * _arg1) / 1000)); if (_nextTargetPoint.x < _view.x){ _view.x = _nextTargetPoint.x; }; } else { if (_nextTargetPoint.x < _view.x){ _view.x = (_view.x - (((SPEED * Math.abs(Math.cos(_local2))) * _arg1) / 1000)); if (_nextTargetPoint.x > _view.x){ _view.x = _nextTargetPoint.x; }; }; }; if (_prevY != _postY){ DepthsManager.Instance.CheckDepth(_view, _prevY, _postY, _goUp); }; } public function set LittleBallon(_arg1:MovieClip):void{ _actionBallon = _arg1; } public function DoNothing():void{ _doingAction = false; ChangeStatus(STATUS_IDLE); } public function get Name():String{ return (_name); } public function get PosX():Number{ return (_view.x); } public function PassToNextAction():void{ _nextIndexActionToDo++; } private function Sleep(_arg1:Event):void{ DepthsManager.Instance.OrderAllDepths(); _tween = TweenMax.to(View, 1, {bezier:[{x:475, y:60}], alpha:1, ease:Sine.easeInOut, onComplete:onFinishTween}); if (!Sfx.IsPlaying(("Walk" + Name))){ Sfx.PlaySoundLoop(("Walk" + Name), false); }; Map.Instance.UpdateTile(DOOR_POINT.x, DOOR_POINT.y, Map.WALKABLE); ChangeStatus(WALK_ON_BACK); } public function GetActionRequire():String{ if (LittleBallon != null){ return ((LittleBallon.getChildByName("contenido_mc") as MovieClip).currentLabel); }; return ("ninguna"); } public function DoAction():Boolean{ if (!_doingAction){ _doingAction = true; _acDestino = null; return (true); }; return (false); } public function get View():MovieClip{ return (_view); } public function get FavoriteMusic():String{ return (_favoriteMusic); } public function ChangeThePosition(_arg1:Point):void{ var _local2:Point; _local2 = Map.Instance.GetTileAt(View.x, View.y); Map.Instance.UpdateTile(_local2.x, _local2.y, Map.WALKABLE); _local2 = Map.Instance.GetTileAt(_arg1.x, _arg1.y); Map.Instance.UpdateTile(_local2.x, _local2.y, Map.NOT_WALKABLE); View.x = _arg1.x; View.y = _arg1.y; DepthsManager.Instance.OrderAllDepths(); } public function get Sleeping():Boolean{ return (_sleeping); } public function Pause():void{ (View.getChildByName("girl_mc") as MovieClip).stop(); if (Sfx.IsPlaying(("Walk" + _name))){ Sfx.StopSound(("Walk" + _name)); }; switch (Status){ case AC_EATING: Sfx.StopSound(Sfx.SFX_EATING); break; case STATUS_MOJO: Sfx.StopSound(("Shout" + Name)); break; }; } public function set Moving(_arg1:Boolean):void{ _moving = _arg1; } private function CreateView(_arg1:String):void{ switch (_arg1){ case "Momoko": _view = new MomokoAsset(); break; case "Miyako": _view = new MiyakoAsset(); break; case "Kaoru": _view = new KaoruAsset(); break; }; _hitArea = (View.getChildByName("hitArea_mc") as MovieClip); if (_hitArea == null){ _hitArea = View; }; ChangeStatus(STATUS_IDLE); _currStatus = STATUS_IDLE; _face = WALK_ON_FRONT; _emotionBallon = new EmotionBallonAsset(); _emotionBallon.scaleX = (_emotionBallon.scaleY = ConfigLoader.Instance.Config["LittleBallonScale"]); _emotionBallon.y = -90; _emotionBallon.x = 1; _emotionBallon.visible = false; View.name = _arg1; View.addChild(_emotionBallon); } public function ChangeStatus(_arg1:uint):void{ if (((_moving) && ((_arg1 == STATUS_MOJO)))){ return; }; if (Status == _arg1){ return; }; if (_view.scaleX < 0){ _view.scaleX = (_view.scaleX * -1); }; switch (Status){ case AC_EATING: Sfx.StopSound(Sfx.SFX_EATING); break; case AC_DOING_GYM: break; case AC_FEED_TO_PEACH: break; case AC_LISENING_MUSIC: break; case AC_PLAYING: break; case AC_SPEAK_PHONE: break; case AC_WATCHING_TV: break; case STATUS_MOJO: Sfx.StopSound(("Shout" + Name)); break; }; Status = _arg1; _view.gotoAndStop(_arg1); switch (Status){ case AC_EATING: Sfx.PlaySoundLoop(Sfx.SFX_EATING, false); break; case AC_DOING_GYM: break; case AC_FEED_TO_PEACH: break; case AC_LISENING_MUSIC: break; case AC_PLAYING: break; case AC_SPEAK_PHONE: break; case AC_WATCHING_TV: break; case STATUS_MOJO: if (((!(Sfx.IsPlaying(("Shout" + Name)))) && ((this.CheerupPercentage < 100)))){ Sfx.PlaySoundLoop(("Shout" + Name), false); }; break; }; } public function get LittleBallon():MovieClip{ return (_actionBallon); } private function PlaceBallon(_arg1:int):void{ if (_actionBallon != null){ if (_emotionBallon.visible == true){ _emotionBallon.visible = false; }; if (_arg1 != Face){ if ((((Face == LEFT_PROFILE)) && (!((_arg1 == 3))))){ _actionBallon.scaleX = (_actionBallon.scaleX * -1); _actionBallon.x = (_actionBallon.x * -1); } else { if ((((Face == RIGHT_PROFILE)) && ((_arg1 == LEFT_PROFILE)))){ _actionBallon.scaleX = (_actionBallon.scaleX * -1); _actionBallon.x = (_actionBallon.x * -1); }; }; } else { if (Face == LEFT_PROFILE){ _actionBallon.scaleX = (_actionBallon.scaleX * -1); _actionBallon.x = (_actionBallon.x * -1); }; }; }; if (_emotionBallon.visible == true){ if (_arg1 != Face){ if ((((Face == LEFT_PROFILE)) && (!((_arg1 == 3))))){ _emotionBallon.scaleX = (_emotionBallon.scaleX * -1); _emotionBallon.x = (_emotionBallon.x * -1); } else { if ((((Face == RIGHT_PROFILE)) && ((_arg1 == LEFT_PROFILE)))){ _emotionBallon.scaleX = (_emotionBallon.scaleX * -1); _emotionBallon.x = (_emotionBallon.x * -1); }; }; } else { if (Face == LEFT_PROFILE){ _emotionBallon.scaleX = (_emotionBallon.scaleX * -1); _emotionBallon.x = (_emotionBallon.x * -1); }; }; }; } public function Update(_arg1:Number):void{ if (((!(_doingAction)) && (!(_sleeping)))){ if (Moving){ FollowBestPath(_arg1); } else { CheckState(); if (_randUpdateState > 0){ _randUpdateState--; if (_randUpdateState == 0){ (View.getChildByName("girl_mc") as MovieClip).gotoAndPlay(1); _randUpdateState = (Math.round((Math.random() * ConfigLoader.Instance.Config["ROUND_ABOUT_DELAY"])) + ConfigLoader.Instance.Config["DELAY_BETWEEN_ANIMATION"]); }; }; }; if (_actionBallon != null){ _cheerUpPerc = (_cheerUpPerc - DECREMENT_CHEERUP); if (_cheerUpPerc < 0){ _cheerUpPerc = 0; } else { HUDManager.Instance.UpdateGirlBarPercentage(Name, Math.floor(_cheerUpPerc)); }; }; }; if (((_sleeping) && (Moving))){ FollowBestPath(_arg1); }; } public function set ProgramActions(_arg1:Array):void{ _actiosnsPlaned = null; _actiosnsPlaned = _arg1; _nextIndexActionToDo = 0; } public function IncrementCheerUpPercentage(_arg1:Number):void{ _cheerUpPerc = (_cheerUpPerc + _arg1); if (_cheerUpPerc >= Constants.CIEN){ _cheerUpPerc = Constants.CIEN; } else { CheckState(); }; HUDManager.Instance.UpdateGirlBarPercentage(Name, _cheerUpPerc); } public function GoToSleep():Boolean{ var _local1:Point; var _local2:Point; var _local3:Timer; if (!_sleeping){ DepthsManager.Instance.OrderAllDepths(); _sleeping = true; _local1 = Map.Instance.GetTileAt(_view.x, _view.y); _local2 = Map.Instance.GetTileAt(DOOR_POINT.x, DOOR_POINT.y); _bestPath = PathFinder.GetInstance().FindPath(Map.Instance.MapBitMap, _local1.y, _local1.x, DOOR_POINT.y, DOOR_POINT.x); if (_bestPath == null){ _local3 = new Timer(10, 1); _local3.addEventListener(TimerEvent.TIMER_COMPLETE, TryAgain); _local3.start(); _waitForWalk = true; }; InitMove(null); MovieClip(_emotionBallon.getChildByName("contenido_mc")).gotoAndStop("dormir"); _emotionBallon.visible = true; PlaceBallon(Face); _emotionBallon.gotoAndPlay(1); this.addEventListener(Girl.E_GIRL_END_WALK, OpenDoor); }; return (false); } public function set Face(_arg1:int):void{ _face = _arg1; } } }//package character
Section 17
//ArrayIterator (com.bourre.collection.ArrayIterator) package com.bourre.collection { import com.bourre.error.*; public class ArrayIterator implements ListIterator { private var _nSize:Number; private var _aArray:Array; private var _bAdded:Boolean; private var _nIndex:Number; private var _bRemoved:Boolean; public function ArrayIterator(_arg1:Array, _arg2:uint=0){ if (_arg1 == null){ throw (new NullPointerException((("The target array of " + this) + "can't be null"))); }; if (_arg2 > _arg1.length){ throw (new IndexOutOfBoundsException(((("The passed-in index " + _arg2) + " is not a valid for an array of length ") + _arg1.length))); }; _aArray = _arg1; _nSize = _arg1.length; _nIndex = (_arg2 - 1); _bRemoved = false; _bAdded = false; } public function remove():void{ if (_bRemoved){ _aArray.splice(_nIndex--, 1); _nSize--; _bRemoved = true; } else { throw (new IllegalStateException((this + ".remove() have been already called for this iteration"))); }; } public function previousIndex():uint{ return (_nIndex); } public function nextIndex():uint{ return ((_nIndex + 1)); } public function add(_arg1:Object):void{ if (!_bAdded){ _aArray.splice((_nIndex + 1), 0, _arg1); _nSize++; _bAdded = true; } else { throw (new IllegalStateException((this + ".add() have been already called for this iteration"))); }; } public function set(_arg1:Object):void{ if (((!(_bRemoved)) && (!(_bAdded)))){ _aArray[_nIndex] = _arg1; } else { throw (new IllegalStateException(((((this + ".add() or ") + this) + ".remove() have been ") + "already called for this iteration, the set() operation cannot be done"))); }; } public function hasNext():Boolean{ return (((_nIndex + 1) < _nSize)); } public function hasPrevious():Boolean{ return ((_nIndex >= 0)); } public function next(){ if (!hasNext()){ throw (new NoSuchElementException(((this + " has no more elements at ") + (_nIndex + 1)))); }; _bRemoved = false; _bAdded = false; return (_aArray[++_nIndex]); } public function previous(){ if (!hasPrevious()){ throw (new NoSuchElementException(((this + " has no more elements at ") + _nIndex))); }; _bRemoved = false; _bAdded = false; return (_aArray[_nIndex--]); } } }//package com.bourre.collection
Section 18
//Collection (com.bourre.collection.Collection) package com.bourre.collection { public interface Collection extends Iterable { function addAll(_arg1:Collection):Boolean; function add(_arg1:Object):Boolean; function containsAll(_arg1:Collection):Boolean; function isEmpty():Boolean; function remove(_arg1:Object):Boolean; function size():uint; function clear():void; function retainAll(_arg1:Collection):Boolean; function removeAll(_arg1:Collection):Boolean; function toArray():Array; function contains(_arg1:Object):Boolean; } }//package com.bourre.collection
Section 19
//HashMap (com.bourre.collection.HashMap) package com.bourre.collection { import flash.utils.*; import com.bourre.log.*; import com.bourre.error.*; public class HashMap { protected var _oKeyDico:Dictionary; protected var _n:uint; protected var _oValueDico:Dictionary; public function HashMap(){ _init(); } public function containsKey(_arg1):Boolean{ if (_arg1 == null){ PixlibDebug.ERROR((this + ".containsKey() failed. key can't be null")); throw (new NullPointerException((this + ".containsKey() failed. key can't be null"))); }; return (!((_oKeyDico[_arg1] == null))); } public function isEmpty():Boolean{ return ((_n == 0)); } public function size():Number{ return (_n); } public function getKeys():Array{ var _local1:Array; var _local2:*; _local1 = new Array(); for (_local2 in _oKeyDico) { _local1.push(_local2); }; return (_local1); } public function remove(_arg1){ var _local2:*; var _local3:uint; if (containsKey(_arg1)){ _n--; _local2 = _oKeyDico[_arg1]; _local3 = _oValueDico[_local2]; if (_local3 > 1){ _oValueDico[_local2] = (_local3 - 1); } else { delete _oValueDico[_local2]; }; delete _oKeyDico[_arg1]; }; return (_local2); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function clear():void{ _init(); } protected function _init():void{ _n = 0; _oKeyDico = new Dictionary(true); _oValueDico = new Dictionary(true); } public function containsValue(_arg1):Boolean{ return (!((_oValueDico[_arg1] == null))); } public function put(_arg1, _arg2){ var _local3:*; var _local4:uint; if (_arg1 != null){ _local3 = null; if (containsKey(_arg1)){ _local3 = remove(_arg1); }; _n++; _local4 = _oValueDico[_arg2]; _oValueDico[_arg2] = ((_local4)>0) ? (_local4 + 1) : 1; _oKeyDico[_arg1] = _arg2; return (_local3); //unresolved jump }; PixlibDebug.ERROR((this + ".put() failed. key can't be null")); throw (new NullPointerException((this + ".put() failed. key can't be null"))); } public function get(_arg1){ if (_arg1 == null){ PixlibDebug.ERROR((this + ".get() failed. key can't be null")); throw (new NullPointerException((this + ".get() failed. key can't be null"))); }; return (_oKeyDico[_arg1]); } public function getValues():Array{ var _local1:Array; var _local2:*; _local1 = new Array(); for each (_local2 in _oKeyDico) { _local1.push(_local2); }; return (_local1); } } }//package com.bourre.collection
Section 20
//Iterable (com.bourre.collection.Iterable) package com.bourre.collection { public interface Iterable { function iterator():Iterator; } }//package com.bourre.collection
Section 21
//Iterator (com.bourre.collection.Iterator) package com.bourre.collection { public interface Iterator { function next(); function remove():void; function hasNext():Boolean; } }//package com.bourre.collection
Section 22
//ListIterator (com.bourre.collection.ListIterator) package com.bourre.collection { public interface ListIterator extends Iterator { function set(_arg1:Object):void; function add(_arg1:Object):void; function hasPrevious():Boolean; function previous(); function previousIndex():uint; function nextIndex():uint; } }//package com.bourre.collection
Section 23
//TypedContainer (com.bourre.collection.TypedContainer) package com.bourre.collection { public interface TypedContainer { function getType():Class; function isTyped():Boolean; function matchType(_arg1):Boolean; } }//package com.bourre.collection
Section 24
//WeakCollection (com.bourre.collection.WeakCollection) package com.bourre.collection { import flash.utils.*; import com.bourre.log.*; import com.bourre.error.*; public class WeakCollection implements Collection { private var _d:Dictionary; public function WeakCollection(_arg1:Array=null){ var _local2:int; super(); clear(); if (_arg1 != null){ _local2 = _arg1.length; if (_local2 > 0){ while (--_local2 > -1) { add(_arg1[_local2]); }; }; }; } public function addAll(_arg1:Collection):Boolean{ var _local2:Boolean; var _local3:Iterator; _local2 = false; _local3 = _arg1.iterator(); while (_local3.hasNext()) { _local2 = ((add(_local3.next())) || (_local2)); }; return (_local2); } public function containsAll(_arg1:Collection):Boolean{ var _local2:Iterator; if (_arg1 == null){ PixlibDebug.ERROR(("The passed-in collection is null in " + this)); throw (new NullPointerException(("The passed-in collection is null in " + this))); }; _local2 = _arg1.iterator(); while (_local2.hasNext()) { if (_d[_local2.next()] != true){ return (false); }; }; return (true); } public function isEmpty():Boolean{ return ((size() == 0)); } public function remove(_arg1:Object):Boolean{ if (_d[_arg1]){ _d[_arg1] = null; delete _d[_arg1]; return (true); }; return (false); } public function size():uint{ return (Math.max(toArray().length, 0)); } public function removeAll(_arg1:Collection):Boolean{ var _local2:Boolean; var _local3:Iterator; if (_arg1 == null){ PixlibDebug.ERROR(("The passed-in collection is null in " + this)); throw (new NullPointerException(("The passed-in collection is null in " + this))); }; _local2 = false; _local3 = _arg1.iterator(); while (_local3.hasNext()) { _local2 = ((remove(_local3.next())) || (_local2)); }; return (_local2); } public function clear():void{ _d = new Dictionary(true); } public function retainAll(_arg1:Collection):Boolean{ var _local2:Boolean; var _local3:Iterator; var _local4:Object; if (_arg1 == null){ PixlibDebug.ERROR(("The passed-in collection is null in " + this)); throw (new NullPointerException(("The passed-in collection is null in " + this))); }; _local2 = false; _local3 = iterator(); while (_local3.hasNext()) { _local4 = _local3.next(); if (!_arg1.contains(_local4)){ _local2 = ((remove(_local4)) || (_local2)); }; }; return (_local2); } public function toArray():Array{ var _local1:Array; var _local2:Object; _local1 = new Array(); for (_local2 in _d) { if (_d[_local2]){ _local1.push(_local2); }; }; return (_local1); } public function contains(_arg1:Object):Boolean{ return (_d[_arg1]); } public function add(_arg1:Object):Boolean{ if (!contains(_arg1)){ return ((_d[_arg1] = true)); }; return (false); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function iterator():Iterator{ return (new ConcretIterator(this)); } } }//package com.bourre.collection import com.bourre.error.*; class ConcretIterator implements Iterator { private var _a:Array; private var _nIndex:int; private var _c:WeakCollection; private var _nLastIndex:int; private var _bRemoved:Boolean; private function ConcretIterator(_arg1:WeakCollection){ _c = _arg1; _nIndex = -1; _a = _c.toArray(); _nLastIndex = (_a.length - 1); _bRemoved = false; } public function remove():void{ if (!_bRemoved){ _c.remove(_a[_nIndex]); _a = _c.toArray(); _nLastIndex--; _bRemoved = true; } else { throw (new IllegalStateException((this + ".remove() have been already called for this iteration"))); }; } public function hasNext():Boolean{ return ((_nLastIndex > _nIndex)); } public function next(){ if (!hasNext()){ throw (new NoSuchElementException(((this + " has no more elements at ") + _nIndex))); }; _bRemoved = false; return (_a[++_nIndex]); } }
Section 25
//AbstractCommand (com.bourre.commands.AbstractCommand) package com.bourre.commands { import flash.events.*; import com.bourre.log.*; import com.bourre.plugin.*; import com.bourre.model.*; import com.bourre.view.*; import com.bourre.error.*; public class AbstractCommand implements Command { protected var _owner:Plugin; public function getModelLocator():ModelLocator{ return (getOwner().getModelLocator()); } protected function _firePrivateEvent(_arg1:Event):void{ getOwner().firePrivateEvent(_arg1); } public function getLogger():PluginDebug{ return (PluginDebug.getInstance(getOwner())); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function setOwner(_arg1:Plugin):void{ _owner = _arg1; } public function execute(_arg1:Event=null):void{ var _local2:String; _local2 = (this + ".execute() must be implemented in concrete class."); getLogger().error(_local2); throw (new UnimplementedVirtualMethodException(_local2)); } public function getViewLocator():ViewLocator{ return (getOwner().getViewLocator()); } public function getOwner():Plugin{ return (_owner); } } }//package com.bourre.commands
Section 26
//AbstractSyncCommand (com.bourre.commands.AbstractSyncCommand) package com.bourre.commands { import flash.events.*; import com.bourre.log.*; import com.bourre.events.*; public class AbstractSyncCommand extends AbstractCommand implements ASyncCommand { protected var _oEB:EventBroadcaster; protected var _bIsRunning:Boolean; protected var _eOnCommandEnd:BasicEvent; public static const onCommandEndEVENT:String = "onCommandEnd"; public function AbstractSyncCommand(){ _bIsRunning = false; _oEB = new EventBroadcaster(this); _eOnCommandEnd = new BasicEvent(onCommandEndEVENT, this); } public function run():void{ execute(); } public function removeASyncCommandListener(_arg1:ASyncCommandListener):Boolean{ return (_oEB.removeEventListener(onCommandEndEVENT, _arg1)); } public function fireCommandEndEvent():void{ _oEB.broadcastEvent(_eOnCommandEnd); } public function isRunning():Boolean{ return (_bIsRunning); } override public function toString():String{ return (PixlibStringifier.stringify(this)); } override public function execute(_arg1:Event=null):void{ fireCommandEndEvent(); } public function addASyncCommandListener(_arg1:ASyncCommandListener, ... _args):Boolean{ return (_oEB.addEventListener.apply(_oEB, ((_args.length > 0)) ? [onCommandEndEVENT, _arg1].concat(_args) : [onCommandEndEVENT, _arg1])); } } }//package com.bourre.commands
Section 27
//ASyncCommand (com.bourre.commands.ASyncCommand) package com.bourre.commands { public interface ASyncCommand extends Command, Runnable { function fireCommandEndEvent():void; function addASyncCommandListener(_arg1:ASyncCommandListener, ... _args):Boolean; function removeASyncCommandListener(_arg1:ASyncCommandListener):Boolean; } }//package com.bourre.commands
Section 28
//ASyncCommandListener (com.bourre.commands.ASyncCommandListener) package com.bourre.commands { import flash.events.*; public interface ASyncCommandListener { function onCommandEnd(_arg1:Event):void; } }//package com.bourre.commands
Section 29
//Command (com.bourre.commands.Command) package com.bourre.commands { import flash.events.*; public interface Command { function execute(_arg1:Event=null):void; } }//package com.bourre.commands
Section 30
//Delegate (com.bourre.commands.Delegate) package com.bourre.commands { import flash.events.*; import com.bourre.log.*; import com.bourre.transitions.*; import com.bourre.error.*; public class Delegate implements Command, TickListener { protected var _a:Array; protected var _bHasEventCallback:Boolean; protected var _f:Function; public function Delegate(_arg1:Function, ... _args){ _f = _arg1; _a = _args; _bHasEventCallback = true; } public function getArguments():Array{ return (_a); } public function onTick(_arg1:Event=null):void{ execute(_arg1); } public function setArgumentsArray(_arg1:Array):void{ if (_arg1.length > 0){ _a = _arg1; }; } public function addArgumentsArray(_arg1:Array):void{ if (_arg1.length > 0){ _a = _a.concat(_arg1); }; } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function execute(_arg1:Event=null):void{ var a:Array; var msg:String; var event = _arg1; a = new Array(); if (((!((event == null))) && (_bHasEventCallback))){ a.push(event); }; try { _f.apply(null, ((_a.length)>0) ? a.concat(_a) : ((a.length)>0) ? a : null); } catch(error:ArgumentError) { msg = (this + ".execute() failed, you passed incorrect number of arguments or wrong type"); PixlibDebug.FATAL(msg); throw (new IllegalArgumentException(msg)); }; } public function handleEvent(_arg1:Event):void{ this.execute(_arg1); } public function setArguments(... _args):void{ if (_args.length > 0){ _a = _args; }; } public function callFunction(){ return (_f.apply(null, _a)); } public function bypassEventCallback(_arg1:Boolean):void{ _bHasEventCallback = !(_arg1); } public function addArguments(... _args):void{ if (_args.length > 0){ _a = _a.concat(_args); }; } public static function create(_arg1:Function, ... _args):Function{ var method = _arg1; var args = _args; return (function (... _args){ var msg:*; var rest = _args; try { return (method.apply(null, ((rest.length > 0)) ? ((args.length > 0)) ? args.concat(rest) : rest : ((args.length > 0)) ? args : null)); } catch(e:ArgumentError) { msg = (this + " execution failed, you passed incorrect number of arguments or wrong type"); PixlibDebug.FATAL(msg); throw (new ArgumentError(msg)); }; }); } } }//package com.bourre.commands
Section 31
//Runnable (com.bourre.commands.Runnable) package com.bourre.commands { public interface Runnable { function isRunning():Boolean; function run():void; } }//package com.bourre.commands
Section 32
//AbstractLocator (com.bourre.core.AbstractLocator) package com.bourre.core { import flash.utils.*; import flash.events.*; import com.bourre.log.*; import com.bourre.events.*; import com.bourre.collection.*; import com.bourre.error.*; public class AbstractLocator implements Locator, TypedContainer { private var _oEB:Broadcaster; protected var _m:HashMap; private var _logger:Log; private var _cType:Class; public function AbstractLocator(_arg1:Class=null, _arg2:Class=null, _arg3:Log=null){ _cType = ((_arg1)!=null) ? _arg1 : Object; _m = new HashMap(); _oEB = new EventBroadcaster(this, _arg2); _logger = ((_arg3)==null) ? PixlibDebug.getInstance() : _arg3; } public function getLogger():Log{ return (_logger); } public function removeEventListener(_arg1:String, _arg2:Object):Boolean{ return (_oEB.removeEventListener(_arg1, _arg2)); } public function release():void{ _m.clear(); } public function locate(_arg1:String):Object{ var _local2:String; if (isRegistered(_arg1)){ return (_m.get(_arg1)); }; _local2 = ((((("Can't find '" + getType().toString()) + "' item with '") + _arg1) + "' name in ") + this); getLogger().fatal(_local2); throw (new NoSuchElementException(_local2)); } public function isRegistered(_arg1:String):Boolean{ return (_m.containsKey(_arg1)); } public function addEventListener(_arg1:String, _arg2:Object, ... _args):Boolean{ return (_oEB.addEventListener.apply(_oEB, ((_args.length > 0)) ? [_arg1, _arg2].concat(_args) : [_arg1, _arg2])); } public function getValues():Array{ return (_m.getValues()); } public function matchType(_arg1):Boolean{ return ((((_arg1 is _cType)) || ((_arg1 == null)))); } protected function broadcastEvent(_arg1:Event):void{ _oEB.broadcastEvent(_arg1); } public function add(_arg1:Dictionary):void{ var key:*; var d = _arg1; for (key in d) { try { register(key, d[key]); } catch(e:IllegalArgumentException) { e.message = ((this + ".add() fails. ") + e.message); _logger.error(e.message); throw (e); }; }; } protected function onRegister(_arg1:String=null, _arg2:Object=null):void{ } public function register(_arg1:String, _arg2:Object):Boolean{ var _local3:String; if (((isTyped()) && (!((_arg2 is getType()))))){ _local3 = (((this + ".register() failed. Item must be '") + getType().toString()) + "' typed."); getLogger().error(_local3); throw (new IllegalArgumentException(_local3)); }; if (_m.containsKey(_arg1)){ _local3 = (((" item is already registered with '" + _arg1) + "' name in ") + this); getLogger().error(_local3); throw (new IllegalArgumentException(_local3)); }; _m.put(_arg1, _arg2); onRegister(_arg1, _arg2); return (true); } public function isTyped():Boolean{ return (!((_cType == null))); } public function getKeys():Array{ return (_m.getKeys()); } public function toString():String{ var _local1:Boolean; var _local2:String; _local1 = !((getType() == null)); _local2 = ""; if (_local1){ _local2 = getType().toString(); _local2 = (("<" + _local2.substr(7, (_local2.length - 8))) + ">"); }; return ((PixlibStringifier.stringify(this) + _local2)); } public function getType():Class{ return (_cType); } protected function getBroadcaster():Broadcaster{ return (_oEB); } protected function onUnregister(_arg1:String=null):void{ } public function unregister(_arg1:String):Boolean{ if (isRegistered(_arg1)){ _m.remove(_arg1); onUnregister(_arg1); return (true); }; return (false); } } }//package com.bourre.core
Section 33
//Locator (com.bourre.core.Locator) package com.bourre.core { import flash.utils.*; public interface Locator { function getValues():Array; function add(_arg1:Dictionary):void; function locate(_arg1:String):Object; function getKeys():Array; function isRegistered(_arg1:String):Boolean; } }//package com.bourre.core
Section 34
//IllegalArgumentException (com.bourre.error.IllegalArgumentException) package com.bourre.error { public class IllegalArgumentException extends Error { public function IllegalArgumentException(_arg1:String=""){ super(_arg1); } } }//package com.bourre.error
Section 35
//IllegalStateException (com.bourre.error.IllegalStateException) package com.bourre.error { public class IllegalStateException extends Error { public function IllegalStateException(_arg1:String=""){ super(_arg1); } } }//package com.bourre.error
Section 36
//IndexOutOfBoundsException (com.bourre.error.IndexOutOfBoundsException) package com.bourre.error { public class IndexOutOfBoundsException extends Error { public function IndexOutOfBoundsException(_arg1:String=""){ super(_arg1); } } }//package com.bourre.error
Section 37
//NoSuchElementException (com.bourre.error.NoSuchElementException) package com.bourre.error { public class NoSuchElementException extends Error { public function NoSuchElementException(_arg1:String=""){ super(_arg1); } } }//package com.bourre.error
Section 38
//NullPointerException (com.bourre.error.NullPointerException) package com.bourre.error { public class NullPointerException extends Error { public function NullPointerException(_arg1:String=""){ super(_arg1); } } }//package com.bourre.error
Section 39
//UnimplementedVirtualMethodException (com.bourre.error.UnimplementedVirtualMethodException) package com.bourre.error { public class UnimplementedVirtualMethodException extends Error { public function UnimplementedVirtualMethodException(_arg1:String=""){ super(_arg1); } } }//package com.bourre.error
Section 40
//UnsupportedOperationException (com.bourre.error.UnsupportedOperationException) package com.bourre.error { public class UnsupportedOperationException extends Error { public function UnsupportedOperationException(_arg1:String=""){ super(_arg1); } } }//package com.bourre.error
Section 41
//BasicEvent (com.bourre.events.BasicEvent) package com.bourre.events { import flash.events.*; import com.bourre.log.*; public class BasicEvent extends Event { protected var _sType:String; protected var _oTarget:Object; public function BasicEvent(_arg1:String, _arg2:Object=null){ super(_arg1); _sType = _arg1; _oTarget = _arg2; } override public function get target():Object{ return (_oTarget); } public function setTarget(_arg1:Object):void{ _oTarget = _arg1; } public function getTarget():Object{ return (_oTarget); } public function set target(_arg1:Object):void{ _oTarget = _arg1; } override public function toString():String{ return (PixlibStringifier.stringify(this)); } public function getType():String{ return (_sType); } public function set type(_arg1:String):void{ _sType = _arg1; } override public function get type():String{ return (_sType); } public function setType(_arg1:String):void{ _sType = _arg1; } } }//package com.bourre.events
Section 42
//Broadcaster (com.bourre.events.Broadcaster) package com.bourre.events { import flash.events.*; public interface Broadcaster { function removeAllListeners():void; function removeEventListener(_arg1:String, _arg2:Object):Boolean; function isRegistered(_arg1:Object, _arg2:String=null):Boolean; function addEventListener(_arg1:String, _arg2:Object, ... _args):Boolean; function addListener(_arg1:Object):Boolean; function removeListener(_arg1:Object):Boolean; function broadcastEvent(_arg1:Event):void; function hasListenerCollection(_arg1:String):Boolean; } }//package com.bourre.events
Section 43
//ChannelBroadcaster (com.bourre.events.ChannelBroadcaster) package com.bourre.events { import flash.events.*; import com.bourre.log.*; import com.bourre.collection.*; import com.bourre.utils.*; import com.bourre.error.*; public class ChannelBroadcaster { protected var _broadcasterClass:Class; protected var _oDefaultChannel:EventChannel; protected var _mChannel:HashMap; public function ChannelBroadcaster(_arg1:Class=null, _arg2:EventChannel=null){ var _local3:String; super(); if (_arg1 != null){ if (!ClassUtils.inherit(_arg1, Broadcaster)){ _local3 = ((("The class '" + _arg1) + "' doesn't implement Broadcaster interface in ") + this); PixlibDebug.FATAL(_local3); throw (new IllegalArgumentException(_local3)); }; _broadcasterClass = _arg1; } else { _broadcasterClass = EventBroadcaster; }; empty(); setDefaultChannel(_arg2); } public function broadcastEvent(_arg1:Event, _arg2:EventChannel=null):void{ getChannelDispatcher(_arg2).broadcastEvent(_arg1); if (_arg2){ getChannelDispatcher().broadcastEvent(_arg1); }; } public function releaseChannelDispatcher(_arg1:EventChannel):Boolean{ var _local2:Broadcaster; if (hasChannelDispatcher(_arg1)){ _local2 = (_mChannel.get(_arg1) as Broadcaster); _local2.removeAllListeners(); _mChannel.remove(_arg1); return (true); }; return (false); } public function addEventListener(_arg1:String, _arg2:Object, _arg3:EventChannel=null):Boolean{ return (getChannelDispatcher(_arg3).addEventListener(_arg1, _arg2)); } public function setDefaultChannel(_arg1:EventChannel=null):void{ _oDefaultChannel = ((_arg1)==null) ? DefaultChannel.CHANNEL : _arg1; getChannelDispatcher(getDefaultChannel()); } public function isRegistered(_arg1:Object, _arg2:String, _arg3:EventChannel):Boolean{ if (hasChannelDispatcher(_arg3)){ return (getChannelDispatcher(_arg3).isRegistered(_arg1, _arg2)); }; return (false); } public function empty():void{ var _local1:EventChannel; _mChannel = new HashMap(); _local1 = getDefaultChannel(); if (_local1 != null){ getChannelDispatcher(_local1); }; } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function hasChannelDispatcher(_arg1:EventChannel):Boolean{ return (((_arg1 == null)) ? _mChannel.containsKey(_oDefaultChannel) : _mChannel.containsKey(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Object, _arg3:EventChannel=null):Boolean{ return (getChannelDispatcher(_arg3).removeEventListener(_arg1, _arg2)); } public function getDefaultChannel():EventChannel{ return (_oDefaultChannel); } public function getDefaultDispatcher():Broadcaster{ return (_mChannel.get(_oDefaultChannel)); } public function getChannelDispatcher(_arg1:EventChannel=null, _arg2:Object=null):Broadcaster{ var _local3:Broadcaster; if (hasChannelDispatcher(_arg1)){ return (((_arg1 == null)) ? _mChannel.get(_oDefaultChannel) : _mChannel.get(_arg1)); //unresolved jump }; _local3 = new (_broadcasterClass as Class)(_arg2); _mChannel.put(_arg1, _local3); return (_local3); } public function addListener(_arg1:Object, _arg2:EventChannel=null):Boolean{ return (getChannelDispatcher(_arg2).addListener(_arg1)); } public function hasChannelListener(_arg1:String, _arg2:EventChannel=null):Boolean{ if (hasChannelDispatcher(_arg2)){ return (getChannelDispatcher(_arg2).hasListenerCollection(_arg1)); }; return (false); } public function removeListener(_arg1:Object, _arg2:EventChannel=null):Boolean{ return (getChannelDispatcher(_arg2).removeListener(_arg1)); } } }//package com.bourre.events class DefaultChannel extends EventChannel { public static const CHANNEL:DefaultChannel = new (DefaultChannel); ; private function DefaultChannel(){ } }
Section 44
//DynBasicEvent (com.bourre.events.DynBasicEvent) package com.bourre.events { import com.bourre.log.*; public dynamic class DynBasicEvent extends BasicEvent { public function DynBasicEvent(_arg1:String, _arg2:Object=null){ super(_arg1, _arg2); } override public function toString():String{ return (PixlibStringifier.stringify(this)); } } }//package com.bourre.events
Section 45
//EventBroadcaster (com.bourre.events.EventBroadcaster) package com.bourre.events { import flash.utils.*; import flash.events.*; import com.bourre.log.*; import com.bourre.collection.*; import com.bourre.commands.*; import com.bourre.error.*; public class EventBroadcaster implements Broadcaster { protected var _mType:HashMap; protected var _mAll:Collection; protected var _mEventListener:HashMap; protected var _mDelegate:HashMap; protected var _oSource:Object; protected var _cType:Class; private static var _oI:EventBroadcaster = null; public function EventBroadcaster(_arg1:Object=null, _arg2:Class=null){ _oSource = ((_arg1)==null) ? this : _arg1; _mAll = new WeakCollection(); _mType = new HashMap(); _mEventListener = new HashMap(); _mDelegate = new HashMap(); setListenerType(_arg2); } public function removeAllListeners():void{ _mAll.clear(); _mType.clear(); _mEventListener.clear(); _mDelegate.clear(); } public function toString():String{ var _local1:Boolean; var _local2:String; _local1 = !((_cType == null)); _local2 = ""; if (_local1){ _local2 = _cType.toString(); _local2 = (("<" + _local2.substr(7, (_local2.length - 8))) + ">"); }; return ((PixlibStringifier.stringify(this) + _local2)); } public function removeEventListener(_arg1:String, _arg2:Object):Boolean{ var _local3:Collection; if (hasListenerCollection(_arg1)){ _local3 = getListenerCollection(_arg1); if ((_arg2 is Function)){ _arg2 = _mDelegate.remove(_arg2); }; if (_local3.remove(_arg2)){ _removeRef(_arg1, _arg2); if (_local3.isEmpty()){ removeListenerCollection(_arg1); }; return (true); } else { return (false); }; //unresolved jump }; return (false); } public function isRegistered(_arg1:Object, _arg2:String=null):Boolean{ if (_arg2 == null){ if ((_arg1 is Function)){ if (_mDelegate.containsKey(_arg1)){ return (_mAll.contains(_mDelegate.get(_arg1))); }; return (false); } else { return (_mAll.contains(_arg1)); }; } else { //unresolved if if ((_arg1 is Function)){ if (_mDelegate.containsKey(_arg1)){ return (getListenerCollection(_arg2).contains(_mDelegate.get(_arg1))); }; return (false); } else { return (getListenerCollection(_arg2).contains(_arg1)); }; }; //unresolved jump return (false); } public function addEventListener(_arg1:String, _arg2:Object, ... _args):Boolean{ var _local4:Delegate; var _local5:String; if (!isRegistered(_arg2)){ if ((_arg2 is Function)){ if (_mDelegate.containsKey(_arg2)){ return (false); }; _local4 = new Delegate((_arg2 as Function)); if (_args){ _local4.setArgumentsArray(_args); }; _mDelegate.put(_arg2, _local4); _arg2 = _local4; } else { if (((_arg2.hasOwnProperty(_arg1)) && ((_arg2[_arg1] is Function)))){ } else { if (((_arg2.hasOwnProperty("handleEvent")) && ((_arg2.handleEvent is Function)))){ } else { _local5 = (((((this + ".addEventListener() failed, you must implement '") + _arg1) + "' method or 'handleEvent' method in '") + getQualifiedClassName(_arg2)) + "' class"); PixlibDebug.ERROR(_local5); throw (new UnsupportedOperationException(_local5)); }; }; }; if (!hasListenerCollection(_arg1)){ _mType.put(_arg1, new WeakCollection()); }; if (getListenerCollection(_arg1).add(_arg2)){ _storeRef(_arg1, _arg2); return (true); }; return (false); //unresolved jump }; return (false); } private function _flushRef(_arg1:Object):Boolean{ var _local2:Boolean; var _local3:HashMap; var _local4:Array; var _local5:Number; _local2 = false; _local3 = _mEventListener.get(_arg1); if (_local3 != null){ _local4 = _local3.getKeys(); _local5 = _local4.length; while (--_local5 > -1) { _local2 = ((removeEventListener(_local4[_local5], _arg1)) || (_local2)); }; _mEventListener.remove(_arg1); }; return (_local2); } public function isEmpty():Boolean{ return (((_mAll.isEmpty()) && (_mType.isEmpty()))); } public function setListenerType(_arg1:Class):void{ var _local2:Iterator; var _local3:String; _local2 = _mAll.iterator(); while (_local2.hasNext()) { if (!(_local2.next() is _arg1)){ _local3 = (((((this + ".setListenerType( ") + _arg1) + " ) failed, your listener must be '") + _cType) + "' typed"); PixlibDebug.ERROR(_local3); throw (new IllegalArgumentException(_local3)); }; }; _cType = _arg1; } public function removeListener(_arg1:Object):Boolean{ var _local2:String; var _local3:Boolean; if ((_arg1 is Function)){ _local2 = (((this + ".removeListener( ") + _arg1) + " ) failed, your listener can't be Function typed"); PixlibDebug.ERROR(_local2); throw (new IllegalArgumentException(_local2)); }; _local3 = _flushRef(_arg1); _local3 = ((_local3) || (_mAll.contains(_arg1))); _mAll.remove(_arg1); return (_local3); } public function broadcastEvent(_arg1:Event):void{ if ((((_arg1.target == null)) && ((_arg1 is BasicEvent)))){ (_arg1 as BasicEvent).target = _oSource; }; if (hasListenerCollection(_arg1.type)){ _broadcastEvent(getListenerCollection(_arg1.type), _arg1); }; if (!_mAll.isEmpty()){ _broadcastEvent(_mAll, _arg1); }; } public function removeListenerCollection(_arg1:String):void{ _mType.remove(_arg1); } public function getListenerCollection(_arg1:String=null):Collection{ return (((_arg1)!=null) ? _mType.get(_arg1) : _mAll); } private function _storeRef(_arg1:String, _arg2:Object):void{ if (!_mEventListener.containsKey(_arg2)){ _mEventListener.put(_arg2, new HashMap()); }; _mEventListener.get(_arg2).put(_arg1, _arg2); } public function hasListenerCollection(_arg1:String):Boolean{ return (_mType.containsKey(_arg1)); } private function _removeRef(_arg1:String, _arg2:Object):void{ var _local3:HashMap; _local3 = _mEventListener.get(_arg2); _local3.remove(_arg1); if (_local3.isEmpty()){ _mEventListener.remove(_arg2); }; } protected function _broadcastEvent(_arg1:Collection, _arg2:Event):void{ var _local3:String; var _local4:Array; var _local5:Number; var _local6:Object; var _local7:String; _local3 = _arg2.type; _local4 = _arg1.toArray(); _local5 = _local4.length; while (--_local5 > -1) { _local6 = _local4[_local5]; if (((_local6.hasOwnProperty(_local3)) && ((_local6[_local3] is Function)))){ var _local8 = _local6; _local8[_local3](_arg2); } else { if (((_local6.hasOwnProperty("handleEvent")) && ((_local6.handleEvent is Function)))){ _local6.handleEvent(_arg2); } else { _local7 = (((((this + ".broadcastEvent() failed, you must implement '") + _local3) + "' method or 'handleEvent' method in '") + getQualifiedClassName(_local6)) + "' class"); PixlibDebug.ERROR(_local7); throw (new UnsupportedOperationException(_local7)); }; }; }; } public function dispatchEvent(_arg1:Object):void{ var _local2:DynBasicEvent; var _local3:String; if (_arg1["type"] == null){ PixlibDebug.WARN(("You attempt to broadcast an event which has no type, in " + this)); }; _local2 = new DynBasicEvent(_arg1["type"]); for (_local3 in _arg1) { if (_local3 != "type"){ _local2[_local3] = _arg1[_local3]; }; }; broadcastEvent(_local2); } public function addListener(_arg1:Object):Boolean{ var _local2:String; var _local3:String; if (((!((_cType == null))) && (!((_arg1 is _cType))))){ _local2 = (((((this + ".addListener( ") + _arg1) + " ) failed, your listener must be '") + _cType) + "' typed"); PixlibDebug.ERROR(_local2); throw (new IllegalArgumentException(_local2)); }; if ((_arg1 is Function)){ _local3 = (((this + ".addListener( ") + _arg1) + " ) failed, your listener can't be Function typed"); PixlibDebug.ERROR(_local3); throw (new IllegalArgumentException(_local3)); }; if (_mAll.add(_arg1)){ _flushRef(_arg1); return (true); }; return (false); } public static function getInstance():EventBroadcaster{ if (!(EventBroadcaster._oI is EventBroadcaster)){ EventBroadcaster._oI = new (EventBroadcaster); }; return (EventBroadcaster._oI); } } }//package com.bourre.events
Section 46
//EventChannel (com.bourre.events.EventChannel) package com.bourre.events { import flash.utils.*; import com.bourre.log.*; import com.bourre.error.*; public class EventChannel { private var _sChannelName:String; public function EventChannel(_arg1:String=null){ var _local2:String; super(); _sChannelName = (_arg1) ? _arg1 : getQualifiedClassName(this); if (_sChannelName == "EventChannel"){ _local2 = "EventChannel must have a name, or be extended by another class"; PixlibDebug.ERROR(_local2); throw (new IllegalArgumentException(_local2)); }; } public function toString():String{ return (_sChannelName); } } }//package com.bourre.events
Section 47
//StringEvent (com.bourre.events.StringEvent) package com.bourre.events { public class StringEvent extends BasicEvent { private var _s:String; public function StringEvent(_arg1:String, _arg2:Object=null, _arg3:String=""){ super(_arg1, _arg2); _s = _arg3; } public function getString():String{ return (_s); } } }//package com.bourre.events
Section 48
//LoaderStrategy (com.bourre.load.strategy.LoaderStrategy) package com.bourre.load.strategy { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; import com.bourre.load.*; import com.bourre.log.*; public class LoaderStrategy implements LoadStrategy { private var _bytesLoaded:uint; private var _loader:Loader; private var _owner:Loader; private var _bytesTotal:uint; public function LoaderStrategy(){ _bytesLoaded = 0; _bytesTotal = 0; } public function getContentLoaderInfo():LoaderInfo{ return (_loader.contentLoaderInfo); } protected function _onSecurityError(_arg1:SecurityErrorEvent):void{ release(); if (_owner){ _owner.fireOnLoadErrorEvent(_arg1.text); }; } protected function _onProgress(_arg1:ProgressEvent):void{ _bytesLoaded = _arg1.bytesLoaded; _bytesTotal = _arg1.bytesTotal; if (_owner){ _owner.fireOnLoadProgressEvent(); }; } public function release():void{ if (_loader){ _loader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, _onProgress); _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, _onComplete); _loader.contentLoaderInfo.removeEventListener(Event.OPEN, _onOpen); _loader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, _onSecurityError); _loader.contentLoaderInfo.removeEventListener(HTTPStatusEvent.HTTP_STATUS, _onHttpStatus); _loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, _onIOError); _loader.contentLoaderInfo.removeEventListener(Event.INIT, _onInit); _loader.contentLoaderInfo.removeEventListener(Event.UNLOAD, _onUnLoad); try { _loader.close(); } catch(error:Error) { }; }; } protected function _onHttpStatus(_arg1:HTTPStatusEvent):void{ } protected function _onIOError(_arg1:IOErrorEvent):void{ release(); if (_owner){ _owner.fireOnLoadErrorEvent(_arg1.text); }; } public function getBytesTotal():uint{ return (_bytesTotal); } protected function _onComplete(_arg1:Event):void{ } public function getBytesLoaded():uint{ return (_bytesLoaded); } public function loadBytes(_arg1:ByteArray, _arg2:LoaderContext=null):void{ _initLoaderStrategy(); _loader.loadBytes(_arg1, _arg2); } public function load(_arg1:URLRequest=null, _arg2:LoaderContext=null):void{ _initLoaderStrategy(); _loader.load(_arg1, _arg2); } public function toString():String{ return (PixlibStringifier.stringify(this)); } protected function _onInit(_arg1:Event):void{ if (_owner){ _owner.setContent(_loader.content); _owner.fireOnLoadInitEvent(); }; } protected function _onOpen(_arg1:Event):void{ if (_owner){ _owner.fireOnLoadStartEvent(); }; } public function setOwner(_arg1:Loader):void{ _owner = _arg1; } protected function _initLoaderStrategy():void{ _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, _onProgress); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, _onComplete); _loader.contentLoaderInfo.addEventListener(Event.OPEN, _onOpen); _loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, _onSecurityError); _loader.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, _onHttpStatus); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _onIOError); _loader.contentLoaderInfo.addEventListener(Event.INIT, _onInit); _loader.contentLoaderInfo.addEventListener(Event.UNLOAD, _onUnLoad); } protected function _onUnLoad(_arg1:Event):void{ } } }//package com.bourre.load.strategy
Section 49
//LoadStrategy (com.bourre.load.strategy.LoadStrategy) package com.bourre.load.strategy { import flash.system.*; import flash.net.*; import com.bourre.load.*; public interface LoadStrategy { function load(_arg1:URLRequest=null, _arg2:LoaderContext=null):void; function setOwner(_arg1:Loader):void; function release():void; function getBytesLoaded():uint; function getBytesTotal():uint; } }//package com.bourre.load.strategy
Section 50
//URLLoaderStrategy (com.bourre.load.strategy.URLLoaderStrategy) package com.bourre.load.strategy { import flash.events.*; import flash.system.*; import flash.net.*; import com.bourre.load.*; import com.bourre.log.*; public class URLLoaderStrategy implements LoadStrategy { private var _bytesLoaded:uint; private var _sDataFormat:String; private var _loader:URLLoader; private var _owner:Loader; private var _bytesTotal:uint; public static const BINARY:String = "binary"; public static const VARIABLES:String = "variables"; public static const TEXT:String = "text"; public function URLLoaderStrategy(_arg1:String=null){ _bytesLoaded = 0; _bytesTotal = 0; setDataFormat(_arg1); } public function setDataFormat(_arg1:String):void{ _sDataFormat = _arg1; } protected function _onIOError(_arg1:IOErrorEvent):void{ if (_owner){ _owner.fireOnLoadErrorEvent(_arg1.text); }; } protected function _onSecurityError(_arg1:SecurityErrorEvent):void{ if (_owner){ _owner.fireOnLoadErrorEvent(_arg1.text); }; } protected function _onProgress(_arg1:ProgressEvent):void{ _bytesLoaded = _arg1.bytesLoaded; _bytesTotal = _arg1.bytesTotal; if (_owner){ _owner.fireOnLoadProgressEvent(); }; } public function release():void{ if (_loader){ _loader.removeEventListener(ProgressEvent.PROGRESS, _onProgress); _loader.removeEventListener(Event.COMPLETE, _onComplete); _loader.removeEventListener(Event.OPEN, _onOpen); _loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, _onSecurityError); _loader.removeEventListener(HTTPStatusEvent.HTTP_STATUS, _onHttpStatus); _loader.removeEventListener(IOErrorEvent.IO_ERROR, _onIOError); try { _loader.close(); } catch(error:Error) { }; }; } protected function _onHttpStatus(_arg1:HTTPStatusEvent):void{ } public function getBytesTotal():uint{ return (_bytesTotal); } protected function _onComplete(_arg1:Event):void{ if (_owner){ _owner.setContent(_loader.data); _owner.fireOnLoadInitEvent(); }; } public function getBytesLoaded():uint{ return (_bytesLoaded); } public function load(_arg1:URLRequest=null, _arg2:LoaderContext=null):void{ _loader = new URLLoader(); _loader.dataFormat = (URLLoaderStrategy.isValidDataFormat(_sDataFormat)) ? URLLoaderStrategy.TEXT : _sDataFormat; _loader.addEventListener(ProgressEvent.PROGRESS, _onProgress); _loader.addEventListener(Event.COMPLETE, _onComplete); _loader.addEventListener(Event.OPEN, _onOpen); _loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, _onSecurityError); _loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, _onHttpStatus); _loader.addEventListener(IOErrorEvent.IO_ERROR, _onIOError); if (_arg2 != null){ PixlibDebug.WARN((this + ".load() doesn't support LoaderContext argument.")); }; _loader.load(_arg1); } public function toString():String{ return (PixlibStringifier.stringify(this)); } protected function _onOpen(_arg1:Event):void{ if (_owner){ _owner.fireOnLoadStartEvent(); }; } public function setOwner(_arg1:Loader):void{ _owner = _arg1; } public static function isValidDataFormat(_arg1:String):Boolean{ return ((((((_arg1 == URLLoaderStrategy.TEXT)) || ((_arg1 == URLLoaderStrategy.BINARY)))) || ((_arg1 == URLLoaderStrategy.VARIABLES)))); } } }//package com.bourre.load.strategy
Section 51
//AbstractLoader (com.bourre.load.AbstractLoader) package com.bourre.load { import flash.utils.*; import flash.events.*; import flash.system.*; import flash.net.*; import com.bourre.log.*; import com.bourre.events.*; import com.bourre.commands.*; import com.bourre.load.strategy.*; import com.bourre.error.*; public class AbstractLoader implements Loader, ASyncCommand { protected var _sPrefixURL:String; private var _oEB:EventBroadcaster; private var _bIsRunning:Boolean; private var _bAntiCache:Boolean; private var _sName:String; private var _loadStrategy:LoadStrategy; private var _nTimeOut:Number; private var _nTime:int; private var _oURL:URLRequest; private var _nLastBytesLoaded:Number; private var _oContent:Object; private static var _oPool:Dictionary = new Dictionary(); public function AbstractLoader(_arg1:LoadStrategy=null){ _loadStrategy = ((_arg1)!=null) ? _arg1 : new NullLoadStrategy(); _loadStrategy.setOwner(this); _oEB = new EventBroadcaster(this, LoaderListener); _nTimeOut = 10000; _bAntiCache = false; _sPrefixURL = ""; _bIsRunning = false; } public function execute(_arg1:Event=null):void{ load(); } public function fireOnLoadTimeOut():void{ unregisterLoaderFromPool(this); fireEventType(LoaderEvent.onLoadTimeOutEVENT); } public function getName():String{ return (_sName); } final public function removeASyncCommandListener(_arg1:ASyncCommandListener):Boolean{ return (_oEB.removeEventListener(AbstractSyncCommand.onCommandEndEVENT, _arg1)); } final protected function setListenerType(_arg1:Class):void{ _oEB.setListenerType(_arg1); } protected function getLoaderEvent(_arg1:String, _arg2:String=""):LoaderEvent{ return (new LoaderEvent(_arg1, this, _arg2)); } protected function fireEvent(_arg1:Event):void{ _oEB.broadcastEvent(_arg1); } public function setName(_arg1:String):void{ _sName = _arg1; } public function getBytesTotal():uint{ return (_loadStrategy.getBytesTotal()); } public function getBytesLoaded():uint{ return (_loadStrategy.getBytesLoaded()); } final public function getTimeOut():Number{ return (_nTimeOut); } final public function addASyncCommandListener(_arg1:ASyncCommandListener, ... _args):Boolean{ return (_oEB.addEventListener(AbstractSyncCommand.onCommandEndEVENT, _arg1)); } public function fireOnLoadErrorEvent(_arg1:String=""):void{ fireEventType(LoaderEvent.onLoadErrorEVENT, _arg1); } public function release():void{ _loadStrategy.release(); _oEB.removeAllListeners(); } final public function getPerCent():Number{ var _local1:Number; _local1 = Math.min(100, Math.ceil((getBytesLoaded() / (getBytesTotal() / 100)))); return ((isNaN(_local1)) ? 0 : _local1); } public function setURL(_arg1:URLRequest):void{ _oURL = _arg1; } public function isRunning():Boolean{ return (_bIsRunning); } public function setContent(_arg1:Object):void{ _oContent = _arg1; } public function isAntiCache():Boolean{ return (_bAntiCache); } public function getURL():URLRequest{ return ((_bAntiCache) ? new URLRequest((((_sPrefixURL + _oURL.url) + "?nocache=") + _getStringTimeStamp())) : new URLRequest((_sPrefixURL + _oURL.url))); } public function getContent():Object{ return (_oContent); } public function run():void{ var _local1:String; if (!isRunning()){ _bIsRunning = true; execute(); } else { _local1 = (this + ".run() called wheras an operation is currently running"); PixlibDebug.ERROR(_local1); throw (new IllegalStateException(_local1)); }; } public function removeEventListener(_arg1:String, _arg2:Object):Boolean{ return (_oEB.removeEventListener(_arg1, _arg2)); } public function addEventListener(_arg1:String, _arg2:Object, ... _args):Boolean{ return (_oEB.addEventListener.apply(_oEB, ((_args.length > 0)) ? [_arg1, _arg2].concat(_args) : [_arg1, _arg2])); } private function _getStringTimeStamp():String{ var _local1:Date; _local1 = new Date(); return (String(_local1.getTime())); } protected function onInitialize():void{ fireEventType(LoaderEvent.onLoadProgressEVENT); fireEventType(LoaderEvent.onLoadInitEVENT); } final public function fireCommandEndEvent():void{ fireEventType(AbstractSyncCommand.onCommandEndEVENT); } protected function fireEventType(_arg1:String, _arg2:String=""):void{ fireEvent(getLoaderEvent(_arg1, _arg2)); } public function removeListener(_arg1:LoaderListener):Boolean{ return (_oEB.removeListener(_arg1)); } public function getStrategy():LoadStrategy{ return (_loadStrategy); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function load(_arg1:URLRequest=null, _arg2:LoaderContext=null):void{ var _local3:String; if (_arg1){ setURL(_arg1); }; if (getURL().url.length > 0){ _nLastBytesLoaded = 0; _nTime = getTimer(); registerLoaderToPool(this); _loadStrategy.load(getURL(), _arg2); } else { _local3 = (this + ".load() can't retrieve file url."); PixlibDebug.ERROR(_local3); throw (new NullPointerException(_local3)); }; } final public function fireOnLoadInitEvent():void{ _bIsRunning = false; onInitialize(); unregisterLoaderFromPool(this); } public function fireOnLoadProgressEvent():void{ fireEventType(LoaderEvent.onLoadProgressEVENT); } public function fireOnLoadStartEvent():void{ fireEventType(LoaderEvent.onLoadStartEVENT); } public function addListener(_arg1:LoaderListener):Boolean{ return (_oEB.addListener(_arg1)); } public function prefixURL(_arg1:String):void{ _sPrefixURL = _arg1; } public function setAntiCache(_arg1:Boolean):void{ _bAntiCache = _arg1; } final public function setTimeOut(_arg1:Number):void{ _nTimeOut = Math.max(1000, _arg1); } protected static function registerLoaderToPool(_arg1:Loader):void{ if (_oPool[_arg1] == null){ _oPool[_arg1] = true; } else { PixlibDebug.WARN((_arg1 + " is already registered in the loading pool")); }; } protected static function unregisterLoaderFromPool(_arg1:Loader):void{ if (_oPool[_arg1] != null){ delete _oPool[_arg1]; } else { PixlibDebug.WARN((_arg1 + " is not registered in the loading pool")); }; } } }//package com.bourre.load import flash.system.*; import flash.net.*; import com.bourre.load.strategy.*; class NullLoadStrategy implements LoadStrategy { private function NullLoadStrategy(){ } public function release():void{ } public function getBytesLoaded():uint{ return (0); } public function load(_arg1:URLRequest=null, _arg2:LoaderContext=null):void{ } public function getBytesTotal():uint{ return (0); } public function setOwner(_arg1:Loader):void{ } }
Section 52
//FileLoader (com.bourre.load.FileLoader) package com.bourre.load { import com.bourre.load.strategy.*; public class FileLoader extends AbstractLoader { public static const BINARY:String = "binary"; public static const VARIABLES:String = "variables"; public static const TEXT:String = "text"; public function FileLoader(_arg1:String=null){ super(new URLLoaderStrategy(_arg1)); } override protected function getLoaderEvent(_arg1:String, _arg2:String=""):LoaderEvent{ return (new FileLoaderEvent(_arg1, this, _arg2)); } public function setDataFormat(_arg1:String):void{ (getStrategy() as URLLoaderStrategy).setDataFormat(_arg1); } } }//package com.bourre.load
Section 53
//FileLoaderEvent (com.bourre.load.FileLoaderEvent) package com.bourre.load { public class FileLoaderEvent extends LoaderEvent { public static const onLoadInitEVENT:String = "onLoadInit"; public static const onLoadErrorEVENT:String = "onLoadError"; public static const onLoadProgressEVENT:String = "onLoadProgress"; public static const onLoadStartEVENT:String = "onLoadStart"; public static const onLoadTimeOutEVENT:String = "onLoadTimeOut"; public function FileLoaderEvent(_arg1:String, _arg2:FileLoader, _arg3:String=""){ super(_arg1, _arg2, _arg3); } public function getFileLoader():FileLoader{ return ((getLoader() as FileLoader)); } public function getFileContent():Object{ return (getFileLoader().getContent()); } } }//package com.bourre.load
Section 54
//GraphicLoader (com.bourre.load.GraphicLoader) package com.bourre.load { import flash.display.*; import flash.system.*; import flash.net.*; import com.bourre.log.*; import com.bourre.load.strategy.*; import com.bourre.error.*; public class GraphicLoader extends AbstractLoader { private var _oBitmapContainer:Sprite; private var _oContext:LoaderContext; private var _target:DisplayObjectContainer; private var _index:int; private var _bAutoShow:Boolean; private var _bMustUnregister:Boolean; public function GraphicLoader(_arg1:DisplayObjectContainer=null, _arg2:int=-1, _arg3:Boolean=true){ super(new LoaderStrategy()); _target = _arg1; _index = _arg2; _bAutoShow = _arg3; _bMustUnregister = false; } final public function getContext():LoaderContext{ return (_oContext); } override protected function getLoaderEvent(_arg1:String, _arg2:String=""):LoaderEvent{ return (new GraphicLoaderEvent(_arg1, this, _arg2)); } public function show():void{ getView().visible = true; } public function getView():DisplayObjectContainer{ return ((_oBitmapContainer) ? _oBitmapContainer : (getContent() as DisplayObjectContainer)); } public function getApplicationDomain():ApplicationDomain{ return ((getStrategy() as LoaderStrategy).getContentLoaderInfo().applicationDomain); } override public function release():void{ if (((getContent()) && (_target.contains(getView())))){ _target.removeChild(getView()); }; if (_bMustUnregister){ GraphicLoaderLocator.getInstance().unregister(getName()); _bMustUnregister = false; }; super.release(); } public function hide():void{ getView().visible = false; } override public function setContent(_arg1:Object):void{ if ((_arg1 is Bitmap)){ _oBitmapContainer = new Sprite(); _oBitmapContainer.addChild((_arg1 as Bitmap)); } else { _oBitmapContainer = null; }; super.setContent(_arg1); } public function setTarget(_arg1:DisplayObjectContainer):void{ _target = _arg1; if (_target != null){ if (_index != -1){ _target.addChildAt(getView(), _index); } else { _target.addChild(getView()); }; }; } public function setAutoShow(_arg1:Boolean):void{ _bAutoShow = _arg1; } override protected function onInitialize():void{ var _local1:String; if (getName() != null){ if (!GraphicLoaderLocator.getInstance().isRegistered(getName())){ _bMustUnregister = true; GraphicLoaderLocator.getInstance().register(getName(), this); } else { _bMustUnregister = false; _local1 = (((((this + " can't be registered to ") + GraphicLoaderLocator.getInstance()) + " with '") + getName()) + "' name. This name already exists."); PixlibDebug.ERROR(_local1); fireOnLoadErrorEvent(_local1); throw (new IllegalArgumentException(_local1)); }; }; if (_target){ setTarget(_target); }; if (_bAutoShow){ show(); } else { hide(); }; super.onInitialize(); } public function getTarget():DisplayObjectContainer{ return (_target); } override public function load(_arg1:URLRequest=null, _arg2:LoaderContext=null):void{ if (_arg2){ setContext(_arg2); }; super.load(_arg1, getContext()); } final public function setContext(_arg1:LoaderContext):void{ _oContext = _arg1; } public function isVisible():Boolean{ return (getView().visible); } } }//package com.bourre.load
Section 55
//GraphicLoaderEvent (com.bourre.load.GraphicLoaderEvent) package com.bourre.load { import flash.display.*; import flash.system.*; public class GraphicLoaderEvent extends LoaderEvent { public static const onLoadInitEVENT:String = "onLoadInit"; public static const onLoadErrorEVENT:String = "onLoadError"; public static const onLoadProgressEVENT:String = "onLoadProgress"; public static const onLoadStartEVENT:String = "onLoadStart"; public static const onLoadTimeOutEVENT:String = "onLoadTimeOut"; public function GraphicLoaderEvent(_arg1:String, _arg2:GraphicLoader, _arg3:String=""){ super(_arg1, _arg2, _arg3); } public function getView():DisplayObjectContainer{ return (getGraphicLoader().getView()); } public function getGraphicLoader():GraphicLoader{ return ((getLoader() as GraphicLoader)); } public function getApplicationDomain():ApplicationDomain{ return (getGraphicLoader().getApplicationDomain()); } } }//package com.bourre.load
Section 56
//GraphicLoaderLocator (com.bourre.load.GraphicLoaderLocator) package com.bourre.load { import flash.system.*; import com.bourre.core.*; public class GraphicLoaderLocator extends AbstractLocator { private static var _oI:GraphicLoaderLocator = null; public function GraphicLoaderLocator(_arg1:ConstructorAccess){ super(GraphicLoader, GraphicLoaderLocatorListener); } public function removeListener(_arg1:GraphicLoaderLocatorListener):Boolean{ return (getBroadcaster().removeListener(_arg1)); } override protected function onRegister(_arg1:String=null, _arg2:Object=null):void{ broadcastEvent(new GraphicLoaderLocatorEvent(GraphicLoaderLocatorEvent.onRegisterGraphicLoaderEVENT, _arg1, (_arg2 as GraphicLoader))); } public function getGraphicLoader(_arg1:String):GraphicLoader{ var gl:GraphicLoader; var name = _arg1; try { gl = (locate(name) as GraphicLoader); return (gl); } catch(e:Error) { throw (e); }; return (null); } public function addListener(_arg1:GraphicLoaderLocatorListener):Boolean{ return (getBroadcaster().addListener(_arg1)); } override protected function onUnregister(_arg1:String=null):void{ broadcastEvent(new GraphicLoaderLocatorEvent(GraphicLoaderLocatorEvent.onUnregisterGraphicLoaderEVENT, _arg1, null)); } public function getApplicationDomain(_arg1:String):ApplicationDomain{ return (getGraphicLoader(_arg1).getApplicationDomain()); } public static function getInstance():GraphicLoaderLocator{ if (!(GraphicLoaderLocator._oI is GraphicLoaderLocator)){ GraphicLoaderLocator._oI = new GraphicLoaderLocator(new ConstructorAccess()); }; return (GraphicLoaderLocator._oI); } public static function release():void{ if ((GraphicLoaderLocator._oI is GraphicLoaderLocator)){ GraphicLoaderLocator._oI = null; }; } } }//package com.bourre.load class ConstructorAccess { private function ConstructorAccess(){ } }
Section 57
//GraphicLoaderLocatorEvent (com.bourre.load.GraphicLoaderLocatorEvent) package com.bourre.load { import flash.events.*; public class GraphicLoaderLocatorEvent extends Event { protected var _gl:GraphicLoader; protected var _sName:String; public static var onRegisterGraphicLoaderEVENT:String = "onRegisterGraphicLoader"; public static var onUnregisterGraphicLoaderEVENT:String = "onUnregisterGraphicLoader"; public function GraphicLoaderLocatorEvent(_arg1:String, _arg2:String, _arg3:GraphicLoader){ super(_arg1); _sName = _arg2; _gl = _arg3; } public function getGraphicLib():GraphicLoader{ return (_gl); } public function getName():String{ return (_sName); } } }//package com.bourre.load
Section 58
//GraphicLoaderLocatorListener (com.bourre.load.GraphicLoaderLocatorListener) package com.bourre.load { public interface GraphicLoaderLocatorListener { function onUnregisterGraphicLoader(_arg1:GraphicLoaderLocatorEvent):void; function onRegisterGraphicLoader(_arg1:GraphicLoaderLocatorEvent):void; } }//package com.bourre.load
Section 59
//Loader (com.bourre.load.Loader) package com.bourre.load { import flash.system.*; import flash.net.*; import com.bourre.commands.*; import com.bourre.load.strategy.*; public interface Loader extends ASyncCommand { function getName():String; function removeEventListener(_arg1:String, _arg2:Object):Boolean; function setName(_arg1:String):void; function removeListener(_arg1:LoaderListener):Boolean; function addEventListener(_arg1:String, _arg2:Object, ... _args):Boolean; function fireOnLoadErrorEvent(_arg1:String=null):void; function load(_arg1:URLRequest=null, _arg2:LoaderContext=null):void; function getStrategy():LoadStrategy; function setURL(_arg1:URLRequest):void; function fireOnLoadInitEvent():void; function fireOnLoadProgressEvent():void; function fireOnLoadStartEvent():void; function getPerCent():Number; function setContent(_arg1:Object):void; function getURL():URLRequest; function addListener(_arg1:LoaderListener):Boolean; function prefixURL(_arg1:String):void; function setAntiCache(_arg1:Boolean):void; } }//package com.bourre.load
Section 60
//LoaderEvent (com.bourre.load.LoaderEvent) package com.bourre.load { import com.bourre.events.*; public class LoaderEvent extends BasicEvent { protected var _loader:Loader; protected var _sErrorMessage:String; public static const onLoadInitEVENT:String = "onLoadInit"; public static const onLoadErrorEVENT:String = "onLoadError"; public static const onLoadProgressEVENT:String = "onLoadProgress"; public static const onLoadStartEVENT:String = "onLoadStart"; public static const onLoadTimeOutEVENT:String = "onLoadTimeOut"; public function LoaderEvent(_arg1:String, _arg2:Loader, _arg3:String=""){ super(_arg1, _arg2); _loader = _arg2; _sErrorMessage = _arg3; } public function getLoader():Loader{ return (_loader); } public function getErrorMessage():String{ return (_sErrorMessage); } public function getName():String{ return (getLoader().getName()); } public function setErrorMessage(_arg1:String=""):void{ _sErrorMessage = ((_arg1.length > 0)) ? _arg1 : (((getLoader() + " loading fails with '") + getLoader().getURL().url) + "'"); } public function getPerCent():Number{ return (getLoader().getPerCent()); } } }//package com.bourre.load
Section 61
//LoaderListener (com.bourre.load.LoaderListener) package com.bourre.load { public interface LoaderListener { function onLoadProgress(_arg1:LoaderEvent):void; function onLoadError(_arg1:LoaderEvent):void; function onLoadInit(_arg1:LoaderEvent):void; function onLoadTimeOut(_arg1:LoaderEvent):void; function onLoadStart(_arg1:LoaderEvent):void; } }//package com.bourre.load
Section 62
//XMLLoader (com.bourre.load.XMLLoader) package com.bourre.load { public class XMLLoader extends FileLoader { public function XMLLoader(){ super(FileLoader.TEXT); } override protected function getLoaderEvent(_arg1:String, _arg2:String=""):LoaderEvent{ return (new XMLLoaderEvent(_arg1, this, _arg2)); } public function getXML():XML{ return (XML(getContent())); } } }//package com.bourre.load
Section 63
//XMLLoaderEvent (com.bourre.load.XMLLoaderEvent) package com.bourre.load { public class XMLLoaderEvent extends LoaderEvent { public static const onLoadInitEVENT:String = "onLoadInit"; public static const onLoadErrorEVENT:String = "onLoadError"; public static const onLoadProgressEVENT:String = "onLoadProgress"; public static const onLoadStartEVENT:String = "onLoadStart"; public static const onLoadTimeOutEVENT:String = "onLoadTimeOut"; public function XMLLoaderEvent(_arg1:String, _arg2:XMLLoader, _arg3:String=""){ super(_arg1, _arg2, _arg3); } public function getXMLLoader():XMLLoader{ return ((getLoader() as XMLLoader)); } public function getXML():XML{ return (getXMLLoader().getXML()); } } }//package com.bourre.load
Section 64
//BasicStringifier (com.bourre.log.BasicStringifier) package com.bourre.log { import flash.utils.*; public class BasicStringifier implements Stringifier { public function stringify(_arg1):String{ return (getQualifiedClassName(_arg1)); } public function toString():String{ return (PixlibStringifier.stringify(this)); } } }//package com.bourre.log
Section 65
//Log (com.bourre.log.Log) package com.bourre.log { import com.bourre.events.*; public interface Log { function fatal(_arg1):void; function warn(_arg1):void; function error(_arg1):void; function isOn():Boolean; function getChannel():EventChannel; function info(_arg1):void; function off():void; function debug(_arg1):void; function on():void; } }//package com.bourre.log
Section 66
//LogEvent (com.bourre.log.LogEvent) package com.bourre.log { import flash.events.*; public class LogEvent extends Event { public var level:LogLevel; public var message; public static const onLogEVENT:String = "onLog"; public function LogEvent(_arg1:LogLevel, _arg2=undefined){ super(LogEvent.onLogEVENT, false, false); this.level = _arg1; this.message = _arg2; } override public function toString():String{ return (PixlibStringifier.stringify(this)); } override public function clone():Event{ return (new LogEvent(level, message)); } } }//package com.bourre.log
Section 67
//Logger (com.bourre.log.Logger) package com.bourre.log { import com.bourre.events.*; public class Logger { private var _oLevel:LogLevel; private var _oCB:ChannelBroadcaster; private static var _oI:Logger = null; public function Logger(_arg1:ConstructorAccess){ setLevel(LogLevel.ALL); _oCB = new ChannelBroadcaster(); } public function setLevel(_arg1:LogLevel):void{ _oLevel = _arg1; } public function log(_arg1:LogEvent, _arg2:EventChannel=null):Boolean{ if (_arg1.level.getLevel() >= _oLevel.getLevel()){ _oCB.broadcastEvent(_arg1, _arg2); return (true); }; return (false); } public function removeAllListeners():void{ _oCB.empty(); } public function isRegistered(_arg1:LogListener, _arg2:EventChannel):Boolean{ return (_oCB.isRegistered(_arg1, LogEvent.onLogEVENT, _arg2)); } public function getLevel():LogLevel{ return (_oLevel); } public function hasListener(_arg1:EventChannel=null):Boolean{ return (_oCB.hasChannelListener(LogEvent.onLogEVENT, _arg1)); } public function addLogListener(_arg1:LogListener, _arg2:EventChannel=null):void{ _oCB.addEventListener(LogEvent.onLogEVENT, _arg1, _arg2); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function removeLogListener(_arg1:LogListener, _arg2:EventChannel=null):void{ _oCB.removeEventListener(LogEvent.onLogEVENT, _arg1, _arg2); } public static function DEBUG(_arg1, _arg2:EventChannel=null):Boolean{ return (Logger.LOG(_arg1, LogLevel.DEBUG, _arg2)); } public static function LOG(_arg1, _arg2:LogLevel, _arg3:EventChannel=null):Boolean{ return (Logger.getInstance().log(new LogEvent(_arg2, _arg1), _arg3)); } public static function WARN(_arg1, _arg2:EventChannel=null):Boolean{ return (Logger.LOG(_arg1, LogLevel.WARN, _arg2)); } public static function ERROR(_arg1, _arg2:EventChannel=null):Boolean{ return (Logger.LOG(_arg1, LogLevel.ERROR, _arg2)); } public static function getInstance():Logger{ if (!(Logger._oI is Logger)){ Logger._oI = new Logger(new ConstructorAccess()); }; return (Logger._oI); } public static function FATAL(_arg1, _arg2:EventChannel=null):Boolean{ return (Logger.LOG(_arg1, LogLevel.FATAL, _arg2)); } public static function INFO(_arg1, _arg2:EventChannel=null):Boolean{ return (Logger.LOG(_arg1, LogLevel.INFO, _arg2)); } } }//package com.bourre.log class ConstructorAccess { private function ConstructorAccess(){ } }
Section 68
//LogLevel (com.bourre.log.LogLevel) package com.bourre.log { public class LogLevel { private var _nLevel:Number; private var _sName:String; public static const ALL:LogLevel = new LogLevel(uint.MIN_VALUE, "ALL"); ; public static const FATAL:LogLevel = new LogLevel(50000, "FATAL"); ; public static const ERROR:LogLevel = new LogLevel(40000, "ERROR"); ; public static const WARN:LogLevel = new LogLevel(30000, "WARN"); ; public static const INFO:LogLevel = new LogLevel(20000, "INFO"); ; public static const DEBUG:LogLevel = new LogLevel(10000, "DEBUG"); ; public static const OFF:LogLevel = new LogLevel(uint.MAX_VALUE, "OFF"); ; public function LogLevel(_arg1:uint=0, _arg2:String=""){ _sName = _arg2; _nLevel = _arg1; } public function getName():String{ return (_sName); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function getLevel():uint{ return (_nLevel); } } }//package com.bourre.log
Section 69
//LogListener (com.bourre.log.LogListener) package com.bourre.log { public interface LogListener { function onLog(_arg1:LogEvent):void; } }//package com.bourre.log
Section 70
//PixlibDebug (com.bourre.log.PixlibDebug) package com.bourre.log { import com.bourre.events.*; public class PixlibDebug implements Log { protected var _channel:EventChannel; protected var _bIsOn:Boolean; private static var _oI:PixlibDebug; public function PixlibDebug(_arg1:PrivateConstructorAccess){ _channel = new PixlibDebugChannel(); on(); } public function warn(_arg1):void{ if (isOn()){ Logger.WARN(_arg1, _channel); }; } public function fatal(_arg1):void{ if (isOn()){ Logger.FATAL(_arg1, _channel); }; } public function debug(_arg1):void{ if (isOn()){ Logger.DEBUG(_arg1, _channel); }; } public function getChannel():EventChannel{ return (_channel); } public function error(_arg1):void{ if (isOn()){ Logger.ERROR(_arg1, _channel); }; } public function on():void{ _bIsOn = true; } public function isOn():Boolean{ return (_bIsOn); } public function off():void{ _bIsOn = false; } public function info(_arg1):void{ if (isOn()){ Logger.INFO(_arg1, _channel); }; } public static function set isOn(_arg1:Boolean):void{ if (_arg1){ PixlibDebug.getInstance().on(); } else { PixlibDebug.getInstance().off(); }; } public static function get CHANNEL():EventChannel{ return (PixlibDebug.getInstance().getChannel()); } public static function FATAL(_arg1):void{ PixlibDebug.getInstance().fatal(_arg1); } public static function WARN(_arg1):void{ PixlibDebug.getInstance().warn(_arg1); } public static function ERROR(_arg1):void{ PixlibDebug.getInstance().error(_arg1); } public static function getInstance():Log{ if (!(PixlibDebug._oI is PixlibDebug)){ PixlibDebug._oI = new PixlibDebug(new PrivateConstructorAccess()); }; return (PixlibDebug._oI); } public static function INFO(_arg1):void{ PixlibDebug.getInstance().info(_arg1); } public static function get isOn():Boolean{ return (PixlibDebug.getInstance().isOn()); } public static function DEBUG(_arg1):void{ PixlibDebug.getInstance().debug(_arg1); } } }//package com.bourre.log import com.bourre.events.*; class PrivateConstructorAccess { private function PrivateConstructorAccess(){ } } class PixlibDebugChannel extends EventChannel { private function PixlibDebugChannel(){ } }
Section 71
//PixlibStringifier (com.bourre.log.PixlibStringifier) package com.bourre.log { public class PixlibStringifier { private static var _STRINGIFIER:Stringifier = new BasicStringifier(); public function PixlibStringifier(_arg1:ConstructorAccess){ } public static function stringify(_arg1):String{ return (PixlibStringifier._STRINGIFIER.stringify(_arg1)); } public static function setStringifier(_arg1:Stringifier):void{ PixlibStringifier._STRINGIFIER = _arg1; } public static function getStringifier():Stringifier{ return (PixlibStringifier._STRINGIFIER); } } }//package com.bourre.log class ConstructorAccess { private function ConstructorAccess(){ } }
Section 72
//Stringifier (com.bourre.log.Stringifier) package com.bourre.log { public interface Stringifier { function stringify(_arg1):String; } }//package com.bourre.log
Section 73
//AbstractModel (com.bourre.model.AbstractModel) package com.bourre.model { import flash.events.*; import com.bourre.log.*; import com.bourre.events.*; import com.bourre.plugin.*; public class AbstractModel { private var _oEB:EventBroadcaster; private var _sName:String; private var _owner:Plugin; public static const onReleaseEVENT:String = "onRelease"; public static const onInitEVENT:String = "onInit"; public function AbstractModel(_arg1:Plugin=null, _arg2:String=null){ _oEB = new EventBroadcaster(this); setOwner(_arg1); if (_arg2){ setName(_arg2); }; } public function getLogger():PluginDebug{ return (PluginDebug.getInstance(getOwner())); } public function getName():String{ return (_sName); } public function removeEventListener(_arg1:String, _arg2:Object):Boolean{ return (_oEB.removeEventListener(_arg1, _arg2)); } protected function _firePrivateEvent(_arg1:Event):void{ getOwner().firePrivateEvent(_arg1); } public function addEventListener(_arg1:String, _arg2:Object, ... _args):Boolean{ return (_oEB.addEventListener.apply(_oEB, ((_args.length > 0)) ? [_arg1, _arg2].concat(_args) : [_arg1, _arg2])); } public function release():void{ _getBroadcaster().removeAllListeners(); ModelLocator.getInstance(getOwner()).unregister(getName()); onRelease(); _sName = null; } public function setListenerType(_arg1:Class):void{ _oEB.setListenerType(_arg1); } public function handleEvent(_arg1:Event):void{ } protected function onInit():void{ notifyChanged(new StringEvent(AbstractModel.onInitEVENT, this, getName())); } protected function _getBroadcaster():EventBroadcaster{ return (_oEB); } public function removeListener(_arg1:Object):Boolean{ return (_oEB.removeListener(_arg1)); } public function setName(_arg1:String):void{ var _local2:ModelLocator; _local2 = ModelLocator.getInstance(getOwner()); if (!_local2.isRegistered(_arg1)){ if (((!((getName() == null))) && (_local2.isRegistered(getName())))){ _local2.unregister(getName()); }; if (_local2.register(_arg1, this)){ _sName = _arg1; }; } else { getLogger().error((((this + ".setName() failed. '") + _arg1) + "' is already registered in ModelLocator.")); }; } public function notifyChanged(_arg1:Event):void{ _getBroadcaster().broadcastEvent(_arg1); } public function toString():String{ return (PixlibStringifier.stringify(this)); } protected function onRelease():void{ notifyChanged(new StringEvent(AbstractModel.onReleaseEVENT, this, getName())); } public function setOwner(_arg1:Plugin):void{ _owner = (_arg1) ? _arg1 : NullPlugin.getInstance(); } public function addListener(_arg1:Object):Boolean{ return (_oEB.addListener(_arg1)); } public function getOwner():Plugin{ return (_owner); } } }//package com.bourre.model
Section 74
//ModelLocator (com.bourre.model.ModelLocator) package com.bourre.model { import com.bourre.plugin.*; import com.bourre.collection.*; import com.bourre.core.*; public final class ModelLocator extends AbstractLocator { protected var _owner:Plugin; protected static var _M:HashMap = new HashMap(); public function ModelLocator(_arg1:PrivateConstructorAccess, _arg2:Plugin=null){ _owner = _arg2; super(AbstractModel, null, PluginDebug.getInstance(getOwner())); } public function getModel(_arg1:String):AbstractModel{ return ((locate(_arg1) as AbstractModel)); } override public function release():void{ var _local1:Iterator; _local1 = new ArrayIterator(_m.getValues()); while (_local1.hasNext()) { _local1.next().release(); }; super.release(); } override public function toString():String{ return ((super.toString() + (_owner) ? (", owner: " + _owner) : "No owner.")); } public function getOwner():Plugin{ return (_owner); } public static function getInstance(_arg1:Plugin=null):ModelLocator{ if (_arg1 == null){ _arg1 = NullPlugin.getInstance(); }; if (!ModelLocator._M.containsKey(_arg1)){ ModelLocator._M.put(_arg1, new ModelLocator(new PrivateConstructorAccess(), _arg1)); }; return (ModelLocator._M.get(_arg1)); } } }//package com.bourre.model class PrivateConstructorAccess { private function PrivateConstructorAccess(){ } }
Section 75
//NullPlugin (com.bourre.plugin.NullPlugin) package com.bourre.plugin { import flash.events.*; import com.bourre.log.*; import com.bourre.events.*; import com.bourre.model.*; import com.bourre.view.*; public final class NullPlugin implements Plugin { private var _channel:NullPluginChannel; private static var _oI:NullPlugin = null; public function NullPlugin(_arg1:PrivateConstructorAccess){ _channel = new NullPluginChannel(); } public function getModelLocator():ModelLocator{ return (ModelLocator.getInstance(this)); } public function fireOnReleasePlugin():void{ } public function getLogger():PluginDebug{ return (PluginDebug.getInstance(this)); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function firePrivateEvent(_arg1:Event):void{ } public function fireOnInitPlugin():void{ } public function fireExternalEvent(_arg1:Event, _arg2:EventChannel):void{ } public function firePublicEvent(_arg1:Event):void{ } public function getChannel():EventChannel{ return (_channel); } public function getViewLocator():ViewLocator{ return (ViewLocator.getInstance(this)); } public static function getInstance():NullPlugin{ if (!(NullPlugin._oI is NullPlugin)){ NullPlugin._oI = new NullPlugin(new PrivateConstructorAccess()); }; return (NullPlugin._oI); } } }//package com.bourre.plugin import com.bourre.events.*; class PrivateConstructorAccess { private function PrivateConstructorAccess(){ } } class NullPluginChannel extends EventChannel { private function NullPluginChannel(){ } }
Section 76
//Plugin (com.bourre.plugin.Plugin) package com.bourre.plugin { import flash.events.*; import com.bourre.events.*; import com.bourre.model.*; import com.bourre.view.*; public interface Plugin { function getViewLocator():ViewLocator; function getModelLocator():ModelLocator; function getChannel():EventChannel; function getLogger():PluginDebug; function fireExternalEvent(_arg1:Event, _arg2:EventChannel):void; function firePublicEvent(_arg1:Event):void; function firePrivateEvent(_arg1:Event):void; } }//package com.bourre.plugin
Section 77
//PluginDebug (com.bourre.plugin.PluginDebug) package com.bourre.plugin { import com.bourre.log.*; import com.bourre.events.*; import com.bourre.collection.*; public class PluginDebug implements Log { protected var _channel:EventChannel; protected var _bIsOn:Boolean; protected var _owner:Plugin; private static const _M:HashMap = new HashMap(); public static var isOn:Boolean = true; public function PluginDebug(_arg1:PrivateConstructorAccess, _arg2:Plugin=null){ _owner = _arg2; _channel = _arg2.getChannel(); on(); } public function fatal(_arg1):void{ if (((PluginDebug.isOn) && (_bIsOn))){ Logger.FATAL(_arg1, _channel); }; } public function getChannel():EventChannel{ return (_channel); } public function warn(_arg1):void{ if (((PluginDebug.isOn) && (_bIsOn))){ Logger.WARN(_arg1, _channel); }; } public function error(_arg1):void{ if (((PluginDebug.isOn) && (_bIsOn))){ Logger.ERROR(_arg1, _channel); }; } public function debug(_arg1):void{ if (((PluginDebug.isOn) && (_bIsOn))){ Logger.DEBUG(_arg1, _channel); }; } public function on():void{ _bIsOn = true; } public function isOn():Boolean{ return (_bIsOn); } public function info(_arg1):void{ if (((PluginDebug.isOn) && (_bIsOn))){ Logger.INFO(_arg1, _channel); }; } public function off():void{ _bIsOn = false; } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function getOwner():Plugin{ return (_owner); } public static function release(_arg1:Plugin):Boolean{ if (PluginDebug._M.containsKey(_arg1)){ PluginDebug._M.remove(_arg1); return (true); }; return (false); } public static function getInstance(_arg1:Plugin=null):PluginDebug{ if (_arg1 == null){ _arg1 = NullPlugin.getInstance(); }; if (!PluginDebug._M.containsKey(_arg1)){ PluginDebug._M.put(_arg1, new PluginDebug(new PrivateConstructorAccess(), _arg1)); }; return (PluginDebug._M.get(_arg1)); } } }//package com.bourre.plugin class PrivateConstructorAccess { private function PrivateConstructorAccess(){ } }
Section 78
//Dimension (com.bourre.structures.Dimension) package com.bourre.structures { import flash.geom.*; import com.bourre.log.*; public class Dimension { public var width:Number; public var height:Number; public function Dimension(_arg1:Number=0, _arg2:Number=0){ this.width = _arg1; this.height = _arg2; } public function setSize(_arg1:Dimension):void{ width = _arg1.width; height = _arg1.height; } public function scale(_arg1:Number):Dimension{ return (new Dimension((width * _arg1), (height * _arg1))); } public function setSizeWH(_arg1:Number, _arg2:Number):void{ this.width = _arg1; this.height = _arg2; } public function toPoint():Point{ return (new Point(width, height)); } public function toString():String{ return ((((((PixlibStringifier.stringify(this) + "[") + width) + ", ") + height) + "]")); } public function clone():Dimension{ return (new Dimension(width, height)); } public function equals(_arg1:Dimension):Boolean{ return ((((width == _arg1.width)) && ((height == _arg1.height)))); } } }//package com.bourre.structures
Section 79
//TickListener (com.bourre.transitions.TickListener) package com.bourre.transitions { import flash.events.*; public interface TickListener { function onTick(_arg1:Event=null):void; } }//package com.bourre.transitions
Section 80
//ClassUtils (com.bourre.utils.ClassUtils) package com.bourre.utils { import flash.utils.*; public class ClassUtils { public static function isImplemented(_arg1:Object, _arg2:String, _arg3:String):Boolean{ var x:XML; var declaredBy:String; var o = _arg1; var classPath = _arg2; var f = _arg3; x = describeType(o); declaredBy = x..method.(@name == f).@declaredBy; return (!((declaredBy == classPath))); } public static function isImplementedAll(_arg1:Object, _arg2:String, ... _args):Boolean{ var i:Number; var x:XML; var declaredBy:String; var o = _arg1; var classPath = _arg2; var rest = _args; i = (rest.length - 1); x = describeType(o); while ((i = (i - 1)), ((i - 1) - -1)) { declaredBy = x..method.(@name == rest[i]).@declaredBy; if (declaredBy == classPath){ return (false); }; }; return (true); } public static function inherit(_arg1:Class, _arg2:Class):Boolean{ var xml:XML; var parent:String; var childClass = _arg1; var parentClass = _arg2; xml = describeType(childClass); parent = getQualifiedClassName(parentClass); return ((((xml.factory.extendsClass.(@type == parent).length() > 0)) || ((xml.factory.implementsInterface.(@type == parent).length() > 0)))); } } }//package com.bourre.utils
Section 81
//AbstractView (com.bourre.view.AbstractView) package com.bourre.view { import flash.events.*; import flash.display.*; import flash.geom.*; import com.bourre.load.*; import com.bourre.log.*; import com.bourre.events.*; import com.bourre.plugin.*; import com.bourre.structures.*; import com.bourre.error.*; public class AbstractView { protected var _gl:GraphicLoader; protected var _oEB:EventBroadcaster; protected var _sName:String; public var view:DisplayObject; protected var _owner:Plugin; public static const onReleaseEVENT:String = "onRelease"; public static const onInitEVENT:String = "onInit"; public function AbstractView(_arg1:Plugin=null, _arg2:String=null, _arg3:DisplayObject=null){ _oEB = new EventBroadcaster(this); setOwner(_arg1); if (_arg2 != null){ _initAbstractView(_arg2, _arg3, null); }; } public function resolveUI(_arg1:String):DisplayObject{ var _local2:DisplayObject; var _local3:Array; var _local4:int; var _local5:int; var _local6:String; _local2 = this.view; _local3 = _arg1.split("."); _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local6 = _local3[_local5]; if ((((_local2 is DisplayObjectContainer)) && (!(((_local2 as DisplayObjectContainer).getChildByName(_local6) == null))))){ _local2 = (_local2 as DisplayObjectContainer).getChildByName(_local6); } else { getLogger().error((((this + ".resolveUI(") + _arg1) + ") failed.")); return (null); }; _local5++; }; return (_local2); } public function hide():void{ view.visible = false; } public function setSize(_arg1:Dimension):void{ view.width = _arg1.width; view.height = _arg1.height; } public function getLogger():PluginDebug{ return (PluginDebug.getInstance(getOwner())); } public function getOwner():Plugin{ return (_owner); } public function release():void{ _getBroadcaster().removeAllListeners(); ViewLocator.getInstance(getOwner()).unregister(getName()); if (view != null){ if (view.parent != null){ view.parent.removeChild(view); }; view = null; }; if (_gl != null){ _gl.release(); }; onRelease(); _sName = null; } public function getName():String{ return (_sName); } public function move(_arg1:Number, _arg2:Number):void{ view.x = _arg1; view.y = _arg2; } public function handleEvent(_arg1:Event):void{ } protected function _firePrivateEvent(_arg1:Event):void{ getOwner().firePrivateEvent(_arg1); } public function setSizeWH(_arg1:Number, _arg2:Number):void{ view.width = _arg1; view.height = _arg2; } public function isVisible():Boolean{ return (view.visible); } protected function onInit():void{ notifyChanged(new StringEvent(AbstractView.onInitEVENT, this, getName())); } public function canResolveUI(_arg1:String):Boolean{ var label = _arg1; try { return ((resolveUI(label) is DisplayObject)); } catch(e:Error) { return (false); }; return (false); } public function removeListener(_arg1:Object):Boolean{ return (_oEB.removeListener(_arg1)); } public function getSize():Dimension{ return (new Dimension(view.width, view.height)); } public function addEventListener(_arg1:String, _arg2:Object, ... _args):Boolean{ return (_oEB.addEventListener.apply(_oEB, ((_args.length > 0)) ? [_arg1, _arg2].concat(_args) : [_arg1, _arg2])); } protected function _getBroadcaster():EventBroadcaster{ return (_oEB); } public function removeEventListener(_arg1:String, _arg2:Object):Boolean{ return (_oEB.removeEventListener(_arg1, _arg2)); } public function resolveFunction(_arg1:String):Function{ var _local2:Array; var _local3:String; var _local4:DisplayObjectContainer; _local2 = _arg1.split("."); _local3 = _local2.pop(); _local4 = (resolveUI(_local2.join(".")) as DisplayObjectContainer); if (((_local4.hasOwnProperty(_local3)) && ((_local4[_local3] is Function)))){ return (_local4[_local3]); }; getLogger().error((((this + ".resolveFunction(") + _arg1) + ") failed.")); return (null); } public function getPosition():Point{ return (new Point(view.x, view.y)); } protected function onRelease():void{ notifyChanged(new StringEvent(AbstractView.onReleaseEVENT, this, getName())); } public function notifyChanged(_arg1:Event):void{ _getBroadcaster().broadcastEvent(_arg1); } public function toString():String{ return (PixlibStringifier.stringify(this)); } public function registerView(_arg1:DisplayObject, _arg2:String=null):void{ _initAbstractView(getName(), _arg1, (((_arg2) && (!((_arg2 == getName()))))) ? _arg2 : null); } public function setVisible(_arg1:Boolean):void{ if (_arg1){ show(); } else { hide(); }; } public function setOwner(_arg1:Plugin):void{ _owner = (_arg1) ? _arg1 : NullPlugin.getInstance(); } public function addListener(_arg1:Object):Boolean{ return (_oEB.addListener(_arg1)); } private function _initAbstractView(_arg1:String, _arg2:DisplayObject, _arg3:String):void{ if (_arg2 != null){ this.view = _arg2; } else { if (GraphicLoaderLocator.getInstance().isRegistered(_arg1)){ _gl = GraphicLoaderLocator.getInstance().getGraphicLoader(_arg1); if (_gl != null){ this.view = _gl.getView(); } else { getLogger().error((("Invalid arguments for " + this) + " constructor.")); return; }; }; }; setName((_arg3) ? _arg3 : _arg1); onInit(); } public function registerGraphicLoader(_arg1:String, _arg2:String=null):void{ _initAbstractView(_arg1, null, (((_arg2) && (!((_arg2 == getName()))))) ? _arg2 : null); } public function setName(_arg1:String):void{ var _local2:ViewLocator; var _local3:String; _local2 = ViewLocator.getInstance(getOwner()); if (((!((_arg1 == null))) && (!(_local2.isRegistered(_arg1))))){ if (((!((getName() == null))) && (_local2.isRegistered(getName())))){ _local2.unregister(getName()); }; if (_local2.register(_arg1, this)){ _sName = _arg1; }; } else { _local3 = (((this + ".setName() failed. '") + _arg1) + "' is already registered in MovieClipHelperLocator."); getLogger().error(_local3); throw (new IllegalArgumentException(_local3)); }; } public function canResolveFunction(_arg1:String):Boolean{ var label = _arg1; try { return ((resolveFunction(label) is Function)); } catch(e:Error) { return (false); }; return (false); } public function show():void{ view.visible = true; } } }//package com.bourre.view
Section 82
//ViewLocator (com.bourre.view.ViewLocator) package com.bourre.view { import com.bourre.plugin.*; import com.bourre.collection.*; import com.bourre.core.*; import com.bourre.error.*; public final class ViewLocator extends AbstractLocator { protected var _owner:Plugin; protected static var _M:HashMap = new HashMap(); public function ViewLocator(_arg1:PrivateConstructorAccess, _arg2:Plugin=null){ _owner = _arg2; super(AbstractView, null, PluginDebug.getInstance(getOwner())); } override public function release():void{ var _local1:Iterator; _local1 = new ArrayIterator(_m.getValues()); while (_local1.hasNext()) { _local1.next().release(); }; super.release(); } public function getView(_arg1:String):AbstractView{ return ((locate(_arg1) as AbstractView)); } override public function register(_arg1:String, _arg2:Object):Boolean{ if (_arg1 == null){ throw (new NullPointerException("Cannot register a view with a null name")); }; if (_arg2 == null){ throw (new NullPointerException("Cannot register a null view")); }; return (super.register(_arg1, _arg2)); } override public function toString():String{ return ((super.toString() + (_owner) ? (", owner: " + _owner) : "No owner.")); } public function getOwner():Plugin{ return (_owner); } public static function getInstance(_arg1:Plugin=null):ViewLocator{ if (_arg1 == null){ _arg1 = NullPlugin.getInstance(); }; if (!ViewLocator._M.containsKey(_arg1)){ ViewLocator._M.put(_arg1, new ViewLocator(new PrivateConstructorAccess(), _arg1)); }; return (ViewLocator._M.get(_arg1)); } } }//package com.bourre.view class PrivateConstructorAccess { private function PrivateConstructorAccess(){ } }
Section 83
//GameEvent (com.gamesandweb.game.events.GameEvent) package com.gamesandweb.game.events { import flash.events.*; public class GameEvent extends Event { public var name:String; public static const MILESTONE_REACH:String = "milestoneReach"; public function GameEvent(_arg1:String, _arg2:String=null, _arg3:Boolean=false, _arg4:Boolean=false){ super(_arg1, _arg3, _arg4); this.name = _arg2; } } }//package com.gamesandweb.game.events
Section 84
//GameContext (com.gamesandweb.game.GameContext) package com.gamesandweb.game { import flash.display.*; import flash.geom.*; public class GameContext { private static var _gameSpriteOrigin:Point = null; private static var _lang:String = ""; private static var _debugMode:Boolean = false; private static var _gameHeight:int = 400; private static var _instance:GameContext = null; private static var _gameWidth:int = 600; private static var _gameSprite:Sprite = null; private static var _basePath:String = ""; private static var _stage:Stage = null; public static function get GameSpriteOrigin():Point{ return (_gameSpriteOrigin); } public static function get DebugMode():Boolean{ return (_debugMode); } public static function get GameSprite():Sprite{ return (_gameSprite); } public static function get Lang():String{ return (_lang); } public static function get GameWidth():int{ return (_gameWidth); } public static function get GameHeight():int{ return (_gameHeight); } public static function set Lang(_arg1:String):void{ _lang = _arg1; } public static function set BasePath(_arg1:String):void{ _basePath = _arg1; } public static function Initialize(_arg1:Sprite, _arg2:int, _arg3:int, _arg4:Boolean):void{ _gameSprite = _arg1; _stage = _arg1.stage; _gameSpriteOrigin = _gameSprite.localToGlobal(new Point()); _gameWidth = _arg2; _gameHeight = _arg3; _debugMode = _arg4; } public static function get GlobalStage():Stage{ return (_stage); } public static function get BasePath():String{ return (_basePath); } } }//package com.gamesandweb.game
Section 85
//Global (com.gamesandweb.game.Global) package com.gamesandweb.game { import flash.events.*; import flash.display.*; import com.luminicbox.log.*; import com.gamesandweb.game.events.*; import com.gamesandweb.graphics.*; public class Global { private static var _dispatcher:EventDispatcher = null; private static var _logger:Logger; public static function Initialize(_arg1):void{ _dispatcher = new EventDispatcher(); _logger = new Logger("GlobalLogger"); _logger.addPublisher(new ConsolePublisher()); } public static function DispatchAnimationEnd(_arg1:MovieClip):void{ _arg1.dispatchEvent(new Event(MovieClipContainer.ANIMATION_END)); } public static function Log(_arg1:Object):void{ _logger.log(_arg1); } public static function DispatchGameEvent(_arg1:String):void{ _dispatcher.dispatchEvent(new GameEvent(GameEvent.MILESTONE_REACH, _arg1)); } public static function DispatchEvent(_arg1:Event):void{ _dispatcher.dispatchEvent(_arg1); } public static function AddEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } } }//package com.gamesandweb.game
Section 86
//MovieClipContainer (com.gamesandweb.graphics.MovieClipContainer) package com.gamesandweb.graphics { import flash.utils.*; import flash.events.*; import flash.display.*; public class MovieClipContainer extends Sprite { protected var _activeSkin:MovieClip;// = null protected var _frames:Dictionary;// = null public static const ANIMATION_END:String = "AnimationEndEvent"; public function MovieClipContainer(){ _frames = null; _activeSkin = null; super(); _frames = new Dictionary(); } public function RemoveSkin(_arg1:String):void{ delete _frames[_arg1]; } protected function OnAnimationEnd(_arg1:Event):void{ this.dispatchEvent(new Event(ANIMATION_END)); } public function GetActiveSkin():MovieClip{ return (_activeSkin); } public function AddSkin(_arg1:String, _arg2:MovieClip):void{ _frames[_arg1] = _arg2; } public function GetSkin(_arg1:String):MovieClip{ if (_frames[_arg1]){ return (_frames[_arg1]); }; return (null); } public function SetSkin(_arg1:String, _arg2:Boolean=true):void{ var name = _arg1; var propagates = _arg2; if (_activeSkin != _frames[name]){ if (_frames[name]){ if (_activeSkin){ try { _activeSkin.removeEventListener(ANIMATION_END, OnAnimationEnd); } catch(e:Error) { }; }; if (this.numChildren){ this.removeChildAt(0); }; this.addChild(_frames[name]); _activeSkin = _frames[name]; if (propagates){ _activeSkin.addEventListener(ANIMATION_END, OnAnimationEnd); }; }; }; } public function Release():void{ var _local1:Object; _activeSkin.removeEventListener(ANIMATION_END, OnAnimationEnd); this.removeChildAt(0); for (_local1 in _frames) { (_frames[_local1] as MovieClip).stop(); delete _frames[_local1]; }; _activeSkin = null; } } }//package com.gamesandweb.graphics
Section 87
//UIWidget (com.gamesandweb.ui.UIWidget) package com.gamesandweb.ui { import flash.events.*; import flash.display.*; import com.gamesandweb.game.*; public class UIWidget extends EventDispatcher { protected var _view:MovieClip;// = null protected var _depth:int;// = -1 protected var _hasFadeOut:Boolean;// = false protected var _hasFadeIn:Boolean;// = false public static const SECOND_ACTION:String = "OnSecondAction"; public static const BACK:String = "OnBack"; public static const FADE_IN:String = "OnFadeIn"; public static const FADE_OUT:String = "OnFadeOut"; public static const FADE_OUT_OVER:String = "OnFadeOutOver"; public static const FADE_IN_OVER:String = "OnFadeInOver"; public static const ACTION:String = "OnAction"; public static const FORTH:String = "OnForth"; public function UIWidget(_arg1:MovieClip, _arg2:int=-1){ _view = null; _depth = -1; _hasFadeIn = false; _hasFadeOut = false; super(); _view = _arg1; _depth = _arg2; Validate(); _view.addEventListener(UIWidget.FADE_IN, OnFadeIn); _view.addEventListener(UIWidget.FADE_IN_OVER, OnFadeInOver); _view.addEventListener(UIWidget.FADE_OUT, OnFadeOut); _view.addEventListener(UIWidget.FADE_OUT_OVER, OnFadeOutOver); _view.addEventListener(UIWidget.FORTH, OnForth); _view.addEventListener(UIWidget.BACK, OnBack); _view.addEventListener(UIWidget.ACTION, OnAction); _view.addEventListener(UIWidget.SECOND_ACTION, OnSecondAction); Init(); } public function get View():MovieClip{ return (_view); } public function ShowFadedIn():void{ if (_view.currentLabel != "FadedIn"){ _view.gotoAndStop("FadedIn"); _view.visible = true; }; } public function FadeOut():void{ if (_hasFadeOut){ _view.gotoAndPlay("End"); } else { Global.Log((_view + " is not ready for fading out")); _view.gotoAndStop(_view.totalFrames); OnFadeOut(null); }; } public function OnSecondAction(_arg1:Event):void{ dispatchEvent(_arg1); } public function get HasFadeOut():Boolean{ return (_hasFadeOut); } public function OnFadeInOver(_arg1:Event):void{ dispatchEvent(_arg1); } public function get HasFadeIn():Boolean{ return (_hasFadeIn); } public function OnAction(_arg1:Event):void{ dispatchEvent(_arg1); } public function Show():void{ _view.visible = true; } public function OnFadeIn(_arg1:Event):void{ dispatchEvent(_arg1); } public function FadeIn():void{ _view.visible = true; if (_hasFadeIn){ _view.gotoAndPlay("Start"); } else { Global.Log((_view + " is not ready for fading in")); _view.gotoAndStop(1); OnFadeIn(null); }; } public function Stop():void{ _view.stop(); } public function get Depth():int{ return (_depth); } public function OnFadeOutOver(_arg1:Event):void{ dispatchEvent(_arg1); _view.visible = false; } public function OnBack(_arg1:Event):void{ dispatchEvent(_arg1); } public function Hide():void{ _view.visible = false; } public function Init():void{ Validate(); } public function Play():void{ _view.play(); } public function OnFadeOut(_arg1:Event):void{ dispatchEvent(_arg1); } public function Validate():void{ var _local1:int; _local1 = 0; while (_local1 < _view.currentLabels.length) { if (_view.currentLabels[_local1].name == "Start"){ _hasFadeIn = true; }; if (_view.currentLabels[_local1].name == "End"){ _hasFadeOut = true; }; _local1++; }; } public function OnForth(_arg1:Event):void{ dispatchEvent(_arg1); } } }//package com.gamesandweb.ui
Section 88
//Key (com.gamesandweb.utils.Key) package com.gamesandweb.utils { import flash.events.*; import flash.display.*; public class Key { public static const Left:int = 37; public static const A:int = 65; public static const B:int = 66; public static const C:int = 67; public static const D:int = 68; public static const E:int = 69; public static const F:int = 70; public static const G:int = 71; public static const H:int = 72; public static const I:int = 73; public static const J:int = 74; public static const K:int = 75; public static const L:int = 76; public static const M:int = 77; public static const N:int = 78; public static const O:int = 79; public static const P:int = 80; public static const Q:int = 81; public static const R:int = 82; public static const S:int = 83; public static const T:int = 84; public static const U:int = 85; public static const V:int = 86; public static const W:int = 87; public static const X:int = 88; public static const Y:int = 89; public static const Z:int = 90; public static const Multiply:int = 106; public static const Backspace:int = 8; public static const a:int = 65; public static const b:int = 66; public static const c:int = 67; public static const d:int = 68; public static const e:int = 69; public static const f:int = 70; public static const g:int = 71; public static const h:int = 72; public static const i:int = 73; public static const j:int = 74; public static const k:int = 75; public static const l:int = 76; public static const m:int = 77; public static const n:int = 78; public static const o:int = 79; public static const p:int = 80; public static const q:int = 81; public static const r:int = 82; public static const s:int = 83; public static const t:int = 84; public static const u:int = 85; public static const v:int = 86; public static const w:int = 87; public static const x:int = 88; public static const y:int = 89; public static const z:int = 90; public static const Add:int = 107; public static const Divide:int = 111; public static const RightMouseButton:int = 2; public static const F1:int = 112; public static const F3:int = 114; public static const np1:int = 97; public static const np3:int = 99; public static const np5:int = 101; public static const np0:int = 96; public static const np2:int = 98; public static const Enter:int = 13; public static const np4:int = 100; public static const F9:int = 120; public static const np6:int = 102; public static const np8:int = 104; public static const F5:int = 116; public static const F6:int = 117; public static const F7:int = 118; public static const F8:int = 119; public static const Down:int = 40; public static const np7:int = 103; public static const np9:int = 105; public static const End:int = 35; public static const Shift:int = 16; public static const F2:int = 113; public static const Up:int = 38; public static const F4:int = 115; public static const F14:int = 125; public static const F11:int = 122; public static const F13:int = 124; public static const F15:int = 126; public static const F12:int = 123; public static const Insert:int = 45; public static const Home:int = 36; public static const ScrLk:int = 145; public static const Decimal:int = 110; public static const Subtract:int = 109; public static const Control:int = 17; public static const Esc:int = 27; public static const Spacebar:int = 32; public static const Tab:int = 9; public static const n0:int = 48; public static const n1:int = 49; public static const n2:int = 50; public static const n3:int = 51; public static const n4:int = 52; public static const n5:int = 53; public static const n6:int = 54; public static const n7:int = 55; public static const n8:int = 56; public static const n9:int = 57; public static const LeftMouseButton:int = 1; public static const PageUp:int = 33; public static const NumLock:int = 144; public static const Delete:int = 46; public static const CapsLock:int = 20; public static const PageDown:int = 34; public static const Right:int = 39; private static var keysDown:Object = new Object(); private static var initialized:Boolean = false; private static var _stage:Stage = null; public static function finalize():void{ _stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyPressed); _stage.removeEventListener(KeyboardEvent.KEY_UP, keyReleased); _stage.removeEventListener(Event.DEACTIVATE, clearKeys); _stage = null; } private static function keyReleased(_arg1:KeyboardEvent):void{ if ((_arg1.keyCode in keysDown)){ delete keysDown[_arg1.keyCode]; }; } private static function keyPressed(_arg1:KeyboardEvent):void{ keysDown[_arg1.keyCode] = true; } public static function isDown(_arg1:uint):Boolean{ if (!initialized){ throw (new Error("Key class has already been initialized.")); }; return (Boolean((_arg1 in keysDown))); } public static function initialize(_arg1:Stage):void{ if (!initialized){ _arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); _arg1.addEventListener(KeyboardEvent.KEY_UP, keyReleased); _arg1.addEventListener(Event.DEACTIVATE, clearKeys); _stage = _arg1; initialized = true; }; } private static function clearKeys(_arg1:Event):void{ keysDown = new Object(); } } }//package com.gamesandweb.utils
Section 89
//ConsolePublisher (com.luminicbox.log.ConsolePublisher) package com.luminicbox.log { import flash.text.*; import flash.events.*; import flash.display.*; import flash.media.*; import flash.net.*; public class ConsolePublisher implements IPublisher { private var _maxDepth:Number; private var _version:Number;// = 0.1 public function ConsolePublisher(){ _version = 0.1; super(); _maxDepth = 4; } public function toString():String{ return ("ConsolePublisher"); } private function getType(_arg1:Object):Object{ var _local2:String; var _local3:Object; _local2 = typeof(_arg1); _local3 = new Object(); _local3.inspectable = true; _local3.name = _local2; if ((((((((((_local2 == "boolean")) || ((_local2 == "function")))) || ((_local2 == "number")))) || ((_local2 == "string")))) || ((_local2 == "undefined")))){ _local3.inspectable = false; } else { if ((_arg1 is Array)){ _local3.name = "array"; } else { if ((_arg1 is Date)){ _local3.inspectable = false; _local3.name = "date"; } else { if ((_arg1 is MovieClip)){ _local3.name = "movieclip"; } else { if ((_arg1 is Loader)){ _local3.name = "loader"; } else { if ((_arg1 is Sprite)){ _local3.name = "sprite"; } else { if ((_arg1 is Stage)){ _local3.name = "stage"; } else { if ((_arg1 is DisplayObjectContainer)){ _local3.name = "displayobjectcontainer"; } else { if ((_arg1 is SimpleButton)){ _local3.name = "simplebutton"; } else { if ((_arg1 is TextField)){ _local3.name = "textfield"; } else { if ((_arg1 is AVM1Movie)){ _local3.name = "avm1movie"; } else { if ((_arg1 is Bitmap)){ _local3.name = "bitmap"; } else { if ((_arg1 is InteractiveObject)){ _local3.name = "interactiveobject"; } else { if ((_arg1 is MorphShape)){ _local3.name = "morphshape"; } else { if ((_arg1 is Shape)){ _local3.name = "shape"; } else { if ((_arg1 is StaticText)){ _local3.name = "statictext"; } else { if ((_arg1 is Video)){ _local3.name = "video"; } else { if ((_arg1 is DisplayObject)){ _local3.name = "displayobject"; } else { if ((_arg1 is XMLList)){ _local3.name = "xmllist"; _local3.stringify = true; } else { if ((_arg1 is XML)){ _local3.name = "xml"; _local3.stringify = true; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; return (_local3); } public function publish(_arg1:LogEvent):void{ var _local2:Object; var _local3:LocalConnection; _local2 = LogEvent.serialize(_arg1); _local2.argument = serializeObj(_local2.argument, 1); _local3 = new LocalConnection(); _local3.addEventListener(StatusEvent.STATUS, onStatus); _local3.send("_luminicbox_log_console", "log", _local2); } private function serializeObj(_arg1:Object, _arg2:Number):Object{ var _local3:Object; var _local4:Object; var _local5:Array; var _local6:Number; var _local7:String; _local3 = getType(_arg1); _local4 = new Object(); if (!_local3.inspectable){ _local4.value = _arg1; } else { if (_local3.stringify){ _local4.value = (_arg1 + ""); } else { if (_arg2 <= _maxDepth){ if ((((((((((((((((((((((((((((((_local3.name == "movieclip")) || ((_local3.name == "loader")))) || ((_local3.name == "sprite")))) || ((_local3.name == "stage")))) || ((_local3.name == "displayobjectcontainer")))) || ((_local3.name == "simplebutton")))) || ((_local3.name == "textfield")))) || ((_local3.name == "avm1movie")))) || ((_local3.name == "bitmap")))) || ((_local3.name == "interactiveobject")))) || ((_local3.name == "morphshape")))) || ((_local3.name == "shape")))) || ((_local3.name == "statictext")))) || ((_local3.name == "video")))) || ((_local3.name == "displayobject")))){ _local4.id = (_arg1 + ""); }; _local5 = new Array(); if ((_arg1 is Array)){ _local6 = 0; while (_local6 < _arg1.length) { _local5.push({property:_local6, value:serializeObj(_arg1[_local6], (_arg2 + 1))}); _local6++; }; } else { for (_local7 in _arg1) { _local5.push({property:_local7, value:serializeObj(_arg1[_local7], (_arg2 + 1))}); }; }; _local4.value = _local5; } else { _local4.reachLimit = true; }; }; }; _local4.type = _local3.name; return (_local4); } private function onStatus(_arg1:StatusEvent):void{ if (_arg1.level == "error"){ trace("LocalConnection.send() failed\nMake sure the FlashInspector is running\n"); }; } public function set maxDepth(_arg1:Number):void{ _maxDepth = ((_maxDepth)>0xFF) ? 0xFF : _arg1; } public function get maxDepth():Number{ return (_maxDepth); } } }//package com.luminicbox.log
Section 90
//IPublisher (com.luminicbox.log.IPublisher) package com.luminicbox.log { public interface IPublisher { function toString():String; function publish(_arg1:LogEvent):void; } }//package com.luminicbox.log
Section 91
//Level (com.luminicbox.log.Level) package com.luminicbox.log { public class Level { private var _value:Number; private var _name:String; public static var ALL:Level = new Level("ALL", 1); ; public static var LOG:Level = new Level("LOG", 1); ; public static var FATAL:Level = new Level("FATAL", 32); ; public static var WARN:Level = new Level("WARN", 8); ; public static var INFO:Level = new Level("INFO", 4); ; public static var ERROR:Level = new Level("ERROR", 16); ; public static var DEBUG:Level = new Level("DEBUG", 2); ; public static var NONE:Level = new Level("NONE", 0x0400); ; public function Level(_arg1:String, _arg2:Number){ this._name = _arg1; this._value = _arg2; } public function getName():String{ return (_name); } public function toString():String{ return (getName()); } public function getValue():Number{ return (_value); } } }//package com.luminicbox.log
Section 92
//LogEvent (com.luminicbox.log.LogEvent) package com.luminicbox.log { public class LogEvent { public var level:Level; public var loggerId:String; public var time:Date; public var argument:Object; public function LogEvent(_arg1:String, _arg2:Object, _arg3:Level){ this.loggerId = _arg1; this.argument = _arg2; this.level = _arg3; time = new Date(); } public static function serialize(_arg1:LogEvent):Object{ var _local2:Object; _local2 = new Object(); _local2.loggerId = _arg1.loggerId; _local2.time = _arg1.time; _local2.levelName = _arg1.level.getName(); _local2.argument = _arg1.argument; return (_local2); } public static function deserialize(_arg1:Object):LogEvent{ var _local2:Level; var _local3:LogEvent; _local2 = Level[("" + _arg1.levelName)]; _local3 = new LogEvent(_arg1.loggerId, _arg1.argument, _local2); _local3.time = _arg1.time; return (_local3); } } }//package com.luminicbox.log
Section 93
//Logger (com.luminicbox.log.Logger) package com.luminicbox.log { public class Logger { private var _level:Level; private var _loggerId:String; private var _publishers:Array; private var _filters:Array; public function Logger(_arg1:String=""){ if (_arg1.length > 0){ this._loggerId = _arg1; }; this._level = Level.LOG; _publishers = new Array(); _filters = new Array(); } public function setLevel(_arg1:Level):void{ _level = _arg1; } public function log(_arg1:Object):void{ publish(_arg1, Level.LOG); } public function warn(_arg1:Object):void{ publish(_arg1, Level.WARN); } public function error(_arg1:Object):void{ publish(_arg1, Level.ERROR); } public function fatal(_arg1:Object):void{ publish(_arg1, Level.FATAL); } public function getPublishers():Array{ return (_publishers); } public function info(_arg1:Object):void{ publish(_arg1, Level.INFO); } public function debug(_arg1:Object):void{ publish(_arg1, Level.DEBUG); } public function addPublisher(_arg1:IPublisher):void{ if (!_publishers[_arg1.toString()]){ _publishers[_arg1.toString()] = _arg1; }; } private function publish(_arg1:Object, _arg2:Level):void{ var _local3:LogEvent; var _local4:String; if (_arg2.getValue() >= _level.getValue()){ _local3 = new LogEvent(this._loggerId, _arg1, _arg2); for (_local4 in _publishers) { IPublisher(_publishers[_local4]).publish(_local3); }; }; } public function removePublisher(_arg1:IPublisher):void{ delete _publishers[_arg1.toString()]; } } }//package com.luminicbox.log
Section 94
//SoundManager (com.reintroducing.sound.SoundManager) package com.reintroducing.sound { import flash.utils.*; import flash.events.*; import flash.system.*; import flash.media.*; import gs.*; import flash.net.*; public class SoundManager { private var _soundsDict:Dictionary; private var _sounds:Array; private var _applicationDomain:ApplicationDomain;// = null private static var _instance:SoundManager; private static var _allowInstance:Boolean; public function SoundManager(){ _applicationDomain = null; super(); this._soundsDict = new Dictionary(true); this._sounds = new Array(); if (!SoundManager._allowInstance){ throw (new Error("Error: Use SoundManager.getInstance() instead of the new keyword.")); }; } public function fadeSound(_arg1:String, _arg2:Number=0, _arg3:Number=1, _arg4:Function=null):void{ var _local5:SoundChannel; _local5 = this._soundsDict[_arg1].channel; if (_arg4 == null){ TweenLite.to(_local5, _arg3, {volume:_arg2}); } else { TweenLite.to(_local5, _arg3, {volume:_arg2, onComplete:_arg4}); }; } public function get sounds():Array{ return (this._sounds); } public function addExternalSound(_arg1:String, _arg2:String, _arg3:Number=1000, _arg4:Boolean=false):Boolean{ var _local5:int; var _local6:int; var _local7:Object; var _local8:Sound; _local5 = this._sounds.length; _local6 = 0; while (_local6 < _local5) { if (this._sounds[_local6].name == _arg2){ return (false); }; _local6++; }; _local7 = new Object(); _local8 = new Sound(new URLRequest(_arg1), new SoundLoaderContext(_arg3, _arg4)); _local7.name = _arg2; _local7.sound = _local8; _local7.channel = new SoundChannel(); _local7.position = 0; _local7.played = false; _local7.paused = true; _local7.volume = 1; _local7.startTime = 0; _local7.loops = 0; _local7.pausedByAll = false; this._soundsDict[_arg2] = _local7; this._sounds.push(_local7); return (true); } public function getSoundDuration(_arg1:String):Number{ return (this._soundsDict[_arg1].sound.length); } public function setSoundVolume(_arg1:String, _arg2:Number):void{ var _local3:Object; var _local4:SoundTransform; _local3 = this._soundsDict[_arg1]; _local4 = _local3.channel.soundTransform; _local4.volume = _arg2; _local3.channel.soundTransform = _local4; } public function set MyApplicationDomain(_arg1:ApplicationDomain):void{ _applicationDomain = _arg1; } public function getSoundVolume(_arg1:String):Number{ return (this._soundsDict[_arg1].channel.soundTransform.volume); } public function addLibrarySound(_arg1, _arg2:String, _arg3:Number=1):Boolean{ var _local4:int; var _local5:int; var _local6:Object; var _local7:Class; var _local8:Sound; _local4 = this._sounds.length; _local5 = 0; while (_local5 < _local4) { if (this._sounds[_local5].name == _arg2){ return (false); }; _local5++; }; _local6 = new Object(); if (_applicationDomain == null){ _applicationDomain = ApplicationDomain.currentDomain; }; _local7 = (_applicationDomain.getDefinition(_arg1) as Class); _local8 = new (_local7); _local6.name = _arg2; _local6.sound = _local8; _local6.channel = new SoundChannel(); _local6.position = 0; _local6.played = false; _local6.paused = true; _local6.volume = _arg3; _local6.startTime = 0; _local6.loops = 0; _local6.pausedByAll = false; this._soundsDict[_arg2] = _local6; this._sounds.push(_local6); return (true); } public function toString():String{ return (getQualifiedClassName(this)); } public function isSoundPaused(_arg1:String):Boolean{ return (this._soundsDict[_arg1].paused); } public function removeAllSounds():void{ var _local1:int; var _local2:int; _local1 = this._sounds.length; _local2 = 0; while (_local2 < _local1) { this._sounds[_local2] = null; _local2++; }; this._sounds = new Array(); this._soundsDict = new Dictionary(true); } public function getSoundPosition(_arg1:String):Number{ return (this._soundsDict[_arg1].channel.position); } private function OnSoundComplete(_arg1:String):Function{ var $name = _arg1; return (function (_arg1:Event):void{ stopSound($name); }); } public function stopAllSounds(_arg1:Boolean=true):void{ var _local2:int; var _local3:int; var _local4:String; _local2 = this._sounds.length; _local3 = 0; while (_local3 < _local2) { _local4 = this._sounds[_local3].name; if (_arg1){ if (!this._soundsDict[_local4].paused){ this._soundsDict[_local4].pausedByAll = true; this.stopSound(_local4); }; } else { this.stopSound(_local4); }; _local3++; }; } public function removeSound(_arg1:String):void{ var _local2:int; var _local3:int; _local2 = this._sounds.length; _local3 = 0; while (_local3 < _local2) { if (this._sounds[_local3].name == _arg1){ this._sounds[_local3] = null; this._sounds.splice(_local3, 1); }; _local3++; }; delete this._soundsDict[_arg1]; } public function muteAllSounds():void{ var _local1:int; var _local2:int; var _local3:String; _local1 = this._sounds.length; _local2 = 0; while (_local2 < _local1) { _local3 = this._sounds[_local2].name; this.setSoundVolume(_local3, 0); _local2++; }; } public function stopSound(_arg1:String):void{ var snd:Object; var $name = _arg1; try { snd = this._soundsDict[$name]; if (((!((snd == null))) || ((snd.channel == null)))){ snd.paused = false; snd.played = false; snd.channel.stop(); snd.position = snd.channel.position; } else { trace(("Couldn't find sound " + $name)); }; } catch(e:Error) { }; } public function pauseAllSounds(_arg1:Boolean=true):void{ var _local2:int; var _local3:int; var _local4:String; _local2 = this._sounds.length; _local3 = 0; while (_local3 < _local2) { _local4 = this._sounds[_local3].name; if (_arg1){ if (!this._soundsDict[_local4].paused){ this._soundsDict[_local4].pausedByAll = true; this.pauseSound(_local4); }; } else { this.pauseSound(_local4); }; _local3++; }; } public function isSoundPausedByAll(_arg1:String):Boolean{ return (this._soundsDict[_arg1].pausedByAll); } public function playAllSounds(_arg1:Boolean=false):void{ var _local2:int; var _local3:int; var _local4:String; _local2 = this._sounds.length; _local3 = 0; while (_local3 < _local2) { _local4 = this._sounds[_local3].name; if (_arg1){ if (this._soundsDict[_local4].pausedByAll){ this._soundsDict[_local4].pausedByAll = false; this.playSound(_local4); }; } else { this.playSound(_local4); }; _local3++; }; } public function pauseSound(_arg1:String):void{ var _local2:Object; _local2 = this._soundsDict[_arg1]; _local2.paused = true; _local2.played = false; _local2.position = _local2.channel.position; _local2.channel.stop(); } public function unmuteAllSounds():void{ var _local1:int; var _local2:int; var _local3:String; var _local4:Object; var _local5:SoundTransform; _local1 = this._sounds.length; _local2 = 0; while (_local2 < _local1) { _local3 = this._sounds[_local2].name; _local4 = this._soundsDict[_local3]; _local5 = _local4.channel.soundTransform; _local5.volume = ((_local4.volume == 0)) ? Sfx.VolumeIDXML(_local3) : _local4.volume; _local4.channel.soundTransform = _local5; _local2++; }; } public function playSound(_arg1:String, _arg2:Number=1, _arg3:Number=0, _arg4:int=0):void{ var _local5:Object; _local5 = this._soundsDict[_arg1]; _local5.volume = _arg2; _local5.startTime = _arg3; _local5.loops = _arg4; if (_local5.paused){ _local5.channel = _local5.sound.play(_local5.position, _local5.loops, new SoundTransform(_local5.volume)); _local5.channel.addEventListener(Event.SOUND_COMPLETE, OnSoundComplete(_arg1)); } else { _local5.channel = _local5.sound.play(_arg3, _local5.loops, new SoundTransform(_local5.volume)); _local5.channel.addEventListener(Event.SOUND_COMPLETE, OnSoundComplete(_arg1)); }; _local5.paused = false; _local5.played = true; } public function IsPlayed(_arg1:String):Boolean{ var snd:Object; var $name = _arg1; try { snd = this._soundsDict[$name]; return (snd.played); } catch(e:Error) { trace(" Sound NULL "); return (true); }; return (true); } public function getSoundObject(_arg1:String):Sound{ return (this._soundsDict[_arg1].sound); } public static function getInstance():SoundManager{ if (SoundManager._instance == null){ SoundManager._allowInstance = true; SoundManager._instance = new (SoundManager); SoundManager._allowInstance = false; }; return (SoundManager._instance); } } }//package com.reintroducing.sound
Section 95
//ConfigLoader (config.ConfigLoader) package config { import flash.utils.*; import flash.events.*; import flash.net.*; import com.bourre.load.*; public class ConfigLoader extends EventDispatcher { private var _config:Dictionary;// = null private var _loader:XMLLoader;// = null public static const LOAD_COMPLETE:String = "LoadComplete"; private static var _instance:ConfigLoader = null; public function ConfigLoader(_arg1:SingletonBlocker){ _loader = null; _config = null; super(); if (_arg1 == null){ return; }; _config = new Dictionary(); } public function get Config():Dictionary{ return (_config); } private function OnLoadInit(_arg1:LoaderEvent):void{ _loader.removeEventListener(LoaderEvent.onLoadInitEVENT, OnLoadInit); ParseConfig(_config, _loader.getXML()); dispatchEvent(new Event(LOAD_COMPLETE)); } public function LoadConfig(_arg1:String):void{ _loader = new XMLLoader(); _loader.addEventListener(LoaderEvent.onLoadInitEVENT, OnLoadInit); _loader.load(new URLRequest(_arg1)); } private function ParseConfig(_arg1:Dictionary, _arg2:XML):void{ var _local3:XML; for each (_local3 in _arg2.term) { _arg1[_local3.@key.toString()] = _local3.toString(); }; } public static function get Instance():ConfigLoader{ if (!(ConfigLoader._instance is ConfigLoader)){ ConfigLoader._instance = new ConfigLoader(new SingletonBlocker()); }; return (_instance); } } }//package config class SingletonBlocker { private function SingletonBlocker(){ } }
Section 96
//InputManager (controller.InputManager) package controller { import game.*; import flash.display.*; import com.gamesandweb.game.*; import com.gamesandweb.utils.*; public class InputManager { private var _authorizeToPassLevel:Boolean; private var _actions:uint;// = 0 public static const ACTION_NONE:uint = 0; public static const ACTION_UP:uint = 4; public static const ACTION_DOWN:uint = 8; public static const ACTION_X:uint = 32; public static const ACTION_LEFT:uint = 1; public static const ACTION_Z:uint = 16; public static const ACTION_RIGHT:uint = 2; public static const ACTION_SPACE:uint = 64; private static var _instance:InputManager = null; public function InputManager(_arg1:SingletonBlocker){ _actions = 0; super(); _authorizeToPassLevel = false; if (_arg1 == null){ throw (new Error(("Public construction not allowed. " + "Use getInstance()"))); }; } private function _RemoveCursorActions():void{ _actions = (_actions & ~(ACTION_UP)); _actions = (_actions & ~(ACTION_DOWN)); _actions = (_actions & ~(ACTION_LEFT)); _actions = (_actions & ~(ACTION_RIGHT)); } public function Update():void{ _actions = ACTION_NONE; if (Key.isDown(Key.Left)){ _actions = (_actions | ACTION_LEFT); } else { if (Key.isDown(Key.Right)){ _actions = (_actions | ACTION_RIGHT); }; }; if (Key.isDown(Key.Up)){ _actions = (_actions | ACTION_UP); } else { if (Key.isDown(Key.Down)){ _actions = (_actions | ACTION_DOWN); }; }; if (Key.isDown(Key.Spacebar)){ _actions = (_actions | ACTION_SPACE); }; if (((Key.isDown(Key.Shift)) || (Key.isDown(Key.x)))){ _actions = (_actions | ACTION_X); } else { if (((Key.isDown(Key.Control)) || (Key.isDown(Key.z)))){ _actions = (_actions | ACTION_Z); }; }; if (Key.isDown(Key.n1)){ if (_authorizeToPassLevel){ _authorizeToPassLevel = false; Global.DispatchGameEvent(GameManager.LEVEL_FINISHED); }; }; } private function _RemoveFireActions():void{ _actions = (_actions & ~(ACTION_Z)); _actions = (_actions & ~(ACTION_X)); _actions = (_actions & ~(ACTION_SPACE)); } public function AuthorizeToPassLevel():void{ _authorizeToPassLevel = true; } public function get Actions():uint{ return (_actions); } public static function Finalize():void{ Key.finalize(); } public static function get Instance():InputManager{ if (!(InputManager._instance is InputManager)){ InputManager._instance = new InputManager(new SingletonBlocker()); }; return (_instance); } public static function Initialize(_arg1:Stage):void{ Key.initialize(_arg1); } } }//package controller class SingletonBlocker { private function SingletonBlocker(){ } }
Section 97
//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintMultiplier:Number;// = 0 private var _tintColor:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ _tintColor = 0; _tintMultiplier = 0; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function setTint(_arg1:uint, _arg2:Number):void{ var _local3:uint; var _local4:uint; var _local5:uint; this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } private function deriveTintColor():uint{ var _local1:Number; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; _local1 = (1 / this.tintMultiplier); _local2 = Math.round((this.redOffset * _local1)); _local3 = Math.round((this.greenOffset * _local1)); _local4 = Math.round((this.blueOffset * _local1)); _local5 = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function get tintColor():uint{ return (this._tintColor); } public function set brightness(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; _local2 = (1 - Math.abs(_arg1)); _local3 = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local2:XML; var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; _local2 = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number; var _local5:uint; var _local6:uint; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:uint; var _local14:uint; var _local15:uint; var _local16:uint; var _local17:uint; _local4 = (1 - _arg3); _local5 = ((_arg1 >> 24) & 0xFF); _local6 = ((_arg1 >> 16) & 0xFF); _local7 = ((_arg1 >> 8) & 0xFF); _local8 = (_arg1 & 0xFF); _local9 = ((_arg2 >> 24) & 0xFF); _local10 = ((_arg2 >> 16) & 0xFF); _local11 = ((_arg2 >> 8) & 0xFF); _local12 = (_arg2 & 0xFF); _local13 = ((_local5 * _local4) + (_local9 * _arg3)); _local14 = ((_local6 * _local4) + (_local10 * _arg3)); _local15 = ((_local7 * _local4) + (_local11 * _arg3)); _local16 = ((_local8 * _local4) + (_local12 * _arg3)); _local17 = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number; var _local5:ColorTransform; _local4 = (1 - _arg3); _local5 = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } } }//package fl.motion
Section 98
//Door (game.Door) package game { import flash.events.*; import flash.display.*; public class Door { private var _view:MovieClip; private var _whoOpen:Array; private var _numRegistered:uint; private var _listEvents:Array; private var _numListeners:Array; public function Door(){ _view = new DoorAsset(); _view.x = 469; _view.y = 97; _numRegistered = 0; _listEvents = new Array(); _numListeners = new Array(); } public function DispatchEvent(_arg1:String):void{ _view.dispatchEvent(new Event(_arg1)); } public function get View():MovieClip{ return (_view); } public function RemoveEventListener(_arg1:String, _arg2:Function):void{ var _local3:uint; _local3 = 0; _view.removeEventListener(_arg1, _arg2); while (_local3 < _numRegistered) { if (_arg1 == (_listEvents[_local3] as String)){ var _local4 = _numListeners; var _local5 = _local3; var _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; if (_numListeners[_local3] <= 0){ _numListeners.splice(_local3, 1); _numRegistered--; _listEvents.splice(_local3, 1); }; break; }; _local3++; }; } public function AddEventListener(_arg1:String, _arg2:Function):void{ var _local3:uint; _local3 = 0; _view.addEventListener(_arg1, _arg2); while (_local3 < _numRegistered) { if (_arg1 == (_listEvents[_local3] as String)){ var _local4 = _numListeners; var _local5 = _local3; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; break; }; _local3++; }; if (_local3 == _numRegistered){ _listEvents.push(_arg1); _numListeners.push(1); _numRegistered++; }; } public function IsClose():Boolean{ if (_view.currentLabel == "Cierra"){ return (true); }; return (false); } public function Open():void{ if (_view.currentLabel == "Abre"){ return; }; _view.gotoAndStop("Abre"); Sfx.PlaySound(Sfx.SFX_OPEN_DOOR); } public function HasEventListener(_arg1:String):Boolean{ var _local2:uint; _local2 = 0; while (_local2 < _numRegistered) { if (_arg1 == _listEvents[_local2]){ return (true); }; _local2++; }; return (false); } public function IsOpen():Boolean{ if (_view.currentLabel == "Abre"){ return (true); }; return (false); } public function Close():void{ if (_view.currentLabel == "Cierra"){ return; }; _view.gotoAndStop("Cierra"); Sfx.PlaySound(Sfx.SFX_CLOSE_DOOR); } } }//package game
Section 99
//GameManager (game.GameManager) package game { import flash.utils.*; import flash.events.*; import flash.display.*; import ui.*; import flash.geom.*; import managers.*; import character.*; import actions.*; import obstacles.*; import terrain.*; import flash.net.*; import txt.*; import config.*; import view.*; import com.gamesandweb.game.*; public class GameManager { private var _gameScore:uint;// = 0 private var _currLevel:uint;// = 0 private var _door:Door; private var _paused:Boolean;// = false private var _totalLevels:uint; private var _levelScore:uint;// = 0 private var _lastTime:int;// = 0 private var _currentTime:int;// = 0 private var _percQualification:Array; public static const GAME_OVER:String = "OnGameLost"; public static const LEVEL_FINISHED:String = "LevelFinished"; public static const GAME_WON:String = "OnGameWon"; public static var FIRST_QUALIFICATION:String = "1"; public static var SECOND_QUALIFICATION:String = "2"; public static var FOURTH_QUALIFICATION:String = "4"; public static var THIRD_QUALIFICATION:String = "3"; private static var _instance:GameManager = null; public function GameManager(_arg1:SingletonBlocker){ _paused = false; _currLevel = 0; _lastTime = 0; _currentTime = 0; _gameScore = 0; _levelScore = 0; super(); if (_arg1 == null){ return; }; } private function LoadLevelConfig():void{ var _local1:ConfigLoader; _local1 = ConfigLoader.Instance; Girl.INIT_PERCENTAGE = _local1.Config["INIT_PERCENTAGE"].split(Constants.DIVIDER)[CurrentLevel]; Girl.DECREMENT_CHEERUP = _local1.Config["DECREMENT_CHEERUP"].split(Constants.DIVIDER)[CurrentLevel]; Cooker.NUM_BUTTONS_SEQUECE = _local1.Config["COOKER_NUM_BUTTONS_SEQUECE"].split(Constants.DIVIDER)[CurrentLevel]; Cooker.SCORE_X_GOOD_ACTION = _local1.Config["COOKER_SCORE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Cooker.PERCENTAGE_X_GOOD_ACTION = _local1.Config["COOKER_PERCENTAGE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Cooker.DEC_PERCENTAGE_X_BAD_ACTION = _local1.Config["COOKER_DEC_PERCENTAGE_X_BAD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Computer.NUM_BUTTONS_SEQUECE = _local1.Config["COMPUTER_NUM_BUTTONS_SEQUECE"].split(Constants.DIVIDER)[CurrentLevel]; Computer.SCORE_X_GOOD_ACTION = _local1.Config["COMPUTER_SCORE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Computer.PERCENTAGE_X_GOOD_ACTION = _local1.Config["COMPUTER_PERCENTAGE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Computer.DEC_PERCENTAGE_X_BAD_ACTION = _local1.Config["COMPUTER_DEC_PERCENTAGE_X_BAD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Telephone.NUM_BUTTONS_SEQUECE = _local1.Config["PHONE_NUM_BUTTONS_SEQUECE"].split(Constants.DIVIDER)[CurrentLevel]; Telephone.SCORE_X_GOOD_ACTION = _local1.Config["PHONE_SCORE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Telephone.PERCENTAGE_X_GOOD_ACTION = _local1.Config["PHONE_PERCENTAGE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Telephone.DEC_PERCENTAGE_X_BAD_ACTION = _local1.Config["PHONE_DEC_PERCENTAGE_X_BAD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Radio.SCORE_X_GOOD_ACTION = _local1.Config["RADIO_SCORE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Radio.PERCENTAGE_X_GOOD_ACTION = _local1.Config["RADIO_PERCENTAGE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Radio.DEC_PERCENTAGE_X_BAD_ACTION = _local1.Config["RADIO_DEC_PERCENTAGE_X_BAD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Television.SCORE_X_GOOD_ACTION = _local1.Config["TV_SCORE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Television.PERCENTAGE_X_GOOD_ACTION = _local1.Config["TV_PERCENTAGE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; Television.DEC_PERCENTAGE_X_BAD_ACTION = _local1.Config["TV_DEC_PERCENTAGE_X_BAD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; ExerciseBike.SCORE_X_GOOD_ACTION = _local1.Config["BIKE_SCORE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; ExerciseBike.PERCENTAGE_X_GOOD_ACTION = _local1.Config["BIKE_PERCENTAGE_X_GOOD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; ExerciseBike.DEC_PERCENTAGE_X_BAD_ACTION = _local1.Config["BIKE_DEC_PERCENTAGE_X_BAD_ACTION"].split(Constants.DIVIDER)[CurrentLevel]; ExerciseBike.NUM_TURNS = _local1.Config["BIKE_TURNS"].split(Constants.DIVIDER)[CurrentLevel]; Artifact.TIME_POP_UP = _local1.Config[("TIME_POPUP_" + CurrentLevel)]; Artifact.TIME_PROCESS = _local1.Config[("TIME_PROCESS_" + CurrentLevel)]; Artifact.MAX_TIME_OPTIMUN = _local1.Config[("MAX_TIME_OPTIMUN_" + CurrentLevel)]; } public function IncrementScore(_arg1:uint){ _levelScore = (_levelScore + _arg1); _gameScore = (_gameScore + _arg1); HUDManager.Instance.Score = _gameScore; } private function OnTimeComplete(_arg1:Event):void{ Time.Instance.Stop(); if (GirlsManager.Instance.AllAreSleeping()){ if (TotalLevels >= _currLevel){ Global.DispatchGameEvent(LEVEL_FINISHED); Time.Instance.Stop(); } else { Global.DispatchGameEvent(GAME_WON); }; } else { Global.DispatchGameEvent(GAME_OVER); }; } public function Start():void{ GameContext.GlobalStage.addEventListener(Event.ENTER_FRAME, Update); } private function GetQualificationString(_arg1:Number):String{ if (_arg1 < ConfigLoader.Instance.Config["FirstMinQualification"]){ return (FIRST_QUALIFICATION); }; if (_arg1 < ConfigLoader.Instance.Config["SecondMinQualification"]){ return (SECOND_QUALIFICATION); }; return (THIRD_QUALIFICATION); } public function get GetDoor():Door{ return (_door); } public function get TotalScore():uint{ return (_gameScore); } public function Update(_arg1:Event):void{ var _local2:int; if (_paused){ return; }; if (_lastTime == 0){ _lastTime = getTimer(); return; }; _currentTime = getTimer(); _local2 = (_currentTime - _lastTime); if (_local2 > 70){ _local2 = 70; }; GirlsManager.Instance.Update(_local2); if (GirlsManager.Instance.AllAreInactive()){ Global.DispatchGameEvent(LEVEL_FINISHED); }; if (((GirlsManager.Instance.CompletedAllBars()) && (ObstaclesManager.Instance.Controlable))){ ObstaclesManager.Instance.DoNotControl(); if (ObstaclesManager.Instance.CurrentObstacle != null){ if ((((ObstaclesManager.Instance.CurrentObstacle.GetType() == ObstaclesManager.OBS_PEACH)) || ((ObstaclesManager.Instance.CurrentObstacle.GetType() == ObstaclesManager.OBS_TELEPHONE)))){ ObstaclesManager.Instance.CurrentObstacle.Suspend(); }; }; }; _lastTime = _currentTime; } public function get LevelScore():uint{ return (_levelScore); } protected function LoadObstacles():void{ var _local1:Array; var _local2:Array; var _local3:uint; _local1 = ConfigLoader.Instance.Config[("OrderObstacles" + CurrentLevel)].split(Constants.DIVIDER); _local2 = ConfigLoader.Instance.Config[("TimesObstacles" + CurrentLevel)].split(Constants.DIVIDER); _local3 = ConfigLoader.Instance.Config[("NumberObstacles" + CurrentLevel)]; if ((((_local1[0] == "-")) || ((_local2[0] == "-")))){ ObstaclesManager.Instance.Initilize(null, null, ConfigLoader.Instance.Config[("AllowsObstacles" + CurrentLevel)].split(Constants.DIVIDER), ConfigLoader.Instance.Config[("NumberObstacles" + CurrentLevel)], ConfigLoader.Instance.Config[("DelayObstacles" + CurrentLevel)]); } else { ObstaclesManager.Instance.Initilize(_local1, _local2); }; } public function ResetLevel():void{ if (CurrentLevel == 0){ LayerFactory.Instance.GetLayer(LayerFactory.MAP).removeChild(TutorInstructions.Instance.View); }; _percQualification = null; Time.Instance.Reset(); Map.Instance.ResetMapBitMap(); _levelScore = 0; _gameScore = 0; _currentTime = 0; _lastTime = 0; _paused = false; HUDManager.Instance.Score = TotalScore; GirlsManager.Instance.Reset(); DepthsManager.Instance.OrderAllDepths(); } public function set CurrentLevel(_arg1:uint):void{ _currLevel = _arg1; } public function get CurrentLevel():uint{ return (_currLevel); } public function EvaluteLevelQualification():String{ var _local1:Number; if (_percQualification == null){ _percQualification = new Array(); }; _local1 = ((LevelScore * Constants.CIEN) / ActionsManager.Instance.ExpectedScore); if (isNaN(_local1)){ _local1 = 0; }; _percQualification.push(_local1); return (GetQualificationString(_local1)); } private function CreateViewElement(_arg1:String):DisplayObject{ var _local2:Class; var _local3:DisplayObject; _local2 = (getDefinitionByName(_arg1) as Class); _local3 = new (_local2); return (_local3); } public function Initialize():void{ _currLevel = 0; _percQualification = null; _door = new Door(); LoadConfig(); Map.Instance.Initialize(Constants.BASIC_MAP_BITMAP); ObstaclesManager.Instance; Time.Instance.addEventListener(Time.TIME_COMPLETE, OnTimeComplete); GirlsManager.Instance.ActiveControl(); InitCurrentLevel(); } public function NextLevel():void{ var _local1:int; var _local2:MovieClip; Map.Instance.ResetMapBitMap(); _levelScore = 0; GirlsManager.Instance.Reset(); if (CurrentLevel == 0){ LayerFactory.Instance.GetLayer(LayerFactory.MAP).removeChild(TutorInstructions.Instance.View); }; _currLevel++; if (CurrentLevel > TotalLevels){ Global.DispatchGameEvent(GameManager.GAME_WON); return; }; _local1 = 0; _local2 = LayerFactory.Instance.GetLayer(LayerFactory.BACKGROUND); _local1 = (_local2.numChildren - 1); while (_local1 >= 0) { _local2.removeChild(_local2.getChildAt(_local1)); _local1--; }; InitCurrentLevel(); } public function Reset():void{ var _local1:int; var _local2:MovieClip; ResetLevel(); _local1 = 0; _local2 = LayerFactory.Instance.GetLayer(LayerFactory.BACKGROUND); _local1 = (_local2.numChildren - 1); while (_local1 >= 0) { _local2.removeChild(_local2.getChildAt(_local1)); _local1--; }; _currLevel = 0; InitCurrentLevel(); } private function LoadConfig():void{ var _local1:ConfigLoader; var _local2:Array; _totalLevels = ConfigLoader.Instance.Config["MaxLevels"]; _local1 = ConfigLoader.Instance; FIRST_QUALIFICATION = TextLoader.Instance.Texts["FIRST_QUILIFICATION"]; SECOND_QUALIFICATION = TextLoader.Instance.Texts["SECOND_QUILIFICATION"]; THIRD_QUALIFICATION = TextLoader.Instance.Texts["THIRD_QUILIFICATION"]; FOURTH_QUALIFICATION = TextLoader.Instance.Texts["FOURTH_QUILIFICATION"]; Cooker.POS_X = _local1.Config["COOKER_POS_X"]; Cooker.POS_Y = _local1.Config["COOKER_POS_Y"]; Cooker.NUM_BUTTONS = _local1.Config["COOKER_NUM_BUTTONS"]; Telephone.POS_X = _local1.Config["PHONE_POS_X"]; Telephone.POS_Y = _local1.Config["PHONE_POS_Y"]; Telephone.NUM_BUTTONS = _local1.Config["PHONE_NUM_BUTTONS"]; Computer.POS_X = _local1.Config["COMPUTER_POS_X"]; Computer.POS_Y = _local1.Config["COMPUTER_POS_Y"]; Computer.NUM_BUTTONS = _local1.Config["COMPUTER_NUM_BUTTONS"]; Radio.POS_X = _local1.Config["RADIO_POS_X"]; Radio.POS_Y = _local1.Config["RADIO_POS_Y"]; Television.POS_X = _local1.Config["TV_POS_X"]; Television.POS_Y = _local1.Config["TV_POS_Y"]; ExerciseBike.POS_X = _local1.Config["BIKE_POS_X"]; ExerciseBike.POS_Y = _local1.Config["BIKE_POS_Y"]; _local2 = _local1.Config["COOKER_POPUP_POSITION"].split(Constants.DIVIDER); CookerPopUp.POPUP_POSITION = new Point(_local2[0], _local2[1]); _local2 = _local1.Config["PHONE_POPUP_POSITION"].split(Constants.DIVIDER); TelephonePopUp.POPUP_POSITION = new Point(_local2[0], _local2[1]); _local2 = _local1.Config["COMPUTER_POPUP_POSITION"].split(Constants.DIVIDER); ComputerPopUp.POPUP_POSITION = new Point(_local2[0], _local2[1]); _local2 = _local1.Config["RADIO_POPUP_POSITION"].split(Constants.DIVIDER); RadioPopUp.POPUP_POSITION = new Point(_local2[0], _local2[1]); _local2 = _local1.Config["TV_POPUP_POSITION"].split(Constants.DIVIDER); TVPopUp.POPUP_POSITION = new Point(_local2[0], _local2[1]); _local2 = _local1.Config["BIKE_POPUP_POSITION"].split(Constants.DIVIDER); PedalPopUp.POPUP_POSITION = new Point(_local2[0], _local2[1]); Peach.DELAY_X_INC_VOLUMEN = _local1.Config["PEACH_DELAY_X_INC_VOLUMEN"]; Peach.DURING_IDLE = _local1.Config["PEACH_DURING_IDLE"]; Peach.DURING_SLEEPING = _local1.Config["PEACH_DURING_SLEEPING"]; Peach.INCREMENT_VOLUMEN_IN = _local1.Config["PEACH_INCREMENT_VOLUMEN_IN"]; Peach.POS_X = _local1.Config["PEACH_POS_X"]; Peach.POS_Y = _local1.Config["PEACH_POS_Y"]; _local2 = _local1.Config["DOOR_POINT"].split(Constants.DIVIDER); Girl.DOOR_POINT = new Point(_local2[0], _local2[1]); Girl.MIN_FOR_IDLE = _local1.Config["MIN_FOR_IDLE"]; Girl.MIN_TO_BE_ANGRY = _local1.Config["MIN_TO_BE_ANGRY"]; Girl.MIN_TO_BE_HAPPY = _local1.Config["MIN_TO_BE_HAPPY"]; Girl.MIN_TO_BE_IMPATIENT = _local1.Config["MIN_TO_BE_IMPATIENT"]; Girl.SPEED = _local1.Config["SPEED"]; } public function TogglePause(_arg1:Boolean):void{ if (((((_arg1) && (_paused))) || (((!(_arg1)) && (!(_paused)))))){ return; }; if (((_arg1) && (!(_paused)))){ _paused = true; GirlsManager.Instance.Pause(); ObstaclesManager.Instance.Pause(); Time.Instance.Pause(); } else { if (((!(_arg1)) && (_paused))){ GirlsManager.Instance.Resume(); ObstaclesManager.Instance.Resume(); Time.Instance.Resume(); _paused = false; }; }; _paused = _arg1; } public function get TotalLevels():uint{ return (_totalLevels); } public function EvaluateGameQualification():String{ var _local1:Number; var _local2:Number; _local1 = 0; if (_percQualification != null){ for each (_local2 in _percQualification) { _local1 = (_local1 + _local2); }; _local1 = (_local1 / _percQualification.length); }; if (isNaN(_local1)){ _local1 = 0; }; return (GetQualificationString(_local1)); } private function InitCurrentLevel():void{ try { new LocalConnection().connect("foo"); new LocalConnection().connect("foo"); } catch(e) { }; if ((((CurrentLevel == 0)) || ((CurrentLevel == 1)))){ if (CurrentLevel == 0){ LayerFactory.Instance.GetLayer(LayerFactory.MAP).addChild(TutorInstructions.Instance.View); }; _gameScore = 0; _levelScore = 0; HUDManager.Instance.Score = _gameScore; }; _paused = false; LoadLevelConfig(); LayerFactory.Instance.GetLayer(LayerFactory.BACKGROUND).addChild(CreateViewElement(ConfigLoader.Instance.Config[("Background" + CurrentLevel)])); LayerFactory.Instance.GetLayer(LayerFactory.BACKGROUND).addChild(_door.View); Time.Instance.Init(int(ConfigLoader.Instance.Config[("TimeLevel" + CurrentLevel)])); if (CurrentLevel == 0){ HUDManager.Instance.ShowTutorHud(); } else { LoadObstacles(); HUDManager.Instance.ShowGameHud(); }; GirlsManager.Instance.Initialize(CurrentLevel); } public function Finalize():void{ Time.Instance.Stop(); GameContext.GlobalStage.removeEventListener(Event.ENTER_FRAME, Update); } public static function get Instance():GameManager{ if (!(GameManager._instance is GameManager)){ GameManager._instance = new GameManager(new SingletonBlocker()); }; return (_instance); } } }//package game class SingletonBlocker { private function SingletonBlocker(){ } }
Section 100
//TutorInstructions (game.TutorInstructions) package game { import flash.text.*; import flash.events.*; import flash.display.*; import utils.*; import txt.*; import config.*; import com.gamesandweb.game.*; public class TutorInstructions { private var _view:MovieClip; private var _text:MovieClip; private var _welcome:Boolean; private var _cadena:String; private var _girl:MovieClip; private var _timerWelcome:int; private static var _instance:TutorInstructions; public function TutorInstructions(_arg1:Singleton){ _view = new ProfesorAsset(); _view.x = ConfigLoader.Instance.Config["TutorX"]; _view.y = ConfigLoader.Instance.Config["TutorY"]; _text = (_view.getChildByName("text_mc") as MovieClip); _text.gotoAndStop(1); _welcome = false; _timerWelcome = 0; _girl = null; _arg1 = null; } public function get Welcome():Boolean{ return (_welcome); } public function get View():MovieClip{ return (_view); } public function ShowWelcome():void{ Time.Instance.addEventListener(Time.TIMER_EVENT, controlWelcome); _text = (_view.getChildByName("text_mc") as MovieClip); ((_text.getChildByName("text_mc") as MovieClip).getChildByName("text_txt") as TextField).htmlText = TextLoader.Instance.Texts["WelcomeTutor"]; _text.gotoAndPlay("FadeIn"); _welcome = true; _timerWelcome = 0; } public function render(_arg1:Event):void{ _view.removeEventListener(Event.RENDER, render); _girl = (_view.getChildByName("girl") as MovieClip); _text = (_view.getChildByName("text_mc") as MovieClip); _text.gotoAndPlay("FadeIn"); _girl.gotoAndPlay("FadeIn"); StringUtils.SetTextPreservingFormat(((_text.getChildByName("text_mc") as MovieClip).getChildByName("text_txt") as TextField), _cadena); } private function ChangeText(_arg1:Event):void{ _text.removeEventListener("TextDisappear", ChangeText); StringUtils.SetTextPreservingFormat(((_text.getChildByName("text_mc") as MovieClip).getChildByName("text_txt") as TextField), _cadena); _text.gotoAndPlay("FadeIn"); } public function ChangeInstruccion(_arg1:String, _arg2:String, _arg3:String):void{ if (_arg1 != "Require"){ _cadena = TextLoader.Instance.Texts[((_arg1 + "_") + _arg2)]; } else { _cadena = ((((TextLoader.Instance.Texts["Clicked"] + " ") + TextLoader.Instance.Texts[_arg3]) + " ") + TextLoader.Instance.Texts[((_arg1 + "_") + _arg2)]); }; if (_arg3 != View.currentLabel){ if ((((View.currentLabel == "welcome_mc")) || ((_girl.currentLabel == "Ice")))){ ChangeCharacter(new Event("ninguno")); return; }; _text.addEventListener("TextDisappear", ChangeCharacter); if (_text.currentLabel != "FadeOut"){ _text.gotoAndPlay("FadeOut"); _girl.gotoAndPlay("FadeOut"); }; } else { _text.addEventListener("TextDisappear", ChangeText); _text.gotoAndPlay("FadeOut"); }; } private function controlWelcome(_arg1:Event){ _timerWelcome++; if (_timerWelcome == 3){ Time.Instance.removeEventListener(Time.TIMER_EVENT, controlWelcome); _text.gotoAndPlay("FadeOut"); _welcome = false; }; } public function Reset():void{ _welcome = false; _view.gotoAndStop(1); _text.gotoAndStop(1); } private function ChangeCharacter(_arg1:Event){ if (_arg1.type == "TextDisappear"){ _text.removeEventListener("TextDisappear", ChangeCharacter); }; GameContext.GlobalStage.invalidate(); _view.addEventListener(Event.RENDER, render); _view.gotoAndStop((_view.currentFrame + 1)); } public function HideText():void{ if ((((_text.currentLabel == "FadeIn")) || ((_text.currentLabel == "FadeInOver")))){ _text.gotoAndPlay("FadeOut"); _girl.gotoAndPlay("FadeOut"); }; } public static function get Instance():TutorInstructions{ if (_instance == null){ _instance = new TutorInstructions(new Singleton()); }; return (_instance); } } }//package game class Singleton { private function Singleton(){ } }
Section 101
//Expo (gs.easing.Expo) package gs.easing { public class Expo { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : ((_arg3 * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2)); }; --_arg1; return ((((_arg3 / 2) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } } }//package gs.easing
Section 102
//Sine (gs.easing.Sine) package gs.easing { public class Sine { private static const _HALF_PI:Number = 1.5707963267949; public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * _HALF_PI))) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * _HALF_PI))) + _arg3) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } } }//package gs.easing
Section 103
//TweenEvent (gs.events.TweenEvent) package gs.events { import flash.events.*; public class TweenEvent extends Event { public var info:Object; public static const UPDATE:String = "update"; public static const START:String = "start"; public static const version:Number = 0.9; public static const COMPLETE:String = "complete"; public function TweenEvent(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:Boolean=false){ super(_arg1, _arg3, _arg4); this.info = _arg2; } override public function clone():Event{ return (new TweenEvent(this.type, this.info, this.bubbles, this.cancelable)); } } }//package gs.events
Section 104
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin) package gs.plugins { import flash.display.*; import gs.*; public class AutoAlphaPlugin extends TweenPlugin { protected var _tweenVisible:Boolean; protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function AutoAlphaPlugin(){ this.propName = "autoAlpha"; this.overwriteProps = ["alpha", "visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); if (((!((_target.visible == true))) && (_tweenVisible))){ _target.visible = true; }; } public function onCompleteTween():void{ if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(!((_arg2 == 0))); _tweenVisible = true; addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha"); return (true); } override public function killProps(_arg1:Object):void{ super.killProps(_arg1); _tweenVisible = !(Boolean(("visible" in _arg1))); } } }//package gs.plugins
Section 105
//BevelFilterPlugin (gs.plugins.BevelFilterPlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.filters.*; public class BevelFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BevelFilterPlugin(){ this.propName = "bevelFilter"; this.overwriteProps = ["bevelFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = BevelFilter; initFilter(_arg2, new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_arg2.quality) || (2)))); return (true); } } }//package gs.plugins
Section 106
//BezierPlugin (gs.plugins.BezierPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class BezierPlugin extends TweenPlugin { protected var _future:Object; protected var _orient:Boolean; protected var _orientData:Array; protected var _beziers:Object; protected var _target:Object; protected static const _RAD2DEG:Number = 57.2957795130823; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function BezierPlugin(){ _future = {}; super(); this.propName = "bezier"; this.overwriteProps = []; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:String; var _local4:Object; var _local5:Number; var _local6:uint; var _local7:Number; var _local8:int; var _local9:Object; var _local10:Boolean; var _local11:Number; var _local12:Number; var _local13:Array; var _local14:Number; if (_arg1 == 1){ for (_local3 in _beziers) { _local2 = (_beziers[_local3].length - 1); _target[_local3] = _beziers[_local3][_local2][2]; }; } else { for (_local3 in _beziers) { _local6 = _beziers[_local3].length; if (_arg1 < 0){ _local2 = 0; } else { if (_arg1 >= 1){ _local2 = (_local6 - 1); } else { _local2 = int((_local6 * _arg1)); }; }; _local5 = ((_arg1 - (_local2 * (1 / _local6))) * _local6); _local4 = _beziers[_local3][_local2]; if (this.round){ _local7 = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0]))))); _local8 = ((_local7)<0) ? -1 : 1; _target[_local3] = ((((_local7 % 1) * _local8))>0.5) ? (int(_local7) + _local8) : int(_local7); } else { _target[_local3] = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0]))))); }; }; }; if (_orient){ _local9 = _target; _local10 = this.round; _target = _future; this.round = false; _orient = false; this.changeFactor = (_arg1 + 0.01); _target = _local9; this.round = _local10; _orient = true; _local2 = 0; while (_local2 < _orientData.length) { _local13 = _orientData[_local2]; _local14 = ((_local13[3]) || (0)); _local11 = (_future[_local13[0]] - _target[_local13[0]]); _local12 = (_future[_local13[1]] - _target[_local13[1]]); _target[_local13[2]] = ((Math.atan2(_local12, _local11) * _RAD2DEG) + _local14); _local2++; }; }; } protected function init(_arg1:TweenLite, _arg2:Array, _arg3:Boolean):void{ var _local4:Object; var _local5:int; var _local6:String; _target = _arg1.target; if (_arg1.exposedVars.orientToBezier == true){ _orientData = [["x", "y", "rotation", 0]]; _orient = true; } else { if ((_arg1.exposedVars.orientToBezier is Array)){ _orientData = _arg1.exposedVars.orientToBezier; _orient = true; }; }; _local4 = {}; _local5 = 0; while (_local5 < _arg2.length) { for (_local6 in _arg2[_local5]) { if (_local4[_local6] == undefined){ _local4[_local6] = [_arg1.target[_local6]]; }; if (typeof(_arg2[_local5][_local6]) == "number"){ _local4[_local6].push(_arg2[_local5][_local6]); } else { _local4[_local6].push((_arg1.target[_local6] + Number(_arg2[_local5][_local6]))); }; }; _local5++; }; for (_local6 in _local4) { this.overwriteProps[this.overwriteProps.length] = _local6; if (_arg1.exposedVars[_local6] != undefined){ if (typeof(_arg1.exposedVars[_local6]) == "number"){ _local4[_local6].push(_arg1.exposedVars[_local6]); } else { _local4[_local6].push((_arg1.target[_local6] + Number(_arg1.exposedVars[_local6]))); }; delete _arg1.exposedVars[_local6]; _local5 = (_arg1.tweens.length - 1); while (_local5 > -1) { if (_arg1.tweens[_local5].name == _local6){ _arg1.tweens.splice(_local5, 1); }; _local5--; }; }; }; _beziers = parseBeziers(_local4, _arg3); } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (!(_arg2 is Array)){ return (false); }; init(_arg3, (_arg2 as Array), false); return (true); } override public function killProps(_arg1:Object):void{ var _local2:String; for (_local2 in _beziers) { if ((_local2 in _arg1)){ delete _beziers[_local2]; }; }; super.killProps(_arg1); } 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[_local5.length] = [_local4[0], (_local4[1] - ((_local4[2] - _local4[0]) / 4)), _local4[1]]; _local3 = 1; while (_local3 < (_local4.length - 1)) { _local5[_local5.length] = [_local4[_local3], (_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)][1])), _local4[(_local3 + 1)]]; _local3++; }; } else { _local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]]; }; }; } else { for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 3){ _local5[_local5.length] = [_local4[0], _local4[1], ((_local4[1] + _local4[2]) / 2)]; _local3 = 2; while (_local3 < (_local4.length - 2)) { _local5[_local5.length] = [_local5[(_local3 - 2)][2], _local4[_local3], ((_local4[_local3] + _local4[(_local3 + 1)]) / 2)]; _local3++; }; _local5[_local5.length] = [_local5[(_local5.length - 1)][2], _local4[(_local4.length - 2)], _local4[(_local4.length - 1)]]; } else { if (_local4.length == 3){ _local5[_local5.length] = [_local4[0], _local4[1], _local4[2]]; } else { if (_local4.length == 2){ _local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]]; }; }; }; }; }; return (_local7); } } }//package gs.plugins
Section 107
//BezierThroughPlugin (gs.plugins.BezierThroughPlugin) package gs.plugins { import gs.*; public class BezierThroughPlugin extends BezierPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BezierThroughPlugin(){ this.propName = "bezierThrough"; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (!(_arg2 is Array)){ return (false); }; init(_arg3, (_arg2 as Array), true); return (true); } } }//package gs.plugins
Section 108
//BlurFilterPlugin (gs.plugins.BlurFilterPlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.filters.*; public class BlurFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BlurFilterPlugin(){ this.propName = "blurFilter"; this.overwriteProps = ["blurFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = BlurFilter; initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2)))); return (true); } } }//package gs.plugins
Section 109
//ColorMatrixFilterPlugin (gs.plugins.ColorMatrixFilterPlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.filters.*; public class ColorMatrixFilterPlugin extends FilterPlugin { protected var _matrix:Array; protected var _matrixTween:EndArrayPlugin; public static const API:Number = 1; public static const VERSION:Number = 1.01; protected static var _lumG:Number = 0.71516; protected static var _lumR:Number = 0.212671; protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; protected static var _lumB:Number = 0.072169; public function ColorMatrixFilterPlugin(){ this.propName = "colorMatrixFilter"; this.overwriteProps = ["colorMatrixFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:Object; var _local5:Array; _target = _arg1; _type = ColorMatrixFilter; _local4 = _arg2; initFilter({}, new ColorMatrixFilter(_idMatrix.slice())); _matrix = ColorMatrixFilter(_filter).matrix; _local5 = []; if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){ _local5 = _local4.matrix; } else { if (_local4.relative == true){ _local5 = _matrix.slice(); } else { _local5 = _idMatrix.slice(); }; _local5 = setBrightness(_local5, _local4.brightness); _local5 = setContrast(_local5, _local4.contrast); _local5 = setHue(_local5, _local4.hue); _local5 = setSaturation(_local5, _local4.saturation); _local5 = setThreshold(_local5, _local4.threshold); if (!isNaN(_local4.colorize)){ _local5 = colorize(_local5, _local4.colorize, _local4.amount); }; }; _matrixTween = new EndArrayPlugin(); _matrixTween.init(_matrix, _local5); return (true); } override public function set changeFactor(_arg1:Number):void{ _matrixTween.changeFactor = _arg1; ColorMatrixFilter(_filter).matrix = _matrix; super.changeFactor = _arg1; } public static function setSaturation(_arg1:Array, _arg2:Number):Array{ 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); _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 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 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 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 colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):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 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)); } } }//package gs.plugins
Section 110
//DropShadowFilterPlugin (gs.plugins.DropShadowFilterPlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.filters.*; public class DropShadowFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function DropShadowFilterPlugin(){ this.propName = "dropShadowFilter"; this.overwriteProps = ["dropShadowFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = DropShadowFilter; initFilter(_arg2, new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout, _arg2.hideObject)); return (true); } } }//package gs.plugins
Section 111
//EndArrayPlugin (gs.plugins.EndArrayPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class EndArrayPlugin extends TweenPlugin { protected var _info:Array; protected var _a:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function EndArrayPlugin(){ _info = []; super(); this.propName = "endArray"; this.overwriteProps = ["endArray"]; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:ArrayTweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _a[_local3.index] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function init(_arg1:Array, _arg2:Array):void{ var _local3:int; _a = _arg1; _local3 = (_arg2.length - 1); while (_local3 > -1) { if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){ _info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3])); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (false); }; init((_arg1 as Array), _arg2); return (true); } } }//package gs.plugins
Section 112
//FilterPlugin (gs.plugins.FilterPlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.filters.*; import gs.utils.tween.*; public class FilterPlugin extends TweenPlugin { protected var _index:int; protected var _filter:BitmapFilter; protected var _type:Class; protected var _remove:Boolean; protected var _target:Object; public static const VERSION:Number = 1.03; public static const API:Number = 1; override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:TweenInfo; var _local4:Array; _local4 = _target.filters; _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1)); _local2--; }; if (!(_local4[_index] is _type)){ _index = (_local4.length - 1); _local2 = (_local4.length - 1); while (_local2 > -1) { if ((_local4[_local2] is _type)){ _index = _local2; break; }; _local2--; }; }; _local4[_index] = _filter; _target.filters = _local4; } public function onCompleteTween():void{ var _local1:int; var _local2:Array; if (_remove){ _local2 = _target.filters; if (!(_local2[_index] is _type)){ _local1 = (_local2.length - 1); while (_local1 > -1) { if ((_local2[_local1] is _type)){ _local2.splice(_local1, 1); break; }; _local1--; }; } else { _local2.splice(_index, 1); }; _target.filters = _local2; }; } protected function initFilter(_arg1:Object, _arg2:BitmapFilter):void{ var _local3:Array; var _local4:String; var _local5:int; var _local6:HexColorsPlugin; var _local7:Object; _local3 = _target.filters; _index = -1; if (_arg1.index != null){ _index = _arg1.index; } else { _local5 = (_local3.length - 1); while (_local5 > -1) { if ((_local3[_local5] is _type)){ _index = _local5; break; }; _local5--; }; }; if ((((((_index == -1)) || ((_local3[_index] == null)))) || ((_arg1.addFilter == true)))){ _index = ((_arg1.index)!=null) ? _arg1.index : _local3.length; _local3[_index] = _arg2; _target.filters = _local3; }; _filter = _local3[_index]; _remove = Boolean((_arg1.remove == true)); if (_remove){ this.onComplete = onCompleteTween; }; _local7 = ((_arg1.isTV)==true) ? _arg1.exposedVars : _arg1; for (_local4 in _local7) { if (((((((((!((_local4 in _filter))) || ((_filter[_local4] == _local7[_local4])))) || ((_local4 == "remove")))) || ((_local4 == "index")))) || ((_local4 == "addFilter")))){ } else { if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){ _local6 = new HexColorsPlugin(); _local6.initColor(_filter, _local4, _filter[_local4], _local7[_local4]); _tweens[_tweens.length] = new TweenInfo(_local6, "changeFactor", 0, 1, _local4, false); } else { if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){ _filter[_local4] = _local7[_local4]; } else { addTween(_filter, _local4, _filter[_local4], _local7[_local4], _local4); }; }; }; }; } } }//package gs.plugins
Section 113
//FramePlugin (gs.plugins.FramePlugin) package gs.plugins { import flash.display.*; import gs.*; public class FramePlugin extends TweenPlugin { public var frame:int; protected var _target:MovieClip; public static const VERSION:Number = 1; public static const API:Number = 1; public function FramePlugin(){ this.propName = "frame"; this.overwriteProps = ["frame"]; this.round = true; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.gotoAndStop(this.frame); } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){ return (false); }; _target = (_arg1 as MovieClip); addTween(this, "frame", _target.currentFrame, _arg2, "frame"); return (true); } } }//package gs.plugins
Section 114
//GlowFilterPlugin (gs.plugins.GlowFilterPlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.filters.*; public class GlowFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function GlowFilterPlugin(){ this.propName = "glowFilter"; this.overwriteProps = ["glowFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = GlowFilter; initFilter(_arg2, new GlowFilter(0xFFFFFF, 0, 0, 0, ((_arg2.strength) || (1)), ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout)); return (true); } } }//package gs.plugins
Section 115
//HexColorsPlugin (gs.plugins.HexColorsPlugin) package gs.plugins { import gs.*; public class HexColorsPlugin extends TweenPlugin { protected var _colors:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function HexColorsPlugin(){ this.propName = "hexColors"; this.overwriteProps = []; _colors = []; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:Array; _local2 = (_colors.length - 1); while (_local2 > -1) { _local3 = _colors[_local2]; _local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7]))); _local2--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:String; for (_local4 in _arg2) { initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4])); }; return (true); } override public function killProps(_arg1:Object):void{ var _local2:int; _local2 = (_colors.length - 1); while (_local2 > -1) { if (_arg1[_colors[_local2][1]] != undefined){ _colors.splice(_local2, 1); }; _local2--; }; super.killProps(_arg1); } public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{ var _local5:Number; var _local6:Number; var _local7:Number; if (_arg3 != _arg4){ _local5 = (_arg3 >> 16); _local6 = ((_arg3 >> 8) & 0xFF); _local7 = (_arg3 & 0xFF); _colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)]; this.overwriteProps[this.overwriteProps.length] = _arg2; }; } } }//package gs.plugins
Section 116
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin) package gs.plugins { public class RemoveTintPlugin extends TintPlugin { public static const VERSION:Number = 1.01; public static const API:Number = 1; public function RemoveTintPlugin(){ this.propName = "removeTint"; } } }//package gs.plugins
Section 117
//RoundPropsPlugin (gs.plugins.RoundPropsPlugin) package gs.plugins { public class RoundPropsPlugin extends TweenPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function RoundPropsPlugin(){ this.propName = "roundProps"; this.overwriteProps = []; this.round = true; } public function add(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{ addTween(_arg1, _arg2, _arg3, (_arg3 + _arg4), _arg2); this.overwriteProps[this.overwriteProps.length] = _arg2; } } }//package gs.plugins
Section 118
//ShortRotationPlugin (gs.plugins.ShortRotationPlugin) package gs.plugins { import gs.*; public class ShortRotationPlugin extends TweenPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function ShortRotationPlugin(){ this.propName = "shortRotation"; this.overwriteProps = []; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:String; if (typeof(_arg2) == "number"){ trace("WARNING: You appear to be using the old shortRotation syntax. Instead of passing a number, please pass an object with properties that correspond to the rotations values For example, TweenMax.to(mc, 2, {shortRotation:{rotationX:-170, rotationY:25}})"); return (false); }; for (_local4 in _arg2) { initRotation(_arg1, _local4, _arg1[_local4], _arg2[_local4]); }; return (true); } public function initRotation(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{ var _local5:Number; _local5 = ((_arg4 - _arg3) % 360); if (((_arg4 - _arg3) % 360) != (_local5 % 180)){ _local5 = ((_local5)<0) ? (_local5 + 360) : (_local5 - 360); }; addTween(_arg1, _arg2, _arg3, (_arg3 + _local5), _arg2); this.overwriteProps[this.overwriteProps.length] = _arg2; } } }//package gs.plugins
Section 119
//TintPlugin (gs.plugins.TintPlugin) package gs.plugins { import flash.display.*; import flash.geom.*; import gs.*; import gs.utils.tween.*; public class TintPlugin extends TweenPlugin { protected var _ct:ColorTransform; protected var _target:DisplayObject; public static const VERSION:Number = 1.01; public static const API:Number = 1; protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"]; public function TintPlugin(){ this.propName = "tint"; this.overwriteProps = ["tint"]; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.transform.colorTransform = _ct; } public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{ var _local3:int; var _local4:String; _target = _arg1; _ct = _target.transform.colorTransform; _local3 = (_props.length - 1); while (_local3 > -1) { _local4 = _props[_local3]; if (_ct[_local4] != _arg2[_local4]){ _tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:ColorTransform; if (!(_arg1 is DisplayObject)){ return (false); }; _local4 = new ColorTransform(); if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){ _local4.color = uint(_arg2); }; if (((!((_arg3.exposedVars.alpha == undefined))) || (!((_arg3.exposedVars.autoAlpha == undefined))))){ _local4.alphaMultiplier = ((_arg3.exposedVars.alpha)!=undefined) ? _arg3.exposedVars.alpha : _arg3.exposedVars.autoAlpha; _arg3.killVars({alpha:1, autoAlpha:1}); } else { _local4.alphaMultiplier = _arg1.alpha; }; init((_arg1 as DisplayObject), _local4); return (true); } } }//package gs.plugins
Section 120
//TweenPlugin (gs.plugins.TweenPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class TweenPlugin { public var overwriteProps:Array; protected var _tweens:Array; public var round:Boolean; public var onComplete:Function; public var propName:String; protected var _changeFactor:Number;// = 0 public static const VERSION:Number = 1.03; public static const API:Number = 1; public function TweenPlugin(){ _tweens = []; _changeFactor = 0; super(); } protected function updateTweens(_arg1:Number):void{ var _local2:int; var _local3:TweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _changeFactor = _arg1; } protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{ var _local6:Number; if (_arg4 != null){ _local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4); if (_local6 != 0){ _tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false); }; }; } public function killProps(_arg1:Object):void{ var _local2:int; _local2 = (this.overwriteProps.length - 1); while (_local2 > -1) { if ((this.overwriteProps[_local2] in _arg1)){ this.overwriteProps.splice(_local2, 1); }; _local2--; }; _local2 = (_tweens.length - 1); while (_local2 > -1) { if ((_tweens[_local2].name in _arg1)){ _tweens.splice(_local2, 1); }; _local2--; }; } public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName); return (true); } public function get changeFactor():Number{ return (_changeFactor); } public static function activate(_arg1:Array):Boolean{ var _local2:int; var _local3:Object; _local2 = (_arg1.length - 1); while (_local2 > -1) { _local3 = new (_arg1[_local2]); TweenLite.plugins[_local3.propName] = _arg1[_local2]; _local2--; }; return (true); } } }//package gs.plugins
Section 121
//VisiblePlugin (gs.plugins.VisiblePlugin) package gs.plugins { import flash.display.*; import gs.*; public class VisiblePlugin extends TweenPlugin { protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function VisiblePlugin(){ this.propName = "visible"; this.overwriteProps = ["visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ if (_target.visible != true){ _target.visible = true; }; } public function onCompleteTween():void{ if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(_arg2); return (true); } } }//package gs.plugins
Section 122
//VolumePlugin (gs.plugins.VolumePlugin) package gs.plugins { import flash.display.*; import flash.media.*; import gs.*; public class VolumePlugin extends TweenPlugin { protected var _st:SoundTransform; protected var _target:Object; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function VolumePlugin(){ this.propName = "volume"; this.overwriteProps = ["volume"]; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.soundTransform = _st; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){ return (false); }; _target = _arg1; _st = _target.soundTransform; addTween(_st, "volume", _st.volume, _arg2, "volume"); return (true); } } }//package gs.plugins
Section 123
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo) package gs.utils.tween { public class ArrayTweenInfo { public var change:Number; public var index:uint; public var start:Number; public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){ this.index = _arg1; this.start = _arg2; this.change = _arg3; } } }//package gs.utils.tween
Section 124
//TweenInfo (gs.utils.tween.TweenInfo) package gs.utils.tween { public class TweenInfo { public var start:Number; public var name:String; public var change:Number; public var target:Object; public var property:String; public var isPlugin:Boolean; public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){ this.target = _arg1; this.property = _arg2; this.start = _arg3; this.change = _arg4; this.name = _arg5; this.isPlugin = _arg6; } } }//package gs.utils.tween
Section 125
//OverwriteManager (gs.OverwriteManager) package gs { import flash.utils.*; import gs.utils.tween.*; import flash.errors.*; public class OverwriteManager { public static const ALL:int = 1; public static const NONE:int = 0; public static const AUTO:int = 2; public static const CONCURRENT:int = 3; public static const version:Number = 3.12; public static var mode:int; public static var enabled:Boolean; public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array):void{ var _local4:int; var _local5:String; var _local6:TweenInfo; _local4 = (_arg3.length - 1); while (_local4 > -1) { _local6 = _arg3[_local4]; if ((_local6.name in _arg1)){ _arg3.splice(_local4, 1); } else { if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){ _local6.target.killProps(_arg1); if (_local6.target.overwriteProps.length == 0){ _arg3.splice(_local4, 1); }; }; }; _local4--; }; for (_local5 in _arg1) { delete _arg2[_local5]; }; } public static function manageOverwrites(_arg1:TweenLite, _arg2:Array):void{ var _local3:Object; var _local4:int; var _local5:Number; var _local6:Array; var _local7:int; var _local8:TweenLite; var _local9:int; var _local10:Array; var _local11:Object; var _local12:int; var _local13:TweenInfo; var _local14:Array; _local3 = _arg1.vars; _local4 = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite); if ((((_local4 < 2)) || ((_arg2 == null)))){ return; }; _local5 = _arg1.startTime; _local6 = []; _local9 = -1; _local7 = (_arg2.length - 1); while (_local7 > -1) { _local8 = _arg2[_local7]; if (_local8 == _arg1){ _local9 = _local7; } else { if ((((((_local7 < _local9)) && ((_local8.startTime <= _local5)))) && (((_local8.startTime + ((_local8.duration * 1000) / _local8.combinedTimeScale)) > _local5)))){ _local6[_local6.length] = _local8; }; }; _local7--; }; if ((((_local6.length == 0)) || ((_arg1.tweens.length == 0)))){ return; }; if (_local4 == AUTO){ _local10 = _arg1.tweens; _local11 = {}; _local7 = (_local10.length - 1); while (_local7 > -1) { _local13 = _local10[_local7]; if (_local13.isPlugin){ if (_local13.name == "_MULTIPLE_"){ _local14 = _local13.target.overwriteProps; _local12 = (_local14.length - 1); while (_local12 > -1) { _local11[_local14[_local12]] = true; _local12--; }; } else { _local11[_local13.name] = true; }; _local11[_local13.target.propName] = true; } else { _local11[_local13.name] = true; }; _local7--; }; _local7 = (_local6.length - 1); while (_local7 > -1) { killVars(_local11, _local6[_local7].exposedVars, _local6[_local7].tweens); _local7--; }; } else { _local7 = (_local6.length - 1); while (_local7 > -1) { _local6[_local7].enabled = false; _local7--; }; }; } public static function init(_arg1:int=2):int{ if (TweenLite.version < 10.09){ trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com."); }; TweenLite.overwriteManager = OverwriteManager; mode = _arg1; enabled = true; return (mode); } } }//package gs
Section 126
//TweenLite (gs.TweenLite) package gs { import flash.utils.*; import flash.events.*; import flash.display.*; import gs.utils.tween.*; import gs.plugins.*; public class TweenLite { public var delay:Number; protected var _hasUpdate:Boolean; protected var _hasPlugins:Boolean; public var started:Boolean; public var initted:Boolean; public var active:Boolean; public var startTime:Number; public var target:Object; public var duration:Number; public var gc:Boolean; public var vars:Object; public var ease:Function; public var tweens:Array; public var exposedVars:Object; public var combinedTimeScale:Number; public var initTime:Number; public static const version:Number = 10.09; private static var _timer:Timer = new Timer(2000); public static var defaultEase:Function = TweenLite.easeOut; public static var plugins:Object = {}; public static var currentTime:uint; public static var masterList:Dictionary = new Dictionary(false); protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1}; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public static var timingSprite:Sprite = new Sprite(); public static var overwriteManager:Object; private static var _tlInitted:Boolean; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ var _local4:int; super(); if (_arg1 == null){ return; }; if (!_tlInitted){ TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]); currentTime = getTimer(); timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage, false, 0, true); _timer.start(); _tlInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.combinedTimeScale = ((_arg3.timeScale) || (1)); this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0)))); this.target = _arg1; if (typeof(this.vars.ease) != "function"){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars; this.tweens = []; this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); _local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if (((!((_arg1 in masterList))) || ((_local4 == 1)))){ masterList[_arg1] = [this]; } else { masterList[_arg1].push(this); }; if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){ initTweenVals(); if (this.active){ render((this.startTime + 1)); } else { render(this.startTime); }; if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){ this.target.visible = this.exposedVars.visible; }; }; } public function set enabled(_arg1:Boolean):void{ var _local2:Array; var _local3:Boolean; var _local4:int; if (_arg1){ if (!(this.target in masterList)){ masterList[this.target] = [this]; } else { _local2 = masterList[this.target]; _local4 = (_local2.length - 1); while (_local4 > -1) { if (_local2[_local4] == this){ _local3 = true; break; }; _local4--; }; if (!_local3){ _local2[_local2.length] = this; }; }; }; this.gc = (_arg1) ? false : true; if (this.gc){ this.active = false; } else { this.active = this.started; }; } public function clear():void{ this.tweens = []; this.vars = (this.exposedVars = {ease:this.vars.ease}); _hasUpdate = false; } public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:TweenInfo; var _local5:int; _local2 = ((_arg1 - this.startTime) * 0.001); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change)); _local5--; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function activate():void{ this.started = (this.active = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; } public function get enabled():Boolean{ return ((this.gc) ? false : true); } public function initTweenVals():void{ var _local1:String; var _local2:int; var _local3:*; var _local4:TweenInfo; if (((!((this.exposedVars.timeScale == undefined))) && ((this.target is TweenLite)))){ this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false); }; for (_local1 in this.exposedVars) { if ((_local1 in _reservedProps)){ } else { if ((_local1 in plugins)){ _local3 = new (plugins[_local1]); if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){ this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); } else { this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true); _hasPlugins = true; }; } else { this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); }; }; }; if (this.vars.runBackwards == true){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { _local4 = this.tweens[_local2]; this.tweens[_local2].start = (_local4.start + _local4.change); _local4.change = -(_local4.change); _local2--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; this.initted = true; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.exposedVars, this.tweens); }; } public function complete(_arg1:Boolean=false):void{ var _local2:int; if (!_arg1){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (_hasPlugins){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){ this.tweens[_local2].target.onComplete(); }; _local2--; }; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function updateAll(_arg1:Event=null):void{ var _local2:uint; var _local3:Dictionary; var _local4:Array; var _local5:int; var _local6:TweenLite; _local2 = (currentTime = getTimer()); _local3 = masterList; for each (_local4 in _local3) { _local5 = (_local4.length - 1); while (_local5 > -1) { _local6 = _local4[_local5]; if (_local6.active){ _local6.render(_local2); } else { if (_local6.gc){ _local4.splice(_local5, 1); } else { if (_local2 >= _local6.startTime){ _local6.activate(); _local6.render(_local2); }; }; }; _local5--; }; }; } public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{ if (_arg1 != null){ if (_arg2){ _arg1.clear(); }; _arg1.enabled = false; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; var _local5:TweenLite; if (((!((_arg1 == null))) && ((_arg1 in masterList)))){ _local3 = masterList[_arg1]; _local4 = (_local3.length - 1); while (_local4 > -1) { _local5 = _local3[_local4]; if (((_arg2) && (!(_local5.gc)))){ _local5.complete(false); }; _local5.clear(); _local4--; }; delete masterList[_arg1]; }; } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } protected static function killGarbage(_arg1:TimerEvent):void{ var _local2:Dictionary; var _local3:Object; _local2 = masterList; for (_local3 in _local2) { if (_local2[_local3].length == 0){ delete _local2[_local3]; }; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 127
//TweenMax (gs.TweenMax) package gs { import flash.utils.*; import flash.events.*; import gs.utils.tween.*; import gs.plugins.*; import gs.events.*; public class TweenMax extends TweenLite implements IEventDispatcher { protected var _dispatcher:EventDispatcher; protected var _callbacks:Object; public var pauseTime:Number; protected var _repeatCount:Number; protected var _timeScale:Number; public static const version:Number = 10.1; public static var removeTween:Function = TweenLite.removeTween; private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init(); ; protected static var _pausedTweens:Dictionary = new Dictionary(false); protected static var _globalTimeScale:Number = 1; public static var killTweensOf:Function = TweenLite.killTweensOf; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _activatedPlugins:Boolean = TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin, HexColorsPlugin, BlurFilterPlugin, ColorMatrixFilterPlugin, BevelFilterPlugin, DropShadowFilterPlugin, GlowFilterPlugin, RoundPropsPlugin, BezierPlugin, BezierThroughPlugin, ShortRotationPlugin]); public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){ super(_arg1, _arg2, _arg3); if (TweenLite.version < 10.09){ trace("TweenMax error! Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com."); }; if (((!((this.combinedTimeScale == 1))) && ((this.target is TweenMax)))){ _timeScale = 1; this.combinedTimeScale = _globalTimeScale; } else { _timeScale = this.combinedTimeScale; this.combinedTimeScale = (this.combinedTimeScale * _globalTimeScale); }; if (((!((this.combinedTimeScale == 1))) && (!((this.delay == 0))))){ this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale))); }; if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){ initDispatcher(); if ((((_arg2 == 0)) && ((this.delay == 0)))){ onUpdateDispatcher(); onCompleteDispatcher(); }; }; _repeatCount = 0; if (((!(isNaN(this.vars.yoyo))) || (!(isNaN(this.vars.loop))))){ this.vars.persist = true; }; } override public function set enabled(_arg1:Boolean):void{ if (!_arg1){ _pausedTweens[this] = null; delete _pausedTweens[this]; }; super.enabled = _arg1; if (_arg1){ this.combinedTimeScale = (_timeScale * _globalTimeScale); }; } public function set reversed(_arg1:Boolean):void{ if (this.reversed != _arg1){ reverse(); }; } override public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:TweenInfo; var _local5:int; _local2 = (((_arg1 - this.startTime) * 0.001) * this.combinedTimeScale); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change)); _local5--; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } protected function adjustStartValues():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:TweenInfo; var _local6:int; _local1 = this.progress; if (_local1 != 0){ _local2 = this.ease(_local1, 0, 1, 1); _local3 = (1 / (1 - _local2)); _local6 = (this.tweens.length - 1); while (_local6 > -1) { _local5 = this.tweens[_local6]; _local4 = (_local5.start + _local5.change); if (_local5.isPlugin){ _local5.change = ((_local4 - _local2) * _local3); } else { _local5.change = ((_local4 - _local5.target[_local5.property]) * _local3); }; _local5.start = (_local4 - _local5.change); _local6--; }; }; } public function get timeScale():Number{ return (_timeScale); } public function restart(_arg1:Boolean=false):void{ if (_arg1){ this.initTime = currentTime; this.startTime = (currentTime + (this.delay * (1000 / this.combinedTimeScale))); } else { this.startTime = currentTime; this.initTime = (currentTime - (this.delay * (1000 / this.combinedTimeScale))); }; _repeatCount = 0; if (this.target != this.vars.onComplete){ render(this.startTime); }; this.pauseTime = NaN; _pausedTweens[this] = null; delete _pausedTweens[this]; this.enabled = true; } public function get paused():Boolean{ return (!(isNaN(this.pauseTime))); } public function killProperties(_arg1:Array):void{ var _local2:Object; var _local3:int; _local2 = {}; _local3 = (_arg1.length - 1); while (_local3 > -1) { _local2[_arg1[_local3]] = true; _local3--; }; killVars(_local2); } public function resume():void{ this.enabled = true; if (!isNaN(this.pauseTime)){ this.initTime = (this.initTime + (currentTime - this.pauseTime)); this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale))); this.pauseTime = NaN; if (((!(this.started)) && ((currentTime >= this.startTime)))){ activate(); } else { this.active = this.started; }; _pausedTweens[this] = null; delete _pausedTweens[this]; }; } override public function complete(_arg1:Boolean=false):void{ if (((((!(isNaN(this.vars.yoyo))) && ((((_repeatCount < this.vars.yoyo)) || ((this.vars.yoyo == 0)))))) || (((!(isNaN(this.vars.loop))) && ((((_repeatCount < this.vars.loop)) || ((this.vars.loop == 0)))))))){ _repeatCount++; if (!isNaN(this.vars.yoyo)){ this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease; }; this.startTime = (_arg1) ? (this.startTime + (this.duration * (1000 / this.combinedTimeScale))) : currentTime; this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale))); } else { if (this.vars.persist == true){ pause(); }; }; super.complete(_arg1); } public function invalidate(_arg1:Boolean=true):void{ var _local2:Number; if (this.initted){ _local2 = this.progress; if (((!(_arg1)) && (!((_local2 == 0))))){ this.progress = 0; }; this.tweens = []; _hasPlugins = false; this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars; initTweenVals(); _timeScale = ((this.vars.timeScale) || (1)); this.combinedTimeScale = (_timeScale * _globalTimeScale); this.delay = ((this.vars.delay) || (0)); if (isNaN(this.pauseTime)){ this.startTime = (this.initTime + ((this.delay * 1000) / this.combinedTimeScale)); }; if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){ if (_dispatcher != null){ this.vars.onStart = _callbacks.onStart; this.vars.onUpdate = _callbacks.onUpdate; this.vars.onComplete = _callbacks.onComplete; _dispatcher = null; }; initDispatcher(); }; if (_local2 != 0){ if (_arg1){ adjustStartValues(); } else { this.progress = _local2; }; }; }; } public function get progress():Number{ var _local1:Number; var _local2:Number; _local1 = (isNaN(this.pauseTime)) ? currentTime : this.pauseTime; _local2 = (((((_local1 - this.initTime) * 0.001) - (this.delay / this.combinedTimeScale)) / this.duration) * this.combinedTimeScale); if (_local2 > 1){ return (1); }; if (_local2 < 0){ return (0); }; return (_local2); } public function willTrigger(_arg1:String):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.willTrigger(_arg1)); } public function dispatchEvent(_arg1:Event):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.dispatchEvent(_arg1)); } public function get reversed():Boolean{ return ((this.ease == reverseEase)); } protected function onStartDispatcher(... _args):void{ if (_callbacks.onStart != null){ _callbacks.onStart.apply(null, this.vars.onStartParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START)); } public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{ var _local4:Number; var _local5:int; var _local6:Object; var _local7:Array; var _local8:Boolean; var _local9:Array; var _local10:Object; var _local11:int; var _local12:Array; _local4 = this.progress; if (this.initted){ if (((!(_arg3)) && (!((_local4 == 0))))){ _local5 = (this.tweens.length - 1); while (_local5 > -1) { if (this.tweens[_local5].name == _arg1){ this.tweens[_local5].target[this.tweens[_local5].property] = this.tweens[_local5].start; }; _local5--; }; }; _local6 = this.vars; _local7 = this.tweens; _local8 = _hasPlugins; this.tweens = []; this.vars = (this.exposedVars = {}); this.vars[_arg1] = _arg2; initTweenVals(); if (((!((this.ease == reverseEase))) && ((_local6.ease is Function)))){ this.ease = _local6.ease; }; if (((_arg3) && (!((_local4 == 0))))){ adjustStartValues(); }; _local9 = this.tweens; this.vars = _local6; this.tweens = _local7; _local10 = {}; _local5 = (_local9.length - 1); while (_local5 > -1) { if (_local9[_local5].name == "_MULTIPLE_"){ _local12 = _local9[_local5].target.overwriteProps; _local11 = (_local12.length - 1); while (_local11 > -1) { _local10[_local12[_local11]] = true; _local11--; }; } else { _local10[_local9[_local5].name] = true; }; _local5--; }; killVars(_local10); this.tweens = this.tweens.concat(_local9); _hasPlugins = Boolean(((_local8) || (_hasPlugins))); }; this.vars[_arg1] = _arg2; } public function set timeScale(_arg1:Number):void{ if (_arg1 < 1E-5){ _arg1 = (_timeScale = 1E-5); } else { _timeScale = _arg1; _arg1 = (_arg1 * _globalTimeScale); }; this.initTime = ((currentTime - ((((currentTime - this.initTime) - (this.delay * (1000 / this.combinedTimeScale))) * this.combinedTimeScale) * (1 / _arg1))) - (this.delay * (1000 / _arg1))); if (this.startTime != 999999999999999){ this.startTime = (this.initTime + (this.delay * (1000 / _arg1))); }; this.combinedTimeScale = _arg1; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ if (_dispatcher != null){ _dispatcher.removeEventListener(_arg1, _arg2, _arg3); }; } override public function initTweenVals():void{ var _local1:int; var _local2:int; var _local3:String; var _local4:String; var _local5:Array; var _local6:Object; var _local7:TweenInfo; if (this.exposedVars.startAt != null){ this.exposedVars.startAt.overwrite = 0; new TweenMax(this.target, 0, this.exposedVars.startAt); }; super.initTweenVals(); if ((((this.exposedVars.roundProps is Array)) && (!((TweenLite.plugins.roundProps == null))))){ _local5 = this.exposedVars.roundProps; _local1 = (_local5.length - 1); while (_local1 > -1) { _local3 = _local5[_local1]; _local2 = (this.tweens.length - 1); while (_local2 > -1) { _local7 = this.tweens[_local2]; if (_local7.name == _local3){ if (_local7.isPlugin){ _local7.target.round = true; } else { if (_local6 == null){ _local6 = new TweenLite.plugins.roundProps(); _local6.add(_local7.target, _local3, _local7.start, _local7.change); _hasPlugins = true; this.tweens[_local2] = new TweenInfo(_local6, "changeFactor", 0, 1, _local3, true); } else { _local6.add(_local7.target, _local3, _local7.start, _local7.change); this.tweens.splice(_local2, 1); }; }; } else { if (((((_local7.isPlugin) && ((_local7.name == "_MULTIPLE_")))) && (!(_local7.target.round)))){ _local4 = ((" " + _local7.target.overwriteProps.join(" ")) + " "); if (_local4.indexOf(((" " + _local3) + " ")) != -1){ _local7.target.round = true; }; }; }; _local2--; }; _local1--; }; }; } protected function initDispatcher():void{ var _local1:Object; var _local2:String; if (_dispatcher == null){ _dispatcher = new EventDispatcher(this); _callbacks = {onStart:this.vars.onStart, onUpdate:this.vars.onUpdate, onComplete:this.vars.onComplete}; if (this.vars.isTV == true){ this.vars = this.vars.clone(); } else { _local1 = {}; for (_local2 in this.vars) { _local1[_local2] = this.vars[_local2]; }; this.vars = _local1; }; this.vars.onStart = onStartDispatcher; this.vars.onComplete = onCompleteDispatcher; if ((this.vars.onStartListener is Function)){ _dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true); }; if ((this.vars.onUpdateListener is Function)){ _dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true); this.vars.onUpdate = onUpdateDispatcher; _hasUpdate = true; }; if ((this.vars.onCompleteListener is Function)){ _dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true); }; }; } protected function onUpdateDispatcher(... _args):void{ if (_callbacks.onUpdate != null){ _callbacks.onUpdate.apply(null, this.vars.onUpdateParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE)); } public function set progress(_arg1:Number):void{ this.startTime = (currentTime - ((this.duration * _arg1) * 1000)); this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale))); if (!this.started){ activate(); }; render(currentTime); if (!isNaN(this.pauseTime)){ this.pauseTime = currentTime; this.startTime = 999999999999999; this.active = false; }; } public function reverse(_arg1:Boolean=true, _arg2:Boolean=true):void{ var _local3:Number; this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease; _local3 = this.progress; if (((_arg1) && ((_local3 > 0)))){ this.startTime = (currentTime - ((((1 - _local3) * this.duration) * 1000) / this.combinedTimeScale)); this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale))); }; if (_arg2 != false){ if (_local3 < 1){ resume(); } else { restart(); }; }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ if (_dispatcher == null){ initDispatcher(); }; if ((((_arg1 == TweenEvent.UPDATE)) && (!((this.vars.onUpdate == onUpdateDispatcher))))){ this.vars.onUpdate = onUpdateDispatcher; _hasUpdate = true; }; _dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set paused(_arg1:Boolean):void{ if (_arg1){ pause(); } else { resume(); }; } public function hasEventListener(_arg1:String):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.hasEventListener(_arg1)); } public function pause():void{ if (isNaN(this.pauseTime)){ this.pauseTime = currentTime; this.startTime = 999999999999999; this.enabled = false; _pausedTweens[this] = this; }; } public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.ease((_arg4 - _arg1), _arg2, _arg3, _arg4)); } protected function onCompleteDispatcher(... _args):void{ if (_callbacks.onComplete != null){ _callbacks.onComplete.apply(null, this.vars.onCompleteParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE)); } public static function set globalTimeScale(_arg1:Number):void{ setGlobalTimeScale(_arg1); } public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(true, _arg1, _arg2); } public static function killAllDelayedCalls(_arg1:Boolean=false):void{ killAll(_arg1, false, true); } public static function setGlobalTimeScale(_arg1:Number):void{ var _local2:Dictionary; var _local3:int; var _local4:Array; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; _local2 = masterList; _globalTimeScale = _arg1; for each (_local4 in _local2) { _local3 = (_local4.length - 1); while (_local3 > -1) { if ((_local4[_local3] is TweenMax)){ _local4[_local3].timeScale = (_local4[_local3].timeScale * 1); }; _local3--; }; }; } public static function get globalTimeScale():Number{ return (_globalTimeScale); } public static function getTweensOf(_arg1:Object):Array{ var _local2:Array; var _local3:Array; var _local4:TweenLite; var _local5:int; _local2 = masterList[_arg1]; _local3 = []; if (_local2 != null){ _local5 = (_local2.length - 1); while (_local5 > -1) { if (!_local2[_local5].gc){ _local3[_local3.length] = _local2[_local5]; }; _local5--; }; }; for each (_local4 in _pausedTweens) { if (_local4.target == _arg1){ _local3[_local3.length] = _local4; }; }; return (_local3); } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenMax{ return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, persist:_arg4, overwrite:0})); } public static function isTweening(_arg1:Object):Boolean{ var _local2:Array; var _local3:int; _local2 = getTweensOf(_arg1); _local3 = (_local2.length - 1); while (_local3 > -1) { if (((((_local2[_local3].active) || ((_local2[_local3].startTime == currentTime)))) && (!(_local2[_local3].gc)))){ return (true); }; _local3--; }; return (false); } public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{ var _local4:Array; var _local5:Boolean; var _local6:int; _local4 = getAllTweens(); _local6 = (_local4.length - 1); while (_local6 > -1) { _local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete); if ((((_local4[_local6] is TweenMax)) && ((((_local5 == _arg3)) || (!((_local5 == _arg2))))))){ _local4[_local6].paused = _arg1; }; _local6--; }; } public static function killAllTweens(_arg1:Boolean=false):void{ killAll(_arg1, true, false); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ _arg3.runBackwards = true; return (new TweenMax(_arg1, _arg2, _arg3)); } public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{ var _local4:Array; var _local5:Boolean; var _local6:int; _local4 = getAllTweens(); _local6 = (_local4.length - 1); while (_local6 > -1) { _local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete); if ((((_local5 == _arg3)) || (!((_local5 == _arg2))))){ if (_arg1){ _local4[_local6].complete(false); _local4[_local6].clear(); } else { TweenLite.removeTween(_local4[_local6], true); }; }; _local6--; }; } public static function getAllTweens():Array{ var _local1:Dictionary; var _local2:Array; var _local3:Array; var _local4:int; var _local5:TweenLite; _local1 = masterList; _local2 = []; for each (_local3 in _local1) { _local4 = (_local3.length - 1); while (_local4 > -1) { if (!_local3[_local4].gc){ _local2[_local2.length] = _local3[_local4]; }; _local4--; }; }; for each (_local5 in _pausedTweens) { _local2[_local2.length] = _local5; }; return (_local2); } public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(false, _arg1, _arg2); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ return (new TweenMax(_arg1, _arg2, _arg3)); } } }//package gs
Section 128
//ActionsManager (managers.ActionsManager) package managers { import flash.events.*; import flash.display.*; import flash.geom.*; import character.*; import actions.*; import obstacles.*; import utils.*; import config.*; import view.*; import com.gamesandweb.game.*; public class ActionsManager { private var _textsVisible:Boolean; private var _resultActions:MovieClip;// = null private var _actionsAllow:Array; private var _littlesBallons:Array; private var _allActions:Array; private var _movieWithGlow:MovieClip;// = null private var _numOperated:uint; private var _acWaiting:Array; private var _numProcessed:uint; private var _actionsInProgress:Array; private var _scoreOptimum:Number; private var _breakActions:Array; private var _actionsToOperate:Array; public static const AC_SLEEP:String = "dormir"; public static const AC_EATING:String = "comer"; public static const AC_FEED_THE_DOG:String = "alimentarPerro"; public static const AC_PLAYING:String = "jugar"; public static const AC_PICKED_UP_PHONE:String = "hablar_telefono"; public static const AC_DOING_GYM:String = "ejercitar"; public static const AC_WATCHING_TV:String = "mirar_tv"; public static const AC_LISTENING:String = "escuchar_musica"; private static var _instance:ActionsManager = null; public function ActionsManager(_arg1:Singleton):void{ var _local2:IAvailable; _resultActions = null; _movieWithGlow = null; super(); _textsVisible = true; _allActions = new Array(); _local2 = new Cooker(LoadTiles("Cooker", true), LoadTiles("Cooker", false)); _allActions.push(_local2); DepthsManager.Instance.AddElements(_local2.View); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OVER, Glow); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _local2 = new Computer(LoadTiles("Computer", true), LoadTiles("Computer", false)); _allActions.push(_local2); DepthsManager.Instance.AddElements(_local2.View); DepthsManager.Instance.AddElements(Computer(_local2).Chair); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OVER, Glow); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _local2 = new Radio(LoadTiles("Radio", true), LoadTiles("Radio", false), ConfigLoader.Instance.Config["RadioSounds"].split(Constants.DIVIDER)); _allActions.push(_local2); DepthsManager.Instance.AddElements(_local2.View); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OVER, Glow); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _local2 = new ExerciseBike(LoadTiles("ExcerciseBike", true), LoadTiles("ExcerciseBike", false)); _allActions.push(_local2); DepthsManager.Instance.AddElements(_local2.View); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OVER, Glow); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _local2 = new Television(LoadTiles("TV", true), LoadTiles("TV", false), ConfigLoader.Instance.Config["TVPrograms"].split(Constants.DIVIDER)); _allActions.push(_local2); DepthsManager.Instance.AddElements(_local2.View); DepthsManager.Instance.AddElements((_local2 as Television).Armchair); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OVER, Glow); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _local2 = new Telephone(LoadTiles("Phone", true), LoadTiles("Phone", false)); DepthsManager.Instance.AddElements(Telephone(_local2).Chair); DepthsManager.Instance.AddElements(Telephone(_local2).Table); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OVER, Glow); _local2.HitArea.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _allActions.push(_local2); _resultActions = new ActionsResultAsset(); _resultActions.stop(); _resultActions.mouseEnabled = false; _resultActions.mouseChildren = false; } public function GetAction(_arg1:uint):IAvailable{ return ((AllActions[_arg1] as IAvailable)); } public function ShowAResult(_arg1:Boolean, _arg2:Number, _arg3:Number):void{ (_resultActions.x = _arg2); (_resultActions.y = _arg3); _resultActions.addEventListener("ResultEndDisappear", removeResult); LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).addChild(_resultActions); _resultActions.addEventListener(Event.RENDER, render); GameContext.GlobalStage.invalidate(); if (_arg1){ Sfx.PlaySound(Sfx.SFX_GOOD_OPERATION, false); _resultActions.gotoAndStop("good"); } else { Sfx.PlaySound(Sfx.SFX_BAD_OPERATION, false); Sfx.PlaySound(Sfx.SFX_ANNOYED); _resultActions.gotoAndStop("bad"); }; } private function FinishedOperate(_arg1:uint):void{ var _local2:int; _local2 = (_actionsToOperate.length - 1); while ((_local2 >= 0)) { if (_actionsToOperate[_local2][0] == _arg1){ _actionsToOperate.splice(_local2, 1); if (_arg1 == 0){ return; }; _local2 = (_acWaiting.length - 1); _local2; while (_local2 >= 0) { if (_acWaiting[_local2][0] == _arg1){ OneMoreToOperate(_arg1, _acWaiting[_local2][1]); _acWaiting.splice(_local2, 1); break; }; var _temp1 = _local2; _local2 = (_local2 - 1); _temp1; }; break; }; var _temp2 = _local2; _local2 = (_local2 - 1); _temp2; }; } public function IsOperating(_arg1:String):Boolean{ var _local2:String; var _local3:Array; if (_actionsToOperate.length == 0){ return (false); }; for each (var _local6 in _actionsToOperate) { _local3 = _local6; _local6; _local2 = (AllActions[_local3[0]] as Artifact).Name; _local2; if ((((_local2 == _arg1)) || ((((_local2 == AC_EATING)) && ((_arg1 == AC_FEED_THE_DOG)))))){ return (true); }; }; return (false); } public function get ExpectedScore():Number{ return (_scoreOptimum); } public function GetRandomSecuenceActions(_arg1:uint, _arg2:Number):Array{ var _local3:Array; var _local4:Array; var _local5:int; var _local6:uint; _local3 = new Array(); _local4 = SetTimes(_arg1, _arg2); _local5 = 0; while (_local5 < _arg1) { _local6 = Math.floor((Math.random() * _actionsAllow.length)); if (_local6 == _actionsAllow.length){ _local6--; }; if ((((_local3.length > 0)) && ((AllowsActions.length > 3)))){ if (_local3[(_local3.length - 1)][0] != _local6){ _local3.push([_actionsAllow[_local6], _local4[_local5]]); } else { _local5--; }; } else { _local3.push([_actionsAllow[_local6], _local4[_local5]]); }; _local5++; }; return (_local3); } public function OneMoreToOperate(_arg1:uint, _arg2:Girl):void{ var _local3:int; var _local4:Boolean; if (_arg2.LittleBallon == null){ return; }; _local3 = (_actionsToOperate.length - 1); _local4 = false; while ((((_local3 >= 0)) && (!(_local4)))) { if (_actionsToOperate[_local3][0] == _arg1){ _local4 = true; _local4; }; var _temp1 = _local3; _local3 = (_local3 - 1); _temp1; }; if (((_local4) || ((((AllActions[_arg1] as IAvailable).Processing) && (!((_arg1 == 0))))))){ _arg2.DoAction(); _acWaiting.push([_arg1, _arg2]); } else { _actionsToOperate.push([_arg1, _arg2]); _arg2.DoAction(); (AllActions[_arg1] as IAvailable).Operate(_arg2); if (_movieWithGlow != null){ MovieClipUtils.ResetGlow(_movieWithGlow); MovieClipUtils.ResetTint(_movieWithGlow); (_movieWithGlow = null); }; GirlsManager.Instance.ResetAllGlow(); }; } public function get BreakActions():Array{ return (_breakActions); } protected function LoadTiles(_arg1:String, _arg2:Boolean):Array{ var _local3:Array; var _local4:Array; var _local5:Array; var _local6:*; _local3 = null; _local4 = null; if (_arg2){ _local4 = ConfigLoader.Instance.Config[(_arg1 + "PrevTiles")].split(Constants.DIVIDER); } else { _local4 = ConfigLoader.Instance.Config[(_arg1 + "PostTiles")].split(Constants.DIVIDER); }; if (_local4 != null){ _local3 = new Array(); }; for each (_local6 in _local4) { _local5 = String(_local6).split(Constants.COMMA); _local3.push(new Point(_local5[0], _local5[1])); }; return (_local3); } protected function SetTimes(_arg1:uint, _arg2:Number):Array{ var _local3:Array; var _local4:Boolean; var _local5:int; var _local6:int; var _local7:Number; _local3 = new Array(); _local5 = 0; _local6 = 0; while (_local6 < _arg1) { _local7 = (Math.floor((Math.random() * (Time.Instance.Limit - 10))) + 10); _local4 = true; _local5 = 0; while (((_local4) && ((_local5 < _local3.length)))) { if (Math.abs((_local3[_local5] - _local7)) < _arg2){ _local6--; _local4 = false; }; _local5++; }; if (_local4){ _local3.push(_local7); }; _local6++; }; PutInOrder(_local3); return (_local3); } private function render(_arg1:Event):void{ var _local2:MovieClip; _resultActions.removeEventListener(Event.RENDER, render); _local2 = (_resultActions.getChildAt(0) as MovieClip); if (_local2 == null){ return; }; _local2.gotoAndPlay(1); } public function IsAllow(_arg1:uint):Boolean{ var _local2:*; for each (var _local5 in _actionsAllow) { _local2 = _local5; _local5; if (_local2 == _arg1){ return (true); }; }; return (false); } public function GetActionToBreak(_arg1:Array):IAvailable{ var _local2:uint; var _local3:IAvailable; var _local4:uint; var _local5:Boolean; var _local6:*; _local2 = Math.round((Math.random() * (_breakActions.length - 1))); _local3 = null; _local4 = _local2; _local5 = false; do { _local3 = (AllActions[_breakActions[_local4]] as IAvailable); _local3; if (((!(_local3.CouldBreak())) || (WaitForOperating(_local3)))){ _local3 = null; _local3; } else { if (((!((_arg1 == null))) && ((_arg1.length > 0)))){ _local6 = (_arg1.length - 1); while ((((_local6 >= 0)) && (!((_local3 == null))))) { if ((_local3 as Artifact).Name == _arg1[_local6]){ _local3 = null; _local3; }; var _temp1 = _local6; _local6 = (_local6 - 1); _temp1; }; }; }; var _temp2 = _local4; _local4 = (_local4 + 1); _temp2; if (_local4 >= _breakActions.length){ _local4 = 0; _local4; }; if (_local4 == _local2){ _local5 = true; _local5; }; } while ((((_local3 == null)) && (!(_local5)))); return (_local3); } public function GetTypeWithName(_arg1:String):int{ var _local2:int; _local2 = -1; switch (_arg1){ case AC_EATING: case AC_FEED_THE_DOG: _local2 = 0; _local2; break; case AC_PLAYING: _local2 = 1; _local2; break; case AC_LISTENING: _local2 = 2; _local2; break; case AC_DOING_GYM: _local2 = 3; _local2; break; case AC_WATCHING_TV: _local2 = 4; _local2; break; case AC_PICKED_UP_PHONE: _local2 = 5; _local2; break; default: break; }; return (_local2); } public function OneLittleBallon(_arg1:String):MovieClip{ var _local2:MovieClip; var _local3:MovieClip; _local2 = null; for each (_local3 in _littlesBallons) { if (_local3.parent == null){ _local2 = _local3; break; }; }; switch (_arg1){ case AC_SLEEP: case AC_EATING: case AC_DOING_GYM: case AC_LISTENING: case AC_PLAYING: case AC_WATCHING_TV: case AC_FEED_THE_DOG: case AC_PICKED_UP_PHONE: (_local2.getChildByName("contenido_mc") as MovieClip).gotoAndStop(_arg1); break; }; return (_local2); } public function get ActionsToOperate():Array{ return (_actionsToOperate); } private function Glow(_arg1:MouseEvent):void{ if (((((_arg1.currentTarget as MovieClip).visible == false)) || (((_arg1.currentTarget as MovieClip).alpha == 0)))){ _movieWithGlow = ((_arg1.currentTarget as MovieClip).parent as MovieClip); } else { _movieWithGlow = (_arg1.currentTarget as MovieClip); }; MovieClipUtils.Glow(_movieWithGlow, ConfigLoader.Instance.Config["GLOW_ACTIONS"], ConfigLoader.Instance.Config["ALPHA"], ConfigLoader.Instance.Config["BLUR_X"], ConfigLoader.Instance.Config["BLUR_Y"], ConfigLoader.Instance.Config["STRENGTH"], false, false, ConfigLoader.Instance.Config["QUALITY"]); MovieClipUtils.Tint(_movieWithGlow, ConfigLoader.Instance.Config["GLOW_ACTIONS"], ConfigLoader.Instance.Config["ALPHA_ARTIFACT"]); } public function Reset():void{ var _local1:uint; if (_resultActions.hasEventListener("ResultEndDisappear")){ _resultActions.removeEventListener("ResultEndDisappear", removeResult); }; if (_resultActions.parent != null){ _resultActions.parent.removeChild(_resultActions); }; for each (var _local4 in AllowsActions) { _local1 = _local4; _local4; IAvailable(AllActions[_local1]).Reset(); }; if (_movieWithGlow != null){ MovieClipUtils.ResetGlow(_movieWithGlow); MovieClipUtils.ResetTint(_movieWithGlow); (_movieWithGlow = null); }; _actionsInProgress.splice(0, _actionsInProgress.length); _actionsToOperate.splice(0, _actionsToOperate.length); _acWaiting.splice(0, _acWaiting.length); (_numOperated = 0); (_numProcessed = 0); (_scoreOptimum = 0); } public function Initialize(_arg1:uint):void{ var _local2:*; var _local3:*; _numOperated = 0; _numProcessed = 0; _scoreOptimum = 0; ShowInstruccionsOnPopUps(_arg1); _actionsAllow = (ConfigLoader.Instance.Config[("ActionsAllow" + _arg1)] as String).split(Constants.DIVIDER); _actionsInProgress = new Array(); _actionsToOperate = new Array(); _acWaiting = new Array(); for each (_local2 in _allActions) { (_local2 as IAvailable).Deactivate(); MovieClip((_local2 as IAvailable).View.getChildByName("flecha_mc")).visible = false; }; for each (_local3 in _actionsAllow) { (_allActions[_local3] as IAvailable).Activate(); }; _breakActions = (ConfigLoader.Instance.Config["TypesBreakActions"] as String).split(Constants.DIVIDER); } public function AddALittleBallon():void{ var _local1:MovieClip; if (_littlesBallons == null){ _littlesBallons = new Array(); }; _local1 = new LitleBallonCookerAsset(); _local1.scaleX = (_local1.scaleY = ConfigLoader.Instance.Config["LittleBallonScale"]); _littlesBallons.push(_local1); } protected function PutInOrder(_arg1:Array):void{ var _local2:Number; var _local3:int; var _local4:int; _local2 = 0; _local3 = 1; while (_local3 <= _arg1.length) { _local4 = 0; while (_local4 < (_arg1.length - 1)) { if (_arg1[_local4] < _arg1[(_local4 + 1)]){ _local2 = _arg1[_local4]; _arg1[_local4] = _arg1[(_local4 + 1)]; _arg1[(_local4 + 1)] = _local2; }; _local4++; }; _local3++; }; } public function get AllActions():Array{ return (_allActions); } public function FindActionWithThisHitArea(_arg1:MovieClip):IAvailable{ var _local2:IAvailable; for each (var _local5 in AllActions) { _local2 = _local5; _local5; if (_local2.HitArea == _arg1){ return (_local2); }; }; return (null); } private function removeResult(_arg1:Event):void{ _resultActions.removeEventListener("ResultEndDisappear", removeResult); _resultActions.parent.removeChild(_resultActions); } public function get AllowsActions():Array{ return (_actionsAllow); } public function HideIndicator(_arg1:String):void{ var _local2:*; _local2 = GetTypeWithName(_arg1); if (!_textsVisible){ return; }; if (_local2 == -1){ return; }; (_allActions[_local2] as IAvailable).View.getChildByName("flecha_mc").visible = false; } public function WaitForOperating(_arg1:IAvailable):Boolean{ var _local2:Array; var _local3:Array; for each (var _local6 in _actionsToOperate) { _local2 = _local6; _local6; if (AllActions[_local2[0]] == _arg1){ return (true); }; }; for each (_local6 in _acWaiting) { _local3 = _local6; _local6; if (AllActions[_local3[0]] == _arg1){ return (true); }; }; return (false); } public function get TextsVisible():Boolean{ return (_textsVisible); } public function Resume():void{ var _local1:uint; for each (var _local4 in _actionsAllow) { _local1 = _local4; _local4; (_allActions[_local1] as IAvailable).Resume(); }; } private function ShowInstruccionsOnPopUps(_arg1:uint):void{ var _local2:Artifact; _local2 = null; if (((!(_textsVisible)) && ((_arg1 == 0)))){ for each (_local2 in _allActions) { }; (_textsVisible = true); return; }; if ((((_arg1 > 0)) && (_textsVisible))){ for each (var _local5 in _allActions) { _local2 = _local5; _local5; }; (_textsVisible = false); }; } protected function CheckShowTimes(_arg1:Number):void{ var _local2:int; var _local3:IAvailable; var _local4:int; var _local5:uint; _local2 = 0; _local3 = null; if (((!((_actionsToOperate == null))) && ((_actionsToOperate.length > 0)))){ _local2 = (_actionsToOperate.length - 1); while (_local2 >= 0) { _local3 = (AllActions[_actionsToOperate[_local2][0]] as IAvailable); _local3; (_local3.IncrementTimePopUp = _arg1); if ((_local3 as Artifact).TimePopUp == Artifact.TIME_POP_UP){ _local3.ForcePopUpOut(); _actionsToOperate.splice(_local2, 1); }; _local2--; }; _local2 = 0; _local2; _local3 = null; _local3; }; if (((!((_actionsInProgress == null))) && ((_actionsInProgress.length > 0)))){ _local4 = 0; _local2 = (_actionsInProgress.length - 1); while (_local2 >= 0) { _local3 = (_actionsInProgress[_local2] as IAvailable); _local3; (_local3.IncrementTimeProcess = _arg1); if ((_local3 as Artifact).TimeProcess == Artifact.TIME_PROCESS){ if (Artifact(_local3).Name != AC_EATING){ Artifact(_local3).dispatchEvent(new Event(Artifact.E_END_PROCESS)); }; _local4 = (_acWaiting.length - 1); _local4; _local5 = GetTypeWithThisHitArea(_local3.HitArea); _local5; while (_local4 >= 0) { if (_acWaiting[_local4][0] == _local5){ OneMoreToOperate(_local5, _acWaiting[_local4][1]); _acWaiting.splice(_local4, 1); break; }; var _temp1 = _local4; _local4 = (_local4 - 1); _temp1; }; _actionsInProgress.splice(_local2, 1); }; _local2--; }; }; } public function BadOperate(_arg1:IAvailable):void{ _arg1.WhoManipulate.DoNothing(); FinishedOperate(GetTypeWithName((_arg1 as Artifact).Name)); _arg1.BadProcess(); _numOperated++; (_scoreOptimum = (_scoreOptimum + _arg1.OptimumScore)); ShowAResult(false, (_arg1 as Artifact).PopUp.View.x, (_arg1 as Artifact).PopUp.View.y); _arg1.WhoManipulate.View.gotoAndPlay("Molesta"); } public function IsWaitingOperate(_arg1:String):Boolean{ var _local2:Boolean; var _local3:String; var _local4:int; var _local5:int; if (_actionsToOperate.length == 0){ return (false); }; _local2 = false; _local4 = _actionsToOperate.length; _local5 = 0; while (((!(_local2)) && ((_local5 < _local4)))) { _local3 = (_allActions[_actionsToOperate[_local5][0]] as Artifact).Name; _local3; if ((((_local3 == _arg1)) || ((((_local3 == AC_EATING)) && ((_arg1 == AC_FEED_THE_DOG)))))){ _local2 = true; _local2; }; var _temp1 = _local5; _local5 = (_local5 + 1); _temp1; }; if (!_local2){ _local5 = (_acWaiting.length - 1); _local5; while (((!(_local2)) && ((_local5 >= 0)))) { _local3 = (_allActions[_acWaiting[_local5][0]] as Artifact).Name; _local3; if ((((_local3 == _arg1)) || ((((_local3 == AC_EATING)) && ((_arg1 == AC_FEED_THE_DOG)))))){ _local2 = true; _local2; }; var _temp2 = _local4; _local4 = (_local4 - 1); _temp2; }; }; return (_local2); } private function ResetGlow(_arg1:MouseEvent):void{ if (_movieWithGlow == null){ return; }; MovieClipUtils.ResetGlow(_movieWithGlow); MovieClipUtils.ResetTint(_movieWithGlow); _movieWithGlow = null; } public function get NumberProcessed():uint{ return (_numProcessed); } public function get NumberOperated():uint{ return (_numOperated); } public function ChooseDiferentAction(_arg1:Array):uint{ var _local2:uint; var _local3:Boolean; var _local4:*; _local2 = Math.round((Math.random() * (_actionsAllow.length - 1))); _local3 = false; do { _local3 = false; _local3; for each (var _local7 in _arg1) { _local4 = _local7; _local7; if (_local4 == GetNameAction(_actionsAllow[_local2])){ _local3 = true; _local3; }; }; if (_local3){ _local2 = ((_local2)==(_actionsAllow.length - 1)) ? 0 : (_local2 + 1); _local2; }; } while (_local3); return (_actionsAllow[_local2]); } public function GetTypeWithThisHitArea(_arg1:MovieClip):int{ var _local2:int; var _local3:int; _local2 = 0; _local3 = _allActions.length; while (_local2 < _local3) { if ((_allActions[_local2] as IAvailable).HitArea == _arg1){ break; }; var _temp1 = _local2; _local2 = (_local2 + 1); _temp1; }; if (_local2 == _local3){ _local2 = -1; _local2; }; return (_local2); } public function IndicateAction(_arg1:String):void{ var _local2:*; if (_textsVisible){ _local2 = GetTypeWithName(_arg1); if (_local2 == -1){ return; }; (_allActions[_local2] as IAvailable).View.getChildByName("flecha_mc").visible = true; }; } public function Update(_arg1:Number):void{ CheckShowTimes(_arg1); } public function IsInProgress(_arg1:String):Boolean{ var _local2:Boolean; var _local3:uint; var _local4:String; var _local5:int; if (_actionsInProgress.length == 0){ return (false); }; _local2 = false; _local3 = _actionsInProgress.length; _local5 = 0; while (((!(_local2)) && ((_local5 < _local3)))) { _local4 = (AllActions[_actionsInProgress[_local5][0]] as Artifact).Name; _local4; if ((((_local4 == _arg1)) || ((((_local4 == AC_EATING)) && ((_arg1 == AC_FEED_THE_DOG)))))){ _local2 = true; _local2; }; }; return (_local2); } public function BreakAction(_arg1:String, _arg2:uint):void{ var _local3:IAvailable; _local3 = GetAction(GetTypeWithName(_arg1)); if ((((_arg1 == AC_FEED_THE_DOG)) && ((_arg2 == ObstaclesManager.OBS_PEACH)))){ Cooker(_local3).CookForPeack(); return; }; _local3.Break(); } public function GetNameAction(_arg1:uint):String{ return ((AllActions[_arg1] as Artifact).Name); } public function Pause():void{ var _local1:uint; for each (var _local4 in _actionsAllow) { _local1 = _local4; _local4; (_allActions[_local1] as IAvailable).Pause(); }; } public function OneMoreToProcess(_arg1:IAvailable):void{ _numOperated++; (_scoreOptimum = (_scoreOptimum + _arg1.OptimumScore)); if (_arg1.GoodOperate()){ _numProcessed++; _arg1.Process(); if (((!(((_arg1 as Artifact).Name == AC_EATING))) || (!(this.IsProcessing(0))))){ _actionsInProgress.push(_arg1); }; ShowAResult(true, (_arg1 as Artifact).PopUp.View.x, (_arg1 as Artifact).PopUp.View.y); }; FinishedOperate(GetTypeWithName((_arg1 as Artifact).Name)); } public function DoAction(_arg1:Girl):void{ var _local2:uint; _local2 = GetTypeWithName(_arg1.GetActionRequire()); if (_arg1.GetActionRequire() == Artifact(_arg1.DestAction).Name){ OneMoreToOperate(_local2, _arg1); return; }; if ((((Artifact(_arg1.DestAction).Name == ActionsManager.AC_EATING)) && ((_arg1.GetActionRequire() == ActionsManager.AC_FEED_THE_DOG)))){ Cooker(GetAction(_local2)).CookForPeack(); OneMoreToOperate(_local2, _arg1); return; }; } public function IsProcessing(_arg1:uint):void{ } public static function get Instance():ActionsManager{ if (_instance == null){ _instance = new ActionsManager(new Singleton()); }; return (_instance); } } }//package managers class Singleton { private function Singleton(){ } }
Section 129
//DepthsManager (managers.DepthsManager) package managers { import flash.display.*; import view.*; public class DepthsManager { private var _container:MovieClip; private var _elements:Array; private var _numGirls:uint; private var _girls:Array; private var _numElements:uint; private static var _instance:DepthsManager = null; public function DepthsManager(_arg1:Singleton):void{ _elements = new Array(); _numElements = 0; _girls = new Array(); _numGirls = 0; _container = LayerFactory.Instance.GetLayer(LayerFactory.GAME); _arg1 = null; } public function OrderAllDepths():void{ var _local1:int; var _local2:Boolean; var _local3:Array; var _local4:uint; _local1 = 0; _local2 = false; _local3 = new Array(); _local1 = 0; while (_local1 < _numElements) { _local3.push(_elements[_local1]); _local1++; }; _local4 = 0; while (_local4 < _girls.length) { _local1 = 0; _local2 = false; while (_local1 < _local3.length) { if ((_local3[_local1] as MovieClip).y >= (_girls[_local4] as MovieClip).y){ _local3.splice(_local1, 0, (_girls[_local4] as MovieClip)); _local2 = true; break; }; _local1++; }; if (!_local2){ _local3.push((_girls[_local4] as MovieClip)); }; _local4++; }; _local1 = 0; while (_local1 < _local3.length) { if (_container.getChildIndex((_local3[_local1] as MovieClip)) != _local1){ _container.setChildIndex(_local3[_local1], _local1); }; _local1++; }; } public function RemoveGirl(_arg1:MovieClip):Boolean{ var _local2:int; _local2 = 0; while (_local2 < _numGirls) { if (_girls[_local2] == _arg1){ _girls.splice(_local2, 1); _numGirls--; return (true); }; _local2++; }; return (false); } private function CheckDepthBetweenBodies(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Boolean):int{ var _local5:int; var _local6:int; var _local7:MovieClip; _local5 = _container.getChildIndex(_arg1); for each (_local7 in _girls) { if (_arg1 != _local7){ _local6 = _container.getChildIndex(_local7); if ((((_arg2 < _local7.y)) && ((_local7.y < _arg3)))){ if ((((_local6 > _local5)) || ((_local5 == -1)))){ _local5 = _local6; }; } else { if ((((_arg2 > _local7.y)) && ((_local7.y > _arg3)))){ if ((((_local6 < _local5)) || ((_local5 == -1)))){ _local5 = _local6; }; } else { if (((_arg4) && ((_arg2 == _local7.y)))){ if ((((_local6 < _local5)) || ((_local5 == -1)))){ _local5 = _local6; }; } else { if (((!(_arg4)) && ((_arg3 == _local7.y)))){ if ((((_local6 > _local5)) || ((_local5 == -1)))){ _local5 = _local6; }; }; }; }; }; }; }; if (_local5 == _container.getChildIndex(_arg1)){ _local5 = -1; }; return (_local5); } public function RemoveElement(_arg1:MovieClip):Boolean{ var _local2:int; _local2 = 0; while (_local2 < _numElements) { if (_elements[_local2] == _arg1){ _elements.splice(_local2, 1); _numElements--; return (true); }; _local2++; }; return (false); } public function CheckDepth(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Boolean):void{ var _local5:int; var _local6:int; var _local7:uint; var _local8:Number; _local5 = -1; _local6 = CheckDepthBetweenBodies(_arg1, _arg2, _arg3, _arg4); _local7 = 0; _local8 = 0; while (_local7 < _numElements) { _local8 = (_elements[_local7] as MovieClip).y; _local5 = _container.getChildIndex((_elements[_local7] as MovieClip)); if ((((_arg2 < _local8)) && ((_local8 < _arg3)))){ if ((((_local5 > _local6)) || ((_local6 == -1)))){ _local6 = _local5; }; } else { if ((((_arg2 > _local8)) && ((_local8 >= _arg3)))){ if ((((_local5 < _local6)) || ((_local6 == -1)))){ _local6 = _local5; }; }; }; _local7++; }; if (_local6 > -1){ _container.setChildIndex(_arg1, _local6); }; } public function AddGirl(_arg1:MovieClip):void{ _girls.push(_arg1); _numGirls++; } public function AddElements(_arg1:MovieClip):void{ var _local2:uint; if (_numElements == 0){ _numElements++; _elements.push(_arg1); return; }; _local2 = 0; if ((_elements[_local2] as MovieClip).y >= _arg1.y){ _numElements = _elements.unshift(_arg1); return; }; while (++_local2 < _numElements) { if ((_elements[_local2] as MovieClip).y >= _arg1.y){ _elements.splice(_local2, 0, _arg1); _numElements++; return; }; }; _elements.push(_arg1); _numElements++; } public static function get Instance():DepthsManager{ if (_instance == null){ _instance = new DepthsManager(new Singleton()); }; return (_instance); } } }//package managers class Singleton { private function Singleton(){ } }
Section 130
//GirlsManager (managers.GirlsManager) package managers { import flash.events.*; import game.*; import flash.display.*; import flash.geom.*; import character.*; import actions.*; import obstacles.*; import terrain.*; import utils.*; import pathfinding.*; import config.*; import view.*; import com.gamesandweb.game.*; public class GirlsManager { private var _obstacleInProgress:IObstacle;// = null private var _indexGirlClicked:int; private var _indexTutor:int; private var _actionsMngr:ActionsManager; private var _actions; private var _numGirls:uint; private var _girls:Array; private var _indexActionClicked:int; private static var _instance:GirlsManager = null; public function GirlsManager(_arg1:Singleton):void{ _actionsMngr = ActionsManager.Instance; _obstacleInProgress = null; super(); LoadGirls(); } public function DemandToAll(_arg1:String):void{ var _local2:Girl; for each (_local2 in _girls) { if (!_local2.DoingAction){ if (_local2.LittleBallon != null){ if (((!((_local2.GetActionRequire() == _arg1))) && (!(ActionsManager.Instance.IsWaitingOperate(_local2.GetActionRequire()))))){ MovieClip(_local2.LittleBallon.getChildByName("contenido_mc")).gotoAndStop(_arg1); }; } else { _local2.RequireAction(_actionsMngr.OneLittleBallon(_arg1)); }; if (_obstacleInProgress.GetType() == ObstaclesManager.OBS_MOJO){ _local2.ChangeStatus(Girl.STATUS_MOJO); }; }; }; } private function InitAction(_arg1:Event){ if (GameManager.Instance.CurrentLevel == 0){ switch (Artifact(_arg1.currentTarget).Name){ case ActionsManager.AC_DOING_GYM: break; case ActionsManager.AC_EATING: break; case ActionsManager.AC_WATCHING_TV: break; }; }; Artifact(_arg1.currentTarget).addEventListener(Artifact.E_END_OPERATE, Process); Artifact(_arg1.currentTarget).addEventListener(Artifact.E_FORCE_END, BadOperate); } public function CheckNeeds(_arg1:Event):void{ if (GameManager.Instance.CurrentLevel != 0){ ObstaclesManager.Instance.Control(Time.Instance.RemainingTime); }; if (ObstaclesManager.Instance.CurrentObstacle != null){ if (((ObstaclesManager.Instance.IsActive) && ((_obstacleInProgress == null)))){ _obstacleInProgress = ObstaclesManager.Instance.CurrentObstacle; if (_obstacleInProgress.GetType() == ObstaclesManager.OBS_PEACH){ _obstacleInProgress.View.name = "Peach"; _obstacleInProgress.View.addEventListener(MouseEvent.MOUSE_OVER, Glow); _obstacleInProgress.View.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _obstacleInProgress.View.addEventListener(MouseEvent.CLICK, ChooseAction); }; _actionsMngr.BreakAction(_obstacleInProgress.NameLittleBallon, _obstacleInProgress.GetType()); DemandToAll(_obstacleInProgress.NameLittleBallon); }; } else { CheckRequireActions(_arg1); }; } public function ImplementAction(_arg1:Event):void{ var _local2:Girl; _local2 = (_arg1.currentTarget as Girl); CheckDisplayAllLittleBallons(_local2); _local2.removeEventListener(Girl.E_GIRL_END_WALK, ImplementAction); if (!_local2.Sleeping){ _local2.ChangeStatus(Girl.STATUS_IDLE); } else { _local2.ChangeStatus(Girl.WALK_ON_BACK); _local2.View.stop(); }; if ((((_local2.IndexActionPlaned < _local2.ActiosnsPlaned.length)) || (!((_obstacleInProgress == null))))){ if (_obstacleInProgress != null){ if ((((_obstacleInProgress.GetType() == ObstaclesManager.OBS_MOJO)) && (!(_local2.Sleeping)))){ _local2.ChangeStatus(Girl.STATUS_MOJO); }; if (_actionsMngr.IsOperating(_obstacleInProgress.NameLittleBallon)){ return; }; }; _actionsMngr.DoAction(_local2); }; } public function FindGirl(_arg1:MovieClip):Girl{ var _local2:int; var _local3:Girl; _local2 = 0; _local3 = null; while ((((_local3 == null)) && ((_local2 < _numGirls)))) { if ((_girls[_local2] as Girl).View == _arg1){ _local3 = (_girls[_local2] as Girl); }; _local2++; }; return (_local3); } public function OneBarIsEmpty():Boolean{ var _local1:int; var _local2:*; _local1 = 0; _local2 = false; while ((((_local1 < _girls.length)) && (!(_local2)))) { if (Girl(_girls[_local1]).CheerupPercentage == 0){ _local2 = true; }; _local1++; }; return (_local2); } public function AllAreInactive():Boolean{ var _local1:int; var _local2:*; _local1 = 0; _local2 = true; do { if (((Girl(_girls[_local1]).View.visible) || (!(Girl(_girls[_local1]).Sleeping)))){ _local2 = false; }; _local1++; } while ((((_local1 < _girls.length)) && (_local2))); return (_local2); } public function ResetAllGlow():void{ var _local1:Girl; for each (_local1 in _girls) { MovieClipUtils.ResetGlow(_local1.View); _actionsMngr.HideIndicator(_local1.GetActionRequire()); }; } public function FinishEat(_arg1:Event):void{ var _local2:Girl; _local2 = Girl(_arg1.currentTarget); if (_local2.CheerupPercentage == 100){ _local2.GoToSleep(); return; }; if (_obstacleInProgress != null){ _local2.RequireAction(_actionsMngr.OneLittleBallon(_obstacleInProgress.NameLittleBallon)); }; } private function Glow(_arg1:MouseEvent):void{ var _local2:MovieClip; var _local3:uint; _local2 = null; if (((((_arg1.currentTarget as MovieClip).visible == false)) || (((_arg1.currentTarget as MovieClip).alpha == 0)))){ _local2 = ((_arg1.currentTarget as MovieClip).parent as MovieClip); } else { _local2 = (_arg1.currentTarget as MovieClip); }; switch (_local2.name){ case Girl.MOMOKO: _local3 = ConfigLoader.Instance.Config["GLOW_MOMOKO"]; break; case Girl.MIYAKO: _local3 = ConfigLoader.Instance.Config["GLOW_MIYAKO"]; break; case Girl.KAOURU: _local3 = ConfigLoader.Instance.Config["GLOW_KAORU"]; break; default: _local3 = ConfigLoader.Instance.Config["GLOW_DEFAULT"]; break; }; MovieClipUtils.Glow(_local2, _local3, ConfigLoader.Instance.Config["ALPHA"], ConfigLoader.Instance.Config["BLUR_X"], ConfigLoader.Instance.Config["BLUR_Y"], ConfigLoader.Instance.Config["STRENGTH"], false, false, ConfigLoader.Instance.Config["QUALITY"]); if (_local2.name != "Peach"){ _actionsMngr.IndicateAction(FindGirl(_local2).GetActionRequire()); }; } public function Reset():void{ var _local1:Girl; var _local2:Artifact; Map.Instance.ResetMapBitMap(); _actionsMngr.Reset(); ResetAllGlow(); ObstaclesManager.Instance.Reset(); for each (_local1 in _girls) { _local1.Reset(); _local1.removeEventListener(Girl.E_GIRL_END_WALK, ImplementAction); if (_local1.hasEventListener(Girl.E_GIRL_END_WALK)){ _local1.addEventListener(Girl.E_GIRL_END_WALK, ImplementAction); }; }; _indexActionClicked = -1; _indexGirlClicked = -1; if (((!((_obstacleInProgress == null))) && ((_obstacleInProgress.GetType() == ObstaclesManager.OBS_PEACH)))){ _obstacleInProgress.View.removeEventListener(MouseEvent.MOUSE_OVER, Glow); _obstacleInProgress.View.removeEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _obstacleInProgress.View.removeEventListener(MouseEvent.CLICK, ChooseAction); }; _obstacleInProgress = null; for each (_local2 in _actionsMngr.AllActions) { if (_local2.hasEventListener(Artifact.E_END_OPERATE)){ _local2.removeEventListener(Artifact.E_END_OPERATE, Process); }; if (_local2.hasEventListener(Artifact.E_END_PROCESS)){ _local2.removeEventListener(Artifact.E_END_PROCESS, EndProcess); }; if (_local2.hasEventListener(Artifact.E_FORCE_END)){ _local2.removeEventListener(Artifact.E_FORCE_END, BadOperate); }; }; } private function EndProcess(_arg1:Event):void{ var _local2:Girl; if (GameManager.Instance.CurrentLevel == 0){ switch (Artifact(_arg1.currentTarget).Name){ case ActionsManager.AC_DOING_GYM: break; case ActionsManager.AC_EATING: break; case ActionsManager.AC_WATCHING_TV: break; }; }; Artifact(_arg1.currentTarget).removeEventListener(Artifact.E_END_PROCESS, EndProcess); _local2 = IAvailable(_arg1.currentTarget).WhoManipulate; IAvailable(_arg1.currentTarget).Completed(); if (_local2.CheerupPercentage == 100){ _local2.GoToSleep(); return; }; if (_obstacleInProgress != null){ if ((((_obstacleInProgress.NameLittleBallon == Artifact(_arg1.currentTarget).Name)) || ((((Artifact(_arg1.currentTarget).Name == ActionsManager.AC_EATING)) && ((_obstacleInProgress.NameLittleBallon == ActionsManager.AC_FEED_THE_DOG)))))){ RequireOldActions(); } else { _local2.RequireAction(_actionsMngr.OneLittleBallon(_obstacleInProgress.NameLittleBallon)); if (_obstacleInProgress.GetType() == ObstaclesManager.OBS_MOJO){ _local2.ChangeStatus(Girl.STATUS_MOJO); }; }; }; } public function AddGirl(_arg1:String, _arg2:Point, _arg3:String, _arg4:String):Boolean{ var _local5:Boolean; var _local6:*; var _local7:Girl; _local5 = true; for each (_local6 in _girls) { if ((_local6 as Girl).Name == _arg1){ _local5 = false; }; }; if (_local5){ _local7 = new Girl(_arg1, _arg3, _arg4); _girls.push(_local7); }; return (_local5); } public function Initialize(_arg1:uint):void{ var _local2:Girl; var _local3:int; var _local4:Array; var _local5:Array; _indexTutor = 0; _local2 = null; _obstacleInProgress = null; Map.Instance.ResetMapBitMap(); _actionsMngr.Initialize(_arg1); _local3 = 0; while (_local3 < _numGirls) { _local2 = (_girls[_local3] as Girl); _local2.WakeUp(); _local4 = ConfigLoader.Instance.Config[(_local2.Name + String(_arg1))].split(Constants.DIVIDER); _local5 = (_local4[2] as String).split(Constants.COMMA); _local2.LocateInit(new Point(_local5[0], _local5[1])); if (_local4[0] == 0){ _local2.ProgramActions = ProgrameActionsDefault(_arg1, _local2.Name); } else { _local2.ProgramActions = _actionsMngr.GetRandomSecuenceActions(_local4[0], _local4[1]); }; _local3++; }; DepthsManager.Instance.OrderAllDepths(); if (!Time.Instance.hasEventListener(Time.TIMER_EVENT)){ Time.Instance.addEventListener(Time.TIMER_EVENT, CheckNeeds); }; } public function ActionsRequire():Array{ var _local1:Array; var _local2:Girl; _local1 = new Array(); for each (_local2 in _girls) { if (((!((_local2.LittleBallon == null))) && (!((_local2.GetActionRequire() == "ninguna"))))){ _local1.push(_local2.GetActionRequire()); }; }; if (_local1.length == 0){ _local1 = null; }; return (_local1); } public function ChooseAction(_arg1:MouseEvent):void{ var _local2:IAvailable; var _local3:Girl; var _local4:Point; var _local5:Point; var _local6:Array; if (((!((_indexGirlClicked == -1))) && ((_indexActionClicked == -1)))){ if ((_arg1.currentTarget as MovieClip).name == "Peach"){ _indexActionClicked = 0; _local2 = _actionsMngr.GetAction(0); } else { _indexActionClicked = _actionsMngr.GetTypeWithThisHitArea((_arg1.currentTarget as MovieClip)); _local2 = _actionsMngr.FindActionWithThisHitArea((_arg1.currentTarget as MovieClip)); }; if (!_local2.Operating){ _local3 = (_girls[_indexGirlClicked] as Girl); MovieClipUtils.ResetGlow(_local3.View); _actionsMngr.HideIndicator((_girls[_indexGirlClicked] as Girl).GetActionRequire()); _local3.addEventListener(Girl.E_GIRL_END_WALK, ImplementAction); if (!IsAtThePlace(_local3, (_local2 as Artifact))){ _local4 = Map.Instance.GetTileAt(_local3.Position.x, _local3.Position.y); _local5 = _local2.TileBeforeDoAction; if (_local5 != null){ _local6 = PathFinder.GetInstance().FindPath(Map.Instance.MapBitMap, _local4.y, _local4.x, _local5.y, _local5.x); if (_local6 != null){ _local3.BestPath = _local6; _local3.InitMove(_local2); }; }; } else { _local3.DestAction = _local2; _local3.dispatchEvent(new Event(Girl.E_GIRL_END_WALK)); }; _indexGirlClicked = -1; }; }; } private function Process(_arg1:Event):void{ var _local2:Boolean; Artifact(_arg1.currentTarget).removeEventListener(Artifact.E_FORCE_END, BadOperate); Artifact(_arg1.currentTarget).removeEventListener(Artifact.E_END_OPERATE, Process); Artifact(_arg1.currentTarget).addEventListener(Artifact.E_END_PROCESS, EndProcess); _local2 = IAvailable(_arg1.currentTarget).GoodOperate(); if (_obstacleInProgress != null){ if (_local2){ _actionsMngr.OneMoreToProcess((_arg1.currentTarget as IAvailable)); if ((((_obstacleInProgress.NameLittleBallon == Artifact(_arg1.currentTarget).Name)) || ((((Artifact(_arg1.currentTarget).Name == ActionsManager.AC_EATING)) && ((_obstacleInProgress.NameLittleBallon == ActionsManager.AC_FEED_THE_DOG)))))){ RequireOldActions(); }; } else { _actionsMngr.BadOperate((_arg1.currentTarget as IAvailable)); Artifact(_arg1.currentTarget).removeEventListener(Artifact.E_END_PROCESS, EndProcess); DemandToAll(_obstacleInProgress.NameLittleBallon); }; return; } else { if (_local2){ _actionsMngr.OneMoreToProcess((_arg1.currentTarget as IAvailable)); if (GameManager.Instance.CurrentLevel == 0){ switch (Artifact(_arg1.currentTarget).Name){ case ActionsManager.AC_DOING_GYM: break; case ActionsManager.AC_EATING: break; case ActionsManager.AC_WATCHING_TV: break; }; if (_indexTutor < _numGirls){ TutorInstructions.Instance.HideText(); _indexTutor++; }; }; } else { _actionsMngr.BadOperate((_arg1.currentTarget as IAvailable)); Artifact(_arg1.currentTarget).removeEventListener(Artifact.E_END_PROCESS, EndProcess); }; }; } public function IsAtThePlace(_arg1:Girl, _arg2:Artifact):Boolean{ var _local3:int; var _local4:Boolean; var _local5:Point; _local3 = 0; _local4 = false; _local5 = Map.Instance.GetTileAt(_arg1.View.x, _arg1.View.y); while ((((_local3 < _arg2.PreviusTilesPositions.length)) && (!(_local4)))) { if ((((_arg2.PreviusTilesPositions[_local3].x == _local5.x)) && ((_arg2.PreviusTilesPositions[_local3].y == _local5.y)))){ _local4 = true; }; _local3++; }; return (_local4); } public function CompletedAllBars():Boolean{ var _local1:int; var _local2:*; _local1 = 0; _local2 = true; do { _local2 = (Girl(_girls[_local1]).CheerupPercentage == 100); _local1++; } while ((((_local1 < _girls.length)) && (_local2))); return (_local2); } public function ActiveControl():void{ var _local1:*; var _local2:int; for each (_local1 in _actionsMngr.AllActions) { if ((_local1 as IAvailable).HitArea != null){ (_local1 as IAvailable).HitArea.addEventListener(MouseEvent.CLICK, ChooseAction); }; Artifact(_local1).addEventListener(Artifact.E_INIT_OPERATE, InitAction); }; _local2 = 0; while (_local2 < _numGirls) { (_girls[_local2] as Girl).HitArea.addEventListener(MouseEvent.CLICK, ChooseGirl); (_girls[_local2] as Girl).HitArea.addEventListener(MouseEvent.MOUSE_OVER, Glow); (_girls[_local2] as Girl).HitArea.addEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _local2++; }; } public function get Girls():Array{ return (_girls); } private function ResetGlow(_arg1:MouseEvent):void{ var _local2:MovieClip; _local2 = null; if (((((_arg1.currentTarget as MovieClip).visible == false)) || (((_arg1.currentTarget as MovieClip).alpha == 0)))){ _local2 = ((_arg1.currentTarget as MovieClip).parent as MovieClip); } else { _local2 = (_arg1.currentTarget as MovieClip); }; if ((((_indexGirlClicked >= 0)) && (((_girls[_indexGirlClicked] as Girl).View == _local2)))){ return; }; if (_local2.name != "Peach"){ _actionsMngr.HideIndicator(FindGirl(_local2).GetActionRequire()); }; MovieClipUtils.ResetGlow(_local2); } private function RepeatingAction(_arg1:Girl, _arg2:String):Array{ var _local3:Boolean; var _local4:Array; var _local5:int; _local3 = false; _local4 = new Array(); _local5 = _girls.length; _local4.push(_arg1.GetActionRequire()); while (_local5 > 0) { _local5--; if (Girl(_girls[_local5]) != _arg1){ _local4.push(Girl(_girls[_local5]).GetActionRequire()); if ((((((_arg2 == Girl(_girls[_local5]).GetActionRequire())) || ((((_arg2 == ActionsManager.AC_EATING)) && ((Girl(_girls[_local5]).GetActionRequire() == ActionsManager.AC_PLAYING)))))) || ((((_arg2 == ActionsManager.AC_PLAYING)) && ((Girl(_girls[_local5]).GetActionRequire() == ActionsManager.AC_EATING)))))){ _local3 = true; }; }; }; if (!_local3){ _local4 = null; }; return (_local4); } public function AllAreSleeping():Boolean{ var _local1:int; var _local2:*; _local1 = 0; _local2 = true; do { _local2 = Girl(_girls[_local1]).Sleeping; _local1++; } while ((((_local1 < _girls.length)) && (_local2))); return (_local2); } private function BadOperate(_arg1:Event):void{ if (GameManager.Instance.CurrentLevel == 0){ switch (Artifact(_arg1.currentTarget).Name){ case ActionsManager.AC_DOING_GYM: break; case ActionsManager.AC_EATING: break; case ActionsManager.AC_WATCHING_TV: break; }; }; Artifact(_arg1.currentTarget).removeEventListener(Artifact.E_END_OPERATE, Process); Artifact(_arg1.currentTarget).removeEventListener(Artifact.E_FORCE_END, BadOperate); _actionsMngr.BadOperate((_arg1.currentTarget as IAvailable)); if (_obstacleInProgress != null){ DemandToAll(_obstacleInProgress.NameLittleBallon); }; } protected function CheckRequireActions(_arg1:Event):void{ var _local2:int; var _local3:Array; var _local4:Boolean; var _local5:Girl; var _local6:Girl; var _local7:Array; if ((((((GameManager.Instance.CurrentLevel == 0)) && ((_indexTutor < _numGirls)))) && (!(TutorInstructions.Instance.Welcome)))){ _local5 = _girls[_indexTutor]; if ((((_local5.LittleBallon == null)) && (!(_local5.DoingAction)))){ _local5.RequireAction(_actionsMngr.OneLittleBallon(_actionsMngr.GetNameAction(_local5.NextActionPlaned[0]))); CheckDisplayAllLittleBallons(_local5); TutorInstructions.Instance.ChangeInstruccion("Require", _local5.GetActionRequire(), _local5.Name); }; } else { for each (_local6 in _girls) { if ((((_local6.LittleBallon == null)) && (!(Girl(_local6).Sleeping)))){ _local3 = null; _local2 = _local6.IndexActionPlaned; if (_local2 < _local6.ActiosnsPlaned.length){ while ((((_local3 == null)) && ((_local2 < _local6.ActiosnsPlaned.length)))) { if ((((((_local6.NextActionPlaned[1] > Time.Instance.RemainingTime)) && ((_local6.LittleBallon == null)))) && (!(_local6.DoingAction)))){ _local6.PassToNextAction(); _local2++; } else { _local3 = _local6.NextActionPlaned; }; }; if (_local2 < _local6.ActiosnsPlaned.length){ if (Time.Instance.RemainingTime == _local3[1]){ _local7 = RepeatingAction(_local6, _actionsMngr.GetNameAction(_local3[0])); if (_local7 != null){ _local3[0] = _actionsMngr.ChooseDiferentAction(_local7); }; _local6.RequireAction(_actionsMngr.OneLittleBallon(_actionsMngr.GetNameAction(_local3[0]))); CheckDisplayAllLittleBallons(_local6); }; }; }; }; }; }; } private function FlipLittleBallon(_arg1:MovieClip, _arg2:Boolean):void{ if (_arg1 != null){ if (_arg2){ if (_arg1.x > 0){ _arg1.scaleX = (_arg1.scaleX * -1); _arg1.x = (_arg1.x * -1); }; } else { if (_arg1.x < 0){ _arg1.scaleX = (_arg1.scaleX * -1); _arg1.x = (_arg1.x * -1); }; }; }; } public function CancelControl():void{ var _local1:*; var _local2:int; for each (_local1 in _actionsMngr.AllActions) { if ((_local1 as IAvailable).HitArea != null){ (_local1 as IAvailable).HitArea.removeEventListener(MouseEvent.CLICK, ChooseAction); }; Artifact(_local1).removeEventListener(Artifact.E_INIT_OPERATE, InitAction); }; _local2 = 0; while (_local2 < _numGirls) { (_girls[_local2] as Girl).HitArea.removeEventListener(MouseEvent.CLICK, ChooseGirl); (_girls[_local2] as Girl).HitArea.removeEventListener(MouseEvent.MOUSE_OVER, Glow); (_girls[_local2] as Girl).HitArea.removeEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _local2++; }; } private function ProgrameActionsDefault(_arg1:uint, _arg2:String):Array{ var _local3:Array; var _local4:Array; var _local5:String; _local3 = new Array(); _local4 = ConfigLoader.Instance.Config[((_arg2 + "Default") + String(_arg1))].split(Constants.DIVIDER); for each (_local5 in _local4) { _local3.push(_local5.split(Constants.COMMA)); }; return (_local3); } public function Update(_arg1:Number):void{ var _local2:Girl; _actionsMngr.Update(_arg1); ObstaclesManager.Instance.Update(_arg1); for each (_local2 in _girls) { _local2.Update(_arg1); if (_local2.CheerupPercentage == 0){ Global.DispatchGameEvent(GameManager.GAME_OVER); }; }; } public function Pause():void{ var _local1:Girl; _actionsMngr.Pause(); for each (_local1 in _girls) { _local1.Pause(); }; } public function Resume():void{ var _local1:Girl; _actionsMngr.Resume(); for each (_local1 in _girls) { _local1.Resume(); }; } private function LoadGirls():void{ var _local1:Array; var _local2:String; var _local3:String; var _local4:int; var _local5:Girl; _girls = new Array(); _numGirls = 0; _local1 = ConfigLoader.Instance.Config["NamesGirls"].split(Constants.DIVIDER); _local4 = 0; while (_local4 < _local1.length) { _local3 = ConfigLoader.Instance.Config[(String(_local1[_local4]) + "Music")]; _local2 = ConfigLoader.Instance.Config[(String(_local1[_local4]) + "Program")]; _local5 = new Girl(_local1[_local4], _local3, _local2); _local5.addEventListener("FINISHED_EAT", FinishEat); _girls.push(_local5); _numGirls++; _actionsMngr.AddALittleBallon(); LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(_local5.View); DepthsManager.Instance.AddGirl(_local5.View); _local4++; }; } public function ChooseGirl(_arg1:MouseEvent):void{ var _local2:Girl; var _local3:int; _local2 = FindGirl((_arg1.currentTarget as MovieClip)); if (_local2 == null){ _local2 = FindGirl(((_arg1.currentTarget as MovieClip).parent as MovieClip)); }; if (_local2 == null){ return; }; if (_local2.Sleeping){ return; }; if (((!(_local2.DoingAction)) && (!(_local2.Moving)))){ _indexActionClicked = -1; _local3 = GetIndexGirl(_local2); if ((((_indexGirlClicked >= 0)) && (!((_local3 == _indexGirlClicked))))){ MovieClipUtils.ResetGlow((_girls[_indexGirlClicked] as Girl).View); _actionsMngr.HideIndicator((_girls[_indexGirlClicked] as Girl).GetActionRequire()); }; _indexGirlClicked = _local3; return; }; _indexGirlClicked = -1; } public function CheckDisplayAllLittleBallons(_arg1:Girl):void{ var _local2:Array; var _local3:int; var _local4:Boolean; var _local5:Girl; var _local6:Array; var _local7:int; _local2 = new Array(); _local3 = 0; _local4 = false; _local3 = 0; while (_local3 < _girls.length) { _arg1 = Girl(_girls[_local3]); _local2.push([_local3, _arg1.Position, _arg1.LittleBallon]); _local3++; }; _local6 = null; _local7 = 1; while (_local7 <= _local2.length) { _local3 = 0; while (_local3 < (_local2.length - 1)) { if (Point(_local2[_local3][1]).x > Point(_local2[(_local3 + 1)][1]).x){ _local6 = _local2[_local3]; _local2[_local3] = _local2[(_local3 + 1)]; _local2[(_local3 + 1)] = _local6; }; _local3++; }; _local7++; }; _local3 = 0; while (_local3 < (_local2.length - 1)) { _arg1 = (_girls[_local2[_local3][0]] as Girl); _local5 = (_girls[_local2[(_local3 + 1)][0]] as Girl); if (Math.abs((_arg1.PosX - _local5.PosX)) > Constants.TILE_DEFAULT_WIDTH){ if (_local3 == 0){ _local2.splice(_local3, 1); } else { _local2.splice((_local3 + 1), 1); }; _local3--; }; _local3++; }; switch (_local2.length){ case 2: FlipLittleBallon((_local2[0][2] as MovieClip), true); FlipLittleBallon((_local2[1][2] as MovieClip), false); break; case 3: FlipLittleBallon((_local2[0][2] as MovieClip), true); FlipLittleBallon((_local2[2][2] as MovieClip), false); if ((((Point(_local2[1][1]).y > Point(_local2[0][1]).y)) && ((Point(_local2[1][1]).x >= Point(_local2[0][1]).x)))){ FlipLittleBallon((_local2[1][2] as MovieClip), false); } else { if ((((Point(_local2[1][1]).y < Point(_local2[0][1]).y)) && ((Point(_local2[1][1]).x >= Point(_local2[0][1]).x)))){ FlipLittleBallon((_local2[1][2] as MovieClip), true); }; }; break; default: _local2 = null; }; } private function RequireOldActions():void{ var _local1:Girl; for each (_local1 in _girls) { if (_local1.GetActionRequire() == _obstacleInProgress.NameLittleBallon){ _local1.LittleBallon.parent.removeChild(_local1.LittleBallon); _local1.LittleBallon = null; _local1.ChangeStatus(Girl.STATUS_IDLE); }; }; ObstaclesManager.Instance.Resolve(); if (_obstacleInProgress.GetType() == ObstaclesManager.OBS_PEACH){ _obstacleInProgress.View.removeEventListener(MouseEvent.MOUSE_OVER, Glow); _obstacleInProgress.View.removeEventListener(MouseEvent.MOUSE_OUT, ResetGlow); _obstacleInProgress.View.removeEventListener(MouseEvent.CLICK, ChooseAction); }; _obstacleInProgress = null; } public function GetIndexGirl(_arg1:Girl):int{ var _local2:int; _local2 = 0; while (_local2 < _numGirls) { if ((_girls[_local2] as Girl) == _arg1){ return (_local2); }; _local2++; }; return (-1); } public static function get Instance():GirlsManager{ if (_instance == null){ _instance = new GirlsManager(new Singleton()); }; return (_instance); } } }//package managers class Singleton { private function Singleton(){ } }
Section 131
//ObstaclesManager (managers.ObstaclesManager) package managers { import flash.events.*; import flash.geom.*; import obstacles.*; import config.*; public class ObstaclesManager { private var _control:Boolean; private var _actionsMngr:ActionsManager; private var _isActive:Boolean; private var _orderObstacles:Array;// = null private var _currObs:IObstacle; private var _girlsMngr:GirlsManager; private var _obstacles:Array;// = null private var _times:Array;// = null private var _lastObs:IObstacle; private var _index:uint; private var _allowsObs:Array;// = null private var _numTypes:uint; private var _working:Boolean; public static const OBS_TELEPHONE:uint = 0; public static const OBS_MOJO:uint = 2; public static const E_INIT_DISTURB:String = "InitDisturbEvent"; public static const OBS_PEACH:uint = 1; public static const OBSTACLE_RESOLVE:String = "ObstacleResolve"; private static var _instance:ObstaclesManager = null; public function ObstaclesManager(_arg1:SingletonForce):void{ var _local2:IObstacle; var _local3:ConfigLoader; var _local4:Array; var _local5:Array; var _local6:Array; var _local7:String; _obstacles = null; _allowsObs = null; _orderObstacles = null; _times = null; _actionsMngr = ActionsManager.Instance; _girlsMngr = GirlsManager.Instance; super(); _working = false; _local2 = (ActionsManager.Instance.GetAction(5) as IObstacle); _local2.Type = OBS_TELEPHONE; AddObstacle(_local2); _local2 = new Peach(); _local2.Type = OBS_PEACH; AddObstacle(_local2); DepthsManager.Instance.AddElements(_local2.View); DepthsManager.Instance.OrderAllDepths(); _local3 = ConfigLoader.Instance; _local4 = _local3.Config["DestPosition"].split(Constants.DIVIDER); _local5 = new Array(); for each (_local7 in _local4) { _local6 = _local7.split(Constants.COMMA); _local5.push(new Point(_local6[0], _local6[1])); }; _local2 = new Mojo(_local3.Config["MojoMusic"], _local3.Config["MojoProgram"], new Point(_local3.Config["InitPositionX"], _local3.Config["InitPositionY"]), _local5, _local3.Config["NamesBreakActions"].split(Constants.DIVIDER)); _local2.Type = OBS_MOJO; AddObstacle(_local2); _arg1 = null; } public function Hinder():void{ _currObs.Disturb(); } public function set CurrentObstacle(_arg1:IObstacle):void{ _currObs = _arg1; if (_currObs == null){ _working = false; }; } public function get Working():Boolean{ return (_working); } public function get ObstacleActive():IObstacle{ return (_lastObs); } public function get Controlable():Boolean{ return (_control); } public function DoNotControl():void{ if (_control == true){ _control = false; }; } public function ObstacleIsActive(_arg1:uint):Boolean{ var _local2:Boolean; var _local3:uint; _local2 = false; _local3 = 0; while (((!(_local2)) && ((_local3 < _orderObstacles.length)))) { if ((_orderObstacles[_local3] as IObstacle).GetType() == _arg1){ _local2 = true; }; _local3++; }; return (_local2); } public function get CurrentObstacle():IObstacle{ if (IsActive){ return (_currObs); }; return (null); } public function Initilize(_arg1:Array, _arg2:Array, _arg3:Array=null, _arg4:uint=0, _arg5:Number=0):void{ var _local6:uint; _working = false; _control = true; _orderObstacles = null; if (_arg3 == null){ _allowsObs = _obstacles; } else { _allowsObs = _arg3; }; if (_arg1 == null){ _orderObstacles = GetRandomizeObstacles(_arg4); } else { if (_orderObstacles == null){ _orderObstacles = new Array(); }; for each (_local6 in _arg1) { _orderObstacles.push(_obstacles[_local6]); }; }; if (_arg2 == null){ _times = SetTimes(_arg4, _arg5); } else { _times = _arg2; }; _index = 0; _lastObs = null; _currObs = null; } protected function SetTimes(_arg1:uint, _arg2:Number):Array{ var _local3:Array; var _local4:Boolean; var _local5:int; var _local6:int; var _local7:Number; _local3 = new Array(); _local5 = 0; _local6 = 0; while (_local6 < _arg1) { _local7 = (Math.floor((Math.random() * (Time.Instance.Limit - 10))) + 10); _local4 = true; _local5 = 0; while (((_local4) && ((_local5 < _local3.length)))) { if (Math.abs((_local3[_local5] - _local7)) < _arg2){ _local6--; _local4 = false; }; _local5++; }; if (_local4){ _local3.push(_local7); }; _local6++; }; PutInOrder(_local3); return (_local3); } public function SetObstaclesInOrder(_arg1:Array, _arg2:Array):void{ _orderObstacles = _arg1; _times = _arg2; PutInOrder(_times); } private function Active(_arg1:Event){ if (!_isActive){ _isActive = true; _currObs.Disturb(); }; _currObs.RemoveEventListener(E_INIT_DISTURB, Active); } public function AddObstacle(_arg1:IObstacle):void{ if (_obstacles == null){ _obstacles = new Array(); }; _obstacles.push(_arg1); _numTypes++; } protected function PutInOrder(_arg1:Array):void{ var _local2:Number; var _local3:int; var _local4:int; _local2 = 0; _local3 = 1; while (_local3 <= _arg1.length) { _local4 = 0; while (_local4 < (_arg1.length - 1)) { if (_arg1[_local4] < _arg1[(_local4 + 1)]){ _local2 = _arg1[_local4]; _arg1[_local4] = _arg1[(_local4 + 1)]; _arg1[(_local4 + 1)] = _local2; }; _local4++; }; _local3++; }; } public function Control(_arg1:uint):void{ if (!_control){ return; }; if (!Working){ if (_times[_index] < _arg1){ return; }; while ((((_currObs == null)) && ((_index < _orderObstacles.length)))) { if (_times[_index] <= _arg1){ break; }; _index++; }; if (_index < _orderObstacles.length){ if (_arg1 == _times[_index]){ _currObs = (_orderObstacles[_index] as IObstacle); }; }; if (_currObs != null){ _working = true; if (_currObs == _lastObs){ ChangeObstacle(); }; _currObs.AddEventListener(E_INIT_DISTURB, Active); Hinder(); }; }; } public function Reset():void{ var _local1:IObstacle; for each (_local1 in _obstacles) { _local1.Reset(); }; if (_currObs != null){ _currObs.RemoveEventListener(E_INIT_DISTURB, Active); }; _working = false; _isActive = false; _currObs = null; _lastObs = null; _index = 0; _control = true; } public function GetNextToOperate():IObstacle{ return (_currObs); } public function Resolve():void{ if (_currObs == null){ return; }; _working = false; _isActive = false; _lastObs = _currObs; _currObs.Resolve(); switch (_currObs.GetType()){ case OBS_MOJO: break; case OBS_PEACH: break; }; _currObs = null; } public function Resume():void{ var _local1:IObstacle; for each (_local1 in _obstacles) { _local1.Resume(); }; } public function Pause():void{ var _local1:IObstacle; for each (_local1 in _obstacles) { _local1.Pause(); }; } private function GetRandomizeObstacles(_arg1:uint):Array{ var _local2:Array; var _local3:IObstacle; var _local4:int; var _local5:int; var _local6:int; _local2 = new Array(); _local3 = null; _local5 = 0; _local6 = 0; while (_local6 < _arg1) { _local4 = Math.round((Math.random() * (_allowsObs.length - 1))); _local5 = -1; do { _local5++; if (IObstacle(_obstacles[_local5]).GetType() == _allowsObs[_local4]){ _local3 = IObstacle(_obstacles[_allowsObs[_local4]]); }; } while ((((_local3 == null)) && ((_local5 < _obstacles.length)))); if (_local6 > 0){ if (_local2[(_local2.length - 1)] == _local3){ _local4++; if (_local4 == _allowsObs.length){ _local3 = IObstacle(_obstacles[_allowsObs[0]]); } else { _local3 = IObstacle(_obstacles[_allowsObs[_local4]]); }; }; _local2.push(_local3); } else { if (_local4 >= 0){ _local2.push(_local3); } else { _local6--; }; }; _local6++; }; return (_local2); } public function GetObstacle(_arg1:uint):IObstacle{ var _local2:int; var _local3:IObstacle; _local2 = 0; _local3 = null; while ((((_local2 < _obstacles.length)) && ((_local3 == null)))) { if (IObstacle(_obstacles[_local2]).GetType() == _arg1){ _local3 = IObstacle(_obstacles[_local2]); }; _local2++; }; return (_local3); } public function get IsActive():Boolean{ return (_isActive); } public function Update(_arg1:Number):void{ var _local2:IObstacle; for each (_local2 in _obstacles) { _local2.Update(_arg1); }; } private function ChangeObstacle():void{ } public static function get Instance():ObstaclesManager{ if (_instance == null){ _instance = new ObstaclesManager(new SingletonForce()); }; return (_instance); } } }//package managers class SingletonForce { private function SingletonForce(){ } }
Section 132
//IObstacle (obstacles.IObstacle) package obstacles { import flash.display.*; public interface IObstacle { function get Started():Boolean; function get View():MovieClip; function get NameLittleBallon():String; function Update(_arg1:Number):void; function RemoveEventListener(_arg1:String, _arg2:Function); function Resolve():void; function AddEventListener(_arg1:String, _arg2:Function); function GetType():uint; function set Type(_arg1:uint):void; function Reset():void; function Resume():void; function Suspend():void; function Pause():void; function Disturb():void; } }//package obstacles
Section 133
//Mojo (obstacles.Mojo) package obstacles { import flash.events.*; import flash.display.*; import flash.geom.*; import managers.*; import actions.*; import gs.*; import view.*; import gs.easing.*; public class Mojo extends EventDispatcher implements IObstacle { private const ST_FRONT:String = "Idle_Frente"; private const ST_COME_IN:String = "Entra01"; private const ST_GO_OUT:String = "Rie"; private var _view:MovieClip; private var _destPtos:Array; private var _type:uint; private var _prevAcBreak:IAvailable; private var _state:String; private var _music:String; private var _acNamesBreak:Array; private var _started:Boolean; private var _acToBreak:IAvailable; private var _programe:String; private var _indexAc:uint; private var _moving:Boolean; private var _tween:TweenMax; private var _initPto:Point; public static const LEFT_PROFILE:int = -1; public static const RIGHT_PROFILE:uint = 1; public static const ON_BACK:uint = 2; public static const ON_FRONT:uint = 0; public function Mojo(_arg1:String, _arg2:String, _arg3:Point, _arg4:Array, _arg5:Array){ _view = new MojoAsset(); _initPto = _arg3; _destPtos = _arg4; _acNamesBreak = _arg5; _indexAc = 0; _music = _arg1; _programe = _arg2; _started = false; _moving = false; _tween = null; _prevAcBreak = null; _acToBreak = null; State = ""; } private function UpdateTween():void{ } private function Disappear(_arg1:Event):void{ _acToBreak.Break(); dispatchEvent(new Event(ObstaclesManager.E_INIT_DISTURB)); View.removeEventListener("TerminoBardeo", Disappear); View.addEventListener("MojoDisappear", RemoveAcView); View.gotoAndStop(ST_GO_OUT); Sfx.PlaySound(Sfx.SFX_MOJO_LAUGHT, false); State = ST_GO_OUT; } public function get Music():String{ return (_music); } public function GetType():uint{ return (_type); } public function Pause():void{ if (State == ""){ return; }; if (Moving){ _tween.pause(); Sfx.StopSound(Sfx.SFX_MOJO_FLASH); }; if (State == ST_GO_OUT){ Sfx.StopSound(Sfx.SFX_MOJO_LAUGHT); }; (View.getChildByName("mojo_mc") as MovieClip).stop(); } public function Suspend():void{ } public function Update(_arg1:Number):void{ } public function get PosY():Number{ return (_view.y); } private function ArrivedStage():void{ var _local1:Point; if (Moving){ Sfx.StopSound(Sfx.SFX_MOJO_FLASH); Moving = false; _local1 = _acToBreak.View.globalToLocal(new Point(View.x, View.y)); View.parent.removeChild(View); View.x = _local1.x; View.y = _local1.y; _acToBreak.View.addChild(View); View.addEventListener("TerminoBardeo", Disappear); (View.getChildAt(0) as MovieClip).gotoAndPlay(2); Sfx.PlaySound(Sfx.SFX_MOJO_BREAK, false); }; } public function set Type(_arg1:uint):void{ _type = _arg1; } public function Reset():void{ Sfx.StopSound(Sfx.SFX_MOJO_BREAK); Sfx.StopSound(Sfx.SFX_MOJO_FLASH); Sfx.StopSound(Sfx.SFX_MOJO_APPEAR); if (_tween != null){ _tween.pause(); _tween = null; }; if (View.parent != null){ View.parent.removeChild(View); }; View.x = -100; View.y = -100; View.gotoAndStop(ST_FRONT); State = ST_FRONT; _indexAc = 0; _tween = null; _started = false; _moving = false; _prevAcBreak = null; if (_acToBreak != null){ _acToBreak.Reset(); }; _acToBreak = null; } public function RemoveEventListener(_arg1:String, _arg2:Function){ if (this.hasEventListener(_arg1)){ this.removeEventListener(_arg1, _arg2); }; } private function RemoveAcView(_arg1:Event):void{ View.removeEventListener("MojoDisappear", RemoveAcView); State = ""; if (View.parent != null){ View.parent.removeChild(View); }; } public function get PosX():Number{ return (_view.x); } public function AddEventListener(_arg1:String, _arg2:Function){ if (!_started){ this.addEventListener(_arg1, _arg2); }; } public function get View():MovieClip{ return (_view); } public function get Position():Point{ return (new Point(View.x, View.y)); } public function Resolve():void{ _acToBreak = null; _started = false; _moving = false; } public function set Moving(_arg1:Boolean):void{ _moving = _arg1; } public function Disturb():void{ var _local1:int; if (!_started){ _started = true; if (_acToBreak != null){ _prevAcBreak = _acToBreak; }; _acToBreak = ActionsManager.Instance.GetActionToBreak(GirlsManager.Instance.ActionsRequire()); if (_acToBreak == null){ _started = false; ObstaclesManager.Instance.CurrentObstacle = null; return; }; _local1 = -1; do { _local1++; } while (((!((_acNamesBreak[_local1] == (_acToBreak as Artifact).Name))) && ((_local1 < _acNamesBreak.length)))); if (_local1 < _acNamesBreak.length){ _view.x = _initPto.x; _view.y = _initPto.y; LayerFactory.Instance.GetLayer(LayerFactory.MOJO).addChild(View); CreateParametersMovemet(_local1); }; }; } public function get Started():Boolean{ return (_started); } public function get Program():String{ return (_programe); } private function CreateParametersMovemet(_arg1:uint):void{ var _local2:Object; var _local3:Array; var _local4:Object; _local2 = new Object(); _local3 = new Array(); _local2.onComplete = ArrivedStage; _local2.bezier = _local3; _local2.onUpdate = UpdateTween; _local2.ease = Expo.easeIn; _local4 = new Object(); _local4.x = _destPtos[_arg1].x; _local4.y = _destPtos[_arg1].y; _local3.push(_local4); View.gotoAndStop(ST_COME_IN); State = ST_COME_IN; Sfx.PlaySound(Sfx.SFX_MOJO_APPEAR, false); _tween = TweenMax.to(View, 1, _local2); Sfx.PlaySoundLoop(Sfx.SFX_MOJO_FLASH, false); _moving = true; } public function set State(_arg1:String):void{ _state = _arg1; } public function get Moving():Boolean{ return (_moving); } public function Resume():void{ if (State == ""){ return; }; if (Moving){ _tween.resume(); Sfx.PlaySoundLoop(Sfx.SFX_MOJO_FLASH, false); }; if (State == ST_GO_OUT){ Sfx.PlaySoundLoop(Sfx.SFX_MOJO_LAUGHT, false); }; (View.getChildByName("mojo_mc") as MovieClip).play(); } public function get State():String{ return (_state); } public function get NameLittleBallon():String{ if (_acToBreak != null){ return ((_acToBreak as Artifact).Name); }; return (" "); } } }//package obstacles
Section 134
//Peach (obstacles.Peach) package obstacles { import flash.events.*; import flash.display.*; import managers.*; import view.*; public class Peach extends EventDispatcher implements IObstacle { private var _view:MovieClip;// = null private var _state:String; private var _type:uint; private var _volumenBark:Number; private var _started:Boolean; private var _timeState:Number; private var _timeVolumen:Number; public static const ST_EATING:String = "Come"; public static const ST_IDLE:String = "Idle"; public static const ST_BARK:String = "Ladra"; public static const ST_SLEEP:String = "Duerme"; public static var INCREMENT_VOLUMEN_IN:Number = 0.2; public static var DURING_SLEEPING:Number = 10000; public static var DURING_IDLE:Number = 5000; public static var POS_X:Number = 266.4; public static var POS_Y:Number = 88.5; public static var DELAY_X_INC_VOLUMEN:Number = 4000; public static var TIME_EATING:Number = 10000; public function Peach():void{ _view = null; super(); _started = false; _view = new PeachAsset(); _view.x = POS_X; _view.y = POS_Y; _view.gotoAndStop(ST_IDLE); _state = ST_IDLE; _timeState = 0; _timeVolumen = 0; _volumenBark = INCREMENT_VOLUMEN_IN; LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(View); } public function get NameLittleBallon():String{ return (ActionsManager.AC_FEED_THE_DOG); } public function GetType():uint{ return (_type); } public function Suspend():void{ _timeState = 0; _started = false; ChangeState(ST_IDLE); } private function ChangeState(_arg1:String):void{ if ((((State == ST_BARK)) && ((((_arg1 == ST_EATING)) || ((_arg1 == ST_IDLE)))))){ Sfx.StopSound(Sfx.SFX_BARK); }; if (_arg1 != State){ _state = _arg1; _view.gotoAndStop(_arg1); _timeState = 0; }; } public function RemoveEventListener(_arg1:String, _arg2:Function){ if (this.hasEventListener(_arg1)){ this.removeEventListener(_arg1, _arg2); }; } public function AskForFood():void{ if (_state != ST_BARK){ ChangeState(ST_BARK); _timeVolumen = 0; _volumenBark = INCREMENT_VOLUMEN_IN; dispatchEvent(new Event(ObstaclesManager.E_INIT_DISTURB)); Sfx.PlaySoundLoop(Sfx.SFX_BARK, false, _volumenBark); }; } public function Reset():void{ Sfx.StopSound(Sfx.SFX_BARK); View.gotoAndStop(ST_IDLE); State = ST_IDLE; _volumenBark = INCREMENT_VOLUMEN_IN; _timeVolumen = 0; _timeState = 0; _started = false; } public function set Type(_arg1:uint):void{ _type = _arg1; } public function Feed():void{ _timeState = 0; _started = false; ChangeState(ST_EATING); } private function CheckBarkVolumen(_arg1:Number):void{ _timeVolumen = (_timeVolumen + _arg1); if (_timeVolumen >= DELAY_X_INC_VOLUMEN){ _timeVolumen = 0; _volumenBark = (_volumenBark + INCREMENT_VOLUMEN_IN); if (_volumenBark >= 1){ _volumenBark = 1; }; Sfx.SetGainOverCurrent(Sfx.SFX_BARK, _volumenBark); }; } public function get View():MovieClip{ return (_view); } public function Resolve():void{ Feed(); } public function Pause():void{ (View.getChildByName("peach_mc") as MovieClip).stop(); if (State == ST_BARK){ Sfx.StopSound(Sfx.SFX_BARK); }; } public function Resume():void{ (View.getChildByName("peach_mc") as MovieClip).play(); if (State == ST_BARK){ Sfx.PlaySoundLoop(Sfx.SFX_BARK, false, _volumenBark); }; } public function Disturb():void{ if (!_started){ if ((((ObstaclesManager.Instance.GetNextToOperate().GetType() == ObstaclesManager.OBS_PEACH)) && (ActionsManager.Instance.GetAction(0).Operating))){ ObstaclesManager.Instance.CurrentObstacle = null; return; }; _started = true; AskForFood(); }; } public function set State(_arg1:String):void{ _state = _arg1; } public function get Started():Boolean{ return (_started); } public function Update(_arg1:Number):void{ switch (State){ case ST_BARK: CheckBarkVolumen(_arg1); break; case ST_EATING: _timeState = (_timeState + _arg1); if (_timeState > TIME_EATING){ ChangeState(ST_IDLE); }; break; case ST_IDLE: _timeState = (_timeState + _arg1); if (_timeState > DURING_IDLE){ ChangeState(ST_SLEEP); }; break; case ST_SLEEP: _timeState = (_timeState + _arg1); if (_timeState > DURING_SLEEPING){ ChangeState(ST_IDLE); }; break; }; } public function AddEventListener(_arg1:String, _arg2:Function){ if (!_started){ this.addEventListener(_arg1, _arg2); }; } public function get State():String{ return (_state); } } }//package obstacles
Section 135
//Telephone (obstacles.Telephone) package obstacles { import flash.events.*; import game.*; import flash.display.*; import flash.geom.*; import managers.*; import character.*; import actions.*; import terrain.*; import utils.*; import config.*; import com.gamesandweb.ui.*; import view.*; public class Telephone extends Artifact implements IAvailable, IObstacle { private var _timesRing:Array; private var _type:uint; private var _endShowSequence:Boolean; private var _started:Boolean; private var _orderButtons:Array; private var _indexSequence:uint; private var _chair:MovieClip; private var _table:MovieClip; private var _playerSequence:Array; public static var SCORE_X_GOOD_ACTION:uint = 100; public static var NUM_BUTTONS:uint = 9; public static var PERCENTAGE_X_GOOD_ACTION:uint = 15; public static var POS_X:Number = 254; public static var POS_Y:Number = 213; public static var NUM_BUTTONS_SEQUECE:uint = 3; public static var DEC_PERCENTAGE_X_BAD_ACTION:uint = 10; public function Telephone(_arg1:Array=null, _arg2:Array=null, _arg3:Array=null){ _timesRing = _arg3; super(new TelephoneAsset(), new TelephonePopUp(new TelephonePopUpAsset()), ActionsManager.AC_PICKED_UP_PHONE); _chair = new StoolAsset(); _table = new TableAsset(); View.name = ActionsManager.AC_PICKED_UP_PHONE; _table.addChild(View); View.x = 0; View.y = -30; _table.x = POS_X; _table.y = POS_Y; _chair.x = (POS_X + 41.6); _chair.y = (POS_Y - 8); InitPopUp(); _playerSequence = new Array(); _orderButtons = new Array(); AfterTilesPositions = _arg2; PreviusTilesPositions = _arg1; _endShowSequence = false; View.gotoAndStop("idle"); LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(_chair); LayerFactory.Instance.GetLayer(LayerFactory.GAME).addChild(_table); _endShowSequence = false; _started = false; TimerProcess.x = ConfigLoader.Instance.Config["PhoneTimerX"]; TimerProcess.y = ConfigLoader.Instance.Config["PhoneTimerY"]; } public function Pause():void{ if (State == STATE_BREAK){ Sfx.StopSound(Sfx.SFX_TELEPHONE_RING); (View.getChildByName("phone_mc") as MovieClip).stop(); }; } public function get NameLittleBallon():String{ return (super.Name); } public function get OptimumScore():uint{ return (SCORE_X_GOOD_ACTION); } private function InitSequence(_arg1:Event):void{ TelephonePopUp(PopUp).OKBtn.addEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); GetOrderButtons(); _indexSequence = 0; _endShowSequence = false; LightButton(_indexSequence, true); } public function Suspend():void{ var _local1:int; switch (State){ case STATE_OPERATING: case STATE_REPEARING: TelephonePopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); BadProcess(); Sfx.StopSound(Sfx.SFX_TELEPHONE_RING); _local1 = 0; while (_local1 < NUM_BUTTONS) { TelephonePopUp(PopUp).GetBtnWithNumber(_local1).gotoAndStop("apagado"); _local1++; }; break; case STATE_PROCESS: Completed(); break; case STATE_BREAK: View.gotoAndStop("idle"); Sfx.StopSound(Sfx.SFX_TELEPHONE_RING); break; }; _started = false; State = STATE_DO_NOTHING; } public function Completed():void{ var _local1:MovieClip; var _local2:Point; if (State == STATE_PROCESS){ _local1 = ((_chair.getChildByName("container_mc") as MovieClip).getChildByName("duplicado") as MovieClip); _local2 = TileAfterDoAction; (_chair.getChildByName("container_mc") as MovieClip).removeChild(_local1); _local1 = null; WhoManipulate.ChangeThePosition(Map.Instance.GetPositionOfTile(_local2.x, _local2.y)); WhoManipulate.View.visible = true; View.gotoAndStop("idle"); State = STATE_DO_NOTHING; WhoManipulate.DoNothing(); _countTimePopUp = 0; _countTimeProcess = 0; if (TimerProcess.parent != null){ TimerProcess.parent.removeChild(TimerProcess); }; _whoManipulate = null; }; } override public function Reset():void{ Suspend(); if (_orderButtons.length > 0){ _orderButtons.splice(0, _orderButtons.length); }; if (_playerSequence.length > 0){ _playerSequence.splice(0, _playerSequence.length); }; _endShowSequence = false; _indexSequence = 0; super.Reset(); View.gotoAndStop("idle"); _endShowSequence = false; _started = false; if (TelephonePopUp(PopUp).OKBtn.hasEventListener(MouseEvent.MOUSE_DOWN)){ TelephonePopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); }; } public function RemoveEventListener(_arg1:String, _arg2:Function){ if (this.hasEventListener(_arg1)){ this.removeEventListener(_arg1, _arg2); }; } public function Ring():void{ Sfx.PlaySoundLoop(Sfx.SFX_TELEPHONE_RING, false); View.gotoAndStop("suena"); } public function Process():void{ var _local1:MovieClip; var _local2:Point; _started = false; PickUP(); _countTimeProcess = 0; State = STATE_PROCESS; WhoManipulate.IncrementCheerUpPercentage(PercentageXGoodAction); GameManager.Instance.IncrementScore(ScoreGoodAction); _local1 = MovieClipUtils.Instance.Copy(WhoManipulate.View); WhoManipulate.View.visible = false; _local2 = Map.Instance.GetTileAt(WhoManipulate.View.x, WhoManipulate.View.y); Map.Instance.UpdateTile(_local2.x, _local2.y, Map.WALKABLE); _local1.name = "duplicado"; TimerProcess.gotoAndStop(1); _local1.addChild(TimerProcess); _local1.x = 2; _local1.y = 45; (_chair.getChildByName("container_mc") as MovieClip).addChild(_local1); _local1.gotoAndStop(Girl.AC_SPEAK_PHONE); Sfx.StopSound(Sfx.SFX_TELEPHONE_RING); View.gotoAndStop("en_uso"); } public function get Started():Boolean{ return (_started); } public function get ScoreGoodAction():Number{ if (_countTimePopUp <= 0){ return (0); }; if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((SCORE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (SCORE_X_GOOD_ACTION); } public function AddEventListener(_arg1:String, _arg2:Function){ if (!_started){ this.addEventListener(_arg1, _arg2); }; } public function Operate(_arg1:Girl):void{ if (((!((_arg1.LittleBallon == null))) || ((State == STATE_BREAK)))){ dispatchEvent(new Event(Artifact.E_INIT_OPERATE)); State = STATE_OPERATING; WhoManipulate = _arg1; if (_arg1.LittleBallon != null){ _arg1.LittleBallon.parent.removeChild(_arg1.LittleBallon); _arg1.LittleBallon = null; }; PopUp.FadeIn(); _countTimeProcess = 0; _countTimePopUp = 0; LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).addChild(PopUp.View); }; } protected function ClickedCorrectButton(_arg1:MouseEvent){ if (State == STATE_OPERATING){ Sfx.PlaySound(Sfx.SFX_BTN_TELEPHONE); _playerSequence.push(((_arg1.currentTarget as MovieClip).parent as MovieClip)); MovieClip((_arg1.currentTarget as MovieClip).parent).gotoAndPlay("encendido"); }; } public function Resume():void{ if (State == STATE_BREAK){ Sfx.PlaySoundLoop(Sfx.SFX_TELEPHONE_RING, false); (View.getChildByName("phone_mc") as MovieClip).play(); }; } protected function InitPopUp():void{ var _local1:int; _local1 = 0; while (_local1 < NUM_BUTTONS) { TelephonePopUp(PopUp).GetHitAreaBtnWithNumber(_local1).addEventListener(MouseEvent.MOUSE_DOWN, ClickedCorrectButton); TelephonePopUp(PopUp).ChangeStateButton(_local1, "apagado"); _local1++; }; PopUp.addEventListener(UIWidget.FADE_IN_OVER, InitSequence); PopUp.addEventListener(UIWidget.FADE_OUT_OVER, RemovePopUp); } protected function RemovePopUp(_arg1:Event):void{ if (PopUp.View.parent != null){ LayerFactory.Instance.GetLayer(LayerFactory.FOREGROUND).removeChild(PopUp.View); }; } public function GetType():uint{ return (_type); } public function PickUP():void{ dispatchEvent(new Event(ObstaclesManager.OBSTACLE_RESOLVE)); } public function GetOrderButtons():void{ var _local1:uint; var _local2:uint; var _local3:int; if (_orderButtons.length > 0){ _orderButtons.splice(0, _orderButtons.length); }; if (_playerSequence.length > 0){ _playerSequence.splice(0, _playerSequence.length); }; _local1 = NUM_BUTTONS; _local3 = 0; while (_local3 < NUM_BUTTONS_SEQUECE) { _local2 = Math.round((Math.random() * (NUM_BUTTONS - 1))); if (_local1 != _local2){ _local1 = _local2; _orderButtons.unshift(TelephonePopUp(PopUp).GetBtnWithNumber(_local2)); TelephonePopUp(PopUp).ChangeStateButton(_local2, "apagado"); } else { _local3--; }; _local3++; }; } public function set Type(_arg1:uint):void{ _type = _arg1; } public function get Chair():MovieClip{ return (_chair); } public function get DeductPercentageXBadAction():Number{ return (DEC_PERCENTAGE_X_BAD_ACTION); } protected function LightButton(_arg1:uint, _arg2:Boolean){ if (State == STATE_OPERATING){ if (_arg2){ (_orderButtons[_arg1] as MovieClip).addEventListener(TURN_OFF, GoOnSequence); }; (_orderButtons[_arg1] as MovieClip).gotoAndPlay("luz"); }; } public function BadProcess():void{ State = STATE_DO_NOTHING; WhoManipulate.DecrementCheerUpPercentage(PercentageXGoodAction); WhoManipulate.DoNothing(); _countTimePopUp = 0; } public function ForcePopUpOut():void{ TelephonePopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); dispatchEvent(new Event(E_FORCE_END)); } public function get Table():MovieClip{ return (_table); } public function Resolve():void{ } public function get PercentageXGoodAction():Number{ if (_countTimePopUp <= 0){ return (0); }; if (_countTimePopUp > MAX_TIME_OPTIMUN){ return (Math.round(((PERCENTAGE_X_GOOD_ACTION * MAX_TIME_OPTIMUN) / _countTimePopUp))); }; return (PERCENTAGE_X_GOOD_ACTION); } protected function GoOnSequence(_arg1:Event):void{ if (_arg1.type == TURN_OFF){ (_arg1.currentTarget as MovieClip).removeEventListener(TURN_OFF, GoOnSequence); }; if (!_endShowSequence){ _indexSequence++; if (_indexSequence < _orderButtons.length){ LightButton(_indexSequence, true); } else { _endShowSequence = true; }; }; } private function PopUpFadeOut(_arg1:Event):void{ TelephonePopUp(PopUp).OKBtn.removeEventListener(MouseEvent.MOUSE_DOWN, PopUpFadeOut); PopUp.FadeOut(); this.dispatchEvent(new Event(E_END_OPERATE)); } public function GoodOperate():Boolean{ var _local1:uint; var _local2:uint; var _local3:Boolean; var _local4:uint; _local1 = 0; _local2 = 0; _local3 = true; if (_playerSequence.length == _orderButtons.length){ while (_local4 < _playerSequence.length) { if (MovieClip(_playerSequence[_local4]) != MovieClip(_orderButtons[_local4])){ _local3 = false; }; _local4++; }; } else { _local3 = false; }; return (_local3); } public function Disturb():void{ if ((((((View.currentLabel == "suena")) || ((View.currentLabel == "en_uso")))) && (!(_started)))){ ObstaclesManager.Instance.CurrentObstacle = null; return; }; if (((!(_started)) && ((View.currentLabel == "idle")))){ _started = true; State = STATE_BREAK; Ring(); dispatchEvent(new Event(ObstaclesManager.E_INIT_DISTURB)); }; } public function Update(_arg1:Number):void{ } } }//package obstacles
Section 136
//TelephonePopUp (obstacles.TelephonePopUp) package obstacles { import flash.text.*; import flash.display.*; import flash.geom.*; import actions.*; import txt.*; import com.gamesandweb.ui.*; import buttons.*; public class TelephonePopUp extends UIWidget implements IControlable { private var _containerBtns:MovieClip;// = null private var _timerPerc:MovieClip;// = null private var _okBtn:RollOutBtn;// = null public static var POPUP_POSITION:Point = new Point(265, 155); public function TelephonePopUp(_arg1:MovieClip, _arg2:int=-1){ _okBtn = null; _containerBtns = null; _timerPerc = null; super(_arg1, _arg2); InitializeChildren(); SetTexts(); } public function GetBtnWithNumber(_arg1:uint):MovieClip{ return ((_containerBtns.getChildByName(("button" + String(_arg1))) as MovieClip)); } public function GetHitAreaBtnWithNumber(_arg1:uint):MovieClip{ var _local2:MovieClip; _local2 = ((_containerBtns.getChildByName(("button" + String(_arg1))) as MovieClip).getChildByName("hitArea_mc") as MovieClip); if (_local2 == null){ _local2 = (_containerBtns.getChildByName(("button" + String(_arg1))) as MovieClip); }; return (_local2); } public function SetRestTime(_arg1:uint):void{ if (_arg1 == 0){ _timerPerc.gotoAndStop(1); return; }; if (_arg1 != _timerPerc.currentFrame){ _timerPerc.gotoAndStop(_arg1); }; } public function TimerPopUp():MovieClip{ return (_timerPerc); } public function SetTexts():void{ TextField((View.getChildByName("tel") as MovieClip).getChildByName("tel")).text = TextLoader.Instance.Texts["Telefono"]; _okBtn.Text = TextLoader.Instance.Texts["Listo"]; } public function InitializeChildren():void{ _okBtn = (View.getChildByName("pop_Btn") as RollOutBtn); _containerBtns = (View.getChildByName("container_mc") as MovieClip); _timerPerc = (View.getChildByName("timer_mc") as MovieClip); _timerPerc.gotoAndStop(1); View.x = POPUP_POSITION.x; View.y = POPUP_POSITION.y; } public function ChangeStateButton(_arg1:uint, _arg2:String):void{ if (_arg2 != GetBtnWithNumber(_arg1).currentLabel){ GetBtnWithNumber(_arg1).gotoAndStop(_arg2); }; } public function get ContainerButtons():MovieClip{ return (_containerBtns); } override public function FadeIn():void{ Sfx.PlaySound(Sfx.SFX_POP_UP); _timerPerc.gotoAndStop(1); super.FadeIn(); } public function get OKBtn():RollOutBtn{ return (_okBtn); } } }//package obstacles
Section 137
//PathFinder (pathfinding.PathFinder) package pathfinding { import flash.geom.*; public class PathFinder { private var _bestPath:Array;// = null private var _mapH:int; private var _mapStatus:Array;// = null private var _openList:Array;// = null private var _mapW:int; public static const MS_CLOSED_IDX:int = 2; public static const ALLOW_DIAGONAL:Boolean = true; public static const MS_TOTAL_ATTRS:int = 6; public static const UNDEFINED_int:int = 999999999; public static const MS_OPEN_IDX:int = 1; public static const HV_COST:int = 10; public static const D_COST:int = 14; public static const MS_MOVEMENT_COST_IDX:int = 5; public static const MS_PARENTX_IDX:int = 4; public static const MS_HEURISTIC_IDX:int = 0; public static const MS_PARENTY_IDX:int = 3; public static const ALLOW_CORNERING:Boolean = false; private static var _instance:PathFinder; public function PathFinder(_arg1:SingletonEnforcer){ _bestPath = null; _mapStatus = null; _openList = null; super(); } public function FindPath(_arg1:Array, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Array{ var _local6:int; var _local7:Boolean; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; var _local15:int; var _local16:int; var _local17:int; var _local18:int; var _local19:int; _mapH = _arg1.length; _mapW = _arg1[0].length; _mapStatus = new Array(_mapH); _local6 = 0; while (_local6 < _mapH) { _mapStatus[_local6] = new Array(_mapW); _local8 = 0; while (_local8 < _mapW) { _mapStatus[_local6][_local8] = new Array(MS_TOTAL_ATTRS); _mapStatus[_local6][_local8][MS_HEURISTIC_IDX] = UNDEFINED_int; _mapStatus[_local6][_local8][MS_OPEN_IDX] = false; _mapStatus[_local6][_local8][MS_CLOSED_IDX] = false; _mapStatus[_local6][_local8][MS_PARENTY_IDX] = UNDEFINED_int; _mapStatus[_local6][_local8][MS_PARENTX_IDX] = UNDEFINED_int; _mapStatus[_local6][_local8][MS_MOVEMENT_COST_IDX] = UNDEFINED_int; _local8++; }; _local6++; }; _openList = new Array(); openSquare(_arg2, _arg3, UNDEFINED_int, UNDEFINED_int, 0, 0, false); while ((((_openList.length > 0)) && (!(_mapStatus[_arg4][_arg5][MS_CLOSED_IDX])))) { _local9 = nearerSquare(); _local10 = _openList[_local9][0]; _local11 = _openList[_local9][1]; closeSquare(_local10, _local11); _local12 = (_local10 - 1); while (_local12 <= (_local10 + 1)) { _local13 = (_local11 - 1); while (_local13 <= (_local11 + 1)) { if ((((((((((((((((((_local12 >= 0)) && ((_local12 < _mapH)))) && ((_local13 >= 0)))) && ((_local13 < _mapW)))) && (!((((_local12 == _local10)) && ((_local13 == _local11))))))) && (((((ALLOW_DIAGONAL) || ((_local12 == _local10)))) || ((_local13 == _local11)))))) && (((ALLOW_CORNERING) || (((!((_arg1[_local10][_local13] == 0))) && (!((_arg1[_local12][_local11] == 0))))))))) && (!((_arg1[_local12][_local13] == 0))))) && (!(_mapStatus[_local12][_local13][MS_CLOSED_IDX])))){ _local14 = (_mapStatus[_local10][_local11][MS_MOVEMENT_COST_IDX] + (((((_local12 == _local10)) || ((_local13 == _local11)))) ? HV_COST : D_COST * _arg1[_local12][_local13])); if (_mapStatus[_local12][_local13][MS_OPEN_IDX]){ if (_local14 < _mapStatus[_local12][_local13][MS_MOVEMENT_COST_IDX]){ openSquare(_local12, _local13, _local10, _local11, _local14, undefined, true); }; } else { _local15 = ((Math.abs((_local12 - _arg4)) + Math.abs((_local13 - _arg5))) * HV_COST); openSquare(_local12, _local13, _local10, _local11, _local14, _local15, false); }; }; _local13++; }; _local12++; }; }; _local7 = _mapStatus[_arg4][_arg5][MS_CLOSED_IDX]; _bestPath = null; if (_local7){ _bestPath = new Array(); _local16 = _arg4; _local17 = _arg5; _local18 = UNDEFINED_int; _local19 = UNDEFINED_int; while (((!((_local16 == _arg2))) || (!((_local17 == _arg3))))) { _bestPath.unshift(new Point(_local17, _local16)); _local18 = _mapStatus[_local16][_local17][MS_PARENTY_IDX]; _local19 = _mapStatus[_local16][_local17][MS_PARENTX_IDX]; _local16 = _local18; _local17 = _local19; }; _bestPath.unshift(new Point(_arg3, _arg2)); }; return (_bestPath); } protected function nearerSquare():int{ var _local1:int; var _local2:int; var _local3:int; var _local4:Array; var _local5:int; _local1 = 999999; _local2 = 0; _local3 = undefined; _local4 = null; _local5 = _openList.length; while (_local5-- > 0) { _local4 = _mapStatus[_openList[_local5][0]][_openList[_local5][1]]; _local3 = (_local4[MS_HEURISTIC_IDX] + _local4[MS_MOVEMENT_COST_IDX]); if (_local3 <= _local1){ _local1 = _local3; _local2 = _local5; }; }; return (_local2); } protected function closeSquare(_arg1:int, _arg2:int):void{ var _local3:int; var _local4:int; _local3 = _openList.length; _local4 = 0; while (_local4 < _local3) { if (_openList[_local4][0] == _arg1){ if (_openList[_local4][1] == _arg2){ _openList.splice(_local4, 1); break; }; }; _local4++; }; _mapStatus[_arg1][_arg2][MS_OPEN_IDX] = false; _mapStatus[_arg1][_arg2][MS_CLOSED_IDX] = true; } public function FindPathForFlyer(_arg1:Array, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Array{ _mapH = _arg1.length; _mapW = _arg1[0].length; _bestPath = new Array(); _bestPath.push(new Point(_arg3, _arg2)); while (_arg2 < _arg4) { _arg2++; if (_arg3 < _arg5){ _arg3++; } else { if (_arg3 > _arg5){ _arg3--; }; }; _bestPath.push(new Point(_arg3, _arg2)); }; while (_arg2 > _arg4) { _arg2--; if (_arg3 < _arg5){ _arg3++; } else { if (_arg3 > _arg5){ _arg3--; }; }; _bestPath.push(new Point(_arg3, _arg2)); }; while (_arg3 < _arg5) { _arg3++; _bestPath.push(new Point(_arg3, _arg2)); }; while (_arg3 > _arg5) { _arg3--; _bestPath.push(new Point(_arg3, _arg2)); }; return (_bestPath); } protected function openSquare(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:Boolean):void{ if (!_arg7){ _openList.push([_arg1, _arg2]); _mapStatus[_arg1][_arg2][MS_HEURISTIC_IDX] = _arg6; _mapStatus[_arg1][_arg2][MS_OPEN_IDX] = true; _mapStatus[_arg1][_arg2][MS_CLOSED_IDX] = false; }; _mapStatus[_arg1][_arg2][MS_PARENTY_IDX] = _arg3; _mapStatus[_arg1][_arg2][MS_PARENTX_IDX] = _arg4; _mapStatus[_arg1][_arg2][MS_MOVEMENT_COST_IDX] = _arg5; } public static function GetInstance():PathFinder{ if (_instance == null){ _instance = new PathFinder(new SingletonEnforcer()); }; return (_instance); } } }//package pathfinding class SingletonEnforcer { private function SingletonEnforcer(){ } }
Section 138
//_Down_156 (PPGZ_fla._Down_156) package PPGZ_fla { import flash.display.*; public dynamic class _Down_156 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 139
//_Down_237 (PPGZ_fla._Down_237) package PPGZ_fla { import flash.display.*; public dynamic class _Down_237 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 140
//_Down_610 (PPGZ_fla._Down_610) package PPGZ_fla { import flash.display.*; public dynamic class _Down_610 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 141
//_Down_651 (PPGZ_fla._Down_651) package PPGZ_fla { import flash.display.*; public dynamic class _Down_651 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 142
//_Down_676 (PPGZ_fla._Down_676) package PPGZ_fla { import flash.display.*; public dynamic class _Down_676 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 143
//_Down_700 (PPGZ_fla._Down_700) package PPGZ_fla { import flash.display.*; public dynamic class _Down_700 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 144
//_Down_708 (PPGZ_fla._Down_708) package PPGZ_fla { import flash.display.*; public dynamic class _Down_708 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 145
//_Down_746 (PPGZ_fla._Down_746) package PPGZ_fla { import flash.display.*; public dynamic class _Down_746 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 146
//_Down_780 (PPGZ_fla._Down_780) package PPGZ_fla { import flash.display.*; public dynamic class _Down_780 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 147
//_DownV_98 (PPGZ_fla._DownV_98) package PPGZ_fla { import flash.display.*; public dynamic class _DownV_98 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 148
//_Out_154 (PPGZ_fla._Out_154) package PPGZ_fla { import flash.display.*; public dynamic class _Out_154 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_154(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 149
//_Out_234 (PPGZ_fla._Out_234) package PPGZ_fla { import flash.display.*; public dynamic class _Out_234 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_234(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 150
//_Out_608 (PPGZ_fla._Out_608) package PPGZ_fla { import flash.display.*; public dynamic class _Out_608 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_608(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 151
//_Out_673 (PPGZ_fla._Out_673) package PPGZ_fla { import flash.display.*; public dynamic class _Out_673 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_673(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 152
//_Out_697 (PPGZ_fla._Out_697) package PPGZ_fla { import flash.display.*; public dynamic class _Out_697 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_697(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 153
//_Out_705 (PPGZ_fla._Out_705) package PPGZ_fla { import flash.display.*; public dynamic class _Out_705 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_705(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 154
//_Out_742 (PPGZ_fla._Out_742) package PPGZ_fla { import flash.display.*; public dynamic class _Out_742 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_742(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 155
//_Out_761 (PPGZ_fla._Out_761) package PPGZ_fla { import flash.display.*; public dynamic class _Out_761 extends MovieClip { public function _Out_761(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 156
//_Out_767 (PPGZ_fla._Out_767) package PPGZ_fla { import flash.display.*; public dynamic class _Out_767 extends MovieClip { public function _Out_767(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 157
//_Out_777 (PPGZ_fla._Out_777) package PPGZ_fla { import flash.display.*; public dynamic class _Out_777 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out_777(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 158
//_Out2_647 (PPGZ_fla._Out2_647) package PPGZ_fla { import flash.display.*; public dynamic class _Out2_647 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out2_647(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package PPGZ_fla
Section 159
//_Out2cn_656 (PPGZ_fla._Out2cn_656) package PPGZ_fla { import flash.display.*; public dynamic class _Out2cn_656 extends MovieClip { public var textContainer_mc:MovieClip; public function _Out2cn_656(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package PPGZ_fla
Section 160
//_OutSn_754 (PPGZ_fla._OutSn_754) package PPGZ_fla { import flash.display.*; public dynamic class _OutSn_754 extends MovieClip { public function _OutSn_754(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 161
//_OutV_95 (PPGZ_fla._OutV_95) package PPGZ_fla { import flash.display.*; public dynamic class _OutV_95 extends MovieClip { public var textContainer_mc:MovieClip; public function _OutV_95(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 162
//_Over_157 (PPGZ_fla._Over_157) package PPGZ_fla { import flash.display.*; public dynamic class _Over_157 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_157(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 163
//_Over_238 (PPGZ_fla._Over_238) package PPGZ_fla { import flash.display.*; public dynamic class _Over_238 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_238(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 164
//_Over_611 (PPGZ_fla._Over_611) package PPGZ_fla { import flash.display.*; public dynamic class _Over_611 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_611(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 165
//_Over_652 (PPGZ_fla._Over_652) package PPGZ_fla { import flash.display.*; public dynamic class _Over_652 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_652(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package PPGZ_fla
Section 166
//_Over_677 (PPGZ_fla._Over_677) package PPGZ_fla { import flash.display.*; public dynamic class _Over_677 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_677(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 167
//_Over_701 (PPGZ_fla._Over_701) package PPGZ_fla { import flash.display.*; public dynamic class _Over_701 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_701(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 168
//_Over_709 (PPGZ_fla._Over_709) package PPGZ_fla { import flash.display.*; public dynamic class _Over_709 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_709(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 169
//_Over_747 (PPGZ_fla._Over_747) package PPGZ_fla { import flash.display.*; public dynamic class _Over_747 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_747(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 170
//_Over_764 (PPGZ_fla._Over_764) package PPGZ_fla { import flash.display.*; public dynamic class _Over_764 extends MovieClip { public function _Over_764(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 171
//_Over_770 (PPGZ_fla._Over_770) package PPGZ_fla { import flash.display.*; public dynamic class _Over_770 extends MovieClip { public function _Over_770(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 172
//_Over_781 (PPGZ_fla._Over_781) package PPGZ_fla { import flash.display.*; public dynamic class _Over_781 extends MovieClip { public var textContainer_mc:MovieClip; public function _Over_781(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 173
//_Overcn_660 (PPGZ_fla._Overcn_660) package PPGZ_fla { import flash.display.*; public dynamic class _Overcn_660 extends MovieClip { public var textContainer_mc:MovieClip; public function _Overcn_660(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package PPGZ_fla
Section 174
//_OverS_636 (PPGZ_fla._OverS_636) package PPGZ_fla { import flash.display.*; public dynamic class _OverS_636 extends MovieClip { public function _OverS_636(){ addFrameScript(12, frame13); } function frame13(){ stop(); } } }//package PPGZ_fla
Section 175
//_OverSn_757 (PPGZ_fla._OverSn_757) package PPGZ_fla { import flash.display.*; public dynamic class _OverSn_757 extends MovieClip { public function _OverSn_757(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 176
//_OverV_99 (PPGZ_fla._OverV_99) package PPGZ_fla { import flash.display.*; public dynamic class _OverV_99 extends MovieClip { public var textContainer_mc:MovieClip; public function _OverV_99(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package PPGZ_fla
Section 177
//_Resources_1 (PPGZ_fla._Resources_1) package PPGZ_fla { import flash.display.*; public dynamic class _Resources_1 extends MovieClip { public function _Resources_1(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 178
//_Up_158 (PPGZ_fla._Up_158) package PPGZ_fla { import flash.display.*; public dynamic class _Up_158 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 179
//_Up_239 (PPGZ_fla._Up_239) package PPGZ_fla { import flash.display.*; public dynamic class _Up_239 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 180
//_Up_612 (PPGZ_fla._Up_612) package PPGZ_fla { import flash.display.*; public dynamic class _Up_612 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 181
//_Up_653 (PPGZ_fla._Up_653) package PPGZ_fla { import flash.display.*; public dynamic class _Up_653 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 182
//_Up_678 (PPGZ_fla._Up_678) package PPGZ_fla { import flash.display.*; public dynamic class _Up_678 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 183
//_Up_702 (PPGZ_fla._Up_702) package PPGZ_fla { import flash.display.*; public dynamic class _Up_702 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 184
//_Up_710 (PPGZ_fla._Up_710) package PPGZ_fla { import flash.display.*; public dynamic class _Up_710 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 185
//_Up_748 (PPGZ_fla._Up_748) package PPGZ_fla { import flash.display.*; public dynamic class _Up_748 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 186
//_Up_782 (PPGZ_fla._Up_782) package PPGZ_fla { import flash.display.*; public dynamic class _Up_782 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 187
//_UpV_100 (PPGZ_fla._UpV_100) package PPGZ_fla { import flash.display.*; public dynamic class _UpV_100 extends MovieClip { public var textContainer_mc:MovieClip; } }//package PPGZ_fla
Section 188
//bajotapa_mc_113 (PPGZ_fla.bajotapa_mc_113) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class bajotapa_mc_113 extends MovieClip { public var tel:TextField; } }//package PPGZ_fla
Section 189
//barra_mc_31 (PPGZ_fla.barra_mc_31) package PPGZ_fla { import flash.display.*; public dynamic class barra_mc_31 extends MovieClip { public var barra:MovieClip; } }//package PPGZ_fla
Section 190
//barraT_mc_214 (PPGZ_fla.barraT_mc_214) package PPGZ_fla { import flash.display.*; public dynamic class barraT_mc_214 extends MovieClip { public function barraT_mc_214(){ addFrameScript(99, frame100); } function frame100(){ stop(); } } }//package PPGZ_fla
Section 191
//Bellota_Cabeza_01_466 (PPGZ_fla.Bellota_Cabeza_01_466) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_Cabeza_01_466 extends MovieClip { public var eyes_mc:MovieClip; } }//package PPGZ_fla
Section 192
//Bellota_Cabeza_02_492 (PPGZ_fla.Bellota_Cabeza_02_492) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_Cabeza_02_492 extends MovieClip { public var eyes_mc:MovieClip; } }//package PPGZ_fla
Section 193
//Bellota_Camina_Frente_472 (PPGZ_fla.Bellota_Camina_Frente_472) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_Camina_Frente_472 extends MovieClip { public var face_mc:MovieClip; } }//package PPGZ_fla
Section 194
//Bellota_Camina_Perfil_486 (PPGZ_fla.Bellota_Camina_Perfil_486) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_Camina_Perfil_486 extends MovieClip { public var face_mc:MovieClip; } }//package PPGZ_fla
Section 195
//Bellota_enojo_509 (PPGZ_fla.Bellota_enojo_509) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_enojo_509 extends MovieClip { public function Bellota_enojo_509(){ addFrameScript(16, frame17); } function frame17(){ gotoAndPlay("Ciclo"); } } }//package PPGZ_fla
Section 196
//Bellota_Feliz_515 (PPGZ_fla.Bellota_Feliz_515) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_Feliz_515 extends MovieClip { public function Bellota_Feliz_515(){ addFrameScript(39, frame40); } function frame40(){ gotoAndPlay("Ciclo"); } } }//package PPGZ_fla
Section 197
//Bellota_Idle_462 (PPGZ_fla.Bellota_Idle_462) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_Idle_462 extends MovieClip { public var face_mc:MovieClip; } }//package PPGZ_fla
Section 198
//Bellota_molesta_522 (PPGZ_fla.Bellota_molesta_522) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_molesta_522 extends MovieClip { public function Bellota_molesta_522(){ addFrameScript(26, frame27); } function frame27(){ (parent as MovieClip).gotoAndStop(1); } } }//package PPGZ_fla
Section 199
//Bellota_Ojos_mc_467 (PPGZ_fla.Bellota_Ojos_mc_467) package PPGZ_fla { import flash.display.*; public dynamic class Bellota_Ojos_mc_467 extends MovieClip { public function Bellota_Ojos_mc_467(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 200
//Boca_mc_385 (PPGZ_fla.Boca_mc_385) package PPGZ_fla { import flash.display.*; public dynamic class Boca_mc_385 extends MovieClip { public function Boca_mc_385(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 201
//Bombon_enojo_437 (PPGZ_fla.Bombon_enojo_437) package PPGZ_fla { import flash.display.*; public dynamic class Bombon_enojo_437 extends MovieClip { public function Bombon_enojo_437(){ addFrameScript(16, frame17); } function frame17(){ gotoAndPlay("Ciclo"); } } }//package PPGZ_fla
Section 202
//Bombon_Feliz_444 (PPGZ_fla.Bombon_Feliz_444) package PPGZ_fla { import flash.display.*; public dynamic class Bombon_Feliz_444 extends MovieClip { public function Bombon_Feliz_444(){ addFrameScript(39, frame40); } function frame40(){ gotoAndPlay("Ciclo"); } } }//package PPGZ_fla
Section 203
//Bombon_molesta_453 (PPGZ_fla.Bombon_molesta_453) package PPGZ_fla { import flash.display.*; public dynamic class Bombon_molesta_453 extends MovieClip { public function Bombon_molesta_453(){ addFrameScript(26, frame27); } function frame27(){ (parent as MovieClip).gotoAndStop(1); } } }//package PPGZ_fla
Section 204
//Bombon_Ojo_mc_389 (PPGZ_fla.Bombon_Ojo_mc_389) package PPGZ_fla { import flash.display.*; public dynamic class Bombon_Ojo_mc_389 extends MovieClip { public function Bombon_Ojo_mc_389(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 205
//btn1compu_116 (PPGZ_fla.btn1compu_116) package PPGZ_fla { import flash.display.*; public dynamic class btn1compu_116 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn1compu_116(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 206
//btn1compu_219 (PPGZ_fla.btn1compu_219) package PPGZ_fla { import flash.display.*; public dynamic class btn1compu_219 extends MovieClip { public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public function btn1compu_219(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 207
//btn2_121 (PPGZ_fla.btn2_121) package PPGZ_fla { import flash.display.*; public dynamic class btn2_121 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn2_121(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 208
//btn3_125 (PPGZ_fla.btn3_125) package PPGZ_fla { import flash.display.*; public dynamic class btn3_125 extends MovieClip { public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn3_125(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 209
//btn4_129 (PPGZ_fla.btn4_129) package PPGZ_fla { import flash.display.*; public dynamic class btn4_129 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn4_129(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 210
//btn5_133 (PPGZ_fla.btn5_133) package PPGZ_fla { import flash.display.*; public dynamic class btn5_133 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn5_133(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 211
//btn6_137 (PPGZ_fla.btn6_137) package PPGZ_fla { import flash.display.*; public dynamic class btn6_137 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn6_137(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 212
//btn7_141 (PPGZ_fla.btn7_141) package PPGZ_fla { import flash.display.*; public dynamic class btn7_141 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn7_141(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 213
//btn8_145 (PPGZ_fla.btn8_145) package PPGZ_fla { import flash.display.*; public dynamic class btn8_145 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn8_145(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 214
//btn9_149 (PPGZ_fla.btn9_149) package PPGZ_fla { import flash.display.*; public dynamic class btn9_149 extends MovieClip { public var nro:MovieClip; public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public var pl1:MovieClip; public function btn9_149(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 215
//btnGrande_224 (PPGZ_fla.btnGrande_224) package PPGZ_fla { import flash.display.*; public dynamic class btnGrande_224 extends MovieClip { public var pl1a:MovieClip; public var hitArea_mc:MovieClip; public function btnGrande_224(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 216
//Burbuja_enojo_582 (PPGZ_fla.Burbuja_enojo_582) package PPGZ_fla { import flash.display.*; public dynamic class Burbuja_enojo_582 extends MovieClip { public function Burbuja_enojo_582(){ addFrameScript(16, frame17); } function frame17(){ gotoAndPlay("Ciclo"); } } }//package PPGZ_fla
Section 217
//Burbuja_Feliz_588 (PPGZ_fla.Burbuja_Feliz_588) package PPGZ_fla { import flash.display.*; public dynamic class Burbuja_Feliz_588 extends MovieClip { public function Burbuja_Feliz_588(){ addFrameScript(39, frame40); } function frame40(){ gotoAndPlay("Ciclo"); } } }//package PPGZ_fla
Section 218
//Burbuja_molesta_595 (PPGZ_fla.Burbuja_molesta_595) package PPGZ_fla { import flash.display.*; public dynamic class Burbuja_molesta_595 extends MovieClip { public function Burbuja_molesta_595(){ addFrameScript(26, frame27); } function frame27(){ (parent as MovieClip).gotoAndStop(1); } } }//package PPGZ_fla
Section 219
//Burbuja_Ojos_mc_538 (PPGZ_fla.Burbuja_Ojos_mc_538) package PPGZ_fla { import flash.display.*; public dynamic class Burbuja_Ojos_mc_538 extends MovieClip { public function Burbuja_Ojos_mc_538(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 220
//categoriaslastforever_714 (PPGZ_fla.categoriaslastforever_714) package PPGZ_fla { import flash.display.*; public dynamic class categoriaslastforever_714 extends MovieClip { public function categoriaslastforever_714(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 221
//celeste_30 (PPGZ_fla.celeste_30) package PPGZ_fla { import flash.display.*; public dynamic class celeste_30 extends MovieClip { public var barra:MovieClip; } }//package PPGZ_fla
Section 222
//Ciclo_Humito_352 (PPGZ_fla.Ciclo_Humito_352) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class Ciclo_Humito_352 extends MovieClip { public function Ciclo_Humito_352(){ addFrameScript(23, frame24); } function frame24(){ (this.parent as MovieClip).parent.dispatchEvent(new Event("TerminoBardeo")); } } }//package PPGZ_fla
Section 223
//Compiutah_Encendida_206 (PPGZ_fla.Compiutah_Encendida_206) package PPGZ_fla { import flash.display.*; public dynamic class Compiutah_Encendida_206 extends MovieClip { public var luces_mc:MovieClip; public var pto_mc:MovieClip; public var radar_mc:MovieClip; public var linea_mc:MovieClip; } }//package PPGZ_fla
Section 224
//compuSorpresa_633 (PPGZ_fla.compuSorpresa_633) package PPGZ_fla { import flash.display.*; public dynamic class compuSorpresa_633 extends MovieClip { public var down_mc:MovieClip; public var up_mc:MovieClip; public var over_mc:MovieClip; } }//package PPGZ_fla
Section 225
//contenedor_115 (PPGZ_fla.contenedor_115) package PPGZ_fla { import flash.display.*; public dynamic class contenedor_115 extends MovieClip { public var button0:MovieClip; public var button1:MovieClip; public var button5:MovieClip; public var button6:MovieClip; public var button7:MovieClip; public var button3:MovieClip; public var button2:MovieClip; public var button4:MovieClip; public var button8:MovieClip; } }//package PPGZ_fla
Section 226
//contenerdorBtnsCompu_218 (PPGZ_fla.contenerdorBtnsCompu_218) package PPGZ_fla { import flash.display.*; public dynamic class contenerdorBtnsCompu_218 extends MovieClip { public var button0:MovieClip; public var button1:MovieClip; public var button3:MovieClip; public var button2:MovieClip; public var hitArea_0:MovieClip; public var hitArea_4:MovieClip; public var hitArea_3:MovieClip; public var hitArea_1:MovieClip; public var hitArea_2:MovieClip; public var button4:MovieClip; } }//package PPGZ_fla
Section 227
//correcto_mc_59 (PPGZ_fla.correcto_mc_59) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class correcto_mc_59 extends MovieClip { public function correcto_mc_59(){ addFrameScript(25, frame26); } function frame26(){ parent.dispatchEvent(new Event("ResultEndDisappear")); } } }//package PPGZ_fla
Section 228
//detallecartoonlogo_657 (PPGZ_fla.detallecartoonlogo_657) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class detallecartoonlogo_657 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 229
//down_d_90 (PPGZ_fla.down_d_90) package PPGZ_fla { import flash.display.*; public dynamic class down_d_90 extends MovieClip { public function down_d_90(){ addFrameScript(9, frame10); } function frame10(){ (parent as MovieClip).gotoAndStop("over"); } } }//package PPGZ_fla
Section 230
//elementos_267 (PPGZ_fla.elementos_267) package PPGZ_fla { import flash.display.*; public dynamic class elementos_267 extends MovieClip { public var button0:MovieClip; public var button1:MovieClip; public var button5:MovieClip; public var button3:MovieClip; public var button2:MovieClip; public var button4:MovieClip; } }//package PPGZ_fla
Section 231
//Emotion_375 (PPGZ_fla.Emotion_375) package PPGZ_fla { import flash.display.*; public dynamic class Emotion_375 extends MovieClip { public function Emotion_375(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 232
//energy1_740 (PPGZ_fla.energy1_740) package PPGZ_fla { import flash.display.*; public dynamic class energy1_740 extends MovieClip { public var ok:MovieClip; public var percentage_mc:MovieClip; public function energy1_740(){ addFrameScript(109, frame110); } function frame110(){ stop(); } } }//package PPGZ_fla
Section 233
//energy2_737 (PPGZ_fla.energy2_737) package PPGZ_fla { import flash.display.*; public dynamic class energy2_737 extends MovieClip { public var ok:MovieClip; public var percentage_mc:MovieClip; public function energy2_737(){ addFrameScript(109, frame110); } function frame110(){ stop(); } } }//package PPGZ_fla
Section 234
//energybar_750 (PPGZ_fla.energybar_750) package PPGZ_fla { import flash.display.*; public dynamic class energybar_750 extends MovieClip { public var ok:MovieClip; public var percentage_mc:MovieClip; public function energybar_750(){ addFrameScript(109, frame110); } function frame110(){ stop(); } } }//package PPGZ_fla
Section 235
//Equipo_01_encendido_195 (PPGZ_fla.Equipo_01_encendido_195) package PPGZ_fla { import flash.display.*; public dynamic class Equipo_01_encendido_195 extends MovieClip { public var notas_mc:MovieClip; } }//package PPGZ_fla
Section 236
//Equipo_01_mc_190 (PPGZ_fla.Equipo_01_mc_190) package PPGZ_fla { import flash.display.*; public dynamic class Equipo_01_mc_190 extends MovieClip { public var radio_mc:MovieClip; public function Equipo_01_mc_190(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 237
//Equipo_02_mc_200 (PPGZ_fla.Equipo_02_mc_200) package PPGZ_fla { import flash.display.*; public dynamic class Equipo_02_mc_200 extends MovieClip { public var radio_mc:MovieClip; public function Equipo_02_mc_200(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 238
//fondo_626 (PPGZ_fla.fondo_626) package PPGZ_fla { import flash.display.*; public dynamic class fondo_626 extends MovieClip { public var compu_mc:MovieClip; public var cn_btn:cartoon_btn; public var logo:MovieClip; public var play_btn:PlayMainMenuBtn; public function fondo_626(){ addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package PPGZ_fla
Section 239
//GameLostTitleTxt_735 (PPGZ_fla.GameLostTitleTxt_735) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class GameLostTitleTxt_735 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 240
//gde2_226 (PPGZ_fla.gde2_226) package PPGZ_fla { import flash.display.*; public dynamic class gde2_226 extends MovieClip { public function gde2_226(){ addFrameScript(9, frame10); } function frame10(){ stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 241
//gde2luz_228 (PPGZ_fla.gde2luz_228) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class gde2luz_228 extends MovieClip { public function gde2luz_228(){ addFrameScript(9, frame10); } function frame10(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 242
//globo_253 (PPGZ_fla.globo_253) package PPGZ_fla { import flash.display.*; public dynamic class globo_253 extends MovieClip { public function globo_253(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } function frame10(){ stop(); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 243
//hornoabrecierra_250 (PPGZ_fla.hornoabrecierra_250) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class hornoabrecierra_250 extends MovieClip { public function hornoabrecierra_250(){ addFrameScript(18, frame19); } function frame19(){ parent.dispatchEvent(new Event("HornoAbreCierra")); (parent as MovieClip).gotoAndStop("cerrado"); } } }//package PPGZ_fla
Section 244
//incorrecto_mc_51 (PPGZ_fla.incorrecto_mc_51) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class incorrecto_mc_51 extends MovieClip { public function incorrecto_mc_51(){ addFrameScript(25, frame26); } function frame26(){ parent.dispatchEvent(new Event("ResultEndDisappear")); } } }//package PPGZ_fla
Section 245
//InstructionsTitleTxt_689 (PPGZ_fla.InstructionsTitleTxt_689) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class InstructionsTitleTxt_689 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 246
//Jceleste_217 (PPGZ_fla.Jceleste_217) package PPGZ_fla { import flash.display.*; public dynamic class Jceleste_217 extends MovieClip { public var elements_mc:MovieClip; } }//package PPGZ_fla
Section 247
//KaoruTutor_12 (PPGZ_fla.KaoruTutor_12) package PPGZ_fla { import flash.display.*; public dynamic class KaoruTutor_12 extends MovieClip { public function KaoruTutor_12(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ stop(); } function frame1(){ stop(); } } }//package PPGZ_fla
Section 248
//logo_mc_644 (PPGZ_fla.logo_mc_644) package PPGZ_fla { import flash.display.*; public dynamic class logo_mc_644 extends MovieClip { public function logo_mc_644(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 249
//MicrophoneTitleTxt_614 (PPGZ_fla.MicrophoneTitleTxt_614) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class MicrophoneTitleTxt_614 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 250
//MiyakoTutor_6 (PPGZ_fla.MiyakoTutor_6) package PPGZ_fla { import flash.display.*; public dynamic class MiyakoTutor_6 extends MovieClip { public function MiyakoTutor_6(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ stop(); } function frame1(){ stop(); } } }//package PPGZ_fla
Section 251
//Mojo_Entra_01_360 (PPGZ_fla.Mojo_Entra_01_360) package PPGZ_fla { import flash.display.*; public dynamic class Mojo_Entra_01_360 extends MovieClip { public function Mojo_Entra_01_360(){ addFrameScript(0, frame1, 12, frame13); } function frame1(){ stop(); } function frame13(){ (parent as MovieClip).gotoAndStop("Bardea"); } } }//package PPGZ_fla
Section 252
//Mojo_Rie_371 (PPGZ_fla.Mojo_Rie_371) package PPGZ_fla { import flash.display.*; public dynamic class Mojo_Rie_371 extends MovieClip { public function Mojo_Rie_371(){ addFrameScript(23, frame24); } function frame24(){ (parent as MovieClip).gotoAndStop("Sale02"); } } }//package PPGZ_fla
Section 253
//Mojo_Sale_02_367 (PPGZ_fla.Mojo_Sale_02_367) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class Mojo_Sale_02_367 extends MovieClip { public function Mojo_Sale_02_367(){ addFrameScript(17, frame18); } function frame18(){ parent.dispatchEvent(new Event("MojoDisappear")); } } }//package PPGZ_fla
Section 254
//MomokoTutor_9 (PPGZ_fla.MomokoTutor_9) package PPGZ_fla { import flash.display.*; public dynamic class MomokoTutor_9 extends MovieClip { public function MomokoTutor_9(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ stop(); } function frame1(){ stop(); } } }//package PPGZ_fla
Section 255
//next_88 (PPGZ_fla.next_88) package PPGZ_fla { import flash.display.*; public dynamic class next_88 extends MovieClip { public function next_88(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 256
//nextBtn_183 (PPGZ_fla.nextBtn_183) package PPGZ_fla { import flash.display.*; public dynamic class nextBtn_183 extends MovieClip { public var pl1a:MovieClip; public function nextBtn_183(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 257
//nextlight_185 (PPGZ_fla.nextlight_185) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class nextlight_185 extends MovieClip { public function nextlight_185(){ addFrameScript(9, frame10); } function frame10(){ parent.dispatchEvent(new Event("TurnOffEvent")); MovieClip(parent).gotoAndStop("up"); } } }//package PPGZ_fla
Section 258
//offdown_85 (PPGZ_fla.offdown_85) package PPGZ_fla { import flash.display.*; public dynamic class offdown_85 extends MovieClip { public function offdown_85(){ addFrameScript(18, frame19); } function frame19(){ (parent as MovieClip).gotoAndStop("over"); } } }//package PPGZ_fla
Section 259
//offiluminado_87 (PPGZ_fla.offiluminado_87) package PPGZ_fla { import flash.display.*; public dynamic class offiluminado_87 extends MovieClip { public function offiluminado_87(){ addFrameScript(24, frame25); } function frame25(){ (parent as MovieClip).gotoAndStop("over"); } } }//package PPGZ_fla
Section 260
//ok_mc_739 (PPGZ_fla.ok_mc_739) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class ok_mc_739 extends MovieClip { public var ok:TextField; } }//package PPGZ_fla
Section 261
//On_Off_83 (PPGZ_fla.On_Off_83) package PPGZ_fla { import flash.display.*; public dynamic class On_Off_83 extends MovieClip { public function On_Off_83(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 262
//pantallaM_162 (PPGZ_fla.pantallaM_162) package PPGZ_fla { import flash.display.*; public dynamic class pantallaM_162 extends MovieClip { public function pantallaM_162(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 263
//Particula1MC_16 (PPGZ_fla.Particula1MC_16) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class Particula1MC_16 extends MovieClip { public function Particula1MC_16(){ addFrameScript(24, frame25); } function frame25(){ stop(); parent.dispatchEvent(new Event("AnimationStellaEnd")); } } }//package PPGZ_fla
Section 264
//pl1_117 (PPGZ_fla.pl1_117) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl1_117 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 265
//pl1d_120 (PPGZ_fla.pl1d_120) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1d_120 extends MovieClip { public var nro:MovieClip; public function pl1d_120(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 266
//pl1LUZ_119 (PPGZ_fla.pl1LUZ_119) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ_119 extends MovieClip { public var nro:MovieClip; public function pl1LUZ_119(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 267
//pl1LUZ_223 (PPGZ_fla.pl1LUZ_223) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ_223 extends MovieClip { public function pl1LUZ_223(){ addFrameScript(9, frame10); } function frame10(){ parent.dispatchEvent(new Event("TurnOffEvent")); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 268
//pl1LUZ2_123 (PPGZ_fla.pl1LUZ2_123) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ2_123 extends MovieClip { public var nro:MovieClip; public function pl1LUZ2_123(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 269
//pl1LUZ3_127 (PPGZ_fla.pl1LUZ3_127) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ3_127 extends MovieClip { public var nro:MovieClip; public function pl1LUZ3_127(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 270
//pl1LUZ4_131 (PPGZ_fla.pl1LUZ4_131) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ4_131 extends MovieClip { public var nro:MovieClip; public function pl1LUZ4_131(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 271
//pl1LUZ5_135 (PPGZ_fla.pl1LUZ5_135) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ5_135 extends MovieClip { public var nro:MovieClip; public function pl1LUZ5_135(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 272
//pl1LUZ6_139 (PPGZ_fla.pl1LUZ6_139) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ6_139 extends MovieClip { public var nro:MovieClip; public function pl1LUZ6_139(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 273
//pl1LUZ7_143 (PPGZ_fla.pl1LUZ7_143) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ7_143 extends MovieClip { public var nro:MovieClip; public function pl1LUZ7_143(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 274
//pl1LUZ8_147 (PPGZ_fla.pl1LUZ8_147) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ8_147 extends MovieClip { public var nro:MovieClip; public function pl1LUZ8_147(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 275
//pl1LUZ9_151 (PPGZ_fla.pl1LUZ9_151) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl1LUZ9_151 extends MovieClip { public var nro:MovieClip; public function pl1LUZ9_151(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 276
//pl2_122 (PPGZ_fla.pl2_122) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl2_122 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 277
//pl2a_222 (PPGZ_fla.pl2a_222) package PPGZ_fla { import flash.display.*; public dynamic class pl2a_222 extends MovieClip { public function pl2a_222(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 278
//pl2d_124 (PPGZ_fla.pl2d_124) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl2d_124 extends MovieClip { public var nro:MovieClip; public function pl2d_124(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 279
//pl3_126 (PPGZ_fla.pl3_126) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl3_126 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 280
//pl3d_128 (PPGZ_fla.pl3d_128) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl3d_128 extends MovieClip { public var nro:MovieClip; public function pl3d_128(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 281
//pl4_130 (PPGZ_fla.pl4_130) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl4_130 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 282
//pl4d_132 (PPGZ_fla.pl4d_132) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl4d_132 extends MovieClip { public var nro:MovieClip; public function pl4d_132(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 283
//pl5_134 (PPGZ_fla.pl5_134) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl5_134 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 284
//pl5d_136 (PPGZ_fla.pl5d_136) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl5d_136 extends MovieClip { public var nro:MovieClip; public function pl5d_136(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 285
//pl6_138 (PPGZ_fla.pl6_138) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl6_138 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 286
//pl6d_140 (PPGZ_fla.pl6d_140) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl6d_140 extends MovieClip { public var nro:MovieClip; public function pl6d_140(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 287
//pl7_142 (PPGZ_fla.pl7_142) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl7_142 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 288
//pl7d_144 (PPGZ_fla.pl7d_144) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl7d_144 extends MovieClip { public var nro:MovieClip; public function pl7d_144(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 289
//pl8_146 (PPGZ_fla.pl8_146) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl8_146 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 290
//pl8d_148 (PPGZ_fla.pl8d_148) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl8d_148 extends MovieClip { public var nro:MovieClip; public function pl8d_148(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 291
//pl9_150 (PPGZ_fla.pl9_150) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class pl9_150 extends MovieClip { public var nro:TextField; } }//package PPGZ_fla
Section 292
//pl9d_152 (PPGZ_fla.pl9d_152) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class pl9d_152 extends MovieClip { public var nro:MovieClip; public function pl9d_152(){ addFrameScript(11, frame12); } function frame12(){ parent.dispatchEvent(new Event("TurnOffEvent")); stop(); MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 293
//placa1_268 (PPGZ_fla.placa1_268) package PPGZ_fla { import flash.display.*; public dynamic class placa1_268 extends MovieClip { public var pl1a:MovieClip; public var pl1:MovieClip; public function placa1_268(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 294
//placa2_274 (PPGZ_fla.placa2_274) package PPGZ_fla { import flash.display.*; public dynamic class placa2_274 extends MovieClip { public var pl2a:MovieClip; public var pl2:MovieClip; public function placa2_274(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 295
//placa3_280 (PPGZ_fla.placa3_280) package PPGZ_fla { import flash.display.*; public dynamic class placa3_280 extends MovieClip { public var pl3a:MovieClip; public var pl3:MovieClip; public function placa3_280(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 296
//placa4_292 (PPGZ_fla.placa4_292) package PPGZ_fla { import flash.display.*; public dynamic class placa4_292 extends MovieClip { public var pl4a:MovieClip; public var pl4:MovieClip; public function placa4_292(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 297
//placa5_286 (PPGZ_fla.placa5_286) package PPGZ_fla { import flash.display.*; public dynamic class placa5_286 extends MovieClip { public var pl5:MovieClip; public var pl5a:MovieClip; public function placa5_286(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 298
//placa6_298 (PPGZ_fla.placa6_298) package PPGZ_fla { import flash.display.*; public dynamic class placa6_298 extends MovieClip { public var pl6:MovieClip; public var pl6a:MovieClip; public function placa6_298(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 299
//placaI_680 (PPGZ_fla.placaI_680) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class placaI_680 extends MovieClip { public var txt_txt:TextField; public var percentage_mc:MovieClip; public var txt1_txt:TextField; } }//package PPGZ_fla
Section 300
//placaR_784 (PPGZ_fla.placaR_784) package PPGZ_fla { import flash.display.*; public dynamic class placaR_784 extends MovieClip { public var texts_mc:resultados1_txt; } }//package PPGZ_fla
Section 301
//plaquita1d_272 (PPGZ_fla.plaquita1d_272) package PPGZ_fla { import flash.display.*; public dynamic class plaquita1d_272 extends MovieClip { public function plaquita1d_272(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 302
//plaquita1LUZ_273 (PPGZ_fla.plaquita1LUZ_273) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class plaquita1LUZ_273 extends MovieClip { public function plaquita1LUZ_273(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); parent.dispatchEvent(new Event("TurnOffEvent")); } } }//package PPGZ_fla
Section 303
//plaquita2d_278 (PPGZ_fla.plaquita2d_278) package PPGZ_fla { import flash.display.*; public dynamic class plaquita2d_278 extends MovieClip { public function plaquita2d_278(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 304
//plaquita2LUZ_279 (PPGZ_fla.plaquita2LUZ_279) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class plaquita2LUZ_279 extends MovieClip { public function plaquita2LUZ_279(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); parent.dispatchEvent(new Event("TurnOffEvent")); } } }//package PPGZ_fla
Section 305
//plaquita3d_284 (PPGZ_fla.plaquita3d_284) package PPGZ_fla { import flash.display.*; public dynamic class plaquita3d_284 extends MovieClip { public function plaquita3d_284(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 306
//plaquita3LUZ_285 (PPGZ_fla.plaquita3LUZ_285) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class plaquita3LUZ_285 extends MovieClip { public function plaquita3LUZ_285(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); parent.dispatchEvent(new Event("TurnOffEvent")); } } }//package PPGZ_fla
Section 307
//plaquita4d_296 (PPGZ_fla.plaquita4d_296) package PPGZ_fla { import flash.display.*; public dynamic class plaquita4d_296 extends MovieClip { public function plaquita4d_296(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 308
//plaquita4LUZ_297 (PPGZ_fla.plaquita4LUZ_297) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class plaquita4LUZ_297 extends MovieClip { public function plaquita4LUZ_297(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); parent.dispatchEvent(new Event("TurnOffEvent")); } } }//package PPGZ_fla
Section 309
//plaquita5d_290 (PPGZ_fla.plaquita5d_290) package PPGZ_fla { import flash.display.*; public dynamic class plaquita5d_290 extends MovieClip { public function plaquita5d_290(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 310
//plaquita5LUZ_291 (PPGZ_fla.plaquita5LUZ_291) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class plaquita5LUZ_291 extends MovieClip { public function plaquita5LUZ_291(){ addFrameScript(9, frame10); } function frame10(){ MovieClip(parent).gotoAndStop("apagado"); parent.dispatchEvent(new Event("TurnOffEvent")); } } }//package PPGZ_fla
Section 311
//plaquita6d_302 (PPGZ_fla.plaquita6d_302) package PPGZ_fla { import flash.display.*; public dynamic class plaquita6d_302 extends MovieClip { public function plaquita6d_302(){ addFrameScript(14, frame15); } function frame15(){ MovieClip(parent).gotoAndStop("apagado"); } } }//package PPGZ_fla
Section 312
//plaquita6LUZ_303 (PPGZ_fla.plaquita6LUZ_303) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class plaquita6LUZ_303 extends MovieClip { public function plaquita6LUZ_303(){ addFrameScript(14, frame15); } function frame15(){ MovieClip(parent).gotoAndStop("apagado"); parent.dispatchEvent(new Event("TurnOffEvent")); } } }//package PPGZ_fla
Section 313
//plCeleste_160 (PPGZ_fla.plCeleste_160) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class plCeleste_160 extends MovieClip { public var musica:TextField; } }//package PPGZ_fla
Section 314
//plverde_161 (PPGZ_fla.plverde_161) package PPGZ_fla { import flash.display.*; public dynamic class plverde_161 extends MovieClip { public var prev_mc:MovieClip; public var screen_mc:MovieClip; public var next_mc:MovieClip; } }//package PPGZ_fla
Section 315
//plverde_255 (PPGZ_fla.plverde_255) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class plverde_255 extends MovieClip { public var titulo_txt:TextField; } }//package PPGZ_fla
Section 316
//ppedal_39 (PPGZ_fla.ppedal_39) package PPGZ_fla { import flash.display.*; public dynamic class ppedal_39 extends MovieClip { public var pedal:MovieClip; } }//package PPGZ_fla
Section 317
//prev_91 (PPGZ_fla.prev_91) package PPGZ_fla { import flash.display.*; public dynamic class prev_91 extends MovieClip { public function prev_91(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 318
//prevBtn_180 (PPGZ_fla.prevBtn_180) package PPGZ_fla { import flash.display.*; public dynamic class prevBtn_180 extends MovieClip { public var pl1a:MovieClip; public function prevBtn_180(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package PPGZ_fla
Section 319
//prevlight_182 (PPGZ_fla.prevlight_182) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class prevlight_182 extends MovieClip { public function prevlight_182(){ addFrameScript(9, frame10); } function frame10(){ parent.dispatchEvent(new Event("TurnOffEvent")); MovieClip(parent).gotoAndStop("up"); } } }//package PPGZ_fla
Section 320
//ProgressText_825 (PPGZ_fla.ProgressText_825) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class ProgressText_825 extends MovieClip { public var txt_txt:TextField; public var progress_txt:TextField; public function ProgressText_825(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package PPGZ_fla
Section 321
//Puerta_Abre_02_19 (PPGZ_fla.Puerta_Abre_02_19) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class Puerta_Abre_02_19 extends MovieClip { public function Puerta_Abre_02_19(){ addFrameScript(4, frame5); } function frame5(){ parent.dispatchEvent(new Event("EndOpenEvent")); stop(); } } }//package PPGZ_fla
Section 322
//Puerta_Cierra_02_25 (PPGZ_fla.Puerta_Cierra_02_25) package PPGZ_fla { import flash.display.*; public dynamic class Puerta_Cierra_02_25 extends MovieClip { public function Puerta_Cierra_02_25(){ addFrameScript(4, frame5); } function frame5(){ (parent as MovieClip).gotoAndStop(1); } } }//package PPGZ_fla
Section 323
//ResultsTitleTxt_786 (PPGZ_fla.ResultsTitleTxt_786) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class ResultsTitleTxt_786 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 324
//rosa_29 (PPGZ_fla.rosa_29) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class rosa_29 extends MovieClip { public var bici:TextField; } }//package PPGZ_fla
Section 325
//rosa_mc_81 (PPGZ_fla.rosa_mc_81) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class rosa_mc_81 extends MovieClip { public var tv:TextField; } }//package PPGZ_fla
Section 326
//ScoreText_773 (PPGZ_fla.ScoreText_773) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class ScoreText_773 extends MovieClip { public var scoreLabel_txt:TextField; public var score_txt:TextField; } }//package PPGZ_fla
Section 327
//Tev_70 (PPGZ_fla.Tev_70) package PPGZ_fla { import flash.display.*; public dynamic class Tev_70 extends MovieClip { public var screen_mc:MovieClip; } }//package PPGZ_fla
Section 328
//text_light_304 (PPGZ_fla.text_light_304) package PPGZ_fla { import flash.display.*; public dynamic class text_light_304 extends MovieClip { public var textContainer_mc:MovieClip; public function text_light_304(){ addFrameScript(19, frame20); } function frame20(){ gotoAndPlay(1); } } }//package PPGZ_fla
Section 329
//TextContainer_236 (PPGZ_fla.TextContainer_236) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_236 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 330
//TextContainer_609 (PPGZ_fla.TextContainer_609) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_609 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 331
//TextContainer_650 (PPGZ_fla.TextContainer_650) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_650 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 332
//TextContainer_675 (PPGZ_fla.TextContainer_675) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_675 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 333
//TextContainer_699 (PPGZ_fla.TextContainer_699) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_699 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 334
//TextContainer_707 (PPGZ_fla.TextContainer_707) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_707 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 335
//TextContainer_744 (PPGZ_fla.TextContainer_744) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_744 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 336
//TextContainer_779 (PPGZ_fla.TextContainer_779) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_779 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 337
//TextContainer_797 (PPGZ_fla.TextContainer_797) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_797 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 338
//TextContainer_97 (PPGZ_fla.TextContainer_97) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class TextContainer_97 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 339
//tiempo_txt_774 (PPGZ_fla.tiempo_txt_774) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class tiempo_txt_774 extends MovieClip { public var tiempoLabel_txt:TextField; public var tiempo_txt:TextField; } }//package PPGZ_fla
Section 340
//tutor_txt_4 (PPGZ_fla.tutor_txt_4) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class tutor_txt_4 extends MovieClip { public var text_txt:TextField; } }//package PPGZ_fla
Section 341
//tutor2_txt_5 (PPGZ_fla.tutor2_txt_5) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class tutor2_txt_5 extends MovieClip { public var text_mc:MovieClip; public function tutor2_txt_5(){ addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); } function frame20(){ this.dispatchEvent(new Event("TextDisappear")); } } }//package PPGZ_fla
Section 342
//tutor4_txt_8 (PPGZ_fla.tutor4_txt_8) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class tutor4_txt_8 extends MovieClip { public var text_mc:MovieClip; public function tutor4_txt_8(){ addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); } function frame20(){ this.dispatchEvent(new Event("TextDisappear")); } } }//package PPGZ_fla
Section 343
//tutor6_txt_11 (PPGZ_fla.tutor6_txt_11) package PPGZ_fla { import flash.events.*; import flash.display.*; public dynamic class tutor6_txt_11 extends MovieClip { public var text_mc:MovieClip; public function tutor6_txt_11(){ addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); } function frame20(){ this.dispatchEvent(new Event("TextDisappear")); } } }//package PPGZ_fla
Section 344
//tutor9_txt_3 (PPGZ_fla.tutor9_txt_3) package PPGZ_fla { import flash.display.*; public dynamic class tutor9_txt_3 extends MovieClip { public var text_mc:MovieClip; public function tutor9_txt_3(){ addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); } function frame20(){ stop(); } } }//package PPGZ_fla
Section 345
//up_d_93 (PPGZ_fla.up_d_93) package PPGZ_fla { import flash.display.*; public dynamic class up_d_93 extends MovieClip { public function up_d_93(){ addFrameScript(9, frame10); } function frame10(){ (parent as MovieClip).gotoAndStop("over"); } } }//package PPGZ_fla
Section 346
//verde_mc_82 (PPGZ_fla.verde_mc_82) package PPGZ_fla { import flash.display.*; public dynamic class verde_mc_82 extends MovieClip { public var next_btn:MovieClip; public var on_off:MovieClip; public var prev_btn:MovieClip; } }//package PPGZ_fla
Section 347
//violeta_216 (PPGZ_fla.violeta_216) package PPGZ_fla { import flash.text.*; import flash.display.*; public dynamic class violeta_216 extends MovieClip { public var horno:TextField; } }//package PPGZ_fla
Section 348
//Map (terrain.Map) package terrain { import flash.events.*; import flash.display.*; import flash.geom.*; import view.*; public class Map { private var _originalMap:Array;// = null private var _columnsNum:uint; private var _mapBitMap:Array;// = null private var _map:Sprite;// = null private var _rowsNum:uint; public static const WALKABLE:uint = 1; public static const NOT_WALKABLE:uint = 0; private static var _instance:Map = null; public function Map(_arg1:Singleton):void{ _originalMap = null; _mapBitMap = null; _map = null; super(); _arg1 = null; } public function GetPositionOfTile(_arg1:uint, _arg2:uint):Point{ return (new Point((Constants.MAP_X_OFFSET + (Constants.TILE_DEFAULT_WIDTH * (_arg1 + Constants.UN_MEDIO))), (Constants.MAP_Y_OFFSET + (Constants.TILE_DEFAULT_HEIGHT * (_arg2 + Constants.UN_MEDIO))))); } public function Disable():void{ _map.visible = false; _map.removeEventListener(MouseEvent.CLICK, OnMapClick); _map.removeEventListener(MouseEvent.ROLL_OUT, OnMapRollOut); _map.removeEventListener(MouseEvent.ROLL_OVER, OnMapRollOver); } public function IsWalkable(_arg1:Point):Boolean{ if (MapBitMap[_arg1.y][_arg1.x] == 0){ return (false); }; return (true); } public function get Height():uint{ return (_rowsNum); } public function set SetMapBitMap(_arg1:Array):void{ var _local2:uint; var _local3:uint; if (_map != null){ LayerFactory.Instance.GetLayer(LayerFactory.MAP).removeChild(_map); _map = null; }; _mapBitMap = (_originalMap = null); _rowsNum = _arg1.length; _columnsNum = _arg1[0].length; _map = new Sprite(); _mapBitMap = new Array(_rowsNum); _originalMap = new Array(_rowsNum); _local2 = 0; while (_local2 < _rowsNum) { _mapBitMap[_local2] = new Array(_columnsNum); _originalMap[_local2] = new Array(_columnsNum); _local3 = 0; while (_local3 < _columnsNum) { _mapBitMap[_local2][_local3] = _arg1[_local2][_local3]; _originalMap[_local2][_local3] = _arg1[_local2][_local3]; _local3++; }; _local2++; }; _map.y = Constants.MAP_Y_OFFSET; _map.x = Constants.MAP_X_OFFSET; _map.graphics.beginFill(0xFF); _map.graphics.drawRect(0, 0, (_columnsNum * Constants.TILE_DEFAULT_WIDTH), (_rowsNum * Constants.TILE_DEFAULT_HEIGHT)); _map.graphics.endFill(); _map.alpha = 0; _map.mouseChildren = false; _map.addEventListener(MouseEvent.CLICK, OnMapClick); _map.addEventListener(MouseEvent.ROLL_OUT, OnMapRollOut); _map.addEventListener(MouseEvent.ROLL_OVER, OnMapRollOver); } public function GetTileAt(_arg1:Number, _arg2:Number):Point{ var _local3:uint; var _local4:uint; _local3 = Math.floor(((_arg2 - Constants.MAP_Y_OFFSET) / Constants.TILE_DEFAULT_HEIGHT)); _local4 = Math.floor(((_arg1 - Constants.MAP_X_OFFSET) / Constants.TILE_DEFAULT_WIDTH)); if ((((((((_local3 < 0)) || ((_local3 >= Height)))) || ((_local4 < 0)))) || ((_local4 >= Width)))){ return (null); }; return (new Point(_local4, _local3)); } public function ResetMapBitMap():void{ var _local1:uint; var _local2:uint; _local1 = 0; while (_local1 < _rowsNum) { _local2 = 0; while (_local2 < _columnsNum) { _mapBitMap[_local1][_local2] = _originalMap[_local1][_local2]; _local2++; }; _local1++; }; } public function get Width():uint{ return (_columnsNum); } public function get MapBitMap():Array{ return (_mapBitMap); } public function Initialize(_arg1:Array):void{ _columnsNum = 0; _rowsNum = 0; SetMapBitMap = _arg1; } private function OnMapClick(_arg1:MouseEvent):void{ } private function OnMapRollOut(_arg1:MouseEvent):void{ } private function OnMapRollOver(_arg1:MouseEvent):void{ } public function UpdateTile(_arg1:uint, _arg2:uint, _arg3:uint):void{ _mapBitMap[_arg2][_arg1] = _arg3; } public function Able():void{ _map.visible = true; _map.addEventListener(MouseEvent.CLICK, OnMapClick); _map.addEventListener(MouseEvent.ROLL_OUT, OnMapRollOut); _map.addEventListener(MouseEvent.ROLL_OVER, OnMapRollOver); } public static function get Instance():Map{ if (_instance == null){ _instance = new Map(new Singleton()); }; return (_instance); } } }//package terrain class Singleton { private function Singleton(){ } }
Section 349
//TextLoader (txt.TextLoader) package txt { import flash.utils.*; import flash.events.*; import flash.net.*; import com.bourre.load.*; public class TextLoader extends EventDispatcher { private var _loader:XMLLoader;// = null private var _texts:Dictionary;// = null public static const LOAD_COMPLETE:String = "LoadComplete"; private static var _instance:TextLoader = null; public function TextLoader(_arg1:SingletonBlocker){ _loader = null; _texts = null; super(); if (_arg1 == null){ return; }; _texts = new Dictionary(); } private function OnLoadInit(_arg1:LoaderEvent):void{ _loader.removeEventListener(LoaderEvent.onLoadInitEVENT, OnLoadInit); ParseTexts(_texts, _loader.getXML()); dispatchEvent(new Event(LOAD_COMPLETE)); } public function LoadTexts(_arg1:String):void{ _loader = new XMLLoader(); _loader.addEventListener(LoaderEvent.onLoadInitEVENT, OnLoadInit); _loader.load(new URLRequest(_arg1)); } private function ParseTexts(_arg1:Dictionary, _arg2:XML):void{ var _local3:XML; for each (_local3 in _arg2.term) { _arg1[_local3.@key.toString()] = _local3.toString(); }; } public function get Texts():Dictionary{ return (_texts); } public static function get Instance():TextLoader{ if (!(TextLoader._instance is TextLoader)){ TextLoader._instance = new TextLoader(new SingletonBlocker()); }; return (_instance); } } }//package txt class SingletonBlocker { private function SingletonBlocker(){ } }
Section 350
//HUDManager (ui.HUDManager) package ui { import flash.text.*; import flash.events.*; import flash.display.*; import utils.*; import gs.*; import txt.*; import config.*; import buttons.*; import com.gamesandweb.game.*; import gs.easing.*; public class HUDManager { private var _view:MovieClip;// = null private var _numDigitsScore:int;// = 5 private var _momokoPerc:uint; private var _block:MovieClip; private var _momokoBar:MovieClip;// = null private var _scoreTxt:TextField;// = null private var _skipBtn:RollOutBtn; private var _kaoruPerc:uint; private var _time:TextField; private var _miyakoPerc:uint; private var _miyakoBar:MovieClip;// = null private var _kaoruBar:MovieClip;// = null private static var _instance:HUDManager; public function HUDManager(_arg1:SingletonBlocker){ _view = null; _scoreTxt = null; _numDigitsScore = 5; _kaoruBar = null; _momokoBar = null; _miyakoBar = null; super(); if (_arg1 == null){ return; }; } public function get View():MovieClip{ return (_view); } protected function SetTexts():void{ StringUtils.SetTextPreservingFormat(((_view.getChildByName("tiempo_mc") as MovieClip).getChildByName("tiempoLabel_txt") as TextField), TextLoader.Instance.Texts["HUDTimeLbl"]); StringUtils.SetTextPreservingFormat(((_view.getChildByName("scoreTxt_mc") as MovieClip).getChildByName("scoreLabel_txt") as TextField), TextLoader.Instance.Texts["HUDScoreLbl"]); _skipBtn.Text = TextLoader.Instance.Texts["Skip"]; } protected function UpBar(_arg1:MovieClip, _arg2:uint):void{ if (_arg1.currentFrame < _arg2){ _arg1.nextFrame(); if (_arg1.currentFrame != _arg2){ UpBar(_arg1, _arg2); }; }; } protected function OnSoundButtonClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnSoundBtnClick"); } protected function InitializeChildren():void{ RollOutBtn(_view.getChildByName("help_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnHelpButtonClick); ((_view.getChildByName("sound_btn") as MovieClip).getChildByName("conSonido") as RollOutBtn).HitArea.addEventListener(MouseEvent.CLICK, OnSoundButtonClick); ((_view.getChildByName("sound_btn") as MovieClip).getChildByName("sinSonido") as RollOutBtn).HitArea.addEventListener(MouseEvent.CLICK, OnSoundButtonClick); _scoreTxt = ((_view.getChildByName("scoreTxt_mc") as MovieClip).getChildByName("score_txt") as TextField); _time = ((_view.getChildByName("tiempo_mc") as MovieClip).getChildByName("tiempo_txt") as TextField); if (_scoreTxt == null){ _scoreTxt = new TextField(); }; _scoreTxt.text = StringUtils.IntToStr(0, _numDigitsScore); _miyakoBar = (_view.getChildByName("MiyakoBar_mc") as MovieClip); _momokoBar = (_view.getChildByName("MomokoBar_mc") as MovieClip); _kaoruBar = (_view.getChildByName("KaoruBar_mc") as MovieClip); _scoreTxt.text = StringUtils.IntToStr(0, _numDigitsScore); _skipBtn = (_view.getChildByName("skip_btn") as RollOutBtn); } public function ShowGameHud():void{ if (_skipBtn.visible){ _skipBtn.removeEventListener(MouseEvent.CLICK, OnSkipButtonClick); _skipBtn.visible = false; (_view.getChildByName("tiempo_mc") as MovieClip).visible = true; (_view.getChildByName("scoreTxt_mc") as MovieClip).visible = true; RollOutBtn(_view.getChildByName("help_btn")).visible = true; _miyakoBar.visible = true; _momokoBar.visible = true; _kaoruBar.visible = true; }; } public function set UpdateTime(_arg1:uint):void{ _time.text = StringUtils.Fill(String(_arg1), 2); } public function InactiveBar(_arg1):void{ switch (_arg1){ case "Miyako": _miyakoPerc = Constants.CIEN; _miyakoBar.gotoAndPlay(_miyakoPerc); break; case "Momoko": _momokoPerc = Constants.CIEN; _momokoBar.gotoAndPlay(_momokoPerc); break; case "Kaoru": _kaoruPerc = Constants.CIEN; _kaoruBar.gotoAndPlay(_kaoruPerc); break; }; } public function Hide():void{ TweenMax.to(View, 0.5, {bezier:[{x:0, y:0}], alpha:0, ease:Sine.easeInOut}); } public function set Score(_arg1:uint):void{ _scoreTxt.text = StringUtils.IntToStr(_arg1, _numDigitsScore); } public function ShowTutorHud():void{ _skipBtn.visible = true; _skipBtn.addEventListener(MouseEvent.CLICK, OnSkipButtonClick); (_view.getChildByName("tiempo_mc") as MovieClip).visible = false; (_view.getChildByName("scoreTxt_mc") as MovieClip).visible = false; RollOutBtn(_view.getChildByName("help_btn")).visible = false; _miyakoBar.visible = false; _momokoBar.visible = false; _kaoruBar.visible = false; } public function ToggleMute(_arg1:Boolean):void{ if (_arg1){ ((_view.getChildByName("sound_btn") as MovieClip).getChildByName("conSonido") as RollOutBtn).visible = false; ((_view.getChildByName("sound_btn") as MovieClip).getChildByName("sinSonido") as RollOutBtn).visible = true; } else { ((_view.getChildByName("sound_btn") as MovieClip).getChildByName("conSonido") as RollOutBtn).visible = true; ((_view.getChildByName("sound_btn") as MovieClip).getChildByName("sinSonido") as RollOutBtn).visible = false; }; } private function LoadConfig():void{ _numDigitsScore = ConfigLoader.Instance.Config["HUDNumDigitsScore"]; } public function InactiveButtons():void{ _block.visible = true; } public function ActiveButtons():void{ _block.visible = false; } public function UpdateGirlBarPercentage(_arg1:String, _arg2:uint):void{ if (_arg2 > Constants.CIEN){ if ((_arg2 == 0)){ _arg2 = 1; }; }; switch (_arg1){ case "Miyako": if (_arg2 != _miyakoPerc){ _miyakoPerc = _arg2; if (_miyakoBar.currentFrame < _arg2){ UpBar(_miyakoBar, _arg2); } else { if (_miyakoBar.currentFrame > _arg2){ DownBar(_miyakoBar, _arg2); }; }; }; break; case "Momoko": if (_arg2 != _momokoPerc){ _momokoPerc = _arg2; if (_momokoBar.currentFrame < _arg2){ UpBar(_momokoBar, _arg2); } else { if (_momokoBar.currentFrame > _arg2){ DownBar(_momokoBar, _arg2); }; }; }; break; case "Kaoru": if (_kaoruPerc != _arg2){ _kaoruPerc = _arg2; if (_kaoruBar.currentFrame < _arg2){ UpBar(_kaoruBar, _arg2); } else { if (_kaoruBar.currentFrame > _arg2){ DownBar(_kaoruBar, _arg2); }; }; }; break; }; } public function Initialize(_arg1:MovieClip):void{ _view = _arg1; _view.alpha = 0; _block = (View.getChildByName("block_mc") as MovieClip); _block.visible = false; LoadConfig(); InitializeChildren(); SetTexts(); ToggleMute(false); _miyakoPerc = 0; _momokoPerc = 0; _kaoruPerc = 0; } protected function DownBar(_arg1:MovieClip, _arg2:uint):void{ if (_arg2 == 0){ if (_arg1.currentFrame != 1){ _arg1.gotoAndStop(1); }; return; }; if (_arg1.currentFrame > _arg2){ _arg1.prevFrame(); if (_arg1.currentFrame != _arg2){ DownBar(_arg1, _arg2); }; }; } protected function ControlStopBar(_arg1:Event){ switch ((_arg1.currentTarget as MovieClip).name){ case "MiyakoBar_mc": if (_miyakoBar.currentFrame == _miyakoPerc){ _miyakoBar.stop(); _miyakoBar.removeEventListener(Event.ENTER_FRAME, ControlStopBar); }; break; case "MomokoBar_mc": if (_momokoBar.currentFrame == _momokoPerc){ _momokoBar.stop(); _momokoBar.removeEventListener(Event.ENTER_FRAME, ControlStopBar); }; break; case "KaoruBar_mc": if (_kaoruBar.currentFrame == _kaoruPerc){ _kaoruBar.stop(); _kaoruBar.removeEventListener(Event.ENTER_FRAME, ControlStopBar); }; break; }; } public function Show():void{ View.visible = true; TweenMax.to(View, 0.5, {bezier:[{x:0, y:0}], alpha:1, ease:Sine.easeInOut}); } protected function OnSkipButtonClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnSkipBtnClick"); } protected function OnHelpButtonClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnHelpBtnClick"); } public static function get Instance():HUDManager{ if (!(HUDManager._instance is HUDManager)){ HUDManager._instance = new HUDManager(new SingletonBlocker()); }; return (_instance); } } }//package ui class SingletonBlocker { private function SingletonBlocker(){ } }
Section 351
//UIFactory (ui.UIFactory) package ui { import flash.display.*; public class UIFactory { private var _container:DisplayObjectContainer;// = null private var _transitionSponsor:UITransitionSponsor;// = null private var _instructions:UIInstructions;// = null private var _textTransition:UITextTransition;// = null private var _gameWonScreen:UIGameWonScreen;// = null private var _mainMenu:UIMainMenu;// = null private var _gameLostScreen:UIGameLostScreen;// = null private var _levelResults:UILevelResults;// = null private var _transition:UITransition;// = null private static var _instance:UIFactory; public function UIFactory(_arg1:SingletonBlocker){ _container = null; _mainMenu = null; _instructions = null; _gameWonScreen = null; _gameLostScreen = null; _transition = null; _textTransition = null; _levelResults = null; _transitionSponsor = null; super(); if (_arg1 == null){ throw (new Error(("Public construction not allowed." + "Use GetInstance()"))); }; } public function get Instructions():UIInstructions{ if (!(_instructions is UIInstructions)){ _instructions = new UIInstructions(new InstructionsAsset()); _container.addChild(_instructions.View); }; return (_instructions); } public function get MainMenu():UIMainMenu{ if (!(_mainMenu is UIMainMenu)){ _mainMenu = new UIMainMenu(new MainMenuAsset()); _container.addChild(_mainMenu.View); }; return (_mainMenu); } public function get TextTransition():UITextTransition{ if (!(_textTransition is UITextTransition)){ _textTransition = new UITextTransition(new TextTransitionAsset()); _container.addChild(_textTransition.View); }; return (_textTransition); } public function get TransitionSponsor():UITransitionSponsor{ if (!(_transitionSponsor is UITransitionSponsor)){ _transitionSponsor = new UITransitionSponsor(new TransicionSponsorAsset()); _container.addChild(_transitionSponsor.View); }; return (_transitionSponsor); } public function Initialize(_arg1:DisplayObjectContainer):void{ _container = _arg1; MainMenu.Hide(); Instructions.Hide(); LevelResults.Hide(); GameLostScreen.Hide(); GameWonScreen.Hide(); Transition.Hide(); TransitionSponsor.Hide(); TextTransition.Hide(); MainMenu.View.gotoAndStop(1); Instructions.View.gotoAndStop(1); LevelResults.View.gotoAndStop(1); GameLostScreen.View.gotoAndStop(1); GameWonScreen.View.gotoAndStop(1); Transition.View.gotoAndStop(1); TextTransition.View.gotoAndStop(1); TransitionSponsor.View.gotoAndStop(1); TextTransition.HtmlText = ""; MainMenu.View.tabChildren = false; Instructions.View.tabChildren = false; LevelResults.View.tabChildren = false; GameLostScreen.View.tabChildren = false; GameWonScreen.View.tabChildren = false; TransitionSponsor.View.tabChildren = false; Transition.View.tabChildren = false; TextTransition.View.tabChildren = false; } public function get LevelResults():UILevelResults{ if (!(_levelResults is UILevelResults)){ _levelResults = new UILevelResults(new LevelResultsAsset()); _container.addChild(_levelResults.View); }; return (_levelResults); } public function get Transition():UITransition{ if (!(_transition is UITransition)){ _transition = new UITransition(new TransitionAsset()); _container.addChild(_transition.View); }; return (_transition); } public function get GameWonScreen():UIGameWonScreen{ if (!(_gameWonScreen is UIGameWonScreen)){ _gameWonScreen = new UIGameWonScreen(new GameWonAsset()); _container.addChild(_gameWonScreen.View); }; return (_gameWonScreen); } public function get GameLostScreen():UIGameLostScreen{ if (!(_gameLostScreen is UIGameLostScreen)){ _gameLostScreen = new UIGameLostScreen(new GameLostAsset()); _container.addChild(_gameLostScreen.View); }; return (_gameLostScreen); } public static function get Instance():UIFactory{ if (!(UIFactory._instance is UIFactory)){ UIFactory._instance = new UIFactory(new SingletonBlocker()); }; return (_instance); } } }//package ui class SingletonBlocker { private function SingletonBlocker(){ } }
Section 352
//UIGameLostScreen (ui.UIGameLostScreen) package ui { import flash.text.*; import flash.events.*; import flash.display.*; import utils.*; import txt.*; import config.*; import com.gamesandweb.ui.*; import buttons.*; import com.gamesandweb.game.*; public class UIGameLostScreen extends UIWidget { protected var _container:MovieClip;// = null protected var _digitsScore:uint;// = 0 protected var _qualification:MovieClip;// = null public function UIGameLostScreen(_arg1:MovieClip, _arg2:int=-1){ _digitsScore = 0; _qualification = null; _container = null; super(_arg1, _arg2); _container = (_view.getChildByName("container_mc") as MovieClip); if (_container == null){ _container = View; }; SetTexts(); } override public function OnFadeInOver(_arg1:Event):void{ super.OnFadeInOver(_arg1); Global.DispatchGameEvent("GameLostFadeInOver"); } protected function OnMainMenuButtonClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnMainMenuBtnClick"); } public function set Qualification(_arg1:String):void{ _qualification.gotoAndStop(_arg1); } protected function OnPlayAgainButtonClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnLostPlayAgainBtnClick"); } private function IntentarSetTexts(_arg1:Event):void{ GameContext.GameSprite.removeEventListener(Event.ENTER_FRAME, IntentarSetTexts); SetTexts(); } protected function SetTexts():void{ var _textContainer:MovieClip; try { StringUtils.SetTextPreservingFormat(TextField(MovieClip(_container.getChildByName("gameLostTitle_mc")).getChildByName("text_txt")), TextLoader.Instance.Texts["GameLostTitle"]); _textContainer = (_container.getChildByName("scoreTxt_mc") as MovieClip); StringUtils.SetTextPreservingFormat(TextField(_textContainer.getChildByName("txt_txt")), TextLoader.Instance.Texts["Text1"]); StringUtils.SetTextPreservingFormat(TextField(_textContainer.getChildByName("intentalo")), TextLoader.Instance.Texts["TryAgainTxt"]); StringUtils.SetTextPreservingFormat(TextField(_textContainer.getChildByName("cali_txt")), TextLoader.Instance.Texts["Qualification"]); StringUtils.SetTextPreservingFormat(TextField(_textContainer.getChildByName("scoreLabel_txt")), TextLoader.Instance.Texts["TotalScore"]); RollOutBtn(_container.getChildByName("playAgain_btn")).Text = TextLoader.Instance.Texts["PlayAgainBtn"]; RollOutBtn(_container.getChildByName("mainMenu_btn")).Text = TextLoader.Instance.Texts["MainMenuBtn"]; InitializeChildren(); } catch(nulo:Error) { GameContext.GameSprite.addEventListener(Event.ENTER_FRAME, IntentarSetTexts); }; } protected function InitializeChildren():void{ RollOutBtn(_container.getChildByName("playAgain_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnPlayAgainButtonClick); RollOutBtn(_container.getChildByName("mainMenu_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnMainMenuButtonClick); _qualification = (_container.getChildByName("categoria_mc") as MovieClip); _digitsScore = ConfigLoader.Instance.Config["HUDNumDigitsScore"]; StringUtils.SetTextPreservingFormat(((_container.getChildByName("scoreTxt_mc") as MovieClip).getChildByName("score_txt") as TextField), StringUtils.IntToStr(0, _digitsScore)); } public function set Score(_arg1:int):void{ StringUtils.SetTextPreservingFormat(((_container.getChildByName("scoreTxt_mc") as MovieClip).getChildByName("score_txt") as TextField), StringUtils.IntToStr(_arg1, _digitsScore)); } } }//package ui
Section 353
//UIGameWonScreen (ui.UIGameWonScreen) package ui { import flash.text.*; import flash.events.*; import flash.display.*; import utils.*; import txt.*; import config.*; import com.gamesandweb.ui.*; import buttons.*; import com.gamesandweb.game.*; public class UIGameWonScreen extends UIWidget { protected var _container:MovieClip;// = null protected var _digitsScore:uint; protected var _qualification:MovieClip;// = null public function UIGameWonScreen(_arg1:MovieClip, _arg2:int=-1){ _qualification = null; _container = null; super(_arg1, _arg2); _container = (_view.getChildByName("container_mc") as MovieClip); if (_container == null){ _container = View; }; SetTexts(); } override public function OnFadeInOver(_arg1:Event):void{ super.OnFadeInOver(_arg1); Global.DispatchGameEvent("GameWonFadeInOver"); } protected function OnMainMenuButtonClick(_arg1:MouseEvent):void{ trace("GAME WON main menu"); Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnMainMenuBtnClick"); } private function render(_arg1:Event):void{ RollOutBtn(View.getChildByName("playAgain_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnPlayAgainButtonClick); RollOutBtn(View.getChildByName("mainMenu_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnMainMenuButtonClick); StringUtils.SetTextPreservingFormat((_container.getChildByName("score_txt") as TextField), StringUtils.IntToStr(0, _digitsScore)); _qualification = (View.getChildByName("categoria_mc") as MovieClip); } public function set Qualification(_arg1:String):void{ trace("GAME WON QUALIFICATION"); (View.getChildByName("categoria_mc") as MovieClip).gotoAndStop(_arg1); } protected function OnPlayAgainButtonClick(_arg1:MouseEvent):void{ trace("GAME WON play again"); Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnWonPlayAgainBtnClick"); } private function IntentarSetTexts(_arg1:Event):void{ GameContext.GameSprite.removeEventListener(Event.ENTER_FRAME, IntentarSetTexts); SetTexts(); } protected function SetTexts():void{ try { StringUtils.SetTextPreservingFormat(TextField((_view.getChildByName("gameWonTitle_mc") as MovieClip).getChildByName("text_txt")), TextLoader.Instance.Texts["GameWonTitle"]); StringUtils.SetTextPreservingFormat(TextField(_container.getChildByName("cali_txt")), TextLoader.Instance.Texts["Qualification"]); StringUtils.SetTextPreservingFormat(TextField(_container.getChildByName("scoreLabel_txt")), TextLoader.Instance.Texts["TotalScore"]); StringUtils.SetTextPreservingFormat(TextField(_container.getChildByName("txt1_txt")), TextLoader.Instance.Texts["TextWon"]); RollOutBtn(View.getChildByName("playAgain_btn")).Text = TextLoader.Instance.Texts["PlayAgainBtn"]; RollOutBtn(View.getChildByName("mainMenu_btn")).Text = TextLoader.Instance.Texts["MainMenuBtn"]; InitializeChildren(); } catch(nulo:Error) { GameContext.GameSprite.addEventListener(Event.ENTER_FRAME, IntentarSetTexts); }; } protected function InitializeChildren():void{ _digitsScore = ConfigLoader.Instance.Config["HUDNumDigitsScore"]; RollOutBtn(View.getChildByName("playAgain_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnPlayAgainButtonClick); RollOutBtn(View.getChildByName("mainMenu_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnMainMenuButtonClick); StringUtils.SetTextPreservingFormat((_container.getChildByName("score_txt") as TextField), StringUtils.IntToStr(0, _digitsScore)); _qualification = (View.getChildByName("categoria_mc") as MovieClip); } public function set Score(_arg1:int):void{ StringUtils.SetTextPreservingFormat((_container.getChildByName("score_txt") as TextField), StringUtils.IntToStr(_arg1, _digitsScore)); } } }//package ui
Section 354
//UIInstructions (ui.UIInstructions) package ui { import flash.text.*; import flash.events.*; import flash.display.*; import utils.*; import txt.*; import com.gamesandweb.ui.*; import buttons.*; import com.gamesandweb.game.*; public class UIInstructions extends UIWidget { protected var _container:MovieClip;// = null protected var _continueBtn:SimpleButton;// = null public function UIInstructions(_arg1:MovieClip, _arg2:int=-1){ _continueBtn = null; _container = null; super(_arg1, _arg2); InitializeChildren(); SetTexts(); } override public function OnFadeInOver(_arg1:Event):void{ super.OnFadeInOver(_arg1); Global.DispatchGameEvent("InstructionsFadeInOver"); } override public function OnFadeOutOver(_arg1:Event):void{ super.OnFadeOutOver(_arg1); Global.DispatchGameEvent("InstructionsFadeOutOver"); } protected function SetTexts():void{ TextField(MovieClip(_container.getChildByName("instructionsTitle_mc")).getChildByName("text_txt")).htmlText = TextLoader.Instance.Texts["InstructionsTitle"]; StringUtils.SetTextPreservingFormat(TextField((_container.getChildByName("placa") as MovieClip).getChildByName("txt_txt")), TextLoader.Instance.Texts["Instructions1"]); TextField((_container.getChildByName("placa") as MovieClip).getChildByName("txt1_txt")).htmlText = TextLoader.Instance.Texts["Instructions2"]; RollOutBtn(_container.getChildByName("continue_btn")).HtmlText = TextLoader.Instance.Texts["ContinueBtn"]; } protected function InitializeChildren():void{ _container = (_view.getChildByName("container_mc") as MovieClip); if (_container == null){ _container = View; }; RollOutBtn(_container.getChildByName("continue_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnContinueButtonClick); } public function OnContinueButtonClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnInstructionsContinueBtnClick"); } } }//package ui
Section 355
//UILevelResults (ui.UILevelResults) package ui { import flash.text.*; import flash.events.*; import game.*; import flash.display.*; import utils.*; import txt.*; import config.*; import com.gamesandweb.ui.*; import buttons.*; import com.gamesandweb.game.*; public class UILevelResults extends UIWidget { protected var _container:MovieClip;// = null protected var _numDigitsScore:int;// = 3 protected var _calification:MovieClip;// = null protected var _texts:MovieClip;// = null public function UILevelResults(_arg1:MovieClip, _arg2:int=-1){ _numDigitsScore = 3; _container = null; _calification = null; _texts = null; super(_arg1, _arg2); LoadConfig(); _container = (_view.getChildByName("container_mc") as MovieClip); if (_container == null){ _container = View; }; SetTexts(); } override public function FadeOut():void{ super.FadeOut(); } override public function OnFadeInOver(_arg1:Event):void{ super.OnFadeInOver(_arg1); Global.DispatchGameEvent("LevelResultFadeInOver"); } public function set LevelScore(_arg1:uint):void{ StringUtils.SetTextPreservingFormat((_texts.getChildByName("levelScore") as TextField), StringUtils.IntToStr(_arg1, _numDigitsScore)); } public function set Qualification(_arg1:String):void{ _calification.gotoAndStop(_arg1); } override public function OnFadeOutOver(_arg1:Event):void{ super.OnFadeOutOver(_arg1); Global.DispatchGameEvent("OnFadeOutOverLevelResult"); } public function set TotalScore(_arg1:uint):void{ StringUtils.SetTextPreservingFormat((_texts.getChildByName("totalScore") as TextField), StringUtils.IntToStr(_arg1, _numDigitsScore)); } private function IntentarSetTexts(_arg1:Event):void{ GameContext.GameSprite.removeEventListener(Event.ENTER_FRAME, IntentarSetTexts); SetTexts(); } protected function SetTexts():void{ var scoresContainer:MovieClip; try { StringUtils.SetTextPreservingFormat(TextField(MovieClip(_container.getChildByName("gameWonTitle_mc")).getChildByName("text_txt")), TextLoader.Instance.Texts["LevelResultsTitle"]); RollOutBtn(_container.getChildByName("continue_btn")).Text = TextLoader.Instance.Texts["ContinueBtn"]; scoresContainer = ((View.getChildByName("placaR") as MovieClip).getChildByName("texts_mc") as MovieClip); StringUtils.SetTextPreservingFormat(TextField(scoresContainer.getChildByName("levelScore_txt")), TextLoader.Instance.Texts["LevelScore"]); trace("Result text 5"); StringUtils.SetTextPreservingFormat(TextField(scoresContainer.getChildByName("totalScore_txt")), TextLoader.Instance.Texts["TotalScore"]); StringUtils.SetTextPreservingFormat(TextField(scoresContainer.getChildByName("qualification_txt")), TextLoader.Instance.Texts["Qualification"]); InitializeChildren(); } catch(nulo:Error) { GameContext.GameSprite.addEventListener(Event.ENTER_FRAME, IntentarSetTexts); }; } protected function InitializeChildren():void{ _texts = ((View.getChildByName("placaR") as MovieClip).getChildByName("texts_mc") as MovieClip); _calification = (_view.getChildByName("categoria_mc") as MovieClip); RollOutBtn(_container.getChildByName("continue_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnContinueBtnClick); } override public function FadeIn():void{ super.FadeIn(); } private function LoadConfig():void{ _numDigitsScore = ConfigLoader.Instance.Config["LevelCompleteDigitsScore"]; } public function Update():void{ StringUtils.SetTextPreservingFormat((_texts.getChildByName("levelScore") as TextField), StringUtils.IntToStr(GameManager.Instance.LevelScore, _numDigitsScore)); StringUtils.SetTextPreservingFormat((_texts.getChildByName("totalScore") as TextField), StringUtils.IntToStr(GameManager.Instance.TotalScore, _numDigitsScore)); _calification.gotoAndStop(GameManager.Instance.EvaluteLevelQualification()); } protected function OnContinueBtnClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("LevelResultsContinueBtnClick"); } } }//package ui
Section 356
//UIMainMenu (ui.UIMainMenu) package ui { import flash.events.*; import flash.display.*; import utils.*; import txt.*; import config.*; import com.gamesandweb.ui.*; import buttons.*; import com.gamesandweb.game.*; public class UIMainMenu extends UIWidget { protected var _container:MovieClip;// = null protected var _activeSurprise:Boolean; protected var _surprise:MovieClip;// = null public function UIMainMenu(_arg1:MovieClip, _arg2:int=-1){ _container = null; _surprise = null; super(_arg1, _arg2); InitializeChildren(); SetTexts(); } override public function OnFadeInOver(_arg1:Event):void{ super.OnFadeInOver(_arg1); Global.DispatchGameEvent("MainMenuFadeInOver"); } protected function OnRollOver(_arg1:MouseEvent):void{ (_surprise.getChildByName("over_mc") as MovieClip).visible = true; (_surprise.getChildByName("over_mc") as MovieClip).gotoAndPlay(1); if (!_activeSurprise){ (_surprise.getChildByName("down_mc") as MovieClip).visible = false; }; } protected function OnRollOut(_arg1:MouseEvent):void{ (_surprise.getChildByName("over_mc") as MovieClip).visible = false; if (!_activeSurprise){ (_surprise.getChildByName("down_mc") as MovieClip).visible = false; }; } protected function OnMouseUp(_arg1:MouseEvent):void{ (_surprise.getChildByName("over_mc") as MovieClip).visible = false; if (!_activeSurprise){ (_surprise.getChildByName("down_mc") as MovieClip).visible = false; }; } override public function OnFadeOutOver(_arg1:Event):void{ super.OnFadeOutOver(_arg1); _surprise.stop(); _activeSurprise = false; (_surprise.getChildByName("down_mc") as MovieClip).visible = false; (_surprise.getChildByName("over_mc") as MovieClip).visible = false; } protected function OnMouseDown(_arg1:MouseEvent):void{ if (!_activeSurprise){ _activeSurprise = true; (_surprise.getChildByName("down_mc") as MovieClip).visible = true; (_surprise.getChildByName("down_mc") as MovieClip).gotoAndPlay(1); }; (_surprise.getChildByName("over_mc") as MovieClip).visible = false; } protected function OnPlayButtonClick(_arg1:MouseEvent):void{ Sfx.PlaySound(Sfx.SFX_CLICK_BTN); Global.DispatchGameEvent("OnPlayBtnClick"); } protected function SetTexts():void{ RollOutBtn((_container.getChildByName("back_mc") as MovieClip).getChildByName("play_btn")).HtmlText = TextLoader.Instance.Texts["PlayBtn"]; RollOutBtn((_container.getChildByName("back_mc") as MovieClip).getChildByName("cn_btn")).HtmlText = TextLoader.Instance.Texts["MasJuegos"]; Debugger.Log(("MAIN" + (_container.getChildByName("logo") as MovieClip))); ((_view.getChildByName("back_mc") as MovieClip).getChildByName("logo") as MovieClip).gotoAndStop((ConfigLoader.Instance.Config["DefaultLang"] as String).toUpperCase()); } protected function InitializeChildren():void{ _container = (_view.getChildByName("container_mc") as MovieClip); if (_container == null){ _container = View; }; _activeSurprise = false; _surprise = ((_container.getChildByName("back_mc") as MovieClip).getChildByName("compu_mc") as MovieClip); _surprise.buttonMode = true; _surprise.enabled = true; _surprise.mouseChildren = false; _surprise.addEventListener(MouseEvent.MOUSE_DOWN, OnMouseDown); _surprise.addEventListener(MouseEvent.MOUSE_UP, OnMouseUp); _surprise.addEventListener(MouseEvent.ROLL_OVER, OnRollOver); _surprise.addEventListener(MouseEvent.ROLL_OUT, OnRollOut); (_surprise.getChildByName("down_mc") as MovieClip).visible = false; (_surprise.getChildByName("over_mc") as MovieClip).visible = false; RollOutBtn((_container.getChildByName("back_mc") as MovieClip).getChildByName("play_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnPlayButtonClick); if (((!((TextLoader.Instance.Texts["ExtensionPre"] == ""))) && (!((TextLoader.Instance.Texts["ExtensionPost"] == ""))))){ RollOutBtn((_container.getChildByName("back_mc") as MovieClip).getChildByName("cn_btn")).HitArea.addEventListener(MouseEvent.CLICK, OnCNButtonClick); } else { RollOutBtn((_container.getChildByName("back_mc") as MovieClip).getChildByName("cn_btn")).Inactive(); }; } protected function OnCNButtonClick(_arg1:MouseEvent):void{ var _local2:String; Sfx.PlaySound(Sfx.SFX_CLICK_BTN); _local2 = ((TextLoader.Instance.Texts["ExtensionPre"] + ".cartoonnetwork") + TextLoader.Instance.Texts["ExtensionPost"]); URLUtils.OpenWindow(_local2); } } }//package ui
Section 357
//UITextTransition (ui.UITextTransition) package ui { import flash.text.*; import flash.display.*; public class UITextTransition extends UITransition { public function UITextTransition(_arg1:MovieClip, _arg2:int=-1){ super(_arg1, _arg2); } public function set Text(_arg1:String):void{ var _local2:MovieClip; var _local3:TextField; _local2 = (View.getChildByName("textContainer_mc") as MovieClip); if (_local2 == null){ return; }; _local3 = (_local2.getChildByName("text_txt") as TextField); if (_local3 == null){ return; }; _local3.text = _arg1; } public function set HtmlText(_arg1:String):void{ var _local2:MovieClip; var _local3:TextField; _local2 = (View.getChildByName("textContainer_mc") as MovieClip); if (_local2 == null){ return; }; _local3 = (_local2.getChildByName("text_txt") as TextField); if (_local3 == null){ return; }; _local3.htmlText = _arg1; } } }//package ui
Section 358
//UITransition (ui.UITransition) package ui { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; import com.gamesandweb.game.*; public class UITransition extends UIWidget { public function UITransition(_arg1:MovieClip, _arg2:int=-1){ super(_arg1, _arg2); } override public function OnFadeInOver(_arg1:Event):void{ super.OnFadeInOver(_arg1); Global.DispatchGameEvent("TransitionFadeInOver"); } override public function OnFadeOutOver(_arg1:Event):void{ super.OnFadeOutOver(_arg1); Global.DispatchGameEvent("TransitionFadeOutOver"); } } }//package ui
Section 359
//UITransitionSponsor (ui.UITransitionSponsor) package ui { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; import com.gamesandweb.game.*; public class UITransitionSponsor extends UIWidget { public function UITransitionSponsor(_arg1:MovieClip, _arg2:int=-1){ super(_arg1, _arg2); } override public function OnFadeInOver(_arg1:Event):void{ super.OnFadeInOver(_arg1); Debugger.Log("TRANSISION............................"); Global.DispatchGameEvent("TransitionFadeInOver"); } override public function OnFadeOutOver(_arg1:Event):void{ super.OnFadeOutOver(_arg1); Global.DispatchGameEvent("TransitionFadeOutOver"); } override public function OnFadeOut(_arg1:Event):void{ super.OnFadeOut(_arg1); Debugger.Log("TRANSISION fade out ............................"); Global.DispatchGameEvent("TransitionFadeOut"); } } }//package ui
Section 360
//MathUtils (utils.MathUtils) package utils { public class MathUtils { public static const TWO_PI:Number = 6.28318530717959; public static const DEG_TO_RAD:Number = 0.0174532925199433; public static const RAD_TO_DEG:Number = 57.2957795130823; public static function clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg1 < _arg2){ return (_arg2); }; if (_arg1 > _arg3){ return (_arg3); }; return (_arg1); } public static function sign(_arg1:Number):int{ if (_arg1 < 0){ return (-1); }; return (1); } } }//package utils
Section 361
//MovieClipTraducible (utils.MovieClipTraducible) package utils { import flash.text.*; import flash.display.*; import config.*; import com.gamesandweb.game.*; public class MovieClipTraducible extends MovieClip { public var levelScore_txt:TextField; public var txt_txt:TextField; public var calificacion_txt:TextField; public var scoreLabel_txt:TextField; public var qualification_txt:TextField; public var score_txt:TextField; public var totalScore_txt:TextField; public var text_txt:TextField; public var levelScore:TextField; public var intentalo:TextField; public var totalScore:TextField; public var cali_txt:TextField; public var qualification:TextField; public var txt1_txt:TextField; public function MovieClipTraducible(){ Traducir(); } private function Traducir():void{ Debugger.Log(((("MOVIE CLIP TRADUCIBLE --- Traducir " + GameContext.Lang.toLowerCase()) + " Text") + ConfigLoader.Instance.Config["DefaultLang"])); this.gotoAndStop(GameContext.Lang.toLowerCase()); Debugger.Log("MOVIE CLIP TRADUCIBLE --- Traducir ..."); } } }//package utils
Section 362
//MovieClipUtils (utils.MovieClipUtils) package utils { import flash.display.*; import flash.geom.*; import fl.motion.*; import flash.filters.*; import com.gamesandweb.game.*; public class MovieClipUtils { private var _stop:Boolean;// = false private var _container:Array; private static var _instance:MovieClipUtils = null; public function MovieClipUtils(_arg1:SingletonEnforcer){ _stop = false; super(); Reset(); } public function AnimationMovieClip(_arg1:MovieClip, _arg2:Boolean=false, _arg3:Boolean=false):void{ if (_arg1 == null){ return; }; if (((_arg2) && (!(_arg3)))){ _arg1.stop(); }; if (((_arg3) && (!(_arg2)))){ _arg1.play(); }; } public function AnimationMovieClipStart():void{ var _local1:MovieClip; if (_container.length == 0){ return; }; for each (_local1 in _container) { _local1.play(); }; _stop = false; } public function GetScreenPosition(_arg1:MovieClip):Point{ return (_arg1.localToGlobal(new Point()).subtract(GameContext.GameSpriteOrigin)); } public function Reset():void{ _container = new Array(); } public function get Stop():Boolean{ return (_stop); } public function Copy(_arg1:MovieClip):MovieClip{ var _local2:Boolean; var _local3:Class; var _local4:MovieClip; var _local5:Rectangle; _local2 = false; if (_arg1.scaleX == -1){ _local2 = true; _arg1.scaleX = 1; }; _local3 = Object(_arg1).constructor; _local4 = new (_local3); _local4.transform = _arg1.transform; _local4.filters = _arg1.filters; _local4.cacheAsBitmap = _arg1.cacheAsBitmap; _local4.opaqueBackground = _arg1.opaqueBackground; if (_arg1.scale9Grid){ _local5 = _arg1.scale9Grid; _arg1.scale9Grid.x = (_local5.x / 20); _local5.y = (_local5.y / 20); _local5.width = (_local5.width / 20); _local5.height = (_local5.height / 20); _local4.scale9Grid = _local5; }; if (_local2){ _arg1.scaleX = -1; }; return (_local4); } public function RemoveMovieClip(_arg1:MovieClip):void{ var _local2:int; if (_container.length == 0){ return; }; while (_local2 < _container.length) { _container.splice(_local2, 1); _local2++; }; } public function AnimationMovieClipStop():void{ var _local1:MovieClip; if (_container.length == 0){ return; }; for each (_local1 in _container) { _local1.stop(); }; _stop = true; } public function AddMovieClip(_arg1:MovieClip):void{ _container.push(_arg1); } public static function get Instance():MovieClipUtils{ if (_instance == null){ _instance = new MovieClipUtils(new SingletonEnforcer()); }; return (_instance); } public static function ResetTint(_arg1):void{ _arg1.transform.colorTransform = new Color(); } public static function Tint(_arg1:MovieClip, _arg2:uint, _arg3:Number):void{ var _local4:Color; _local4 = new Color(); _local4.setTint(_arg2, _arg3); _arg1.transform.colorTransform = _local4; } public static function ResetGlow(_arg1:MovieClip):void{ _arg1.filters = null; } public static function Glow(_arg1:MovieClip, _arg2:uint, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean, _arg8:Boolean, _arg9:Number):void{ var _local10:BitmapFilter; var _local11:Array; _local10 = new GlowFilter(_arg2, _arg3, _arg4, _arg5, _arg6, _arg9, _arg7, _arg8); _local11 = new Array(); _local11.push(_local10); _arg1.filters = _local11; } } }//package utils class SingletonEnforcer { private function SingletonEnforcer(){ } }
Section 363
//StringUtils (utils.StringUtils) package utils { import flash.text.*; public class StringUtils { public static function Fill(_arg1:String, _arg2:int, _arg3:String="0"):String{ var _local4:int; _local4 = _arg1.length; while (_local4 < _arg2) { _arg1 = (_arg3 + _arg1); _local4++; }; return (_arg1); } public static function SetTextPreservingFormat(_arg1:TextField, _arg2:String):void{ var _local3:TextFormat; _local3 = _arg1.getTextFormat(); _arg1.text = _arg2; _arg1.setTextFormat(_local3); } public static function IntToStr(_arg1:int, _arg2:int=0):String{ var _local3:String; _local3 = _arg1.toString(); while (_local3.length < _arg2) { _local3 = ("0" + _local3); }; return (_local3); } } }//package utils
Section 364
//URLUtils (utils.URLUtils) package utils { import flash.net.*; import flash.external.*; public final class URLUtils { private static const SAFARI:String = "Safari"; private static const IE:String = "IE"; public static const SELF:String = "_self"; public static const PARENT:String = "_parent"; private static const OPERA:String = "Opera"; public static const BLANK:String = "_blank"; public static const TOP:String = "_top"; private static const FIREFOX:String = "Firefox"; public static const WINDOW_OPEN_FUNCTION:String = "window.open"; public function URLUtils():void{ } public static function GetUrlHttp():String{ return (ExternalInterface.call("window.location.href.toString")); } public static function OpenPopup(_arg1:String, _arg2:int=10, _arg3:int=10, _arg4:int=0, _arg5:int=0):void{ var _local6:String; var _local7:URLRequest; _local6 = (((((((((("javascript:window.open('" + _arg1) + "','_blank','width=") + _arg2) + ",height=") + _arg3) + ",toolbar=no,scrollbars=auto,resizable=no,menubar=no,status=no,directories=no,location=no,left=") + _arg5) + ",top=") + _arg4) + "');void(0);"); _local7 = new URLRequest(_local6); navigateToURL(_local7, "_top"); } public static function OpenWindow(_arg1:String, _arg2:String="_blank", _arg3:String=""):void{ var _local4:String; _local4 = GetBrowserName(); if ((((_local4 == "Undefined")) || (!(ExternalInterface.available)))){ navigateToURL(new URLRequest(_arg1), _arg2); return; }; if (_local4 == FIREFOX){ ExternalInterface.call(WINDOW_OPEN_FUNCTION, _arg1, _arg2, _arg3); } else { if (_local4 == IE){ ExternalInterface.call((("function setWMWindow() {window.open('" + _arg1) + "');}")); } else { if (_local4 == SAFARI){ navigateToURL(new URLRequest(_arg1), _arg2); } else { if (_local4 == OPERA){ navigateToURL(new URLRequest(_arg1), _arg2); } else { navigateToURL(new URLRequest(_arg1), _arg2); }; }; }; }; } private static function GetBrowserName():String{ var _local1:String; _local1 = ExternalInterface.call("function getBrowser(){return navigator.userAgent;}"); if (((!((_local1 == null))) && ((_local1.indexOf("Firefox") >= 0)))){ return (FIREFOX); }; if (((!((_local1 == null))) && ((_local1.indexOf("Safari") >= 0)))){ return (SAFARI); }; if (((!((_local1 == null))) && ((_local1.indexOf("MSIE") >= 0)))){ return (IE); }; if (((!((_local1 == null))) && ((_local1.indexOf("Opera") >= 0)))){ return (OPERA); }; return ("Undefined"); } } }//package utils
Section 365
//LayerFactory (view.LayerFactory) package view { import flash.utils.*; import flash.display.*; public class LayerFactory extends MovieClip { protected var _container:DisplayObjectContainer;// = null protected var _initialized:Boolean;// = false protected var _layers:Dictionary;// = null protected var _layersArray:Array;// = null public static const FOREGROUND:String = "foreground"; public static const MOJO:String = "mojo"; public static const GAME:String = "game"; public static const UI:String = "ui"; public static const BACKGROUND:String = "background"; public static const HUD:String = "hud"; public static const MAP:String = "map"; private static var _instance:LayerFactory = null; public function LayerFactory(_arg1:SingletonEnforcer){ _container = null; _layers = null; _layersArray = null; _initialized = false; super(); } public function Initialize(_arg1:DisplayObjectContainer, _arg2:Array=null):void{ var _local3:String; if (!_initialized){ _initialized = true; _container = _arg1; _layers = new Dictionary(); _layersArray = new Array(); for (_local3 in _arg2) { _layers[_arg2[_local3]] = new MovieClip(); _layersArray.push(_layers[_arg2[_local3]]); _container.addChild(_layers[_arg2[_local3]]); }; }; } public function GetLayer(_arg1:String):MovieClip{ return ((_layers[_arg1] as MovieClip)); } public static function get Instance():LayerFactory{ if (_instance == null){ _instance = new LayerFactory(new SingletonEnforcer()); }; return (_instance); } } }//package view class SingletonEnforcer { private function SingletonEnforcer(){ } }
Section 366
//_PopBtn (_PopBtn) package { import buttons.*; public dynamic class _PopBtn extends RollOutBtn { public function _PopBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 367
//_PopBtncopy (_PopBtncopy) package { import buttons.*; public dynamic class _PopBtncopy extends RollOutBtn { public function _PopBtncopy(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 368
//_PopBtnVerde (_PopBtnVerde) package { import buttons.*; public dynamic class _PopBtnVerde extends RollOutBtn { public function _PopBtnVerde(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 369
//ActionsResultAsset (ActionsResultAsset) package { import flash.display.*; public dynamic class ActionsResultAsset extends MovieClip { } }//package
Section 370
//AParticleAsset (AParticleAsset) package { import flash.display.*; public dynamic class AParticleAsset extends MovieClip { public function AParticleAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package
Section 371
//ArmchairAsset (ArmchairAsset) package { import flash.display.*; public dynamic class ArmchairAsset extends MovieClip { public var container_mc:MovieClip; } }//package
Section 372
//BackgroundMananaAsset (BackgroundMananaAsset) package { import flash.display.*; public dynamic class BackgroundMananaAsset extends MovieClip { } }//package
Section 373
//BackgroundNocheAsset (BackgroundNocheAsset) package { import flash.display.*; public dynamic class BackgroundNocheAsset extends MovieClip { } }//package
Section 374
//BackgroundTardeAsset (BackgroundTardeAsset) package { import flash.display.*; public dynamic class BackgroundTardeAsset extends MovieClip { } }//package
Section 375
//cartoon_btn (cartoon_btn) package { import buttons.*; public dynamic class cartoon_btn extends RollOutBtn { } }//package
Section 376
//ComputerAsset (ComputerAsset) package { import flash.display.*; public dynamic class ComputerAsset extends MovieClip { public var compu_mc:MovieClip; public var flecha_mc:MovieClip; public function ComputerAsset(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 377
//ConSonido (ConSonido) package { import buttons.*; public dynamic class ConSonido extends RollOutBtn { public function ConSonido(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 378
//Constants (Constants) package { public class Constants { public static const COMMA:String = ","; public static const CIEN:uint = 100; public static const MAP_X_PARTS:uint = 14; public static const MAP_Y_PARTS:uint = 27; public static const MAP_Y_OFFSET:uint = 0; public static const MAP_Y_CENTER:uint = 200; public static const BASIC_MAP_BITMAP:Array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1], [0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1]]; public static const UN_MEDIO:Number = 0.5; public static const MIL:uint = 1000; public static const TILE_DEFAULT_HEIGHT:uint = 15; public static const TILE_DEFAULT_WIDTH:uint = 45; public static const DIVIDER:String = ";"; public static const MAP_X_OFFSET:uint = 0; public static const STARTING_RANGE_X:uint = 0; public static const STARTING_RANGE_Y:uint = 0; } }//package
Section 379
//ContinueHudBtn (ContinueHudBtn) package { import buttons.*; public dynamic class ContinueHudBtn extends RollOutBtn { public function ContinueHudBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 380
//ContinueInstructionsBtn (ContinueInstructionsBtn) package { import buttons.*; public dynamic class ContinueInstructionsBtn extends RollOutBtn { public function ContinueInstructionsBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 381
//ContinueMicrophoneBtn (ContinueMicrophoneBtn) package { import buttons.*; public dynamic class ContinueMicrophoneBtn extends RollOutBtn { public function ContinueMicrophoneBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 382
//ContinueResultsBtn (ContinueResultsBtn) package { import buttons.*; public dynamic class ContinueResultsBtn extends RollOutBtn { public function ContinueResultsBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 383
//CookerAsset (CookerAsset) package { import flash.display.*; public dynamic class CookerAsset extends MovieClip { public var flecha_mc:MovieClip; public var hitArea_mc:MovieClip; public function CookerAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package
Section 384
//Debugger (Debugger) package { import flash.utils.*; public class Debugger { private static var _logCount:int = 1; private static var _debugging:Boolean = true; public static function Initialize(_arg1:Boolean):void{ _debugging = _arg1; _logCount = 0; } public static function LogStack(_arg1:Boolean=false):void{ var _local2:Error; var _local3:String; if (!_debugging){ return; }; _local2 = new Error(); _local3 = String("============ STACK ============\n").concat(_local2.getStackTrace()); if (_arg1){ _local3 = String((("@ " + getTimer()) + " ms --> ")).concat(_local3); }; _local3 = _local3.concat("\n===============================\n"); _local3 = String(++_logCount).concat(") ").concat(_local3); trace(_local3); } public static function Log(_arg1:String, _arg2:Boolean=false){ if (!_debugging){ return; }; if (_arg2){ _arg1 = String((("@ " + getTimer()) + " ms --> ")).concat(_arg1); }; _arg1 = _arg1.concat("\n"); _arg1 = String(++_logCount).concat(") ").concat(_arg1); trace(_arg1); } public static function ResetCounter():void{ _logCount = 0; } } }//package
Section 385
//DoorAsset (DoorAsset) package { import flash.display.*; public dynamic class DoorAsset extends MovieClip { public function DoorAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 386
//EmotionBallonAsset (EmotionBallonAsset) package { import flash.display.*; public dynamic class EmotionBallonAsset extends MovieClip { public var contenido_mc:MovieClip; public function EmotionBallonAsset(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package
Section 387
//ExerciseBikeAsset (ExerciseBikeAsset) package { import flash.display.*; public dynamic class ExerciseBikeAsset extends MovieClip { public var container_mc:MovieClip; public var flecha_mc:MovieClip; public var hitArea_mc:MovieClip; } }//package
Section 388
//GameLostAsset (GameLostAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class GameLostAsset extends MovieClip { public var scoreTxt_mc:ScoreText; public var categoria_mc:MovieClip; public var playAgain_btn:PlayAgainLostBtn; public var gameLostTitle_mc:MovieClip; public var placaTranslucida:MovieClip; public var placa_mc:MovieClip; public var mainMenu_btn:MainMenuLostBtn; public function GameLostAsset(){ addFrameScript(0, frame1, 1, frame2, 24, frame25, 26, frame27, 46, frame47); } function frame1(){ stop(); placa_mc.mouseEnabled = false; } function frame25(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame27(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame47(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } } }//package
Section 389
//GameWonAsset (GameWonAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class GameWonAsset extends MovieClip { public var container_mc:placaG; public var categoria_mc:MovieClip; public var playAgain_btn:PlayAgainLostBtn; public var gameWonTitle_mc:GameWonTitleTxt; public var mainMenu_btn:MainMenuLostBtn; public function GameWonAsset(){ addFrameScript(0, frame1, 1, frame2, 40, frame41, 41, frame42, 57, frame58); } function frame1(){ stop(); container_mc.mouseEnabled = false; } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame41(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame42(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame58(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } } }//package
Section 390
//GameWonTitleTxt (GameWonTitleTxt) package { import utils.*; public dynamic class GameWonTitleTxt extends MovieClipTraducible { public function GameWonTitleTxt(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 391
//HelpBtn (HelpBtn) package { import buttons.*; public dynamic class HelpBtn extends RollOutBtn { public function HelpBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 392
//HUDAsset (HUDAsset) package { import flash.display.*; public dynamic class HUDAsset extends MovieClip { public var scoreTxt_mc:MovieClip; public var KaoruBar_mc:MovieClip; public var sound_btn:SoundBtn; public var tiempo_mc:MovieClip; public var help_btn:HelpBtn; public var MiyakoBar_mc:MovieClip; public var block_mc:MovieClip; public var MomokoBar_mc:MovieClip; public var skip_btn:ContinueHudBtn; } }//package
Section 393
//InstructionsAsset (InstructionsAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class InstructionsAsset extends MovieClip { public var placa:MovieClip; public var placaTranslucida:MovieClip; public var instructionsTitle_mc:MovieClip; public var continue_btn:ContinueInstructionsBtn; public function InstructionsAsset(){ addFrameScript(0, frame1, 1, frame2, 23, frame24, 27, frame28, 31, frame32); } function frame1(){ stop(); placa.mouseEnabled = false; } function frame24(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame28(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame32(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } } }//package
Section 394
//KaoruAsset (KaoruAsset) package { import flash.display.*; public dynamic class KaoruAsset extends MovieClip { public var girl_mc:MovieClip; public var hitArea_mc:MovieClip; public function KaoruAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15); } function frame10(){ stop(); } function frame14(){ stop(); } function frame12(){ stop(); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame13(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } function frame15(){ stop(); } function frame11(){ stop(); } } }//package
Section 395
//LevelResultsAsset (LevelResultsAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class LevelResultsAsset extends MovieClip { public var categoria_mc:MovieClip; public var placaTranslucida:MovieClip; public var gameWonTitle_mc:MovieClip; public var placaR:MovieClip; public var continue_btn:ContinueResultsBtn; public function LevelResultsAsset(){ addFrameScript(0, frame1, 1, frame2, 24, frame25, 27, frame28, 45, frame46); } function frame1(){ stop(); placaR.mouseEnabled = false; } function frame25(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame28(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame46(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } } }//package
Section 396
//LitleBallonComputerAsset (LitleBallonComputerAsset) package { import flash.display.*; public dynamic class LitleBallonComputerAsset extends MovieClip { public function LitleBallonComputerAsset(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package
Section 397
//LitleBallonCookerAsset (LitleBallonCookerAsset) package { import flash.display.*; public dynamic class LitleBallonCookerAsset extends MovieClip { public var contenido_mc:MovieClip; public function LitleBallonCookerAsset(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package
Section 398
//MainApp (MainApp) package { import flash.text.*; import flash.utils.*; import flash.events.*; import game.*; import flash.display.*; import ui.*; import managers.*; import actions.*; import controller.*; import obstacles.*; import utils.*; import flash.net.*; import txt.*; import config.*; import com.gamesandweb.ui.*; import com.gamesandweb.game.events.*; import view.*; import com.gamesandweb.game.*; import flash.ui.*; public class MainApp extends MovieClip { private var _currState:int;// = 0 private var _preloader:MovieClip;// = null private var _onTransitionFadeInOver:Function;// = null private var _initialized:Boolean;// = false private var _sharedObject:SharedObject;// = null private var _muted:Boolean;// = false private var _cursor:MovieClip; private var _prevState:int;// = 0 private var _paused:Boolean;// = false private var _onTransitionFadeOutOver:Function;// = null private var _onSpacebarPressed:Function;// = null private var _currentGameOverScreen:UIWidget;// = null private static const ST_INSTRUCTIONS:int = 4; private static const ST_GAMEOVER:int = 3; private static const ST_MAIN_MENU:int = 1; public static const CONFIG_PATH:String = "config/config.xml"; private static const ST_INGAME:int = 2; private static const ST_LEVEL_RESULT:int = 5; private static const ST_LOADING:int = 0; private static var _instance:MainApp; public function MainApp(){ _preloader = null; _onTransitionFadeInOver = null; _onTransitionFadeOutOver = null; _onSpacebarPressed = null; _initialized = false; _paused = false; _currentGameOverScreen = null; _prevState = ST_LOADING; _currState = ST_LOADING; _muted = false; _sharedObject = null; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); _initialized = false; _instance = this; _currState = ST_LOADING; _prevState = ST_LOADING; GameContext.BasePath = (((loaderInfo.parameters.basePath as String) == null)) ? "" : (loaderInfo.parameters.basePath as String); Global.Initialize(this); Global.AddEventListener(GameEvent.MILESTONE_REACH, OnGameEvent); addEventListener(Event.REMOVED_FROM_STAGE, OnRemoved); StartPreloader(); } public function Update(_arg1:TimerEvent){ if (_cursor.visible){ _cursor.x = GameContext.GameSprite.mouseX; _cursor.y = GameContext.GameSprite.mouseY; Mouse.hide(); }; } public function TogglePause(_arg1:Boolean):void{ if (((((_arg1) && (_paused))) || (((!(_arg1)) && (!(_paused)))))){ return; }; if (((_arg1) && (!(_paused)))){ HUDManager.Instance.Hide(); } else { if (((!(_arg1)) && (_paused))){ if (State == ST_INSTRUCTIONS){ HUDManager.Instance.Show(); }; }; }; GameManager.Instance.TogglePause(_arg1); _paused = _arg1; } private function OnMouseLeaveStage(_arg1:Event):void{ GameContext.GlobalStage.addEventListener(MouseEvent.MOUSE_MOVE, OnMouseReturnToStage, false, 0, true); _cursor.visible = false; } private function OnConfigLoadComplete(_arg1:Event):void{ var _local2:String; var _local3:String; ConfigLoader.Instance.removeEventListener(ConfigLoader.LOAD_COMPLETE, OnConfigLoadComplete); GameContext.Lang = (((loaderInfo.parameters.lang as String) == null)) ? ConfigLoader.Instance.Config["DefaultLang"] : (loaderInfo.parameters.lang as String); Debugger.Initialize((ConfigLoader.Instance.Config["DebugMode"] == "true")); _local2 = (GameContext.BasePath + ConfigLoader.Instance.Config["TextsPath"]); _local3 = ConfigLoader.Instance.Config["LangLabel"]; _local2 = _local2.replace(_local3, GameContext.Lang); TextLoader.Instance.addEventListener(TextLoader.LOAD_COMPLETE, OnTxtLoadComplete); TextLoader.Instance.LoadTexts(_local2); } protected function NewLevel():void{ GameManager.Instance.NextLevel(); UIFactory.Instance.LevelResults.FadeOut(); } protected function ShowTutor():void{ UIFactory.Instance.MainMenu.FadeOut(); if (_sharedObject.data.playTutor == undefined){ TogglePause(true); State = ST_INSTRUCTIONS; UIFactory.Instance.Instructions.ShowFadedIn(); } else { State = ST_INGAME; GameManager.Instance.NextLevel(); }; } private function OnReturnToStage(_arg1:MouseEvent):void{ GameContext.GlobalStage.removeEventListener(MouseEvent.MOUSE_MOVE, OnReturnToStage); TogglePause(false); } private function StartPreloader():void{ _preloader = new PreloaderAsset(); addChild(_preloader); ConfigLoader.Instance.addEventListener(ConfigLoader.LOAD_COMPLETE, OnConfigLoadComplete); ConfigLoader.Instance.LoadConfig((GameContext.BasePath + CONFIG_PATH)); } public function LoadStaticsVariables():void{ } private function LoadProgress(_arg1:Event):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:TextField; var _local6:String; var _local7:String; _local2 = this.root.loaderInfo.bytesLoaded; _local3 = this.root.loaderInfo.bytesTotal; _local4 = Math.floor(((_local2 / _local3) * (100 - ConfigLoader.Instance.Config["SndWeghtPct"]))); _local5 = ((_preloader.getChildByName("progress_mc") as MovieClip).getChildByName("progress_txt") as TextField); _local5.text = (_local4.toString() + " %"); (_preloader.getChildByName("progressBar_mc") as MovieClip).gotoAndStop(_local4); if (_local2 >= _local3){ removeEventListener(Event.ENTER_FRAME, LoadProgress); _local6 = (GameContext.BasePath + ConfigLoader.Instance.Config["SoundsPath"]); _local7 = ConfigLoader.Instance.Config["LangLabel"]; _local6 = _local6.replace(_local7, GameContext.Lang); Sfx.InitExternal(_local6); addEventListener(Event.ENTER_FRAME, OnSoundsLoadProgress); }; } function frame3(){ stop(); } private function OnRemoved(_arg1:Event):void{ removeEventListener(Event.REMOVED_FROM_STAGE, OnRemoved); removeEventListener(Event.ENTER_FRAME, LoadProgress); removeEventListener(Event.ENTER_FRAME, OnSoundsLoadProgress); ConfigLoader.Instance.removeEventListener(ConfigLoader.LOAD_COMPLETE, OnConfigLoadComplete); TextLoader.Instance.removeEventListener(TextLoader.LOAD_COMPLETE, OnTxtLoadComplete); Sfx.Destroy(); GameManager.Instance.Finalize(); InputManager.Finalize(); } public function get State():int{ return (_currState); } public function get Cursor():MovieClip{ return (_cursor); } public function InitPlay():void{ if (GameManager.Instance.CurrentLevel == 0){ TutorInstructions.Instance.ShowWelcome(); }; GameManager.Instance.Start(); Time.Instance.Start(); InputManager.Instance.AuthorizeToPassLevel(); HUDManager.Instance.ActiveButtons(); } function frame2(){ stop(); } public function OnGameEvent(_arg1:GameEvent):void{ var event = _arg1; switch (event.name){ case "MainMenuFadeInOver": _onSpacebarPressed = function (){ Global.DispatchGameEvent("OnPlayBtnClick"); }; break; case "OnPlayBtnClick": Sfx.StopSound(Sfx.MUSIC_MAIN_SCREEN); PlayTransition(ShowTutor, function (){ if (_sharedObject.data.playTutor == undefined){ Sfx.PlayMusic(Sfx.MUSIC_INGAME); } else { Start(); }; }); _onSpacebarPressed = null; break; case "InstructionsFadeInOver": _onSpacebarPressed = function (){ Global.DispatchGameEvent("OnInstructionsContinueBtnClick"); }; break; case "OnInstructionsContinueBtnClick": UIFactory.Instance.Instructions.FadeOut(); _onSpacebarPressed = null; break; case "InstructionsFadeOutOver": TogglePause(false); if (_prevState == ST_MAIN_MENU){ Start(); } else { HUDManager.Instance.ActiveButtons(); }; State = ST_INGAME; break; case "OnSkipBtnClick": HUDManager.Instance.Hide(); ShowLevelResult(); break; case GameManager.LEVEL_FINISHED: ShowLevelResult(); break; case "LevelResultFadeInOver": TogglePause(true); _onSpacebarPressed = function (){ Global.DispatchGameEvent("LevelResultsContinueBtnClick"); }; break; case "LevelResultsContinueBtnClick": _onSpacebarPressed = null; UIFactory.Instance.LevelResults.FadeOut(); Sfx.StopSound(Sfx.MUSIC_INGAME); TogglePause(false); Sfx.StopAllSounds(); PlayTransition(GameManager.Instance.NextLevel, function (){ if (GameManager.Instance.CurrentLevel <= GameManager.Instance.TotalLevels){ Start(); State = ST_INGAME; }; }); break; case "OnFadeOutOverLevelResult": break; case "OnGameLost": if (GameManager.Instance.CurrentLevel == 0){ ShowLevelResult(); } else { ShowGameLostScreen(); }; break; case "OnGameWon": ShowGameWonScreen(); break; case "OnMainMenuBtnClick": State = ST_MAIN_MENU; Sfx.StopSound(Sfx.MUSIC_INGAME); Sfx.StopSound(Sfx.MUSIC_GAME_LOST); Sfx.StopSound(Sfx.MUSIC_GAME_WON); Sfx.StopAllSounds(); _currentGameOverScreen.FadeOut(); PlayTransition(function (){ TogglePause(false); Sfx.StopAllSounds(); UIFactory.Instance.MainMenu.FadeIn(); GameManager.Instance.Reset(); }, function (){ Sfx.PlayMusic(Sfx.MUSIC_MAIN_SCREEN); }); break; case "GameLostFadeInOver": TogglePause(true); _onSpacebarPressed = function (){ Global.DispatchGameEvent("OnLostPlayAgainBtnClick"); }; break; case "OnLostPlayAgainBtnClick": _onSpacebarPressed = null; State = ST_INGAME; Sfx.StopSound(Sfx.MUSIC_GAME_LOST); _currentGameOverScreen.FadeOut(); Sfx.StopSound(Sfx.MUSIC_INGAME); TogglePause(false); Sfx.StopAllSounds(); PlayTransition(PlayAgain, Start); break; case "GameWonFadeInOver": TogglePause(true); _onSpacebarPressed = function (){ Global.DispatchGameEvent("OnWonPlayAgainBtnClick"); }; break; case "OnWonPlayAgainBtnClick": _onSpacebarPressed = null; State = ST_INGAME; _currentGameOverScreen.FadeOut(); Sfx.StopSound(Sfx.MUSIC_GAME_WON); PlayTransition(function (){ TogglePause(false); Sfx.StopAllSounds(); PlayAgain(); GameManager.Instance.Reset(); GameManager.Instance.NextLevel(); }, Start); break; case "TransitionFadeInOver": if (_onTransitionFadeInOver != null){ _onTransitionFadeInOver(); }; _onTransitionFadeInOver = null; break; case "TransitionFadeOutOver": if (_onTransitionFadeOutOver != null){ _onTransitionFadeOutOver(); }; break; case "OnHelpBtnClick": State = ST_INSTRUCTIONS; TogglePause(true); Sfx.PlaySound(Sfx.SFX_POP_UP); UIFactory.Instance.Instructions.FadeIn(); HUDManager.Instance.InactiveButtons(); break; case "OnSoundBtnClick": ToggleMute(!(_muted)); break; }; } protected function ShowLevelResult():void{ GameManager.Instance.Finalize(); if (GameManager.Instance.CurrentLevel == 0){ _sharedObject.data.playTutor = "True"; _sharedObject.flush(); Sfx.StopSound(Sfx.MUSIC_INGAME); Sfx.StopAllSounds(); PlayTransition(function (){ GameManager.Instance.NextLevel(); TutorInstructions.Instance.Reset(); }, Start); return; }; UIFactory.Instance.LevelResults.Update(); Sfx.PlaySound(Sfx.SFX_POP_UP); UIFactory.Instance.LevelResults.FadeIn(); HUDManager.Instance.Hide(); State = ST_LEVEL_RESULT; GirlsManager.Instance.Pause(); } private function PlayAgain():void{ GameManager.Instance.ResetLevel(); } public function CrearCursor():void{ var _local1:Timer; _cursor = new PunteroAsset(); MovieClip(LayerFactory.Instance.GetLayer("Cursor")).addChild(_cursor); _cursor.name = "Cursor"; _cursor.mouseEnabled = false; _cursor.mouseChildren = false; LayerFactory.Instance.GetLayer("Cursor").mouseEnabled = false; LayerFactory.Instance.GetLayer("Cursor").mouseChildren = false; Mouse.hide(); GameContext.GlobalStage.addEventListener(Event.MOUSE_LEAVE, OnMouseLeaveStage, false, 0, true); _local1 = new Timer(10); _local1.addEventListener(TimerEvent.TIMER, Update); _local1.start(); } private function OnKeyDown(_arg1:KeyboardEvent):void{ var _local2:UIWidget; if (((!((_onSpacebarPressed == null))) && ((_arg1.keyCode == 32)))){ _onSpacebarPressed(); }; if (GameContext.DebugMode){ _local2 = null; switch (_arg1.keyCode){ case 49: Global.DispatchGameEvent(GameManager.LEVEL_FINISHED); break; case 50: Global.DispatchGameEvent("OnGameLost"); break; case 51: _local2 = UIFactory.Instance.Instructions; break; case 52: _local2 = UIFactory.Instance.MainMenu; break; case 53: _local2 = UIFactory.Instance.Transition; break; case 54: _local2 = UIFactory.Instance.TextTransition; break; }; if (_local2 != null){ _local2.FadeIn(); }; }; } private function OnMouseReturnToStage(_arg1:MouseEvent):void{ GameContext.GlobalStage.removeEventListener(MouseEvent.MOUSE_MOVE, OnReturnToStage); _cursor.visible = true; } public function Initialize():void{ var logo:MovieClip; if (!_initialized){ _sharedObject = SharedObject.getLocal("miFlash"); _initialized = true; GameContext.Initialize((this as Sprite), ConfigLoader.Instance.Config["Width"], ConfigLoader.Instance.Config["Height"], (ConfigLoader.Instance.Config["DebugMode"] == "true")); if (TextLoader.Instance.Texts["ContextMenuItems"] != undefined){ CustomizeContextMenu(); }; LayerFactory.Instance.Initialize(DisplayObjectContainer(this), [LayerFactory.BACKGROUND, LayerFactory.GAME, LayerFactory.MOJO, LayerFactory.FOREGROUND, LayerFactory.MAP, LayerFactory.HUD, LayerFactory.UI, "Cursor"]); CrearCursor(); Sfx.AddSounds(); this.gotoAndStop("game"); HUDManager.Instance.Initialize(new HUDAsset()); HUDManager.Instance.Hide(); LayerFactory.Instance.GetLayer(LayerFactory.HUD).addChild(HUDManager.Instance.View); InputManager.Initialize(GameContext.GlobalStage); UIFactory.Instance.Initialize(LayerFactory.Instance.GetLayer(LayerFactory.UI)); logo = ((UIFactory.Instance.MainMenu.View.getChildByName("back_mc") as MovieClip).getChildByName("logo") as MovieClip); logo.gotoAndStop(ConfigLoader.Instance.Config["DefaultLang"]); if (ConfigLoader.Instance.Config["TransitionAfterPreloader"] == "true"){ if (TextLoader.Instance.Texts["Sponsor"] == "true"){ PlayTransition(function (){ removeChild(_preloader); UIFactory.Instance.MainMenu.FadeIn(); GameManager.Instance.Initialize(); }, function (){ Sfx.PlayMusic(Sfx.MUSIC_MAIN_SCREEN); }, UIFactory.Instance.TransitionSponsor); } else { PlayTransition(function (){ removeChild(_preloader); UIFactory.Instance.MainMenu.FadeIn(); GameManager.Instance.Initialize(); }, function (){ Sfx.PlayMusic(Sfx.MUSIC_MAIN_SCREEN); }); }; } else { UIFactory.Instance.MainMenu.FadeIn(); Sfx.PlayMusic(Sfx.MUSIC_MAIN_SCREEN); removeChild(_preloader); }; State = ST_MAIN_MENU; if ((ConfigLoader.Instance.Config["PauseOnFocusLost"] == "true")){ GameContext.GlobalStage.addEventListener(Event.MOUSE_LEAVE, OnLeaveStage, false, 0, true); }; GameContext.GlobalStage.addEventListener(KeyboardEvent.KEY_DOWN, OnKeyDown); _onSpacebarPressed = function (){ Global.DispatchGameEvent("OnPlayBtnClick"); }; TogglePause(false); }; } public function Start():void{ HUDManager.Instance.InactiveButtons(); HUDManager.Instance.Show(); Sfx.PlayMusic(Sfx.MUSIC_INGAME); if (GameManager.Instance.CurrentLevel == 0){ UIFactory.Instance.TextTransition.Text = TextLoader.Instance.Texts["Tutor"]; } else { UIFactory.Instance.TextTransition.Text = ((TextLoader.Instance.Texts["Level"] + " ") + String(GameManager.Instance.CurrentLevel)); }; PlayTransition(null, InitPlay, UIFactory.Instance.TextTransition); } protected function ShowGameWonScreen():void{ State = ST_GAMEOVER; Sfx.PlayMusic(Sfx.MUSIC_GAME_WON); GameManager.Instance.Finalize(); HUDManager.Instance.Hide(); _currentGameOverScreen = UIFactory.Instance.GameWonScreen; (_currentGameOverScreen as UIGameWonScreen).Score = GameManager.Instance.TotalScore; (_currentGameOverScreen as UIGameWonScreen).Qualification = GameManager.Instance.EvaluateGameQualification(); (_currentGameOverScreen as UIGameWonScreen).FadeIn(); } public function ToggleMute(_arg1:Boolean):void{ _muted = _arg1; Sfx.ToggleMute(_arg1); HUDManager.Instance.ToggleMute(_arg1); } public function PlayTransition(_arg1:Function=null, _arg2:Function=null, _arg3:UIWidget=null):void{ _onTransitionFadeInOver = _arg1; _onTransitionFadeOutOver = _arg2; if (_arg3 == null){ _arg3 = UIFactory.Instance.Transition; Sfx.PlaySound(Sfx.SFX_TRANSITION); } else { Sfx.PlaySound(Sfx.SFX_LEVEL_INDICATOR); }; _arg3.Show(); _arg3.FadeIn(); } protected function ShowGameLostScreen():void{ GameManager.Instance.Finalize(); Time.Instance.Stop(); State = ST_GAMEOVER; HUDManager.Instance.Hide(); _currentGameOverScreen = UIFactory.Instance.GameLostScreen; (_currentGameOverScreen as UIGameLostScreen).Score = GameManager.Instance.TotalScore; GameManager.Instance.EvaluteLevelQualification(); (_currentGameOverScreen as UIGameLostScreen).Qualification = GameManager.Instance.EvaluateGameQualification(); Sfx.PlayMusic(Sfx.MUSIC_GAME_LOST); Sfx.PlaySound(Sfx.SFX_POP_UP); (_currentGameOverScreen as UIGameLostScreen).FadeIn(); } private function OnTxtLoadComplete(_arg1:Event):void{ TextLoader.Instance.removeEventListener(TextLoader.LOAD_COMPLETE, OnTxtLoadComplete); StringUtils.SetTextPreservingFormat(((_preloader.getChildByName("progress_mc") as MovieClip).getChildByName("txt_txt") as TextField), TextLoader.Instance.Texts["Loading"]); addEventListener(Event.ENTER_FRAME, LoadProgress); } private function CustomizeContextMenu():void{ var _local1:ContextMenu; var _local2:Array; var _local3:ContextMenuItem; var _local4:int; _local1 = new ContextMenu(); _local1.hideBuiltInItems(); _local2 = String(TextLoader.Instance.Texts["ContextMenuItems"]).split(","); if (_local2 == null){ return; }; _local3 = null; _local4 = _local2.length; while (--_local4 >= 0) { _local3 = new ContextMenuItem(_local2[_local4], true); _local1.customItems.unshift(_local3); }; this.contextMenu = _local1; } function frame1(){ stop(); } private function OnLeaveStage(_arg1:Event):void{ GameContext.GlobalStage.addEventListener(MouseEvent.MOUSE_MOVE, OnReturnToStage, false, 0, true); TogglePause(true); } public function set State(_arg1:int):void{ if (_arg1 == _currState){ return; }; _prevState = _currState; _currState = _arg1; } private function OnSoundsLoadProgress(_arg1:Event):void{ var _local2:int; var _local3:TextField; _local2 = ((100 - ConfigLoader.Instance.Config["SndWeghtPct"]) + Math.floor(((Sfx.GetLoadedPercent() * ConfigLoader.Instance.Config["SndWeghtPct"]) / 100))); _local3 = ((_preloader.getChildByName("progress_mc") as MovieClip).getChildByName("progress_txt") as TextField); _local3.text = (String(_local2) + " %"); (_preloader.getChildByName("progressBar_mc") as MovieClip).gotoAndStop(_local2); if ((((Sfx.GetLoadedPercent() == 100)) && (Sfx.IsLoading()))){ _local3.text = "100 %"; (_preloader.getChildByName("progressBar_mc") as MovieClip).gotoAndStop(100); removeEventListener(Event.ENTER_FRAME, OnSoundsLoadProgress); Initialize(); }; } public static function get Instance():MainApp{ return (_instance); } } }//package
Section 399
//MainMenuAsset (MainMenuAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class MainMenuAsset extends MovieClip { public var back_mc:MovieClip; public function MainMenuAsset(){ addFrameScript(0, frame1, 1, frame2, 15, frame16, 16, frame17, 17, frame18); } function frame18(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame16(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame1(){ stop(); back_mc.stop(); } function frame17(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); back_mc.gotoAndPlay(1); play(); } } }//package
Section 400
//MainMenuLostBtn (MainMenuLostBtn) package { import buttons.*; public dynamic class MainMenuLostBtn extends RollOutBtn { public function MainMenuLostBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 401
//MicrophoneScreenAsset (MicrophoneScreenAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class MicrophoneScreenAsset extends MovieClip { public var microphoneTitle_mc:MovieClip; public var continue_btn:ContinueMicrophoneBtn; public function MicrophoneScreenAsset(){ addFrameScript(0, frame1, 1, frame2, 6, frame7, 11, frame12, 16, frame17); } function frame12(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame7(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame1(){ stop(); } function frame17(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } } }//package
Section 402
//MiyakoAsset (MiyakoAsset) package { import flash.display.*; public dynamic class MiyakoAsset extends MovieClip { public var girl_mc:MovieClip; public var hitArea_mc:MovieClip; public function MiyakoAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15); } function frame10(){ stop(); } function frame14(){ stop(); } function frame12(){ stop(); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame13(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } function frame15(){ stop(); } function frame11(){ stop(); } } }//package
Section 403
//MojoAsset (MojoAsset) package { import flash.display.*; public dynamic class MojoAsset extends MovieClip { public var mojo_mc:MovieClip; public function MojoAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } } }//package
Section 404
//MomokoAsset (MomokoAsset) package { import flash.display.*; public dynamic class MomokoAsset extends MovieClip { public var girl_mc:MovieClip; public var hitArea_mc:MovieClip; public function MomokoAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15); } function frame10(){ stop(); } function frame14(){ stop(); } function frame12(){ stop(); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame13(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } function frame15(){ stop(); } function frame11(){ stop(); } } }//package
Section 405
//PeachAsset (PeachAsset) package { import flash.display.*; public dynamic class PeachAsset extends MovieClip { public var peach_mc:MovieClip; public function PeachAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame2(){ stop(); } } }//package
Section 406
//placaG (placaG) package { import utils.*; public dynamic class placaG extends MovieClipTraducible { public function placaG(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 407
//PlayAgainLostBtn (PlayAgainLostBtn) package { import buttons.*; public dynamic class PlayAgainLostBtn extends RollOutBtn { public function PlayAgainLostBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 408
//PlayMainMenuBtn (PlayMainMenuBtn) package { import buttons.*; public dynamic class PlayMainMenuBtn extends RollOutBtn { public function PlayMainMenuBtn(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 409
//PopUpComputerAsset (PopUpComputerAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class PopUpComputerAsset extends MovieClip { public var horno:MovieClip; public var pop_Btn:_PopBtncopy; public var pl_celeste:MovieClip; public var timer_mc:MovieClip; public function PopUpComputerAsset(){ addFrameScript(0, frame1, 1, frame2, 9, frame10, 10, frame11, 13, frame14); } function frame14(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame1(){ stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame11(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame10(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } } }//package
Section 410
//PopUpCookerAsset (PopUpCookerAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class PopUpCookerAsset extends MovieClip { public var pop_Btn:_PopBtn; public var light_mc:MovieClip; public var verde_mc:MovieClip; public var timer_mc:TimerControlAsset; public var elements_mc:MovieClip; public var warn_mc:MovieClip; public function PopUpCookerAsset(){ addFrameScript(0, frame1, 1, frame2, 8, frame9, 9, frame10, 12, frame13); } function frame10(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame1(){ stop(); warn_mc.gotoAndStop(1); light_mc.gotoAndStop(1); warn_mc.mouseEnabled = false; warn_mc.mouseChildren = false; } function frame13(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame9(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); warn_mc.gotoAndStop(1); light_mc.gotoAndStop(1); warn_mc.mouseEnabled = false; play(); } } }//package
Section 411
//PopupExerciseBikeAsset (PopupExerciseBikeAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class PopupExerciseBikeAsset extends MovieClip { public var uinion_mc:MovieClip; public var sensor_mc:MovieClip; public var rosa:MovieClip; public var pedal_mc:MovieClip; public var pl_celeste:MovieClip; public var timer_mc:TimerControlAsset; public function PopupExerciseBikeAsset(){ addFrameScript(0, frame1, 1, frame2, 9, frame10, 10, frame11, 13, frame14); } function frame14(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame10(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame1(){ stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame11(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } } }//package
Section 412
//PreloaderAsset (PreloaderAsset) package { import flash.display.*; public dynamic class PreloaderAsset extends MovieClip { public var progressBar_mc:MovieClip; public var progress_mc:MovieClip; } }//package
Section 413
//ProfesorAsset (ProfesorAsset) package { import flash.display.*; public dynamic class ProfesorAsset extends MovieClip { public var girl:MovieClip; public var text_mc:MovieClip; public function ProfesorAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame2(){ stop(); } } }//package
Section 414
//PunteroAsset (PunteroAsset) package { import flash.display.*; public dynamic class PunteroAsset extends MovieClip { } }//package
Section 415
//RadioAsset (RadioAsset) package { import flash.display.*; public dynamic class RadioAsset extends MovieClip { public var flecha_mc:MovieClip; public var hitArea_mc:MovieClip; public var radio:MovieClip; } }//package
Section 416
//RadioPopUpAsset (RadioPopUpAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class RadioPopUpAsset extends MovieClip { public var prevHitArea_mc:MovieClip; public var musica:MovieClip; public var pop_Btn:_PopBtn; public var nextHitArea_mc:MovieClip; public var plVerde:MovieClip; public var timer_mc:TimerControlAsset; public function RadioPopUpAsset(){ addFrameScript(0, frame1, 1, frame2, 9, frame10, 10, frame11, 13, frame14); } function frame10(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame14(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame1(){ stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame11(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } } }//package
Section 417
//RemoteControlAsset (RemoteControlAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class RemoteControlAsset extends MovieClip { public var pop_Btn:_PopBtnVerde; public var verde_mc:MovieClip; public var tv:MovieClip; public var timer_mc:TimerControlAsset; public function RemoteControlAsset(){ addFrameScript(0, frame1, 1, frame2, 8, frame9, 9, frame10, 12, frame13); } function frame10(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame1(){ stop(); } function frame13(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame9(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } } }//package
Section 418
//resultados1_txt (resultados1_txt) package { import utils.*; public dynamic class resultados1_txt extends MovieClipTraducible { public function resultados1_txt(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 419
//ScoreText (ScoreText) package { import utils.*; public dynamic class ScoreText extends MovieClipTraducible { public function ScoreText(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 420
//Sfx (Sfx) package { import flash.utils.*; import flash.events.*; import com.reintroducing.sound.*; import flash.system.*; import flash.net.*; import com.bourre.load.*; import config.*; import com.bourre.error.*; public class Sfx { public static const SFX_PEDAL:String = "Pedal"; public static const MUSIC_KAORU:String = "MusicKaoru"; public static const SFX_SHOUT_MOMOKO:String = "ShoutMomoko"; public static const MUSIC_INGAME:String = "MusicInGame"; public static const SFX_MOJO_FLASH:String = "MojoFlash"; public static const SFX_BAD_OPERATION:String = "BadOperation"; public static const SFX_MOJO_LAUGHT:String = "MojoLaught"; public static const SFX_MOJO_BREAK:String = "MojoBreak"; public static const SFX_OPEN_DOOR:String = "OpenDoor"; public static const SFX_LITTLE_BALLON:String = "LittleBallonAppear"; public static const SFX_BTN_TELEPHONE:String = "ButtonTelephone"; public static const SFX_BARK:String = "PeachBark"; public static const SFX_OTHERS_ROLLOVER:String = "RollOver"; public static const SFX_BTN_COMPUTER:String = "ButtonComputer"; public static const SFX_GOOD_OPERATION:String = "GoodOperation"; public static const MUSIC_MOJO:String = "MusicMojo"; public static const SFX_WALK_MIYAKO:String = "WalkMiyako"; public static const SFX_TRANSITION:String = "Transition"; public static const SFX_ANNOYED:String = "Annoyed"; public static const SFX_BTN_COOKER:String = "ButtonCookerPopUp"; public static const MUSIC_MAIN_SCREEN:String = "MusicMainScreen"; public static const SFX_TIME_UP:String = "TimeUpSound"; public static const SOUNDS_ARRAY:Array = [SFX_OTHERS_ROLLOVER, SFX_GOOD_OPERATION, SFX_BAD_OPERATION, SFX_MOJO_APPEAR, SFX_PEDAL, SFX_BTN_COOKER, SFX_BTN_RADIO, SFX_BTN_TV, SFX_BTN_COMPUTER, SFX_TURN_ON_RADIO, SFX_STARS, SFX_LITTLE_BALLON, SFX_CLICK_BTN, SFX_BARK, SFX_MOJO_FLASH, SFX_MOJO_BREAK, SFX_WALK_MIYAKO, SFX_WALK_MOMOKO, SFX_WALK_KAORU, SFX_OPEN_DOOR, SFX_CLOSE_DOOR, SFX_BTN_TELEPHONE, SFX_TELEPHONE_RING, SFX_TURN_ON_TV, SFX_POP_UP, SFX_TRANSITION, SFX_EATING, SFX_ANNOYED, SFX_TIME_UP, SFX_LEVEL_INDICATOR, SFX_SHOUT_MIYAKO, SFX_SHOUT_MOMOKO, SFX_SHOUT_KAORU, SFX_MOJO_LAUGHT, FX_ROLLOVER]; public static const SFX_BTN_TV:String = "ButtonTV"; public static const MUSIC_MIYAKO:String = "MusicMiyako"; public static const SFX_POP_UP:String = "PopUp"; public static const SFX_WALK_MOMOKO:String = "WalkMomoko"; public static const SFX_CLICK_BTN:String = "ClickButton"; public static const SFX_MOJO_APPEAR:String = "MojoAppear"; public static const MUSIC_GAME_LOST:String = "MusicGameLost"; public static const MUSIC_MOMOKO:String = "MusicMomoko"; public static const MUSIC_GAME_WON:String = "MusicGameWon"; public static const FX_ROLLOVER:String = "RollOver"; private static const MUSICS_ARRAY:Array = [MUSIC_MAIN_SCREEN, MUSIC_INGAME, MUSIC_GAME_WON, MUSIC_GAME_LOST, MUSIC_KAORU, MUSIC_MIYAKO, MUSIC_MOMOKO, MUSIC_MOJO]; public static const SFX_TURN_ON_RADIO:String = "TurnOnRadio"; public static const SFX_EATING:String = "Eating"; public static const SFX_TURN_ON_TV:String = "TurnOnTV"; public static const SFX_BTN_RADIO:String = "ButtonRadio"; public static const SFX_TELEPHONE_RING:String = "TelephoneRing"; public static const SFX_CLOSE_DOOR:String = "CloseDoor"; public static const SFX_SHOUT_KAORU:String = "ShoutKaoru"; public static const SFX_WALK_KAORU:String = "WalkKaoru"; public static const SFX_SHOUT_MIYAKO:String = "ShoutMiyako"; public static const SFX_STARS:String = "Stars"; public static const SFX_LEVEL_INDICATOR:String = "LevelIndicator"; private static var _loader:GraphicLoader = null; private static var _volumes:Dictionary = null; private static var _muted:Boolean = false; private static var _nextMusic:String = ""; private static var _currentMusicPlaying:String = ""; private static var _masterVolume:Number = 1; public static function VolumeIDXML(_arg1:String):Number{ return (Number(ConfigLoader.Instance.Config[("Volume" + _arg1)])); } public static function StopSound(_arg1:String){ SoundManager.getInstance().stopSound(_arg1); if (_arg1 == _currentMusicPlaying){ _currentMusicPlaying = null; }; } public static function InitLocal():void{ AddSounds(); } public static function AddSounds():void{ var _local1:Number; var _local2:int; var _local3:int; var _local4:String; var _local5:String; _volumes = new Dictionary(); _local2 = 0; _local3 = SOUNDS_ARRAY.length; _local2 = 0; while (_local2 < _local3) { _volumes[SOUNDS_ARRAY[_local2]] = 1; _local1 = Number(ConfigLoader.Instance.Config[("Volume" + SOUNDS_ARRAY[_local2])]); if (!isNaN(_local1)){ _volumes[SOUNDS_ARRAY[_local2]] = _local1; }; _local2++; }; for each (_local4 in SOUNDS_ARRAY) { SoundManager.getInstance().addLibrarySound(_local4, _local4, _volumes[_local4]); }; _local3 = MUSICS_ARRAY.length; _local2 = 0; while (_local2 < _local3) { _volumes[MUSICS_ARRAY[_local2]] = 1; _local1 = Number(ConfigLoader.Instance.Config[("Volume" + MUSICS_ARRAY[_local2])]); if (!isNaN(_local1)){ _volumes[MUSICS_ARRAY[_local2]] = _local1; }; _local2++; }; for each (_local5 in MUSICS_ARRAY) { SoundManager.getInstance().addLibrarySound(_local5, _local5, _volumes[_local5]); }; } public static function InitExternal(_arg1:String):void{ var _local2:URLRequest; _local2 = new URLRequest(_arg1); _loader = new GraphicLoader(); _loader.addEventListener(GraphicLoaderEvent.onLoadInitEVENT, CallBack); _loader.load(_local2); } public static function PlaySound(_arg1:String, _arg2:Boolean=true, _arg3:Number=-1, _arg4:Number=0, _arg5:int=0):void{ if (((_arg2) || (!(IsPlaying(_arg1))))){ if (_arg3 == -1){ _arg3 = _volumes[_arg1]; }; SoundManager.getInstance().playSound(_arg1, (_arg3 * Volume), 0, _arg5); }; } public static function PlayMusic(_arg1:String, _arg2:Boolean=false):void{ var _local3:String; var _local4:Number; var _local5:Number; if (_arg1 != _currentMusicPlaying){ if (!_arg2){ PlaySoundLoop(_arg1); _currentMusicPlaying = _arg1; for each (_local3 in MUSICS_ARRAY) { if (_local3 != _arg1){ StopSound(_local3); }; }; } else { if (_currentMusicPlaying == ""){ PlaySoundLoop(_arg1, false); FadeSound(_arg1, _volumes[_arg1], 3, 0); } else { _local4 = (_volumes[_currentMusicPlaying] * Constants.UN_MEDIO); _local5 = _volumes[_currentMusicPlaying]; _nextMusic = _arg1; FadeSound(_currentMusicPlaying, _local4, 1, _local5, InitOtherMusic); }; }; }; } public static function get Volume():Number{ return (_masterVolume); } public static function StopAllSounds():void{ var _local1:String; for each (_local1 in SOUNDS_ARRAY) { StopSound(_local1); }; } private static function InitOtherMusic():void{ var _local1:Number; var _local2:String; _local1 = (_volumes[_nextMusic] * Constants.UN_MEDIO); PlaySoundLoop(_nextMusic); FadeSound(_currentMusicPlaying, _volumes[_nextMusic], 3, _local1); for each (_local2 in MUSICS_ARRAY) { if (_local2 != _nextMusic){ StopSound(_local2); }; }; _currentMusicPlaying = _nextMusic; _nextMusic = ""; } public static function get Muted():Boolean{ return (_muted); } public static function TimeFadeXML(_arg1:String):Number{ var _local2:Number; _local2 = Number(ConfigLoader.Instance.Config[(("Time" + _arg1) + "Fade")]); return ((isNaN(_local2)) ? 0 : _local2); } public static function Resume():void{ } public static function VolumeFadeUpXML(_arg1:String):Number{ var _local2:Number; _local2 = Number(ConfigLoader.Instance.Config[(("Volume" + _arg1) + "FadeUp")]); return ((isNaN(_local2)) ? VolumeIDXML(_arg1) : _local2); } public static function PlaySoundLoop(_arg1:String, _arg2:Boolean=true, _arg3:Number=-1, _arg4:Number=0):void{ if (((_arg2) || (!(IsPlaying(_arg1))))){ if (_arg3 == -1){ _arg3 = _volumes[_arg1]; }; SoundManager.getInstance().playSound(_arg1, (_arg3 * Volume), 0, int.MAX_VALUE); }; } public static function VolumeFadeDownXML(_arg1:String):Number{ var _local2:Number; _local2 = Number(ConfigLoader.Instance.Config[(("Volume" + _arg1) + "FadeDown")]); return ((isNaN(_local2)) ? 0 : _local2); } public static function get Volumes():Dictionary{ return (_volumes); } public static function set Volume(_arg1:Number):void{ _masterVolume = _arg1; } private static function CallBack(_arg1:Event):void{ var applicationDomain:ApplicationDomain; var e = _arg1; try { applicationDomain = _loader.getApplicationDomain(); if ((!(applicationDomain) is ApplicationDomain)){ applicationDomain = ApplicationDomain.currentDomain; }; _loader.removeEventListener(GraphicLoaderEvent.onLoadInitEVENT, CallBack); SoundManager.getInstance().MyApplicationDomain = applicationDomain; } catch(e:IllegalStateException) { Debugger.Log(e.message); }; _loader.removeEventListener(GraphicLoaderEvent.onLoadInitEVENT, CallBack); } public static function SetGainOverCurrent(_arg1:String, _arg2:Number):void{ SoundManager.getInstance().setSoundVolume(_arg1, (_arg2 * Volume)); } public static function IsLoading():Boolean{ return (((!((_loader == null))) && (!((_loader.getContent() == null))))); } public static function IsPlaying(_arg1:String):Boolean{ return (SoundManager.getInstance().IsPlayed(_arg1)); } public static function ToggleMute(_arg1:Boolean):void{ _muted = _arg1; Volume = (_muted) ? 0 : ConfigLoader.Instance.Config["MasterVolume"]; if (_muted){ SoundManager.getInstance().muteAllSounds(); } else { SoundManager.getInstance().unmuteAllSounds(); }; } public static function FadeSound(_arg1:String, _arg2:Number=0, _arg3:Number=1, _arg4:Number=-1, _arg5:Function=null):void{ if (_arg4 != -1){ SoundManager.getInstance().setSoundVolume(_arg1, _arg4); }; SoundManager.getInstance().fadeSound(_arg1, _arg2, _arg3, _arg5); } public static function Pause():void{ SoundManager.getInstance().pauseAllSounds(); } public static function Destroy():void{ StopAllSounds(); SoundManager.getInstance().stopAllSounds(); SoundManager.getInstance().removeAllSounds(); } public static function GetLoadedPercent():Number{ var _local1:Number; return (_loader.getPerCent()); } } }//package
Section 421
//SinSonido (SinSonido) package { import buttons.*; public dynamic class SinSonido extends RollOutBtn { public function SinSonido(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 422
//SoundBtn (SoundBtn) package { import flash.display.*; public dynamic class SoundBtn extends MovieClip { public var conSonido:ConSonido; public var sinSonido:SinSonido; } }//package
Section 423
//StoolAsset (StoolAsset) package { import flash.display.*; public dynamic class StoolAsset extends MovieClip { public var container_mc:MovieClip; } }//package
Section 424
//TableAsset (TableAsset) package { import flash.display.*; public dynamic class TableAsset extends MovieClip { } }//package
Section 425
//TelephoneAsset (TelephoneAsset) package { import flash.display.*; public dynamic class TelephoneAsset extends MovieClip { public var phone_mc:MovieClip; public var flecha_mc:MovieClip; public function TelephoneAsset(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 426
//TelephonePopUpAsset (TelephonePopUpAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class TelephonePopUpAsset extends MovieClip { public var tel:MovieClip; public var container_mc:MovieClip; public var pop_Btn:_PopBtn; public var timer_mc:TimerControlAsset; public function TelephonePopUpAsset(){ addFrameScript(0, frame1, 1, frame2, 9, frame10, 10, frame11, 13, frame14); } function frame10(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); stop(); } function frame14(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame1(){ stop(); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame11(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } } }//package
Section 427
//TextTransitionAsset (TextTransitionAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class TextTransitionAsset extends MovieClip { public var textContainer_mc:MovieClip; public function TextTransitionAsset(){ addFrameScript(0, frame1, 1, frame2, 9, frame10, 19, frame20, 27, frame28); } function frame10(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); } function frame1(){ stop(); } function frame20(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } function frame28(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } } }//package
Section 428
//Time (Time) package { import flash.utils.*; import flash.events.*; import ui.*; public class Time extends EventDispatcher { private var _prevTimeFrozen:uint; private var _running:Boolean; private var _timer:Timer; private var _stop:Boolean; private var _timeFrozen:uint; private var _limit:int; private var _counter:Number; private var _frozen:Boolean; public static const TIMER_EVENT:String = "onTimeTick"; public static const END_FROZEN:String = "EndFrozen"; public static const TIME_COMPLETE:String = "onEndEvent"; public static const TIMER_FREEZE:String = "onTimeFreezeTick"; public static const START_EVENT:String = "onStartEvent"; private static var _instance:Time = null; public function Time(_arg1:Singleton):void{ _prevTimeFrozen = 0; _counter = 0; _running = false; _limit = 0; _stop = true; _frozen = false; _timer = new Timer(1000); HUDManager.Instance.UpdateTime = _counter; _arg1 = null; } public function get RemainingTime():int{ return (_counter); } public function Start():void{ dispatchEvent(new Event(START_EVENT)); HUDManager.Instance.UpdateTime = _counter; _timer.addEventListener(TimerEvent.TIMER, DecrementCounter); _timer.start(); _running = true; _stop = false; } private function DecrementCounter(_arg1:TimerEvent):void{ if (_counter > 0){ if (!_frozen){ _counter--; HUDManager.Instance.UpdateTime = _counter; dispatchEvent(new Event(TIMER_EVENT)); if (_counter == 10){ Sfx.PlaySoundLoop(Sfx.SFX_TIME_UP, false); }; if (_counter == 0){ _timer.stop(); _running = false; _frozen = false; _stop = true; _timer.removeEventListener(TimerEvent.TIMER, DecrementCounter); dispatchEvent(new Event(TIME_COMPLETE)); }; }; }; } public function get Limit():int{ return (_limit); } public function Resume():void{ if (((!(_stop)) && (!(_running)))){ _running = true; _timer.start(); if (_counter <= 10){ Sfx.PlaySoundLoop(Sfx.SFX_TIME_UP, false); }; }; } public function Pause():Boolean{ if (((!(_stop)) && (_running))){ _running = false; _timer.stop(); if (_counter <= 10){ Sfx.StopSound(Sfx.SFX_TIME_UP); }; }; return (_running); } public function AddSeconds(_arg1:uint):void{ if (_counter > 0){ _counter = (_counter + _arg1); HUDManager.Instance.UpdateTime = _counter; }; } public function get Frozen():Boolean{ return (_frozen); } public function get Running():Boolean{ return (_running); } public function GetStop():Boolean{ return (_stop); } public function Stop():void{ _timer.stop(); _running = false; _timer.removeEventListener(TimerEvent.TIMER, DecrementCounter); _stop = true; _prevTimeFrozen = 0; if (_counter <= 10){ Sfx.StopSound(Sfx.SFX_TIME_UP); }; } public function Reset():void{ if (_counter <= 10){ Sfx.StopSound(Sfx.SFX_TIME_UP); }; _counter = _limit; _running = false; _stop = true; HUDManager.Instance.UpdateTime = _counter; } public function Init(_arg1:int):void{ _counter = _arg1; _running = false; _limit = _arg1; _stop = true; HUDManager.Instance.UpdateTime = _counter; } public static function get Instance():Time{ if (_instance == null){ _instance = new Time(new Singleton()); }; return (_instance); } } }//package class Singleton { private function Singleton(){ } }
Section 429
//TimerControlAsset (TimerControlAsset) package { import flash.display.*; public dynamic class TimerControlAsset extends MovieClip { public function TimerControlAsset(){ addFrameScript(99, frame100); } function frame100(){ stop(); } } }//package
Section 430
//TransicionSponsorAsset (TransicionSponsorAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class TransicionSponsorAsset extends MovieClip { public var sponsor_mc:MovieClip; public function TransicionSponsorAsset(){ addFrameScript(0, frame1, 1, frame2, 19, frame20, 71, frame72, 75, frame76); } function frame72(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame76(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame1(){ stop(); } function frame20(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } } }//package
Section 431
//TransitionAsset (TransitionAsset) package { import flash.events.*; import flash.display.*; import com.gamesandweb.ui.*; public dynamic class TransitionAsset extends MovieClip { public function TransitionAsset(){ addFrameScript(0, frame1, 1, frame2, 19, frame20, 21, frame22, 25, frame26); } function frame1(){ stop(); } function frame22(){ dispatchEvent(new Event(UIWidget.FADE_OUT)); } function frame26(){ stop(); dispatchEvent(new Event(UIWidget.FADE_OUT_OVER)); } function frame20(){ dispatchEvent(new Event(UIWidget.FADE_IN_OVER)); } function frame2(){ dispatchEvent(new Event(UIWidget.FADE_IN)); play(); } } }//package
Section 432
//TVAsset (TVAsset) package { import flash.display.*; public dynamic class TVAsset extends MovieClip { public var flecha_mc:MovieClip; public var hitArea_mc:MovieClip; public var tv_mc:MovieClip; } }//package

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:34
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:6
Symbol 6 MovieClipUses:5Used by:34
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:34
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:11
Symbol 11 MovieClipUses:10Used by:18
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:18
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:18 736 755 782 783 789
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:18 1547
Symbol 18 MovieClipUses:11 13 15 17Used by:34
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:26
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:26
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClipUses:20 23 25Used by:34
Symbol 27 FontUsed by:28 91 1265 1318 1373 1384 1385 1478 1489 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1608 1654 1655 1659 1660 1666 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1719
Symbol 28 EditableTextUses:27Used by:31
Symbol 29 FontUsed by:30 91 1600 1659 1719
Symbol 30 EditableTextUses:29Used by:31
Symbol 31 MovieClip {PPGZ_fla.ProgressText_825}Uses:28 30Used by:34
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClip {PreloaderAsset}Uses:2 6 8 18 26 31 33
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClipUses:36Used by:41 42 43 44
Symbol 38 FontUsed by:39 550 1241 1249
Symbol 39 EditableTextUses:38Used by:40
Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}Uses:39Used by:41 42 43 44 47 357 358 359 360 361 676
Symbol 41 MovieClip {PPGZ_fla._OutV_95}Uses:37 40Used by:47
Symbol 42 MovieClip {PPGZ_fla._DownV_98}Uses:37 40Used by:47
Symbol 43 MovieClip {PPGZ_fla._OverV_99}Uses:37 40Used by:47
Symbol 44 MovieClip {PPGZ_fla._UpV_100}Uses:37 40Used by:47
Symbol 45 GraphicUsed by:46 556 1244 1246 1247 1324 1379 1484 1495 1617 1632 1650 1672
Symbol 46 MovieClipUses:45Used by:47 361
Symbol 47 MovieClip {_PopBtnVerde}Uses:41 42 43 44 40 46Used by:281
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:85
Symbol 50 GraphicUsed by:85 517
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:53
Symbol 53 MovieClipUses:52Used by:85
Symbol 54 GraphicUsed by:85 517
Symbol 55 GraphicUsed by:85 517
Symbol 56 GraphicUsed by:85
Symbol 57 GraphicUsed by:85 517
Symbol 58 GraphicUsed by:85 517
Symbol 59 GraphicUsed by:85 517
Symbol 60 GraphicUsed by:85 517
Symbol 61 GraphicUsed by:85 517
Symbol 62 GraphicUsed by:85 517
Symbol 63 GraphicUsed by:85 517
Symbol 64 GraphicUsed by:85 517
Symbol 65 GraphicUsed by:85 517
Symbol 66 GraphicUsed by:85 517
Symbol 67 GraphicUsed by:85 517
Symbol 68 GraphicUsed by:85 517
Symbol 69 GraphicUsed by:85 517
Symbol 70 GraphicUsed by:85 517
Symbol 71 GraphicUsed by:85 517
Symbol 72 GraphicUsed by:85 517
Symbol 73 GraphicUsed by:85 517
Symbol 74 GraphicUsed by:85 517
Symbol 75 GraphicUsed by:85 517
Symbol 76 GraphicUsed by:85 517
Symbol 77 GraphicUsed by:85 517
Symbol 78 GraphicUsed by:85
Symbol 79 GraphicUsed by:85
Symbol 80 GraphicUsed by:85 517
Symbol 81 GraphicUsed by:85 517
Symbol 82 GraphicUsed by:85 517
Symbol 83 GraphicUsed by:85 517
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClip {TimerControlAsset}Uses:49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84Used by:164 281 362 434 677
Symbol 86 BitmapUsed by:87 1395
Symbol 87 GraphicUses:86Used by:88
Symbol 88 MovieClip {PunteroAsset}Uses:87Used by:1722
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:92
Symbol 91 EditableTextUses:27 29Used by:92
Symbol 92 MovieClip {PPGZ_fla.tutor_txt_4}Uses:90 91Used by:93 94 99 104
Symbol 93 MovieClip {PPGZ_fla.tutor9_txt_3}Uses:92Used by:109
Symbol 94 MovieClip {PPGZ_fla.tutor2_txt_5}Uses:92Used by:109
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClipUses:96Used by:98
Symbol 98 MovieClip {PPGZ_fla.MiyakoTutor_6}Uses:97Used by:109
Symbol 99 MovieClip {PPGZ_fla.tutor4_txt_8}Uses:92Used by:109
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:102
Symbol 102 MovieClipUses:101Used by:103
Symbol 103 MovieClip {PPGZ_fla.MomokoTutor_9}Uses:102Used by:109
Symbol 104 MovieClip {PPGZ_fla.tutor6_txt_11}Uses:92Used by:109
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:107
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClip {PPGZ_fla.KaoruTutor_12}Uses:107Used by:109
Symbol 109 MovieClip {ProfesorAsset}Uses:93 94 98 99 103 104 108Used by:1722
Symbol 110 BitmapUsed by:111
Symbol 111 GraphicUses:110Used by:112
Symbol 112 MovieClip {PPGZ_fla.Particula1MC_16}Uses:111Used by:113
Symbol 113 MovieClip {AParticleAsset}Uses:112Used by:1722
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:126 127 128
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:126 127
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:126 127
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:126 127
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:126 127
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:126 127
Symbol 126 MovieClip {PPGZ_fla.Puerta_Abre_02_19}Uses:117 115 119 121 123 125Used by:128
Symbol 127 MovieClip {PPGZ_fla.Puerta_Cierra_02_25}Uses:117 125 123 121 119 115Used by:128
Symbol 128 MovieClip {DoorAsset}Uses:115 126 127Used by:1722
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:132
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:130 131Used by:175 912 1050 1187 1722
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:137
Symbol 135 FontUsed by:136 299 365 520 615
Symbol 136 EditableTextUses:135 258Used by:137
Symbol 137 MovieClip {PPGZ_fla.rosa_29}Uses:134 136Used by:164
Symbol 138 BitmapUsed by:140
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:138 139Used by:153
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:152
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:149
Symbol 145 GraphicUsed by:148
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:148
Symbol 148 MovieClipUses:145 147Used by:149
Symbol 149 MovieClipUses:144 148Used by:152
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:152
Symbol 152 MovieClip {PPGZ_fla.barra_mc_31}Uses:142 149 151Used by:153
Symbol 153 MovieClip {PPGZ_fla.celeste_30}Uses:140 152Used by:164
Symbol 154 MovieClipUsed by:164
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:161
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:160
Symbol 160 MovieClipUses:159Used by:161
Symbol 161 MovieClip {PPGZ_fla.ppedal_39}Uses:157 160Used by:164
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162Used by:164
Symbol 164 MovieClip {PopupExerciseBikeAsset}Uses:137 153 154 85 161 163Used by:1722
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:165Used by:175 912 1050 1187
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:169
Symbol 169 MovieClipUses:168Used by:170
Symbol 170 MovieClipUses:169Used by:171
Symbol 171 MovieClipUses:170Used by:175 255 296 459 506 576
Symbol 172 MovieClipUsed by:175 219
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClipUses:173Used by:175 255 459 576 960 1092 1229
Symbol 175 MovieClip {ExerciseBikeAsset}Uses:132 166 171 172 174Used by:1722
Symbol 176 BitmapUsed by:177
Symbol 177 GraphicUses:176Used by:178
Symbol 178 MovieClipUses:177Used by:179
Symbol 179 MovieClipUses:178Used by:195
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:182
Symbol 182 MovieClipUses:181Used by:195
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:185
Symbol 185 MovieClipUses:184Used by:195
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:188
Symbol 188 MovieClipUses:187Used by:195
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:191
Symbol 191 MovieClipUses:190Used by:195
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:194
Symbol 194 MovieClipUses:193Used by:195 215
Symbol 195 MovieClip {PPGZ_fla.incorrecto_mc_51}Uses:179 182 185 188 191 194Used by:216
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:198Used by:215
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:202
Symbol 202 MovieClipUses:201Used by:215
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:205
Symbol 205 MovieClipUses:204Used by:215
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:208
Symbol 208 MovieClipUses:207Used by:215
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:211
Symbol 211 MovieClipUses:210Used by:215
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:214
Symbol 214 MovieClipUses:213Used by:215
Symbol 215 MovieClip {PPGZ_fla.correcto_mc_59}Uses:199 202 205 208 211 194 214Used by:216
Symbol 216 MovieClip {ActionsResultAsset}Uses:195 215Used by:1722
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:217Used by:219
Symbol 219 MovieClip {StoolAsset}Uses:218 172Used by:1722
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:222
Symbol 222 MovieClip {TableAsset}Uses:221Used by:1722
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:254
Symbol 225 GraphicUsed by:254
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:226Used by:254
Symbol 228 GraphicUsed by:254
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:253
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:253
Symbol 233 BitmapUsed by:235 243
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:233 234Used by:240
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:240 244 247 252
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:240 244 247 252
Symbol 240 MovieClipUses:235 237 239Used by:253
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:244
Symbol 243 GraphicUses:233Used by:244 247 252
Symbol 244 MovieClipUses:242 243 237 239Used by:253
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:247
Symbol 247 MovieClipUses:246 243 237 239Used by:253
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:253
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:252
Symbol 252 MovieClipUses:251 243 237 239Used by:253
Symbol 253 MovieClipUses:230 232 240 244 247 249 252Used by:254
Symbol 254 MovieClip {PPGZ_fla.Tev_70}Uses:224 225 227 228 253Used by:255
Symbol 255 MovieClip {TVAsset}Uses:254 171 174Used by:1722
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:260
Symbol 258 FontUsed by:136 259 299 306 313 318 323 328 333 338 343 348 365
Symbol 259 EditableTextUses:258Used by:260
Symbol 260 MovieClip {PPGZ_fla.rosa_mc_81}Uses:257 259Used by:281
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:280
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:265 266
Symbol 265 MovieClipUses:264Used by:269
Symbol 266 MovieClipUses:264Used by:267 268
Symbol 267 MovieClip {PPGZ_fla.offdown_85}Uses:266Used by:269
Symbol 268 MovieClip {PPGZ_fla.offiluminado_87}Uses:266Used by:269
Symbol 269 MovieClip {PPGZ_fla.On_Off_83}Uses:265 267 268Used by:280
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:272
Symbol 272 MovieClipUses:271Used by:273 274
Symbol 273 MovieClip {PPGZ_fla.down_d_90}Uses:272Used by:274
Symbol 274 MovieClip {PPGZ_fla.next_88}Uses:272 273Used by:280
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:277
Symbol 277 MovieClipUses:276Used by:278 279
Symbol 278 MovieClip {PPGZ_fla.up_d_93}Uses:277Used by:279
Symbol 279 MovieClip {PPGZ_fla.prev_91}Uses:277 278Used by:280
Symbol 280 MovieClip {PPGZ_fla.verde_mc_82}Uses:262 269 274 279Used by:281
Symbol 281 MovieClip {RemoteControlAsset}Uses:260 280 47 85Used by:1722
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClipUses:282Used by:288
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:288
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:286Used by:288
Symbol 288 MovieClip {ArmchairAsset}Uses:283 285 287Used by:1722
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289Used by:293 294 295
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:293 294
Symbol 293 MovieClipUses:290 292Used by:296
Symbol 294 MovieClipUses:290 292Used by:296
Symbol 295 MovieClipUses:290Used by:296
Symbol 296 MovieClip {TelephoneAsset}Uses:293 171 294 295Used by:1722
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:300
Symbol 299 EditableTextUses:135 258Used by:300
Symbol 300 MovieClip {PPGZ_fla.bajotapa_mc_113}Uses:298 299Used by:362
Symbol 301 BitmapUsed by:302
Symbol 302 GraphicUses:301Used by:303
Symbol 303 MovieClipUses:302Used by:362
Symbol 304 BitmapUsed by:305
Symbol 305 GraphicUses:304Used by:307 314 319 324 329 334 339 344 349
Symbol 306 EditableTextUses:258Used by:307
Symbol 307 MovieClip {PPGZ_fla.pl1_117}Uses:305 306Used by:310 311 312
Symbol 308 GraphicUsed by:309 527
Symbol 309 MovieClipUses:308Used by:312 317 322 327 332 337 342 347 352 1662
Symbol 310 MovieClip {PPGZ_fla.pl1LUZ_119}Uses:307Used by:312
Symbol 311 MovieClip {PPGZ_fla.pl1d_120}Uses:307Used by:312
Symbol 312 MovieClip {PPGZ_fla.btn1compu_116}Uses:307 309 310 311Used by:353
Symbol 313 EditableTextUses:258Used by:314
Symbol 314 MovieClip {PPGZ_fla.pl2_122}Uses:305 313Used by:315 316 317
Symbol 315 MovieClip {PPGZ_fla.pl1LUZ2_123}Uses:314Used by:317
Symbol 316 MovieClip {PPGZ_fla.pl2d_124}Uses:314Used by:317
Symbol 317 MovieClip {PPGZ_fla.btn2_121}Uses:314 309 315 316Used by:353
Symbol 318 EditableTextUses:258Used by:319
Symbol 319 MovieClip {PPGZ_fla.pl3_126}Uses:305 318Used by:320 321 322
Symbol 320 MovieClip {PPGZ_fla.pl1LUZ3_127}Uses:319Used by:322
Symbol 321 MovieClip {PPGZ_fla.pl3d_128}Uses:319Used by:322
Symbol 322 MovieClip {PPGZ_fla.btn3_125}Uses:319 309 320 321Used by:353
Symbol 323 EditableTextUses:258Used by:324
Symbol 324 MovieClip {PPGZ_fla.pl4_130}Uses:305 323Used by:325 326 327
Symbol 325 MovieClip {PPGZ_fla.pl1LUZ4_131}Uses:324Used by:327
Symbol 326 MovieClip {PPGZ_fla.pl4d_132}Uses:324Used by:327
Symbol 327 MovieClip {PPGZ_fla.btn4_129}Uses:324 309 325 326Used by:353
Symbol 328 EditableTextUses:258Used by:329
Symbol 329 MovieClip {PPGZ_fla.pl5_134}Uses:305 328Used by:330 331 332
Symbol 330 MovieClip {PPGZ_fla.pl1LUZ5_135}Uses:329Used by:332
Symbol 331 MovieClip {PPGZ_fla.pl5d_136}Uses:329Used by:332
Symbol 332 MovieClip {PPGZ_fla.btn5_133}Uses:329 309 330 331Used by:353
Symbol 333 EditableTextUses:258Used by:334
Symbol 334 MovieClip {PPGZ_fla.pl6_138}Uses:305 333Used by:335 336 337
Symbol 335 MovieClip {PPGZ_fla.pl1LUZ6_139}Uses:334Used by:337
Symbol 336 MovieClip {PPGZ_fla.pl6d_140}Uses:334Used by:337
Symbol 337 MovieClip {PPGZ_fla.btn6_137}Uses:334 309 335 336Used by:353
Symbol 338 EditableTextUses:258Used by:339
Symbol 339 MovieClip {PPGZ_fla.pl7_142}Uses:305 338Used by:340 341 342
Symbol 340 MovieClip {PPGZ_fla.pl1LUZ7_143}Uses:339Used by:342
Symbol 341 MovieClip {PPGZ_fla.pl7d_144}Uses:339Used by:342
Symbol 342 MovieClip {PPGZ_fla.btn7_141}Uses:339 309 340 341Used by:353
Symbol 343 EditableTextUses:258Used by:344
Symbol 344 MovieClip {PPGZ_fla.pl8_146}Uses:305 343Used by:345 346 347
Symbol 345 MovieClip {PPGZ_fla.pl1LUZ8_147}Uses:344Used by:347
Symbol 346 MovieClip {PPGZ_fla.pl8d_148}Uses:344Used by:347
Symbol 347 MovieClip {PPGZ_fla.btn8_145}Uses:344 309 345 346Used by:353
Symbol 348 EditableTextUses:258Used by:349
Symbol 349 MovieClip {PPGZ_fla.pl9_150}Uses:305 348Used by:350 351 352
Symbol 350 MovieClip {PPGZ_fla.pl1LUZ9_151}Uses:349Used by:352
Symbol 351 MovieClip {PPGZ_fla.pl9d_152}Uses:349Used by:352
Symbol 352 MovieClip {PPGZ_fla.btn9_149}Uses:349 309 350 351Used by:353
Symbol 353 MovieClip {PPGZ_fla.contenedor_115}Uses:312 317 322 327 332 337 342 347 352Used by:362
Symbol 354 BitmapUsed by:355
Symbol 355 GraphicUses:354Used by:356
Symbol 356 MovieClipUses:355Used by:357 358 359 360
Symbol 357 MovieClip {PPGZ_fla._Out_154}Uses:356 40Used by:361
Symbol 358 MovieClip {PPGZ_fla._Down_156}Uses:356 40Used by:361
Symbol 359 MovieClip {PPGZ_fla._Over_157}Uses:356 40Used by:361
Symbol 360 MovieClip {PPGZ_fla._Up_158}Uses:356 40Used by:361
Symbol 361 MovieClip {_PopBtn}Uses:357 358 359 360 40 46Used by:362 434 677
Symbol 362 MovieClip {TelephonePopUpAsset}Uses:300 303 353 361 85Used by:1722
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:363Used by:366
Symbol 365 EditableTextUses:135 258Used by:366
Symbol 366 MovieClip {PPGZ_fla.plCeleste_160}Uses:364 365Used by:434
Symbol 367 BitmapUsed by:368
Symbol 368 GraphicUses:367Used by:425
Symbol 369 BitmapUsed by:370
Symbol 370 GraphicUses:369Used by:398
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:373
Symbol 373 MovieClipUses:372Used by:398
Symbol 374 GraphicUsed by:375
Symbol 375 MovieClipUses:374Used by:398
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClipUses:376Used by:380 384
Symbol 378 BitmapUsed by:379
Symbol 379 GraphicUses:378Used by:380
Symbol 380 MovieClipUses:377 379Used by:398
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:383
Symbol 383 MovieClipUses:382Used by:384
Symbol 384 MovieClipUses:377 383Used by:398
Symbol 385 FontUsed by:386 389 392 395
Symbol 386 EditableTextUses:385Used by:398
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:398
Symbol 389 EditableTextUses:385Used by:398
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:390Used by:398
Symbol 392 EditableTextUses:385Used by:398
Symbol 393 GraphicUsed by:394
Symbol 394 MovieClipUses:393Used by:398
Symbol 395 EditableTextUses:385Used by:398
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:398
Symbol 398 MovieClip {PPGZ_fla.pantallaM_162}Uses:370 373 375 380 384 386 388 389 391 392 394 395 397Used by:425
Symbol 399 BitmapUsed by:400 600
Symbol 400 GraphicUses:399Used by:404
Symbol 401 GraphicUsed by:402 543
Symbol 402 MovieClipUses:401Used by:403
Symbol 403 MovieClipUses:402Used by:404
Symbol 404 MovieClipUses:400 403Used by:425
Symbol 405 BitmapUsed by:406
Symbol 406 GraphicUses:405Used by:407
Symbol 407 MovieClipUses:406Used by:408
Symbol 408 MovieClipUses:407Used by:425
Symbol 409 BitmapUsed by:410
Symbol 410 GraphicUses:409Used by:411
Symbol 411 MovieClipUses:410Used by:412
Symbol 412 MovieClipUses:411Used by:425
Symbol 413 BitmapUsed by:414
Symbol 414 GraphicUses:413Used by:425
Symbol 415 BitmapUsed by:416
Symbol 416 GraphicUses:415Used by:417
Symbol 417 MovieClipUses:416Used by:418 419
Symbol 418 MovieClip {PPGZ_fla.prevlight_182}Uses:417Used by:419
Symbol 419 MovieClip {PPGZ_fla.prevBtn_180}Uses:417 418Used by:425
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:422
Symbol 422 MovieClipUses:421Used by:423 424
Symbol 423 MovieClip {PPGZ_fla.nextlight_185}Uses:422Used by:424
Symbol 424 MovieClip {PPGZ_fla.nextBtn_183}Uses:422 423Used by:425
Symbol 425 MovieClip {PPGZ_fla.plverde_161}Uses:368 398 404 408 412 414 419 424Used by:434
Symbol 426 BitmapUsed by:427
Symbol 427 GraphicUses:426Used by:428
Symbol 428 MovieClipUses:427Used by:434
Symbol 429 BitmapUsed by:430
Symbol 430 GraphicUses:429Used by:431
Symbol 431 MovieClipUses:430Used by:434
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:434
Symbol 434 MovieClip {RadioPopUpAsset}Uses:366 425 428 431 85 361 433Used by:1722
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:435Used by:441 452 456 457
Symbol 437 GraphicUsed by:438
Symbol 438 MovieClipUses:437Used by:441 452 456 457
Symbol 439 GraphicUsed by:440
Symbol 440 MovieClipUses:439Used by:441 452
Symbol 441 MovieClipUses:436 438 440Used by:453
Symbol 442 BitmapUsed by:443
Symbol 443 GraphicUses:442Used by:444
Symbol 444 MovieClipUses:443Used by:451
Symbol 445 BitmapUsed by:446
Symbol 446 GraphicUses:445Used by:447
Symbol 447 MovieClipUses:446Used by:451
Symbol 448 BitmapUsed by:449
Symbol 449 GraphicUses:448Used by:450
Symbol 450 MovieClipUses:449Used by:451
Symbol 451 MovieClipUses:444 447 450Used by:452
Symbol 452 MovieClip {PPGZ_fla.Equipo_01_encendido_195}Uses:436 438 440 451Used by:453
Symbol 453 MovieClip {PPGZ_fla.Equipo_01_mc_190}Uses:441 452Used by:459
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:456 457
Symbol 456 MovieClipUses:436 438 455Used by:458
Symbol 457 MovieClipUses:436 438 455Used by:458
Symbol 458 MovieClip {PPGZ_fla.Equipo_02_mc_200}Uses:456 457Used by:459
Symbol 459 MovieClip {RadioAsset}Uses:453 171 174 458Used by:1722
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:460Used by:506
Symbol 462 GraphicUsed by:505
Symbol 463 GraphicUsed by:471
Symbol 464 GraphicUsed by:471
Symbol 465 GraphicUsed by:471
Symbol 466 GraphicUsed by:471
Symbol 467 GraphicUsed by:471
Symbol 468 GraphicUsed by:471
Symbol 469 GraphicUsed by:471
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:463 464 465 466 467 468 469 470Used by:505
Symbol 472 GraphicUsed by:479
Symbol 473 GraphicUsed by:479
Symbol 474 GraphicUsed by:479
Symbol 475 GraphicUsed by:479
Symbol 476 GraphicUsed by:479
Symbol 477 GraphicUsed by:479
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClipUses:472 473 474 475 476 477 478Used by:505
Symbol 480 GraphicUsed by:483
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:483
Symbol 483 MovieClipUses:480 482Used by:505
Symbol 484 GraphicUsed by:504
Symbol 485 GraphicUsed by:504
Symbol 486 GraphicUsed by:504
Symbol 487 GraphicUsed by:504
Symbol 488 GraphicUsed by:504
Symbol 489 GraphicUsed by:504
Symbol 490 GraphicUsed by:504
Symbol 491 GraphicUsed by:504
Symbol 492 GraphicUsed by:504
Symbol 493 GraphicUsed by:504
Symbol 494 GraphicUsed by:504
Symbol 495 GraphicUsed by:504
Symbol 496 GraphicUsed by:504
Symbol 497 GraphicUsed by:504
Symbol 498 GraphicUsed by:504
Symbol 499 GraphicUsed by:504
Symbol 500 GraphicUsed by:504
Symbol 501 GraphicUsed by:504
Symbol 502 GraphicUsed by:504
Symbol 503 GraphicUsed by:504
Symbol 504 MovieClipUses:484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503Used by:505
Symbol 505 MovieClip {PPGZ_fla.Compiutah_Encendida_206}Uses:462 471 479 483 504Used by:506
Symbol 506 MovieClip {ComputerAsset}Uses:461 171 505Used by:1722
Symbol 507 MovieClip {LitleBallonComputerAsset}Used by:1722
Symbol 508 BitmapUsed by:509
Symbol 509 GraphicUses:508Used by:517
Symbol 510 BitmapUsed by:511
Symbol 511 GraphicUses:510Used by:512
Symbol 512 MovieClipUses:511Used by:517
Symbol 513 GraphicUsed by:517
Symbol 514 GraphicUsed by:517
Symbol 515 GraphicUsed by:517
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClip {PPGZ_fla.barraT_mc_214}Uses:509 50 512 54 55 513 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 514 515 80 81 82 83 516Used by:558
Symbol 518 BitmapUsed by:519
Symbol 519 GraphicUses:518Used by:521
Symbol 520 EditableTextUses:135Used by:521
Symbol 521 MovieClip {PPGZ_fla.violeta_216}Uses:519 520Used by:558
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:546
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:526
Symbol 526 MovieClipUses:525Used by:528 529 530
Symbol 527 MovieClipUses:308Used by:530 537
Symbol 528 MovieClip {PPGZ_fla.pl2a_222}Uses:526Used by:530
Symbol 529 MovieClip {PPGZ_fla.pl1LUZ_223}Uses:526Used by:530
Symbol 530 MovieClip {PPGZ_fla.btn1compu_219}Uses:526 527 528 529Used by:540
Symbol 531 BitmapUsed by:532
Symbol 532 GraphicUses:531Used by:533 534
Symbol 533 MovieClipUses:532Used by:537
Symbol 534 MovieClipUses:532Used by:535 536
Symbol 535 MovieClip {PPGZ_fla.gde2_226}Uses:534Used by:537
Symbol 536 MovieClip {PPGZ_fla.gde2luz_228}Uses:534Used by:537
Symbol 537 MovieClip {PPGZ_fla.btnGrande_224}Uses:533 527 535 536Used by:540
Symbol 538 GraphicUsed by:539
Symbol 539 MovieClipUses:538Used by:540
Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218}Uses:530 537 539Used by:546
Symbol 541 BitmapUsed by:542
Symbol 542 GraphicUses:541Used by:545
Symbol 543 MovieClipUses:401Used by:544
Symbol 544 MovieClipUses:543Used by:545
Symbol 545 MovieClipUses:542 544Used by:546
Symbol 546 MovieClip {PPGZ_fla.Jceleste_217}Uses:523 540 545Used by:558
Symbol 547 BitmapUsed by:548
Symbol 548 GraphicUses:547Used by:549
Symbol 549 MovieClipUses:548Used by:552 553 554 555
Symbol 550 EditableTextUses:38Used by:551
Symbol 551 MovieClip {PPGZ_fla.TextContainer_236}Uses:550Used by:552 553 554 555 557
Symbol 552 MovieClip {PPGZ_fla._Out_234}Uses:549 551Used by:557
Symbol 553 MovieClip {PPGZ_fla._Down_237}Uses:549 551Used by:557
Symbol 554 MovieClip {PPGZ_fla._Over_238}Uses:549 551Used by:557
Symbol 555 MovieClip {PPGZ_fla._Up_239}Uses:549 551Used by:557
Symbol 556 MovieClipUses:45Used by:557
Symbol 557 MovieClip {_PopBtncopy}Uses:552 553 554 555 551 556Used by:558
Symbol 558 MovieClip {PopUpComputerAsset}Uses:517 521 546 557Used by:1722
Symbol 559 GraphicUsed by:560
Symbol 560 MovieClipUses:559Used by:576
Symbol 561 GraphicUsed by:576
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClipUses:562Used by:564 571 572 573
Symbol 564 MovieClipUses:563Used by:576
Symbol 565 GraphicUsed by:566
Symbol 566 MovieClipUses:565Used by:571 572 573
Symbol 567 GraphicUsed by:568
Symbol 568 MovieClipUses:567Used by:571 572 573
Symbol 569 GraphicUsed by:570
Symbol 570 MovieClipUses:569Used by:571 572 573
Symbol 571 MovieClipUses:563 566 568 570Used by:576
Symbol 572 MovieClipUses:570 568 566 563Used by:576
Symbol 573 MovieClip {PPGZ_fla.hornoabrecierra_250}Uses:563 566 568 570Used by:576
Symbol 574 GraphicUsed by:575
Symbol 575 MovieClipUses:574Used by:576
Symbol 576 MovieClip {CookerAsset}Uses:560 561 564 174 171 571 572 573 575Used by:1722
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:597
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:597
Symbol 581 BitmapUsed by:582
Symbol 582 GraphicUses:581Used by:597
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:597
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:597
Symbol 587 BitmapUsed by:588
Symbol 588 GraphicUses:587Used by:597
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:597 796
Symbol 591 BitmapUsed by:592
Symbol 592 GraphicUses:591Used by:597
Symbol 593 BitmapUsed by:594
Symbol 594 GraphicUses:593Used by:597 796
Symbol 595 BitmapUsed by:596
Symbol 596 GraphicUses:595Used by:597 796
Symbol 597 MovieClip {PPGZ_fla.globo_253}Uses:578 580 582 584 586 588 590 592 594 596Used by:598
Symbol 598 MovieClip {LitleBallonCookerAsset}Uses:597Used by:1722
Symbol 599 BitmapUsed by:600
Symbol 600 GraphicUses:399 599Used by:616
Symbol 601 BitmapUsed by:602
Symbol 602 GraphicUses:601Used by:603 609 611
Symbol 603 MovieClipUses:602Used by:604
Symbol 604 MovieClipUses:603Used by:616
Symbol 605 BitmapUsed by:606
Symbol 606 GraphicUses:605Used by:607
Symbol 607 MovieClipUses:606Used by:608
Symbol 608 MovieClipUses:607Used by:616
Symbol 609 MovieClipUses:602Used by:610
Symbol 610 MovieClipUses:609Used by:616
Symbol 611 MovieClipUses:602Used by:612
Symbol 612 MovieClipUses:611Used by:616
Symbol 613 BitmapUsed by:614
Symbol 614 GraphicUses:613Used by:616
Symbol 615 EditableTextUses:135Used by:616
Symbol 616 MovieClip {PPGZ_fla.plverde_255}Uses:600 604 608 610 612 614 615Used by:677
Symbol 617 BitmapUsed by:618
Symbol 618 GraphicUses:617Used by:619
Symbol 619 MovieClipUses:618Used by:677
Symbol 620 GraphicUsed by:621
Symbol 621 MovieClipUses:620Used by:622
Symbol 622 MovieClipUses:621Used by:677
Symbol 623 BitmapUsed by:624
Symbol 624 GraphicUses:623Used by:625 643 651
Symbol 625 MovieClipUses:624Used by:629 630 631
Symbol 626 BitmapUsed by:627
Symbol 627 GraphicUses:626Used by:628
Symbol 628 MovieClipUses:627Used by:629 630 631
Symbol 629 MovieClipUses:625 628Used by:632
Symbol 630 MovieClip {PPGZ_fla.plaquita1d_272}Uses:625 628Used by:632
Symbol 631 MovieClip {PPGZ_fla.plaquita1LUZ_273}Uses:625 628Used by:632
Symbol 632 MovieClip {PPGZ_fla.placa1_268}Uses:629 630 631Used by:675
Symbol 633 BitmapUsed by:634
Symbol 634 GraphicUses:633Used by:635 659 667
Symbol 635 MovieClipUses:634Used by:639 640 641
Symbol 636 BitmapUsed by:637
Symbol 637 GraphicUses:636Used by:638
Symbol 638 MovieClipUses:637Used by:639 640 641
Symbol 639 MovieClipUses:635 638Used by:642
Symbol 640 MovieClip {PPGZ_fla.plaquita2d_278}Uses:635 638Used by:642
Symbol 641 MovieClip {PPGZ_fla.plaquita2LUZ_279}Uses:635 638Used by:642
Symbol 642 MovieClip {PPGZ_fla.placa2_274}Uses:639 640 641Used by:675
Symbol 643 MovieClipUses:624Used by:647 648 649
Symbol 644 BitmapUsed by:645
Symbol 645 GraphicUses:644Used by:646
Symbol 646 MovieClipUses:645Used by:647 648 649
Symbol 647 MovieClipUses:643 646Used by:650
Symbol 648 MovieClip {PPGZ_fla.plaquita3d_284}Uses:643 646Used by:650
Symbol 649 MovieClip {PPGZ_fla.plaquita3LUZ_285}Uses:643 646Used by:650
Symbol 650 MovieClip {PPGZ_fla.placa3_280}Uses:647 648 649Used by:675
Symbol 651 MovieClipUses:624Used by:655 656 657
Symbol 652 BitmapUsed by:653
Symbol 653 GraphicUses:652Used by:654
Symbol 654 MovieClipUses:653Used by:655 656 657
Symbol 655 MovieClipUses:651 654Used by:658
Symbol 656 MovieClip {PPGZ_fla.plaquita5d_290}Uses:651 654Used by:658
Symbol 657 MovieClip {PPGZ_fla.plaquita5LUZ_291}Uses:651 654Used by:658
Symbol 658 MovieClip {PPGZ_fla.placa5_286}Uses:655 656 657Used by:675
Symbol 659 MovieClipUses:634Used by:663 664 665
Symbol 660 BitmapUsed by:661
Symbol 661 GraphicUses:660Used by:662
Symbol 662 MovieClipUses:661Used by:663 664 665
Symbol 663 MovieClipUses:659 662Used by:666
Symbol 664 MovieClip {PPGZ_fla.plaquita4d_296}Uses:659 662Used by:666
Symbol 665 MovieClip {PPGZ_fla.plaquita4LUZ_297}Uses:659 662Used by:666
Symbol 666 MovieClip {PPGZ_fla.placa4_292}Uses:663 664 665Used by:675
Symbol 667 MovieClipUses:634Used by:671 672 673
Symbol 668 BitmapUsed by:669
Symbol 669 GraphicUses:668Used by:670
Symbol 670 MovieClipUses:669Used by:671 672 673
Symbol 671 MovieClipUses:667 670Used by:674
Symbol 672 MovieClip {PPGZ_fla.plaquita6d_302}Uses:667 670Used by:674
Symbol 673 MovieClip {PPGZ_fla.plaquita6LUZ_303}Uses:667 670Used by:674
Symbol 674 MovieClip {PPGZ_fla.placa6_298}Uses:671 672 673Used by:675
Symbol 675 MovieClip {PPGZ_fla.elementos_267}Uses:632 642 650 658 666 674Used by:677
Symbol 676 MovieClip {PPGZ_fla.text_light_304}Uses:40Used by:677
Symbol 677 MovieClip {PopUpCookerAsset}Uses:616 619 622 361 85 675 676Used by:1722
Symbol 678 GraphicUsed by:679
Symbol 679 MovieClipUses:678Used by:716 960 1092 1229
Symbol 680 GraphicUsed by:681
Symbol 681 MovieClipUses:680Used by:688 693 715
Symbol 682 GraphicUsed by:683
Symbol 683 MovieClipUses:682Used by:688 693 715
Symbol 684 GraphicUsed by:685
Symbol 685 MovieClipUses:684Used by:688 693 715
Symbol 686 GraphicUsed by:687
Symbol 687 MovieClipUses:686Used by:688 693
Symbol 688 MovieClipUses:681 683 685 687Used by:716
Symbol 689 GraphicUsed by:690
Symbol 690 MovieClipUses:689Used by:693
Symbol 691 GraphicUsed by:692
Symbol 692 MovieClipUses:691Used by:693
Symbol 693 MovieClipUses:681 683 685 687 690 692Used by:716
Symbol 694 GraphicUsed by:695
Symbol 695 MovieClipUses:694Used by:710
Symbol 696 GraphicUsed by:697
Symbol 697 MovieClipUses:696Used by:710
Symbol 698 GraphicUsed by:699
Symbol 699 MovieClipUses:698Used by:710
Symbol 700 GraphicUsed by:703
Symbol 701 GraphicUsed by:702
Symbol 702 MovieClipUses:701Used by:703
Symbol 703 MovieClipUses:700 702Used by:710
Symbol 704 GraphicUsed by:705
Symbol 705 MovieClipUses:704Used by:710
Symbol 706 GraphicUsed by:709
Symbol 707 GraphicUsed by:708
Symbol 708 MovieClipUses:707Used by:709
Symbol 709 MovieClipUses:706 708Used by:710
Symbol 710 MovieClipUses:695 697 699 703 705 709Used by:716
Symbol 711 GraphicUsed by:712
Symbol 712 MovieClipUses:711Used by:715
Symbol 713 GraphicUsed by:714
Symbol 714 MovieClipUses:713Used by:715
Symbol 715 MovieClipUses:681 683 685 712 714Used by:716
Symbol 716 MovieClip {PeachAsset}Uses:679 688 693 710 715Used by:1722
Symbol 717 GraphicUsed by:718
Symbol 718 MovieClipUses:717Used by:736 755 782 783 789
Symbol 719 GraphicUsed by:720
Symbol 720 MovieClipUses:719Used by:736 755 782 783 789
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:721Used by:729
Symbol 723 GraphicUsed by:724
Symbol 724 MovieClipUses:723Used by:729
Symbol 725 GraphicUsed by:726
Symbol 726 MovieClipUses:725Used by:729
Symbol 727 GraphicUsed by:728
Symbol 728 MovieClipUses:727Used by:729
Symbol 729 MovieClipUses:722 724 726 728Used by:736 755 782 783 789 794
Symbol 730 GraphicUsed by:731
Symbol 731 MovieClipUses:730Used by:736 782 783 789 794
Symbol 732 GraphicUsed by:733
Symbol 733 MovieClipUses:732Used by:736 782 783
Symbol 734 GraphicUsed by:735
Symbol 735 MovieClipUses:734Used by:736 750 782 783 789
Symbol 736 MovieClipUses:718 720 15 729 731 733 735Used by:795
Symbol 737 GraphicUsed by:738
Symbol 738 MovieClipUses:737Used by:745
Symbol 739 GraphicUsed by:740
Symbol 740 MovieClipUses:739Used by:745
Symbol 741 GraphicUsed by:742
Symbol 742 MovieClipUses:741Used by:745
Symbol 743 GraphicUsed by:744
Symbol 744 MovieClipUses:743Used by:745
Symbol 745 MovieClipUses:738 740 742 744Used by:750
Symbol 746 GraphicUsed by:747
Symbol 747 MovieClipUses:746Used by:750
Symbol 748 GraphicUsed by:749
Symbol 749 MovieClipUses:748Used by:750
Symbol 750 MovieClipUses:745 747 749 735Used by:795
Symbol 751 GraphicUsed by:752
Symbol 752 MovieClipUses:751Used by:755
Symbol 753 GraphicUsed by:754
Symbol 754 MovieClipUses:753Used by:755
Symbol 755 MovieClipUses:718 720 15 729 752 754Used by:795
Symbol 756 GraphicUsed by:757
Symbol 757 MovieClipUses:756Used by:770 788
Symbol 758 GraphicUsed by:759
Symbol 759 MovieClipUses:758Used by:770 789
Symbol 760 GraphicUsed by:761
Symbol 761 MovieClipUses:760Used by:770 789
Symbol 762 GraphicUsed by:763
Symbol 763 MovieClipUses:762Used by:770 789
Symbol 764 GraphicUsed by:765
Symbol 765 MovieClipUses:764Used by:770 788
Symbol 766 GraphicUsed by:767
Symbol 767 MovieClipUses:766Used by:770 788
Symbol 768 GraphicUsed by:769
Symbol 769 MovieClipUses:768Used by:770 789
Symbol 770 MovieClip {PPGZ_fla.Ciclo_Humito_352}Uses:757 759 761 763 765 767 769Used by:771
Symbol 771 MovieClipUses:770Used by:795
Symbol 772 GraphicUsed by:773
Symbol 773 MovieClipUses:772Used by:782 783
Symbol 774 GraphicUsed by:775
Symbol 775 MovieClipUses:774Used by:782 783
Symbol 776 GraphicUsed by:777
Symbol 777 MovieClipUses:776Used by:782 783
Symbol 778 GraphicUsed by:779
Symbol 779 MovieClipUses:778Used by:782 783
Symbol 780 GraphicUsed by:781
Symbol 781 MovieClipUses:780Used by:782 783
Symbol 782 MovieClip {PPGZ_fla.Mojo_Entra_01_360}Uses:773 775 718 720 15 729 731 733 735 777 779 781Used by:795
Symbol 783 MovieClipUses:718 720 15 729 731 733 735 781 779 777 775 773Used by:795
Symbol 784 GraphicUsed by:785
Symbol 785 MovieClipUses:784Used by:789
Symbol 786 GraphicUsed by:787
Symbol 787 MovieClipUses:786Used by:789
Symbol 788 MovieClipUses:757 765 767Used by:789
Symbol 789 MovieClip {PPGZ_fla.Mojo_Sale_02_367}Uses:718 720 15 729 731 785 735 763 787 788 769 759 761Used by:795
Symbol 790 GraphicUsed by:791
Symbol 791 MovieClipUses:790Used by:794
Symbol 792 GraphicUsed by:793
Symbol 793 MovieClipUses:792Used by:794
Symbol 794 MovieClip {PPGZ_fla.Mojo_Rie_371}Uses:729 731 791 793Used by:795
Symbol 795 MovieClip {MojoAsset}Uses:736 750 755 771 782 783 789 794Used by:1722
Symbol 796 MovieClip {PPGZ_fla.Emotion_375}Uses:590 594 596Used by:797
Symbol 797 MovieClip {EmotionBallonAsset}Uses:796Used by:1722
Symbol 798 GraphicUsed by:799
Symbol 799 MovieClipUses:798Used by:838 847 868 894 899 919 920 929 930 931 942 946 959
Symbol 800 GraphicUsed by:801
Symbol 801 MovieClipUses:800Used by:838 847 920 929 930 931 942 946
Symbol 802 GraphicUsed by:803
Symbol 803 MovieClipUses:802Used by:838 847 868 920 929 930 931 942 946 986 993 1012 1058 1065 1066 1067 1074 1078 1122 1131 1149 1195 1202 1203 1204 1211 1215
Symbol 804 GraphicUsed by:805
Symbol 805 MovieClipUses:804Used by:838 847 868 894 920 929 930 931 942 946 986 993 1012 1034 1058 1065 1066 1067 1074 1078 1122 1131 1149 1171 1195 1202 1203 1204 1211 1215
Symbol 806 GraphicUsed by:807
Symbol 807 MovieClipUses:806Used by:838 847 920 929 930 931 942 946 959
Symbol 808 GraphicUsed by:809
Symbol 809 MovieClipUses:808Used by:838 847 920 929 930 931 942 946 959
Symbol 810 GraphicUsed by:835
Symbol 811 GraphicUsed by:812
Symbol 812 MovieClipUses:811Used by:817
Symbol 813 GraphicUsed by:814
Symbol 814 MovieClipUses:813Used by:817
Symbol 815 GraphicUsed by:816
Symbol 816 MovieClipUses:815Used by:817 942 1074 1211
Symbol 817 MovieClip {PPGZ_fla.Boca_mc_385}Uses:812 814 816Used by:835 985 1119
Symbol 818 GraphicUsed by:823
Symbol 819 GraphicUsed by:823
Symbol 820 GraphicUsed by:823
Symbol 821 GraphicUsed by:823
Symbol 822 GraphicUsed by:823
Symbol 823 MovieClipUses:818 819 820 821 822Used by:832
Symbol 824 GraphicUsed by:829
Symbol 825 GraphicUsed by:829
Symbol 826 GraphicUsed by:829
Symbol 827 GraphicUsed by:829
Symbol 828 GraphicUsed by:829
Symbol 829 MovieClipUses:824 825 826 827 828Used by:832
Symbol 830 GraphicUsed by:831
Symbol 831 MovieClipUses:830Used by:832
Symbol 832 MovieClip {PPGZ_fla.Bombon_Ojo_mc_389}Uses:823 829 831Used by:835 933
Symbol 833 GraphicUsed by:834
Symbol 834 MovieClipUses:833Used by:835 933
Symbol 835 MovieClipUses:810 817 832 834Used by:838 847 920 930 931 946
Symbol 836 GraphicUsed by:837
Symbol 837 MovieClipUses:836Used by:838 847 920 929 930 931 946
Symbol 838 MovieClipUses:799 801 803 805 807 809 835 837Used by:960
Symbol 839 GraphicUsed by:840
Symbol 840 MovieClipUses:839Used by:847 929
Symbol 841 GraphicUsed by:842
Symbol 842 MovieClipUses:841Used by:847
Symbol 843 GraphicUsed by:844
Symbol 844 MovieClipUses:843Used by:847 930 993 1066 1131 1203
Symbol 845 GraphicUsed by:846
Symbol 846 MovieClipUses:845Used by:847
Symbol 847 MovieClipUses:799 840 842 803 805 807 809 835 837 844 801 846Used by:960
Symbol 848 GraphicUsed by:849
Symbol 849 MovieClipUses:848Used by:868
Symbol 850 GraphicUsed by:851
Symbol 851 MovieClipUses:850Used by:868 1012 1149
Symbol 852 GraphicUsed by:853
Symbol 853 MovieClipUses:852Used by:868
Symbol 854 GraphicUsed by:855
Symbol 855 MovieClipUses:854Used by:868
Symbol 856 GraphicUsed by:857
Symbol 857 MovieClipUses:856Used by:868
Symbol 858 GraphicUsed by:859
Symbol 859 MovieClipUses:858Used by:868
Symbol 860 GraphicUsed by:863 1144
Symbol 861 GraphicUsed by:862
Symbol 862 MovieClipUses:861Used by:863
Symbol 863 MovieClipUses:860 862Used by:868
Symbol 864 GraphicUsed by:865
Symbol 865 MovieClipUses:864Used by:868
Symbol 866 GraphicUsed by:867
Symbol 867 MovieClipUses:866Used by:868
Symbol 868 MovieClipUses:849 851 805 853 855 803 857 859 863 799 865 867Used by:960
Symbol 869 GraphicUsed by:870
Symbol 870 MovieClipUses:869Used by:894 929 931
Symbol 871 GraphicUsed by:872
Symbol 872 MovieClipUses:871Used by:894
Symbol 873 GraphicUsed by:874
Symbol 874 MovieClipUses:873Used by:894 1034 1171
Symbol 875 GraphicUsed by:876
Symbol 876 MovieClipUses:875Used by:894 929
Symbol 877 GraphicUsed by:878
Symbol 878 MovieClipUses:877Used by:894
Symbol 879 GraphicUsed by:880
Symbol 880 MovieClipUses:879Used by:894
Symbol 881 GraphicUsed by:891 1031 1168
Symbol 882 GraphicUsed by:883
Symbol 883 MovieClipUses:882Used by:891 1031 1168
Symbol 884 GraphicUsed by:888
Symbol 885 GraphicUsed by:888
Symbol 886 GraphicUsed by:888
Symbol 887 GraphicUsed by:888
Symbol 888 MovieClipUses:884 885 886 887Used by:891
Symbol 889 GraphicUsed by:890
Symbol 890 MovieClipUses:889Used by:891
Symbol 891 MovieClipUses:881 883 888 890Used by:894 899 919
Symbol 892 GraphicUsed by:893
Symbol 893 MovieClipUses:892Used by:894
Symbol 894 MovieClipUses:799 805 870 872 874 876 878 880 891 893Used by:960
Symbol 895 GraphicUsed by:896
Symbol 896 MovieClipUses:895Used by:899
Symbol 897 GraphicUsed by:898
Symbol 898 MovieClipUses:897Used by:899
Symbol 899 MovieClipUses:799 896 891 898Used by:960
Symbol 900 GraphicUsed by:901
Symbol 901 MovieClipUses:900Used by:912
Symbol 902 GraphicUsed by:903
Symbol 903 MovieClipUses:902Used by:912 1050 1187
Symbol 904 GraphicUsed by:905
Symbol 905 MovieClipUses:904Used by:912
Symbol 906 GraphicUsed by:907
Symbol 907 MovieClipUses:906Used by:912
Symbol 908 GraphicUsed by:909
Symbol 909 MovieClipUses:908Used by:912 945
Symbol 910 GraphicUsed by:911
Symbol 911 MovieClipUses:910Used by:912
Symbol 912 MovieClipUses:901 903 132 166 905 907 909 911Used by:960
Symbol 913 GraphicUsed by:914
Symbol 914 MovieClipUses:913Used by:919
Symbol 915 GraphicUsed by:916
Symbol 916 MovieClipUses:915Used by:919
Symbol 917 GraphicUsed by:918
Symbol 918 MovieClipUses:917Used by:919
Symbol 919 MovieClipUses:914 799 916 891 918Used by:960
Symbol 920 MovieClip {PPGZ_fla.Bombon_enojo_437}Uses:799 801 803 805 807 809 835 837Used by:960
Symbol 921 GraphicUsed by:922
Symbol 922 MovieClipUses:921Used by:929
Symbol 923 GraphicUsed by:924
Symbol 924 MovieClipUses:923Used by:929
Symbol 925 GraphicUsed by:926
Symbol 926 MovieClipUses:925Used by:929
Symbol 927 GraphicUsed by:928
Symbol 928 MovieClipUses:927Used by:929 986 993 1058 1065 1066 1067 1078 1131
Symbol 929 MovieClipUses:799 801 803 805 807 809 922 837 876 840 924 926 870 928Used by:960
Symbol 930 MovieClipUses:799 801 803 805 807 809 835 837 844Used by:960
Symbol 931 MovieClip {PPGZ_fla.Bombon_Feliz_444}Uses:799 801 803 805 807 809 835 837 870Used by:960
Symbol 932 GraphicUsed by:933
Symbol 933 MovieClipUses:932 832 834Used by:942
Symbol 934 GraphicUsed by:935
Symbol 935 MovieClipUses:934Used by:942
Symbol 936 GraphicUsed by:937
Symbol 937 MovieClipUses:936Used by:942
Symbol 938 GraphicUsed by:939
Symbol 939 MovieClipUses:938Used by:942 1074 1211
Symbol 940 GraphicUsed by:941
Symbol 941 MovieClipUses:940Used by:942 1074 1211
Symbol 942 MovieClipUses:799 801 803 805 807 809 933 816 935 937 939 941Used by:960
Symbol 943 GraphicUsed by:944
Symbol 944 MovieClipUses:943Used by:945
Symbol 945 MovieClipUses:944 909Used by:960
Symbol 946 MovieClip {PPGZ_fla.Bombon_molesta_453}Uses:799 801 803 805 807 809 835 837Used by:960
Symbol 947 GraphicUsed by:948
Symbol 948 MovieClipUses:947Used by:959
Symbol 949 GraphicUsed by:950
Symbol 950 MovieClipUses:949Used by:959
Symbol 951 GraphicUsed by:954
Symbol 952 GraphicUsed by:953
Symbol 953 MovieClipUses:952Used by:954
Symbol 954 MovieClipUses:951 953Used by:959
Symbol 955 GraphicUsed by:956
Symbol 956 MovieClipUses:955Used by:959
Symbol 957 GraphicUsed by:958
Symbol 958 MovieClipUses:957Used by:959
Symbol 959 MovieClipUses:799 948 950 807 809 954 956 958Used by:960
Symbol 960 MovieClip {MomokoAsset}Uses:679 838 174 847 868 894 899 912 919 920 929 930 931 942 945 946 959Used by:1722
Symbol 961 GraphicUsed by:962
Symbol 962 MovieClipUses:961Used by:986 993 1058 1065 1066 1067 1074 1078
Symbol 963 GraphicUsed by:964
Symbol 964 MovieClipUses:963Used by:986 993 1058 1065 1066 1067 1074 1078 1091
Symbol 965 GraphicUsed by:966
Symbol 966 MovieClipUses:965Used by:986 993 1058 1065 1066 1067 1074 1078 1091
Symbol 967 GraphicUsed by:985
Symbol 968 GraphicUsed by:973
Symbol 969 GraphicUsed by:973
Symbol 970 GraphicUsed by:973
Symbol 971 GraphicUsed by:973
Symbol 972 GraphicUsed by:973
Symbol 973 MovieClipUses:968 969 970 971 972Used by:982
Symbol 974 GraphicUsed by:979
Symbol 975 GraphicUsed by:979
Symbol 976 GraphicUsed by:979
Symbol 977 GraphicUsed by:979
Symbol 978 GraphicUsed by:979
Symbol 979 MovieClipUses:974 975 976 977 978Used by:982
Symbol 980 GraphicUsed by:981
Symbol 981 MovieClipUses:980Used by:982
Symbol 982 MovieClip {PPGZ_fla.Bellota_Ojos_mc_467}Uses:973 979 981Used by:985 1069
Symbol 983 GraphicUsed by:984
Symbol 984 MovieClipUses:983Used by:985 1069
Symbol 985 MovieClip {PPGZ_fla.Bellota_Cabeza_01_466}Uses:967 817 982 984Used by:986 993 1058 1066 1067 1078
Symbol 986 MovieClip {PPGZ_fla.Bellota_Idle_462}Uses:962 803 805 964 966 985 928Used by:1092
Symbol 987 GraphicUsed by:988
Symbol 988 MovieClipUses:987Used by:993 1065
Symbol 989 GraphicUsed by:990
Symbol 990 MovieClipUses:989Used by:993
Symbol 991 GraphicUsed by:992
Symbol 992 MovieClipUses:991Used by:993
Symbol 993 MovieClip {PPGZ_fla.Bellota_Camina_Frente_472}Uses:988 990 803 805 928 964 966 985 844 962 992Used by:1092
Symbol 994 GraphicUsed by:995
Symbol 995 MovieClipUses:994Used by:1012
Symbol 996 GraphicUsed by:997
Symbol 997 MovieClipUses:996Used by:1012
Symbol 998 GraphicUsed by:999
Symbol 999 MovieClipUses:998Used by:1012
Symbol 1000 GraphicUsed by:1001
Symbol 1001 MovieClipUses:1000Used by:1012
Symbol 1002 GraphicUsed by:1003
Symbol 1003 MovieClipUses:1002Used by:1012
Symbol 1004 GraphicUsed by:1007
Symbol 1005 GraphicUsed by:1006
Symbol 1006 MovieClipUses:1005Used by:1007
Symbol 1007 MovieClipUses:1004 1006Used by:1012
Symbol 1008 GraphicUsed by:1009
Symbol 1009 MovieClipUses:1008Used by:1012
Symbol 1010 GraphicUsed by:1011
Symbol 1011 MovieClipUses:1010Used by:1012
Symbol 1012 MovieClipUses:995 851 805 997 999 803 1001 1003 1007 1009 1011Used by:1092
Symbol 1013 GraphicUsed by:1014
Symbol 1014 MovieClipUses:1013Used by:1034 1065 1067
Symbol 1015 GraphicUsed by:1016
Symbol 1016 MovieClipUses:1015Used by:1034
Symbol 1017 GraphicUsed by:1018
Symbol 1018 MovieClipUses:1017Used by:1034 1065
Symbol 1019 GraphicUsed by:1020
Symbol 1020 MovieClipUses:1019Used by:1034
Symbol 1021 GraphicUsed by:1022
Symbol 1022 MovieClipUses:1021Used by:1034
Symbol 1023 GraphicUsed by:1028
Symbol 1024 GraphicUsed by:1028
Symbol 1025 GraphicUsed by:1028
Symbol 1026 GraphicUsed by:1028
Symbol 1027 GraphicUsed by:1028
Symbol 1028 MovieClipUses:1023 1024 1025 1026 1027Used by:1031
Symbol 1029 GraphicUsed by:1030
Symbol 1030 MovieClipUses:1029Used by:1031
Symbol 1031 MovieClip {PPGZ_fla.Bellota_Cabeza_02_492}Uses:881 883 1028 1030Used by:1034 1039 1057
Symbol 1032 GraphicUsed by:1033
Symbol 1033 MovieClipUses:1032Used by:1034
Symbol 1034 MovieClip {PPGZ_fla.Bellota_Camina_Perfil_486}Uses:805 1014 1016 874 1018 1020 1022 1031 1033Used by:1092
Symbol 1035 GraphicUsed by:1036
Symbol 1036 MovieClipUses:1035Used by:1039
Symbol 1037 GraphicUsed by:1038
Symbol 1038 MovieClipUses:1037Used by:1039
Symbol 1039 MovieClipUses:1036 1031 1038Used by:1092
Symbol 1040 GraphicUsed by:1041
Symbol 1041 MovieClipUses:1040Used by:1050
Symbol 1042 GraphicUsed by:1043
Symbol 1043 MovieClipUses:1042Used by:1050
Symbol 1044 GraphicUsed by:1045
Symbol 1045 MovieClipUses:1044Used by:1050
Symbol 1046 GraphicUsed by:1047
Symbol 1047 MovieClipUses:1046Used by:1050 1077
Symbol 1048 GraphicUsed by:1049
Symbol 1049 MovieClipUses:1048Used by:1050
Symbol 1050 MovieClipUses:1041 903 132 166 1043 1045 1047 1049Used by:1092
Symbol 1051 GraphicUsed by:1052
Symbol 1052 MovieClipUses:1051Used by:1057
Symbol 1053 GraphicUsed by:1054
Symbol 1054 MovieClipUses:1053Used by:1057
Symbol 1055 GraphicUsed by:1056
Symbol 1056 MovieClipUses:1055Used by:1057
Symbol 1057 MovieClipUses:1052 1054 1031 1056Used by:1092
Symbol 1058 MovieClip {PPGZ_fla.Bellota_enojo_509}Uses:962 803 805 964 966 985 928Used by:1092
Symbol 1059 GraphicUsed by:1060
Symbol 1060 MovieClipUses:1059Used by:1065
Symbol 1061 GraphicUsed by:1062
Symbol 1062 MovieClipUses:1061Used by:1065
Symbol 1063 GraphicUsed by:1064
Symbol 1064 MovieClipUses:1063Used by:1065
Symbol 1065 MovieClipUses:962 803 805 964 966 1060 928 1018 988 1062 1064 1014Used by:1092
Symbol 1066 MovieClipUses:962 803 805 964 966 985 928 844Used by:1092
Symbol 1067 MovieClip {PPGZ_fla.Bellota_Feliz_515}Uses:962 803 805 964 966 985 928 1014Used by:1092
Symbol 1068 GraphicUsed by:1069
Symbol 1069 MovieClipUses:1068 982 984Used by:1074
Symbol 1070 GraphicUsed by:1071
Symbol 1071 MovieClipUses:1070Used by:1074
Symbol 1072 GraphicUsed by:1073
Symbol 1073 MovieClipUses:1072Used by:1074
Symbol 1074 MovieClipUses:962 803 805 964 966 1069 816 1071 1073 939 941Used by:1092
Symbol 1075 GraphicUsed by:1076
Symbol 1076 MovieClipUses:1075Used by:1077
Symbol 1077 MovieClipUses:1076 1047Used by:1092
Symbol 1078 MovieClip {PPGZ_fla.Bellota_molesta_522}Uses:962 803 805 964 966 985 928Used by:1092
Symbol 1079 GraphicUsed by:1080
Symbol 1080 MovieClipUses:1079Used by:1091
Symbol 1081 GraphicUsed by:1082
Symbol 1082 MovieClipUses:1081Used by:1091
Symbol 1083 GraphicUsed by:1086
Symbol 1084 GraphicUsed by:1085
Symbol 1085 MovieClipUses:1084Used by:1086
Symbol 1086 MovieClipUses:1083 1085Used by:1091
Symbol 1087 GraphicUsed by:1088
Symbol 1088 MovieClipUses:1087Used by:1091
Symbol 1089 GraphicUsed by:1090
Symbol 1090 MovieClipUses:1089Used by:1091
Symbol 1091 MovieClipUses:1080 1082 964 966 1086 1088 1090Used by:1092
Symbol 1092 MovieClip {KaoruAsset}Uses:679 986 174 993 1012 1034 1039 1050 1057 1058 1065 1066 1067 1074 1077 1078 1091Used by:1722
Symbol 1093 GraphicUsed by:1094
Symbol 1094 MovieClipUses:1093Used by:1122 1131 1149 1195 1202 1203 1204 1211 1215 1228
Symbol 1095 GraphicUsed by:1096
Symbol 1096 MovieClipUses:1095Used by:1122 1131 1195 1202 1203 1204 1211 1215
Symbol 1097 GraphicUsed by:1098
Symbol 1098 MovieClipUses:1097Used by:1122 1131 1195 1202 1203 1204 1211 1215 1228
Symbol 1099 GraphicUsed by:1100
Symbol 1100 MovieClipUses:1099Used by:1122 1131 1195 1202 1203 1204 1211 1215 1228
Symbol 1101 GraphicUsed by:1119
Symbol 1102 GraphicUsed by:1103
Symbol 1103 MovieClipUses:1102Used by:1119 1206
Symbol 1104 GraphicUsed by:1109
Symbol 1105 GraphicUsed by:1109
Symbol 1106 GraphicUsed by:1109
Symbol 1107 GraphicUsed by:1109
Symbol 1108 GraphicUsed by:1109
Symbol 1109 MovieClipUses:1104 1105 1106 1107 1108Used by:1118
Symbol 1110 GraphicUsed by:1115
Symbol 1111 GraphicUsed by:1115
Symbol 1112 GraphicUsed by:1115
Symbol 1113 GraphicUsed by:1115
Symbol 1114 GraphicUsed by:1115
Symbol 1115 MovieClipUses:1110 1111 1112 1113 1114Used by:1118
Symbol 1116 GraphicUsed by:1117
Symbol 1117 MovieClipUses:1116Used by:1118
Symbol 1118 MovieClip {PPGZ_fla.Burbuja_Ojos_mc_538}Uses:1109 1115 1117Used by:1119 1206
Symbol 1119 MovieClipUses:1101 817 1103 1118Used by:1122 1131 1195 1203 1204 1215
Symbol 1120 GraphicUsed by:1121
Symbol 1121 MovieClipUses:1120Used by:1122 1131 1195 1202 1203 1204 1215
Symbol 1122 MovieClipUses:1094 1096 803 805 1098 1100 1119 1121Used by:1229
Symbol 1123 GraphicUsed by:1124
Symbol 1124 MovieClipUses:1123Used by:1131 1202
Symbol 1125 GraphicUsed by:1126
Symbol 1126 MovieClipUses:1125Used by:1131
Symbol 1127 GraphicUsed by:1128
Symbol 1128 MovieClipUses:1127Used by:1131 1149
Symbol 1129 GraphicUsed by:1130
Symbol 1130 MovieClipUses:1129Used by:1131
Symbol 1131 MovieClipUses:1124 1126 803 805 928 1098 1100 1094 1119 1121 844 1128 1096 1130Used by:1229
Symbol 1132 GraphicUsed by:1133
Symbol 1133 MovieClipUses:1132Used by:1149
Symbol 1134 GraphicUsed by:1135
Symbol 1135 MovieClipUses:1134Used by:1149
Symbol 1136 GraphicUsed by:1137
Symbol 1137 MovieClipUses:1136Used by:1149
Symbol 1138 GraphicUsed by:1139
Symbol 1139 MovieClipUses:1138Used by:1149
Symbol 1140 GraphicUsed by:1141
Symbol 1141 MovieClipUses:1140Used by:1149
Symbol 1142 GraphicUsed by:1143
Symbol 1143 MovieClipUses:1142Used by:1144
Symbol 1144 MovieClipUses:860 1143Used by:1149
Symbol 1145 GraphicUsed by:1146
Symbol 1146 MovieClipUses:1145Used by:1149
Symbol 1147 GraphicUsed by:1148
Symbol 1148 MovieClipUses:1147Used by:1149
Symbol 1149 MovieClipUses:1133 851 805 1135 1137 803 1139 1141 1128 1144 1094 1146 1148Used by:1229
Symbol 1150 GraphicUsed by:1151
Symbol 1151 MovieClipUses:1150Used by:1171 1202 1204
Symbol 1152 GraphicUsed by:1153
Symbol 1153 MovieClipUses:1152Used by:1171
Symbol 1154 GraphicUsed by:1155
Symbol 1155 MovieClipUses:1154Used by:1171 1202
Symbol 1156 GraphicUsed by:1157
Symbol 1157 MovieClipUses:1156Used by:1171
Symbol 1158 GraphicUsed by:1159
Symbol 1159 MovieClipUses:1158Used by:1171
Symbol 1160 GraphicUsed by:1161
Symbol 1161 MovieClipUses:1160Used by:1171 1176 1194
Symbol 1162 GraphicUsed by:1165
Symbol 1163 GraphicUsed by:1165
Symbol 1164 GraphicUsed by:1165
Symbol 1165 MovieClipUses:1162 1163 1164Used by:1168
Symbol 1166 GraphicUsed by:1167
Symbol 1167 MovieClipUses:1166Used by:1168
Symbol 1168 MovieClipUses:881 883 1165 1167Used by:1171 1176 1194
Symbol 1169 GraphicUsed by:1170
Symbol 1170 MovieClipUses:1169Used by:1171
Symbol 1171 MovieClipUses:805 1151 1153 874 1155 1157 1159 1161 1168 1170Used by:1229
Symbol 1172 GraphicUsed by:1173
Symbol 1173 MovieClipUses:1172Used by:1176
Symbol 1174 GraphicUsed by:1175
Symbol 1175 MovieClipUses:1174Used by:1176
Symbol 1176 MovieClipUses:1173 1161 1168 1175Used by:1229
Symbol 1177 GraphicUsed by:1178
Symbol 1178 MovieClipUses:1177Used by:1187
Symbol 1179 GraphicUsed by:1180
Symbol 1180 MovieClipUses:1179Used by:1187
Symbol 1181 GraphicUsed by:1182
Symbol 1182 MovieClipUses:1181Used by:1187
Symbol 1183 GraphicUsed by:1184
Symbol 1184 MovieClipUses:1183Used by:1187 1214
Symbol 1185 GraphicUsed by:1186
Symbol 1186 MovieClipUses:1185Used by:1187
Symbol 1187 MovieClipUses:1178 903 132 166 1180 1182 1184 1186Used by:1229
Symbol 1188 GraphicUsed by:1189
Symbol 1189 MovieClipUses:1188Used by:1194
Symbol 1190 GraphicUsed by:1191
Symbol 1191 MovieClipUses:1190Used by:1194
Symbol 1192 GraphicUsed by:1193
Symbol 1193 MovieClipUses:1192Used by:1194
Symbol 1194 MovieClipUses:1189 1191 1161 1168 1193Used by:1229
Symbol 1195 MovieClip {PPGZ_fla.Burbuja_enojo_582}Uses:1094 1096 803 805 1098 1100 1119 1121Used by:1229
Symbol 1196 GraphicUsed by:1197
Symbol 1197 MovieClipUses:1196Used by:1202
Symbol 1198 GraphicUsed by:1199
Symbol 1199 MovieClipUses:1198Used by:1202
Symbol 1200 GraphicUsed by:1201
Symbol 1201 MovieClipUses:1200Used by:1202
Symbol 1202 MovieClipUses:1094 1096 803 805 1098 1100 1197 1121 1155 1124 1199 1201 1151Used by:1229
Symbol 1203 MovieClipUses:1096 803 805 1098 1100 1094 1119 1121 844Used by:1229
Symbol 1204 MovieClip {PPGZ_fla.Burbuja_Feliz_588}Uses:1094 1096 803 805 1098 1100 1119 1121 1151Used by:1229
Symbol 1205 GraphicUsed by:1206
Symbol 1206 MovieClipUses:1205 1103 1118Used by:1211
Symbol 1207 GraphicUsed by:1208
Symbol 1208 MovieClipUses:1207Used by:1211
Symbol 1209 GraphicUsed by:1210
Symbol 1210 MovieClipUses:1209Used by:1211
Symbol 1211 MovieClipUses:1094 1096 803 805 1098 1100 1206 816 1208 1210 939 941Used by:1229
Symbol 1212 GraphicUsed by:1213
Symbol 1213 MovieClipUses:1212Used by:1214
Symbol 1214 MovieClipUses:1213 1184Used by:1229
Symbol 1215 MovieClip {PPGZ_fla.Burbuja_molesta_595}Uses:1094 1096 803 805 1098 1100 1119 1121Used by:1229
Symbol 1216 GraphicUsed by:1217
Symbol 1217 MovieClipUses:1216Used by:1228
Symbol 1218 GraphicUsed by:1219
Symbol 1219 MovieClipUses:1218Used by:1228
Symbol 1220 GraphicUsed by:1223
Symbol 1221 GraphicUsed by:1222
Symbol 1222 MovieClipUses:1221Used by:1223
Symbol 1223 MovieClipUses:1220 1222Used by:1228
Symbol 1224 GraphicUsed by:1225
Symbol 1225 MovieClipUses:1224Used by:1228
Symbol 1226 GraphicUsed by:1227
Symbol 1227 MovieClipUses:1226Used by:1228
Symbol 1228 MovieClipUses:1094 1217 1219 1098 1100 1223 1225 1227Used by:1229
Symbol 1229 MovieClip {MiyakoAsset}Uses:679 1122 174 1131 1149 1171 1176 1187 1194 1195 1202 1203 1204 1211 1214 1215 1228Used by:1722
Symbol 1230 BitmapUsed by:1231
Symbol 1231 GraphicUses:1230Used by:1232
Symbol 1232 MovieClip {BackgroundNocheAsset}Uses:1231Used by:1722
Symbol 1233 BitmapUsed by:1234
Symbol 1234 GraphicUses:1233Used by:1235
Symbol 1235 MovieClip {BackgroundTardeAsset}Uses:1234Used by:1722
Symbol 1236 BitmapUsed by:1237
Symbol 1237 GraphicUses:1236Used by:1238
Symbol 1238 MovieClip {BackgroundMananaAsset}Uses:1237Used by:1722
Symbol 1239 GraphicUsed by:1251
Symbol 1240 GraphicUsed by:1243 1245
Symbol 1241 EditableTextUses:38Used by:1242
Symbol 1242 MovieClip {PPGZ_fla.TextContainer_609}Uses:1241Used by:1243 1244 1245 1246
Symbol 1243 MovieClip {PPGZ_fla._Out_608}Uses:1240 1242Used by:1248
Symbol 1244 MovieClip {PPGZ_fla._Down_610}Uses:45 1242Used by:1248
Symbol 1245 MovieClip {PPGZ_fla._Over_611}Uses:1240 1242Used by:1248
Symbol 1246 MovieClip {PPGZ_fla._Up_612}Uses:45 1242Used by:1248
Symbol 1247 MovieClipUses:45Used by:1248
Symbol 1248 MovieClip {ContinueMicrophoneBtn}Uses:1243 1244 1245 1246 1247Used by:1251
Symbol 1249 EditableTextUses:38Used by:1250
Symbol 1250 MovieClip {PPGZ_fla.MicrophoneTitleTxt_614}Uses:1249Used by:1251
Symbol 1251 MovieClip {MicrophoneScreenAsset}Uses:1239 1248 1250Used by:1722
Symbol 1252 GraphicUsed by:1253 1710
Symbol 1253 MovieClipUses:1252Used by:1269
Symbol 1254 GraphicUsed by:1255 1711
Symbol 1255 MovieClipUses:1254Used by:1269
Symbol 1256 BitmapUsed by:1257
Symbol 1257 GraphicUses:1256Used by:1258
Symbol 1258 MovieClipUses:1257Used by:1259 1260 1261
Symbol 1259 MovieClipUses:1258Used by:1269
Symbol 1260 MovieClipUses:1258Used by:1269
Symbol 1261 MovieClipUses:1258Used by:1269
Symbol 1262 BitmapUsed by:1263
Symbol 1263 GraphicUses:1262Used by:1264
Symbol 1264 MovieClipUses:1263Used by:1269
Symbol 1265 TextUses:27Used by:1266
Symbol 1266 MovieClipUses:1265Used by:1269
Symbol 1267 GraphicUsed by:1268
Symbol 1268 MovieClipUses:1267Used by:1269
Symbol 1269 MovieClip {TransicionSponsorAsset}Uses:1253 1255 1259 1260 1261 1264 1266 1268Used by:1722
Symbol 1270 BitmapUsed by:1271
Symbol 1271 GraphicUses:1270Used by:1272
Symbol 1272 MovieClipUses:1271Used by:1368
Symbol 1273 BitmapUsed by:1274
Symbol 1274 GraphicUses:1273Used by:1275
Symbol 1275 MovieClipUses:1274Used by:1368
Symbol 1276 GraphicUsed by:1277
Symbol 1277 MovieClipUses:1276Used by:1368
Symbol 1278 BitmapUsed by:1279
Symbol 1279 GraphicUses:1278Used by:1280
Symbol 1280 MovieClipUses:1279Used by:1368
Symbol 1281 BitmapUsed by:1282
Symbol 1282 GraphicUses:1281Used by:1283
Symbol 1283 MovieClipUses:1282Used by:1368
Symbol 1284 BitmapUsed by:1285
Symbol 1285 GraphicUses:1284Used by:1286
Symbol 1286 MovieClipUses:1285Used by:1368
Symbol 1287 BitmapUsed by:1288
Symbol 1288 GraphicUses:1287Used by:1289
Symbol 1289 MovieClipUses:1288Used by:1290 1291 1368
Symbol 1290 MovieClipUses:1289Used by:1305
Symbol 1291 MovieClip {PPGZ_fla._OverS_636}Uses:1289Used by:1305
Symbol 1292 GraphicUsed by:1293
Symbol 1293 MovieClipUses:1292Used by:1294
Symbol 1294 MovieClipUses:1293Used by:1304
Symbol 1295 GraphicUsed by:1296
Symbol 1296 MovieClipUses:1295Used by:1304
Symbol 1297 VideoUsed by:1303
Symbol 1298 BitmapUsed by:1299 1301
Symbol 1299 GraphicUses:1298Used by:1300
Symbol 1300 MovieClipUses:1299Used by:1303
Symbol 1301 GraphicUses:1298Used by:1302
Symbol 1302 MovieClipUses:1301Used by:1303
Symbol 1303 MovieClipUses:1297 1300 1302Used by:1304
Symbol 1304 MovieClipUses:1294 1296 1303Used by:1305
Symbol 1305 MovieClip {PPGZ_fla.compuSorpresa_633}Uses:1290 1291 1304Used by:1368
Symbol 1306 BitmapUsed by:1307
Symbol 1307 GraphicUses:1306Used by:1311
Symbol 1308 BitmapUsed by:1309
Symbol 1309 GraphicUses:1308Used by:1310
Symbol 1310 MovieClipUses:1309Used by:1311
Symbol 1311 MovieClip {PPGZ_fla.logo_mc_644}Uses:1307 1310Used by:1368
Symbol 1312 BitmapUsed by:1313
Symbol 1313 GraphicUses:1312Used by:1314
Symbol 1314 MovieClipUses:1313Used by:1320 1321 1322 1323
Symbol 1315 BitmapUsed by:1316
Symbol 1316 GraphicUses:1315Used by:1317
Symbol 1317 MovieClipUses:1316Used by:1320 1321 1322 1323
Symbol 1318 EditableTextUses:27Used by:1319
Symbol 1319 MovieClip {PPGZ_fla.TextContainer_650}Uses:1318Used by:1320 1321 1322 1323
Symbol 1320 MovieClip {PPGZ_fla._Out2_647}Uses:1314 1317 1319Used by:1325
Symbol 1321 MovieClip {PPGZ_fla._Down_651}Uses:1314 1317 1319Used by:1325
Symbol 1322 MovieClip {PPGZ_fla._Over_652}Uses:1314 1317 1319Used by:1325
Symbol 1323 MovieClip {PPGZ_fla._Up_653}Uses:1314 1317 1319Used by:1325
Symbol 1324 MovieClipUses:45Used by:1325 1339
Symbol 1325 MovieClip {PlayMainMenuBtn}Uses:1320 1321 1322 1323 1324Used by:1368
Symbol 1326 BitmapUsed by:1327 1335
Symbol 1327 GraphicUses:1326Used by:1333 1338 1339
Symbol 1328 BitmapUsed by:1329
Symbol 1329 GraphicUses:1328Used by:1332
Symbol 1330 FontUsed by:1331
Symbol 1331 EditableTextUses:1330Used by:1332
Symbol 1332 MovieClip {PPGZ_fla.detallecartoonlogo_657}Uses:1329 1331Used by:1334 1337
Symbol 1333 MovieClipUses:1327Used by:1334 1337
Symbol 1334 MovieClip {PPGZ_fla._Out2cn_656}Uses:1332 1333Used by:1339
Symbol 1335 GraphicUses:1326Used by:1336
Symbol 1336 MovieClipUses:1335Used by:1339
Symbol 1337 MovieClip {PPGZ_fla._Overcn_660}Uses:1332 1333Used by:1339
Symbol 1338 MovieClipUses:1327Used by:1339
Symbol 1339 MovieClip {cartoon_btn}Uses:1327 1334 1336 1337 1338 1324Used by:1368
Symbol 1340 BitmapUsed by:1341
Symbol 1341 GraphicUses:1340Used by:1342
Symbol 1342 MovieClipUses:1341Used by:1368
Symbol 1343 BitmapUsed by:1344
Symbol 1344 GraphicUses:1343Used by:1345
Symbol 1345 MovieClipUses:1344Used by:1368
Symbol 1346 BitmapUsed by:1349
Symbol 1347 BitmapUsed by:1349
Symbol 1348 BitmapUsed by:1349
Symbol 1349 GraphicUses:1346 1347 1348Used by:1350
Symbol 1350 MovieClipUses:1349Used by:1368
Symbol 1351 GraphicUsed by:1352
Symbol 1352 MovieClipUses:1351Used by:1353
Symbol 1353 MovieClipUses:1352Used by:1368
Symbol 1354 BitmapUsed by:1355
Symbol 1355 GraphicUses:1354Used by:1368
Symbol 1356 BitmapUsed by:1357
Symbol 1357 GraphicUses:1356Used by:1358
Symbol 1358 MovieClipUses:1357Used by:1368
Symbol 1359 BitmapUsed by:1360
Symbol 1360 GraphicUses:1359Used by:1361
Symbol 1361 MovieClipUses:1360Used by:1368
Symbol 1362 GraphicUsed by:1363
Symbol 1363 MovieClipUses:1362Used by:1368
Symbol 1364 BitmapUsed by:1365
Symbol 1365 GraphicUses:1364Used by:1366
Symbol 1366 MovieClipUses:1365Used by:1368
Symbol 1367 GraphicUsed by:1368
Symbol 1368 MovieClip {PPGZ_fla.fondo_626}Uses:1272 1275 1277 1280 1283 1286 1305 1311 1325 1339 1289 1342 1345 1350 1353 1355 1358 1361 1363 1366 1367Used by:1369
Symbol 1369 MovieClip {MainMenuAsset}Uses:1368Used by:1722
Symbol 1370 BitmapUsed by:1371
Symbol 1371 GraphicUses:1370Used by:1372
Symbol 1372 MovieClipUses:1371Used by:1375 1376 1377 1378
Symbol 1373 EditableTextUses:27Used by:1374
Symbol 1374 MovieClip {PPGZ_fla.TextContainer_675}Uses:1373Used by:1375 1376 1377 1378
Symbol 1375 MovieClip {PPGZ_fla._Out_673}Uses:1372 1374Used by:1380
Symbol 1376 MovieClip {PPGZ_fla._Down_676}Uses:1372 1374Used by:1380
Symbol 1377 MovieClip {PPGZ_fla._Over_677}Uses:1372 1374Used by:1380
Symbol 1378 MovieClip {PPGZ_fla._Up_678}Uses:1372 1374Used by:1380
Symbol 1379 MovieClipUses:45Used by:1380
Symbol 1380 MovieClip {ContinueInstructionsBtn}Uses:1375 1376 1377 1378 1379Used by:1462
Symbol 1381 BitmapUsed by:1383
Symbol 1382 BitmapUsed by:1383
Symbol 1383 GraphicUses:1381 1382Used by:1412
Symbol 1384 EditableTextUses:27Used by:1412
Symbol 1385 EditableTextUses:27Used by:1412
Symbol 1386 BitmapUsed by:1387
Symbol 1387 GraphicUses:1386Used by:1388
Symbol 1388 MovieClipUses:1387Used by:1412
Symbol 1389 BitmapUsed by:1390
Symbol 1390 GraphicUses:1389Used by:1391
Symbol 1391 MovieClipUses:1390Used by:1412
Symbol 1392 BitmapUsed by:1393
Symbol 1393 GraphicUses:1392Used by:1394
Symbol 1394 MovieClipUses:1393Used by:1412
Symbol 1395 GraphicUses:86Used by:1396
Symbol 1396 MovieClipUses:1395Used by:1412
Symbol 1397 BitmapUsed by:1398
Symbol 1398 GraphicUses:1397Used by:1399
Symbol 1399 MovieClipUses:1398Used by:1412
Symbol 1400 BitmapUsed by:1401
Symbol 1401 GraphicUses:1400Used by:1412 1602 1604 1624
Symbol 1402 GraphicUsed by:1403
Symbol 1403 MovieClipUses:1402Used by:1412 1602 1604 1624
Symbol 1404 BitmapUsed by:1405
Symbol 1405 GraphicUses:1404Used by:1406
Symbol 1406 MovieClipUses:1405Used by:1412 1604
Symbol 1407 BitmapUsed by:1409 1603
Symbol 1408 BitmapUsed by:1409 1597
Symbol 1409 GraphicUses:1407 1408Used by:1412
Symbol 1410 GraphicUsed by:1411
Symbol 1411 MovieClipUses:1410Used by:1412
Symbol 1412 MovieClip {PPGZ_fla.placaI_680}Uses:1383 1384 1385 1388 1391 1394 1396 1399 1401 1403 1406 1409 1411Used by:1462
Symbol 1413 FontUsed by:1414 1514 1515 1516 1591 1701
Symbol 1414 EditableTextUses:1413Used by:1415
Symbol 1415 MovieClip {PPGZ_fla.InstructionsTitleTxt_689}Uses:1414Used by:1462
Symbol 1416 BitmapUsed by:1417
Symbol 1417 GraphicUses:1416Used by:1462 1593 1709
Symbol 1418 BitmapUsed by:1419
Symbol 1419 GraphicUses:1418Used by:1462 1593 1709
Symbol 1420 BitmapUsed by:1421
Symbol 1421 GraphicUses:1420Used by:1462 1593 1709
Symbol 1422 BitmapUsed by:1423
Symbol 1423 GraphicUses:1422Used by:1462 1593 1709
Symbol 1424 BitmapUsed by:1425
Symbol 1425 GraphicUses:1424Used by:1462 1593 1709
Symbol 1426 BitmapUsed by:1427
Symbol 1427 GraphicUses:1426Used by:1462 1593 1709
Symbol 1428 BitmapUsed by:1429
Symbol 1429 GraphicUses:1428Used by:1462 1593 1709
Symbol 1430 BitmapUsed by:1431
Symbol 1431 GraphicUses:1430Used by:1462 1593 1709
Symbol 1432 GraphicUsed by:1433
Symbol 1433 MovieClipUses:1432Used by:1462 1593 1709
Symbol 1434 BitmapUsed by:1435
Symbol 1435 GraphicUses:1434Used by:1462 1593 1709
Symbol 1436 BitmapUsed by:1437
Symbol 1437 GraphicUses:1436Used by:1462 1593 1709
Symbol 1438 BitmapUsed by:1439
Symbol 1439 GraphicUses:1438Used by:1462 1593 1709
Symbol 1440 BitmapUsed by:1441
Symbol 1441 GraphicUses:1440Used by:1462 1593 1709
Symbol 1442 BitmapUsed by:1443
Symbol 1443 GraphicUses:1442Used by:1462 1593 1709
Symbol 1444 BitmapUsed by:1445
Symbol 1445 GraphicUses:1444Used by:1462 1593 1709
Symbol 1446 BitmapUsed by:1447
Symbol 1447 GraphicUses:1446Used by:1462 1593 1709
Symbol 1448 BitmapUsed by:1449
Symbol 1449 GraphicUses:1448Used by:1462 1593 1709
Symbol 1450 BitmapUsed by:1451
Symbol 1451 GraphicUses:1450Used by:1462 1593 1709
Symbol 1452 BitmapUsed by:1453
Symbol 1453 GraphicUses:1452Used by:1462 1593 1709
Symbol 1454 BitmapUsed by:1455
Symbol 1455 GraphicUses:1454Used by:1462 1593 1709
Symbol 1456 BitmapUsed by:1457
Symbol 1457 GraphicUses:1456Used by:1462 1593 1709
Symbol 1458 BitmapUsed by:1459
Symbol 1459 GraphicUses:1458Used by:1462 1593 1709
Symbol 1460 BitmapUsed by:1461
Symbol 1461 GraphicUses:1460Used by:1462 1593 1709
Symbol 1462 MovieClip {InstructionsAsset}Uses:1380 1412 1415 1417 1419 1421 1423 1425 1427 1429 1431 1433 1435 1437 1439 1441 1443 1445 1447 1449 1451 1453 1455 1457 1459 1461Used by:1722
Symbol 1463 BitmapUsed by:1464
Symbol 1464 GraphicUses:1463Used by:1465
Symbol 1465 MovieClipUses:1464Used by:1468
Symbol 1466 BitmapUsed by:1467
Symbol 1467 GraphicUses:1466Used by:1468
Symbol 1468 MovieClipUses:1465 1467Used by:1566
Symbol 1469 BitmapUsed by:1470
Symbol 1470 GraphicUses:1469Used by:1471
Symbol 1471 MovieClipUses:1470Used by:1566
Symbol 1472 BitmapUsed by:1473
Symbol 1473 GraphicUses:1472Used by:1474
Symbol 1474 MovieClipUses:1473Used by:1566
Symbol 1475 BitmapUsed by:1476
Symbol 1476 GraphicUses:1475Used by:1477
Symbol 1477 MovieClipUses:1476Used by:1480 1481 1482 1483
Symbol 1478 EditableTextUses:27Used by:1479
Symbol 1479 MovieClip {PPGZ_fla.TextContainer_699}Uses:1478Used by:1480 1481 1482 1483
Symbol 1480 MovieClip {PPGZ_fla._Out_697}Uses:1477 1479Used by:1485
Symbol 1481 MovieClip {PPGZ_fla._Down_700}Uses:1477 1479Used by:1485
Symbol 1482 MovieClip {PPGZ_fla._Over_701}Uses:1477 1479Used by:1485
Symbol 1483 MovieClip {PPGZ_fla._Up_702}Uses:1477 1479Used by:1485
Symbol 1484 MovieClipUses:45Used by:1485
Symbol 1485 MovieClip {MainMenuLostBtn}Uses:1480 1481 1482 1483 1484Used by:1566 1593
Symbol 1486 BitmapUsed by:1487
Symbol 1487 GraphicUses:1486Used by:1488 1494
Symbol 1488 MovieClipUses:1487Used by:1491 1492 1493
Symbol 1489 EditableTextUses:27Used by:1490
Symbol 1490 MovieClip {PPGZ_fla.TextContainer_707}Uses:1489Used by:1491 1492 1493 1494
Symbol 1491 MovieClip {PPGZ_fla._Out_705}Uses:1488 1490Used by:1496
Symbol 1492 MovieClip {PPGZ_fla._Down_708}Uses:1488 1490Used by:1496
Symbol 1493 MovieClip {PPGZ_fla._Over_709}Uses:1488 1490Used by:1496
Symbol 1494 MovieClip {PPGZ_fla._Up_710}Uses:1487 1490Used by:1496
Symbol 1495 MovieClipUses:45Used by:1496
Symbol 1496 MovieClip {PlayAgainLostBtn}Uses:1491 1492 1493 1494 1495Used by:1566 1593
Symbol 1497 BitmapUsed by:1499
Symbol 1498 BitmapUsed by:1499
Symbol 1499 GraphicUses:1497 1498Used by:1513
Symbol 1500 EditableTextUses:27Used by:1513
Symbol 1501 EditableTextUses:27Used by:1513
Symbol 1502 EditableTextUses:27Used by:1513
Symbol 1503 EditableTextUses:27Used by:1513
Symbol 1504 EditableTextUses:27Used by:1513
Symbol 1505 EditableTextUses:27Used by:1513
Symbol 1506 EditableTextUses:27Used by:1513
Symbol 1507 EditableTextUses:27Used by:1513
Symbol 1508 EditableTextUses:27Used by:1513
Symbol 1509 EditableTextUses:27Used by:1513
Symbol 1510 EditableTextUses:27Used by:1513
Symbol 1511 EditableTextUses:27Used by:1513
Symbol 1512 EditableTextUses:27Used by:1513
Symbol 1513 MovieClip {placaG}Uses:1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512Used by:1566
Symbol 1514 EditableTextUses:1413Used by:1517
Symbol 1515 EditableTextUses:1413Used by:1517
Symbol 1516 EditableTextUses:1413Used by:1517
Symbol 1517 MovieClip {GameWonTitleTxt}Uses:1514 1515 1516Used by:1566
Symbol 1518 BitmapUsed by:1519
Symbol 1519 GraphicUses:1518Used by:1524
Symbol 1520 BitmapUsed by:1521
Symbol 1521 GraphicUses:1520Used by:1524
Symbol 1522 BitmapUsed by:1523
Symbol 1523 GraphicUses:1522Used by:1524
Symbol 1524 MovieClip {PPGZ_fla.categoriaslastforever_714}Uses:1519 1521 1523Used by:1566 1593 1709
Symbol 1525 GraphicUsed by:1526
Symbol 1526 MovieClipUses:1525Used by:1547
Symbol 1527 GraphicUsed by:1528
Symbol 1528 MovieClipUses:1527Used by:1547
Symbol 1529 GraphicUsed by:1530
Symbol 1530 MovieClipUses:1529Used by:1547
Symbol 1531 GraphicUsed by:1532
Symbol 1532 MovieClipUses:1531Used by:1547
Symbol 1533 GraphicUsed by:1534
Symbol 1534 MovieClipUses:1533Used by:1547
Symbol 1535 GraphicUsed by:1536
Symbol 1536 MovieClipUses:1535Used by:1547
Symbol 1537 GraphicUsed by:1538
Symbol 1538 MovieClipUses:1537Used by:1547
Symbol 1539 GraphicUsed by:1540
Symbol 1540 MovieClipUses:1539Used by:1547
Symbol 1541 GraphicUsed by:1542
Symbol 1542 MovieClipUses:1541Used by:1547
Symbol 1543 GraphicUsed by:1544
Symbol 1544 MovieClipUses:1543Used by:1547
Symbol 1545 GraphicUsed by:1546
Symbol 1546 MovieClipUses:1545Used by:1547
Symbol 1547 MovieClipUses:1526 1528 1530 1532 1534 1536 1538 1540 1542 1544 17 1546Used by:1566
Symbol 1548 GraphicUsed by:1552
Symbol 1549 BitmapUsed by:1550
Symbol 1550 GraphicUses:1549Used by:1551
Symbol 1551 MovieClipUses:1550Used by:1552 1554 1712 1713 1714
Symbol 1552 MovieClipUses:1548 1551Used by:1566
Symbol 1553 GraphicUsed by:1554
Symbol 1554 MovieClipUses:1553 1551Used by:1566
Symbol 1555 BitmapUsed by:1556
Symbol 1556 GraphicUses:1555Used by:1565
Symbol 1557 BitmapUsed by:1558
Symbol 1558 GraphicUses:1557Used by:1565
Symbol 1559 BitmapUsed by:1560 1564
Symbol 1560 GraphicUses:1559Used by:1565
Symbol 1561 GraphicUsed by:1565
Symbol 1562 GraphicUsed by:1565
Symbol 1563 GraphicUsed by:1565
Symbol 1564 GraphicUses:1559Used by:1565
Symbol 1565 MovieClipUses:1556 1558 1560 1561 1562 1563 1564Used by:1566
Symbol 1566 MovieClip {GameWonAsset}Uses:1468 1471 1474 1485 1496 1513 1517 1524 1547 1552 1554 1565Used by:1722
Symbol 1567 BitmapUsed by:1570
Symbol 1568 BitmapUsed by:1570
Symbol 1569 BitmapUsed by:1570
Symbol 1570 GraphicUses:1567 1568 1569Used by:1571
Symbol 1571 MovieClipUses:1570Used by:1593
Symbol 1572 EditableTextUses:27Used by:1590
Symbol 1573 EditableTextUses:27Used by:1590
Symbol 1574 EditableTextUses:27Used by:1590
Symbol 1575 EditableTextUses:27Used by:1590
Symbol 1576 EditableTextUses:27Used by:1590
Symbol 1577 EditableTextUses:27Used by:1590
Symbol 1578 EditableTextUses:27Used by:1590
Symbol 1579 EditableTextUses:27Used by:1590
Symbol 1580 EditableTextUses:27Used by:1590
Symbol 1581 EditableTextUses:27Used by:1590
Symbol 1582 EditableTextUses:27Used by:1590
Symbol 1583 EditableTextUses:27Used by:1590
Symbol 1584 EditableTextUses:27Used by:1590
Symbol 1585 EditableTextUses:27Used by:1590
Symbol 1586 EditableTextUses:27Used by:1590
Symbol 1587 EditableTextUses:27Used by:1590
Symbol 1588 EditableTextUses:27Used by:1590
Symbol 1589 EditableTextUses:27Used by:1590
Symbol 1590 MovieClip {ScoreText}Uses:1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589Used by:1593
Symbol 1591 EditableTextUses:1413Used by:1592
Symbol 1592 MovieClip {PPGZ_fla.GameLostTitleTxt_735}Uses:1591Used by:1593
Symbol 1593 MovieClip {GameLostAsset}Uses:1496 1485 1571 1590 1592 1524 1417 1419 1421 1423 1433 1425 1427 1429 1431 1435 1437 1439 1441 1443 1445 1447 1449 1451 1453 1455 1457 1459 1461Used by:1722
Symbol 1594 BitmapUsed by:1595
Symbol 1595 GraphicUses:1594Used by:1596
Symbol 1596 MovieClipUses:1595Used by:1602
Symbol 1597 GraphicUses:1408Used by:1602 1604 1624
Symbol 1598 BitmapUsed by:1599
Symbol 1599 GraphicUses:1598Used by:1602
Symbol 1600 EditableTextUses:29Used by:1601
Symbol 1601 MovieClip {PPGZ_fla.ok_mc_739}Uses:1600Used by:1602 1604 1624
Symbol 1602 MovieClip {PPGZ_fla.energy2_737}Uses:1401 1403 1596 1597 1599 1601Used by:1662
Symbol 1603 GraphicUses:1407Used by:1604
Symbol 1604 MovieClip {PPGZ_fla.energy1_740}Uses:1401 1403 1406 1597 1603 1601Used by:1662
Symbol 1605 BitmapUsed by:1606
Symbol 1606 GraphicUses:1605Used by:1607
Symbol 1607 MovieClipUses:1606Used by:1613 1614 1615 1616
Symbol 1608 EditableTextUses:27Used by:1609
Symbol 1609 MovieClip {PPGZ_fla.TextContainer_744}Uses:1608Used by:1613 1614 1615 1616
Symbol 1610 BitmapUsed by:1611
Symbol 1611 GraphicUses:1610Used by:1612
Symbol 1612 MovieClipUses:1611Used by:1613 1614 1615 1616
Symbol 1613 MovieClip {PPGZ_fla._Out_742}Uses:1607 1609 1612Used by:1618
Symbol 1614 MovieClip {PPGZ_fla._Down_746}Uses:1607 1609 1612Used by:1618
Symbol 1615 MovieClip {PPGZ_fla._Over_747}Uses:1607 1609 1612Used by:1618
Symbol 1616 MovieClip {PPGZ_fla._Up_748}Uses:1607 1609 1612Used by:1618
Symbol 1617 MovieClipUses:45Used by:1618
Symbol 1618 MovieClip {ContinueHudBtn}Uses:1613 1614 1615 1616 1617Used by:1662
Symbol 1619 BitmapUsed by:1620
Symbol 1620 GraphicUses:1619Used by:1621
Symbol 1621 MovieClipUses:1620Used by:1624
Symbol 1622 BitmapUsed by:1623
Symbol 1623 GraphicUses:1622Used by:1624
Symbol 1624 MovieClip {PPGZ_fla.energybar_750}Uses:1401 1403 1621 1597 1623 1601Used by:1662
Symbol 1625 BitmapUsed by:1626
Symbol 1626 GraphicUses:1625Used by:1627
Symbol 1627 MovieClipUses:1626Used by:1628 1629 1630 1631
Symbol 1628 MovieClip {PPGZ_fla._OutSn_754}Uses:1627Used by:1633
Symbol 1629 MovieClipUses:1627Used by:1633
Symbol 1630 MovieClip {PPGZ_fla._OverSn_757}Uses:1627Used by:1633
Symbol 1631 MovieClipUses:1627Used by:1633
Symbol 1632 MovieClipUses:45Used by:1633 1641
Symbol 1633 MovieClip {SinSonido}Uses:1628 1629 1630 1631 1632Used by:1642
Symbol 1634 BitmapUsed by:1635
Symbol 1635 GraphicUses:1634Used by:1636
Symbol 1636 MovieClipUses:1635Used by:1637 1638 1639 1640
Symbol 1637 MovieClip {PPGZ_fla._Out_761}Uses:1636Used by:1641
Symbol 1638 MovieClipUses:1636Used by:1641
Symbol 1639 MovieClip {PPGZ_fla._Over_764}Uses:1636Used by:1641
Symbol 1640 MovieClipUses:1636Used by:1641
Symbol 1641 MovieClip {ConSonido}Uses:1637 1638 1639 1640 1632Used by:1642
Symbol 1642 MovieClip {SoundBtn}Uses:1633 1641Used by:1662
Symbol 1643 BitmapUsed by:1644
Symbol 1644 GraphicUses:1643Used by:1645
Symbol 1645 MovieClipUses:1644Used by:1646 1647 1648 1649
Symbol 1646 MovieClip {PPGZ_fla._Out_767}Uses:1645Used by:1651
Symbol 1647 MovieClipUses:1645Used by:1651
Symbol 1648 MovieClip {PPGZ_fla._Over_770}Uses:1645Used by:1651
Symbol 1649 MovieClipUses:1645Used by:1651
Symbol 1650 MovieClipUses:45Used by:1651
Symbol 1651 MovieClip {HelpBtn}Uses:1646 1647 1648 1649 1650Used by:1662
Symbol 1652 BitmapUsed by:1653
Symbol 1653 GraphicUses:1652Used by:1656
Symbol 1654 EditableTextUses:27Used by:1656
Symbol 1655 EditableTextUses:27Used by:1656
Symbol 1656 MovieClip {PPGZ_fla.ScoreText_773}Uses:1653 1654 1655Used by:1662
Symbol 1657 BitmapUsed by:1658
Symbol 1658 GraphicUses:1657Used by:1661
Symbol 1659 EditableTextUses:27 29Used by:1661
Symbol 1660 EditableTextUses:27Used by:1661
Symbol 1661 MovieClip {PPGZ_fla.tiempo_txt_774}Uses:1658 1659 1660Used by:1662
Symbol 1662 MovieClip {HUDAsset}Uses:1602 1604 1618 1624 1642 1651 1656 1661 309Used by:1722
Symbol 1663 BitmapUsed by:1664
Symbol 1664 GraphicUses:1663Used by:1665
Symbol 1665 MovieClipUses:1664Used by:1668 1669 1670 1671
Symbol 1666 EditableTextUses:27Used by:1667
Symbol 1667 MovieClip {PPGZ_fla.TextContainer_779}Uses:1666Used by:1668 1669 1670 1671
Symbol 1668 MovieClip {PPGZ_fla._Out_777}Uses:1665 1667Used by:1673
Symbol 1669 MovieClip {PPGZ_fla._Down_780}Uses:1665 1667Used by:1673
Symbol 1670 MovieClip {PPGZ_fla._Over_781}Uses:1665 1667Used by:1673
Symbol 1671 MovieClip {PPGZ_fla._Up_782}Uses:1665 1667Used by:1673
Symbol 1672 MovieClipUses:45Used by:1673
Symbol 1673 MovieClip {ContinueResultsBtn}Uses:1668 1669 1670 1671 1672Used by:1709
Symbol 1674 BitmapUsed by:1676
Symbol 1675 BitmapUsed by:1676
Symbol 1676 GraphicUses:1674 1675Used by:1700
Symbol 1677 EditableTextUses:27Used by:1695
Symbol 1678 EditableTextUses:27Used by:1695
Symbol 1679 EditableTextUses:27Used by:1695
Symbol 1680 EditableTextUses:27Used by:1695
Symbol 1681 EditableTextUses:27Used by:1695
Symbol 1682 EditableTextUses:27Used by:1695
Symbol 1683 EditableTextUses:27Used by:1695
Symbol 1684 EditableTextUses:27Used by:1695
Symbol 1685 EditableTextUses:27Used by:1695
Symbol 1686 EditableTextUses:27Used by:1695
Symbol 1687 EditableTextUses:27Used by:1695
Symbol 1688 EditableTextUses:27Used by:1695
Symbol 1689 EditableTextUses:27Used by:1695
Symbol 1690 EditableTextUses:27Used by:1695
Symbol 1691 EditableTextUses:27Used by:1695
Symbol 1692 EditableTextUses:27Used by:1695
Symbol 1693 EditableTextUses:27Used by:1695
Symbol 1694 EditableTextUses:27Used by:1695
Symbol 1695 MovieClip {resultados1_txt}Uses:1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694Used by:1700
Symbol 1696 BitmapUsed by:1699
Symbol 1697 BitmapUsed by:1699
Symbol 1698 BitmapUsed by:1699
Symbol 1699 GraphicUses:1696 1697 1698Used by:1700
Symbol 1700 MovieClip {PPGZ_fla.placaR_784}Uses:1676 1695 1699Used by:1709
Symbol 1701 EditableTextUses:1413Used by:1702
Symbol 1702 MovieClip {PPGZ_fla.ResultsTitleTxt_786}Uses:1701Used by:1709
Symbol 1703 BitmapUsed by:1704
Symbol 1704 GraphicUses:1703Used by:1705
Symbol 1705 MovieClipUses:1704Used by:1709
Symbol 1706 BitmapUsed by:1707
Symbol 1707 GraphicUses:1706Used by:1708
Symbol 1708 MovieClipUses:1707Used by:1709
Symbol 1709 MovieClip {LevelResultsAsset}Uses:1673 1700 1702 1524 1417 1419 1421 1423 1433 1425 1705 1708 1427 1429 1431 1435 1437 1439 1441 1443 1445 1447 1449 1451 1453 1455 1457 1459 1461Used by:1722
Symbol 1710 MovieClipUses:1252Used by:1718
Symbol 1711 MovieClipUses:1254Used by:1718
Symbol 1712 MovieClipUses:1551Used by:1718
Symbol 1713 MovieClipUses:1551Used by:1718
Symbol 1714 MovieClipUses:1551Used by:1718
Symbol 1715 BitmapUsed by:1716
Symbol 1716 GraphicUses:1715Used by:1717
Symbol 1717 MovieClipUses:1716Used by:1718
Symbol 1718 MovieClip {TransitionAsset}Uses:1710 1711 1712 1713 1714 1717Used by:1722
Symbol 1719 EditableTextUses:27 29Used by:1720
Symbol 1720 MovieClip {PPGZ_fla.TextContainer_797}Uses:1719Used by:1721
Symbol 1721 MovieClip {TextTransitionAsset}Uses:1720Used by:1722
Symbol 1722 MovieClip {PPGZ_fla._Resources_1}Uses:109 88 113 128 132 164 175 216 219 222 255 281 288 296 362 434 459 506 507 558 576 598 677 716 795 797 960 1092 1229 1232 1235 1238 1251 1269 1369 1462 1566 1593 1662 1709 1718 1721Used by:Timeline

Instance Names

"txt_txt"Symbol 31 MovieClip {PPGZ_fla.ProgressText_825} Frame 1Symbol 28 EditableText
"progress_txt"Symbol 31 MovieClip {PPGZ_fla.ProgressText_825} Frame 1Symbol 30 EditableText
"progressBar_mc"Symbol 34 MovieClip {PreloaderAsset} Frame 1Symbol 26 MovieClip
"progress_mc"Symbol 34 MovieClip {PreloaderAsset} Frame 1Symbol 31 MovieClip {PPGZ_fla.ProgressText_825}
"text_txt"Symbol 40 MovieClip {PPGZ_fla.TextContainer_97} Frame 1Symbol 39 EditableText
"textContainer_mc"Symbol 41 MovieClip {PPGZ_fla._OutV_95} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"textContainer_mc"Symbol 42 MovieClip {PPGZ_fla._DownV_98} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"textContainer_mc"Symbol 43 MovieClip {PPGZ_fla._OverV_99} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"textContainer_mc"Symbol 44 MovieClip {PPGZ_fla._UpV_100} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"out_mc"Symbol 47 MovieClip {_PopBtnVerde} Frame 1Symbol 41 MovieClip {PPGZ_fla._OutV_95}
"down_mc"Symbol 47 MovieClip {_PopBtnVerde} Frame 1Symbol 42 MovieClip {PPGZ_fla._DownV_98}
"over_mc"Symbol 47 MovieClip {_PopBtnVerde} Frame 1Symbol 43 MovieClip {PPGZ_fla._OverV_99}
"up_mc"Symbol 47 MovieClip {_PopBtnVerde} Frame 1Symbol 44 MovieClip {PPGZ_fla._UpV_100}
"textContainer_mc"Symbol 47 MovieClip {_PopBtnVerde} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"hitArea_mc"Symbol 47 MovieClip {_PopBtnVerde} Frame 1Symbol 46 MovieClip
"text_txt"Symbol 92 MovieClip {PPGZ_fla.tutor_txt_4} Frame 1Symbol 91 EditableText
"text_mc"Symbol 93 MovieClip {PPGZ_fla.tutor9_txt_3} Frame 1Symbol 92 MovieClip {PPGZ_fla.tutor_txt_4}
"text_mc"Symbol 94 MovieClip {PPGZ_fla.tutor2_txt_5} Frame 1Symbol 92 MovieClip {PPGZ_fla.tutor_txt_4}
"text_mc"Symbol 99 MovieClip {PPGZ_fla.tutor4_txt_8} Frame 1Symbol 92 MovieClip {PPGZ_fla.tutor_txt_4}
"text_mc"Symbol 104 MovieClip {PPGZ_fla.tutor6_txt_11} Frame 1Symbol 92 MovieClip {PPGZ_fla.tutor_txt_4}
"text_mc"Symbol 109 MovieClip {ProfesorAsset} Frame 1Symbol 93 MovieClip {PPGZ_fla.tutor9_txt_3}
"text_mc"Symbol 109 MovieClip {ProfesorAsset} Frame 2Symbol 94 MovieClip {PPGZ_fla.tutor2_txt_5}
"girl"Symbol 109 MovieClip {ProfesorAsset} Frame 2Symbol 98 MovieClip {PPGZ_fla.MiyakoTutor_6}
"text_mc"Symbol 109 MovieClip {ProfesorAsset} Frame 3Symbol 99 MovieClip {PPGZ_fla.tutor4_txt_8}
"girl"Symbol 109 MovieClip {ProfesorAsset} Frame 3Symbol 103 MovieClip {PPGZ_fla.MomokoTutor_9}
"text_mc"Symbol 109 MovieClip {ProfesorAsset} Frame 4Symbol 104 MovieClip {PPGZ_fla.tutor6_txt_11}
"girl"Symbol 109 MovieClip {ProfesorAsset} Frame 4Symbol 108 MovieClip {PPGZ_fla.KaoruTutor_12}
"bici"Symbol 137 MovieClip {PPGZ_fla.rosa_29} Frame 1Symbol 136 EditableText
"barra"Symbol 152 MovieClip {PPGZ_fla.barra_mc_31} Frame 1Symbol 149 MovieClip
"barra"Symbol 153 MovieClip {PPGZ_fla.celeste_30} Frame 1Symbol 152 MovieClip {PPGZ_fla.barra_mc_31}
"pedal"Symbol 161 MovieClip {PPGZ_fla.ppedal_39} Frame 1Symbol 160 MovieClip
"rosa"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 1Symbol 137 MovieClip {PPGZ_fla.rosa_29}
"pl_celeste"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 1Symbol 153 MovieClip {PPGZ_fla.celeste_30}
"uinion_mc"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 1Symbol 154 MovieClip
"timer_mc"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 1Symbol 85 MovieClip {TimerControlAsset}
"pedal_mc"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 1Symbol 161 MovieClip {PPGZ_fla.ppedal_39}
"sensor_mc"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 1Symbol 163 MovieClip
"flecha_mc"Symbol 175 MovieClip {ExerciseBikeAsset} Frame 1Symbol 171 MovieClip
"container_mc"Symbol 175 MovieClip {ExerciseBikeAsset} Frame 1Symbol 172 MovieClip
"hitArea_mc"Symbol 175 MovieClip {ExerciseBikeAsset} Frame 1Symbol 174 MovieClip
"container_mc"Symbol 219 MovieClip {StoolAsset} Frame 1Symbol 172 MovieClip
"screen_mc"Symbol 254 MovieClip {PPGZ_fla.Tev_70} Frame 1Symbol 253 MovieClip
"tv_mc"Symbol 255 MovieClip {TVAsset} Frame 1Symbol 254 MovieClip {PPGZ_fla.Tev_70}
"flecha_mc"Symbol 255 MovieClip {TVAsset} Frame 1Symbol 171 MovieClip
"hitArea_mc"Symbol 255 MovieClip {TVAsset} Frame 1Symbol 174 MovieClip
"tv"Symbol 260 MovieClip {PPGZ_fla.rosa_mc_81} Frame 1Symbol 259 EditableText
"on_off"Symbol 280 MovieClip {PPGZ_fla.verde_mc_82} Frame 1Symbol 269 MovieClip {PPGZ_fla.On_Off_83}
"prev_btn"Symbol 280 MovieClip {PPGZ_fla.verde_mc_82} Frame 1Symbol 274 MovieClip {PPGZ_fla.next_88}
"next_btn"Symbol 280 MovieClip {PPGZ_fla.verde_mc_82} Frame 1Symbol 279 MovieClip {PPGZ_fla.prev_91}
"tv"Symbol 281 MovieClip {RemoteControlAsset} Frame 1Symbol 260 MovieClip {PPGZ_fla.rosa_mc_81}
"verde_mc"Symbol 281 MovieClip {RemoteControlAsset} Frame 1Symbol 280 MovieClip {PPGZ_fla.verde_mc_82}
"pop_Btn"Symbol 281 MovieClip {RemoteControlAsset} Frame 1Symbol 47 MovieClip {_PopBtnVerde}
"timer_mc"Symbol 281 MovieClip {RemoteControlAsset} Frame 1Symbol 85 MovieClip {TimerControlAsset}
"container_mc"Symbol 288 MovieClip {ArmchairAsset} Frame 1Symbol 285 MovieClip
"phone_mc"Symbol 296 MovieClip {TelephoneAsset} Frame 1Symbol 293 MovieClip
"flecha_mc"Symbol 296 MovieClip {TelephoneAsset} Frame 1Symbol 171 MovieClip
"phone_mc"Symbol 296 MovieClip {TelephoneAsset} Frame 2Symbol 294 MovieClip
"phone_mc"Symbol 296 MovieClip {TelephoneAsset} Frame 3Symbol 295 MovieClip
"tel"Symbol 300 MovieClip {PPGZ_fla.bajotapa_mc_113} Frame 1Symbol 299 EditableText
"nro"Symbol 307 MovieClip {PPGZ_fla.pl1_117} Frame 1Symbol 306 EditableText
"nro"Symbol 310 MovieClip {PPGZ_fla.pl1LUZ_119} Frame 1Symbol 307 MovieClip {PPGZ_fla.pl1_117}
"nro"Symbol 311 MovieClip {PPGZ_fla.pl1d_120} Frame 1Symbol 307 MovieClip {PPGZ_fla.pl1_117}
"nro"Symbol 312 MovieClip {PPGZ_fla.btn1compu_116} Frame 1Symbol 307 MovieClip {PPGZ_fla.pl1_117}
"hitArea_mc"Symbol 312 MovieClip {PPGZ_fla.btn1compu_116} Frame 1Symbol 309 MovieClip
"pl1"Symbol 312 MovieClip {PPGZ_fla.btn1compu_116} Frame 2Symbol 310 MovieClip {PPGZ_fla.pl1LUZ_119}
"pl1a"Symbol 312 MovieClip {PPGZ_fla.btn1compu_116} Frame 3Symbol 311 MovieClip {PPGZ_fla.pl1d_120}
"nro"Symbol 314 MovieClip {PPGZ_fla.pl2_122} Frame 1Symbol 313 EditableText
"nro"Symbol 315 MovieClip {PPGZ_fla.pl1LUZ2_123} Frame 1Symbol 314 MovieClip {PPGZ_fla.pl2_122}
"nro"Symbol 316 MovieClip {PPGZ_fla.pl2d_124} Frame 1Symbol 314 MovieClip {PPGZ_fla.pl2_122}
"nro"Symbol 317 MovieClip {PPGZ_fla.btn2_121} Frame 1Symbol 314 MovieClip {PPGZ_fla.pl2_122}
"hitArea_mc"Symbol 317 MovieClip {PPGZ_fla.btn2_121} Frame 1Symbol 309 MovieClip
"pl1"Symbol 317 MovieClip {PPGZ_fla.btn2_121} Frame 2Symbol 315 MovieClip {PPGZ_fla.pl1LUZ2_123}
"pl1a"Symbol 317 MovieClip {PPGZ_fla.btn2_121} Frame 3Symbol 316 MovieClip {PPGZ_fla.pl2d_124}
"nro"Symbol 319 MovieClip {PPGZ_fla.pl3_126} Frame 1Symbol 318 EditableText
"nro"Symbol 320 MovieClip {PPGZ_fla.pl1LUZ3_127} Frame 1Symbol 319 MovieClip {PPGZ_fla.pl3_126}
"nro"Symbol 321 MovieClip {PPGZ_fla.pl3d_128} Frame 1Symbol 319 MovieClip {PPGZ_fla.pl3_126}
"hitArea_mc"Symbol 322 MovieClip {PPGZ_fla.btn3_125} Frame 1Symbol 309 MovieClip
"pl1"Symbol 322 MovieClip {PPGZ_fla.btn3_125} Frame 2Symbol 320 MovieClip {PPGZ_fla.pl1LUZ3_127}
"pl1a"Symbol 322 MovieClip {PPGZ_fla.btn3_125} Frame 3Symbol 321 MovieClip {PPGZ_fla.pl3d_128}
"nro"Symbol 324 MovieClip {PPGZ_fla.pl4_130} Frame 1Symbol 323 EditableText
"nro"Symbol 325 MovieClip {PPGZ_fla.pl1LUZ4_131} Frame 1Symbol 324 MovieClip {PPGZ_fla.pl4_130}
"nro"Symbol 326 MovieClip {PPGZ_fla.pl4d_132} Frame 1Symbol 324 MovieClip {PPGZ_fla.pl4_130}
"nro"Symbol 327 MovieClip {PPGZ_fla.btn4_129} Frame 1Symbol 324 MovieClip {PPGZ_fla.pl4_130}
"hitArea_mc"Symbol 327 MovieClip {PPGZ_fla.btn4_129} Frame 1Symbol 309 MovieClip
"pl1"Symbol 327 MovieClip {PPGZ_fla.btn4_129} Frame 2Symbol 325 MovieClip {PPGZ_fla.pl1LUZ4_131}
"pl1a"Symbol 327 MovieClip {PPGZ_fla.btn4_129} Frame 3Symbol 326 MovieClip {PPGZ_fla.pl4d_132}
"nro"Symbol 329 MovieClip {PPGZ_fla.pl5_134} Frame 1Symbol 328 EditableText
"nro"Symbol 330 MovieClip {PPGZ_fla.pl1LUZ5_135} Frame 1Symbol 329 MovieClip {PPGZ_fla.pl5_134}
"nro"Symbol 331 MovieClip {PPGZ_fla.pl5d_136} Frame 1Symbol 329 MovieClip {PPGZ_fla.pl5_134}
"nro"Symbol 332 MovieClip {PPGZ_fla.btn5_133} Frame 1Symbol 329 MovieClip {PPGZ_fla.pl5_134}
"hitArea_mc"Symbol 332 MovieClip {PPGZ_fla.btn5_133} Frame 1Symbol 309 MovieClip
"pl1"Symbol 332 MovieClip {PPGZ_fla.btn5_133} Frame 2Symbol 330 MovieClip {PPGZ_fla.pl1LUZ5_135}
"pl1a"Symbol 332 MovieClip {PPGZ_fla.btn5_133} Frame 3Symbol 331 MovieClip {PPGZ_fla.pl5d_136}
"nro"Symbol 334 MovieClip {PPGZ_fla.pl6_138} Frame 1Symbol 333 EditableText
"nro"Symbol 335 MovieClip {PPGZ_fla.pl1LUZ6_139} Frame 1Symbol 334 MovieClip {PPGZ_fla.pl6_138}
"nro"Symbol 336 MovieClip {PPGZ_fla.pl6d_140} Frame 1Symbol 334 MovieClip {PPGZ_fla.pl6_138}
"nro"Symbol 337 MovieClip {PPGZ_fla.btn6_137} Frame 1Symbol 334 MovieClip {PPGZ_fla.pl6_138}
"hitArea_mc"Symbol 337 MovieClip {PPGZ_fla.btn6_137} Frame 1Symbol 309 MovieClip
"pl1"Symbol 337 MovieClip {PPGZ_fla.btn6_137} Frame 2Symbol 335 MovieClip {PPGZ_fla.pl1LUZ6_139}
"pl1a"Symbol 337 MovieClip {PPGZ_fla.btn6_137} Frame 3Symbol 336 MovieClip {PPGZ_fla.pl6d_140}
"nro"Symbol 339 MovieClip {PPGZ_fla.pl7_142} Frame 1Symbol 338 EditableText
"nro"Symbol 340 MovieClip {PPGZ_fla.pl1LUZ7_143} Frame 1Symbol 339 MovieClip {PPGZ_fla.pl7_142}
"nro"Symbol 341 MovieClip {PPGZ_fla.pl7d_144} Frame 1Symbol 339 MovieClip {PPGZ_fla.pl7_142}
"nro"Symbol 342 MovieClip {PPGZ_fla.btn7_141} Frame 1Symbol 339 MovieClip {PPGZ_fla.pl7_142}
"hitArea_mc"Symbol 342 MovieClip {PPGZ_fla.btn7_141} Frame 1Symbol 309 MovieClip
"pl1"Symbol 342 MovieClip {PPGZ_fla.btn7_141} Frame 2Symbol 340 MovieClip {PPGZ_fla.pl1LUZ7_143}
"pl1a"Symbol 342 MovieClip {PPGZ_fla.btn7_141} Frame 3Symbol 341 MovieClip {PPGZ_fla.pl7d_144}
"nro"Symbol 344 MovieClip {PPGZ_fla.pl8_146} Frame 1Symbol 343 EditableText
"nro"Symbol 345 MovieClip {PPGZ_fla.pl1LUZ8_147} Frame 1Symbol 344 MovieClip {PPGZ_fla.pl8_146}
"nro"Symbol 346 MovieClip {PPGZ_fla.pl8d_148} Frame 1Symbol 344 MovieClip {PPGZ_fla.pl8_146}
"nro"Symbol 347 MovieClip {PPGZ_fla.btn8_145} Frame 1Symbol 344 MovieClip {PPGZ_fla.pl8_146}
"hitArea_mc"Symbol 347 MovieClip {PPGZ_fla.btn8_145} Frame 1Symbol 309 MovieClip
"pl1"Symbol 347 MovieClip {PPGZ_fla.btn8_145} Frame 2Symbol 345 MovieClip {PPGZ_fla.pl1LUZ8_147}
"pl1a"Symbol 347 MovieClip {PPGZ_fla.btn8_145} Frame 3Symbol 346 MovieClip {PPGZ_fla.pl8d_148}
"nro"Symbol 349 MovieClip {PPGZ_fla.pl9_150} Frame 1Symbol 348 EditableText
"nro"Symbol 350 MovieClip {PPGZ_fla.pl1LUZ9_151} Frame 1Symbol 349 MovieClip {PPGZ_fla.pl9_150}
"nro"Symbol 351 MovieClip {PPGZ_fla.pl9d_152} Frame 1Symbol 349 MovieClip {PPGZ_fla.pl9_150}
"nro"Symbol 352 MovieClip {PPGZ_fla.btn9_149} Frame 1Symbol 349 MovieClip {PPGZ_fla.pl9_150}
"hitArea_mc"Symbol 352 MovieClip {PPGZ_fla.btn9_149} Frame 1Symbol 309 MovieClip
"pl1"Symbol 352 MovieClip {PPGZ_fla.btn9_149} Frame 2Symbol 350 MovieClip {PPGZ_fla.pl1LUZ9_151}
"pl1a"Symbol 352 MovieClip {PPGZ_fla.btn9_149} Frame 3Symbol 351 MovieClip {PPGZ_fla.pl9d_152}
"button0"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 312 MovieClip {PPGZ_fla.btn1compu_116}
"button1"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 317 MovieClip {PPGZ_fla.btn2_121}
"button2"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 322 MovieClip {PPGZ_fla.btn3_125}
"button3"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 327 MovieClip {PPGZ_fla.btn4_129}
"button4"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 332 MovieClip {PPGZ_fla.btn5_133}
"button5"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 337 MovieClip {PPGZ_fla.btn6_137}
"button6"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 342 MovieClip {PPGZ_fla.btn7_141}
"button7"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 347 MovieClip {PPGZ_fla.btn8_145}
"button8"Symbol 353 MovieClip {PPGZ_fla.contenedor_115} Frame 1Symbol 352 MovieClip {PPGZ_fla.btn9_149}
"textContainer_mc"Symbol 357 MovieClip {PPGZ_fla._Out_154} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"textContainer_mc"Symbol 358 MovieClip {PPGZ_fla._Down_156} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"textContainer_mc"Symbol 359 MovieClip {PPGZ_fla._Over_157} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"textContainer_mc"Symbol 360 MovieClip {PPGZ_fla._Up_158} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"out_mc"Symbol 361 MovieClip {_PopBtn} Frame 1Symbol 357 MovieClip {PPGZ_fla._Out_154}
"down_mc"Symbol 361 MovieClip {_PopBtn} Frame 1Symbol 358 MovieClip {PPGZ_fla._Down_156}
"over_mc"Symbol 361 MovieClip {_PopBtn} Frame 1Symbol 359 MovieClip {PPGZ_fla._Over_157}
"up_mc"Symbol 361 MovieClip {_PopBtn} Frame 1Symbol 360 MovieClip {PPGZ_fla._Up_158}
"textContainer_mc"Symbol 361 MovieClip {_PopBtn} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"hitArea_mc"Symbol 361 MovieClip {_PopBtn} Frame 1Symbol 46 MovieClip
"tel"Symbol 362 MovieClip {TelephonePopUpAsset} Frame 1Symbol 300 MovieClip {PPGZ_fla.bajotapa_mc_113}
"container_mc"Symbol 362 MovieClip {TelephonePopUpAsset} Frame 1Symbol 353 MovieClip {PPGZ_fla.contenedor_115}
"pop_Btn"Symbol 362 MovieClip {TelephonePopUpAsset} Frame 1Symbol 361 MovieClip {_PopBtn}
"timer_mc"Symbol 362 MovieClip {TelephonePopUpAsset} Frame 1Symbol 85 MovieClip {TimerControlAsset}
"musica"Symbol 366 MovieClip {PPGZ_fla.plCeleste_160} Frame 1Symbol 365 EditableText
"pl1a"Symbol 419 MovieClip {PPGZ_fla.prevBtn_180} Frame 2Symbol 418 MovieClip {PPGZ_fla.prevlight_182}
"pl1a"Symbol 424 MovieClip {PPGZ_fla.nextBtn_183} Frame 2Symbol 423 MovieClip {PPGZ_fla.nextlight_185}
"screen_mc"Symbol 425 MovieClip {PPGZ_fla.plverde_161} Frame 1Symbol 398 MovieClip {PPGZ_fla.pantallaM_162}
"prev_mc"Symbol 425 MovieClip {PPGZ_fla.plverde_161} Frame 1Symbol 419 MovieClip {PPGZ_fla.prevBtn_180}
"next_mc"Symbol 425 MovieClip {PPGZ_fla.plverde_161} Frame 1Symbol 424 MovieClip {PPGZ_fla.nextBtn_183}
"musica"Symbol 434 MovieClip {RadioPopUpAsset} Frame 1Symbol 366 MovieClip {PPGZ_fla.plCeleste_160}
"plVerde"Symbol 434 MovieClip {RadioPopUpAsset} Frame 1Symbol 425 MovieClip {PPGZ_fla.plverde_161}
"timer_mc"Symbol 434 MovieClip {RadioPopUpAsset} Frame 1Symbol 85 MovieClip {TimerControlAsset}
"pop_Btn"Symbol 434 MovieClip {RadioPopUpAsset} Frame 1Symbol 361 MovieClip {_PopBtn}
"nextHitArea_mc"Symbol 434 MovieClip {RadioPopUpAsset} Frame 1Symbol 433 MovieClip
"prevHitArea_mc"Symbol 434 MovieClip {RadioPopUpAsset} Frame 1Symbol 433 MovieClip
"notas_mc"Symbol 452 MovieClip {PPGZ_fla.Equipo_01_encendido_195} Frame 1Symbol 451 MovieClip
"radio_mc"Symbol 453 MovieClip {PPGZ_fla.Equipo_01_mc_190} Frame 1Symbol 441 MovieClip
"radio_mc"Symbol 453 MovieClip {PPGZ_fla.Equipo_01_mc_190} Frame 2Symbol 452 MovieClip {PPGZ_fla.Equipo_01_encendido_195}
"radio_mc"Symbol 458 MovieClip {PPGZ_fla.Equipo_02_mc_200} Frame 1Symbol 456 MovieClip
"radio_mc"Symbol 458 MovieClip {PPGZ_fla.Equipo_02_mc_200} Frame 2Symbol 457 MovieClip
"radio"Symbol 459 MovieClip {RadioAsset} Frame 1Symbol 453 MovieClip {PPGZ_fla.Equipo_01_mc_190}
"flecha_mc"Symbol 459 MovieClip {RadioAsset} Frame 1Symbol 171 MovieClip
"hitArea_mc"Symbol 459 MovieClip {RadioAsset} Frame 1Symbol 174 MovieClip
"radio"Symbol 459 MovieClip {RadioAsset} Frame 2Symbol 458 MovieClip {PPGZ_fla.Equipo_02_mc_200}
"linea_mc"Symbol 505 MovieClip {PPGZ_fla.Compiutah_Encendida_206} Frame 1Symbol 471 MovieClip
"luces_mc"Symbol 505 MovieClip {PPGZ_fla.Compiutah_Encendida_206} Frame 1Symbol 479 MovieClip
"radar_mc"Symbol 505 MovieClip {PPGZ_fla.Compiutah_Encendida_206} Frame 1Symbol 483 MovieClip
"pto_mc"Symbol 505 MovieClip {PPGZ_fla.Compiutah_Encendida_206} Frame 1Symbol 504 MovieClip
"compu_mc"Symbol 506 MovieClip {ComputerAsset} Frame 1Symbol 461 MovieClip
"flecha_mc"Symbol 506 MovieClip {ComputerAsset} Frame 1Symbol 171 MovieClip
"compu_mc"Symbol 506 MovieClip {ComputerAsset} Frame 2Symbol 505 MovieClip {PPGZ_fla.Compiutah_Encendida_206}
"horno"Symbol 521 MovieClip {PPGZ_fla.violeta_216} Frame 1Symbol 520 EditableText
"hitArea_mc"Symbol 530 MovieClip {PPGZ_fla.btn1compu_219} Frame 1Symbol 527 MovieClip
"pl1a"Symbol 530 MovieClip {PPGZ_fla.btn1compu_219} Frame 2Symbol 528 MovieClip {PPGZ_fla.pl2a_222}
"pl1a"Symbol 530 MovieClip {PPGZ_fla.btn1compu_219} Frame 3Symbol 529 MovieClip {PPGZ_fla.pl1LUZ_223}
"hitArea_mc"Symbol 537 MovieClip {PPGZ_fla.btnGrande_224} Frame 1Symbol 527 MovieClip
"pl1a"Symbol 537 MovieClip {PPGZ_fla.btnGrande_224} Frame 2Symbol 535 MovieClip {PPGZ_fla.gde2_226}
"pl1a"Symbol 537 MovieClip {PPGZ_fla.btnGrande_224} Frame 3Symbol 536 MovieClip {PPGZ_fla.gde2luz_228}
"button3"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 530 MovieClip {PPGZ_fla.btn1compu_219}
"button1"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 530 MovieClip {PPGZ_fla.btn1compu_219}
"button2"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 530 MovieClip {PPGZ_fla.btn1compu_219}
"button0"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 530 MovieClip {PPGZ_fla.btn1compu_219}
"button4"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 537 MovieClip {PPGZ_fla.btnGrande_224}
"hitArea_0"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 539 MovieClip
"hitArea_4"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 539 MovieClip
"hitArea_2"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 539 MovieClip
"hitArea_1"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 539 MovieClip
"hitArea_3"Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218} Frame 1Symbol 539 MovieClip
"elements_mc"Symbol 546 MovieClip {PPGZ_fla.Jceleste_217} Frame 1Symbol 540 MovieClip {PPGZ_fla.contenerdorBtnsCompu_218}
"text_txt"Symbol 551 MovieClip {PPGZ_fla.TextContainer_236} Frame 1Symbol 550 EditableText
"textContainer_mc"Symbol 552 MovieClip {PPGZ_fla._Out_234} Frame 1Symbol 551 MovieClip {PPGZ_fla.TextContainer_236}
"textContainer_mc"Symbol 553 MovieClip {PPGZ_fla._Down_237} Frame 1Symbol 551 MovieClip {PPGZ_fla.TextContainer_236}
"textContainer_mc"Symbol 554 MovieClip {PPGZ_fla._Over_238} Frame 1Symbol 551 MovieClip {PPGZ_fla.TextContainer_236}
"textContainer_mc"Symbol 555 MovieClip {PPGZ_fla._Up_239} Frame 1Symbol 551 MovieClip {PPGZ_fla.TextContainer_236}
"out_mc"Symbol 557 MovieClip {_PopBtncopy} Frame 1Symbol 552 MovieClip {PPGZ_fla._Out_234}
"down_mc"Symbol 557 MovieClip {_PopBtncopy} Frame 1Symbol 553 MovieClip {PPGZ_fla._Down_237}
"over_mc"Symbol 557 MovieClip {_PopBtncopy} Frame 1Symbol 554 MovieClip {PPGZ_fla._Over_238}
"up_mc"Symbol 557 MovieClip {_PopBtncopy} Frame 1Symbol 555 MovieClip {PPGZ_fla._Up_239}
"textContainer_mc"Symbol 557 MovieClip {_PopBtncopy} Frame 1Symbol 551 MovieClip {PPGZ_fla.TextContainer_236}
"hitArea_mc"Symbol 557 MovieClip {_PopBtncopy} Frame 1Symbol 556 MovieClip
"timer_mc"Symbol 558 MovieClip {PopUpComputerAsset} Frame 1Symbol 517 MovieClip {PPGZ_fla.barraT_mc_214}
"horno"Symbol 558 MovieClip {PopUpComputerAsset} Frame 1Symbol 521 MovieClip {PPGZ_fla.violeta_216}
"pl_celeste"Symbol 558 MovieClip {PopUpComputerAsset} Frame 1Symbol 546 MovieClip {PPGZ_fla.Jceleste_217}
"pop_Btn"Symbol 558 MovieClip {PopUpComputerAsset} Frame 1Symbol 557 MovieClip {_PopBtncopy}
"hitArea_mc"Symbol 576 MovieClip {CookerAsset} Frame 1Symbol 174 MovieClip
"flecha_mc"Symbol 576 MovieClip {CookerAsset} Frame 1Symbol 171 MovieClip
"contenido_mc"Symbol 598 MovieClip {LitleBallonCookerAsset} Frame 1Symbol 597 MovieClip {PPGZ_fla.globo_253}
"titulo_txt"Symbol 616 MovieClip {PPGZ_fla.plverde_255} Frame 1Symbol 615 EditableText
"pl1"Symbol 632 MovieClip {PPGZ_fla.placa1_268} Frame 1Symbol 629 MovieClip
"pl1a"Symbol 632 MovieClip {PPGZ_fla.placa1_268} Frame 2Symbol 630 MovieClip {PPGZ_fla.plaquita1d_272}
"pl1a"Symbol 632 MovieClip {PPGZ_fla.placa1_268} Frame 3Symbol 631 MovieClip {PPGZ_fla.plaquita1LUZ_273}
"pl2"Symbol 642 MovieClip {PPGZ_fla.placa2_274} Frame 1Symbol 639 MovieClip
"pl2a"Symbol 642 MovieClip {PPGZ_fla.placa2_274} Frame 2Symbol 640 MovieClip {PPGZ_fla.plaquita2d_278}
"pl2a"Symbol 642 MovieClip {PPGZ_fla.placa2_274} Frame 3Symbol 641 MovieClip {PPGZ_fla.plaquita2LUZ_279}
"pl3"Symbol 650 MovieClip {PPGZ_fla.placa3_280} Frame 1Symbol 647 MovieClip
"pl3a"Symbol 650 MovieClip {PPGZ_fla.placa3_280} Frame 2Symbol 648 MovieClip {PPGZ_fla.plaquita3d_284}
"pl3a"Symbol 650 MovieClip {PPGZ_fla.placa3_280} Frame 3Symbol 649 MovieClip {PPGZ_fla.plaquita3LUZ_285}
"pl5"Symbol 658 MovieClip {PPGZ_fla.placa5_286} Frame 1Symbol 655 MovieClip
"pl5a"Symbol 658 MovieClip {PPGZ_fla.placa5_286} Frame 2Symbol 656 MovieClip {PPGZ_fla.plaquita5d_290}
"pl5a"Symbol 658 MovieClip {PPGZ_fla.placa5_286} Frame 3Symbol 657 MovieClip {PPGZ_fla.plaquita5LUZ_291}
"pl4"Symbol 666 MovieClip {PPGZ_fla.placa4_292} Frame 1Symbol 663 MovieClip
"pl4a"Symbol 666 MovieClip {PPGZ_fla.placa4_292} Frame 2Symbol 664 MovieClip {PPGZ_fla.plaquita4d_296}
"pl4a"Symbol 666 MovieClip {PPGZ_fla.placa4_292} Frame 3Symbol 665 MovieClip {PPGZ_fla.plaquita4LUZ_297}
"pl6"Symbol 674 MovieClip {PPGZ_fla.placa6_298} Frame 1Symbol 671 MovieClip
"pl6a"Symbol 674 MovieClip {PPGZ_fla.placa6_298} Frame 2Symbol 672 MovieClip {PPGZ_fla.plaquita6d_302}
"pl6a"Symbol 674 MovieClip {PPGZ_fla.placa6_298} Frame 3Symbol 673 MovieClip {PPGZ_fla.plaquita6LUZ_303}
"button0"Symbol 675 MovieClip {PPGZ_fla.elementos_267} Frame 1Symbol 632 MovieClip {PPGZ_fla.placa1_268}
"button1"Symbol 675 MovieClip {PPGZ_fla.elementos_267} Frame 1Symbol 642 MovieClip {PPGZ_fla.placa2_274}
"button2"Symbol 675 MovieClip {PPGZ_fla.elementos_267} Frame 1Symbol 650 MovieClip {PPGZ_fla.placa3_280}
"button4"Symbol 675 MovieClip {PPGZ_fla.elementos_267} Frame 1Symbol 658 MovieClip {PPGZ_fla.placa5_286}
"button3"Symbol 675 MovieClip {PPGZ_fla.elementos_267} Frame 1Symbol 666 MovieClip {PPGZ_fla.placa4_292}
"button5"Symbol 675 MovieClip {PPGZ_fla.elementos_267} Frame 1Symbol 674 MovieClip {PPGZ_fla.placa6_298}
"textContainer_mc"Symbol 676 MovieClip {PPGZ_fla.text_light_304} Frame 1Symbol 40 MovieClip {PPGZ_fla.TextContainer_97}
"verde_mc"Symbol 677 MovieClip {PopUpCookerAsset} Frame 1Symbol 616 MovieClip {PPGZ_fla.plverde_255}
"light_mc"Symbol 677 MovieClip {PopUpCookerAsset} Frame 1Symbol 622 MovieClip
"pop_Btn"Symbol 677 MovieClip {PopUpCookerAsset} Frame 1Symbol 361 MovieClip {_PopBtn}
"timer_mc"Symbol 677 MovieClip {PopUpCookerAsset} Frame 1Symbol 85 MovieClip {TimerControlAsset}
"elements_mc"Symbol 677 MovieClip {PopUpCookerAsset} Frame 1Symbol 675 MovieClip {PPGZ_fla.elementos_267}
"warn_mc"Symbol 677 MovieClip {PopUpCookerAsset} Frame 1Symbol 676 MovieClip {PPGZ_fla.text_light_304}
"peach_mc"Symbol 716 MovieClip {PeachAsset} Frame 1Symbol 688 MovieClip
"peach_mc"Symbol 716 MovieClip {PeachAsset} Frame 2Symbol 693 MovieClip
"peach_mc"Symbol 716 MovieClip {PeachAsset} Frame 3Symbol 710 MovieClip
"peach_mc"Symbol 716 MovieClip {PeachAsset} Frame 4Symbol 715 MovieClip
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 1Symbol 736 MovieClip
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 2Symbol 750 MovieClip
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 3Symbol 755 MovieClip
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 4Symbol 771 MovieClip
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 5Symbol 782 MovieClip {PPGZ_fla.Mojo_Entra_01_360}
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 6Symbol 783 MovieClip
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 7Symbol 789 MovieClip {PPGZ_fla.Mojo_Sale_02_367}
"mojo_mc"Symbol 795 MovieClip {MojoAsset} Frame 8Symbol 794 MovieClip {PPGZ_fla.Mojo_Rie_371}
"contenido_mc"Symbol 797 MovieClip {EmotionBallonAsset} Frame 1Symbol 796 MovieClip {PPGZ_fla.Emotion_375}
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 1Symbol 838 MovieClip
"hitArea_mc"Symbol 960 MovieClip {MomokoAsset} Frame 1Symbol 174 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 2Symbol 847 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 3Symbol 868 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 4Symbol 894 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 5Symbol 899 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 6Symbol 912 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 7Symbol 919 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 8Symbol 920 MovieClip {PPGZ_fla.Bombon_enojo_437}
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 9Symbol 929 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 10Symbol 930 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 11Symbol 931 MovieClip {PPGZ_fla.Bombon_Feliz_444}
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 12Symbol 942 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 13Symbol 945 MovieClip
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 14Symbol 946 MovieClip {PPGZ_fla.Bombon_molesta_453}
"girl_mc"Symbol 960 MovieClip {MomokoAsset} Frame 15Symbol 959 MovieClip
"eyes_mc"Symbol 985 MovieClip {PPGZ_fla.Bellota_Cabeza_01_466} Frame 1Symbol 982 MovieClip {PPGZ_fla.Bellota_Ojos_mc_467}
"face_mc"Symbol 986 MovieClip {PPGZ_fla.Bellota_Idle_462} Frame 1Symbol 985 MovieClip {PPGZ_fla.Bellota_Cabeza_01_466}
"face_mc"Symbol 993 MovieClip {PPGZ_fla.Bellota_Camina_Frente_472} Frame 1Symbol 985 MovieClip {PPGZ_fla.Bellota_Cabeza_01_466}
"eyes_mc"Symbol 1031 MovieClip {PPGZ_fla.Bellota_Cabeza_02_492} Frame 1Symbol 1028 MovieClip
"face_mc"Symbol 1034 MovieClip {PPGZ_fla.Bellota_Camina_Perfil_486} Frame 1Symbol 1031 MovieClip {PPGZ_fla.Bellota_Cabeza_02_492}
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 1Symbol 986 MovieClip {PPGZ_fla.Bellota_Idle_462}
"hitArea_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 1Symbol 174 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 2Symbol 993 MovieClip {PPGZ_fla.Bellota_Camina_Frente_472}
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 3Symbol 1012 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 4Symbol 1034 MovieClip {PPGZ_fla.Bellota_Camina_Perfil_486}
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 5Symbol 1039 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 6Symbol 1050 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 7Symbol 1057 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 8Symbol 1058 MovieClip {PPGZ_fla.Bellota_enojo_509}
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 9Symbol 1065 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 10Symbol 1066 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 11Symbol 1067 MovieClip {PPGZ_fla.Bellota_Feliz_515}
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 12Symbol 1074 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 13Symbol 1077 MovieClip
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 14Symbol 1078 MovieClip {PPGZ_fla.Bellota_molesta_522}
"girl_mc"Symbol 1092 MovieClip {KaoruAsset} Frame 15Symbol 1091 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 1Symbol 1122 MovieClip
"hitArea_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 1Symbol 174 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 2Symbol 1131 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 3Symbol 1149 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 4Symbol 1171 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 5Symbol 1176 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 6Symbol 1187 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 7Symbol 1194 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 8Symbol 1195 MovieClip {PPGZ_fla.Burbuja_enojo_582}
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 9Symbol 1202 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 10Symbol 1203 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 11Symbol 1204 MovieClip {PPGZ_fla.Burbuja_Feliz_588}
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 12Symbol 1211 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 13Symbol 1214 MovieClip
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 14Symbol 1215 MovieClip {PPGZ_fla.Burbuja_molesta_595}
"girl_mc"Symbol 1229 MovieClip {MiyakoAsset} Frame 15Symbol 1228 MovieClip
"text_txt"Symbol 1242 MovieClip {PPGZ_fla.TextContainer_609} Frame 1Symbol 1241 EditableText
"textContainer_mc"Symbol 1243 MovieClip {PPGZ_fla._Out_608} Frame 1Symbol 1242 MovieClip {PPGZ_fla.TextContainer_609}
"textContainer_mc"Symbol 1244 MovieClip {PPGZ_fla._Down_610} Frame 1Symbol 1242 MovieClip {PPGZ_fla.TextContainer_609}
"textContainer_mc"Symbol 1245 MovieClip {PPGZ_fla._Over_611} Frame 1Symbol 1242 MovieClip {PPGZ_fla.TextContainer_609}
"textContainer_mc"Symbol 1246 MovieClip {PPGZ_fla._Up_612} Frame 1Symbol 1242 MovieClip {PPGZ_fla.TextContainer_609}
"out_mc"Symbol 1248 MovieClip {ContinueMicrophoneBtn} Frame 1Symbol 1243 MovieClip {PPGZ_fla._Out_608}
"down_mc"Symbol 1248 MovieClip {ContinueMicrophoneBtn} Frame 1Symbol 1244 MovieClip {PPGZ_fla._Down_610}
"over_mc"Symbol 1248 MovieClip {ContinueMicrophoneBtn} Frame 1Symbol 1245 MovieClip {PPGZ_fla._Over_611}
"up_mc"Symbol 1248 MovieClip {ContinueMicrophoneBtn} Frame 1Symbol 1246 MovieClip {PPGZ_fla._Up_612}
"hitArea_mc"Symbol 1248 MovieClip {ContinueMicrophoneBtn} Frame 1Symbol 1247 MovieClip
"text_txt"Symbol 1250 MovieClip {PPGZ_fla.MicrophoneTitleTxt_614} Frame 1Symbol 1249 EditableText
"continue_btn"Symbol 1251 MovieClip {MicrophoneScreenAsset} Frame 1Symbol 1248 MovieClip {ContinueMicrophoneBtn}
"microphoneTitle_mc"Symbol 1251 MovieClip {MicrophoneScreenAsset} Frame 1Symbol 1250 MovieClip {PPGZ_fla.MicrophoneTitleTxt_614}
"sponsor_mc"Symbol 1269 MovieClip {TransicionSponsorAsset} Frame 1Symbol 1266 MovieClip
"up_mc"Symbol 1305 MovieClip {PPGZ_fla.compuSorpresa_633} Frame 1Symbol 1290 MovieClip
"over_mc"Symbol 1305 MovieClip {PPGZ_fla.compuSorpresa_633} Frame 1Symbol 1291 MovieClip {PPGZ_fla._OverS_636}
"down_mc"Symbol 1305 MovieClip {PPGZ_fla.compuSorpresa_633} Frame 1Symbol 1304 MovieClip
"text_txt"Symbol 1319 MovieClip {PPGZ_fla.TextContainer_650} Frame 1Symbol 1318 EditableText
"textContainer_mc"Symbol 1320 MovieClip {PPGZ_fla._Out2_647} Frame 1Symbol 1319 MovieClip {PPGZ_fla.TextContainer_650}
"textContainer_mc"Symbol 1321 MovieClip {PPGZ_fla._Down_651} Frame 1Symbol 1319 MovieClip {PPGZ_fla.TextContainer_650}
"textContainer_mc"Symbol 1322 MovieClip {PPGZ_fla._Over_652} Frame 1Symbol 1319 MovieClip {PPGZ_fla.TextContainer_650}
"textContainer_mc"Symbol 1323 MovieClip {PPGZ_fla._Up_653} Frame 1Symbol 1319 MovieClip {PPGZ_fla.TextContainer_650}
"out_mc"Symbol 1325 MovieClip {PlayMainMenuBtn} Frame 1Symbol 1320 MovieClip {PPGZ_fla._Out2_647}
"down_mc"Symbol 1325 MovieClip {PlayMainMenuBtn} Frame 1Symbol 1321 MovieClip {PPGZ_fla._Down_651}
"over_mc"Symbol 1325 MovieClip {PlayMainMenuBtn} Frame 1Symbol 1322 MovieClip {PPGZ_fla._Over_652}
"up_mc"Symbol 1325 MovieClip {PlayMainMenuBtn} Frame 1Symbol 1323 MovieClip {PPGZ_fla._Up_653}
"hitArea_mc"Symbol 1325 MovieClip {PlayMainMenuBtn} Frame 1Symbol 1324 MovieClip
"text_txt"Symbol 1332 MovieClip {PPGZ_fla.detallecartoonlogo_657} Frame 1Symbol 1331 EditableText
"textContainer_mc"Symbol 1334 MovieClip {PPGZ_fla._Out2cn_656} Frame 1Symbol 1332 MovieClip {PPGZ_fla.detallecartoonlogo_657}
"textContainer_mc"Symbol 1337 MovieClip {PPGZ_fla._Overcn_660} Frame 1Symbol 1332 MovieClip {PPGZ_fla.detallecartoonlogo_657}
"out_mc"Symbol 1339 MovieClip {cartoon_btn} Frame 1Symbol 1334 MovieClip {PPGZ_fla._Out2cn_656}
"down_mc"Symbol 1339 MovieClip {cartoon_btn} Frame 1Symbol 1336 MovieClip
"over_mc"Symbol 1339 MovieClip {cartoon_btn} Frame 1Symbol 1337 MovieClip {PPGZ_fla._Overcn_660}
"up_mc"Symbol 1339 MovieClip {cartoon_btn} Frame 1Symbol 1338 MovieClip
"hitArea_mc"Symbol 1339 MovieClip {cartoon_btn} Frame 1Symbol 1324 MovieClip
"compu_mc"Symbol 1368 MovieClip {PPGZ_fla.fondo_626} Frame 1Symbol 1305 MovieClip {PPGZ_fla.compuSorpresa_633}
"logo"Symbol 1368 MovieClip {PPGZ_fla.fondo_626} Frame 1Symbol 1311 MovieClip {PPGZ_fla.logo_mc_644}
"play_btn"Symbol 1368 MovieClip {PPGZ_fla.fondo_626} Frame 1Symbol 1325 MovieClip {PlayMainMenuBtn}
"cn_btn"Symbol 1368 MovieClip {PPGZ_fla.fondo_626} Frame 1Symbol 1339 MovieClip {cartoon_btn}
"back_mc"Symbol 1369 MovieClip {MainMenuAsset} Frame 1Symbol 1368 MovieClip {PPGZ_fla.fondo_626}
"text_txt"Symbol 1374 MovieClip {PPGZ_fla.TextContainer_675} Frame 1Symbol 1373 EditableText
"textContainer_mc"Symbol 1375 MovieClip {PPGZ_fla._Out_673} Frame 1Symbol 1374 MovieClip {PPGZ_fla.TextContainer_675}
"textContainer_mc"Symbol 1376 MovieClip {PPGZ_fla._Down_676} Frame 1Symbol 1374 MovieClip {PPGZ_fla.TextContainer_675}
"textContainer_mc"Symbol 1377 MovieClip {PPGZ_fla._Over_677} Frame 1Symbol 1374 MovieClip {PPGZ_fla.TextContainer_675}
"textContainer_mc"Symbol 1378 MovieClip {PPGZ_fla._Up_678} Frame 1Symbol 1374 MovieClip {PPGZ_fla.TextContainer_675}
"out_mc"Symbol 1380 MovieClip {ContinueInstructionsBtn} Frame 1Symbol 1375 MovieClip {PPGZ_fla._Out_673}
"down_mc"Symbol 1380 MovieClip {ContinueInstructionsBtn} Frame 1Symbol 1376 MovieClip {PPGZ_fla._Down_676}
"over_mc"Symbol 1380 MovieClip {ContinueInstructionsBtn} Frame 1Symbol 1377 MovieClip {PPGZ_fla._Over_677}
"up_mc"Symbol 1380 MovieClip {ContinueInstructionsBtn} Frame 1Symbol 1378 MovieClip {PPGZ_fla._Up_678}
"hitArea_mc"Symbol 1380 MovieClip {ContinueInstructionsBtn} Frame 1Symbol 1379 MovieClip
"txt_txt"Symbol 1412 MovieClip {PPGZ_fla.placaI_680} Frame 1Symbol 1384 EditableText
"txt1_txt"Symbol 1412 MovieClip {PPGZ_fla.placaI_680} Frame 1Symbol 1385 EditableText
"percentage_mc"Symbol 1412 MovieClip {PPGZ_fla.placaI_680} Frame 1Symbol 1403 MovieClip
"text_txt"Symbol 1415 MovieClip {PPGZ_fla.InstructionsTitleTxt_689} Frame 1Symbol 1414 EditableText
"continue_btn"Symbol 1462 MovieClip {InstructionsAsset} Frame 1Symbol 1380 MovieClip {ContinueInstructionsBtn}
"placa"Symbol 1462 MovieClip {InstructionsAsset} Frame 1Symbol 1412 MovieClip {PPGZ_fla.placaI_680}
"instructionsTitle_mc"Symbol 1462 MovieClip {InstructionsAsset} Frame 1Symbol 1415 MovieClip {PPGZ_fla.InstructionsTitleTxt_689}
"placaTranslucida"Symbol 1462 MovieClip {InstructionsAsset} Frame 10Symbol 1433 MovieClip
"text_txt"Symbol 1479 MovieClip {PPGZ_fla.TextContainer_699} Frame 1Symbol 1478 EditableText
"textContainer_mc"Symbol 1480 MovieClip {PPGZ_fla._Out_697} Frame 1Symbol 1479 MovieClip {PPGZ_fla.TextContainer_699}
"textContainer_mc"Symbol 1481 MovieClip {PPGZ_fla._Down_700} Frame 1Symbol 1479 MovieClip {PPGZ_fla.TextContainer_699}
"textContainer_mc"Symbol 1482 MovieClip {PPGZ_fla._Over_701} Frame 1Symbol 1479 MovieClip {PPGZ_fla.TextContainer_699}
"textContainer_mc"Symbol 1483 MovieClip {PPGZ_fla._Up_702} Frame 1Symbol 1479 MovieClip {PPGZ_fla.TextContainer_699}
"out_mc"Symbol 1485 MovieClip {MainMenuLostBtn} Frame 1Symbol 1480 MovieClip {PPGZ_fla._Out_697}
"down_mc"Symbol 1485 MovieClip {MainMenuLostBtn} Frame 1Symbol 1481 MovieClip {PPGZ_fla._Down_700}
"over_mc"Symbol 1485 MovieClip {MainMenuLostBtn} Frame 1Symbol 1482 MovieClip {PPGZ_fla._Over_701}
"up_mc"Symbol 1485 MovieClip {MainMenuLostBtn} Frame 1Symbol 1483 MovieClip {PPGZ_fla._Up_702}
"hitArea_mc"Symbol 1485 MovieClip {MainMenuLostBtn} Frame 1Symbol 1484 MovieClip
"text_txt"Symbol 1490 MovieClip {PPGZ_fla.TextContainer_707} Frame 1Symbol 1489 EditableText
"textContainer_mc"Symbol 1491 MovieClip {PPGZ_fla._Out_705} Frame 1Symbol 1490 MovieClip {PPGZ_fla.TextContainer_707}
"textContainer_mc"Symbol 1492 MovieClip {PPGZ_fla._Down_708} Frame 1Symbol 1490 MovieClip {PPGZ_fla.TextContainer_707}
"textContainer_mc"Symbol 1493 MovieClip {PPGZ_fla._Over_709} Frame 1Symbol 1490 MovieClip {PPGZ_fla.TextContainer_707}
"textContainer_mc"Symbol 1494 MovieClip {PPGZ_fla._Up_710} Frame 1Symbol 1490 MovieClip {PPGZ_fla.TextContainer_707}
"out_mc"Symbol 1496 MovieClip {PlayAgainLostBtn} Frame 1Symbol 1491 MovieClip {PPGZ_fla._Out_705}
"down_mc"Symbol 1496 MovieClip {PlayAgainLostBtn} Frame 1Symbol 1492 MovieClip {PPGZ_fla._Down_708}
"over_mc"Symbol 1496 MovieClip {PlayAgainLostBtn} Frame 1Symbol 1493 MovieClip {PPGZ_fla._Over_709}
"up_mc"Symbol 1496 MovieClip {PlayAgainLostBtn} Frame 1Symbol 1494 MovieClip {PPGZ_fla._Up_710}
"hitArea_mc"Symbol 1496 MovieClip {PlayAgainLostBtn} Frame 1Symbol 1495 MovieClip
"scoreLabel_txt"Symbol 1513 MovieClip {placaG} Frame 1Symbol 1500 EditableText
"score_txt"Symbol 1513 MovieClip {placaG} Frame 1Symbol 1501 EditableText
"cali_txt"Symbol 1513 MovieClip {placaG} Frame 1Symbol 1502 EditableText
"calificacion_txt"Symbol 1513 MovieClip {placaG} Frame 1Symbol 1503 EditableText
"txt1_txt"Symbol 1513 MovieClip {placaG} Frame 1Symbol 1504 EditableText
"scoreLabel_txt"Symbol 1513 MovieClip {placaG} Frame 2Symbol 1505 EditableText
"score_txt"Symbol 1513 MovieClip {placaG} Frame 2Symbol 1506 EditableText
"cali_txt"Symbol 1513 MovieClip {placaG} Frame 2Symbol 1507 EditableText
"txt1_txt"Symbol 1513 MovieClip {placaG} Frame 2Symbol 1508 EditableText
"scoreLabel_txt"Symbol 1513 MovieClip {placaG} Frame 3Symbol 1509 EditableText
"score_txt"Symbol 1513 MovieClip {placaG} Frame 3Symbol 1510 EditableText
"cali_txt"Symbol 1513 MovieClip {placaG} Frame 3Symbol 1511 EditableText
"txt1_txt"Symbol 1513 MovieClip {placaG} Frame 3Symbol 1512 EditableText
"text_txt"Symbol 1517 MovieClip {GameWonTitleTxt} Frame 1Symbol 1514 EditableText
"text_txt"Symbol 1517 MovieClip {GameWonTitleTxt} Frame 2Symbol 1515 EditableText
"text_txt"Symbol 1517 MovieClip {GameWonTitleTxt} Frame 3Symbol 1516 EditableText
"mainMenu_btn"Symbol 1566 MovieClip {GameWonAsset} Frame 1Symbol 1485 MovieClip {MainMenuLostBtn}
"playAgain_btn"Symbol 1566 MovieClip {GameWonAsset} Frame 1Symbol 1496 MovieClip {PlayAgainLostBtn}
"container_mc"Symbol 1566 MovieClip {GameWonAsset} Frame 1Symbol 1513 MovieClip {placaG}
"gameWonTitle_mc"Symbol 1566 MovieClip {GameWonAsset} Frame 1Symbol 1517 MovieClip {GameWonTitleTxt}
"categoria_mc"Symbol 1566 MovieClip {GameWonAsset} Frame 1Symbol 1524 MovieClip {PPGZ_fla.categoriaslastforever_714}
"scoreLabel_txt"Symbol 1590 MovieClip {ScoreText} Frame 1Symbol 1572 EditableText
"score_txt"Symbol 1590 MovieClip {ScoreText} Frame 1Symbol 1573 EditableText
"cali_txt"Symbol 1590 MovieClip {ScoreText} Frame 1Symbol 1574 EditableText
"calificacion_txt"Symbol 1590 MovieClip {ScoreText} Frame 1Symbol 1575 EditableText
"intentalo"Symbol 1590 MovieClip {ScoreText} Frame 1Symbol 1576 EditableText
"txt_txt"Symbol 1590 MovieClip {ScoreText} Frame 1Symbol 1577 EditableText
"scoreLabel_txt"Symbol 1590 MovieClip {ScoreText} Frame 2Symbol 1578 EditableText
"score_txt"Symbol 1590 MovieClip {ScoreText} Frame 2Symbol 1579 EditableText
"cali_txt"Symbol 1590 MovieClip {ScoreText} Frame 2Symbol 1580 EditableText
"calificacion_txt"Symbol 1590 MovieClip {ScoreText} Frame 2Symbol 1581 EditableText
"intentalo"Symbol 1590 MovieClip {ScoreText} Frame 2Symbol 1582 EditableText
"txt_txt"Symbol 1590 MovieClip {ScoreText} Frame 2Symbol 1583 EditableText
"scoreLabel_txt"Symbol 1590 MovieClip {ScoreText} Frame 3Symbol 1584 EditableText
"score_txt"Symbol 1590 MovieClip {ScoreText} Frame 3Symbol 1585 EditableText
"cali_txt"Symbol 1590 MovieClip {ScoreText} Frame 3Symbol 1586 EditableText
"calificacion_txt"Symbol 1590 MovieClip {ScoreText} Frame 3Symbol 1587 EditableText
"intentalo"Symbol 1590 MovieClip {ScoreText} Frame 3Symbol 1588 EditableText
"txt_txt"Symbol 1590 MovieClip {ScoreText} Frame 3Symbol 1589 EditableText
"text_txt"Symbol 1592 MovieClip {PPGZ_fla.GameLostTitleTxt_735} Frame 1Symbol 1591 EditableText
"playAgain_btn"Symbol 1593 MovieClip {GameLostAsset} Frame 1Symbol 1496 MovieClip {PlayAgainLostBtn}
"mainMenu_btn"Symbol 1593 MovieClip {GameLostAsset} Frame 1Symbol 1485 MovieClip {MainMenuLostBtn}
"placa_mc"Symbol 1593 MovieClip {GameLostAsset} Frame 1Symbol 1571 MovieClip
"scoreTxt_mc"Symbol 1593 MovieClip {GameLostAsset} Frame 1Symbol 1590 MovieClip {ScoreText}
"gameLostTitle_mc"Symbol 1593 MovieClip {GameLostAsset} Frame 1Symbol 1592 MovieClip {PPGZ_fla.GameLostTitleTxt_735}
"categoria_mc"Symbol 1593 MovieClip {GameLostAsset} Frame 1Symbol 1524 MovieClip {PPGZ_fla.categoriaslastforever_714}
"placaTranslucida"Symbol 1593 MovieClip {GameLostAsset} Frame 6Symbol 1433 MovieClip
"ok"Symbol 1601 MovieClip {PPGZ_fla.ok_mc_739} Frame 1Symbol 1600 EditableText
"percentage_mc"Symbol 1602 MovieClip {PPGZ_fla.energy2_737} Frame 1Symbol 1403 MovieClip
"ok"Symbol 1602 MovieClip {PPGZ_fla.energy2_737} Frame 100Symbol 1601 MovieClip {PPGZ_fla.ok_mc_739}
"percentage_mc"Symbol 1604 MovieClip {PPGZ_fla.energy1_740} Frame 1Symbol 1403 MovieClip
"ok"Symbol 1604 MovieClip {PPGZ_fla.energy1_740} Frame 100Symbol 1601 MovieClip {PPGZ_fla.ok_mc_739}
"text_txt"Symbol 1609 MovieClip {PPGZ_fla.TextContainer_744} Frame 1Symbol 1608 EditableText
"textContainer_mc"Symbol 1613 MovieClip {PPGZ_fla._Out_742} Frame 1Symbol 1609 MovieClip {PPGZ_fla.TextContainer_744}
"textContainer_mc"Symbol 1614 MovieClip {PPGZ_fla._Down_746} Frame 1Symbol 1609 MovieClip {PPGZ_fla.TextContainer_744}
"textContainer_mc"Symbol 1615 MovieClip {PPGZ_fla._Over_747} Frame 1Symbol 1609 MovieClip {PPGZ_fla.TextContainer_744}
"textContainer_mc"Symbol 1616 MovieClip {PPGZ_fla._Up_748} Frame 1Symbol 1609 MovieClip {PPGZ_fla.TextContainer_744}
"out_mc"Symbol 1618 MovieClip {ContinueHudBtn} Frame 1Symbol 1613 MovieClip {PPGZ_fla._Out_742}
"down_mc"Symbol 1618 MovieClip {ContinueHudBtn} Frame 1Symbol 1614 MovieClip {PPGZ_fla._Down_746}
"over_mc"Symbol 1618 MovieClip {ContinueHudBtn} Frame 1Symbol 1615 MovieClip {PPGZ_fla._Over_747}
"up_mc"Symbol 1618 MovieClip {ContinueHudBtn} Frame 1Symbol 1616 MovieClip {PPGZ_fla._Up_748}
"hitArea_mc"Symbol 1618 MovieClip {ContinueHudBtn} Frame 1Symbol 1617 MovieClip
"percentage_mc"Symbol 1624 MovieClip {PPGZ_fla.energybar_750} Frame 1Symbol 1403 MovieClip
"ok"Symbol 1624 MovieClip {PPGZ_fla.energybar_750} Frame 100Symbol 1601 MovieClip {PPGZ_fla.ok_mc_739}
"out_mc"Symbol 1633 MovieClip {SinSonido} Frame 1Symbol 1628 MovieClip {PPGZ_fla._OutSn_754}
"down_mc"Symbol 1633 MovieClip {SinSonido} Frame 1Symbol 1629 MovieClip
"over_mc"Symbol 1633 MovieClip {SinSonido} Frame 1Symbol 1630 MovieClip {PPGZ_fla._OverSn_757}
"up_mc"Symbol 1633 MovieClip {SinSonido} Frame 1Symbol 1631 MovieClip
"hitArea_mc"Symbol 1633 MovieClip {SinSonido} Frame 1Symbol 1632 MovieClip
"out_mc"Symbol 1641 MovieClip {ConSonido} Frame 1Symbol 1637 MovieClip {PPGZ_fla._Out_761}
"down_mc"Symbol 1641 MovieClip {ConSonido} Frame 1Symbol 1638 MovieClip
"over_mc"Symbol 1641 MovieClip {ConSonido} Frame 1Symbol 1639 MovieClip {PPGZ_fla._Over_764}
"up_mc"Symbol 1641 MovieClip {ConSonido} Frame 1Symbol 1640 MovieClip
"hitArea_mc"Symbol 1641 MovieClip {ConSonido} Frame 1Symbol 1632 MovieClip
"sinSonido"Symbol 1642 MovieClip {SoundBtn} Frame 1Symbol 1633 MovieClip {SinSonido}
"conSonido"Symbol 1642 MovieClip {SoundBtn} Frame 1Symbol 1641 MovieClip {ConSonido}
"out_mc"Symbol 1651 MovieClip {HelpBtn} Frame 1Symbol 1646 MovieClip {PPGZ_fla._Out_767}
"down_mc"Symbol 1651 MovieClip {HelpBtn} Frame 1Symbol 1647 MovieClip
"over_mc"Symbol 1651 MovieClip {HelpBtn} Frame 1Symbol 1648 MovieClip {PPGZ_fla._Over_770}
"up_mc"Symbol 1651 MovieClip {HelpBtn} Frame 1Symbol 1649 MovieClip
"hitArea_mc"Symbol 1651 MovieClip {HelpBtn} Frame 1Symbol 1650 MovieClip
"scoreLabel_txt"Symbol 1656 MovieClip {PPGZ_fla.ScoreText_773} Frame 1Symbol 1654 EditableText
"score_txt"Symbol 1656 MovieClip {PPGZ_fla.ScoreText_773} Frame 1Symbol 1655 EditableText
"tiempo_txt"Symbol 1661 MovieClip {PPGZ_fla.tiempo_txt_774} Frame 1Symbol 1659 EditableText
"tiempoLabel_txt"Symbol 1661 MovieClip {PPGZ_fla.tiempo_txt_774} Frame 1Symbol 1660 EditableText
"KaoruBar_mc"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1602 MovieClip {PPGZ_fla.energy2_737}
"MomokoBar_mc"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1604 MovieClip {PPGZ_fla.energy1_740}
"skip_btn"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1618 MovieClip {ContinueHudBtn}
"MiyakoBar_mc"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1624 MovieClip {PPGZ_fla.energybar_750}
"sound_btn"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1642 MovieClip {SoundBtn}
"help_btn"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1651 MovieClip {HelpBtn}
"scoreTxt_mc"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1656 MovieClip {PPGZ_fla.ScoreText_773}
"tiempo_mc"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 1661 MovieClip {PPGZ_fla.tiempo_txt_774}
"block_mc"Symbol 1662 MovieClip {HUDAsset} Frame 1Symbol 309 MovieClip
"text_txt"Symbol 1667 MovieClip {PPGZ_fla.TextContainer_779} Frame 1Symbol 1666 EditableText
"textContainer_mc"Symbol 1668 MovieClip {PPGZ_fla._Out_777} Frame 1Symbol 1667 MovieClip {PPGZ_fla.TextContainer_779}
"textContainer_mc"Symbol 1669 MovieClip {PPGZ_fla._Down_780} Frame 1Symbol 1667 MovieClip {PPGZ_fla.TextContainer_779}
"textContainer_mc"Symbol 1670 MovieClip {PPGZ_fla._Over_781} Frame 1Symbol 1667 MovieClip {PPGZ_fla.TextContainer_779}
"textContainer_mc"Symbol 1671 MovieClip {PPGZ_fla._Up_782} Frame 1Symbol 1667 MovieClip {PPGZ_fla.TextContainer_779}
"out_mc"Symbol 1673 MovieClip {ContinueResultsBtn} Frame 1Symbol 1668 MovieClip {PPGZ_fla._Out_777}
"down_mc"Symbol 1673 MovieClip {ContinueResultsBtn} Frame 1Symbol 1669 MovieClip {PPGZ_fla._Down_780}
"over_mc"Symbol 1673 MovieClip {ContinueResultsBtn} Frame 1Symbol 1670 MovieClip {PPGZ_fla._Over_781}
"up_mc"Symbol 1673 MovieClip {ContinueResultsBtn} Frame 1Symbol 1671 MovieClip {PPGZ_fla._Up_782}
"hitArea_mc"Symbol 1673 MovieClip {ContinueResultsBtn} Frame 1Symbol 1672 MovieClip
"totalScore_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 1Symbol 1677 EditableText
"qualification"Symbol 1695 MovieClip {resultados1_txt} Frame 1Symbol 1678 EditableText
"qualification_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 1Symbol 1679 EditableText
"totalScore"Symbol 1695 MovieClip {resultados1_txt} Frame 1Symbol 1680 EditableText
"levelScore"Symbol 1695 MovieClip {resultados1_txt} Frame 1Symbol 1681 EditableText
"levelScore_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 1Symbol 1682 EditableText
"totalScore_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 2Symbol 1683 EditableText
"qualification"Symbol 1695 MovieClip {resultados1_txt} Frame 2Symbol 1684 EditableText
"qualification_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 2Symbol 1685 EditableText
"totalScore"Symbol 1695 MovieClip {resultados1_txt} Frame 2Symbol 1686 EditableText
"levelScore"Symbol 1695 MovieClip {resultados1_txt} Frame 2Symbol 1687 EditableText
"levelScore_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 2Symbol 1688 EditableText
"totalScore_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 3Symbol 1689 EditableText
"qualification"Symbol 1695 MovieClip {resultados1_txt} Frame 3Symbol 1690 EditableText
"qualification_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 3Symbol 1691 EditableText
"totalScore"Symbol 1695 MovieClip {resultados1_txt} Frame 3Symbol 1692 EditableText
"levelScore"Symbol 1695 MovieClip {resultados1_txt} Frame 3Symbol 1693 EditableText
"levelScore_txt"Symbol 1695 MovieClip {resultados1_txt} Frame 3Symbol 1694 EditableText
"texts_mc"Symbol 1700 MovieClip {PPGZ_fla.placaR_784} Frame 1Symbol 1695 MovieClip {resultados1_txt}
"text_txt"Symbol 1702 MovieClip {PPGZ_fla.ResultsTitleTxt_786} Frame 1Symbol 1701 EditableText
"continue_btn"Symbol 1709 MovieClip {LevelResultsAsset} Frame 1Symbol 1673 MovieClip {ContinueResultsBtn}
"placaR"Symbol 1709 MovieClip {LevelResultsAsset} Frame 1Symbol 1700 MovieClip {PPGZ_fla.placaR_784}
"gameWonTitle_mc"Symbol 1709 MovieClip {LevelResultsAsset} Frame 1Symbol 1702 MovieClip {PPGZ_fla.ResultsTitleTxt_786}
"categoria_mc"Symbol 1709 MovieClip {LevelResultsAsset} Frame 1Symbol 1524 MovieClip {PPGZ_fla.categoriaslastforever_714}
"placaTranslucida"Symbol 1709 MovieClip {LevelResultsAsset} Frame 6Symbol 1433 MovieClip
"text_txt"Symbol 1720 MovieClip {PPGZ_fla.TextContainer_797} Frame 1Symbol 1719 EditableText
"textContainer_mc"Symbol 1721 MovieClip {TextTransitionAsset} Frame 1Symbol 1720 MovieClip {PPGZ_fla.TextContainer_797}

Special Tags

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

Labels

"preloader"Frame 1
"resources"Frame 2
"game"Frame 3
"FadeIn"Symbol 93 MovieClip {PPGZ_fla.tutor9_txt_3} Frame 2
"FadeInOver"Symbol 93 MovieClip {PPGZ_fla.tutor9_txt_3} Frame 10
"FadeOut"Symbol 93 MovieClip {PPGZ_fla.tutor9_txt_3} Frame 11
"FadeOutOver"Symbol 93 MovieClip {PPGZ_fla.tutor9_txt_3} Frame 20
"FadeIn"Symbol 94 MovieClip {PPGZ_fla.tutor2_txt_5} Frame 2
"FadeInOver"Symbol 94 MovieClip {PPGZ_fla.tutor2_txt_5} Frame 10
"FadeOut"Symbol 94 MovieClip {PPGZ_fla.tutor2_txt_5} Frame 11
"FadeOutOver"Symbol 94 MovieClip {PPGZ_fla.tutor2_txt_5} Frame 20
"Ice"Symbol 98 MovieClip {PPGZ_fla.MiyakoTutor_6} Frame 1
"FadeIn"Symbol 98 MovieClip {PPGZ_fla.MiyakoTutor_6} Frame 2
"FadeInOver"Symbol 98 MovieClip {PPGZ_fla.MiyakoTutor_6} Frame 10
"FadeOut"Symbol 98 MovieClip {PPGZ_fla.MiyakoTutor_6} Frame 11
"FadeOutOver"Symbol 98 MovieClip {PPGZ_fla.MiyakoTutor_6} Frame 20
"FadeIn"Symbol 99 MovieClip {PPGZ_fla.tutor4_txt_8} Frame 2
"FadeInOver"Symbol 99 MovieClip {PPGZ_fla.tutor4_txt_8} Frame 10
"FadeOut"Symbol 99 MovieClip {PPGZ_fla.tutor4_txt_8} Frame 11
"FadeOutOver"Symbol 99 MovieClip {PPGZ_fla.tutor4_txt_8} Frame 20
"Ice"Symbol 103 MovieClip {PPGZ_fla.MomokoTutor_9} Frame 1
"FadeIn"Symbol 103 MovieClip {PPGZ_fla.MomokoTutor_9} Frame 2
"FadeInOver"Symbol 103 MovieClip {PPGZ_fla.MomokoTutor_9} Frame 10
"FadeOut"Symbol 103 MovieClip {PPGZ_fla.MomokoTutor_9} Frame 11
"FadeOutOver"Symbol 103 MovieClip {PPGZ_fla.MomokoTutor_9} Frame 20
"FadeIn"Symbol 104 MovieClip {PPGZ_fla.tutor6_txt_11} Frame 2
"FadeInOver"Symbol 104 MovieClip {PPGZ_fla.tutor6_txt_11} Frame 10
"FadeOut"Symbol 104 MovieClip {PPGZ_fla.tutor6_txt_11} Frame 11
"FadeOutOver"Symbol 104 MovieClip {PPGZ_fla.tutor6_txt_11} Frame 20
"Ice"Symbol 108 MovieClip {PPGZ_fla.KaoruTutor_12} Frame 1
"FadeIn"Symbol 108 MovieClip {PPGZ_fla.KaoruTutor_12} Frame 2
"FadeInOver"Symbol 108 MovieClip {PPGZ_fla.KaoruTutor_12} Frame 10
"FadeOut"Symbol 108 MovieClip {PPGZ_fla.KaoruTutor_12} Frame 11
"FadeOutOver"Symbol 108 MovieClip {PPGZ_fla.KaoruTutor_12} Frame 20
"welcome_mc"Symbol 109 MovieClip {ProfesorAsset} Frame 1
"Miyako"Symbol 109 MovieClip {ProfesorAsset} Frame 2
"Momoko"Symbol 109 MovieClip {ProfesorAsset} Frame 3
"Kaoru"Symbol 109 MovieClip {ProfesorAsset} Frame 4
"Cerrada"Symbol 128 MovieClip {DoorAsset} Frame 1
"Abre"Symbol 128 MovieClip {DoorAsset} Frame 2
"Cierra"Symbol 128 MovieClip {DoorAsset} Frame 3
"Start"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 2
"FadedIn"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 10
"End"Symbol 164 MovieClip {PopupExerciseBikeAsset} Frame 11
"Start"Symbol 195 MovieClip {PPGZ_fla.incorrecto_mc_51} Frame 2
"FadedIn"Symbol 195 MovieClip {PPGZ_fla.incorrecto_mc_51} Frame 11
"End"Symbol 195 MovieClip {PPGZ_fla.incorrecto_mc_51} Frame 20
"Start"Symbol 215 MovieClip {PPGZ_fla.correcto_mc_59} Frame 2
"FadedIn"Symbol 215 MovieClip {PPGZ_fla.correcto_mc_59} Frame 11
"End"Symbol 215 MovieClip {PPGZ_fla.correcto_mc_59} Frame 20
"bad"Symbol 216 MovieClip {ActionsResultAsset} Frame 1
"good"Symbol 216 MovieClip {ActionsResultAsset} Frame 2
"idle"Symbol 253 MovieClip Frame 1
"MomokoProgram"Symbol 253 MovieClip Frame 2
"KaoruProgram"Symbol 253 MovieClip Frame 3
"MiyakoProgram"Symbol 253 MovieClip Frame 4
"MojoProgram"Symbol 253 MovieClip Frame 5
"over"Symbol 269 MovieClip {PPGZ_fla.On_Off_83} Frame 1
"down"Symbol 269 MovieClip {PPGZ_fla.On_Off_83} Frame 2
"iluminado"Symbol 269 MovieClip {PPGZ_fla.On_Off_83} Frame 3
"over"Symbol 274 MovieClip {PPGZ_fla.next_88} Frame 1
"down"Symbol 274 MovieClip {PPGZ_fla.next_88} Frame 2
"over"Symbol 279 MovieClip {PPGZ_fla.prev_91} Frame 1
"down"Symbol 279 MovieClip {PPGZ_fla.prev_91} Frame 2
"Start"Symbol 281 MovieClip {RemoteControlAsset} Frame 2
"FadedIn"Symbol 281 MovieClip {RemoteControlAsset} Frame 9
"End"Symbol 281 MovieClip {RemoteControlAsset} Frame 10
"idle"Symbol 296 MovieClip {TelephoneAsset} Frame 1
"suena"Symbol 296 MovieClip {TelephoneAsset} Frame 2
"en_uso"Symbol 296 MovieClip {TelephoneAsset} Frame 3
"apagado"Symbol 312 MovieClip {PPGZ_fla.btn1compu_116} Frame 1
"encendido"Symbol 312 MovieClip {PPGZ_fla.btn1compu_116} Frame 2
"luz"Symbol 312 MovieClip {PPGZ_fla.btn1compu_116} Frame 3
"apagado"Symbol 317 MovieClip {PPGZ_fla.btn2_121} Frame 1
"encendido"Symbol 317 MovieClip {PPGZ_fla.btn2_121} Frame 2
"luz"Symbol 317 MovieClip {PPGZ_fla.btn2_121} Frame 3
"apagado"Symbol 322 MovieClip {PPGZ_fla.btn3_125} Frame 1
"encendido"Symbol 322 MovieClip {PPGZ_fla.btn3_125} Frame 2
"luz"Symbol 322 MovieClip {PPGZ_fla.btn3_125} Frame 3
"apagado"Symbol 327 MovieClip {PPGZ_fla.btn4_129} Frame 1
"encendido"Symbol 327 MovieClip {PPGZ_fla.btn4_129} Frame 2
"luz"Symbol 327 MovieClip {PPGZ_fla.btn4_129} Frame 3
"apagado"Symbol 332 MovieClip {PPGZ_fla.btn5_133} Frame 1
"encendido"Symbol 332 MovieClip {PPGZ_fla.btn5_133} Frame 2
"luz"Symbol 332 MovieClip {PPGZ_fla.btn5_133} Frame 3
"apagado"Symbol 337 MovieClip {PPGZ_fla.btn6_137} Frame 1
"encendido"Symbol 337 MovieClip {PPGZ_fla.btn6_137} Frame 2
"luz"Symbol 337 MovieClip {PPGZ_fla.btn6_137} Frame 3
"apagado"Symbol 342 MovieClip {PPGZ_fla.btn7_141} Frame 1
"encendido"Symbol 342 MovieClip {PPGZ_fla.btn7_141} Frame 2
"luz"Symbol 342 MovieClip {PPGZ_fla.btn7_141} Frame 3
"apagado"Symbol 347 MovieClip {PPGZ_fla.btn8_145} Frame 1
"encendido"Symbol 347 MovieClip {PPGZ_fla.btn8_145} Frame 2
"luz"Symbol 347 MovieClip {PPGZ_fla.btn8_145} Frame 3
"apagado"Symbol 352 MovieClip {PPGZ_fla.btn9_149} Frame 1
"encendido"Symbol 352 MovieClip {PPGZ_fla.btn9_149} Frame 2
"luz"Symbol 352 MovieClip {PPGZ_fla.btn9_149} Frame 3
"Start"Symbol 362 MovieClip {TelephonePopUpAsset} Frame 2
"FadedIn"Symbol 362 MovieClip {TelephonePopUpAsset} Frame 10
"End"Symbol 362 MovieClip {TelephonePopUpAsset} Frame 11
"MusicInGame"Symbol 398 MovieClip {PPGZ_fla.pantallaM_162} Frame 1
"MusicMomoko"Symbol 398 MovieClip {PPGZ_fla.pantallaM_162} Frame 2
"MusicKaoru"Symbol 398 MovieClip {PPGZ_fla.pantallaM_162} Frame 3
"MusicMiyako"Symbol 398 MovieClip {PPGZ_fla.pantallaM_162} Frame 4
"MojoMusic"Symbol 398 MovieClip {PPGZ_fla.pantallaM_162} Frame 5
"up"Symbol 419 MovieClip {PPGZ_fla.prevBtn_180} Frame 1
"encendido"Symbol 419 MovieClip {PPGZ_fla.prevBtn_180} Frame 2
"up"Symbol 424 MovieClip {PPGZ_fla.nextBtn_183} Frame 1
"down"Symbol 424 MovieClip {PPGZ_fla.nextBtn_183} Frame 2
"Start"Symbol 434 MovieClip {RadioPopUpAsset} Frame 2
"FadedIn"Symbol 434 MovieClip {RadioPopUpAsset} Frame 10
"End"Symbol 434 MovieClip {RadioPopUpAsset} Frame 11
"Apagau"Symbol 453 MovieClip {PPGZ_fla.Equipo_01_mc_190} Frame 1
"Encendido"Symbol 453 MovieClip {PPGZ_fla.Equipo_01_mc_190} Frame 2
"Apagau"Symbol 458 MovieClip {PPGZ_fla.Equipo_02_mc_200} Frame 1
"Encendido"Symbol 458 MovieClip {PPGZ_fla.Equipo_02_mc_200} Frame 2
"perfect"Symbol 459 MovieClip {RadioAsset} Frame 1
"Break"Symbol 459 MovieClip {RadioAsset} Frame 2
"apagau"Symbol 506 MovieClip {ComputerAsset} Frame 1
"encendido"Symbol 506 MovieClip {ComputerAsset} Frame 2
"apagado"Symbol 530 MovieClip {PPGZ_fla.btn1compu_219} Frame 1
"encendido"Symbol 530 MovieClip {PPGZ_fla.btn1compu_219} Frame 2
"luz"Symbol 530 MovieClip {PPGZ_fla.btn1compu_219} Frame 3
"apagado"Symbol 537 MovieClip {PPGZ_fla.btnGrande_224} Frame 1
"encendido"Symbol 537 MovieClip {PPGZ_fla.btnGrande_224} Frame 2
"luz"Symbol 537 MovieClip {PPGZ_fla.btnGrande_224} Frame 3
"Start"Symbol 558 MovieClip {PopUpComputerAsset} Frame 2
"FadedIn"Symbol 558 MovieClip {PopUpComputerAsset} Frame 10
"End"Symbol 558 MovieClip {PopUpComputerAsset} Frame 11
"cerrado"Symbol 576 MovieClip {CookerAsset} Frame 1
"Abre"Symbol 576 MovieClip {CookerAsset} Frame 2
"Cierra"Symbol 576 MovieClip {CookerAsset} Frame 3
"abre_cierra"Symbol 576 MovieClip {CookerAsset} Frame 4
"break"Symbol 576 MovieClip {CookerAsset} Frame 5
"comer"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 1
"jugar"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 2
"escuchar_musica"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 3
"mirar_tv"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 4
"ejercitar"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 5
"hablar_telefono"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 6
"dormir"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 7
"alimentarPerro"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 8
"enojo"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 9
"feliz"Symbol 597 MovieClip {PPGZ_fla.globo_253} Frame 10
"apagado"Symbol 632 MovieClip {PPGZ_fla.placa1_268} Frame 1
"encendido"Symbol 632 MovieClip {PPGZ_fla.placa1_268} Frame 2
"luz"Symbol 632 MovieClip {PPGZ_fla.placa1_268} Frame 3
"apagado"Symbol 642 MovieClip {PPGZ_fla.placa2_274} Frame 1
"encendido"Symbol 642 MovieClip {PPGZ_fla.placa2_274} Frame 2
"luz"Symbol 642 MovieClip {PPGZ_fla.placa2_274} Frame 3
"apagado"Symbol 650 MovieClip {PPGZ_fla.placa3_280} Frame 1
"encendido"Symbol 650 MovieClip {PPGZ_fla.placa3_280} Frame 2
"luz"Symbol 650 MovieClip {PPGZ_fla.placa3_280} Frame 3
"apagado"Symbol 658 MovieClip {PPGZ_fla.placa5_286} Frame 1
"encendido"Symbol 658 MovieClip {PPGZ_fla.placa5_286} Frame 2
"luz"Symbol 658 MovieClip {PPGZ_fla.placa5_286} Frame 3
"apagado"Symbol 666 MovieClip {PPGZ_fla.placa4_292} Frame 1
"encendido"Symbol 666 MovieClip {PPGZ_fla.placa4_292} Frame 2
"luz"Symbol 666 MovieClip {PPGZ_fla.placa4_292} Frame 3
"apagado"Symbol 674 MovieClip {PPGZ_fla.placa6_298} Frame 1
"encendido"Symbol 674 MovieClip {PPGZ_fla.placa6_298} Frame 2
"luz"Symbol 674 MovieClip {PPGZ_fla.placa6_298} Frame 3
"Start"Symbol 677 MovieClip {PopUpCookerAsset} Frame 2
"FadedIn"Symbol 677 MovieClip {PopUpCookerAsset} Frame 9
"End"Symbol 677 MovieClip {PopUpCookerAsset} Frame 10
"Idle"Symbol 716 MovieClip {PeachAsset} Frame 1
"Ladra"Symbol 716 MovieClip {PeachAsset} Frame 2
"Duerme"Symbol 716 MovieClip {PeachAsset} Frame 3
"Come"Symbol 716 MovieClip {PeachAsset} Frame 4
"flying"Symbol 782 MovieClip {PPGZ_fla.Mojo_Entra_01_360} Frame 1
"brake"Symbol 782 MovieClip {PPGZ_fla.Mojo_Entra_01_360} Frame 2
"Idle_Frente"Symbol 795 MovieClip {MojoAsset} Frame 1
"Idle_Perfil"Symbol 795 MovieClip {MojoAsset} Frame 2
"Idle_Atras"Symbol 795 MovieClip {MojoAsset} Frame 3
"Bardea"Symbol 795 MovieClip {MojoAsset} Frame 4
"Entra01"Symbol 795 MovieClip {MojoAsset} Frame 5
"Sale01"Symbol 795 MovieClip {MojoAsset} Frame 6
"Sale02"Symbol 795 MovieClip {MojoAsset} Frame 7
"Rie"Symbol 795 MovieClip {MojoAsset} Frame 8
"dormir"Symbol 796 MovieClip {PPGZ_fla.Emotion_375} Frame 1
"enojo"Symbol 796 MovieClip {PPGZ_fla.Emotion_375} Frame 2
"feliz"Symbol 796 MovieClip {PPGZ_fla.Emotion_375} Frame 3
"Normal"Symbol 817 MovieClip {PPGZ_fla.Boca_mc_385} Frame 1
"Enojo"Symbol 817 MovieClip {PPGZ_fla.Boca_mc_385} Frame 2
"z"Symbol 817 MovieClip {PPGZ_fla.Boca_mc_385} Frame 3
"Normal"Symbol 832 MovieClip {PPGZ_fla.Bombon_Ojo_mc_389} Frame 1
"Enojo"Symbol 832 MovieClip {PPGZ_fla.Bombon_Ojo_mc_389} Frame 2
"Feliz"Symbol 832 MovieClip {PPGZ_fla.Bombon_Ojo_mc_389} Frame 3
"Ciclo"Symbol 920 MovieClip {PPGZ_fla.Bombon_enojo_437} Frame 14
"Festejo"Symbol 931 MovieClip {PPGZ_fla.Bombon_Feliz_444} Frame 1
"Ciclo"Symbol 931 MovieClip {PPGZ_fla.Bombon_Feliz_444} Frame 19
"Idle"Symbol 960 MovieClip {MomokoAsset} Frame 1
"Camina_Frente"Symbol 960 MovieClip {MomokoAsset} Frame 2
"Camina_Atras"Symbol 960 MovieClip {MomokoAsset} Frame 3
"Camina_Perfil"Symbol 960 MovieClip {MomokoAsset} Frame 4
"Telefono mi casa"Symbol 960 MovieClip {MomokoAsset} Frame 5
"Bici"Symbol 960 MovieClip {MomokoAsset} Frame 6
"Compu"Symbol 960 MovieClip {MomokoAsset} Frame 7
"Enojo"Symbol 960 MovieClip {MomokoAsset} Frame 8
"Rabieta"Symbol 960 MovieClip {MomokoAsset} Frame 9
"Dance"Symbol 960 MovieClip {MomokoAsset} Frame 10
"Feliz"Symbol 960 MovieClip {MomokoAsset} Frame 11
"Come"Symbol 960 MovieClip {MomokoAsset} Frame 12
"TV"Symbol 960 MovieClip {MomokoAsset} Frame 13
"Molesta"Symbol 960 MovieClip {MomokoAsset} Frame 14
"Mojo"Symbol 960 MovieClip {MomokoAsset} Frame 15
"Normal"Symbol 982 MovieClip {PPGZ_fla.Bellota_Ojos_mc_467} Frame 1
"enojo"Symbol 982 MovieClip {PPGZ_fla.Bellota_Ojos_mc_467} Frame 2
"Feliz"Symbol 982 MovieClip {PPGZ_fla.Bellota_Ojos_mc_467} Frame 3
"Ciclo"Symbol 1058 MovieClip {PPGZ_fla.Bellota_enojo_509} Frame 14
"Festejo"Symbol 1067 MovieClip {PPGZ_fla.Bellota_Feliz_515} Frame 1
"Ciclo"Symbol 1067 MovieClip {PPGZ_fla.Bellota_Feliz_515} Frame 19
"Idle"Symbol 1092 MovieClip {KaoruAsset} Frame 1
"Camina_Frente"Symbol 1092 MovieClip {KaoruAsset} Frame 2
"Camina_Atras"Symbol 1092 MovieClip {KaoruAsset} Frame 3
"Camina_Perfil"Symbol 1092 MovieClip {KaoruAsset} Frame 4
"Telefono mi casa"Symbol 1092 MovieClip {KaoruAsset} Frame 5
"Bici"Symbol 1092 MovieClip {KaoruAsset} Frame 6
"Compu"Symbol 1092 MovieClip {KaoruAsset} Frame 7
"Enojo"Symbol 1092 MovieClip {KaoruAsset} Frame 8
"Rabieta"Symbol 1092 MovieClip {KaoruAsset} Frame 9
"Dance"Symbol 1092 MovieClip {KaoruAsset} Frame 10
"Feliz"Symbol 1092 MovieClip {KaoruAsset} Frame 11
"Come"Symbol 1092 MovieClip {KaoruAsset} Frame 12
"TV"Symbol 1092 MovieClip {KaoruAsset} Frame 13
"Molesta"Symbol 1092 MovieClip {KaoruAsset} Frame 14
"Mojo"Symbol 1092 MovieClip {KaoruAsset} Frame 15
"Normal"Symbol 1118 MovieClip {PPGZ_fla.Burbuja_Ojos_mc_538} Frame 1
"Enojo"Symbol 1118 MovieClip {PPGZ_fla.Burbuja_Ojos_mc_538} Frame 2
"Feliz"Symbol 1118 MovieClip {PPGZ_fla.Burbuja_Ojos_mc_538} Frame 3
"Ciclo"Symbol 1195 MovieClip {PPGZ_fla.Burbuja_enojo_582} Frame 14
"Festejo"Symbol 1204 MovieClip {PPGZ_fla.Burbuja_Feliz_588} Frame 1
"Ciclo"Symbol 1204 MovieClip {PPGZ_fla.Burbuja_Feliz_588} Frame 19
"Idle"Symbol 1229 MovieClip {MiyakoAsset} Frame 1
"Camina_frente"Symbol 1229 MovieClip {MiyakoAsset} Frame 2
"Camina_Atras"Symbol 1229 MovieClip {MiyakoAsset} Frame 3
"Camina_Perfil"Symbol 1229 MovieClip {MiyakoAsset} Frame 4
"Telefono mi casa"Symbol 1229 MovieClip {MiyakoAsset} Frame 5
"Bici"Symbol 1229 MovieClip {MiyakoAsset} Frame 6
"Compu"Symbol 1229 MovieClip {MiyakoAsset} Frame 7
"Come"Symbol 1229 MovieClip {MiyakoAsset} Frame 8
"Enojo"Symbol 1229 MovieClip {MiyakoAsset} Frame 9
"Rabieta"Symbol 1229 MovieClip {MiyakoAsset} Frame 10
"Dance"Symbol 1229 MovieClip {MiyakoAsset} Frame 11
"Feliz"Symbol 1229 MovieClip {MiyakoAsset} Frame 12
"TV"Symbol 1229 MovieClip {MiyakoAsset} Frame 13
"Molesta"Symbol 1229 MovieClip {MiyakoAsset} Frame 14
"Mojo"Symbol 1229 MovieClip {MiyakoAsset} Frame 15
"Start"Symbol 1251 MovieClip {MicrophoneScreenAsset} Frame 2
"FadedIn"Symbol 1251 MovieClip {MicrophoneScreenAsset} Frame 7
"End"Symbol 1251 MovieClip {MicrophoneScreenAsset} Frame 12
"Start"Symbol 1269 MovieClip {TransicionSponsorAsset} Frame 2
"FadedIn"Symbol 1269 MovieClip {TransicionSponsorAsset} Frame 20
"End"Symbol 1269 MovieClip {TransicionSponsorAsset} Frame 72
"esp"Symbol 1311 MovieClip {PPGZ_fla.logo_mc_644} Frame 1
"eng"Symbol 1311 MovieClip {PPGZ_fla.logo_mc_644} Frame 2
"por"Symbol 1311 MovieClip {PPGZ_fla.logo_mc_644} Frame 3
"Start"Symbol 1369 MovieClip {MainMenuAsset} Frame 2
"FadedIn"Symbol 1369 MovieClip {MainMenuAsset} Frame 16
"End"Symbol 1369 MovieClip {MainMenuAsset} Frame 17
"Start"Symbol 1462 MovieClip {InstructionsAsset} Frame 2
"FadedIn"Symbol 1462 MovieClip {InstructionsAsset} Frame 24
"End"Symbol 1462 MovieClip {InstructionsAsset} Frame 28
"esp"Symbol 1513 MovieClip {placaG} Frame 1
"por"Symbol 1513 MovieClip {placaG} Frame 2
"eng"Symbol 1513 MovieClip {placaG} Frame 3
"esp"Symbol 1517 MovieClip {GameWonTitleTxt} Frame 1
"por"Symbol 1517 MovieClip {GameWonTitleTxt} Frame 2
"eng"Symbol 1517 MovieClip {GameWonTitleTxt} Frame 3
"SUPER"Symbol 1524 MovieClip {PPGZ_fla.categoriaslastforever_714} Frame 1
"CAPRICHOSAS"Symbol 1524 MovieClip {PPGZ_fla.categoriaslastforever_714} Frame 2
"MOLESTAS"Symbol 1524 MovieClip {PPGZ_fla.categoriaslastforever_714} Frame 3
"Start"Symbol 1566 MovieClip {GameWonAsset} Frame 2
"FadedIn"Symbol 1566 MovieClip {GameWonAsset} Frame 41
"End"Symbol 1566 MovieClip {GameWonAsset} Frame 42
"esp"Symbol 1590 MovieClip {ScoreText} Frame 1
"por"Symbol 1590 MovieClip {ScoreText} Frame 2
"eng"Symbol 1590 MovieClip {ScoreText} Frame 3
"Start"Symbol 1593 MovieClip {GameLostAsset} Frame 2
"FadedIn"Symbol 1593 MovieClip {GameLostAsset} Frame 25
"End"Symbol 1593 MovieClip {GameLostAsset} Frame 27
"sin_sonido"Symbol 1633 MovieClip {SinSonido} Frame 1
"con_sonido"Symbol 1641 MovieClip {ConSonido} Frame 1
"esp"Symbol 1695 MovieClip {resultados1_txt} Frame 1
"por"Symbol 1695 MovieClip {resultados1_txt} Frame 2
"eng"Symbol 1695 MovieClip {resultados1_txt} Frame 3
"Start"Symbol 1709 MovieClip {LevelResultsAsset} Frame 2
"FadedIn"Symbol 1709 MovieClip {LevelResultsAsset} Frame 25
"End"Symbol 1709 MovieClip {LevelResultsAsset} Frame 28
"Start"Symbol 1718 MovieClip {TransitionAsset} Frame 2
"FadedIn"Symbol 1718 MovieClip {TransitionAsset} Frame 20
"End"Symbol 1718 MovieClip {TransitionAsset} Frame 22
"Start"Symbol 1721 MovieClip {TextTransitionAsset} Frame 2
"FadedIn"Symbol 1721 MovieClip {TextTransitionAsset} Frame 10
"End"Symbol 1721 MovieClip {TextTransitionAsset} Frame 20




http://swfchan.com/52/256181/info.shtml
Created: 2/6 -2024 05:44:47 Last modified: 2/6 -2024 05:44:47 Server time: 17/09 -2024 02:47:49