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

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

Samantha's Dress Up Game.swf

This is the info page for
Flash #143553

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


ActionScript [AS3]
Section 1
//BotonesCat (Catalogos.BotonesCat) package Catalogos { public class BotonesCat { public static const Iman:int = 10; public static const GirlIzq:int = 1; public static const MiscDer:int = 4; public static const MoreIzq:int = 7; public static const BoyDer:int = 6; public static const BoyIzq:int = 5; public static const GirlDer:int = 2; public static const MiscIzq:int = 3; public static const MoreDer:int = 8; public static const OrderBy:int = 9; } }//package Catalogos
Section 2
//GrupoRopa (Catalogos.GrupoRopa) package Catalogos { public class GrupoRopa { public static const BOYS:int = 3; public static const GIRLS:int = 1; public static const NONE:int = 0; public static const MISC:int = 2; } }//package Catalogos
Section 3
//Personajes (Catalogos.Personajes) package Catalogos { public class Personajes { public static const OPTION_BABY_CONEJO:int = 3; public static const OPTION_EVAN:int = 1; public static const OPTION_GAKUSEI:int = 5; public static const OPTION_MIGUEL:int = 12; public static const OPTION_BART:int = 9; public static const OPTION_ASH:int = 6; public static const OPTION_CHRISTOPHER:int = 11; public static const OPTION_CAPTAINMEXICO:int = 4; public static const OPTION_ARTHUR:int = 7; public static const OPTION_REQUIEM:int = 10; public static const OPTION_EMILIO:int = 8; public static const OPTION_IRVING:int = 2; } }//package Catalogos
Section 4
//VariablesPantalla (Catalogos.VariablesPantalla) package Catalogos { public class VariablesPantalla { public static const SCREEN_HEIGHT:int = 648; public static const SCREEN_WIDTH:int = 1212; } }//package Catalogos
Section 5
//Botones (Classes.Botones) package Classes { import flash.display.*; import flash.geom.*; import Catalogos.*; public class Botones { private var flechaBoyDerImg:Class; private var flechaBoyIzqLuzImg:Class; private var bitmapFlechaDerBoy:BitmapData;// = null private var bitmapFlechaIzqMoreLuz:BitmapData;// = null private var bitmapFlechaDerBoyLuz:BitmapData;// = null private var bitmapFlechaIzqGirl:BitmapData;// = null private var bitmapFlechaDerMisc:BitmapData;// = null private var bitmapFlechaDerGirlLuz:BitmapData;// = null private var bitmapFlechaIzqMiscLuz:BitmapData;// = null private var bitmapFlechaIzqBoyLuz:BitmapData;// = null private var bitmapBotonImanLuz:BitmapData;// = null private var bitmapBotonAZLuz:BitmapData;// = null private var botonAZImg:Class; private var flechaMoreDerLuzImg:Class; private var flechaMoreIzqImg:Class; private var bitmapFlechaDerMoreLuz:BitmapData;// = null private var botonImanLuzImg:Class; private var flechaGirlIzqImg:Class; private var bitmapFlechaDerGirl:BitmapData;// = null private var bitmapFlechaDerMiscLuz:BitmapData;// = null private var bitmapFlechaIzqMore:BitmapData;// = null private var flechaGirlDerLuzImg:Class; private var flechaBoyIzqImg:Class; private var flechaGirlIzqLuzImg:Class; private var bitmapFlechaIzqBoy:BitmapData;// = null private var bitmapFlechaIzqMisc:BitmapData;// = null private var bitmapFlechaIzqGirlLuz:BitmapData;// = null private var flechaMoreIzqLuzImg:Class; private var flechaMoreDerImg:Class; private var bitmapBotonIman:BitmapData;// = null private var flechaGirlDerImg:Class; private var botonImanImg:Class; private var bitmapBotonAZ:BitmapData;// = null private var botonAZLuzImg:Class; private var bitmapFlechaDerMore:BitmapData;// = null private var flechaBoyDerLuzImg:Class; public function Botones(){ flechaGirlIzqImg = Botones_flechaGirlIzqImg; flechaGirlDerImg = Botones_flechaGirlDerImg; flechaBoyIzqImg = Botones_flechaBoyIzqImg; flechaBoyDerImg = Botones_flechaBoyDerImg; flechaMoreIzqImg = Botones_flechaMoreIzqImg; flechaMoreDerImg = Botones_flechaMoreDerImg; botonAZImg = Botones_botonAZImg; botonImanImg = Botones_botonImanImg; flechaGirlIzqLuzImg = Botones_flechaGirlIzqLuzImg; flechaGirlDerLuzImg = Botones_flechaGirlDerLuzImg; flechaBoyIzqLuzImg = Botones_flechaBoyIzqLuzImg; flechaBoyDerLuzImg = Botones_flechaBoyDerLuzImg; flechaMoreIzqLuzImg = Botones_flechaMoreIzqLuzImg; flechaMoreDerLuzImg = Botones_flechaMoreDerLuzImg; botonAZLuzImg = Botones_botonAZLuzImg; botonImanLuzImg = Botones_botonImanLuzImg; super(); } public function drawMenuOpciones(_arg1:BitmapData, _arg2:int, _arg3:Boolean):void{ if (bitmapFlechaIzqGirl == null){ bitmapFlechaIzqGirl = new BitmapData(38, 38, true, 0); bitmapFlechaIzqGirl.draw(new flechaGirlIzqImg()); }; if (bitmapFlechaIzqGirlLuz == null){ bitmapFlechaIzqGirlLuz = new BitmapData(38, 38, true, 0); bitmapFlechaIzqGirlLuz.draw(new flechaGirlIzqLuzImg()); }; if (bitmapFlechaDerGirl == null){ bitmapFlechaDerGirl = new BitmapData(38, 38, true, 0); bitmapFlechaDerGirl.draw(new flechaGirlDerImg()); }; if (bitmapFlechaDerGirlLuz == null){ bitmapFlechaDerGirlLuz = new BitmapData(38, 38, true, 0); bitmapFlechaDerGirlLuz.draw(new flechaGirlDerLuzImg()); }; if (bitmapFlechaIzqMisc == null){ bitmapFlechaIzqMisc = new BitmapData(38, 38, true, 0); bitmapFlechaIzqMisc.draw(new flechaGirlIzqImg()); }; if (bitmapFlechaIzqMiscLuz == null){ bitmapFlechaIzqMiscLuz = new BitmapData(38, 38, true, 0); bitmapFlechaIzqMiscLuz.draw(new flechaGirlIzqLuzImg()); }; if (bitmapFlechaDerMisc == null){ bitmapFlechaDerMisc = new BitmapData(38, 38, true, 0); bitmapFlechaDerMisc.draw(new flechaGirlDerImg()); }; if (bitmapFlechaDerMiscLuz == null){ bitmapFlechaDerMiscLuz = new BitmapData(38, 38, true, 0); bitmapFlechaDerMiscLuz.draw(new flechaGirlDerLuzImg()); }; if (bitmapFlechaIzqBoy == null){ bitmapFlechaIzqBoy = new BitmapData(38, 38, true, 0); bitmapFlechaIzqBoy.draw(new flechaBoyIzqImg()); }; if (bitmapFlechaIzqBoyLuz == null){ bitmapFlechaIzqBoyLuz = new BitmapData(38, 38, true, 0); bitmapFlechaIzqBoyLuz.draw(new flechaBoyIzqLuzImg()); }; if (bitmapFlechaDerBoy == null){ bitmapFlechaDerBoy = new BitmapData(38, 38, true, 0); bitmapFlechaDerBoy.draw(new flechaBoyDerImg()); }; if (bitmapFlechaDerBoyLuz == null){ bitmapFlechaDerBoyLuz = new BitmapData(38, 38, true, 0); bitmapFlechaDerBoyLuz.draw(new flechaBoyDerLuzImg()); }; if (bitmapFlechaIzqMore == null){ bitmapFlechaIzqMore = new BitmapData(38, 38, true, 0); bitmapFlechaIzqMore.draw(new flechaMoreIzqImg()); }; if (bitmapFlechaIzqMoreLuz == null){ bitmapFlechaIzqMoreLuz = new BitmapData(38, 38, true, 0); bitmapFlechaIzqMoreLuz.draw(new flechaMoreIzqLuzImg()); }; if (bitmapFlechaDerMore == null){ bitmapFlechaDerMore = new BitmapData(38, 38, true, 0); bitmapFlechaDerMore.draw(new flechaMoreDerImg()); }; if (bitmapFlechaDerMoreLuz == null){ bitmapFlechaDerMoreLuz = new BitmapData(38, 38, true, 0); bitmapFlechaDerMoreLuz.draw(new flechaMoreDerLuzImg()); }; if (bitmapBotonAZ == null){ bitmapBotonAZ = new BitmapData(38, 38, true, 0); bitmapBotonAZ.draw(new botonAZImg()); }; if (bitmapBotonAZLuz == null){ bitmapBotonAZLuz = new BitmapData(38, 38, true, 0); bitmapBotonAZLuz.draw(new botonAZLuzImg()); }; if (bitmapBotonIman == null){ bitmapBotonIman = new BitmapData(38, 38, true, 0); bitmapBotonIman.draw(new botonImanImg()); }; if (bitmapBotonImanLuz == null){ bitmapBotonImanLuz = new BitmapData(38, 38, true, 0); bitmapBotonImanLuz.draw(new botonImanLuzImg()); }; if (_arg2 == BotonesCat.GirlIzq){ _arg1.copyPixels(bitmapFlechaIzqGirlLuz, new Rectangle(0, 0, 38, 38), new Point(20, 37)); } else { _arg1.copyPixels(bitmapFlechaIzqGirl, new Rectangle(0, 0, 38, 38), new Point(20, 37)); }; if (_arg2 == BotonesCat.GirlDer){ _arg1.copyPixels(bitmapFlechaDerGirlLuz, new Rectangle(0, 0, 38, 38), new Point(57, 37)); } else { _arg1.copyPixels(bitmapFlechaDerGirl, new Rectangle(0, 0, 38, 38), new Point(57, 37)); }; if (_arg2 == BotonesCat.MiscIzq){ _arg1.copyPixels(bitmapFlechaIzqMiscLuz, new Rectangle(0, 0, 38, 38), new Point(20, 116)); } else { _arg1.copyPixels(bitmapFlechaIzqMisc, new Rectangle(0, 0, 38, 38), new Point(20, 116)); }; if (_arg2 == BotonesCat.MiscDer){ _arg1.copyPixels(bitmapFlechaDerMiscLuz, new Rectangle(0, 0, 38, 38), new Point(57, 116)); } else { _arg1.copyPixels(bitmapFlechaDerMisc, new Rectangle(0, 0, 38, 38), new Point(57, 116)); }; if (_arg2 == BotonesCat.BoyIzq){ _arg1.copyPixels(bitmapFlechaIzqBoyLuz, new Rectangle(0, 0, 38, 38), new Point(20, 197)); } else { _arg1.copyPixels(bitmapFlechaIzqBoy, new Rectangle(0, 0, 38, 38), new Point(20, 197)); }; if (_arg2 == BotonesCat.BoyDer){ _arg1.copyPixels(bitmapFlechaDerBoyLuz, new Rectangle(0, 0, 38, 38), new Point(57, 197)); } else { _arg1.copyPixels(bitmapFlechaDerBoy, new Rectangle(0, 0, 38, 38), new Point(57, 197)); }; if (_arg2 == BotonesCat.MoreIzq){ _arg1.copyPixels(bitmapFlechaIzqMoreLuz, new Rectangle(0, 0, 38, 38), new Point(20, 254)); } else { _arg1.copyPixels(bitmapFlechaIzqMore, new Rectangle(0, 0, 38, 38), new Point(20, 254)); }; if (_arg2 == BotonesCat.MoreDer){ _arg1.copyPixels(bitmapFlechaDerMoreLuz, new Rectangle(0, 0, 38, 38), new Point(57, 254)); } else { _arg1.copyPixels(bitmapFlechaDerMore, new Rectangle(0, 0, 38, 38), new Point(57, 254)); }; if (_arg2 == BotonesCat.OrderBy){ _arg1.copyPixels(bitmapBotonAZLuz, new Rectangle(0, 0, 38, 38), new Point(20, 291)); } else { _arg1.copyPixels(bitmapBotonAZ, new Rectangle(0, 0, 38, 38), new Point(20, 291)); }; if (_arg3){ _arg1.copyPixels(bitmapBotonImanLuz, new Rectangle(0, 0, 38, 38), new Point(57, 291)); } else { _arg1.copyPixels(bitmapBotonIman, new Rectangle(0, 0, 38, 38), new Point(57, 291)); }; } } }//package Classes
Section 6
//Botones_botonAZImg (Classes.Botones_botonAZImg) package Classes { import mx.core.*; public class Botones_botonAZImg extends BitmapAsset { } }//package Classes
Section 7
//Botones_botonAZLuzImg (Classes.Botones_botonAZLuzImg) package Classes { import mx.core.*; public class Botones_botonAZLuzImg extends BitmapAsset { } }//package Classes
Section 8
//Botones_botonImanImg (Classes.Botones_botonImanImg) package Classes { import mx.core.*; public class Botones_botonImanImg extends BitmapAsset { } }//package Classes
Section 9
//Botones_botonImanLuzImg (Classes.Botones_botonImanLuzImg) package Classes { import mx.core.*; public class Botones_botonImanLuzImg extends BitmapAsset { } }//package Classes
Section 10
//Botones_flechaBoyDerImg (Classes.Botones_flechaBoyDerImg) package Classes { import mx.core.*; public class Botones_flechaBoyDerImg extends BitmapAsset { } }//package Classes
Section 11
//Botones_flechaBoyDerLuzImg (Classes.Botones_flechaBoyDerLuzImg) package Classes { import mx.core.*; public class Botones_flechaBoyDerLuzImg extends BitmapAsset { } }//package Classes
Section 12
//Botones_flechaBoyIzqImg (Classes.Botones_flechaBoyIzqImg) package Classes { import mx.core.*; public class Botones_flechaBoyIzqImg extends BitmapAsset { } }//package Classes
Section 13
//Botones_flechaBoyIzqLuzImg (Classes.Botones_flechaBoyIzqLuzImg) package Classes { import mx.core.*; public class Botones_flechaBoyIzqLuzImg extends BitmapAsset { } }//package Classes
Section 14
//Botones_flechaGirlDerImg (Classes.Botones_flechaGirlDerImg) package Classes { import mx.core.*; public class Botones_flechaGirlDerImg extends BitmapAsset { } }//package Classes
Section 15
//Botones_flechaGirlDerLuzImg (Classes.Botones_flechaGirlDerLuzImg) package Classes { import mx.core.*; public class Botones_flechaGirlDerLuzImg extends BitmapAsset { } }//package Classes
Section 16
//Botones_flechaGirlIzqImg (Classes.Botones_flechaGirlIzqImg) package Classes { import mx.core.*; public class Botones_flechaGirlIzqImg extends BitmapAsset { } }//package Classes
Section 17
//Botones_flechaGirlIzqLuzImg (Classes.Botones_flechaGirlIzqLuzImg) package Classes { import mx.core.*; public class Botones_flechaGirlIzqLuzImg extends BitmapAsset { } }//package Classes
Section 18
//Botones_flechaMoreDerImg (Classes.Botones_flechaMoreDerImg) package Classes { import mx.core.*; public class Botones_flechaMoreDerImg extends BitmapAsset { } }//package Classes
Section 19
//Botones_flechaMoreDerLuzImg (Classes.Botones_flechaMoreDerLuzImg) package Classes { import mx.core.*; public class Botones_flechaMoreDerLuzImg extends BitmapAsset { } }//package Classes
Section 20
//Botones_flechaMoreIzqImg (Classes.Botones_flechaMoreIzqImg) package Classes { import mx.core.*; public class Botones_flechaMoreIzqImg extends BitmapAsset { } }//package Classes
Section 21
//Botones_flechaMoreIzqLuzImg (Classes.Botones_flechaMoreIzqLuzImg) package Classes { import mx.core.*; public class Botones_flechaMoreIzqLuzImg extends BitmapAsset { } }//package Classes
Section 22
//DibujaPersonajes (Classes.DibujaPersonajes) package Classes { import flash.display.*; import flash.geom.*; import Catalogos.*; public class DibujaPersonajes { private var personajesCompletosOneImg:Class; private var selectedCharacterFourBitmap:BitmapData;// = null private var selectedCharacterOneBitmap:BitmapData;// = null private var personajesCompletosThreeImg:Class; private var selectedCharacterTwoBitmap:BitmapData;// = null private var personajesCompletosFourImg:Class; private var personajesCompletosTwoImg:Class; private var selectedCharacterThreeBitmap:BitmapData;// = null public function DibujaPersonajes(){ personajesCompletosOneImg = DibujaPersonajes_personajesCompletosOneImg; personajesCompletosTwoImg = DibujaPersonajes_personajesCompletosTwoImg; personajesCompletosThreeImg = DibujaPersonajes_personajesCompletosThreeImg; personajesCompletosFourImg = DibujaPersonajes_personajesCompletosFourImg; super(); if (selectedCharacterOneBitmap == null){ selectedCharacterOneBitmap = new BitmapData(1089, 648, true, 0); selectedCharacterOneBitmap.draw(new personajesCompletosOneImg()); }; if (selectedCharacterTwoBitmap == null){ selectedCharacterTwoBitmap = new BitmapData(1089, 648, true, 0); selectedCharacterTwoBitmap.draw(new personajesCompletosTwoImg()); }; if (selectedCharacterThreeBitmap == null){ selectedCharacterThreeBitmap = new BitmapData(1089, 648, true, 0); selectedCharacterThreeBitmap.draw(new personajesCompletosThreeImg()); }; if (selectedCharacterFourBitmap == null){ selectedCharacterFourBitmap = new BitmapData(1089, 648, true, 0); selectedCharacterFourBitmap.draw(new personajesCompletosFourImg()); }; } public function Draw_SelectedCharacter(_arg1:BitmapData, _arg2:int):void{ var _local3:int; var _local4 = 1; switch (_arg2){ case Personajes.OPTION_EVAN: _local3 = 0; _local4 = 1; break; case Personajes.OPTION_IRVING: _local3 = 363; _local4 = 1; break; case Personajes.OPTION_BABY_CONEJO: _local3 = 726; _local4 = 1; break; case Personajes.OPTION_CAPTAINMEXICO: _local3 = 0; _local4 = 2; break; case Personajes.OPTION_GAKUSEI: _local3 = 363; _local4 = 2; break; case Personajes.OPTION_ASH: _local3 = 726; _local4 = 2; break; case Personajes.OPTION_ARTHUR: _local3 = 0; _local4 = 3; break; case Personajes.OPTION_EMILIO: _local3 = 363; _local4 = 3; break; case Personajes.OPTION_BART: _local3 = 726; _local4 = 3; break; case Personajes.OPTION_REQUIEM: _local3 = 0; _local4 = 4; break; case Personajes.OPTION_CHRISTOPHER: _local3 = 363; _local4 = 4; break; case Personajes.OPTION_MIGUEL: _local3 = 726; _local4 = 4; break; }; if (_local4 == 1){ _arg1.copyPixels(selectedCharacterOneBitmap, new Rectangle(_local3, 0, 363, 648), new Point(((VariablesPantalla.SCREEN_WIDTH / 2) - 400), 0)); } else { if (_local4 == 2){ _arg1.copyPixels(selectedCharacterTwoBitmap, new Rectangle(_local3, 0, 363, 648), new Point(((VariablesPantalla.SCREEN_WIDTH / 2) - 400), 0)); } else { if (_local4 == 3){ _arg1.copyPixels(selectedCharacterThreeBitmap, new Rectangle(_local3, 0, 363, 648), new Point(((VariablesPantalla.SCREEN_WIDTH / 2) - 400), 0)); } else { if (_local4 == 4){ _arg1.copyPixels(selectedCharacterFourBitmap, new Rectangle(_local3, 0, 363, 648), new Point(((VariablesPantalla.SCREEN_WIDTH / 2) - 400), 0)); }; }; }; }; } } }//package Classes
Section 23
//DibujaPersonajes_personajesCompletosFourImg (Classes.DibujaPersonajes_personajesCompletosFourImg) package Classes { import mx.core.*; public class DibujaPersonajes_personajesCompletosFourImg extends BitmapAsset { } }//package Classes
Section 24
//DibujaPersonajes_personajesCompletosOneImg (Classes.DibujaPersonajes_personajesCompletosOneImg) package Classes { import mx.core.*; public class DibujaPersonajes_personajesCompletosOneImg extends BitmapAsset { } }//package Classes
Section 25
//DibujaPersonajes_personajesCompletosThreeImg (Classes.DibujaPersonajes_personajesCompletosThreeImg) package Classes { import mx.core.*; public class DibujaPersonajes_personajesCompletosThreeImg extends BitmapAsset { } }//package Classes
Section 26
//DibujaPersonajes_personajesCompletosTwoImg (Classes.DibujaPersonajes_personajesCompletosTwoImg) package Classes { import mx.core.*; public class DibujaPersonajes_personajesCompletosTwoImg extends BitmapAsset { } }//package Classes
Section 27
//GuardaRopa (Classes.GuardaRopa) package Classes { import flash.display.*; import Catalogos.*; public class GuardaRopa { private var _imanEncendido:Boolean;// = true private var elemBotones:Botones; private var _personajeSeleccionado:int;// = 1 private var _sentidoFlecha:Boolean;// = true private var _currentGrupoRopa:int;// = 0 private var opcionBotonesMouseMove:int;// = -1 private var cuerpoPersonajes:DibujaPersonajes; private var _pagRopaBoys:int;// = 0 private var ropManag:RopaManager;// = null private var _pagRopaMisc:int;// = 0 private var _pagRopaGirls:int;// = 0 private var imanActivado:Boolean;// = true private static var _NUM_PERSONAJES:int = 12; private static var _NUM_ROPA_MISC:int = 4; private static var _NUM_ROPA_CHICO:int = 12; private static var _NUM_ROPA_CHICA:int = 13; public function GuardaRopa(){ elemBotones = new Botones(); cuerpoPersonajes = new DibujaPersonajes(); super(); this.imanActivado = true; iniciarGuardaRopa(); } public function mouseUpButtons(_arg1:int, _arg2:int):int{ var _local3:int; return (_local3); } public function get isSomethingDragged():Boolean{ return (this.ropManag.isSomethingDragged); } public function draw(_arg1:BitmapData):void{ var _local8:Boolean; var _local2 = -1; var _local3:Array = new Array(ropManag.totalRopa); var _local4:Array = new Array(ropManag.totalRopaTraz); var _local5:int; while (_local5 < _local3.length) { _local3[_local5] = false; _local5++; }; var _local6:int; while (_local6 < _local4.length) { _local4[_local6] = false; _local6++; }; var _local7:int; while (_local7 < _NUM_ROPA_CHICO) { if (this._currentGrupoRopa == GrupoRopa.BOYS){ _local2 = this._pagRopaBoys; } else { if (this._currentGrupoRopa == GrupoRopa.GIRLS){ _local2 = this._pagRopaGirls; } else { if (this._currentGrupoRopa == GrupoRopa.MISC){ _local2 = this._pagRopaMisc; }; }; }; _local8 = false; if (ropManag.dibujaTraz(_arg1, this._currentGrupoRopa, _local2, _local4)){ _local8 = true; }; if (_local7 == 0){ cuerpoPersonajes.Draw_SelectedCharacter(_arg1, _personajeSeleccionado); elemBotones.drawMenuOpciones(_arg1, this.opcionBotonesMouseMove, this._imanEncendido); }; if (ropManag.dibujaDelante(_arg1, this._currentGrupoRopa, _local2, _local3)){ _local8 = true; }; if (_local8){ break; } else { if (this._currentGrupoRopa == GrupoRopa.BOYS){ if (this._sentidoFlecha){ this._pagRopaBoys++; } else { this._pagRopaBoys--; }; if (this._pagRopaBoys <= 0){ this._pagRopaBoys = _NUM_ROPA_CHICO; } else { if (this._pagRopaBoys > _NUM_ROPA_CHICO){ this._pagRopaBoys = 1; }; }; } else { if (this._currentGrupoRopa == GrupoRopa.GIRLS){ if (this._sentidoFlecha){ this._pagRopaGirls++; } else { this._pagRopaGirls--; }; if (this._pagRopaGirls <= 0){ this._pagRopaGirls = _NUM_ROPA_CHICA; } else { if (this._pagRopaGirls > _NUM_ROPA_CHICA){ this._pagRopaGirls = 1; }; }; } else { if (this._currentGrupoRopa == GrupoRopa.MISC){ if (this._sentidoFlecha){ this._pagRopaMisc++; } else { this._pagRopaMisc--; }; if (this._pagRopaMisc <= 0){ this._pagRopaMisc = _NUM_ROPA_MISC; } else { if (this._pagRopaMisc > _NUM_ROPA_MISC){ this._pagRopaMisc = 1; }; }; }; }; }; }; _local7++; }; } private function iniciarGuardaRopa():void{ } public function ClothRelease(_arg1:int, _arg2:int):void{ this.ropManag.ClothRelease(_arg1, _arg2, this._imanEncendido); } public function get personajeSeleccionado():int{ return (this._personajeSeleccionado); } public function DragCloth(_arg1:int, _arg2:int):void{ if (!ropManag.DragCloth(_arg1, _arg2)){ if ((((((((_arg2 >= 254)) && ((_arg2 < 292)))) && ((_arg1 >= 20)))) && ((_arg1 < 96)))){ if (_arg1 > 58){ this._personajeSeleccionado++; } else { this._personajeSeleccionado--; }; if (this.personajeSeleccionado <= 0){ this._personajeSeleccionado = _NUM_PERSONAJES; } else { if (this.personajeSeleccionado > _NUM_PERSONAJES){ this._personajeSeleccionado = 1; }; }; } else { if ((((((((_arg2 >= 197)) && ((_arg2 < 235)))) && ((_arg1 >= 20)))) && ((_arg1 < 96)))){ if (((!((this._currentGrupoRopa == GrupoRopa.NONE))) && (!((this._currentGrupoRopa == GrupoRopa.BOYS))))){ this._currentGrupoRopa = GrupoRopa.NONE; return; }; this._currentGrupoRopa = GrupoRopa.BOYS; if (_arg1 > 58){ this._pagRopaBoys++; this._sentidoFlecha = true; } else { this._pagRopaBoys--; this._sentidoFlecha = false; }; if (this._pagRopaBoys <= 0){ this._pagRopaBoys = _NUM_ROPA_CHICO; } else { if (this._pagRopaBoys > _NUM_ROPA_CHICO){ this._pagRopaBoys = 1; }; }; } else { if ((((((((_arg2 >= 37)) && ((_arg2 < 75)))) && ((_arg1 >= 20)))) && ((_arg1 < 96)))){ if (((!((this._currentGrupoRopa == GrupoRopa.NONE))) && (!((this._currentGrupoRopa == GrupoRopa.GIRLS))))){ this._currentGrupoRopa = GrupoRopa.NONE; return; }; this._currentGrupoRopa = GrupoRopa.GIRLS; if (_arg1 > 58){ this._pagRopaGirls++; this._sentidoFlecha = true; } else { this._pagRopaGirls--; this._sentidoFlecha = false; }; if (this._pagRopaGirls <= 0){ this._pagRopaGirls = _NUM_ROPA_CHICA; } else { if (this._pagRopaGirls > _NUM_ROPA_CHICA){ this._pagRopaGirls = 1; }; }; } else { if ((((((((_arg2 >= 116)) && ((_arg2 < 154)))) && ((_arg1 >= 20)))) && ((_arg1 < 96)))){ if (((!((this._currentGrupoRopa == GrupoRopa.NONE))) && (!((this._currentGrupoRopa == GrupoRopa.MISC))))){ this._currentGrupoRopa = GrupoRopa.NONE; return; }; this._currentGrupoRopa = GrupoRopa.MISC; if (_arg1 > 58){ this._pagRopaMisc++; this._sentidoFlecha = true; } else { this._pagRopaMisc--; this._sentidoFlecha = false; }; if (this._pagRopaMisc <= 0){ this._pagRopaMisc = _NUM_ROPA_MISC; } else { if (this._pagRopaMisc > _NUM_ROPA_MISC){ this._pagRopaMisc = 1; }; }; } else { if ((((((((_arg2 >= 291)) && ((_arg2 < 329)))) && ((_arg1 >= 58)))) && ((_arg1 < 96)))){ this._imanEncendido = !(_imanEncendido); } else { if ((((((((_arg2 >= 291)) && ((_arg2 < 329)))) && ((_arg1 >= 20)))) && ((_arg1 < 58)))){ this.ropManag.OrderClothes(); }; }; }; }; }; }; }; } public function MoveCloth(_arg1:int, _arg2:int):void{ this.ropManag.MoveCloth(_arg1, _arg2); } public function mouseOverButtons(_arg1:int, _arg2:int):void{ this.opcionBotonesMouseMove = -1; if ((((((((_arg1 >= 20)) && ((_arg1 <= 96)))) && ((_arg2 >= 37)))) && ((_arg2 <= 329)))){ if (_arg1 < 58){ if (_arg2 <= 75){ this.opcionBotonesMouseMove = BotonesCat.GirlIzq; } else { if ((((_arg2 >= 116)) && ((_arg2 < 154)))){ this.opcionBotonesMouseMove = BotonesCat.MiscIzq; } else { if ((((_arg2 >= 197)) && ((_arg2 < 235)))){ this.opcionBotonesMouseMove = BotonesCat.BoyIzq; } else { if ((((_arg2 >= 254)) && ((_arg2 < 292)))){ this.opcionBotonesMouseMove = BotonesCat.MoreIzq; } else { if ((((_arg2 >= 292)) && ((_arg2 < 329)))){ this.opcionBotonesMouseMove = BotonesCat.OrderBy; }; }; }; }; }; } else { if (_arg2 <= 75){ this.opcionBotonesMouseMove = BotonesCat.GirlDer; } else { if ((((_arg2 >= 116)) && ((_arg2 < 154)))){ this.opcionBotonesMouseMove = BotonesCat.MiscDer; } else { if ((((_arg2 >= 197)) && ((_arg2 < 235)))){ this.opcionBotonesMouseMove = BotonesCat.BoyDer; } else { if ((((_arg2 >= 254)) && ((_arg2 < 292)))){ this.opcionBotonesMouseMove = BotonesCat.MoreDer; } else { if ((((_arg2 >= 292)) && ((_arg2 < 329)))){ this.opcionBotonesMouseMove = BotonesCat.Iman; }; }; }; }; }; }; }; } public function set personajeSeleccionado(_arg1:int):void{ if (this.ropManag == null){ this.ropManag = new RopaManager(_arg1); }; this._personajeSeleccionado = _arg1; } public function OrdenarRopas():void{ } } }//package Classes
Section 28
//PreLoader (Classes.PreLoader) package Classes { import flash.display.*; import flash.geom.*; import flash.events.*; import mx.events.*; import mx.preloaders.*; import flash.utils.*; public class PreLoader extends Sprite implements IPreloaderDisplay { protected var _stageHeight:Number;// = 1212 protected var _stageWidth:Number;// = 1212 protected var _bytesLoaded:uint;// = 0 protected var _backgroundColor:uint;// = 4294967295 protected var _msecMinimumDuration:Number;// = 1000 private var titleScreenBitmap:BitmapData;// = null private var progressBitmap:BitmapData;// = null private var progressBarImg:Class; private var titleScreenImg:Class; protected var _bytesExpected:uint;// = 1 protected var _timer:Timer; private var screenBuffer:BitmapData;// = null protected var _fractionLoaded:Number;// = 0 protected var _IsInitComplete:Boolean;// = false protected var _preloader:Sprite; public function PreLoader(){ titleScreenImg = PreLoader_titleScreenImg; progressBarImg = PreLoader_progressBarImg; super(); } public function set stageHeight(_arg1:Number):void{ _stageHeight = _arg1; } public function initialize():void{ screenBuffer = new BitmapData(1212, 648, false, 0); titleScreenBitmap = new BitmapData(1212, 648, true); titleScreenBitmap.draw(new titleScreenImg()); progressBitmap = new BitmapData(330, 120, true, 0); progressBitmap.draw(new progressBarImg()); _timer = new Timer(1); _timer.addEventListener(TimerEvent.TIMER, timerHandler); _timer.start(); } public function set backgroundImage(_arg1:Object):void{ } public function set backgroundSize(_arg1:String):void{ } public function set backgroundAlpha(_arg1:Number):void{ } protected function initCompleteHandler(_arg1:Event):void{ _IsInitComplete = true; } public function set backgroundColor(_arg1:uint):void{ _backgroundColor = _arg1; } protected function initProgressHandler(_arg1:Event):void{ draw(); } public function get stageHeight():Number{ return (_stageHeight); } protected function draw():void{ screenBuffer.copyPixels(titleScreenBitmap, new Rectangle(0, 0, 1212, 648), new Point(0, 0)); screenBuffer.copyPixels(progressBitmap, new Rectangle(21, 8, (286 * _fractionLoaded), 36), new Point(441, 305)); screenBuffer.copyPixels(progressBitmap, new Rectangle(0, 50, 330, 70), new Point(420, 290)); graphics.clear(); graphics.beginBitmapFill(screenBuffer, null, false, false); graphics.drawRect(0, 0, 1212, 648); graphics.endFill(); } public function get backgroundSize():String{ return ("auto"); } protected function completeHandler(_arg1:Event):void{ } public function get backgroundImage():Object{ return (null); } public function get backgroundColor():uint{ return (_backgroundColor); } public function get backgroundAlpha():Number{ return (1); } public function set stageWidth(_arg1:Number):void{ _stageWidth = _arg1; } protected function timerHandler(_arg1:Event):void{ if (((_IsInitComplete) && ((getTimer() > _msecMinimumDuration)))){ _timer.stop(); dispatchEvent(new Event(Event.COMPLETE)); } else { draw(); }; } public function set preloader(_arg1:Sprite):void{ _preloader = _arg1; _arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler); _arg1.addEventListener(Event.COMPLETE, completeHandler); _arg1.addEventListener(FlexEvent.INIT_PROGRESS, initProgressHandler); _arg1.addEventListener(FlexEvent.INIT_COMPLETE, initCompleteHandler); } public function get stageWidth():Number{ return (_stageWidth); } protected function progressHandler(_arg1:ProgressEvent):void{ _bytesLoaded = _arg1.bytesLoaded; _bytesExpected = _arg1.bytesTotal; _fractionLoaded = (Number(_bytesLoaded) / Number(_bytesExpected)); draw(); } } }//package Classes
Section 29
//PreLoader_progressBarImg (Classes.PreLoader_progressBarImg) package Classes { import mx.core.*; public class PreLoader_progressBarImg extends BitmapAsset { } }//package Classes
Section 30
//PreLoader_titleScreenImg (Classes.PreLoader_titleScreenImg) package Classes { import mx.core.*; public class PreLoader_titleScreenImg extends BitmapAsset { } }//package Classes
Section 31
//Ropa (Classes.Ropa) package Classes { import flash.display.*; import flash.geom.*; public class Ropa { protected var posPuestaX:int;// = -2147483648 protected var posCorrectivoX:int;// = 0 protected var alto:Number;// = 0 protected var posPuestaY:int;// = -2147483648 public var estaVisible:Boolean;// = false public var _resetPosition:Boolean;// = true public var estaPuesta:Boolean;// = false protected var ancho:Number;// = 0 protected var idGrupoRopa:int;// = -2147483648 protected var bitmapDibujoUnfold:BitmapData;// = null protected var idRopa:int;// = -2147483648 protected var posDefaultX:int;// = -2147483648 protected var bitmapDibujo:BitmapData;// = null protected var _seDibujo:Boolean;// = false protected var numPagina:int;// = -2147483648 protected var posCurrentY:int;// = -2147483648 protected var posCurrentX:int;// = -2147483648 protected var posDefaultY:int;// = -2147483648 protected var posCorrectivoY:int;// = 0 public function Ropa(_arg1:BitmapData, _arg2:BitmapData, _arg3:int, _arg4:int, _arg5:Number, _arg6:Number, _arg7:int, _arg8:Boolean, _arg9:int, _arg10:int, _arg11:int, _arg12:int){ this.bitmapDibujo = _arg1; this.bitmapDibujoUnfold = _arg2; this.idGrupoRopa = _arg3; this.numPagina = _arg4; this.alto = _arg6; this.ancho = _arg5; this.idRopa = _arg7; this.estaPuesta = _arg8; this.estaVisible = _arg8; this.posDefaultX = _arg9; this.posDefaultY = _arg10; this.posPuestaX = _arg11; this.posPuestaY = _arg12; } public function dibujar(_arg1:BitmapData, _arg2:int, _arg3:int):Boolean{ var _local4:Boolean; if (this._resetPosition){ this._resetPosition = false; if (this.estaPuesta){ posCurrentX = posPuestaX; posCurrentY = posPuestaY; } else { posCurrentX = posDefaultX; posCurrentY = posDefaultY; }; }; if (posCurrentX > 1200){ posCurrentX = 1200; }; if (posCurrentY > 640){ posCurrentY = 640; }; if ((((this.idGrupoRopa == _arg2)) && ((this.numPagina == _arg3)))){ this.estaVisible = true; if (!this.estaPuesta){ _local4 = true; }; } else { this.estaVisible = false; }; if (((this.estaPuesta) || (this.estaVisible))){ this._seDibujo = true; if (((this.estaPuesta) && (!((this.bitmapDibujoUnfold == null))))){ _arg1.copyPixels(this.bitmapDibujoUnfold, new Rectangle(0, 0, ancho, alto), new Point(posCurrentX, posCurrentY)); } else { _arg1.copyPixels(this.bitmapDibujo, new Rectangle(0, 0, ancho, alto), new Point(posCurrentX, posCurrentY)); }; } else { this._seDibujo = false; }; return (_local4); } public function get getSeDibujo():Boolean{ return (this._seDibujo); } public function Drag(_arg1:int, _arg2:int):Boolean{ if (((this.estaPuesta) || (this.estaVisible))){ if (this.bitmapDibujo.getPixel32((_arg1 - this.posCurrentX), (_arg2 - this.posCurrentY)) != 0){ this.posCorrectivoX = (_arg1 - this.posCurrentX); this.posCorrectivoY = (_arg2 - this.posCurrentY); return (true); }; return (false); //unresolved jump }; return (false); } public function get getEstaPuesta():Boolean{ return (this.estaPuesta); } public function resetPosition():void{ this._resetPosition = true; } public function ReleaseMouse(_arg1:int, _arg2:int, _arg3:Boolean):void{ if (this.posCurrentX > 750){ this.estaPuesta = false; } else { this.estaPuesta = true; }; if (((((((((_arg3) && ((_arg1 >= (this.posPuestaX - 50))))) && ((_arg1 <= ((this.posPuestaX + this.ancho) + 50))))) && ((_arg2 >= (this.posPuestaY - 150))))) && ((_arg2 <= ((this.posPuestaY + this.alto) + 150))))){ this.posCurrentX = this.posPuestaX; this.posCurrentY = this.posPuestaY; }; this.posCorrectivoX = 0; this.posCorrectivoY = 0; } public function get getEstaVisitble():Boolean{ return (this.estaVisible); } public function SetMouse(_arg1:int, _arg2:int):void{ this.posCurrentX = (_arg1 - posCorrectivoX); this.posCurrentY = (_arg2 - posCorrectivoY); } public function get getIdRopa():int{ return (this.idRopa); } public function get getPosCurrentX():int{ return (this.posCurrentX); } public function get getPosCurrentY():int{ return (this.posCurrentY); } } }//package Classes
Section 32
//RopaChico (Classes.RopaChico) package Classes { import flash.display.*; import Catalogos.*; public class RopaChico { private static var bitmapBartCalzon:BitmapData = null; private static var bitmapMigPantalon:BitmapData = null; private static var bartZapIzqImg:Class = RopaChico_bartZapIzqImg; private static var evanCintasImg:Class = RopaChico_evanCintasImg; private static var irvChalecoImg:Class = RopaChico_irvChalecoImg; private static var bitmapChiZapIzq:BitmapData = null; private static var bitmapMigCamisa:BitmapData = null; private static var irvPantalonImg:Class = RopaChico_irvPantalonImg; private static var chiCamisaImg:Class = RopaChico_chiCamisaImg; private static var bitmapEvanCalzon:BitmapData = null; private static var bitmapArtPantalon:BitmapData = null; private static var bitmapIrvPantalon:BitmapData = null; private static var bitmapIrvZapatoDer:BitmapData = null; private static var evanVendaIzq:Class = RopaChico_evanVendaIzq; private static var bitmapCapBigote:BitmapData = null; private static var bitmapGakPlayera:BitmapData = null; private static var gakGuanteIzqImg:Class = RopaChico_gakGuanteIzqImg; private static var migMediasImg:Class = RopaChico_migMediasImg; private static var bitmapArtCamisa:BitmapData = null; private static var bitmapAshZapIzq:BitmapData = null; private static var bitmapEmiPlayera:BitmapData = null; private static var bitmapMigZapIzq:BitmapData = null; private static var bitmapAshGuanteDer:BitmapData = null; private static var bitmapGakZapIzq:BitmapData = null; private static var gakSacoImg:Class = RopaChico_gakSacoImg; private static var bitmapGakGuanteDer:BitmapData = null; private static var bitmapCapGuanteDer:BitmapData = null; private static var ashGuanteIzqImg:Class = RopaChico_ashGuanteIzqImg; private static var conZapatoDerImg:Class = RopaChico_conZapatoDerImg; private static var bitmapArtZapatoIzq:BitmapData = null; private static var capCapaImg:Class = RopaChico_capCapaImg; private static var bitmapEmiZapatoDer:BitmapData = null; private static var bitmapConPlayera:BitmapData = null; private static var bitmapCapZapatoDer:BitmapData = null; private static var bitmapMigBarba:BitmapData = null; private static var bitmapReqZapIzq:BitmapData = null; private static var artPantalonImg:Class = RopaChico_artPantalonImg; private static var chiCalzonImg:Class = RopaChico_chiCalzonImg; private static var evanSombreroImg:Class = RopaChico_evanSombreroImg; private static var bitmapEmiAlaDer:BitmapData = null; private static var chiShortImg:Class = RopaChico_chiShortImg; private static var ashCalceDerImg:Class = RopaChico_ashCalceDerImg; private static var irvCamisaImg:Class = RopaChico_irvCamisaImg; private static var ashPantalonImg:Class = RopaChico_ashPantalonImg; private static var bitmapAshCalceIzq:BitmapData = null; private static var bitmapEmiPantalon:BitmapData = null; private static var evanZapDerImg:Class = RopaChico_evanZapDerImg; private static var artSweterImg:Class = RopaChico_artSweterImg; private static var bitmapGakCalceDer:BitmapData = null; private static var irvCalzonImg:Class = RopaChico_irvCalzonImg; private static var bitmapGakPantalon:BitmapData = null; private static var reqZapDerImg:Class = RopaChico_reqZapDerImg; private static var bitmapChiShort:BitmapData = null; private static var capZapatoDerImg:Class = RopaChico_capZapatoDerImg; private static var conZapatoIzqImg:Class = RopaChico_conZapatoIzqImg; private static var bitmapConGuanteDer:BitmapData = null; private static var migCamisaImg:Class = RopaChico_migCamisaImg; private static var bitmapChiCalceIzq:BitmapData = null; private static var bitmapIrvCamisa:BitmapData = null; private static var gakCalzonImg:Class = RopaChico_gakCalzonImg; private static var ashCalzonImg:Class = RopaChico_ashCalzonImg; private static var bitmapConZapatoDer:BitmapData = null; private static var capSombreroImg:Class = RopaChico_capSombreroImg; private static var capTrajeImg:Class = RopaChico_capTrajeImg; private static var irvZapatoDerImg:Class = RopaChico_irvZapatoDerImg; private static var bitmapEvanCintas:BitmapData = null; private static var ashCalceIzqImg:Class = RopaChico_ashCalceIzqImg; private static var bitmapAshCham:BitmapData = null; private static var bitmapReqCalceIzq:BitmapData = null; private static var bitmapChiZapDer:BitmapData = null; private static var capCalzonImg:Class = RopaChico_capCalzonImg; private static var bitmapMigMedias:BitmapData = null; private static var bitmapChiCalzon:BitmapData = null; private static var evanZapIzqImg:Class = RopaChico_evanZapIzqImg; private static var migBarbaImg:Class = RopaChico_migBarbaImg; private static var evanVendaDer:Class = RopaChico_evanVendaDer; private static var reqZapIzqImg:Class = RopaChico_reqZapIzqImg; private static var bitmapAshZapDer:BitmapData = null; private static var bitmapAshPlayera:BitmapData = null; private static var evanVendasPetoImg:Class = RopaChico_evanVendasPetoImg; private static var capZapatoIzqImg:Class = RopaChico_capZapatoIzqImg; private static var bitmapGakZapDer:BitmapData = null; private static var bitmapMigZapDer:BitmapData = null; private static var bartCalzonImg:Class = RopaChico_bartCalzonImg; private static var bitmapEvanVendaIzq:BitmapData = null; private static var bitmapAshCalzon:BitmapData = null; private static var bitmapBartPlayera:BitmapData = null; private static var bitmapArtZapatoDer:BitmapData = null; private static var bitmapReqZapDer:BitmapData = null; private static var evanChalecoImg:Class = RopaChico_evanChalecoImg; private static var irvZapatoIzqImg:Class = RopaChico_irvZapatoIzqImg; private static var evanPantsImg:Class = RopaChico_evanPantsImg; private static var conGuanteDerImg:Class = RopaChico_conGuanteDerImg; private static var irvCalcetinDerImg:Class = RopaChico_irvCalcetinDerImg; private static var emiZapatoPlayera:Class = RopaChico_emiZapatoPlayera; private static var bitmapGakCalzon:BitmapData = null; private static var bitmapEvanChaleco:BitmapData = null; private static var bitmapIrvCalcetinIzq:BitmapData = null; private static var bitmapReqCalzon:BitmapData = null; private static var emiZapatoDerImg:Class = RopaChico_emiZapatoDerImg; private static var bitmapArtCalzon:BitmapData = null; private static var ashPlayeraImg:Class = RopaChico_ashPlayeraImg; private static var conPlayeraImg:Class = RopaChico_conPlayeraImg; private static var bitmapBartZapIzq:BitmapData = null; private static var bitmapAshCalceDer:BitmapData = null; private static var bitmapConShorts:BitmapData = null; private static var bitmapCapCinturon:BitmapData = null; private static var bitmapAshPantalon:BitmapData = null; private static var gakCalceDerImg:Class = RopaChico_gakCalceDerImg; private static var chiZapDerImg:Class = RopaChico_chiZapDerImg; private static var gakPantalonImg:Class = RopaChico_gakPantalonImg; private static var artCamisaImg:Class = RopaChico_artCamisaImg; private static var bitmapBartCalceIzq:BitmapData = null; private static var emiPantalonImg:Class = RopaChico_emiPantalonImg; private static var emiLeotardoImg:Class = RopaChico_emiLeotardoImg; private static var bitmapEvanZapIzq:BitmapData = null; private static var bitmapCapCalzon:BitmapData = null; private static var conGuanteIzqImg:Class = RopaChico_conGuanteIzqImg; private static var capGuanteDerImg:Class = RopaChico_capGuanteDerImg; private static var irvCalcetinIzqImg:Class = RopaChico_irvCalcetinIzqImg; private static var bitmapChiCalceDer:BitmapData = null; private static var emiZapatoIzqImg:Class = RopaChico_emiZapatoIzqImg; private static var ashChamImg:Class = RopaChico_ashChamImg; private static var reqCalceDerImg:Class = RopaChico_reqCalceDerImg; private static var ashGorraImg:Class = RopaChico_ashGorraImg; private static var conShortsImg:Class = RopaChico_conShortsImg; private static var bitmapCapSombrero:BitmapData = null; private static var bitmapAshGuanteIzq:BitmapData = null; private static var bitmapEvanPants:BitmapData = null; private static var reqPantalonImg:Class = RopaChico_reqPantalonImg; private static var bitmapGakGuanteIzq:BitmapData = null; private static var bitmapIrvZapatoIzq:BitmapData = null; private static var evanCalzonImg:Class = RopaChico_evanCalzonImg; private static var bitmapGakSaco:BitmapData = null; private static var chiCalceDerImg:Class = RopaChico_chiCalceDerImg; private static var migZapDerImg:Class = RopaChico_migZapDerImg; private static var gakCalceIzqImg:Class = RopaChico_gakCalceIzqImg; private static var migPantalonImg:Class = RopaChico_migPantalonImg; private static var bartCalceDerImg:Class = RopaChico_bartCalceDerImg; private static var bartShortImg:Class = RopaChico_bartShortImg; private static var capCinturonImg:Class = RopaChico_capCinturonImg; private static var artLentesImg:Class = RopaChico_artLentesImg; private static var artCalzonImg:Class = RopaChico_artCalzonImg; private static var chiZapIzqImg:Class = RopaChico_chiZapIzqImg; private static var bitmapCapGuanteIzq:BitmapData = null; private static var bitmapCapCapa:BitmapData = null; private static var reqCalceIzqImg:Class = RopaChico_reqCalceIzqImg; private static var bitmapReqCalceDer:BitmapData = null; private static var bartCalceIzqImg:Class = RopaChico_bartCalceIzqImg; private static var bitmapEmiZapatoIzq:BitmapData = null; private static var bitmapChiCamisa:BitmapData = null; private static var emiAlaDerImg:Class = RopaChico_emiAlaDerImg; private static var capGuanteIzqImg:Class = RopaChico_capGuanteIzqImg; private static var bitmapEvanVendaDer:BitmapData = null; private static var bitmapIrvChaleco:BitmapData = null; private static var ashZapDerImg:Class = RopaChico_ashZapDerImg; private static var reqCalzonImg:Class = RopaChico_reqCalzonImg; private static var conCrotchImg:Class = RopaChico_conCrotchImg; private static var bitmapIrvCalzon:BitmapData = null; private static var bitmapCapZapatoIzq:BitmapData = null; private static var bartPlayeraImg:Class = RopaChico_bartPlayeraImg; private static var bitmapConCrotch:BitmapData = null; private static var bitmapEvanSombrero:BitmapData = null; private static var artZapatoDerImg:Class = RopaChico_artZapatoDerImg; private static var bitmapReqPantalon:BitmapData = null; private static var bitmapEvanVendasPeto:BitmapData = null; private static var bitmapReqPlayera:BitmapData = null; private static var gakZapDerImg:Class = RopaChico_gakZapDerImg; private static var bartZapDerImg:Class = RopaChico_bartZapDerImg; private static var bitmapCapTraje:BitmapData = null; private static var emiAlaIzqImg:Class = RopaChico_emiAlaIzqImg; private static var bitmapAshGorra:BitmapData = null; private static var gakPlayeraImg:Class = RopaChico_gakPlayeraImg; private static var reqPlayeraImg:Class = RopaChico_reqPlayeraImg; private static var bitmapArtLentes:BitmapData = null; private static var bitmapEmiAlaIzq:BitmapData = null; private static var bitmapIrvCalcetinDer:BitmapData = null; private static var bitmapEmiLeotardo:BitmapData = null; private static var bitmapArtCrotch:BitmapData = null; private static var gakGuanteDerImg:Class = RopaChico_gakGuanteDerImg; private static var capBigoteImg:Class = RopaChico_capBigoteImg; private static var bitmapGakCalceIzq:BitmapData = null; private static var bitmapBartShort:BitmapData = null; private static var bitmapBartZapDer:BitmapData = null; private static var migZapIzqImg:Class = RopaChico_migZapIzqImg; private static var chiCalceIzqImg:Class = RopaChico_chiCalceIzqImg; private static var bitmapConGuanteIzq:BitmapData = null; private static var bitmapArtSweter:BitmapData = null; private static var artCrotchImg:Class = RopaChico_artCrotchImg; private static var bitmapBartCalceDer:BitmapData = null; private static var ashGuanteDerImg:Class = RopaChico_ashGuanteDerImg; private static var bitmapEvanZapDer:BitmapData = null; private static var artZapatoIzqImg:Class = RopaChico_artZapatoIzqImg; private static var bitmapConZapatoIzq:BitmapData = null; private static var gakZapIzqImg:Class = RopaChico_gakZapIzqImg; private static var ashZapIzqImg:Class = RopaChico_ashZapIzqImg; public static function llenaArregloRopaTraz(_arg1:Array, _arg2:int, _arg3:int):void{ var _local4:Boolean; if (_arg2 == Personajes.OPTION_EVAN){ _local4 = true; }; if (bitmapEvanCintas == null){ bitmapEvanCintas = new BitmapData(117, 221, true, 0); bitmapEvanCintas.draw(new evanCintasImg()); }; var _local5:RopaTraz = new RopaTraz(null, bitmapEvanCintas, null, GrupoRopa.BOYS, 1, 117, 221, _arg3, _local4, 816, 243, 235, 243); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_EMILIO){ _local4 = true; }; if (bitmapEmiAlaIzq == null){ bitmapEmiAlaIzq = new BitmapData(191, 153, true, 0); bitmapEmiAlaIzq.draw(new emiAlaIzqImg()); }; _local5 = new RopaTraz(null, bitmapEmiAlaIzq, null, GrupoRopa.BOYS, 8, 191, 153, _arg3, _local4, 738, 119, 157, 119); _arg1.push(_local5); _arg3++; if (bitmapEmiAlaDer == null){ bitmapEmiAlaDer = new BitmapData(193, 153, true, 0); bitmapEmiAlaDer.draw(new emiAlaDerImg()); }; _local5 = new RopaTraz(null, bitmapEmiAlaDer, null, GrupoRopa.BOYS, 8, 193, 153, _arg3, _local4, 1006, 108, 425, 108); _arg1.push(_local5); _arg3++; _local4 = false; } public static function llenaArregloRopa(_arg1:Array, _arg2:int, _arg3:int):void{ var _local4:Boolean; if (_arg2 == Personajes.OPTION_EVAN){ _local4 = true; }; if (bitmapEvanCalzon == null){ bitmapEvanCalzon = new BitmapData(98, 73, true, 0); bitmapEvanCalzon.draw(new evanCalzonImg()); }; var _local5:Ropa = new Ropa(bitmapEvanCalzon, null, GrupoRopa.BOYS, 1, 98, 73, _arg3, _local4, 921, 295, 340, 295); _arg1.push(_local5); _arg3++; if (bitmapEvanVendasPeto == null){ bitmapEvanVendasPeto = new BitmapData(98, 59, true, 0); bitmapEvanVendasPeto.draw(new evanVendasPetoImg()); }; _local5 = new Ropa(bitmapEvanVendasPeto, null, GrupoRopa.BOYS, 1, 98, 59, _arg3, _local4, 919, 210, 338, 210); _arg1.push(_local5); _arg3++; if (bitmapEvanVendaDer == null){ bitmapEvanVendaDer = new BitmapData(88, 64, true, 0); bitmapEvanVendaDer.draw(new evanVendaDer()); }; _local5 = new Ropa(bitmapEvanVendaDer, null, GrupoRopa.BOYS, 1, 88, 64, _arg3, _local4, 1042, 241, 461, 241); _arg1.push(_local5); _arg3++; if (bitmapEvanVendaIzq == null){ bitmapEvanVendaIzq = new BitmapData(77, 53, true, 0); bitmapEvanVendaIzq.draw(new evanVendaIzq()); }; _local5 = new Ropa(bitmapEvanVendaIzq, null, GrupoRopa.BOYS, 1, 77, 53, _arg3, _local4, 806, 244, 225, 244); _arg1.push(_local5); _arg3++; if (bitmapEvanChaleco == null){ bitmapEvanChaleco = new BitmapData(121, 166, true, 0); bitmapEvanChaleco.draw(new evanChalecoImg()); }; _local5 = new Ropa(bitmapEvanChaleco, null, GrupoRopa.BOYS, 1, 121, 166, _arg3, _local4, 901, 105, 320, 105); _arg1.push(_local5); _arg3++; if (bitmapEvanPants == null){ bitmapEvanPants = new BitmapData(243, 311, true, 0); bitmapEvanPants.draw(new evanPantsImg()); }; _local5 = new Ropa(bitmapEvanPants, null, GrupoRopa.BOYS, 1, 243, 311, _arg3, _local4, 848, 272, 267, 272); _arg1.push(_local5); _arg3++; if (bitmapEvanZapIzq == null){ bitmapEvanZapIzq = new BitmapData(92, 64, true, 0); bitmapEvanZapIzq.draw(new evanZapIzqImg()); }; _local5 = new Ropa(bitmapEvanZapIzq, null, GrupoRopa.BOYS, 1, 92, 64, _arg3, _local4, 1001, 570, 420, 570); _arg1.push(_local5); _arg3++; if (bitmapEvanZapDer == null){ bitmapEvanZapDer = new BitmapData(82, 52, true, 0); bitmapEvanZapDer.draw(new evanZapDerImg()); }; _local5 = new Ropa(bitmapEvanZapDer, null, GrupoRopa.BOYS, 1, 82, 52, _arg3, _local4, 852, 581, 271, 581); _arg1.push(_local5); _arg3++; if (bitmapEvanSombrero == null){ bitmapEvanSombrero = new BitmapData(142, 123, true, 0); bitmapEvanSombrero.draw(new evanSombreroImg()); }; _local5 = new Ropa(bitmapEvanSombrero, null, GrupoRopa.BOYS, 1, 142, 123, _arg3, _local4, 880, 3, 299, 3); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_IRVING){ _local4 = true; }; if (bitmapIrvCalzon == null){ bitmapIrvCalzon = new BitmapData(123, 104, true, 0); bitmapIrvCalzon.draw(new irvCalzonImg()); }; _local5 = new Ropa(bitmapIrvCalzon, null, GrupoRopa.BOYS, 2, 123, 104, _arg3, _local4, 910, 289, 329, 289); _arg1.push(_local5); _arg3++; if (bitmapIrvCalcetinIzq == null){ bitmapIrvCalcetinIzq = new BitmapData(76, 146, true, 0); bitmapIrvCalcetinIzq.draw(new irvCalcetinIzqImg()); }; _local5 = new Ropa(bitmapIrvCalcetinIzq, null, GrupoRopa.BOYS, 2, 76, 146, _arg3, _local4, 854, 486, 273, 486); _arg1.push(_local5); _arg3++; if (bitmapIrvCalcetinDer == null){ bitmapIrvCalcetinDer = new BitmapData(85, 149, true, 0); bitmapIrvCalcetinDer.draw(new irvCalcetinDerImg()); }; _local5 = new Ropa(bitmapIrvCalcetinDer, null, GrupoRopa.BOYS, 2, 85, 149, _arg3, _local4, 1008, 482, 427, 482); _arg1.push(_local5); _arg3++; if (bitmapIrvZapatoIzq == null){ bitmapIrvZapatoIzq = new BitmapData(81, 58, true, 0); bitmapIrvZapatoIzq.draw(new irvZapatoIzqImg()); }; _local5 = new Ropa(bitmapIrvZapatoIzq, null, GrupoRopa.BOYS, 2, 81, 58, _arg3, _local4, 853, 575, 272, 575); _arg1.push(_local5); _arg3++; if (bitmapIrvZapatoDer == null){ bitmapIrvZapatoDer = new BitmapData(91, 64, true, 0); bitmapIrvZapatoDer.draw(new irvZapatoDerImg()); }; _local5 = new Ropa(bitmapIrvZapatoDer, null, GrupoRopa.BOYS, 2, 91, 64, _arg3, _local4, 1002, 569, 421, 569); _arg1.push(_local5); _arg3++; if (bitmapIrvCamisa == null){ bitmapIrvCamisa = new BitmapData(175, 191, true, 0); bitmapIrvCamisa.draw(new irvCamisaImg()); }; _local5 = new Ropa(bitmapIrvCamisa, null, GrupoRopa.BOYS, 2, 175, 191, _arg3, _local4, 884, 135, 303, 135); _arg1.push(_local5); _arg3++; if (bitmapIrvPantalon == null){ bitmapIrvPantalon = new BitmapData(249, 328, true, 0); bitmapIrvPantalon.draw(new irvPantalonImg()); }; _local5 = new Ropa(bitmapIrvPantalon, null, GrupoRopa.BOYS, 2, 249, 328, _arg3, _local4, 849, 279, 268, 279); _arg1.push(_local5); _arg3++; if (bitmapIrvChaleco == null){ bitmapIrvChaleco = new BitmapData(123, 201, true, 0); bitmapIrvChaleco.draw(new irvChalecoImg()); }; _local5 = new Ropa(bitmapIrvChaleco, null, GrupoRopa.BOYS, 2, 123, 201, _arg3, _local4, 910, 156, 329, 156); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_BABY_CONEJO){ _local4 = true; }; if (bitmapConGuanteIzq == null){ bitmapConGuanteIzq = new BitmapData(67, 65, true, 0); bitmapConGuanteIzq.draw(new conGuanteIzqImg()); }; _local5 = new Ropa(bitmapConGuanteIzq, null, GrupoRopa.BOYS, 3, 67, 65, _arg3, _local4, 792, 234, 211, 234); _arg1.push(_local5); _arg3++; if (bitmapConGuanteDer == null){ bitmapConGuanteDer = new BitmapData(80, 55, true, 0); bitmapConGuanteDer.draw(new conGuanteDerImg()); }; _local5 = new Ropa(bitmapConGuanteDer, null, GrupoRopa.BOYS, 3, 80, 55, _arg3, _local4, 1065, 250, 484, 250); _arg1.push(_local5); _arg3++; if (bitmapConCrotch == null){ bitmapConCrotch = new BitmapData(91, 63, true, 0); bitmapConCrotch.draw(new conCrotchImg()); }; _local5 = new Ropa(bitmapConCrotch, null, GrupoRopa.BOYS, 3, 91, 63, _arg3, _local4, 925, 311, 344, 311); _arg1.push(_local5); _arg3++; if (bitmapConZapatoIzq == null){ bitmapConZapatoIzq = new BitmapData(80, 129, true, 0); bitmapConZapatoIzq.draw(new conZapatoIzqImg()); }; _local5 = new Ropa(bitmapConZapatoIzq, null, GrupoRopa.BOYS, 3, 80, 129, _arg3, _local4, 851, 508, 270, 508); _arg1.push(_local5); _arg3++; if (bitmapConZapatoDer == null){ bitmapConZapatoDer = new BitmapData(87, 129, true, 0); bitmapConZapatoDer.draw(new conZapatoDerImg()); }; _local5 = new Ropa(bitmapConZapatoDer, null, GrupoRopa.BOYS, 3, 87, 129, _arg3, _local4, 1007, 505, 426, 505); _arg1.push(_local5); _arg3++; if (bitmapConShorts == null){ bitmapConShorts = new BitmapData(142, 124, true, 0); bitmapConShorts.draw(new conShortsImg()); }; _local5 = new Ropa(bitmapConShorts, null, GrupoRopa.BOYS, 3, 142, 124, _arg3, _local4, 902, 302, 321, 302); _arg1.push(_local5); _arg3++; if (bitmapConPlayera == null){ bitmapConPlayera = new BitmapData(263, 202, true, 0); bitmapConPlayera.draw(new conPlayeraImg()); }; _local5 = new Ropa(bitmapConPlayera, null, GrupoRopa.BOYS, 3, 263, 202, _arg3, _local4, 831, 155, 250, 155); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_CAPTAINMEXICO){ _local4 = true; }; if (bitmapCapCalzon == null){ bitmapCapCalzon = new BitmapData(124, 104, true, 0); bitmapCapCalzon.draw(new capCalzonImg()); }; _local5 = new Ropa(bitmapCapCalzon, null, GrupoRopa.BOYS, 4, 124, 104, _arg3, _local4, 908, 283, 327, 283); _arg1.push(_local5); _arg3++; if (bitmapCapGuanteIzq == null){ bitmapCapGuanteIzq = new BitmapData(66, 64, true, 0); bitmapCapGuanteIzq.draw(new capGuanteIzqImg()); }; _local5 = new Ropa(bitmapCapGuanteIzq, null, GrupoRopa.BOYS, 4, 66, 64, _arg3, _local4, 793, 233, 212, 233); _arg1.push(_local5); _arg3++; if (bitmapCapGuanteDer == null){ bitmapCapGuanteDer = new BitmapData(78, 54, true, 0); bitmapCapGuanteDer.draw(new capGuanteDerImg()); }; _local5 = new Ropa(bitmapCapGuanteDer, null, GrupoRopa.BOYS, 4, 78, 54, _arg3, _local4, 1067, 250, 486, 250); _arg1.push(_local5); _arg3++; if (bitmapCapZapatoIzq == null){ bitmapCapZapatoIzq = new BitmapData(79, 119, true, 0); bitmapCapZapatoIzq.draw(new capZapatoIzqImg()); }; _local5 = new Ropa(bitmapCapZapatoIzq, null, GrupoRopa.BOYS, 4, 79, 119, _arg3, _local4, 852, 0x0202, 271, 0x0202); _arg1.push(_local5); _arg3++; if (bitmapCapZapatoDer == null){ bitmapCapZapatoDer = new BitmapData(88, 125, true, 0); bitmapCapZapatoDer.draw(new capZapatoDerImg()); }; _local5 = new Ropa(bitmapCapZapatoDer, null, GrupoRopa.BOYS, 4, 88, 125, _arg3, _local4, 1006, 510, 425, 510); _arg1.push(_local5); _arg3++; if (bitmapCapSombrero == null){ bitmapCapSombrero = new BitmapData(260, 184, true, 0); bitmapCapSombrero.draw(new capSombreroImg()); }; _local5 = new Ropa(bitmapCapSombrero, null, GrupoRopa.BOYS, 4, 260, 184, _arg3, _local4, 823, -28, 242, -28); _arg1.push(_local5); _arg3++; if (bitmapCapTraje == null){ bitmapCapTraje = new BitmapData(266, 451, true, 0); bitmapCapTraje.draw(new capTrajeImg()); }; _local5 = new Ropa(bitmapCapTraje, null, GrupoRopa.BOYS, 4, 266, 451, _arg3, _local4, 835, 155, 254, 155); _arg1.push(_local5); _arg3++; if (bitmapCapCinturon == null){ bitmapCapCinturon = new BitmapData(96, 23, true, 0); bitmapCapCinturon.draw(new capCinturonImg()); }; _local5 = new Ropa(bitmapCapCinturon, null, GrupoRopa.BOYS, 4, 96, 23, _arg3, _local4, 920, 293, 339, 293); _arg1.push(_local5); _arg3++; if (bitmapCapCapa == null){ bitmapCapCapa = new BitmapData(124, 81, true, 0); bitmapCapCapa.draw(new capCapaImg()); }; _local5 = new Ropa(bitmapCapCapa, null, GrupoRopa.BOYS, 4, 124, 81, _arg3, _local4, 904, 153, 323, 153); _arg1.push(_local5); _arg3++; if (bitmapCapBigote == null){ bitmapCapBigote = new BitmapData(54, 30, true, 0); bitmapCapBigote.draw(new capBigoteImg()); }; _local5 = new Ropa(bitmapCapBigote, null, GrupoRopa.BOYS, 4, 54, 30, _arg3, _local4, 933, 112, 352, 112); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_GAKUSEI){ _local4 = true; }; if (bitmapGakCalzon == null){ bitmapGakCalzon = new BitmapData(103, 71, true, 0); bitmapGakCalzon.draw(new gakCalzonImg()); }; _local5 = new Ropa(bitmapGakCalzon, null, GrupoRopa.BOYS, 5, 103, 71, _arg3, _local4, 919, 298, 338, 298); _arg1.push(_local5); _arg3++; if (bitmapGakGuanteIzq == null){ bitmapGakGuanteIzq = new BitmapData(46, 42, true, 0); bitmapGakGuanteIzq.draw(new gakGuanteIzqImg()); }; _local5 = new Ropa(bitmapGakGuanteIzq, null, GrupoRopa.BOYS, 5, 46, 42, _arg3, _local4, 806, 254, 225, 254); _arg1.push(_local5); _arg3++; if (bitmapGakGuanteDer == null){ bitmapGakGuanteDer = new BitmapData(53, 45, true, 0); bitmapGakGuanteDer.draw(new gakGuanteDerImg()); }; _local5 = new Ropa(bitmapGakGuanteDer, null, GrupoRopa.BOYS, 5, 53, 45, _arg3, _local4, 1079, 261, 498, 261); _arg1.push(_local5); _arg3++; if (bitmapGakCalceIzq == null){ bitmapGakCalceIzq = new BitmapData(77, 104, true, 0); bitmapGakCalceIzq.draw(new gakCalceIzqImg()); }; _local5 = new Ropa(bitmapGakCalceIzq, null, GrupoRopa.BOYS, 5, 77, 104, _arg3, _local4, 853, 526, 272, 526); _arg1.push(_local5); _arg3++; if (bitmapGakCalceDer == null){ bitmapGakCalceDer = new BitmapData(86, 103, true, 0); bitmapGakCalceDer.draw(new gakCalceDerImg()); }; _local5 = new Ropa(bitmapGakCalceDer, null, GrupoRopa.BOYS, 5, 86, 103, _arg3, _local4, 1006, 528, 425, 528); _arg1.push(_local5); _arg3++; if (bitmapGakZapIzq == null){ bitmapGakZapIzq = new BitmapData(80, 76, true, 0); bitmapGakZapIzq.draw(new gakZapIzqImg()); }; _local5 = new Ropa(bitmapGakZapIzq, null, GrupoRopa.BOYS, 5, 80, 76, _arg3, _local4, 850, 558, 269, 558); _arg1.push(_local5); _arg3++; if (bitmapGakZapDer == null){ bitmapGakZapDer = new BitmapData(91, 81, true, 0); bitmapGakZapDer.draw(new gakZapDerImg()); }; _local5 = new Ropa(bitmapGakZapDer, null, GrupoRopa.BOYS, 5, 91, 81, _arg3, _local4, 1003, 554, 422, 554); _arg1.push(_local5); _arg3++; if (bitmapGakPlayera == null){ bitmapGakPlayera = new BitmapData(166, 178, true, 0); bitmapGakPlayera.draw(new gakPlayeraImg()); }; _local5 = new Ropa(bitmapGakPlayera, null, GrupoRopa.BOYS, 5, 166, 178, _arg3, _local4, 883, 160, 302, 160); _arg1.push(_local5); _arg3++; if (bitmapGakPantalon == null){ bitmapGakPantalon = new BitmapData(251, 322, true, 0); bitmapGakPantalon.draw(new gakPantalonImg()); }; _local5 = new Ropa(bitmapGakPantalon, null, GrupoRopa.BOYS, 5, 251, 322, _arg3, _local4, 847, 293, 266, 293); _arg1.push(_local5); _arg3++; if (bitmapGakSaco == null){ bitmapGakSaco = new BitmapData(193, 247, true, 0); bitmapGakSaco.draw(new gakSacoImg()); }; _local5 = new Ropa(bitmapGakSaco, null, GrupoRopa.BOYS, 5, 193, 247, _arg3, _local4, 871, 131, 290, 131); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_ASH){ _local4 = true; }; if (bitmapAshCalzon == null){ bitmapAshCalzon = new BitmapData(99, 67, true, 0); bitmapAshCalzon.draw(new ashCalzonImg()); }; _local5 = new Ropa(bitmapAshCalzon, null, GrupoRopa.BOYS, 6, 99, 67, _arg3, _local4, 920, 301, 339, 301); _arg1.push(_local5); _arg3++; if (bitmapAshCalceIzq == null){ bitmapAshCalceIzq = new BitmapData(78, 99, true, 0); bitmapAshCalceIzq.draw(new ashCalceIzqImg()); }; _local5 = new Ropa(bitmapAshCalceIzq, null, GrupoRopa.BOYS, 6, 78, 99, _arg3, _local4, 851, 533, 270, 533); _arg1.push(_local5); _arg3++; if (bitmapAshCalceDer == null){ bitmapAshCalceDer = new BitmapData(88, 106, true, 0); bitmapAshCalceDer.draw(new ashCalceDerImg()); }; _local5 = new Ropa(bitmapAshCalceDer, null, GrupoRopa.BOYS, 6, 88, 106, _arg3, _local4, 1005, 526, 424, 526); _arg1.push(_local5); _arg3++; if (bitmapAshZapIzq == null){ bitmapAshZapIzq = new BitmapData(83, 76, true, 0); bitmapAshZapIzq.draw(new ashZapIzqImg()); }; _local5 = new Ropa(bitmapAshZapIzq, null, GrupoRopa.BOYS, 6, 83, 76, _arg3, _local4, 849, 558, 268, 558); _arg1.push(_local5); _arg3++; if (bitmapAshZapDer == null){ bitmapAshZapDer = new BitmapData(95, 81, true, 0); bitmapAshZapDer.draw(new ashZapDerImg()); }; _local5 = new Ropa(bitmapAshZapDer, null, GrupoRopa.BOYS, 6, 95, 81, _arg3, _local4, 1000, 557, 419, 557); _arg1.push(_local5); _arg3++; if (bitmapAshGuanteIzq == null){ bitmapAshGuanteIzq = new BitmapData(47, 45, true, 0); bitmapAshGuanteIzq.draw(new ashGuanteIzqImg()); }; _local5 = new Ropa(bitmapAshGuanteIzq, null, GrupoRopa.BOYS, 6, 47, 45, _arg3, _local4, 807, 253, 226, 253); _arg1.push(_local5); _arg3++; if (bitmapAshGuanteDer == null){ bitmapAshGuanteDer = new BitmapData(53, 44, true, 0); bitmapAshGuanteDer.draw(new ashGuanteDerImg()); }; _local5 = new Ropa(bitmapAshGuanteDer, null, GrupoRopa.BOYS, 6, 53, 44, _arg3, _local4, 1078, 261, 497, 261); _arg1.push(_local5); _arg3++; if (bitmapAshPlayera == null){ bitmapAshPlayera = new BitmapData(168, 165, true, 0); bitmapAshPlayera.draw(new ashPlayeraImg()); }; _local5 = new Ropa(bitmapAshPlayera, null, GrupoRopa.BOYS, 6, 168, 165, _arg3, _local4, 888, 154, 307, 154); _arg1.push(_local5); _arg3++; if (bitmapAshPantalon == null){ bitmapAshPantalon = new BitmapData(261, 288, true, 0); bitmapAshPantalon.draw(new ashPantalonImg()); }; _local5 = new Ropa(bitmapAshPantalon, null, GrupoRopa.BOYS, 6, 261, 288, _arg3, _local4, 841, 304, 260, 304); _arg1.push(_local5); _arg3++; if (bitmapAshCham == null){ bitmapAshCham = new BitmapData(178, 169, true, 0); bitmapAshCham.draw(new ashChamImg()); }; _local5 = new Ropa(bitmapAshCham, null, GrupoRopa.BOYS, 6, 178, 169, _arg3, _local4, 883, 144, 302, 144); _arg1.push(_local5); _arg3++; if (bitmapAshGorra == null){ bitmapAshGorra = new BitmapData(91, 69, true, 0); bitmapAshGorra.draw(new ashGorraImg()); }; _local5 = new Ropa(bitmapAshGorra, null, GrupoRopa.BOYS, 6, 91, 69, _arg3, _local4, 902, 30, 321, 30); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_ARTHUR){ _local4 = true; }; if (bitmapArtCrotch == null){ bitmapArtCrotch = new BitmapData(91, 63, true, 0); bitmapArtCrotch.draw(new artCrotchImg()); }; _local5 = new Ropa(bitmapArtCrotch, null, GrupoRopa.BOYS, 7, 91, 63, _arg3, _local4, 925, 307, 344, 307); _arg1.push(_local5); _arg3++; if (bitmapArtCalzon == null){ bitmapArtCalzon = new BitmapData(125, 105, true, 0); bitmapArtCalzon.draw(new artCalzonImg()); }; _local5 = new Ropa(bitmapArtCalzon, null, GrupoRopa.BOYS, 7, 125, 105, _arg3, _local4, 909, 292, 328, 292); _arg1.push(_local5); _arg3++; if (bitmapArtZapatoIzq == null){ bitmapArtZapatoIzq = new BitmapData(80, 76, true, 0); bitmapArtZapatoIzq.draw(new artZapatoIzqImg()); }; _local5 = new Ropa(bitmapArtZapatoIzq, null, GrupoRopa.BOYS, 7, 80, 76, _arg3, _local4, 851, 562, 270, 562); _arg1.push(_local5); _arg3++; if (bitmapArtZapatoDer == null){ bitmapArtZapatoDer = new BitmapData(92, 80, true, 0); bitmapArtZapatoDer.draw(new artZapatoDerImg()); }; _local5 = new Ropa(bitmapArtZapatoDer, null, GrupoRopa.BOYS, 7, 92, 80, _arg3, _local4, 1003, 564, 422, 564); _arg1.push(_local5); _arg3++; if (bitmapArtPantalon == null){ bitmapArtPantalon = new BitmapData(241, 281, true, 0); bitmapArtPantalon.draw(new artPantalonImg()); }; _local5 = new Ropa(bitmapArtPantalon, null, GrupoRopa.BOYS, 7, 241, 281, _arg3, _local4, 854, 313, 273, 313); _arg1.push(_local5); _arg3++; if (bitmapArtCamisa == null){ bitmapArtCamisa = new BitmapData(253, 161, true, 0); bitmapArtCamisa.draw(new artCamisaImg()); }; _local5 = new Ropa(bitmapArtCamisa, null, GrupoRopa.BOYS, 7, 253, 161, _arg3, _local4, 837, 154, 0x0100, 154); _arg1.push(_local5); _arg3++; if (bitmapArtSweter == null){ bitmapArtSweter = new BitmapData(260, 172, true, 0); bitmapArtSweter.draw(new artSweterImg()); }; _local5 = new Ropa(bitmapArtSweter, null, GrupoRopa.BOYS, 7, 260, 172, _arg3, _local4, 834, 157, 253, 157); _arg1.push(_local5); _arg3++; if (bitmapArtLentes == null){ bitmapArtLentes = new BitmapData(88, 49, true, 0); bitmapArtLentes.draw(new artLentesImg()); }; _local5 = new Ropa(bitmapArtLentes, null, GrupoRopa.BOYS, 7, 88, 49, _arg3, _local4, 911, 56, 330, 56); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_EMILIO){ _local4 = true; }; if (bitmapEmiZapatoIzq == null){ bitmapEmiZapatoIzq = new BitmapData(77, 51, true, 0); bitmapEmiZapatoIzq.draw(new emiZapatoIzqImg()); }; _local5 = new Ropa(bitmapEmiZapatoIzq, null, GrupoRopa.BOYS, 8, 77, 51, _arg3, _local4, 853, 583, 272, 583); _arg1.push(_local5); _arg3++; if (bitmapEmiZapatoDer == null){ bitmapEmiZapatoDer = new BitmapData(87, 61, true, 0); bitmapEmiZapatoDer.draw(new emiZapatoDerImg()); }; _local5 = new Ropa(bitmapEmiZapatoDer, null, GrupoRopa.BOYS, 8, 87, 61, _arg3, _local4, 1006, 573, 425, 573); _arg1.push(_local5); _arg3++; if (bitmapEmiLeotardo == null){ bitmapEmiLeotardo = new BitmapData(279, 225, true, 0); bitmapEmiLeotardo.draw(new emiLeotardoImg()); }; _local5 = new Ropa(bitmapEmiLeotardo, null, GrupoRopa.BOYS, 8, 279, 225, _arg3, _local4, 819, 143, 238, 143); _arg1.push(_local5); _arg3++; if (bitmapEmiPlayera == null){ bitmapEmiPlayera = new BitmapData(198, 134, true, 0); bitmapEmiPlayera.draw(new emiZapatoPlayera()); }; _local5 = new Ropa(bitmapEmiPlayera, null, GrupoRopa.BOYS, 8, 198, 134, _arg3, _local4, 869, 166, 288, 166); _arg1.push(_local5); _arg3++; if (bitmapEmiPantalon == null){ bitmapEmiPantalon = new BitmapData(192, 356, true, 0); bitmapEmiPantalon.draw(new emiPantalonImg()); }; _local5 = new Ropa(bitmapEmiPantalon, null, GrupoRopa.BOYS, 8, 192, 356, _arg3, _local4, 878, 156, 297, 156); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_BART){ _local4 = true; }; if (bitmapBartCalzon == null){ bitmapBartCalzon = new BitmapData(101, 68, true, 0); bitmapBartCalzon.draw(new bartCalzonImg()); }; _local5 = new Ropa(bitmapBartCalzon, null, GrupoRopa.BOYS, 9, 101, 68, _arg3, _local4, 921, 300, 340, 300); _arg1.push(_local5); _arg3++; if (bitmapBartCalceIzq == null){ bitmapBartCalceIzq = new BitmapData(79, 83, true, 0); bitmapBartCalceIzq.draw(new bartCalceIzqImg()); }; _local5 = new Ropa(bitmapBartCalceIzq, null, GrupoRopa.BOYS, 9, 79, 83, _arg3, _local4, 852, 548, 271, 548); _arg1.push(_local5); _arg3++; if (bitmapBartCalceDer == null){ bitmapBartCalceDer = new BitmapData(90, 95, true, 0); bitmapBartCalceDer.draw(new bartCalceDerImg()); }; _local5 = new Ropa(bitmapBartCalceDer, null, GrupoRopa.BOYS, 9, 90, 95, _arg3, _local4, 1007, 537, 426, 537); _arg1.push(_local5); _arg3++; if (bitmapBartZapIzq == null){ bitmapBartZapIzq = new BitmapData(80, 67, true, 0); bitmapBartZapIzq.draw(new bartZapIzqImg()); }; _local5 = new Ropa(bitmapBartZapIzq, null, GrupoRopa.BOYS, 9, 80, 67, _arg3, _local4, 852, 568, 271, 568); _arg1.push(_local5); _arg3++; if (bitmapBartZapDer == null){ bitmapBartZapDer = new BitmapData(93, 81, true, 0); bitmapBartZapDer.draw(new bartZapDerImg()); }; _local5 = new Ropa(bitmapBartZapDer, null, GrupoRopa.BOYS, 9, 93, 81, _arg3, _local4, 1007, 554, 426, 554); _arg1.push(_local5); _arg3++; if (bitmapBartShort == null){ bitmapBartShort = new BitmapData(154, 128, true, 0); bitmapBartShort.draw(new bartShortImg()); }; _local5 = new Ropa(bitmapBartShort, null, GrupoRopa.BOYS, 9, 154, 128, _arg3, _local4, 894, 299, 313, 299); _arg1.push(_local5); _arg3++; if (bitmapBartPlayera == null){ bitmapBartPlayera = new BitmapData(165, 160, true, 0); bitmapBartPlayera.draw(new bartPlayeraImg()); }; _local5 = new Ropa(bitmapBartPlayera, null, GrupoRopa.BOYS, 9, 165, 160, _arg3, _local4, 888, 152, 307, 152); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_REQUIEM){ _local4 = true; }; if (bitmapReqCalzon == null){ bitmapReqCalzon = new BitmapData(91, 66, true, 0); bitmapReqCalzon.draw(new reqCalzonImg()); }; _local5 = new Ropa(bitmapReqCalzon, null, GrupoRopa.BOYS, 10, 91, 66, _arg3, _local4, 924, 302, 343, 302); _arg1.push(_local5); _arg3++; if (bitmapReqCalceIzq == null){ bitmapReqCalceIzq = new BitmapData(77, 101, true, 0); bitmapReqCalceIzq.draw(new reqCalceIzqImg()); }; _local5 = new Ropa(bitmapReqCalceIzq, null, GrupoRopa.BOYS, 10, 77, 101, _arg3, _local4, 852, 531, 271, 531); _arg1.push(_local5); _arg3++; if (bitmapReqCalceDer == null){ bitmapReqCalceDer = new BitmapData(87, 104, true, 0); bitmapReqCalceDer.draw(new reqCalceDerImg()); }; _local5 = new Ropa(bitmapReqCalceDer, null, GrupoRopa.BOYS, 10, 87, 104, _arg3, _local4, 1006, 528, 425, 528); _arg1.push(_local5); _arg3++; if (bitmapReqZapIzq == null){ bitmapReqZapIzq = new BitmapData(80, 95, true, 0); bitmapReqZapIzq.draw(new reqZapIzqImg()); }; _local5 = new Ropa(bitmapReqZapIzq, null, GrupoRopa.BOYS, 10, 80, 95, _arg3, _local4, 851, 543, 270, 543); _arg1.push(_local5); _arg3++; if (bitmapReqZapDer == null){ bitmapReqZapDer = new BitmapData(90, 105, true, 0); bitmapReqZapDer.draw(new reqZapDerImg()); }; _local5 = new Ropa(bitmapReqZapDer, null, GrupoRopa.BOYS, 10, 90, 105, _arg3, _local4, 1004, 535, 423, 535); _arg1.push(_local5); _arg3++; if (bitmapReqPantalon == null){ bitmapReqPantalon = new BitmapData(251, 328, true, 0); bitmapReqPantalon.draw(new reqPantalonImg()); }; _local5 = new Ropa(bitmapReqPantalon, null, GrupoRopa.BOYS, 10, 251, 328, _arg3, _local4, 845, 302, 264, 302); _arg1.push(_local5); _arg3++; if (bitmapReqPlayera == null){ bitmapReqPlayera = new BitmapData(269, 223, true, 0); bitmapReqPlayera.draw(new reqPlayeraImg()); }; _local5 = new Ropa(bitmapReqPlayera, null, GrupoRopa.BOYS, 10, 269, 223, _arg3, _local4, 829, 159, 248, 159); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_CHRISTOPHER){ _local4 = true; }; if (bitmapChiCalzon == null){ bitmapChiCalzon = new BitmapData(120, 87, true, 0); bitmapChiCalzon.draw(new chiCalzonImg()); }; _local5 = new Ropa(bitmapChiCalzon, null, GrupoRopa.BOYS, 11, 120, 87, _arg3, _local4, 910, 292, 329, 292); _arg1.push(_local5); _arg3++; if (bitmapChiCalceIzq == null){ bitmapChiCalceIzq = new BitmapData(77, 105, true, 0); bitmapChiCalceIzq.draw(new chiCalceIzqImg()); }; _local5 = new Ropa(bitmapChiCalceIzq, null, GrupoRopa.BOYS, 11, 77, 105, _arg3, _local4, 852, 525, 271, 525); _arg1.push(_local5); _arg3++; if (bitmapChiCalceDer == null){ bitmapChiCalceDer = new BitmapData(85, 97, true, 0); bitmapChiCalceDer.draw(new chiCalceDerImg()); }; _local5 = new Ropa(bitmapChiCalceDer, null, GrupoRopa.BOYS, 11, 85, 97, _arg3, _local4, 1008, 535, 427, 535); _arg1.push(_local5); _arg3++; if (bitmapChiZapIzq == null){ bitmapChiZapIzq = new BitmapData(78, 49, true, 0); bitmapChiZapIzq.draw(new chiZapIzqImg()); }; _local5 = new Ropa(bitmapChiZapIzq, null, GrupoRopa.BOYS, 11, 78, 49, _arg3, _local4, 852, 585, 271, 585); _arg1.push(_local5); _arg3++; if (bitmapChiZapDer == null){ bitmapChiZapDer = new BitmapData(88, 61, true, 0); bitmapChiZapDer.draw(new chiZapDerImg()); }; _local5 = new Ropa(bitmapChiZapDer, null, GrupoRopa.BOYS, 11, 88, 61, _arg3, _local4, 1007, 574, 426, 574); _arg1.push(_local5); _arg3++; if (bitmapChiShort == null){ bitmapChiShort = new BitmapData(135, 111, true, 0); bitmapChiShort.draw(new chiShortImg()); }; _local5 = new Ropa(bitmapChiShort, null, GrupoRopa.BOYS, 11, 135, 111, _arg3, _local4, 903, 291, 322, 291); _arg1.push(_local5); _arg3++; if (bitmapChiCamisa == null){ bitmapChiCamisa = new BitmapData(199, 193, true, 0); bitmapChiCamisa.draw(new chiCamisaImg()); }; _local5 = new Ropa(bitmapChiCamisa, null, GrupoRopa.BOYS, 11, 199, 193, _arg3, _local4, 869, 142, 288, 142); _arg1.push(_local5); _arg3++; _local4 = false; if (_arg2 == Personajes.OPTION_MIGUEL){ _local4 = true; }; if (bitmapMigMedias == null){ bitmapMigMedias = new BitmapData(240, 325, true, 0); bitmapMigMedias.draw(new migMediasImg()); }; _local5 = new Ropa(bitmapMigMedias, null, GrupoRopa.BOYS, 12, 240, 325, _arg3, _local4, 853, 308, 272, 308); _arg1.push(_local5); _arg3++; if (bitmapMigZapIzq == null){ bitmapMigZapIzq = new BitmapData(78, 48, true, 0); bitmapMigZapIzq.draw(new migZapIzqImg()); }; _local5 = new Ropa(bitmapMigZapIzq, null, GrupoRopa.BOYS, 12, 78, 48, _arg3, _local4, 852, 586, 271, 586); _arg1.push(_local5); _arg3++; if (bitmapMigZapDer == null){ bitmapMigZapDer = new BitmapData(89, 61, true, 0); bitmapMigZapDer.draw(new migZapDerImg()); }; _local5 = new Ropa(bitmapMigZapDer, null, GrupoRopa.BOYS, 12, 89, 61, _arg3, _local4, 1004, 574, 423, 574); _arg1.push(_local5); _arg3++; if (bitmapMigPantalon == null){ bitmapMigPantalon = new BitmapData(228, 0xFF, true, 0); bitmapMigPantalon.draw(new migPantalonImg()); }; _local5 = new Ropa(bitmapMigPantalon, null, GrupoRopa.BOYS, 12, 228, 0xFF, _arg3, _local4, 859, 286, 278, 286); _arg1.push(_local5); _arg3++; if (bitmapMigCamisa == null){ bitmapMigCamisa = new BitmapData(270, 206, true, 0); bitmapMigCamisa.draw(new migCamisaImg()); }; _local5 = new Ropa(bitmapMigCamisa, null, GrupoRopa.BOYS, 12, 270, 206, _arg3, _local4, 825, 163, 244, 163); _arg1.push(_local5); _arg3++; if (bitmapMigBarba == null){ bitmapMigBarba = new BitmapData(42, 34, true, 0); bitmapMigBarba.draw(new migBarbaImg()); }; _local5 = new Ropa(bitmapMigBarba, null, GrupoRopa.BOYS, 12, 42, 34, _arg3, _local4, 940, 116, 359, 116); _arg1.push(_local5); _arg3++; _local4 = false; } } }//package Classes
Section 33
//RopaChico_artCalzonImg (Classes.RopaChico_artCalzonImg) package Classes { import mx.core.*; public class RopaChico_artCalzonImg extends BitmapAsset { } }//package Classes
Section 34
//RopaChico_artCamisaImg (Classes.RopaChico_artCamisaImg) package Classes { import mx.core.*; public class RopaChico_artCamisaImg extends BitmapAsset { } }//package Classes
Section 35
//RopaChico_artCrotchImg (Classes.RopaChico_artCrotchImg) package Classes { import mx.core.*; public class RopaChico_artCrotchImg extends BitmapAsset { } }//package Classes
Section 36
//RopaChico_artLentesImg (Classes.RopaChico_artLentesImg) package Classes { import mx.core.*; public class RopaChico_artLentesImg extends BitmapAsset { } }//package Classes
Section 37
//RopaChico_artPantalonImg (Classes.RopaChico_artPantalonImg) package Classes { import mx.core.*; public class RopaChico_artPantalonImg extends BitmapAsset { } }//package Classes
Section 38
//RopaChico_artSweterImg (Classes.RopaChico_artSweterImg) package Classes { import mx.core.*; public class RopaChico_artSweterImg extends BitmapAsset { } }//package Classes
Section 39
//RopaChico_artZapatoDerImg (Classes.RopaChico_artZapatoDerImg) package Classes { import mx.core.*; public class RopaChico_artZapatoDerImg extends BitmapAsset { } }//package Classes
Section 40
//RopaChico_artZapatoIzqImg (Classes.RopaChico_artZapatoIzqImg) package Classes { import mx.core.*; public class RopaChico_artZapatoIzqImg extends BitmapAsset { } }//package Classes
Section 41
//RopaChico_ashCalceDerImg (Classes.RopaChico_ashCalceDerImg) package Classes { import mx.core.*; public class RopaChico_ashCalceDerImg extends BitmapAsset { } }//package Classes
Section 42
//RopaChico_ashCalceIzqImg (Classes.RopaChico_ashCalceIzqImg) package Classes { import mx.core.*; public class RopaChico_ashCalceIzqImg extends BitmapAsset { } }//package Classes
Section 43
//RopaChico_ashCalzonImg (Classes.RopaChico_ashCalzonImg) package Classes { import mx.core.*; public class RopaChico_ashCalzonImg extends BitmapAsset { } }//package Classes
Section 44
//RopaChico_ashChamImg (Classes.RopaChico_ashChamImg) package Classes { import mx.core.*; public class RopaChico_ashChamImg extends BitmapAsset { } }//package Classes
Section 45
//RopaChico_ashGorraImg (Classes.RopaChico_ashGorraImg) package Classes { import mx.core.*; public class RopaChico_ashGorraImg extends BitmapAsset { } }//package Classes
Section 46
//RopaChico_ashGuanteDerImg (Classes.RopaChico_ashGuanteDerImg) package Classes { import mx.core.*; public class RopaChico_ashGuanteDerImg extends BitmapAsset { } }//package Classes
Section 47
//RopaChico_ashGuanteIzqImg (Classes.RopaChico_ashGuanteIzqImg) package Classes { import mx.core.*; public class RopaChico_ashGuanteIzqImg extends BitmapAsset { } }//package Classes
Section 48
//RopaChico_ashPantalonImg (Classes.RopaChico_ashPantalonImg) package Classes { import mx.core.*; public class RopaChico_ashPantalonImg extends BitmapAsset { } }//package Classes
Section 49
//RopaChico_ashPlayeraImg (Classes.RopaChico_ashPlayeraImg) package Classes { import mx.core.*; public class RopaChico_ashPlayeraImg extends BitmapAsset { } }//package Classes
Section 50
//RopaChico_ashZapDerImg (Classes.RopaChico_ashZapDerImg) package Classes { import mx.core.*; public class RopaChico_ashZapDerImg extends BitmapAsset { } }//package Classes
Section 51
//RopaChico_ashZapIzqImg (Classes.RopaChico_ashZapIzqImg) package Classes { import mx.core.*; public class RopaChico_ashZapIzqImg extends BitmapAsset { } }//package Classes
Section 52
//RopaChico_bartCalceDerImg (Classes.RopaChico_bartCalceDerImg) package Classes { import mx.core.*; public class RopaChico_bartCalceDerImg extends BitmapAsset { } }//package Classes
Section 53
//RopaChico_bartCalceIzqImg (Classes.RopaChico_bartCalceIzqImg) package Classes { import mx.core.*; public class RopaChico_bartCalceIzqImg extends BitmapAsset { } }//package Classes
Section 54
//RopaChico_bartCalzonImg (Classes.RopaChico_bartCalzonImg) package Classes { import mx.core.*; public class RopaChico_bartCalzonImg extends BitmapAsset { } }//package Classes
Section 55
//RopaChico_bartPlayeraImg (Classes.RopaChico_bartPlayeraImg) package Classes { import mx.core.*; public class RopaChico_bartPlayeraImg extends BitmapAsset { } }//package Classes
Section 56
//RopaChico_bartShortImg (Classes.RopaChico_bartShortImg) package Classes { import mx.core.*; public class RopaChico_bartShortImg extends BitmapAsset { } }//package Classes
Section 57
//RopaChico_bartZapDerImg (Classes.RopaChico_bartZapDerImg) package Classes { import mx.core.*; public class RopaChico_bartZapDerImg extends BitmapAsset { } }//package Classes
Section 58
//RopaChico_bartZapIzqImg (Classes.RopaChico_bartZapIzqImg) package Classes { import mx.core.*; public class RopaChico_bartZapIzqImg extends BitmapAsset { } }//package Classes
Section 59
//RopaChico_capBigoteImg (Classes.RopaChico_capBigoteImg) package Classes { import mx.core.*; public class RopaChico_capBigoteImg extends BitmapAsset { } }//package Classes
Section 60
//RopaChico_capCalzonImg (Classes.RopaChico_capCalzonImg) package Classes { import mx.core.*; public class RopaChico_capCalzonImg extends BitmapAsset { } }//package Classes
Section 61
//RopaChico_capCapaImg (Classes.RopaChico_capCapaImg) package Classes { import mx.core.*; public class RopaChico_capCapaImg extends BitmapAsset { } }//package Classes
Section 62
//RopaChico_capCinturonImg (Classes.RopaChico_capCinturonImg) package Classes { import mx.core.*; public class RopaChico_capCinturonImg extends BitmapAsset { } }//package Classes
Section 63
//RopaChico_capGuanteDerImg (Classes.RopaChico_capGuanteDerImg) package Classes { import mx.core.*; public class RopaChico_capGuanteDerImg extends BitmapAsset { } }//package Classes
Section 64
//RopaChico_capGuanteIzqImg (Classes.RopaChico_capGuanteIzqImg) package Classes { import mx.core.*; public class RopaChico_capGuanteIzqImg extends BitmapAsset { } }//package Classes
Section 65
//RopaChico_capSombreroImg (Classes.RopaChico_capSombreroImg) package Classes { import mx.core.*; public class RopaChico_capSombreroImg extends BitmapAsset { } }//package Classes
Section 66
//RopaChico_capTrajeImg (Classes.RopaChico_capTrajeImg) package Classes { import mx.core.*; public class RopaChico_capTrajeImg extends BitmapAsset { } }//package Classes
Section 67
//RopaChico_capZapatoDerImg (Classes.RopaChico_capZapatoDerImg) package Classes { import mx.core.*; public class RopaChico_capZapatoDerImg extends BitmapAsset { } }//package Classes
Section 68
//RopaChico_capZapatoIzqImg (Classes.RopaChico_capZapatoIzqImg) package Classes { import mx.core.*; public class RopaChico_capZapatoIzqImg extends BitmapAsset { } }//package Classes
Section 69
//RopaChico_chiCalceDerImg (Classes.RopaChico_chiCalceDerImg) package Classes { import mx.core.*; public class RopaChico_chiCalceDerImg extends BitmapAsset { } }//package Classes
Section 70
//RopaChico_chiCalceIzqImg (Classes.RopaChico_chiCalceIzqImg) package Classes { import mx.core.*; public class RopaChico_chiCalceIzqImg extends BitmapAsset { } }//package Classes
Section 71
//RopaChico_chiCalzonImg (Classes.RopaChico_chiCalzonImg) package Classes { import mx.core.*; public class RopaChico_chiCalzonImg extends BitmapAsset { } }//package Classes
Section 72
//RopaChico_chiCamisaImg (Classes.RopaChico_chiCamisaImg) package Classes { import mx.core.*; public class RopaChico_chiCamisaImg extends BitmapAsset { } }//package Classes
Section 73
//RopaChico_chiShortImg (Classes.RopaChico_chiShortImg) package Classes { import mx.core.*; public class RopaChico_chiShortImg extends BitmapAsset { } }//package Classes
Section 74
//RopaChico_chiZapDerImg (Classes.RopaChico_chiZapDerImg) package Classes { import mx.core.*; public class RopaChico_chiZapDerImg extends BitmapAsset { } }//package Classes
Section 75
//RopaChico_chiZapIzqImg (Classes.RopaChico_chiZapIzqImg) package Classes { import mx.core.*; public class RopaChico_chiZapIzqImg extends BitmapAsset { } }//package Classes
Section 76
//RopaChico_conCrotchImg (Classes.RopaChico_conCrotchImg) package Classes { import mx.core.*; public class RopaChico_conCrotchImg extends BitmapAsset { } }//package Classes
Section 77
//RopaChico_conGuanteDerImg (Classes.RopaChico_conGuanteDerImg) package Classes { import mx.core.*; public class RopaChico_conGuanteDerImg extends BitmapAsset { } }//package Classes
Section 78
//RopaChico_conGuanteIzqImg (Classes.RopaChico_conGuanteIzqImg) package Classes { import mx.core.*; public class RopaChico_conGuanteIzqImg extends BitmapAsset { } }//package Classes
Section 79
//RopaChico_conPlayeraImg (Classes.RopaChico_conPlayeraImg) package Classes { import mx.core.*; public class RopaChico_conPlayeraImg extends BitmapAsset { } }//package Classes
Section 80
//RopaChico_conShortsImg (Classes.RopaChico_conShortsImg) package Classes { import mx.core.*; public class RopaChico_conShortsImg extends BitmapAsset { } }//package Classes
Section 81
//RopaChico_conZapatoDerImg (Classes.RopaChico_conZapatoDerImg) package Classes { import mx.core.*; public class RopaChico_conZapatoDerImg extends BitmapAsset { } }//package Classes
Section 82
//RopaChico_conZapatoIzqImg (Classes.RopaChico_conZapatoIzqImg) package Classes { import mx.core.*; public class RopaChico_conZapatoIzqImg extends BitmapAsset { } }//package Classes
Section 83
//RopaChico_emiAlaDerImg (Classes.RopaChico_emiAlaDerImg) package Classes { import mx.core.*; public class RopaChico_emiAlaDerImg extends BitmapAsset { } }//package Classes
Section 84
//RopaChico_emiAlaIzqImg (Classes.RopaChico_emiAlaIzqImg) package Classes { import mx.core.*; public class RopaChico_emiAlaIzqImg extends BitmapAsset { } }//package Classes
Section 85
//RopaChico_emiLeotardoImg (Classes.RopaChico_emiLeotardoImg) package Classes { import mx.core.*; public class RopaChico_emiLeotardoImg extends BitmapAsset { } }//package Classes
Section 86
//RopaChico_emiPantalonImg (Classes.RopaChico_emiPantalonImg) package Classes { import mx.core.*; public class RopaChico_emiPantalonImg extends BitmapAsset { } }//package Classes
Section 87
//RopaChico_emiZapatoDerImg (Classes.RopaChico_emiZapatoDerImg) package Classes { import mx.core.*; public class RopaChico_emiZapatoDerImg extends BitmapAsset { } }//package Classes
Section 88
//RopaChico_emiZapatoIzqImg (Classes.RopaChico_emiZapatoIzqImg) package Classes { import mx.core.*; public class RopaChico_emiZapatoIzqImg extends BitmapAsset { } }//package Classes
Section 89
//RopaChico_emiZapatoPlayera (Classes.RopaChico_emiZapatoPlayera) package Classes { import mx.core.*; public class RopaChico_emiZapatoPlayera extends BitmapAsset { } }//package Classes
Section 90
//RopaChico_evanCalzonImg (Classes.RopaChico_evanCalzonImg) package Classes { import mx.core.*; public class RopaChico_evanCalzonImg extends BitmapAsset { } }//package Classes
Section 91
//RopaChico_evanChalecoImg (Classes.RopaChico_evanChalecoImg) package Classes { import mx.core.*; public class RopaChico_evanChalecoImg extends BitmapAsset { } }//package Classes
Section 92
//RopaChico_evanCintasImg (Classes.RopaChico_evanCintasImg) package Classes { import mx.core.*; public class RopaChico_evanCintasImg extends BitmapAsset { } }//package Classes
Section 93
//RopaChico_evanPantsImg (Classes.RopaChico_evanPantsImg) package Classes { import mx.core.*; public class RopaChico_evanPantsImg extends BitmapAsset { } }//package Classes
Section 94
//RopaChico_evanSombreroImg (Classes.RopaChico_evanSombreroImg) package Classes { import mx.core.*; public class RopaChico_evanSombreroImg extends BitmapAsset { } }//package Classes
Section 95
//RopaChico_evanVendaDer (Classes.RopaChico_evanVendaDer) package Classes { import mx.core.*; public class RopaChico_evanVendaDer extends BitmapAsset { } }//package Classes
Section 96
//RopaChico_evanVendaIzq (Classes.RopaChico_evanVendaIzq) package Classes { import mx.core.*; public class RopaChico_evanVendaIzq extends BitmapAsset { } }//package Classes
Section 97
//RopaChico_evanVendasPetoImg (Classes.RopaChico_evanVendasPetoImg) package Classes { import mx.core.*; public class RopaChico_evanVendasPetoImg extends BitmapAsset { } }//package Classes
Section 98
//RopaChico_evanZapDerImg (Classes.RopaChico_evanZapDerImg) package Classes { import mx.core.*; public class RopaChico_evanZapDerImg extends BitmapAsset { } }//package Classes
Section 99
//RopaChico_evanZapIzqImg (Classes.RopaChico_evanZapIzqImg) package Classes { import mx.core.*; public class RopaChico_evanZapIzqImg extends BitmapAsset { } }//package Classes
Section 100
//RopaChico_gakCalceDerImg (Classes.RopaChico_gakCalceDerImg) package Classes { import mx.core.*; public class RopaChico_gakCalceDerImg extends BitmapAsset { } }//package Classes
Section 101
//RopaChico_gakCalceIzqImg (Classes.RopaChico_gakCalceIzqImg) package Classes { import mx.core.*; public class RopaChico_gakCalceIzqImg extends BitmapAsset { } }//package Classes
Section 102
//RopaChico_gakCalzonImg (Classes.RopaChico_gakCalzonImg) package Classes { import mx.core.*; public class RopaChico_gakCalzonImg extends BitmapAsset { } }//package Classes
Section 103
//RopaChico_gakGuanteDerImg (Classes.RopaChico_gakGuanteDerImg) package Classes { import mx.core.*; public class RopaChico_gakGuanteDerImg extends BitmapAsset { } }//package Classes
Section 104
//RopaChico_gakGuanteIzqImg (Classes.RopaChico_gakGuanteIzqImg) package Classes { import mx.core.*; public class RopaChico_gakGuanteIzqImg extends BitmapAsset { } }//package Classes
Section 105
//RopaChico_gakPantalonImg (Classes.RopaChico_gakPantalonImg) package Classes { import mx.core.*; public class RopaChico_gakPantalonImg extends BitmapAsset { } }//package Classes
Section 106
//RopaChico_gakPlayeraImg (Classes.RopaChico_gakPlayeraImg) package Classes { import mx.core.*; public class RopaChico_gakPlayeraImg extends BitmapAsset { } }//package Classes
Section 107
//RopaChico_gakSacoImg (Classes.RopaChico_gakSacoImg) package Classes { import mx.core.*; public class RopaChico_gakSacoImg extends BitmapAsset { } }//package Classes
Section 108
//RopaChico_gakZapDerImg (Classes.RopaChico_gakZapDerImg) package Classes { import mx.core.*; public class RopaChico_gakZapDerImg extends BitmapAsset { } }//package Classes
Section 109
//RopaChico_gakZapIzqImg (Classes.RopaChico_gakZapIzqImg) package Classes { import mx.core.*; public class RopaChico_gakZapIzqImg extends BitmapAsset { } }//package Classes
Section 110
//RopaChico_irvCalcetinDerImg (Classes.RopaChico_irvCalcetinDerImg) package Classes { import mx.core.*; public class RopaChico_irvCalcetinDerImg extends BitmapAsset { } }//package Classes
Section 111
//RopaChico_irvCalcetinIzqImg (Classes.RopaChico_irvCalcetinIzqImg) package Classes { import mx.core.*; public class RopaChico_irvCalcetinIzqImg extends BitmapAsset { } }//package Classes
Section 112
//RopaChico_irvCalzonImg (Classes.RopaChico_irvCalzonImg) package Classes { import mx.core.*; public class RopaChico_irvCalzonImg extends BitmapAsset { } }//package Classes
Section 113
//RopaChico_irvCamisaImg (Classes.RopaChico_irvCamisaImg) package Classes { import mx.core.*; public class RopaChico_irvCamisaImg extends BitmapAsset { } }//package Classes
Section 114
//RopaChico_irvChalecoImg (Classes.RopaChico_irvChalecoImg) package Classes { import mx.core.*; public class RopaChico_irvChalecoImg extends BitmapAsset { } }//package Classes
Section 115
//RopaChico_irvPantalonImg (Classes.RopaChico_irvPantalonImg) package Classes { import mx.core.*; public class RopaChico_irvPantalonImg extends BitmapAsset { } }//package Classes
Section 116
//RopaChico_irvZapatoDerImg (Classes.RopaChico_irvZapatoDerImg) package Classes { import mx.core.*; public class RopaChico_irvZapatoDerImg extends BitmapAsset { } }//package Classes
Section 117
//RopaChico_irvZapatoIzqImg (Classes.RopaChico_irvZapatoIzqImg) package Classes { import mx.core.*; public class RopaChico_irvZapatoIzqImg extends BitmapAsset { } }//package Classes
Section 118
//RopaChico_migBarbaImg (Classes.RopaChico_migBarbaImg) package Classes { import mx.core.*; public class RopaChico_migBarbaImg extends BitmapAsset { } }//package Classes
Section 119
//RopaChico_migCamisaImg (Classes.RopaChico_migCamisaImg) package Classes { import mx.core.*; public class RopaChico_migCamisaImg extends BitmapAsset { } }//package Classes
Section 120
//RopaChico_migMediasImg (Classes.RopaChico_migMediasImg) package Classes { import mx.core.*; public class RopaChico_migMediasImg extends BitmapAsset { } }//package Classes
Section 121
//RopaChico_migPantalonImg (Classes.RopaChico_migPantalonImg) package Classes { import mx.core.*; public class RopaChico_migPantalonImg extends BitmapAsset { } }//package Classes
Section 122
//RopaChico_migZapDerImg (Classes.RopaChico_migZapDerImg) package Classes { import mx.core.*; public class RopaChico_migZapDerImg extends BitmapAsset { } }//package Classes
Section 123
//RopaChico_migZapIzqImg (Classes.RopaChico_migZapIzqImg) package Classes { import mx.core.*; public class RopaChico_migZapIzqImg extends BitmapAsset { } }//package Classes
Section 124
//RopaChico_reqCalceDerImg (Classes.RopaChico_reqCalceDerImg) package Classes { import mx.core.*; public class RopaChico_reqCalceDerImg extends BitmapAsset { } }//package Classes
Section 125
//RopaChico_reqCalceIzqImg (Classes.RopaChico_reqCalceIzqImg) package Classes { import mx.core.*; public class RopaChico_reqCalceIzqImg extends BitmapAsset { } }//package Classes
Section 126
//RopaChico_reqCalzonImg (Classes.RopaChico_reqCalzonImg) package Classes { import mx.core.*; public class RopaChico_reqCalzonImg extends BitmapAsset { } }//package Classes
Section 127
//RopaChico_reqPantalonImg (Classes.RopaChico_reqPantalonImg) package Classes { import mx.core.*; public class RopaChico_reqPantalonImg extends BitmapAsset { } }//package Classes
Section 128
//RopaChico_reqPlayeraImg (Classes.RopaChico_reqPlayeraImg) package Classes { import mx.core.*; public class RopaChico_reqPlayeraImg extends BitmapAsset { } }//package Classes
Section 129
//RopaChico_reqZapDerImg (Classes.RopaChico_reqZapDerImg) package Classes { import mx.core.*; public class RopaChico_reqZapDerImg extends BitmapAsset { } }//package Classes
Section 130
//RopaChico_reqZapIzqImg (Classes.RopaChico_reqZapIzqImg) package Classes { import mx.core.*; public class RopaChico_reqZapIzqImg extends BitmapAsset { } }//package Classes
Section 131
//RopaConjuntos (Classes.RopaConjuntos) package Classes { import flash.display.*; import Catalogos.*; public class RopaConjuntos { private static var bitmapDracuBotaDer:BitmapData = null; private static var bitmapUsa4PulseIzq:BitmapData = null; private static var bitmapDracuChaleco:BitmapData = null; private static var bitmapUsa4FaldaDown:BitmapData = null; private static var usa2CollarImg:Class = RopaConjuntos_usa2CollarImg; private static var bitmapUsa4Peluca:BitmapData = null; private static var usa3CorbataImg:Class = RopaConjuntos_usa3CorbataImg; private static var FelFaldaImg:Class = RopaConjuntos_FelFaldaImg; private static var bitmapDawnBotaIzq:BitmapData = null; private static var bitmapDawnGorro:BitmapData = null; private static var usa2CinturonImg:Class = RopaConjuntos_usa2CinturonImg; private static var eleCorbataImg:Class = RopaConjuntos_eleCorbataImg; private static var bitmapElePanty:BitmapData = null; private static var bitmapIrvAdorBlusa:BitmapData = null; private static var bitmapUsa3ZapIzq:BitmapData = null; private static var usa2BlusaImg:Class = RopaConjuntos_usa2BlusaImg; private static var bitmapUsa4FaldaTop:BitmapData = null; private static var dracuMangaDerImg:Class = RopaConjuntos_dracuMangaDerImg; private static var usa4AdorCabImg:Class = RopaConjuntos_usa4AdorCabImg; private static var bitmapEleZapIzq:BitmapData = null; private static var usa3ZapDerImg:Class = RopaConjuntos_usa3ZapDerImg; private static var bitmapIrvAdorCabeza:BitmapData = null; private static var eleFaldaImg:Class = RopaConjuntos_eleFaldaImg; private static var kitGuanteDerImg:Class = RopaConjuntos_kitGuanteDerImg; private static var DawnBlusaImg:Class = RopaConjuntos_DawnBlusaImg; private static var bitmapUsa1ZapDer:BitmapData = null; private static var gen1CuelloImg:Class = RopaConjuntos_gen1CuelloImg; private static var dracuMediasImg:Class = RopaConjuntos_dracuMediasImg; private static var bitmapUsa1Falda:BitmapData = null; private static var irvCollarImg:Class = RopaConjuntos_irvCollarImg; private static var bitmapKitBlusaInt:BitmapData = null; private static var bitmapGen1Falda:BitmapData = null; private static var bitmapFelBotaDer:BitmapData = null; private static var bitmapDracuMangaIzq:BitmapData = null; private static var irvAdorBlusaImg:Class = RopaConjuntos_irvAdorBlusaImg; private static var gen1MonoDerImg:Class = RopaConjuntos_gen1MonoDerImg; private static var irvAdorCabezaImg:Class = RopaConjuntos_irvAdorCabezaImg; private static var angLeotardoImg:Class = RopaConjuntos_angLeotardoImg; private static var bitmapAngZapIzq:BitmapData = null; private static var dracuMangaIzqImg:Class = RopaConjuntos_dracuMangaIzqImg; private static var usa3ZapIzqImg:Class = RopaConjuntos_usa3ZapIzqImg; private static var bitmapEleCalceIzq:BitmapData = null; private static var kitGuanteIzqImg:Class = RopaConjuntos_kitGuanteIzqImg; private static var bitmapGen1Cuello:BitmapData = null; private static var bitmapGen1MonoIzq:BitmapData = null; private static var usa2PantyImg:Class = RopaConjuntos_usa2PantyImg; private static var angOrejaDerImg:Class = RopaConjuntos_angOrejaDerImg; private static var gen1FlorTiranteIImg:Class = RopaConjuntos_gen1FlorTiranteIImg; private static var bitmapUsa1Diadema:BitmapData = null; private static var angAdornoFaldaImg:Class = RopaConjuntos_angAdornoFaldaImg; private static var usa2PelucaImg:Class = RopaConjuntos_usa2PelucaImg; private static var gen2ZapDerImg:Class = RopaConjuntos_gen2ZapDerImg; private static var bitmapDawnPulseDer:BitmapData = null; private static var angZapDerImg:Class = RopaConjuntos_angZapDerImg; private static var usa3FaldaImg:Class = RopaConjuntos_usa3FaldaImg; private static var gen1MonoIzqImg:Class = RopaConjuntos_gen1MonoIzqImg; private static var usa1PulseraImg:Class = RopaConjuntos_usa1PulseraImg; private static var bitmapUsa2Pulsera:BitmapData = null; private static var bitmapDracuCuello:BitmapData = null; private static var bitmapIrvZapIzq:BitmapData = null; private static var bitmapDawnBlusa:BitmapData = null; private static var DawnPantyImg:Class = RopaConjuntos_DawnPantyImg; private static var dracuChalecoImg:Class = RopaConjuntos_dracuChalecoImg; private static var bitmapUsa2ZapIzq:BitmapData = null; private static var eleChalecoImg:Class = RopaConjuntos_eleChalecoImg; private static var angOrejaIzqImg:Class = RopaConjuntos_angOrejaIzqImg; private static var bitmapAngOrejaDer:BitmapData = null; private static var bitmapUsa1Panty:BitmapData = null; private static var gen2ZapIzqImg:Class = RopaConjuntos_gen2ZapIzqImg; private static var bitmapKitGuanteIzq:BitmapData = null; private static var bitmapUsa3AdorCint:BitmapData = null; private static var angZapIzqImg:Class = RopaConjuntos_angZapIzqImg; private static var DawnChalecoImg:Class = RopaConjuntos_DawnChalecoImg; private static var bitmapKitBotaDer:BitmapData = null; private static var bitmapGen1Panty:BitmapData = null; private static var gen2BlusaImg:Class = RopaConjuntos_gen2BlusaImg; private static var bitmapUsa4Collar:BitmapData = null; private static var bitmapUsa2Falda:BitmapData = null; private static var gen1CalceDerImg:Class = RopaConjuntos_gen1CalceDerImg; private static var bitmapKitOreIzq:BitmapData = null; private static var dracuBlusaIntImg:Class = RopaConjuntos_dracuBlusaIntImg; private static var irvFaldaImg:Class = RopaConjuntos_irvFaldaImg; private static var bitmapGen2Falda:BitmapData = null; private static var bitmapIrvFalda:BitmapData = null; private static var dracuBotaDerImg:Class = RopaConjuntos_dracuBotaDerImg; private static var usa1BlusaImg:Class = RopaConjuntos_usa1BlusaImg; private static var bitmapGen2ZapDer:BitmapData = null; private static var kitOreDerImg:Class = RopaConjuntos_kitOreDerImg; private static var bitmapColaDer:BitmapData = null; private static var gen1MonoCuelloImg:Class = RopaConjuntos_gen1MonoCuelloImg; private static var bitmapUsa1CalceDer:BitmapData = null; private static var bitmapDracuBotaIzq:BitmapData = null; private static var bitmapEleBlusa:BitmapData = null; private static var FelBotaDerImg:Class = RopaConjuntos_FelBotaDerImg; private static var DawnBotaDerImg:Class = RopaConjuntos_DawnBotaDerImg; private static var usa3LentesImg:Class = RopaConjuntos_usa3LentesImg; private static var FelGabaDelanteImg:Class = RopaConjuntos_FelGabaDelanteImg; private static var usa4ZapDerImg:Class = RopaConjuntos_usa4ZapDerImg; private static var kitColaImg:Class = RopaConjuntos_kitColaImg; private static var bitmapGen1TiranteDer:BitmapData = null; private static var gen1CalceIzqImg:Class = RopaConjuntos_gen1CalceIzqImg; private static var bitmapGen1MonoCuello:BitmapData = null; private static var dracuBotaIzqImg:Class = RopaConjuntos_dracuBotaIzqImg; private static var bitmapEleCorbata:BitmapData = null; private static var bitmapDracuAreteDer:BitmapData = null; private static var usa3CinturonImg:Class = RopaConjuntos_usa3CinturonImg; private static var kitOreIzqImg:Class = RopaConjuntos_kitOreIzqImg; private static var kitBotaDerImg:Class = RopaConjuntos_kitBotaDerImg; private static var angFaldaImg:Class = RopaConjuntos_angFaldaImg; private static var usa2BolsoImg:Class = RopaConjuntos_usa2BolsoImg; private static var gen2PantyImg:Class = RopaConjuntos_gen2PantyImg; private static var bitmapUsa2Peluca:BitmapData = null; private static var bitmapUsa2Panty:BitmapData = null; private static var FelFlorImg:Class = RopaConjuntos_FelFlorImg; private static var bitmapUsa3Falda:BitmapData = null; private static var bitmapUsa1ZapIzq:BitmapData = null; private static var usa1PantyImg:Class = RopaConjuntos_usa1PantyImg; private static var DawnBotaIzqImg:Class = RopaConjuntos_DawnBotaIzqImg; private static var FelBotaIzqImg:Class = RopaConjuntos_FelBotaIzqImg; private static var usa4ZapIzqImg:Class = RopaConjuntos_usa4ZapIzqImg; private static var dracuBlusaExtImg:Class = RopaConjuntos_dracuBlusaExtImg; private static var bitmapGen2Panty:BitmapData = null; private static var usa2FaldaImg:Class = RopaConjuntos_usa2FaldaImg; private static var bitmapFelBotaIzq:BitmapData = null; private static var bitmapIrvBowPecho:BitmapData = null; private static var bitmapDracuPanties:BitmapData = null; private static var kitBotaIzqImg:Class = RopaConjuntos_kitBotaIzqImg; private static var bitmapDracuBlusaExt:BitmapData = null; private static var bitmapAngLeotardo:BitmapData = null; private static var bitmapUsa2AdorCab:BitmapData = null; private static var angColaImg:Class = RopaConjuntos_angColaImg; private static var DawnFaldaImg:Class = RopaConjuntos_DawnFaldaImg; private static var bitmapAngFaldaFondo:BitmapData = null; private static var gen1TiranteDerImg:Class = RopaConjuntos_gen1TiranteDerImg; private static var bitmapUsa3Cinturon:BitmapData = null; private static var bitmapGen1ZapDer:BitmapData = null; private static var dracuFaldaImg:Class = RopaConjuntos_dracuFaldaImg; private static var kitMediasImg:Class = RopaConjuntos_kitMediasImg; private static var bitmapDracuMedias:BitmapData = null; private static var bitmapDawnPulseIzq:BitmapData = null; private static var gen1BlusaImg:Class = RopaConjuntos_gen1BlusaImg; private static var usa1ZapDerImg:Class = RopaConjuntos_usa1ZapDerImg; private static var bitmapFelFalda:BitmapData = null; private static var DawnPulseDerImg:Class = RopaConjuntos_DawnPulseDerImg; private static var bitmapGen1CalceDer:BitmapData = null; private static var bitmapUsa2Bolso:BitmapData = null; private static var usa3AdorCintImg:Class = RopaConjuntos_usa3AdorCintImg; private static var bitmapUsa1Blusa:BitmapData = null; private static var bitmapFelFlor:BitmapData = null; private static var bitmapUsa4ZapDer:BitmapData = null; private static var bitmapGen1Blusa:BitmapData = null; private static var irvBowPechoImg:Class = RopaConjuntos_irvBowPechoImg; private static var bitmapAngAdornoCabeza:BitmapData = null; private static var usa4BlusaImg:Class = RopaConjuntos_usa4BlusaImg; private static var gen1TiranteIzqImg:Class = RopaConjuntos_gen1TiranteIzqImg; private static var bitmapUsa3Panty:BitmapData = null; private static var usa4FaldaDownImg:Class = RopaConjuntos_usa4FaldaDownImg; private static var bitmapEleChaleco:BitmapData = null; private static var usa4CollarImg:Class = RopaConjuntos_usa4CollarImg; private static var DawnGorroImg:Class = RopaConjuntos_DawnGorroImg; private static var bitmapFelGabaDelante:BitmapData = null; private static var usa1ZapIzqImg:Class = RopaConjuntos_usa1ZapIzqImg; private static var bitmapKitBotaIzq:BitmapData = null; private static var bitmapAngOrejaIzq:BitmapData = null; private static var DawnPulseIzqImg:Class = RopaConjuntos_DawnPulseIzqImg; private static var bitmapIrvCollar:BitmapData = null; private static var eleZapDerImg:Class = RopaConjuntos_eleZapDerImg; private static var FelGabaTrazImg:Class = RopaConjuntos_FelGabaTrazImg; private static var dracuCuelloImg:Class = RopaConjuntos_dracuCuelloImg; private static var bitmapUsa1CalceIzq:BitmapData = null; private static var bitmapGen2ZapIzq:BitmapData = null; private static var bitmapColaIzq:BitmapData = null; private static var gen1PantyImg:Class = RopaConjuntos_gen1PantyImg; private static var FelBlusaImg:Class = RopaConjuntos_FelBlusaImg; private static var bitmapUsa2Collar:BitmapData = null; private static var bitmapFelPanty:BitmapData = null; private static var gen2FaldaImg:Class = RopaConjuntos_gen2FaldaImg; private static var bitmapKitCola:BitmapData = null; private static var bitmapKitBlusaExt:BitmapData = null; private static var usa2AdorCabImg:Class = RopaConjuntos_usa2AdorCabImg; private static var bitmapGen1TiranteIzq:BitmapData = null; private static var usa4PantyImg:Class = RopaConjuntos_usa4PantyImg; private static var bitmapUsa2Blusa:BitmapData = null; private static var dracuPantiesImg:Class = RopaConjuntos_dracuPantiesImg; private static var usa1FaldaImg:Class = RopaConjuntos_usa1FaldaImg; private static var eleZapIzqImg:Class = RopaConjuntos_eleZapIzqImg; private static var eleBlusaImg:Class = RopaConjuntos_eleBlusaImg; private static var gen1FlorTiranteDImg:Class = RopaConjuntos_gen1FlorTiranteDImg; private static var bitmapDracuAreteIzq:BitmapData = null; private static var bitmapDawnBotaDer:BitmapData = null; private static var bitmapUsa3Medias:BitmapData = null; private static var bitmapGen2Blusa:BitmapData = null; private static var bitmapIrvBlusa:BitmapData = null; private static var bitmapDawnChaleco:BitmapData = null; private static var FelPelucaDelanteImg:Class = RopaConjuntos_FelPelucaDelanteImg; private static var bitmapUsa2Cinturon:BitmapData = null; private static var bitmapUsa3ZapDer:BitmapData = null; private static var bitmapUsa4Panty:BitmapData = null; private static var bitmapAngAdornoFalda:BitmapData = null; private static var usa1CalceDerImg:Class = RopaConjuntos_usa1CalceDerImg; private static var bitmapIrvAdorManga:BitmapData = null; private static var bitmapFelPelucaTraz:BitmapData = null; private static var bitmapEleZapDer:BitmapData = null; private static var bitmapDawnBufanda:BitmapData = null; private static var usa4PelucaImg:Class = RopaConjuntos_usa4PelucaImg; private static var kitBlusaIntImg:Class = RopaConjuntos_kitBlusaIntImg; private static var FelPantyImg:Class = RopaConjuntos_FelPantyImg; private static var bitmapKitMedias:BitmapData = null; private static var usa1CalceIzqImg:Class = RopaConjuntos_usa1CalceIzqImg; private static var bitmapDawnFalda:BitmapData = null; private static var usa2ZapDerImg:Class = RopaConjuntos_usa2ZapDerImg; private static var usa3MediasImg:Class = RopaConjuntos_usa3MediasImg; private static var bitmapDracuMangaDer:BitmapData = null; private static var bitmapAngZapDer:BitmapData = null; private static var elePantyImg:Class = RopaConjuntos_elePantyImg; private static var usa3BlusaImg:Class = RopaConjuntos_usa3BlusaImg; private static var bitmapGen1FlorTiranteD:BitmapData = null; private static var eleCalceDerImg:Class = RopaConjuntos_eleCalceDerImg; private static var angFaldaFondoImg:Class = RopaConjuntos_angFaldaFondoImg; private static var usa4FaldaTopImg:Class = RopaConjuntos_usa4FaldaTopImg; private static var bitmapGen1ZapIzq:BitmapData = null; private static var bitmapEleCalceDer:BitmapData = null; private static var bitmapGen1FlorTiranteI:BitmapData = null; private static var usa1DiademaImg:Class = RopaConjuntos_usa1DiademaImg; private static var bitmapUsa3Blusa:BitmapData = null; private static var usa4PulseIzqImg:Class = RopaConjuntos_usa4PulseIzqImg; private static var bitmapGen1MonoDer:BitmapData = null; private static var bitmapFelGabaTraz:BitmapData = null; private static var bitmapGen1CalceIzq:BitmapData = null; private static var eleColaDerImg:Class = RopaConjuntos_eleColaDerImg; private static var bitmapUsa4ZapIzq:BitmapData = null; private static var DawnBufandaImg:Class = RopaConjuntos_DawnBufandaImg; private static var usa2ZapIzqImg:Class = RopaConjuntos_usa2ZapIzqImg; private static var kitBlusaExtImg:Class = RopaConjuntos_kitBlusaExtImg; private static var bitmapIrvZapDer:BitmapData = null; private static var usa2PulseraImg:Class = RopaConjuntos_usa2PulseraImg; private static var irvZapDerImg:Class = RopaConjuntos_irvZapDerImg; private static var dracuAreteDerImg:Class = RopaConjuntos_dracuAreteDerImg; private static var bitmapUsa3Corbata:BitmapData = null; private static var eleCalceIzqImg:Class = RopaConjuntos_eleCalceIzqImg; private static var gen1FaldaImg:Class = RopaConjuntos_gen1FaldaImg; private static var irvBlusaImg:Class = RopaConjuntos_irvBlusaImg; private static var bitmapDracuFalda:BitmapData = null; private static var angAdornoCabezaImg:Class = RopaConjuntos_angAdornoCabezaImg; private static var bitmapUsa4AdorCab:BitmapData = null; private static var bitmapEleFalda:BitmapData = null; private static var gen1ZapDerImg:Class = RopaConjuntos_gen1ZapDerImg; private static var bitmapDracuBlusaInt:BitmapData = null; private static var bitmapUsa2ZapDer:BitmapData = null; private static var usa3PantyImg:Class = RopaConjuntos_usa3PantyImg; private static var bitmapAngCola:BitmapData = null; private static var bitmapDawnPanty:BitmapData = null; private static var eleColaIzqImg:Class = RopaConjuntos_eleColaIzqImg; private static var bitmapKitGuanteDer:BitmapData = null; private static var bitmapFelBlusa:BitmapData = null; private static var bitmapKitOreDer:BitmapData = null; private static var bitmapUsa3Lentes:BitmapData = null; private static var irvZapIzqImg:Class = RopaConjuntos_irvZapIzqImg; private static var irvAdorMangaImg:Class = RopaConjuntos_irvAdorMangaImg; private static var dracuAreteIzqImg:Class = RopaConjuntos_dracuAreteIzqImg; private static var FelPelucaTrazImg:Class = RopaConjuntos_FelPelucaTrazImg; private static var bitmapUsa1Pulsera:BitmapData = null; private static var bitmapFelPelucaDelante:BitmapData = null; private static var bitmapAngFalda:BitmapData = null; private static var bitmapUsa4Blusa:BitmapData = null; private static var gen1ZapIzqImg:Class = RopaConjuntos_gen1ZapIzqImg; public static function llenaArregloRopa(_arg1:Array, _arg2:int, _arg3:Array, _arg4:int):void{ if (bitmapDracuPanties == null){ bitmapDracuPanties = new BitmapData(96, 65, true, 0); bitmapDracuPanties.draw(new dracuPantiesImg()); }; var _local5:Ropa = new Ropa(bitmapDracuPanties, null, GrupoRopa.GIRLS, 1, 96, 65, _arg2, false, 922, 305, 341, 305); _arg1.push(_local5); _arg2++; if (bitmapDracuMedias == null){ bitmapDracuMedias = new BitmapData(244, 332, true, 0); bitmapDracuMedias.draw(new dracuMediasImg()); }; _local5 = new Ropa(bitmapDracuMedias, null, GrupoRopa.GIRLS, 1, 244, 332, _arg2, false, 851, 301, 270, 301); _arg1.push(_local5); _arg2++; if (bitmapDracuBotaIzq == null){ bitmapDracuBotaIzq = new BitmapData(94, 184, true, 0); bitmapDracuBotaIzq.draw(new dracuBotaIzqImg()); }; _local5 = new Ropa(bitmapDracuBotaIzq, null, GrupoRopa.GIRLS, 1, 94, 184, _arg2, false, 846, 455, 265, 455); _arg1.push(_local5); _arg2++; if (bitmapDracuBotaDer == null){ bitmapDracuBotaDer = new BitmapData(102, 195, true, 0); bitmapDracuBotaDer.draw(new dracuBotaDerImg()); }; _local5 = new Ropa(bitmapDracuBotaDer, null, GrupoRopa.GIRLS, 1, 102, 195, _arg2, false, 998, 440, 417, 440); _arg1.push(_local5); _arg2++; if (bitmapDracuFalda == null){ bitmapDracuFalda = new BitmapData(177, 108, true, 0); bitmapDracuFalda.draw(new dracuFaldaImg()); }; _local5 = new Ropa(bitmapDracuFalda, null, GrupoRopa.GIRLS, 1, 177, 108, _arg2, false, 881, 295, 300, 295); _arg1.push(_local5); _arg2++; if (bitmapDracuBlusaInt == null){ bitmapDracuBlusaInt = new BitmapData(238, 131, true, 0); bitmapDracuBlusaInt.draw(new dracuBlusaIntImg()); }; _local5 = new Ropa(bitmapDracuBlusaInt, null, GrupoRopa.GIRLS, 1, 238, 131, _arg2, false, 845, 158, 264, 158); _arg1.push(_local5); _arg2++; if (bitmapDracuBlusaExt == null){ bitmapDracuBlusaExt = new BitmapData(97, 160, true, 0); bitmapDracuBlusaExt.draw(new dracuBlusaExtImg()); }; _local5 = new Ropa(bitmapDracuBlusaExt, null, GrupoRopa.GIRLS, 1, 97, 160, _arg2, false, 920, 139, 339, 139); _arg1.push(_local5); _arg2++; if (bitmapDracuMangaIzq == null){ bitmapDracuMangaIzq = new BitmapData(31, 49, true, 0); bitmapDracuMangaIzq.draw(new dracuMangaIzqImg()); }; _local5 = new Ropa(bitmapDracuMangaIzq, null, GrupoRopa.GIRLS, 1, 31, 49, _arg2, false, 832, 252, 251, 252); _arg1.push(_local5); _arg2++; if (bitmapDracuMangaDer == null){ bitmapDracuMangaDer = new BitmapData(34, 40, true, 0); bitmapDracuMangaDer.draw(new dracuMangaDerImg()); }; _local5 = new Ropa(bitmapDracuMangaDer, null, GrupoRopa.GIRLS, 1, 34, 40, _arg2, false, 1063, 262, 482, 262); _arg1.push(_local5); _arg2++; if (bitmapDracuChaleco == null){ bitmapDracuChaleco = new BitmapData(120, 162, true, 0); bitmapDracuChaleco.draw(new dracuChalecoImg()); }; _local5 = new Ropa(bitmapDracuChaleco, null, GrupoRopa.GIRLS, 1, 120, 162, _arg2, false, 908, 150, 327, 150); _arg1.push(_local5); _arg2++; if (bitmapDracuCuello == null){ bitmapDracuCuello = new BitmapData(56, 32, true, 0); bitmapDracuCuello.draw(new dracuCuelloImg()); }; _local5 = new Ropa(bitmapDracuCuello, null, GrupoRopa.GIRLS, 1, 56, 32, _arg2, false, 939, 150, 358, 150); _arg1.push(_local5); _arg2++; if (bitmapDracuAreteIzq == null){ bitmapDracuAreteIzq = new BitmapData(11, 19, true, 0); bitmapDracuAreteIzq.draw(new dracuAreteIzqImg()); }; _local5 = new Ropa(bitmapDracuAreteIzq, null, GrupoRopa.GIRLS, 1, 11, 19, _arg2, false, 920, 124, 339, 124); _arg1.push(_local5); _arg2++; if (bitmapDracuAreteDer == null){ bitmapDracuAreteDer = new BitmapData(9, 18, true, 0); bitmapDracuAreteDer.draw(new dracuAreteDerImg()); }; _local5 = new Ropa(bitmapDracuAreteDer, null, GrupoRopa.GIRLS, 1, 9, 18, _arg2, false, 991, 106, 410, 106); _arg1.push(_local5); _arg2++; if (bitmapIrvZapIzq == null){ bitmapIrvZapIzq = new BitmapData(82, 51, true, 0); bitmapIrvZapIzq.draw(new irvZapIzqImg()); }; _local5 = new Ropa(bitmapIrvZapIzq, null, GrupoRopa.GIRLS, 2, 82, 51, _arg2, false, 853, 584, 272, 584); _arg1.push(_local5); _arg2++; if (bitmapIrvZapDer == null){ bitmapIrvZapDer = new BitmapData(88, 61, true, 0); bitmapIrvZapDer.draw(new irvZapDerImg()); }; _local5 = new Ropa(bitmapIrvZapDer, null, GrupoRopa.GIRLS, 2, 88, 61, _arg2, false, 1006, 573, 425, 573); _arg1.push(_local5); _arg2++; if (bitmapIrvBlusa == null){ bitmapIrvBlusa = new BitmapData(253, 205, true, 0); bitmapIrvBlusa.draw(new irvBlusaImg()); }; _local5 = new Ropa(bitmapIrvBlusa, null, GrupoRopa.GIRLS, 2, 253, 205, _arg2, false, 840, 163, 259, 163); _arg1.push(_local5); _arg2++; if (bitmapIrvFalda == null){ bitmapIrvFalda = new BitmapData(335, 357, true, 0); bitmapIrvFalda.draw(new irvFaldaImg()); }; _local5 = new Ropa(bitmapIrvFalda, null, GrupoRopa.GIRLS, 2, 335, 357, _arg2, false, 808, 283, 227, 283); _arg1.push(_local5); _arg2++; if (bitmapIrvBowPecho == null){ bitmapIrvBowPecho = new BitmapData(73, 67, true, 0); bitmapIrvBowPecho.draw(new irvBowPechoImg()); }; _local5 = new Ropa(bitmapIrvBowPecho, null, GrupoRopa.GIRLS, 2, 73, 67, _arg2, false, 935, 197, 354, 197); _arg1.push(_local5); _arg2++; if (bitmapIrvAdorBlusa == null){ bitmapIrvAdorBlusa = new BitmapData(39, 50, true, 0); bitmapIrvAdorBlusa.draw(new irvAdorBlusaImg()); }; _local5 = new Ropa(bitmapIrvAdorBlusa, null, GrupoRopa.GIRLS, 2, 39, 50, _arg2, false, 904, 157, 323, 157); _arg1.push(_local5); _arg2++; if (bitmapIrvAdorManga == null){ bitmapIrvAdorManga = new BitmapData(38, 35, true, 0); bitmapIrvAdorManga.draw(new irvAdorMangaImg()); }; _local5 = new Ropa(bitmapIrvAdorManga, null, GrupoRopa.GIRLS, 2, 38, 35, _arg2, false, 1059, 253, 478, 253); _arg1.push(_local5); _arg2++; if (bitmapIrvAdorCabeza == null){ bitmapIrvAdorCabeza = new BitmapData(39, 59, true, 0); bitmapIrvAdorCabeza.draw(new irvAdorCabezaImg()); }; _local5 = new Ropa(bitmapIrvAdorCabeza, null, GrupoRopa.GIRLS, 2, 39, 59, _arg2, false, 905, 32, 324, 32); _arg1.push(_local5); _arg2++; if (bitmapIrvCollar == null){ bitmapIrvCollar = new BitmapData(55, 35, true, 0); bitmapIrvCollar.draw(new irvCollarImg()); }; _local5 = new Ropa(bitmapIrvCollar, null, GrupoRopa.GIRLS, 2, 55, 35, _arg2, false, 940, 135, 359, 135); _arg1.push(_local5); _arg2++; if (bitmapKitMedias == null){ bitmapKitMedias = new BitmapData(245, 341, true, 0); bitmapKitMedias.draw(new kitMediasImg()); }; _local5 = new Ropa(bitmapKitMedias, null, GrupoRopa.GIRLS, 3, 245, 341, _arg2, false, 851, 294, 270, 294); _arg1.push(_local5); _arg2++; if (bitmapKitBlusaInt == null){ bitmapKitBlusaInt = new BitmapData(249, 147, true, 0); bitmapKitBlusaInt.draw(new kitBlusaIntImg()); }; _local5 = new Ropa(bitmapKitBlusaInt, null, GrupoRopa.GIRLS, 3, 249, 147, _arg2, false, 840, 144, 259, 144); _arg1.push(_local5); _arg2++; if (bitmapKitBlusaExt == null){ bitmapKitBlusaExt = new BitmapData(99, 229, true, 0); bitmapKitBlusaExt.draw(new kitBlusaExtImg()); }; _local5 = new Ropa(bitmapKitBlusaExt, null, GrupoRopa.GIRLS, 3, 99, 229, _arg2, false, 919, 141, 338, 141); _arg1.push(_local5); _arg2++; if (bitmapKitBotaIzq == null){ bitmapKitBotaIzq = new BitmapData(89, 179, true, 0); bitmapKitBotaIzq.draw(new kitBotaIzqImg()); }; _local5 = new Ropa(bitmapKitBotaIzq, null, GrupoRopa.GIRLS, 3, 89, 179, _arg2, false, 849, 457, 268, 457); _arg1.push(_local5); _arg2++; if (bitmapKitBotaDer == null){ bitmapKitBotaDer = new BitmapData(98, 192, true, 0); bitmapKitBotaDer.draw(new kitBotaDerImg()); }; _local5 = new Ropa(bitmapKitBotaDer, null, GrupoRopa.GIRLS, 3, 98, 192, _arg2, false, 1003, 448, 422, 448); _arg1.push(_local5); _arg2++; if (bitmapKitGuanteIzq == null){ bitmapKitGuanteIzq = new BitmapData(104, 68, true, 0); bitmapKitGuanteIzq.draw(new kitGuanteIzqImg()); }; _local5 = new Ropa(bitmapKitGuanteIzq, null, GrupoRopa.GIRLS, 3, 104, 68, _arg2, false, 790, 232, 209, 232); _arg1.push(_local5); _arg2++; if (bitmapKitGuanteDer == null){ bitmapKitGuanteDer = new BitmapData(109, 68, true, 0); bitmapKitGuanteDer.draw(new kitGuanteDerImg()); }; _local5 = new Ropa(bitmapKitGuanteDer, null, GrupoRopa.GIRLS, 3, 109, 68, _arg2, false, 1039, 238, 458, 238); _arg1.push(_local5); _arg2++; if (bitmapKitCola == null){ bitmapKitCola = new BitmapData(209, 267, true, 0); bitmapKitCola.draw(new kitColaImg()); }; var _local6:RopaTraz = new RopaTraz(null, bitmapKitCola, null, GrupoRopa.GIRLS, 3, 209, 267, _arg4, false, 995, 291, 414, 291); _arg3.push(_local6); _arg4++; if (bitmapKitOreIzq == null){ bitmapKitOreIzq = new BitmapData(65, 71, true, 0); bitmapKitOreIzq.draw(new kitOreIzqImg()); }; _local6 = new RopaTraz(null, bitmapKitOreIzq, null, GrupoRopa.GIRLS, 3, 65, 71, _arg4, false, 873, 15, 292, 15); _arg3.push(_local6); _arg4++; if (bitmapKitOreDer == null){ bitmapKitOreDer = new BitmapData(60, 68, true, 0); bitmapKitOreDer.draw(new kitOreDerImg()); }; _local6 = new RopaTraz(null, bitmapKitOreDer, null, GrupoRopa.GIRLS, 3, 60, 68, _arg4, false, 961, 14, 380, 14); _arg3.push(_local6); _arg4++; if (bitmapElePanty == null){ bitmapElePanty = new BitmapData(105, 60, true, 0); bitmapElePanty.draw(new elePantyImg()); }; _local5 = new Ropa(bitmapElePanty, null, GrupoRopa.GIRLS, 4, 105, 60, _arg2, false, 919, 308, 338, 308); _arg1.push(_local5); _arg2++; if (bitmapEleCalceIzq == null){ bitmapEleCalceIzq = new BitmapData(78, 154, true, 0); bitmapEleCalceIzq.draw(new eleCalceIzqImg()); }; _local5 = new Ropa(bitmapEleCalceIzq, null, GrupoRopa.GIRLS, 4, 78, 154, _arg2, false, 851, 478, 270, 478); _arg1.push(_local5); _arg2++; if (bitmapEleCalceDer == null){ bitmapEleCalceDer = new BitmapData(90, 155, true, 0); bitmapEleCalceDer.draw(new eleCalceDerImg()); }; _local5 = new Ropa(bitmapEleCalceDer, null, GrupoRopa.GIRLS, 4, 90, 155, _arg2, false, 1005, 477, 424, 477); _arg1.push(_local5); _arg2++; if (bitmapEleZapIzq == null){ bitmapEleZapIzq = new BitmapData(81, 55, true, 0); bitmapEleZapIzq.draw(new eleZapIzqImg()); }; _local5 = new Ropa(bitmapEleZapIzq, null, GrupoRopa.GIRLS, 4, 81, 55, _arg2, false, 850, 577, 269, 577); _arg1.push(_local5); _arg2++; if (bitmapEleZapDer == null){ bitmapEleZapDer = new BitmapData(91, 67, true, 0); bitmapEleZapDer.draw(new eleZapDerImg()); }; _local5 = new Ropa(bitmapEleZapDer, null, GrupoRopa.GIRLS, 4, 91, 67, _arg2, false, 1005, 565, 424, 565); _arg1.push(_local5); _arg2++; if (bitmapEleBlusa == null){ bitmapEleBlusa = new BitmapData(251, 184, true, 0); bitmapEleBlusa.draw(new eleBlusaImg()); }; _local5 = new Ropa(bitmapEleBlusa, null, GrupoRopa.GIRLS, 4, 251, 184, _arg2, false, 839, 144, 258, 144); _arg1.push(_local5); _arg2++; if (bitmapEleChaleco == null){ bitmapEleChaleco = new BitmapData(96, 158, true, 0); bitmapEleChaleco.draw(new eleChalecoImg()); }; _local5 = new Ropa(bitmapEleChaleco, null, GrupoRopa.GIRLS, 4, 96, 158, _arg2, false, 919, 152, 338, 152); _arg1.push(_local5); _arg2++; if (bitmapEleFalda == null){ bitmapEleFalda = new BitmapData(175, 114, true, 0); bitmapEleFalda.draw(new eleFaldaImg()); }; _local5 = new Ropa(bitmapEleFalda, null, GrupoRopa.GIRLS, 4, 175, 114, _arg2, false, 882, 294, 301, 294); _arg1.push(_local5); _arg2++; if (bitmapEleCorbata == null){ bitmapEleCorbata = new BitmapData(29, 135, true, 0); bitmapEleCorbata.draw(new eleCorbataImg()); }; _local5 = new Ropa(bitmapEleCorbata, null, GrupoRopa.GIRLS, 4, 29, 135, _arg2, false, 956, 156, 375, 156); _arg1.push(_local5); _arg2++; if (bitmapColaIzq == null){ bitmapColaIzq = new BitmapData(84, 86, true, 0); bitmapColaIzq.draw(new eleColaIzqImg()); }; _local6 = new RopaTraz(null, bitmapColaIzq, null, GrupoRopa.GIRLS, 4, 84, 86, _arg4, false, 836, 24, 0xFF, 24); _arg3.push(_local6); _arg4++; if (bitmapColaDer == null){ bitmapColaDer = new BitmapData(88, 85, true, 0); bitmapColaDer.draw(new eleColaDerImg()); }; _local6 = new RopaTraz(null, bitmapColaDer, null, GrupoRopa.GIRLS, 4, 88, 85, _arg4, false, 979, 15, 398, 15); _arg3.push(_local6); _arg4++; if (bitmapDawnPanty == null){ bitmapDawnPanty = new BitmapData(100, 58, true, 0); bitmapDawnPanty.draw(new DawnPantyImg()); }; _local5 = new Ropa(bitmapDawnPanty, null, GrupoRopa.GIRLS, 5, 100, 58, _arg2, false, 920, 309, 339, 309); _arg1.push(_local5); _arg2++; if (bitmapDawnBotaIzq == null){ bitmapDawnBotaIzq = new BitmapData(88, 179, true, 0); bitmapDawnBotaIzq.draw(new DawnBotaIzqImg()); }; _local5 = new Ropa(bitmapDawnBotaIzq, null, GrupoRopa.GIRLS, 5, 88, 179, _arg2, false, 851, 453, 270, 453); _arg1.push(_local5); _arg2++; if (bitmapDawnBotaDer == null){ bitmapDawnBotaDer = new BitmapData(94, 193, true, 0); bitmapDawnBotaDer.draw(new DawnBotaDerImg()); }; _local5 = new Ropa(bitmapDawnBotaDer, null, GrupoRopa.GIRLS, 5, 94, 193, _arg2, false, 1001, 439, 420, 439); _arg1.push(_local5); _arg2++; if (bitmapDawnFalda == null){ bitmapDawnFalda = new BitmapData(178, 111, true, 0); bitmapDawnFalda.draw(new DawnFaldaImg()); }; _local5 = new Ropa(bitmapDawnFalda, null, GrupoRopa.GIRLS, 5, 178, 111, _arg2, false, 883, 293, 302, 293); _arg1.push(_local5); _arg2++; if (bitmapDawnBlusa == null){ bitmapDawnBlusa = new BitmapData(96, 54, true, 0); bitmapDawnBlusa.draw(new DawnBlusaImg()); }; _local5 = new Ropa(bitmapDawnBlusa, null, GrupoRopa.GIRLS, 5, 96, 54, _arg2, false, 921, 188, 340, 188); _arg1.push(_local5); _arg2++; if (bitmapDawnChaleco == null){ bitmapDawnChaleco = new BitmapData(151, 202, true, 0); bitmapDawnChaleco.draw(new DawnChalecoImg()); }; _local5 = new Ropa(bitmapDawnChaleco, null, GrupoRopa.GIRLS, 5, 151, 202, _arg2, false, 892, 158, 311, 158); _arg1.push(_local5); _arg2++; if (bitmapDawnBufanda == null){ bitmapDawnBufanda = new BitmapData(83, 80, true, 0); bitmapDawnBufanda.draw(new DawnBufandaImg()); }; _local5 = new Ropa(bitmapDawnBufanda, null, GrupoRopa.GIRLS, 5, 83, 80, _arg2, false, 941, 144, 360, 144); _arg1.push(_local5); _arg2++; if (bitmapDawnPulseIzq == null){ bitmapDawnPulseIzq = new BitmapData(18, 29, true, 0); bitmapDawnPulseIzq.draw(new DawnPulseIzqImg()); }; _local5 = new Ropa(bitmapDawnPulseIzq, null, GrupoRopa.GIRLS, 5, 18, 29, _arg2, false, 832, 266, 251, 266); _arg1.push(_local5); _arg2++; if (bitmapDawnPulseDer == null){ bitmapDawnPulseDer = new BitmapData(28, 29, true, 0); bitmapDawnPulseDer.draw(new DawnPulseDerImg()); }; _local5 = new Ropa(bitmapDawnPulseDer, null, GrupoRopa.GIRLS, 5, 28, 29, _arg2, false, 1064, 262, 483, 262); _arg1.push(_local5); _arg2++; if (bitmapDawnGorro == null){ bitmapDawnGorro = new BitmapData(130, 77, true, 0); bitmapDawnGorro.draw(new DawnGorroImg()); }; _local5 = new Ropa(bitmapDawnGorro, null, GrupoRopa.GIRLS, 5, 130, 77, _arg2, false, 883, 18, 302, 18); _arg1.push(_local5); _arg2++; if (bitmapFelPanty == null){ bitmapFelPanty = new BitmapData(100, 63, true, 0); bitmapFelPanty.draw(new FelPantyImg()); }; _local5 = new Ropa(bitmapFelPanty, null, GrupoRopa.GIRLS, 6, 100, 63, _arg2, false, 920, 307, 339, 307); _arg1.push(_local5); _arg2++; if (bitmapFelFalda == null){ bitmapFelFalda = new BitmapData(166, 111, true, 0); bitmapFelFalda.draw(new FelFaldaImg()); }; _local5 = new Ropa(bitmapFelFalda, null, GrupoRopa.GIRLS, 6, 166, 111, _arg2, false, 887, 302, 306, 302); _arg1.push(_local5); _arg2++; if (bitmapFelBotaIzq == null){ bitmapFelBotaIzq = new BitmapData(86, 179, true, 0); bitmapFelBotaIzq.draw(new FelBotaIzqImg()); }; _local5 = new Ropa(bitmapFelBotaIzq, null, GrupoRopa.GIRLS, 6, 86, 179, _arg2, false, 849, 457, 268, 457); _arg1.push(_local5); _arg2++; if (bitmapFelBotaDer == null){ bitmapFelBotaDer = new BitmapData(99, 191, true, 0); bitmapFelBotaDer.draw(new FelBotaDerImg()); }; _local5 = new Ropa(bitmapFelBotaDer, null, GrupoRopa.GIRLS, 6, 99, 191, _arg2, false, 1002, 447, 421, 447); _arg1.push(_local5); _arg2++; if (bitmapFelBlusa == null){ bitmapFelBlusa = new BitmapData(96, 157, true, 0); bitmapFelBlusa.draw(new FelBlusaImg()); }; _local5 = new Ropa(bitmapFelBlusa, null, GrupoRopa.GIRLS, 6, 96, 157, _arg2, false, 921, 155, 340, 155); _arg1.push(_local5); _arg2++; if (bitmapFelGabaDelante == null){ bitmapFelGabaDelante = new BitmapData(300, 305, true, 0); bitmapFelGabaDelante.draw(new FelGabaDelanteImg()); }; _local5 = new Ropa(bitmapFelGabaDelante, null, GrupoRopa.GIRLS, 6, 300, 305, _arg2, false, 826, 145, 245, 145); _arg1.push(_local5); _arg2++; if (bitmapFelGabaTraz == null){ bitmapFelGabaTraz = new BitmapData(300, 305, true, 0); bitmapFelGabaTraz.draw(new FelGabaTrazImg()); }; _local6 = new RopaTraz(_local5, bitmapFelGabaTraz, null, GrupoRopa.GIRLS, 6, 300, 305, _arg4, false, 826, 145, 245, 145); _arg3.push(_local6); _arg4++; if (bitmapFelFlor == null){ bitmapFelFlor = new BitmapData(33, 32, true, 0); bitmapFelFlor.draw(new FelFlorImg()); }; _local5 = new Ropa(bitmapFelFlor, null, GrupoRopa.GIRLS, 6, 33, 32, _arg2, false, 975, 152, 394, 152); _arg1.push(_local5); _arg2++; if (bitmapFelPelucaDelante == null){ bitmapFelPelucaDelante = new BitmapData(204, 204, true, 0); bitmapFelPelucaDelante.draw(new FelPelucaDelanteImg()); }; _local5 = new Ropa(bitmapFelPelucaDelante, null, GrupoRopa.GIRLS, 6, 204, 204, _arg2, false, 864, 30, 283, 30); _arg1.push(_local5); _arg2++; if (bitmapFelPelucaTraz == null){ bitmapFelPelucaTraz = new BitmapData(204, 204, true, 0); bitmapFelPelucaTraz.draw(new FelPelucaTrazImg()); }; _local6 = new RopaTraz(_local5, bitmapFelPelucaTraz, null, GrupoRopa.GIRLS, 6, 204, 204, _arg4, false, 864, 30, 283, 30); _arg3.push(_local6); _arg4++; if (bitmapAngCola == null){ bitmapAngCola = new BitmapData(265, 277, true, 0); bitmapAngCola.draw(new angColaImg()); }; _local6 = new RopaTraz(null, bitmapAngCola, null, GrupoRopa.GIRLS, 7, 265, 277, _arg4, false, 944, 280, 363, 280); _arg3.push(_local6); _arg4++; if (bitmapAngLeotardo == null){ bitmapAngLeotardo = new BitmapData(101, 212, true, 0); bitmapAngLeotardo.draw(new angLeotardoImg()); }; _local5 = new Ropa(bitmapAngLeotardo, null, GrupoRopa.GIRLS, 7, 101, 212, _arg2, false, 920, 157, 339, 157); _arg1.push(_local5); _arg2++; if (bitmapAngFaldaFondo == null){ bitmapAngFaldaFondo = new BitmapData(200, 107, true, 0); bitmapAngFaldaFondo.draw(new angFaldaFondoImg()); }; _local5 = new Ropa(bitmapAngFaldaFondo, null, GrupoRopa.GIRLS, 7, 200, 107, _arg2, false, 870, 297, 289, 297); _arg1.push(_local5); _arg2++; if (bitmapAngFalda == null){ bitmapAngFalda = new BitmapData(199, 89, true, 0); bitmapAngFalda.draw(new angFaldaImg()); }; _local5 = new Ropa(bitmapAngFalda, null, GrupoRopa.GIRLS, 7, 199, 89, _arg2, false, 872, 296, 291, 296); _arg1.push(_local5); _arg2++; if (bitmapAngAdornoFalda == null){ bitmapAngAdornoFalda = new BitmapData(60, 36, true, 0); bitmapAngAdornoFalda.draw(new angAdornoFaldaImg()); }; _local5 = new Ropa(bitmapAngAdornoFalda, null, GrupoRopa.GIRLS, 7, 60, 36, _arg2, false, 985, 282, 404, 282); _arg1.push(_local5); _arg2++; if (bitmapAngZapIzq == null){ bitmapAngZapIzq = new BitmapData(84, 103, true, 0); bitmapAngZapIzq.draw(new angZapIzqImg()); }; _local5 = new Ropa(bitmapAngZapIzq, null, GrupoRopa.GIRLS, 7, 84, 103, _arg2, false, 850, 534, 269, 534); _arg1.push(_local5); _arg2++; if (bitmapAngZapDer == null){ bitmapAngZapDer = new BitmapData(90, 100, true, 0); bitmapAngZapDer.draw(new angZapDerImg()); }; _local5 = new Ropa(bitmapAngZapDer, null, GrupoRopa.GIRLS, 7, 90, 100, _arg2, false, 1005, 535, 424, 535); _arg1.push(_local5); _arg2++; if (bitmapAngOrejaIzq == null){ bitmapAngOrejaIzq = new BitmapData(68, 68, true, 0); bitmapAngOrejaIzq.draw(new angOrejaIzqImg()); }; _local6 = new RopaTraz(null, bitmapAngOrejaIzq, null, GrupoRopa.GIRLS, 7, 68, 68, _arg4, false, 864, 12, 283, 12); _arg3.push(_local6); _arg4++; if (bitmapAngOrejaDer == null){ bitmapAngOrejaDer = new BitmapData(68, 70, true, 0); bitmapAngOrejaDer.draw(new angOrejaDerImg()); }; _local6 = new RopaTraz(null, bitmapAngOrejaDer, null, GrupoRopa.GIRLS, 7, 68, 70, _arg4, false, 960, -4, 379, -4); _arg3.push(_local6); _arg4++; if (bitmapAngAdornoCabeza == null){ bitmapAngAdornoCabeza = new BitmapData(44, 45, true, 0); bitmapAngAdornoCabeza.draw(new angAdornoCabezaImg()); }; _local5 = new Ropa(bitmapAngAdornoCabeza, null, GrupoRopa.GIRLS, 7, 44, 45, _arg2, false, 957, 24, 376, 24); _arg1.push(_local5); _arg2++; if (bitmapUsa1Panty == null){ bitmapUsa1Panty = new BitmapData(98, 59, true, 0); bitmapUsa1Panty.draw(new usa1PantyImg()); }; _local5 = new Ropa(bitmapUsa1Panty, null, GrupoRopa.GIRLS, 8, 98, 59, _arg2, false, 921, 309, 340, 309); _arg1.push(_local5); _arg2++; if (bitmapUsa1CalceIzq == null){ bitmapUsa1CalceIzq = new BitmapData(74, 100, true, 0); bitmapUsa1CalceIzq.draw(new usa1CalceIzqImg()); }; _local5 = new Ropa(bitmapUsa1CalceIzq, null, GrupoRopa.GIRLS, 8, 74, 100, _arg2, false, 853, 530, 272, 530); _arg1.push(_local5); _arg2++; if (bitmapUsa1CalceDer == null){ bitmapUsa1CalceDer = new BitmapData(84, 109, true, 0); bitmapUsa1CalceDer.draw(new usa1CalceDerImg()); }; _local5 = new Ropa(bitmapUsa1CalceDer, null, GrupoRopa.GIRLS, 8, 84, 109, _arg2, false, 1008, 521, 427, 521); _arg1.push(_local5); _arg2++; if (bitmapUsa1ZapIzq == null){ bitmapUsa1ZapIzq = new BitmapData(80, 53, true, 0); bitmapUsa1ZapIzq.draw(new usa1ZapIzqImg()); }; _local5 = new Ropa(bitmapUsa1ZapIzq, null, GrupoRopa.GIRLS, 8, 80, 53, _arg2, false, 852, 580, 271, 580); _arg1.push(_local5); _arg2++; if (bitmapUsa1ZapDer == null){ bitmapUsa1ZapDer = new BitmapData(91, 67, true, 0); bitmapUsa1ZapDer.draw(new usa1ZapDerImg()); }; _local5 = new Ropa(bitmapUsa1ZapDer, null, GrupoRopa.GIRLS, 8, 91, 67, _arg2, false, 1006, 565, 425, 565); _arg1.push(_local5); _arg2++; if (bitmapUsa1Blusa == null){ bitmapUsa1Blusa = new BitmapData(163, 212, true, 0); bitmapUsa1Blusa.draw(new usa1BlusaImg()); }; _local5 = new Ropa(bitmapUsa1Blusa, null, GrupoRopa.GIRLS, 8, 163, 212, _arg2, false, 890, 157, 309, 157); _arg1.push(_local5); _arg2++; if (bitmapUsa1Falda == null){ bitmapUsa1Falda = new BitmapData(212, 114, true, 0); bitmapUsa1Falda.draw(new usa1FaldaImg()); }; _local5 = new Ropa(bitmapUsa1Falda, null, GrupoRopa.GIRLS, 8, 212, 114, _arg2, false, 865, 295, 284, 295); _arg1.push(_local5); _arg2++; if (bitmapUsa1Pulsera == null){ bitmapUsa1Pulsera = new BitmapData(32, 37, true, 0); bitmapUsa1Pulsera.draw(new usa1PulseraImg()); }; _local5 = new Ropa(bitmapUsa1Pulsera, null, GrupoRopa.GIRLS, 8, 32, 37, _arg2, false, 840, 254, 259, 254); _arg1.push(_local5); _arg2++; if (bitmapUsa1Diadema == null){ bitmapUsa1Diadema = new BitmapData(78, 56, true, 0); bitmapUsa1Diadema.draw(new usa1DiademaImg()); }; _local5 = new Ropa(bitmapUsa1Diadema, null, GrupoRopa.GIRLS, 8, 78, 56, _arg2, false, 913, 22, 332, 22); _arg1.push(_local5); _arg2++; if (bitmapUsa2Panty == null){ bitmapUsa2Panty = new BitmapData(98, 60, true, 0); bitmapUsa2Panty.draw(new usa2PantyImg()); }; _local5 = new Ropa(bitmapUsa2Panty, null, GrupoRopa.GIRLS, 9, 98, 60, _arg2, false, 921, 308, 340, 308); _arg1.push(_local5); _arg2++; if (bitmapUsa2ZapIzq == null){ bitmapUsa2ZapIzq = new BitmapData(82, 79, true, 0); bitmapUsa2ZapIzq.draw(new usa2ZapIzqImg()); }; _local5 = new Ropa(bitmapUsa2ZapIzq, null, GrupoRopa.GIRLS, 9, 82, 79, _arg2, false, 851, 552, 270, 552); _arg1.push(_local5); _arg2++; if (bitmapUsa2ZapDer == null){ bitmapUsa2ZapDer = new BitmapData(91, 92, true, 0); bitmapUsa2ZapDer.draw(new usa2ZapDerImg()); }; _local5 = new Ropa(bitmapUsa2ZapDer, null, GrupoRopa.GIRLS, 9, 91, 92, _arg2, false, 1005, 539, 424, 539); _arg1.push(_local5); _arg2++; if (bitmapUsa2Blusa == null){ bitmapUsa2Blusa = new BitmapData(101, 212, true, 0); bitmapUsa2Blusa.draw(new usa2BlusaImg()); }; _local5 = new Ropa(bitmapUsa2Blusa, null, GrupoRopa.GIRLS, 9, 101, 212, _arg2, false, 921, 157, 340, 157); _arg1.push(_local5); _arg2++; if (bitmapUsa2Falda == null){ bitmapUsa2Falda = new BitmapData(247, 136, true, 0); bitmapUsa2Falda.draw(new usa2FaldaImg()); }; _local5 = new Ropa(bitmapUsa2Falda, null, GrupoRopa.GIRLS, 9, 247, 136, _arg2, false, 854, 278, 273, 278); _arg1.push(_local5); _arg2++; if (bitmapUsa2Cinturon == null){ bitmapUsa2Cinturon = new BitmapData(104, 34, true, 0); bitmapUsa2Cinturon.draw(new usa2CinturonImg()); }; _local5 = new Ropa(bitmapUsa2Cinturon, null, GrupoRopa.GIRLS, 9, 104, 34, _arg2, false, 918, 258, 337, 258); _arg1.push(_local5); _arg2++; if (bitmapUsa2Bolso == null){ bitmapUsa2Bolso = new BitmapData(62, 49, true, 0); bitmapUsa2Bolso.draw(new usa2BolsoImg()); }; _local5 = new Ropa(bitmapUsa2Bolso, null, GrupoRopa.GIRLS, 9, 62, 49, _arg2, false, 1017, 275, 536, 275); _arg1.push(_local5); _arg2++; if (bitmapUsa2Pulsera == null){ bitmapUsa2Pulsera = new BitmapData(40, 36, true, 0); bitmapUsa2Pulsera.draw(new usa2PulseraImg()); }; _local5 = new Ropa(bitmapUsa2Pulsera, null, GrupoRopa.GIRLS, 9, 40, 36, _arg2, false, 1021, 214, 440, 214); _arg1.push(_local5); _arg2++; if (bitmapUsa2Collar == null){ bitmapUsa2Collar = new BitmapData(40, 21, true, 0); bitmapUsa2Collar.draw(new usa2CollarImg()); }; _local5 = new Ropa(bitmapUsa2Collar, null, GrupoRopa.GIRLS, 9, 40, 21, _arg2, false, 946, 136, 365, 136); _arg1.push(_local5); _arg2++; if (bitmapUsa2Peluca == null){ bitmapUsa2Peluca = new BitmapData(124, 139, true, 0); bitmapUsa2Peluca.draw(new usa2PelucaImg()); }; _local5 = new Ropa(bitmapUsa2Peluca, null, GrupoRopa.GIRLS, 9, 124, 139, _arg2, false, 889, 21, 308, 21); _arg1.push(_local5); _arg2++; if (bitmapUsa2AdorCab == null){ bitmapUsa2AdorCab = new BitmapData(48, 18, true, 0); bitmapUsa2AdorCab.draw(new usa2AdorCabImg()); }; _local5 = new Ropa(bitmapUsa2AdorCab, null, GrupoRopa.GIRLS, 9, 48, 18, _arg2, false, 935, 45, 354, 45); _arg1.push(_local5); _arg2++; if (bitmapUsa3Panty == null){ bitmapUsa3Panty = new BitmapData(97, 78, true, 0); bitmapUsa3Panty.draw(new usa3PantyImg()); }; _local5 = new Ropa(bitmapUsa3Panty, null, GrupoRopa.GIRLS, 10, 97, 78, _arg2, false, 922, 290, 341, 290); _arg1.push(_local5); _arg2++; if (bitmapUsa3Medias == null){ bitmapUsa3Medias = new BitmapData(249, 338, true, 0); bitmapUsa3Medias.draw(new usa3MediasImg()); }; _local5 = new Ropa(bitmapUsa3Medias, null, GrupoRopa.GIRLS, 10, 249, 338, _arg2, false, 851, 296, 269, 296); _arg1.push(_local5); _arg2++; if (bitmapUsa3ZapIzq == null){ bitmapUsa3ZapIzq = new BitmapData(84, 80, true, 0); bitmapUsa3ZapIzq.draw(new usa3ZapIzqImg()); }; _local5 = new Ropa(bitmapUsa3ZapIzq, null, GrupoRopa.GIRLS, 10, 84, 80, _arg2, false, 850, 552, 269, 552); _arg1.push(_local5); _arg2++; if (bitmapUsa3ZapDer == null){ bitmapUsa3ZapDer = new BitmapData(90, 92, true, 0); bitmapUsa3ZapDer.draw(new usa3ZapDerImg()); }; _local5 = new Ropa(bitmapUsa3ZapDer, null, GrupoRopa.GIRLS, 10, 90, 92, _arg2, false, 1005, 540, 424, 540); _arg1.push(_local5); _arg2++; if (bitmapUsa3Blusa == null){ bitmapUsa3Blusa = new BitmapData(170, 212, true, 0); bitmapUsa3Blusa.draw(new usa3BlusaImg()); }; _local5 = new Ropa(bitmapUsa3Blusa, null, GrupoRopa.GIRLS, 10, 170, 212, _arg2, false, 886, 157, 305, 157); _arg1.push(_local5); _arg2++; if (bitmapUsa3Falda == null){ bitmapUsa3Falda = new BitmapData(188, 115, true, 0); bitmapUsa3Falda.draw(new usa3FaldaImg()); }; _local5 = new Ropa(bitmapUsa3Falda, null, GrupoRopa.GIRLS, 10, 188, 115, _arg2, false, 876, 302, 295, 302); _arg1.push(_local5); _arg2++; if (bitmapUsa3Cinturon == null){ bitmapUsa3Cinturon = new BitmapData(99, 28, true, 0); bitmapUsa3Cinturon.draw(new usa3CinturonImg()); }; _local5 = new Ropa(bitmapUsa3Cinturon, null, GrupoRopa.GIRLS, 10, 99, 28, _arg2, false, 921, 287, 340, 287); _arg1.push(_local5); _arg2++; if (bitmapUsa3AdorCint == null){ bitmapUsa3AdorCint = new BitmapData(28, 26, true, 0); bitmapUsa3AdorCint.draw(new usa3AdorCintImg()); }; _local5 = new Ropa(bitmapUsa3AdorCint, null, GrupoRopa.GIRLS, 10, 28, 26, _arg2, false, 928, 286, 347, 286); _arg1.push(_local5); _arg2++; if (bitmapUsa3Corbata == null){ bitmapUsa3Corbata = new BitmapData(60, 80, true, 0); bitmapUsa3Corbata.draw(new usa3CorbataImg()); }; _local5 = new Ropa(bitmapUsa3Corbata, null, GrupoRopa.GIRLS, 10, 60, 80, _arg2, false, 941, 196, 360, 196); _arg1.push(_local5); _arg2++; if (bitmapUsa3Lentes == null){ bitmapUsa3Lentes = new BitmapData(94, 43, true, 0); bitmapUsa3Lentes.draw(new usa3LentesImg()); }; _local5 = new Ropa(bitmapUsa3Lentes, null, GrupoRopa.GIRLS, 10, 94, 43, _arg2, false, 908, 80, 327, 80); _arg1.push(_local5); _arg2++; if (bitmapUsa4Panty == null){ bitmapUsa4Panty = new BitmapData(96, 59, true, 0); bitmapUsa4Panty.draw(new usa4PantyImg()); }; _local5 = new Ropa(bitmapUsa4Panty, null, GrupoRopa.GIRLS, 11, 96, 59, _arg2, false, 922, 309, 341, 309); _arg1.push(_local5); _arg2++; if (bitmapUsa4Blusa == null){ bitmapUsa4Blusa = new BitmapData(176, 217, true, 0); bitmapUsa4Blusa.draw(new usa4BlusaImg()); }; _local5 = new Ropa(bitmapUsa4Blusa, null, GrupoRopa.GIRLS, 11, 176, 217, _arg2, false, 883, 151, 302, 151); _arg1.push(_local5); _arg2++; if (bitmapUsa4FaldaDown == null){ bitmapUsa4FaldaDown = new BitmapData(236, 137, true, 0); bitmapUsa4FaldaDown.draw(new usa4FaldaDownImg()); }; _local5 = new Ropa(bitmapUsa4FaldaDown, null, GrupoRopa.GIRLS, 11, 236, 137, _arg2, false, 855, 303, 274, 303); _arg1.push(_local5); _arg2++; if (bitmapUsa4FaldaTop == null){ bitmapUsa4FaldaTop = new BitmapData(192, 91, true, 0); bitmapUsa4FaldaTop.draw(new usa4FaldaTopImg()); }; _local5 = new Ropa(bitmapUsa4FaldaTop, null, GrupoRopa.GIRLS, 11, 192, 91, _arg2, false, 876, 301, 295, 301); _arg1.push(_local5); _arg2++; if (bitmapUsa4ZapIzq == null){ bitmapUsa4ZapIzq = new BitmapData(81, 58, true, 0); bitmapUsa4ZapIzq.draw(new usa4ZapIzqImg()); }; _local5 = new Ropa(bitmapUsa4ZapIzq, null, GrupoRopa.GIRLS, 11, 81, 58, _arg2, false, 852, 582, 271, 582); _arg1.push(_local5); _arg2++; if (bitmapUsa4ZapDer == null){ bitmapUsa4ZapDer = new BitmapData(89, 71, true, 0); bitmapUsa4ZapDer.draw(new usa4ZapDerImg()); }; _local5 = new Ropa(bitmapUsa4ZapDer, null, GrupoRopa.GIRLS, 11, 89, 71, _arg2, false, 1006, 569, 425, 569); _arg1.push(_local5); _arg2++; if (bitmapUsa4PulseIzq == null){ bitmapUsa4PulseIzq = new BitmapData(27, 32, true, 0); bitmapUsa4PulseIzq.draw(new usa4PulseIzqImg()); }; _local5 = new Ropa(bitmapUsa4PulseIzq, null, GrupoRopa.GIRLS, 11, 27, 32, _arg2, false, 836, 260, 0xFF, 260); _arg1.push(_local5); _arg2++; if (bitmapUsa4Collar == null){ bitmapUsa4Collar = new BitmapData(48, 23, true, 0); bitmapUsa4Collar.draw(new usa4CollarImg()); }; _local5 = new Ropa(bitmapUsa4Collar, null, GrupoRopa.GIRLS, 11, 48, 23, _arg2, false, 944, 146, 363, 146); _arg1.push(_local5); _arg2++; if (bitmapUsa4Peluca == null){ bitmapUsa4Peluca = new BitmapData(121, 160, true, 0); bitmapUsa4Peluca.draw(new usa4PelucaImg()); }; _local5 = new Ropa(bitmapUsa4Peluca, null, GrupoRopa.GIRLS, 11, 121, 160, _arg2, false, 894, -12, 313, -12); _arg1.push(_local5); _arg2++; if (bitmapUsa4AdorCab == null){ bitmapUsa4AdorCab = new BitmapData(37, 48, true, 0); bitmapUsa4AdorCab.draw(new usa4AdorCabImg()); }; _local5 = new Ropa(bitmapUsa4AdorCab, null, GrupoRopa.GIRLS, 11, 37, 48, _arg2, false, 886, 25, 305, 25); _arg1.push(_local5); _arg2++; if (bitmapGen1Panty == null){ bitmapGen1Panty = new BitmapData(101, 69, true, 0); bitmapGen1Panty.draw(new gen1PantyImg()); }; _local5 = new Ropa(bitmapGen1Panty, null, GrupoRopa.GIRLS, 12, 101, 69, _arg2, false, 920, 300, 339, 300); _arg1.push(_local5); _arg2++; if (bitmapGen1CalceIzq == null){ bitmapGen1CalceIzq = new BitmapData(76, 93, true, 0); bitmapGen1CalceIzq.draw(new gen1CalceIzqImg()); }; _local5 = new Ropa(bitmapGen1CalceIzq, null, GrupoRopa.GIRLS, 12, 76, 93, _arg2, false, 852, 538, 271, 538); _arg1.push(_local5); _arg2++; if (bitmapGen1CalceDer == null){ bitmapGen1CalceDer = new BitmapData(85, 102, true, 0); bitmapGen1CalceDer.draw(new gen1CalceDerImg()); }; _local5 = new Ropa(bitmapGen1CalceDer, null, GrupoRopa.GIRLS, 12, 85, 102, _arg2, false, 1007, 528, 426, 528); _arg1.push(_local5); _arg2++; if (bitmapGen1ZapIzq == null){ bitmapGen1ZapIzq = new BitmapData(81, 55, true, 0); bitmapGen1ZapIzq.draw(new gen1ZapIzqImg()); }; _local5 = new Ropa(bitmapGen1ZapIzq, null, GrupoRopa.GIRLS, 12, 81, 55, _arg2, false, 850, 580, 269, 580); _arg1.push(_local5); _arg2++; if (bitmapGen1ZapDer == null){ bitmapGen1ZapDer = new BitmapData(93, 66, true, 0); bitmapGen1ZapDer.draw(new gen1ZapDerImg()); }; _local5 = new Ropa(bitmapGen1ZapDer, null, GrupoRopa.GIRLS, 12, 93, 66, _arg2, false, 1005, 566, 424, 566); _arg1.push(_local5); _arg2++; if (bitmapGen1Blusa == null){ bitmapGen1Blusa = new BitmapData(171, 154, true, 0); bitmapGen1Blusa.draw(new gen1BlusaImg()); }; _local5 = new Ropa(bitmapGen1Blusa, null, GrupoRopa.GIRLS, 12, 171, 154, _arg2, false, 885, 153, 304, 153); _arg1.push(_local5); _arg2++; if (bitmapGen1Falda == null){ bitmapGen1Falda = new BitmapData(186, 136, true, 0); bitmapGen1Falda.draw(new gen1FaldaImg()); }; _local5 = new Ropa(bitmapGen1Falda, null, GrupoRopa.GIRLS, 12, 186, 136, _arg2, false, 880, 260, 299, 260); _arg1.push(_local5); _arg2++; if (bitmapGen1TiranteIzq == null){ bitmapGen1TiranteIzq = new BitmapData(24, 120, true, 0); bitmapGen1TiranteIzq.draw(new gen1TiranteIzqImg()); }; _local5 = new Ropa(bitmapGen1TiranteIzq, null, GrupoRopa.GIRLS, 12, 24, 120, _arg2, false, 930, 159, 349, 159); _arg1.push(_local5); _arg2++; if (bitmapGen1TiranteDer == null){ bitmapGen1TiranteDer = new BitmapData(26, 123, true, 0); bitmapGen1TiranteDer.draw(new gen1TiranteDerImg()); }; _local5 = new Ropa(bitmapGen1TiranteDer, null, GrupoRopa.GIRLS, 12, 26, 123, _arg2, false, 984, 155, 403, 155); _arg1.push(_local5); _arg2++; if (bitmapGen1FlorTiranteD == null){ bitmapGen1FlorTiranteD = new BitmapData(23, 23, true, 0); bitmapGen1FlorTiranteD.draw(new gen1FlorTiranteDImg()); }; _local5 = new Ropa(bitmapGen1FlorTiranteD, null, GrupoRopa.GIRLS, 12, 23, 23, _arg2, false, 986, 258, 405, 258); _arg1.push(_local5); _arg2++; if (bitmapGen1FlorTiranteI == null){ bitmapGen1FlorTiranteI = new BitmapData(23, 23, true, 0); bitmapGen1FlorTiranteI.draw(new gen1FlorTiranteIImg()); }; _local5 = new Ropa(bitmapGen1FlorTiranteI, null, GrupoRopa.GIRLS, 12, 23, 23, _arg2, false, 933, 259, 352, 259); _arg1.push(_local5); _arg2++; if (bitmapGen1Cuello == null){ bitmapGen1Cuello = new BitmapData(79, 24, true, 0); bitmapGen1Cuello.draw(new gen1CuelloImg()); }; _local5 = new Ropa(bitmapGen1Cuello, null, GrupoRopa.GIRLS, 12, 79, 24, _arg2, false, 929, 150, 348, 150); _arg1.push(_local5); _arg2++; if (bitmapGen1MonoCuello == null){ bitmapGen1MonoCuello = new BitmapData(45, 72, true, 0); bitmapGen1MonoCuello.draw(new gen1MonoCuelloImg()); }; _local5 = new Ropa(bitmapGen1MonoCuello, null, GrupoRopa.GIRLS, 12, 45, 72, _arg2, false, 947, 151, 366, 151); _arg1.push(_local5); _arg2++; if (bitmapGen1MonoDer == null){ bitmapGen1MonoDer = new BitmapData(40, 47, true, 0); bitmapGen1MonoDer.draw(new gen1MonoDerImg()); }; _local5 = new Ropa(bitmapGen1MonoDer, null, GrupoRopa.GIRLS, 12, 40, 47, _arg2, false, 962, 20, 381, 20); _arg1.push(_local5); _arg2++; if (bitmapGen1MonoIzq == null){ bitmapGen1MonoIzq = new BitmapData(38, 43, true, 0); bitmapGen1MonoIzq.draw(new gen1MonoIzqImg()); }; _local5 = new Ropa(bitmapGen1MonoIzq, null, GrupoRopa.GIRLS, 12, 38, 43, _arg2, false, 900, 28, 319, 28); _arg1.push(_local5); _arg2++; if (bitmapGen2Panty == null){ bitmapGen2Panty = new BitmapData(101, 68, true, 0); bitmapGen2Panty.draw(new gen2PantyImg()); }; _local5 = new Ropa(bitmapGen2Panty, null, GrupoRopa.GIRLS, 13, 101, 68, _arg2, false, 920, 300, 339, 300); _arg1.push(_local5); _arg2++; if (bitmapGen2Blusa == null){ bitmapGen2Blusa = new BitmapData(251, 211, true, 0); bitmapGen2Blusa.draw(new gen2BlusaImg()); }; _local5 = new Ropa(bitmapGen2Blusa, null, GrupoRopa.GIRLS, 13, 251, 211, _arg2, false, 840, 158, 259, 158); _arg1.push(_local5); _arg2++; if (bitmapGen2Falda == null){ bitmapGen2Falda = new BitmapData(171, 111, true, 0); bitmapGen2Falda.draw(new gen2FaldaImg()); }; _local5 = new Ropa(bitmapGen2Falda, null, GrupoRopa.GIRLS, 13, 171, 111, _arg2, false, 885, 287, 304, 287); _arg1.push(_local5); _arg2++; if (bitmapGen2ZapIzq == null){ bitmapGen2ZapIzq = new BitmapData(85, 78, true, 0); bitmapGen2ZapIzq.draw(new gen2ZapIzqImg()); }; _local5 = new Ropa(bitmapGen2ZapIzq, null, GrupoRopa.GIRLS, 13, 85, 78, _arg2, false, 850, 556, 269, 556); _arg1.push(_local5); _arg2++; if (bitmapGen2ZapDer == null){ bitmapGen2ZapDer = new BitmapData(92, 91, true, 0); bitmapGen2ZapDer.draw(new gen2ZapDerImg()); }; _local5 = new Ropa(bitmapGen2ZapDer, null, GrupoRopa.GIRLS, 13, 92, 91, _arg2, false, 1003, 543, 422, 543); _arg1.push(_local5); _arg2++; } } }//package Classes
Section 132
//RopaConjuntos_angAdornoCabezaImg (Classes.RopaConjuntos_angAdornoCabezaImg) package Classes { import mx.core.*; public class RopaConjuntos_angAdornoCabezaImg extends BitmapAsset { } }//package Classes
Section 133
//RopaConjuntos_angAdornoFaldaImg (Classes.RopaConjuntos_angAdornoFaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_angAdornoFaldaImg extends BitmapAsset { } }//package Classes
Section 134
//RopaConjuntos_angColaImg (Classes.RopaConjuntos_angColaImg) package Classes { import mx.core.*; public class RopaConjuntos_angColaImg extends BitmapAsset { } }//package Classes
Section 135
//RopaConjuntos_angFaldaFondoImg (Classes.RopaConjuntos_angFaldaFondoImg) package Classes { import mx.core.*; public class RopaConjuntos_angFaldaFondoImg extends BitmapAsset { } }//package Classes
Section 136
//RopaConjuntos_angFaldaImg (Classes.RopaConjuntos_angFaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_angFaldaImg extends BitmapAsset { } }//package Classes
Section 137
//RopaConjuntos_angLeotardoImg (Classes.RopaConjuntos_angLeotardoImg) package Classes { import mx.core.*; public class RopaConjuntos_angLeotardoImg extends BitmapAsset { } }//package Classes
Section 138
//RopaConjuntos_angOrejaDerImg (Classes.RopaConjuntos_angOrejaDerImg) package Classes { import mx.core.*; public class RopaConjuntos_angOrejaDerImg extends BitmapAsset { } }//package Classes
Section 139
//RopaConjuntos_angOrejaIzqImg (Classes.RopaConjuntos_angOrejaIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_angOrejaIzqImg extends BitmapAsset { } }//package Classes
Section 140
//RopaConjuntos_angZapDerImg (Classes.RopaConjuntos_angZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_angZapDerImg extends BitmapAsset { } }//package Classes
Section 141
//RopaConjuntos_angZapIzqImg (Classes.RopaConjuntos_angZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_angZapIzqImg extends BitmapAsset { } }//package Classes
Section 142
//RopaConjuntos_DawnBlusaImg (Classes.RopaConjuntos_DawnBlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnBlusaImg extends BitmapAsset { } }//package Classes
Section 143
//RopaConjuntos_DawnBotaDerImg (Classes.RopaConjuntos_DawnBotaDerImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnBotaDerImg extends BitmapAsset { } }//package Classes
Section 144
//RopaConjuntos_DawnBotaIzqImg (Classes.RopaConjuntos_DawnBotaIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnBotaIzqImg extends BitmapAsset { } }//package Classes
Section 145
//RopaConjuntos_DawnBufandaImg (Classes.RopaConjuntos_DawnBufandaImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnBufandaImg extends BitmapAsset { } }//package Classes
Section 146
//RopaConjuntos_DawnChalecoImg (Classes.RopaConjuntos_DawnChalecoImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnChalecoImg extends BitmapAsset { } }//package Classes
Section 147
//RopaConjuntos_DawnFaldaImg (Classes.RopaConjuntos_DawnFaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnFaldaImg extends BitmapAsset { } }//package Classes
Section 148
//RopaConjuntos_DawnGorroImg (Classes.RopaConjuntos_DawnGorroImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnGorroImg extends BitmapAsset { } }//package Classes
Section 149
//RopaConjuntos_DawnPantyImg (Classes.RopaConjuntos_DawnPantyImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnPantyImg extends BitmapAsset { } }//package Classes
Section 150
//RopaConjuntos_DawnPulseDerImg (Classes.RopaConjuntos_DawnPulseDerImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnPulseDerImg extends BitmapAsset { } }//package Classes
Section 151
//RopaConjuntos_DawnPulseIzqImg (Classes.RopaConjuntos_DawnPulseIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_DawnPulseIzqImg extends BitmapAsset { } }//package Classes
Section 152
//RopaConjuntos_dracuAreteDerImg (Classes.RopaConjuntos_dracuAreteDerImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuAreteDerImg extends BitmapAsset { } }//package Classes
Section 153
//RopaConjuntos_dracuAreteIzqImg (Classes.RopaConjuntos_dracuAreteIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuAreteIzqImg extends BitmapAsset { } }//package Classes
Section 154
//RopaConjuntos_dracuBlusaExtImg (Classes.RopaConjuntos_dracuBlusaExtImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuBlusaExtImg extends BitmapAsset { } }//package Classes
Section 155
//RopaConjuntos_dracuBlusaIntImg (Classes.RopaConjuntos_dracuBlusaIntImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuBlusaIntImg extends BitmapAsset { } }//package Classes
Section 156
//RopaConjuntos_dracuBotaDerImg (Classes.RopaConjuntos_dracuBotaDerImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuBotaDerImg extends BitmapAsset { } }//package Classes
Section 157
//RopaConjuntos_dracuBotaIzqImg (Classes.RopaConjuntos_dracuBotaIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuBotaIzqImg extends BitmapAsset { } }//package Classes
Section 158
//RopaConjuntos_dracuChalecoImg (Classes.RopaConjuntos_dracuChalecoImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuChalecoImg extends BitmapAsset { } }//package Classes
Section 159
//RopaConjuntos_dracuCuelloImg (Classes.RopaConjuntos_dracuCuelloImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuCuelloImg extends BitmapAsset { } }//package Classes
Section 160
//RopaConjuntos_dracuFaldaImg (Classes.RopaConjuntos_dracuFaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuFaldaImg extends BitmapAsset { } }//package Classes
Section 161
//RopaConjuntos_dracuMangaDerImg (Classes.RopaConjuntos_dracuMangaDerImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuMangaDerImg extends BitmapAsset { } }//package Classes
Section 162
//RopaConjuntos_dracuMangaIzqImg (Classes.RopaConjuntos_dracuMangaIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuMangaIzqImg extends BitmapAsset { } }//package Classes
Section 163
//RopaConjuntos_dracuMediasImg (Classes.RopaConjuntos_dracuMediasImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuMediasImg extends BitmapAsset { } }//package Classes
Section 164
//RopaConjuntos_dracuPantiesImg (Classes.RopaConjuntos_dracuPantiesImg) package Classes { import mx.core.*; public class RopaConjuntos_dracuPantiesImg extends BitmapAsset { } }//package Classes
Section 165
//RopaConjuntos_eleBlusaImg (Classes.RopaConjuntos_eleBlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_eleBlusaImg extends BitmapAsset { } }//package Classes
Section 166
//RopaConjuntos_eleCalceDerImg (Classes.RopaConjuntos_eleCalceDerImg) package Classes { import mx.core.*; public class RopaConjuntos_eleCalceDerImg extends BitmapAsset { } }//package Classes
Section 167
//RopaConjuntos_eleCalceIzqImg (Classes.RopaConjuntos_eleCalceIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_eleCalceIzqImg extends BitmapAsset { } }//package Classes
Section 168
//RopaConjuntos_eleChalecoImg (Classes.RopaConjuntos_eleChalecoImg) package Classes { import mx.core.*; public class RopaConjuntos_eleChalecoImg extends BitmapAsset { } }//package Classes
Section 169
//RopaConjuntos_eleColaDerImg (Classes.RopaConjuntos_eleColaDerImg) package Classes { import mx.core.*; public class RopaConjuntos_eleColaDerImg extends BitmapAsset { } }//package Classes
Section 170
//RopaConjuntos_eleColaIzqImg (Classes.RopaConjuntos_eleColaIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_eleColaIzqImg extends BitmapAsset { } }//package Classes
Section 171
//RopaConjuntos_eleCorbataImg (Classes.RopaConjuntos_eleCorbataImg) package Classes { import mx.core.*; public class RopaConjuntos_eleCorbataImg extends BitmapAsset { } }//package Classes
Section 172
//RopaConjuntos_eleFaldaImg (Classes.RopaConjuntos_eleFaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_eleFaldaImg extends BitmapAsset { } }//package Classes
Section 173
//RopaConjuntos_elePantyImg (Classes.RopaConjuntos_elePantyImg) package Classes { import mx.core.*; public class RopaConjuntos_elePantyImg extends BitmapAsset { } }//package Classes
Section 174
//RopaConjuntos_eleZapDerImg (Classes.RopaConjuntos_eleZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_eleZapDerImg extends BitmapAsset { } }//package Classes
Section 175
//RopaConjuntos_eleZapIzqImg (Classes.RopaConjuntos_eleZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_eleZapIzqImg extends BitmapAsset { } }//package Classes
Section 176
//RopaConjuntos_FelBlusaImg (Classes.RopaConjuntos_FelBlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_FelBlusaImg extends BitmapAsset { } }//package Classes
Section 177
//RopaConjuntos_FelBotaDerImg (Classes.RopaConjuntos_FelBotaDerImg) package Classes { import mx.core.*; public class RopaConjuntos_FelBotaDerImg extends BitmapAsset { } }//package Classes
Section 178
//RopaConjuntos_FelBotaIzqImg (Classes.RopaConjuntos_FelBotaIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_FelBotaIzqImg extends BitmapAsset { } }//package Classes
Section 179
//RopaConjuntos_FelFaldaImg (Classes.RopaConjuntos_FelFaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_FelFaldaImg extends BitmapAsset { } }//package Classes
Section 180
//RopaConjuntos_FelFlorImg (Classes.RopaConjuntos_FelFlorImg) package Classes { import mx.core.*; public class RopaConjuntos_FelFlorImg extends BitmapAsset { } }//package Classes
Section 181
//RopaConjuntos_FelGabaDelanteImg (Classes.RopaConjuntos_FelGabaDelanteImg) package Classes { import mx.core.*; public class RopaConjuntos_FelGabaDelanteImg extends BitmapAsset { } }//package Classes
Section 182
//RopaConjuntos_FelGabaTrazImg (Classes.RopaConjuntos_FelGabaTrazImg) package Classes { import mx.core.*; public class RopaConjuntos_FelGabaTrazImg extends BitmapAsset { } }//package Classes
Section 183
//RopaConjuntos_FelPantyImg (Classes.RopaConjuntos_FelPantyImg) package Classes { import mx.core.*; public class RopaConjuntos_FelPantyImg extends BitmapAsset { } }//package Classes
Section 184
//RopaConjuntos_FelPelucaDelanteImg (Classes.RopaConjuntos_FelPelucaDelanteImg) package Classes { import mx.core.*; public class RopaConjuntos_FelPelucaDelanteImg extends BitmapAsset { } }//package Classes
Section 185
//RopaConjuntos_FelPelucaTrazImg (Classes.RopaConjuntos_FelPelucaTrazImg) package Classes { import mx.core.*; public class RopaConjuntos_FelPelucaTrazImg extends BitmapAsset { } }//package Classes
Section 186
//RopaConjuntos_gen1BlusaImg (Classes.RopaConjuntos_gen1BlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1BlusaImg extends BitmapAsset { } }//package Classes
Section 187
//RopaConjuntos_gen1CalceDerImg (Classes.RopaConjuntos_gen1CalceDerImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1CalceDerImg extends BitmapAsset { } }//package Classes
Section 188
//RopaConjuntos_gen1CalceIzqImg (Classes.RopaConjuntos_gen1CalceIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1CalceIzqImg extends BitmapAsset { } }//package Classes
Section 189
//RopaConjuntos_gen1CuelloImg (Classes.RopaConjuntos_gen1CuelloImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1CuelloImg extends BitmapAsset { } }//package Classes
Section 190
//RopaConjuntos_gen1FaldaImg (Classes.RopaConjuntos_gen1FaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1FaldaImg extends BitmapAsset { } }//package Classes
Section 191
//RopaConjuntos_gen1FlorTiranteDImg (Classes.RopaConjuntos_gen1FlorTiranteDImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1FlorTiranteDImg extends BitmapAsset { } }//package Classes
Section 192
//RopaConjuntos_gen1FlorTiranteIImg (Classes.RopaConjuntos_gen1FlorTiranteIImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1FlorTiranteIImg extends BitmapAsset { } }//package Classes
Section 193
//RopaConjuntos_gen1MonoCuelloImg (Classes.RopaConjuntos_gen1MonoCuelloImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1MonoCuelloImg extends BitmapAsset { } }//package Classes
Section 194
//RopaConjuntos_gen1MonoDerImg (Classes.RopaConjuntos_gen1MonoDerImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1MonoDerImg extends BitmapAsset { } }//package Classes
Section 195
//RopaConjuntos_gen1MonoIzqImg (Classes.RopaConjuntos_gen1MonoIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1MonoIzqImg extends BitmapAsset { } }//package Classes
Section 196
//RopaConjuntos_gen1PantyImg (Classes.RopaConjuntos_gen1PantyImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1PantyImg extends BitmapAsset { } }//package Classes
Section 197
//RopaConjuntos_gen1TiranteDerImg (Classes.RopaConjuntos_gen1TiranteDerImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1TiranteDerImg extends BitmapAsset { } }//package Classes
Section 198
//RopaConjuntos_gen1TiranteIzqImg (Classes.RopaConjuntos_gen1TiranteIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1TiranteIzqImg extends BitmapAsset { } }//package Classes
Section 199
//RopaConjuntos_gen1ZapDerImg (Classes.RopaConjuntos_gen1ZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1ZapDerImg extends BitmapAsset { } }//package Classes
Section 200
//RopaConjuntos_gen1ZapIzqImg (Classes.RopaConjuntos_gen1ZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_gen1ZapIzqImg extends BitmapAsset { } }//package Classes
Section 201
//RopaConjuntos_gen2BlusaImg (Classes.RopaConjuntos_gen2BlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_gen2BlusaImg extends BitmapAsset { } }//package Classes
Section 202
//RopaConjuntos_gen2FaldaImg (Classes.RopaConjuntos_gen2FaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_gen2FaldaImg extends BitmapAsset { } }//package Classes
Section 203
//RopaConjuntos_gen2PantyImg (Classes.RopaConjuntos_gen2PantyImg) package Classes { import mx.core.*; public class RopaConjuntos_gen2PantyImg extends BitmapAsset { } }//package Classes
Section 204
//RopaConjuntos_gen2ZapDerImg (Classes.RopaConjuntos_gen2ZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_gen2ZapDerImg extends BitmapAsset { } }//package Classes
Section 205
//RopaConjuntos_gen2ZapIzqImg (Classes.RopaConjuntos_gen2ZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_gen2ZapIzqImg extends BitmapAsset { } }//package Classes
Section 206
//RopaConjuntos_irvAdorBlusaImg (Classes.RopaConjuntos_irvAdorBlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_irvAdorBlusaImg extends BitmapAsset { } }//package Classes
Section 207
//RopaConjuntos_irvAdorCabezaImg (Classes.RopaConjuntos_irvAdorCabezaImg) package Classes { import mx.core.*; public class RopaConjuntos_irvAdorCabezaImg extends BitmapAsset { } }//package Classes
Section 208
//RopaConjuntos_irvAdorMangaImg (Classes.RopaConjuntos_irvAdorMangaImg) package Classes { import mx.core.*; public class RopaConjuntos_irvAdorMangaImg extends BitmapAsset { } }//package Classes
Section 209
//RopaConjuntos_irvBlusaImg (Classes.RopaConjuntos_irvBlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_irvBlusaImg extends BitmapAsset { } }//package Classes
Section 210
//RopaConjuntos_irvBowPechoImg (Classes.RopaConjuntos_irvBowPechoImg) package Classes { import mx.core.*; public class RopaConjuntos_irvBowPechoImg extends BitmapAsset { } }//package Classes
Section 211
//RopaConjuntos_irvCollarImg (Classes.RopaConjuntos_irvCollarImg) package Classes { import mx.core.*; public class RopaConjuntos_irvCollarImg extends BitmapAsset { } }//package Classes
Section 212
//RopaConjuntos_irvFaldaImg (Classes.RopaConjuntos_irvFaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_irvFaldaImg extends BitmapAsset { } }//package Classes
Section 213
//RopaConjuntos_irvZapDerImg (Classes.RopaConjuntos_irvZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_irvZapDerImg extends BitmapAsset { } }//package Classes
Section 214
//RopaConjuntos_irvZapIzqImg (Classes.RopaConjuntos_irvZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_irvZapIzqImg extends BitmapAsset { } }//package Classes
Section 215
//RopaConjuntos_kitBlusaExtImg (Classes.RopaConjuntos_kitBlusaExtImg) package Classes { import mx.core.*; public class RopaConjuntos_kitBlusaExtImg extends BitmapAsset { } }//package Classes
Section 216
//RopaConjuntos_kitBlusaIntImg (Classes.RopaConjuntos_kitBlusaIntImg) package Classes { import mx.core.*; public class RopaConjuntos_kitBlusaIntImg extends BitmapAsset { } }//package Classes
Section 217
//RopaConjuntos_kitBotaDerImg (Classes.RopaConjuntos_kitBotaDerImg) package Classes { import mx.core.*; public class RopaConjuntos_kitBotaDerImg extends BitmapAsset { } }//package Classes
Section 218
//RopaConjuntos_kitBotaIzqImg (Classes.RopaConjuntos_kitBotaIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_kitBotaIzqImg extends BitmapAsset { } }//package Classes
Section 219
//RopaConjuntos_kitColaImg (Classes.RopaConjuntos_kitColaImg) package Classes { import mx.core.*; public class RopaConjuntos_kitColaImg extends BitmapAsset { } }//package Classes
Section 220
//RopaConjuntos_kitGuanteDerImg (Classes.RopaConjuntos_kitGuanteDerImg) package Classes { import mx.core.*; public class RopaConjuntos_kitGuanteDerImg extends BitmapAsset { } }//package Classes
Section 221
//RopaConjuntos_kitGuanteIzqImg (Classes.RopaConjuntos_kitGuanteIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_kitGuanteIzqImg extends BitmapAsset { } }//package Classes
Section 222
//RopaConjuntos_kitMediasImg (Classes.RopaConjuntos_kitMediasImg) package Classes { import mx.core.*; public class RopaConjuntos_kitMediasImg extends BitmapAsset { } }//package Classes
Section 223
//RopaConjuntos_kitOreDerImg (Classes.RopaConjuntos_kitOreDerImg) package Classes { import mx.core.*; public class RopaConjuntos_kitOreDerImg extends BitmapAsset { } }//package Classes
Section 224
//RopaConjuntos_kitOreIzqImg (Classes.RopaConjuntos_kitOreIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_kitOreIzqImg extends BitmapAsset { } }//package Classes
Section 225
//RopaConjuntos_usa1BlusaImg (Classes.RopaConjuntos_usa1BlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1BlusaImg extends BitmapAsset { } }//package Classes
Section 226
//RopaConjuntos_usa1CalceDerImg (Classes.RopaConjuntos_usa1CalceDerImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1CalceDerImg extends BitmapAsset { } }//package Classes
Section 227
//RopaConjuntos_usa1CalceIzqImg (Classes.RopaConjuntos_usa1CalceIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1CalceIzqImg extends BitmapAsset { } }//package Classes
Section 228
//RopaConjuntos_usa1DiademaImg (Classes.RopaConjuntos_usa1DiademaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1DiademaImg extends BitmapAsset { } }//package Classes
Section 229
//RopaConjuntos_usa1FaldaImg (Classes.RopaConjuntos_usa1FaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1FaldaImg extends BitmapAsset { } }//package Classes
Section 230
//RopaConjuntos_usa1PantyImg (Classes.RopaConjuntos_usa1PantyImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1PantyImg extends BitmapAsset { } }//package Classes
Section 231
//RopaConjuntos_usa1PulseraImg (Classes.RopaConjuntos_usa1PulseraImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1PulseraImg extends BitmapAsset { } }//package Classes
Section 232
//RopaConjuntos_usa1ZapDerImg (Classes.RopaConjuntos_usa1ZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1ZapDerImg extends BitmapAsset { } }//package Classes
Section 233
//RopaConjuntos_usa1ZapIzqImg (Classes.RopaConjuntos_usa1ZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_usa1ZapIzqImg extends BitmapAsset { } }//package Classes
Section 234
//RopaConjuntos_usa2AdorCabImg (Classes.RopaConjuntos_usa2AdorCabImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2AdorCabImg extends BitmapAsset { } }//package Classes
Section 235
//RopaConjuntos_usa2BlusaImg (Classes.RopaConjuntos_usa2BlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2BlusaImg extends BitmapAsset { } }//package Classes
Section 236
//RopaConjuntos_usa2BolsoImg (Classes.RopaConjuntos_usa2BolsoImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2BolsoImg extends BitmapAsset { } }//package Classes
Section 237
//RopaConjuntos_usa2CinturonImg (Classes.RopaConjuntos_usa2CinturonImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2CinturonImg extends BitmapAsset { } }//package Classes
Section 238
//RopaConjuntos_usa2CollarImg (Classes.RopaConjuntos_usa2CollarImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2CollarImg extends BitmapAsset { } }//package Classes
Section 239
//RopaConjuntos_usa2FaldaImg (Classes.RopaConjuntos_usa2FaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2FaldaImg extends BitmapAsset { } }//package Classes
Section 240
//RopaConjuntos_usa2PantyImg (Classes.RopaConjuntos_usa2PantyImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2PantyImg extends BitmapAsset { } }//package Classes
Section 241
//RopaConjuntos_usa2PelucaImg (Classes.RopaConjuntos_usa2PelucaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2PelucaImg extends BitmapAsset { } }//package Classes
Section 242
//RopaConjuntos_usa2PulseraImg (Classes.RopaConjuntos_usa2PulseraImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2PulseraImg extends BitmapAsset { } }//package Classes
Section 243
//RopaConjuntos_usa2ZapDerImg (Classes.RopaConjuntos_usa2ZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2ZapDerImg extends BitmapAsset { } }//package Classes
Section 244
//RopaConjuntos_usa2ZapIzqImg (Classes.RopaConjuntos_usa2ZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_usa2ZapIzqImg extends BitmapAsset { } }//package Classes
Section 245
//RopaConjuntos_usa3AdorCintImg (Classes.RopaConjuntos_usa3AdorCintImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3AdorCintImg extends BitmapAsset { } }//package Classes
Section 246
//RopaConjuntos_usa3BlusaImg (Classes.RopaConjuntos_usa3BlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3BlusaImg extends BitmapAsset { } }//package Classes
Section 247
//RopaConjuntos_usa3CinturonImg (Classes.RopaConjuntos_usa3CinturonImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3CinturonImg extends BitmapAsset { } }//package Classes
Section 248
//RopaConjuntos_usa3CorbataImg (Classes.RopaConjuntos_usa3CorbataImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3CorbataImg extends BitmapAsset { } }//package Classes
Section 249
//RopaConjuntos_usa3FaldaImg (Classes.RopaConjuntos_usa3FaldaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3FaldaImg extends BitmapAsset { } }//package Classes
Section 250
//RopaConjuntos_usa3LentesImg (Classes.RopaConjuntos_usa3LentesImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3LentesImg extends BitmapAsset { } }//package Classes
Section 251
//RopaConjuntos_usa3MediasImg (Classes.RopaConjuntos_usa3MediasImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3MediasImg extends BitmapAsset { } }//package Classes
Section 252
//RopaConjuntos_usa3PantyImg (Classes.RopaConjuntos_usa3PantyImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3PantyImg extends BitmapAsset { } }//package Classes
Section 253
//RopaConjuntos_usa3ZapDerImg (Classes.RopaConjuntos_usa3ZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3ZapDerImg extends BitmapAsset { } }//package Classes
Section 254
//RopaConjuntos_usa3ZapIzqImg (Classes.RopaConjuntos_usa3ZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_usa3ZapIzqImg extends BitmapAsset { } }//package Classes
Section 255
//RopaConjuntos_usa4AdorCabImg (Classes.RopaConjuntos_usa4AdorCabImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4AdorCabImg extends BitmapAsset { } }//package Classes
Section 256
//RopaConjuntos_usa4BlusaImg (Classes.RopaConjuntos_usa4BlusaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4BlusaImg extends BitmapAsset { } }//package Classes
Section 257
//RopaConjuntos_usa4CollarImg (Classes.RopaConjuntos_usa4CollarImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4CollarImg extends BitmapAsset { } }//package Classes
Section 258
//RopaConjuntos_usa4FaldaDownImg (Classes.RopaConjuntos_usa4FaldaDownImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4FaldaDownImg extends BitmapAsset { } }//package Classes
Section 259
//RopaConjuntos_usa4FaldaTopImg (Classes.RopaConjuntos_usa4FaldaTopImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4FaldaTopImg extends BitmapAsset { } }//package Classes
Section 260
//RopaConjuntos_usa4PantyImg (Classes.RopaConjuntos_usa4PantyImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4PantyImg extends BitmapAsset { } }//package Classes
Section 261
//RopaConjuntos_usa4PelucaImg (Classes.RopaConjuntos_usa4PelucaImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4PelucaImg extends BitmapAsset { } }//package Classes
Section 262
//RopaConjuntos_usa4PulseIzqImg (Classes.RopaConjuntos_usa4PulseIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4PulseIzqImg extends BitmapAsset { } }//package Classes
Section 263
//RopaConjuntos_usa4ZapDerImg (Classes.RopaConjuntos_usa4ZapDerImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4ZapDerImg extends BitmapAsset { } }//package Classes
Section 264
//RopaConjuntos_usa4ZapIzqImg (Classes.RopaConjuntos_usa4ZapIzqImg) package Classes { import mx.core.*; public class RopaConjuntos_usa4ZapIzqImg extends BitmapAsset { } }//package Classes
Section 265
//RopaManager (Classes.RopaManager) package Classes { import flash.display.*; import flash.geom.*; import Catalogos.*; public class RopaManager { private var arregloRopaTraz:Array; private var esRopaTraz:Boolean;// = false private var arregloRopa:Array; private var posRopaDrag:int;// = -1 private var personajeSeleccionado:int;// = 1 public function RopaManager(_arg1:int){ arregloRopaTraz = new Array(); arregloRopa = new Array(); super(); this.personajeSeleccionado = _arg1; RopaChico.llenaArregloRopa(this.arregloRopa, _arg1, 0); RopaChico.llenaArregloRopaTraz(this.arregloRopaTraz, _arg1, 0); RopaConjuntos.llenaArregloRopa(this.arregloRopa, this.arregloRopa.length, this.arregloRopaTraz, this.arregloRopaTraz.length); RopaMisc.llenaArregloRopa(this.arregloRopa, this.arregloRopa.length, this.arregloRopaTraz, this.arregloRopaTraz.length); } public function dibujaDelante(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:Array):Boolean{ var _local5:Boolean; var _local6:int; while (_local6 < this.arregloRopa.length) { if (_arg4[_local6] == false){ if (this.arregloRopa[_local6].dibujar(_arg1, _arg2, _arg3)){ _local5 = true; }; _arg4[_local6] = arregloRopa[_local6].getSeDibujo; }; _local6++; }; return (_local5); } public function get isSomethingDragged():Boolean{ if (this.posRopaDrag != -1){ return (true); }; return (false); } public function get totalRopaTraz():int{ return (arregloRopaTraz.length); } public function dibujaTraz(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:Array):Boolean{ var _local5:Boolean; var _local6:int; while (_local6 < this.arregloRopaTraz.length) { if (_arg4[_local6] == false){ if (arregloRopaTraz[_local6].dibujar(_arg1, _arg2, _arg3)){ _local5 = true; }; _arg4[_local6] = arregloRopaTraz[_local6].getSeDibujo; }; _local6++; }; return (_local5); } public function ClothRelease(_arg1:int, _arg2:int, _arg3:Boolean):void{ if (this.esRopaTraz){ this.arregloRopaTraz[this.posRopaDrag].ReleaseMouse(_arg1, _arg2, _arg3); } else { this.arregloRopa[this.posRopaDrag].ReleaseMouse(_arg1, _arg2, _arg3); }; this.posRopaDrag = -1; } public function MoveCloth(_arg1:int, _arg2:int):void{ if (this.posRopaDrag != -1){ if (this.esRopaTraz){ this.arregloRopaTraz[this.posRopaDrag].SetMouse(_arg1, _arg2); } else { this.arregloRopa[this.posRopaDrag].SetMouse(_arg1, _arg2); }; }; } public function get totalRopa():int{ return (arregloRopa.length); } public function DragCloth(_arg1:int, _arg2:int):Boolean{ var _local5:Ropa; var _local6:int; var _local7:int; var _local8:RopaTraz; var _local9:int; var _local3:Boolean; var _local4:int = (arregloRopa.length - 1); while (_local4 >= 0) { if (arregloRopa[_local4].Drag(_arg1, _arg2)){ _local5 = this.arregloRopa[_local4]; _local6 = _local4; while (_local6 < (this.arregloRopa.length - 1)) { this.arregloRopa[_local6] = this.arregloRopa[(_local6 + 1)]; _local6++; }; this.arregloRopa[(this.arregloRopa.length - 1)] = _local5; this.posRopaDrag = (this.arregloRopa.length - 1); esRopaTraz = false; _local3 = true; break; }; _local4--; }; if (this.posRopaDrag == -1){ _local7 = (this.arregloRopaTraz.length - 1); while (_local7 >= 0) { if (arregloRopaTraz[_local7].Drag(_arg1, _arg2)){ _local8 = this.arregloRopaTraz[_local7]; _local9 = _local7; while (_local9 < (this.arregloRopaTraz.length - 1)) { this.arregloRopaTraz[_local9] = this.arregloRopaTraz[(_local9 + 1)]; _local9++; }; this.arregloRopaTraz[(this.arregloRopaTraz.length - 1)] = _local8; this.posRopaDrag = (this.arregloRopaTraz.length - 1); this.esRopaTraz = true; _local3 = true; break; }; _local7--; }; }; return (_local3); } public function OrderClothes():void{ var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local1:Array = new Array(this.arregloRopa.length); var _local2:Array = new Array(this.arregloRopa.length); var _local3:Array = new Array(this.arregloRopaTraz.length); var _local4:Array = new Array(this.arregloRopaTraz.length); while (_local5 < this.arregloRopa.length) { if (!this.arregloRopa[_local5].estaPuesta){ this.arregloRopa[_local5].resetPosition(); _local1[this.arregloRopa[_local5].getIdRopa] = this.arregloRopa[_local5]; } else { _local2[_local5] = this.arregloRopa[_local5]; }; _local5++; }; this.arregloRopa = new Array(); while (_local6 < _local1.length) { if (_local1[_local6] != null){ this.arregloRopa.push(_local1[_local6]); }; _local6++; }; while (_local7 < _local1.length) { if (_local2[_local7] != null){ this.arregloRopa.push(_local2[_local7]); }; _local7++; }; while (_local8 < this.arregloRopaTraz.length) { if (!this.arregloRopaTraz[_local8].estaPuesta){ this.arregloRopaTraz[_local8].resetPosition(); _local3[this.arregloRopaTraz[_local8].getIdRopa] = this.arregloRopaTraz[_local8]; } else { _local4[_local8] = this.arregloRopaTraz[_local8]; }; _local8++; }; this.arregloRopaTraz = new Array(); while (_local9 < _local3.length) { if (_local3[_local9] != null){ this.arregloRopaTraz.push(_local3[_local9]); }; _local9++; }; while (_local10 < _local3.length) { if (_local4[_local10] != null){ this.arregloRopaTraz.push(_local4[_local10]); }; _local10++; }; } } }//package Classes
Section 266
//RopaMisc (Classes.RopaMisc) package Classes { import flash.display.*; import Catalogos.*; public class RopaMisc { private static var mon4Img:Class = RopaMisc_mon4Img; private static var blus16Img:Class = RopaMisc_blus16Img; private static var falda14Img:Class = RopaMisc_falda14Img; private static var blus6Img:Class = RopaMisc_blus6Img; private static var zapDer4Img:Class = RopaMisc_zapDer4Img; private static var lig3Img:Class = RopaMisc_lig3Img; private static var pan25Img:Class = RopaMisc_pan25Img; private static var pan14Img:Class = RopaMisc_pan14Img; private static var bunIzq1Img:Class = RopaMisc_bunIzq1Img; private static var nekoDer3Img:Class = RopaMisc_nekoDer3Img; private static var pan2Img:Class = RopaMisc_pan2Img; private static var falda26Img:Class = RopaMisc_falda26Img; private static var blus17Img:Class = RopaMisc_blus17Img; private static var mon5Img:Class = RopaMisc_mon5Img; private static var falda7Img:Class = RopaMisc_falda7Img; private static var pan26Img:Class = RopaMisc_pan26Img; private static var swim1Img:Class = RopaMisc_swim1Img; private static var bitmapZapIzq1:BitmapData = null; private static var bitmapZapIzq2:BitmapData = null; private static var bitmapZapIzq3:BitmapData = null; private static var bitmapZapIzq5:BitmapData = null; private static var bitmapZapIzq6:BitmapData = null; private static var falda15Img:Class = RopaMisc_falda15Img; private static var bitmapZapIzq8:BitmapData = null; private static var bitmapZapIzq9:BitmapData = null; private static var bitmapMon2:BitmapData = null; private static var bitmapMon3:BitmapData = null; private static var bitmapMon4:BitmapData = null; private static var bitmapMon5:BitmapData = null; private static var bitmapMon6:BitmapData = null; private static var bitmapMon7:BitmapData = null; private static var bitmapMon8:BitmapData = null; private static var bitmapMon9:BitmapData = null; private static var bitmapZapIzq4:BitmapData = null; private static var lig4Img:Class = RopaMisc_lig4Img; private static var pan15Img:Class = RopaMisc_pan15Img; private static var blus7Img:Class = RopaMisc_blus7Img; private static var zapDer5Img:Class = RopaMisc_zapDer5Img; private static var bitmapZapIzq7:BitmapData = null; private static var bitmapNekoDer1:BitmapData = null; private static var bitmapNekoDer2:BitmapData = null; private static var bitmapMon1:BitmapData = null; private static var bunIzq2Img:Class = RopaMisc_bunIzq2Img; private static var bitmapNekoDer3:BitmapData = null; private static var diap1UnfoldImg:Class = RopaMisc_diap1UnfoldImg; private static var pan3Img:Class = RopaMisc_pan3Img; private static var falda27Img:Class = RopaMisc_falda27Img; private static var bitmapFalda1:BitmapData = null; private static var bitmapFalda2:BitmapData = null; private static var blus18Img:Class = RopaMisc_blus18Img; private static var bitmapFalda4:BitmapData = null; private static var bitmapFalda5:BitmapData = null; private static var bitmapFalda6:BitmapData = null; private static var bitmapFalda7:BitmapData = null; private static var mon6Img:Class = RopaMisc_mon6Img; private static var bitmapFalda9:BitmapData = null; private static var bitmapLig1:BitmapData = null; private static var bitmapLig2:BitmapData = null; private static var bitmapLig3:BitmapData = null; private static var falda8Img:Class = RopaMisc_falda8Img; private static var pan27Img:Class = RopaMisc_pan27Img; private static var bitmapFalda8:BitmapData = null; private static var bitmapDiap2UnfoldImg:BitmapData = null; private static var bitmapFalda3:BitmapData = null; private static var bitmapLig4:BitmapData = null; private static var blus8Img:Class = RopaMisc_blus8Img; private static var bitmapDiap1FoldImg:BitmapData = null; private static var zapDer6Img:Class = RopaMisc_zapDer6Img; private static var falda16Img:Class = RopaMisc_falda16Img; private static var zapIzq1Img:Class = RopaMisc_zapIzq1Img; private static var bitmapBlus1:BitmapData = null; private static var bitmapBlus2:BitmapData = null; private static var bitmapBlus3:BitmapData = null; private static var bitmapBlus4:BitmapData = null; private static var bitmapBlus5:BitmapData = null; private static var bitmapBlus6:BitmapData = null; private static var bitmapBlus7:BitmapData = null; private static var bitmapBlus8:BitmapData = null; private static var bitmapBlus9:BitmapData = null; private static var bunIzq3Img:Class = RopaMisc_bunIzq3Img; private static var pan16Img:Class = RopaMisc_pan16Img; private static var swim2Img:Class = RopaMisc_swim2Img; private static var bitmapPan1:BitmapData = null; private static var bitmapPan2:BitmapData = null; private static var bitmapPan3:BitmapData = null; private static var bitmapPan4:BitmapData = null; private static var bitmapPan5:BitmapData = null; private static var bitmapPan6:BitmapData = null; private static var bitmapPan7:BitmapData = null; private static var bitmapPan8:BitmapData = null; private static var bitmapPan9:BitmapData = null; private static var pan4Img:Class = RopaMisc_pan4Img; private static var zapIzq10Img:Class = RopaMisc_zapIzq10Img; private static var falda28Img:Class = RopaMisc_falda28Img; private static var blus19Img:Class = RopaMisc_blus19Img; private static var mon7Img:Class = RopaMisc_mon7Img; private static var bitmapNekoIzq1:BitmapData = null; private static var bitmapNekoIzq2:BitmapData = null; private static var bitmapNekoIzq3:BitmapData = null; private static var zapDer10Img:Class = RopaMisc_zapDer10Img; private static var bitmapZapIzq10:BitmapData = null; private static var falda9Img:Class = RopaMisc_falda9Img; private static var zapIzq2Img:Class = RopaMisc_zapIzq2Img; private static var bitmapZapIzq14:BitmapData = null; private static var bitmapZapIzq15:BitmapData = null; private static var bitmapZapIzq11:BitmapData = null; private static var falda17Img:Class = RopaMisc_falda17Img; private static var bitmapZapIzq13:BitmapData = null; private static var blus9Img:Class = RopaMisc_blus9Img; private static var blus20Img:Class = RopaMisc_blus20Img; private static var bitmapZapIzq12:BitmapData = null; private static var pan17Img:Class = RopaMisc_pan17Img; private static var zapDer7Img:Class = RopaMisc_zapDer7Img; private static var swim3Img:Class = RopaMisc_swim3Img; private static var bunIzq4Img:Class = RopaMisc_bunIzq4Img; private static var nekoIzq1Img:Class = RopaMisc_nekoIzq1Img; private static var zapDer11Img:Class = RopaMisc_zapDer11Img; private static var pan5Img:Class = RopaMisc_pan5Img; private static var mon8Img:Class = RopaMisc_mon8Img; private static var falda29Img:Class = RopaMisc_falda29Img; private static var swim4Img:Class = RopaMisc_swim4Img; private static var zapIzq3Img:Class = RopaMisc_zapIzq3Img; private static var zapDer8Img:Class = RopaMisc_zapDer8Img; private static var falda18Img:Class = RopaMisc_falda18Img; private static var mon10Img:Class = RopaMisc_mon10Img; private static var zapIzq11Img:Class = RopaMisc_zapIzq11Img; private static var blus21Img:Class = RopaMisc_blus21Img; private static var falda30Img:Class = RopaMisc_falda30Img; private static var pan18Img:Class = RopaMisc_pan18Img; private static var bitmapDiap2FoldImg:BitmapData = null; private static var blus10Img:Class = RopaMisc_blus10Img; private static var nekoIzq2Img:Class = RopaMisc_nekoIzq2Img; private static var bitmapFalda11:BitmapData = null; private static var bitmapFalda13:BitmapData = null; private static var bitmapFalda17:BitmapData = null; private static var bitmapFalda18:BitmapData = null; private static var bitmapFalda12:BitmapData = null; private static var pan6Img:Class = RopaMisc_pan6Img; private static var bitmapFalda10:BitmapData = null; private static var bitmapFalda14:BitmapData = null; private static var bitmapFalda15:BitmapData = null; private static var bitmapFalda16:BitmapData = null; private static var mon9Img:Class = RopaMisc_mon9Img; private static var diap2UnfoldImg:Class = RopaMisc_diap2UnfoldImg; private static var zapIzq12Img:Class = RopaMisc_zapIzq12Img; private static var zapDer12Img:Class = RopaMisc_zapDer12Img; private static var bitmapFalda20:BitmapData = null; private static var bitmapFalda21:BitmapData = null; private static var bitmapFalda19:BitmapData = null; private static var bitmapFalda23:BitmapData = null; private static var bitmapFalda24:BitmapData = null; private static var bitmapFalda25:BitmapData = null; private static var bitmapFalda26:BitmapData = null; private static var bitmapFalda27:BitmapData = null; private static var bitmapFalda28:BitmapData = null; private static var bitmapFalda22:BitmapData = null; private static var falda19Img:Class = RopaMisc_falda19Img; private static var swim5Img:Class = RopaMisc_swim5Img; private static var zapDer9Img:Class = RopaMisc_zapDer9Img; private static var bitmapFalda29:BitmapData = null; private static var falda31Img:Class = RopaMisc_falda31Img; private static var blus22Img:Class = RopaMisc_blus22Img; private static var bitmapFalda30:BitmapData = null; private static var bitmapFalda31:BitmapData = null; private static var bitmapFalda32:BitmapData = null; private static var bitmapFalda33:BitmapData = null; private static var bitmapFalda34:BitmapData = null; private static var bitmapFalda35:BitmapData = null; private static var pan19Img:Class = RopaMisc_pan19Img; private static var nekoIzq3Img:Class = RopaMisc_nekoIzq3Img; private static var falda20Img:Class = RopaMisc_falda20Img; private static var zapDer13Img:Class = RopaMisc_zapDer13Img; private static var blus11Img:Class = RopaMisc_blus11Img; private static var diap1FoldImg:Class = RopaMisc_diap1FoldImg; private static var zapIzq4Img:Class = RopaMisc_zapIzq4Img; private static var falda1Img:Class = RopaMisc_falda1Img; private static var pan7Img:Class = RopaMisc_pan7Img; private static var zapIzq13Img:Class = RopaMisc_zapIzq13Img; private static var pan20Img:Class = RopaMisc_pan20Img; private static var swim6Img:Class = RopaMisc_swim6Img; private static var blus1Img:Class = RopaMisc_blus1Img; private static var bitmapMon10:BitmapData = null; private static var zapIzq5Img:Class = RopaMisc_zapIzq5Img; private static var falda32Img:Class = RopaMisc_falda32Img; private static var blus23Img:Class = RopaMisc_blus23Img; private static var bunDer1Img:Class = RopaMisc_bunDer1Img; private static var falda21Img:Class = RopaMisc_falda21Img; private static var zapDer14Img:Class = RopaMisc_zapDer14Img; private static var falda2Img:Class = RopaMisc_falda2Img; private static var blus12Img:Class = RopaMisc_blus12Img; private static var pan21Img:Class = RopaMisc_pan21Img; private static var pan8Img:Class = RopaMisc_pan8Img; private static var zapIzq14Img:Class = RopaMisc_zapIzq14Img; private static var bitmapBlus10:BitmapData = null; private static var bitmapBlus11:BitmapData = null; private static var bitmapBlus12:BitmapData = null; private static var blus2Img:Class = RopaMisc_blus2Img; private static var bitmapBlus14:BitmapData = null; private static var bitmapBlus15:BitmapData = null; private static var bitmapBlus16:BitmapData = null; private static var bitmapBlus17:BitmapData = null; private static var bitmapBlus18:BitmapData = null; private static var bitmapBlus19:BitmapData = null; private static var bitmapBlus13:BitmapData = null; private static var zapIzq6Img:Class = RopaMisc_zapIzq6Img; private static var falda10Img:Class = RopaMisc_falda10Img; private static var pan10Img:Class = RopaMisc_pan10Img; private static var bitmapBlus20:BitmapData = null; private static var bitmapBlus21:BitmapData = null; private static var bitmapBlus22:BitmapData = null; private static var bitmapBlus23:BitmapData = null; private static var blus24Img:Class = RopaMisc_blus24Img; private static var bitmapBlus25:BitmapData = null; private static var bitmapSwim2:BitmapData = null; private static var falda33Img:Class = RopaMisc_falda33Img; private static var bitmapSwim5:BitmapData = null; private static var bitmapBlus24:BitmapData = null; private static var bitmapSwim1:BitmapData = null; private static var bitmapSwim3:BitmapData = null; private static var bitmapSwim6:BitmapData = null; private static var bunDer2Img:Class = RopaMisc_bunDer2Img; private static var bitmapSwim4:BitmapData = null; private static var falda22Img:Class = RopaMisc_falda22Img; private static var zapDer15Img:Class = RopaMisc_zapDer15Img; private static var blus13Img:Class = RopaMisc_blus13Img; private static var mon1Img:Class = RopaMisc_mon1Img; private static var diap2FoldImg:Class = RopaMisc_diap2FoldImg; private static var falda3Img:Class = RopaMisc_falda3Img; private static var pan9Img:Class = RopaMisc_pan9Img; private static var zapIzq15Img:Class = RopaMisc_zapIzq15Img; private static var pan22Img:Class = RopaMisc_pan22Img; private static var falda11Img:Class = RopaMisc_falda11Img; private static var blus3Img:Class = RopaMisc_blus3Img; private static var zapDer1Img:Class = RopaMisc_zapDer1Img; private static var zapIzq7Img:Class = RopaMisc_zapIzq7Img; private static var pan11Img:Class = RopaMisc_pan11Img; private static var falda34Img:Class = RopaMisc_falda34Img; private static var blus25Img:Class = RopaMisc_blus25Img; private static var bunDer3Img:Class = RopaMisc_bunDer3Img; private static var bitmapBunDer1:BitmapData = null; private static var bitmapBunDer2:BitmapData = null; private static var bitmapBunDer4:BitmapData = null; private static var falda23Img:Class = RopaMisc_falda23Img; private static var bitmapBunDer3:BitmapData = null; private static var blus14Img:Class = RopaMisc_blus14Img; private static var mon2Img:Class = RopaMisc_mon2Img; private static var falda4Img:Class = RopaMisc_falda4Img; private static var pan23Img:Class = RopaMisc_pan23Img; private static var falda12Img:Class = RopaMisc_falda12Img; private static var blus4Img:Class = RopaMisc_blus4Img; private static var zapDer2Img:Class = RopaMisc_zapDer2Img; private static var lig1Img:Class = RopaMisc_lig1Img; private static var pan12Img:Class = RopaMisc_pan12Img; private static var zapIzq8Img:Class = RopaMisc_zapIzq8Img; private static var bunDer4Img:Class = RopaMisc_bunDer4Img; private static var nekoDer1Img:Class = RopaMisc_nekoDer1Img; private static var falda35Img:Class = RopaMisc_falda35Img; private static var bitmapPan13:BitmapData = null; private static var bitmapPan14:BitmapData = null; private static var bitmapPan15:BitmapData = null; private static var falda24Img:Class = RopaMisc_falda24Img; private static var bitmapPan17:BitmapData = null; private static var bitmapPan18:BitmapData = null; private static var bitmapPan12:BitmapData = null; private static var blus15Img:Class = RopaMisc_blus15Img; private static var bitmapZapDer12:BitmapData = null; private static var bitmapZapDer13:BitmapData = null; private static var bitmapPan16:BitmapData = null; private static var mon3Img:Class = RopaMisc_mon3Img; private static var bitmapPan11:BitmapData = null; private static var bitmapZapDer11:BitmapData = null; private static var bitmapZapDer14:BitmapData = null; private static var bitmapDiap1UnfoldImg:BitmapData = null; private static var falda5Img:Class = RopaMisc_falda5Img; private static var pan24Img:Class = RopaMisc_pan24Img; private static var bitmapPan10:BitmapData = null; private static var bitmapZapDer15:BitmapData = null; private static var bitmapPan21:BitmapData = null; private static var bitmapPan19:BitmapData = null; private static var bitmapPan23:BitmapData = null; private static var bitmapPan24:BitmapData = null; private static var bitmapPan25:BitmapData = null; private static var bitmapPan26:BitmapData = null; private static var falda13Img:Class = RopaMisc_falda13Img; private static var bitmapPan22:BitmapData = null; private static var blus5Img:Class = RopaMisc_blus5Img; private static var zapDer3Img:Class = RopaMisc_zapDer3Img; private static var bitmapPan20:BitmapData = null; private static var bitmapBunIzq1:BitmapData = null; private static var bitmapBunIzq2:BitmapData = null; private static var bitmapBunIzq3:BitmapData = null; private static var bitmapBunIzq4:BitmapData = null; private static var pan13Img:Class = RopaMisc_pan13Img; private static var lig2Img:Class = RopaMisc_lig2Img; private static var bitmapPan27:BitmapData = null; private static var zapIzq9Img:Class = RopaMisc_zapIzq9Img; private static var bitmapZapDer2:BitmapData = null; private static var bitmapZapDer3:BitmapData = null; private static var bitmapZapDer4:BitmapData = null; private static var bitmapZapDer6:BitmapData = null; private static var bitmapZapDer7:BitmapData = null; private static var bitmapZapDer1:BitmapData = null; private static var bitmapZapDer9:BitmapData = null; private static var bitmapZapDer5:BitmapData = null; private static var nekoDer2Img:Class = RopaMisc_nekoDer2Img; private static var bitmapZapDer8:BitmapData = null; private static var bitmapZapDer10:BitmapData = null; private static var pan1Img:Class = RopaMisc_pan1Img; private static var falda25Img:Class = RopaMisc_falda25Img; private static var falda6Img:Class = RopaMisc_falda6Img; public static function llenaArregloRopa(_arg1:Array, _arg2:int, _arg3:Array, _arg4:int):void{ if (bitmapBlus1 == null){ bitmapBlus1 = new BitmapData(171, 154, true, 0); bitmapBlus1.draw(new blus1Img()); }; var _local5:Ropa = new Ropa(bitmapBlus1, null, GrupoRopa.MISC, 1, 171, 154, _arg2, false, 0x0300, 0, 304, 160); _arg1.push(_local5); _arg2++; if (bitmapBlus2 == null){ bitmapBlus2 = new BitmapData(171, 154, true, 0); bitmapBlus2.draw(new blus2Img()); }; _local5 = new Ropa(bitmapBlus2, null, GrupoRopa.MISC, 1, 171, 154, _arg2, false, 0x0300, 20, 304, 160); _arg1.push(_local5); _arg2++; if (bitmapBlus3 == null){ bitmapBlus3 = new BitmapData(171, 154, true, 0); bitmapBlus3.draw(new blus3Img()); }; _local5 = new Ropa(bitmapBlus3, null, GrupoRopa.MISC, 1, 171, 154, _arg2, false, 0x0300, 40, 304, 160); _arg1.push(_local5); _arg2++; if (bitmapBlus4 == null){ bitmapBlus4 = new BitmapData(171, 154, true, 0); bitmapBlus4.draw(new blus4Img()); }; _local5 = new Ropa(bitmapBlus4, null, GrupoRopa.MISC, 1, 171, 154, _arg2, false, 0x0300, 60, 304, 160); _arg1.push(_local5); _arg2++; if (bitmapBlus5 == null){ bitmapBlus5 = new BitmapData(171, 154, true, 0); bitmapBlus5.draw(new blus5Img()); }; _local5 = new Ropa(bitmapBlus5, null, GrupoRopa.MISC, 1, 171, 154, _arg2, false, 0x0300, 80, 304, 160); _arg1.push(_local5); _arg2++; if (bitmapBlus6 == null){ bitmapBlus6 = new BitmapData(130, 119, true, 0); bitmapBlus6.draw(new blus6Img()); }; _local5 = new Ropa(bitmapBlus6, null, GrupoRopa.MISC, 1, 130, 119, _arg2, false, 939, 0, 324, 159); _arg1.push(_local5); _arg2++; if (bitmapBlus7 == null){ bitmapBlus7 = new BitmapData(130, 119, true, 0); bitmapBlus7.draw(new blus7Img()); }; _local5 = new Ropa(bitmapBlus7, null, GrupoRopa.MISC, 1, 130, 119, _arg2, false, 939, 20, 324, 159); _arg1.push(_local5); _arg2++; if (bitmapBlus8 == null){ bitmapBlus8 = new BitmapData(130, 119, true, 0); bitmapBlus8.draw(new blus8Img()); }; _local5 = new Ropa(bitmapBlus8, null, GrupoRopa.MISC, 1, 130, 119, _arg2, false, 939, 40, 324, 159); _arg1.push(_local5); _arg2++; if (bitmapBlus9 == null){ bitmapBlus9 = new BitmapData(130, 119, true, 0); bitmapBlus9.draw(new blus9Img()); }; _local5 = new Ropa(bitmapBlus9, null, GrupoRopa.MISC, 1, 130, 119, _arg2, false, 939, 60, 324, 159); _arg1.push(_local5); _arg2++; if (bitmapBlus10 == null){ bitmapBlus10 = new BitmapData(130, 119, true, 0); bitmapBlus10.draw(new blus10Img()); }; _local5 = new Ropa(bitmapBlus10, null, GrupoRopa.MISC, 1, 130, 119, _arg2, false, 939, 80, 324, 159); _arg1.push(_local5); _arg2++; if (bitmapBlus11 == null){ bitmapBlus11 = new BitmapData(162, 160, true, 0); bitmapBlus11.draw(new blus11Img()); }; _local5 = new Ropa(bitmapBlus11, null, GrupoRopa.MISC, 1, 162, 160, _arg2, false, 1069, 0, 306, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus12 == null){ bitmapBlus12 = new BitmapData(162, 160, true, 0); bitmapBlus12.draw(new blus12Img()); }; _local5 = new Ropa(bitmapBlus12, null, GrupoRopa.MISC, 1, 162, 160, _arg2, false, 1069, 20, 306, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus13 == null){ bitmapBlus13 = new BitmapData(162, 160, true, 0); bitmapBlus13.draw(new blus13Img()); }; _local5 = new Ropa(bitmapBlus13, null, GrupoRopa.MISC, 1, 162, 160, _arg2, false, 1069, 40, 306, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus14 == null){ bitmapBlus14 = new BitmapData(162, 160, true, 0); bitmapBlus14.draw(new blus14Img()); }; _local5 = new Ropa(bitmapBlus14, null, GrupoRopa.MISC, 1, 162, 160, _arg2, false, 1069, 60, 306, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus15 == null){ bitmapBlus15 = new BitmapData(162, 160, true, 0); bitmapBlus15.draw(new blus15Img()); }; _local5 = new Ropa(bitmapBlus15, null, GrupoRopa.MISC, 1, 162, 160, _arg2, false, 1069, 80, 306, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus16 == null){ bitmapBlus16 = new BitmapData(95, 159, true, 0); bitmapBlus16.draw(new blus16Img()); }; _local5 = new Ropa(bitmapBlus16, null, GrupoRopa.MISC, 1, 95, 159, _arg2, false, 945, 199, 340, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus17 == null){ bitmapBlus17 = new BitmapData(95, 159, true, 0); bitmapBlus17.draw(new blus17Img()); }; _local5 = new Ropa(bitmapBlus17, null, GrupoRopa.MISC, 1, 95, 159, _arg2, false, 945, 219, 340, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus18 == null){ bitmapBlus18 = new BitmapData(95, 159, true, 0); bitmapBlus18.draw(new blus18Img()); }; _local5 = new Ropa(bitmapBlus18, null, GrupoRopa.MISC, 1, 95, 159, _arg2, false, 945, 239, 340, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus19 == null){ bitmapBlus19 = new BitmapData(95, 159, true, 0); bitmapBlus19.draw(new blus19Img()); }; _local5 = new Ropa(bitmapBlus19, null, GrupoRopa.MISC, 1, 95, 159, _arg2, false, 945, 259, 340, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus20 == null){ bitmapBlus20 = new BitmapData(95, 159, true, 0); bitmapBlus20.draw(new blus20Img()); }; _local5 = new Ropa(bitmapBlus20, null, GrupoRopa.MISC, 1, 95, 159, _arg2, false, 945, 279, 340, 156); _arg1.push(_local5); _arg2++; if (bitmapBlus21 == null){ bitmapBlus21 = new BitmapData(95, 100, true, 0); bitmapBlus21.draw(new blus21Img()); }; _local5 = new Ropa(bitmapBlus21, null, GrupoRopa.MISC, 1, 95, 100, _arg2, false, 800, 234, 341, 153); _arg1.push(_local5); _arg2++; if (bitmapBlus22 == null){ bitmapBlus22 = new BitmapData(95, 100, true, 0); bitmapBlus22.draw(new blus22Img()); }; _local5 = new Ropa(bitmapBlus22, null, GrupoRopa.MISC, 1, 95, 100, _arg2, false, 800, 254, 341, 153); _arg1.push(_local5); _arg2++; if (bitmapBlus23 == null){ bitmapBlus23 = new BitmapData(95, 100, true, 0); bitmapBlus23.draw(new blus23Img()); }; _local5 = new Ropa(bitmapBlus23, null, GrupoRopa.MISC, 1, 95, 100, _arg2, false, 800, 274, 341, 153); _arg1.push(_local5); _arg2++; if (bitmapBlus24 == null){ bitmapBlus24 = new BitmapData(95, 100, true, 0); bitmapBlus24.draw(new blus24Img()); }; _local5 = new Ropa(bitmapBlus24, null, GrupoRopa.MISC, 1, 95, 100, _arg2, false, 800, 294, 341, 153); _arg1.push(_local5); _arg2++; if (bitmapBlus25 == null){ bitmapBlus25 = new BitmapData(95, 100, true, 0); bitmapBlus25.draw(new blus25Img()); }; _local5 = new Ropa(bitmapBlus25, null, GrupoRopa.MISC, 1, 95, 100, _arg2, false, 800, 314, 341, 153); _arg1.push(_local5); _arg2++; if (bitmapMon1 == null){ bitmapMon1 = new BitmapData(58, 42, true, 0); bitmapMon1.draw(new mon1Img()); }; _local5 = new Ropa(bitmapMon1, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1069, 240, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon2 == null){ bitmapMon2 = new BitmapData(58, 42, true, 0); bitmapMon2.draw(new mon2Img()); }; _local5 = new Ropa(bitmapMon2, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1069, 282, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon3 == null){ bitmapMon3 = new BitmapData(58, 42, true, 0); bitmapMon3.draw(new mon3Img()); }; _local5 = new Ropa(bitmapMon3, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1069, 324, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon4 == null){ bitmapMon4 = new BitmapData(58, 42, true, 0); bitmapMon4.draw(new mon4Img()); }; _local5 = new Ropa(bitmapMon4, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1069, 366, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon5 == null){ bitmapMon5 = new BitmapData(58, 42, true, 0); bitmapMon5.draw(new mon5Img()); }; _local5 = new Ropa(bitmapMon5, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1069, 408, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon6 == null){ bitmapMon6 = new BitmapData(58, 42, true, 0); bitmapMon6.draw(new mon6Img()); }; _local5 = new Ropa(bitmapMon6, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1127, 240, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon7 == null){ bitmapMon7 = new BitmapData(58, 42, true, 0); bitmapMon7.draw(new mon7Img()); }; _local5 = new Ropa(bitmapMon7, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1127, 282, 362, 322); _arg1.push(_local5); _arg2++; if (bitmapMon8 == null){ bitmapMon8 = new BitmapData(58, 42, true, 0); bitmapMon8.draw(new mon8Img()); }; _local5 = new Ropa(bitmapMon8, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1127, 324, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon9 == null){ bitmapMon9 = new BitmapData(58, 42, true, 0); bitmapMon9.draw(new mon9Img()); }; _local5 = new Ropa(bitmapMon9, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1127, 366, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapMon10 == null){ bitmapMon10 = new BitmapData(58, 42, true, 0); bitmapMon10.draw(new mon10Img()); }; _local5 = new Ropa(bitmapMon10, null, GrupoRopa.MISC, 1, 58, 42, _arg2, false, 1127, 408, 343, 26); _arg1.push(_local5); _arg2++; if (bitmapNekoIzq1 == null){ bitmapNekoIzq1 = new BitmapData(40, 40, true, 0); bitmapNekoIzq1.draw(new nekoIzq1Img()); }; var _local6:RopaTraz = new RopaTraz(null, bitmapNekoIzq1, null, GrupoRopa.MISC, 1, 40, 40, _arg4, false, 799, 418, 319, 25); _arg3.push(_local6); _arg4++; if (bitmapNekoDer1 == null){ bitmapNekoDer1 = new BitmapData(40, 39, true, 0); bitmapNekoDer1.draw(new nekoDer1Img()); }; _local6 = new RopaTraz(null, bitmapNekoDer1, null, GrupoRopa.MISC, 1, 40, 39, _arg4, false, 839, 418, 382, 25); _arg3.push(_local6); _arg4++; if (bitmapNekoIzq2 == null){ bitmapNekoIzq2 = new BitmapData(40, 40, true, 0); bitmapNekoIzq2.draw(new nekoIzq2Img()); }; _local6 = new RopaTraz(null, bitmapNekoIzq2, null, GrupoRopa.MISC, 1, 40, 40, _arg4, false, 799, 448, 319, 25); _arg3.push(_local6); _arg4++; if (bitmapNekoDer2 == null){ bitmapNekoDer2 = new BitmapData(40, 39, true, 0); bitmapNekoDer2.draw(new nekoDer2Img()); }; _local6 = new RopaTraz(null, bitmapNekoDer2, null, GrupoRopa.MISC, 1, 40, 39, _arg4, false, 839, 448, 382, 25); _arg3.push(_local6); _arg4++; if (bitmapNekoIzq3 == null){ bitmapNekoIzq3 = new BitmapData(40, 40, true, 0); bitmapNekoIzq3.draw(new nekoIzq3Img()); }; _local6 = new RopaTraz(null, bitmapNekoIzq3, null, GrupoRopa.MISC, 1, 40, 40, _arg4, false, 799, 478, 319, 25); _arg3.push(_local6); _arg4++; if (bitmapNekoDer3 == null){ bitmapNekoDer3 = new BitmapData(40, 39, true, 0); bitmapNekoDer3.draw(new nekoDer3Img()); }; _local6 = new RopaTraz(null, bitmapNekoDer3, null, GrupoRopa.MISC, 1, 40, 39, _arg4, false, 839, 478, 382, 25); _arg3.push(_local6); _arg4++; if (bitmapBunIzq1 == null){ bitmapBunIzq1 = new BitmapData(96, 62, true, 0); bitmapBunIzq1.draw(new bunIzq1Img()); }; _local6 = new RopaTraz(null, bitmapBunIzq1, null, GrupoRopa.MISC, 1, 96, 62, _arg4, false, 799, 518, 0xFF, -5); _arg3.push(_local6); _arg4++; if (bitmapBunDer1 == null){ bitmapBunDer1 = new BitmapData(96, 61, true, 0); bitmapBunDer1.draw(new bunDer1Img()); }; _local6 = new RopaTraz(null, bitmapBunDer1, null, GrupoRopa.MISC, 1, 96, 61, _arg4, false, 861, 518, 383, -10); _arg3.push(_local6); _arg4++; if (bitmapBunIzq2 == null){ bitmapBunIzq2 = new BitmapData(96, 62, true, 0); bitmapBunIzq2.draw(new bunIzq2Img()); }; _local6 = new RopaTraz(null, bitmapBunIzq2, null, GrupoRopa.MISC, 1, 96, 62, _arg4, false, 949, 518, 0xFF, -5); _arg3.push(_local6); _arg4++; if (bitmapBunDer2 == null){ bitmapBunDer2 = new BitmapData(96, 61, true, 0); bitmapBunDer2.draw(new bunDer2Img()); }; _local6 = new RopaTraz(null, bitmapBunDer2, null, GrupoRopa.MISC, 1, 96, 61, _arg4, false, 1011, 518, 383, -10); _arg3.push(_local6); _arg4++; if (bitmapBunIzq3 == null){ bitmapBunIzq3 = new BitmapData(96, 62, true, 0); bitmapBunIzq3.draw(new bunIzq3Img()); }; _local6 = new RopaTraz(null, bitmapBunIzq3, null, GrupoRopa.MISC, 1, 96, 62, _arg4, false, 1079, 518, 0xFF, -5); _arg3.push(_local6); _arg4++; if (bitmapBunDer3 == null){ bitmapBunDer3 = new BitmapData(96, 61, true, 0); bitmapBunDer3.draw(new bunDer3Img()); }; _local6 = new RopaTraz(null, bitmapBunDer3, null, GrupoRopa.MISC, 1, 96, 61, _arg4, false, 1141, 518, 383, -10); _arg3.push(_local6); _arg4++; if (bitmapBunIzq4 == null){ bitmapBunIzq4 = new BitmapData(65, 71, true, 0); bitmapBunIzq4.draw(new bunIzq4Img()); }; _local6 = new RopaTraz(null, bitmapBunIzq4, null, GrupoRopa.MISC, 1, 65, 71, _arg4, false, 907, 449, 280, -5); _arg3.push(_local6); _arg4++; if (bitmapBunDer4 == null){ bitmapBunDer4 = new BitmapData(59, 75, true, 0); bitmapBunDer4.draw(new bunDer4Img()); }; _local6 = new RopaTraz(null, bitmapBunDer4, null, GrupoRopa.MISC, 1, 59, 75, _arg4, false, 985, 443, 388, -20); _arg3.push(_local6); _arg4++; if (bitmapFalda1 == null){ bitmapFalda1 = new BitmapData(150, 103, true, 0); bitmapFalda1.draw(new falda1Img()); }; _local5 = new Ropa(bitmapFalda1, null, GrupoRopa.MISC, 2, 150, 103, _arg2, false, 0x0300, 0, 315, 288); _arg1.push(_local5); _arg2++; if (bitmapFalda2 == null){ bitmapFalda2 = new BitmapData(150, 103, true, 0); bitmapFalda2.draw(new falda2Img()); }; _local5 = new Ropa(bitmapFalda2, null, GrupoRopa.MISC, 2, 150, 103, _arg2, false, 0x0300, 20, 315, 288); _arg1.push(_local5); _arg2++; if (bitmapFalda3 == null){ bitmapFalda3 = new BitmapData(150, 103, true, 0); bitmapFalda3.draw(new falda3Img()); }; _local5 = new Ropa(bitmapFalda3, null, GrupoRopa.MISC, 2, 150, 103, _arg2, false, 0x0300, 40, 315, 288); _arg1.push(_local5); _arg2++; if (bitmapFalda4 == null){ bitmapFalda4 = new BitmapData(150, 103, true, 0); bitmapFalda4.draw(new falda4Img()); }; _local5 = new Ropa(bitmapFalda4, null, GrupoRopa.MISC, 2, 150, 103, _arg2, false, 0x0300, 60, 315, 288); _arg1.push(_local5); _arg2++; if (bitmapFalda5 == null){ bitmapFalda5 = new BitmapData(150, 103, true, 0); bitmapFalda5.draw(new falda5Img()); }; _local5 = new Ropa(bitmapFalda5, null, GrupoRopa.MISC, 2, 150, 103, _arg2, false, 0x0300, 80, 315, 288); _arg1.push(_local5); _arg2++; if (bitmapFalda6 == null){ bitmapFalda6 = new BitmapData(167, 111, true, 0); bitmapFalda6.draw(new falda6Img()); }; _local5 = new Ropa(bitmapFalda6, null, GrupoRopa.MISC, 2, 167, 111, _arg2, false, 918, 0, 305, 277); _arg1.push(_local5); _arg2++; if (bitmapFalda7 == null){ bitmapFalda7 = new BitmapData(167, 111, true, 0); bitmapFalda7.draw(new falda7Img()); }; _local5 = new Ropa(bitmapFalda7, null, GrupoRopa.MISC, 2, 167, 111, _arg2, false, 918, 40, 305, 277); _arg1.push(_local5); _arg2++; if (bitmapFalda8 == null){ bitmapFalda8 = new BitmapData(167, 111, true, 0); bitmapFalda8.draw(new falda8Img()); }; _local5 = new Ropa(bitmapFalda8, null, GrupoRopa.MISC, 2, 167, 111, _arg2, false, 918, 80, 305, 277); _arg1.push(_local5); _arg2++; if (bitmapFalda9 == null){ bitmapFalda9 = new BitmapData(167, 111, true, 0); bitmapFalda9.draw(new falda9Img()); }; _local5 = new Ropa(bitmapFalda9, null, GrupoRopa.MISC, 2, 167, 111, _arg2, false, 918, 120, 305, 277); _arg1.push(_local5); _arg2++; if (bitmapFalda10 == null){ bitmapFalda10 = new BitmapData(167, 111, true, 0); bitmapFalda10.draw(new falda10Img()); }; _local5 = new Ropa(bitmapFalda10, null, GrupoRopa.MISC, 2, 167, 111, _arg2, false, 918, 160, 305, 277); _arg1.push(_local5); _arg2++; if (bitmapFalda11 == null){ bitmapFalda11 = new BitmapData(126, 86, true, 0); bitmapFalda11.draw(new falda11Img()); }; _local5 = new Ropa(bitmapFalda11, null, GrupoRopa.MISC, 2, 126, 86, _arg2, false, 1085, 0, 327, 291); _arg1.push(_local5); _arg2++; if (bitmapFalda12 == null){ bitmapFalda12 = new BitmapData(126, 86, true, 0); bitmapFalda12.draw(new falda12Img()); }; _local5 = new Ropa(bitmapFalda12, null, GrupoRopa.MISC, 2, 126, 86, _arg2, false, 1085, 20, 327, 291); _arg1.push(_local5); _arg2++; if (bitmapFalda13 == null){ bitmapFalda13 = new BitmapData(126, 86, true, 0); bitmapFalda13.draw(new falda13Img()); }; _local5 = new Ropa(bitmapFalda13, null, GrupoRopa.MISC, 2, 126, 86, _arg2, false, 1085, 40, 327, 291); _arg1.push(_local5); _arg2++; if (bitmapFalda14 == null){ bitmapFalda14 = new BitmapData(126, 86, true, 0); bitmapFalda14.draw(new falda14Img()); }; _local5 = new Ropa(bitmapFalda14, null, GrupoRopa.MISC, 2, 126, 86, _arg2, false, 1085, 60, 327, 291); _arg1.push(_local5); _arg2++; if (bitmapFalda15 == null){ bitmapFalda15 = new BitmapData(126, 86, true, 0); bitmapFalda15.draw(new falda15Img()); }; _local5 = new Ropa(bitmapFalda15, null, GrupoRopa.MISC, 2, 126, 86, _arg2, false, 1085, 80, 327, 291); _arg1.push(_local5); _arg2++; if (bitmapFalda16 == null){ bitmapFalda16 = new BitmapData(141, 106, true, 0); bitmapFalda16.draw(new falda16Img()); }; _local5 = new Ropa(bitmapFalda16, null, GrupoRopa.MISC, 2, 141, 106, _arg2, false, 780, 183, 319, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda17 == null){ bitmapFalda17 = new BitmapData(141, 106, true, 0); bitmapFalda17.draw(new falda17Img()); }; _local5 = new Ropa(bitmapFalda17, null, GrupoRopa.MISC, 2, 141, 106, _arg2, false, 780, 203, 319, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda18 == null){ bitmapFalda18 = new BitmapData(141, 106, true, 0); bitmapFalda18.draw(new falda18Img()); }; _local5 = new Ropa(bitmapFalda18, null, GrupoRopa.MISC, 2, 141, 106, _arg2, false, 780, 223, 319, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda19 == null){ bitmapFalda19 = new BitmapData(141, 106, true, 0); bitmapFalda19.draw(new falda19Img()); }; _local5 = new Ropa(bitmapFalda19, null, GrupoRopa.MISC, 2, 141, 106, _arg2, false, 780, 243, 319, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda20 == null){ bitmapFalda20 = new BitmapData(141, 106, true, 0); bitmapFalda20.draw(new falda20Img()); }; _local5 = new Ropa(bitmapFalda20, null, GrupoRopa.MISC, 2, 141, 106, _arg2, false, 780, 263, 319, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda21 == null){ bitmapFalda21 = new BitmapData(142, 84, true, 0); bitmapFalda21.draw(new falda21Img()); }; _local5 = new Ropa(bitmapFalda21, null, GrupoRopa.MISC, 2, 142, 84, _arg2, false, 933, 276, 320, 307); _arg1.push(_local5); _arg2++; if (bitmapFalda22 == null){ bitmapFalda22 = new BitmapData(142, 84, true, 0); bitmapFalda22.draw(new falda22Img()); }; _local5 = new Ropa(bitmapFalda22, null, GrupoRopa.MISC, 2, 142, 84, _arg2, false, 1080, 186, 320, 307); _arg1.push(_local5); _arg2++; if (bitmapFalda23 == null){ bitmapFalda23 = new BitmapData(142, 84, true, 0); bitmapFalda23.draw(new falda23Img()); }; _local5 = new Ropa(bitmapFalda23, null, GrupoRopa.MISC, 2, 142, 84, _arg2, false, 1080, 216, 320, 307); _arg1.push(_local5); _arg2++; if (bitmapFalda24 == null){ bitmapFalda24 = new BitmapData(142, 84, true, 0); bitmapFalda24.draw(new falda24Img()); }; _local5 = new Ropa(bitmapFalda24, null, GrupoRopa.MISC, 2, 142, 84, _arg2, false, 1080, 246, 320, 307); _arg1.push(_local5); _arg2++; if (bitmapFalda25 == null){ bitmapFalda25 = new BitmapData(142, 84, true, 0); bitmapFalda25.draw(new falda25Img()); }; _local5 = new Ropa(bitmapFalda25, null, GrupoRopa.MISC, 2, 142, 84, _arg2, false, 1080, 276, 320, 307); _arg1.push(_local5); _arg2++; if (bitmapFalda26 == null){ bitmapFalda26 = new BitmapData(160, 113, true, 0); bitmapFalda26.draw(new falda26Img()); }; _local5 = new Ropa(bitmapFalda26, null, GrupoRopa.MISC, 2, 160, 113, _arg2, false, 926, 392, 311, 284); _arg1.push(_local5); _arg2++; if (bitmapFalda27 == null){ bitmapFalda27 = new BitmapData(160, 113, true, 0); bitmapFalda27.draw(new falda27Img()); }; _local5 = new Ropa(bitmapFalda27, null, GrupoRopa.MISC, 2, 160, 113, _arg2, false, 966, 412, 311, 284); _arg1.push(_local5); _arg2++; if (bitmapFalda28 == null){ bitmapFalda28 = new BitmapData(160, 113, true, 0); bitmapFalda28.draw(new falda28Img()); }; _local5 = new Ropa(bitmapFalda28, null, GrupoRopa.MISC, 2, 160, 113, _arg2, false, 1006, 432, 311, 284); _arg1.push(_local5); _arg2++; if (bitmapFalda29 == null){ bitmapFalda29 = new BitmapData(160, 113, true, 0); bitmapFalda29.draw(new falda29Img()); }; _local5 = new Ropa(bitmapFalda29, null, GrupoRopa.MISC, 2, 160, 113, _arg2, false, 1046, 452, 311, 284); _arg1.push(_local5); _arg2++; if (bitmapFalda30 == null){ bitmapFalda30 = new BitmapData(160, 113, true, 0); bitmapFalda30.draw(new falda30Img()); }; _local5 = new Ropa(bitmapFalda30, null, GrupoRopa.MISC, 2, 160, 113, _arg2, false, 1076, 472, 311, 284); _arg1.push(_local5); _arg2++; if (bitmapFalda31 == null){ bitmapFalda31 = new BitmapData(163, 105, true, 0); bitmapFalda31.draw(new falda31Img()); }; _local5 = new Ropa(bitmapFalda31, null, GrupoRopa.MISC, 2, 163, 105, _arg2, false, 795, 391, 308, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda32 == null){ bitmapFalda32 = new BitmapData(163, 105, true, 0); bitmapFalda32.draw(new falda32Img()); }; _local5 = new Ropa(bitmapFalda32, null, GrupoRopa.MISC, 2, 163, 105, _arg2, false, 831, 411, 308, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda33 == null){ bitmapFalda33 = new BitmapData(163, 105, true, 0); bitmapFalda33.draw(new falda33Img()); }; _local5 = new Ropa(bitmapFalda33, null, GrupoRopa.MISC, 2, 163, 105, _arg2, false, 871, 431, 308, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda34 == null){ bitmapFalda34 = new BitmapData(163, 105, true, 0); bitmapFalda34.draw(new falda34Img()); }; _local5 = new Ropa(bitmapFalda34, null, GrupoRopa.MISC, 2, 163, 105, _arg2, false, 911, 451, 308, 295); _arg1.push(_local5); _arg2++; if (bitmapFalda35 == null){ bitmapFalda35 = new BitmapData(163, 105, true, 0); bitmapFalda35.draw(new falda35Img()); }; _local5 = new Ropa(bitmapFalda35, null, GrupoRopa.MISC, 2, 163, 105, _arg2, false, 941, 471, 308, 295); _arg1.push(_local5); _arg2++; if (bitmapPan1 == null){ bitmapPan1 = new BitmapData(96, 59, true, 0); bitmapPan1.draw(new pan1Img()); }; _local5 = new Ropa(bitmapPan1, null, GrupoRopa.MISC, 3, 96, 59, _arg2, false, 796, 2, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan2 == null){ bitmapPan2 = new BitmapData(96, 59, true, 0); bitmapPan2.draw(new pan2Img()); }; _local5 = new Ropa(bitmapPan2, null, GrupoRopa.MISC, 3, 96, 59, _arg2, false, 828, 2, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan3 == null){ bitmapPan3 = new BitmapData(96, 59, true, 0); bitmapPan3.draw(new pan3Img()); }; _local5 = new Ropa(bitmapPan3, null, GrupoRopa.MISC, 3, 96, 59, _arg2, false, 860, 2, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan4 == null){ bitmapPan4 = new BitmapData(96, 59, true, 0); bitmapPan4.draw(new pan4Img()); }; _local5 = new Ropa(bitmapPan4, null, GrupoRopa.MISC, 3, 96, 59, _arg2, false, 892, 2, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan5 == null){ bitmapPan5 = new BitmapData(99, 57, true, 0); bitmapPan5.draw(new pan5Img()); }; _local5 = new Ropa(bitmapPan5, null, GrupoRopa.MISC, 3, 99, 57, _arg2, false, 988, 2, 341, 311); _arg1.push(_local5); _arg2++; if (bitmapPan6 == null){ bitmapPan6 = new BitmapData(99, 57, true, 0); bitmapPan6.draw(new pan6Img()); }; _local5 = new Ropa(bitmapPan6, null, GrupoRopa.MISC, 3, 99, 57, _arg2, false, 1020, 2, 341, 311); _arg1.push(_local5); _arg2++; if (bitmapPan7 == null){ bitmapPan7 = new BitmapData(99, 57, true, 0); bitmapPan7.draw(new pan7Img()); }; _local5 = new Ropa(bitmapPan7, null, GrupoRopa.MISC, 3, 99, 57, _arg2, false, 1052, 2, 341, 311); _arg1.push(_local5); _arg2++; if (bitmapPan8 == null){ bitmapPan8 = new BitmapData(98, 57, true, 0); bitmapPan8.draw(new pan8Img()); }; _local5 = new Ropa(bitmapPan8, null, GrupoRopa.MISC, 3, 98, 57, _arg2, false, 796, 61, 341, 311); _arg1.push(_local5); _arg2++; if (bitmapPan9 == null){ bitmapPan9 = new BitmapData(98, 57, true, 0); bitmapPan9.draw(new pan9Img()); }; _local5 = new Ropa(bitmapPan9, null, GrupoRopa.MISC, 3, 98, 57, _arg2, false, 828, 61, 341, 311); _arg1.push(_local5); _arg2++; if (bitmapPan10 == null){ bitmapPan10 = new BitmapData(98, 57, true, 0); bitmapPan10.draw(new pan10Img()); }; _local5 = new Ropa(bitmapPan10, null, GrupoRopa.MISC, 3, 98, 57, _arg2, false, 860, 61, 341, 311); _arg1.push(_local5); _arg2++; if (bitmapPan11 == null){ bitmapPan11 = new BitmapData(98, 57, true, 0); bitmapPan11.draw(new pan11Img()); }; _local5 = new Ropa(bitmapPan11, null, GrupoRopa.MISC, 3, 98, 57, _arg2, false, 892, 61, 341, 311); _arg1.push(_local5); _arg2++; if (bitmapPan12 == null){ bitmapPan12 = new BitmapData(99, 61, true, 0); bitmapPan12.draw(new pan12Img()); }; _local5 = new Ropa(bitmapPan12, null, GrupoRopa.MISC, 3, 99, 61, _arg2, false, 990, 61, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapPan13 == null){ bitmapPan13 = new BitmapData(99, 61, true, 0); bitmapPan13.draw(new pan13Img()); }; _local5 = new Ropa(bitmapPan13, null, GrupoRopa.MISC, 3, 99, 61, _arg2, false, 1022, 61, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapPan14 == null){ bitmapPan14 = new BitmapData(99, 61, true, 0); bitmapPan14.draw(new pan14Img()); }; _local5 = new Ropa(bitmapPan14, null, GrupoRopa.MISC, 3, 99, 61, _arg2, false, 1054, 61, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapPan15 == null){ bitmapPan15 = new BitmapData(99, 61, true, 0); bitmapPan15.draw(new pan15Img()); }; _local5 = new Ropa(bitmapPan15, null, GrupoRopa.MISC, 3, 99, 61, _arg2, false, 1086, 61, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapPan16 == null){ bitmapPan16 = new BitmapData(99, 61, true, 0); bitmapPan16.draw(new pan16Img()); }; _local5 = new Ropa(bitmapPan16, null, GrupoRopa.MISC, 3, 99, 61, _arg2, false, 1118, 61, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapPan17 == null){ bitmapPan17 = new BitmapData(98, 59, true, 0); bitmapPan17.draw(new pan17Img()); }; _local5 = new Ropa(bitmapPan17, null, GrupoRopa.MISC, 3, 98, 59, _arg2, false, 796, 138, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan18 == null){ bitmapPan18 = new BitmapData(98, 59, true, 0); bitmapPan18.draw(new pan18Img()); }; _local5 = new Ropa(bitmapPan18, null, GrupoRopa.MISC, 3, 98, 59, _arg2, false, 828, 138, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan19 == null){ bitmapPan19 = new BitmapData(98, 59, true, 0); bitmapPan19.draw(new pan19Img()); }; _local5 = new Ropa(bitmapPan19, null, GrupoRopa.MISC, 3, 98, 59, _arg2, false, 860, 138, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan20 == null){ bitmapPan20 = new BitmapData(98, 59, true, 0); bitmapPan20.draw(new pan20Img()); }; _local5 = new Ropa(bitmapPan20, null, GrupoRopa.MISC, 3, 98, 59, _arg2, false, 892, 138, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan21 == null){ bitmapPan21 = new BitmapData(98, 59, true, 0); bitmapPan21.draw(new pan21Img()); }; _local5 = new Ropa(bitmapPan21, null, GrupoRopa.MISC, 3, 98, 59, _arg2, false, 924, 138, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan22 == null){ bitmapPan22 = new BitmapData(98, 59, true, 0); bitmapPan22.draw(new pan22Img()); }; _local5 = new Ropa(bitmapPan22, null, GrupoRopa.MISC, 3, 98, 59, _arg2, false, 956, 138, 341, 310); _arg1.push(_local5); _arg2++; if (bitmapPan23 == null){ bitmapPan23 = new BitmapData(95, 57, true, 0); bitmapPan23.draw(new pan23Img()); }; _local5 = new Ropa(bitmapPan23, null, GrupoRopa.MISC, 3, 95, 57, _arg2, false, 1054, 138, 342, 312); _arg1.push(_local5); _arg2++; if (bitmapPan24 == null){ bitmapPan24 = new BitmapData(95, 57, true, 0); bitmapPan24.draw(new pan24Img()); }; _local5 = new Ropa(bitmapPan24, null, GrupoRopa.MISC, 3, 95, 57, _arg2, false, 1086, 138, 342, 312); _arg1.push(_local5); _arg2++; if (bitmapPan25 == null){ bitmapPan25 = new BitmapData(95, 57, true, 0); bitmapPan25.draw(new pan25Img()); }; _local5 = new Ropa(bitmapPan25, null, GrupoRopa.MISC, 3, 95, 57, _arg2, false, 1054, 175, 342, 312); _arg1.push(_local5); _arg2++; if (bitmapPan26 == null){ bitmapPan26 = new BitmapData(95, 57, true, 0); bitmapPan26.draw(new pan26Img()); }; _local5 = new Ropa(bitmapPan26, null, GrupoRopa.MISC, 3, 95, 57, _arg2, false, 1086, 175, 342, 312); _arg1.push(_local5); _arg2++; if (bitmapPan27 == null){ bitmapPan27 = new BitmapData(116, 77, true, 0); bitmapPan27.draw(new pan27Img()); }; _local5 = new Ropa(bitmapPan27, null, GrupoRopa.MISC, 3, 116, 77, _arg2, false, 792, 203, 332, 311); _arg1.push(_local5); _arg2++; if (bitmapLig1 == null){ bitmapLig1 = new BitmapData(98, 79, true, 0); bitmapLig1.draw(new lig1Img()); }; _local5 = new Ropa(bitmapLig1, null, GrupoRopa.MISC, 3, 98, 79, _arg2, false, 797, 300, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapLig2 == null){ bitmapLig2 = new BitmapData(98, 79, true, 0); bitmapLig2.draw(new lig2Img()); }; _local5 = new Ropa(bitmapLig2, null, GrupoRopa.MISC, 3, 98, 79, _arg2, false, 895, 300, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapLig3 == null){ bitmapLig2 = new BitmapData(98, 79, true, 0); bitmapLig2.draw(new lig3Img()); }; _local5 = new Ropa(bitmapLig2, null, GrupoRopa.MISC, 3, 98, 79, _arg2, false, 993, 300, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapLig4 == null){ bitmapLig4 = new BitmapData(98, 79, true, 0); bitmapLig4.draw(new lig4Img()); }; _local5 = new Ropa(bitmapLig4, null, GrupoRopa.MISC, 3, 98, 79, _arg2, false, 1091, 300, 341, 307); _arg1.push(_local5); _arg2++; if (bitmapDiap1FoldImg == null){ bitmapDiap1FoldImg = new BitmapData(130, 97, true, 0); bitmapDiap1FoldImg.draw(new diap1FoldImg()); }; if (bitmapDiap1UnfoldImg == null){ bitmapDiap1UnfoldImg = new BitmapData(130, 97, true, 0); bitmapDiap1UnfoldImg.draw(new diap1UnfoldImg()); }; _local5 = new Ropa(bitmapDiap1FoldImg, bitmapDiap1UnfoldImg, GrupoRopa.MISC, 3, 130, 97, _arg2, false, 961, 203, 323, 279); _arg1.push(_local5); _arg2++; if (bitmapDiap2FoldImg == null){ bitmapDiap2FoldImg = new BitmapData(130, 97, true, 0); bitmapDiap2FoldImg.draw(new diap2FoldImg()); }; if (bitmapDiap2UnfoldImg == null){ bitmapDiap2UnfoldImg = new BitmapData(130, 97, true, 0); bitmapDiap2UnfoldImg.draw(new diap2UnfoldImg()); }; _local5 = new Ropa(bitmapDiap2FoldImg, bitmapDiap2UnfoldImg, GrupoRopa.MISC, 3, 130, 97, _arg2, false, 908, 199, 323, 279); _arg1.push(_local5); _arg2++; if (bitmapZapIzq1 == null){ bitmapZapIzq1 = new BitmapData(85, 53, true, 0); bitmapZapIzq1.draw(new zapIzq1Img()); }; _local5 = new Ropa(bitmapZapIzq1, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 368, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer1 == null){ bitmapZapDer1 = new BitmapData(92, 65, true, 0); bitmapZapDer1.draw(new zapDer1Img()); }; _local5 = new Ropa(bitmapZapDer1, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 358, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapIzq2 == null){ bitmapZapIzq2 = new BitmapData(85, 53, true, 0); bitmapZapIzq2.draw(new zapIzq2Img()); }; _local5 = new Ropa(bitmapZapIzq2, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 398, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer2 == null){ bitmapZapDer2 = new BitmapData(92, 65, true, 0); bitmapZapDer2.draw(new zapDer2Img()); }; _local5 = new Ropa(bitmapZapDer2, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 388, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq3 == null){ bitmapZapIzq3 = new BitmapData(85, 53, true, 0); bitmapZapIzq3.draw(new zapIzq3Img()); }; _local5 = new Ropa(bitmapZapIzq3, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 428, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer3 == null){ bitmapZapDer3 = new BitmapData(92, 65, true, 0); bitmapZapDer3.draw(new zapDer3Img()); }; _local5 = new Ropa(bitmapZapDer3, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 418, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq4 == null){ bitmapZapIzq4 = new BitmapData(85, 53, true, 0); bitmapZapIzq4.draw(new zapIzq4Img()); }; _local5 = new Ropa(bitmapZapIzq4, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 458, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer4 == null){ bitmapZapDer4 = new BitmapData(92, 65, true, 0); bitmapZapDer4.draw(new zapDer4Img()); }; _local5 = new Ropa(bitmapZapDer4, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 448, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq5 == null){ bitmapZapDer4 = new BitmapData(85, 53, true, 0); bitmapZapDer4.draw(new zapIzq5Img()); }; _local5 = new Ropa(bitmapZapDer4, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 488, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer5 == null){ bitmapZapDer5 = new BitmapData(92, 65, true, 0); bitmapZapDer5.draw(new zapDer5Img()); }; _local5 = new Ropa(bitmapZapDer5, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 478, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq6 == null){ bitmapZapIzq6 = new BitmapData(85, 53, true, 0); bitmapZapIzq6.draw(new zapIzq6Img()); }; _local5 = new Ropa(bitmapZapIzq6, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 518, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer6 == null){ bitmapZapDer6 = new BitmapData(92, 65, true, 0); bitmapZapDer6.draw(new zapDer6Img()); }; _local5 = new Ropa(bitmapZapDer6, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 508, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq7 == null){ bitmapZapIzq7 = new BitmapData(85, 53, true, 0); bitmapZapIzq7.draw(new zapIzq7Img()); }; _local5 = new Ropa(bitmapZapIzq7, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 548, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer7 == null){ bitmapZapDer7 = new BitmapData(92, 65, true, 0); bitmapZapDer7.draw(new zapDer7Img()); }; _local5 = new Ropa(bitmapZapDer7, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 538, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq8 == null){ bitmapZapIzq8 = new BitmapData(85, 53, true, 0); bitmapZapIzq8.draw(new zapIzq8Img()); }; _local5 = new Ropa(bitmapZapIzq8, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 796, 578, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer8 == null){ bitmapZapDer8 = new BitmapData(92, 65, true, 0); bitmapZapDer8.draw(new zapDer8Img()); }; _local5 = new Ropa(bitmapZapDer8, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 881, 568, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq9 == null){ bitmapZapIzq9 = new BitmapData(85, 53, true, 0); bitmapZapIzq9.draw(new zapIzq9Img()); }; _local5 = new Ropa(bitmapZapIzq9, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 1023, 368, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer9 == null){ bitmapZapDer9 = new BitmapData(92, 65, true, 0); bitmapZapDer9.draw(new zapDer9Img()); }; _local5 = new Ropa(bitmapZapDer9, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 1108, 358, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq10 == null){ bitmapZapIzq10 = new BitmapData(85, 53, true, 0); bitmapZapIzq10.draw(new zapIzq10Img()); }; _local5 = new Ropa(bitmapZapIzq10, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 1023, 398, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer10 == null){ bitmapZapDer10 = new BitmapData(92, 65, true, 0); bitmapZapDer10.draw(new zapDer10Img()); }; _local5 = new Ropa(bitmapZapDer10, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 1108, 388, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq11 == null){ bitmapZapIzq11 = new BitmapData(85, 53, true, 0); bitmapZapIzq11.draw(new zapIzq11Img()); }; _local5 = new Ropa(bitmapZapIzq11, null, GrupoRopa.MISC, 3, 85, 53, _arg2, false, 1023, 428, 271, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer11 == null){ bitmapZapDer11 = new BitmapData(92, 65, true, 0); bitmapZapDer11.draw(new zapDer11Img()); }; _local5 = new Ropa(bitmapZapDer11, null, GrupoRopa.MISC, 3, 92, 65, _arg2, false, 1108, 418, 424, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq12 == null){ bitmapZapIzq12 = new BitmapData(80, 54, true, 0); bitmapZapIzq12.draw(new zapIzq12Img()); }; _local5 = new Ropa(bitmapZapIzq12, null, GrupoRopa.MISC, 3, 80, 54, _arg2, false, 1023, 458, 270, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer12 == null){ bitmapZapDer12 = new BitmapData(91, 66, true, 0); bitmapZapDer12.draw(new zapDer12Img()); }; _local5 = new Ropa(bitmapZapDer12, null, GrupoRopa.MISC, 3, 91, 66, _arg2, false, 1108, 448, 425, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq13 == null){ bitmapZapIzq13 = new BitmapData(80, 54, true, 0); bitmapZapIzq13.draw(new zapIzq13Img()); }; _local5 = new Ropa(bitmapZapIzq13, null, GrupoRopa.MISC, 3, 80, 54, _arg2, false, 1023, 488, 270, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer13 == null){ bitmapZapDer13 = new BitmapData(91, 66, true, 0); bitmapZapDer13.draw(new zapDer13Img()); }; _local5 = new Ropa(bitmapZapDer13, null, GrupoRopa.MISC, 3, 91, 66, _arg2, false, 1108, 478, 425, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq14 == null){ bitmapZapIzq14 = new BitmapData(80, 54, true, 0); bitmapZapIzq14.draw(new zapIzq14Img()); }; _local5 = new Ropa(bitmapZapIzq14, null, GrupoRopa.MISC, 3, 80, 54, _arg2, false, 1023, 518, 270, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer14 == null){ bitmapZapDer14 = new BitmapData(91, 66, true, 0); bitmapZapDer14.draw(new zapDer14Img()); }; _local5 = new Ropa(bitmapZapDer14, null, GrupoRopa.MISC, 3, 91, 66, _arg2, false, 1108, 508, 425, 567); _arg1.push(_local5); _arg2++; if (bitmapZapIzq15 == null){ bitmapZapIzq15 = new BitmapData(80, 54, true, 0); bitmapZapIzq15.draw(new zapIzq15Img()); }; _local5 = new Ropa(bitmapZapIzq15, null, GrupoRopa.MISC, 3, 80, 54, _arg2, false, 1023, 548, 270, 581); _arg1.push(_local5); _arg2++; if (bitmapZapDer15 == null){ bitmapZapDer15 = new BitmapData(91, 66, true, 0); bitmapZapDer15.draw(new zapDer15Img()); }; _local5 = new Ropa(bitmapZapDer15, null, GrupoRopa.MISC, 3, 91, 66, _arg2, false, 1108, 538, 425, 567); _arg1.push(_local5); _arg2++; if (bitmapSwim1 == null){ bitmapSwim1 = new BitmapData(94, 212, true, 0); bitmapSwim1.draw(new swim1Img()); }; _local5 = new Ropa(bitmapSwim1, null, GrupoRopa.MISC, 4, 94, 212, _arg2, false, 796, 2, 341, 157); _arg1.push(_local5); _arg2++; if (bitmapSwim2 == null){ bitmapSwim2 = new BitmapData(94, 212, true, 0); bitmapSwim2.draw(new swim2Img()); }; _local5 = new Ropa(bitmapSwim2, null, GrupoRopa.MISC, 4, 94, 212, _arg2, false, 796, 199, 341, 157); _arg1.push(_local5); _arg2++; if (bitmapSwim3 == null){ bitmapSwim3 = new BitmapData(94, 212, true, 0); bitmapSwim3.draw(new swim3Img()); }; _local5 = new Ropa(bitmapSwim3, null, GrupoRopa.MISC, 4, 94, 212, _arg2, false, 796, 394, 341, 157); _arg1.push(_local5); _arg2++; if (bitmapSwim4 == null){ bitmapSwim4 = new BitmapData(94, 212, true, 0); bitmapSwim4.draw(new swim4Img()); }; _local5 = new Ropa(bitmapSwim4, null, GrupoRopa.MISC, 4, 94, 212, _arg2, false, 1096, 2, 341, 157); _arg1.push(_local5); _arg2++; if (bitmapSwim5 == null){ bitmapSwim5 = new BitmapData(94, 212, true, 0); bitmapSwim5.draw(new swim5Img()); }; _local5 = new Ropa(bitmapSwim5, null, GrupoRopa.MISC, 4, 94, 212, _arg2, false, 1096, 199, 341, 157); _arg1.push(_local5); _arg2++; if (bitmapSwim6 == null){ bitmapSwim6 = new BitmapData(94, 212, true, 0); bitmapSwim6.draw(new swim6Img()); }; _local5 = new Ropa(bitmapSwim6, null, GrupoRopa.MISC, 4, 94, 212, _arg2, false, 1096, 394, 341, 157); _arg1.push(_local5); _arg2++; } } }//package Classes
Section 267
//RopaMisc_blus10Img (Classes.RopaMisc_blus10Img) package Classes { import mx.core.*; public class RopaMisc_blus10Img extends BitmapAsset { } }//package Classes
Section 268
//RopaMisc_blus11Img (Classes.RopaMisc_blus11Img) package Classes { import mx.core.*; public class RopaMisc_blus11Img extends BitmapAsset { } }//package Classes
Section 269
//RopaMisc_blus12Img (Classes.RopaMisc_blus12Img) package Classes { import mx.core.*; public class RopaMisc_blus12Img extends BitmapAsset { } }//package Classes
Section 270
//RopaMisc_blus13Img (Classes.RopaMisc_blus13Img) package Classes { import mx.core.*; public class RopaMisc_blus13Img extends BitmapAsset { } }//package Classes
Section 271
//RopaMisc_blus14Img (Classes.RopaMisc_blus14Img) package Classes { import mx.core.*; public class RopaMisc_blus14Img extends BitmapAsset { } }//package Classes
Section 272
//RopaMisc_blus15Img (Classes.RopaMisc_blus15Img) package Classes { import mx.core.*; public class RopaMisc_blus15Img extends BitmapAsset { } }//package Classes
Section 273
//RopaMisc_blus16Img (Classes.RopaMisc_blus16Img) package Classes { import mx.core.*; public class RopaMisc_blus16Img extends BitmapAsset { } }//package Classes
Section 274
//RopaMisc_blus17Img (Classes.RopaMisc_blus17Img) package Classes { import mx.core.*; public class RopaMisc_blus17Img extends BitmapAsset { } }//package Classes
Section 275
//RopaMisc_blus18Img (Classes.RopaMisc_blus18Img) package Classes { import mx.core.*; public class RopaMisc_blus18Img extends BitmapAsset { } }//package Classes
Section 276
//RopaMisc_blus19Img (Classes.RopaMisc_blus19Img) package Classes { import mx.core.*; public class RopaMisc_blus19Img extends BitmapAsset { } }//package Classes
Section 277
//RopaMisc_blus1Img (Classes.RopaMisc_blus1Img) package Classes { import mx.core.*; public class RopaMisc_blus1Img extends BitmapAsset { } }//package Classes
Section 278
//RopaMisc_blus20Img (Classes.RopaMisc_blus20Img) package Classes { import mx.core.*; public class RopaMisc_blus20Img extends BitmapAsset { } }//package Classes
Section 279
//RopaMisc_blus21Img (Classes.RopaMisc_blus21Img) package Classes { import mx.core.*; public class RopaMisc_blus21Img extends BitmapAsset { } }//package Classes
Section 280
//RopaMisc_blus22Img (Classes.RopaMisc_blus22Img) package Classes { import mx.core.*; public class RopaMisc_blus22Img extends BitmapAsset { } }//package Classes
Section 281
//RopaMisc_blus23Img (Classes.RopaMisc_blus23Img) package Classes { import mx.core.*; public class RopaMisc_blus23Img extends BitmapAsset { } }//package Classes
Section 282
//RopaMisc_blus24Img (Classes.RopaMisc_blus24Img) package Classes { import mx.core.*; public class RopaMisc_blus24Img extends BitmapAsset { } }//package Classes
Section 283
//RopaMisc_blus25Img (Classes.RopaMisc_blus25Img) package Classes { import mx.core.*; public class RopaMisc_blus25Img extends BitmapAsset { } }//package Classes
Section 284
//RopaMisc_blus2Img (Classes.RopaMisc_blus2Img) package Classes { import mx.core.*; public class RopaMisc_blus2Img extends BitmapAsset { } }//package Classes
Section 285
//RopaMisc_blus3Img (Classes.RopaMisc_blus3Img) package Classes { import mx.core.*; public class RopaMisc_blus3Img extends BitmapAsset { } }//package Classes
Section 286
//RopaMisc_blus4Img (Classes.RopaMisc_blus4Img) package Classes { import mx.core.*; public class RopaMisc_blus4Img extends BitmapAsset { } }//package Classes
Section 287
//RopaMisc_blus5Img (Classes.RopaMisc_blus5Img) package Classes { import mx.core.*; public class RopaMisc_blus5Img extends BitmapAsset { } }//package Classes
Section 288
//RopaMisc_blus6Img (Classes.RopaMisc_blus6Img) package Classes { import mx.core.*; public class RopaMisc_blus6Img extends BitmapAsset { } }//package Classes
Section 289
//RopaMisc_blus7Img (Classes.RopaMisc_blus7Img) package Classes { import mx.core.*; public class RopaMisc_blus7Img extends BitmapAsset { } }//package Classes
Section 290
//RopaMisc_blus8Img (Classes.RopaMisc_blus8Img) package Classes { import mx.core.*; public class RopaMisc_blus8Img extends BitmapAsset { } }//package Classes
Section 291
//RopaMisc_blus9Img (Classes.RopaMisc_blus9Img) package Classes { import mx.core.*; public class RopaMisc_blus9Img extends BitmapAsset { } }//package Classes
Section 292
//RopaMisc_bunDer1Img (Classes.RopaMisc_bunDer1Img) package Classes { import mx.core.*; public class RopaMisc_bunDer1Img extends BitmapAsset { } }//package Classes
Section 293
//RopaMisc_bunDer2Img (Classes.RopaMisc_bunDer2Img) package Classes { import mx.core.*; public class RopaMisc_bunDer2Img extends BitmapAsset { } }//package Classes
Section 294
//RopaMisc_bunDer3Img (Classes.RopaMisc_bunDer3Img) package Classes { import mx.core.*; public class RopaMisc_bunDer3Img extends BitmapAsset { } }//package Classes
Section 295
//RopaMisc_bunDer4Img (Classes.RopaMisc_bunDer4Img) package Classes { import mx.core.*; public class RopaMisc_bunDer4Img extends BitmapAsset { } }//package Classes
Section 296
//RopaMisc_bunIzq1Img (Classes.RopaMisc_bunIzq1Img) package Classes { import mx.core.*; public class RopaMisc_bunIzq1Img extends BitmapAsset { } }//package Classes
Section 297
//RopaMisc_bunIzq2Img (Classes.RopaMisc_bunIzq2Img) package Classes { import mx.core.*; public class RopaMisc_bunIzq2Img extends BitmapAsset { } }//package Classes
Section 298
//RopaMisc_bunIzq3Img (Classes.RopaMisc_bunIzq3Img) package Classes { import mx.core.*; public class RopaMisc_bunIzq3Img extends BitmapAsset { } }//package Classes
Section 299
//RopaMisc_bunIzq4Img (Classes.RopaMisc_bunIzq4Img) package Classes { import mx.core.*; public class RopaMisc_bunIzq4Img extends BitmapAsset { } }//package Classes
Section 300
//RopaMisc_diap1FoldImg (Classes.RopaMisc_diap1FoldImg) package Classes { import mx.core.*; public class RopaMisc_diap1FoldImg extends BitmapAsset { } }//package Classes
Section 301
//RopaMisc_diap1UnfoldImg (Classes.RopaMisc_diap1UnfoldImg) package Classes { import mx.core.*; public class RopaMisc_diap1UnfoldImg extends BitmapAsset { } }//package Classes
Section 302
//RopaMisc_diap2FoldImg (Classes.RopaMisc_diap2FoldImg) package Classes { import mx.core.*; public class RopaMisc_diap2FoldImg extends BitmapAsset { } }//package Classes
Section 303
//RopaMisc_diap2UnfoldImg (Classes.RopaMisc_diap2UnfoldImg) package Classes { import mx.core.*; public class RopaMisc_diap2UnfoldImg extends BitmapAsset { } }//package Classes
Section 304
//RopaMisc_falda10Img (Classes.RopaMisc_falda10Img) package Classes { import mx.core.*; public class RopaMisc_falda10Img extends BitmapAsset { } }//package Classes
Section 305
//RopaMisc_falda11Img (Classes.RopaMisc_falda11Img) package Classes { import mx.core.*; public class RopaMisc_falda11Img extends BitmapAsset { } }//package Classes
Section 306
//RopaMisc_falda12Img (Classes.RopaMisc_falda12Img) package Classes { import mx.core.*; public class RopaMisc_falda12Img extends BitmapAsset { } }//package Classes
Section 307
//RopaMisc_falda13Img (Classes.RopaMisc_falda13Img) package Classes { import mx.core.*; public class RopaMisc_falda13Img extends BitmapAsset { } }//package Classes
Section 308
//RopaMisc_falda14Img (Classes.RopaMisc_falda14Img) package Classes { import mx.core.*; public class RopaMisc_falda14Img extends BitmapAsset { } }//package Classes
Section 309
//RopaMisc_falda15Img (Classes.RopaMisc_falda15Img) package Classes { import mx.core.*; public class RopaMisc_falda15Img extends BitmapAsset { } }//package Classes
Section 310
//RopaMisc_falda16Img (Classes.RopaMisc_falda16Img) package Classes { import mx.core.*; public class RopaMisc_falda16Img extends BitmapAsset { } }//package Classes
Section 311
//RopaMisc_falda17Img (Classes.RopaMisc_falda17Img) package Classes { import mx.core.*; public class RopaMisc_falda17Img extends BitmapAsset { } }//package Classes
Section 312
//RopaMisc_falda18Img (Classes.RopaMisc_falda18Img) package Classes { import mx.core.*; public class RopaMisc_falda18Img extends BitmapAsset { } }//package Classes
Section 313
//RopaMisc_falda19Img (Classes.RopaMisc_falda19Img) package Classes { import mx.core.*; public class RopaMisc_falda19Img extends BitmapAsset { } }//package Classes
Section 314
//RopaMisc_falda1Img (Classes.RopaMisc_falda1Img) package Classes { import mx.core.*; public class RopaMisc_falda1Img extends BitmapAsset { } }//package Classes
Section 315
//RopaMisc_falda20Img (Classes.RopaMisc_falda20Img) package Classes { import mx.core.*; public class RopaMisc_falda20Img extends BitmapAsset { } }//package Classes
Section 316
//RopaMisc_falda21Img (Classes.RopaMisc_falda21Img) package Classes { import mx.core.*; public class RopaMisc_falda21Img extends BitmapAsset { } }//package Classes
Section 317
//RopaMisc_falda22Img (Classes.RopaMisc_falda22Img) package Classes { import mx.core.*; public class RopaMisc_falda22Img extends BitmapAsset { } }//package Classes
Section 318
//RopaMisc_falda23Img (Classes.RopaMisc_falda23Img) package Classes { import mx.core.*; public class RopaMisc_falda23Img extends BitmapAsset { } }//package Classes
Section 319
//RopaMisc_falda24Img (Classes.RopaMisc_falda24Img) package Classes { import mx.core.*; public class RopaMisc_falda24Img extends BitmapAsset { } }//package Classes
Section 320
//RopaMisc_falda25Img (Classes.RopaMisc_falda25Img) package Classes { import mx.core.*; public class RopaMisc_falda25Img extends BitmapAsset { } }//package Classes
Section 321
//RopaMisc_falda26Img (Classes.RopaMisc_falda26Img) package Classes { import mx.core.*; public class RopaMisc_falda26Img extends BitmapAsset { } }//package Classes
Section 322
//RopaMisc_falda27Img (Classes.RopaMisc_falda27Img) package Classes { import mx.core.*; public class RopaMisc_falda27Img extends BitmapAsset { } }//package Classes
Section 323
//RopaMisc_falda28Img (Classes.RopaMisc_falda28Img) package Classes { import mx.core.*; public class RopaMisc_falda28Img extends BitmapAsset { } }//package Classes
Section 324
//RopaMisc_falda29Img (Classes.RopaMisc_falda29Img) package Classes { import mx.core.*; public class RopaMisc_falda29Img extends BitmapAsset { } }//package Classes
Section 325
//RopaMisc_falda2Img (Classes.RopaMisc_falda2Img) package Classes { import mx.core.*; public class RopaMisc_falda2Img extends BitmapAsset { } }//package Classes
Section 326
//RopaMisc_falda30Img (Classes.RopaMisc_falda30Img) package Classes { import mx.core.*; public class RopaMisc_falda30Img extends BitmapAsset { } }//package Classes
Section 327
//RopaMisc_falda31Img (Classes.RopaMisc_falda31Img) package Classes { import mx.core.*; public class RopaMisc_falda31Img extends BitmapAsset { } }//package Classes
Section 328
//RopaMisc_falda32Img (Classes.RopaMisc_falda32Img) package Classes { import mx.core.*; public class RopaMisc_falda32Img extends BitmapAsset { } }//package Classes
Section 329
//RopaMisc_falda33Img (Classes.RopaMisc_falda33Img) package Classes { import mx.core.*; public class RopaMisc_falda33Img extends BitmapAsset { } }//package Classes
Section 330
//RopaMisc_falda34Img (Classes.RopaMisc_falda34Img) package Classes { import mx.core.*; public class RopaMisc_falda34Img extends BitmapAsset { } }//package Classes
Section 331
//RopaMisc_falda35Img (Classes.RopaMisc_falda35Img) package Classes { import mx.core.*; public class RopaMisc_falda35Img extends BitmapAsset { } }//package Classes
Section 332
//RopaMisc_falda3Img (Classes.RopaMisc_falda3Img) package Classes { import mx.core.*; public class RopaMisc_falda3Img extends BitmapAsset { } }//package Classes
Section 333
//RopaMisc_falda4Img (Classes.RopaMisc_falda4Img) package Classes { import mx.core.*; public class RopaMisc_falda4Img extends BitmapAsset { } }//package Classes
Section 334
//RopaMisc_falda5Img (Classes.RopaMisc_falda5Img) package Classes { import mx.core.*; public class RopaMisc_falda5Img extends BitmapAsset { } }//package Classes
Section 335
//RopaMisc_falda6Img (Classes.RopaMisc_falda6Img) package Classes { import mx.core.*; public class RopaMisc_falda6Img extends BitmapAsset { } }//package Classes
Section 336
//RopaMisc_falda7Img (Classes.RopaMisc_falda7Img) package Classes { import mx.core.*; public class RopaMisc_falda7Img extends BitmapAsset { } }//package Classes
Section 337
//RopaMisc_falda8Img (Classes.RopaMisc_falda8Img) package Classes { import mx.core.*; public class RopaMisc_falda8Img extends BitmapAsset { } }//package Classes
Section 338
//RopaMisc_falda9Img (Classes.RopaMisc_falda9Img) package Classes { import mx.core.*; public class RopaMisc_falda9Img extends BitmapAsset { } }//package Classes
Section 339
//RopaMisc_lig1Img (Classes.RopaMisc_lig1Img) package Classes { import mx.core.*; public class RopaMisc_lig1Img extends BitmapAsset { } }//package Classes
Section 340
//RopaMisc_lig2Img (Classes.RopaMisc_lig2Img) package Classes { import mx.core.*; public class RopaMisc_lig2Img extends BitmapAsset { } }//package Classes
Section 341
//RopaMisc_lig3Img (Classes.RopaMisc_lig3Img) package Classes { import mx.core.*; public class RopaMisc_lig3Img extends BitmapAsset { } }//package Classes
Section 342
//RopaMisc_lig4Img (Classes.RopaMisc_lig4Img) package Classes { import mx.core.*; public class RopaMisc_lig4Img extends BitmapAsset { } }//package Classes
Section 343
//RopaMisc_mon10Img (Classes.RopaMisc_mon10Img) package Classes { import mx.core.*; public class RopaMisc_mon10Img extends BitmapAsset { } }//package Classes
Section 344
//RopaMisc_mon1Img (Classes.RopaMisc_mon1Img) package Classes { import mx.core.*; public class RopaMisc_mon1Img extends BitmapAsset { } }//package Classes
Section 345
//RopaMisc_mon2Img (Classes.RopaMisc_mon2Img) package Classes { import mx.core.*; public class RopaMisc_mon2Img extends BitmapAsset { } }//package Classes
Section 346
//RopaMisc_mon3Img (Classes.RopaMisc_mon3Img) package Classes { import mx.core.*; public class RopaMisc_mon3Img extends BitmapAsset { } }//package Classes
Section 347
//RopaMisc_mon4Img (Classes.RopaMisc_mon4Img) package Classes { import mx.core.*; public class RopaMisc_mon4Img extends BitmapAsset { } }//package Classes
Section 348
//RopaMisc_mon5Img (Classes.RopaMisc_mon5Img) package Classes { import mx.core.*; public class RopaMisc_mon5Img extends BitmapAsset { } }//package Classes
Section 349
//RopaMisc_mon6Img (Classes.RopaMisc_mon6Img) package Classes { import mx.core.*; public class RopaMisc_mon6Img extends BitmapAsset { } }//package Classes
Section 350
//RopaMisc_mon7Img (Classes.RopaMisc_mon7Img) package Classes { import mx.core.*; public class RopaMisc_mon7Img extends BitmapAsset { } }//package Classes
Section 351
//RopaMisc_mon8Img (Classes.RopaMisc_mon8Img) package Classes { import mx.core.*; public class RopaMisc_mon8Img extends BitmapAsset { } }//package Classes
Section 352
//RopaMisc_mon9Img (Classes.RopaMisc_mon9Img) package Classes { import mx.core.*; public class RopaMisc_mon9Img extends BitmapAsset { } }//package Classes
Section 353
//RopaMisc_nekoDer1Img (Classes.RopaMisc_nekoDer1Img) package Classes { import mx.core.*; public class RopaMisc_nekoDer1Img extends BitmapAsset { } }//package Classes
Section 354
//RopaMisc_nekoDer2Img (Classes.RopaMisc_nekoDer2Img) package Classes { import mx.core.*; public class RopaMisc_nekoDer2Img extends BitmapAsset { } }//package Classes
Section 355
//RopaMisc_nekoDer3Img (Classes.RopaMisc_nekoDer3Img) package Classes { import mx.core.*; public class RopaMisc_nekoDer3Img extends BitmapAsset { } }//package Classes
Section 356
//RopaMisc_nekoIzq1Img (Classes.RopaMisc_nekoIzq1Img) package Classes { import mx.core.*; public class RopaMisc_nekoIzq1Img extends BitmapAsset { } }//package Classes
Section 357
//RopaMisc_nekoIzq2Img (Classes.RopaMisc_nekoIzq2Img) package Classes { import mx.core.*; public class RopaMisc_nekoIzq2Img extends BitmapAsset { } }//package Classes
Section 358
//RopaMisc_nekoIzq3Img (Classes.RopaMisc_nekoIzq3Img) package Classes { import mx.core.*; public class RopaMisc_nekoIzq3Img extends BitmapAsset { } }//package Classes
Section 359
//RopaMisc_pan10Img (Classes.RopaMisc_pan10Img) package Classes { import mx.core.*; public class RopaMisc_pan10Img extends BitmapAsset { } }//package Classes
Section 360
//RopaMisc_pan11Img (Classes.RopaMisc_pan11Img) package Classes { import mx.core.*; public class RopaMisc_pan11Img extends BitmapAsset { } }//package Classes
Section 361
//RopaMisc_pan12Img (Classes.RopaMisc_pan12Img) package Classes { import mx.core.*; public class RopaMisc_pan12Img extends BitmapAsset { } }//package Classes
Section 362
//RopaMisc_pan13Img (Classes.RopaMisc_pan13Img) package Classes { import mx.core.*; public class RopaMisc_pan13Img extends BitmapAsset { } }//package Classes
Section 363
//RopaMisc_pan14Img (Classes.RopaMisc_pan14Img) package Classes { import mx.core.*; public class RopaMisc_pan14Img extends BitmapAsset { } }//package Classes
Section 364
//RopaMisc_pan15Img (Classes.RopaMisc_pan15Img) package Classes { import mx.core.*; public class RopaMisc_pan15Img extends BitmapAsset { } }//package Classes
Section 365
//RopaMisc_pan16Img (Classes.RopaMisc_pan16Img) package Classes { import mx.core.*; public class RopaMisc_pan16Img extends BitmapAsset { } }//package Classes
Section 366
//RopaMisc_pan17Img (Classes.RopaMisc_pan17Img) package Classes { import mx.core.*; public class RopaMisc_pan17Img extends BitmapAsset { } }//package Classes
Section 367
//RopaMisc_pan18Img (Classes.RopaMisc_pan18Img) package Classes { import mx.core.*; public class RopaMisc_pan18Img extends BitmapAsset { } }//package Classes
Section 368
//RopaMisc_pan19Img (Classes.RopaMisc_pan19Img) package Classes { import mx.core.*; public class RopaMisc_pan19Img extends BitmapAsset { } }//package Classes
Section 369
//RopaMisc_pan1Img (Classes.RopaMisc_pan1Img) package Classes { import mx.core.*; public class RopaMisc_pan1Img extends BitmapAsset { } }//package Classes
Section 370
//RopaMisc_pan20Img (Classes.RopaMisc_pan20Img) package Classes { import mx.core.*; public class RopaMisc_pan20Img extends BitmapAsset { } }//package Classes
Section 371
//RopaMisc_pan21Img (Classes.RopaMisc_pan21Img) package Classes { import mx.core.*; public class RopaMisc_pan21Img extends BitmapAsset { } }//package Classes
Section 372
//RopaMisc_pan22Img (Classes.RopaMisc_pan22Img) package Classes { import mx.core.*; public class RopaMisc_pan22Img extends BitmapAsset { } }//package Classes
Section 373
//RopaMisc_pan23Img (Classes.RopaMisc_pan23Img) package Classes { import mx.core.*; public class RopaMisc_pan23Img extends BitmapAsset { } }//package Classes
Section 374
//RopaMisc_pan24Img (Classes.RopaMisc_pan24Img) package Classes { import mx.core.*; public class RopaMisc_pan24Img extends BitmapAsset { } }//package Classes
Section 375
//RopaMisc_pan25Img (Classes.RopaMisc_pan25Img) package Classes { import mx.core.*; public class RopaMisc_pan25Img extends BitmapAsset { } }//package Classes
Section 376
//RopaMisc_pan26Img (Classes.RopaMisc_pan26Img) package Classes { import mx.core.*; public class RopaMisc_pan26Img extends BitmapAsset { } }//package Classes
Section 377
//RopaMisc_pan27Img (Classes.RopaMisc_pan27Img) package Classes { import mx.core.*; public class RopaMisc_pan27Img extends BitmapAsset { } }//package Classes
Section 378
//RopaMisc_pan2Img (Classes.RopaMisc_pan2Img) package Classes { import mx.core.*; public class RopaMisc_pan2Img extends BitmapAsset { } }//package Classes
Section 379
//RopaMisc_pan3Img (Classes.RopaMisc_pan3Img) package Classes { import mx.core.*; public class RopaMisc_pan3Img extends BitmapAsset { } }//package Classes
Section 380
//RopaMisc_pan4Img (Classes.RopaMisc_pan4Img) package Classes { import mx.core.*; public class RopaMisc_pan4Img extends BitmapAsset { } }//package Classes
Section 381
//RopaMisc_pan5Img (Classes.RopaMisc_pan5Img) package Classes { import mx.core.*; public class RopaMisc_pan5Img extends BitmapAsset { } }//package Classes
Section 382
//RopaMisc_pan6Img (Classes.RopaMisc_pan6Img) package Classes { import mx.core.*; public class RopaMisc_pan6Img extends BitmapAsset { } }//package Classes
Section 383
//RopaMisc_pan7Img (Classes.RopaMisc_pan7Img) package Classes { import mx.core.*; public class RopaMisc_pan7Img extends BitmapAsset { } }//package Classes
Section 384
//RopaMisc_pan8Img (Classes.RopaMisc_pan8Img) package Classes { import mx.core.*; public class RopaMisc_pan8Img extends BitmapAsset { } }//package Classes
Section 385
//RopaMisc_pan9Img (Classes.RopaMisc_pan9Img) package Classes { import mx.core.*; public class RopaMisc_pan9Img extends BitmapAsset { } }//package Classes
Section 386
//RopaMisc_swim1Img (Classes.RopaMisc_swim1Img) package Classes { import mx.core.*; public class RopaMisc_swim1Img extends BitmapAsset { } }//package Classes
Section 387
//RopaMisc_swim2Img (Classes.RopaMisc_swim2Img) package Classes { import mx.core.*; public class RopaMisc_swim2Img extends BitmapAsset { } }//package Classes
Section 388
//RopaMisc_swim3Img (Classes.RopaMisc_swim3Img) package Classes { import mx.core.*; public class RopaMisc_swim3Img extends BitmapAsset { } }//package Classes
Section 389
//RopaMisc_swim4Img (Classes.RopaMisc_swim4Img) package Classes { import mx.core.*; public class RopaMisc_swim4Img extends BitmapAsset { } }//package Classes
Section 390
//RopaMisc_swim5Img (Classes.RopaMisc_swim5Img) package Classes { import mx.core.*; public class RopaMisc_swim5Img extends BitmapAsset { } }//package Classes
Section 391
//RopaMisc_swim6Img (Classes.RopaMisc_swim6Img) package Classes { import mx.core.*; public class RopaMisc_swim6Img extends BitmapAsset { } }//package Classes
Section 392
//RopaMisc_zapDer10Img (Classes.RopaMisc_zapDer10Img) package Classes { import mx.core.*; public class RopaMisc_zapDer10Img extends BitmapAsset { } }//package Classes
Section 393
//RopaMisc_zapDer11Img (Classes.RopaMisc_zapDer11Img) package Classes { import mx.core.*; public class RopaMisc_zapDer11Img extends BitmapAsset { } }//package Classes
Section 394
//RopaMisc_zapDer12Img (Classes.RopaMisc_zapDer12Img) package Classes { import mx.core.*; public class RopaMisc_zapDer12Img extends BitmapAsset { } }//package Classes
Section 395
//RopaMisc_zapDer13Img (Classes.RopaMisc_zapDer13Img) package Classes { import mx.core.*; public class RopaMisc_zapDer13Img extends BitmapAsset { } }//package Classes
Section 396
//RopaMisc_zapDer14Img (Classes.RopaMisc_zapDer14Img) package Classes { import mx.core.*; public class RopaMisc_zapDer14Img extends BitmapAsset { } }//package Classes
Section 397
//RopaMisc_zapDer15Img (Classes.RopaMisc_zapDer15Img) package Classes { import mx.core.*; public class RopaMisc_zapDer15Img extends BitmapAsset { } }//package Classes
Section 398
//RopaMisc_zapDer1Img (Classes.RopaMisc_zapDer1Img) package Classes { import mx.core.*; public class RopaMisc_zapDer1Img extends BitmapAsset { } }//package Classes
Section 399
//RopaMisc_zapDer2Img (Classes.RopaMisc_zapDer2Img) package Classes { import mx.core.*; public class RopaMisc_zapDer2Img extends BitmapAsset { } }//package Classes
Section 400
//RopaMisc_zapDer3Img (Classes.RopaMisc_zapDer3Img) package Classes { import mx.core.*; public class RopaMisc_zapDer3Img extends BitmapAsset { } }//package Classes
Section 401
//RopaMisc_zapDer4Img (Classes.RopaMisc_zapDer4Img) package Classes { import mx.core.*; public class RopaMisc_zapDer4Img extends BitmapAsset { } }//package Classes
Section 402
//RopaMisc_zapDer5Img (Classes.RopaMisc_zapDer5Img) package Classes { import mx.core.*; public class RopaMisc_zapDer5Img extends BitmapAsset { } }//package Classes
Section 403
//RopaMisc_zapDer6Img (Classes.RopaMisc_zapDer6Img) package Classes { import mx.core.*; public class RopaMisc_zapDer6Img extends BitmapAsset { } }//package Classes
Section 404
//RopaMisc_zapDer7Img (Classes.RopaMisc_zapDer7Img) package Classes { import mx.core.*; public class RopaMisc_zapDer7Img extends BitmapAsset { } }//package Classes
Section 405
//RopaMisc_zapDer8Img (Classes.RopaMisc_zapDer8Img) package Classes { import mx.core.*; public class RopaMisc_zapDer8Img extends BitmapAsset { } }//package Classes
Section 406
//RopaMisc_zapDer9Img (Classes.RopaMisc_zapDer9Img) package Classes { import mx.core.*; public class RopaMisc_zapDer9Img extends BitmapAsset { } }//package Classes
Section 407
//RopaMisc_zapIzq10Img (Classes.RopaMisc_zapIzq10Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq10Img extends BitmapAsset { } }//package Classes
Section 408
//RopaMisc_zapIzq11Img (Classes.RopaMisc_zapIzq11Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq11Img extends BitmapAsset { } }//package Classes
Section 409
//RopaMisc_zapIzq12Img (Classes.RopaMisc_zapIzq12Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq12Img extends BitmapAsset { } }//package Classes
Section 410
//RopaMisc_zapIzq13Img (Classes.RopaMisc_zapIzq13Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq13Img extends BitmapAsset { } }//package Classes
Section 411
//RopaMisc_zapIzq14Img (Classes.RopaMisc_zapIzq14Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq14Img extends BitmapAsset { } }//package Classes
Section 412
//RopaMisc_zapIzq15Img (Classes.RopaMisc_zapIzq15Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq15Img extends BitmapAsset { } }//package Classes
Section 413
//RopaMisc_zapIzq1Img (Classes.RopaMisc_zapIzq1Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq1Img extends BitmapAsset { } }//package Classes
Section 414
//RopaMisc_zapIzq2Img (Classes.RopaMisc_zapIzq2Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq2Img extends BitmapAsset { } }//package Classes
Section 415
//RopaMisc_zapIzq3Img (Classes.RopaMisc_zapIzq3Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq3Img extends BitmapAsset { } }//package Classes
Section 416
//RopaMisc_zapIzq4Img (Classes.RopaMisc_zapIzq4Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq4Img extends BitmapAsset { } }//package Classes
Section 417
//RopaMisc_zapIzq5Img (Classes.RopaMisc_zapIzq5Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq5Img extends BitmapAsset { } }//package Classes
Section 418
//RopaMisc_zapIzq6Img (Classes.RopaMisc_zapIzq6Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq6Img extends BitmapAsset { } }//package Classes
Section 419
//RopaMisc_zapIzq7Img (Classes.RopaMisc_zapIzq7Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq7Img extends BitmapAsset { } }//package Classes
Section 420
//RopaMisc_zapIzq8Img (Classes.RopaMisc_zapIzq8Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq8Img extends BitmapAsset { } }//package Classes
Section 421
//RopaMisc_zapIzq9Img (Classes.RopaMisc_zapIzq9Img) package Classes { import mx.core.*; public class RopaMisc_zapIzq9Img extends BitmapAsset { } }//package Classes
Section 422
//RopaTraz (Classes.RopaTraz) package Classes { import flash.display.*; import flash.geom.*; public class RopaTraz extends Ropa { private var ropaDelante:Ropa;// = null public function RopaTraz(_arg1:Ropa, _arg2:BitmapData, _arg3:BitmapData, _arg4:int, _arg5:int, _arg6:Number, _arg7:Number, _arg8:int, _arg9:Boolean, _arg10:int, _arg11:int, _arg12:int, _arg13:int){ super(_arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12, _arg13); this.ropaDelante = _arg1; } override public function dibujar(_arg1:BitmapData, _arg2:int, _arg3:int):Boolean{ var _local4:Boolean; if (this.ropaDelante != null){ this.estaVisible = this.ropaDelante.getEstaVisitble; this.estaPuesta = this.ropaDelante.getEstaPuesta; this.posCurrentX = this.ropaDelante.getPosCurrentX; this.posCurrentY = this.ropaDelante.getPosCurrentY; } else { if (this._resetPosition){ this._resetPosition = false; if (this.estaPuesta){ posCurrentX = posPuestaX; posCurrentY = posPuestaY; } else { posCurrentX = posDefaultX; posCurrentY = posDefaultY; }; }; if (posCurrentX > 1200){ posCurrentX = 1200; }; if (posCurrentY > 640){ posCurrentY = 640; }; }; if ((((this.idGrupoRopa == _arg2)) && ((this.numPagina == _arg3)))){ this.estaVisible = true; if (!this.estaPuesta){ _local4 = true; }; } else { this.estaVisible = false; }; if (((this.estaPuesta) || (this.estaVisible))){ this._seDibujo = true; _arg1.copyPixels(this.bitmapDibujo, new Rectangle(0, 0, ancho, alto), new Point(posCurrentX, posCurrentY)); } else { this._seDibujo = false; }; return (_local4); } } }//package Classes
Section 423
//IAutomationObject (mx.automation.IAutomationObject) package mx.automation { import flash.events.*; public interface IAutomationObject { function createAutomationIDPart(_arg1:IAutomationObject):Object; function get automationName():String; function get showInAutomationHierarchy():Boolean; function set automationName(_arg1:String):void; function getAutomationChildAt(_arg1:int):IAutomationObject; function get automationDelegate():Object; function get automationTabularData():Object; function resolveAutomationIDPart(_arg1:Object):Array; function replayAutomatableEvent(_arg1:Event):Boolean; function set automationDelegate(_arg1:Object):void; function get automationValue():Array; function get numAutomationChildren():int; function set showInAutomationHierarchy(_arg1:Boolean):void; } }//package mx.automation
Section 424
//Binding (mx.binding.Binding) package mx.binding { import mx.collections.errors.*; public class Binding { mx_internal var destFunc:Function; mx_internal var srcFunc:Function; mx_internal var destString:String; mx_internal var document:Object; private var hasHadValue:Boolean; mx_internal var isExecuting:Boolean; mx_internal var isHandlingEvent:Boolean; public var twoWayCounterpart:Binding; mx_internal var isEnabled:Boolean; public var uiComponentWatcher:int; private var lastValue:Object; private var wrappedFunctionSuccessful:Boolean; mx_internal static const VERSION:String = "3.0.0.0"; public function Binding(_arg1:Object, _arg2:Function, _arg3:Function, _arg4:String){ this.document = _arg1; this.srcFunc = _arg2; this.destFunc = _arg3; this.destString = _arg4; isEnabled = true; isExecuting = false; isHandlingEvent = false; hasHadValue = false; uiComponentWatcher = -1; BindingManager.addBinding(_arg1, _arg4, this); } protected function wrapFunctionCall(_arg1:Object, _arg2:Function, _arg3:Object=null, ... _args):Object{ var result:Object; var thisArg = _arg1; var wrappedFunction = _arg2; var object = _arg3; var args = _args; wrappedFunctionSuccessful = false; try { result = wrappedFunction.apply(thisArg, args); wrappedFunctionSuccessful = true; return (result); } catch(itemPendingError:ItemPendingError) { itemPendingError.addResponder(new EvalBindingResponder(this, object)); if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", error = ") + itemPendingError)); }; } catch(rangeError:RangeError) { if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", error = ") + rangeError)); }; } catch(error:Error) { if (((((((((!((error.errorID == 1006))) && (!((error.errorID == 1009))))) && (!((error.errorID == 1010))))) && (!((error.errorID == 1055))))) && (!((error.errorID == 1069))))){ throw (error); } else { if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", error = ") + error)); }; }; }; return (null); } private function nodeSeqEqual(_arg1:XMLList, _arg2:XMLList):Boolean{ var _local4:uint; var _local3:uint = _arg1.length(); if (_local3 == _arg2.length()){ _local4 = 0; while ((((_local4 < _local3)) && ((_arg1[_local4] === _arg2[_local4])))) { _local4++; }; return ((_local4 == _local3)); //unresolved jump }; return (false); } public function watcherFired(_arg1:Boolean, _arg2:int):void{ var commitEvent = _arg1; var cloneIndex = _arg2; if (isHandlingEvent){ return; }; try { isHandlingEvent = true; execute(cloneIndex); } finally { isHandlingEvent = false; }; } public function execute(_arg1:Object=null):void{ var o = _arg1; if (!isEnabled){ return; }; if (((isExecuting) || (((twoWayCounterpart) && (twoWayCounterpart.isExecuting))))){ hasHadValue = true; return; }; try { isExecuting = true; wrapFunctionCall(this, innerExecute, o); } finally { isExecuting = false; }; } private function innerExecute():void{ var _local1:Object = wrapFunctionCall(document, srcFunc); if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", srcFunc result = ") + _local1)); }; if (((hasHadValue) || (wrappedFunctionSuccessful))){ if (((!((((((lastValue is XML)) && (lastValue.hasComplexContent()))) && ((lastValue === _local1))))) && (!((((((((lastValue is XMLList)) && (lastValue.hasComplexContent()))) && ((_local1 is XMLList)))) && (nodeSeqEqual((lastValue as XMLList), (_local1 as XMLList)))))))){ destFunc.call(document, _local1); lastValue = _local1; hasHadValue = true; }; }; } } }//package mx.binding
Section 425
//BindingManager (mx.binding.BindingManager) package mx.binding { public class BindingManager { mx_internal static const VERSION:String = "3.0.0.0"; static var debugDestinationStrings:Object = {}; public static function executeBindings(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:String; if (((!(_arg2)) || ((_arg2 == "")))){ return; }; if (((((((_arg1) && ((((_arg1 is IBindingClient)) || (_arg1.hasOwnProperty("_bindingsByDestination")))))) && (_arg1._bindingsByDestination))) && (_arg1._bindingsBeginWithWord[getFirstWord(_arg2)]))){ for (_local4 in _arg1._bindingsByDestination) { if (_local4.charAt(0) == _arg2.charAt(0)){ if ((((((_local4.indexOf((_arg2 + ".")) == 0)) || ((_local4.indexOf((_arg2 + "[")) == 0)))) || ((_local4 == _arg2)))){ _arg1._bindingsByDestination[_local4].execute(_arg3); }; }; }; }; } public static function addBinding(_arg1:Object, _arg2:String, _arg3:Binding):void{ if (!_arg1._bindingsByDestination){ _arg1._bindingsByDestination = {}; _arg1._bindingsBeginWithWord = {}; }; _arg1._bindingsByDestination[_arg2] = _arg3; _arg1._bindingsBeginWithWord[getFirstWord(_arg2)] = true; } public static function debugBinding(_arg1:String):void{ debugDestinationStrings[_arg1] = true; } private static function getFirstWord(_arg1:String):String{ var _local2:int = _arg1.indexOf("."); var _local3:int = _arg1.indexOf("["); if (_local2 == _local3){ return (_arg1); }; var _local4:int = Math.min(_local2, _local3); if (_local4 == -1){ _local4 = Math.max(_local2, _local3); }; return (_arg1.substr(0, _local4)); } public static function setEnabled(_arg1:Object, _arg2:Boolean):void{ var _local3:Array; var _local4:uint; var _local5:Binding; if ((((_arg1 is IBindingClient)) && (_arg1._bindings))){ _local3 = (_arg1._bindings as Array); _local4 = 0; while (_local4 < _local3.length) { _local5 = _local3[_local4]; _local5.isEnabled = _arg2; _local4++; }; }; } } }//package mx.binding
Section 426
//EvalBindingResponder (mx.binding.EvalBindingResponder) package mx.binding { import mx.rpc.*; public class EvalBindingResponder implements IResponder { private var binding:Binding; private var object:Object; mx_internal static const VERSION:String = "3.0.0.0"; public function EvalBindingResponder(_arg1:Binding, _arg2:Object){ this.binding = _arg1; this.object = _arg2; } public function fault(_arg1:Object):void{ } public function result(_arg1:Object):void{ binding.execute(object); } } }//package mx.binding
Section 427
//IBindingClient (mx.binding.IBindingClient) package mx.binding { public interface IBindingClient { } }//package mx.binding
Section 428
//ItemPendingError (mx.collections.errors.ItemPendingError) package mx.collections.errors { import mx.rpc.*; public class ItemPendingError extends Error { private var _responders:Array; mx_internal static const VERSION:String = "3.0.0.0"; public function ItemPendingError(_arg1:String){ super(_arg1); } public function get responders():Array{ return (_responders); } public function addResponder(_arg1:IResponder):void{ if (!_responders){ _responders = []; }; _responders.push(_arg1); } } }//package mx.collections.errors
Section 429
//ConstraintError (mx.containers.errors.ConstraintError) package mx.containers.errors { public class ConstraintError extends Error { mx_internal static const VERSION:String = "3.0.0.0"; public function ConstraintError(_arg1:String){ super(_arg1); } } }//package mx.containers.errors
Section 430
//ApplicationLayout (mx.containers.utilityClasses.ApplicationLayout) package mx.containers.utilityClasses { import mx.core.*; public class ApplicationLayout extends BoxLayout { mx_internal static const VERSION:String = "3.0.0.0"; override public function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; var _local9:int; var _local10:IFlexDisplayObject; super.updateDisplayList(_arg1, _arg2); var _local3:Container = super.target; if (((((_local3.horizontalScrollBar) && ((getHorizontalAlignValue() > 0)))) || (((_local3.verticalScrollBar) && ((getVerticalAlignValue() > 0)))))){ _local4 = _local3.getStyle("paddingLeft"); _local5 = _local3.getStyle("paddingTop"); _local6 = 0; _local7 = 0; _local8 = _local3.numChildren; _local9 = 0; while (_local9 < _local8) { _local10 = IFlexDisplayObject(_local3.getChildAt(_local9)); if (_local10.x < _local4){ _local6 = Math.max(_local6, (_local4 - _local10.x)); }; if (_local10.y < _local5){ _local7 = Math.max(_local7, (_local5 - _local10.y)); }; _local9++; }; if (((!((_local6 == 0))) || (!((_local7 == 0))))){ _local9 = 0; while (_local9 < _local8) { _local10 = IFlexDisplayObject(_local3.getChildAt(_local9)); IFlexDisplayObject(_local3.getChildAt(_local9)).move((_local10.x + _local6), (_local10.y + _local7)); _local9++; }; }; }; } } }//package mx.containers.utilityClasses
Section 431
//BoxLayout (mx.containers.utilityClasses.BoxLayout) package mx.containers.utilityClasses { import mx.core.*; import mx.controls.scrollClasses.*; import mx.containers.*; public class BoxLayout extends Layout { public var direction:String;// = "vertical" mx_internal static const VERSION:String = "3.0.0.0"; private function isVertical():Boolean{ return (!((direction == BoxDirection.HORIZONTAL))); } mx_internal function getHorizontalAlignValue():Number{ var _local1:String = target.getStyle("horizontalAlign"); if (_local1 == "center"){ return (0.5); }; if (_local1 == "right"){ return (1); }; return (0); } override public function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local16:Number; var _local17:int; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:int; var _local22:IUIComponent; var _local23:IUIComponent; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local3:Container = super.target; var _local4:int = _local3.numChildren; if (_local4 == 0){ return; }; var _local5:EdgeMetrics = _local3.viewMetricsAndPadding; var _local6:Number = _local3.getStyle("paddingLeft"); var _local7:Number = _local3.getStyle("paddingTop"); var _local8:Number = getHorizontalAlignValue(); var _local9:Number = getVerticalAlignValue(); var _local10:Number = ((((_local3.scaleX > 0)) && (!((_local3.scaleX == 1))))) ? (_local3.minWidth / Math.abs(_local3.scaleX)) : _local3.minWidth; var _local11:Number = ((((_local3.scaleY > 0)) && (!((_local3.scaleY == 1))))) ? (_local3.minHeight / Math.abs(_local3.scaleY)) : _local3.minHeight; var _local12:Number = ((Math.max(_arg1, _local10) - _local5.right) - _local5.left); var _local13:Number = ((Math.max(_arg2, _local11) - _local5.bottom) - _local5.top); var _local14:ScrollBar = _local3.horizontalScrollBar; var _local15:ScrollBar = _local3.verticalScrollBar; if (_local4 == 1){ _local23 = IUIComponent(_local3.getChildAt(0)); _local24 = _local23.percentWidth; _local25 = _local23.percentHeight; if (_local24){ _local26 = Math.max(_local23.minWidth, Math.min(_local23.maxWidth, ((_local24)>=100) ? _local12 : ((_local12 * _local24) / 100))); } else { _local26 = _local23.getExplicitOrMeasuredWidth(); }; if (_local25){ _local27 = Math.max(_local23.minHeight, Math.min(_local23.maxHeight, ((_local25)>=100) ? _local13 : ((_local13 * _local25) / 100))); } else { _local27 = _local23.getExplicitOrMeasuredHeight(); }; if ((((_local23.scaleX == 1)) && ((_local23.scaleY == 1)))){ _local23.setActualSize(Math.floor(_local26), Math.floor(_local27)); } else { _local23.setActualSize(_local26, _local27); }; if (((!((_local15 == null))) && ((_local3.verticalScrollPolicy == ScrollPolicy.AUTO)))){ _local12 = (_local12 + _local15.minWidth); }; if (((!((_local14 == null))) && ((_local3.horizontalScrollPolicy == ScrollPolicy.AUTO)))){ _local13 = (_local13 + _local14.minHeight); }; _local20 = (((_local12 - _local23.width) * _local8) + _local6); _local19 = (((_local13 - _local23.height) * _local9) + _local7); _local23.move(Math.floor(_local20), Math.floor(_local19)); } else { if (isVertical()){ _local16 = _local3.getStyle("verticalGap"); _local17 = _local4; _local21 = 0; while (_local21 < _local4) { if (!IUIComponent(_local3.getChildAt(_local21)).includeInLayout){ _local17--; }; _local21++; }; _local18 = Flex.flexChildHeightsProportionally(_local3, (_local13 - ((_local17 - 1) * _local16)), _local12); if (((!((_local14 == null))) && ((_local3.horizontalScrollPolicy == ScrollPolicy.AUTO)))){ _local18 = (_local18 + _local14.minHeight); }; if (((!((_local15 == null))) && ((_local3.verticalScrollPolicy == ScrollPolicy.AUTO)))){ _local12 = (_local12 + _local15.minWidth); }; _local19 = (_local7 + (_local18 * _local9)); _local21 = 0; while (_local21 < _local4) { _local22 = IUIComponent(_local3.getChildAt(_local21)); _local20 = (((_local12 - _local22.width) * _local8) + _local6); _local22.move(Math.floor(_local20), Math.floor(_local19)); if (_local22.includeInLayout){ _local19 = (_local19 + (_local22.height + _local16)); }; _local21++; }; } else { _local16 = _local3.getStyle("horizontalGap"); _local17 = _local4; _local21 = 0; while (_local21 < _local4) { if (!IUIComponent(_local3.getChildAt(_local21)).includeInLayout){ _local17--; }; _local21++; }; _local18 = Flex.flexChildWidthsProportionally(_local3, (_local12 - ((_local17 - 1) * _local16)), _local13); if (((!((_local14 == null))) && ((_local3.horizontalScrollPolicy == ScrollPolicy.AUTO)))){ _local13 = (_local13 + _local14.minHeight); }; if (((!((_local15 == null))) && ((_local3.verticalScrollPolicy == ScrollPolicy.AUTO)))){ _local18 = (_local18 + _local15.minWidth); }; _local20 = (_local6 + (_local18 * _local8)); _local21 = 0; while (_local21 < _local4) { _local22 = IUIComponent(_local3.getChildAt(_local21)); _local19 = (((_local13 - _local22.height) * _local9) + _local7); _local22.move(Math.floor(_local20), Math.floor(_local19)); if (_local22.includeInLayout){ _local20 = (_local20 + (_local22.width + _local16)); }; _local21++; }; }; }; } mx_internal function getVerticalAlignValue():Number{ var _local1:String = target.getStyle("verticalAlign"); if (_local1 == "middle"){ return (0.5); }; if (_local1 == "bottom"){ return (1); }; return (0); } mx_internal function heightPadding(_arg1:Number):Number{ var _local2:EdgeMetrics = target.viewMetricsAndPadding; var _local3:Number = (_local2.top + _local2.bottom); if ((((_arg1 > 1)) && (isVertical()))){ _local3 = (_local3 + (target.getStyle("verticalGap") * (_arg1 - 1))); }; return (_local3); } mx_internal function widthPadding(_arg1:Number):Number{ var _local2:EdgeMetrics = target.viewMetricsAndPadding; var _local3:Number = (_local2.left + _local2.right); if ((((_arg1 > 1)) && ((isVertical() == false)))){ _local3 = (_local3 + (target.getStyle("horizontalGap") * (_arg1 - 1))); }; return (_local3); } override public function measure():void{ var _local1:Container; var _local10:Number; var _local11:Number; var _local12:IUIComponent; var _local13:Number; var _local14:Number; _local1 = super.target; var _local2:Boolean = isVertical(); var _local3:Number = 0; var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; var _local7:int = _local1.numChildren; var _local8:int = _local7; var _local9:int; while (_local9 < _local7) { _local12 = IUIComponent(_local1.getChildAt(_local9)); if (!_local12.includeInLayout){ _local8--; } else { _local13 = _local12.getExplicitOrMeasuredWidth(); _local14 = _local12.getExplicitOrMeasuredHeight(); if (_local2){ _local3 = Math.max((isNaN(_local12.percentWidth)) ? _local13 : _local12.minWidth, _local3); _local5 = Math.max(_local13, _local5); _local4 = (_local4 + (isNaN(_local12.percentHeight)) ? _local14 : _local12.minHeight); _local6 = (_local6 + _local14); } else { _local3 = (_local3 + (isNaN(_local12.percentWidth)) ? _local13 : _local12.minWidth); _local5 = (_local5 + _local13); _local4 = Math.max((isNaN(_local12.percentHeight)) ? _local14 : _local12.minHeight, _local4); _local6 = Math.max(_local14, _local6); }; }; _local9++; }; _local10 = widthPadding(_local8); _local11 = heightPadding(_local8); _local1.measuredMinWidth = (_local3 + _local10); _local1.measuredMinHeight = (_local4 + _local11); _local1.measuredWidth = (_local5 + _local10); _local1.measuredHeight = (_local6 + _local11); } } }//package mx.containers.utilityClasses
Section 432
//CanvasLayout (mx.containers.utilityClasses.CanvasLayout) package mx.containers.utilityClasses { import flash.display.*; import flash.geom.*; import mx.core.*; import mx.events.*; import flash.utils.*; import mx.containers.errors.*; public class CanvasLayout extends Layout { private var colSpanChildren:Array; private var constraintRegionsInUse:Boolean;// = false private var rowSpanChildren:Array; private var constraintCache:Dictionary; private var _contentArea:Rectangle; mx_internal static const VERSION:String = "3.0.0.0"; private static var r:Rectangle = new Rectangle(); public function CanvasLayout(){ colSpanChildren = []; rowSpanChildren = []; constraintCache = new Dictionary(true); super(); } private function parseConstraints(_arg1:IUIComponent=null):ChildConstraintInfo{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:String; var _local11:String; var _local12:String; var _local13:String; var _local14:String; var _local15:String; var _local16:String; var _local17:Array; var _local18:int; var _local30:ConstraintColumn; var _local31:Boolean; var _local32:ConstraintRow; var _local2:LayoutConstraints = getLayoutConstraints(_arg1); if (!_local2){ return (null); }; while (true) { _local17 = parseConstraintExp(_local2.left); if (!_local17){ _local3 = NaN; } else { if (_local17.length == 1){ _local3 = Number(_local17[0]); } else { _local10 = _local17[0]; _local3 = _local17[1]; }; }; _local17 = parseConstraintExp(_local2.right); if (!_local17){ _local4 = NaN; } else { if (_local17.length == 1){ _local4 = Number(_local17[0]); } else { _local11 = _local17[0]; _local4 = _local17[1]; }; }; _local17 = parseConstraintExp(_local2.horizontalCenter); if (!_local17){ _local5 = NaN; } else { if (_local17.length == 1){ _local5 = Number(_local17[0]); } else { _local12 = _local17[0]; _local5 = _local17[1]; }; }; _local17 = parseConstraintExp(_local2.top); if (!_local17){ _local6 = NaN; } else { if (_local17.length == 1){ _local6 = Number(_local17[0]); } else { _local13 = _local17[0]; _local6 = _local17[1]; }; }; _local17 = parseConstraintExp(_local2.bottom); if (!_local17){ _local7 = NaN; } else { if (_local17.length == 1){ _local7 = Number(_local17[0]); } else { _local14 = _local17[0]; _local7 = _local17[1]; }; }; _local17 = parseConstraintExp(_local2.verticalCenter); if (!_local17){ _local8 = NaN; } else { if (_local17.length == 1){ _local8 = Number(_local17[0]); } else { _local15 = _local17[0]; _local8 = _local17[1]; }; }; _local17 = parseConstraintExp(_local2.baseline); if (!_local17){ _local9 = NaN; } else { if (_local17.length == 1){ _local9 = Number(_local17[0]); } else { _local16 = _local17[0]; _local9 = _local17[1]; }; }; break; }; var _local19:ContentColumnChild = new ContentColumnChild(); var _local20:Boolean; var _local21:Number = 0; var _local22:Number = 0; var _local23:Number = 0; _local18 = 0; while (_local18 < IConstraintLayout(target).constraintColumns.length) { _local30 = IConstraintLayout(target).constraintColumns[_local18]; if (_local30.mx_internal::contentSize){ if (_local30.id == _local10){ _local19.leftCol = _local30; _local19.leftOffset = _local3; _local21 = _local18; _local19.left = _local21; _local20 = true; }; if (_local30.id == _local11){ _local19.rightCol = _local30; _local19.rightOffset = _local4; _local22 = (_local18 + 1); _local19.right = _local22; _local20 = true; }; if (_local30.id == _local12){ _local19.hcCol = _local30; _local19.hcOffset = _local5; _local23 = (_local18 + 1); _local19.hc = _local23; _local20 = true; }; }; _local18++; }; if (_local20){ _local19.child = _arg1; if (((((((_local19.leftCol) && (!(_local19.rightCol)))) || (((_local19.rightCol) && (!(_local19.leftCol)))))) || (_local19.hcCol))){ _local19.span = 1; } else { _local19.span = (_local22 - _local21); }; _local31 = false; _local18 = 0; while (_local18 < colSpanChildren.length) { if (_local19.child == colSpanChildren[_local18].child){ _local31 = true; break; }; _local18++; }; if (!_local31){ colSpanChildren.push(_local19); }; }; _local20 = false; var _local24:ContentRowChild = new ContentRowChild(); var _local25:Number = 0; var _local26:Number = 0; var _local27:Number = 0; var _local28:Number = 0; _local18 = 0; while (_local18 < IConstraintLayout(target).constraintRows.length) { _local32 = IConstraintLayout(target).constraintRows[_local18]; if (_local32.mx_internal::contentSize){ if (_local32.id == _local13){ _local24.topRow = _local32; _local24.topOffset = _local6; _local25 = _local18; _local24.top = _local25; _local20 = true; }; if (_local32.id == _local14){ _local24.bottomRow = _local32; _local24.bottomOffset = _local7; _local26 = (_local18 + 1); _local24.bottom = _local26; _local20 = true; }; if (_local32.id == _local15){ _local24.vcRow = _local32; _local24.vcOffset = _local8; _local27 = (_local18 + 1); _local24.vc = _local27; _local20 = true; }; if (_local32.id == _local16){ _local24.baselineRow = _local32; _local24.baselineOffset = _local9; _local28 = (_local18 + 1); _local24.baseline = _local28; _local20 = true; }; }; _local18++; }; if (_local20){ _local24.child = _arg1; if (((((((((_local24.topRow) && (!(_local24.bottomRow)))) || (((_local24.bottomRow) && (!(_local24.topRow)))))) || (_local24.vcRow))) || (_local24.baselineRow))){ _local24.span = 1; } else { _local24.span = (_local26 - _local25); }; _local31 = false; _local18 = 0; while (_local18 < rowSpanChildren.length) { if (_local24.child == rowSpanChildren[_local18].child){ _local31 = true; break; }; _local18++; }; if (!_local31){ rowSpanChildren.push(_local24); }; }; var _local29:ChildConstraintInfo = new ChildConstraintInfo(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13, _local14, _local15, _local16); constraintCache[_arg1] = _local29; return (_local29); } private function bound(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg1 < _arg2){ _arg1 = _arg2; } else { if (_arg1 > _arg3){ _arg1 = _arg3; } else { _arg1 = Math.floor(_arg1); }; }; return (_arg1); } private function shareRowSpace(_arg1:ContentRowChild, _arg2:Number):Number{ var _local11:Number; var _local12:Number; var _local13:Number; var _local3:ConstraintRow = _arg1.topRow; var _local4:ConstraintRow = _arg1.bottomRow; var _local5:IUIComponent = _arg1.child; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = (_arg1.topOffset) ? _arg1.topOffset : 0; var _local9:Number = (_arg1.bottomOffset) ? _arg1.bottomOffset : 0; if (((_local3) && (_local3.height))){ _local6 = (_local6 + _local3.height); } else { if (((_local4) && (!(_local3)))){ _local3 = IConstraintLayout(target).constraintRows[(_arg1.bottom - 2)]; if (((_local3) && (_local3.height))){ _local6 = (_local6 + _local3.height); }; }; }; if (((_local4) && (_local4.height))){ _local7 = (_local7 + _local4.height); } else { if (((_local3) && (!(_local4)))){ _local4 = IConstraintLayout(target).constraintRows[(_arg1.top + 1)]; if (((_local4) && (_local4.height))){ _local7 = (_local7 + _local4.height); }; }; }; if (((_local3) && (isNaN(_local3.height)))){ _local3.setActualHeight(Math.max(0, _local3.maxHeight)); }; if (((_local4) && (isNaN(_local4.height)))){ _local4.setActualHeight(Math.max(0, _local4.height)); }; var _local10:Number = _local5.getExplicitOrMeasuredHeight(); if (_local10){ if (!_arg1.topRow){ if (_local10 > _local6){ _local12 = ((_local10 - _local6) + _local9); } else { _local12 = (_local10 + _local9); }; }; if (!_arg1.bottomRow){ if (_local10 > _local7){ _local11 = ((_local10 - _local7) + _local8); } else { _local11 = (_local10 + _local8); }; }; if (((_arg1.topRow) && (_arg1.bottomRow))){ _local13 = (_local10 / Number(_arg1.span)); if ((_local13 + _local8) < _local6){ _local11 = _local6; _local12 = ((_local10 - (_local6 - _local8)) + _local9); } else { _local11 = (_local13 + _local8); }; if ((_local13 + _local9) < _local7){ _local12 = _local7; _local11 = ((_local10 - (_local7 - _local9)) + _local8); } else { _local12 = (_local13 + _local9); }; }; _local12 = bound(_local12, _local4.minHeight, _local4.maxHeight); _local4.setActualHeight(_local12); _arg2 = (_arg2 - _local12); _local11 = bound(_local11, _local3.minHeight, _local3.maxHeight); _local3.setActualHeight(_local11); _arg2 = (_arg2 - _local11); }; return (_arg2); } private function parseConstraintExp(_arg1:String):Array{ if (!_arg1){ return (null); }; var _local2:String = _arg1.replace(/:/g, " "); var _local3:Array = _local2.split(/\s+/); return (_local3); } private function measureColumnsAndRows():void{ var _local3:int; var _local4:int; var _local13:ConstraintColumn; var _local14:ConstraintRow; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:ContentColumnChild; var _local20:ContentRowChild; var _local1:Array = IConstraintLayout(target).constraintColumns; var _local2:Array = IConstraintLayout(target).constraintRows; if ((((!(_local2.length) > 0)) && ((!(_local1.length) > 0)))){ constraintRegionsInUse = false; return; }; constraintRegionsInUse = true; var _local5:Number = 0; var _local6:Number = 0; var _local7:EdgeMetrics = Container(target).viewMetrics; var _local8:Number = ((Container(target).width - _local7.left) - _local7.right); var _local9:Number = ((Container(target).height - _local7.top) - _local7.bottom); var _local10:Array = []; var _local11:Array = []; var _local12:Array = []; if (_local1.length > 0){ _local3 = 0; while (_local3 < _local1.length) { _local13 = _local1[_local3]; if (!isNaN(_local13.percentWidth)){ _local11.push(_local13); } else { if (((!(isNaN(_local13.width))) && (!(_local13.mx_internal::contentSize)))){ _local10.push(_local13); } else { _local12.push(_local13); _local13.mx_internal::contentSize = true; }; }; _local3++; }; _local3 = 0; while (_local3 < _local10.length) { _local13 = ConstraintColumn(_local10[_local3]); _local8 = (_local8 - _local13.width); _local3++; }; if (_local12.length > 0){ if (colSpanChildren.length > 0){ colSpanChildren.sortOn("span"); _local4 = 0; while (_local4 < colSpanChildren.length) { _local19 = colSpanChildren[_local4]; if (_local19.span == 1){ if (_local19.hcCol){ _local13 = ConstraintColumn(_local1[_local1.indexOf(_local19.hcCol)]); } else { if (_local19.leftCol){ _local13 = ConstraintColumn(_local1[_local1.indexOf(_local19.leftCol)]); } else { if (_local19.rightCol){ _local13 = ConstraintColumn(_local1[_local1.indexOf(_local19.rightCol)]); }; }; }; _local16 = _local19.child.getExplicitOrMeasuredWidth(); if (_local19.hcOffset){ _local16 = (_local16 + _local19.hcOffset); } else { if (_local19.leftOffset){ _local16 = (_local16 + _local19.leftOffset); }; if (_local19.rightOffset){ _local16 = (_local16 + _local19.rightOffset); }; }; if (!isNaN(_local13.width)){ _local16 = Math.max(_local13.width, _local16); }; _local16 = bound(_local16, _local13.minWidth, _local13.maxWidth); _local13.setActualWidth(_local16); _local8 = (_local8 - _local13.width); } else { _local8 = shareColumnSpace(_local19, _local8); }; _local4++; }; colSpanChildren = []; }; _local3 = 0; while (_local3 < _local12.length) { _local13 = _local12[_local3]; if (!_local13.width){ _local16 = bound(0, _local13.minWidth, 0); _local13.setActualWidth(_local16); }; _local3++; }; }; _local18 = _local8; _local3 = 0; while (_local3 < _local11.length) { _local13 = ConstraintColumn(_local11[_local3]); if (_local18 <= 0){ _local16 = 0; } else { _local16 = Math.round(((_local18 * _local13.percentWidth) / 100)); }; _local16 = bound(_local16, _local13.minWidth, _local13.maxWidth); _local13.setActualWidth(_local16); _local8 = (_local8 - _local16); _local3++; }; _local3 = 0; while (_local3 < _local1.length) { _local13 = ConstraintColumn(_local1[_local3]); _local13.x = _local5; _local5 = (_local5 + _local13.width); _local3++; }; }; _local10 = []; _local11 = []; _local12 = []; if (_local2.length > 0){ _local3 = 0; while (_local3 < _local2.length) { _local14 = _local2[_local3]; if (!isNaN(_local14.percentHeight)){ _local11.push(_local14); } else { if (((!(isNaN(_local14.height))) && (!(_local14.mx_internal::contentSize)))){ _local10.push(_local14); } else { _local12.push(_local14); _local14.mx_internal::contentSize = true; }; }; _local3++; }; _local3 = 0; while (_local3 < _local10.length) { _local14 = ConstraintRow(_local10[_local3]); _local9 = (_local9 - _local14.height); _local3++; }; if (_local12.length > 0){ if (rowSpanChildren.length > 0){ rowSpanChildren.sortOn("span"); _local4 = 0; while (_local4 < rowSpanChildren.length) { _local20 = rowSpanChildren[_local4]; if (_local20.span == 1){ if (_local20.vcRow){ _local14 = ConstraintRow(_local2[_local2.indexOf(_local20.vcRow)]); } else { if (_local20.baselineRow){ _local14 = ConstraintRow(_local2[_local2.indexOf(_local20.baselineRow)]); } else { if (_local20.topRow){ _local14 = ConstraintRow(_local2[_local2.indexOf(_local20.topRow)]); } else { if (_local20.bottomRow){ _local14 = ConstraintRow(_local2[_local2.indexOf(_local20.bottomRow)]); }; }; }; }; _local17 = _local20.child.getExplicitOrMeasuredHeight(); if (_local20.baselineOffset){ _local17 = (_local17 + _local20.baselineOffset); } else { if (_local20.vcOffset){ _local17 = (_local17 + _local20.vcOffset); } else { if (_local20.topOffset){ _local17 = (_local17 + _local20.topOffset); }; if (_local20.bottomOffset){ _local17 = (_local17 + _local20.bottomOffset); }; }; }; if (!isNaN(_local14.height)){ _local17 = Math.max(_local14.height, _local17); }; _local17 = bound(_local17, _local14.minHeight, _local14.maxHeight); _local14.setActualHeight(_local17); _local9 = (_local9 - _local14.height); } else { _local9 = shareRowSpace(_local20, _local9); }; _local4++; }; rowSpanChildren = []; }; _local3 = 0; while (_local3 < _local12.length) { _local14 = ConstraintRow(_local12[_local3]); if (!_local14.height){ _local17 = bound(0, _local14.minHeight, 0); _local14.setActualHeight(_local17); }; _local3++; }; }; _local18 = _local9; _local3 = 0; while (_local3 < _local11.length) { _local14 = ConstraintRow(_local11[_local3]); if (_local18 <= 0){ _local17 = 0; } else { _local17 = Math.round(((_local18 * _local14.percentHeight) / 100)); }; _local17 = bound(_local17, _local14.minHeight, _local14.maxHeight); _local14.setActualHeight(_local17); _local9 = (_local9 - _local17); _local3++; }; _local3 = 0; while (_local3 < _local2.length) { _local14 = _local2[_local3]; _local14.y = _local6; _local6 = (_local6 + _local14.height); _local3++; }; }; } private function child_moveHandler(_arg1:MoveEvent):void{ if ((_arg1.target is IUIComponent)){ if (!IUIComponent(_arg1.target).includeInLayout){ return; }; }; var _local2:Container = super.target; if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); _contentArea = null; }; } private function applyAnchorStylesDuringMeasure(_arg1:IUIComponent, _arg2:Rectangle):void{ var _local13:int; var _local3:IConstraintClient = (_arg1 as IConstraintClient); if (!_local3){ return; }; var _local4:ChildConstraintInfo = constraintCache[_local3]; if (!_local4){ _local4 = parseConstraints(_arg1); }; var _local5:Number = _local4.left; var _local6:Number = _local4.right; var _local7:Number = _local4.hc; var _local8:Number = _local4.top; var _local9:Number = _local4.bottom; var _local10:Number = _local4.vc; var _local11:Array = IConstraintLayout(target).constraintColumns; var _local12:Array = IConstraintLayout(target).constraintRows; var _local14:Number = 0; if (!(_local11.length) > 0){ if (!isNaN(_local7)){ _arg2.x = Math.round((((target.width - _arg1.width) / 2) + _local7)); } else { if (((!(isNaN(_local5))) && (!(isNaN(_local6))))){ _arg2.x = _local5; _arg2.width = (_arg2.width + _local6); } else { if (!isNaN(_local5)){ _arg2.x = _local5; } else { if (!isNaN(_local6)){ _arg2.x = 0; _arg2.width = (_arg2.width + _local6); }; }; }; }; } else { _arg2.x = 0; _local13 = 0; while (_local13 < _local11.length) { _local14 = (_local14 + ConstraintColumn(_local11[_local13]).width); _local13++; }; _arg2.width = _local14; }; if (!(_local12.length) > 0){ if (!isNaN(_local10)){ _arg2.y = Math.round((((target.height - _arg1.height) / 2) + _local10)); } else { if (((!(isNaN(_local8))) && (!(isNaN(_local9))))){ _arg2.y = _local8; _arg2.height = (_arg2.height + _local9); } else { if (!isNaN(_local8)){ _arg2.y = _local8; } else { if (!isNaN(_local9)){ _arg2.y = 0; _arg2.height = (_arg2.height + _local9); }; }; }; }; } else { _local14 = 0; _arg2.y = 0; _local13 = 0; while (_local13 < _local12.length) { _local14 = (_local14 + ConstraintRow(_local12[_local13]).height); _local13++; }; _arg2.height = _local14; }; } override public function measure():void{ var _local1:Container; var _local5:EdgeMetrics; var _local6:Rectangle; var _local7:IUIComponent; var _local8:ConstraintColumn; var _local9:ConstraintRow; _local1 = super.target; var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = 0; _local5 = _local1.viewMetrics; _local4 = 0; while (_local4 < _local1.numChildren) { _local7 = (_local1.getChildAt(_local4) as IUIComponent); parseConstraints(_local7); _local4++; }; _local4 = 0; while (_local4 < IConstraintLayout(_local1).constraintColumns.length) { _local8 = IConstraintLayout(_local1).constraintColumns[_local4]; if (_local8.mx_internal::contentSize){ _local8.mx_internal::_width = NaN; }; _local4++; }; _local4 = 0; while (_local4 < IConstraintLayout(_local1).constraintRows.length) { _local9 = IConstraintLayout(_local1).constraintRows[_local4]; if (_local9.mx_internal::contentSize){ _local9.mx_internal::_height = NaN; }; _local4++; }; measureColumnsAndRows(); _contentArea = null; _local6 = measureContentArea(); _local1.measuredWidth = ((_local6.width + _local5.left) + _local5.right); _local1.measuredHeight = ((_local6.height + _local5.top) + _local5.bottom); } private function target_childRemoveHandler(_arg1:ChildExistenceChangedEvent):void{ DisplayObject(_arg1.relatedObject).removeEventListener(MoveEvent.MOVE, child_moveHandler); delete constraintCache[_arg1.relatedObject]; } override public function set target(_arg1:Container):void{ var _local3:int; var _local4:int; var _local2:Container = super.target; if (_arg1 != _local2){ if (_local2){ _local2.removeEventListener(ChildExistenceChangedEvent.CHILD_ADD, target_childAddHandler); _local2.removeEventListener(ChildExistenceChangedEvent.CHILD_REMOVE, target_childRemoveHandler); _local4 = _local2.numChildren; _local3 = 0; while (_local3 < _local4) { DisplayObject(_local2.getChildAt(_local3)).removeEventListener(MoveEvent.MOVE, child_moveHandler); _local3++; }; }; if (_arg1){ _arg1.addEventListener(ChildExistenceChangedEvent.CHILD_ADD, target_childAddHandler); _arg1.addEventListener(ChildExistenceChangedEvent.CHILD_REMOVE, target_childRemoveHandler); _local4 = _arg1.numChildren; _local3 = 0; while (_local3 < _local4) { DisplayObject(_arg1.getChildAt(_local3)).addEventListener(MoveEvent.MOVE, child_moveHandler); _local3++; }; }; super.target = _arg1; }; } private function measureContentArea():Rectangle{ var _local1:int; var _local3:Array; var _local4:Array; var _local5:IUIComponent; var _local6:LayoutConstraints; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; if (_contentArea){ return (_contentArea); }; _contentArea = new Rectangle(); var _local2:int = target.numChildren; if ((((_local2 == 0)) && (constraintRegionsInUse))){ _local3 = IConstraintLayout(target).constraintColumns; _local4 = IConstraintLayout(target).constraintRows; if (_local3.length > 0){ _contentArea.right = (_local3[(_local3.length - 1)].x + _local3[(_local3.length - 1)].width); } else { _contentArea.right = 0; }; if (_local4.length > 0){ _contentArea.bottom = (_local4[(_local4.length - 1)].y + _local4[(_local4.length - 1)].height); } else { _contentArea.bottom = 0; }; }; _local1 = 0; while (_local1 < _local2) { _local5 = (target.getChildAt(_local1) as IUIComponent); _local6 = getLayoutConstraints(_local5); if (!_local5.includeInLayout){ } else { _local7 = _local5.x; _local8 = _local5.y; _local9 = _local5.getExplicitOrMeasuredWidth(); _local10 = _local5.getExplicitOrMeasuredHeight(); if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ if (((!(isNaN(_local5.percentWidth))) || (((((_local6) && (!(isNaN(_local6.left))))) && (!(isNaN(_local6.right))))))){ _local9 = _local5.minWidth; }; } else { if (((!(isNaN(_local5.percentWidth))) || (((((((_local6) && (!(isNaN(_local6.left))))) && (!(isNaN(_local6.right))))) && (isNaN(_local5.explicitWidth)))))){ _local9 = _local5.minWidth; }; }; if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ if (((!(isNaN(_local5.percentHeight))) || (((((_local6) && (!(isNaN(_local6.top))))) && (!(isNaN(_local6.bottom))))))){ _local10 = _local5.minHeight; }; } else { if (((!(isNaN(_local5.percentHeight))) || (((((((_local6) && (!(isNaN(_local6.top))))) && (!(isNaN(_local6.bottom))))) && (isNaN(_local5.explicitHeight)))))){ _local10 = _local5.minHeight; }; }; r.x = _local7; r.y = _local8; r.width = _local9; r.height = _local10; applyAnchorStylesDuringMeasure(_local5, r); _local7 = r.x; _local8 = r.y; _local9 = r.width; _local10 = r.height; if (isNaN(_local7)){ _local7 = _local5.x; }; if (isNaN(_local8)){ _local8 = _local5.y; }; _local11 = _local7; _local12 = _local8; if (isNaN(_local9)){ _local9 = _local5.width; }; if (isNaN(_local10)){ _local10 = _local5.height; }; _local11 = (_local11 + _local9); _local12 = (_local12 + _local10); _contentArea.right = Math.max(_contentArea.right, _local11); _contentArea.bottom = Math.max(_contentArea.bottom, _local12); }; _local1++; }; return (_contentArea); } private function shareColumnSpace(_arg1:ContentColumnChild, _arg2:Number):Number{ var _local11:Number; var _local12:Number; var _local13:Number; var _local3:ConstraintColumn = _arg1.leftCol; var _local4:ConstraintColumn = _arg1.rightCol; var _local5:IUIComponent = _arg1.child; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = (_arg1.rightOffset) ? _arg1.rightOffset : 0; var _local9:Number = (_arg1.leftOffset) ? _arg1.leftOffset : 0; if (((_local3) && (_local3.width))){ _local6 = (_local6 + _local3.width); } else { if (((_local4) && (!(_local3)))){ _local3 = IConstraintLayout(target).constraintColumns[(_arg1.right - 2)]; if (((_local3) && (_local3.width))){ _local6 = (_local6 + _local3.width); }; }; }; if (((_local4) && (_local4.width))){ _local7 = (_local7 + _local4.width); } else { if (((_local3) && (!(_local4)))){ _local4 = IConstraintLayout(target).constraintColumns[(_arg1.left + 1)]; if (((_local4) && (_local4.width))){ _local7 = (_local7 + _local4.width); }; }; }; if (((_local3) && (isNaN(_local3.width)))){ _local3.setActualWidth(Math.max(0, _local3.maxWidth)); }; if (((_local4) && (isNaN(_local4.width)))){ _local4.setActualWidth(Math.max(0, _local4.maxWidth)); }; var _local10:Number = _local5.getExplicitOrMeasuredWidth(); if (_local10){ if (!_arg1.leftCol){ if (_local10 > _local6){ _local12 = ((_local10 - _local6) + _local8); } else { _local12 = (_local10 + _local8); }; }; if (!_arg1.rightCol){ if (_local10 > _local7){ _local11 = ((_local10 - _local7) + _local9); } else { _local11 = (_local10 + _local9); }; }; if (((_arg1.leftCol) && (_arg1.rightCol))){ _local13 = (_local10 / Number(_arg1.span)); if ((_local13 + _local9) < _local6){ _local11 = _local6; _local12 = ((_local10 - (_local6 - _local9)) + _local8); } else { _local11 = (_local13 + _local9); }; if ((_local13 + _local8) < _local7){ _local12 = _local7; _local11 = ((_local10 - (_local7 - _local8)) + _local9); } else { _local12 = (_local13 + _local8); }; }; _local11 = bound(_local11, _local3.minWidth, _local3.maxWidth); _local3.setActualWidth(_local11); _arg2 = (_arg2 - _local11); _local12 = bound(_local12, _local4.minWidth, _local4.maxWidth); _local4.setActualWidth(_local12); _arg2 = (_arg2 - _local12); }; return (_arg2); } private function getLayoutConstraints(_arg1:IUIComponent):LayoutConstraints{ var _local2:IConstraintClient = (_arg1 as IConstraintClient); if (!_local2){ return (null); }; var _local3:LayoutConstraints = new LayoutConstraints(); _local3.baseline = _local2.getConstraintValue("baseline"); _local3.bottom = _local2.getConstraintValue("bottom"); _local3.horizontalCenter = _local2.getConstraintValue("horizontalCenter"); _local3.left = _local2.getConstraintValue("left"); _local3.right = _local2.getConstraintValue("right"); _local3.top = _local2.getConstraintValue("top"); _local3.verticalCenter = _local2.getConstraintValue("verticalCenter"); return (_local3); } override public function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:int; var _local4:IUIComponent; var _local10:ConstraintColumn; var _local11:ConstraintRow; var _local5:Container = super.target; var _local6:int = _local5.numChildren; _local5.mx_internal::doingLayout = false; var _local7:EdgeMetrics = _local5.viewMetrics; _local5.mx_internal::doingLayout = true; var _local8:Number = ((_arg1 - _local7.left) - _local7.right); var _local9:Number = ((_arg2 - _local7.top) - _local7.bottom); if ((((IConstraintLayout(_local5).constraintColumns.length > 0)) || ((IConstraintLayout(_local5).constraintRows.length > 0)))){ constraintRegionsInUse = true; }; if (constraintRegionsInUse){ _local3 = 0; while (_local3 < _local6) { _local4 = (_local5.getChildAt(_local3) as IUIComponent); parseConstraints(_local4); _local3++; }; _local3 = 0; while (_local3 < IConstraintLayout(_local5).constraintColumns.length) { _local10 = IConstraintLayout(_local5).constraintColumns[_local3]; if (_local10.mx_internal::contentSize){ _local10.mx_internal::_width = NaN; }; _local3++; }; _local3 = 0; while (_local3 < IConstraintLayout(_local5).constraintRows.length) { _local11 = IConstraintLayout(_local5).constraintRows[_local3]; if (_local11.mx_internal::contentSize){ _local11.mx_internal::_height = NaN; }; _local3++; }; measureColumnsAndRows(); }; _local3 = 0; while (_local3 < _local6) { _local4 = (_local5.getChildAt(_local3) as IUIComponent); applyAnchorStylesDuringUpdateDisplayList(_local8, _local9, _local4); _local3++; }; } private function applyAnchorStylesDuringUpdateDisplayList(_arg1:Number, _arg2:Number, _arg3:IUIComponent=null):void{ var _local20:int; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:String; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local39:Boolean; var _local40:Boolean; var _local41:Boolean; var _local42:ConstraintColumn; var _local43:Boolean; var _local44:Boolean; var _local45:Boolean; var _local46:Boolean; var _local47:ConstraintRow; var _local4:IConstraintClient = (_arg3 as IConstraintClient); if (!_local4){ return; }; var _local5:ChildConstraintInfo = parseConstraints(_arg3); var _local6:Number = _local5.left; var _local7:Number = _local5.right; var _local8:Number = _local5.hc; var _local9:Number = _local5.top; var _local10:Number = _local5.bottom; var _local11:Number = _local5.vc; var _local12:Number = _local5.baseline; var _local13:String = _local5.leftBoundary; var _local14:String = _local5.rightBoundary; var _local15:String = _local5.hcBoundary; var _local16:String = _local5.topBoundary; var _local17:String = _local5.bottomBoundary; var _local18:String = _local5.vcBoundary; var _local19:String = _local5.baselineBoundary; var _local26:Boolean; var _local27:Boolean; var _local28:Boolean = ((((!(_local15)) && (!(_local13)))) && (!(_local14))); var _local29:Boolean = ((((((!(_local18)) && (!(_local16)))) && (!(_local17)))) && (!(_local19))); var _local30:Number = 0; var _local31:Number = _arg1; var _local32:Number = 0; var _local33:Number = _arg2; if (!_local28){ _local39 = (_local13) ? true : false; _local40 = (_local14) ? true : false; _local41 = (_local15) ? true : false; _local20 = 0; while (_local20 < IConstraintLayout(target).constraintColumns.length) { _local42 = ConstraintColumn(IConstraintLayout(target).constraintColumns[_local20]); if (_local39){ if (_local13 == _local42.id){ _local30 = _local42.x; _local39 = false; }; }; if (_local40){ if (_local14 == _local42.id){ _local31 = (_local42.x + _local42.width); _local40 = false; }; }; if (_local41){ if (_local15 == _local42.id){ _local35 = _local42.width; _local37 = _local42.x; _local41 = false; }; }; _local20++; }; if (_local39){ _local25 = resourceManager.getString("containers", "columnNotFound", [_local13]); throw (new ConstraintError(_local25)); }; if (_local40){ _local25 = resourceManager.getString("containers", "columnNotFound", [_local14]); throw (new ConstraintError(_local25)); }; if (_local41){ _local25 = resourceManager.getString("containers", "columnNotFound", [_local15]); throw (new ConstraintError(_local25)); }; } else { if (!_local28){ _local25 = resourceManager.getString("containers", "noColumnsFound"); throw (new ConstraintError(_local25)); }; }; _arg1 = Math.round((_local31 - _local30)); if (((!(isNaN(_local6))) && (!(isNaN(_local7))))){ _local21 = ((_arg1 - _local6) - _local7); if (_local21 < _arg3.minWidth){ _local21 = _arg3.minWidth; }; } else { if (!isNaN(_arg3.percentWidth)){ _local21 = ((_arg3.percentWidth / 100) * _arg1); _local21 = bound(_local21, _arg3.minWidth, _arg3.maxWidth); _local26 = true; } else { _local21 = _arg3.getExplicitOrMeasuredWidth(); }; }; if (((!(_local29)) && ((IConstraintLayout(target).constraintRows.length > 0)))){ _local43 = (_local16) ? true : false; _local44 = (_local17) ? true : false; _local45 = (_local18) ? true : false; _local46 = (_local19) ? true : false; _local20 = 0; while (_local20 < IConstraintLayout(target).constraintRows.length) { _local47 = ConstraintRow(IConstraintLayout(target).constraintRows[_local20]); if (_local43){ if (_local16 == _local47.id){ _local32 = _local47.y; _local43 = false; }; }; if (_local44){ if (_local17 == _local47.id){ _local33 = (_local47.y + _local47.height); _local44 = false; }; }; if (_local45){ if (_local18 == _local47.id){ _local34 = _local47.height; _local36 = _local47.y; _local45 = false; }; }; if (_local46){ if (_local19 == _local47.id){ _local38 = _local47.y; _local46 = false; }; }; _local20++; }; if (_local43){ _local25 = resourceManager.getString("containers", "rowNotFound", [_local16]); throw (new ConstraintError(_local25)); }; if (_local44){ _local25 = resourceManager.getString("containers", "rowNotFound", [_local17]); throw (new ConstraintError(_local25)); }; if (_local45){ _local25 = resourceManager.getString("containers", "rowNotFound", [_local18]); throw (new ConstraintError(_local25)); }; if (_local46){ _local25 = resourceManager.getString("containers", "rowNotFound", [_local19]); throw (new ConstraintError(_local25)); }; } else { if (((!(_local29)) && (!((IConstraintLayout(target).constraintRows.length > 0))))){ _local25 = resourceManager.getString("containers", "noRowsFound"); throw (new ConstraintError(_local25)); }; }; _arg2 = Math.round((_local33 - _local32)); if (((!(isNaN(_local9))) && (!(isNaN(_local10))))){ _local22 = ((_arg2 - _local9) - _local10); if (_local22 < _arg3.minHeight){ _local22 = _arg3.minHeight; }; } else { if (!isNaN(_arg3.percentHeight)){ _local22 = ((_arg3.percentHeight / 100) * _arg2); _local22 = bound(_local22, _arg3.minHeight, _arg3.maxHeight); _local27 = true; } else { _local22 = _arg3.getExplicitOrMeasuredHeight(); }; }; if (!isNaN(_local8)){ if (_local15){ _local23 = Math.round(((((_local35 - _local21) / 2) + _local8) + _local37)); } else { _local23 = Math.round((((_arg1 - _local21) / 2) + _local8)); }; } else { if (!isNaN(_local6)){ if (_local13){ _local23 = (_local30 + _local6); } else { _local23 = _local6; }; } else { if (!isNaN(_local7)){ if (_local14){ _local23 = ((_local31 - _local7) - _local21); } else { _local23 = ((_arg1 - _local7) - _local21); }; }; }; }; if (!isNaN(_local12)){ if (_local19){ _local24 = ((_local38 - _arg3.baselinePosition) + _local12); } else { _local24 = _local12; }; }; if (!isNaN(_local11)){ if (_local18){ _local24 = Math.round(((((_local34 - _local22) / 2) + _local11) + _local36)); } else { _local24 = Math.round((((_arg2 - _local22) / 2) + _local11)); }; } else { if (!isNaN(_local9)){ if (_local16){ _local24 = (_local32 + _local9); } else { _local24 = _local9; }; } else { if (!isNaN(_local10)){ if (_local17){ _local24 = ((_local33 - _local10) - _local22); } else { _local24 = ((_arg2 - _local10) - _local22); }; }; }; }; _local23 = (isNaN(_local23)) ? _arg3.x : _local23; _local24 = (isNaN(_local24)) ? _arg3.y : _local24; _arg3.move(_local23, _local24); if (_local26){ if ((_local23 + _local21) > _arg1){ _local21 = Math.max((_arg1 - _local23), _arg3.minWidth); }; }; if (_local27){ if ((_local24 + _local22) > _arg2){ _local22 = Math.max((_arg2 - _local24), _arg3.minHeight); }; }; if (((!(isNaN(_local21))) && (!(isNaN(_local22))))){ _arg3.setActualSize(_local21, _local22); }; } private function target_childAddHandler(_arg1:ChildExistenceChangedEvent):void{ DisplayObject(_arg1.relatedObject).addEventListener(MoveEvent.MOVE, child_moveHandler); } } }//package mx.containers.utilityClasses import mx.core.*; class LayoutConstraints { public var baseline; public var left; public var bottom; public var top; public var horizontalCenter; public var verticalCenter; public var right; private function LayoutConstraints():void{ } } class ChildConstraintInfo { public var baseline:Number; public var left:Number; public var baselineBoundary:String; public var leftBoundary:String; public var hcBoundary:String; public var top:Number; public var right:Number; public var topBoundary:String; public var rightBoundary:String; public var bottom:Number; public var vc:Number; public var bottomBoundary:String; public var vcBoundary:String; public var hc:Number; private function ChildConstraintInfo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:String=null, _arg9:String=null, _arg10:String=null, _arg11:String=null, _arg12:String=null, _arg13:String=null, _arg14:String=null):void{ this.left = _arg1; this.right = _arg2; this.hc = _arg3; this.top = _arg4; this.bottom = _arg5; this.vc = _arg6; this.baseline = _arg7; this.leftBoundary = _arg8; this.rightBoundary = _arg9; this.hcBoundary = _arg10; this.topBoundary = _arg11; this.bottomBoundary = _arg12; this.vcBoundary = _arg13; this.baselineBoundary = _arg14; } } class ContentColumnChild { public var rightCol:ConstraintColumn; public var hcCol:ConstraintColumn; public var left:Number; public var child:IUIComponent; public var rightOffset:Number; public var span:Number; public var hcOffset:Number; public var leftCol:ConstraintColumn; public var leftOffset:Number; public var hc:Number; public var right:Number; private function ContentColumnChild():void{ } } class ContentRowChild { public var topRow:ConstraintRow; public var topOffset:Number; public var baseline:Number; public var baselineRow:ConstraintRow; public var span:Number; public var top:Number; public var vcOffset:Number; public var child:IUIComponent; public var bottomOffset:Number; public var bottom:Number; public var vc:Number; public var bottomRow:ConstraintRow; public var vcRow:ConstraintRow; public var baselineOffset:Number; private function ContentRowChild():void{ } }
Section 433
//ConstraintColumn (mx.containers.utilityClasses.ConstraintColumn) package mx.containers.utilityClasses { import mx.core.*; import flash.events.*; public class ConstraintColumn extends EventDispatcher implements IMXMLObject { private var _container:IInvalidating; private var _explicitMinWidth:Number; mx_internal var _width:Number; mx_internal var contentSize:Boolean;// = false private var _percentWidth:Number; private var _explicitWidth:Number; private var _explicitMaxWidth:Number; private var _x:Number; private var _id:String; mx_internal static const VERSION:String = "3.0.0.0"; public function get container():IInvalidating{ return (_container); } public function get width():Number{ return (_width); } public function get percentWidth():Number{ return (_percentWidth); } public function set container(_arg1:IInvalidating):void{ _container = _arg1; } public function set maxWidth(_arg1:Number):void{ if (_explicitMaxWidth != _arg1){ _explicitMaxWidth = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("maxWidthChanged")); }; } public function set width(_arg1:Number):void{ if (explicitWidth != _arg1){ explicitWidth = _arg1; if (_width != _arg1){ _width = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("widthChanged")); }; }; } public function get maxWidth():Number{ return (_explicitMaxWidth); } public function get minWidth():Number{ return (_explicitMinWidth); } public function get id():String{ return (_id); } public function initialized(_arg1:Object, _arg2:String):void{ this.id = _arg2; if (((!(this.width)) && (!(this.percentWidth)))){ contentSize = true; }; } public function set explicitWidth(_arg1:Number):void{ if (_explicitWidth == _arg1){ return; }; if (!isNaN(_arg1)){ _percentWidth = NaN; }; _explicitWidth = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("explicitWidthChanged")); } public function setActualWidth(_arg1:Number):void{ if (_width != _arg1){ _width = _arg1; dispatchEvent(new Event("widthChanged")); }; } public function set minWidth(_arg1:Number):void{ if (_explicitMinWidth != _arg1){ _explicitMinWidth = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("minWidthChanged")); }; } public function set percentWidth(_arg1:Number):void{ if (_percentWidth == _arg1){ return; }; if (!isNaN(_arg1)){ _explicitWidth = NaN; }; _percentWidth = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("percentWidthChanged")); } public function set x(_arg1:Number):void{ if (_arg1 != _x){ _x = _arg1; dispatchEvent(new Event("xChanged")); }; } public function get explicitWidth():Number{ return (_explicitWidth); } public function set id(_arg1:String):void{ _id = _arg1; } public function get x():Number{ return (_x); } } }//package mx.containers.utilityClasses
Section 434
//ConstraintRow (mx.containers.utilityClasses.ConstraintRow) package mx.containers.utilityClasses { import mx.core.*; import flash.events.*; public class ConstraintRow extends EventDispatcher implements IMXMLObject { private var _container:IInvalidating; mx_internal var _height:Number; private var _explicitMinHeight:Number; private var _y:Number; private var _percentHeight:Number; private var _explicitMaxHeight:Number; mx_internal var contentSize:Boolean;// = false private var _explicitHeight:Number; private var _id:String; mx_internal static const VERSION:String = "3.0.0.0"; public function get container():IInvalidating{ return (_container); } public function set container(_arg1:IInvalidating):void{ _container = _arg1; } public function set y(_arg1:Number):void{ if (_arg1 != _y){ _y = _arg1; dispatchEvent(new Event("yChanged")); }; } public function set height(_arg1:Number):void{ if (explicitHeight != _arg1){ explicitHeight = _arg1; if (_height != _arg1){ _height = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("heightChanged")); }; }; } public function set maxHeight(_arg1:Number):void{ if (_explicitMaxHeight != _arg1){ _explicitMaxHeight = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("maxHeightChanged")); }; } public function setActualHeight(_arg1:Number):void{ if (_height != _arg1){ _height = _arg1; dispatchEvent(new Event("heightChanged")); }; } public function get minHeight():Number{ return (_explicitMinHeight); } public function get id():String{ return (_id); } public function set percentHeight(_arg1:Number):void{ if (_percentHeight == _arg1){ return; }; if (!isNaN(_arg1)){ _explicitHeight = NaN; }; _percentHeight = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; } public function initialized(_arg1:Object, _arg2:String):void{ this.id = _arg2; if (((!(this.height)) && (!(this.percentHeight)))){ contentSize = true; }; } public function get percentHeight():Number{ return (_percentHeight); } public function get height():Number{ return (_height); } public function get maxHeight():Number{ return (_explicitMaxHeight); } public function set minHeight(_arg1:Number):void{ if (_explicitMinHeight != _arg1){ _explicitMinHeight = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("minHeightChanged")); }; } public function set id(_arg1:String):void{ _id = _arg1; } public function get y():Number{ return (_y); } public function get explicitHeight():Number{ return (_explicitHeight); } public function set explicitHeight(_arg1:Number):void{ if (_explicitHeight == _arg1){ return; }; if (!isNaN(_arg1)){ _percentHeight = NaN; }; _explicitHeight = _arg1; if (container){ container.invalidateSize(); container.invalidateDisplayList(); }; dispatchEvent(new Event("explicitHeightChanged")); } } }//package mx.containers.utilityClasses
Section 435
//Flex (mx.containers.utilityClasses.Flex) package mx.containers.utilityClasses { import mx.core.*; public class Flex { mx_internal static const VERSION:String = "3.0.0.0"; public static function flexChildWidthsProportionally(_arg1:Container, _arg2:Number, _arg3:Number):Number{ var _local6:Array; var _local7:FlexChildInfo; var _local8:IUIComponent; var _local9:int; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local4:Number = _arg2; var _local5:Number = 0; _local6 = []; var _local10:int = _arg1.numChildren; _local9 = 0; while (_local9 < _local10) { _local8 = IUIComponent(_arg1.getChildAt(_local9)); _local11 = _local8.percentWidth; _local12 = _local8.percentHeight; if (((!(isNaN(_local12))) && (_local8.includeInLayout))){ _local13 = Math.max(_local8.minHeight, Math.min(_local8.maxHeight, ((_local12)>=100) ? _arg3 : ((_arg3 * _local12) / 100))); } else { _local13 = _local8.getExplicitOrMeasuredHeight(); }; if (((!(isNaN(_local11))) && (_local8.includeInLayout))){ _local5 = (_local5 + _local11); _local7 = new FlexChildInfo(); _local7.percent = _local11; _local7.min = _local8.minWidth; _local7.max = _local8.maxWidth; _local7.height = _local13; _local7.child = _local8; _local6.push(_local7); } else { _local14 = _local8.getExplicitOrMeasuredWidth(); if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local14), Math.floor(_local13)); } else { _local8.setActualSize(_local14, _local13); }; if (_local8.includeInLayout){ _local4 = (_local4 - _local8.width); }; }; _local9++; }; if (_local5){ _local4 = flexChildrenProportionally(_arg2, _local4, _local5, _local6); _local10 = _local6.length; _local9 = 0; while (_local9 < _local10) { _local7 = _local6[_local9]; _local8 = _local7.child; if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local7.size), Math.floor(_local7.height)); } else { _local8.setActualSize(_local7.size, _local7.height); }; _local9++; }; if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ distributeExtraWidth(_arg1, _arg2); }; }; return (_local4); } public static function distributeExtraHeight(_arg1:Container, _arg2:Number):void{ var _local5:int; var _local6:Number; var _local9:IUIComponent; var _local10:Number; var _local11:Number; var _local3:int = _arg1.numChildren; var _local4:Boolean; var _local7:Number = _arg2; var _local8:Number = 0; _local5 = 0; while (_local5 < _local3) { _local9 = IUIComponent(_arg1.getChildAt(_local5)); if (!_local9.includeInLayout){ } else { _local10 = _local9.height; _local6 = _local9.percentHeight; _local8 = (_local8 + _local10); if (!isNaN(_local6)){ _local11 = Math.ceil(((_local6 / 100) * _arg2)); if (_local11 > _local10){ _local4 = true; }; }; }; _local5++; }; if (!_local4){ return; }; _local7 = (_local7 - _local8); var _local12:Boolean; while (((_local12) && ((_local7 > 0)))) { _local12 = false; _local5 = 0; while (_local5 < _local3) { _local9 = IUIComponent(_arg1.getChildAt(_local5)); _local10 = _local9.height; _local6 = _local9.percentHeight; if (((((!(isNaN(_local6))) && (_local9.includeInLayout))) && ((_local10 < _local9.maxHeight)))){ _local11 = Math.ceil(((_local6 / 100) * _arg2)); if (_local11 > _local10){ _local9.setActualSize(_local9.width, (_local10 + 1)); _local7--; _local12 = true; if (_local7 == 0){ return; }; }; }; _local5++; }; }; } public static function distributeExtraWidth(_arg1:Container, _arg2:Number):void{ var _local5:int; var _local6:Number; var _local9:IUIComponent; var _local10:Number; var _local11:Number; var _local3:int = _arg1.numChildren; var _local4:Boolean; var _local7:Number = _arg2; var _local8:Number = 0; _local5 = 0; while (_local5 < _local3) { _local9 = IUIComponent(_arg1.getChildAt(_local5)); if (!_local9.includeInLayout){ } else { _local10 = _local9.width; _local6 = _local9.percentWidth; _local8 = (_local8 + _local10); if (!isNaN(_local6)){ _local11 = Math.ceil(((_local6 / 100) * _arg2)); if (_local11 > _local10){ _local4 = true; }; }; }; _local5++; }; if (!_local4){ return; }; _local7 = (_local7 - _local8); var _local12:Boolean; while (((_local12) && ((_local7 > 0)))) { _local12 = false; _local5 = 0; while (_local5 < _local3) { _local9 = IUIComponent(_arg1.getChildAt(_local5)); _local10 = _local9.width; _local6 = _local9.percentWidth; if (((((!(isNaN(_local6))) && (_local9.includeInLayout))) && ((_local10 < _local9.maxWidth)))){ _local11 = Math.ceil(((_local6 / 100) * _arg2)); if (_local11 > _local10){ _local9.setActualSize((_local10 + 1), _local9.height); _local7--; _local12 = true; if (_local7 == 0){ return; }; }; }; _local5++; }; }; } public static function flexChildrenProportionally(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Array):Number{ var _local6:Number; var _local7:Boolean; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local5:int = _arg4.length; var _local8:Number = (_arg2 - ((_arg1 * _arg3) / 100)); if (_local8 > 0){ _arg2 = (_arg2 - _local8); }; do { _local6 = 0; _local7 = true; _local9 = (_arg2 / _arg3); _local10 = 0; while (_local10 < _local5) { _local11 = _arg4[_local10]; _local12 = (_local11.percent * _local9); if (_local12 < _local11.min){ _local13 = _local11.min; _local11.size = _local13; --_local5; _arg4[_local10] = _arg4[_local5]; _arg4[_local5] = _local11; _arg3 = (_arg3 - _local11.percent); _arg2 = (_arg2 - _local13); _local7 = false; break; } else { if (_local12 > _local11.max){ _local14 = _local11.max; _local11.size = _local14; --_local5; _arg4[_local10] = _arg4[_local5]; _arg4[_local5] = _local11; _arg3 = (_arg3 - _local11.percent); _arg2 = (_arg2 - _local14); _local7 = false; break; } else { _local11.size = _local12; _local6 = (_local6 + _local12); }; }; _local10++; }; } while (!(_local7)); return (Math.max(0, Math.floor((_arg2 - _local6)))); } public static function flexChildHeightsProportionally(_arg1:Container, _arg2:Number, _arg3:Number):Number{ var _local7:FlexChildInfo; var _local8:IUIComponent; var _local9:int; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local4:Number = _arg2; var _local5:Number = 0; var _local6:Array = []; var _local10:int = _arg1.numChildren; _local9 = 0; while (_local9 < _local10) { _local8 = IUIComponent(_arg1.getChildAt(_local9)); _local11 = _local8.percentWidth; _local12 = _local8.percentHeight; if (((!(isNaN(_local11))) && (_local8.includeInLayout))){ _local13 = Math.max(_local8.minWidth, Math.min(_local8.maxWidth, ((_local11)>=100) ? _arg3 : ((_arg3 * _local11) / 100))); } else { _local13 = _local8.getExplicitOrMeasuredWidth(); }; if (((!(isNaN(_local12))) && (_local8.includeInLayout))){ _local5 = (_local5 + _local12); _local7 = new FlexChildInfo(); _local7.percent = _local12; _local7.min = _local8.minHeight; _local7.max = _local8.maxHeight; _local7.width = _local13; _local7.child = _local8; _local6.push(_local7); } else { _local14 = _local8.getExplicitOrMeasuredHeight(); if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local13), Math.floor(_local14)); } else { _local8.setActualSize(_local13, _local14); }; if (_local8.includeInLayout){ _local4 = (_local4 - _local8.height); }; }; _local9++; }; if (_local5){ _local4 = flexChildrenProportionally(_arg2, _local4, _local5, _local6); _local10 = _local6.length; _local9 = 0; while (_local9 < _local10) { _local7 = _local6[_local9]; _local8 = _local7.child; if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local7.width), Math.floor(_local7.size)); } else { _local8.setActualSize(_local7.width, _local7.size); }; _local9++; }; if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ distributeExtraHeight(_arg1, _arg2); }; }; return (_local4); } } }//package mx.containers.utilityClasses
Section 436
//FlexChildInfo (mx.containers.utilityClasses.FlexChildInfo) package mx.containers.utilityClasses { import mx.core.*; public class FlexChildInfo { public var flex:Number;// = 0 public var preferred:Number;// = 0 public var percent:Number; public var width:Number; public var height:Number; public var size:Number;// = 0 public var max:Number; public var min:Number; public var child:IUIComponent; mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.containers.utilityClasses
Section 437
//IConstraintLayout (mx.containers.utilityClasses.IConstraintLayout) package mx.containers.utilityClasses { public interface IConstraintLayout { function get constraintColumns():Array; function set constraintRows(_arg1:Array):void; function get constraintRows():Array; function set constraintColumns(_arg1:Array):void; } }//package mx.containers.utilityClasses
Section 438
//Layout (mx.containers.utilityClasses.Layout) package mx.containers.utilityClasses { import mx.core.*; import mx.resources.*; public class Layout { private var _target:Container; protected var resourceManager:IResourceManager; mx_internal static const VERSION:String = "3.0.0.0"; public function Layout(){ resourceManager = ResourceManager.getInstance(); super(); } public function get target():Container{ return (_target); } public function set target(_arg1:Container):void{ _target = _arg1; } public function measure():void{ } public function updateDisplayList(_arg1:Number, _arg2:Number):void{ } } }//package mx.containers.utilityClasses
Section 439
//BoxDirection (mx.containers.BoxDirection) package mx.containers { public final class BoxDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.containers
Section 440
//Canvas (mx.containers.Canvas) package mx.containers { import mx.core.*; import mx.containers.utilityClasses.*; public class Canvas extends Container implements IConstraintLayout { private var _constraintColumns:Array; private var layoutObject:CanvasLayout; private var _constraintRows:Array; mx_internal static const VERSION:String = "3.0.0.0"; public function Canvas(){ layoutObject = new CanvasLayout(); _constraintColumns = []; _constraintRows = []; super(); layoutObject.target = this; } public function get constraintColumns():Array{ return (_constraintColumns); } override mx_internal function get usePadding():Boolean{ return (false); } public function set constraintRows(_arg1:Array):void{ var _local2:int; var _local3:int; if (_arg1 != _constraintRows){ _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { ConstraintRow(_arg1[_local3]).container = this; _local3++; }; _constraintRows = _arg1; invalidateSize(); invalidateDisplayList(); }; } public function get constraintRows():Array{ return (_constraintRows); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); layoutObject.updateDisplayList(_arg1, _arg2); } public function set constraintColumns(_arg1:Array):void{ var _local2:int; var _local3:int; if (_arg1 != _constraintColumns){ _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { ConstraintColumn(_arg1[_local3]).container = this; _local3++; }; _constraintColumns = _arg1; invalidateSize(); invalidateDisplayList(); }; } override protected function measure():void{ super.measure(); layoutObject.measure(); } } }//package mx.containers
Section 441
//DataGridListData (mx.controls.dataGridClasses.DataGridListData) package mx.controls.dataGridClasses { import mx.core.*; import mx.controls.listClasses.*; public class DataGridListData extends BaseListData { public var dataField:String; mx_internal static const VERSION:String = "3.0.0.0"; public function DataGridListData(_arg1:String, _arg2:String, _arg3:int, _arg4:String, _arg5:IUIComponent, _arg6:int=0){ super(_arg1, _arg4, _arg5, _arg6, _arg3); this.dataField = _arg2; } } }//package mx.controls.dataGridClasses
Section 442
//BaseListData (mx.controls.listClasses.BaseListData) package mx.controls.listClasses { import mx.core.*; public class BaseListData { private var _uid:String; public var owner:IUIComponent; public var label:String; public var rowIndex:int; public var columnIndex:int; mx_internal static const VERSION:String = "3.0.0.0"; public function BaseListData(_arg1:String, _arg2:String, _arg3:IUIComponent, _arg4:int=0, _arg5:int=0){ this.label = _arg1; this.uid = _arg2; this.owner = _arg3; this.rowIndex = _arg4; this.columnIndex = _arg5; } public function set uid(_arg1:String):void{ _uid = _arg1; } public function get uid():String{ return (_uid); } } }//package mx.controls.listClasses
Section 443
//IDropInListItemRenderer (mx.controls.listClasses.IDropInListItemRenderer) package mx.controls.listClasses { public interface IDropInListItemRenderer { function get listData():BaseListData; function set listData(_arg1:BaseListData):void; } }//package mx.controls.listClasses
Section 444
//IListItemRenderer (mx.controls.listClasses.IListItemRenderer) package mx.controls.listClasses { import mx.core.*; import mx.managers.*; import flash.events.*; import mx.styles.*; public interface IListItemRenderer extends IDataRenderer, IEventDispatcher, IFlexDisplayObject, ILayoutManagerClient, ISimpleStyleClient, IUIComponent { } }//package mx.controls.listClasses
Section 445
//ScrollBar (mx.controls.scrollClasses.ScrollBar) package mx.controls.scrollClasses { import flash.geom.*; import mx.core.*; import flash.events.*; import mx.events.*; import mx.styles.*; import mx.controls.*; import flash.ui.*; import flash.utils.*; public class ScrollBar extends UIComponent { private var _direction:String;// = "vertical" private var _pageScrollSize:Number;// = 0 mx_internal var scrollTrack:Button; mx_internal var downArrow:Button; mx_internal var scrollThumb:ScrollThumb; private var trackScrollRepeatDirection:int; private var _minScrollPosition:Number;// = 0 private var trackPosition:Number; private var _pageSize:Number;// = 0 mx_internal var _minHeight:Number;// = 32 private var _maxScrollPosition:Number;// = 0 private var trackScrollTimer:Timer; mx_internal var upArrow:Button; private var _lineScrollSize:Number;// = 1 private var _scrollPosition:Number;// = 0 private var trackScrolling:Boolean;// = false mx_internal var isScrolling:Boolean; mx_internal var oldPosition:Number; mx_internal var _minWidth:Number;// = 16 mx_internal static const VERSION:String = "3.0.0.0"; public static const THICKNESS:Number = 16; override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; invalidateDisplayList(); } public function set lineScrollSize(_arg1:Number):void{ _lineScrollSize = _arg1; } public function get minScrollPosition():Number{ return (_minScrollPosition); } mx_internal function dispatchScrollEvent(_arg1:Number, _arg2:String):void{ var _local3:ScrollEvent = new ScrollEvent(ScrollEvent.SCROLL); _local3.detail = _arg2; _local3.position = scrollPosition; _local3.delta = (scrollPosition - _arg1); _local3.direction = direction; dispatchEvent(_local3); } private function downArrow_buttonDownHandler(_arg1:FlexEvent):void{ if (isNaN(oldPosition)){ oldPosition = scrollPosition; }; lineScroll(1); } private function scrollTrack_mouseDownHandler(_arg1:MouseEvent):void{ if (!(((_arg1.target == this)) || ((_arg1.target == scrollTrack)))){ return; }; trackScrolling = true; systemManager.addEventListener(MouseEvent.MOUSE_UP, scrollTrack_mouseUpHandler, true); systemManager.addEventListener(MouseEvent.MOUSE_MOVE, scrollTrack_mouseMoveHandler, true); systemManager.stage.addEventListener(MouseEvent.MOUSE_MOVE, stage_scrollTrack_mouseMoveHandler); systemManager.stage.addEventListener(Event.MOUSE_LEAVE, scrollTrack_mouseLeaveHandler); var _local2:Point = new Point(_arg1.localX, _arg1.localY); _local2 = _arg1.target.localToGlobal(_local2); _local2 = globalToLocal(_local2); trackPosition = _local2.y; if (isNaN(oldPosition)){ oldPosition = scrollPosition; }; trackScrollRepeatDirection = (((scrollThumb.y + scrollThumb.height) < _local2.y)) ? 1 : ((scrollThumb.y > _local2.y)) ? -1 : 0; pageScroll(trackScrollRepeatDirection); if (!trackScrollTimer){ trackScrollTimer = new Timer(getStyle("repeatDelay"), 1); trackScrollTimer.addEventListener(TimerEvent.TIMER, trackScrollTimerHandler); }; trackScrollTimer.start(); } public function set minScrollPosition(_arg1:Number):void{ _minScrollPosition = _arg1; } public function get scrollPosition():Number{ return (_scrollPosition); } mx_internal function get linePlusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.LINE_DOWN : ScrollEventDetail.LINE_RIGHT); } public function get maxScrollPosition():Number{ return (_maxScrollPosition); } protected function get thumbStyleFilters():Object{ return (null); } override public function set doubleClickEnabled(_arg1:Boolean):void{ } public function get lineScrollSize():Number{ return (_lineScrollSize); } private function stage_scrollTrack_mouseMoveHandler(_arg1:MouseEvent):void{ if (_arg1.target != stage){ return; }; scrollTrack_mouseMoveHandler(_arg1); } mx_internal function get virtualHeight():Number{ return (unscaledHeight); } public function set scrollPosition(_arg1:Number):void{ var _local2:Number; var _local3:Number; var _local4:Number; _scrollPosition = _arg1; if (scrollThumb){ if (!cacheAsBitmap){ cacheHeuristic = (scrollThumb.cacheHeuristic = true); }; if (!isScrolling){ _arg1 = Math.min(_arg1, maxScrollPosition); _arg1 = Math.max(_arg1, minScrollPosition); _local2 = (maxScrollPosition - minScrollPosition); _local3 = ((((_local2 == 0)) || (isNaN(_local2)))) ? 0 : ((((_arg1 - minScrollPosition) * (trackHeight - scrollThumb.height)) / _local2) + trackY); _local4 = (((virtualWidth - scrollThumb.width) / 2) + getStyle("thumbOffset")); scrollThumb.move(Math.round(_local4), Math.round(_local3)); }; }; } protected function get downArrowStyleFilters():Object{ return (null); } public function get pageSize():Number{ return (_pageSize); } public function set pageScrollSize(_arg1:Number):void{ _pageScrollSize = _arg1; } public function set maxScrollPosition(_arg1:Number):void{ _maxScrollPosition = _arg1; } mx_internal function pageScroll(_arg1:int):void{ var _local4:Number; var _local5:String; var _local2:Number = ((_pageScrollSize)!=0) ? _pageScrollSize : pageSize; var _local3:Number = (_scrollPosition + (_arg1 * _local2)); if (_local3 > maxScrollPosition){ _local3 = maxScrollPosition; } else { if (_local3 < minScrollPosition){ _local3 = minScrollPosition; }; }; if (_local3 != scrollPosition){ _local4 = scrollPosition; scrollPosition = _local3; _local5 = ((_arg1 < 0)) ? pageMinusDetail : pagePlusDetail; dispatchScrollEvent(_local4, _local5); }; } override protected function createChildren():void{ super.createChildren(); if (!scrollTrack){ scrollTrack = new Button(); scrollTrack.focusEnabled = false; scrollTrack.skinName = "trackSkin"; scrollTrack.upSkinName = "trackUpSkin"; scrollTrack.overSkinName = "trackOverSkin"; scrollTrack.downSkinName = "trackDownSkin"; scrollTrack.disabledSkinName = "trackDisabledSkin"; if ((scrollTrack is ISimpleStyleClient)){ ISimpleStyleClient(scrollTrack).styleName = this; }; addChild(scrollTrack); scrollTrack.validateProperties(); }; if (!upArrow){ upArrow = new Button(); upArrow.enabled = false; upArrow.autoRepeat = true; upArrow.focusEnabled = false; upArrow.upSkinName = "upArrowUpSkin"; upArrow.overSkinName = "upArrowOverSkin"; upArrow.downSkinName = "upArrowDownSkin"; upArrow.disabledSkinName = "upArrowDisabledSkin"; upArrow.skinName = "upArrowSkin"; upArrow.upIconName = ""; upArrow.overIconName = ""; upArrow.downIconName = ""; upArrow.disabledIconName = ""; addChild(upArrow); upArrow.styleName = new StyleProxy(this, upArrowStyleFilters); upArrow.validateProperties(); upArrow.addEventListener(FlexEvent.BUTTON_DOWN, upArrow_buttonDownHandler); }; if (!downArrow){ downArrow = new Button(); downArrow.enabled = false; downArrow.autoRepeat = true; downArrow.focusEnabled = false; downArrow.upSkinName = "downArrowUpSkin"; downArrow.overSkinName = "downArrowOverSkin"; downArrow.downSkinName = "downArrowDownSkin"; downArrow.disabledSkinName = "downArrowDisabledSkin"; downArrow.skinName = "downArrowSkin"; downArrow.upIconName = ""; downArrow.overIconName = ""; downArrow.downIconName = ""; downArrow.disabledIconName = ""; addChild(downArrow); downArrow.styleName = new StyleProxy(this, downArrowStyleFilters); downArrow.validateProperties(); downArrow.addEventListener(FlexEvent.BUTTON_DOWN, downArrow_buttonDownHandler); }; } private function scrollTrack_mouseOverHandler(_arg1:MouseEvent):void{ if (!(((_arg1.target == this)) || ((_arg1.target == scrollTrack)))){ return; }; if (trackScrolling){ trackScrollTimer.start(); }; } private function get minDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.AT_TOP : ScrollEventDetail.AT_LEFT); } mx_internal function isScrollBarKey(_arg1:uint):Boolean{ var _local2:Number; if (_arg1 == Keyboard.HOME){ if (scrollPosition != 0){ _local2 = scrollPosition; scrollPosition = 0; dispatchScrollEvent(_local2, minDetail); }; return (true); } else { if (_arg1 == Keyboard.END){ if (scrollPosition < maxScrollPosition){ _local2 = scrollPosition; scrollPosition = maxScrollPosition; dispatchScrollEvent(_local2, maxDetail); }; return (true); }; }; return (false); } mx_internal function get lineMinusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.LINE_UP : ScrollEventDetail.LINE_LEFT); } mx_internal function get pageMinusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.PAGE_UP : ScrollEventDetail.PAGE_LEFT); } private function get maxDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.AT_BOTTOM : ScrollEventDetail.AT_RIGHT); } private function scrollTrack_mouseLeaveHandler(_arg1:Event):void{ trackScrolling = false; systemManager.removeEventListener(MouseEvent.MOUSE_UP, scrollTrack_mouseUpHandler, true); systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, scrollTrack_mouseMoveHandler, true); systemManager.stage.removeEventListener(MouseEvent.MOUSE_MOVE, stage_scrollTrack_mouseMoveHandler); systemManager.stage.removeEventListener(Event.MOUSE_LEAVE, scrollTrack_mouseLeaveHandler); if (trackScrollTimer){ trackScrollTimer.reset(); }; if (_arg1.target != scrollTrack){ return; }; var _local2:String = ((oldPosition > scrollPosition)) ? pageMinusDetail : pagePlusDetail; dispatchScrollEvent(oldPosition, _local2); oldPosition = NaN; } protected function get upArrowStyleFilters():Object{ return (null); } private function get trackHeight():Number{ return ((virtualHeight - (upArrow.getExplicitOrMeasuredHeight() + downArrow.getExplicitOrMeasuredHeight()))); } public function get pageScrollSize():Number{ return (_pageScrollSize); } override protected function measure():void{ super.measure(); upArrow.validateSize(); downArrow.validateSize(); scrollTrack.validateSize(); if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ _minWidth = (scrollThumb) ? scrollThumb.getExplicitOrMeasuredWidth() : 0; _minWidth = Math.max(scrollTrack.getExplicitOrMeasuredWidth(), upArrow.getExplicitOrMeasuredWidth(), downArrow.getExplicitOrMeasuredWidth(), _minWidth); } else { _minWidth = upArrow.getExplicitOrMeasuredWidth(); }; _minHeight = (upArrow.getExplicitOrMeasuredHeight() + downArrow.getExplicitOrMeasuredHeight()); } mx_internal function lineScroll(_arg1:int):void{ var _local4:Number; var _local5:String; var _local2:Number = _lineScrollSize; var _local3:Number = (_scrollPosition + (_arg1 * _local2)); if (_local3 > maxScrollPosition){ _local3 = maxScrollPosition; } else { if (_local3 < minScrollPosition){ _local3 = minScrollPosition; }; }; if (_local3 != scrollPosition){ _local4 = scrollPosition; scrollPosition = _local3; _local5 = ((_arg1 < 0)) ? lineMinusDetail : linePlusDetail; dispatchScrollEvent(_local4, _local5); }; } public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{ var _local5:Number; this.pageSize = _arg1; _pageScrollSize = ((_arg4)>0) ? _arg4 : _arg1; this.minScrollPosition = Math.max(_arg2, 0); this.maxScrollPosition = Math.max(_arg3, 0); _scrollPosition = Math.max(this.minScrollPosition, _scrollPosition); _scrollPosition = Math.min(this.maxScrollPosition, _scrollPosition); if (((((this.maxScrollPosition - this.minScrollPosition) > 0)) && (enabled))){ upArrow.enabled = true; downArrow.enabled = true; scrollTrack.enabled = true; addEventListener(MouseEvent.MOUSE_DOWN, scrollTrack_mouseDownHandler); addEventListener(MouseEvent.MOUSE_OVER, scrollTrack_mouseOverHandler); addEventListener(MouseEvent.MOUSE_OUT, scrollTrack_mouseOutHandler); if (!scrollThumb){ scrollThumb = new ScrollThumb(); scrollThumb.focusEnabled = false; addChildAt(scrollThumb, getChildIndex(downArrow)); scrollThumb.styleName = new StyleProxy(this, thumbStyleFilters); scrollThumb.upSkinName = "thumbUpSkin"; scrollThumb.overSkinName = "thumbOverSkin"; scrollThumb.downSkinName = "thumbDownSkin"; scrollThumb.iconName = "thumbIcon"; scrollThumb.skinName = "thumbSkin"; }; _local5 = ((trackHeight < 0)) ? 0 : Math.round(((_arg1 / ((this.maxScrollPosition - this.minScrollPosition) + _arg1)) * trackHeight)); if (_local5 < scrollThumb.minHeight){ if (trackHeight < scrollThumb.minHeight){ scrollThumb.visible = false; } else { _local5 = scrollThumb.minHeight; scrollThumb.visible = true; scrollThumb.setActualSize(scrollThumb.measuredWidth, scrollThumb.minHeight); }; } else { scrollThumb.visible = true; scrollThumb.setActualSize(scrollThumb.measuredWidth, _local5); }; scrollThumb.setRange((upArrow.getExplicitOrMeasuredHeight() + 0), ((virtualHeight - downArrow.getExplicitOrMeasuredHeight()) - scrollThumb.height), this.minScrollPosition, this.maxScrollPosition); scrollPosition = Math.max(Math.min(scrollPosition, this.maxScrollPosition), this.minScrollPosition); } else { upArrow.enabled = false; downArrow.enabled = false; scrollTrack.enabled = false; if (scrollThumb){ scrollThumb.visible = false; }; }; } private function trackScrollTimerHandler(_arg1:Event):void{ if (trackScrollRepeatDirection == 1){ if ((scrollThumb.y + scrollThumb.height) > trackPosition){ return; }; }; if (trackScrollRepeatDirection == -1){ if (scrollThumb.y < trackPosition){ return; }; }; pageScroll(trackScrollRepeatDirection); if (((trackScrollTimer) && ((trackScrollTimer.repeatCount == 1)))){ trackScrollTimer.delay = getStyle("repeatInterval"); trackScrollTimer.repeatCount = 0; }; } private function upArrow_buttonDownHandler(_arg1:FlexEvent):void{ if (isNaN(oldPosition)){ oldPosition = scrollPosition; }; lineScroll(-1); } public function set pageSize(_arg1:Number):void{ _pageSize = _arg1; } private function get trackY():Number{ return (upArrow.getExplicitOrMeasuredHeight()); } private function scrollTrack_mouseOutHandler(_arg1:MouseEvent):void{ if (trackScrolling){ trackScrollTimer.stop(); }; } private function scrollTrack_mouseUpHandler(_arg1:MouseEvent):void{ scrollTrack_mouseLeaveHandler(_arg1); } private function scrollTrack_mouseMoveHandler(_arg1:MouseEvent):void{ var _local2:Point; if (trackScrolling){ _local2 = new Point(_arg1.stageX, _arg1.stageY); _local2 = globalToLocal(_local2); trackPosition = _local2.y; }; } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ if ($height == 1){ return; }; if (!upArrow){ return; }; super.updateDisplayList(_arg1, _arg2); if (cacheAsBitmap){ cacheHeuristic = (scrollThumb.cacheHeuristic = false); }; upArrow.setActualSize(upArrow.getExplicitOrMeasuredWidth(), upArrow.getExplicitOrMeasuredHeight()); if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ upArrow.move(((virtualWidth - upArrow.width) / 2), 0); } else { upArrow.move(0, 0); }; scrollTrack.setActualSize(scrollTrack.getExplicitOrMeasuredWidth(), virtualHeight); if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ scrollTrack.x = ((virtualWidth - scrollTrack.width) / 2); }; scrollTrack.y = 0; downArrow.setActualSize(downArrow.getExplicitOrMeasuredWidth(), downArrow.getExplicitOrMeasuredHeight()); if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ downArrow.move(((virtualWidth - downArrow.width) / 2), (virtualHeight - downArrow.getExplicitOrMeasuredHeight())); } else { downArrow.move(0, (virtualHeight - downArrow.getExplicitOrMeasuredHeight())); }; setScrollProperties(pageSize, minScrollPosition, maxScrollPosition, _pageScrollSize); scrollPosition = _scrollPosition; } mx_internal function get pagePlusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.PAGE_DOWN : ScrollEventDetail.PAGE_RIGHT); } mx_internal function get virtualWidth():Number{ return (unscaledWidth); } public function set direction(_arg1:String):void{ _direction = _arg1; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("directionChanged")); } public function get direction():String{ return (_direction); } } }//package mx.controls.scrollClasses
Section 446
//ScrollBarDirection (mx.controls.scrollClasses.ScrollBarDirection) package mx.controls.scrollClasses { public final class ScrollBarDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.controls.scrollClasses
Section 447
//ScrollThumb (mx.controls.scrollClasses.ScrollThumb) package mx.controls.scrollClasses { import flash.geom.*; import flash.events.*; import mx.events.*; import mx.controls.*; public class ScrollThumb extends Button { private var lastY:Number; private var datamin:Number; private var ymax:Number; private var ymin:Number; private var datamax:Number; mx_internal static const VERSION:String = "3.0.0.0"; public function ScrollThumb(){ explicitMinHeight = 10; stickyHighlighting = true; } private function stopDragThumb():void{ var _local1:ScrollBar = ScrollBar(parent); _local1.isScrolling = false; _local1.dispatchScrollEvent(_local1.oldPosition, ScrollEventDetail.THUMB_POSITION); _local1.oldPosition = NaN; systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true); systemManager.stage.removeEventListener(MouseEvent.MOUSE_MOVE, stage_mouseMoveHandler); } override protected function mouseDownHandler(_arg1:MouseEvent):void{ super.mouseDownHandler(_arg1); var _local2:ScrollBar = ScrollBar(parent); _local2.oldPosition = _local2.scrollPosition; lastY = _arg1.localY; systemManager.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true); systemManager.stage.addEventListener(MouseEvent.MOUSE_MOVE, stage_mouseMoveHandler); } private function mouseMoveHandler(_arg1:MouseEvent):void{ if (ymin == ymax){ return; }; var _local2:Point = new Point(_arg1.stageX, _arg1.stageY); _local2 = globalToLocal(_local2); var _local3:Number = (_local2.y - lastY); _local3 = (_local3 + y); if (_local3 < ymin){ _local3 = ymin; } else { if (_local3 > ymax){ _local3 = ymax; }; }; var _local4:ScrollBar = ScrollBar(parent); _local4.isScrolling = true; $y = _local3; var _local5:Number = _local4.scrollPosition; var _local6:Number = (Math.round((((datamax - datamin) * (y - ymin)) / (ymax - ymin))) + datamin); _local4.scrollPosition = _local6; _local4.dispatchScrollEvent(_local5, ScrollEventDetail.THUMB_TRACK); _arg1.updateAfterEvent(); } override mx_internal function buttonReleased():void{ super.buttonReleased(); stopDragThumb(); } private function stage_mouseMoveHandler(_arg1:MouseEvent):void{ if (_arg1.target != stage){ return; }; mouseMoveHandler(_arg1); } mx_internal function setRange(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ this.ymin = _arg1; this.ymax = _arg2; this.datamin = _arg3; this.datamax = _arg4; } } }//package mx.controls.scrollClasses
Section 448
//Button (mx.controls.Button) package mx.controls { import flash.display.*; import flash.text.*; import mx.core.*; import mx.managers.*; import flash.events.*; import mx.events.*; import mx.styles.*; import mx.controls.listClasses.*; import flash.ui.*; import flash.utils.*; import mx.controls.dataGridClasses.*; public class Button extends UIComponent implements IDataRenderer, IDropInListItemRenderer, IFocusManagerComponent, IListItemRenderer, IFontContextComponent, IButton { mx_internal var _emphasized:Boolean;// = false mx_internal var extraSpacing:Number; private var icons:Array; public var selectedField:String;// = null private var labelChanged:Boolean;// = false private var skinMeasuredWidth:Number; mx_internal var checkedDefaultSkin:Boolean;// = false private var autoRepeatTimer:Timer; mx_internal var disabledIconName:String;// = "disabledIcon" mx_internal var disabledSkinName:String;// = "disabledSkin" mx_internal var checkedDefaultIcon:Boolean;// = false public var stickyHighlighting:Boolean;// = false private var enabledChanged:Boolean;// = false mx_internal var selectedUpIconName:String;// = "selectedUpIcon" mx_internal var selectedUpSkinName:String;// = "selectedUpSkin" mx_internal var upIconName:String;// = "upIcon" mx_internal var upSkinName:String;// = "upSkin" mx_internal var centerContent:Boolean;// = true mx_internal var buttonOffset:Number;// = 0 private var skinMeasuredHeight:Number; private var oldUnscaledWidth:Number; mx_internal var downIconName:String;// = "downIcon" mx_internal var _labelPlacement:String;// = "right" mx_internal var downSkinName:String;// = "downSkin" mx_internal var _toggle:Boolean;// = false private var _phase:String;// = "up" private var toolTipSet:Boolean;// = false private var _data:Object; mx_internal var currentIcon:IFlexDisplayObject; mx_internal var currentSkin:IFlexDisplayObject; mx_internal var overIconName:String;// = "overIcon" mx_internal var selectedDownIconName:String;// = "selectedDownIcon" mx_internal var overSkinName:String;// = "overSkin" mx_internal var iconName:String;// = "icon" mx_internal var skinName:String;// = "skin" mx_internal var selectedDownSkinName:String;// = "selectedDownSkin" private var skins:Array; private var selectedSet:Boolean; private var _autoRepeat:Boolean;// = false private var styleChangedFlag:Boolean;// = true mx_internal var selectedOverIconName:String;// = "selectedOverIcon" private var _listData:BaseListData; mx_internal var selectedOverSkinName:String;// = "selectedOverSkin" protected var textField:IUITextField; private var labelSet:Boolean; mx_internal var defaultIconUsesStates:Boolean;// = false mx_internal var defaultSkinUsesStates:Boolean;// = false mx_internal var toggleChanged:Boolean;// = false private var emphasizedChanged:Boolean;// = false private var _label:String;// = "" mx_internal var _selected:Boolean;// = false mx_internal var selectedDisabledIconName:String;// = "selectedDisabledIcon" mx_internal var selectedDisabledSkinName:String;// = "selectedDisabledSkin" mx_internal static const VERSION:String = "3.0.0.0"; mx_internal static var createAccessibilityImplementation:Function; mx_internal static var TEXT_WIDTH_PADDING:Number = (UITextField.TEXT_WIDTH_PADDING + 1); public function Button(){ skins = []; icons = []; extraSpacing = (10 + 10); super(); mouseChildren = false; addEventListener(MouseEvent.ROLL_OVER, rollOverHandler); addEventListener(MouseEvent.ROLL_OUT, rollOutHandler); addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); addEventListener(MouseEvent.CLICK, clickHandler); } private function previousVersion_measure():void{ var bm:EdgeMetrics; var lineMetrics:TextLineMetrics; var paddingLeft:Number; var paddingRight:Number; var paddingTop:Number; var paddingBottom:Number; var horizontalGap:Number; super.measure(); var textWidth:Number = 0; var textHeight:Number = 0; if (label){ lineMetrics = measureText(label); textWidth = lineMetrics.width; textHeight = lineMetrics.height; paddingLeft = getStyle("paddingLeft"); paddingRight = getStyle("paddingRight"); paddingTop = getStyle("paddingTop"); paddingBottom = getStyle("paddingBottom"); textWidth = (textWidth + ((paddingLeft + paddingRight) + getStyle("textIndent"))); textHeight = (textHeight + (paddingTop + paddingBottom)); }; try { bm = currentSkin["borderMetrics"]; } catch(e:Error) { bm = new EdgeMetrics(3, 3, 3, 3); }; var tempCurrentIcon:IFlexDisplayObject = getCurrentIcon(); var iconWidth:Number = (tempCurrentIcon) ? tempCurrentIcon.width : 0; var iconHeight:Number = (tempCurrentIcon) ? tempCurrentIcon.height : 0; var w:Number = 0; var h:Number = 0; if ((((labelPlacement == ButtonLabelPlacement.LEFT)) || ((labelPlacement == ButtonLabelPlacement.RIGHT)))){ w = (textWidth + iconWidth); if (iconWidth != 0){ horizontalGap = getStyle("horizontalGap"); w = (w + (horizontalGap - 2)); }; h = Math.max(textHeight, (iconHeight + 6)); } else { w = Math.max(textWidth, iconWidth); h = (textHeight + iconHeight); if (iconHeight != 0){ h = (h + getStyle("verticalGap")); }; }; if (bm){ w = (w + (bm.left + bm.right)); h = (h + (bm.top + bm.bottom)); }; if (((label) && (!((label.length == 0))))){ w = (w + extraSpacing); } else { w = (w + 6); }; if (((currentSkin) && (((isNaN(skinMeasuredWidth)) || (isNaN(skinMeasuredHeight)))))){ skinMeasuredWidth = currentSkin.measuredWidth; skinMeasuredHeight = currentSkin.measuredHeight; }; if (!isNaN(skinMeasuredWidth)){ w = Math.max(skinMeasuredWidth, w); }; if (!isNaN(skinMeasuredHeight)){ h = Math.max(skinMeasuredHeight, h); }; measuredMinWidth = (measuredWidth = w); measuredMinHeight = (measuredHeight = h); } public function get label():String{ return (_label); } mx_internal function getCurrentIconName():String{ var _local1:String; if (!enabled){ _local1 = (selected) ? selectedDisabledIconName : disabledIconName; } else { if (phase == ButtonPhase.UP){ _local1 = (selected) ? selectedUpIconName : upIconName; } else { if (phase == ButtonPhase.OVER){ _local1 = (selected) ? selectedOverIconName : overIconName; } else { if (phase == ButtonPhase.DOWN){ _local1 = (selected) ? selectedDownIconName : downIconName; }; }; }; }; return (_local1); } protected function mouseUpHandler(_arg1:MouseEvent):void{ if (!enabled){ return; }; phase = ButtonPhase.OVER; buttonReleased(); if (!toggle){ _arg1.updateAfterEvent(); }; } override protected function adjustFocusRect(_arg1:DisplayObject=null):void{ super.adjustFocusRect((currentSkin) ? this : DisplayObject(currentIcon)); } mx_internal function set phase(_arg1:String):void{ _phase = _arg1; invalidateSize(); invalidateDisplayList(); } mx_internal function viewIconForPhase(_arg1:String):IFlexDisplayObject{ var _local3:IFlexDisplayObject; var _local4:Boolean; var _local5:String; var _local2:Class = Class(getStyle(_arg1)); if (!_local2){ _local2 = Class(getStyle(iconName)); if (defaultIconUsesStates){ _arg1 = iconName; }; if (((!(checkedDefaultIcon)) && (_local2))){ _local3 = IFlexDisplayObject(new (_local2)); if (((!((_local3 is IProgrammaticSkin))) && ((_local3 is IStateClient)))){ defaultIconUsesStates = true; _arg1 = iconName; }; if (_local3){ checkedDefaultIcon = true; }; }; }; _local3 = IFlexDisplayObject(getChildByName(_arg1)); if (_local3 == null){ if (_local2 != null){ _local3 = IFlexDisplayObject(new (_local2)); _local3.name = _arg1; if ((_local3 is ISimpleStyleClient)){ ISimpleStyleClient(_local3).styleName = this; }; addChild(DisplayObject(_local3)); _local4 = false; if ((_local3 is IInvalidating)){ IInvalidating(_local3).validateNow(); _local4 = true; } else { if ((_local3 is IProgrammaticSkin)){ IProgrammaticSkin(_local3).validateDisplayList(); _local4 = true; }; }; if (((_local3) && ((_local3 is IUIComponent)))){ IUIComponent(_local3).enabled = enabled; }; if (_local4){ _local3.setActualSize(_local3.measuredWidth, _local3.measuredHeight); }; icons.push(_local3); }; }; if (currentIcon != null){ currentIcon.visible = false; }; currentIcon = _local3; if (((defaultIconUsesStates) && ((currentIcon is IStateClient)))){ _local5 = ""; if (!enabled){ _local5 = (selected) ? "selectedDisabled" : "disabled"; } else { if (phase == ButtonPhase.UP){ _local5 = (selected) ? "selectedUp" : "up"; } else { if (phase == ButtonPhase.OVER){ _local5 = (selected) ? "selectedOver" : "over"; } else { if (phase == ButtonPhase.DOWN){ _local5 = (selected) ? "selectedDown" : "down"; }; }; }; }; IStateClient(currentIcon).currentState = _local5; }; if (currentIcon != null){ currentIcon.visible = true; }; return (_local3); } mx_internal function viewSkinForPhase(_arg1:String, _arg2:String):void{ var _local4:IFlexDisplayObject; var _local5:Number; var _local6:ISimpleStyleClient; var _local3:Class = Class(getStyle(_arg1)); if (!_local3){ _local3 = Class(getStyle(skinName)); if (defaultSkinUsesStates){ _arg1 = skinName; }; if (((!(checkedDefaultSkin)) && (_local3))){ _local4 = IFlexDisplayObject(new (_local3)); if (((!((_local4 is IProgrammaticSkin))) && ((_local4 is IStateClient)))){ defaultSkinUsesStates = true; _arg1 = skinName; }; if (_local4){ checkedDefaultSkin = true; }; }; }; _local4 = IFlexDisplayObject(getChildByName(_arg1)); if (!_local4){ if (_local3){ _local4 = IFlexDisplayObject(new (_local3)); _local4.name = _arg1; _local6 = (_local4 as ISimpleStyleClient); if (_local6){ _local6.styleName = this; }; addChild(DisplayObject(_local4)); _local4.setActualSize(unscaledWidth, unscaledHeight); if ((((_local4 is IInvalidating)) && (initialized))){ IInvalidating(_local4).validateNow(); } else { if ((((_local4 is IProgrammaticSkin)) && (initialized))){ IProgrammaticSkin(_local4).validateDisplayList(); }; }; skins.push(_local4); }; }; if (currentSkin){ currentSkin.visible = false; }; currentSkin = _local4; if (((defaultSkinUsesStates) && ((currentSkin is IStateClient)))){ IStateClient(currentSkin).currentState = _arg2; }; if (currentSkin){ currentSkin.visible = true; }; if (enabled){ if (phase == ButtonPhase.OVER){ _local5 = textField.getStyle("textRollOverColor"); } else { if (phase == ButtonPhase.DOWN){ _local5 = textField.getStyle("textSelectedColor"); } else { _local5 = textField.getStyle("color"); }; }; textField.setColor(_local5); }; } mx_internal function getTextField():IUITextField{ return (textField); } protected function rollOverHandler(_arg1:MouseEvent):void{ if (phase == ButtonPhase.UP){ if (_arg1.buttonDown){ return; }; phase = ButtonPhase.OVER; _arg1.updateAfterEvent(); } else { if (phase == ButtonPhase.OVER){ phase = ButtonPhase.DOWN; _arg1.updateAfterEvent(); if (autoRepeatTimer){ autoRepeatTimer.start(); }; }; }; } override protected function createChildren():void{ super.createChildren(); if (!textField){ textField = IUITextField(createInFontContext(UITextField)); textField.styleName = this; addChild(DisplayObject(textField)); }; } mx_internal function setSelected(_arg1:Boolean, _arg2:Boolean=false):void{ if (_selected != _arg1){ _selected = _arg1; invalidateDisplayList(); if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ if (toggle){ dispatchEvent(new Event(Event.CHANGE)); }; } else { if (((toggle) && (!(_arg2)))){ dispatchEvent(new Event(Event.CHANGE)); }; }; dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT)); }; } private function autoRepeatTimer_timerDelayHandler(_arg1:Event):void{ if (!enabled){ return; }; dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN)); if (autoRepeat){ autoRepeatTimer.reset(); autoRepeatTimer.removeEventListener(TimerEvent.TIMER, autoRepeatTimer_timerDelayHandler); autoRepeatTimer.delay = getStyle("repeatInterval"); autoRepeatTimer.addEventListener(TimerEvent.TIMER, autoRepeatTimer_timerHandler); autoRepeatTimer.start(); }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set selected(_arg1:Boolean):void{ selectedSet = true; setSelected(_arg1, true); } override protected function focusOutHandler(_arg1:FocusEvent):void{ super.focusOutHandler(_arg1); if (phase != ButtonPhase.UP){ phase = ButtonPhase.UP; }; } public function get labelPlacement():String{ return (_labelPlacement); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; if (_arg1){ autoRepeatTimer = new Timer(1); } else { autoRepeatTimer = null; }; } mx_internal function changeIcons():void{ var _local1:int = icons.length; var _local2:int; while (_local2 < _local1) { removeChild(icons[_local2]); _local2++; }; icons = []; checkedDefaultIcon = false; defaultIconUsesStates = false; } public function set data(_arg1:Object):void{ var _local2:*; var _local3:*; _data = _arg1; if (((_listData) && ((_listData is DataGridListData)))){ _local2 = _data[DataGridListData(_listData).dataField]; _local3 = ""; } else { if (_listData){ if (selectedField){ _local2 = _data[selectedField]; }; _local3 = _listData.label; } else { _local2 = _data; }; }; if (((!((_local2 === undefined))) && (!(selectedSet)))){ selected = (_local2 as Boolean); selectedSet = false; }; if (((!((_local3 === undefined))) && (!(labelSet)))){ label = _local3; labelSet = false; }; dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); } mx_internal function getCurrentIcon():IFlexDisplayObject{ var _local1:String = getCurrentIconName(); if (!_local1){ return (null); }; return (viewIconForPhase(_local1)); } public function get fontContext():IFlexModuleFactory{ return (moduleFactory); } public function get emphasized():Boolean{ return (_emphasized); } public function get listData():BaseListData{ return (_listData); } mx_internal function layoutContents(_arg1:Number, _arg2:Number, _arg3:Boolean):void{ var _local20:TextLineMetrics; var _local28:MoveEvent; if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ previousVersion_layoutContents(_arg1, _arg2, _arg3); return; }; var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = 0; var _local9:Number = 0; var _local10:Number = 0; var _local11:Number = 0; var _local12:Number = 0; var _local13:Number = 0; var _local14:Number = getStyle("paddingLeft"); var _local15:Number = getStyle("paddingRight"); var _local16:Number = getStyle("paddingTop"); var _local17:Number = getStyle("paddingBottom"); var _local18:Number = 0; var _local19:Number = 0; if (label){ _local20 = measureText(label); _local18 = (_local20.width + TEXT_WIDTH_PADDING); _local19 = (_local20.height + UITextField.TEXT_HEIGHT_PADDING); } else { _local20 = measureText("Wj"); _local19 = (_local20.height + UITextField.TEXT_HEIGHT_PADDING); }; var _local21:Number = (_arg3) ? buttonOffset : 0; var _local22:String = getStyle("textAlign"); var _local23:Number = _arg1; var _local24:Number = _arg2; var _local25:EdgeMetrics = (((((currentSkin) && ((currentSkin is IBorder)))) && (!((currentSkin is IFlexAsset))))) ? IBorder(currentSkin).borderMetrics : null; if (_local25){ _local23 = (_local23 - (_local25.left + _local25.right)); _local24 = (_local24 - (_local25.top + _local25.bottom)); }; if (currentIcon){ _local8 = currentIcon.width; _local9 = currentIcon.height; }; if ((((labelPlacement == ButtonLabelPlacement.LEFT)) || ((labelPlacement == ButtonLabelPlacement.RIGHT)))){ _local12 = getStyle("horizontalGap"); if ((((_local8 == 0)) || ((_local18 == 0)))){ _local12 = 0; }; if (_local18 > 0){ _local4 = Math.max(Math.min(((((_local23 - _local8) - _local12) - _local14) - _local15), _local18), 0); textField.width = _local4; } else { _local4 = 0; textField.width = _local4; }; _local5 = Math.min(_local24, _local19); textField.height = _local5; if (_local22 == "left"){ _local6 = (_local6 + _local14); } else { if (_local22 == "right"){ _local6 = (_local6 + ((((_local23 - _local4) - _local8) - _local12) - _local15)); } else { _local6 = (_local6 + (((((((_local23 - _local4) - _local8) - _local12) - _local14) - _local15) / 2) + _local14)); }; }; if (labelPlacement == ButtonLabelPlacement.RIGHT){ _local6 = (_local6 + (_local8 + _local12)); _local10 = (_local6 - (_local8 + _local12)); } else { _local10 = ((_local6 + _local4) + _local12); }; _local11 = (((((_local24 - _local9) - _local16) - _local17) / 2) + _local16); _local7 = (((((_local24 - _local5) - _local16) - _local17) / 2) + _local16); } else { _local13 = getStyle("verticalGap"); if ((((_local9 == 0)) || ((label == "")))){ _local13 = 0; }; if (_local18 > 0){ _local4 = Math.max(((_local23 - _local14) - _local15), 0); textField.width = _local4; _local5 = Math.min(((((_local24 - _local9) - _local16) - _local17) - _local13), _local19); textField.height = _local5; } else { _local4 = 0; textField.width = _local4; _local5 = 0; textField.height = _local5; }; _local6 = _local14; if (_local22 == "left"){ _local10 = (_local10 + _local14); } else { if (_local22 == "right"){ _local10 = (_local10 + Math.max(((_local23 - _local8) - _local15), _local14)); } else { _local10 = (_local10 + (((((_local23 - _local8) - _local14) - _local15) / 2) + _local14)); }; }; if (labelPlacement == ButtonLabelPlacement.TOP){ _local7 = (_local7 + (((((((_local24 - _local5) - _local9) - _local16) - _local17) - _local13) / 2) + _local16)); _local11 = (_local11 + ((_local7 + _local5) + _local13)); } else { _local11 = (_local11 + (((((((_local24 - _local5) - _local9) - _local16) - _local17) - _local13) / 2) + _local16)); _local7 = (_local7 + ((_local11 + _local9) + _local13)); }; }; var _local26:Number = _local21; var _local27:Number = _local21; if (_local25){ _local26 = (_local26 + _local25.left); _local27 = (_local27 + _local25.top); }; textField.x = Math.round((_local6 + _local26)); textField.y = Math.round((_local7 + _local27)); if (currentIcon){ _local10 = (_local10 + _local26); _local11 = (_local11 + _local27); _local28 = new MoveEvent(MoveEvent.MOVE); _local28.oldX = currentIcon.x; _local28.oldY = currentIcon.y; currentIcon.x = Math.round(_local10); currentIcon.y = Math.round(_local11); currentIcon.dispatchEvent(_local28); }; if (currentSkin){ setChildIndex(DisplayObject(currentSkin), (numChildren - 1)); }; if (currentIcon){ setChildIndex(DisplayObject(currentIcon), (numChildren - 1)); }; if (textField){ setChildIndex(DisplayObject(textField), (numChildren - 1)); }; } protected function mouseDownHandler(_arg1:MouseEvent):void{ if (!enabled){ return; }; systemManager.addEventListener(MouseEvent.MOUSE_UP, systemManager_mouseUpHandler, true); systemManager.stage.addEventListener(Event.MOUSE_LEAVE, stage_mouseLeaveHandler); buttonPressed(); _arg1.updateAfterEvent(); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ buttonPressed(); }; } protected function rollOutHandler(_arg1:MouseEvent):void{ if (phase == ButtonPhase.OVER){ phase = ButtonPhase.UP; _arg1.updateAfterEvent(); } else { if ((((phase == ButtonPhase.DOWN)) && (!(stickyHighlighting)))){ phase = ButtonPhase.OVER; _arg1.updateAfterEvent(); if (autoRepeatTimer){ autoRepeatTimer.stop(); }; }; }; } mx_internal function get phase():String{ return (_phase); } override public function set enabled(_arg1:Boolean):void{ if (super.enabled == _arg1){ return; }; super.enabled = _arg1; enabledChanged = true; invalidateProperties(); invalidateDisplayList(); } override protected function measure():void{ var _local9:TextLineMetrics; if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ previousVersion_measure(); return; }; super.measure(); var _local1:Number = 0; var _local2:Number = 0; if (label){ _local9 = measureText(label); _local1 = (_local9.width + TEXT_WIDTH_PADDING); _local2 = (_local9.height + UITextField.TEXT_HEIGHT_PADDING); }; var _local3:IFlexDisplayObject = getCurrentIcon(); var _local4:Number = (_local3) ? _local3.width : 0; var _local5:Number = (_local3) ? _local3.height : 0; var _local6:Number = 0; var _local7:Number = 0; if ((((labelPlacement == ButtonLabelPlacement.LEFT)) || ((labelPlacement == ButtonLabelPlacement.RIGHT)))){ _local6 = (_local1 + _local4); if (((_local1) && (_local4))){ _local6 = (_local6 + getStyle("horizontalGap")); }; _local7 = Math.max(_local2, _local5); } else { _local6 = Math.max(_local1, _local4); _local7 = (_local2 + _local5); if (((_local2) && (_local5))){ _local7 = (_local7 + getStyle("verticalGap")); }; }; if (((_local1) || (_local4))){ _local6 = (_local6 + (getStyle("paddingLeft") + getStyle("paddingRight"))); _local7 = (_local7 + (getStyle("paddingTop") + getStyle("paddingBottom"))); }; var _local8:EdgeMetrics = (((((currentSkin) && ((currentSkin is IBorder)))) && (!((currentSkin is IFlexAsset))))) ? IBorder(currentSkin).borderMetrics : null; if (_local8){ _local6 = (_local6 + (_local8.left + _local8.right)); _local7 = (_local7 + (_local8.top + _local8.bottom)); }; if (((currentSkin) && (((isNaN(skinMeasuredWidth)) || (isNaN(skinMeasuredHeight)))))){ skinMeasuredWidth = currentSkin.measuredWidth; skinMeasuredHeight = currentSkin.measuredHeight; }; if (!isNaN(skinMeasuredWidth)){ _local6 = Math.max(skinMeasuredWidth, _local6); }; if (!isNaN(skinMeasuredHeight)){ _local7 = Math.max(skinMeasuredHeight, _local7); }; measuredMinWidth = (measuredWidth = _local6); measuredMinHeight = (measuredHeight = _local7); } public function get toggle():Boolean{ return (_toggle); } mx_internal function buttonReleased():void{ systemManager.removeEventListener(MouseEvent.MOUSE_UP, systemManager_mouseUpHandler, true); systemManager.stage.removeEventListener(Event.MOUSE_LEAVE, stage_mouseLeaveHandler); if (autoRepeatTimer){ autoRepeatTimer.removeEventListener(TimerEvent.TIMER, autoRepeatTimer_timerDelayHandler); autoRepeatTimer.removeEventListener(TimerEvent.TIMER, autoRepeatTimer_timerHandler); autoRepeatTimer.reset(); }; } mx_internal function buttonPressed():void{ phase = ButtonPhase.DOWN; dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN)); if (autoRepeat){ autoRepeatTimer.delay = getStyle("repeatDelay"); autoRepeatTimer.addEventListener(TimerEvent.TIMER, autoRepeatTimer_timerDelayHandler); autoRepeatTimer.start(); }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ buttonReleased(); if (phase == ButtonPhase.DOWN){ dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; phase = ButtonPhase.UP; }; } public function get selected():Boolean{ return (_selected); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("labelPlacementChanged")); } protected function clickHandler(_arg1:MouseEvent):void{ if (!enabled){ _arg1.stopImmediatePropagation(); return; }; if (toggle){ setSelected(!(selected)); _arg1.updateAfterEvent(); }; } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } public function set toggle(_arg1:Boolean):void{ _toggle = _arg1; toggleChanged = true; invalidateProperties(); invalidateDisplayList(); dispatchEvent(new Event("toggleChanged")); } override public function get baselinePosition():Number{ var _local1:String; var _local2:TextLineMetrics; if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _local1 = label; if (!_local1){ _local1 = "Wj"; }; validateNow(); if (((!(label)) && ((((labelPlacement == ButtonLabelPlacement.TOP)) || ((labelPlacement == ButtonLabelPlacement.BOTTOM)))))){ _local2 = measureText(_local1); return ((((measuredHeight - _local2.height) / 2) + _local2.ascent)); }; return ((textField.y + measureText(_local1).ascent)); }; if (!validateBaselinePosition()){ return (NaN); }; return ((textField.y + textField.baselinePosition)); } public function get data():Object{ return (_data); } public function set fontContext(_arg1:IFlexModuleFactory):void{ this.moduleFactory = _arg1; } mx_internal function viewSkin():void{ var _local1:String; var _local2:String; if (!enabled){ _local1 = (selected) ? selectedDisabledSkinName : disabledSkinName; _local2 = (selected) ? "selectedDisabled" : "disabled"; } else { if (phase == ButtonPhase.UP){ _local1 = (selected) ? selectedUpSkinName : upSkinName; _local2 = (selected) ? "selectedUp" : "up"; } else { if (phase == ButtonPhase.OVER){ _local1 = (selected) ? selectedOverSkinName : overSkinName; _local2 = (selected) ? "selectedOver" : "over"; } else { if (phase == ButtonPhase.DOWN){ _local1 = (selected) ? selectedDownSkinName : downSkinName; _local2 = (selected) ? "selectedDown" : "down"; }; }; }; }; viewSkinForPhase(_local1, _local2); } override public function styleChanged(_arg1:String):void{ styleChangedFlag = true; super.styleChanged(_arg1); if (((!(_arg1)) || ((_arg1 == "styleName")))){ changeSkins(); changeIcons(); if (initialized){ viewSkin(); viewIcon(); }; } else { if (_arg1.toLowerCase().indexOf("skin") != -1){ changeSkins(); } else { if (_arg1.toLowerCase().indexOf("icon") != -1){ changeIcons(); invalidateSize(); }; }; }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; emphasizedChanged = true; invalidateDisplayList(); } mx_internal function viewIcon():void{ var _local1:String = getCurrentIconName(); viewIconForPhase(_local1); } override public function set toolTip(_arg1:String):void{ super.toolTip = _arg1; if (_arg1){ toolTipSet = true; } else { toolTipSet = false; invalidateDisplayList(); }; } override protected function commitProperties():void{ super.commitProperties(); if (((hasFontContextChanged()) && (!((textField == null))))){ removeChild(DisplayObject(textField)); textField = null; }; if (!textField){ textField = IUITextField(createInFontContext(UITextField)); textField.styleName = this; addChild(DisplayObject(textField)); enabledChanged = true; toggleChanged = true; }; if (!initialized){ viewSkin(); viewIcon(); }; if (enabledChanged){ textField.enabled = enabled; if (((currentIcon) && ((currentIcon is IUIComponent)))){ IUIComponent(currentIcon).enabled = enabled; }; enabledChanged = false; }; if (toggleChanged){ if (!toggle){ selected = false; }; toggleChanged = false; }; } mx_internal function changeSkins():void{ var _local1:int = skins.length; var _local2:int; while (_local2 < _local1) { removeChild(skins[_local2]); _local2++; }; skins = []; skinMeasuredWidth = NaN; skinMeasuredHeight = NaN; checkedDefaultSkin = false; defaultSkinUsesStates = false; if (((initialized) && ((FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)))){ viewSkin(); invalidateSize(); }; } private function autoRepeatTimer_timerHandler(_arg1:Event):void{ if (!enabled){ return; }; dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN)); } private function previousVersion_layoutContents(_arg1:Number, _arg2:Number, _arg3:Boolean):void{ var _local20:TextLineMetrics; var _local28:Number; var _local29:MoveEvent; var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = 0; var _local9:Number = 0; var _local10:Number = 0; var _local11:Number = 0; var _local12:Number = 2; var _local13:Number = 2; var _local14:Number = getStyle("paddingLeft"); var _local15:Number = getStyle("paddingRight"); var _local16:Number = getStyle("paddingTop"); var _local17:Number = getStyle("paddingBottom"); var _local18:Number = 0; var _local19:Number = 0; if (label){ _local20 = measureText(label); if (_local20.width > 0){ _local18 = (((_local14 + _local15) + getStyle("textIndent")) + _local20.width); }; _local19 = _local20.height; } else { _local20 = measureText("Wj"); _local19 = _local20.height; }; var _local21:Number = (_arg3) ? buttonOffset : 0; var _local22:String = getStyle("textAlign"); var _local23:EdgeMetrics = (((currentSkin) && ((currentSkin is IRectangularBorder)))) ? IRectangularBorder(currentSkin).borderMetrics : null; var _local24:Number = _arg1; var _local25:Number = ((_arg2 - _local16) - _local17); if (_local23){ _local24 = (_local24 - (_local23.left + _local23.right)); _local25 = (_local25 - (_local23.top + _local23.bottom)); }; if (currentIcon){ _local8 = currentIcon.width; _local9 = currentIcon.height; }; if ((((labelPlacement == ButtonLabelPlacement.LEFT)) || ((labelPlacement == ButtonLabelPlacement.RIGHT)))){ _local12 = getStyle("horizontalGap"); if ((((_local8 == 0)) || ((_local18 == 0)))){ _local12 = 0; }; if (_local18 > 0){ _local4 = Math.max(((((_local24 - _local8) - _local12) - _local14) - _local15), 0); textField.width = _local4; } else { _local4 = 0; textField.width = _local4; }; _local5 = Math.min((_local25 + 2), (_local19 + UITextField.TEXT_HEIGHT_PADDING)); textField.height = _local5; if (labelPlacement == ButtonLabelPlacement.RIGHT){ _local6 = (_local8 + _local12); if (centerContent){ if (_local22 == "left"){ _local6 = (_local6 + _local14); } else { if (_local22 == "right"){ _local6 = (_local6 + ((((_local24 - _local4) - _local8) - _local12) - _local14)); } else { _local28 = ((((_local24 - _local4) - _local8) - _local12) / 2); _local6 = (_local6 + Math.max(_local28, _local14)); }; }; }; _local10 = (_local6 - (_local8 + _local12)); if (!centerContent){ _local6 = (_local6 + _local14); }; } else { _local6 = ((((_local24 - _local4) - _local8) - _local12) - _local15); if (centerContent){ if (_local22 == "left"){ _local6 = 2; } else { if (_local22 == "right"){ _local6--; } else { if (_local6 > 0){ _local6 = (_local6 / 2); }; }; }; }; _local10 = ((_local6 + _local4) + _local12); }; _local7 = 0; _local11 = _local7; if (centerContent){ _local11 = (Math.round(((_local25 - _local9) / 2)) + _local16); _local7 = (Math.round(((_local25 - _local5) / 2)) + _local16); } else { _local7 = (_local7 + (Math.max(0, ((_local25 - _local5) / 2)) + _local16)); _local11 = (_local11 + (Math.max(0, (((_local25 - _local9) / 2) - 1)) + _local16)); }; } else { _local13 = getStyle("verticalGap"); if ((((_local9 == 0)) || ((_local19 == 0)))){ _local13 = 0; }; if (_local18 > 0){ _local4 = Math.min(_local24, (_local18 + UITextField.TEXT_WIDTH_PADDING)); textField.width = _local4; _local5 = Math.min(((_local25 - _local9) + 1), (_local19 + 5)); textField.height = _local5; } else { _local4 = 0; textField.width = _local4; _local5 = 0; textField.height = _local5; }; _local6 = ((_local24 - _local4) / 2); _local10 = ((_local24 - _local8) / 2); if (labelPlacement == ButtonLabelPlacement.TOP){ _local7 = (((_local25 - _local5) - _local9) - _local13); if (((centerContent) && ((_local7 > 0)))){ _local7 = (_local7 / 2); }; _local7 = (_local7 + _local16); _local11 = (((_local7 + _local5) + _local13) - 3); } else { _local7 = ((_local9 + _local13) + _local16); if (centerContent){ _local7 = (_local7 + (((((_local25 - _local5) - _local9) - _local13) / 2) + 1)); }; _local11 = (((_local7 - _local9) - _local13) + 3); }; }; var _local26:Number = _local21; var _local27:Number = _local21; if (_local23){ _local26 = (_local26 + _local23.left); _local27 = (_local27 + _local23.top); }; textField.x = (_local6 + _local26); textField.y = (_local7 + _local27); if (currentIcon){ _local10 = (_local10 + _local26); _local11 = (_local11 + _local27); _local29 = new MoveEvent(MoveEvent.MOVE); _local29.oldX = currentIcon.x; _local29.oldY = currentIcon.y; currentIcon.x = Math.round(_local10); currentIcon.y = Math.round(_local11); currentIcon.dispatchEvent(_local29); }; if (currentSkin){ setChildIndex(DisplayObject(currentSkin), (numChildren - 1)); }; if (currentIcon){ setChildIndex(DisplayObject(currentIcon), (numChildren - 1)); }; if (textField){ setChildIndex(DisplayObject(textField), (numChildren - 1)); }; } private function systemManager_mouseUpHandler(_arg1:MouseEvent):void{ if (contains(DisplayObject(_arg1.target))){ return; }; phase = ButtonPhase.UP; buttonReleased(); _arg1.updateAfterEvent(); } public function set label(_arg1:String):void{ labelSet = true; if (_label != _arg1){ _label = _arg1; labelChanged = true; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("labelChanged")); }; } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local5:IFlexDisplayObject; var _local6:Boolean; super.updateDisplayList(_arg1, _arg2); if (emphasizedChanged){ changeSkins(); emphasizedChanged = false; }; var _local3:int = skins.length; var _local4:int; while (_local4 < _local3) { _local5 = IFlexDisplayObject(skins[_local4]); _local5.setActualSize(_arg1, _arg2); _local4++; }; viewSkin(); viewIcon(); layoutContents(_arg1, _arg2, (phase == ButtonPhase.DOWN)); if ((((((((oldUnscaledWidth > _arg1)) || (!((textField.text == label))))) || (labelChanged))) || (styleChangedFlag))){ textField.text = label; _local6 = textField.truncateToFit(); if (!toolTipSet){ if (_local6){ super.toolTip = label; } else { super.toolTip = null; }; }; styleChangedFlag = false; labelChanged = false; }; oldUnscaledWidth = _arg1; } private function stage_mouseLeaveHandler(_arg1:Event):void{ phase = ButtonPhase.UP; buttonReleased(); } public function set listData(_arg1:BaseListData):void{ _listData = _arg1; } } }//package mx.controls
Section 449
//ButtonLabelPlacement (mx.controls.ButtonLabelPlacement) package mx.controls { public final class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; mx_internal static const VERSION:String = "3.0.0.0"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package mx.controls
Section 450
//ButtonPhase (mx.controls.ButtonPhase) package mx.controls { public final class ButtonPhase { public static const DOWN:String = "down"; public static const OVER:String = "over"; mx_internal static const VERSION:String = "3.0.0.0"; public static const UP:String = "up"; } }//package mx.controls
Section 451
//HScrollBar (mx.controls.HScrollBar) package mx.controls { import mx.controls.scrollClasses.*; import flash.ui.*; public class HScrollBar extends ScrollBar { mx_internal static const VERSION:String = "3.0.0.0"; public function HScrollBar(){ super.direction = ScrollBarDirection.HORIZONTAL; scaleX = -1; rotation = -90; } override mx_internal function get virtualHeight():Number{ return (unscaledWidth); } override protected function measure():void{ super.measure(); measuredWidth = _minHeight; measuredHeight = _minWidth; } override public function get minHeight():Number{ return (_minWidth); } override mx_internal function get virtualWidth():Number{ return (unscaledHeight); } override public function get minWidth():Number{ return (_minHeight); } override mx_internal function isScrollBarKey(_arg1:uint):Boolean{ if (_arg1 == Keyboard.LEFT){ lineScroll(-1); return (true); }; if (_arg1 == Keyboard.RIGHT){ lineScroll(1); return (true); }; return (super.isScrollBarKey(_arg1)); } override public function set direction(_arg1:String):void{ } } }//package mx.controls
Section 452
//IFlexContextMenu (mx.controls.IFlexContextMenu) package mx.controls { import flash.display.*; public interface IFlexContextMenu { function setContextMenu(_arg1:InteractiveObject):void; function unsetContextMenu(_arg1:InteractiveObject):void; } }//package mx.controls
Section 453
//ToolTip (mx.controls.ToolTip) package mx.controls { import flash.display.*; import flash.text.*; import mx.core.*; import mx.styles.*; public class ToolTip extends UIComponent implements IToolTip, IFontContextComponent { private var textChanged:Boolean; private var _text:String; protected var textField:IUITextField; mx_internal var border:IFlexDisplayObject; mx_internal static const VERSION:String = "3.0.0.0"; public static var maxWidth:Number = 300; public function ToolTip(){ mouseEnabled = false; } public function set fontContext(_arg1:IFlexModuleFactory):void{ this.moduleFactory = _arg1; } override public function styleChanged(_arg1:String):void{ super.styleChanged(_arg1); if ((((((_arg1 == "borderStyle")) || ((_arg1 == "styleName")))) || ((_arg1 == null)))){ invalidateDisplayList(); }; } override protected function commitProperties():void{ var _local1:int; var _local2:TextFormat; super.commitProperties(); if (((hasFontContextChanged()) && (!((textField == null))))){ _local1 = getChildIndex(DisplayObject(textField)); removeTextField(); createTextField(_local1); invalidateSize(); textChanged = true; }; if (textChanged){ _local2 = textField.getTextFormat(); _local2.leftMargin = 0; _local2.rightMargin = 0; textField.defaultTextFormat = _local2; textField.text = _text; textChanged = false; }; } mx_internal function getTextField():IUITextField{ return (textField); } override protected function createChildren():void{ var _local1:Class; super.createChildren(); if (!border){ _local1 = getStyle("borderSkin"); border = new (_local1); if ((border is ISimpleStyleClient)){ ISimpleStyleClient(border).styleName = this; }; addChild(DisplayObject(border)); }; createTextField(-1); } override protected function measure():void{ var _local7:Number; super.measure(); var _local1:EdgeMetrics = borderMetrics; var _local2:Number = (_local1.left + getStyle("paddingLeft")); var _local3:Number = (_local1.top + getStyle("paddingTop")); var _local4:Number = (_local1.right + getStyle("paddingRight")); var _local5:Number = (_local1.bottom + getStyle("paddingBottom")); var _local6:Number = (_local2 + _local4); _local7 = (_local3 + _local5); textField.wordWrap = false; if ((textField.textWidth + _local6) > ToolTip.maxWidth){ textField.width = (ToolTip.maxWidth - _local6); textField.wordWrap = true; }; measuredWidth = (textField.width + _local6); measuredHeight = (textField.height + _local7); } public function get fontContext():IFlexModuleFactory{ return (moduleFactory); } public function set text(_arg1:String):void{ _text = _arg1; textChanged = true; invalidateProperties(); invalidateSize(); invalidateDisplayList(); } public function get text():String{ return (_text); } mx_internal function removeTextField():void{ if (textField){ removeChild(DisplayObject(textField)); textField = null; }; } mx_internal function createTextField(_arg1:int):void{ if (!textField){ textField = IUITextField(createInFontContext(UITextField)); textField.autoSize = TextFieldAutoSize.LEFT; textField.mouseEnabled = false; textField.multiline = true; textField.selectable = false; textField.wordWrap = false; textField.styleName = this; if (_arg1 == -1){ addChild(DisplayObject(textField)); } else { addChildAt(DisplayObject(textField), _arg1); }; }; } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); var _local3:EdgeMetrics = borderMetrics; var _local4:Number = (_local3.left + getStyle("paddingLeft")); var _local5:Number = (_local3.top + getStyle("paddingTop")); var _local6:Number = (_local3.right + getStyle("paddingRight")); var _local7:Number = (_local3.bottom + getStyle("paddingBottom")); var _local8:Number = (_local4 + _local6); var _local9:Number = (_local5 + _local7); border.setActualSize(_arg1, _arg2); textField.move(_local4, _local5); textField.setActualSize((_arg1 - _local8), (_arg2 - _local9)); } private function get borderMetrics():EdgeMetrics{ if ((border is IRectangularBorder)){ return (IRectangularBorder(border).borderMetrics); }; return (EdgeMetrics.EMPTY); } } }//package mx.controls
Section 454
//VScrollBar (mx.controls.VScrollBar) package mx.controls { import mx.controls.scrollClasses.*; import flash.ui.*; public class VScrollBar extends ScrollBar { mx_internal static const VERSION:String = "3.0.0.0"; public function VScrollBar(){ super.direction = ScrollBarDirection.VERTICAL; } override protected function measure():void{ super.measure(); measuredWidth = _minWidth; measuredHeight = _minHeight; } override public function get minHeight():Number{ return (_minHeight); } override mx_internal function isScrollBarKey(_arg1:uint):Boolean{ if (_arg1 == Keyboard.UP){ lineScroll(-1); return (true); }; if (_arg1 == Keyboard.DOWN){ lineScroll(1); return (true); }; if (_arg1 == Keyboard.PAGE_UP){ pageScroll(-1); return (true); }; if (_arg1 == Keyboard.PAGE_DOWN){ pageScroll(1); return (true); }; return (super.isScrollBarKey(_arg1)); } override public function get minWidth():Number{ return (_minWidth); } override public function set direction(_arg1:String):void{ } } }//package mx.controls
Section 455
//Application (mx.core.Application) package mx.core { import flash.display.*; import mx.managers.*; import flash.events.*; import mx.events.*; import mx.styles.*; import mx.effects.*; import mx.containers.utilityClasses.*; import flash.ui.*; import flash.utils.*; import flash.system.*; import flash.external.*; import flash.net.*; public class Application extends LayoutContainer { public var preloader:Object; public var pageTitle:String; private var resizeWidth:Boolean;// = true private var _applicationViewMetrics:EdgeMetrics; mx_internal var _parameters:Object; private var processingCreationQueue:Boolean;// = false public var scriptRecursionLimit:int; private var resizeHandlerAdded:Boolean;// = false private var preloadObj:Object; public var usePreloader:Boolean; mx_internal var _url:String; private var _viewSourceURL:String; public var resetHistory:Boolean;// = true public var historyManagementEnabled:Boolean;// = true public var scriptTimeLimit:Number; public var frameRate:Number; private var creationQueue:Array; private var resizeHeight:Boolean;// = true public var controlBar:IUIComponent; private var viewSourceCMI:ContextMenuItem; mx_internal static const VERSION:String = "3.0.0.0"; mx_internal static var useProgressiveLayout:Boolean = false; public function Application(){ creationQueue = []; name = "application"; UIComponentGlobals.layoutManager = ILayoutManager(Singleton.getInstance("mx.managers::ILayoutManager")); UIComponentGlobals.layoutManager.usePhasedInstantiation = true; if (!ApplicationGlobals.application){ ApplicationGlobals.application = this; }; super(); layoutObject = new ApplicationLayout(); layoutObject.target = this; boxLayoutClass = ApplicationLayout; showInAutomationHierarchy = true; } public function set viewSourceURL(_arg1:String):void{ _viewSourceURL = _arg1; } override public function set percentWidth(_arg1:Number):void{ super.percentWidth = _arg1; invalidateDisplayList(); } override public function prepareToPrint(_arg1:IFlexDisplayObject):Object{ var _local2:Object = {}; if (_arg1 == this){ _local2.width = width; _local2.height = height; _local2.verticalScrollPosition = verticalScrollPosition; _local2.horizontalScrollPosition = horizontalScrollPosition; _local2.horizontalScrollBarVisible = !((horizontalScrollBar == null)); _local2.verticalScrollBarVisible = !((verticalScrollBar == null)); _local2.whiteBoxVisible = !((whiteBox == null)); setActualSize(measuredWidth, measuredHeight); horizontalScrollPosition = 0; verticalScrollPosition = 0; if (horizontalScrollBar){ horizontalScrollBar.visible = false; }; if (verticalScrollBar){ verticalScrollBar.visible = false; }; if (whiteBox){ whiteBox.visible = false; }; updateDisplayList(unscaledWidth, unscaledHeight); }; _local2.scrollRect = super.prepareToPrint(_arg1); return (_local2); } override protected function measure():void{ var _local2:Number; super.measure(); var _local1:EdgeMetrics = borderMetrics; if (((controlBar) && (controlBar.includeInLayout))){ _local2 = ((controlBar.getExplicitOrMeasuredWidth() + _local1.left) + _local1.right); measuredWidth = Math.max(measuredWidth, _local2); measuredMinWidth = Math.max(measuredMinWidth, _local2); }; } override public function getChildIndex(_arg1:DisplayObject):int{ if (((controlBar) && ((_arg1 == controlBar)))){ return (-1); }; return (super.getChildIndex(_arg1)); } private function resizeHandler(_arg1:Event):void{ var _local2:Number; var _local3:Number; if (resizeWidth){ if (isNaN(percentWidth)){ _local2 = DisplayObject(systemManager).width; } else { super.percentWidth = Math.max(percentWidth, 0); super.percentWidth = Math.min(percentWidth, 100); _local2 = ((percentWidth * screen.width) / 100); }; if (!isNaN(explicitMaxWidth)){ _local2 = Math.min(_local2, explicitMaxWidth); }; if (!isNaN(explicitMinWidth)){ _local2 = Math.max(_local2, explicitMinWidth); }; } else { _local2 = width; }; if (resizeHeight){ if (isNaN(percentHeight)){ _local3 = DisplayObject(systemManager).height; } else { super.percentHeight = Math.max(percentHeight, 0); super.percentHeight = Math.min(percentHeight, 100); _local3 = ((percentHeight * screen.height) / 100); }; if (!isNaN(explicitMaxHeight)){ _local3 = Math.min(_local3, explicitMaxHeight); }; if (!isNaN(explicitMinHeight)){ _local3 = Math.max(_local3, explicitMinHeight); }; } else { _local3 = height; }; if (((!((_local2 == width))) || (!((_local3 == height))))){ invalidateProperties(); invalidateSize(); }; setActualSize(_local2, _local3); invalidateDisplayList(); } private function initManagers(_arg1:ISystemManager):void{ if (_arg1.isTopLevel()){ focusManager = new FocusManager(this); _arg1.activate(this); }; } override public function initialize():void{ var _local2:Object; var _local1:ISystemManager = systemManager; _url = _local1.loaderInfo.url; _parameters = _local1.loaderInfo.parameters; initManagers(_local1); _descriptor = null; if (documentDescriptor){ creationPolicy = documentDescriptor.properties.creationPolicy; if ((((creationPolicy == null)) || ((creationPolicy.length == 0)))){ creationPolicy = ContainerCreationPolicy.AUTO; }; _local2 = documentDescriptor.properties; if (_local2.width != null){ width = _local2.width; delete _local2.width; }; if (_local2.height != null){ height = _local2.height; delete _local2.height; }; documentDescriptor.events = null; }; initContextMenu(); super.initialize(); addEventListener(Event.ADDED, addedHandler); if (((_local1.isTopLevel()) && ((Capabilities.isDebugger == true)))){ setInterval(debugTickler, 1500); }; } override public function set percentHeight(_arg1:Number):void{ super.percentHeight = _arg1; invalidateDisplayList(); } override public function get id():String{ if (((((!(super.id)) && ((this == Application.application)))) && (ExternalInterface.available))){ return (ExternalInterface.objectID); }; return (super.id); } override mx_internal function setUnscaledWidth(_arg1:Number):void{ invalidateProperties(); super.setUnscaledWidth(_arg1); } private function debugTickler():void{ var _local1:int; } private function doNextQueueItem(_arg1:FlexEvent=null):void{ processingCreationQueue = true; Application.useProgressiveLayout = true; callLater(processNextQueueItem); } private function initContextMenu():void{ var _local2:String; if (flexContextMenu != null){ if ((systemManager is InteractiveObject)){ InteractiveObject(systemManager).contextMenu = contextMenu; }; return; }; var _local1:ContextMenu = new ContextMenu(); _local1.hideBuiltInItems(); _local1.builtInItems.print = true; if (_viewSourceURL){ _local2 = resourceManager.getString("core", "viewSource"); viewSourceCMI = new ContextMenuItem(_local2, true); viewSourceCMI.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler); _local1.customItems.push(viewSourceCMI); }; contextMenu = _local1; if ((systemManager is InteractiveObject)){ InteractiveObject(systemManager).contextMenu = _local1; }; } private function addedHandler(_arg1:Event):void{ if ((((_arg1.target == this)) && ((creationQueue.length > 0)))){ doNextQueueItem(); }; } public function get viewSourceURL():String{ return (_viewSourceURL); } override mx_internal function get usePadding():Boolean{ return (!((layout == ContainerLayout.ABSOLUTE))); } override mx_internal function setUnscaledHeight(_arg1:Number):void{ invalidateProperties(); super.setUnscaledHeight(_arg1); } mx_internal function dockControlBar(_arg1:IUIComponent, _arg2:Boolean):void{ var controlBar = _arg1; var dock = _arg2; if (dock){ try { removeChild(DisplayObject(controlBar)); } catch(e:Error) { return; }; rawChildren.addChildAt(DisplayObject(controlBar), firstChildIndex); setControlBar(controlBar); } else { try { rawChildren.removeChild(DisplayObject(controlBar)); } catch(e:Error) { return; }; setControlBar(null); addChildAt(DisplayObject(controlBar), 0); }; } override public function styleChanged(_arg1:String):void{ super.styleChanged(_arg1); if ((((_arg1 == "backgroundColor")) && ((getStyle("backgroundImage") == getStyle("defaultBackgroundImage"))))){ clearStyle("backgroundImage"); }; } override protected function layoutChrome(_arg1:Number, _arg2:Number):void{ super.layoutChrome(_arg1, _arg2); if (!doingLayout){ createBorder(); }; var _local3:EdgeMetrics = borderMetrics; var _local4:Number = getStyle("borderThickness"); var _local5:EdgeMetrics = new EdgeMetrics(); _local5.left = (_local3.left - _local4); _local5.top = (_local3.top - _local4); _local5.right = (_local3.right - _local4); _local5.bottom = (_local3.bottom - _local4); if (((controlBar) && (controlBar.includeInLayout))){ if ((controlBar is IInvalidating)){ IInvalidating(controlBar).invalidateDisplayList(); }; controlBar.setActualSize((width - (_local5.left + _local5.right)), controlBar.getExplicitOrMeasuredHeight()); controlBar.move(_local5.left, _local5.top); }; } protected function menuItemSelectHandler(_arg1:Event):void{ navigateToURL(new URLRequest(_viewSourceURL), "_blank"); } private function printCreationQueue():void{ var _local4:Object; var _local1 = ""; var _local2:Number = creationQueue.length; var _local3:int; while (_local3 < _local2) { _local4 = creationQueue[_local3]; _local1 = (_local1 + (((((" [" + _local3) + "] ") + _local4.id) + " ") + _local4.index)); _local3++; }; } override protected function resourcesChanged():void{ super.resourcesChanged(); if (viewSourceCMI){ viewSourceCMI.caption = resourceManager.getString("core", "viewSource"); }; } override protected function commitProperties():void{ super.commitProperties(); resizeWidth = isNaN(explicitWidth); resizeHeight = isNaN(explicitHeight); if (((resizeWidth) || (resizeHeight))){ resizeHandler(new Event(Event.RESIZE)); if (!resizeHandlerAdded){ systemManager.addEventListener(Event.RESIZE, resizeHandler, false, 0, true); resizeHandlerAdded = true; }; } else { if (resizeHandlerAdded){ systemManager.removeEventListener(Event.RESIZE, resizeHandler); resizeHandlerAdded = false; }; }; } override public function set toolTip(_arg1:String):void{ } public function addToCreationQueue(_arg1:Object, _arg2:int=-1, _arg3:Function=null, _arg4:IFlexDisplayObject=null):void{ var _local8:int; var _local9:int; var _local10:int; var _local12:int; var _local5:int = creationQueue.length; var _local6:Object = {}; var _local7:Boolean; _local6.id = _arg1; _local6.parent = _arg4; _local6.callbackFunc = _arg3; _local6.index = _arg2; var _local11:int; while (_local11 < _local5) { _local9 = creationQueue[_local11].index; _local10 = (creationQueue[_local11].parent) ? creationQueue[_local11].parent.nestLevel : 0; if (_local6.index != -1){ if ((((_local9 == -1)) || ((_local6.index < _local9)))){ _local8 = _local11; _local7 = true; break; }; } else { _local12 = (_local6.parent) ? _local6.parent.nestLevel : 0; if ((((_local9 == -1)) && ((_local10 < _local12)))){ _local8 = _local11; _local7 = true; break; }; }; _local11++; }; if (!_local7){ creationQueue.push(_local6); _local7 = true; } else { creationQueue.splice(_local8, 0, _local6); }; if (((initialized) && (!(processingCreationQueue)))){ doNextQueueItem(); }; } override mx_internal function initThemeColor():Boolean{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:CSSStyleDeclaration; var _local1:Boolean = super.initThemeColor(); if (!_local1){ _local5 = StyleManager.getStyleDeclaration("global"); if (_local5){ _local2 = _local5.getStyle("themeColor"); _local3 = _local5.getStyle("rollOverColor"); _local4 = _local5.getStyle("selectionColor"); }; if (((((_local2) && (isNaN(_local3)))) && (isNaN(_local4)))){ setThemeColor(_local2); }; _local1 = true; }; return (_local1); } override public function finishPrint(_arg1:Object, _arg2:IFlexDisplayObject):void{ if (_arg2 == this){ setActualSize(_arg1.width, _arg1.height); if (horizontalScrollBar){ horizontalScrollBar.visible = _arg1.horizontalScrollBarVisible; }; if (verticalScrollBar){ verticalScrollBar.visible = _arg1.verticalScrollBarVisible; }; if (whiteBox){ whiteBox.visible = _arg1.whiteBoxVisible; }; horizontalScrollPosition = _arg1.horizontalScrollPosition; verticalScrollPosition = _arg1.verticalScrollPosition; updateDisplayList(unscaledWidth, unscaledHeight); }; super.finishPrint(_arg1.scrollRect, _arg2); } private function processNextQueueItem():void{ var queueItem:Object; var nextChild:IUIComponent; if (EffectManager.effectsPlaying.length > 0){ callLater(processNextQueueItem); } else { if (creationQueue.length > 0){ queueItem = creationQueue.shift(); try { nextChild = ((queueItem.id is String)) ? document[queueItem.id] : queueItem.id; if ((nextChild is Container)){ Container(nextChild).createComponentsFromDescriptors(true); }; if ((((nextChild is Container)) && ((Container(nextChild).creationPolicy == ContainerCreationPolicy.QUEUED)))){ doNextQueueItem(); } else { nextChild.addEventListener("childrenCreationComplete", doNextQueueItem); }; } catch(e:Error) { processNextQueueItem(); }; } else { processingCreationQueue = false; Application.useProgressiveLayout = false; }; }; } override public function set label(_arg1:String):void{ } public function get parameters():Object{ return (_parameters); } override public function get viewMetrics():EdgeMetrics{ if (!_applicationViewMetrics){ _applicationViewMetrics = new EdgeMetrics(); }; var _local1:EdgeMetrics = _applicationViewMetrics; var _local2:EdgeMetrics = super.viewMetrics; var _local3:Number = getStyle("borderThickness"); _local1.left = _local2.left; _local1.top = _local2.top; _local1.right = _local2.right; _local1.bottom = _local2.bottom; if (((controlBar) && (controlBar.includeInLayout))){ _local1.top = (_local1.top - _local3); _local1.top = (_local1.top + Math.max(controlBar.getExplicitOrMeasuredHeight(), _local3)); }; return (_local1); } public function get url():String{ return (_url); } override public function set icon(_arg1:Class):void{ } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); createBorder(); } private function setControlBar(_arg1:IUIComponent):void{ if (_arg1 == controlBar){ return; }; if (((controlBar) && ((controlBar is IStyleClient)))){ IStyleClient(controlBar).clearStyle("cornerRadius"); IStyleClient(controlBar).clearStyle("docked"); }; controlBar = _arg1; if (((controlBar) && ((controlBar is IStyleClient)))){ IStyleClient(controlBar).setStyle("cornerRadius", 0); IStyleClient(controlBar).setStyle("docked", true); }; invalidateSize(); invalidateDisplayList(); invalidateViewMetricsAndPadding(); } override public function set tabIndex(_arg1:int):void{ } public static function get application():Object{ return (ApplicationGlobals.application); } } }//package mx.core
Section 456
//ApplicationGlobals (mx.core.ApplicationGlobals) package mx.core { public class ApplicationGlobals { public static var application:Object; } }//package mx.core
Section 457
//BitmapAsset (mx.core.BitmapAsset) package mx.core { import flash.display.*; public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject { mx_internal static const VERSION:String = "3.0.0.0"; public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } public function get measuredWidth():Number{ if (bitmapData){ return (bitmapData.width); }; return (0); } public function get measuredHeight():Number{ if (bitmapData){ return (bitmapData.height); }; return (0); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } } }//package mx.core
Section 458
//ComponentDescriptor (mx.core.ComponentDescriptor) package mx.core { public class ComponentDescriptor { public var events:Object; public var type:Class; public var document:Object; private var _properties:Object; public var propertiesFactory:Function; public var id:String; mx_internal static const VERSION:String = "3.0.0.0"; public function ComponentDescriptor(_arg1:Object){ var _local2:String; super(); for (_local2 in _arg1) { this[_local2] = _arg1[_local2]; }; } public function toString():String{ return (("ComponentDescriptor_" + id)); } public function invalidateProperties():void{ _properties = null; } public function get properties():Object{ var _local1:Array; var _local2:int; var _local3:int; if (_properties){ return (_properties); }; if (propertiesFactory != null){ _properties = propertiesFactory.call(document); }; if (_properties){ _local1 = _properties.childDescriptors; if (_local1){ _local2 = _local1.length; _local3 = 0; while (_local3 < _local2) { _local1[_local3].document = document; _local3++; }; }; } else { _properties = {}; }; return (_properties); } } }//package mx.core
Section 459
//Container (mx.core.Container) package mx.core { import flash.display.*; import flash.geom.*; import flash.text.*; import mx.managers.*; import flash.events.*; import mx.events.*; import mx.styles.*; import mx.controls.*; import mx.graphics.*; import mx.controls.scrollClasses.*; import mx.binding.*; import mx.controls.listClasses.*; import flash.ui.*; import flash.utils.*; public class Container extends UIComponent implements IContainer, IDataRenderer, IFocusManagerContainer, IListItemRenderer, IRawChildrenContainer { private var forceLayout:Boolean;// = false private var _numChildrenCreated:int;// = -1 private var _horizontalLineScrollSize:Number;// = 5 mx_internal var border:IFlexDisplayObject; protected var actualCreationPolicy:String; private var _viewMetricsAndPadding:EdgeMetrics; private var _creatingContentPane:Boolean;// = false private var _childRepeaters:Array; private var scrollableWidth:Number;// = 0 private var _childDescriptors:Array; private var _rawChildren:ContainerRawChildrenList; private var _data:Object; private var _verticalPageScrollSize:Number;// = 0 private var _viewMetrics:EdgeMetrics; private var _verticalScrollBar:ScrollBar; private var scrollPropertiesChanged:Boolean;// = false private var changedStyles:String;// = null private var scrollPositionChanged:Boolean;// = true private var _defaultButton:IFlexDisplayObject; private var mouseEventReferenceCount:int;// = 0 private var _focusPane:Sprite; protected var whiteBox:Shape; private var _forceClippingCount:int; private var _horizontalPageScrollSize:Number;// = 0 private var _creationPolicy:String; private var _creationIndex:int;// = -1 private var _clipContent:Boolean;// = true private var _verticalScrollPosition:Number;// = 0 private var _autoLayout:Boolean;// = true private var _icon:Class;// = null mx_internal var doingLayout:Boolean;// = false private var _horizontalScrollBar:ScrollBar; private var numChildrenBefore:int; private var viewableHeight:Number;// = 0 private var viewableWidth:Number;// = 0 mx_internal var contentPane:Sprite;// = null private var _createdComponents:Array; private var _firstChildIndex:int;// = 0 private var scrollableHeight:Number;// = 0 private var _verticalLineScrollSize:Number;// = 5 private var _horizontalScrollPosition:Number;// = 0 mx_internal var _horizontalScrollPolicy:String;// = "auto" private var verticalScrollPositionPending:Number; mx_internal var _verticalScrollPolicy:String;// = "auto" private var horizontalScrollPositionPending:Number; mx_internal var _numChildren:int;// = 0 private var recursionFlag:Boolean;// = true private var _label:String;// = "" mx_internal var blocker:Sprite; mx_internal static const VERSION:String = "3.0.0.0"; private static const MULTIPLE_PROPERTIES:String = "<MULTIPLE>"; public function Container(){ tabChildren = true; tabEnabled = false; showInAutomationHierarchy = false; } public function set verticalScrollPolicy(_arg1:String):void{ if (_verticalScrollPolicy != _arg1){ _verticalScrollPolicy = _arg1; invalidateDisplayList(); dispatchEvent(new Event("verticalScrollPolicyChanged")); }; } private function createContentPaneAndScrollbarsIfNeeded():Boolean{ var _local1:Rectangle; var _local2:Boolean; if (_clipContent){ _local1 = getScrollableRect(); _local2 = createScrollbarsIfNeeded(_local1); if (border){ updateBackgroundImageRect(); }; return (_local2); //unresolved jump }; _local2 = createOrDestroyScrollbars(false, false, false); _local1 = getScrollableRect(); scrollableWidth = _local1.right; scrollableHeight = _local1.bottom; if (((_local2) && (border))){ updateBackgroundImageRect(); }; return (_local2); } override protected function initializationComplete():void{ } mx_internal function rawChildren_getObjectsUnderPoint(_arg1:Point):Array{ return (super.getObjectsUnderPoint(_arg1)); } public function set creatingContentPane(_arg1:Boolean):void{ _creatingContentPane = _arg1; } public function set clipContent(_arg1:Boolean):void{ if (_clipContent != _arg1){ _clipContent = _arg1; invalidateDisplayList(); }; } protected function scrollChildren():void{ if (!contentPane){ return; }; var _local1:EdgeMetrics = viewMetrics; var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = ((unscaledWidth - _local1.left) - _local1.right); var _local5:Number = ((unscaledHeight - _local1.top) - _local1.bottom); if (_clipContent){ _local2 = (_local2 + _horizontalScrollPosition); if (horizontalScrollBar){ _local4 = viewableWidth; }; _local3 = (_local3 + _verticalScrollPosition); if (verticalScrollBar){ _local5 = viewableHeight; }; } else { _local4 = scrollableWidth; _local5 = scrollableHeight; }; var _local6:Rectangle = getScrollableRect(); if ((((((((((((((_local2 == 0)) && ((_local3 == 0)))) && ((_local4 >= _local6.right)))) && ((_local5 >= _local6.bottom)))) && ((_local6.left >= 0)))) && ((_local6.top >= 0)))) && ((_forceClippingCount <= 0)))){ contentPane.scrollRect = null; contentPane.opaqueBackground = null; contentPane.cacheAsBitmap = false; } else { contentPane.scrollRect = new Rectangle(_local2, _local3, _local4, _local5); }; if (focusPane){ focusPane.scrollRect = contentPane.scrollRect; }; if (((((border) && ((border is IRectangularBorder)))) && (IRectangularBorder(border).hasBackgroundImage))){ IRectangularBorder(border).layoutBackgroundImage(); }; } override public function set doubleClickEnabled(_arg1:Boolean):void{ var _local2:int; var _local3:int; var _local4:InteractiveObject; super.doubleClickEnabled = _arg1; if (contentPane){ _local2 = contentPane.numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = (contentPane.getChildAt(_local3) as InteractiveObject); if (_local4){ _local4.doubleClickEnabled = _arg1; }; _local3++; }; }; } override public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ var _local5:ISimpleStyleClient; var _local3:int = super.numChildren; var _local4:int; while (_local4 < _local3) { if (((((contentPane) || ((_local4 < _firstChildIndex)))) || ((_local4 >= (_firstChildIndex + _numChildren))))){ _local5 = (super.getChildAt(_local4) as ISimpleStyleClient); if (_local5){ _local5.styleChanged(_arg1); if ((_local5 is IStyleClient)){ IStyleClient(_local5).notifyStyleChangeInChildren(_arg1, _arg2); }; }; }; _local4++; }; if (_arg2){ changedStyles = (((!((changedStyles == null))) || ((_arg1 == null)))) ? MULTIPLE_PROPERTIES : _arg1; invalidateProperties(); }; } mx_internal function get createdComponents():Array{ return (_createdComponents); } public function get childDescriptors():Array{ return (_childDescriptors); } override public function get contentMouseY():Number{ if (contentPane){ return (contentPane.mouseY); }; return (super.contentMouseY); } mx_internal function get childRepeaters():Array{ return (_childRepeaters); } override public function contains(_arg1:DisplayObject):Boolean{ if (contentPane){ return (contentPane.contains(_arg1)); }; return (super.contains(_arg1)); } override public function get contentMouseX():Number{ if (contentPane){ return (contentPane.mouseX); }; return (super.contentMouseX); } mx_internal function set createdComponents(_arg1:Array):void{ _createdComponents = _arg1; } public function get horizontalScrollBar():ScrollBar{ return (_horizontalScrollBar); } override public function validateSize(_arg1:Boolean=false):void{ var _local2:int; var _local3:int; var _local4:DisplayObject; if ((((autoLayout == false)) && ((forceLayout == false)))){ if (_arg1){ _local2 = super.numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = super.getChildAt(_local3); if ((_local4 is ILayoutManagerClient)){ ILayoutManagerClient(_local4).validateSize(true); }; _local3++; }; }; adjustSizesForScaleChanges(); } else { super.validateSize(_arg1); }; } public function get rawChildren():IChildList{ if (!_rawChildren){ _rawChildren = new ContainerRawChildrenList(this); }; return (_rawChildren); } override public function getChildAt(_arg1:int):DisplayObject{ if (contentPane){ return (contentPane.getChildAt(_arg1)); }; return (super.getChildAt((_firstChildIndex + _arg1))); } override protected function attachOverlay():void{ rawChildren_addChild(overlay); } override public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ super.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); if ((((((((((((((((_arg1 == MouseEvent.CLICK)) || ((_arg1 == MouseEvent.DOUBLE_CLICK)))) || ((_arg1 == MouseEvent.MOUSE_DOWN)))) || ((_arg1 == MouseEvent.MOUSE_MOVE)))) || ((_arg1 == MouseEvent.MOUSE_OVER)))) || ((_arg1 == MouseEvent.MOUSE_OUT)))) || ((_arg1 == MouseEvent.MOUSE_UP)))) || ((_arg1 == MouseEvent.MOUSE_WHEEL)))){ if ((((mouseEventReferenceCount < 2147483647)) && ((mouseEventReferenceCount++ == 0)))){ setStyle("mouseShield", true); setStyle("mouseShieldChildren", true); }; }; } override public function localToContent(_arg1:Point):Point{ if (!contentPane){ return (_arg1); }; _arg1 = localToGlobal(_arg1); return (globalToContent(_arg1)); } public function executeChildBindings(_arg1:Boolean):void{ var _local4:IUIComponent; var _local2:int = numChildren; var _local3:int; while (_local3 < _local2) { _local4 = IUIComponent(getChildAt(_local3)); if ((_local4 is IDeferredInstantiationUIComponent)){ IDeferredInstantiationUIComponent(_local4).executeBindings(_arg1); }; _local3++; }; } protected function createBorder():void{ var _local1:Class; if (((!(border)) && (isBorderNeeded()))){ _local1 = getStyle("borderSkin"); if (_local1 != null){ border = new (_local1); border.name = "border"; if ((border is IUIComponent)){ IUIComponent(border).enabled = enabled; }; if ((border is ISimpleStyleClient)){ ISimpleStyleClient(border).styleName = this; }; rawChildren.addChildAt(DisplayObject(border), 0); invalidateDisplayList(); }; }; } public function get verticalScrollPosition():Number{ if (!isNaN(verticalScrollPositionPending)){ return (verticalScrollPositionPending); }; return (_verticalScrollPosition); } public function get horizontalScrollPosition():Number{ if (!isNaN(horizontalScrollPositionPending)){ return (horizontalScrollPositionPending); }; return (_horizontalScrollPosition); } protected function layoutChrome(_arg1:Number, _arg2:Number):void{ if (border){ updateBackgroundImageRect(); border.move(0, 0); border.setActualSize(_arg1, _arg2); }; } mx_internal function set childRepeaters(_arg1:Array):void{ _childRepeaters = _arg1; } override public function get focusPane():Sprite{ return (_focusPane); } public function set creationIndex(_arg1:int):void{ _creationIndex = _arg1; } public function get viewMetrics():EdgeMetrics{ var _local1:EdgeMetrics = borderMetrics; var _local2:Boolean = ((!((verticalScrollBar == null))) && (((doingLayout) || ((verticalScrollPolicy == ScrollPolicy.ON))))); var _local3:Boolean = ((!((horizontalScrollBar == null))) && (((doingLayout) || ((horizontalScrollPolicy == ScrollPolicy.ON))))); if (((!(_local2)) && (!(_local3)))){ return (_local1); }; if (!_viewMetrics){ _viewMetrics = _local1.clone(); } else { _viewMetrics.left = _local1.left; _viewMetrics.right = _local1.right; _viewMetrics.top = _local1.top; _viewMetrics.bottom = _local1.bottom; }; if (_local2){ _viewMetrics.right = (_viewMetrics.right + verticalScrollBar.minWidth); }; if (_local3){ _viewMetrics.bottom = (_viewMetrics.bottom + horizontalScrollBar.minHeight); }; return (_viewMetrics); } public function set verticalScrollBar(_arg1:ScrollBar):void{ _verticalScrollBar = _arg1; } public function set verticalScrollPosition(_arg1:Number):void{ if (_verticalScrollPosition == _arg1){ return; }; _verticalScrollPosition = _arg1; scrollPositionChanged = true; if (!initialized){ verticalScrollPositionPending = _arg1; }; invalidateDisplayList(); dispatchEvent(new Event("viewChanged")); } private function createOrDestroyScrollbars(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean):Boolean{ var _local5:IFocusManager; var _local6:String; var _local7:String; var _local8:Graphics; var _local4:Boolean; if (((((_arg1) || (_arg2))) || (_arg3))){ createContentPane(); }; if (_arg1){ if (!horizontalScrollBar){ horizontalScrollBar = new HScrollBar(); horizontalScrollBar.name = "horizontalScrollBar"; _local6 = getStyle("horizontalScrollBarStyleName"); if (((_local6) && ((horizontalScrollBar is ISimpleStyleClient)))){ ISimpleStyleClient(horizontalScrollBar).styleName = _local6; }; rawChildren.addChild(DisplayObject(horizontalScrollBar)); horizontalScrollBar.lineScrollSize = horizontalLineScrollSize; horizontalScrollBar.pageScrollSize = horizontalPageScrollSize; horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, horizontalScrollBar_scrollHandler); horizontalScrollBar.enabled = enabled; if ((horizontalScrollBar is IInvalidating)){ IInvalidating(horizontalScrollBar).validateNow(); }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; if (!verticalScrollBar){ addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; }; } else { if (horizontalScrollBar){ horizontalScrollBar.removeEventListener(ScrollEvent.SCROLL, horizontalScrollBar_scrollHandler); rawChildren.removeChild(DisplayObject(horizontalScrollBar)); horizontalScrollBar = null; viewableWidth = (scrollableWidth = 0); if (_horizontalScrollPosition != 0){ _horizontalScrollPosition = 0; scrollPositionChanged = true; }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; _local5 = focusManager; if (((!(verticalScrollBar)) && (((!(_local5)) || (!((_local5.getFocus() == this))))))){ removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; }; }; if (_arg2){ if (!verticalScrollBar){ verticalScrollBar = new VScrollBar(); verticalScrollBar.name = "verticalScrollBar"; _local7 = getStyle("verticalScrollBarStyleName"); if (((_local7) && ((verticalScrollBar is ISimpleStyleClient)))){ ISimpleStyleClient(verticalScrollBar).styleName = _local7; }; rawChildren.addChild(DisplayObject(verticalScrollBar)); verticalScrollBar.lineScrollSize = verticalLineScrollSize; verticalScrollBar.pageScrollSize = verticalPageScrollSize; verticalScrollBar.addEventListener(ScrollEvent.SCROLL, verticalScrollBar_scrollHandler); verticalScrollBar.enabled = enabled; if ((verticalScrollBar is IInvalidating)){ IInvalidating(verticalScrollBar).validateNow(); }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; if (!horizontalScrollBar){ addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); }; } else { if (verticalScrollBar){ verticalScrollBar.removeEventListener(ScrollEvent.SCROLL, verticalScrollBar_scrollHandler); rawChildren.removeChild(DisplayObject(verticalScrollBar)); verticalScrollBar = null; viewableHeight = (scrollableHeight = 0); if (_verticalScrollPosition != 0){ _verticalScrollPosition = 0; scrollPositionChanged = true; }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; _local5 = focusManager; if (((!(horizontalScrollBar)) && (((!(_local5)) || (!((_local5.getFocus() == this))))))){ removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; removeEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); }; }; if (((horizontalScrollBar) && (verticalScrollBar))){ if (!whiteBox){ whiteBox = new FlexShape(); whiteBox.name = "whiteBox"; _local8 = whiteBox.graphics; _local8.beginFill(0xFFFFFF); _local8.drawRect(0, 0, verticalScrollBar.minWidth, horizontalScrollBar.minHeight); _local8.endFill(); rawChildren.addChild(whiteBox); }; } else { if (whiteBox){ rawChildren.removeChild(whiteBox); whiteBox = null; }; }; return (_local4); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local3:String; var _local4:Number; var _local2:Object = getFocus(); if ((_local2 is TextField)){ return; }; if (verticalScrollBar){ _local3 = ScrollEventDirection.VERTICAL; _local4 = verticalScrollPosition; switch (_arg1.keyCode){ case Keyboard.DOWN: verticalScrollPosition = (verticalScrollPosition + verticalLineScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.LINE_DOWN); _arg1.stopPropagation(); break; case Keyboard.UP: verticalScrollPosition = (verticalScrollPosition - verticalLineScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.LINE_UP); _arg1.stopPropagation(); break; case Keyboard.PAGE_UP: verticalScrollPosition = (verticalScrollPosition - verticalPageScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.PAGE_UP); _arg1.stopPropagation(); break; case Keyboard.PAGE_DOWN: verticalScrollPosition = (verticalScrollPosition + verticalPageScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.PAGE_DOWN); _arg1.stopPropagation(); break; case Keyboard.HOME: verticalScrollPosition = verticalScrollBar.minScrollPosition; dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.AT_TOP); _arg1.stopPropagation(); break; case Keyboard.END: verticalScrollPosition = verticalScrollBar.maxScrollPosition; dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.AT_BOTTOM); _arg1.stopPropagation(); break; }; }; if (horizontalScrollBar){ _local3 = ScrollEventDirection.HORIZONTAL; _local4 = horizontalScrollPosition; switch (_arg1.keyCode){ case Keyboard.LEFT: horizontalScrollPosition = (horizontalScrollPosition - horizontalLineScrollSize); dispatchScrollEvent(_local3, _local4, horizontalScrollPosition, ScrollEventDetail.LINE_LEFT); _arg1.stopPropagation(); break; case Keyboard.RIGHT: horizontalScrollPosition = (horizontalScrollPosition + horizontalLineScrollSize); dispatchScrollEvent(_local3, _local4, horizontalScrollPosition, ScrollEventDetail.LINE_RIGHT); _arg1.stopPropagation(); break; }; }; } public function get icon():Class{ return (_icon); } private function createOrDestroyBlocker():void{ var _local1:DisplayObject; var _local2:ISystemManager; if (enabled){ if (blocker){ rawChildren.removeChild(blocker); blocker = null; }; } else { if (!blocker){ blocker = new FlexSprite(); blocker.name = "blocker"; blocker.mouseEnabled = true; rawChildren.addChild(blocker); blocker.addEventListener(MouseEvent.CLICK, blocker_clickHandler); _local1 = (focusManager) ? DisplayObject(focusManager.getFocus()) : null; while (_local1) { if (_local1 == this){ _local2 = systemManager; if (((_local2) && (_local2.stage))){ _local2.stage.focus = null; }; break; }; _local1 = _local1.parent; }; }; }; } private function horizontalScrollBar_scrollHandler(_arg1:Event):void{ var _local2:Number; if ((_arg1 is ScrollEvent)){ _local2 = horizontalScrollPosition; horizontalScrollPosition = horizontalScrollBar.scrollPosition; dispatchScrollEvent(ScrollEventDirection.HORIZONTAL, _local2, horizontalScrollPosition, ScrollEvent(_arg1).detail); }; } public function createComponentFromDescriptor(_arg1:ComponentDescriptor, _arg2:Boolean):IFlexDisplayObject{ var _local7:String; var _local10:IRepeaterClient; var _local11:IStyleClient; var _local12:String; var _local13:String; var _local3:UIComponentDescriptor = UIComponentDescriptor(_arg1); var _local4:Object = _local3.properties; if (((((((!((numChildrenBefore == 0))) || (!((numChildrenCreated == -1))))) && ((_local3.instanceIndices == null)))) && (hasChildMatchingDescriptor(_local3)))){ return (null); }; UIComponentGlobals.layoutManager.usePhasedInstantiation = true; var _local5:Class = _local3.type; var _local6:IDeferredInstantiationUIComponent = new (_local5); _local6.id = _local3.id; if (((_local6.id) && (!((_local6.id == ""))))){ _local6.name = _local6.id; }; _local6.descriptor = _local3; if (((_local4.childDescriptors) && ((_local6 is Container)))){ Container(_local6)._childDescriptors = _local4.childDescriptors; delete _local4.childDescriptors; }; for (_local7 in _local4) { _local6[_local7] = _local4[_local7]; }; if ((_local6 is Container)){ Container(_local6).recursionFlag = _arg2; }; if (_local3.instanceIndices){ if ((_local6 is IRepeaterClient)){ _local10 = IRepeaterClient(_local6); _local10.instanceIndices = _local3.instanceIndices; _local10.repeaters = _local3.repeaters; _local10.repeaterIndices = _local3.repeaterIndices; }; }; if ((_local6 is IStyleClient)){ _local11 = IStyleClient(_local6); if (_local3.stylesFactory != null){ if (!_local11.styleDeclaration){ _local11.styleDeclaration = new CSSStyleDeclaration(); }; _local11.styleDeclaration.factory = _local3.stylesFactory; }; }; var _local8:Object = _local3.events; if (_local8){ for (_local12 in _local8) { _local13 = _local8[_local12]; _local6.addEventListener(_local12, _local3.document[_local13]); }; }; var _local9:Array = _local3.effects; if (_local9){ _local6.registerEffects(_local9); }; if ((_local6 is IRepeaterClient)){ IRepeaterClient(_local6).initializeRepeaterArrays(this); }; _local6.createReferenceOnParentDocument(IFlexDisplayObject(_local3.document)); if (!_local6.document){ _local6.document = _local3.document; }; if ((_local6 is IRepeater)){ if (!childRepeaters){ childRepeaters = []; }; childRepeaters.push(_local6); _local6.executeBindings(); IRepeater(_local6).initializeRepeater(this, _arg2); } else { addChild(DisplayObject(_local6)); if ((((creationPolicy == ContainerCreationPolicy.QUEUED)) || ((creationPolicy == ContainerCreationPolicy.NONE)))){ _local6.addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); }; }; return (_local6); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; if (horizontalScrollBar){ horizontalScrollBar.enabled = _arg1; }; if (verticalScrollBar){ verticalScrollBar.enabled = _arg1; }; invalidateProperties(); } public function set horizontalScrollBar(_arg1:ScrollBar):void{ _horizontalScrollBar = _arg1; } mx_internal function get usePadding():Boolean{ return (true); } override public function get baselinePosition():Number{ var _local2:IUIComponent; if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ if ((((getStyle("verticalAlign") == "top")) && ((numChildren > 0)))){ _local2 = (getChildAt(0) as IUIComponent); if (_local2){ return ((_local2.y + _local2.baselinePosition)); }; }; return (super.baselinePosition); }; if (!validateBaselinePosition()){ return (NaN); }; var _local1:TextLineMetrics = measureText("Wj"); if (height < (((2 * viewMetrics.top) + 4) + _local1.ascent)){ return (int((height + ((_local1.ascent - height) / 2)))); }; return (((viewMetrics.top + 2) + _local1.ascent)); } override public function getChildByName(_arg1:String):DisplayObject{ var _local2:DisplayObject; var _local3:int; if (contentPane){ return (contentPane.getChildByName(_arg1)); }; _local2 = super.getChildByName(_arg1); if (!_local2){ return (null); }; _local3 = (super.getChildIndex(_local2) - _firstChildIndex); if ((((_local3 < 0)) || ((_local3 >= _numChildren)))){ return (null); }; return (_local2); } public function get verticalLineScrollSize():Number{ return (_verticalLineScrollSize); } public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } override public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ var _local3:DisplayObjectContainer = _arg1.parent; if (((_local3) && (!((_local3 is Loader))))){ _local3.removeChild(_arg1); }; addingChild(_arg1); if (contentPane){ contentPane.addChildAt(_arg1, _arg2); } else { $addChildAt(_arg1, (_firstChildIndex + _arg2)); }; childAdded(_arg1); if ((((_arg1 is UIComponent)) && (UIComponent(_arg1).isDocument))){ BindingManager.setEnabled(_arg1, true); }; if ((_arg1 is IDeferredInstantiationUIComponent)){ IDeferredInstantiationUIComponent(_arg1).executeBindings(true); }; return (_arg1); } public function get maxVerticalScrollPosition():Number{ return ((verticalScrollBar) ? verticalScrollBar.maxScrollPosition : Math.max((scrollableHeight - viewableHeight), 0)); } public function set horizontalScrollPosition(_arg1:Number):void{ if (_horizontalScrollPosition == _arg1){ return; }; _horizontalScrollPosition = _arg1; scrollPositionChanged = true; if (!initialized){ horizontalScrollPositionPending = _arg1; }; invalidateDisplayList(); dispatchEvent(new Event("viewChanged")); } mx_internal function invalidateViewMetricsAndPadding():void{ _viewMetricsAndPadding = null; } public function get horizontalLineScrollSize():Number{ return (_horizontalLineScrollSize); } override public function set focusPane(_arg1:Sprite):void{ var _local2:Boolean = invalidateSizeFlag; var _local3:Boolean = invalidateDisplayListFlag; invalidateSizeFlag = true; invalidateDisplayListFlag = true; if (_arg1){ rawChildren.addChild(_arg1); _arg1.x = 0; _arg1.y = 0; _arg1.scrollRect = null; _focusPane = _arg1; } else { rawChildren.removeChild(_focusPane); _focusPane = null; }; if (((_arg1) && (contentPane))){ _arg1.x = contentPane.x; _arg1.y = contentPane.y; _arg1.scrollRect = contentPane.scrollRect; }; invalidateSizeFlag = _local2; invalidateDisplayListFlag = _local3; } private function updateBackgroundImageRect():void{ var _local1:IRectangularBorder = (border as IRectangularBorder); if (!_local1){ return; }; if ((((viewableWidth == 0)) && ((viewableHeight == 0)))){ _local1.backgroundImageBounds = null; return; }; var _local2:EdgeMetrics = viewMetrics; var _local3:Number = (viewableWidth) ? viewableWidth : ((unscaledWidth - _local2.left) - _local2.right); var _local4:Number = (viewableHeight) ? viewableHeight : ((unscaledHeight - _local2.top) - _local2.bottom); if (getStyle("backgroundAttachment") == "fixed"){ _local1.backgroundImageBounds = new Rectangle(_local2.left, _local2.top, _local3, _local4); } else { _local1.backgroundImageBounds = new Rectangle(_local2.left, _local2.top, Math.max(scrollableWidth, _local3), Math.max(scrollableHeight, _local4)); }; } private function blocker_clickHandler(_arg1:Event):void{ _arg1.stopPropagation(); } private function mouseWheelHandler(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; var _local4:Number; var _local5:Number; if (verticalScrollBar){ _arg1.stopPropagation(); _local2 = ((_arg1.delta <= 0)) ? 1 : -1; _local3 = (verticalScrollBar) ? verticalScrollBar.lineScrollSize : 1; _local4 = Math.max(Math.abs(_arg1.delta), _local3); _local5 = verticalScrollPosition; verticalScrollPosition = (verticalScrollPosition + ((3 * _local4) * _local2)); dispatchScrollEvent(ScrollEventDirection.VERTICAL, _local5, verticalScrollPosition, ((_arg1.delta <= 0)) ? ScrollEventDetail.LINE_UP : ScrollEventDetail.LINE_DOWN); }; } public function get defaultButton():IFlexDisplayObject{ return (_defaultButton); } mx_internal function createContentPane():void{ var _local3:int; var _local5:IUIComponent; if (contentPane){ return; }; creatingContentPane = true; var _local1:int = numChildren; var _local2:Sprite = new FlexSprite(); _local2.name = "contentPane"; _local2.tabChildren = true; if (border){ _local3 = (rawChildren.getChildIndex(DisplayObject(border)) + 1); if ((((border is IRectangularBorder)) && (IRectangularBorder(border).hasBackgroundImage))){ _local3++; }; } else { _local3 = 0; }; rawChildren.addChildAt(_local2, _local3); var _local4:int; while (_local4 < _local1) { _local5 = IUIComponent(super.getChildAt(_firstChildIndex)); _local2.addChild(DisplayObject(_local5)); _local5.parentChanged(_local2); _numChildren--; _local4++; }; contentPane = _local2; creatingContentPane = false; contentPane.visible = true; } public function set verticalPageScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _verticalPageScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("verticalPageScrollSizeChanged")); } mx_internal function setDocumentDescriptor(_arg1:UIComponentDescriptor):void{ var _local2:String; if (processedDescriptors){ return; }; if (((_documentDescriptor) && (_documentDescriptor.properties.childDescriptors))){ if (_arg1.properties.childDescriptors){ _local2 = resourceManager.getString("core", "multipleChildSets_ClassAndSubclass"); throw (new Error(_local2)); }; } else { _documentDescriptor = _arg1; _documentDescriptor.document = this; }; } private function verticalScrollBar_scrollHandler(_arg1:Event):void{ var _local2:Number; if ((_arg1 is ScrollEvent)){ _local2 = verticalScrollPosition; verticalScrollPosition = verticalScrollBar.scrollPosition; dispatchScrollEvent(ScrollEventDirection.VERTICAL, _local2, verticalScrollPosition, ScrollEvent(_arg1).detail); }; } public function get creationPolicy():String{ return (_creationPolicy); } public function set icon(_arg1:Class):void{ _icon = _arg1; dispatchEvent(new Event("iconChanged")); } private function dispatchScrollEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String):void{ var _local5:ScrollEvent = new ScrollEvent(ScrollEvent.SCROLL); _local5.direction = _arg1; _local5.position = _arg3; _local5.delta = (_arg3 - _arg2); _local5.detail = _arg4; dispatchEvent(_local5); } public function get label():String{ return (_label); } public function get verticalScrollPolicy():String{ return (_verticalScrollPolicy); } public function get borderMetrics():EdgeMetrics{ return ((((border) && ((border is IRectangularBorder)))) ? IRectangularBorder(border).borderMetrics : EdgeMetrics.EMPTY); } private function creationCompleteHandler(_arg1:FlexEvent):void{ numChildrenCreated--; if (numChildrenCreated <= 0){ dispatchEvent(new FlexEvent("childrenCreationComplete")); }; } override public function contentToLocal(_arg1:Point):Point{ if (!contentPane){ return (_arg1); }; _arg1 = contentToGlobal(_arg1); return (globalToLocal(_arg1)); } override public function removeChild(_arg1:DisplayObject):DisplayObject{ var _local2:int; var _local3:int; if ((((_arg1 is IDeferredInstantiationUIComponent)) && (IDeferredInstantiationUIComponent(_arg1).descriptor))){ if (createdComponents){ _local2 = createdComponents.length; _local3 = 0; while (_local3 < _local2) { if (createdComponents[_local3] === _arg1){ createdComponents.splice(_local3, 1); }; _local3++; }; }; }; removingChild(_arg1); if ((((_arg1 is UIComponent)) && (UIComponent(_arg1).isDocument))){ BindingManager.setEnabled(_arg1, false); }; if (contentPane){ contentPane.removeChild(_arg1); } else { $removeChild(_arg1); }; childRemoved(_arg1); return (_arg1); } final mx_internal function get $numChildren():int{ return (super.numChildren); } mx_internal function get numRepeaters():int{ return ((childRepeaters) ? childRepeaters.length : 0); } mx_internal function set numChildrenCreated(_arg1:int):void{ _numChildrenCreated = _arg1; } public function get creatingContentPane():Boolean{ return (_creatingContentPane); } public function get clipContent():Boolean{ return (_clipContent); } mx_internal function rawChildren_getChildIndex(_arg1:DisplayObject):int{ return (super.getChildIndex(_arg1)); } override public function regenerateStyleCache(_arg1:Boolean):void{ var _local2:int; var _local3:int; var _local4:DisplayObject; super.regenerateStyleCache(_arg1); if (contentPane){ _local2 = contentPane.numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = getChildAt(_local3); if (((_arg1) && ((_local4 is UIComponent)))){ if (UIComponent(_local4).inheritingStyles != UIComponent.STYLE_UNINITIALIZED){ UIComponent(_local4).regenerateStyleCache(_arg1); }; } else { if ((((_local4 is IUITextField)) && (IUITextField(_local4).inheritingStyles))){ StyleProtoChain.initTextField(IUITextField(_local4)); }; }; _local3++; }; }; } override public function getChildIndex(_arg1:DisplayObject):int{ var _local2:int; if (contentPane){ return (contentPane.getChildIndex(_arg1)); }; _local2 = (super.getChildIndex(_arg1) - _firstChildIndex); return (_local2); } mx_internal function rawChildren_contains(_arg1:DisplayObject):Boolean{ return (super.contains(_arg1)); } mx_internal function getScrollableRect():Rectangle{ var _local9:DisplayObject; var _local1:Number = 0; var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = 0; var _local5:int = numChildren; var _local6:int; while (_local6 < _local5) { _local9 = getChildAt(_local6); if ((((_local9 is IUIComponent)) && (!(IUIComponent(_local9).includeInLayout)))){ } else { _local1 = Math.min(_local1, _local9.x); _local2 = Math.min(_local2, _local9.y); if (!isNaN(_local9.width)){ _local3 = Math.max(_local3, (_local9.x + _local9.width)); }; if (!isNaN(_local9.height)){ _local4 = Math.max(_local4, (_local9.y + _local9.height)); }; }; _local6++; }; var _local7:EdgeMetrics = viewMetrics; var _local8:Rectangle = new Rectangle(); _local8.left = _local1; _local8.top = _local2; _local8.right = _local3; _local8.bottom = _local4; if (usePadding){ _local8.right = (_local8.right + getStyle("paddingRight")); _local8.bottom = (_local8.bottom + getStyle("paddingBottom")); }; return (_local8); } override protected function createChildren():void{ var _local1:Application; super.createChildren(); createBorder(); createOrDestroyScrollbars((horizontalScrollPolicy == ScrollPolicy.ON), (verticalScrollPolicy == ScrollPolicy.ON), (((horizontalScrollPolicy == ScrollPolicy.ON)) || ((verticalScrollPolicy == ScrollPolicy.ON)))); if (creationPolicy != null){ actualCreationPolicy = creationPolicy; } else { if ((parent is Container)){ if (Container(parent).actualCreationPolicy == ContainerCreationPolicy.QUEUED){ actualCreationPolicy = ContainerCreationPolicy.AUTO; } else { actualCreationPolicy = Container(parent).actualCreationPolicy; }; }; }; if (actualCreationPolicy == ContainerCreationPolicy.NONE){ actualCreationPolicy = ContainerCreationPolicy.AUTO; } else { if (actualCreationPolicy == ContainerCreationPolicy.QUEUED){ _local1 = (parentApplication) ? Application(parentApplication) : Application(Application.application); _local1.addToCreationQueue(this, creationIndex, null, this); } else { if (recursionFlag){ createComponentsFromDescriptors(); }; }; }; if (autoLayout == false){ forceLayout = true; }; UIComponentGlobals.layoutManager.addEventListener(FlexEvent.UPDATE_COMPLETE, layoutCompleteHandler, false, 0, true); } override public function executeBindings(_arg1:Boolean=false):void{ var _local2:Object = (((descriptor) && (descriptor.document))) ? descriptor.document : parentDocument; BindingManager.executeBindings(_local2, id, this); if (_arg1){ executeChildBindings(_arg1); }; } override public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3:int; var _local4:int = _local3; var _local5:int = _arg2; if (contentPane){ contentPane.setChildIndex(_arg1, _arg2); if (((_autoLayout) || (forceLayout))){ invalidateDisplayList(); }; } else { _local3 = super.getChildIndex(_arg1); _arg2 = (_arg2 + _firstChildIndex); if (_arg2 == _local3){ return; }; super.setChildIndex(_arg1, _arg2); invalidateDisplayList(); _local4 = (_local3 - _firstChildIndex); _local5 = (_arg2 - _firstChildIndex); }; var _local6:IndexChangedEvent = new IndexChangedEvent(IndexChangedEvent.CHILD_INDEX_CHANGE); _local6.relatedObject = _arg1; _local6.oldIndex = _local4; _local6.newIndex = _local5; dispatchEvent(_local6); dispatchEvent(new Event("childrenChanged")); } override public function globalToContent(_arg1:Point):Point{ if (contentPane){ return (contentPane.globalToLocal(_arg1)); }; return (globalToLocal(_arg1)); } mx_internal function rawChildren_removeChild(_arg1:DisplayObject):DisplayObject{ var _local2:int = rawChildren_getChildIndex(_arg1); return (rawChildren_removeChildAt(_local2)); } mx_internal function rawChildren_setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3:int = super.getChildIndex(_arg1); super.setChildIndex(_arg1, _arg2); if ((((_local3 < _firstChildIndex)) && ((_arg2 >= _firstChildIndex)))){ _firstChildIndex--; } else { if ((((_local3 >= _firstChildIndex)) && ((_arg2 <= _firstChildIndex)))){ _firstChildIndex++; }; }; dispatchEvent(new Event("childrenChanged")); } public function set verticalLineScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _verticalLineScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("verticalLineScrollSizeChanged")); } mx_internal function rawChildren_getChildAt(_arg1:int):DisplayObject{ return (super.getChildAt(_arg1)); } public function get creationIndex():int{ return (_creationIndex); } public function get verticalScrollBar():ScrollBar{ return (_verticalScrollBar); } public function get viewMetricsAndPadding():EdgeMetrics{ if (((((_viewMetricsAndPadding) && (((!(horizontalScrollBar)) || ((horizontalScrollPolicy == ScrollPolicy.ON)))))) && (((!(verticalScrollBar)) || ((verticalScrollPolicy == ScrollPolicy.ON)))))){ return (_viewMetricsAndPadding); }; if (!_viewMetricsAndPadding){ _viewMetricsAndPadding = new EdgeMetrics(); }; var _local1:EdgeMetrics = _viewMetricsAndPadding; var _local2:EdgeMetrics = viewMetrics; _local1.left = (_local2.left + getStyle("paddingLeft")); _local1.right = (_local2.right + getStyle("paddingRight")); _local1.top = (_local2.top + getStyle("paddingTop")); _local1.bottom = (_local2.bottom + getStyle("paddingBottom")); return (_local1); } override public function addChild(_arg1:DisplayObject):DisplayObject{ return (addChildAt(_arg1, numChildren)); } public function set horizontalPageScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _horizontalPageScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("horizontalPageScrollSizeChanged")); } override mx_internal function childAdded(_arg1:DisplayObject):void{ dispatchEvent(new Event("childrenChanged")); var _local2:ChildExistenceChangedEvent = new ChildExistenceChangedEvent(ChildExistenceChangedEvent.CHILD_ADD); _local2.relatedObject = _arg1; dispatchEvent(_local2); _arg1.dispatchEvent(new FlexEvent(FlexEvent.ADD)); super.childAdded(_arg1); } public function set horizontalScrollPolicy(_arg1:String):void{ if (_horizontalScrollPolicy != _arg1){ _horizontalScrollPolicy = _arg1; invalidateDisplayList(); dispatchEvent(new Event("horizontalScrollPolicyChanged")); }; } private function layoutCompleteHandler(_arg1:FlexEvent):void{ UIComponentGlobals.layoutManager.removeEventListener(FlexEvent.UPDATE_COMPLETE, layoutCompleteHandler); forceLayout = false; var _local2:Boolean; if (!isNaN(horizontalScrollPositionPending)){ if (horizontalScrollPositionPending < 0){ horizontalScrollPositionPending = 0; } else { if (horizontalScrollPositionPending > maxHorizontalScrollPosition){ horizontalScrollPositionPending = maxHorizontalScrollPosition; }; }; if (((horizontalScrollBar) && (!((horizontalScrollBar.scrollPosition == horizontalScrollPositionPending))))){ _horizontalScrollPosition = horizontalScrollPositionPending; horizontalScrollBar.scrollPosition = horizontalScrollPositionPending; _local2 = true; }; horizontalScrollPositionPending = NaN; }; if (!isNaN(verticalScrollPositionPending)){ if (verticalScrollPositionPending < 0){ verticalScrollPositionPending = 0; } else { if (verticalScrollPositionPending > maxVerticalScrollPosition){ verticalScrollPositionPending = maxVerticalScrollPosition; }; }; if (((verticalScrollBar) && (!((verticalScrollBar.scrollPosition == verticalScrollPositionPending))))){ _verticalScrollPosition = verticalScrollPositionPending; verticalScrollBar.scrollPosition = verticalScrollPositionPending; _local2 = true; }; verticalScrollPositionPending = NaN; }; if (_local2){ scrollChildren(); }; } public function createComponentsFromDescriptors(_arg1:Boolean=true):void{ var _local4:IFlexDisplayObject; numChildrenBefore = numChildren; createdComponents = []; var _local2:int = (childDescriptors) ? childDescriptors.length : 0; var _local3:int; while (_local3 < _local2) { _local4 = createComponentFromDescriptor(childDescriptors[_local3], _arg1); createdComponents.push(_local4); _local3++; }; if ((((creationPolicy == ContainerCreationPolicy.QUEUED)) || ((creationPolicy == ContainerCreationPolicy.NONE)))){ UIComponentGlobals.layoutManager.usePhasedInstantiation = false; }; numChildrenCreated = (numChildren - numChildrenBefore); processedDescriptors = true; } override mx_internal function fillOverlay(_arg1:UIComponent, _arg2:uint, _arg3:RoundedRectangle=null):void{ var _local4:EdgeMetrics = viewMetrics; var _local5:Number = 0; if (!_arg3){ _arg3 = new RoundedRectangle(_local4.left, _local4.top, ((unscaledWidth - _local4.right) - _local4.left), ((unscaledHeight - _local4.bottom) - _local4.top), _local5); }; if (((((((((isNaN(_arg3.x)) || (isNaN(_arg3.y)))) || (isNaN(_arg3.width)))) || (isNaN(_arg3.height)))) || (isNaN(_arg3.cornerRadius)))){ return; }; var _local6:Graphics = _arg1.graphics; _local6.clear(); _local6.beginFill(_arg2); _local6.drawRoundRect(_arg3.x, _arg3.y, _arg3.width, _arg3.height, (_arg3.cornerRadius * 2), (_arg3.cornerRadius * 2)); _local6.endFill(); } override public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ super.removeEventListener(_arg1, _arg2, _arg3); if ((((((((((((((((_arg1 == MouseEvent.CLICK)) || ((_arg1 == MouseEvent.DOUBLE_CLICK)))) || ((_arg1 == MouseEvent.MOUSE_DOWN)))) || ((_arg1 == MouseEvent.MOUSE_MOVE)))) || ((_arg1 == MouseEvent.MOUSE_OVER)))) || ((_arg1 == MouseEvent.MOUSE_OUT)))) || ((_arg1 == MouseEvent.MOUSE_UP)))) || ((_arg1 == MouseEvent.MOUSE_WHEEL)))){ if ((((mouseEventReferenceCount > 0)) && ((--mouseEventReferenceCount == 0)))){ setStyle("mouseShield", false); setStyle("mouseShieldChildren", false); }; }; } mx_internal function rawChildren_removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject = super.getChildAt(_arg1); super.removingChild(_local2); $removeChildAt(_arg1); super.childRemoved(_local2); if ((((_firstChildIndex < _arg1)) && ((_arg1 < (_firstChildIndex + _numChildren))))){ _numChildren--; } else { if ((((_numChildren == 0)) || ((_arg1 < _firstChildIndex)))){ _firstChildIndex--; }; }; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("childrenChanged")); return (_local2); } public function set data(_arg1:Object):void{ _data = _arg1; dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); invalidateDisplayList(); } override public function removeChildAt(_arg1:int):DisplayObject{ return (removeChild(getChildAt(_arg1))); } private function isBorderNeeded():Boolean{ var c:Class = getStyle("borderSkin"); try { if (c != getDefinitionByName("mx.skins.halo::HaloBorder")){ return (true); }; } catch(e:Error) { return (true); }; var v:Object = getStyle("borderStyle"); if (v){ if (((!((v == "none"))) || ((((v == "none")) && (getStyle("mouseShield")))))){ return (true); }; }; v = getStyle("backgroundColor"); if (((!((v === null))) && (!((v === ""))))){ return (true); }; v = getStyle("backgroundImage"); return (((!((v == null))) && (!((v == ""))))); } public function set autoLayout(_arg1:Boolean):void{ var _local2:IInvalidating; _autoLayout = _arg1; if (_arg1){ invalidateSize(); invalidateDisplayList(); _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; }; } public function get verticalPageScrollSize():Number{ return (_verticalPageScrollSize); } public function getChildren():Array{ var _local1:Array = []; var _local2:int = numChildren; var _local3:int; while (_local3 < _local2) { _local1.push(getChildAt(_local3)); _local3++; }; return (_local1); } private function createScrollbarsIfNeeded(_arg1:Rectangle):Boolean{ var _local2:Number = _arg1.right; var _local3:Number = _arg1.bottom; var _local4:Number = unscaledWidth; var _local5:Number = unscaledHeight; var _local6:Boolean = (((_arg1.left < 0)) || ((_arg1.top < 0))); var _local7:EdgeMetrics = viewMetrics; if (scaleX != 1){ _local4 = (_local4 + (1 / Math.abs(scaleX))); }; if (scaleY != 1){ _local5 = (_local5 + (1 / Math.abs(scaleY))); }; _local4 = Math.floor(_local4); _local5 = Math.floor(_local5); _local2 = Math.floor(_local2); _local3 = Math.floor(_local3); if (((horizontalScrollBar) && (!((horizontalScrollPolicy == ScrollPolicy.ON))))){ _local5 = (_local5 - horizontalScrollBar.minHeight); }; if (((verticalScrollBar) && (!((verticalScrollPolicy == ScrollPolicy.ON))))){ _local4 = (_local4 - verticalScrollBar.minWidth); }; _local4 = (_local4 - (_local7.left + _local7.right)); _local5 = (_local5 - (_local7.top + _local7.bottom)); var _local8 = (horizontalScrollPolicy == ScrollPolicy.ON); var _local9 = (verticalScrollPolicy == ScrollPolicy.ON); var _local10:Boolean = ((((((((((_local8) || (_local9))) || (_local6))) || (!((overlay == null))))) || ((_local7.left > 0)))) || ((_local7.top > 0))); if (_local4 < _local2){ _local10 = true; if ((((((horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((((unscaledHeight - _local7.top) - _local7.bottom) >= 18)))) && ((((unscaledWidth - _local7.left) - _local7.right) >= 32)))){ _local8 = true; }; }; if (_local5 < _local3){ _local10 = true; if ((((((verticalScrollPolicy == ScrollPolicy.AUTO)) && ((((unscaledWidth - _local7.left) - _local7.right) >= 18)))) && ((((unscaledHeight - _local7.top) - _local7.bottom) >= 32)))){ _local9 = true; }; }; if (((((((((((((((_local8) && (_local9))) && ((horizontalScrollPolicy == ScrollPolicy.AUTO)))) && ((verticalScrollPolicy == ScrollPolicy.AUTO)))) && (horizontalScrollBar))) && (verticalScrollBar))) && (((_local4 + verticalScrollBar.minWidth) >= _local2)))) && (((_local5 + horizontalScrollBar.minHeight) >= _local3)))){ _local9 = false; _local8 = _local9; } else { if (((((((((_local8) && (!(_local9)))) && (verticalScrollBar))) && ((horizontalScrollPolicy == ScrollPolicy.AUTO)))) && (((_local4 + verticalScrollBar.minWidth) >= _local2)))){ _local8 = false; }; }; var _local11:Boolean = createOrDestroyScrollbars(_local8, _local9, _local10); if (((((!((scrollableWidth == _local2))) || (!((viewableWidth == _local4))))) || (_local11))){ if (horizontalScrollBar){ horizontalScrollBar.setScrollProperties(_local4, 0, (_local2 - _local4), horizontalPageScrollSize); scrollPositionChanged = true; }; viewableWidth = _local4; scrollableWidth = _local2; }; if (((((!((scrollableHeight == _local3))) || (!((viewableHeight == _local5))))) || (_local11))){ if (verticalScrollBar){ verticalScrollBar.setScrollProperties(_local5, 0, (_local3 - _local5), verticalPageScrollSize); scrollPositionChanged = true; }; viewableHeight = _local5; scrollableHeight = _local3; }; return (_local11); } override mx_internal function removingChild(_arg1:DisplayObject):void{ super.removingChild(_arg1); _arg1.dispatchEvent(new FlexEvent(FlexEvent.REMOVE)); var _local2:ChildExistenceChangedEvent = new ChildExistenceChangedEvent(ChildExistenceChangedEvent.CHILD_REMOVE); _local2.relatedObject = _arg1; dispatchEvent(_local2); } mx_internal function get numChildrenCreated():int{ return (_numChildrenCreated); } mx_internal function rawChildren_addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ if ((((_firstChildIndex < _arg2)) && ((_arg2 < ((_firstChildIndex + _numChildren) + 1))))){ _numChildren++; } else { if (_arg2 <= _firstChildIndex){ _firstChildIndex++; }; }; super.addingChild(_arg1); $addChildAt(_arg1, _arg2); super.childAdded(_arg1); dispatchEvent(new Event("childrenChanged")); return (_arg1); } private function hasChildMatchingDescriptor(_arg1:UIComponentDescriptor):Boolean{ var _local4:int; var _local5:IUIComponent; var _local2:String = _arg1.id; if (((!((_local2 == null))) && ((document[_local2] == null)))){ return (false); }; var _local3:int = numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = IUIComponent(getChildAt(_local4)); if ((((_local5 is IDeferredInstantiationUIComponent)) && ((IDeferredInstantiationUIComponent(_local5).descriptor == _arg1)))){ return (true); }; _local4++; }; if (childRepeaters){ _local3 = childRepeaters.length; _local4 = 0; while (_local4 < _local3) { if (IDeferredInstantiationUIComponent(childRepeaters[_local4]).descriptor == _arg1){ return (true); }; _local4++; }; }; return (false); } mx_internal function rawChildren_getChildByName(_arg1:String):DisplayObject{ return (super.getChildByName(_arg1)); } override public function validateDisplayList():void{ var _local1:EdgeMetrics; var _local2:Number; var _local3:Number; var _local4:Object; var _local5:Number; var _local6:Number; var _local7:Number; if (((_autoLayout) || (forceLayout))){ doingLayout = true; super.validateDisplayList(); doingLayout = false; } else { layoutChrome(unscaledWidth, unscaledHeight); }; invalidateDisplayListFlag = true; if (createContentPaneAndScrollbarsIfNeeded()){ if (((_autoLayout) || (forceLayout))){ doingLayout = true; super.validateDisplayList(); doingLayout = false; }; createContentPaneAndScrollbarsIfNeeded(); }; if (clampScrollPositions()){ scrollChildren(); }; if (contentPane){ _local1 = viewMetrics; if (overlay){ overlay.x = 0; overlay.y = 0; overlay.width = unscaledWidth; overlay.height = unscaledHeight; }; if (((horizontalScrollBar) || (verticalScrollBar))){ if (((verticalScrollBar) && ((verticalScrollPolicy == ScrollPolicy.ON)))){ _local1.right = (_local1.right - verticalScrollBar.minWidth); }; if (((horizontalScrollBar) && ((horizontalScrollPolicy == ScrollPolicy.ON)))){ _local1.bottom = (_local1.bottom - horizontalScrollBar.minHeight); }; if (horizontalScrollBar){ _local2 = ((unscaledWidth - _local1.left) - _local1.right); if (verticalScrollBar){ _local2 = (_local2 - verticalScrollBar.minWidth); }; horizontalScrollBar.setActualSize(_local2, horizontalScrollBar.minHeight); horizontalScrollBar.move(_local1.left, ((unscaledHeight - _local1.bottom) - horizontalScrollBar.minHeight)); }; if (verticalScrollBar){ _local3 = ((unscaledHeight - _local1.top) - _local1.bottom); if (horizontalScrollBar){ _local3 = (_local3 - horizontalScrollBar.minHeight); }; verticalScrollBar.setActualSize(verticalScrollBar.minWidth, _local3); verticalScrollBar.move(((unscaledWidth - _local1.right) - verticalScrollBar.minWidth), _local1.top); }; if (whiteBox){ whiteBox.x = verticalScrollBar.x; whiteBox.y = horizontalScrollBar.y; }; }; contentPane.x = _local1.left; contentPane.y = _local1.top; if (focusPane){ focusPane.x = _local1.left; focusPane.y = _local1.top; }; scrollChildren(); }; invalidateDisplayListFlag = false; if (blocker){ _local1 = viewMetrics; _local4 = (enabled) ? null : getStyle("backgroundDisabledColor"); if ((((_local4 === null)) || (isNaN(Number(_local4))))){ _local4 = getStyle("backgroundColor"); }; if ((((_local4 === null)) || (isNaN(Number(_local4))))){ _local4 = 0xFFFFFF; }; _local5 = getStyle("disabledOverlayAlpha"); if (isNaN(_local5)){ _local5 = 0.6; }; blocker.x = _local1.left; blocker.y = _local1.top; _local6 = (unscaledWidth - (_local1.left + _local1.right)); _local7 = (unscaledHeight - (_local1.top + _local1.bottom)); blocker.graphics.clear(); blocker.graphics.beginFill(uint(_local4), _local5); blocker.graphics.drawRect(0, 0, _local6, _local7); blocker.graphics.endFill(); rawChildren.setChildIndex(blocker, (rawChildren.numChildren - 1)); }; } public function set horizontalLineScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _horizontalLineScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("horizontalLineScrollSizeChanged")); } override public function initialize():void{ var _local1:*; var _local2:String; if (((((isDocument) && (documentDescriptor))) && (!(processedDescriptors)))){ _local1 = documentDescriptor.properties; if (((_local1) && (_local1.childDescriptors))){ if (_childDescriptors){ _local2 = resourceManager.getString("core", "multipleChildSets_ClassAndInstance"); throw (new Error(_local2)); }; _childDescriptors = _local1.childDescriptors; }; }; super.initialize(); } mx_internal function set forceClipping(_arg1:Boolean):void{ if (_clipContent){ if (_arg1){ _forceClippingCount++; } else { _forceClippingCount--; }; createContentPane(); scrollChildren(); }; } public function removeAllChildren():void{ while (numChildren > 0) { removeChildAt(0); }; } override public function contentToGlobal(_arg1:Point):Point{ if (contentPane){ return (contentPane.localToGlobal(_arg1)); }; return (localToGlobal(_arg1)); } public function get horizontalPageScrollSize():Number{ return (_horizontalPageScrollSize); } override mx_internal function childRemoved(_arg1:DisplayObject):void{ super.childRemoved(_arg1); invalidateSize(); invalidateDisplayList(); if (!contentPane){ _numChildren--; if (_numChildren == 0){ _firstChildIndex = super.numChildren; }; }; if (((contentPane) && (!(autoLayout)))){ forceLayout = true; UIComponentGlobals.layoutManager.addEventListener(FlexEvent.UPDATE_COMPLETE, layoutCompleteHandler, false, 0, true); }; dispatchEvent(new Event("childrenChanged")); } public function set defaultButton(_arg1:IFlexDisplayObject):void{ _defaultButton = _arg1; ContainerGlobals.focusedContainer = null; } public function get data():Object{ return (_data); } override public function get numChildren():int{ return ((contentPane) ? contentPane.numChildren : _numChildren); } public function get autoLayout():Boolean{ return (_autoLayout); } override public function styleChanged(_arg1:String):void{ var _local3:String; var _local4:String; var _local2:Boolean = (((_arg1 == null)) || ((_arg1 == "styleName"))); if (((_local2) || (StyleManager.isSizeInvalidatingStyle(_arg1)))){ invalidateDisplayList(); }; if (((_local2) || ((_arg1 == "borderSkin")))){ if (border){ rawChildren.removeChild(DisplayObject(border)); border = null; createBorder(); }; }; if (((((((((((_local2) || ((_arg1 == "borderStyle")))) || ((_arg1 == "backgroundColor")))) || ((_arg1 == "backgroundImage")))) || ((_arg1 == "mouseShield")))) || ((_arg1 == "mouseShieldChildren")))){ createBorder(); }; super.styleChanged(_arg1); if (((_local2) || (StyleManager.isSizeInvalidatingStyle(_arg1)))){ invalidateViewMetricsAndPadding(); }; if (((_local2) || ((_arg1 == "horizontalScrollBarStyleName")))){ if (((horizontalScrollBar) && ((horizontalScrollBar is ISimpleStyleClient)))){ _local3 = getStyle("horizontalScrollBarStyleName"); ISimpleStyleClient(horizontalScrollBar).styleName = _local3; }; }; if (((_local2) || ((_arg1 == "verticalScrollBarStyleName")))){ if (((verticalScrollBar) && ((verticalScrollBar is ISimpleStyleClient)))){ _local4 = getStyle("verticalScrollBarStyleName"); ISimpleStyleClient(verticalScrollBar).styleName = _local4; }; }; } override protected function commitProperties():void{ var _local1:String; super.commitProperties(); if (changedStyles){ _local1 = ((changedStyles == MULTIPLE_PROPERTIES)) ? null : changedStyles; super.notifyStyleChangeInChildren(_local1, true); changedStyles = null; }; createOrDestroyBlocker(); } override public function finishPrint(_arg1:Object, _arg2:IFlexDisplayObject):void{ if (_arg1){ contentPane.scrollRect = Rectangle(_arg1); }; super.finishPrint(_arg1, _arg2); } public function get maxHorizontalScrollPosition():Number{ return ((horizontalScrollBar) ? horizontalScrollBar.maxScrollPosition : Math.max((scrollableWidth - viewableWidth), 0)); } public function set creationPolicy(_arg1:String):void{ _creationPolicy = _arg1; setActualCreationPolicies(_arg1); } public function set label(_arg1:String):void{ _label = _arg1; dispatchEvent(new Event("labelChanged")); } private function clampScrollPositions():Boolean{ var _local1:Boolean; if (_horizontalScrollPosition < 0){ _horizontalScrollPosition = 0; _local1 = true; } else { if (_horizontalScrollPosition > maxHorizontalScrollPosition){ _horizontalScrollPosition = maxHorizontalScrollPosition; _local1 = true; }; }; if (((horizontalScrollBar) && (!((horizontalScrollBar.scrollPosition == _horizontalScrollPosition))))){ horizontalScrollBar.scrollPosition = _horizontalScrollPosition; }; if (_verticalScrollPosition < 0){ _verticalScrollPosition = 0; _local1 = true; } else { if (_verticalScrollPosition > maxVerticalScrollPosition){ _verticalScrollPosition = maxVerticalScrollPosition; _local1 = true; }; }; if (((verticalScrollBar) && (!((verticalScrollBar.scrollPosition == _verticalScrollPosition))))){ verticalScrollBar.scrollPosition = _verticalScrollPosition; }; return (_local1); } override public function prepareToPrint(_arg1:IFlexDisplayObject):Object{ var _local2:Rectangle = (((contentPane) && (contentPane.scrollRect))) ? contentPane.scrollRect : null; if (_local2){ contentPane.scrollRect = null; }; super.prepareToPrint(_arg1); return (_local2); } mx_internal function get firstChildIndex():int{ return (_firstChildIndex); } mx_internal function rawChildren_addChild(_arg1:DisplayObject):DisplayObject{ if (_numChildren == 0){ _firstChildIndex++; }; super.addingChild(_arg1); $addChild(_arg1); super.childAdded(_arg1); dispatchEvent(new Event("childrenChanged")); return (_arg1); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:Object; var _local4:Number; super.updateDisplayList(_arg1, _arg2); layoutChrome(_arg1, _arg2); if (scrollPositionChanged){ clampScrollPositions(); scrollChildren(); scrollPositionChanged = false; }; if (scrollPropertiesChanged){ if (horizontalScrollBar){ horizontalScrollBar.lineScrollSize = horizontalLineScrollSize; horizontalScrollBar.pageScrollSize = horizontalPageScrollSize; }; if (verticalScrollBar){ verticalScrollBar.lineScrollSize = verticalLineScrollSize; verticalScrollBar.pageScrollSize = verticalPageScrollSize; }; scrollPropertiesChanged = false; }; if (((contentPane) && (contentPane.scrollRect))){ _local3 = (enabled) ? null : getStyle("backgroundDisabledColor"); if ((((_local3 === null)) || (isNaN(Number(_local3))))){ _local3 = getStyle("backgroundColor"); }; _local4 = getStyle("backgroundAlpha"); if (((((((!(_clipContent)) || (isNaN(Number(_local3))))) || ((_local3 === "")))) || (((!(((horizontalScrollBar) || (verticalScrollBar)))) && (!(cacheAsBitmap)))))){ _local3 = null; } else { if (((getStyle("backgroundImage")) || (getStyle("background")))){ _local3 = null; } else { if (_local4 != 1){ _local3 = null; }; }; }; contentPane.opaqueBackground = _local3; contentPane.cacheAsBitmap = !((_local3 == null)); }; } override mx_internal function addingChild(_arg1:DisplayObject):void{ var _local2:IUIComponent = IUIComponent(_arg1); super.addingChild(_arg1); invalidateSize(); invalidateDisplayList(); if (!contentPane){ if (_numChildren == 0){ _firstChildIndex = super.numChildren; }; _numChildren++; }; if (((contentPane) && (!(autoLayout)))){ forceLayout = true; UIComponentGlobals.layoutManager.addEventListener(FlexEvent.UPDATE_COMPLETE, layoutCompleteHandler, false, 0, true); }; } mx_internal function setActualCreationPolicies(_arg1:String):void{ var _local5:IFlexDisplayObject; var _local6:Container; actualCreationPolicy = _arg1; var _local2:String = _arg1; if (_arg1 == ContainerCreationPolicy.QUEUED){ _local2 = ContainerCreationPolicy.AUTO; }; var _local3:int = numChildren; var _local4:int; while (_local4 < _local3) { _local5 = IFlexDisplayObject(getChildAt(_local4)); if ((_local5 is Container)){ _local6 = Container(_local5); if (_local6.creationPolicy == null){ _local6.setActualCreationPolicies(_local2); }; }; _local4++; }; } } }//package mx.core
Section 460
//ContainerCreationPolicy (mx.core.ContainerCreationPolicy) package mx.core { public final class ContainerCreationPolicy { public static const ALL:String = "all"; public static const QUEUED:String = "queued"; public static const NONE:String = "none"; mx_internal static const VERSION:String = "3.0.0.0"; public static const AUTO:String = "auto"; } }//package mx.core
Section 461
//ContainerGlobals (mx.core.ContainerGlobals) package mx.core { import flash.display.*; import mx.managers.*; public class ContainerGlobals { public static var focusedContainer:InteractiveObject; public static function checkFocus(_arg1:InteractiveObject, _arg2:InteractiveObject):void{ var _local6:IFocusManager; var _local7:IButton; var _local3:InteractiveObject = _arg2; var _local4:InteractiveObject = _arg2; var _local5:IUIComponent; if (((!((_arg2 == null))) && ((_arg1 == _arg2)))){ return; }; while (_local4) { if (_local4.parent){ _local3 = _local4.parent; } else { _local3 = null; }; if ((_local4 is IUIComponent)){ _local5 = IUIComponent(_local4); }; _local4 = _local3; if (((((_local4) && ((_local4 is IContainer)))) && (IContainer(_local4).defaultButton))){ break; }; }; if (((!((ContainerGlobals.focusedContainer == _local4))) || ((((ContainerGlobals.focusedContainer == null)) && ((_local4 == null)))))){ if (!_local4){ _local4 = InteractiveObject(_local5); }; if (((_local4) && ((_local4 is IContainer)))){ _local6 = IContainer(_local4).focusManager; if (!_local6){ return; }; _local7 = (IContainer(_local4).defaultButton as IButton); if (_local7){ ContainerGlobals.focusedContainer = InteractiveObject(_local4); _local6.defaultButton = (_local7 as IButton); } else { ContainerGlobals.focusedContainer = InteractiveObject(_local4); _local6.defaultButton = null; }; }; }; } } }//package mx.core
Section 462
//ContainerLayout (mx.core.ContainerLayout) package mx.core { public final class ContainerLayout { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; public static const ABSOLUTE:String = "absolute"; mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.core
Section 463
//ContainerRawChildrenList (mx.core.ContainerRawChildrenList) package mx.core { import flash.display.*; import flash.geom.*; public class ContainerRawChildrenList implements IChildList { private var owner:Container; mx_internal static const VERSION:String = "3.0.0.0"; public function ContainerRawChildrenList(_arg1:Container){ this.owner = _arg1; } public function addChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_addChild(_arg1)); } public function getChildIndex(_arg1:DisplayObject):int{ return (owner.mx_internal::rawChildren_getChildIndex(_arg1)); } public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3 = owner; _local3.mx_internal::rawChildren_setChildIndex(_arg1, _arg2); } public function getChildByName(_arg1:String):DisplayObject{ return (owner.mx_internal::rawChildren_getChildByName(_arg1)); } public function removeChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_removeChildAt(_arg1)); } public function get numChildren():int{ return (owner.mx_internal::$numChildren); } public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ return (owner.mx_internal::rawChildren_addChildAt(_arg1, _arg2)); } public function getObjectsUnderPoint(_arg1:Point):Array{ return (owner.mx_internal::rawChildren_getObjectsUnderPoint(_arg1)); } public function contains(_arg1:DisplayObject):Boolean{ return (owner.mx_internal::rawChildren_contains(_arg1)); } public function removeChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_removeChild(_arg1)); } public function getChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_getChildAt(_arg1)); } } }//package mx.core
Section 464
//DragSource (mx.core.DragSource) package mx.core { public class DragSource { private var formatHandlers:Object; private var dataHolder:Object; private var _formats:Array; mx_internal static const VERSION:String = "3.0.0.0"; public function DragSource(){ dataHolder = {}; formatHandlers = {}; _formats = []; super(); } public function hasFormat(_arg1:String):Boolean{ var _local2:int = _formats.length; var _local3:int; while (_local3 < _local2) { if (_formats[_local3] == _arg1){ return (true); }; _local3++; }; return (false); } public function addData(_arg1:Object, _arg2:String):void{ _formats.push(_arg2); dataHolder[_arg2] = _arg1; } public function dataForFormat(_arg1:String):Object{ var _local2:Object = dataHolder[_arg1]; if (_local2){ return (_local2); }; if (formatHandlers[_arg1]){ return (formatHandlers[_arg1]()); }; return (null); } public function addHandler(_arg1:Function, _arg2:String):void{ _formats.push(_arg2); formatHandlers[_arg2] = _arg1; } public function get formats():Array{ return (_formats); } } }//package mx.core
Section 465
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var top:Number; public var left:Number; public var bottom:Number; public var right:Number; mx_internal static const VERSION:String = "3.0.0.0"; public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0); ; public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){ this.left = _arg1; this.top = _arg2; this.right = _arg3; this.bottom = _arg4; } public function clone():EdgeMetrics{ return (new EdgeMetrics(left, top, right, bottom)); } } }//package mx.core
Section 466
//EmbeddedFont (mx.core.EmbeddedFont) package mx.core { public class EmbeddedFont { private var _fontName:String; private var _fontStyle:String; mx_internal static const VERSION:String = "3.0.0.0"; public function EmbeddedFont(_arg1:String, _arg2:Boolean, _arg3:Boolean){ _fontName = _arg1; _fontStyle = EmbeddedFontRegistry.getFontStyle(_arg2, _arg3); } public function get fontStyle():String{ return (_fontStyle); } public function get fontName():String{ return (_fontName); } } }//package mx.core
Section 467
//EmbeddedFontRegistry (mx.core.EmbeddedFontRegistry) package mx.core { import flash.text.*; import flash.utils.*; public class EmbeddedFontRegistry implements IEmbeddedFontRegistry { mx_internal static const VERSION:String = "3.0.0.0"; private static var fonts:Object = {}; private static var instance:IEmbeddedFontRegistry; public function getAssociatedModuleFactory(_arg1:EmbeddedFont, _arg2:IFlexModuleFactory):IFlexModuleFactory{ var _local4:int; var _local5:Object; var _local3:Dictionary = fonts[createFontKey(_arg1)]; if (_local3){ _local4 = _local3[_arg2]; if (_local4){ return (_arg2); }; for (_local5 in _local3) { return ((_local5 as IFlexModuleFactory)); }; }; return (null); } public function deregisterFont(_arg1:EmbeddedFont, _arg2:IFlexModuleFactory):void{ var _local5:int; var _local6:Object; var _local3:String = createFontKey(_arg1); var _local4:Dictionary = fonts[_local3]; if (_local4 != null){ delete _local4[_arg2]; _local5 = 0; for (_local6 in _local4) { _local5++; }; if (_local5 == 0){ delete fonts[_local3]; }; }; } public function getFonts():Array{ var _local2:String; var _local1:Array = []; for (_local2 in fonts) { _local1.push(createEmbeddedFont(_local2)); }; return (_local1); } public function registerFont(_arg1:EmbeddedFont, _arg2:IFlexModuleFactory):void{ var _local3:String = createFontKey(_arg1); var _local4:Dictionary = fonts[_local3]; if (!_local4){ _local4 = new Dictionary(true); fonts[_local3] = _local4; }; _local4[_arg2] = 1; } public static function registerFonts(_arg1:Object, _arg2:IFlexModuleFactory):void{ var _local4:Object; var _local5:Object; var _local6:String; var _local7:Boolean; var _local8:Boolean; var _local3:IEmbeddedFontRegistry = IEmbeddedFontRegistry(Singleton.getInstance("mx.core::IEmbeddedFontRegistry")); for (_local4 in _arg1) { _local5 = _arg1[_local4]; for (_local6 in _local5) { if (_local5[_local6] == false){ } else { if (_local6 == "regular"){ _local7 = false; _local8 = false; } else { if (_local6 == "boldItalic"){ _local7 = true; _local8 = true; } else { if (_local6 == "bold"){ _local7 = true; _local8 = false; } else { if (_local6 == "italic"){ _local7 = false; _local8 = true; }; }; }; }; _local3.registerFont(new EmbeddedFont(String(_local4), _local7, _local8), _arg2); }; }; }; } public static function getInstance():IEmbeddedFontRegistry{ if (!instance){ instance = new (EmbeddedFontRegistry); }; return (instance); } public static function getFontStyle(_arg1:Boolean, _arg2:Boolean):String{ var _local3:String = FontStyle.REGULAR; if (((_arg1) && (_arg2))){ _local3 = FontStyle.BOLD_ITALIC; } else { if (_arg1){ _local3 = FontStyle.BOLD; } else { if (_arg2){ _local3 = FontStyle.ITALIC; }; }; }; return (_local3); } private static function createFontKey(_arg1:EmbeddedFont):String{ return ((_arg1.fontName + _arg1.fontStyle)); } private static function createEmbeddedFont(_arg1:String):EmbeddedFont{ var _local2:String; var _local3:Boolean; var _local4:Boolean; var _local5:int = endsWith(_arg1, FontStyle.REGULAR); if (_local5 > 0){ _local2 = _arg1.substring(0, _local5); return (new EmbeddedFont(_local2, false, false)); }; _local5 = endsWith(_arg1, FontStyle.BOLD); if (_local5 > 0){ _local2 = _arg1.substring(0, _local5); return (new EmbeddedFont(_local2, true, false)); }; _local5 = endsWith(_arg1, FontStyle.BOLD_ITALIC); if (_local5 > 0){ _local2 = _arg1.substring(0, _local5); return (new EmbeddedFont(_local2, true, true)); }; _local5 = endsWith(_arg1, FontStyle.ITALIC); if (_local5 > 0){ _local2 = _arg1.substring(0, _local5); return (new EmbeddedFont(_local2, false, true)); }; return (new EmbeddedFont("", false, false)); } private static function endsWith(_arg1:String, _arg2:String):int{ var _local3:int = _arg1.lastIndexOf(_arg2); if ((((_local3 > 0)) && (((_local3 + _arg2.length) == _arg1.length)))){ return (_local3); }; return (-1); } } }//package mx.core
Section 468
//EventPriority (mx.core.EventPriority) package mx.core { public final class EventPriority { public static const DEFAULT:int = 0; public static const BINDING:int = 100; public static const DEFAULT_HANDLER:int = -50; public static const EFFECT:int = -100; public static const CURSOR_MANAGEMENT:int = 200; mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.core
Section 469
//FlexBitmap (mx.core.FlexBitmap) package mx.core { import flash.display.*; import mx.utils.*; public class FlexBitmap extends Bitmap { mx_internal static const VERSION:String = "3.0.0.0"; public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){ var bitmapData = _arg1; var pixelSnapping = _arg2; var smoothing = _arg3; super(bitmapData, pixelSnapping, smoothing); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 470
//FlexLoader (mx.core.FlexLoader) package mx.core { import flash.display.*; import mx.utils.*; public class FlexLoader extends Loader { mx_internal static const VERSION:String = "3.0.0.0"; public function FlexLoader(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 471
//FlexShape (mx.core.FlexShape) package mx.core { import flash.display.*; import mx.utils.*; public class FlexShape extends Shape { mx_internal static const VERSION:String = "3.0.0.0"; public function FlexShape(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 472
//FlexSprite (mx.core.FlexSprite) package mx.core { import flash.display.*; import mx.utils.*; public class FlexSprite extends Sprite { mx_internal static const VERSION:String = "3.0.0.0"; public function FlexSprite(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 473
//FlexTextField (mx.core.FlexTextField) package mx.core { import flash.text.*; import mx.utils.*; public class FlexTextField extends TextField { mx_internal static const VERSION:String = "3.0.0.0"; public function FlexTextField(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 474
//FlexVersion (mx.core.FlexVersion) package mx.core { import mx.resources.*; public class FlexVersion { public static const VERSION_2_0_1:uint = 33554433; public static const CURRENT_VERSION:uint = 50331648; public static const VERSION_3_0:uint = 50331648; public static const VERSION_2_0:uint = 33554432; public static const VERSION_ALREADY_READ:String = "versionAlreadyRead"; public static const VERSION_ALREADY_SET:String = "versionAlreadySet"; mx_internal static const VERSION:String = "3.0.0.0"; private static var compatibilityVersionChanged:Boolean = false; private static var _compatibilityErrorFunction:Function; private static var _compatibilityVersion:uint = 50331648; private static var compatibilityVersionRead:Boolean = false; mx_internal static function changeCompatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); _compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function set compatibilityVersion(_arg1:uint):void{ var _local2:String; if (_arg1 == _compatibilityVersion){ return; }; if (compatibilityVersionChanged){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_SET); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_SET); }; if (compatibilityVersionRead){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_READ); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_READ); }; _compatibilityVersion = _arg1; compatibilityVersionChanged = true; } public static function get compatibilityVersion():uint{ compatibilityVersionRead = true; return (_compatibilityVersion); } public static function set compatibilityErrorFunction(_arg1:Function):void{ _compatibilityErrorFunction = _arg1; } public static function set compatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function get compatibilityErrorFunction():Function{ return (_compatibilityErrorFunction); } public static function get compatibilityVersionString():String{ var _local1:uint = ((compatibilityVersion >> 24) & 0xFF); var _local2:uint = ((compatibilityVersion >> 16) & 0xFF); var _local3:uint = (compatibilityVersion & 0xFFFF); return (((((_local1.toString() + ".") + _local2.toString()) + ".") + _local3.toString())); } } }//package mx.core
Section 475
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 476
//IButton (mx.core.IButton) package mx.core { public interface IButton extends IUIComponent { function get emphasized():Boolean; function set emphasized(_arg1:Boolean):void; function callLater(_arg1:Function, _arg2:Array=null):void; } }//package mx.core
Section 477
//IChildList (mx.core.IChildList) package mx.core { import flash.display.*; import flash.geom.*; public interface IChildList { function get numChildren():int; function removeChild(_arg1:DisplayObject):DisplayObject; function getChildByName(_arg1:String):DisplayObject; function removeChildAt(_arg1:int):DisplayObject; function getChildIndex(_arg1:DisplayObject):int; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function getObjectsUnderPoint(_arg1:Point):Array; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; function getChildAt(_arg1:int):DisplayObject; function addChild(_arg1:DisplayObject):DisplayObject; function contains(_arg1:DisplayObject):Boolean; } }//package mx.core
Section 478
//IConstraintClient (mx.core.IConstraintClient) package mx.core { public interface IConstraintClient { function setConstraintValue(_arg1:String, _arg2):void; function getConstraintValue(_arg1:String); } }//package mx.core
Section 479
//IContainer (mx.core.IContainer) package mx.core { import flash.display.*; import flash.geom.*; import flash.media.*; import flash.text.*; import mx.managers.*; public interface IContainer extends IUIComponent { function set hitArea(_arg1:Sprite):void; function swapChildrenAt(_arg1:int, _arg2:int):void; function getChildByName(_arg1:String):DisplayObject; function get doubleClickEnabled():Boolean; function get graphics():Graphics; function get useHandCursor():Boolean; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function set mouseChildren(_arg1:Boolean):void; function set creatingContentPane(_arg1:Boolean):void; function get textSnapshot():TextSnapshot; function getChildIndex(_arg1:DisplayObject):int; function set doubleClickEnabled(_arg1:Boolean):void; function getObjectsUnderPoint(_arg1:Point):Array; function get creatingContentPane():Boolean; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; function get soundTransform():SoundTransform; function set useHandCursor(_arg1:Boolean):void; function get numChildren():int; function contains(_arg1:DisplayObject):Boolean; function get verticalScrollPosition():Number; function set defaultButton(_arg1:IFlexDisplayObject):void; function swapChildren(_arg1:DisplayObject, _arg2:DisplayObject):void; function set horizontalScrollPosition(_arg1:Number):void; function get focusManager():IFocusManager; function startDrag(_arg1:Boolean=false, _arg2:Rectangle=null):void; function set mouseEnabled(_arg1:Boolean):void; function getChildAt(_arg1:int):DisplayObject; function set soundTransform(_arg1:SoundTransform):void; function get tabChildren():Boolean; function get tabIndex():int; function set focusRect(_arg1:Object):void; function get hitArea():Sprite; function get mouseChildren():Boolean; function removeChildAt(_arg1:int):DisplayObject; function get defaultButton():IFlexDisplayObject; function stopDrag():void; function set tabEnabled(_arg1:Boolean):void; function get horizontalScrollPosition():Number; function get focusRect():Object; function get viewMetrics():EdgeMetrics; function set verticalScrollPosition(_arg1:Number):void; function get dropTarget():DisplayObject; function get mouseEnabled():Boolean; function set tabChildren(_arg1:Boolean):void; function set buttonMode(_arg1:Boolean):void; function get tabEnabled():Boolean; function get buttonMode():Boolean; function removeChild(_arg1:DisplayObject):DisplayObject; function set tabIndex(_arg1:int):void; function addChild(_arg1:DisplayObject):DisplayObject; function areInaccessibleObjectsUnderPoint(_arg1:Point):Boolean; } }//package mx.core
Section 480
//IDataRenderer (mx.core.IDataRenderer) package mx.core { public interface IDataRenderer { function get data():Object; function set data(_arg1:Object):void; } }//package mx.core
Section 481
//IDeferredInstantiationUIComponent (mx.core.IDeferredInstantiationUIComponent) package mx.core { public interface IDeferredInstantiationUIComponent extends IUIComponent { function set cacheHeuristic(_arg1:Boolean):void; function createReferenceOnParentDocument(_arg1:IFlexDisplayObject):void; function get cachePolicy():String; function set id(_arg1:String):void; function registerEffects(_arg1:Array):void; function executeBindings(_arg1:Boolean=false):void; function get id():String; function deleteReferenceOnParentDocument(_arg1:IFlexDisplayObject):void; function set descriptor(_arg1:UIComponentDescriptor):void; function get descriptor():UIComponentDescriptor; } }//package mx.core
Section 482
//IEmbeddedFontRegistry (mx.core.IEmbeddedFontRegistry) package mx.core { public interface IEmbeddedFontRegistry { function getAssociatedModuleFactory(_arg1:EmbeddedFont, _arg2:IFlexModuleFactory):IFlexModuleFactory; function registerFont(_arg1:EmbeddedFont, _arg2:IFlexModuleFactory):void; function deregisterFont(_arg1:EmbeddedFont, _arg2:IFlexModuleFactory):void; function getFonts():Array; } }//package mx.core
Section 483
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 484
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.display.*; import flash.geom.*; import flash.accessibility.*; import flash.events.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 485
//IFlexModule (mx.core.IFlexModule) package mx.core { public interface IFlexModule { function set moduleFactory(_arg1:IFlexModuleFactory):void; function get moduleFactory():IFlexModuleFactory; } }//package mx.core
Section 486
//IFlexModuleFactory (mx.core.IFlexModuleFactory) package mx.core { public interface IFlexModuleFactory { function create(... _args):Object; function info():Object; } }//package mx.core
Section 487
//IFontContextComponent (mx.core.IFontContextComponent) package mx.core { public interface IFontContextComponent { function get fontContext():IFlexModuleFactory; function set fontContext(_arg1:IFlexModuleFactory):void; } }//package mx.core
Section 488
//IIMESupport (mx.core.IIMESupport) package mx.core { public interface IIMESupport { function set imeMode(_arg1:String):void; function get imeMode():String; } }//package mx.core
Section 489
//IInvalidating (mx.core.IInvalidating) package mx.core { public interface IInvalidating { function validateNow():void; function invalidateSize():void; function invalidateDisplayList():void; function invalidateProperties():void; } }//package mx.core
Section 490
//IMXMLObject (mx.core.IMXMLObject) package mx.core { public interface IMXMLObject { function initialized(_arg1:Object, _arg2:String):void; } }//package mx.core
Section 491
//IProgrammaticSkin (mx.core.IProgrammaticSkin) package mx.core { public interface IProgrammaticSkin { function validateNow():void; function validateDisplayList():void; } }//package mx.core
Section 492
//IPropertyChangeNotifier (mx.core.IPropertyChangeNotifier) package mx.core { import flash.events.*; public interface IPropertyChangeNotifier extends IEventDispatcher, IUID { } }//package mx.core
Section 493
//IRawChildrenContainer (mx.core.IRawChildrenContainer) package mx.core { public interface IRawChildrenContainer { function get rawChildren():IChildList; } }//package mx.core
Section 494
//IRectangularBorder (mx.core.IRectangularBorder) package mx.core { import flash.geom.*; public interface IRectangularBorder extends IBorder { function get backgroundImageBounds():Rectangle; function get hasBackgroundImage():Boolean; function set backgroundImageBounds(_arg1:Rectangle):void; function layoutBackgroundImage():void; } }//package mx.core
Section 495
//IRepeater (mx.core.IRepeater) package mx.core { public interface IRepeater { function get container():IContainer; function set startingIndex(_arg1:int):void; function get startingIndex():int; function set recycleChildren(_arg1:Boolean):void; function get currentItem():Object; function get count():int; function get recycleChildren():Boolean; function executeChildBindings():void; function set dataProvider(_arg1:Object):void; function initializeRepeater(_arg1:IContainer, _arg2:Boolean):void; function get currentIndex():int; function get dataProvider():Object; function set count(_arg1:int):void; } }//package mx.core
Section 496
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 497
//IStateClient (mx.core.IStateClient) package mx.core { public interface IStateClient { function get currentState():String; function set currentState(_arg1:String):void; } }//package mx.core
Section 498
//ITextFieldFactory (mx.core.ITextFieldFactory) package mx.core { import flash.text.*; public interface ITextFieldFactory { function createTextField(_arg1:IFlexModuleFactory):TextField; } }//package mx.core
Section 499
//IToolTip (mx.core.IToolTip) package mx.core { import flash.geom.*; public interface IToolTip extends IUIComponent { function set text(_arg1:String):void; function get screen():Rectangle; function get text():String; } }//package mx.core
Section 500
//IUIComponent (mx.core.IUIComponent) package mx.core { import flash.display.*; import mx.managers.*; public interface IUIComponent extends IFlexDisplayObject { function set focusPane(_arg1:Sprite):void; function get enabled():Boolean; function set enabled(_arg1:Boolean):void; function set isPopUp(_arg1:Boolean):void; function get explicitMinHeight():Number; function get percentWidth():Number; function get isPopUp():Boolean; function get owner():DisplayObjectContainer; function get percentHeight():Number; function get baselinePosition():Number; function owns(_arg1:DisplayObject):Boolean; function initialize():void; function get maxWidth():Number; function get minWidth():Number; function getExplicitOrMeasuredWidth():Number; function get explicitMaxWidth():Number; function get explicitMaxHeight():Number; function set percentHeight(_arg1:Number):void; function get minHeight():Number; function set percentWidth(_arg1:Number):void; function get document():Object; function get focusPane():Sprite; function getExplicitOrMeasuredHeight():Number; function set tweeningProperties(_arg1:Array):void; function set explicitWidth(_arg1:Number):void; function set measuredMinHeight(_arg1:Number):void; function get explicitMinWidth():Number; function get tweeningProperties():Array; function get maxHeight():Number; function set owner(_arg1:DisplayObjectContainer):void; function set includeInLayout(_arg1:Boolean):void; function setVisible(_arg1:Boolean, _arg2:Boolean=false):void; function parentChanged(_arg1:DisplayObjectContainer):void; function get explicitWidth():Number; function get measuredMinHeight():Number; function set measuredMinWidth(_arg1:Number):void; function set explicitHeight(_arg1:Number):void; function get includeInLayout():Boolean; function get measuredMinWidth():Number; function get explicitHeight():Number; function set systemManager(_arg1:ISystemManager):void; function set document(_arg1:Object):void; function get systemManager():ISystemManager; } }//package mx.core
Section 501
//IUID (mx.core.IUID) package mx.core { public interface IUID { function get uid():String; function set uid(_arg1:String):void; } }//package mx.core
Section 502
//IUITextField (mx.core.IUITextField) package mx.core { import flash.display.*; import flash.geom.*; import flash.text.*; import mx.managers.*; import mx.styles.*; public interface IUITextField extends IIMESupport, IFlexModule, IInvalidating, ISimpleStyleClient, IToolTipManagerClient, IUIComponent { function replaceText(_arg1:int, _arg2:int, _arg3:String):void; function get doubleClickEnabled():Boolean; function get nestLevel():int; function get caretIndex():int; function set doubleClickEnabled(_arg1:Boolean):void; function get maxScrollH():int; function set nestLevel(_arg1:int):void; function get numLines():int; function get scrollH():int; function setColor(_arg1:uint):void; function get maxScrollV():int; function getImageReference(_arg1:String):DisplayObject; function get scrollV():int; function get border():Boolean; function get text():String; function get styleSheet():StyleSheet; function getCharBoundaries(_arg1:int):Rectangle; function get background():Boolean; function set scrollH(_arg1:int):void; function getFirstCharInParagraph(_arg1:int):int; function get type():String; function replaceSelectedText(_arg1:String):void; function set borderColor(_arg1:uint):void; function get alwaysShowSelection():Boolean; function get sharpness():Number; function get tabIndex():int; function get textColor():uint; function set defaultTextFormat(_arg1:TextFormat):void; function get condenseWhite():Boolean; function get displayAsPassword():Boolean; function get autoSize():String; function setSelection(_arg1:int, _arg2:int):void; function set scrollV(_arg1:int):void; function set useRichTextClipboard(_arg1:Boolean):void; function get selectionBeginIndex():int; function get selectable():Boolean; function set border(_arg1:Boolean):void; function set multiline(_arg1:Boolean):void; function set background(_arg1:Boolean):void; function set embedFonts(_arg1:Boolean):void; function set text(_arg1:String):void; function get selectionEndIndex():int; function set mouseWheelEnabled(_arg1:Boolean):void; function appendText(_arg1:String):void; function get antiAliasType():String; function set styleSheet(_arg1:StyleSheet):void; function set nonInheritingStyles(_arg1:Object):void; function set textColor(_arg1:uint):void; function get wordWrap():Boolean; function getLineIndexAtPoint(_arg1:Number, _arg2:Number):int; function get htmlText():String; function set tabIndex(_arg1:int):void; function get thickness():Number; function getLineIndexOfChar(_arg1:int):int; function get bottomScrollV():int; function set restrict(_arg1:String):void; function set alwaysShowSelection(_arg1:Boolean):void; function getTextFormat(_arg1:int=-1, _arg2:int=-1):TextFormat; function set sharpness(_arg1:Number):void; function set type(_arg1:String):void; function setTextFormat(_arg1:TextFormat, _arg2:int=-1, _arg3:int=-1):void; function set gridFitType(_arg1:String):void; function getUITextFormat():UITextFormat; function set inheritingStyles(_arg1:Object):void; function setFocus():void; function get borderColor():uint; function set condenseWhite(_arg1:Boolean):void; function get textWidth():Number; function getLineOffset(_arg1:int):int; function set displayAsPassword(_arg1:Boolean):void; function set autoSize(_arg1:String):void; function get defaultTextFormat():TextFormat; function get useRichTextClipboard():Boolean; function get nonZeroTextHeight():Number; function set backgroundColor(_arg1:uint):void; function get embedFonts():Boolean; function set selectable(_arg1:Boolean):void; function get multiline():Boolean; function set maxChars(_arg1:int):void; function get textHeight():Number; function get nonInheritingStyles():Object; function getLineText(_arg1:int):String; function set focusRect(_arg1:Object):void; function get mouseWheelEnabled():Boolean; function get restrict():String; function getParagraphLength(_arg1:int):int; function set mouseEnabled(_arg1:Boolean):void; function get gridFitType():String; function get inheritingStyles():Object; function set ignorePadding(_arg1:Boolean):void; function set antiAliasType(_arg1:String):void; function get backgroundColor():uint; function getCharIndexAtPoint(_arg1:Number, _arg2:Number):int; function set tabEnabled(_arg1:Boolean):void; function get maxChars():int; function get focusRect():Object; function get ignorePadding():Boolean; function get mouseEnabled():Boolean; function get length():int; function set wordWrap(_arg1:Boolean):void; function get tabEnabled():Boolean; function set thickness(_arg1:Number):void; function getLineLength(_arg1:int):int; function truncateToFit(_arg1:String=null):Boolean; function set htmlText(_arg1:String):void; function getLineMetrics(_arg1:int):TextLineMetrics; function getStyle(_arg1:String); } }//package mx.core
Section 503
//LayoutContainer (mx.core.LayoutContainer) package mx.core { import flash.events.*; import mx.containers.*; import mx.containers.utilityClasses.*; public class LayoutContainer extends Container implements IConstraintLayout { private var _constraintColumns:Array; protected var layoutObject:Layout; private var _layout:String;// = "vertical" private var processingCreationQueue:Boolean;// = false protected var boxLayoutClass:Class; private var resizeHandlerAdded:Boolean;// = false private var preloadObj:Object; private var creationQueue:Array; private var _constraintRows:Array; protected var canvasLayoutClass:Class; mx_internal static const VERSION:String = "3.0.0.0"; mx_internal static var useProgressiveLayout:Boolean = false; public function LayoutContainer(){ layoutObject = new BoxLayout(); canvasLayoutClass = CanvasLayout; boxLayoutClass = BoxLayout; creationQueue = []; _constraintColumns = []; _constraintRows = []; super(); layoutObject.target = this; } public function get constraintColumns():Array{ return (_constraintColumns); } override mx_internal function get usePadding():Boolean{ return (!((layout == ContainerLayout.ABSOLUTE))); } override protected function layoutChrome(_arg1:Number, _arg2:Number):void{ super.layoutChrome(_arg1, _arg2); if (!doingLayout){ createBorder(); }; } public function set constraintColumns(_arg1:Array):void{ var _local2:int; var _local3:int; if (_arg1 != _constraintColumns){ _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { ConstraintColumn(_arg1[_local3]).container = this; _local3++; }; _constraintColumns = _arg1; invalidateSize(); invalidateDisplayList(); }; } public function set layout(_arg1:String):void{ if (_layout != _arg1){ _layout = _arg1; if (layoutObject){ layoutObject.target = null; }; if (_layout == ContainerLayout.ABSOLUTE){ layoutObject = new canvasLayoutClass(); } else { layoutObject = new boxLayoutClass(); if (_layout == ContainerLayout.VERTICAL){ BoxLayout(layoutObject).direction = BoxDirection.VERTICAL; } else { BoxLayout(layoutObject).direction = BoxDirection.HORIZONTAL; }; }; if (layoutObject){ layoutObject.target = this; }; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("layoutChanged")); }; } public function get constraintRows():Array{ return (_constraintRows); } override protected function measure():void{ super.measure(); layoutObject.measure(); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); layoutObject.updateDisplayList(_arg1, _arg2); createBorder(); } public function get layout():String{ return (_layout); } public function set constraintRows(_arg1:Array):void{ var _local2:int; var _local3:int; if (_arg1 != _constraintRows){ _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { ConstraintRow(_arg1[_local3]).container = this; _local3++; }; _constraintRows = _arg1; invalidateSize(); invalidateDisplayList(); }; } } }//package mx.core
Section 504
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 505
//ResourceModuleRSLItem (mx.core.ResourceModuleRSLItem) package mx.core { import flash.events.*; import mx.events.*; import mx.resources.*; public class ResourceModuleRSLItem extends RSLItem { mx_internal static const VERSION:String = "3.0.0.0"; public function ResourceModuleRSLItem(_arg1:String){ super(_arg1); } private function resourceErrorHandler(_arg1:ResourceEvent):void{ var _local2:IOErrorEvent = new IOErrorEvent(IOErrorEvent.IO_ERROR); _local2.text = _arg1.errorText; super.itemErrorHandler(_local2); } override public function load(_arg1:Function, _arg2:Function, _arg3:Function, _arg4:Function, _arg5:Function):void{ chainedProgressHandler = _arg1; chainedCompleteHandler = _arg2; chainedIOErrorHandler = _arg3; chainedSecurityErrorHandler = _arg4; chainedRSLErrorHandler = _arg5; var _local6:IResourceManager = ResourceManager.getInstance(); var _local7:IEventDispatcher = _local6.loadResourceModule(url); _local7.addEventListener(ResourceEvent.PROGRESS, itemProgressHandler); _local7.addEventListener(ResourceEvent.COMPLETE, itemCompleteHandler); _local7.addEventListener(ResourceEvent.ERROR, resourceErrorHandler); } } }//package mx.core
Section 506
//RSLItem (mx.core.RSLItem) package mx.core { import flash.display.*; import flash.events.*; import mx.events.*; import flash.system.*; import flash.net.*; public class RSLItem { protected var chainedSecurityErrorHandler:Function; public var total:uint;// = 0 public var loaded:uint;// = 0 private var completed:Boolean;// = false protected var chainedRSLErrorHandler:Function; protected var chainedIOErrorHandler:Function; protected var chainedCompleteHandler:Function; private var errorText:String; protected var chainedProgressHandler:Function; public var urlRequest:URLRequest; protected var url:String; mx_internal static const VERSION:String = "3.0.0.0"; public function RSLItem(_arg1:String){ this.url = _arg1; } public function itemProgressHandler(_arg1:ProgressEvent):void{ loaded = _arg1.bytesLoaded; total = _arg1.bytesTotal; if (chainedProgressHandler != null){ chainedProgressHandler(_arg1); }; } public function itemErrorHandler(_arg1:ErrorEvent):void{ errorText = decodeURI(_arg1.text); completed = true; loaded = 0; total = 0; trace(errorText); if ((((_arg1.type == IOErrorEvent.IO_ERROR)) && (!((chainedIOErrorHandler == null))))){ chainedIOErrorHandler(_arg1); } else { if ((((_arg1.type == SecurityErrorEvent.SECURITY_ERROR)) && (!((chainedSecurityErrorHandler == null))))){ chainedSecurityErrorHandler(_arg1); } else { if ((((_arg1.type == RSLEvent.RSL_ERROR)) && (!((chainedRSLErrorHandler == null))))){ chainedRSLErrorHandler(_arg1); }; }; }; } public function load(_arg1:Function, _arg2:Function, _arg3:Function, _arg4:Function, _arg5:Function):void{ chainedProgressHandler = _arg1; chainedCompleteHandler = _arg2; chainedIOErrorHandler = _arg3; chainedSecurityErrorHandler = _arg4; chainedRSLErrorHandler = _arg5; var _local6:Loader = new Loader(); var _local7:LoaderContext = new LoaderContext(); urlRequest = new URLRequest(url); _local6.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, itemProgressHandler); _local6.contentLoaderInfo.addEventListener(Event.COMPLETE, itemCompleteHandler); _local6.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, itemErrorHandler); _local6.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, itemErrorHandler); _local7.applicationDomain = ApplicationDomain.currentDomain; _local6.load(urlRequest, _local7); } public function itemCompleteHandler(_arg1:Event):void{ completed = true; if (chainedCompleteHandler != null){ chainedCompleteHandler(_arg1); }; } } }//package mx.core
Section 507
//RSLListLoader (mx.core.RSLListLoader) package mx.core { import flash.events.*; public class RSLListLoader { private var chainedSecurityErrorHandler:Function; private var chainedIOErrorHandler:Function; private var rslList:Array; private var chainedRSLErrorHandler:Function; private var chainedCompleteHandler:Function; private var currentIndex:int;// = 0 private var chainedProgressHandler:Function; mx_internal static const VERSION:String = "3.0.0.0"; public function RSLListLoader(_arg1:Array){ rslList = []; super(); this.rslList = _arg1; } private function loadNext():void{ if (!isDone()){ currentIndex++; if (currentIndex < rslList.length){ rslList[currentIndex].load(chainedProgressHandler, listCompleteHandler, listIOErrorHandler, listSecurityErrorHandler, chainedRSLErrorHandler); }; }; } public function getIndex():int{ return (currentIndex); } public function load(_arg1:Function, _arg2:Function, _arg3:Function, _arg4:Function, _arg5:Function):void{ chainedProgressHandler = _arg1; chainedCompleteHandler = _arg2; chainedIOErrorHandler = _arg3; chainedSecurityErrorHandler = _arg4; chainedRSLErrorHandler = _arg5; currentIndex = -1; loadNext(); } private function listCompleteHandler(_arg1:Event):void{ if (chainedCompleteHandler != null){ chainedCompleteHandler(_arg1); }; loadNext(); } public function isDone():Boolean{ return ((currentIndex >= rslList.length)); } private function listSecurityErrorHandler(_arg1:Event):void{ if (chainedSecurityErrorHandler != null){ chainedSecurityErrorHandler(_arg1); }; } public function getItemCount():int{ return (rslList.length); } public function getItem(_arg1:int):RSLItem{ if ((((_arg1 < 0)) || ((_arg1 >= rslList.length)))){ return (null); }; return (rslList[_arg1]); } private function listIOErrorHandler(_arg1:Event):void{ if (chainedIOErrorHandler != null){ chainedIOErrorHandler(_arg1); }; } } }//package mx.core
Section 508
//ScrollPolicy (mx.core.ScrollPolicy) package mx.core { public final class ScrollPolicy { public static const AUTO:String = "auto"; public static const ON:String = "on"; mx_internal static const VERSION:String = "3.0.0.0"; public static const OFF:String = "off"; } }//package mx.core
Section 509
//Singleton (mx.core.Singleton) package mx.core { public class Singleton { mx_internal static const VERSION:String = "3.0.0.0"; private static var classMap:Object = {}; public static function registerClass(_arg1:String, _arg2:Class):void{ var _local3:Class = classMap[_arg1]; if (!_local3){ classMap[_arg1] = _arg2; }; } public static function getClass(_arg1:String):Class{ return (classMap[_arg1]); } public static function getInstance(_arg1:String):Object{ var _local2:Class = classMap[_arg1]; if (!_local2){ throw (new Error((("No class registered for interface '" + _arg1) + "'."))); }; return (_local2["getInstance"]()); } } }//package mx.core
Section 510
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.core
Section 511
//SpriteAsset (mx.core.SpriteAsset) package mx.core { public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.0.0.0"; public function SpriteAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 512
//TextFieldFactory (mx.core.TextFieldFactory) package mx.core { import flash.text.*; import flash.utils.*; public class TextFieldFactory implements ITextFieldFactory { private var textFields:Dictionary; mx_internal static const VERSION:String = "3.0.0.0"; private static var instance:ITextFieldFactory; public function TextFieldFactory(){ textFields = new Dictionary(true); super(); } public function createTextField(_arg1:IFlexModuleFactory):TextField{ var _local4:Object; var _local2:TextField; var _local3:Dictionary = textFields[_arg1]; if (_local3){ for (_local4 in _local3) { _local2 = TextField(_local4); break; }; }; if (!_local2){ if (_arg1){ _local2 = TextField(_arg1.create("flash.text.TextField")); } else { _local2 = new TextField(); }; if (!_local3){ _local3 = new Dictionary(true); }; _local3[_local2] = 1; textFields[_arg1] = _local3; }; return (_local2); } public static function getInstance():ITextFieldFactory{ if (!instance){ instance = new (TextFieldFactory); }; return (instance); } } }//package mx.core
Section 513
//UIComponent (mx.core.UIComponent) package mx.core { import flash.display.*; import flash.geom.*; import flash.text.*; import mx.managers.*; import mx.automation.*; import flash.events.*; import mx.events.*; import mx.resources.*; import mx.styles.*; import mx.controls.*; import mx.states.*; import mx.effects.*; import mx.graphics.*; import mx.binding.*; import mx.validators.*; import mx.utils.*; import flash.utils.*; import flash.system.*; import mx.modules.*; public class UIComponent extends FlexSprite implements IAutomationObject, IChildList, IDeferredInstantiationUIComponent, IFlexDisplayObject, IFlexModule, IInvalidating, ILayoutManagerClient, IPropertyChangeNotifier, IRepeaterClient, ISimpleStyleClient, IStyleClient, IToolTipManagerClient, IUIComponent, IValidatorListener, IStateClient, IConstraintClient { private var cachedEmbeddedFont:EmbeddedFont;// = null private var errorStringChanged:Boolean;// = false mx_internal var overlay:UIComponent; mx_internal var automaticRadioButtonGroups:Object; private var _currentState:String; private var _isPopUp:Boolean; private var _repeaters:Array; private var _systemManager:ISystemManager; private var _measuredWidth:Number;// = 0 private var methodQueue:Array; mx_internal var _width:Number; private var _tweeningProperties:Array; private var _validationSubField:String; private var _endingEffectInstances:Array; mx_internal var saveBorderColor:Boolean;// = true mx_internal var overlayColor:uint; mx_internal var overlayReferenceCount:int;// = 0 private var hasFontContextBeenSaved:Boolean;// = false private var _repeaterIndices:Array; private var oldExplicitWidth:Number; mx_internal var _descriptor:UIComponentDescriptor; private var _initialized:Boolean;// = false private var _focusEnabled:Boolean;// = true private var cacheAsBitmapCount:int;// = 0 private var requestedCurrentState:String; private var listeningForRender:Boolean;// = false mx_internal var invalidateDisplayListFlag:Boolean;// = false private var oldScaleX:Number;// = 1 private var oldScaleY:Number;// = 1 mx_internal var _explicitMaxHeight:Number; mx_internal var invalidatePropertiesFlag:Boolean;// = false private var hasFocusRect:Boolean;// = false mx_internal var invalidateSizeFlag:Boolean;// = false private var _scaleX:Number;// = 1 private var _scaleY:Number;// = 1 private var _styleDeclaration:CSSStyleDeclaration; private var _resourceManager:IResourceManager; mx_internal var _affectedProperties:Object; mx_internal var _documentDescriptor:UIComponentDescriptor; private var _processedDescriptors:Boolean;// = false mx_internal var origBorderColor:Number; private var _focusManager:IFocusManager; private var _cachePolicy:String;// = "auto" private var _measuredHeight:Number;// = 0 private var _id:String; private var _owner:DisplayObjectContainer; public var transitions:Array; mx_internal var _parent:DisplayObjectContainer; private var _measuredMinWidth:Number;// = 0 private var oldMinWidth:Number; private var _explicitWidth:Number; private var _enabled:Boolean;// = false public var states:Array; private var _mouseFocusEnabled:Boolean;// = true private var oldHeight:Number;// = 0 private var _currentStateChanged:Boolean; private var cachedTextFormat:UITextFormat; mx_internal var _height:Number; private var _automationDelegate:IAutomationObject; private var _percentWidth:Number; private var _automationName:String;// = null private var _isEffectStarted:Boolean;// = false private var _styleName:Object; private var lastUnscaledWidth:Number; mx_internal var _document:Object; mx_internal var _errorString:String;// = "" private var oldExplicitHeight:Number; private var _nestLevel:int;// = 0 private var _systemManagerDirty:Boolean;// = false private var _explicitHeight:Number; mx_internal var _toolTip:String; private var _filters:Array; private var _focusPane:Sprite; private var playStateTransition:Boolean;// = true private var _nonInheritingStyles:Object; private var _showInAutomationHierarchy:Boolean;// = true private var _moduleFactory:IFlexModuleFactory; private var preventDrawFocus:Boolean;// = false private var oldX:Number;// = 0 private var oldY:Number;// = 0 private var _instanceIndices:Array; private var _visible:Boolean;// = true private var _inheritingStyles:Object; private var _includeInLayout:Boolean;// = true mx_internal var _effectsStarted:Array; mx_internal var _explicitMinWidth:Number; private var lastUnscaledHeight:Number; mx_internal var _explicitMaxWidth:Number; private var _measuredMinHeight:Number;// = 0 private var _uid:String; private var _currentTransitionEffect:IEffect; private var _updateCompletePendingFlag:Boolean;// = false private var oldMinHeight:Number; private var _flexContextMenu:IFlexContextMenu; mx_internal var _explicitMinHeight:Number; private var _percentHeight:Number; private var oldEmbeddedFontContext:IFlexModuleFactory;// = null private var oldWidth:Number;// = 0 public static const DEFAULT_MEASURED_WIDTH:Number = 160; public static const DEFAULT_MAX_WIDTH:Number = 10000; public static const DEFAULT_MEASURED_MIN_HEIGHT:Number = 22; public static const DEFAULT_MAX_HEIGHT:Number = 10000; public static const DEFAULT_MEASURED_HEIGHT:Number = 22; mx_internal static const VERSION:String = "3.0.0.0"; public static const DEFAULT_MEASURED_MIN_WIDTH:Number = 40; mx_internal static var dispatchEventHook:Function; private static var fakeMouseY:QName = new QName(mx_internal, "_mouseY"); mx_internal static var createAccessibilityImplementation:Function; mx_internal static var STYLE_UNINITIALIZED:Object = {}; private static var fakeMouseX:QName = new QName(mx_internal, "_mouseX"); private static var _embeddedFontRegistry:IEmbeddedFontRegistry; public function UIComponent(){ methodQueue = []; _resourceManager = ResourceManager.getInstance(); _inheritingStyles = UIComponent.STYLE_UNINITIALIZED; _nonInheritingStyles = UIComponent.STYLE_UNINITIALIZED; states = []; transitions = []; _effectsStarted = []; _affectedProperties = {}; _endingEffectInstances = []; super(); focusRect = false; tabEnabled = (this is IFocusManagerComponent); tabChildren = false; enabled = true; $visible = false; addEventListener(Event.ADDED, addedHandler); addEventListener(Event.REMOVED, removedHandler); if ((this is IFocusManagerComponent)){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; resourcesChanged(); resourceManager.addEventListener(Event.CHANGE, resourceManager_changeHandler, false, 0, true); _width = super.width; _height = super.height; } override public function get filters():Array{ return ((_filters) ? _filters : super.filters); } public function get toolTip():String{ return (_toolTip); } private function transition_effectEndHandler(_arg1:EffectEvent):void{ _currentTransitionEffect = null; } public function get nestLevel():int{ return (_nestLevel); } protected function adjustFocusRect(_arg1:DisplayObject=null):void{ var _local4:Number; var _local5:Number; var _local6:Point; var _local7:Number; if (!_arg1){ _arg1 = this; }; if (((isNaN(_arg1.width)) || (isNaN(_arg1.height)))){ return; }; var _local2:IFocusManager = focusManager; if (!_local2){ return; }; var _local3:IFlexDisplayObject = IFlexDisplayObject(getFocusObject()); if (_local3){ if (((errorString) && (!((errorString == ""))))){ _local4 = getStyle("errorColor"); } else { _local4 = getStyle("themeColor"); }; _local5 = getStyle("focusThickness"); if ((_local3 is IStyleClient)){ IStyleClient(_local3).setStyle("focusColor", _local4); }; _local3.setActualSize((_arg1.width + (2 * _local5)), (_arg1.height + (2 * _local5))); if (rotation){ _local7 = ((rotation * Math.PI) / 180); _local6 = new Point((_arg1.x - (_local5 * (Math.cos(_local7) - Math.sin(_local7)))), (_arg1.y - (_local5 * (Math.cos(_local7) + Math.sin(_local7))))); DisplayObject(_local3).rotation = rotation; } else { _local6 = new Point((_arg1.x - _local5), (_arg1.y - _local5)); }; if (_arg1.parent == this){ _local6.x = (_local6.x + x); _local6.y = (_local6.y + y); }; _local6 = parent.localToGlobal(_local6); _local6 = parent.globalToLocal(_local6); _local3.move(_local6.x, _local6.y); if ((_local3 is IInvalidating)){ IInvalidating(_local3).validateNow(); } else { if ((_local3 is IProgrammaticSkin)){ IProgrammaticSkin(_local3).validateNow(); }; }; }; } mx_internal function setUnscaledWidth(_arg1:Number):void{ var _local2:Number = (_arg1 * Math.abs(oldScaleX)); if (_explicitWidth == _local2){ return; }; if (!isNaN(_local2)){ _percentWidth = NaN; }; _explicitWidth = _local2; invalidateSize(); var _local3:IInvalidating = (parent as IInvalidating); if (((_local3) && (includeInLayout))){ _local3.invalidateSize(); _local3.invalidateDisplayList(); }; } public function set nestLevel(_arg1:int):void{ var _local2:IChildList; var _local3:int; var _local4:int; var _local5:ILayoutManagerClient; var _local6:IUITextField; if ((((_arg1 > 1)) && (!((_nestLevel == _arg1))))){ _nestLevel = _arg1; updateCallbacks(); _local2 = ((this is IRawChildrenContainer)) ? IRawChildrenContainer(this).rawChildren : IChildList(this); _local3 = _local2.numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = (_local2.getChildAt(_local4) as ILayoutManagerClient); if (_local5){ _local5.nestLevel = (_arg1 + 1); } else { _local6 = (_local2.getChildAt(_local4) as IUITextField); if (_local6){ _local6.nestLevel = (_arg1 + 1); }; }; _local4++; }; }; } public function getExplicitOrMeasuredHeight():Number{ return ((isNaN(explicitHeight)) ? measuredHeight : explicitHeight); } private function callLaterDispatcher(_arg1:Event):void{ var callLaterErrorEvent:DynamicEvent; var event = _arg1; UIComponentGlobals.callLaterDispatcherCount++; if (!UIComponentGlobals.catchCallLaterExceptions){ callLaterDispatcher2(event); } else { try { callLaterDispatcher2(event); } catch(e:Error) { callLaterErrorEvent = new DynamicEvent("callLaterError"); callLaterErrorEvent.error = e; systemManager.dispatchEvent(callLaterErrorEvent); }; }; UIComponentGlobals.callLaterDispatcherCount--; } public function getStyle(_arg1:String){ return ((StyleManager.inheritingStyles[_arg1]) ? _inheritingStyles[_arg1] : _nonInheritingStyles[_arg1]); } final mx_internal function get $width():Number{ return (super.width); } public function get className():String{ var _local1:String = getQualifiedClassName(this); var _local2:int = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function verticalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ UIComponentGlobals.tempMatrix.createGradientBox(_arg3, _arg4, (Math.PI / 2), _arg1, _arg2); return (UIComponentGlobals.tempMatrix); } public function setCurrentState(_arg1:String, _arg2:Boolean=true):void{ if (((!((_arg1 == currentState))) && (!(((isBaseState(_arg1)) && (isBaseState(currentState))))))){ requestedCurrentState = _arg1; playStateTransition = _arg2; if (initialized){ commitCurrentState(); } else { _currentStateChanged = true; addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); }; }; } private function getBaseStates(_arg1:State):Array{ var _local2:Array = []; while (((_arg1) && (_arg1.basedOn))) { _local2.push(_arg1.basedOn); _arg1 = getState(_arg1.basedOn); }; return (_local2); } public function set minHeight(_arg1:Number):void{ if (explicitMinHeight == _arg1){ return; }; explicitMinHeight = _arg1; } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } public function get errorString():String{ return (_errorString); } mx_internal function setUnscaledHeight(_arg1:Number):void{ var _local2:Number = (_arg1 * Math.abs(oldScaleY)); if (_explicitHeight == _local2){ return; }; if (!isNaN(_local2)){ _percentHeight = NaN; }; _explicitHeight = _local2; invalidateSize(); var _local3:IInvalidating = (parent as IInvalidating); if (((_local3) && (includeInLayout))){ _local3.invalidateSize(); _local3.invalidateDisplayList(); }; } public function get automationName():String{ if (_automationName){ return (_automationName); }; if (automationDelegate){ return (automationDelegate.automationName); }; return (""); } final mx_internal function set $width(_arg1:Number):void{ super.width = _arg1; } public function invalidateDisplayList():void{ if (!invalidateDisplayListFlag){ invalidateDisplayListFlag = true; if (((parent) && (UIComponentGlobals.layoutManager))){ UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; }; } mx_internal function initThemeColor():Boolean{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Array; var _local7:int; var _local8:CSSStyleDeclaration; var _local1:Object = _styleName; if (_styleDeclaration){ _local2 = _styleDeclaration.getStyle("themeColor"); _local3 = _styleDeclaration.getStyle("rollOverColor"); _local4 = _styleDeclaration.getStyle("selectionColor"); }; if ((((((_local2 === null)) || (!(StyleManager.isValidStyleValue(_local2))))) && (((_local1) && (!((_local1 is ISimpleStyleClient))))))){ _local5 = ((_local1 is String)) ? StyleManager.getStyleDeclaration(("." + _local1)) : _local1; if (_local5){ _local2 = _local5.getStyle("themeColor"); _local3 = _local5.getStyle("rollOverColor"); _local4 = _local5.getStyle("selectionColor"); }; }; if ((((_local2 === null)) || (!(StyleManager.isValidStyleValue(_local2))))){ _local6 = getClassStyleDeclarations(); _local7 = 0; while (_local7 < _local6.length) { _local8 = _local6[_local7]; if (_local8){ _local2 = _local8.getStyle("themeColor"); _local3 = _local8.getStyle("rollOverColor"); _local4 = _local8.getStyle("selectionColor"); }; if (((!((_local2 === null))) && (StyleManager.isValidStyleValue(_local2)))){ break; }; _local7++; }; }; if (((((((!((_local2 === null))) && (StyleManager.isValidStyleValue(_local2)))) && (isNaN(_local3)))) && (isNaN(_local4)))){ setThemeColor(_local2); return (true); }; return (((((((!((_local2 === null))) && (StyleManager.isValidStyleValue(_local2)))) && (!(isNaN(_local3))))) && (!(isNaN(_local4))))); } override public function get scaleX():Number{ return (_scaleX); } public function get uid():String{ if (!_uid){ _uid = toString(); }; return (_uid); } override public function get mouseX():Number{ if (((((!(root)) || ((root is Stage)))) || ((root[fakeMouseX] === undefined)))){ return (super.mouseX); }; return (globalToLocal(new Point(root[fakeMouseX], 0)).x); } override public function stopDrag():void{ super.stopDrag(); invalidateProperties(); dispatchEvent(new Event("xChanged")); dispatchEvent(new Event("yChanged")); } public function get focusPane():Sprite{ return (_focusPane); } public function set tweeningProperties(_arg1:Array):void{ _tweeningProperties = _arg1; } public function horizontalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ UIComponentGlobals.tempMatrix.createGradientBox(_arg3, _arg4, 0, _arg1, _arg2); return (UIComponentGlobals.tempMatrix); } public function get isDocument():Boolean{ return ((document == this)); } public function set validationSubField(_arg1:String):void{ _validationSubField = _arg1; } override public function get scaleY():Number{ return (_scaleY); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function createInFontContext(_arg1:Class):Object{ hasFontContextBeenSaved = true; var _local2:String = StringUtil.trimArrayElements(getStyle("fontFamily"), ","); var _local3:String = getStyle("fontWeight"); var _local4:String = getStyle("fontStyle"); var _local5 = (_local3 == "bold"); var _local6 = (_local4 == "italic"); oldEmbeddedFontContext = getFontContext(_local2, _local5, _local6); var _local7:Object = createInModuleContext((oldEmbeddedFontContext) ? oldEmbeddedFontContext : moduleFactory, getQualifiedClassName(_arg1)); if (_local7 == null){ _local7 = new (_arg1); }; return (_local7); } public function get screen():Rectangle{ var _local1:ISystemManager = systemManager; return ((_local1) ? _local1.screen : null); } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus(DisplayObject(_arg1.target))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); }; ContainerGlobals.checkFocus(_arg1.relatedObject, this); }; } public function hasFontContextChanged():Boolean{ if (!hasFontContextBeenSaved){ return (false); }; var _local1:String = StringUtil.trimArrayElements(getStyle("fontFamily"), ","); var _local2:String = getStyle("fontWeight"); var _local3:String = getStyle("fontStyle"); var _local4 = (_local2 == "bold"); var _local5 = (_local3 == "italic"); var _local6:EmbeddedFont = getEmbeddedFont(_local1, _local4, _local5); var _local7:IFlexModuleFactory = embeddedFontRegistry.getAssociatedModuleFactory(_local6, moduleFactory); return (!((_local7 == oldEmbeddedFontContext))); } public function get explicitHeight():Number{ return (_explicitHeight); } override public function get x():Number{ return (super.x); } override public function get y():Number{ return (super.y); } override public function get visible():Boolean{ return (_visible); } mx_internal function addOverlay(_arg1:uint, _arg2:RoundedRectangle=null):void{ if (!overlay){ overlayColor = _arg1; overlay = new UIComponent(); overlay.name = "overlay"; overlay.$visible = true; fillOverlay(overlay, _arg1, _arg2); attachOverlay(); if (!_arg2){ addEventListener(ResizeEvent.RESIZE, overlay_resizeHandler); }; overlay.x = 0; overlay.y = 0; invalidateDisplayList(); overlayReferenceCount = 1; } else { overlayReferenceCount++; }; dispatchEvent(new ChildExistenceChangedEvent(ChildExistenceChangedEvent.OVERLAY_CREATED, true, false, overlay)); } public function get percentWidth():Number{ return (_percentWidth); } public function set explicitMinHeight(_arg1:Number):void{ if (_explicitMinHeight == _arg1){ return; }; _explicitMinHeight = _arg1; invalidateSize(); var _local2:IInvalidating = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMinHeightChanged")); } public function set automationName(_arg1:String):void{ _automationName = _arg1; } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } mx_internal function getEmbeddedFont(_arg1:String, _arg2:Boolean, _arg3:Boolean):EmbeddedFont{ if (cachedEmbeddedFont){ if ((((cachedEmbeddedFont.fontName == _arg1)) && ((cachedEmbeddedFont.fontStyle == EmbeddedFontRegistry.getFontStyle(_arg2, _arg3))))){ return (cachedEmbeddedFont); }; }; cachedEmbeddedFont = new EmbeddedFont(_arg1, _arg2, _arg3); return (cachedEmbeddedFont); } public function stylesInitialized():void{ } public function set errorString(_arg1:String):void{ var _local2:String = _errorString; _errorString = _arg1; ToolTipManager.registerErrorString(this, _local2, _arg1); errorStringChanged = true; invalidateProperties(); dispatchEvent(new Event("errorStringChanged")); } public function getExplicitOrMeasuredWidth():Number{ return ((isNaN(explicitWidth)) ? measuredWidth : explicitWidth); } final mx_internal function set $height(_arg1:Number):void{ super.height = _arg1; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } final mx_internal function $removeChild(_arg1:DisplayObject):DisplayObject{ return (super.removeChild(_arg1)); } override public function set scaleX(_arg1:Number):void{ if (_scaleX == _arg1){ return; }; _scaleX = _arg1; invalidateProperties(); invalidateSize(); dispatchEvent(new Event("scaleXChanged")); } override public function set scaleY(_arg1:Number):void{ if (_scaleY == _arg1){ return; }; _scaleY = _arg1; invalidateProperties(); invalidateSize(); dispatchEvent(new Event("scaleYChanged")); } public function set uid(_arg1:String):void{ this._uid = _arg1; } public function createAutomationIDPart(_arg1:IAutomationObject):Object{ if (automationDelegate){ return (automationDelegate.createAutomationIDPart(_arg1)); }; return (null); } public function getAutomationChildAt(_arg1:int):IAutomationObject{ if (automationDelegate){ return (automationDelegate.getAutomationChildAt(_arg1)); }; return (null); } mx_internal function get isEffectStarted():Boolean{ return (_isEffectStarted); } override public function get parent():DisplayObjectContainer{ return ((_parent) ? _parent : super.parent); } override public function get mouseY():Number{ if (((((!(root)) || ((root is Stage)))) || ((root[fakeMouseY] === undefined)))){ return (super.mouseY); }; return (globalToLocal(new Point(0, root[fakeMouseY])).y); } public function setActualSize(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; if (_width != _arg1){ _width = _arg1; dispatchEvent(new Event("widthChanged")); _local3 = true; }; if (_height != _arg2){ _height = _arg2; dispatchEvent(new Event("heightChanged")); _local3 = true; }; if (_local3){ invalidateDisplayList(); dispatchResizeEvent(); }; } private function focusObj_resizeHandler(_arg1:ResizeEvent):void{ adjustFocusRect(); } mx_internal function adjustSizesForScaleChanges():void{ var _local3:Number; var _local1:Number = scaleX; var _local2:Number = scaleY; if (_local1 != oldScaleX){ _local3 = Math.abs((_local1 / oldScaleX)); if (explicitMinWidth){ explicitMinWidth = (explicitMinWidth * _local3); }; if (!isNaN(explicitWidth)){ explicitWidth = (explicitWidth * _local3); }; if (explicitMaxWidth){ explicitMaxWidth = (explicitMaxWidth * _local3); }; oldScaleX = _local1; }; if (_local2 != oldScaleY){ _local3 = Math.abs((_local2 / oldScaleY)); if (explicitMinHeight){ explicitMinHeight = (explicitMinHeight * _local3); }; if (explicitHeight){ explicitHeight = (explicitHeight * _local3); }; if (explicitMaxHeight){ explicitMaxHeight = (explicitMaxHeight * _local3); }; oldScaleY = _local2; }; } public function set focusPane(_arg1:Sprite):void{ if (_arg1){ addChild(_arg1); _arg1.x = 0; _arg1.y = 0; _arg1.scrollRect = null; _focusPane = _arg1; } else { removeChild(_focusPane); _focusPane = null; }; } public function determineTextFormatFromStyles():UITextFormat{ var _local2:String; var _local1:UITextFormat = cachedTextFormat; if (!_local1){ _local2 = StringUtil.trimArrayElements(_inheritingStyles.fontFamily, ","); _local1 = new UITextFormat(getNonNullSystemManager(), _local2); _local1.moduleFactory = moduleFactory; _local1.align = _inheritingStyles.textAlign; _local1.bold = (_inheritingStyles.fontWeight == "bold"); _local1.color = (enabled) ? _inheritingStyles.color : _inheritingStyles.disabledColor; _local1.font = _local2; _local1.indent = _inheritingStyles.textIndent; _local1.italic = (_inheritingStyles.fontStyle == "italic"); _local1.kerning = _inheritingStyles.kerning; _local1.leading = _nonInheritingStyles.leading; _local1.leftMargin = _nonInheritingStyles.paddingLeft; _local1.letterSpacing = _inheritingStyles.letterSpacing; _local1.rightMargin = _nonInheritingStyles.paddingRight; _local1.size = _inheritingStyles.fontSize; _local1.underline = (_nonInheritingStyles.textDecoration == "underline"); _local1.antiAliasType = _inheritingStyles.fontAntiAliasType; _local1.gridFitType = _inheritingStyles.fontGridFitType; _local1.sharpness = _inheritingStyles.fontSharpness; _local1.thickness = _inheritingStyles.fontThickness; cachedTextFormat = _local1; }; return (_local1); } public function validationResultHandler(_arg1:ValidationResultEvent):void{ var _local2:String; var _local3:ValidationResult; var _local4:int; if (_arg1.type == ValidationResultEvent.VALID){ if (errorString != ""){ errorString = ""; dispatchEvent(new FlexEvent(FlexEvent.VALID)); }; } else { if (((((!((validationSubField == null))) && (!((validationSubField == ""))))) && (_arg1.results))){ _local4 = 0; while (_local4 < _arg1.results.length) { _local3 = _arg1.results[_local4]; if (_local3.subField == validationSubField){ if (_local3.isError){ _local2 = _local3.errorMessage; } else { if (errorString != ""){ errorString = ""; dispatchEvent(new FlexEvent(FlexEvent.VALID)); }; }; break; }; _local4++; }; } else { if (((_arg1.results) && ((_arg1.results.length > 0)))){ _local2 = _arg1.results[0].errorMessage; }; }; if (((_local2) && (!((errorString == _local2))))){ errorString = _local2; dispatchEvent(new FlexEvent(FlexEvent.INVALID)); }; }; } public function invalidateProperties():void{ if (!invalidatePropertiesFlag){ invalidatePropertiesFlag = true; if (((parent) && (UIComponentGlobals.layoutManager))){ UIComponentGlobals.layoutManager.invalidateProperties(this); }; }; } public function get inheritingStyles():Object{ return (_inheritingStyles); } private function focusObj_scrollHandler(_arg1:Event):void{ adjustFocusRect(); } final mx_internal function get $x():Number{ return (super.x); } final mx_internal function get $y():Number{ return (super.y); } public function setConstraintValue(_arg1:String, _arg2):void{ setStyle(_arg1, _arg2); } protected function resourcesChanged():void{ } public function registerEffects(_arg1:Array):void{ var _local4:String; var _local2:int = _arg1.length; var _local3:int; while (_local3 < _local2) { _local4 = EffectManager.getEventForEffectTrigger(_arg1[_local3]); if (((!((_local4 == null))) && (!((_local4 == ""))))){ addEventListener(_local4, EffectManager.eventHandler, false, EventPriority.EFFECT); }; _local3++; }; } public function get explicitMinWidth():Number{ return (_explicitMinWidth); } private function filterChangeHandler(_arg1:Event):void{ super.filters = _filters; } override public function set visible(_arg1:Boolean):void{ setVisible(_arg1); } public function set explicitHeight(_arg1:Number):void{ if (_explicitHeight == _arg1){ return; }; if (!isNaN(_arg1)){ _percentHeight = NaN; }; _explicitHeight = _arg1; invalidateSize(); var _local2:IInvalidating = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitHeightChanged")); } override public function set x(_arg1:Number):void{ if (super.x == _arg1){ return; }; super.x = _arg1; invalidateProperties(); dispatchEvent(new Event("xChanged")); } public function set showInAutomationHierarchy(_arg1:Boolean):void{ _showInAutomationHierarchy = _arg1; } override public function set y(_arg1:Number):void{ if (super.y == _arg1){ return; }; super.y = _arg1; invalidateProperties(); dispatchEvent(new Event("yChanged")); } private function resourceManager_changeHandler(_arg1:Event):void{ resourcesChanged(); } public function set systemManager(_arg1:ISystemManager):void{ _systemManager = _arg1; _systemManagerDirty = false; } mx_internal function getFocusObject():DisplayObject{ var _local1:IFocusManager = focusManager; if (((!(_local1)) || (!(_local1.focusPane)))){ return (null); }; return (((_local1.focusPane.numChildren == 0)) ? null : _local1.focusPane.getChildAt(0)); } public function set percentWidth(_arg1:Number):void{ if (_percentWidth == _arg1){ return; }; if (!isNaN(_arg1)){ _explicitWidth = NaN; }; _percentWidth = _arg1; var _local2:IInvalidating = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; } public function get moduleFactory():IFlexModuleFactory{ return (_moduleFactory); } override public function addChild(_arg1:DisplayObject):DisplayObject{ var _local2:DisplayObjectContainer = _arg1.parent; if (((_local2) && (!((_local2 is Loader))))){ _local2.removeChild(_arg1); }; var _local3:int = (((overlayReferenceCount) && (!((_arg1 == overlay))))) ? Math.max(0, (super.numChildren - 1)) : super.numChildren; addingChild(_arg1); $addChildAt(_arg1, _local3); childAdded(_arg1); return (_arg1); } public function get document():Object{ return (_document); } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } final mx_internal function $addChild(_arg1:DisplayObject):DisplayObject{ return (super.addChild(_arg1)); } mx_internal function setThemeColor(_arg1:Object):void{ var _local2:Number; if ((_local2 is String)){ _local2 = parseInt(String(_arg1)); } else { _local2 = Number(_arg1); }; if (isNaN(_local2)){ _local2 = StyleManager.getColorName(_arg1); }; var _local3:Number = ColorUtil.adjustBrightness2(_local2, 50); var _local4:Number = ColorUtil.adjustBrightness2(_local2, 70); setStyle("selectionColor", _local3); setStyle("rollOverColor", _local4); } public function get explicitMaxWidth():Number{ return (_explicitMaxWidth); } public function get id():String{ return (_id); } override public function get height():Number{ return (_height); } public function set minWidth(_arg1:Number):void{ if (explicitMinWidth == _arg1){ return; }; explicitMinWidth = _arg1; } public function set currentState(_arg1:String):void{ setCurrentState(_arg1, true); } public function getRepeaterItem(_arg1:int=-1):Object{ var _local2:Array = repeaters; if (_arg1 == -1){ _arg1 = (_local2.length - 1); }; return (_local2[_arg1].getItemAt(repeaterIndices[_arg1])); } public function executeBindings(_arg1:Boolean=false):void{ var _local2:Object = (((descriptor) && (descriptor.document))) ? descriptor.document : parentDocument; BindingManager.executeBindings(_local2, id, this); } public function replayAutomatableEvent(_arg1:Event):Boolean{ if (automationDelegate){ return (automationDelegate.replayAutomatableEvent(_arg1)); }; return (false); } mx_internal function getFontContext(_arg1:String, _arg2:Boolean, _arg3:Boolean):IFlexModuleFactory{ return (embeddedFontRegistry.getAssociatedModuleFactory(getEmbeddedFont(_arg1, _arg2, _arg3), moduleFactory)); } public function get instanceIndex():int{ return ((_instanceIndices) ? _instanceIndices[(_instanceIndices.length - 1)] : -1); } public function set measuredWidth(_arg1:Number):void{ _measuredWidth = _arg1; } public function effectFinished(_arg1:IEffectInstance):void{ _endingEffectInstances.push(_arg1); invalidateProperties(); UIComponentGlobals.layoutManager.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler, false, 0, true); } mx_internal function set isEffectStarted(_arg1:Boolean):void{ _isEffectStarted = _arg1; } mx_internal function fillOverlay(_arg1:UIComponent, _arg2:uint, _arg3:RoundedRectangle=null):void{ if (!_arg3){ _arg3 = new RoundedRectangle(0, 0, unscaledWidth, unscaledHeight, 0); }; var _local4:Graphics = _arg1.graphics; _local4.clear(); _local4.beginFill(_arg2); _local4.drawRoundRect(_arg3.x, _arg3.y, _arg3.width, _arg3.height, (_arg3.cornerRadius * 2), (_arg3.cornerRadius * 2)); _local4.endFill(); } public function get instanceIndices():Array{ return ((_instanceIndices) ? _instanceIndices.slice(0) : null); } mx_internal function childAdded(_arg1:DisplayObject):void{ if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).initialized){ UIComponent(_arg1).initialize(); }; } else { if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).initialize(); }; }; } public function globalToContent(_arg1:Point):Point{ return (globalToLocal(_arg1)); } mx_internal function removingChild(_arg1:DisplayObject):void{ } mx_internal function getEffectsForProperty(_arg1:String):Array{ return (((_affectedProperties[_arg1])!=undefined) ? _affectedProperties[_arg1] : []); } override public function removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject = getChildAt(_arg1); removingChild(_local2); $removeChild(_local2); childRemoved(_local2); return (_local2); } protected function measure():void{ measuredMinWidth = 0; measuredMinHeight = 0; measuredWidth = 0; measuredHeight = 0; } public function set owner(_arg1:DisplayObjectContainer):void{ _owner = _arg1; } mx_internal function getNonNullSystemManager():ISystemManager{ var _local1:ISystemManager = systemManager; if (!_local1){ _local1 = ISystemManager(SystemManager.getSWFRoot(this)); }; if (!_local1){ return (SystemManagerGlobals.topLevelSystemManagers[0]); }; return (_local1); } protected function get unscaledWidth():Number{ return ((width / Math.abs(scaleX))); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; if (_arg1){ dispatchEvent(new FlexEvent(FlexEvent.INITIALIZE)); }; } private function processEffectFinished(_arg1:Array):void{ var _local3:int; var _local4:IEffectInstance; var _local5:IEffectInstance; var _local6:Array; var _local7:int; var _local8:String; var _local9:int; var _local2:int = (_effectsStarted.length - 1); while (_local2 >= 0) { _local3 = 0; while (_local3 < _arg1.length) { _local4 = _arg1[_local3]; if (_local4 == _effectsStarted[_local2]){ _local5 = _effectsStarted[_local2]; _effectsStarted.splice(_local2, 1); _local6 = _local5.effect.getAffectedProperties(); _local7 = 0; while (_local7 < _local6.length) { _local8 = _local6[_local7]; if (_affectedProperties[_local8] != undefined){ _local9 = 0; while (_local9 < _affectedProperties[_local8].length) { if (_affectedProperties[_local8][_local9] == _local4){ _affectedProperties[_local8].splice(_local9, 1); break; }; _local9++; }; if (_affectedProperties[_local8].length == 0){ delete _affectedProperties[_local8]; }; }; _local7++; }; break; }; _local3++; }; _local2--; }; isEffectStarted = ((_effectsStarted.length > 0)) ? true : false; if (((_local4) && (_local4.hideFocusRing))){ preventDrawFocus = false; }; } private function commitCurrentState():void{ var _local3:StateChangeEvent; var _local1:IEffect = (playStateTransition) ? getTransition(_currentState, requestedCurrentState) : null; var _local2:String = findCommonBaseState(_currentState, requestedCurrentState); var _local4:String = (_currentState) ? _currentState : ""; var _local5:State = getState(requestedCurrentState); if (_currentTransitionEffect){ _currentTransitionEffect.end(); }; initializeState(requestedCurrentState); if (_local1){ _local1.captureStartValues(); }; _local3 = new StateChangeEvent(StateChangeEvent.CURRENT_STATE_CHANGING); _local3.oldState = _local4; _local3.newState = (requestedCurrentState) ? requestedCurrentState : ""; dispatchEvent(_local3); if (isBaseState(_currentState)){ dispatchEvent(new FlexEvent(FlexEvent.EXIT_STATE)); }; removeState(_currentState, _local2); _currentState = requestedCurrentState; if (isBaseState(currentState)){ dispatchEvent(new FlexEvent(FlexEvent.ENTER_STATE)); } else { applyState(_currentState, _local2); }; _local3 = new StateChangeEvent(StateChangeEvent.CURRENT_STATE_CHANGE); _local3.oldState = _local4; _local3.newState = (_currentState) ? _currentState : ""; dispatchEvent(_local3); if (_local1){ UIComponentGlobals.layoutManager.validateNow(); _currentTransitionEffect = _local1; _local1.addEventListener(EffectEvent.EFFECT_END, transition_effectEndHandler); _local1.play(); }; } public function get includeInLayout():Boolean{ return (_includeInLayout); } private function dispatchResizeEvent():void{ var _local1:ResizeEvent = new ResizeEvent(ResizeEvent.RESIZE); _local1.oldWidth = oldWidth; _local1.oldHeight = oldHeight; dispatchEvent(_local1); oldWidth = width; oldHeight = height; } public function set maxWidth(_arg1:Number):void{ if (explicitMaxWidth == _arg1){ return; }; explicitMaxWidth = _arg1; } public function validateDisplayList():void{ var _local1:ISystemManager; var _local2:Number; var _local3:Number; if (invalidateDisplayListFlag){ _local1 = (parent as ISystemManager); if (_local1){ if ((((_local1 == systemManager.topLevelSystemManager)) && (!((_local1.document == this))))){ setActualSize(getExplicitOrMeasuredWidth(), getExplicitOrMeasuredHeight()); }; }; _local2 = ((scaleX == 0)) ? 0 : (width / scaleX); _local3 = ((scaleY == 0)) ? 0 : (height / scaleY); if (Math.abs((_local2 - lastUnscaledWidth)) < 1E-5){ _local2 = lastUnscaledWidth; }; if (Math.abs((_local3 - lastUnscaledHeight)) < 1E-5){ _local3 = lastUnscaledHeight; }; updateDisplayList(_local2, _local3); lastUnscaledWidth = _local2; lastUnscaledHeight = _local3; invalidateDisplayListFlag = false; }; } public function contentToGlobal(_arg1:Point):Point{ return (localToGlobal(_arg1)); } public function resolveAutomationIDPart(_arg1:Object):Array{ if (automationDelegate){ return (automationDelegate.resolveAutomationIDPart(_arg1)); }; return ([]); } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function setFocus():void{ var _local1:ISystemManager = systemManager; if (((_local1) && (_local1.stage))){ if (UIComponentGlobals.callLaterDispatcherCount == 0){ _local1.stage.focus = this; UIComponentGlobals.nextFocusObject = null; } else { UIComponentGlobals.nextFocusObject = this; _local1.stage.addEventListener(Event.ENTER_FRAME, setFocusLater); }; } else { UIComponentGlobals.nextFocusObject = this; callLater(setFocusLater); }; } private function getTransition(_arg1:String, _arg2:String):IEffect{ var _local6:Transition; var _local3:IEffect; var _local4:int; if (!transitions){ return (null); }; if (!_arg1){ _arg1 = ""; }; if (!_arg2){ _arg2 = ""; }; var _local5:int; while (_local5 < transitions.length) { _local6 = transitions[_local5]; if ((((((_local6.fromState == "*")) && ((_local6.toState == "*")))) && ((_local4 < 1)))){ _local3 = _local6.effect; _local4 = 1; } else { if ((((((_local6.fromState == _arg1)) && ((_local6.toState == "*")))) && ((_local4 < 2)))){ _local3 = _local6.effect; _local4 = 2; } else { if ((((((_local6.fromState == "*")) && ((_local6.toState == _arg2)))) && ((_local4 < 3)))){ _local3 = _local6.effect; _local4 = 3; } else { if ((((((_local6.fromState == _arg1)) && ((_local6.toState == _arg2)))) && ((_local4 < 4)))){ _local3 = _local6.effect; _local4 = 4; break; }; }; }; }; _local5++; }; return (_local3); } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; if (_arg1){ setVisible(_visible, true); dispatchEvent(new FlexEvent(FlexEvent.CREATION_COMPLETE)); }; } final mx_internal function set $y(_arg1:Number):void{ super.y = _arg1; } public function owns(_arg1:DisplayObject):Boolean{ var _local2:IChildList = ((this is IRawChildrenContainer)) ? IRawChildrenContainer(this).rawChildren : IChildList(this); if (_local2.contains(_arg1)){ return (true); }; while (((_arg1) && (!((_arg1 == this))))) { if ((_arg1 is IUIComponent)){ _arg1 = IUIComponent(_arg1).owner; } else { _arg1 = _arg1.parent; }; }; return ((_arg1 == this)); } public function setVisible(_arg1:Boolean, _arg2:Boolean=false):void{ _visible = _arg1; if (!initialized){ return; }; if ($visible == _arg1){ return; }; $visible = _arg1; if (!_arg2){ dispatchEvent(new FlexEvent((_arg1) ? FlexEvent.SHOW : FlexEvent.HIDE)); }; } final mx_internal function $addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ return (super.addChildAt(_arg1, _arg2)); } public function deleteReferenceOnParentDocument(_arg1:IFlexDisplayObject):void{ var _local2:Array; var _local3:Object; var _local4:Array; var _local5:int; var _local6:int; var _local7:int; var _local8:Object; var _local9:PropertyChangeEvent; if (((id) && (!((id == ""))))){ _local2 = _instanceIndices; if (!_local2){ _arg1[id] = null; } else { _local3 = _arg1[id]; if (!_local3){ return; }; _local4 = []; _local4.push(_local3); _local5 = _local2.length; _local6 = 0; while (_local6 < (_local5 - 1)) { _local8 = _local3[_local2[_local6]]; if (!_local8){ return; }; _local3 = _local8; _local4.push(_local3); _local6++; }; _local3.splice(_local2[(_local5 - 1)], 1); _local7 = (_local4.length - 1); while (_local7 > 0) { if (_local4[_local7].length == 0){ _local4[(_local7 - 1)].splice(_local2[_local7], 1); }; _local7--; }; if ((((_local4.length > 0)) && ((_local4[0].length == 0)))){ _arg1[id] = null; } else { _local9 = PropertyChangeEvent.createUpdateEvent(_arg1, id, _arg1[id], _arg1[id]); _arg1.dispatchEvent(_local9); }; }; }; } public function get nonInheritingStyles():Object{ return (_nonInheritingStyles); } public function effectStarted(_arg1:IEffectInstance):void{ var _local4:String; _effectsStarted.push(_arg1); var _local2:Array = _arg1.effect.getAffectedProperties(); var _local3:int; while (_local3 < _local2.length) { _local4 = _local2[_local3]; if (_affectedProperties[_local4] == undefined){ _affectedProperties[_local4] = []; }; _affectedProperties[_local4].push(_arg1); _local3++; }; isEffectStarted = true; if (_arg1.hideFocusRing){ preventDrawFocus = true; drawFocus(false); }; } final mx_internal function set $x(_arg1:Number):void{ super.x = _arg1; } private function applyState(_arg1:String, _arg2:String):void{ var _local4:Array; var _local5:int; var _local3:State = getState(_arg1); if (_arg1 == _arg2){ return; }; if (_local3){ if (_local3.basedOn != _arg2){ applyState(_local3.basedOn, _arg2); }; _local4 = _local3.overrides; _local5 = 0; while (_local5 < _local4.length) { _local4[_local5].apply(this); _local5++; }; _local3.dispatchEnterState(); }; } protected function commitProperties():void{ var _local1:Number; var _local2:Number; if (_scaleX != oldScaleX){ _local1 = Math.abs((_scaleX / oldScaleX)); if (!isNaN(explicitMinWidth)){ explicitMinWidth = (explicitMinWidth * _local1); }; if (!isNaN(explicitWidth)){ explicitWidth = (explicitWidth * _local1); }; if (!isNaN(explicitMaxWidth)){ explicitMaxWidth = (explicitMaxWidth * _local1); }; _width = (_width * _local1); super.scaleX = (oldScaleX = _scaleX); }; if (_scaleY != oldScaleY){ _local2 = Math.abs((_scaleY / oldScaleY)); if (!isNaN(explicitMinHeight)){ explicitMinHeight = (explicitMinHeight * _local2); }; if (!isNaN(explicitHeight)){ explicitHeight = (explicitHeight * _local2); }; if (!isNaN(explicitMaxHeight)){ explicitMaxHeight = (explicitMaxHeight * _local2); }; _height = (_height * _local2); super.scaleY = (oldScaleY = _scaleY); }; if (((!((x == oldX))) || (!((y == oldY))))){ dispatchMoveEvent(); }; if (((!((width == oldWidth))) || (!((height == oldHeight))))){ dispatchResizeEvent(); }; if (errorStringChanged){ errorStringChanged = false; setBorderColorForErrorString(); }; } public function get percentHeight():Number{ return (_percentHeight); } override public function get width():Number{ return (_width); } final mx_internal function get $parent():DisplayObjectContainer{ return (super.parent); } public function set explicitMinWidth(_arg1:Number):void{ if (_explicitMinWidth == _arg1){ return; }; _explicitMinWidth = _arg1; invalidateSize(); var _local2:IInvalidating = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMinWidthChanged")); } public function get isPopUp():Boolean{ return (_isPopUp); } private function measureSizes():Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local1:Boolean; if (!invalidateSizeFlag){ return (_local1); }; if (((isNaN(explicitWidth)) || (isNaN(explicitHeight)))){ _local4 = Math.abs(scaleX); _local5 = Math.abs(scaleY); if (_local4 != 1){ _measuredMinWidth = (_measuredMinWidth / _local4); _measuredWidth = (_measuredWidth / _local4); }; if (_local5 != 1){ _measuredMinHeight = (_measuredMinHeight / _local5); _measuredHeight = (_measuredHeight / _local5); }; measure(); invalidateSizeFlag = false; if (((!(isNaN(explicitMinWidth))) && ((measuredWidth < explicitMinWidth)))){ measuredWidth = explicitMinWidth; }; if (((!(isNaN(explicitMaxWidth))) && ((measuredWidth > explicitMaxWidth)))){ measuredWidth = explicitMaxWidth; }; if (((!(isNaN(explicitMinHeight))) && ((measuredHeight < explicitMinHeight)))){ measuredHeight = explicitMinHeight; }; if (((!(isNaN(explicitMaxHeight))) && ((measuredHeight > explicitMaxHeight)))){ measuredHeight = explicitMaxHeight; }; if (_local4 != 1){ _measuredMinWidth = (_measuredMinWidth * _local4); _measuredWidth = (_measuredWidth * _local4); }; if (_local5 != 1){ _measuredMinHeight = (_measuredMinHeight * _local5); _measuredHeight = (_measuredHeight * _local5); }; } else { invalidateSizeFlag = false; _measuredMinWidth = 0; _measuredMinHeight = 0; }; adjustSizesForScaleChanges(); if (isNaN(oldMinWidth)){ oldMinWidth = (isNaN(explicitMinWidth)) ? measuredMinWidth : explicitMinWidth; oldMinHeight = (isNaN(explicitMinHeight)) ? measuredMinHeight : explicitMinHeight; oldExplicitWidth = (isNaN(explicitWidth)) ? measuredWidth : explicitWidth; oldExplicitHeight = (isNaN(explicitHeight)) ? measuredHeight : explicitHeight; _local1 = true; } else { _local3 = (isNaN(explicitMinWidth)) ? measuredMinWidth : explicitMinWidth; if (_local3 != oldMinWidth){ oldMinWidth = _local3; _local1 = true; }; _local3 = (isNaN(explicitMinHeight)) ? measuredMinHeight : explicitMinHeight; if (_local3 != oldMinHeight){ oldMinHeight = _local3; _local1 = true; }; _local3 = (isNaN(explicitWidth)) ? measuredWidth : explicitWidth; if (_local3 != oldExplicitWidth){ oldExplicitWidth = _local3; _local1 = true; }; _local3 = (isNaN(explicitHeight)) ? measuredHeight : explicitHeight; if (_local3 != oldExplicitHeight){ oldExplicitHeight = _local3; _local1 = true; }; }; return (_local1); } public function get automationTabularData():Object{ if (automationDelegate){ return (automationDelegate.automationTabularData); }; return (null); } public function validateNow():void{ UIComponentGlobals.layoutManager.validateClient(this); } public function finishPrint(_arg1:Object, _arg2:IFlexDisplayObject):void{ } public function get repeaters():Array{ return ((_repeaters) ? _repeaters.slice(0) : []); } private function dispatchMoveEvent():void{ var _local1:MoveEvent = new MoveEvent(MoveEvent.MOVE); _local1.oldX = oldX; _local1.oldY = oldY; dispatchEvent(_local1); oldX = x; oldY = y; } public function drawFocus(_arg1:Boolean):void{ var _local4:DisplayObjectContainer; var _local5:Class; if (!parent){ return; }; var _local2:DisplayObject = getFocusObject(); var _local3:Sprite = (focusManager) ? focusManager.focusPane : null; if (((_arg1) && (!(preventDrawFocus)))){ _local4 = _local3.parent; if (_local4 != parent){ if (_local4){ if ((_local4 is ISystemManager)){ ISystemManager(_local4).focusPane = null; } else { IUIComponent(_local4).focusPane = null; }; }; if ((parent is ISystemManager)){ ISystemManager(parent).focusPane = _local3; } else { IUIComponent(parent).focusPane = _local3; }; }; _local5 = getStyle("focusSkin"); if (((_local2) && (!((_local2 is _local5))))){ _local3.removeChild(_local2); _local2 = null; }; if (!_local2){ _local2 = new (_local5); _local2.name = "focus"; _local3.addChild(_local2); }; if ((_local2 is ILayoutManagerClient)){ ILayoutManagerClient(_local2).nestLevel = nestLevel; }; if ((_local2 is ISimpleStyleClient)){ ISimpleStyleClient(_local2).styleName = this; }; addEventListener(MoveEvent.MOVE, focusObj_moveHandler, true); addEventListener(MoveEvent.MOVE, focusObj_moveHandler); addEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler, true); addEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler); addEventListener(Event.REMOVED, focusObj_removedHandler, true); _local2.visible = true; hasFocusRect = true; adjustFocusRect(); } else { if (hasFocusRect){ hasFocusRect = false; if (_local2){ _local2.visible = false; }; removeEventListener(MoveEvent.MOVE, focusObj_moveHandler); removeEventListener(MoveEvent.MOVE, focusObj_moveHandler, true); removeEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler, true); removeEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler); removeEventListener(Event.REMOVED, focusObj_removedHandler, true); }; }; } public function get flexContextMenu():IFlexContextMenu{ return (_flexContextMenu); } private function get indexedID():String{ var _local1:String = id; var _local2:Array = instanceIndices; if (_local2){ _local1 = (_local1 + (("[" + _local2.join("][")) + "]")); }; return (_local1); } public function get measuredMinHeight():Number{ return (_measuredMinHeight); } mx_internal function addingChild(_arg1:DisplayObject):void{ if ((((_arg1 is IUIComponent)) && (!(IUIComponent(_arg1).document)))){ IUIComponent(_arg1).document = (document) ? document : ApplicationGlobals.application; }; if ((((_arg1 is UIComponent)) && ((UIComponent(_arg1).moduleFactory == null)))){ if (moduleFactory != null){ UIComponent(_arg1).moduleFactory = moduleFactory; } else { if ((((document is IFlexModule)) && (!((document.moduleFactory == null))))){ UIComponent(_arg1).moduleFactory = document.moduleFactory; } else { if ((((parent is UIComponent)) && (!((UIComponent(parent).moduleFactory == null))))){ UIComponent(_arg1).moduleFactory = UIComponent(parent).moduleFactory; }; }; }; }; if ((((((_arg1 is IFontContextComponent)) && ((!(_arg1) is UIComponent)))) && ((IFontContextComponent(_arg1).fontContext == null)))){ IFontContextComponent(_arg1).fontContext = moduleFactory; }; if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).parentChanged(this); }; if ((_arg1 is ILayoutManagerClient)){ ILayoutManagerClient(_arg1).nestLevel = (nestLevel + 1); } else { if ((_arg1 is IUITextField)){ IUITextField(_arg1).nestLevel = (nestLevel + 1); }; }; if ((_arg1 is InteractiveObject)){ if (doubleClickEnabled){ InteractiveObject(_arg1).doubleClickEnabled = true; }; }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).regenerateStyleCache(true); } else { if ((((_arg1 is IUITextField)) && (IUITextField(_arg1).inheritingStyles))){ StyleProtoChain.initTextField(IUITextField(_arg1)); }; }; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleChanged(null); }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).notifyStyleChangeInChildren(null, true); }; if ((_arg1 is UIComponent)){ UIComponent(_arg1).initThemeColor(); }; if ((_arg1 is UIComponent)){ UIComponent(_arg1).stylesInitialized(); }; } public function set repeaterIndices(_arg1:Array):void{ _repeaterIndices = _arg1; } protected function initializationComplete():void{ processedDescriptors = true; } public function set moduleFactory(_arg1:IFlexModuleFactory):void{ var _local4:UIComponent; var _local2:int = numChildren; var _local3:int; while (_local3 < _local2) { _local4 = (getChildAt(_local3) as UIComponent); if (!_local4){ } else { if ((((_local4.moduleFactory == null)) || ((_local4.moduleFactory == _moduleFactory)))){ _local4.moduleFactory = _arg1; }; }; _local3++; }; _moduleFactory = _arg1; } private function focusObj_removedHandler(_arg1:Event):void{ if (_arg1.target != this){ return; }; var _local2:DisplayObject = getFocusObject(); if (_local2){ _local2.visible = false; }; } mx_internal function updateCallbacks():void{ if (invalidateDisplayListFlag){ UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; if (invalidateSizeFlag){ UIComponentGlobals.layoutManager.invalidateSize(this); }; if (invalidatePropertiesFlag){ UIComponentGlobals.layoutManager.invalidateProperties(this); }; if (systemManager){ if ((((methodQueue.length > 0)) && (!(listeningForRender)))){ _systemManager.stage.addEventListener(Event.RENDER, callLaterDispatcher); _systemManager.stage.addEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = true; }; _systemManager.stage.invalidate(); }; } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ _styleDeclaration = _arg1; } override public function set doubleClickEnabled(_arg1:Boolean):void{ var _local2:IChildList; var _local4:InteractiveObject; super.doubleClickEnabled = _arg1; if ((this is IRawChildrenContainer)){ _local2 = IRawChildrenContainer(this).rawChildren; } else { _local2 = IChildList(this); }; var _local3:int; while (_local3 < _local2.numChildren) { _local4 = (_local2.getChildAt(_local3) as InteractiveObject); if (_local4){ _local4.doubleClickEnabled = _arg1; }; _local3++; }; } public function prepareToPrint(_arg1:IFlexDisplayObject):Object{ return (null); } public function get minHeight():Number{ if (!isNaN(explicitMinHeight)){ return (explicitMinHeight); }; return (measuredMinHeight); } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ var _local5:ISimpleStyleClient; cachedTextFormat = null; var _local3:int = numChildren; var _local4:int; while (_local4 < _local3) { _local5 = (getChildAt(_local4) as ISimpleStyleClient); if (_local5){ _local5.styleChanged(_arg1); if ((_local5 is IStyleClient)){ IStyleClient(_local5).notifyStyleChangeInChildren(_arg1, _arg2); }; }; _local4++; }; } public function get contentMouseX():Number{ return (mouseX); } public function get contentMouseY():Number{ return (mouseY); } public function get tweeningProperties():Array{ return (_tweeningProperties); } public function set explicitMaxWidth(_arg1:Number):void{ if (_explicitMaxWidth == _arg1){ return; }; _explicitMaxWidth = _arg1; invalidateSize(); var _local2:IInvalidating = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMaxWidthChanged")); } public function set document(_arg1:Object):void{ var _local4:IUIComponent; var _local2:int = numChildren; var _local3:int; while (_local3 < _local2) { _local4 = (getChildAt(_local3) as IUIComponent); if (!_local4){ } else { if ((((_local4.document == _document)) || ((_local4.document == ApplicationGlobals.application)))){ _local4.document = _arg1; }; }; _local3++; }; _document = _arg1; } public function validateSize(_arg1:Boolean=false):void{ var _local2:int; var _local3:DisplayObject; var _local4:Boolean; var _local5:IInvalidating; if (_arg1){ _local2 = 0; while (_local2 < numChildren) { _local3 = getChildAt(_local2); if ((_local3 is ILayoutManagerClient)){ (_local3 as ILayoutManagerClient).validateSize(true); }; _local2++; }; }; if (invalidateSizeFlag){ _local4 = measureSizes(); if (((_local4) && (includeInLayout))){ invalidateDisplayList(); _local5 = (parent as IInvalidating); if (_local5){ _local5.invalidateSize(); _local5.invalidateDisplayList(); }; }; }; } public function get validationSubField():String{ return (_validationSubField); } override public function dispatchEvent(_arg1:Event):Boolean{ if (dispatchEventHook != null){ dispatchEventHook(_arg1, this); }; return (super.dispatchEvent(_arg1)); } public function set id(_arg1:String):void{ _id = _arg1; } private function overlay_resizeHandler(_arg1:Event):void{ fillOverlay(overlay, overlayColor, null); } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } final mx_internal function get $height():Number{ return (super.height); } protected function attachOverlay():void{ addChild(overlay); } public function get explicitMinHeight():Number{ return (_explicitMinHeight); } override public function set height(_arg1:Number):void{ var _local2:IInvalidating; if (explicitHeight != _arg1){ explicitHeight = _arg1; invalidateSize(); }; if (_height != _arg1){ invalidateProperties(); invalidateDisplayList(); _local2 = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; _height = _arg1; dispatchEvent(new Event("heightChanged")); }; } public function get numAutomationChildren():int{ if (automationDelegate){ return (automationDelegate.numAutomationChildren); }; return (0); } public function get parentApplication():Object{ var _local2:UIComponent; var _local1:Object = systemManager.document; if (_local1 == this){ _local2 = (_local1.systemManager.parent as UIComponent); _local1 = (_local2) ? _local2.systemManager.document : null; }; return (_local1); } public function localToContent(_arg1:Point):Point{ return (_arg1); } public function get repeaterIndex():int{ return ((_repeaterIndices) ? _repeaterIndices[(_repeaterIndices.length - 1)] : -1); } private function removeState(_arg1:String, _arg2:String):void{ var _local4:Array; var _local5:int; var _local3:State = getState(_arg1); if (_arg1 == _arg2){ return; }; if (_local3){ _local3.dispatchExitState(); _local4 = _local3.overrides; _local5 = _local4.length; while (_local5) { _local4[(_local5 - 1)].remove(this); _local5--; }; if (_local3.basedOn != _arg2){ removeState(_local3.basedOn, _arg2); }; }; } public function setStyle(_arg1:String, _arg2):void{ if (_arg1 == "styleName"){ styleName = _arg2; return; }; if (EffectManager.getEventForEffectTrigger(_arg1) != ""){ EffectManager.setStyle(_arg1, this); }; var _local3:Boolean = StyleManager.isInheritingStyle(_arg1); var _local4 = !((inheritingStyles == UIComponent.STYLE_UNINITIALIZED)); var _local5 = !((getStyle(_arg1) == _arg2)); if (!_styleDeclaration){ _styleDeclaration = new CSSStyleDeclaration(); _styleDeclaration.setStyle(_arg1, _arg2); if (_local4){ regenerateStyleCache(_local3); }; } else { _styleDeclaration.setStyle(_arg1, _arg2); }; if (((_local4) && (_local5))){ styleChanged(_arg1); notifyStyleChangeInChildren(_arg1, _local3); }; } public function get showInAutomationHierarchy():Boolean{ return (_showInAutomationHierarchy); } public function get systemManager():ISystemManager{ var _local1:DisplayObject; var _local2:DisplayObjectContainer; var _local3:IUIComponent; if (((!(_systemManager)) || (_systemManagerDirty))){ _local1 = root; if (((_local1) && (!((_local1 is Stage))))){ _systemManager = (_local1 as ISystemManager); } else { if (_local1){ _systemManager = (Stage(_local1).getChildAt(0) as ISystemManager); } else { _local2 = parent; while (_local2) { _local3 = (_local2 as IUIComponent); if (_local3){ _systemManager = _local3.systemManager; break; }; _local2 = _local2.parent; }; }; }; _systemManagerDirty = false; }; return (_systemManager); } private function isBaseState(_arg1:String):Boolean{ return (((!(_arg1)) || ((_arg1 == "")))); } public function set enabled(_arg1:Boolean):void{ _enabled = _arg1; cachedTextFormat = null; invalidateDisplayList(); dispatchEvent(new Event("enabledChanged")); } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } public function get minWidth():Number{ if (!isNaN(explicitMinWidth)){ return (explicitMinWidth); }; return (measuredMinWidth); } private function setFocusLater(_arg1:Event=null):void{ var _local2:ISystemManager = systemManager; if (((_local2) && (_local2.stage))){ _local2.stage.removeEventListener(Event.ENTER_FRAME, setFocusLater); if (UIComponentGlobals.nextFocusObject){ _local2.stage.focus = UIComponentGlobals.nextFocusObject; }; UIComponentGlobals.nextFocusObject = null; }; } public function get currentState():String{ return ((_currentStateChanged) ? requestedCurrentState : _currentState); } public function initializeRepeaterArrays(_arg1:IRepeaterClient):void{ if (((((((_arg1) && (_arg1.instanceIndices))) && (!(_instanceIndices)))) && (!(_arg1.isDocument)))){ _instanceIndices = _arg1.instanceIndices; _repeaters = _arg1.repeaters; _repeaterIndices = _arg1.repeaterIndices; }; } public function get baselinePosition():Number{ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ return (NaN); }; if (!validateBaselinePosition()){ return (NaN); }; var _local1:TextLineMetrics = measureText("Wj"); if (height < ((2 + _local1.ascent) + 2)){ return (int((height + ((_local1.ascent - height) / 2)))); }; return ((2 + _local1.ascent)); } public function get measuredWidth():Number{ return (_measuredWidth); } public function set instanceIndices(_arg1:Array):void{ _instanceIndices = _arg1; } public function set cachePolicy(_arg1:String):void{ if (_cachePolicy != _arg1){ _cachePolicy = _arg1; if (_arg1 == UIComponentCachePolicy.OFF){ cacheAsBitmap = false; } else { if (_arg1 == UIComponentCachePolicy.ON){ cacheAsBitmap = true; } else { cacheAsBitmap = (cacheAsBitmapCount > 0); }; }; }; } public function get automationValue():Array{ if (automationDelegate){ return (automationDelegate.automationValue); }; return ([]); } private function addedHandler(_arg1:Event):void{ if (_arg1.eventPhase != EventPhase.AT_TARGET){ return; }; if ((((parent is IContainer)) && (IContainer(parent).creatingContentPane))){ _arg1.stopImmediatePropagation(); return; }; } public function parentChanged(_arg1:DisplayObjectContainer):void{ if (!_arg1){ _parent = null; _nestLevel = 0; } else { if ((_arg1 is IStyleClient)){ _parent = _arg1; } else { if ((_arg1 is ISystemManager)){ _parent = _arg1; } else { _parent = _arg1.parent; }; }; }; } public function get owner():DisplayObjectContainer{ return ((_owner) ? _owner : parent); } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } override public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ var _local3:DisplayObjectContainer = _arg1.parent; if (((_local3) && (!((_local3 is Loader))))){ _local3.removeChild(_arg1); }; if (((overlayReferenceCount) && (!((_arg1 == overlay))))){ _arg2 = Math.min(_arg2, Math.max(0, (super.numChildren - 1))); }; addingChild(_arg1); $addChildAt(_arg1, _arg2); childAdded(_arg1); return (_arg1); } public function get maxWidth():Number{ return ((isNaN(explicitMaxWidth)) ? DEFAULT_MAX_WIDTH : explicitMaxWidth); } override public function set alpha(_arg1:Number):void{ super.alpha = _arg1; dispatchEvent(new Event("alphaChanged")); } private function removedHandler(_arg1:Event):void{ if (_arg1.eventPhase != EventPhase.AT_TARGET){ return; }; if ((((parent is IContainer)) && (IContainer(parent).creatingContentPane))){ _arg1.stopImmediatePropagation(); return; }; _systemManagerDirty = true; } public function callLater(_arg1:Function, _arg2:Array=null):void{ methodQueue.push(new MethodQueueElement(_arg1, _arg2)); var _local3:ISystemManager = systemManager; if (((_local3) && (_local3.stage))){ if (!listeningForRender){ _local3.stage.addEventListener(Event.RENDER, callLaterDispatcher); _local3.stage.addEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = true; }; _local3.stage.invalidate(); }; } public function get initialized():Boolean{ return (_initialized); } private function callLaterDispatcher2(_arg1:Event):void{ var _local6:MethodQueueElement; if (UIComponentGlobals.callLaterSuspendCount > 0){ return; }; var _local2:ISystemManager = systemManager; if (((((_local2) && (_local2.stage))) && (listeningForRender))){ _local2.stage.removeEventListener(Event.RENDER, callLaterDispatcher); _local2.stage.removeEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = false; }; var _local3:Array = methodQueue; methodQueue = []; var _local4:int = _local3.length; var _local5:int; while (_local5 < _local4) { _local6 = MethodQueueElement(_local3[_local5]); _local6.method.apply(null, _local6.args); _local5++; }; } public function measureHTMLText(_arg1:String):TextLineMetrics{ return (determineTextFormatFromStyles().measureHTMLText(_arg1)); } public function set descriptor(_arg1:UIComponentDescriptor):void{ _descriptor = _arg1; } private function getState(_arg1:String):State{ if (((!(states)) || (isBaseState(_arg1)))){ return (null); }; var _local2:int; while (_local2 < states.length) { if (states[_local2].name == _arg1){ return (states[_local2]); }; _local2++; }; var _local3:String = resourceManager.getString("core", "stateUndefined", [_arg1]); throw (new ArgumentError(_local3)); } public function validateProperties():void{ if (invalidatePropertiesFlag){ commitProperties(); invalidatePropertiesFlag = false; }; } mx_internal function get documentDescriptor():UIComponentDescriptor{ return (_documentDescriptor); } public function set includeInLayout(_arg1:Boolean):void{ var _local2:IInvalidating; if (_includeInLayout != _arg1){ _includeInLayout = _arg1; _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("includeInLayoutChanged")); }; } public function getClassStyleDeclarations():Array{ var myApplicationDomain:ApplicationDomain; var cache:Array; var myRoot:DisplayObject; var s:CSSStyleDeclaration; var factory:IFlexModuleFactory = ModuleManager.getAssociatedFactory(this); if (factory != null){ myApplicationDomain = ApplicationDomain(factory.info()["currentDomain"]); } else { myRoot = SystemManager.getSWFRoot(this); if (!myRoot){ return ([]); }; myApplicationDomain = myRoot.loaderInfo.applicationDomain; }; var className:String = getQualifiedClassName(this); className = className.replace("::", "."); cache = StyleManager.typeSelectorCache[className]; if (cache){ return (cache); }; var decls:Array = []; var classNames:Array = []; var caches:Array = []; var declcache:Array = []; while (((((!((className == null))) && (!((className == "mx.core.UIComponent"))))) && (!((className == "mx.core.UITextField"))))) { cache = StyleManager.typeSelectorCache[className]; if (cache){ decls = decls.concat(cache); break; }; s = StyleManager.getStyleDeclaration(className); if (s){ decls.unshift(s); classNames.push(className); caches.push(classNames); declcache.push(decls); decls = []; classNames = []; } else { classNames.push(className); }; try { className = getQualifiedSuperclassName(myApplicationDomain.getDefinition(className)); className = className.replace("::", "."); } catch(e:ReferenceError) { className = null; }; }; caches.push(classNames); declcache.push(decls); decls = []; while (caches.length) { classNames = caches.pop(); decls = decls.concat(declcache.pop()); while (classNames.length) { StyleManager.typeSelectorCache[classNames.pop()] = decls; }; }; return (decls); } public function set measuredMinWidth(_arg1:Number):void{ _measuredMinWidth = _arg1; } private function initializeState(_arg1:String):void{ var _local2:State = getState(_arg1); while (_local2) { _local2.initialize(); _local2 = getState(_local2.basedOn); }; } mx_internal function initProtoChain():void{ var _local1:CSSStyleDeclaration; var _local7:Object; var _local8:CSSStyleDeclaration; if (styleName){ if ((styleName is CSSStyleDeclaration)){ _local1 = CSSStyleDeclaration(styleName); } else { if ((((styleName is IFlexDisplayObject)) || ((styleName is IStyleClient)))){ StyleProtoChain.initProtoChainForUIComponentStyleName(this); return; }; if ((styleName is String)){ _local1 = StyleManager.getStyleDeclaration(("." + styleName)); }; }; }; var _local2:Object = StyleManager.stylesRoot; if (((_local2) && (_local2.effects))){ registerEffects(_local2.effects); }; var _local3:IStyleClient = (parent as IStyleClient); if (_local3){ _local7 = _local3.inheritingStyles; if (_local7 == UIComponent.STYLE_UNINITIALIZED){ _local7 = _local2; }; } else { if (isPopUp){ if ((((((FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)) && (_owner))) && ((_owner is IStyleClient)))){ _local7 = IStyleClient(_owner).inheritingStyles; } else { _local7 = ApplicationGlobals.application.inheritingStyles; }; } else { _local7 = StyleManager.stylesRoot; }; }; var _local4:Array = getClassStyleDeclarations(); var _local5:int = _local4.length; var _local6:int; while (_local6 < _local5) { _local8 = _local4[_local6]; _local7 = _local8.addStyleToProtoChain(_local7, this); _local2 = _local8.addStyleToProtoChain(_local2, this); if (_local8.effects){ registerEffects(_local8.effects); }; _local6++; }; if (_local1){ _local7 = _local1.addStyleToProtoChain(_local7, this); _local2 = _local1.addStyleToProtoChain(_local2, this); if (_local1.effects){ registerEffects(_local1.effects); }; }; inheritingStyles = (_styleDeclaration) ? _styleDeclaration.addStyleToProtoChain(_local7, this) : _local7; nonInheritingStyles = (_styleDeclaration) ? _styleDeclaration.addStyleToProtoChain(_local2, this) : _local2; } public function get repeaterIndices():Array{ return ((_repeaterIndices) ? _repeaterIndices.slice() : []); } override public function removeChild(_arg1:DisplayObject):DisplayObject{ removingChild(_arg1); $removeChild(_arg1); childRemoved(_arg1); return (_arg1); } private function focusObj_moveHandler(_arg1:MoveEvent):void{ adjustFocusRect(); } public function get styleDeclaration():CSSStyleDeclaration{ return (_styleDeclaration); } override public function get doubleClickEnabled():Boolean{ return (super.doubleClickEnabled); } public function contentToLocal(_arg1:Point):Point{ return (_arg1); } private function creationCompleteHandler(_arg1:FlexEvent):void{ if (_currentStateChanged){ _currentStateChanged = false; commitCurrentState(); validateNow(); }; removeEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); } public function set measuredHeight(_arg1:Number):void{ _measuredHeight = _arg1; } protected function createChildren():void{ } public function get activeEffects():Array{ return (_effectsStarted); } override public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ if (((overlayReferenceCount) && (!((_arg1 == overlay))))){ _arg2 = Math.min(_arg2, Math.max(0, (super.numChildren - 2))); }; super.setChildIndex(_arg1, _arg2); } public function regenerateStyleCache(_arg1:Boolean):void{ var _local5:DisplayObject; initProtoChain(); var _local2:IChildList = ((this is IRawChildrenContainer)) ? IRawChildrenContainer(this).rawChildren : IChildList(this); var _local3:int = _local2.numChildren; var _local4:int; while (_local4 < _local3) { _local5 = _local2.getChildAt(_local4); if ((_local5 is IStyleClient)){ if (IStyleClient(_local5).inheritingStyles != UIComponent.STYLE_UNINITIALIZED){ IStyleClient(_local5).regenerateStyleCache(_arg1); }; } else { if ((_local5 is IUITextField)){ if (IUITextField(_local5).inheritingStyles){ StyleProtoChain.initTextField(IUITextField(_local5)); }; }; }; _local4++; }; } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus(DisplayObject(_arg1.target))){ drawFocus(false); }; } public function getFocus():InteractiveObject{ var _local1:ISystemManager = systemManager; if (!_local1){ return (null); }; if (UIComponentGlobals.nextFocusObject){ return (UIComponentGlobals.nextFocusObject); }; return (_local1.stage.focus); } public function endEffectsStarted():void{ var _local1:int = _effectsStarted.length; var _local2:int; while (_local2 < _local1) { _effectsStarted[_local2].end(); _local2++; }; } protected function get unscaledHeight():Number{ return ((height / Math.abs(scaleY))); } public function get enabled():Boolean{ return (_enabled); } public function get focusEnabled():Boolean{ return (_focusEnabled); } override public function set cacheAsBitmap(_arg1:Boolean):void{ super.cacheAsBitmap = _arg1; cacheAsBitmapCount = (_arg1) ? 1 : 0; } mx_internal function removeOverlay():void{ if ((((((overlayReferenceCount > 0)) && ((--overlayReferenceCount == 0)))) && (overlay))){ removeEventListener("resize", overlay_resizeHandler); if (super.getChildByName("overlay")){ $removeChild(overlay); }; overlay = null; }; } public function set cacheHeuristic(_arg1:Boolean):void{ if (_cachePolicy == UIComponentCachePolicy.AUTO){ if (_arg1){ cacheAsBitmapCount++; } else { if (cacheAsBitmapCount != 0){ cacheAsBitmapCount--; }; }; super.cacheAsBitmap = !((cacheAsBitmapCount == 0)); }; } public function get cachePolicy():String{ return (_cachePolicy); } public function set maxHeight(_arg1:Number):void{ if (explicitMaxHeight == _arg1){ return; }; explicitMaxHeight = _arg1; } public function getConstraintValue(_arg1:String){ return (getStyle(_arg1)); } public function set focusManager(_arg1:IFocusManager):void{ _focusManager = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, undefined); } public function get descriptor():UIComponentDescriptor{ return (_descriptor); } public function set nonInheritingStyles(_arg1:Object):void{ _nonInheritingStyles = _arg1; } public function get cursorManager():ICursorManager{ var _local2:ICursorManager; var _local1:DisplayObject = parent; while (_local1) { if ((((_local1 is IUIComponent)) && (("cursorManager" in _local1)))){ _local2 = _local1["cursorManager"]; return (_local2); }; _local1 = _local1.parent; }; return (CursorManager.getInstance()); } public function set automationDelegate(_arg1:Object):void{ _automationDelegate = (_arg1 as IAutomationObject); } public function get measuredMinWidth():Number{ return (_measuredMinWidth); } public function createReferenceOnParentDocument(_arg1:IFlexDisplayObject):void{ var _local2:Array; var _local3:Object; var _local4:int; var _local5:int; var _local6:PropertyChangeEvent; var _local7:Object; if (((id) && (!((id == ""))))){ _local2 = _instanceIndices; if (!_local2){ _arg1[id] = this; } else { _local3 = _arg1[id]; if (!(_local3 is Array)){ _local3 = (_arg1[id] = []); }; _local4 = _local2.length; _local5 = 0; while (_local5 < (_local4 - 1)) { _local7 = _local3[_local2[_local5]]; if (!(_local7 is Array)){ _local7 = (_local3[_local2[_local5]] = []); }; _local3 = _local7; _local5++; }; _local3[_local2[(_local4 - 1)]] = this; _local6 = PropertyChangeEvent.createUpdateEvent(_arg1, id, _arg1[id], _arg1[id]); _arg1.dispatchEvent(_local6); }; }; } public function get repeater():IRepeater{ return ((_repeaters) ? _repeaters[(_repeaters.length - 1)] : null); } public function set isPopUp(_arg1:Boolean):void{ _isPopUp = _arg1; } public function get measuredHeight():Number{ return (_measuredHeight); } public function initialize():void{ if (initialized){ return; }; dispatchEvent(new FlexEvent(FlexEvent.PREINITIALIZE)); createChildren(); childrenCreated(); initializeAccessibility(); initializationComplete(); } override public function set width(_arg1:Number):void{ var _local2:IInvalidating; if (explicitWidth != _arg1){ explicitWidth = _arg1; invalidateSize(); }; if (_width != _arg1){ invalidateProperties(); invalidateDisplayList(); _local2 = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; _width = _arg1; dispatchEvent(new Event("widthChanged")); }; } public function set percentHeight(_arg1:Number):void{ if (_percentHeight == _arg1){ return; }; if (!isNaN(_arg1)){ _explicitHeight = NaN; }; _percentHeight = _arg1; var _local2:IInvalidating = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; } final mx_internal function set $visible(_arg1:Boolean):void{ super.visible = _arg1; } private function findCommonBaseState(_arg1:String, _arg2:String):String{ var _local3:State = getState(_arg1); var _local4:State = getState(_arg2); if (((!(_local3)) || (!(_local4)))){ return (""); }; if (((isBaseState(_local3.basedOn)) && (isBaseState(_local4.basedOn)))){ return (""); }; var _local5:Array = getBaseStates(_local3); var _local6:Array = getBaseStates(_local4); var _local7 = ""; while (_local5[(_local5.length - 1)] == _local6[(_local6.length - 1)]) { _local7 = _local5.pop(); _local6.pop(); if (((!(_local5.length)) || (!(_local6.length)))){ break; }; }; if (((_local5.length) && ((_local5[(_local5.length - 1)] == _local4.name)))){ _local7 = _local4.name; } else { if (((_local6.length) && ((_local6[(_local6.length - 1)] == _local3.name)))){ _local7 = _local3.name; }; }; return (_local7); } mx_internal function childRemoved(_arg1:DisplayObject):void{ if ((_arg1 is IUIComponent)){ if (IUIComponent(_arg1).document != _arg1){ IUIComponent(_arg1).document = null; }; IUIComponent(_arg1).parentChanged(null); }; } final mx_internal function $removeChildAt(_arg1:int):DisplayObject{ return (super.removeChildAt(_arg1)); } public function get maxHeight():Number{ return ((isNaN(explicitMaxHeight)) ? DEFAULT_MAX_HEIGHT : explicitMaxHeight); } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function set explicitMaxHeight(_arg1:Number):void{ if (_explicitMaxHeight == _arg1){ return; }; _explicitMaxHeight = _arg1; invalidateSize(); var _local2:IInvalidating = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMaxHeightChanged")); } public function get focusManager():IFocusManager{ if (_focusManager){ return (_focusManager); }; var _local1:DisplayObject = parent; while (_local1) { if ((_local1 is IFocusManagerContainer)){ return (IFocusManagerContainer(_local1).focusManager); }; _local1 = _local1.parent; }; return (null); } public function set styleName(_arg1:Object):void{ if (_styleName === _arg1){ return; }; _styleName = _arg1; if (inheritingStyles == UIComponent.STYLE_UNINITIALIZED){ return; }; regenerateStyleCache(true); initThemeColor(); styleChanged("styleName"); notifyStyleChangeInChildren("styleName", true); } public function get automationDelegate():Object{ return (_automationDelegate); } protected function get resourceManager():IResourceManager{ return (_resourceManager); } mx_internal function validateBaselinePosition():Boolean{ var _local1:Number; var _local2:Number; if (!parent){ return (false); }; if ((((width == 0)) && ((height == 0)))){ validateNow(); _local1 = getExplicitOrMeasuredWidth(); _local2 = getExplicitOrMeasuredHeight(); setActualSize(_local1, _local2); }; validateNow(); return (true); } mx_internal function cancelAllCallLaters():void{ var _local1:ISystemManager = systemManager; if (((_local1) && (_local1.stage))){ if (listeningForRender){ _local1.stage.removeEventListener(Event.RENDER, callLaterDispatcher); _local1.stage.removeEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = false; }; }; methodQueue.splice(0); } private function updateCompleteHandler(_arg1:FlexEvent):void{ UIComponentGlobals.layoutManager.removeEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler); processEffectFinished(_endingEffectInstances); _endingEffectInstances = []; } public function styleChanged(_arg1:String):void{ if ((((this is IFontContextComponent)) && (hasFontContextChanged()))){ invalidateProperties(); }; if (((((!(_arg1)) || ((_arg1 == "styleName")))) || (StyleManager.isSizeInvalidatingStyle(_arg1)))){ invalidateSize(); }; if (((((!(_arg1)) || ((_arg1 == "styleName")))) || ((_arg1 == "themeColor")))){ initThemeColor(); }; invalidateDisplayList(); if ((parent is IInvalidating)){ if (StyleManager.isParentSizeInvalidatingStyle(_arg1)){ IInvalidating(parent).invalidateSize(); }; if (StyleManager.isParentDisplayListInvalidatingStyle(_arg1)){ IInvalidating(parent).invalidateDisplayList(); }; }; } final mx_internal function get $visible():Boolean{ return (super.visible); } public function drawRoundRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Object=null, _arg9:String=null, _arg10:Array=null, _arg11:Object=null):void{ var _local13:Number; var _local14:Array; var _local15:Matrix; var _local16:Object; var _local12:Graphics = graphics; if (((!(_arg3)) || (!(_arg4)))){ return; }; if (_arg6 !== null){ if ((_arg6 is Array)){ if ((_arg7 is Array)){ _local14 = (_arg7 as Array); } else { _local14 = [_arg7, _arg7]; }; if (!_arg10){ _arg10 = [0, 0xFF]; }; _local15 = null; if (_arg8){ if ((_arg8 is Matrix)){ _local15 = Matrix(_arg8); } else { _local15 = new Matrix(); if ((_arg8 is Number)){ _local15.createGradientBox(_arg3, _arg4, ((Number(_arg8) * Math.PI) / 180), _arg1, _arg2); } else { _local15.createGradientBox(_arg8.w, _arg8.h, _arg8.r, _arg8.x, _arg8.y); }; }; }; if (_arg9 == GradientType.RADIAL){ _local12.beginGradientFill(GradientType.RADIAL, (_arg6 as Array), _local14, _arg10, _local15); } else { _local12.beginGradientFill(GradientType.LINEAR, (_arg6 as Array), _local14, _arg10, _local15); }; } else { _local12.beginFill(Number(_arg6), Number(_arg7)); }; }; if (!_arg5){ _local12.drawRect(_arg1, _arg2, _arg3, _arg4); } else { if ((_arg5 is Number)){ _local13 = (Number(_arg5) * 2); _local12.drawRoundRect(_arg1, _arg2, _arg3, _arg4, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg1, _arg2, _arg3, _arg4, _arg5.tl, _arg5.tr, _arg5.bl, _arg5.br); }; }; if (_arg11){ _local16 = _arg11.r; if ((_local16 is Number)){ _local13 = (Number(_local16) * 2); _local12.drawRoundRect(_arg11.x, _arg11.y, _arg11.w, _arg11.h, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg11.x, _arg11.y, _arg11.w, _arg11.h, _local16.tl, _local16.tr, _local16.bl, _local16.br); }; }; if (_arg6 !== null){ _local12.endFill(); }; } public function move(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; if (_arg1 != super.x){ super.x = _arg1; dispatchEvent(new Event("xChanged")); _local3 = true; }; if (_arg2 != super.y){ super.y = _arg2; dispatchEvent(new Event("yChanged")); _local3 = true; }; if (_local3){ dispatchMoveEvent(); }; } public function set toolTip(_arg1:String):void{ var _local2:String = _toolTip; _toolTip = _arg1; ToolTipManager.registerToolTip(this, _local2, _arg1); dispatchEvent(new Event("toolTipChanged")); } public function set repeaters(_arg1:Array):void{ _repeaters = _arg1; } public function get explicitMaxHeight():Number{ return (_explicitMaxHeight); } public function measureText(_arg1:String):TextLineMetrics{ return (determineTextFormatFromStyles().measureText(_arg1)); } public function get styleName():Object{ return (_styleName); } protected function createInModuleContext(_arg1:IFlexModuleFactory, _arg2:String):Object{ var _local3:Object; if (_arg1){ _local3 = _arg1.create(_arg2); }; return (_local3); } public function get parentDocument():Object{ var _local1:IUIComponent; var _local2:ISystemManager; if (document == this){ _local1 = (parent as IUIComponent); if (_local1){ return (_local1.document); }; _local2 = (parent as ISystemManager); if (_local2){ return (_local2.document); }; return (null); //unresolved jump }; return (document); } protected function childrenCreated():void{ invalidateProperties(); invalidateSize(); invalidateDisplayList(); } public function set flexContextMenu(_arg1:IFlexContextMenu):void{ if (_flexContextMenu){ _flexContextMenu.unsetContextMenu(this); }; _flexContextMenu = _arg1; if (_arg1 != null){ _flexContextMenu.setContextMenu(this); }; } public function set explicitWidth(_arg1:Number):void{ if (_explicitWidth == _arg1){ return; }; if (!isNaN(_arg1)){ _percentWidth = NaN; }; _explicitWidth = _arg1; invalidateSize(); var _local2:IInvalidating = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitWidthChanged")); } private function setBorderColorForErrorString():void{ if (((!(_errorString)) || ((_errorString.length == 0)))){ if (!isNaN(origBorderColor)){ setStyle("borderColor", origBorderColor); saveBorderColor = true; }; } else { if (saveBorderColor){ saveBorderColor = false; origBorderColor = getStyle("borderColor"); }; setStyle("borderColor", getStyle("errorColor")); }; styleChanged("themeColor"); var _local1:IFocusManager = focusManager; var _local2:DisplayObject = (_local1) ? DisplayObject(_local1.getFocus()) : null; if (((((_local1) && (_local1.showFocusIndicator))) && ((_local2 == this)))){ drawFocus(true); }; } public function get explicitWidth():Number{ return (_explicitWidth); } public function invalidateSize():void{ if (!invalidateSizeFlag){ invalidateSizeFlag = true; if (((parent) && (UIComponentGlobals.layoutManager))){ UIComponentGlobals.layoutManager.invalidateSize(this); }; }; } public function set measuredMinHeight(_arg1:Number):void{ _measuredMinHeight = _arg1; } protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ } override public function set filters(_arg1:Array):void{ var _local2:int; var _local3:int; var _local4:IEventDispatcher; if (_filters){ _local2 = _filters.length; _local3 = 0; while (_local3 < _local2) { _local4 = (_filters[_local3] as IEventDispatcher); if (_local4){ _local4.removeEventListener("change", filterChangeHandler); }; _local3++; }; }; _filters = _arg1; if (_filters){ _local2 = _filters.length; _local3 = 0; while (_local3 < _local2) { _local4 = (_filters[_local3] as IEventDispatcher); if (_local4){ _local4.addEventListener("change", filterChangeHandler); }; _local3++; }; }; super.filters = _filters; } private static function get embeddedFontRegistry():IEmbeddedFontRegistry{ if (!_embeddedFontRegistry){ _embeddedFontRegistry = IEmbeddedFontRegistry(Singleton.getInstance("mx.core::IEmbeddedFontRegistry")); }; return (_embeddedFontRegistry); } public static function resumeBackgroundProcessing():void{ var _local1:ISystemManager; if (UIComponentGlobals.callLaterSuspendCount > 0){ UIComponentGlobals.callLaterSuspendCount--; if (UIComponentGlobals.callLaterSuspendCount == 0){ _local1 = SystemManagerGlobals.topLevelSystemManagers[0]; if (((_local1) && (_local1.stage))){ _local1.stage.invalidate(); }; }; }; } public static function suspendBackgroundProcessing():void{ UIComponentGlobals.callLaterSuspendCount++; } } }//package mx.core class MethodQueueElement { public var method:Function; public var args:Array; private function MethodQueueElement(_arg1:Function, _arg2:Array=null){ this.method = _arg1; this.args = _arg2; } }
Section 514
//UIComponentCachePolicy (mx.core.UIComponentCachePolicy) package mx.core { public final class UIComponentCachePolicy { public static const AUTO:String = "auto"; public static const ON:String = "on"; mx_internal static const VERSION:String = "3.0.0.0"; public static const OFF:String = "off"; } }//package mx.core
Section 515
//UIComponentDescriptor (mx.core.UIComponentDescriptor) package mx.core { public class UIComponentDescriptor extends ComponentDescriptor { mx_internal var instanceIndices:Array; public var stylesFactory:Function; public var effects:Array; mx_internal var repeaters:Array; mx_internal var repeaterIndices:Array; mx_internal static const VERSION:String = "3.0.0.0"; public function UIComponentDescriptor(_arg1:Object){ super(_arg1); } override public function toString():String{ return (("UIComponentDescriptor_" + id)); } } }//package mx.core
Section 516
//UIComponentGlobals (mx.core.UIComponentGlobals) package mx.core { import flash.display.*; import flash.geom.*; import mx.managers.*; public class UIComponentGlobals { mx_internal static var callLaterSuspendCount:int = 0; mx_internal static var layoutManager:ILayoutManager; mx_internal static var nextFocusObject:InteractiveObject; mx_internal static var designTime:Boolean = false; mx_internal static var tempMatrix:Matrix = new Matrix(); mx_internal static var callLaterDispatcherCount:int = 0; private static var _catchCallLaterExceptions:Boolean = false; public static function set catchCallLaterExceptions(_arg1:Boolean):void{ _catchCallLaterExceptions = _arg1; } public static function get designMode():Boolean{ return (designTime); } public static function set designMode(_arg1:Boolean):void{ designTime = _arg1; } public static function get catchCallLaterExceptions():Boolean{ return (_catchCallLaterExceptions); } } }//package mx.core
Section 517
//UITextField (mx.core.UITextField) package mx.core { import flash.display.*; import flash.text.*; import mx.managers.*; import mx.automation.*; import flash.events.*; import mx.resources.*; import mx.styles.*; import mx.utils.*; import flash.utils.*; public class UITextField extends FlexTextField implements IAutomationObject, IIMESupport, IFlexModule, IInvalidating, ISimpleStyleClient, IToolTipManagerClient, IUITextField { private var _enabled:Boolean;// = true private var untruncatedText:String; private var cachedEmbeddedFont:EmbeddedFont;// = null private var cachedTextFormat:TextFormat; private var _automationDelegate:IAutomationObject; private var _automationName:String; private var _styleName:Object; private var _document:Object; mx_internal var _toolTip:String; private var _nestLevel:int;// = 0 private var _explicitHeight:Number; private var _moduleFactory:IFlexModuleFactory; private var _initialized:Boolean;// = false private var _nonInheritingStyles:Object; private var _inheritingStyles:Object; private var _includeInLayout:Boolean;// = true private var invalidateDisplayListFlag:Boolean;// = true mx_internal var explicitColor:uint;// = 4294967295 private var _processedDescriptors:Boolean;// = true private var _updateCompletePendingFlag:Boolean;// = false private var explicitHTMLText:String;// = null mx_internal var _parent:DisplayObjectContainer; private var _imeMode:String;// = null private var resourceManager:IResourceManager; mx_internal var styleChangedFlag:Boolean;// = true private var _ignorePadding:Boolean;// = true private var _owner:DisplayObjectContainer; private var _explicitWidth:Number; mx_internal static const TEXT_WIDTH_PADDING:int = 5; mx_internal static const TEXT_HEIGHT_PADDING:int = 4; mx_internal static const VERSION:String = "3.0.0.0"; private static var truncationIndicatorResource:String; private static var _embeddedFontRegistry:IEmbeddedFontRegistry; mx_internal static var debuggingBorders:Boolean = false; public function UITextField(){ resourceManager = ResourceManager.getInstance(); _inheritingStyles = UIComponent.STYLE_UNINITIALIZED; _nonInheritingStyles = UIComponent.STYLE_UNINITIALIZED; super(); super.text = ""; focusRect = false; selectable = false; tabEnabled = false; if (debuggingBorders){ border = true; }; if (!truncationIndicatorResource){ truncationIndicatorResource = resourceManager.getString("core", "truncationIndicator"); }; addEventListener(Event.CHANGE, changeHandler); addEventListener("textFieldStyleChange", textFieldStyleChangeHandler); resourceManager.addEventListener(Event.CHANGE, resourceManager_changeHandler, false, 0, true); } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } public function get nestLevel():int{ return (_nestLevel); } private function textFieldStyleChangeHandler(_arg1:Event):void{ if (explicitHTMLText != null){ super.htmlText = explicitHTMLText; }; } public function truncateToFit(_arg1:String=null):Boolean{ var _local4:String; if (!_arg1){ _arg1 = truncationIndicatorResource; }; validateNow(); var _local2:String = super.text; untruncatedText = _local2; var _local3:Number = width; if (((!((_local2 == ""))) && (((textWidth + TEXT_WIDTH_PADDING) > (_local3 + 1E-14))))){ var _local5 = _local2; super.text = _local5; _local4 = _local5; _local2.slice(0, Math.floor(((_local3 / (textWidth + TEXT_WIDTH_PADDING)) * _local2.length))); while ((((_local4.length > 1)) && (((textWidth + TEXT_WIDTH_PADDING) > _local3)))) { _local4 = _local4.slice(0, -1); super.text = (_local4 + _arg1); }; return (true); }; return (false); } public function set nestLevel(_arg1:int):void{ if ((((_arg1 > 1)) && (!((_nestLevel == _arg1))))){ _nestLevel = _arg1; StyleProtoChain.initTextField(this); styleChangedFlag = true; validateNow(); }; } public function get minHeight():Number{ return (0); } public function getExplicitOrMeasuredHeight():Number{ return ((isNaN(explicitHeight)) ? measuredHeight : explicitHeight); } public function getStyle(_arg1:String){ if (StyleManager.inheritingStyles[_arg1]){ return ((inheritingStyles) ? inheritingStyles[_arg1] : IStyleClient(parent).getStyle(_arg1)); //unresolved jump }; return ((nonInheritingStyles) ? nonInheritingStyles[_arg1] : IStyleClient(parent).getStyle(_arg1)); } public function get className():String{ var _local1:String = getQualifiedClassName(this); var _local2:int = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function setColor(_arg1:uint):void{ explicitColor = _arg1; styleChangedFlag = true; invalidateDisplayListFlag = true; validateNow(); } override public function replaceText(_arg1:int, _arg2:int, _arg3:String):void{ super.replaceText(_arg1, _arg2, _arg3); dispatchEvent(new Event("textReplace")); } private function creatingSystemManager():ISystemManager{ return ((((!((moduleFactory == null))) && ((moduleFactory is ISystemManager)))) ? ISystemManager(moduleFactory) : systemManager); } public function set document(_arg1:Object):void{ _document = _arg1; } public function get automationName():String{ if (_automationName){ return (_automationName); }; if (automationDelegate){ return (automationDelegate.automationName); }; return (""); } public function get explicitMinHeight():Number{ return (NaN); } public function get focusPane():Sprite{ return (null); } public function getTextStyles():TextFormat{ var _local1:TextFormat = new TextFormat(); _local1.align = getStyle("textAlign"); _local1.bold = (getStyle("fontWeight") == "bold"); if (enabled){ if (explicitColor == StyleManager.NOT_A_COLOR){ _local1.color = getStyle("color"); } else { _local1.color = explicitColor; }; } else { _local1.color = getStyle("disabledColor"); }; _local1.font = StringUtil.trimArrayElements(getStyle("fontFamily"), ","); _local1.indent = getStyle("textIndent"); _local1.italic = (getStyle("fontStyle") == "italic"); _local1.kerning = getStyle("kerning"); _local1.leading = getStyle("leading"); _local1.leftMargin = (ignorePadding) ? 0 : getStyle("paddingLeft"); _local1.letterSpacing = getStyle("letterSpacing"); _local1.rightMargin = (ignorePadding) ? 0 : getStyle("paddingRight"); _local1.size = getStyle("fontSize"); _local1.underline = (getStyle("textDecoration") == "underline"); cachedTextFormat = _local1; return (_local1); } override public function set text(_arg1:String):void{ if (!_arg1){ _arg1 = ""; }; if (((!(isHTML)) && ((super.text == _arg1)))){ return; }; super.text = _arg1; explicitHTMLText = null; if (invalidateDisplayListFlag){ validateNow(); }; } public function getExplicitOrMeasuredWidth():Number{ return ((isNaN(explicitWidth)) ? measuredWidth : explicitWidth); } public function get showInAutomationHierarchy():Boolean{ return (true); } public function set automationName(_arg1:String):void{ _automationName = _arg1; } public function get systemManager():ISystemManager{ var _local2:IUIComponent; var _local1:DisplayObject = parent; while (_local1) { _local2 = (_local1 as IUIComponent); if (_local2){ return (_local2.systemManager); }; _local1 = _local1.parent; }; return (null); } public function setStyle(_arg1:String, _arg2):void{ } public function get percentWidth():Number{ return (NaN); } public function get explicitHeight():Number{ return (_explicitHeight); } public function get baselinePosition():Number{ var _local1:TextLineMetrics; if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _local1 = getLineMetrics(0); return (((height - 4) - _local1.descent)); }; if (!parent){ return (NaN); }; var _local2 = (text == ""); if (_local2){ super.text = "Wj"; }; _local1 = getLineMetrics(0); if (_local2){ super.text = ""; }; return ((2 + _local1.ascent)); } public function set enabled(_arg1:Boolean):void{ mouseEnabled = _arg1; _enabled = _arg1; styleChanged("color"); } public function get minWidth():Number{ return (0); } public function get automationValue():Array{ if (automationDelegate){ return (automationDelegate.automationValue); }; return ([""]); } public function get tweeningProperties():Array{ return (null); } public function get measuredWidth():Number{ validateNow(); if (!stage){ return ((textWidth + TEXT_WIDTH_PADDING)); }; return (((textWidth * transform.concatenatedMatrix.d) + TEXT_WIDTH_PADDING)); } public function set tweeningProperties(_arg1:Array):void{ } public function createAutomationIDPart(_arg1:IAutomationObject):Object{ return (null); } override public function get parent():DisplayObjectContainer{ return ((_parent) ? _parent : super.parent); } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } public function setActualSize(_arg1:Number, _arg2:Number):void{ if (width != _arg1){ width = _arg1; }; if (height != _arg2){ height = _arg2; }; } public function get numAutomationChildren():int{ return (0); } public function set focusPane(_arg1:Sprite):void{ } public function getAutomationChildAt(_arg1:int):IAutomationObject{ return (null); } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function get owner():DisplayObjectContainer{ return ((_owner) ? _owner : parent); } public function parentChanged(_arg1:DisplayObjectContainer):void{ if (!_arg1){ _parent = null; _nestLevel = 0; } else { if ((_arg1 is IStyleClient)){ _parent = _arg1; } else { if ((_arg1 is SystemManager)){ _parent = _arg1; } else { _parent = _arg1.parent; }; }; }; } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } public function get maxWidth():Number{ return (UIComponent.DEFAULT_MAX_WIDTH); } private function getEmbeddedFont(_arg1:String, _arg2:Boolean, _arg3:Boolean):EmbeddedFont{ if (cachedEmbeddedFont){ if ((((cachedEmbeddedFont.fontName == _arg1)) && ((cachedEmbeddedFont.fontStyle == EmbeddedFontRegistry.getFontStyle(_arg2, _arg3))))){ return (cachedEmbeddedFont); }; }; cachedEmbeddedFont = new EmbeddedFont(_arg1, _arg2, _arg3); return (cachedEmbeddedFont); } public function get initialized():Boolean{ return (_initialized); } public function invalidateDisplayList():void{ invalidateDisplayListFlag = true; } public function invalidateProperties():void{ } override public function insertXMLText(_arg1:int, _arg2:int, _arg3:String, _arg4:Boolean=false):void{ super.insertXMLText(_arg1, _arg2, _arg3, _arg4); dispatchEvent(new Event("textInsert")); } public function set includeInLayout(_arg1:Boolean):void{ var _local2:IInvalidating; if (_includeInLayout != _arg1){ _includeInLayout = _arg1; _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; }; } override public function set htmlText(_arg1:String):void{ if (!_arg1){ _arg1 = ""; }; if (((isHTML) && ((super.htmlText == _arg1)))){ return; }; if (((cachedTextFormat) && ((styleSheet == null)))){ defaultTextFormat = cachedTextFormat; }; super.htmlText = _arg1; explicitHTMLText = _arg1; if (invalidateDisplayListFlag){ validateNow(); }; } public function set showInAutomationHierarchy(_arg1:Boolean):void{ } private function resourceManager_changeHandler(_arg1:Event):void{ truncationIndicatorResource = resourceManager.getString("core", "truncationIndicator"); if (untruncatedText != null){ super.text = untruncatedText; truncateToFit(); }; } public function set measuredMinWidth(_arg1:Number):void{ } public function set explicitHeight(_arg1:Number):void{ _explicitHeight = _arg1; } public function get explicitMinWidth():Number{ return (NaN); } public function set percentWidth(_arg1:Number):void{ } public function get imeMode():String{ return (_imeMode); } public function get moduleFactory():IFlexModuleFactory{ return (_moduleFactory); } public function set systemManager(_arg1:ISystemManager):void{ } public function get explicitMaxWidth():Number{ return (NaN); } public function get document():Object{ return (_document); } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } public function replayAutomatableEvent(_arg1:Event):Boolean{ if (automationDelegate){ return (automationDelegate.replayAutomatableEvent(_arg1)); }; return (false); } public function get enabled():Boolean{ return (_enabled); } public function set owner(_arg1:DisplayObjectContainer):void{ _owner = _arg1; } public function get automationTabularData():Object{ return (null); } public function set nonInheritingStyles(_arg1:Object):void{ _nonInheritingStyles = _arg1; } public function get includeInLayout():Boolean{ return (_includeInLayout); } public function get measuredMinWidth():Number{ return (0); } public function set isPopUp(_arg1:Boolean):void{ } public function set automationDelegate(_arg1:Object):void{ _automationDelegate = (_arg1 as IAutomationObject); } public function get measuredHeight():Number{ validateNow(); if (!stage){ return ((textHeight + TEXT_HEIGHT_PADDING)); }; return (((textHeight * transform.concatenatedMatrix.a) + TEXT_HEIGHT_PADDING)); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; } public function setFocus():void{ systemManager.stage.focus = this; } public function initialize():void{ } public function set percentHeight(_arg1:Number):void{ } public function resolveAutomationIDPart(_arg1:Object):Array{ return ([]); } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function getUITextFormat():UITextFormat{ validateNow(); var _local1:UITextFormat = new UITextFormat(creatingSystemManager()); _local1.moduleFactory = moduleFactory; _local1.copyFrom(getTextFormat()); _local1.antiAliasType = antiAliasType; _local1.gridFitType = gridFitType; _local1.sharpness = sharpness; _local1.thickness = thickness; return (_local1); } private function changeHandler(_arg1:Event):void{ explicitHTMLText = null; } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; } public function get nonZeroTextHeight():Number{ var _local1:Number; if (super.text == ""){ super.text = "Wj"; _local1 = textHeight; super.text = ""; return (_local1); }; return (textHeight); } public function owns(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function setTextFormat(_arg1:TextFormat, _arg2:int=-1, _arg3:int=-1):void{ if (styleSheet){ return; }; super.setTextFormat(_arg1, _arg2, _arg3); dispatchEvent(new Event("textFormatChange")); } public function get nonInheritingStyles():Object{ return (_nonInheritingStyles); } public function setVisible(_arg1:Boolean, _arg2:Boolean=false):void{ this.visible = _arg1; } public function get maxHeight():Number{ return (UIComponent.DEFAULT_MAX_HEIGHT); } public function get automationDelegate():Object{ return (_automationDelegate); } public function get isPopUp():Boolean{ return (false); } public function set ignorePadding(_arg1:Boolean):void{ _ignorePadding = _arg1; styleChanged(null); } public function set styleName(_arg1:Object):void{ if (_styleName === _arg1){ return; }; _styleName = _arg1; if (parent){ StyleProtoChain.initTextField(this); styleChanged("styleName"); }; } public function styleChanged(_arg1:String):void{ styleChangedFlag = true; if (!invalidateDisplayListFlag){ invalidateDisplayListFlag = true; if (("callLater" in parent)){ Object(parent).callLater(validateNow); }; }; } public function get percentHeight():Number{ return (NaN); } private function get isHTML():Boolean{ return (!((explicitHTMLText == null))); } public function get explicitMaxHeight():Number{ return (NaN); } public function get styleName():Object{ return (_styleName); } public function set explicitWidth(_arg1:Number):void{ _explicitWidth = _arg1; } public function validateNow():void{ var _local1:TextFormat; var _local2:EmbeddedFont; var _local3:IFlexModuleFactory; var _local4:ISystemManager; if (!parent){ return; }; if (((!(isNaN(explicitWidth))) && (!((super.width == explicitWidth))))){ super.width = ((explicitWidth)>4) ? explicitWidth : 4; }; if (((!(isNaN(explicitHeight))) && (!((super.height == explicitHeight))))){ super.height = explicitHeight; }; if (styleChangedFlag){ _local1 = getTextStyles(); if (_local1.font){ _local2 = getEmbeddedFont(_local1.font, _local1.bold, _local1.italic); _local3 = embeddedFontRegistry.getAssociatedModuleFactory(_local2, moduleFactory); if (_local3 != null){ embedFonts = true; } else { _local4 = creatingSystemManager(); embedFonts = ((!((_local4 == null))) && (_local4.isFontFaceEmbedded(_local1))); }; } else { embedFonts = getStyle("embedFonts"); }; if (getStyle("fontAntiAliasType") != undefined){ antiAliasType = getStyle("fontAntiAliasType"); gridFitType = getStyle("fontGridFitType"); sharpness = getStyle("fontSharpness"); thickness = getStyle("fontThickness"); }; if (!styleSheet){ super.setTextFormat(_local1); defaultTextFormat = _local1; }; dispatchEvent(new Event("textFieldStyleChange")); }; styleChangedFlag = false; invalidateDisplayListFlag = false; } public function set toolTip(_arg1:String):void{ var _local2:String = _toolTip; _toolTip = _arg1; ToolTipManager.registerToolTip(this, _local2, _arg1); } public function move(_arg1:Number, _arg2:Number):void{ if (this.x != _arg1){ this.x = _arg1; }; if (this.y != _arg2){ this.y = _arg2; }; } public function get toolTip():String{ return (_toolTip); } public function get ignorePadding():Boolean{ return (_ignorePadding); } public function get explicitWidth():Number{ return (_explicitWidth); } public function invalidateSize():void{ invalidateDisplayListFlag = true; } public function set measuredMinHeight(_arg1:Number):void{ } public function get measuredMinHeight():Number{ return (0); } public function set moduleFactory(_arg1:IFlexModuleFactory):void{ _moduleFactory = _arg1; } private static function get embeddedFontRegistry():IEmbeddedFontRegistry{ if (!_embeddedFontRegistry){ _embeddedFontRegistry = IEmbeddedFontRegistry(Singleton.getInstance("mx.core::IEmbeddedFontRegistry")); }; return (_embeddedFontRegistry); } } }//package mx.core
Section 518
//UITextFormat (mx.core.UITextFormat) package mx.core { import flash.text.*; import mx.managers.*; public class UITextFormat extends TextFormat { private var systemManager:ISystemManager; public var sharpness:Number; public var gridFitType:String; public var antiAliasType:String; public var thickness:Number; private var cachedEmbeddedFont:EmbeddedFont;// = null private var _moduleFactory:IFlexModuleFactory; mx_internal static const VERSION:String = "3.0.0.0"; private static var _embeddedFontRegistry:IEmbeddedFontRegistry; private static var _textFieldFactory:ITextFieldFactory; public function UITextFormat(_arg1:ISystemManager, _arg2:String=null, _arg3:Object=null, _arg4:Object=null, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:String=null, _arg9:String=null, _arg10:String=null, _arg11:Object=null, _arg12:Object=null, _arg13:Object=null, _arg14:Object=null){ this.systemManager = _arg1; super(_arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12, _arg13, _arg14); } public function set moduleFactory(_arg1:IFlexModuleFactory):void{ _moduleFactory = _arg1; } mx_internal function copyFrom(_arg1:TextFormat):void{ font = _arg1.font; size = _arg1.size; color = _arg1.color; bold = _arg1.bold; italic = _arg1.italic; underline = _arg1.underline; url = _arg1.url; target = _arg1.target; align = _arg1.align; leftMargin = _arg1.leftMargin; rightMargin = _arg1.rightMargin; indent = _arg1.indent; leading = _arg1.leading; } private function getEmbeddedFont(_arg1:String, _arg2:Boolean, _arg3:Boolean):EmbeddedFont{ if (cachedEmbeddedFont){ if ((((cachedEmbeddedFont.fontName == _arg1)) && ((cachedEmbeddedFont.fontStyle == EmbeddedFontRegistry.getFontStyle(_arg2, _arg3))))){ return (cachedEmbeddedFont); }; }; cachedEmbeddedFont = new EmbeddedFont(_arg1, _arg2, _arg3); return (cachedEmbeddedFont); } public function measureText(_arg1:String, _arg2:Boolean=true):TextLineMetrics{ return (measure(_arg1, false, _arg2)); } private function measure(_arg1:String, _arg2:Boolean, _arg3:Boolean):TextLineMetrics{ if (!_arg1){ _arg1 = ""; }; var _local4:Boolean; var _local5:IFlexModuleFactory = embeddedFontRegistry.getAssociatedModuleFactory(getEmbeddedFont(font, bold, italic), moduleFactory); _local4 = !((_local5 == null)); if (_local5 == null){ _local5 = systemManager; }; var _local6:TextField; _local6 = TextField(textFieldFactory.createTextField(_local5)); if (_arg2){ _local6.htmlText = ""; } else { _local6.text = ""; }; _local6.defaultTextFormat = this; if (font){ _local6.embedFonts = ((_local4) || (((!((systemManager == null))) && (systemManager.isFontFaceEmbedded(this))))); } else { _local6.embedFonts = false; }; _local6.antiAliasType = antiAliasType; _local6.gridFitType = gridFitType; _local6.sharpness = sharpness; _local6.thickness = thickness; if (_arg2){ _local6.htmlText = _arg1; } else { _local6.text = _arg1; }; var _local7:TextLineMetrics = _local6.getLineMetrics(0); if (_arg3){ _local7.width = Math.ceil(_local7.width); _local7.height = Math.ceil(_local7.height); }; return (_local7); } public function measureHTMLText(_arg1:String, _arg2:Boolean=true):TextLineMetrics{ return (measure(_arg1, true, _arg2)); } public function get moduleFactory():IFlexModuleFactory{ return (_moduleFactory); } private static function get embeddedFontRegistry():IEmbeddedFontRegistry{ if (!_embeddedFontRegistry){ _embeddedFontRegistry = IEmbeddedFontRegistry(Singleton.getInstance("mx.core::IEmbeddedFontRegistry")); }; return (_embeddedFontRegistry); } private static function get textFieldFactory():ITextFieldFactory{ if (!_textFieldFactory){ _textFieldFactory = ITextFieldFactory(Singleton.getInstance("mx.core::ITextFieldFactory")); }; return (_textFieldFactory); } } }//package mx.core
Section 519
//AddRemoveEffectTargetFilter (mx.effects.effectClasses.AddRemoveEffectTargetFilter) package mx.effects.effectClasses { import mx.effects.*; public class AddRemoveEffectTargetFilter extends EffectTargetFilter { public var add:Boolean;// = true mx_internal static const VERSION:String = "3.0.0.0"; public function AddRemoveEffectTargetFilter(){ filterProperties = ["parent"]; } override protected function defaultFilterFunction(_arg1:Array, _arg2:Object):Boolean{ var _local5:PropertyChanges; var _local3:int = _arg1.length; var _local4:int; while (_local4 < _local3) { _local5 = _arg1[_local4]; if (_local5.target == _arg2){ if (add){ return ((((_local5.start["parent"] == null)) && (!((_local5.end["parent"] == null))))); }; return (((!((_local5.start["parent"] == null))) && ((_local5.end["parent"] == null)))); }; _local4++; }; return (false); } } }//package mx.effects.effectClasses
Section 520
//HideShowEffectTargetFilter (mx.effects.effectClasses.HideShowEffectTargetFilter) package mx.effects.effectClasses { import mx.effects.*; public class HideShowEffectTargetFilter extends EffectTargetFilter { public var show:Boolean;// = true mx_internal static const VERSION:String = "3.0.0.0"; public function HideShowEffectTargetFilter(){ filterProperties = ["visible"]; } override protected function defaultFilterFunction(_arg1:Array, _arg2:Object):Boolean{ var _local5:PropertyChanges; var _local3:int = _arg1.length; var _local4:int; while (_local4 < _local3) { _local5 = _arg1[_local4]; if (_local5.target == _arg2){ return ((_local5.end["visible"] == show)); }; _local4++; }; return (false); } } }//package mx.effects.effectClasses
Section 521
//PropertyChanges (mx.effects.effectClasses.PropertyChanges) package mx.effects.effectClasses { public class PropertyChanges { public var target:Object; public var start:Object; public var end:Object; mx_internal static const VERSION:String = "3.0.0.0"; public function PropertyChanges(_arg1:Object){ end = {}; start = {}; super(); this.target = _arg1; } } }//package mx.effects.effectClasses
Section 522
//TweenEffectInstance (mx.effects.effectClasses.TweenEffectInstance) package mx.effects.effectClasses { import mx.core.*; import mx.events.*; import mx.effects.*; public class TweenEffectInstance extends EffectInstance { private var _seekTime:Number;// = 0 public var easingFunction:Function; public var tween:Tween; mx_internal var needToLayout:Boolean;// = false mx_internal static const VERSION:String = "3.0.0.0"; public function TweenEffectInstance(_arg1:Object){ super(_arg1); } override public function stop():void{ super.stop(); if (tween){ tween.stop(); }; } mx_internal function applyTweenStartValues():void{ if (duration > 0){ onTweenUpdate(tween.getCurrentValue(0)); }; } override public function get playheadTime():Number{ if (tween){ return ((tween.playheadTime + super.playheadTime)); }; return (0); } protected function createTween(_arg1:Object, _arg2:Object, _arg3:Object, _arg4:Number=-1, _arg5:Number=-1):Tween{ var _local6:Tween = new Tween(_arg1, _arg2, _arg3, _arg4, _arg5); _local6.addEventListener(TweenEvent.TWEEN_START, tweenEventHandler); _local6.addEventListener(TweenEvent.TWEEN_UPDATE, tweenEventHandler); _local6.addEventListener(TweenEvent.TWEEN_END, tweenEventHandler); if (easingFunction != null){ _local6.easingFunction = easingFunction; }; if (_seekTime > 0){ _local6.seek(_seekTime); }; _local6.playReversed = playReversed; return (_local6); } private function tweenEventHandler(_arg1:TweenEvent):void{ dispatchEvent(_arg1); } override public function end():void{ stopRepeat = true; if (delayTimer){ delayTimer.reset(); }; if (tween){ tween.endTween(); tween = null; }; } override public function reverse():void{ super.reverse(); if (tween){ tween.reverse(); }; super.playReversed = !(playReversed); } override mx_internal function set playReversed(_arg1:Boolean):void{ super.playReversed = _arg1; if (tween){ tween.playReversed = _arg1; }; } override public function resume():void{ super.resume(); if (tween){ tween.resume(); }; } public function onTweenEnd(_arg1:Object):void{ onTweenUpdate(_arg1); tween = null; if (needToLayout){ UIComponentGlobals.layoutManager.validateNow(); }; finishRepeat(); } public function onTweenUpdate(_arg1:Object):void{ } override public function pause():void{ super.pause(); if (tween){ tween.pause(); }; } public function seek(_arg1:Number):void{ if (tween){ tween.seek(_arg1); } else { _seekTime = _arg1; }; } } }//package mx.effects.effectClasses
Section 523
//ZoomInstance (mx.effects.effectClasses.ZoomInstance) package mx.effects.effectClasses { import mx.core.*; import flash.events.*; import mx.events.*; import mx.effects.*; public class ZoomInstance extends TweenEffectInstance { private var newY:Number; public var originY:Number; private var origX:Number; private var origY:Number; public var originX:Number; private var origPercentHeight:Number; public var zoomWidthFrom:Number; public var zoomWidthTo:Number; private var newX:Number; public var captureRollEvents:Boolean; private var origPercentWidth:Number; public var zoomHeightFrom:Number; private var origScaleX:Number; public var zoomHeightTo:Number; private var origScaleY:Number; private var scaledOriginX:Number; private var scaledOriginY:Number; private var show:Boolean;// = true private var _mouseHasMoved:Boolean;// = false mx_internal static const VERSION:String = "3.0.0.0"; public function ZoomInstance(_arg1:Object){ super(_arg1); } override public function finishEffect():void{ if (captureRollEvents){ target.removeEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false); target.removeEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false); target.removeEventListener(MouseEvent.MOUSE_MOVE, mouseEventHandler, false); }; super.finishEffect(); } private function getScaleFromWidth(_arg1:Number):Number{ return ((_arg1 / (target.width / Math.abs(target.scaleX)))); } override public function initEffect(_arg1:Event):void{ super.initEffect(_arg1); if ((((_arg1.type == FlexEvent.HIDE)) || ((_arg1.type == Event.REMOVED)))){ show = false; }; } private function getScaleFromHeight(_arg1:Number):Number{ return ((_arg1 / (target.height / Math.abs(target.scaleY)))); } private function applyPropertyChanges():void{ var _local2:Boolean; var _local3:Boolean; var _local1:PropertyChanges = propertyChanges; if (_local1){ _local2 = false; _local3 = false; if (_local1.end["scaleX"] !== undefined){ zoomWidthFrom = (isNaN(zoomWidthFrom)) ? target.scaleX : zoomWidthFrom; zoomWidthTo = (isNaN(zoomWidthTo)) ? _local1.end["scaleX"] : zoomWidthTo; _local3 = true; }; if (_local1.end["scaleY"] !== undefined){ zoomHeightFrom = (isNaN(zoomHeightFrom)) ? target.scaleY : zoomHeightFrom; zoomHeightTo = (isNaN(zoomHeightTo)) ? _local1.end["scaleY"] : zoomHeightTo; _local3 = true; }; if (_local3){ return; }; if (_local1.end["width"] !== undefined){ zoomWidthFrom = (isNaN(zoomWidthFrom)) ? getScaleFromWidth(target.width) : zoomWidthFrom; zoomWidthTo = (isNaN(zoomWidthTo)) ? getScaleFromWidth(_local1.end["width"]) : zoomWidthTo; _local2 = true; }; if (_local1.end["height"] !== undefined){ zoomHeightFrom = (isNaN(zoomHeightFrom)) ? getScaleFromHeight(target.height) : zoomHeightFrom; zoomHeightTo = (isNaN(zoomHeightTo)) ? getScaleFromHeight(_local1.end["height"]) : zoomHeightTo; _local2 = true; }; if (_local2){ return; }; if (_local1.end["visible"] !== undefined){ show = _local1.end["visible"]; }; }; } private function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_MOVE){ _mouseHasMoved = true; } else { if ((((_arg1.type == MouseEvent.ROLL_OUT)) || ((_arg1.type == MouseEvent.ROLL_OVER)))){ if (!_mouseHasMoved){ _arg1.stopImmediatePropagation(); }; _mouseHasMoved = false; }; }; } override public function play():void{ super.play(); applyPropertyChanges(); if (((((((isNaN(zoomWidthFrom)) && (isNaN(zoomWidthTo)))) && (isNaN(zoomHeightFrom)))) && (isNaN(zoomHeightTo)))){ if (show){ zoomWidthFrom = (zoomHeightFrom = 0); zoomWidthTo = target.scaleX; zoomHeightTo = target.scaleY; } else { zoomWidthFrom = target.scaleX; zoomHeightFrom = target.scaleY; zoomWidthTo = (zoomHeightTo = 0); }; } else { if (((isNaN(zoomWidthFrom)) && (isNaN(zoomWidthTo)))){ zoomWidthFrom = (zoomWidthTo = target.scaleX); } else { if (((isNaN(zoomHeightFrom)) && (isNaN(zoomHeightTo)))){ zoomHeightFrom = (zoomHeightTo = target.scaleY); }; }; if (isNaN(zoomWidthFrom)){ zoomWidthFrom = target.scaleX; } else { if (isNaN(zoomWidthTo)){ zoomWidthTo = ((zoomWidthFrom)==1) ? 0 : 1; }; }; if (isNaN(zoomHeightFrom)){ zoomHeightFrom = target.scaleY; } else { if (isNaN(zoomHeightTo)){ zoomHeightTo = ((zoomHeightFrom)==1) ? 0 : 1; }; }; }; if (zoomWidthFrom < 0.01){ zoomWidthFrom = 0.01; }; if (zoomWidthTo < 0.01){ zoomWidthTo = 0.01; }; if (zoomHeightFrom < 0.01){ zoomHeightFrom = 0.01; }; if (zoomHeightTo < 0.01){ zoomHeightTo = 0.01; }; origScaleX = target.scaleX; origScaleY = target.scaleY; newX = (origX = target.x); newY = (origY = target.y); if (isNaN(originX)){ scaledOriginX = (target.width / 2); } else { scaledOriginX = (originX * origScaleX); }; if (isNaN(originY)){ scaledOriginY = (target.height / 2); } else { scaledOriginY = (originY * origScaleY); }; scaledOriginX = Number(scaledOriginX.toFixed(1)); scaledOriginY = Number(scaledOriginY.toFixed(1)); origPercentWidth = target.percentWidth; if (!isNaN(origPercentWidth)){ target.width = target.width; }; origPercentHeight = target.percentHeight; if (!isNaN(origPercentHeight)){ target.height = target.height; }; tween = createTween(this, [zoomWidthFrom, zoomHeightFrom], [zoomWidthTo, zoomHeightTo], duration); if (captureRollEvents){ target.addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false); target.addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false); target.addEventListener(MouseEvent.MOUSE_MOVE, mouseEventHandler, false); }; } override public function onTweenEnd(_arg1:Object):void{ var _local2:Number; var _local3:Number; if (!isNaN(origPercentWidth)){ _local2 = target.width; target.percentWidth = origPercentWidth; if (((target.parent) && ((target.parent.autoLayout == false)))){ target.mx_internal::_width = _local2; }; }; if (!isNaN(origPercentHeight)){ _local3 = target.height; target.percentHeight = origPercentHeight; if (((target.parent) && ((target.parent.autoLayout == false)))){ target.mx_internal::_height = _local3; }; }; super.onTweenEnd(_arg1); if (mx_internal::hideOnEffectEnd){ EffectManager.suspendEventHandling(); target.scaleX = origScaleX; target.scaleY = origScaleY; target.move(origX, origY); EffectManager.resumeEventHandling(); }; } override public function onTweenUpdate(_arg1:Object):void{ EffectManager.suspendEventHandling(); if (Math.abs((newX - target.x)) > 0.1){ origX = (origX + (Number(target.x.toFixed(1)) - newX)); }; if (Math.abs((newY - target.y)) > 0.1){ origY = (origY + (Number(target.y.toFixed(1)) - newY)); }; target.scaleX = _arg1[0]; target.scaleY = _arg1[1]; var _local2:Number = (_arg1[0] / origScaleX); var _local3:Number = (_arg1[1] / origScaleY); var _local4:Number = (scaledOriginX * _local2); var _local5:Number = (scaledOriginY * _local3); newX = ((scaledOriginX - _local4) + origX); newY = ((scaledOriginY - _local5) + origY); newX = Number(newX.toFixed(1)); newY = Number(newY.toFixed(1)); target.move(newX, newY); tween.mx_internal::needToLayout = true; EffectManager.resumeEventHandling(); } } }//package mx.effects.effectClasses
Section 524
//Effect (mx.effects.Effect) package mx.effects { import mx.core.*; import mx.managers.*; import flash.events.*; import mx.events.*; import mx.effects.effectClasses.*; import flash.utils.*; public class Effect extends EventDispatcher implements IEffect { private var _perElementOffset:Number;// = 0 private var _hideFocusRing:Boolean;// = false private var _customFilter:EffectTargetFilter; public var repeatCount:int;// = 1 public var suspendBackgroundProcessing:Boolean;// = false public var startDelay:int;// = 0 private var _relevantProperties:Array; private var _callValidateNow:Boolean;// = false mx_internal var applyActualDimensions:Boolean;// = true private var _filter:String; private var _triggerEvent:Event; private var _effectTargetHost:IEffectTargetHost; mx_internal var durationExplicitlySet:Boolean;// = false public var repeatDelay:int;// = 0 private var _targets:Array; mx_internal var propertyChangesArray:Array; mx_internal var filterObject:EffectTargetFilter; protected var endValuesCaptured:Boolean;// = false public var instanceClass:Class; private var _duration:Number;// = 500 private var isPaused:Boolean;// = false private var _relevantStyles:Array; private var _instances:Array; mx_internal static const VERSION:String = "3.0.0.0"; public function Effect(_arg1:Object=null){ _instances = []; instanceClass = IEffectInstance; _relevantStyles = []; _targets = []; super(); this.target = _arg1; } public function get targets():Array{ return (_targets); } public function set targets(_arg1:Array):void{ var _local2:int = _arg1.length; var _local3:int = (_local2 - 1); while (_local3 > 0) { if (_arg1[_local3] == null){ _arg1.splice(_local3, 1); }; _local3--; }; _targets = _arg1; } public function set hideFocusRing(_arg1:Boolean):void{ _hideFocusRing = _arg1; } public function get hideFocusRing():Boolean{ return (_hideFocusRing); } public function stop():void{ var _local3:IEffectInstance; var _local1:int = _instances.length; var _local2:int = _local1; while (_local2 >= 0) { _local3 = IEffectInstance(_instances[_local2]); if (_local3){ _local3.stop(); }; _local2--; }; } public function captureStartValues():void{ var _local1:int; var _local2:int; if (targets.length > 0){ propertyChangesArray = []; _callValidateNow = true; _local1 = targets.length; _local2 = 0; while (_local2 < _local1) { propertyChangesArray.push(new PropertyChanges(targets[_local2])); _local2++; }; propertyChangesArray = captureValues(propertyChangesArray, true); }; endValuesCaptured = false; } mx_internal function captureValues(_arg1:Array, _arg2:Boolean):Array{ var _local4:Object; var _local5:Object; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local3:Array = (filterObject) ? mergeArrays(relevantProperties, filterObject.filterProperties) : relevantProperties; if (((_local3) && ((_local3.length > 0)))){ _local6 = _arg1.length; _local7 = 0; while (_local7 < _local6) { _local5 = _arg1[_local7].target; _local4 = (_arg2) ? _arg1[_local7].start : _arg1[_local7].end; _local8 = _local3.length; _local9 = 0; while (_local9 < _local8) { _local4[_local3[_local9]] = getValueFromTarget(_local5, _local3[_local9]); _local9++; }; _local7++; }; }; var _local10:Array = (filterObject) ? mergeArrays(relevantStyles, filterObject.filterStyles) : relevantStyles; if (((_local10) && ((_local10.length > 0)))){ _local6 = _arg1.length; _local7 = 0; while (_local7 < _local6) { _local5 = _arg1[_local7].target; _local4 = (_arg2) ? _arg1[_local7].start : _arg1[_local7].end; _local8 = _local10.length; _local9 = 0; while (_local9 < _local8) { _local4[_local10[_local9]] = _local5.getStyle(_local10[_local9]); _local9++; }; _local7++; }; }; return (_arg1); } protected function getValueFromTarget(_arg1:Object, _arg2:String){ if ((_arg2 in _arg1)){ return (_arg1[_arg2]); }; return (undefined); } public function set target(_arg1:Object):void{ _targets.splice(0); if (_arg1){ _targets[0] = _arg1; }; } public function get className():String{ var _local1:String = getQualifiedClassName(this); var _local2:int = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function set perElementOffset(_arg1:Number):void{ _perElementOffset = _arg1; } public function resume():void{ var _local1:int; var _local2:int; if (((isPlaying) && (isPaused))){ isPaused = false; _local1 = _instances.length; _local2 = 0; while (_local2 < _local1) { IEffectInstance(_instances[_local2]).resume(); _local2++; }; }; } public function set duration(_arg1:Number):void{ durationExplicitlySet = true; _duration = _arg1; } public function play(_arg1:Array=null, _arg2:Boolean=false):Array{ var _local6:IEffectInstance; if ((((_arg1 == null)) && (!((propertyChangesArray == null))))){ if (_callValidateNow){ LayoutManager.getInstance().validateNow(); }; if (!endValuesCaptured){ propertyChangesArray = captureValues(propertyChangesArray, false); }; propertyChangesArray = stripUnchangedValues(propertyChangesArray); applyStartValues(propertyChangesArray, this.targets); }; var _local3:Array = createInstances(_arg1); var _local4:int = _local3.length; var _local5:int; while (_local5 < _local4) { _local6 = IEffectInstance(_local3[_local5]); Object(_local6).playReversed = _arg2; _local6.startEffect(); _local5++; }; return (_local3); } public function captureEndValues():void{ propertyChangesArray = captureValues(propertyChangesArray, false); endValuesCaptured = true; } protected function filterInstance(_arg1:Array, _arg2:Object):Boolean{ if (filterObject){ return (filterObject.filterInstance(_arg1, effectTargetHost, _arg2)); }; return (true); } public function get customFilter():EffectTargetFilter{ return (_customFilter); } public function get effectTargetHost():IEffectTargetHost{ return (_effectTargetHost); } public function set relevantProperties(_arg1:Array):void{ _relevantProperties = _arg1; } public function captureMoreStartValues(_arg1:Array):void{ var _local2:Array; var _local3:int; if (_arg1.length > 0){ _local2 = []; _local3 = 0; while (_local3 < _arg1.length) { _local2.push(new PropertyChanges(_arg1[_local3])); _local3++; }; _local2 = captureValues(_local2, true); propertyChangesArray = propertyChangesArray.concat(_local2); }; } public function deleteInstance(_arg1:IEffectInstance):void{ EventDispatcher(_arg1).removeEventListener(EffectEvent.EFFECT_START, effectStartHandler); EventDispatcher(_arg1).removeEventListener(EffectEvent.EFFECT_END, effectEndHandler); var _local2:int = _instances.length; var _local3:int; while (_local3 < _local2) { if (_instances[_local3] === _arg1){ _instances.splice(_local3, 1); }; _local3++; }; } public function get filter():String{ return (_filter); } public function set triggerEvent(_arg1:Event):void{ _triggerEvent = _arg1; } public function get target():Object{ if (_targets.length > 0){ return (_targets[0]); }; return (null); } public function get duration():Number{ return (_duration); } public function set customFilter(_arg1:EffectTargetFilter):void{ _customFilter = _arg1; filterObject = _arg1; } public function get perElementOffset():Number{ return (_perElementOffset); } public function set effectTargetHost(_arg1:IEffectTargetHost):void{ _effectTargetHost = _arg1; } public function get isPlaying():Boolean{ return (((_instances) && ((_instances.length > 0)))); } protected function effectEndHandler(_arg1:EffectEvent):void{ var _local2:IEffectInstance = IEffectInstance(_arg1.effectInstance); deleteInstance(_local2); dispatchEvent(_arg1); } public function get relevantProperties():Array{ if (_relevantProperties){ return (_relevantProperties); }; return (getAffectedProperties()); } public function createInstance(_arg1:Object=null):IEffectInstance{ var _local6:int; var _local7:int; if (!_arg1){ _arg1 = this.target; }; var _local2:IEffectInstance; var _local3:PropertyChanges; var _local4:Boolean; var _local5:Boolean; if (propertyChangesArray){ _local5 = true; _local4 = filterInstance(propertyChangesArray, _arg1); }; if (_local4){ _local2 = IEffectInstance(new instanceClass(_arg1)); initInstance(_local2); if (_local5){ _local6 = propertyChangesArray.length; _local7 = 0; while (_local7 < _local6) { if (propertyChangesArray[_local7].target == _arg1){ _local2.propertyChanges = propertyChangesArray[_local7]; }; _local7++; }; }; EventDispatcher(_local2).addEventListener(EffectEvent.EFFECT_START, effectStartHandler); EventDispatcher(_local2).addEventListener(EffectEvent.EFFECT_END, effectEndHandler); _instances.push(_local2); if (triggerEvent){ _local2.initEffect(triggerEvent); }; }; return (_local2); } protected function effectStartHandler(_arg1:EffectEvent):void{ dispatchEvent(_arg1); } public function getAffectedProperties():Array{ return ([]); } public function set relevantStyles(_arg1:Array):void{ _relevantStyles = _arg1; } public function get triggerEvent():Event{ return (_triggerEvent); } protected function applyValueToTarget(_arg1:Object, _arg2:String, _arg3, _arg4:Object):void{ var target = _arg1; var property = _arg2; var value = _arg3; var props = _arg4; if ((property in target)){ try { if (((((applyActualDimensions) && ((target is IFlexDisplayObject)))) && ((property == "height")))){ target.setActualSize(target.width, value); } else { if (((((applyActualDimensions) && ((target is IFlexDisplayObject)))) && ((property == "width")))){ target.setActualSize(value, target.height); } else { target[property] = value; }; }; } catch(e:Error) { }; }; } protected function initInstance(_arg1:IEffectInstance):void{ _arg1.duration = duration; Object(_arg1).durationExplicitlySet = durationExplicitlySet; _arg1.effect = this; _arg1.effectTargetHost = effectTargetHost; _arg1.hideFocusRing = hideFocusRing; _arg1.repeatCount = repeatCount; _arg1.repeatDelay = repeatDelay; _arg1.startDelay = startDelay; _arg1.suspendBackgroundProcessing = suspendBackgroundProcessing; } mx_internal function applyStartValues(_arg1:Array, _arg2:Array):void{ var _local6:int; var _local7:int; var _local8:Object; var _local9:Boolean; var _local3:Array = relevantProperties; var _local4:int = _arg1.length; var _local5:int; while (_local5 < _local4) { _local8 = _arg1[_local5].target; _local9 = false; _local6 = _arg2.length; _local7 = 0; while (_local7 < _local6) { if (_arg2[_local7] == _local8){ _local9 = filterInstance(_arg1, _local8); break; }; _local7++; }; if (_local9){ _local6 = _local3.length; _local7 = 0; while (_local7 < _local6) { if ((((_local3[_local7] in _arg1[_local5].start)) && ((_local3[_local7] in _local8)))){ applyValueToTarget(_local8, _local3[_local7], _arg1[_local5].start[_local3[_local7]], _arg1[_local5].start); }; _local7++; }; _local6 = relevantStyles.length; _local7 = 0; while (_local7 < _local6) { if ((relevantStyles[_local7] in _arg1[_local5].start)){ _local8.setStyle(relevantStyles[_local7], _arg1[_local5].start[relevantStyles[_local7]]); }; _local7++; }; }; _local5++; }; } public function end(_arg1:IEffectInstance=null):void{ var _local2:int; var _local3:int; var _local4:IEffectInstance; if (_arg1){ _arg1.end(); } else { _local2 = _instances.length; _local3 = _local2; while (_local3 >= 0) { _local4 = IEffectInstance(_instances[_local3]); if (_local4){ _local4.end(); }; _local3--; }; }; } public function get relevantStyles():Array{ return (_relevantStyles); } public function createInstances(_arg1:Array=null):Array{ var _local6:IEffectInstance; if (!_arg1){ _arg1 = this.targets; }; var _local2:Array = []; var _local3:int = _arg1.length; var _local4:Number = 0; var _local5:int; while (_local5 < _local3) { _local6 = createInstance(_arg1[_local5]); if (_local6){ _local6.startDelay = (_local6.startDelay + _local4); _local4 = (_local4 + perElementOffset); _local2.push(_local6); }; _local5++; }; triggerEvent = null; return (_local2); } public function pause():void{ var _local1:int; var _local2:int; if (((isPlaying) && (!(isPaused)))){ isPaused = true; _local1 = _instances.length; _local2 = 0; while (_local2 < _local1) { IEffectInstance(_instances[_local2]).pause(); _local2++; }; }; } public function set filter(_arg1:String):void{ if (!customFilter){ _filter = _arg1; switch (_arg1){ case "add": case "remove": filterObject = new AddRemoveEffectTargetFilter(); AddRemoveEffectTargetFilter(filterObject).add = (_arg1 == "add"); break; case "hide": case "show": filterObject = new HideShowEffectTargetFilter(); HideShowEffectTargetFilter(filterObject).show = (_arg1 == "show"); break; case "move": filterObject = new EffectTargetFilter(); filterObject.filterProperties = ["x", "y"]; break; case "resize": filterObject = new EffectTargetFilter(); filterObject.filterProperties = ["width", "height"]; break; case "addItem": filterObject = new EffectTargetFilter(); filterObject.requiredSemantics = {added:true}; break; case "removeItem": filterObject = new EffectTargetFilter(); filterObject.requiredSemantics = {removed:true}; break; case "replacedItem": filterObject = new EffectTargetFilter(); filterObject.requiredSemantics = {replaced:true}; break; case "replacementItem": filterObject = new EffectTargetFilter(); filterObject.requiredSemantics = {replacement:true}; break; default: filterObject = null; break; }; }; } public function reverse():void{ var _local1:int; var _local2:int; if (isPlaying){ _local1 = _instances.length; _local2 = 0; while (_local2 < _local1) { IEffectInstance(_instances[_local2]).reverse(); _local2++; }; }; } private static function mergeArrays(_arg1:Array, _arg2:Array):Array{ var _local3:int; var _local4:Boolean; var _local5:int; if (_arg2){ _local3 = 0; while (_local3 < _arg2.length) { _local4 = true; _local5 = 0; while (_local5 < _arg1.length) { if (_arg1[_local5] == _arg2[_local3]){ _local4 = false; break; }; _local5++; }; if (_local4){ _arg1.push(_arg2[_local3]); }; _local3++; }; }; return (_arg1); } private static function stripUnchangedValues(_arg1:Array):Array{ var _local3:Object; var _local2:int; while (_local2 < _arg1.length) { for (_local3 in _arg1[_local2].start) { if ((((_arg1[_local2].start[_local3] == _arg1[_local2].end[_local3])) || ((((((((typeof(_arg1[_local2].start[_local3]) == "number")) && ((typeof(_arg1[_local2].end[_local3]) == "number")))) && (isNaN(_arg1[_local2].start[_local3])))) && (isNaN(_arg1[_local2].end[_local3])))))){ delete _arg1[_local2].start[_local3]; delete _arg1[_local2].end[_local3]; }; }; _local2++; }; return (_arg1); } } }//package mx.effects
Section 525
//EffectInstance (mx.effects.EffectInstance) package mx.effects { import mx.core.*; import flash.events.*; import mx.events.*; import mx.effects.effectClasses.*; import flash.utils.*; public class EffectInstance extends EventDispatcher implements IEffectInstance { private var _hideFocusRing:Boolean; private var delayStartTime:Number;// = 0 mx_internal var stopRepeat:Boolean;// = false private var playCount:int;// = 0 private var _repeatCount:int;// = 0 private var _suspendBackgroundProcessing:Boolean;// = false mx_internal var delayTimer:Timer; private var _triggerEvent:Event; private var _effectTargetHost:IEffectTargetHost; mx_internal var parentCompositeEffectInstance:EffectInstance; mx_internal var durationExplicitlySet:Boolean;// = false private var _effect:IEffect; private var _target:Object; mx_internal var hideOnEffectEnd:Boolean;// = false private var _startDelay:int;// = 0 private var delayElapsedTime:Number;// = 0 private var _repeatDelay:int;// = 0 private var _propertyChanges:PropertyChanges; private var _duration:Number;// = 500 private var _playReversed:Boolean; mx_internal static const VERSION:String = "3.0.0.0"; public function EffectInstance(_arg1:Object){ this.target = _arg1; } public function get playheadTime():Number{ return ((((Math.max((playCount - 1), 0) * duration) + (Math.max((playCount - 2), 0) * repeatDelay)) + (playReversed) ? 0 : startDelay)); } public function get hideFocusRing():Boolean{ return (_hideFocusRing); } public function stop():void{ if (delayTimer){ delayTimer.reset(); }; stopRepeat = true; finishEffect(); } public function finishEffect():void{ playCount = 0; dispatchEvent(new EffectEvent(EffectEvent.EFFECT_END, false, false, this)); if (target){ target.dispatchEvent(new EffectEvent(EffectEvent.EFFECT_END, false, false, this)); }; if ((target is UIComponent)){ UIComponent(target).effectFinished(this); }; EffectManager.effectFinished(this); } public function set hideFocusRing(_arg1:Boolean):void{ _hideFocusRing = _arg1; } public function finishRepeat():void{ if (((((!(stopRepeat)) && (!((playCount == 0))))) && ((((playCount < repeatCount)) || ((repeatCount == 0)))))){ if (repeatDelay > 0){ delayTimer = new Timer(repeatDelay, 1); delayStartTime = getTimer(); delayTimer.addEventListener(TimerEvent.TIMER, delayTimerHandler); delayTimer.start(); } else { play(); }; } else { finishEffect(); }; } mx_internal function get playReversed():Boolean{ return (_playReversed); } public function set effect(_arg1:IEffect):void{ _effect = _arg1; } public function get className():String{ var _local1:String = getQualifiedClassName(this); var _local2:int = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function set duration(_arg1:Number):void{ durationExplicitlySet = true; _duration = _arg1; } mx_internal function set playReversed(_arg1:Boolean):void{ _playReversed = _arg1; } public function resume():void{ if (((((delayTimer) && (!(delayTimer.running)))) && (!(isNaN(delayElapsedTime))))){ delayTimer.delay = (playReversed) ? delayElapsedTime : (delayTimer.delay - delayElapsedTime); delayTimer.start(); }; } public function get propertyChanges():PropertyChanges{ return (_propertyChanges); } public function set target(_arg1:Object):void{ _target = _arg1; } public function get repeatCount():int{ return (_repeatCount); } mx_internal function playWithNoDuration():void{ duration = 0; repeatCount = 1; repeatDelay = 0; startDelay = 0; startEffect(); } public function get startDelay():int{ return (_startDelay); } mx_internal function get actualDuration():Number{ var _local1:Number = NaN; if (repeatCount > 0){ _local1 = (((duration * repeatCount) + ((repeatDelay * repeatCount) - 1)) + startDelay); }; return (_local1); } public function play():void{ playCount++; dispatchEvent(new EffectEvent(EffectEvent.EFFECT_START, false, false, this)); if (target){ target.dispatchEvent(new EffectEvent(EffectEvent.EFFECT_START, false, false, this)); }; } public function get suspendBackgroundProcessing():Boolean{ return (_suspendBackgroundProcessing); } public function get effectTargetHost():IEffectTargetHost{ return (_effectTargetHost); } public function set repeatDelay(_arg1:int):void{ _repeatDelay = _arg1; } public function set propertyChanges(_arg1:PropertyChanges):void{ _propertyChanges = _arg1; } mx_internal function eventHandler(_arg1:Event):void{ if ((((_arg1.type == FlexEvent.SHOW)) && ((hideOnEffectEnd == true)))){ hideOnEffectEnd = false; _arg1.target.removeEventListener(FlexEvent.SHOW, eventHandler); }; } public function set repeatCount(_arg1:int):void{ _repeatCount = _arg1; } private function delayTimerHandler(_arg1:TimerEvent):void{ delayTimer.reset(); delayStartTime = NaN; delayElapsedTime = NaN; play(); } public function set suspendBackgroundProcessing(_arg1:Boolean):void{ _suspendBackgroundProcessing = _arg1; } public function set triggerEvent(_arg1:Event):void{ _triggerEvent = _arg1; } public function set startDelay(_arg1:int):void{ _startDelay = _arg1; } public function get effect():IEffect{ return (_effect); } public function set effectTargetHost(_arg1:IEffectTargetHost):void{ _effectTargetHost = _arg1; } public function get target():Object{ return (_target); } public function startEffect():void{ EffectManager.effectStarted(this); if ((target is UIComponent)){ UIComponent(target).effectStarted(this); }; if ((((startDelay > 0)) && (!(playReversed)))){ delayTimer = new Timer(startDelay, 1); delayStartTime = getTimer(); delayTimer.addEventListener(TimerEvent.TIMER, delayTimerHandler); delayTimer.start(); } else { play(); }; } public function get repeatDelay():int{ return (_repeatDelay); } public function get duration():Number{ if (((!(durationExplicitlySet)) && (parentCompositeEffectInstance))){ return (parentCompositeEffectInstance.duration); }; return (_duration); } public function initEffect(_arg1:Event):void{ triggerEvent = _arg1; switch (_arg1.type){ case "resizeStart": case "resizeEnd": if (!durationExplicitlySet){ duration = 250; }; break; case FlexEvent.HIDE: target.setVisible(true, true); hideOnEffectEnd = true; target.addEventListener(FlexEvent.SHOW, eventHandler); break; }; } public function get triggerEvent():Event{ return (_triggerEvent); } public function end():void{ if (delayTimer){ delayTimer.reset(); }; stopRepeat = true; finishEffect(); } public function reverse():void{ if (repeatCount > 0){ playCount = ((repeatCount - playCount) + 1); }; } public function pause():void{ if (((((delayTimer) && (delayTimer.running))) && (!(isNaN(delayStartTime))))){ delayTimer.stop(); delayElapsedTime = (getTimer() - delayStartTime); }; } } }//package mx.effects
Section 526
//EffectManager (mx.effects.EffectManager) package mx.effects { import flash.display.*; import mx.core.*; import flash.events.*; import mx.events.*; import mx.resources.*; import flash.utils.*; public class EffectManager extends EventDispatcher { mx_internal static const VERSION:String = "3.0.0.0"; private static var _resourceManager:IResourceManager; private static var effects:Dictionary = new Dictionary(true); mx_internal static var effectsPlaying:Array = []; private static var targetsInfo:Array = []; private static var effectTriggersForEvent:Object = {}; mx_internal static var lastEffectCreated:Effect; private static var eventHandlingSuspendCount:Number = 0; private static var eventsForEffectTriggers:Object = {}; public static function suspendEventHandling():void{ eventHandlingSuspendCount++; } mx_internal static function registerEffectTrigger(_arg1:String, _arg2:String):void{ var _local3:Number; if (_arg1 != ""){ if (_arg2 == ""){ _local3 = _arg1.length; if ((((_local3 > 6)) && ((_arg1.substring((_local3 - 6)) == "Effect")))){ _arg2 = _arg1.substring(0, (_local3 - 6)); }; }; if (_arg2 != ""){ effectTriggersForEvent[_arg2] = _arg1; eventsForEffectTriggers[_arg1] = _arg2; }; }; } private static function removedEffectHandler(_arg1:DisplayObject, _arg2:DisplayObjectContainer, _arg3:int, _arg4:Event):void{ suspendEventHandling(); _arg2.addChildAt(_arg1, _arg3); resumeEventHandling(); createAndPlayEffect(_arg4, _arg1); } private static function createAndPlayEffect(_arg1:Event, _arg2:Object):void{ var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local9:String; var _local10:String; var _local11:Array; var _local12:Array; var _local13:Array; var _local14:Array; var _local15:EffectInstance; var _local3:Effect = createEffectForType(_arg2, _arg1.type); if (!_local3){ return; }; if ((((_local3 is Zoom)) && ((_arg1.type == MoveEvent.MOVE)))){ _local9 = resourceManager.getString("effects", "incorrectTrigger"); throw (new Error(_local9)); }; if (_arg2.initialized == false){ _local10 = _arg1.type; if ((((((((((_local10 == MoveEvent.MOVE)) || ((_local10 == ResizeEvent.RESIZE)))) || ((_local10 == FlexEvent.SHOW)))) || ((_local10 == FlexEvent.HIDE)))) || ((_local10 == Event.CHANGE)))){ _local3 = null; return; }; }; if ((_local3.target is IUIComponent)){ _local11 = IUIComponent(_local3.target).tweeningProperties; if (((_local11) && ((_local11.length > 0)))){ _local12 = _local3.getAffectedProperties(); _local4 = _local11.length; _local6 = _local12.length; _local5 = 0; while (_local5 < _local4) { _local7 = 0; while (_local7 < _local6) { if (_local11[_local5] == _local12[_local7]){ _local3 = null; return; }; _local7++; }; _local5++; }; }; }; if ((((_local3.target is UIComponent)) && (UIComponent(_local3.target).isEffectStarted))){ _local13 = _local3.getAffectedProperties(); _local5 = 0; while (_local5 < _local13.length) { _local14 = _local3.target.getEffectsForProperty(_local13[_local5]); if (_local14.length > 0){ if (_arg1.type == ResizeEvent.RESIZE){ return; }; _local7 = 0; while (_local7 < _local14.length) { _local15 = _local14[_local7]; if ((((_arg1.type == FlexEvent.SHOW)) && (_local15.hideOnEffectEnd))){ _local15.target.removeEventListener(FlexEvent.SHOW, _local15.eventHandler); _local15.hideOnEffectEnd = false; }; _local15.end(); _local7++; }; }; _local5++; }; }; _local3.triggerEvent = _arg1; _local3.addEventListener(EffectEvent.EFFECT_END, EffectManager.effectEndHandler); lastEffectCreated = _local3; var _local8:Array = _local3.play(); _local4 = _local8.length; _local5 = 0; while (_local5 < _local4) { effectsPlaying.push(new EffectNode(_local3, _local8[_local5])); _local5++; }; if (_local3.suspendBackgroundProcessing){ UIComponent.suspendBackgroundProcessing(); }; } public static function endEffectsForTarget(_arg1:IUIComponent):void{ var _local4:EffectInstance; var _local2:int = effectsPlaying.length; var _local3:int = (_local2 - 1); while (_local3 >= 0) { _local4 = effectsPlaying[_local3].instance; if (_local4.target == _arg1){ _local4.end(); }; _local3--; }; } private static function cacheOrUncacheTargetAsBitmap(_arg1:IUIComponent, _arg2:Boolean=true, _arg3:Boolean=true):void{ var _local4:int; var _local5:int; var _local6:Object; _local4 = targetsInfo.length; _local5 = 0; while (_local5 < _local4) { if (targetsInfo[_local5].target == _arg1){ _local6 = targetsInfo[_local5]; break; }; _local5++; }; if (!_local6){ _local6 = {target:_arg1, bitmapEffectsCount:0, vectorEffectsCount:0}; targetsInfo.push(_local6); }; if (_arg2){ if (_arg3){ _local6.bitmapEffectsCount++; if ((((_local6.vectorEffectsCount == 0)) && ((_arg1 is IDeferredInstantiationUIComponent)))){ IDeferredInstantiationUIComponent(_arg1).cacheHeuristic = true; }; } else { if ((((((_local6.vectorEffectsCount++ == 0)) && ((_arg1 is IDeferredInstantiationUIComponent)))) && ((IDeferredInstantiationUIComponent(_arg1).cachePolicy == UIComponentCachePolicy.AUTO)))){ _arg1.cacheAsBitmap = false; }; }; } else { if (_arg3){ if (_local6.bitmapEffectsCount != 0){ _local6.bitmapEffectsCount--; }; if ((_arg1 is IDeferredInstantiationUIComponent)){ IDeferredInstantiationUIComponent(_arg1).cacheHeuristic = false; }; } else { if (_local6.vectorEffectsCount != 0){ if ((((--_local6.vectorEffectsCount == 0)) && (!((_local6.bitmapEffectsCount == 0))))){ _local4 = _local6.bitmapEffectsCount; _local5 = 0; while (_local5 < _local4) { if ((_arg1 is IDeferredInstantiationUIComponent)){ IDeferredInstantiationUIComponent(_arg1).cacheHeuristic = true; }; _local5++; }; }; }; }; if ((((_local6.bitmapEffectsCount == 0)) && ((_local6.vectorEffectsCount == 0)))){ _local4 = targetsInfo.length; _local5 = 0; while (_local5 < _local4) { if (targetsInfo[_local5].target == _arg1){ targetsInfo.splice(_local5, 1); break; }; _local5++; }; }; }; } mx_internal static function eventHandler(_arg1:Event):void{ var _local2:FocusEvent; var _local3:DisplayObject; var _local4:int; var _local5:DisplayObjectContainer; var _local6:int; if (!(_arg1.currentTarget is IFlexDisplayObject)){ return; }; if (eventHandlingSuspendCount > 0){ return; }; if ((((_arg1 is FocusEvent)) && ((((_arg1.type == FocusEvent.FOCUS_OUT)) || ((_arg1.type == FocusEvent.FOCUS_IN)))))){ _local2 = FocusEvent(_arg1); if (((_local2.relatedObject) && (((_local2.currentTarget.contains(_local2.relatedObject)) || ((_local2.currentTarget == _local2.relatedObject)))))){ return; }; }; if ((((((_arg1.type == Event.ADDED)) || ((_arg1.type == Event.REMOVED)))) && (!((_arg1.target == _arg1.currentTarget))))){ return; }; if (_arg1.type == Event.REMOVED){ if ((_arg1.target is UIComponent)){ if (UIComponent(_arg1.target).initialized == false){ return; }; if (UIComponent(_arg1.target).isEffectStarted){ _local4 = 0; while (_local4 < UIComponent(_arg1.target)._effectsStarted.length) { if (UIComponent(_arg1.target)._effectsStarted[_local4].triggerEvent.type == Event.REMOVED){ return; }; _local4++; }; }; }; _local3 = (_arg1.target as DisplayObject); if (_local3 != null){ _local5 = (_local3.parent as DisplayObjectContainer); if (_local5 != null){ _local6 = _local5.getChildIndex(_local3); if (_local6 >= 0){ if ((_local3 is UIComponent)){ UIComponent(_local3).callLater(removedEffectHandler, [_local3, _local5, _local6, _arg1]); }; }; }; }; } else { createAndPlayEffect(_arg1, _arg1.currentTarget); }; } mx_internal static function endBitmapEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, false, true); } private static function animateSameProperty(_arg1:Effect, _arg2:Effect, _arg3:EffectInstance):Boolean{ var _local4:Array; var _local5:Array; var _local6:int; var _local7:int; var _local8:int; var _local9:int; if (_arg1.target == _arg3.target){ _local4 = _arg1.getAffectedProperties(); _local5 = _arg2.getAffectedProperties(); _local6 = _local4.length; _local7 = _local5.length; _local8 = 0; while (_local8 < _local6) { _local9 = 0; while (_local9 < _local7) { if (_local4[_local8] == _local5[_local9]){ return (true); }; _local9++; }; _local8++; }; }; return (false); } mx_internal static function effectFinished(_arg1:EffectInstance):void{ delete effects[_arg1]; } mx_internal static function effectsInEffect():Boolean{ var _local1:*; for (_local1 in effects) { return (true); }; return (false); } mx_internal static function effectEndHandler(_arg1:EffectEvent):void{ var _local5:DisplayObject; var _local6:DisplayObjectContainer; var _local2:IEffectInstance = _arg1.effectInstance; var _local3:int = effectsPlaying.length; var _local4:int = (_local3 - 1); while (_local4 >= 0) { if (effectsPlaying[_local4].instance == _local2){ effectsPlaying.splice(_local4, 1); break; }; _local4--; }; if (Object(_local2).hideOnEffectEnd == true){ _local2.target.removeEventListener(FlexEvent.SHOW, Object(_local2).eventHandler); _local2.target.setVisible(false, true); }; if (((_local2.triggerEvent) && ((_local2.triggerEvent.type == Event.REMOVED)))){ _local5 = (_local2.target as DisplayObject); if (_local5 != null){ _local6 = (_local5.parent as DisplayObjectContainer); if (_local6 != null){ suspendEventHandling(); _local6.removeChild(_local5); resumeEventHandling(); }; }; }; if (_local2.suspendBackgroundProcessing){ UIComponent.resumeBackgroundProcessing(); }; } mx_internal static function startBitmapEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, true, true); } mx_internal static function setStyle(_arg1:String, _arg2):void{ var _local3:String = eventsForEffectTriggers[_arg1]; if (((!((_local3 == null))) && (!((_local3 == ""))))){ _arg2.addEventListener(_local3, EffectManager.eventHandler, false, EventPriority.EFFECT); }; } mx_internal static function getEventForEffectTrigger(_arg1:String):String{ var effectTrigger = _arg1; if (eventsForEffectTriggers){ try { return (eventsForEffectTriggers[effectTrigger]); } catch(e:Error) { return (""); }; }; return (""); } mx_internal static function createEffectForType(_arg1:Object, _arg2:String):Effect{ var cls:Class; var effectObj:Effect; var doc:Object; var target = _arg1; var type = _arg2; var trigger:String = effectTriggersForEvent[type]; if (trigger == ""){ trigger = (type + "Effect"); }; var value:Object = target.getStyle(trigger); if (!value){ return (null); }; if ((value is Class)){ cls = Class(value); return (new cls(target)); }; try { if ((value is String)){ doc = target.parentDocument; if (!doc){ doc = ApplicationGlobals.application; }; effectObj = doc[value]; } else { if ((value is Effect)){ effectObj = Effect(value); }; }; if (effectObj){ effectObj.target = target; return (effectObj); }; } catch(e:Error) { }; var effectClass:Class = Class(target.systemManager.getDefinitionByName(("mx.effects." + value))); if (effectClass){ return (new effectClass(target)); }; return (null); } mx_internal static function effectStarted(_arg1:EffectInstance):void{ effects[_arg1] = 1; } public static function resumeEventHandling():void{ eventHandlingSuspendCount--; } mx_internal static function startVectorEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, true, false); } mx_internal static function endVectorEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, false, false); } private static function get resourceManager():IResourceManager{ if (!_resourceManager){ _resourceManager = ResourceManager.getInstance(); }; return (_resourceManager); } } }//package mx.effects class EffectNode { public var factory:Effect; public var instance:EffectInstance; private function EffectNode(_arg1:Effect, _arg2:EffectInstance){ this.factory = _arg1; this.instance = _arg2; } }
Section 527
//EffectTargetFilter (mx.effects.EffectTargetFilter) package mx.effects { import mx.effects.effectClasses.*; public class EffectTargetFilter { public var filterFunction:Function; public var filterStyles:Array; public var filterProperties:Array; public var requiredSemantics:Object;// = null mx_internal static const VERSION:String = "3.0.0.0"; public function EffectTargetFilter(){ filterFunction = defaultFilterFunctionEx; filterProperties = []; filterStyles = []; super(); } protected function defaultFilterFunctionEx(_arg1:Array, _arg2:IEffectTargetHost, _arg3:Object):Boolean{ var _local4:String; if (requiredSemantics){ for (_local4 in requiredSemantics) { if (!_arg2){ return (false); }; if (_arg2.getRendererSemanticValue(_arg3, _local4) != requiredSemantics[_local4]){ return (false); }; }; return (true); }; return (defaultFilterFunction(_arg1, _arg3)); } protected function defaultFilterFunction(_arg1:Array, _arg2:Object):Boolean{ var _local5:PropertyChanges; var _local6:Array; var _local7:int; var _local8:int; var _local3:int = _arg1.length; var _local4:int; while (_local4 < _local3) { _local5 = _arg1[_local4]; if (_local5.target == _arg2){ _local6 = filterProperties.concat(filterStyles); _local7 = _local6.length; _local8 = 0; while (_local8 < _local7) { if (((!((_local5.start[_local6[_local8]] === undefined))) && (!((_local5.end[_local6[_local8]] == _local5.start[_local6[_local8]]))))){ return (true); }; _local8++; }; }; _local4++; }; return (false); } public function filterInstance(_arg1:Array, _arg2:IEffectTargetHost, _arg3:Object):Boolean{ if (filterFunction.length == 2){ return (filterFunction(_arg1, _arg3)); }; return (filterFunction(_arg1, _arg2, _arg3)); } } }//package mx.effects
Section 528
//IAbstractEffect (mx.effects.IAbstractEffect) package mx.effects { import flash.events.*; public interface IAbstractEffect extends IEventDispatcher { } }//package mx.effects
Section 529
//IEffect (mx.effects.IEffect) package mx.effects { import flash.events.*; public interface IEffect extends IAbstractEffect { function captureMoreStartValues(_arg1:Array):void; function get triggerEvent():Event; function set targets(_arg1:Array):void; function captureStartValues():void; function get hideFocusRing():Boolean; function get customFilter():EffectTargetFilter; function get effectTargetHost():IEffectTargetHost; function set triggerEvent(_arg1:Event):void; function set hideFocusRing(_arg1:Boolean):void; function captureEndValues():void; function get target():Object; function set customFilter(_arg1:EffectTargetFilter):void; function get duration():Number; function get perElementOffset():Number; function get targets():Array; function set effectTargetHost(_arg1:IEffectTargetHost):void; function get relevantStyles():Array; function set relevantProperties(_arg1:Array):void; function set target(_arg1:Object):void; function get className():String; function get isPlaying():Boolean; function deleteInstance(_arg1:IEffectInstance):void; function set duration(_arg1:Number):void; function createInstances(_arg1:Array=null):Array; function end(_arg1:IEffectInstance=null):void; function set perElementOffset(_arg1:Number):void; function resume():void; function stop():void; function set filter(_arg1:String):void; function createInstance(_arg1:Object=null):IEffectInstance; function play(_arg1:Array=null, _arg2:Boolean=false):Array; function pause():void; function get relevantProperties():Array; function get filter():String; function reverse():void; function getAffectedProperties():Array; function set relevantStyles(_arg1:Array):void; } }//package mx.effects
Section 530
//IEffectInstance (mx.effects.IEffectInstance) package mx.effects { import flash.events.*; import mx.effects.effectClasses.*; public interface IEffectInstance { function get playheadTime():Number; function get triggerEvent():Event; function set triggerEvent(_arg1:Event):void; function get hideFocusRing():Boolean; function initEffect(_arg1:Event):void; function set startDelay(_arg1:int):void; function get effectTargetHost():IEffectTargetHost; function finishEffect():void; function set hideFocusRing(_arg1:Boolean):void; function finishRepeat():void; function set repeatDelay(_arg1:int):void; function get effect():IEffect; function startEffect():void; function get duration():Number; function get target():Object; function get startDelay():int; function stop():void; function set effectTargetHost(_arg1:IEffectTargetHost):void; function set propertyChanges(_arg1:PropertyChanges):void; function set effect(_arg1:IEffect):void; function get className():String; function set duration(_arg1:Number):void; function set target(_arg1:Object):void; function end():void; function resume():void; function get propertyChanges():PropertyChanges; function set repeatCount(_arg1:int):void; function reverse():void; function get repeatCount():int; function pause():void; function get repeatDelay():int; function set suspendBackgroundProcessing(_arg1:Boolean):void; function play():void; function get suspendBackgroundProcessing():Boolean; } }//package mx.effects
Section 531
//IEffectTargetHost (mx.effects.IEffectTargetHost) package mx.effects { public interface IEffectTargetHost { function unconstrainRenderer(_arg1:Object):void; function removeDataEffectItem(_arg1:Object):void; function getRendererSemanticValue(_arg1:Object, _arg2:String):Object; function addDataEffectItem(_arg1:Object):void; } }//package mx.effects
Section 532
//Tween (mx.effects.Tween) package mx.effects { import mx.core.*; import flash.events.*; import mx.events.*; import flash.utils.*; public class Tween extends EventDispatcher { private var started:Boolean;// = false private var previousUpdateTime:Number; public var duration:Number;// = 3000 private var id:int; private var arrayMode:Boolean; private var _isPlaying:Boolean;// = true private var startValue:Object; public var listener:Object; private var userEquation:Function; mx_internal var needToLayout:Boolean;// = false private var updateFunction:Function; private var _doSeek:Boolean;// = false mx_internal var startTime:Number; private var endFunction:Function; private var endValue:Object; private var _doReverse:Boolean;// = false private var _playheadTime:Number;// = 0 private var _invertValues:Boolean;// = false private var maxDelay:Number;// = 87.5 mx_internal static const VERSION:String = "3.0.0.0"; private static var timer:Timer = null; private static var interval:Number = 10; mx_internal static var activeTweens:Array = []; mx_internal static var intervalTime:Number = NAN; public function Tween(_arg1:Object, _arg2:Object, _arg3:Object, _arg4:Number=-1, _arg5:Number=-1, _arg6:Function=null, _arg7:Function=null){ userEquation = defaultEasingFunction; super(); if (!_arg1){ return; }; if ((_arg2 is Array)){ arrayMode = true; }; this.listener = _arg1; this.startValue = _arg2; this.endValue = _arg3; if (((!(isNaN(_arg4))) && (!((_arg4 == -1))))){ this.duration = _arg4; }; if (((!(isNaN(_arg5))) && (!((_arg5 == -1))))){ maxDelay = (1000 / _arg5); }; this.updateFunction = _arg6; this.endFunction = _arg7; if (_arg4 == 0){ id = -1; endTween(); } else { Tween.addTween(this); }; } mx_internal function get playheadTime():Number{ return (_playheadTime); } public function stop():void{ if (id >= 0){ Tween.removeTweenAt(id); }; } mx_internal function get playReversed():Boolean{ return (_invertValues); } mx_internal function set playReversed(_arg1:Boolean):void{ _invertValues = _arg1; } public function resume():void{ _isPlaying = true; startTime = (intervalTime - _playheadTime); if (_doReverse){ reverse(); _doReverse = false; }; } public function setTweenHandlers(_arg1:Function, _arg2:Function):void{ this.updateFunction = _arg1; this.endFunction = _arg2; } private function defaultEasingFunction(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 / 2) * (Math.sin((Math.PI * ((_arg1 / _arg4) - 0.5))) + 1)) + _arg2)); } public function set easingFunction(_arg1:Function):void{ userEquation = _arg1; } public function endTween():void{ var _local1:TweenEvent = new TweenEvent(TweenEvent.TWEEN_END); var _local2:Object = getCurrentValue(duration); _local1.value = _local2; dispatchEvent(_local1); if (endFunction != null){ endFunction(_local2); } else { listener.onTweenEnd(_local2); }; if (id >= 0){ Tween.removeTweenAt(id); }; } public function reverse():void{ if (_isPlaying){ _doReverse = false; seek((duration - _playheadTime)); _invertValues = !(_invertValues); } else { _doReverse = !(_doReverse); }; } mx_internal function getCurrentValue(_arg1:Number):Object{ var _local2:Array; var _local3:int; var _local4:int; if (duration == 0){ return (endValue); }; if (_invertValues){ _arg1 = (duration - _arg1); }; if (arrayMode){ _local2 = []; _local3 = startValue.length; _local4 = 0; while (_local4 < _local3) { _local2[_local4] = userEquation(_arg1, startValue[_local4], (endValue[_local4] - startValue[_local4]), duration); _local4++; }; return (_local2); //unresolved jump }; return (userEquation(_arg1, startValue, (Number(endValue) - Number(startValue)), duration)); } mx_internal function doInterval():Boolean{ var _local2:Number; var _local3:Object; var _local4:TweenEvent; var _local5:TweenEvent; var _local1:Boolean; previousUpdateTime = intervalTime; if (((_isPlaying) || (_doSeek))){ _local2 = (intervalTime - startTime); _playheadTime = _local2; _local3 = getCurrentValue(_local2); if ((((_local2 >= duration)) && (!(_doSeek)))){ endTween(); _local1 = true; } else { if (!started){ _local5 = new TweenEvent(TweenEvent.TWEEN_START); dispatchEvent(_local5); started = true; }; _local4 = new TweenEvent(TweenEvent.TWEEN_UPDATE); _local4.value = _local3; dispatchEvent(_local4); if (updateFunction != null){ updateFunction(_local3); } else { listener.onTweenUpdate(_local3); }; }; _doSeek = false; }; return (_local1); } public function pause():void{ _isPlaying = false; } public function seek(_arg1:Number):void{ var _local2:Number = intervalTime; previousUpdateTime = _local2; startTime = (_local2 - _arg1); _doSeek = true; } mx_internal static function removeTween(_arg1:Tween):void{ removeTweenAt(_arg1.id); } private static function addTween(_arg1:Tween):void{ _arg1.id = activeTweens.length; activeTweens.push(_arg1); if (!timer){ timer = new Timer(interval); timer.addEventListener(TimerEvent.TIMER, timerHandler); timer.start(); } else { timer.start(); }; if (isNaN(intervalTime)){ intervalTime = getTimer(); }; _arg1.startTime = (_arg1.previousUpdateTime = intervalTime); } private static function timerHandler(_arg1:TimerEvent):void{ var _local6:Tween; var _local2:Boolean; var _local3:Number = intervalTime; intervalTime = getTimer(); var _local4:int = activeTweens.length; var _local5:int = _local4; while (_local5 >= 0) { _local6 = Tween(activeTweens[_local5]); if (_local6){ _local6.needToLayout = false; _local6.doInterval(); if (_local6.needToLayout){ _local2 = true; }; }; _local5--; }; if (_local2){ UIComponentGlobals.layoutManager.validateNow(); }; _arg1.updateAfterEvent(); } private static function removeTweenAt(_arg1:int):void{ var _local4:Tween; if ((((_arg1 >= activeTweens.length)) || ((_arg1 < 0)))){ return; }; activeTweens.splice(_arg1, 1); var _local2:int = activeTweens.length; var _local3:int = _arg1; while (_local3 < _local2) { _local4 = Tween(activeTweens[_local3]); _local4.id--; _local3++; }; if (_local2 == 0){ intervalTime = NaN; timer.reset(); }; } } }//package mx.effects
Section 533
//TweenEffect (mx.effects.TweenEffect) package mx.effects { import flash.events.*; import mx.events.*; import mx.effects.effectClasses.*; public class TweenEffect extends Effect { public var easingFunction:Function;// = null mx_internal static const VERSION:String = "3.0.0.0"; public function TweenEffect(_arg1:Object=null){ super(_arg1); instanceClass = TweenEffectInstance; } protected function tweenEventHandler(_arg1:TweenEvent):void{ dispatchEvent(_arg1); } override protected function initInstance(_arg1:IEffectInstance):void{ super.initInstance(_arg1); TweenEffectInstance(_arg1).easingFunction = easingFunction; EventDispatcher(_arg1).addEventListener(TweenEvent.TWEEN_START, tweenEventHandler); EventDispatcher(_arg1).addEventListener(TweenEvent.TWEEN_UPDATE, tweenEventHandler); EventDispatcher(_arg1).addEventListener(TweenEvent.TWEEN_END, tweenEventHandler); } } }//package mx.effects
Section 534
//Zoom (mx.effects.Zoom) package mx.effects { import mx.effects.effectClasses.*; public class Zoom extends TweenEffect { public var zoomHeightFrom:Number; public var zoomWidthTo:Number; public var originX:Number; public var zoomHeightTo:Number; public var originY:Number; public var captureRollEvents:Boolean; public var zoomWidthFrom:Number; mx_internal static const VERSION:String = "3.0.0.0"; private static var AFFECTED_PROPERTIES:Array = ["scaleX", "scaleY", "x", "y", "width", "height"]; public function Zoom(_arg1:Object=null){ super(_arg1); instanceClass = ZoomInstance; applyActualDimensions = false; relevantProperties = ["scaleX", "scaleY", "width", "height", "visible"]; } override protected function initInstance(_arg1:IEffectInstance):void{ var _local2:ZoomInstance; super.initInstance(_arg1); _local2 = ZoomInstance(_arg1); _local2.zoomWidthFrom = zoomWidthFrom; _local2.zoomWidthTo = zoomWidthTo; _local2.zoomHeightFrom = zoomHeightFrom; _local2.zoomHeightTo = zoomHeightTo; _local2.originX = originX; _local2.originY = originY; _local2.captureRollEvents = captureRollEvents; } override public function getAffectedProperties():Array{ return (AFFECTED_PROPERTIES); } } }//package mx.effects
Section 535
//ChildExistenceChangedEvent (mx.events.ChildExistenceChangedEvent) package mx.events { import flash.display.*; import flash.events.*; public class ChildExistenceChangedEvent extends Event { public var relatedObject:DisplayObject; public static const CHILD_REMOVE:String = "childRemove"; mx_internal static const VERSION:String = "3.0.0.0"; public static const OVERLAY_CREATED:String = "overlayCreated"; public static const CHILD_ADD:String = "childAdd"; public function ChildExistenceChangedEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:DisplayObject=null){ super(_arg1, _arg2, _arg3); this.relatedObject = _arg4; } override public function clone():Event{ return (new ChildExistenceChangedEvent(type, bubbles, cancelable, relatedObject)); } } }//package mx.events
Section 536
//DragEvent (mx.events.DragEvent) package mx.events { import mx.core.*; import flash.events.*; public class DragEvent extends MouseEvent { public var draggedItem:Object; public var action:String; public var dragInitiator:IUIComponent; public var dragSource:DragSource; public static const DRAG_DROP:String = "dragDrop"; public static const DRAG_COMPLETE:String = "dragComplete"; public static const DRAG_EXIT:String = "dragExit"; public static const DRAG_ENTER:String = "dragEnter"; public static const DRAG_START:String = "dragStart"; mx_internal static const VERSION:String = "3.0.0.0"; public static const DRAG_OVER:String = "dragOver"; public function DragEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=true, _arg4:IUIComponent=null, _arg5:DragSource=null, _arg6:String=null, _arg7:Boolean=false, _arg8:Boolean=false, _arg9:Boolean=false){ super(_arg1, _arg2, _arg3); this.dragInitiator = _arg4; this.dragSource = _arg5; this.action = _arg6; this.ctrlKey = _arg7; this.altKey = _arg8; this.shiftKey = _arg9; } override public function clone():Event{ var _local1:DragEvent = new DragEvent(type, bubbles, cancelable, dragInitiator, dragSource, action, ctrlKey, altKey, shiftKey); _local1.relatedObject = this.relatedObject; _local1.localX = this.localX; _local1.localY = this.localY; return (_local1); } } }//package mx.events
Section 537
//DynamicEvent (mx.events.DynamicEvent) package mx.events { import flash.events.*; public dynamic class DynamicEvent extends Event { mx_internal static const VERSION:String = "3.0.0.0"; public function DynamicEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function clone():Event{ var _local2:String; var _local1:DynamicEvent = new DynamicEvent(type, bubbles, cancelable); for (_local2 in this) { _local1[_local2] = this[_local2]; }; return (_local1); } } }//package mx.events
Section 538
//EffectEvent (mx.events.EffectEvent) package mx.events { import flash.events.*; import mx.effects.*; public class EffectEvent extends Event { public var effectInstance:IEffectInstance; public static const EFFECT_START:String = "effectStart"; mx_internal static const VERSION:String = "3.0.0.0"; public static const EFFECT_END:String = "effectEnd"; public function EffectEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:IEffectInstance=null){ super(_arg1, _arg2, _arg3); this.effectInstance = _arg4; } override public function clone():Event{ return (new EffectEvent(type, bubbles, cancelable, effectInstance)); } } }//package mx.events
Section 539
//FlexEvent (mx.events.FlexEvent) package mx.events { import mx.core.*; import flash.events.*; public class FlexEvent extends Event { public static const ADD:String = "add"; public static const TRANSFORM_CHANGE:String = "transformChange"; public static const INIT_COMPLETE:String = "initComplete"; public static const REMOVE:String = "remove"; public static const BUTTON_DOWN:String = "buttonDown"; public static const EXIT_STATE:String = "exitState"; public static const CREATION_COMPLETE:String = "creationComplete"; public static const REPEAT:String = "repeat"; public static const LOADING:String = "loading"; public static const REPEAT_START:String = "repeatStart"; public static const INITIALIZE:String = "initialize"; public static const ENTER_STATE:String = "enterState"; public static const URL_CHANGED:String = "urlChanged"; public static const REPEAT_END:String = "repeatEnd"; mx_internal static const VERSION:String = "3.0.0.0"; public static const HIDE:String = "hide"; public static const ENTER:String = "enter"; public static const PRELOADER_DONE:String = "preloaderDone"; public static const CURSOR_UPDATE:String = "cursorUpdate"; public static const PREINITIALIZE:String = "preinitialize"; public static const INVALID:String = "invalid"; public static const IDLE:String = "idle"; public static const VALID:String = "valid"; public static const DATA_CHANGE:String = "dataChange"; public static const APPLICATION_COMPLETE:String = "applicationComplete"; public static const VALUE_COMMIT:String = "valueCommit"; public static const UPDATE_COMPLETE:String = "updateComplete"; public static const INIT_PROGRESS:String = "initProgress"; public static const SHOW:String = "show"; public function FlexEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function clone():Event{ return (new FlexEvent(type, bubbles, cancelable)); } } }//package mx.events
Section 540
//FlexMouseEvent (mx.events.FlexMouseEvent) package mx.events { import flash.display.*; import flash.events.*; public class FlexMouseEvent extends MouseEvent { public static const MOUSE_DOWN_OUTSIDE:String = "mouseDownOutside"; public static const MOUSE_WHEEL_OUTSIDE:String = "mouseWheelOutside"; mx_internal static const VERSION:String = "3.0.0.0"; public function FlexMouseEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Number=0, _arg5:Number=0, _arg6:InteractiveObject=null, _arg7:Boolean=false, _arg8:Boolean=false, _arg9:Boolean=false, _arg10:Boolean=false, _arg11:int=0){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11); } override public function clone():Event{ return (new FlexMouseEvent(type, bubbles, cancelable, localX, localY, relatedObject, ctrlKey, altKey, shiftKey, buttonDown, delta)); } } }//package mx.events
Section 541
//IndexChangedEvent (mx.events.IndexChangedEvent) package mx.events { import flash.display.*; import flash.events.*; public class IndexChangedEvent extends Event { public var newIndex:Number; public var triggerEvent:Event; public var relatedObject:DisplayObject; public var oldIndex:Number; public static const HEADER_SHIFT:String = "headerShift"; public static const CHANGE:String = "change"; mx_internal static const VERSION:String = "3.0.0.0"; public static const CHILD_INDEX_CHANGE:String = "childIndexChange"; public function IndexChangedEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:DisplayObject=null, _arg5:Number=-1, _arg6:Number=-1, _arg7:Event=null){ super(_arg1, _arg2, _arg3); this.relatedObject = _arg4; this.oldIndex = _arg5; this.newIndex = _arg6; this.triggerEvent = _arg7; } override public function clone():Event{ return (new IndexChangedEvent(type, bubbles, cancelable, relatedObject, oldIndex, newIndex, triggerEvent)); } } }//package mx.events
Section 542
//ModuleEvent (mx.events.ModuleEvent) package mx.events { import mx.core.*; import flash.events.*; import mx.modules.*; public class ModuleEvent extends ProgressEvent { public var errorText:String; private var _module:IModuleInfo; public static const READY:String = "ready"; public static const ERROR:String = "error"; public static const PROGRESS:String = "progress"; mx_internal static const VERSION:String = "3.0.0.0"; public static const SETUP:String = "setup"; public static const UNLOAD:String = "unload"; public function ModuleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null, _arg7:IModuleInfo=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; this._module = _arg7; } public function get module():IModuleInfo{ if (_module){ return (_module); }; return ((target as IModuleInfo)); } override public function clone():Event{ return (new ModuleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText, module)); } } }//package mx.events
Section 543
//MoveEvent (mx.events.MoveEvent) package mx.events { import flash.events.*; public class MoveEvent extends Event { public var oldX:Number; public var oldY:Number; mx_internal static const VERSION:String = "3.0.0.0"; public static const MOVE:String = "move"; public function MoveEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Number=NaN, _arg5:Number=NaN){ super(_arg1, _arg2, _arg3); this.oldX = _arg4; this.oldY = _arg5; } override public function clone():Event{ return (new MoveEvent(type, bubbles, cancelable, oldX, oldY)); } } }//package mx.events
Section 544
//PropertyChangeEvent (mx.events.PropertyChangeEvent) package mx.events { import flash.events.*; public class PropertyChangeEvent extends Event { public var newValue:Object; public var kind:String; public var property:Object; public var oldValue:Object; public var source:Object; mx_internal static const VERSION:String = "3.0.0.0"; public static const PROPERTY_CHANGE:String = "propertyChange"; public function PropertyChangeEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Object=null){ super(_arg1, _arg2, _arg3); this.kind = _arg4; this.property = _arg5; this.oldValue = _arg6; this.newValue = _arg7; this.source = _arg8; } override public function clone():Event{ return (new PropertyChangeEvent(type, bubbles, cancelable, kind, property, oldValue, newValue, source)); } public static function createUpdateEvent(_arg1:Object, _arg2:Object, _arg3:Object, _arg4:Object):PropertyChangeEvent{ var _local5:PropertyChangeEvent = new PropertyChangeEvent(PROPERTY_CHANGE); _local5.kind = PropertyChangeEventKind.UPDATE; _local5.oldValue = _arg3; _local5.newValue = _arg4; _local5.source = _arg1; _local5.property = _arg2; return (_local5); } } }//package mx.events
Section 545
//PropertyChangeEventKind (mx.events.PropertyChangeEventKind) package mx.events { public final class PropertyChangeEventKind { mx_internal static const VERSION:String = "3.0.0.0"; public static const UPDATE:String = "update"; public static const DELETE:String = "delete"; } }//package mx.events
Section 546
//ResizeEvent (mx.events.ResizeEvent) package mx.events { import flash.events.*; public class ResizeEvent extends Event { public var oldHeight:Number; public var oldWidth:Number; mx_internal static const VERSION:String = "3.0.0.0"; public static const RESIZE:String = "resize"; public function ResizeEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Number=NaN, _arg5:Number=NaN){ super(_arg1, _arg2, _arg3); this.oldWidth = _arg4; this.oldHeight = _arg5; } override public function clone():Event{ return (new ResizeEvent(type, bubbles, cancelable, oldWidth, oldHeight)); } } }//package mx.events
Section 547
//ResourceEvent (mx.events.ResourceEvent) package mx.events { import mx.core.*; import flash.events.*; public class ResourceEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.0.0.0"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function ResourceEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } override public function clone():Event{ return (new ResourceEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 548
//RSLEvent (mx.events.RSLEvent) package mx.events { import mx.core.*; import flash.events.*; import flash.net.*; public class RSLEvent extends ProgressEvent { public var errorText:String; public var rslIndex:int; public var rslTotal:int; public var url:URLRequest; public static const RSL_PROGRESS:String = "rslProgress"; public static const RSL_ERROR:String = "rslError"; mx_internal static const VERSION:String = "3.0.0.0"; public static const RSL_COMPLETE:String = "rslComplete"; public function RSLEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:int=-1, _arg5:int=-1, _arg6:int=-1, _arg7:int=-1, _arg8:URLRequest=null, _arg9:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.rslIndex = _arg6; this.rslTotal = _arg7; this.url = _arg8; this.errorText = _arg9; } override public function clone():Event{ return (new RSLEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, rslIndex, rslTotal, url, errorText)); } } }//package mx.events
Section 549
//ScrollEvent (mx.events.ScrollEvent) package mx.events { import flash.events.*; public class ScrollEvent extends Event { public var detail:String; public var delta:Number; public var position:Number; public var direction:String; mx_internal static const VERSION:String = "3.0.0.0"; public static const SCROLL:String = "scroll"; public function ScrollEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:Number=NaN, _arg6:String=null, _arg7:Number=NaN){ super(_arg1, _arg2, _arg3); this.detail = _arg4; this.position = _arg5; this.direction = _arg6; this.delta = _arg7; } override public function clone():Event{ return (new ScrollEvent(type, bubbles, cancelable, detail, position, direction, delta)); } } }//package mx.events
Section 550
//ScrollEventDetail (mx.events.ScrollEventDetail) package mx.events { public final class ScrollEventDetail { public static const LINE_UP:String = "lineUp"; public static const AT_RIGHT:String = "atRight"; public static const PAGE_UP:String = "pageUp"; public static const LINE_DOWN:String = "lineDown"; public static const PAGE_DOWN:String = "pageDown"; public static const AT_LEFT:String = "atLeft"; public static const PAGE_RIGHT:String = "pageRight"; public static const THUMB_POSITION:String = "thumbPosition"; public static const AT_TOP:String = "atTop"; public static const LINE_LEFT:String = "lineLeft"; public static const AT_BOTTOM:String = "atBottom"; public static const LINE_RIGHT:String = "lineRight"; public static const THUMB_TRACK:String = "thumbTrack"; public static const PAGE_LEFT:String = "pageLeft"; mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.events
Section 551
//ScrollEventDirection (mx.events.ScrollEventDirection) package mx.events { public final class ScrollEventDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.events
Section 552
//StateChangeEvent (mx.events.StateChangeEvent) package mx.events { import flash.events.*; public class StateChangeEvent extends Event { public var newState:String; public var oldState:String; public static const CURRENT_STATE_CHANGING:String = "currentStateChanging"; public static const CURRENT_STATE_CHANGE:String = "currentStateChange"; mx_internal static const VERSION:String = "3.0.0.0"; public function StateChangeEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:String=null){ super(_arg1, _arg2, _arg3); this.oldState = _arg4; this.newState = _arg5; } override public function clone():Event{ return (new StateChangeEvent(type, bubbles, cancelable, oldState, newState)); } } }//package mx.events
Section 553
//StyleEvent (mx.events.StyleEvent) package mx.events { import mx.core.*; import flash.events.*; public class StyleEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.0.0.0"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function StyleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } override public function clone():Event{ return (new StyleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 554
//ToolTipEvent (mx.events.ToolTipEvent) package mx.events { import mx.core.*; import flash.events.*; public class ToolTipEvent extends Event { public var toolTip:IToolTip; public static const TOOL_TIP_SHOWN:String = "toolTipShown"; public static const TOOL_TIP_CREATE:String = "toolTipCreate"; public static const TOOL_TIP_SHOW:String = "toolTipShow"; public static const TOOL_TIP_HIDE:String = "toolTipHide"; public static const TOOL_TIP_END:String = "toolTipEnd"; mx_internal static const VERSION:String = "3.0.0.0"; public static const TOOL_TIP_START:String = "toolTipStart"; public function ToolTipEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:IToolTip=null){ super(_arg1, _arg2, _arg3); this.toolTip = _arg4; } override public function clone():Event{ return (new ToolTipEvent(type, bubbles, cancelable, toolTip)); } } }//package mx.events
Section 555
//TweenEvent (mx.events.TweenEvent) package mx.events { import flash.events.*; public class TweenEvent extends Event { public var value:Object; public static const TWEEN_END:String = "tweenEnd"; mx_internal static const VERSION:String = "3.0.0.0"; public static const TWEEN_UPDATE:String = "tweenUpdate"; public static const TWEEN_START:String = "tweenStart"; public function TweenEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Object=null){ super(_arg1, _arg2, _arg3); this.value = _arg4; } override public function clone():Event{ return (new TweenEvent(type, bubbles, cancelable, value)); } } }//package mx.events
Section 556
//ValidationResultEvent (mx.events.ValidationResultEvent) package mx.events { import flash.events.*; public class ValidationResultEvent extends Event { public var results:Array; public var field:String; public static const INVALID:String = "invalid"; mx_internal static const VERSION:String = "3.0.0.0"; public static const VALID:String = "valid"; public function ValidationResultEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:Array=null){ super(_arg1, _arg2, _arg3); this.field = _arg4; this.results = _arg5; } public function get message():String{ var _local1 = ""; var _local2:int = results.length; var _local3:int; while (_local3 < _local2) { if (results[_local3].isError){ _local1 = (_local1 + ((_local1 == "")) ? "" : "\n"); _local1 = (_local1 + results[_local3].errorMessage); }; _local3++; }; return (_local1); } override public function clone():Event{ return (new ValidationResultEvent(type, bubbles, cancelable, field, results)); } } }//package mx.events
Section 557
//RectangularDropShadow (mx.graphics.RectangularDropShadow) package mx.graphics { import flash.display.*; import flash.geom.*; import mx.core.*; import mx.utils.*; import flash.filters.*; public class RectangularDropShadow { private var leftShadow:BitmapData; private var _tlRadius:Number;// = 0 private var _trRadius:Number;// = 0 private var _angle:Number;// = 45 private var topShadow:BitmapData; private var _distance:Number;// = 4 private var rightShadow:BitmapData; private var _alpha:Number;// = 0.4 private var shadow:BitmapData; private var _brRadius:Number;// = 0 private var _blRadius:Number;// = 0 private var _color:int;// = 0 private var bottomShadow:BitmapData; private var changed:Boolean;// = true mx_internal static const VERSION:String = "3.0.0.0"; public function get blRadius():Number{ return (_blRadius); } public function set brRadius(_arg1:Number):void{ if (_brRadius != _arg1){ _brRadius = _arg1; changed = true; }; } public function set color(_arg1:int):void{ if (_color != _arg1){ _color = _arg1; changed = true; }; } public function drawShadow(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; if (changed){ createShadowBitmaps(); changed = false; }; _arg4 = Math.ceil(_arg4); _arg5 = Math.ceil(_arg5); var _local6:int = (leftShadow) ? leftShadow.width : 0; var _local7:int = (rightShadow) ? rightShadow.width : 0; var _local8:int = (topShadow) ? topShadow.height : 0; var _local9:int = (bottomShadow) ? bottomShadow.height : 0; var _local10:int = (_local6 + _local7); var _local11:int = (_local8 + _local9); var _local12:Number = ((_arg5 + _local11) / 2); var _local13:Number = ((_arg4 + _local10) / 2); var _local14:Matrix = new Matrix(); if (((leftShadow) || (topShadow))){ _local15 = Math.min((tlRadius + _local10), _local13); _local16 = Math.min((tlRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (_arg3 - _local8), _local15, _local16); _arg1.endFill(); }; if (((rightShadow) || (topShadow))){ _local17 = Math.min((trRadius + _local10), _local13); _local18 = Math.min((trRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local17), (_arg3 - _local8), _local17, _local18); _arg1.endFill(); }; if (((leftShadow) || (bottomShadow))){ _local19 = Math.min((blRadius + _local10), _local13); _local20 = Math.min((blRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (((_arg3 + _arg5) + _local9) - _local20), _local19, _local20); _arg1.endFill(); }; if (((rightShadow) || (bottomShadow))){ _local21 = Math.min((brRadius + _local10), _local13); _local22 = Math.min((brRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local21), (((_arg3 + _arg5) + _local9) - _local22), _local21, _local22); _arg1.endFill(); }; if (leftShadow){ _local14.tx = (_arg2 - _local6); _local14.ty = 0; _arg1.beginBitmapFill(leftShadow, _local14); _arg1.drawRect((_arg2 - _local6), ((_arg3 - _local8) + _local16), _local6, ((((_arg5 + _local8) + _local9) - _local16) - _local20)); _arg1.endFill(); }; if (rightShadow){ _local14.tx = (_arg2 + _arg4); _local14.ty = 0; _arg1.beginBitmapFill(rightShadow, _local14); _arg1.drawRect((_arg2 + _arg4), ((_arg3 - _local8) + _local18), _local7, ((((_arg5 + _local8) + _local9) - _local18) - _local22)); _arg1.endFill(); }; if (topShadow){ _local14.tx = 0; _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(topShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local15), (_arg3 - _local8), ((((_arg4 + _local6) + _local7) - _local15) - _local17), _local8); _arg1.endFill(); }; if (bottomShadow){ _local14.tx = 0; _local14.ty = (_arg3 + _arg5); _arg1.beginBitmapFill(bottomShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local19), (_arg3 + _arg5), ((((_arg4 + _local6) + _local7) - _local19) - _local21), _local9); _arg1.endFill(); }; } public function get brRadius():Number{ return (_brRadius); } public function get angle():Number{ return (_angle); } private function createShadowBitmaps():void{ var _local1:Number = ((Math.max(tlRadius, blRadius) + (2 * distance)) + Math.max(trRadius, brRadius)); var _local2:Number = ((Math.max(tlRadius, trRadius) + (2 * distance)) + Math.max(blRadius, brRadius)); if ((((_local1 < 0)) || ((_local2 < 0)))){ return; }; var _local3:Shape = new FlexShape(); var _local4:Graphics = _local3.graphics; _local4.beginFill(0xFFFFFF); GraphicsUtil.drawRoundRectComplex(_local4, 0, 0, _local1, _local2, tlRadius, trRadius, blRadius, brRadius); _local4.endFill(); var _local5:BitmapData = new BitmapData(_local1, _local2, true, 0); _local5.draw(_local3, new Matrix()); var _local6:DropShadowFilter = new DropShadowFilter(distance, angle, color, alpha); _local6.knockout = true; var _local7:Rectangle = new Rectangle(0, 0, _local1, _local2); var _local8:Rectangle = _local5.generateFilterRect(_local7, _local6); var _local9:Number = (_local7.left - _local8.left); var _local10:Number = (_local8.right - _local7.right); var _local11:Number = (_local7.top - _local8.top); var _local12:Number = (_local8.bottom - _local7.bottom); shadow = new BitmapData(_local8.width, _local8.height); shadow.applyFilter(_local5, _local7, new Point(_local9, _local11), _local6); var _local13:Point = new Point(0, 0); var _local14:Rectangle = new Rectangle(); if (_local9 > 0){ _local14.x = 0; _local14.y = ((tlRadius + _local11) + _local12); _local14.width = _local9; _local14.height = 1; leftShadow = new BitmapData(_local9, 1); leftShadow.copyPixels(shadow, _local14, _local13); } else { leftShadow = null; }; if (_local10 > 0){ _local14.x = (shadow.width - _local10); _local14.y = ((trRadius + _local11) + _local12); _local14.width = _local10; _local14.height = 1; rightShadow = new BitmapData(_local10, 1); rightShadow.copyPixels(shadow, _local14, _local13); } else { rightShadow = null; }; if (_local11 > 0){ _local14.x = ((tlRadius + _local9) + _local10); _local14.y = 0; _local14.width = 1; _local14.height = _local11; topShadow = new BitmapData(1, _local11); topShadow.copyPixels(shadow, _local14, _local13); } else { topShadow = null; }; if (_local12 > 0){ _local14.x = ((blRadius + _local9) + _local10); _local14.y = (shadow.height - _local12); _local14.width = 1; _local14.height = _local12; bottomShadow = new BitmapData(1, _local12); bottomShadow.copyPixels(shadow, _local14, _local13); } else { bottomShadow = null; }; } public function get alpha():Number{ return (_alpha); } public function get color():int{ return (_color); } public function set angle(_arg1:Number):void{ if (_angle != _arg1){ _angle = _arg1; changed = true; }; } public function set trRadius(_arg1:Number):void{ if (_trRadius != _arg1){ _trRadius = _arg1; changed = true; }; } public function set tlRadius(_arg1:Number):void{ if (_tlRadius != _arg1){ _tlRadius = _arg1; changed = true; }; } public function get trRadius():Number{ return (_trRadius); } public function set distance(_arg1:Number):void{ if (_distance != _arg1){ _distance = _arg1; changed = true; }; } public function get distance():Number{ return (_distance); } public function get tlRadius():Number{ return (_tlRadius); } public function set alpha(_arg1:Number):void{ if (_alpha != _arg1){ _alpha = _arg1; changed = true; }; } public function set blRadius(_arg1:Number):void{ if (_blRadius != _arg1){ _blRadius = _arg1; changed = true; }; } } }//package mx.graphics
Section 558
//RoundedRectangle (mx.graphics.RoundedRectangle) package mx.graphics { import flash.geom.*; import mx.core.*; public class RoundedRectangle extends Rectangle { public var cornerRadius:Number;// = 0 mx_internal static const VERSION:String = "3.0.0.0"; public function RoundedRectangle(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0){ super(_arg1, _arg2, _arg3, _arg4); this.cornerRadius = _arg5; } } }//package mx.graphics
Section 559
//PriorityQueue (mx.managers.layoutClasses.PriorityQueue) package mx.managers.layoutClasses { import flash.display.*; import mx.core.*; import mx.managers.*; public class PriorityQueue { private var maxPriority:int;// = -1 private var arrayOfArrays:Array; private var minPriority:int;// = 0 mx_internal static const VERSION:String = "3.0.0.0"; public function PriorityQueue(){ arrayOfArrays = []; super(); } public function addObject(_arg1:Object, _arg2:int):void{ if (!arrayOfArrays[_arg2]){ arrayOfArrays[_arg2] = []; }; arrayOfArrays[_arg2].push(_arg1); if (maxPriority < minPriority){ minPriority = (maxPriority = _arg2); } else { if (_arg2 < minPriority){ minPriority = _arg2; }; if (_arg2 > maxPriority){ maxPriority = _arg2; }; }; } public function removeSmallest():Object{ var _local1:Object; if (minPriority <= maxPriority){ while (((!(arrayOfArrays[minPriority])) || ((arrayOfArrays[minPriority].length == 0)))) { minPriority++; if (minPriority > maxPriority){ return (null); }; }; _local1 = arrayOfArrays[minPriority].shift(); while (((!(arrayOfArrays[minPriority])) || ((arrayOfArrays[minPriority].length == 0)))) { minPriority++; if (minPriority > maxPriority){ break; }; }; }; return (_local1); } public function removeLargestChild(_arg1:ILayoutManagerClient):Object{ var _local5:int; var _local2:Object; var _local3:int = maxPriority; var _local4:int = _arg1.nestLevel; while (_local4 <= _local3) { if (((arrayOfArrays[_local3]) && ((arrayOfArrays[_local3].length > 0)))){ _local5 = 0; while (_local5 < arrayOfArrays[_local3].length) { if (contains(DisplayObject(_arg1), arrayOfArrays[_local3][_local5])){ _local2 = arrayOfArrays[_local3][_local5]; arrayOfArrays[_local3].splice(_local5, 1); return (_local2); }; _local5++; }; _local3--; } else { if (_local3 == maxPriority){ maxPriority--; }; _local3--; if (_local3 < _local4){ break; }; }; }; return (_local2); } public function isEmpty():Boolean{ return ((minPriority > maxPriority)); } public function removeLargest():Object{ var _local1:Object; if (minPriority <= maxPriority){ while (((!(arrayOfArrays[maxPriority])) || ((arrayOfArrays[maxPriority].length == 0)))) { maxPriority--; if (maxPriority < minPriority){ return (null); }; }; _local1 = arrayOfArrays[maxPriority].shift(); while (((!(arrayOfArrays[maxPriority])) || ((arrayOfArrays[maxPriority].length == 0)))) { maxPriority--; if (maxPriority < minPriority){ break; }; }; }; return (_local1); } public function removeSmallestChild(_arg1:ILayoutManagerClient):Object{ var _local4:int; var _local2:Object; var _local3:int = _arg1.nestLevel; while (_local3 <= maxPriority) { if (((arrayOfArrays[_local3]) && ((arrayOfArrays[_local3].length > 0)))){ _local4 = 0; while (_local4 < arrayOfArrays[_local3].length) { if (contains(DisplayObject(_arg1), arrayOfArrays[_local3][_local4])){ _local2 = arrayOfArrays[_local3][_local4]; arrayOfArrays[_local3].splice(_local4, 1); return (_local2); }; _local4++; }; _local3++; } else { if (_local3 == minPriority){ minPriority++; }; _local3++; if (_local3 > maxPriority){ break; }; }; }; return (_local2); } public function removeAll():void{ arrayOfArrays.splice(0); minPriority = 0; maxPriority = -1; } private function contains(_arg1:DisplayObject, _arg2:DisplayObject):Boolean{ var _local3:IChildList; if ((_arg1 is IRawChildrenContainer)){ _local3 = IRawChildrenContainer(_arg1).rawChildren; return (_local3.contains(_arg2)); }; if ((_arg1 is DisplayObjectContainer)){ return (DisplayObjectContainer(_arg1).contains(_arg2)); }; return ((_arg1 == _arg2)); } } }//package mx.managers.layoutClasses
Section 560
//CursorManager (mx.managers.CursorManager) package mx.managers { import mx.core.*; public class CursorManager { mx_internal static const VERSION:String = "3.0.0.0"; public static const NO_CURSOR:int = 0; private static var _impl:ICursorManager; private static var implClassDependency:CursorManagerImpl; public static function set currentCursorYOffset(_arg1:Number):void{ impl.currentCursorYOffset = _arg1; } mx_internal static function registerToUseBusyCursor(_arg1:Object):void{ impl.registerToUseBusyCursor(_arg1); } public static function get currentCursorID():int{ return (impl.currentCursorID); } public static function getInstance():ICursorManager{ return (impl); } public static function removeBusyCursor():void{ impl.removeBusyCursor(); } public static function setCursor(_arg1:Class, _arg2:int=2, _arg3:Number=0, _arg4:Number=0):int{ return (impl.setCursor(_arg1, _arg2, _arg3, _arg4)); } public static function set currentCursorID(_arg1:int):void{ impl.currentCursorID = _arg1; } mx_internal static function unRegisterToUseBusyCursor(_arg1:Object):void{ impl.unRegisterToUseBusyCursor(_arg1); } private static function get impl():ICursorManager{ if (!_impl){ _impl = ICursorManager(Singleton.getInstance("mx.managers::ICursorManager")); }; return (_impl); } public static function removeAllCursors():void{ impl.removeAllCursors(); } public static function setBusyCursor():void{ impl.setBusyCursor(); } public static function showCursor():void{ impl.showCursor(); } public static function hideCursor():void{ impl.hideCursor(); } public static function removeCursor(_arg1:int):void{ impl.removeCursor(_arg1); } public static function get currentCursorXOffset():Number{ return (impl.currentCursorXOffset); } public static function get currentCursorYOffset():Number{ return (impl.currentCursorYOffset); } public static function set currentCursorXOffset(_arg1:Number):void{ impl.currentCursorXOffset = _arg1; } } }//package mx.managers
Section 561
//CursorManagerImpl (mx.managers.CursorManagerImpl) package mx.managers { import flash.display.*; import flash.text.*; import mx.core.*; import flash.events.*; import mx.styles.*; import flash.ui.*; public class CursorManagerImpl implements ICursorManager { private var showSystemCursor:Boolean;// = false private var nextCursorID:int;// = 1 private var systemManager:ISystemManager;// = null private var cursorList:Array; private var _currentCursorYOffset:Number;// = 0 private var cursorHolder:Sprite; private var currentCursor:DisplayObject; private var _currentCursorID:int;// = 0 private var listenForContextMenu:Boolean;// = false private var showCustomCursor:Boolean;// = false private var initialized:Boolean;// = false private var overTextField:Boolean;// = false private var _currentCursorXOffset:Number;// = 0 private var busyCursorList:Array; private var overLink:Boolean;// = false private var sourceArray:Array; mx_internal static const VERSION:String = "3.0.0.0"; private static var instance:ICursorManager; public function CursorManagerImpl(_arg1:ISystemManager=null){ cursorList = []; busyCursorList = []; sourceArray = []; super(); if (((instance) && (!(_arg1)))){ throw (new Error("Instance already exists.")); }; if (_arg1){ this.systemManager = _arg1; } else { this.systemManager = ApplicationGlobals.application.systemManager; }; } public function set currentCursorYOffset(_arg1:Number):void{ _currentCursorYOffset = _arg1; } public function get currentCursorXOffset():Number{ return (_currentCursorXOffset); } public function removeCursor(_arg1:int):void{ var _local2:Object; var _local3:CursorQueueItem; for (_local2 in cursorList) { _local3 = cursorList[_local2]; if (_local3.cursorID == _arg1){ cursorList.splice(_local2, 1); showCurrentCursor(); break; }; }; } public function get currentCursorID():int{ return (_currentCursorID); } public function set currentCursorID(_arg1:int):void{ _currentCursorID = _arg1; } public function removeAllCursors():void{ cursorList.splice(0); showCurrentCursor(); } private function priorityCompare(_arg1:CursorQueueItem, _arg2:CursorQueueItem):int{ if (_arg1.priority < _arg2.priority){ return (-1); }; if (_arg1.priority == _arg2.priority){ return (0); }; return (1); } public function setBusyCursor():void{ var _local1:CSSStyleDeclaration = StyleManager.getStyleDeclaration("CursorManager"); var _local2:Class = _local1.getStyle("busyCursor"); busyCursorList.push(setCursor(_local2, CursorManagerPriority.LOW)); } public function showCursor():void{ if (cursorHolder){ cursorHolder.visible = true; }; } private function findSource(_arg1:Object):int{ var _local2:int = sourceArray.length; var _local3:int; while (_local3 < _local2) { if (sourceArray[_local3] === _arg1){ return (_local3); }; _local3++; }; return (-1); } private function showCurrentCursor():void{ var _local1:InteractiveObject; var _local2:InteractiveObject; var _local3:CursorQueueItem; var _local4:ISystemManager; if (cursorList.length > 0){ if (!initialized){ cursorHolder = new FlexSprite(); cursorHolder.name = "cursorHolder"; cursorHolder.mouseEnabled = false; initialized = true; }; _local3 = cursorList[0]; if (currentCursorID == CursorManager.NO_CURSOR){ Mouse.hide(); }; if (_local3.cursorID != currentCursorID){ if (cursorHolder.numChildren > 0){ cursorHolder.removeChildAt(0); }; currentCursor = new _local3.cursorClass(); if (currentCursor){ if ((currentCursor is InteractiveObject)){ InteractiveObject(currentCursor).mouseEnabled = false; }; _local4 = (_local3.systemManager) ? _local3.systemManager : ApplicationGlobals.application.systemManager; if (((systemManager) && (!((systemManager == _local4))))){ systemManager.cursorChildren.removeChild(cursorHolder); }; systemManager = _local4; if (!systemManager.cursorChildren.contains(cursorHolder)){ systemManager.cursorChildren.addChild(cursorHolder); }; cursorHolder.addChild(currentCursor); if (!listenForContextMenu){ _local1 = (systemManager.document as InteractiveObject); if (((_local1) && (_local1.contextMenu))){ _local1.contextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, contextMenu_menuSelectHandler); listenForContextMenu = true; }; _local2 = (systemManager as InteractiveObject); if (((_local2) && (_local2.contextMenu))){ _local2.contextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, contextMenu_menuSelectHandler); listenForContextMenu = true; }; }; if ((systemManager is SystemManager)){ cursorHolder.x = (SystemManager(systemManager).mouseX + _local3.x); cursorHolder.y = (SystemManager(systemManager).mouseY + _local3.y); } else { if ((systemManager is DisplayObject)){ cursorHolder.x = (DisplayObject(systemManager).mouseX + _local3.x); cursorHolder.y = (DisplayObject(systemManager).mouseY + _local3.y); } else { cursorHolder.x = _local3.x; cursorHolder.y = _local3.y; }; }; systemManager.stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true, EventPriority.CURSOR_MANAGEMENT); }; currentCursorID = _local3.cursorID; currentCursorXOffset = _local3.x; currentCursorYOffset = _local3.y; }; } else { if (currentCursorID != CursorManager.NO_CURSOR){ currentCursorID = CursorManager.NO_CURSOR; currentCursorXOffset = 0; currentCursorYOffset = 0; systemManager.stage.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true); cursorHolder.removeChild(currentCursor); if (listenForContextMenu){ _local1 = (systemManager.document as InteractiveObject); if (((_local1) && (_local1.contextMenu))){ _local1.contextMenu.removeEventListener(ContextMenuEvent.MENU_SELECT, contextMenu_menuSelectHandler); }; _local2 = (systemManager as InteractiveObject); if (((_local2) && (_local2.contextMenu))){ _local2.contextMenu.removeEventListener(ContextMenuEvent.MENU_SELECT, contextMenu_menuSelectHandler); }; listenForContextMenu = false; }; }; Mouse.show(); }; } public function get currentCursorYOffset():Number{ return (_currentCursorYOffset); } private function contextMenu_menuSelectHandler(_arg1:ContextMenuEvent):void{ showCustomCursor = true; systemManager.stage.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler); } public function hideCursor():void{ if (cursorHolder){ cursorHolder.visible = false; }; } public function registerToUseBusyCursor(_arg1:Object):void{ if (((_arg1) && ((_arg1 is EventDispatcher)))){ _arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler); _arg1.addEventListener(Event.COMPLETE, completeHandler); _arg1.addEventListener(IOErrorEvent.IO_ERROR, completeHandler); }; } private function completeHandler(_arg1:Event):void{ var _local2:int = findSource(_arg1.target); if (_local2 != -1){ sourceArray.splice(_local2, 1); removeBusyCursor(); }; } public function setCursor(_arg1:Class, _arg2:int=2, _arg3:Number=0, _arg4:Number=0):int{ var _local5:int = nextCursorID++; var _local6:CursorQueueItem = new CursorQueueItem(); _local6.cursorID = _local5; _local6.cursorClass = _arg1; _local6.priority = _arg2; _local6.x = _arg3; _local6.y = _arg4; if (systemManager){ _local6.systemManager = systemManager; } else { _local6.systemManager = ApplicationGlobals.application.systemManager; }; cursorList.push(_local6); cursorList.sort(priorityCompare); showCurrentCursor(); return (_local5); } private function progressHandler(_arg1:ProgressEvent):void{ var _local2:int = findSource(_arg1.target); if (_local2 == -1){ sourceArray.push(_arg1.target); setBusyCursor(); }; } public function removeBusyCursor():void{ if (busyCursorList.length > 0){ removeCursor(int(busyCursorList.pop())); }; } private function mouseMoveHandler(_arg1:MouseEvent):void{ if ((systemManager is SystemManager)){ cursorHolder.x = (SystemManager(systemManager).mouseX + currentCursorXOffset); cursorHolder.y = (SystemManager(systemManager).mouseY + currentCursorYOffset); } else { if ((systemManager is DisplayObject)){ cursorHolder.x = (DisplayObject(systemManager).mouseX + currentCursorXOffset); cursorHolder.y = (DisplayObject(systemManager).mouseY + currentCursorYOffset); } else { cursorHolder.x = currentCursorXOffset; cursorHolder.y = currentCursorYOffset; }; }; var _local2:Object = _arg1.target; if (((((!(overTextField)) && ((_local2 is TextField)))) && ((_local2.type == TextFieldType.INPUT)))){ overTextField = true; showSystemCursor = true; } else { if (((overTextField) && (!((((_local2 is TextField)) && ((_local2.type == TextFieldType.INPUT))))))){ overTextField = false; showCustomCursor = true; }; }; if (showSystemCursor){ showSystemCursor = false; cursorHolder.visible = false; Mouse.show(); }; if (showCustomCursor){ showCustomCursor = false; cursorHolder.visible = true; Mouse.hide(); }; } public function unRegisterToUseBusyCursor(_arg1:Object):void{ if (((_arg1) && ((_arg1 is EventDispatcher)))){ _arg1.removeEventListener(ProgressEvent.PROGRESS, progressHandler); _arg1.removeEventListener(Event.COMPLETE, completeHandler); _arg1.removeEventListener(IOErrorEvent.IO_ERROR, completeHandler); }; } private function mouseOverHandler(_arg1:MouseEvent):void{ systemManager.stage.removeEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler); mouseMoveHandler(_arg1); } public function set currentCursorXOffset(_arg1:Number):void{ _currentCursorXOffset = _arg1; } public static function getInstance():ICursorManager{ if (!instance){ instance = new (CursorManagerImpl); }; return (instance); } } }//package mx.managers class CursorQueueItem { public var priority:int;// = 2 public var cursorClass:Class;// = null public var cursorID:int;// = 0 public var x:Number; public var y:Number; public var systemManager:ISystemManager; mx_internal static const VERSION:String = "3.0.0.0"; private function CursorQueueItem(){ } }
Section 562
//CursorManagerPriority (mx.managers.CursorManagerPriority) package mx.managers { public final class CursorManagerPriority { public static const HIGH:int = 1; public static const MEDIUM:int = 2; mx_internal static const VERSION:String = "3.0.0.0"; public static const LOW:int = 3; } }//package mx.managers
Section 563
//FocusManager (mx.managers.FocusManager) package mx.managers { import flash.display.*; import flash.text.*; import mx.core.*; import flash.events.*; import mx.events.*; import flash.ui.*; import flash.system.*; public class FocusManager implements IFocusManager { private var focusableObjects:Array; private var _showFocusIndicator:Boolean;// = false private var defButton:IButton; private var _form:IFocusManagerContainer; private var focusableCandidates:Array; private var LARGE_TAB_INDEX:int;// = 99999 private var browserFocusComponent:InteractiveObject; private var activated:Boolean;// = false private var _defaultButton:IButton; private var calculateCandidates:Boolean;// = true private var _focusPane:Sprite; private var lastFocus:IFocusManagerComponent; private var _defaultButtonEnabled:Boolean;// = true public var browserMode:Boolean; private var lastAction:String; mx_internal static const VERSION:String = "3.0.0.0"; public function FocusManager(_arg1:IFocusManagerContainer, _arg2:Boolean=false){ browserMode = (((Capabilities.playerType == "ActiveX")) && (!(_arg2))); _arg1.focusManager = this; _form = _arg1; focusableObjects = []; focusPane = new FlexSprite(); focusPane.name = "focusPane"; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); _arg1.addEventListener(FlexEvent.SHOW, showHandler); _arg1.addEventListener(FlexEvent.HIDE, hideHandler); if ((_arg1.systemManager is SystemManager)){ if (_arg1 != SystemManager(_arg1.systemManager).application){ _arg1.addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); }; }; _arg1.systemManager.addFocusManager(_arg1); } public function deactivate():void{ form.systemManager.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.systemManager.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.systemManager.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.systemManager.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; var _local5:int = focusableCandidates.length; var _local6:int = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ if (((!((InteractiveObject(_local10).tabIndex == InteractiveObject(_local7).tabIndex))) && (!(_local8.selected)))){ return (getIndexOfNextObject(_arg1, _arg2, _arg3, _arg4)); }; _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ var _local2:TextField; if ((_arg1.relatedObject is TextField)){ _local2 = (_arg1.relatedObject as TextField); if ((((_local2.type == "input")) || (_local2.selectable))){ return; }; }; _arg1.preventDefault(); } mx_internal function set form(_arg1:IFocusManagerContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var doc:DisplayObjectContainer; var i:int; var rawChildren:IChildList; var o = _arg1; var skipTopLevel = _arg2; if ((((o is IFocusManagerComponent)) && (!(skipTopLevel)))){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects.push(o); calculateCandidates = true; }; o.addEventListener("tabEnabledChange", tabEnabledChangeHandler); o.addEventListener("tabIndexChange", tabIndexChangeHandler); }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener("tabChildrenChange", tabChildrenChangeHandler); if (doc.tabChildren){ if ((o is IRawChildrenContainer)){ rawChildren = IRawChildrenContainer(o).rawChildren; i = 0; while (i < rawChildren.numChildren) { try { addFocusables(rawChildren.getChildAt(i)); } catch(error:SecurityError) { }; i = (i + 1); }; } else { i = 0; while (i < doc.numChildren) { try { addFocusables(doc.getChildAt(i)); } catch(error:SecurityError) { }; i = (i + 1); }; }; }; }; } private function getMaxTabIndex():int{ var _local4:Number; var _local1:Number = 0; var _local2:int = focusableObjects.length; var _local3:int; while (_local3 < _local2) { _local4 = focusableObjects[_local3].tabIndex; if (!isNaN(_local4)){ _local1 = Math.max(_local1, _local4); }; _local3++; }; return (_local1); } private function showHandler(_arg1:Event):void{ form.systemManager.activate(form); } public function toString():String{ return ((Object(form).toString() + ".focusManager")); } private function mouseDownHandler(_arg1:MouseEvent):void{ if (_arg1.isDefaultPrevented()){ return; }; var _local2:DisplayObject = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(IFocusManagerComponent(_local2)); }; lastAction = "MOUSEDOWN"; } private function sortByDepth(_arg1:IFocusManagerComponent, _arg2:IFocusManagerComponent):Number{ var _local5:int; var _local6:String; var _local7:String; var _local3 = ""; var _local4 = ""; var _local8 = "0000"; var _local9:DisplayObject = DisplayObject(_arg1); var _local10:DisplayObject = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject = InteractiveObject(_arg1.target); } public function setFocus(_arg1:IFocusManagerComponent):void{ _arg1.setFocus(); } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ var parent = _arg1; var child = _arg2; try { return (parent.getChildIndex(child)); } catch(e:Error) { if ((parent is IRawChildrenContainer)){ return (IRawChildrenContainer(parent).rawChildren.getChildIndex(child)); }; throw (e); }; throw (new Error("FocusManager.getChildIndex failed")); } public function findFocusManagerComponent(_arg1:InteractiveObject):IFocusManagerComponent{ while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (IFocusManagerComponent(_arg1)); }; _arg1 = _arg1.parent; }; return (null); } private function sortFocusableObjectsTabIndex():void{ var _local3:IFocusManagerComponent; focusableCandidates = []; var _local1:int = focusableObjects.length; var _local2:int; while (_local2 < _local1) { _local3 = focusableObjects[_local2]; if (((_local3.tabIndex) && (!(isNaN(Number(_local3.tabIndex)))))){ focusableCandidates.push(_local3); }; _local2++; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject, _arg2:Boolean):void{ var _local3:int; if ((_arg1 is DisplayObjectContainer)){ if (!_arg2){ _arg1.removeEventListener("tabChildrenChange", tabChildrenChangeHandler); }; _local3 = 0; while (_local3 < focusableObjects.length) { if (isParent(DisplayObjectContainer(_arg1), focusableObjects[_local3])){ if (focusableObjects[_local3] == lastFocus){ lastFocus.drawFocus(false); lastFocus = null; }; focusableObjects[_local3].removeEventListener("tabEnabledChange", tabEnabledChangeHandler); focusableObjects[_local3].removeEventListener("tabIndexChange", tabIndexChangeHandler); focusableObjects.splice(_local3, 1); _local3--; calculateCandidates = true; }; _local3++; }; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ if (focusableObjects.length == 0){ return; }; var _local2:IFocusManagerComponent = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ if ((_local2 is IFocusManagerComplexComponent)){ IFocusManagerComplexComponent(_local2).assignFocus((_arg1.shiftKey) ? "bottom" : "top"); } else { setFocus(_local2); }; }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (((_arg1 is IUIComponent)) ? IUIComponent(_arg1).enabled : true))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } public function set defaultButton(_arg1:IButton):void{ var _local2:IButton = (_arg1) ? IButton(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } mx_internal function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent("click")); } public function getFocus():IFocusManagerComponent{ var _local1:InteractiveObject = form.systemManager.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is IUIComponent)){ if (!IUIComponent(_arg1).enabled){ return (false); }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject = InteractiveObject(_arg1.target); } private function hideHandler(_arg1:Event):void{ form.systemManager.deactivate(form); } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } public function hideFocus():void{ if (showFocusIndicator){ showFocusIndicator = false; if (lastFocus){ lastFocus.drawFocus(false); }; }; } private function tabChildrenChangeHandler(_arg1:Event):void{ if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; var _local2:DisplayObjectContainer = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2, true); }; } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function set focusPane(_arg1:Sprite):void{ _focusPane = _arg1; } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((_arg1.keyCode == Keyboard.TAB)) && (!(_arg1.isDefaultPrevented())))){ if (browserFocusComponent){ if (browserFocusComponent.tabIndex == LARGE_TAB_INDEX){ browserFocusComponent.tabIndex = -1; }; browserFocusComponent = null; return; }; setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local4:IUIComponent; if (!_arg1){ return (-1); }; var _local2:int = focusableCandidates.length; var _local3:int; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; _local3 = 0; while (_local3 < _local2) { _local4 = (focusableCandidates[_local3] as IUIComponent); if (((_local4) && (_local4.owns(_arg1)))){ return (_local3); }; _local3++; }; return (-1); } private function isParent(_arg1:DisplayObjectContainer, _arg2:DisplayObject):Boolean{ if ((_arg1 is IRawChildrenContainer)){ return (IRawChildrenContainer(_arg1).rawChildren.contains(_arg2)); }; return (_arg1.contains(_arg2)); } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject = DisplayObject(_arg1.target); if ((_local3 is IFocusManagerComponent)){ _local2 = 0; while (_local2 < focusableObjects.length) { if (_local3 == focusableObjects[_local2]){ if (_local3 == lastFocus){ lastFocus.drawFocus(false); lastFocus = null; }; _local3.removeEventListener("tabEnabledChange", tabEnabledChangeHandler); _local3.removeEventListener("tabIndexChange", tabIndexChangeHandler); focusableObjects.splice(_local2, 1); calculateCandidates = true; break; }; _local2++; }; }; removeFocusables(_local3, false); } mx_internal function get form():IFocusManagerContainer{ return (_form); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local3:InteractiveObject; focusableCandidates = []; var _local1:int = focusableObjects.length; var _local2:int; while (_local2 < _local1) { _local3 = focusableObjects[_local2]; if (((((_local3.tabIndex) && (!(isNaN(Number(_local3.tabIndex)))))) && ((_local3.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local3); _local2++; }; focusableCandidates.sort(sortByDepth); } public function get nextTabIndex():int{ return ((getMaxTabIndex() + 1)); } public function get defaultButton():IButton{ return (_defaultButton); } public function showFocus():void{ if (!showFocusIndicator){ showFocusIndicator = true; if (lastFocus){ lastFocus.drawFocus(true); }; }; } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject = InteractiveObject(_arg1.target); if (((lastFocus) && (!(browserMode)))){ lastFocus.setFocus(); }; lastAction = "ACTIVATE"; } public function getNextFocusManagerComponent(_arg1:Boolean=false):IFocusManagerComponent{ var _local8:IFocusManagerGroup; if (focusableObjects.length == 0){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; var _local2:DisplayObject = form.systemManager.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); var _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; var _local4:int = getIndexOfFocusedObject(_local2); var _local5:Boolean; var _local6:int = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; var _local7:int = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } public function get focusPane():Sprite{ return (_focusPane); } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } private function keyDownHandler(_arg1:KeyboardEvent):void{ var _local3:DisplayObject; var _local4:String; var _local5:int; var _local6:int; var _local7:IFocusManagerGroup; var _local2:SystemManager = (form.systemManager as SystemManager); if (_local2){ _local2.idleCounter = 0; }; if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (browserMode){ if ((((_arg1.keyCode == Keyboard.TAB)) && ((focusableCandidates.length > 0)))){ _local3 = form.systemManager.stage.focus; _local3 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local3))); _local4 = ""; if ((_local3 is IFocusManagerGroup)){ _local7 = IFocusManagerGroup(_local3); _local4 = _local7.groupName; }; _local5 = getIndexOfFocusedObject(_local3); _local6 = getIndexOfNextObject(_local5, _arg1.shiftKey, false, _local4); if (_arg1.shiftKey){ if (_local6 >= _local5){ browserFocusComponent = form.systemManager.stage.focus; if (browserFocusComponent.tabIndex == -1){ browserFocusComponent.tabIndex = 0; }; }; } else { if (_local6 <= _local5){ browserFocusComponent = form.systemManager.stage.focus; if (browserFocusComponent.tabIndex == -1){ browserFocusComponent.tabIndex = LARGE_TAB_INDEX; }; }; }; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ defButton.callLater(sendDefaultButtonEvent); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local3:IButton; var _local2:InteractiveObject = InteractiveObject(_arg1.target); if (isParent(DisplayObjectContainer(form), _local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is IButton)){ _local3 = (lastFocus as IButton); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } private function sortByTabIndex(_arg1:IFocusManagerComponent, _arg2:IFocusManagerComponent):int{ var _local3:int = _arg1.tabIndex; var _local4:int = _arg2.tabIndex; if (_local3 == -1){ _local3 = int.MAX_VALUE; }; if (_local4 == -1){ _local4 = int.MAX_VALUE; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.systemManager.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.systemManager.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.systemManager.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.systemManager.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObject = DisplayObject(form.systemManager); if (!_local2){ return (false); }; var _local3:DisplayObjectContainer = _arg1.parent; while (((_local3) && (!((_local3 == _local2))))) { if (!_local3.tabChildren){ return (false); }; _local3 = _local3.parent; }; return (true); } private function creationCompleteHandler(_arg1:FlexEvent):void{ if (((DisplayObject(form).visible) && (!(activated)))){ form.systemManager.activate(form); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function tabEnabledChangeHandler(_arg1:Event):void{ calculateCandidates = true; var _local2:InteractiveObject = InteractiveObject(_arg1.target); var _local3:int = focusableObjects.length; var _local4:int; while (_local4 < _local3) { if (focusableObjects[_local4] == _local2){ break; }; _local4++; }; if (_local2.tabEnabled){ if ((((_local4 == _local3)) && (isTabVisible(_local2)))){ focusableObjects.push(_local2); }; } else { if (_local4 < _local3){ focusableObjects.splice(_local4, 1); }; }; } } }//package mx.managers
Section 564
//ICursorManager (mx.managers.ICursorManager) package mx.managers { public interface ICursorManager { function removeAllCursors():void; function set currentCursorYOffset(_arg1:Number):void; function removeBusyCursor():void; function unRegisterToUseBusyCursor(_arg1:Object):void; function hideCursor():void; function get currentCursorID():int; function registerToUseBusyCursor(_arg1:Object):void; function setBusyCursor():void; function showCursor():void; function set currentCursorID(_arg1:int):void; function setCursor(_arg1:Class, _arg2:int=2, _arg3:Number=0, _arg4:Number=0):int; function removeCursor(_arg1:int):void; function get currentCursorXOffset():Number; function get currentCursorYOffset():Number; function set currentCursorXOffset(_arg1:Number):void; } }//package mx.managers
Section 565
//IFocusManager (mx.managers.IFocusManager) package mx.managers { import flash.display.*; import mx.core.*; public interface IFocusManager { function get focusPane():Sprite; function getFocus():IFocusManagerComponent; function deactivate():void; function set defaultButton(_arg1:IButton):void; function set focusPane(_arg1:Sprite):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function findFocusManagerComponent(_arg1:InteractiveObject):IFocusManagerComponent; function get nextTabIndex():int; function get defaultButton():IButton; function get showFocusIndicator():Boolean; function setFocus(_arg1:IFocusManagerComponent):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function getNextFocusManagerComponent(_arg1:Boolean=false):IFocusManagerComponent; } }//package mx.managers
Section 566
//IFocusManagerComplexComponent (mx.managers.IFocusManagerComplexComponent) package mx.managers { public interface IFocusManagerComplexComponent extends IFocusManagerComponent { function assignFocus(_arg1:String):void; function get hasFocusableContent():Boolean; } }//package mx.managers
Section 567
//IFocusManagerComponent (mx.managers.IFocusManagerComponent) package mx.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package mx.managers
Section 568
//IFocusManagerContainer (mx.managers.IFocusManagerContainer) package mx.managers { import flash.display.*; import flash.events.*; public interface IFocusManagerContainer extends IEventDispatcher { function set focusManager(_arg1:IFocusManager):void; function get focusManager():IFocusManager; function get systemManager():ISystemManager; function contains(_arg1:DisplayObject):Boolean; } }//package mx.managers
Section 569
//IFocusManagerGroup (mx.managers.IFocusManagerGroup) package mx.managers { public interface IFocusManagerGroup { function get groupName():String; function get selected():Boolean; function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; } }//package mx.managers
Section 570
//ILayoutManager (mx.managers.ILayoutManager) package mx.managers { import flash.events.*; public interface ILayoutManager extends IEventDispatcher { function validateNow():void; function validateClient(_arg1:ILayoutManagerClient, _arg2:Boolean=false):void; function isInvalid():Boolean; function invalidateDisplayList(_arg1:ILayoutManagerClient):void; function set usePhasedInstantiation(_arg1:Boolean):void; function invalidateSize(_arg1:ILayoutManagerClient):void; function get usePhasedInstantiation():Boolean; function invalidateProperties(_arg1:ILayoutManagerClient):void; } }//package mx.managers
Section 571
//ILayoutManagerClient (mx.managers.ILayoutManagerClient) package mx.managers { import flash.events.*; public interface ILayoutManagerClient extends IEventDispatcher { function get updateCompletePendingFlag():Boolean; function set updateCompletePendingFlag(_arg1:Boolean):void; function set initialized(_arg1:Boolean):void; function validateProperties():void; function validateDisplayList():void; function get nestLevel():int; function get initialized():Boolean; function get processedDescriptors():Boolean; function validateSize(_arg1:Boolean=false):void; function set nestLevel(_arg1:int):void; function set processedDescriptors(_arg1:Boolean):void; } }//package mx.managers
Section 572
//ISystemManager (mx.managers.ISystemManager) package mx.managers { import flash.display.*; import flash.geom.*; import mx.core.*; import flash.text.*; import flash.events.*; public interface ISystemManager extends IEventDispatcher, IChildList, IFlexModuleFactory { function get focusPane():Sprite; function get loaderInfo():LoaderInfo; function get toolTipChildren():IChildList; function set focusPane(_arg1:Sprite):void; function isTopLevel():Boolean; function get popUpChildren():IChildList; function get screen():Rectangle; function isFontFaceEmbedded(_arg1:TextFormat):Boolean; function get rawChildren():IChildList; function get topLevelSystemManager():ISystemManager; function getDefinitionByName(_arg1:String):Object; function activate(_arg1:IFocusManagerContainer):void; function deactivate(_arg1:IFocusManagerContainer):void; function get cursorChildren():IChildList; function set document(_arg1:Object):void; function get embeddedFontList():Object; function set numModalWindows(_arg1:int):void; function removeFocusManager(_arg1:IFocusManagerContainer):void; function get document():Object; function get numModalWindows():int; function addFocusManager(_arg1:IFocusManagerContainer):void; function get stage():Stage; } }//package mx.managers
Section 573
//IToolTipManager2 (mx.managers.IToolTipManager2) package mx.managers { import flash.display.*; import mx.core.*; import mx.effects.*; public interface IToolTipManager2 { function registerToolTip(_arg1:DisplayObject, _arg2:String, _arg3:String):void; function get enabled():Boolean; function set enabled(_arg1:Boolean):void; function get scrubDelay():Number; function set hideEffect(_arg1:IAbstractEffect):void; function createToolTip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String=null, _arg5:IUIComponent=null):IToolTip; function set scrubDelay(_arg1:Number):void; function set hideDelay(_arg1:Number):void; function get currentTarget():DisplayObject; function set showDelay(_arg1:Number):void; function get showDelay():Number; function get showEffect():IAbstractEffect; function get hideDelay():Number; function get currentToolTip():IToolTip; function get hideEffect():IAbstractEffect; function set currentToolTip(_arg1:IToolTip):void; function get toolTipClass():Class; function registerErrorString(_arg1:DisplayObject, _arg2:String, _arg3:String):void; function destroyToolTip(_arg1:IToolTip):void; function set toolTipClass(_arg1:Class):void; function sizeTip(_arg1:IToolTip):void; function set currentTarget(_arg1:DisplayObject):void; function set showEffect(_arg1:IAbstractEffect):void; } }//package mx.managers
Section 574
//IToolTipManagerClient (mx.managers.IToolTipManagerClient) package mx.managers { import mx.core.*; public interface IToolTipManagerClient extends IFlexDisplayObject { function get toolTip():String; function set toolTip(_arg1:String):void; } }//package mx.managers
Section 575
//LayoutManager (mx.managers.LayoutManager) package mx.managers { import flash.display.*; import mx.core.*; import flash.events.*; import mx.events.*; import mx.managers.layoutClasses.*; public class LayoutManager extends EventDispatcher implements ILayoutManager { private var invalidateClientPropertiesFlag:Boolean;// = false private var invalidateDisplayListQueue:PriorityQueue; private var updateCompleteQueue:PriorityQueue; private var invalidateDisplayListFlag:Boolean;// = false private var invalidateClientSizeFlag:Boolean;// = false private var invalidateSizeQueue:PriorityQueue; private var originalFrameRate:Number; private var invalidatePropertiesFlag:Boolean;// = false private var invalidatePropertiesQueue:PriorityQueue; private var invalidateSizeFlag:Boolean;// = false private var callLaterPending:Boolean;// = false private var _usePhasedInstantiation:Boolean;// = false private var callLaterObject:UIComponent; private var targetLevel:int;// = 2147483647 mx_internal static const VERSION:String = "3.0.0.0"; private static var instance:LayoutManager; public function LayoutManager(){ updateCompleteQueue = new PriorityQueue(); invalidatePropertiesQueue = new PriorityQueue(); invalidateSizeQueue = new PriorityQueue(); invalidateDisplayListQueue = new PriorityQueue(); super(); } public function set usePhasedInstantiation(_arg1:Boolean):void{ var _local2:Stage; if (_usePhasedInstantiation != _arg1){ _usePhasedInstantiation = _arg1; _local2 = SystemManagerGlobals.topLevelSystemManagers[0].stage; if (_arg1){ originalFrameRate = _local2.frameRate; _local2.frameRate = 1000; } else { _local2.frameRate = originalFrameRate; }; }; } private function waitAFrame():void{ callLaterObject.callLater(doPhasedInstantiation); } public function validateClient(_arg1:ILayoutManagerClient, _arg2:Boolean=false):void{ var _local3:ILayoutManagerClient; var _local4:int; var _local5:Boolean; var _local6:int = targetLevel; if (targetLevel == int.MAX_VALUE){ targetLevel = _arg1.nestLevel; }; while (!(_local5)) { _local5 = true; _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); while (_local3) { _local3.validateProperties(); if (!_local3.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local3, _local3.nestLevel); _local3.updateCompletePendingFlag = true; }; _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); }; if (invalidatePropertiesQueue.isEmpty()){ invalidatePropertiesFlag = false; invalidateClientPropertiesFlag = false; }; _local3 = ILayoutManagerClient(invalidateSizeQueue.removeLargestChild(_arg1)); while (_local3) { _local3.validateSize(); if (!_local3.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local3, _local3.nestLevel); _local3.updateCompletePendingFlag = true; }; if (invalidateClientPropertiesFlag){ _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); if (_local3){ invalidatePropertiesQueue.addObject(_local3, _local3.nestLevel); _local5 = false; break; }; }; _local3 = ILayoutManagerClient(invalidateSizeQueue.removeLargestChild(_arg1)); }; if (invalidateSizeQueue.isEmpty()){ invalidateSizeFlag = false; invalidateClientSizeFlag = false; }; if (!_arg2){ _local3 = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallestChild(_arg1)); while (_local3) { _local3.validateDisplayList(); if (!_local3.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local3, _local3.nestLevel); _local3.updateCompletePendingFlag = true; }; if (invalidateClientPropertiesFlag){ _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); if (_local3){ invalidatePropertiesQueue.addObject(_local3, _local3.nestLevel); _local5 = false; break; }; }; if (invalidateClientSizeFlag){ _local3 = ILayoutManagerClient(invalidateSizeQueue.removeLargestChild(_arg1)); if (_local3){ invalidateSizeQueue.addObject(_local3, _local3.nestLevel); _local5 = false; break; }; }; _local3 = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallestChild(_arg1)); }; if (invalidateDisplayListQueue.isEmpty()){ invalidateDisplayListFlag = false; }; }; }; if (_local6 == int.MAX_VALUE){ targetLevel = int.MAX_VALUE; if (!_arg2){ _local3 = ILayoutManagerClient(updateCompleteQueue.removeLargestChild(_arg1)); while (_local3) { if (!_local3.initialized){ _local3.initialized = true; }; _local3.dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE)); _local3.updateCompletePendingFlag = false; _local3 = ILayoutManagerClient(updateCompleteQueue.removeLargestChild(_arg1)); }; }; }; } private function validateProperties():void{ var _local1:ILayoutManagerClient = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallest()); while (_local1) { _local1.validateProperties(); if (!_local1.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local1, _local1.nestLevel); _local1.updateCompletePendingFlag = true; }; _local1 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallest()); }; if (invalidatePropertiesQueue.isEmpty()){ invalidatePropertiesFlag = false; }; } public function invalidateProperties(_arg1:ILayoutManagerClient):void{ if (((!(invalidatePropertiesFlag)) && (ApplicationGlobals.application.systemManager))){ invalidatePropertiesFlag = true; if (!callLaterPending){ if (!callLaterObject){ callLaterObject = new UIComponent(); callLaterObject.systemManager = ApplicationGlobals.application.systemManager; callLaterObject.callLater(waitAFrame); } else { callLaterObject.callLater(doPhasedInstantiation); }; callLaterPending = true; }; }; if (targetLevel <= _arg1.nestLevel){ invalidateClientPropertiesFlag = true; }; invalidatePropertiesQueue.addObject(_arg1, _arg1.nestLevel); } public function invalidateDisplayList(_arg1:ILayoutManagerClient):void{ if (((!(invalidateDisplayListFlag)) && (ApplicationGlobals.application.systemManager))){ invalidateDisplayListFlag = true; if (!callLaterPending){ if (!callLaterObject){ callLaterObject = new UIComponent(); callLaterObject.systemManager = ApplicationGlobals.application.systemManager; callLaterObject.callLater(waitAFrame); } else { callLaterObject.callLater(doPhasedInstantiation); }; callLaterPending = true; }; }; invalidateDisplayListQueue.addObject(_arg1, _arg1.nestLevel); } private function validateDisplayList():void{ var _local1:ILayoutManagerClient = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallest()); while (_local1) { _local1.validateDisplayList(); if (!_local1.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local1, _local1.nestLevel); _local1.updateCompletePendingFlag = true; }; _local1 = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallest()); }; if (invalidateDisplayListQueue.isEmpty()){ invalidateDisplayListFlag = false; }; } public function validateNow():void{ var _local1:int; if (!usePhasedInstantiation){ _local1 = 0; while (((callLaterPending) && ((_local1 < 100)))) { doPhasedInstantiation(); }; }; } private function validateSize():void{ var _local1:ILayoutManagerClient = ILayoutManagerClient(invalidateSizeQueue.removeLargest()); while (_local1) { _local1.validateSize(); if (!_local1.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local1, _local1.nestLevel); _local1.updateCompletePendingFlag = true; }; _local1 = ILayoutManagerClient(invalidateSizeQueue.removeLargest()); }; if (invalidateSizeQueue.isEmpty()){ invalidateSizeFlag = false; }; } private function doPhasedInstantiation():void{ var _local1:ILayoutManagerClient; if (usePhasedInstantiation){ if (invalidatePropertiesFlag){ validateProperties(); ApplicationGlobals.application.dispatchEvent(new Event("validatePropertiesComplete")); } else { if (invalidateSizeFlag){ validateSize(); ApplicationGlobals.application.dispatchEvent(new Event("validateSizeComplete")); } else { if (invalidateDisplayListFlag){ validateDisplayList(); ApplicationGlobals.application.dispatchEvent(new Event("validateDisplayListComplete")); }; }; }; } else { if (invalidatePropertiesFlag){ validateProperties(); }; if (invalidateSizeFlag){ validateSize(); }; if (invalidateDisplayListFlag){ validateDisplayList(); }; }; if (((((invalidatePropertiesFlag) || (invalidateSizeFlag))) || (invalidateDisplayListFlag))){ callLaterObject.callLater(doPhasedInstantiation); } else { usePhasedInstantiation = false; callLaterPending = false; _local1 = ILayoutManagerClient(updateCompleteQueue.removeLargest()); while (_local1) { if (((!(_local1.initialized)) && (_local1.processedDescriptors))){ _local1.initialized = true; }; _local1.dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE)); _local1.updateCompletePendingFlag = false; _local1 = ILayoutManagerClient(updateCompleteQueue.removeLargest()); }; dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE)); }; } public function isInvalid():Boolean{ return (((((invalidatePropertiesFlag) || (invalidateSizeFlag))) || (invalidateDisplayListFlag))); } public function get usePhasedInstantiation():Boolean{ return (_usePhasedInstantiation); } public function invalidateSize(_arg1:ILayoutManagerClient):void{ if (((!(invalidateSizeFlag)) && (ApplicationGlobals.application.systemManager))){ invalidateSizeFlag = true; if (!callLaterPending){ if (!callLaterObject){ callLaterObject = new UIComponent(); callLaterObject.systemManager = ApplicationGlobals.application.systemManager; callLaterObject.callLater(waitAFrame); } else { callLaterObject.callLater(doPhasedInstantiation); }; callLaterPending = true; }; }; if (targetLevel <= _arg1.nestLevel){ invalidateClientSizeFlag = true; }; invalidateSizeQueue.addObject(_arg1, _arg1.nestLevel); } public static function getInstance():LayoutManager{ if (!instance){ instance = new (LayoutManager); }; return (instance); } } }//package mx.managers
Section 576
//SystemChildrenList (mx.managers.SystemChildrenList) package mx.managers { import flash.display.*; import flash.geom.*; import mx.core.*; public class SystemChildrenList implements IChildList { private var lowerBoundReference:QName; private var upperBoundReference:QName; private var owner:SystemManager; mx_internal static const VERSION:String = "3.0.0.0"; public function SystemChildrenList(_arg1:SystemManager, _arg2:QName, _arg3:QName){ this.owner = _arg1; this.lowerBoundReference = _arg2; this.upperBoundReference = _arg3; } public function getChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject = owner.mx_internal::rawChildren_getChildAt((owner[lowerBoundReference] + _arg1)); return (_local2); } public function getChildByName(_arg1:String):DisplayObject{ return (owner.mx_internal::rawChildren_getChildByName(_arg1)); } public function removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject = owner.mx_internal::rawChildren_removeChildAt((_arg1 + owner[lowerBoundReference])); var _local3 = owner; var _local4 = upperBoundReference; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; return (_local2); } public function getChildIndex(_arg1:DisplayObject):int{ var _local2:int = owner.mx_internal::rawChildren_getChildIndex(_arg1); _local2 = (_local2 - owner[lowerBoundReference]); return (_local2); } public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ var _local3 = owner; _local3.mx_internal::rawChildren_addChildAt(_arg1, (owner[lowerBoundReference] + _arg2)); _local3 = owner; var _local4 = upperBoundReference; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; return (_arg1); } public function getObjectsUnderPoint(_arg1:Point):Array{ return (owner.mx_internal::rawChildren_getObjectsUnderPoint(_arg1)); } public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3 = owner; _local3.mx_internal::rawChildren_setChildIndex(_arg1, (owner[lowerBoundReference] + _arg2)); } public function get numChildren():int{ return ((owner[upperBoundReference] - owner[lowerBoundReference])); } public function contains(_arg1:DisplayObject):Boolean{ var _local2:int; if (owner.mx_internal::rawChildren_contains(_arg1)){ while (_arg1.parent != owner) { _arg1 = _arg1.parent; }; _local2 = owner.mx_internal::rawChildren_getChildIndex(_arg1); if ((((_local2 >= owner[lowerBoundReference])) && ((_local2 < owner[upperBoundReference])))){ return (true); }; }; return (false); } public function removeChild(_arg1:DisplayObject):DisplayObject{ var _local2:int = owner.mx_internal::rawChildren_getChildIndex(_arg1); if ((((owner[lowerBoundReference] <= _local2)) && ((_local2 < owner[upperBoundReference])))){ var _local3 = owner; _local3.mx_internal::rawChildren_removeChild(_arg1); _local3 = owner; var _local4 = upperBoundReference; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; }; return (_arg1); } public function addChild(_arg1:DisplayObject):DisplayObject{ var _local2 = owner; _local2.mx_internal::rawChildren_addChildAt(_arg1, owner[upperBoundReference]); _local2 = owner; var _local3 = upperBoundReference; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; return (_arg1); } } }//package mx.managers
Section 577
//SystemManager (mx.managers.SystemManager) package mx.managers { import flash.display.*; import flash.geom.*; import mx.core.*; import flash.text.*; import flash.events.*; import mx.events.*; import mx.styles.*; import mx.resources.*; import flash.system.*; import mx.preloaders.*; import flash.utils.*; import mx.messaging.config.*; public class SystemManager extends MovieClip implements IChildList, IFlexDisplayObject, IFlexModuleFactory, ISystemManager { mx_internal var nestLevel:int;// = 0 private var forms:Array; private var mouseCatcher:Sprite; private var _height:Number; private var preloader:Preloader; private var _document:Object; private var _topLevelSystemManager:ISystemManager; private var _toolTipIndex:int;// = 0 private var _rawChildren:SystemRawChildrenList; private var _explicitHeight:Number; private var _toolTipChildren:SystemChildrenList; private var form:IFocusManagerContainer; private var _width:Number; private var initialized:Boolean;// = false private var _focusPane:Sprite; private var _fontList:Object;// = null private var isStageRoot:Boolean;// = true private var _popUpChildren:SystemChildrenList; private var rslSizes:Array;// = null private var _topMostIndex:int;// = 0 private var nextFrameTimer:Timer;// = null private var topLevel:Boolean;// = true private var _cursorIndex:int;// = 0 mx_internal var _mouseX; mx_internal var _mouseY; private var _numModalWindows:int;// = 0 private var _screen:Rectangle; mx_internal var idleCounter:int;// = 0 private var _cursorChildren:SystemChildrenList; private var initCallbackFunctions:Array; private var _noTopMostIndex:int;// = 0 private var _applicationIndex:int;// = 1 private var idleTimer:Timer; private var doneExecutingInitCallbacks:Boolean;// = false private var _explicitWidth:Number; mx_internal var topLevelWindow:IUIComponent; private static const IDLE_THRESHOLD:Number = 1000; private static const IDLE_INTERVAL:Number = 100; mx_internal static const VERSION:String = "3.0.0.0"; mx_internal static var lastSystemManager:SystemManager; mx_internal static var allSystemManagers:Dictionary = new Dictionary(true); public function SystemManager(){ initCallbackFunctions = []; forms = []; super(); if (stage){ stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; }; if ((((SystemManagerGlobals.topLevelSystemManagers.length > 0)) && (!(stage)))){ topLevel = false; }; if (!stage){ isStageRoot = false; }; if (topLevel){ SystemManagerGlobals.topLevelSystemManagers.push(this); }; lastSystemManager = this; var _local1:Array = info()["compiledLocales"]; ResourceBundle.locale = (((!((_local1 == null))) && ((_local1.length > 0)))) ? _local1[0] : "en_US"; executeCallbacks(); stop(); if (((topLevel) && (!((currentFrame == 1))))){ throw (new Error((("The SystemManager constructor was called when the currentFrame was at " + currentFrame) + " Please add this SWF to bug 129782."))); }; if (((root) && (root.loaderInfo))){ root.loaderInfo.addEventListener(Event.INIT, initHandler); }; } mx_internal function addingChild(_arg1:DisplayObject):void{ var _local4:DisplayObjectContainer; var _local2 = 1; if (!topLevel){ _local4 = parent.parent; while (_local4) { if ((_local4 is ILayoutManagerClient)){ _local2 = (ILayoutManagerClient(_local4).nestLevel + 1); break; }; _local4 = _local4.parent; }; }; nestLevel = _local2; if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).systemManager = this; }; var _local3:Class = Class(getDefinitionByName("mx.core.UIComponent")); if ((((_arg1 is IUIComponent)) && (!(IUIComponent(_arg1).document)))){ IUIComponent(_arg1).document = document; }; if ((_arg1 is ILayoutManagerClient)){ ILayoutManagerClient(_arg1).nestLevel = (nestLevel + 1); }; if ((_arg1 is InteractiveObject)){ if (doubleClickEnabled){ InteractiveObject(_arg1).doubleClickEnabled = true; }; }; if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).parentChanged(this); }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).regenerateStyleCache(true); }; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleChanged(null); }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).notifyStyleChangeInChildren(null, true); }; if (((_local3) && ((_arg1 is _local3)))){ _local3(_arg1).initThemeColor(); }; if (((_local3) && ((_arg1 is _local3)))){ _local3(_arg1).stylesInitialized(); }; } private function idleTimer_timerHandler(_arg1:TimerEvent):void{ idleCounter++; if ((idleCounter * IDLE_INTERVAL) > IDLE_THRESHOLD){ dispatchEvent(new FlexEvent(FlexEvent.IDLE)); }; } public function getExplicitOrMeasuredHeight():Number{ return ((isNaN(explicitHeight)) ? measuredHeight : explicitHeight); } mx_internal function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ var _local6:IStyleClient; var _local3:Boolean; var _local4:int = rawChildren.numChildren; var _local5:int; while (_local5 < _local4) { _local6 = (rawChildren.getChildAt(_local5) as IStyleClient); if (_local6){ _local6.styleChanged(_arg1); _local6.notifyStyleChangeInChildren(_arg1, _arg2); }; if (isTopLevelWindow(DisplayObject(_local6))){ _local3 = true; }; _local4 = rawChildren.numChildren; _local5++; }; if (((!(_local3)) && ((topLevelWindow is IStyleClient)))){ IStyleClient(topLevelWindow).styleChanged(_arg1); IStyleClient(topLevelWindow).notifyStyleChangeInChildren(_arg1, _arg2); }; } mx_internal function rawChildren_getObjectsUnderPoint(_arg1:Point):Array{ return (super.getObjectsUnderPoint(_arg1)); } private function initHandler(_arg1:Event):void{ allSystemManagers[this] = this.loaderInfo.url; root.loaderInfo.removeEventListener(Event.INIT, initHandler); var _local2:int = ((totalFrames)==1) ? 0 : 1; addFrameScript(_local2, docFrameHandler); var _local3:int = (_local2 + 1); while (_local3 < totalFrames) { addFrameScript(_local3, extraFrameHandler); _local3++; }; initialize(); } override public function contains(_arg1:DisplayObject):Boolean{ var _local2:int; var _local3:int; var _local4:DisplayObject; if (super.contains(_arg1)){ if (_arg1.parent == this){ _local2 = super.getChildIndex(_arg1); if (_local2 < noTopMostIndex){ return (true); }; } else { _local3 = 0; while (_local3 < noTopMostIndex) { _local4 = super.getChildAt(_local3); if ((_local4 is IRawChildrenContainer)){ if (IRawChildrenContainer(_local4).rawChildren.contains(_arg1)){ return (true); }; }; if ((_local4 is DisplayObjectContainer)){ if (DisplayObjectContainer(_local4).contains(_arg1)){ return (true); }; }; _local3++; }; }; }; return (false); } public function getDefinitionByName(_arg1:String):Object{ var _local3:Object; var _local2:ApplicationDomain = (((!(topLevel)) && ((parent is Loader)))) ? Loader(parent).contentLoaderInfo.applicationDomain : (info()["currentDomain"] as ApplicationDomain); if (_local2.hasDefinition(_arg1)){ _local3 = _local2.getDefinition(_arg1); }; return (_local3); } public function get embeddedFontList():Object{ var _local1:Object; var _local2:String; var _local3:Object; if (_fontList == null){ _fontList = {}; _local1 = info()["fonts"]; for (_local2 in _local1) { _fontList[_local2] = _local1[_local2]; }; if (((!(topLevel)) && (_topLevelSystemManager))){ _local3 = _topLevelSystemManager.embeddedFontList; for (_local2 in _local3) { _fontList[_local2] = _local3[_local2]; }; }; }; return (_fontList); } mx_internal function set cursorIndex(_arg1:int):void{ var _local2:int = (_arg1 - _cursorIndex); _cursorIndex = _arg1; } public function set document(_arg1:Object):void{ _document = _arg1; } override public function getChildAt(_arg1:int):DisplayObject{ return (super.getChildAt((applicationIndex + _arg1))); } public function get rawChildren():IChildList{ if (!_rawChildren){ _rawChildren = new SystemRawChildrenList(this); }; return (_rawChildren); } override public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ if ((((_arg1 == FlexEvent.IDLE)) && (!(idleTimer)))){ idleTimer = new Timer(IDLE_INTERVAL); idleTimer.addEventListener(TimerEvent.TIMER, idleTimer_timerHandler); idleTimer.start(); addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true); addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler, true); }; super.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function removeFocusManager(_arg1:IFocusManagerContainer):void{ var _local2:int = forms.length; var _local3:int; while (_local3 < _local2) { if (forms[_local3] == _arg1){ if (form == _arg1){ deactivate(_arg1); }; forms.splice(_local3, 1); return; }; _local3++; }; } private function mouseMoveHandler(_arg1:MouseEvent):void{ idleCounter = 0; } public function get focusPane():Sprite{ return (_focusPane); } override public function get mouseX():Number{ if (_mouseX === undefined){ return (super.mouseX); }; return (_mouseX); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:int; var _local3:DisplayObject; var _local4:Boolean; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:IChildList; idleCounter = 0; if (numModalWindows == 0){ if (forms.length > 1){ _local2 = forms.length; _local3 = DisplayObject(_arg1.target); _local4 = document.rawChildren.contains(_local3); while (_local3) { _local5 = 0; while (_local5 < _local2) { if (forms[_local5] == _local3){ _local6 = 0; if (((!((_local3 == form))) && ((_local3 is IFocusManagerContainer)))){ activate(IFocusManagerContainer(_local3)); }; if (popUpChildren.contains(_local3)){ _local9 = popUpChildren; } else { _local9 = this; }; _local7 = _local9.getChildIndex(_local3); _local8 = _local7; _local2 = forms.length; _local6 = 0; while (_local6 < _local2) { if (_local9.contains(forms[_local6])){ if (_local9.getChildIndex(forms[_local6]) > _local7){ _local8 = Math.max(_local9.getChildIndex(forms[_local6]), _local8); }; }; _local6++; }; if ((((_local8 > _local7)) && (!(_local4)))){ _local9.setChildIndex(_local3, _local8); }; return; }; _local5++; }; _local3 = _local3.parent; }; }; }; } public function get screen():Rectangle{ if (!_screen){ Stage_resizeHandler(); }; return (_screen); } mx_internal function set topMostIndex(_arg1:int):void{ var _local2:int = (_arg1 - _topMostIndex); _topMostIndex = _arg1; toolTipIndex = (toolTipIndex + _local2); } mx_internal function docFrameHandler(_arg1:Event=null):void{ var _local2:TextFieldFactory; var _local4:int; var _local5:int; var _local6:Class; Singleton.registerClass("mx.managers::IBrowserManager", Class(getDefinitionByName("mx.managers::BrowserManagerImpl"))); Singleton.registerClass("mx.managers::ICursorManager", Class(getDefinitionByName("mx.managers::CursorManagerImpl"))); Singleton.registerClass("mx.managers::IHistoryManager", Class(getDefinitionByName("mx.managers::HistoryManagerImpl"))); Singleton.registerClass("mx.managers::ILayoutManager", Class(getDefinitionByName("mx.managers::LayoutManager"))); Singleton.registerClass("mx.managers::IPopUpManager", Class(getDefinitionByName("mx.managers::PopUpManagerImpl"))); Singleton.registerClass("mx.managers::IToolTipManager2", Class(getDefinitionByName("mx.managers::ToolTipManagerImpl"))); if (Capabilities.playerType == "Desktop"){ Singleton.registerClass("mx.managers::IDragManager", Class(getDefinitionByName("mx.managers::NativeDragManagerImpl"))); if (Singleton.getClass("mx.managers::IDragManager") == null){ Singleton.registerClass("mx.managers::IDragManager", Class(getDefinitionByName("mx.managers::DragManagerImpl"))); }; } else { Singleton.registerClass("mx.managers::IDragManager", Class(getDefinitionByName("mx.managers::DragManagerImpl"))); }; Singleton.registerClass("mx.core::ITextFieldFactory", Class(getDefinitionByName("mx.core::TextFieldFactory"))); executeCallbacks(); doneExecutingInitCallbacks = true; var _local3:Array = info()["mixins"]; if (((_local3) && ((_local3.length > 0)))){ _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local6 = Class(getDefinitionByName(_local3[_local5])); var _local7 = _local6; _local7["init"](this); _local5++; }; }; installCompiledResourceBundles(); initializeTopLevelWindow(null); deferredNextFrame(); } private function Stage_resizeHandler(_arg1:Event=null):void{ var _local2:Number = stage.stageWidth; var _local3:Number = stage.stageHeight; var _local4:Number = loaderInfo.width; var _local5:Number = loaderInfo.height; var _local6:Number = ((_local4 - _local2) / 2); var _local7:Number = ((_local5 - _local3) / 2); var _local8:String = stage.align; if (_local8 == StageAlign.TOP){ _local7 = 0; } else { if (_local8 == StageAlign.BOTTOM){ _local7 = (_local5 - _local3); } else { if (_local8 == StageAlign.LEFT){ _local6 = 0; } else { if (_local8 == StageAlign.RIGHT){ _local6 = (_local4 - _local2); } else { if ((((_local8 == StageAlign.TOP_LEFT)) || ((_local8 == "LT")))){ _local7 = 0; _local6 = 0; } else { if (_local8 == StageAlign.TOP_RIGHT){ _local7 = 0; _local6 = (_local4 - _local2); } else { if (_local8 == StageAlign.BOTTOM_LEFT){ _local7 = (_local5 - _local3); _local6 = 0; } else { if (_local8 == StageAlign.BOTTOM_RIGHT){ _local7 = (_local5 - _local3); _local6 = (_local4 - _local2); }; }; }; }; }; }; }; }; if (!_screen){ _screen = new Rectangle(); }; _screen.x = _local6; _screen.y = _local7; _screen.width = _local2; _screen.height = _local3; if (isStageRoot){ _width = stage.stageWidth; _height = stage.stageHeight; }; if (_arg1){ resizeMouseCatcher(); dispatchEvent(_arg1); }; } public function get explicitHeight():Number{ return (_explicitHeight); } public function get preloaderBackgroundSize():String{ return (info()["backgroundSize"]); } public function isTopLevel():Boolean{ return (topLevel); } override public function get mouseY():Number{ if (_mouseY === undefined){ return (super.mouseY); }; return (_mouseY); } public function getExplicitOrMeasuredWidth():Number{ return ((isNaN(explicitWidth)) ? measuredWidth : explicitWidth); } public function deactivate(_arg1:IFocusManagerContainer):void{ var _local2:IFocusManagerContainer; var _local3:int; var _local4:int; var _local5:IFocusManagerContainer; if (form){ if ((((form == _arg1)) && ((forms.length > 1)))){ form.focusManager.deactivate(); _local3 = forms.length; _local4 = 0; while (_local4 < _local3) { _local5 = forms[_local4]; if (_local5 == _arg1){ _local4 = (_local4 + 1); while (_local4 < _local3) { _local5 = forms[_local4]; if ((((Sprite(_local5).visible == true)) && (IUIComponent(_local5).enabled))){ _local2 = _local5; }; _local4++; }; form = _local2; break; } else { if (((Sprite(_local5).visible) && (IUIComponent(_local5).enabled))){ _local2 = _local5; }; }; _local4++; }; if (form){ form.focusManager.activate(); }; }; }; } override public function getChildByName(_arg1:String):DisplayObject{ return (super.getChildByName(_arg1)); } override public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ noTopMostIndex++; return (rawChildren_addChildAt(_arg1, (applicationIndex + _arg2))); } public function get measuredWidth():Number{ return ((topLevelWindow) ? topLevelWindow.getExplicitOrMeasuredWidth() : loaderInfo.width); } public function info():Object{ return ({}); } mx_internal function get toolTipIndex():int{ return (_toolTipIndex); } public function setActualSize(_arg1:Number, _arg2:Number):void{ if (isStageRoot){ return; }; _width = _arg1; _height = _arg2; if (mouseCatcher){ mouseCatcher.width = _arg1; mouseCatcher.height = _arg2; }; dispatchEvent(new Event(Event.RESIZE)); } public function set focusPane(_arg1:Sprite):void{ if (_arg1){ addChild(_arg1); _arg1.x = 0; _arg1.y = 0; _arg1.scrollRect = null; _focusPane = _arg1; } else { removeChild(_focusPane); _focusPane = null; }; } mx_internal function set applicationIndex(_arg1:int):void{ _applicationIndex = _arg1; } private function executeCallbacks():void{ var _local1:Function; if (!parent){ return; }; while (initCallbackFunctions.length > 0) { _local1 = initCallbackFunctions.shift(); _local1(this); }; } public function get popUpChildren():IChildList{ if (!topLevel){ return (_topLevelSystemManager.popUpChildren); }; if (!_popUpChildren){ _popUpChildren = new SystemChildrenList(this, new QName(mx_internal, "noTopMostIndex"), new QName(mx_internal, "topMostIndex")); }; return (_popUpChildren); } public function set explicitHeight(_arg1:Number):void{ _explicitHeight = _arg1; } override public function removeChild(_arg1:DisplayObject):DisplayObject{ noTopMostIndex--; return (rawChildren_removeChild(_arg1)); } override public function addChild(_arg1:DisplayObject):DisplayObject{ noTopMostIndex++; return (rawChildren_addChildAt(_arg1, (noTopMostIndex - 1))); } public function create(... _args):Object{ var _local4:String; var _local5:int; var _local6:int; var _local2:String = info()["mainClassName"]; if (_local2 == null){ _local4 = loaderInfo.loaderURL; _local5 = _local4.lastIndexOf("."); _local6 = _local4.lastIndexOf("/"); _local2 = _local4.substring((_local6 + 1), _local5); }; var _local3:Class = Class(getDefinitionByName(_local2)); return ((_local3) ? new (_local3) : null); } override public function get stage():Stage{ var _local1:Stage = super.stage; if (_local1){ return (_local1); }; if (((!(topLevel)) && (_topLevelSystemManager))){ return (_topLevelSystemManager.stage); }; return (null); } mx_internal function rawChildren_removeChild(_arg1:DisplayObject):DisplayObject{ removingChild(_arg1); super.removeChild(_arg1); childRemoved(_arg1); return (_arg1); } final mx_internal function get $numChildren():int{ return (super.numChildren); } public function get toolTipChildren():IChildList{ if (!topLevel){ return (_topLevelSystemManager.toolTipChildren); }; if (!_toolTipChildren){ _toolTipChildren = new SystemChildrenList(this, new QName(mx_internal, "topMostIndex"), new QName(mx_internal, "toolTipIndex")); }; return (_toolTipChildren); } override public function getChildIndex(_arg1:DisplayObject):int{ return ((super.getChildIndex(_arg1) - applicationIndex)); } private function mouseUpHandler(_arg1:MouseEvent):void{ idleCounter = 0; } mx_internal function rawChildren_getChildIndex(_arg1:DisplayObject):int{ return (super.getChildIndex(_arg1)); } public function activate(_arg1:IFocusManagerContainer):void{ var _local2:IFocusManagerContainer; if (form){ if (((!((form == _arg1))) && ((forms.length > 1)))){ _local2 = form; _local2.focusManager.deactivate(); }; }; form = _arg1; if (_arg1.focusManager){ _arg1.focusManager.activate(); }; } private function deferredNextFrame():void{ if ((currentFrame + 1) > totalFrames){ return; }; if ((currentFrame + 1) <= framesLoaded){ nextFrame(); } else { nextFrameTimer = new Timer(100); nextFrameTimer.addEventListener(TimerEvent.TIMER, nextFrameTimerHandler); nextFrameTimer.start(); }; } mx_internal function get cursorIndex():int{ return (_cursorIndex); } mx_internal function rawChildren_contains(_arg1:DisplayObject):Boolean{ return (super.contains(_arg1)); } override public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ super.setChildIndex(_arg1, (applicationIndex + _arg2)); } public function get document():Object{ return (_document); } private function resizeMouseCatcher():void{ var _local1:Graphics; if (mouseCatcher){ _local1 = mouseCatcher.graphics; _local1.clear(); _local1.beginFill(0, 0); _local1.drawRect(0, 0, stage.stageWidth, stage.stageHeight); _local1.endFill(); }; } override public function get height():Number{ return (_height); } mx_internal function rawChildren_getChildAt(_arg1:int):DisplayObject{ return (super.getChildAt(_arg1)); } mx_internal function set noTopMostIndex(_arg1:int):void{ var _local2:int = (_arg1 - _noTopMostIndex); _noTopMostIndex = _arg1; topMostIndex = (topMostIndex + _local2); } override public function getObjectsUnderPoint(_arg1:Point):Array{ var _local5:DisplayObject; var _local6:Array; var _local2:Array = []; var _local3:int = topMostIndex; var _local4:int; while (_local4 < _local3) { _local5 = super.getChildAt(_local4); if ((_local5 is DisplayObjectContainer)){ _local6 = DisplayObjectContainer(_local5).getObjectsUnderPoint(_arg1); if (_local6){ _local2 = _local2.concat(_local6); }; }; _local4++; }; return (_local2); } mx_internal function get topMostIndex():int{ return (_topMostIndex); } mx_internal function regenerateStyleCache(_arg1:Boolean):void{ var _local5:IStyleClient; var _local2:Boolean; var _local3:int = rawChildren.numChildren; var _local4:int; while (_local4 < _local3) { _local5 = (rawChildren.getChildAt(_local4) as IStyleClient); if (_local5){ _local5.regenerateStyleCache(_arg1); }; if (isTopLevelWindow(DisplayObject(_local5))){ _local2 = true; }; _local3 = rawChildren.numChildren; _local4++; }; if (((!(_local2)) && ((topLevelWindow is IStyleClient)))){ IStyleClient(topLevelWindow).regenerateStyleCache(_arg1); }; } public function addFocusManager(_arg1:IFocusManagerContainer):void{ forms.push(_arg1); } public function isFontFaceEmbedded(_arg1:TextFormat):Boolean{ var _local6:Font; var _local7:String; var _local2:String = _arg1.font; var _local3:Array = Font.enumerateFonts(); var _local4:int; while (_local4 < _local3.length) { _local6 = Font(_local3[_local4]); if (_local6.fontName == _local2){ _local7 = "regular"; if (((_arg1.bold) && (_arg1.italic))){ _local7 = "boldItalic"; } else { if (_arg1.bold){ _local7 = "bold"; } else { if (_arg1.italic){ _local7 = "italic"; }; }; }; if (_local6.fontStyle == _local7){ return (true); }; }; _local4++; }; if (((((!(_local2)) || (!(embeddedFontList)))) || (!(embeddedFontList[_local2])))){ return (false); }; var _local5:Object = embeddedFontList[_local2]; return (!(((((((_arg1.bold) && (!(_local5.bold)))) || (((_arg1.italic) && (!(_local5.italic)))))) || (((((!(_arg1.bold)) && (!(_arg1.italic)))) && (!(_local5.regular))))))); } mx_internal function rawChildren_setChildIndex(_arg1:DisplayObject, _arg2:int):void{ super.setChildIndex(_arg1, _arg2); } mx_internal function childAdded(_arg1:DisplayObject):void{ _arg1.dispatchEvent(new FlexEvent(FlexEvent.ADD)); if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).initialize(); }; } override public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ if (_arg1 == FlexEvent.IDLE){ super.removeEventListener(_arg1, _arg2, _arg3); if (((!(hasEventListener(FlexEvent.IDLE))) && (idleTimer))){ idleTimer.stop(); idleTimer = null; removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); }; } else { super.removeEventListener(_arg1, _arg2, _arg3); }; } private function extraFrameHandler(_arg1:Event=null):void{ var _local3:Class; var _local2:Object = info()["frames"]; if (((_local2) && (_local2[currentLabel]))){ _local3 = Class(getDefinitionByName(_local2[currentLabel])); var _local4 = _local3; _local4["frame"](this); }; deferredNextFrame(); } public function get application():IUIComponent{ return (IUIComponent(_document)); } override public function removeChildAt(_arg1:int):DisplayObject{ noTopMostIndex--; return (rawChildren_removeChildAt((applicationIndex + _arg1))); } mx_internal function rawChildren_removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject = super.getChildAt(_arg1); removingChild(_local2); super.removeChildAt(_arg1); childRemoved(_local2); return (_local2); } private function installCompiledResourceBundles():void{ var _local1:Object = this.info(); var _local2:ApplicationDomain = (((!(topLevel)) && ((parent is Loader)))) ? Loader(parent).contentLoaderInfo.applicationDomain : _local1["currentDomain"]; var _local3:Array = _local1["compiledLocales"]; var _local4:Array = _local1["compiledResourceBundleNames"]; var _local5:IResourceManager = ResourceManager.getInstance(); _local5.installCompiledResourceBundles(_local2, _local3, _local4); if (!_local5.localeChain){ _local5.localeChain = _local3; }; } mx_internal function removingChild(_arg1:DisplayObject):void{ _arg1.dispatchEvent(new FlexEvent(FlexEvent.REMOVE)); } mx_internal function get applicationIndex():int{ return (_applicationIndex); } mx_internal function set toolTipIndex(_arg1:int):void{ var _local2:int = (_arg1 - _toolTipIndex); _toolTipIndex = _arg1; cursorIndex = (cursorIndex + _local2); } public function get cursorChildren():IChildList{ if (!topLevel){ return (_topLevelSystemManager.cursorChildren); }; if (!_cursorChildren){ _cursorChildren = new SystemChildrenList(this, new QName(mx_internal, "toolTipIndex"), new QName(mx_internal, "cursorIndex")); }; return (_cursorChildren); } public function get preloaderBackgroundImage():Object{ return (info()["backgroundImage"]); } public function set numModalWindows(_arg1:int):void{ _numModalWindows = _arg1; } public function get preloaderBackgroundAlpha():Number{ return (info()["backgroundAlpha"]); } mx_internal function rawChildren_getChildByName(_arg1:String):DisplayObject{ return (super.getChildByName(_arg1)); } private function preloader_preloaderDoneHandler(_arg1:Event):void{ var _local2:IUIComponent = topLevelWindow; preloader.removeEventListener(FlexEvent.PRELOADER_DONE, preloader_preloaderDoneHandler); _popUpChildren.removeChild(preloader); preloader = null; mouseCatcher = new FlexSprite(); mouseCatcher.name = "mouseCatcher"; noTopMostIndex++; super.addChildAt(mouseCatcher, 0); resizeMouseCatcher(); if (!topLevel){ mouseCatcher.visible = false; mask = mouseCatcher; }; noTopMostIndex++; super.addChildAt(DisplayObject(_local2), 1); _local2.dispatchEvent(new FlexEvent(FlexEvent.APPLICATION_COMPLETE)); dispatchEvent(new FlexEvent(FlexEvent.APPLICATION_COMPLETE)); } public function get preloaderBackgroundColor():uint{ var _local1:* = info()["backgroundColor"]; if (_local1 == undefined){ return (StyleManager.NOT_A_COLOR); }; return (StyleManager.getColorName(_local1)); } public function get topLevelSystemManager():ISystemManager{ if (topLevel){ return (this); }; return (_topLevelSystemManager); } mx_internal function initialize():void{ var _local6:int; var _local7:int; var _local9:EmbeddedFontRegistry; var _local13:Class; var _local14:Object; var _local15:RSLItem; if (isStageRoot){ _width = stage.stageWidth; _height = stage.stageHeight; } else { _width = loaderInfo.width; _height = loaderInfo.height; }; preloader = new Preloader(); preloader.addEventListener(FlexEvent.INIT_PROGRESS, preloader_initProgressHandler); preloader.addEventListener(FlexEvent.PRELOADER_DONE, preloader_preloaderDoneHandler); if (!_popUpChildren){ _popUpChildren = new SystemChildrenList(this, new QName(mx_internal, "noTopMostIndex"), new QName(mx_internal, "topMostIndex")); }; _popUpChildren.addChild(preloader); var _local1:Array = info()["rsls"]; var _local2:Array = info()["cdRsls"]; var _local3:Boolean; if (info()["usePreloader"] != undefined){ _local3 = info()["usePreloader"]; }; var _local4:Class = (info()["preloader"] as Class); if (((_local3) && (!(_local4)))){ _local4 = DownloadProgressBar; }; var _local5:Array = []; if (((_local2) && ((_local2.length > 0)))){ _local13 = Class(getDefinitionByName("mx.core::CrossDomainRSLItem")); _local6 = _local2.length; _local7 = 0; while (_local7 < _local6) { _local14 = new _local13(_local2[_local7]["rsls"], _local2[_local7]["policyFiles"], _local2[_local7]["digests"], _local2[_local7]["types"], _local2[_local7]["isSigned"]); _local5.push(_local14); _local7++; }; }; if (((!((_local1 == null))) && ((_local1.length > 0)))){ _local6 = _local1.length; _local7 = 0; while (_local7 < _local6) { _local15 = new RSLItem(_local1[_local7].url); _local5.push(_local15); _local7++; }; }; Singleton.registerClass("mx.resources::IResourceManager", Class(getDefinitionByName("mx.resources::ResourceManagerImpl"))); var _local8:IResourceManager = ResourceManager.getInstance(); Singleton.registerClass("mx.core::IEmbeddedFontRegistry", Class(getDefinitionByName("mx.core::EmbeddedFontRegistry"))); Singleton.registerClass("mx.styles::IStyleManager", Class(getDefinitionByName("mx.styles::StyleManagerImpl"))); Singleton.registerClass("mx.styles::IStyleManager2", Class(getDefinitionByName("mx.styles::StyleManagerImpl"))); var _local10:String = loaderInfo.parameters["localeChain"]; if (((!((_local10 == null))) && (!((_local10 == ""))))){ _local8.localeChain = _local10.split(","); }; var _local11:String = loaderInfo.parameters["resourceModuleURLs"]; var _local12:Array = (_local11) ? _local11.split(",") : null; preloader.initialize(_local3, _local4, preloaderBackgroundColor, preloaderBackgroundAlpha, preloaderBackgroundImage, preloaderBackgroundSize, (isStageRoot) ? stage.stageWidth : loaderInfo.width, (isStageRoot) ? stage.stageHeight : loaderInfo.height, null, null, _local5, _local12); } private function appCreationCompleteHandler(_arg1:FlexEvent):void{ var _local2:DisplayObjectContainer; if (((!(topLevel)) && (parent))){ _local2 = parent.parent; while (_local2) { if ((_local2 is IInvalidating)){ IInvalidating(_local2).invalidateSize(); IInvalidating(_local2).invalidateDisplayList(); return; }; _local2 = _local2.parent; }; }; } public function get measuredHeight():Number{ return ((topLevelWindow) ? topLevelWindow.getExplicitOrMeasuredHeight() : loaderInfo.height); } mx_internal function rawChildren_addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ addingChild(_arg1); super.addChildAt(_arg1, _arg2); childAdded(_arg1); return (_arg1); } private function nextFrameTimerHandler(_arg1:TimerEvent):void{ if ((currentFrame + 1) <= framesLoaded){ nextFrame(); nextFrameTimer.removeEventListener(TimerEvent.TIMER, nextFrameTimerHandler); nextFrameTimer.reset(); }; } mx_internal function childRemoved(_arg1:DisplayObject):void{ if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).parentChanged(null); }; } mx_internal function get noTopMostIndex():int{ return (_noTopMostIndex); } override public function get numChildren():int{ return ((noTopMostIndex - applicationIndex)); } private function initializeTopLevelWindow(_arg1:Event):void{ var _local2:IUIComponent; var _local3:DisplayObjectContainer; initialized = true; if (!parent){ return; }; if (!topLevel){ _local3 = parent.parent; if (!_local3){ return; }; while (_local3) { if ((_local3 is IUIComponent)){ _topLevelSystemManager = IUIComponent(_local3).systemManager; break; }; _local3 = _local3.parent; }; }; addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler, true); if (((topLevel) && (stage))){ stage.addEventListener(Event.RESIZE, Stage_resizeHandler, false, 0, true); }; _local2 = (topLevelWindow = IUIComponent(create())); document = _local2; if (document){ IEventDispatcher(_local2).addEventListener(FlexEvent.CREATION_COMPLETE, appCreationCompleteHandler); if (((topLevel) && (stage))){ LoaderConfig._url = loaderInfo.url; LoaderConfig._parameters = loaderInfo.parameters; _width = stage.stageWidth; _height = stage.stageHeight; IFlexDisplayObject(_local2).setActualSize(stage.stageWidth, stage.stageHeight); } else { IFlexDisplayObject(_local2).setActualSize(loaderInfo.width, loaderInfo.height); }; if (preloader){ preloader.registerApplication(_local2); }; addingChild(DisplayObject(_local2)); childAdded(DisplayObject(_local2)); } else { document = this; }; } public function get numModalWindows():int{ return (_numModalWindows); } public function isTopLevelWindow(_arg1:DisplayObject):Boolean{ return ((((_arg1 is IUIComponent)) && ((IUIComponent(_arg1) == topLevelWindow)))); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ } public function set explicitWidth(_arg1:Number):void{ _explicitWidth = _arg1; } private function preloader_initProgressHandler(_arg1:Event):void{ preloader.removeEventListener(FlexEvent.INIT_PROGRESS, preloader_initProgressHandler); deferredNextFrame(); } public function get explicitWidth():Number{ return (_explicitWidth); } mx_internal function rawChildren_addChild(_arg1:DisplayObject):DisplayObject{ addingChild(_arg1); super.addChild(_arg1); childAdded(_arg1); return (_arg1); } public static function getSWFRoot(_arg1:Object):DisplayObject{ var p:*; var sm:ISystemManager; var domain:ApplicationDomain; var cls:Class; var object = _arg1; var className:String = getQualifiedClassName(object); for (p in allSystemManagers) { sm = (p as ISystemManager); domain = sm.loaderInfo.applicationDomain; try { cls = Class(domain.getDefinition(className)); if ((object is cls)){ return ((sm as DisplayObject)); }; } catch(e:Error) { }; }; return (null); } mx_internal static function registerInitCallback(_arg1:Function):void{ if (((!(allSystemManagers)) || (!(lastSystemManager)))){ return; }; var _local2:SystemManager = lastSystemManager; if (_local2.doneExecutingInitCallbacks){ _arg1(_local2); } else { _local2.initCallbackFunctions.push(_arg1); }; } } }//package mx.managers
Section 578
//SystemManagerGlobals (mx.managers.SystemManagerGlobals) package mx.managers { public class SystemManagerGlobals { public static var topLevelSystemManagers:Array = []; public static var bootstrapLoaderInfoURL:String; } }//package mx.managers
Section 579
//SystemRawChildrenList (mx.managers.SystemRawChildrenList) package mx.managers { import flash.display.*; import flash.geom.*; import mx.core.*; public class SystemRawChildrenList implements IChildList { private var owner:SystemManager; mx_internal static const VERSION:String = "3.0.0.0"; public function SystemRawChildrenList(_arg1:SystemManager){ this.owner = _arg1; } public function getChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_getChildAt(_arg1)); } public function addChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_addChild(_arg1)); } public function getChildIndex(_arg1:DisplayObject):int{ return (owner.mx_internal::rawChildren_getChildIndex(_arg1)); } public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3 = owner; _local3.mx_internal::rawChildren_setChildIndex(_arg1, _arg2); } public function getChildByName(_arg1:String):DisplayObject{ return (owner.mx_internal::rawChildren_getChildByName(_arg1)); } public function removeChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_removeChildAt(_arg1)); } public function get numChildren():int{ return (owner.mx_internal::$numChildren); } public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ return (owner.mx_internal::rawChildren_addChildAt(_arg1, _arg2)); } public function getObjectsUnderPoint(_arg1:Point):Array{ return (owner.mx_internal::rawChildren_getObjectsUnderPoint(_arg1)); } public function contains(_arg1:DisplayObject):Boolean{ return (owner.mx_internal::rawChildren_contains(_arg1)); } public function removeChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_removeChild(_arg1)); } } }//package mx.managers
Section 580
//ToolTipManager (mx.managers.ToolTipManager) package mx.managers { import flash.display.*; import mx.core.*; import flash.events.*; import mx.effects.*; public class ToolTipManager extends EventDispatcher { mx_internal static const VERSION:String = "3.0.0.0"; private static var implClassDependency:ToolTipManagerImpl; private static var _impl:IToolTipManager2; mx_internal static function registerToolTip(_arg1:DisplayObject, _arg2:String, _arg3:String):void{ impl.registerToolTip(_arg1, _arg2, _arg3); } public static function get enabled():Boolean{ return (impl.enabled); } public static function set enabled(_arg1:Boolean):void{ impl.enabled = _arg1; } public static function createToolTip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String=null, _arg5:IUIComponent=null):IToolTip{ return (impl.createToolTip(_arg1, _arg2, _arg3, _arg4, _arg5)); } public static function set hideDelay(_arg1:Number):void{ impl.hideDelay = _arg1; } public static function set showDelay(_arg1:Number):void{ impl.showDelay = _arg1; } public static function get showDelay():Number{ return (impl.showDelay); } public static function destroyToolTip(_arg1:IToolTip):void{ return (impl.destroyToolTip(_arg1)); } public static function get scrubDelay():Number{ return (impl.scrubDelay); } public static function get toolTipClass():Class{ return (impl.toolTipClass); } mx_internal static function registerErrorString(_arg1:DisplayObject, _arg2:String, _arg3:String):void{ impl.registerErrorString(_arg1, _arg2, _arg3); } mx_internal static function sizeTip(_arg1:IToolTip):void{ impl.sizeTip(_arg1); } public static function set currentTarget(_arg1:DisplayObject):void{ impl.currentTarget = _arg1; } public static function set showEffect(_arg1:IAbstractEffect):void{ impl.showEffect = _arg1; } private static function get impl():IToolTipManager2{ if (!_impl){ _impl = IToolTipManager2(Singleton.getInstance("mx.managers::IToolTipManager2")); }; return (_impl); } public static function get hideDelay():Number{ return (impl.hideDelay); } public static function set hideEffect(_arg1:IAbstractEffect):void{ impl.hideEffect = _arg1; } public static function set scrubDelay(_arg1:Number):void{ impl.scrubDelay = _arg1; } public static function get currentToolTip():IToolTip{ return (impl.currentToolTip); } public static function set currentToolTip(_arg1:IToolTip):void{ impl.currentToolTip = _arg1; } public static function get showEffect():IAbstractEffect{ return (impl.showEffect); } public static function get currentTarget():DisplayObject{ return (impl.currentTarget); } public static function get hideEffect():IAbstractEffect{ return (impl.hideEffect); } public static function set toolTipClass(_arg1:Class):void{ impl.toolTipClass = _arg1; } } }//package mx.managers
Section 581
//ToolTipManagerImpl (mx.managers.ToolTipManagerImpl) package mx.managers { import flash.display.*; import flash.geom.*; import mx.core.*; import flash.events.*; import mx.events.*; import mx.styles.*; import mx.controls.*; import mx.effects.*; import mx.validators.*; import flash.utils.*; public class ToolTipManagerImpl extends EventDispatcher implements IToolTipManager2 { private var _enabled:Boolean;// = true mx_internal var isError:Boolean; private var _showDelay:Number;// = 500 private var _hideEffect:IAbstractEffect; mx_internal var hideTimer:Timer; private var _scrubDelay:Number;// = 100 private var _toolTipClass:Class; mx_internal var currentText:String; mx_internal var showTimer:Timer; private var _currentToolTip:IToolTip; mx_internal var scrubTimer:Timer; mx_internal var previousTarget:DisplayObject; private var _currentTarget:DisplayObject; private var _showEffect:IAbstractEffect; mx_internal var initialized:Boolean;// = false private var _hideDelay:Number;// = 10000 mx_internal static const VERSION:String = "3.0.0.0"; private static var instance:IToolTipManager2; public function ToolTipManagerImpl(){ _toolTipClass = ToolTip; super(); if (instance){ throw (new Error("Instance already exists.")); }; } mx_internal function systemManager_mouseDownHandler(_arg1:MouseEvent):void{ reset(); } public function set showDelay(_arg1:Number):void{ _showDelay = _arg1; } mx_internal function hideEffectEnded():void{ var _local1:ToolTipEvent; reset(); if (previousTarget){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_END); _local1.toolTip = currentToolTip; previousTarget.dispatchEvent(_local1); }; } public function set scrubDelay(_arg1:Number):void{ _scrubDelay = _arg1; } public function get currentToolTip():IToolTip{ return (_currentToolTip); } private function mouseIsOver(_arg1:DisplayObject):Boolean{ if (((!(_arg1)) || (!(_arg1.stage)))){ return (false); }; if ((((_arg1.stage.mouseX == 0)) && ((_arg1.stage.mouseY == 0)))){ return (false); }; return (_arg1.hitTestPoint(_arg1.stage.mouseX, _arg1.stage.mouseY, true)); } mx_internal function toolTipMouseOutHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(_arg1.relatedObject); } public function get enabled():Boolean{ return (_enabled); } public function createToolTip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String=null, _arg5:IUIComponent=null):IToolTip{ var _local6:ToolTip = new ToolTip(); var _local7:ISystemManager = (_arg5) ? _arg5.systemManager : ApplicationGlobals.application.systemManager; _local7.toolTipChildren.addChild(_local6); if (_arg4){ _local6.setStyle("styleName", "errorTip"); _local6.setStyle("borderStyle", _arg4); }; _local6.text = _arg1; sizeTip(_local6); _local6.move(_arg2, _arg3); return ((_local6 as IToolTip)); } mx_internal function reset():void{ var _local1:ISystemManager; showTimer.reset(); hideTimer.reset(); if (currentToolTip){ if (((showEffect) || (hideEffect))){ currentToolTip.removeEventListener(EffectEvent.EFFECT_END, effectEndHandler); }; EffectManager.endEffectsForTarget(currentToolTip); _local1 = currentToolTip.systemManager; _local1.toolTipChildren.removeChild(DisplayObject(currentToolTip)); currentToolTip = null; scrubTimer.delay = scrubDelay; scrubTimer.reset(); if (scrubDelay > 0){ scrubTimer.delay = scrubDelay; scrubTimer.start(); }; }; } public function get toolTipClass():Class{ return (_toolTipClass); } public function set currentToolTip(_arg1:IToolTip):void{ _currentToolTip = _arg1; } private function hideImmediately(_arg1:DisplayObject):void{ checkIfTargetChanged(null); } mx_internal function showTip():void{ var _local2:ISystemManager; var _local1:ToolTipEvent = new ToolTipEvent(ToolTipEvent.TOOL_TIP_SHOW); _local1.toolTip = currentToolTip; currentTarget.dispatchEvent(_local1); if (isError){ currentTarget.addEventListener("change", changeHandler); } else { _local2 = getSystemManager(currentTarget); _local2.addEventListener(MouseEvent.MOUSE_DOWN, systemManager_mouseDownHandler); }; currentToolTip.visible = true; if (!showEffect){ showEffectEnded(); }; } mx_internal function effectEndHandler(_arg1:EffectEvent):void{ if (_arg1.effectInstance.effect == showEffect){ showEffectEnded(); } else { if (_arg1.effectInstance.effect == hideEffect){ hideEffectEnded(); }; }; } public function get hideDelay():Number{ return (_hideDelay); } public function get currentTarget():DisplayObject{ return (_currentTarget); } mx_internal function showEffectEnded():void{ var _local1:ToolTipEvent; if (hideDelay == 0){ hideTip(); } else { if (hideDelay < Infinity){ hideTimer.delay = hideDelay; hideTimer.start(); }; }; if (currentTarget){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_SHOWN); _local1.toolTip = currentToolTip; currentTarget.dispatchEvent(_local1); }; } public function get hideEffect():IAbstractEffect{ return (_hideEffect); } mx_internal function changeHandler(_arg1:Event):void{ reset(); } public function set enabled(_arg1:Boolean):void{ _enabled = _arg1; } mx_internal function errorTipMouseOverHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(DisplayObject(_arg1.target)); } public function get showDelay():Number{ return (_showDelay); } public function registerErrorString(_arg1:DisplayObject, _arg2:String, _arg3:String):void{ if (((!(_arg2)) && (_arg3))){ _arg1.addEventListener(MouseEvent.MOUSE_OVER, errorTipMouseOverHandler); _arg1.addEventListener(MouseEvent.MOUSE_OUT, errorTipMouseOutHandler); if (mouseIsOver(_arg1)){ showImmediately(_arg1); }; } else { if (((_arg2) && (!(_arg3)))){ _arg1.removeEventListener(MouseEvent.MOUSE_OVER, errorTipMouseOverHandler); _arg1.removeEventListener(MouseEvent.MOUSE_OUT, errorTipMouseOutHandler); if (mouseIsOver(_arg1)){ hideImmediately(_arg1); }; }; }; } mx_internal function initialize():void{ if (!showTimer){ showTimer = new Timer(0, 1); showTimer.addEventListener(TimerEvent.TIMER, showTimer_timerHandler); }; if (!hideTimer){ hideTimer = new Timer(0, 1); hideTimer.addEventListener(TimerEvent.TIMER, hideTimer_timerHandler); }; if (!scrubTimer){ scrubTimer = new Timer(0, 1); }; initialized = true; } public function destroyToolTip(_arg1:IToolTip):void{ var _local2:ISystemManager = _arg1.systemManager; _local2.toolTipChildren.removeChild(DisplayObject(_arg1)); } public function get scrubDelay():Number{ return (_scrubDelay); } mx_internal function checkIfTargetChanged(_arg1:DisplayObject):void{ if (!enabled){ return; }; findTarget(_arg1); if (currentTarget != previousTarget){ targetChanged(); previousTarget = currentTarget; }; } public function set toolTipClass(_arg1:Class):void{ _toolTipClass = _arg1; } private function getGlobalBounds(_arg1:DisplayObject):Rectangle{ var _local2:Point = new Point(0, 0); _local2 = _arg1.localToGlobal(_local2); return (new Rectangle(_local2.x, _local2.y, _arg1.width, _arg1.height)); } mx_internal function positionTip():void{ var _local1:Number; var _local2:Number; var _local5:Rectangle; var _local6:Point; var _local7:IToolTip; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local3:Number = currentToolTip.screen.width; var _local4:Number = currentToolTip.screen.height; if (isError){ _local5 = getGlobalBounds(currentTarget); _local1 = (_local5.right + 4); _local2 = (_local5.top - 1); if ((_local1 + currentToolTip.width) > _local3){ _local8 = NaN; _local9 = NaN; _local1 = (_local5.left - 2); if (((_local1 + currentToolTip.width) + 4) > _local3){ _local8 = ((_local3 - _local1) - 4); _local9 = Object(toolTipClass).maxWidth; Object(toolTipClass).maxWidth = _local8; if ((currentToolTip is IStyleClient)){ IStyleClient(currentToolTip).setStyle("borderStyle", "errorTipAbove"); }; currentToolTip["text"] = currentToolTip["text"]; Object(toolTipClass).maxWidth = _local9; } else { if ((currentToolTip is IStyleClient)){ IStyleClient(currentToolTip).setStyle("borderStyle", "errorTipAbove"); }; currentToolTip["text"] = currentToolTip["text"]; }; if ((currentToolTip.height + 2) < _local5.top){ _local2 = (_local5.top - (currentToolTip.height + 2)); } else { _local2 = (_local5.bottom + 2); if (!isNaN(_local8)){ Object(toolTipClass).maxWidth = _local8; }; if ((currentToolTip is IStyleClient)){ IStyleClient(currentToolTip).setStyle("borderStyle", "errorTipBelow"); }; currentToolTip["text"] = currentToolTip["text"]; if (!isNaN(_local9)){ Object(toolTipClass).maxWidth = _local9; }; }; }; sizeTip(currentToolTip); _local6 = new Point(_local1, _local2); _local7 = currentToolTip; _local6 = DisplayObject(_local7).root.globalToLocal(_local6); _local1 = _local6.x; _local2 = _local6.y; } else { _local1 = (ApplicationGlobals.application.mouseX + 11); _local2 = (ApplicationGlobals.application.mouseY + 22); _local10 = currentToolTip.width; if ((_local1 + _local10) > _local3){ _local1 = (_local3 - _local10); }; _local11 = currentToolTip.height; if ((_local2 + _local11) > _local4){ _local2 = (_local4 - _local11); }; }; currentToolTip.move(_local1, _local2); } mx_internal function errorTipMouseOutHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(_arg1.relatedObject); } mx_internal function findTarget(_arg1:DisplayObject):void{ while (_arg1) { if ((_arg1 is IValidatorListener)){ currentText = IValidatorListener(_arg1).errorString; if (((!((currentText == null))) && (!((currentText == ""))))){ currentTarget = _arg1; isError = true; return; }; }; if ((_arg1 is IToolTipManagerClient)){ currentText = IToolTipManagerClient(_arg1).toolTip; if (currentText != null){ currentTarget = _arg1; isError = false; return; }; }; _arg1 = _arg1.parent; }; currentText = null; currentTarget = null; } public function registerToolTip(_arg1:DisplayObject, _arg2:String, _arg3:String):void{ if (((!(_arg2)) && (_arg3))){ _arg1.addEventListener(MouseEvent.MOUSE_OVER, toolTipMouseOverHandler); _arg1.addEventListener(MouseEvent.MOUSE_OUT, toolTipMouseOutHandler); if (mouseIsOver(_arg1)){ showImmediately(_arg1); }; } else { if (((_arg2) && (!(_arg3)))){ _arg1.removeEventListener(MouseEvent.MOUSE_OVER, toolTipMouseOverHandler); _arg1.removeEventListener(MouseEvent.MOUSE_OUT, toolTipMouseOutHandler); if (mouseIsOver(_arg1)){ hideImmediately(_arg1); }; }; }; } private function showImmediately(_arg1:DisplayObject):void{ var _local2:Number = ToolTipManager.showDelay; ToolTipManager.showDelay = 0; checkIfTargetChanged(_arg1); ToolTipManager.showDelay = _local2; } public function set hideDelay(_arg1:Number):void{ _hideDelay = _arg1; } private function getSystemManager(_arg1:DisplayObject):ISystemManager{ return (((_arg1 is IUIComponent)) ? IUIComponent(_arg1).systemManager : null); } public function set currentTarget(_arg1:DisplayObject):void{ _currentTarget = _arg1; } public function sizeTip(_arg1:IToolTip):void{ if ((_arg1 is IInvalidating)){ IInvalidating(_arg1).validateNow(); }; _arg1.setActualSize(_arg1.getExplicitOrMeasuredWidth(), _arg1.getExplicitOrMeasuredHeight()); } mx_internal function showTimer_timerHandler(_arg1:TimerEvent):void{ if (currentTarget){ createTip(); initializeTip(); positionTip(); showTip(); }; } mx_internal function hideTimer_timerHandler(_arg1:TimerEvent):void{ hideTip(); } public function set showEffect(_arg1:IAbstractEffect):void{ _showEffect = (_arg1 as IAbstractEffect); } public function set hideEffect(_arg1:IAbstractEffect):void{ _hideEffect = (_arg1 as IAbstractEffect); } mx_internal function targetChanged():void{ var _local1:ToolTipEvent; if (!initialized){ initialize(); }; if (((previousTarget) && (currentToolTip))){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_HIDE); _local1.toolTip = currentToolTip; previousTarget.dispatchEvent(_local1); }; reset(); if (currentTarget){ if (currentText == ""){ return; }; _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_START); currentTarget.dispatchEvent(_local1); if ((((showDelay == 0)) || (scrubTimer.running))){ createTip(); initializeTip(); positionTip(); showTip(); } else { showTimer.delay = showDelay; showTimer.start(); }; }; } mx_internal function initializeTip():void{ if ((currentToolTip is ToolTip)){ ToolTip(currentToolTip).text = currentText; }; if (((isError) && ((currentToolTip is IStyleClient)))){ IStyleClient(currentToolTip).setStyle("styleName", "errorTip"); }; sizeTip(currentToolTip); if ((currentToolTip is IStyleClient)){ if (showEffect){ IStyleClient(currentToolTip).setStyle("showEffect", showEffect); }; if (hideEffect){ IStyleClient(currentToolTip).setStyle("hideEffect", hideEffect); }; }; if (((showEffect) || (hideEffect))){ currentToolTip.addEventListener(EffectEvent.EFFECT_END, effectEndHandler); }; } public function get showEffect():IAbstractEffect{ return (_showEffect); } mx_internal function toolTipMouseOverHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(DisplayObject(_arg1.target)); } mx_internal function hideTip():void{ var _local1:ToolTipEvent; var _local2:ISystemManager; if (previousTarget){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_HIDE); _local1.toolTip = currentToolTip; previousTarget.dispatchEvent(_local1); }; if (currentToolTip){ currentToolTip.visible = false; }; if (isError){ if (currentTarget){ currentTarget.removeEventListener("change", changeHandler); }; } else { if (previousTarget){ _local2 = getSystemManager(previousTarget); _local2.removeEventListener(MouseEvent.MOUSE_DOWN, systemManager_mouseDownHandler); }; }; if (!hideEffect){ hideEffectEnded(); }; } mx_internal function createTip():void{ var _local1:ToolTipEvent = new ToolTipEvent(ToolTipEvent.TOOL_TIP_CREATE); currentTarget.dispatchEvent(_local1); if (_local1.toolTip){ currentToolTip = _local1.toolTip; } else { currentToolTip = new toolTipClass(); }; currentToolTip.visible = false; var _local2:ISystemManager = getSystemManager(currentTarget); _local2.toolTipChildren.addChild(DisplayObject(currentToolTip)); } public static function getInstance():IToolTipManager2{ if (!instance){ instance = new (ToolTipManagerImpl); }; return (instance); } } }//package mx.managers
Section 582
//LoaderConfig (mx.messaging.config.LoaderConfig) package mx.messaging.config { import mx.core.*; public class LoaderConfig { mx_internal static const VERSION:String = "3.0.0.0"; mx_internal static var _url:String = null; mx_internal static var _parameters:Object; public static function get url():String{ return (_url); } public static function get parameters():Object{ return (_parameters); } } }//package mx.messaging.config
Section 583
//IModuleInfo (mx.modules.IModuleInfo) package mx.modules { import mx.core.*; import flash.events.*; import flash.system.*; public interface IModuleInfo extends IEventDispatcher { function get ready():Boolean; function get loaded():Boolean; function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null):void; function release():void; function get error():Boolean; function get data():Object; function publish(_arg1:IFlexModuleFactory):void; function get factory():IFlexModuleFactory; function set data(_arg1:Object):void; function get url():String; function get setup():Boolean; function unload():void; } }//package mx.modules
Section 584
//ModuleManager (mx.modules.ModuleManager) package mx.modules { import mx.core.*; public class ModuleManager { mx_internal static const VERSION:String = "3.0.0.0"; public static function getModule(_arg1:String):IModuleInfo{ return (getSingleton().getModule(_arg1)); } private static function getSingleton():Object{ if (!ModuleManagerGlobals.managerSingleton){ ModuleManagerGlobals.managerSingleton = new ModuleManagerImpl(); }; return (ModuleManagerGlobals.managerSingleton); } public static function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ return (getSingleton().getAssociatedFactory(_arg1)); } } }//package mx.modules import flash.display.*; import mx.core.*; import flash.events.*; import mx.events.*; import flash.system.*; import flash.net.*; import flash.utils.*; class ModuleInfoProxy extends EventDispatcher implements IModuleInfo { private var _data:Object; private var info:ModuleInfo; private var referenced:Boolean;// = false private function ModuleInfoProxy(_arg1:ModuleInfo){ this.info = _arg1; _arg1.addEventListener(ModuleEvent.SETUP, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.ERROR, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.UNLOAD, moduleEventHandler, false, 0, true); } public function get loaded():Boolean{ return (info.loaded); } public function release():void{ if (referenced){ info.removeReference(); referenced = false; }; } public function get error():Boolean{ return (info.error); } public function get factory():IFlexModuleFactory{ return (info.factory); } public function publish(_arg1:IFlexModuleFactory):void{ info.publish(_arg1); } public function set data(_arg1:Object):void{ _data = _arg1; } public function get ready():Boolean{ return (info.ready); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null):void{ var _local3:ModuleEvent; info.resurrect(); if (!referenced){ info.addReference(); referenced = true; }; if (info.error){ dispatchEvent(new ModuleEvent(ModuleEvent.ERROR)); } else { if (info.loaded){ if (info.setup){ dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); if (info.ready){ _local3 = new ModuleEvent(ModuleEvent.PROGRESS); _local3.bytesLoaded = info.size; _local3.bytesTotal = info.size; dispatchEvent(_local3); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); }; }; } else { info.load(_arg1, _arg2); }; }; } private function moduleEventHandler(_arg1:ModuleEvent):void{ dispatchEvent(_arg1); } public function get url():String{ return (info.url); } public function get data():Object{ return (_data); } public function get setup():Boolean{ return (info.setup); } public function unload():void{ info.unload(); info.removeEventListener(ModuleEvent.SETUP, moduleEventHandler); info.removeEventListener(ModuleEvent.PROGRESS, moduleEventHandler); info.removeEventListener(ModuleEvent.READY, moduleEventHandler); info.removeEventListener(ModuleEvent.ERROR, moduleEventHandler); info.removeEventListener(ModuleEvent.UNLOAD, moduleEventHandler); } } class ModuleManagerImpl extends EventDispatcher { private var moduleList:Object; private function ModuleManagerImpl(){ moduleList = {}; super(); } public function getModule(_arg1:String):IModuleInfo{ var _local2:ModuleInfo = (moduleList[_arg1] as ModuleInfo); if (!_local2){ _local2 = new ModuleInfo(_arg1); moduleList[_arg1] = _local2; }; return (new ModuleInfoProxy(_local2)); } public function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ var m:Object; var info:ModuleInfo; var domain:ApplicationDomain; var cls:Class; var object = _arg1; var className:String = getQualifiedClassName(object); for each (m in moduleList) { info = (m as ModuleInfo); if (!info.ready){ } else { domain = info.applicationDomain; try { cls = Class(domain.getDefinition(className)); if ((object is cls)){ return (info.factory); }; } catch(error:Error) { }; }; }; return (null); } } class ModuleInfo extends EventDispatcher { private var _error:Boolean;// = false private var loader:Loader; private var factoryInfo:FactoryInfo; private var limbo:Dictionary; private var _loaded:Boolean;// = false private var _ready:Boolean;// = false private var numReferences:int;// = 0 private var _url:String; private var _setup:Boolean;// = false private function ModuleInfo(_arg1:String){ _url = _arg1; } private function clearLoader():void{ if (loader){ if (loader.contentLoaderInfo){ loader.contentLoaderInfo.removeEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); }; try { if (loader.content){ loader.content.removeEventListener("ready", readyHandler); }; } catch(error:Error) { }; if (_loaded){ try { loader.close(); } catch(error:Error) { }; }; try { loader.unload(); } catch(error:Error) { }; loader = null; }; } public function get size():int{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.bytesTotal : 0); } public function get loaded():Boolean{ return ((limbo) ? false : _loaded); } public function release():void{ if (((_ready) && (!(limbo)))){ limbo = new Dictionary(true); limbo[factoryInfo] = 1; factoryInfo = null; } else { unload(); }; } public function get error():Boolean{ return ((limbo) ? false : _error); } public function get factory():IFlexModuleFactory{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.factory : null); } public function completeHandler(_arg1:Event):void{ var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; _local2.bytesTotal = loader.contentLoaderInfo.bytesTotal; dispatchEvent(_local2); } public function publish(_arg1:IFlexModuleFactory):void{ if (factoryInfo){ return; }; if (_url.indexOf("published://") != 0){ return; }; factoryInfo = new FactoryInfo(); factoryInfo.factory = _arg1; _loaded = true; _setup = true; _ready = true; _error = false; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); dispatchEvent(new ModuleEvent(ModuleEvent.PROGRESS)); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } public function initHandler(_arg1:Event):void{ var moduleEvent:ModuleEvent; var event = _arg1; factoryInfo = new FactoryInfo(); try { factoryInfo.factory = (loader.content as IFlexModuleFactory); } catch(error:Error) { }; if (!factoryInfo.factory){ moduleEvent = new ModuleEvent(ModuleEvent.ERROR, event.bubbles, event.cancelable); moduleEvent.bytesLoaded = 0; moduleEvent.bytesTotal = 0; moduleEvent.errorText = "SWF is not a loadable module"; dispatchEvent(moduleEvent); return; }; loader.content.addEventListener("ready", readyHandler); try { factoryInfo.applicationDomain = loader.contentLoaderInfo.applicationDomain; } catch(error:Error) { }; _setup = true; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); } public function resurrect():void{ var _local1:Object; if (((!(factoryInfo)) && (limbo))){ for (_local1 in limbo) { factoryInfo = (_local1 as FactoryInfo); break; }; limbo = null; }; if (!factoryInfo){ if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; loader = null; _loaded = false; _setup = false; _ready = false; _error = false; }; } public function errorHandler(_arg1:ErrorEvent):void{ _error = true; var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = 0; _local2.bytesTotal = 0; _local2.errorText = _arg1.text; dispatchEvent(_local2); } public function get ready():Boolean{ return ((limbo) ? false : _ready); } public function removeReference():void{ numReferences--; if (numReferences == 0){ release(); }; } public function addReference():void{ numReferences++; } public function progressHandler(_arg1:ProgressEvent):void{ var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null):void{ if (_loaded){ return; }; _loaded = true; limbo = null; if (_url.indexOf("published://") == 0){ return; }; var _local3:URLRequest = new URLRequest(_url); var _local4:LoaderContext = new LoaderContext(); _local4.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); _local4.securityDomain = _arg2; if ((((_arg2 == null)) && ((Security.sandboxType == Security.REMOTE)))){ _local4.securityDomain = SecurityDomain.currentDomain; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); loader.load(_local3, _local4); } public function get url():String{ return (_url); } public function get applicationDomain():ApplicationDomain{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.applicationDomain : null); } public function readyHandler(_arg1:Event):void{ _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } public function get setup():Boolean{ return ((limbo) ? false : _setup); } public function unload():void{ clearLoader(); if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; limbo = null; factoryInfo = null; _loaded = false; _setup = false; _ready = false; _error = false; } } class FactoryInfo { public var bytesTotal:int;// = 0 public var factory:IFlexModuleFactory; public var applicationDomain:ApplicationDomain; private function FactoryInfo(){ } }
Section 585
//ModuleManagerGlobals (mx.modules.ModuleManagerGlobals) package mx.modules { public class ModuleManagerGlobals { public static var managerSingleton:Object = null; } }//package mx.modules
Section 586
//DownloadProgressBar (mx.preloaders.DownloadProgressBar) package mx.preloaders { import flash.display.*; import flash.geom.*; import mx.core.*; import flash.text.*; import flash.events.*; import mx.events.*; import flash.system.*; import mx.graphics.*; import flash.net.*; import flash.utils.*; public class DownloadProgressBar extends Sprite implements IPreloaderDisplay { protected var MINIMUM_DISPLAY_TIME:uint;// = 0 private var _barFrameRect:RoundedRectangle; private var _stageHeight:Number;// = 375 private var _stageWidth:Number;// = 500 private var _percentRect:Rectangle; private var _percentObj:TextField; private var _downloadingLabel:String;// = "Loading" private var _showProgressBar:Boolean;// = true private var _yOffset:Number;// = 20 private var _initProgressCount:uint;// = 0 private var _barSprite:Sprite; private var _visible:Boolean;// = false private var _barRect:RoundedRectangle; private var _showingDisplay:Boolean;// = false private var _backgroundSize:String;// = "" private var _initProgressTotal:uint;// = 12 private var _startedInit:Boolean;// = false private var _showLabel:Boolean;// = true private var _value:Number;// = 0 private var _labelRect:Rectangle; private var _backgroundImage:Object; private var _backgroundAlpha:Number;// = 1 private var _backgroundColor:uint; private var _startedLoading:Boolean;// = false private var _showPercentage:Boolean;// = false private var _barFrameSprite:Sprite; protected var DOWNLOAD_PERCENTAGE:uint;// = 60 private var _displayStartCount:uint;// = 0 private var _labelObj:TextField; private var _borderRect:RoundedRectangle; private var _maximum:Number;// = 0 private var _displayTime:int; private var _label:String;// = "" private var _preloader:Sprite; private var _xOffset:Number;// = 20 private var _startTime:int; mx_internal static const VERSION:String = "3.0.0.0"; private static var _initializingLabel:String = "Initializing"; public function DownloadProgressBar(){ _labelRect = labelRect; _percentRect = percentRect; _borderRect = borderRect; _barFrameRect = barFrameRect; _barRect = barRect; super(); } protected function getPercentLoaded(_arg1:Number, _arg2:Number):Number{ var _local3:Number; if ((((((((_arg1 == 0)) || ((_arg2 == 0)))) || (isNaN(_arg2)))) || (isNaN(_arg1)))){ return (0); }; _local3 = ((100 * _arg1) / _arg2); if (((isNaN(_local3)) || ((_local3 <= 0)))){ return (0); }; if (_local3 > 99){ return (99); }; return (Math.round(_local3)); } protected function get labelFormat():TextFormat{ var _local1:TextFormat = new TextFormat(); _local1.color = 0x333333; _local1.font = "Verdana"; _local1.size = 10; return (_local1); } private function calcScale():void{ var _local1:Number; if ((((stageWidth < 160)) || ((stageHeight < 120)))){ scaleX = 1; scaleY = 1; } else { if ((((stageWidth < 240)) || ((stageHeight < 150)))){ createChildren(); _local1 = Math.min((stageWidth / 240), (stageHeight / 150)); scaleX = _local1; scaleY = _local1; } else { createChildren(); }; }; } protected function get percentRect():Rectangle{ return (new Rectangle(108, 4, 34, 16)); } protected function set showLabel(_arg1:Boolean):void{ _showLabel = _arg1; draw(); } private function calcBackgroundSize():Number{ var _local2:int; var _local1:Number = NaN; if (backgroundSize){ _local2 = backgroundSize.indexOf("%"); if (_local2 != -1){ _local1 = Number(backgroundSize.substr(0, _local2)); }; }; return (_local1); } private function show():void{ _showingDisplay = true; calcScale(); draw(); _displayTime = getTimer(); } private function loadBackgroundImage(_arg1:Object):void{ var cls:Class; var newStyleObj:DisplayObject; var loader:Loader; var loaderContext:LoaderContext; var classOrString = _arg1; if (((classOrString) && ((classOrString as Class)))){ cls = Class(classOrString); initBackgroundImage(new (cls)); } else { if (((classOrString) && ((classOrString is String)))){ try { cls = Class(getDefinitionByName(String(classOrString))); } catch(e:Error) { }; if (cls){ newStyleObj = new (cls); initBackgroundImage(newStyleObj); } else { loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loader_completeHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loader_ioErrorHandler); loaderContext = new LoaderContext(); loaderContext.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); loader.load(new URLRequest(String(classOrString)), loaderContext); }; }; }; } protected function set showPercentage(_arg1:Boolean):void{ _showPercentage = _arg1; draw(); } protected function get barFrameRect():RoundedRectangle{ return (new RoundedRectangle(14, 40, 154, 4)); } private function loader_ioErrorHandler(_arg1:IOErrorEvent):void{ } protected function rslErrorHandler(_arg1:RSLEvent):void{ _preloader.removeEventListener(ProgressEvent.PROGRESS, progressHandler); _preloader.removeEventListener(Event.COMPLETE, completeHandler); _preloader.removeEventListener(RSLEvent.RSL_PROGRESS, rslProgressHandler); _preloader.removeEventListener(RSLEvent.RSL_COMPLETE, rslCompleteHandler); _preloader.removeEventListener(RSLEvent.RSL_ERROR, rslErrorHandler); _preloader.removeEventListener(FlexEvent.INIT_PROGRESS, initProgressHandler); _preloader.removeEventListener(FlexEvent.INIT_COMPLETE, initCompleteHandler); if (!_showingDisplay){ show(); _showingDisplay = true; }; label = ((("RSL Error " + (_arg1.rslIndex + 1)) + " of ") + _arg1.rslTotal); var _local2:ErrorField = new ErrorField(this.parent); _local2.show(_arg1.errorText); } protected function rslCompleteHandler(_arg1:RSLEvent):void{ label = ((("Loaded library " + _arg1.rslIndex) + " of ") + _arg1.rslTotal); } protected function get borderRect():RoundedRectangle{ return (new RoundedRectangle(0, 0, 182, 60, 4)); } protected function showDisplayForDownloading(_arg1:int, _arg2:ProgressEvent):Boolean{ return ((((_arg1 > 700)) && ((_arg2.bytesLoaded < (_arg2.bytesTotal / 2))))); } protected function createChildren():void{ var _local2:TextField; var _local3:TextField; var _local1:Graphics = graphics; if (backgroundColor != 4294967295){ _local1.beginFill(backgroundColor, backgroundAlpha); _local1.drawRect(0, 0, stageWidth, stageHeight); }; if (backgroundImage != null){ loadBackgroundImage(backgroundImage); }; _barFrameSprite = new Sprite(); _barSprite = new Sprite(); addChild(_barFrameSprite); addChild(_barSprite); _local1.beginFill(0xCCCCCC, 0.4); _local1.drawRoundRect(calcX(_borderRect.x), calcY(_borderRect.y), _borderRect.width, _borderRect.height, (_borderRect.cornerRadius * 2), (_borderRect.cornerRadius * 2)); _local1.drawRoundRect(calcX((_borderRect.x + 1)), calcY((_borderRect.y + 1)), (_borderRect.width - 2), (_borderRect.height - 2), (_borderRect.cornerRadius - (1 * 2)), (_borderRect.cornerRadius - (1 * 2))); _local1.endFill(); _local1.beginFill(0xCCCCCC, 0.4); _local1.drawRoundRect(calcX((_borderRect.x + 1)), calcY((_borderRect.y + 1)), (_borderRect.width - 2), (_borderRect.height - 2), (_borderRect.cornerRadius - (1 * 2)), (_borderRect.cornerRadius - (1 * 2))); _local1.endFill(); var _local4:Graphics = _barFrameSprite.graphics; var _local5:Matrix = new Matrix(); _local5.createGradientBox(_barFrameRect.width, _barFrameRect.height, (Math.PI / 2), calcX(_barFrameRect.x), calcY(_barFrameRect.y)); _local4.beginGradientFill(GradientType.LINEAR, [6054502, 11909306], [1, 1], [0, 0xFF], _local5); _local4.drawRoundRect(calcX(_barFrameRect.x), calcY(_barFrameRect.y), _barFrameRect.width, _barFrameRect.height, (_barFrameRect.cornerRadius * 2), (_barFrameRect.cornerRadius * 2)); _local4.drawRoundRect(calcX((_barFrameRect.x + 1)), calcY((_barFrameRect.y + 1)), (_barFrameRect.width - 2), (_barFrameRect.height - 2), (_barFrameRect.cornerRadius * 2), (_barFrameRect.cornerRadius * 2)); _local4.endFill(); _labelObj = new TextField(); _labelObj.x = calcX(_labelRect.x); _labelObj.y = calcY(_labelRect.y); _labelObj.width = _labelRect.width; _labelObj.height = _labelRect.height; _labelObj.selectable = false; _labelObj.defaultTextFormat = labelFormat; addChild(_labelObj); _percentObj = new TextField(); _percentObj.x = calcX(_percentRect.x); _percentObj.y = calcY(_percentRect.y); _percentObj.width = _percentRect.width; _percentObj.height = _percentRect.height; _percentObj.selectable = false; _percentObj.defaultTextFormat = percentFormat; addChild(_percentObj); var _local6:RectangularDropShadow = new RectangularDropShadow(); _local6.color = 0; _local6.angle = 90; _local6.alpha = 0.6; _local6.distance = 2; _local6.tlRadius = (_local6.trRadius = (_local6.blRadius = (_local6.brRadius = _borderRect.cornerRadius))); _local6.drawShadow(_local1, calcX(_borderRect.x), calcY(_borderRect.y), _borderRect.width, _borderRect.height); _local1.lineStyle(1, 0xFFFFFF, 0.3); _local1.moveTo((calcX(_borderRect.x) + _borderRect.cornerRadius), calcY(_borderRect.y)); _local1.lineTo(((calcX(_borderRect.x) - _borderRect.cornerRadius) + _borderRect.width), calcY(_borderRect.y)); } private function draw():void{ var _local1:Number; if (_startedLoading){ if (!_startedInit){ _local1 = Math.round(((getPercentLoaded(_value, _maximum) * DOWNLOAD_PERCENTAGE) / 100)); } else { _local1 = Math.round((((getPercentLoaded(_value, _maximum) * (100 - DOWNLOAD_PERCENTAGE)) / 100) + DOWNLOAD_PERCENTAGE)); }; } else { _local1 = getPercentLoaded(_value, _maximum); }; if (_labelObj){ _labelObj.text = _label; }; if (_percentObj){ if (!_showPercentage){ _percentObj.visible = false; _percentObj.text = ""; } else { _percentObj.text = (String(_local1) + "%"); }; }; if (((_barSprite) && (_barFrameSprite))){ if (!_showProgressBar){ _barSprite.visible = false; _barFrameSprite.visible = false; } else { drawProgressBar(_local1); }; }; } private function timerHandler(_arg1:Event=null):void{ dispatchEvent(new Event(Event.COMPLETE)); } private function hide():void{ } public function get backgroundSize():String{ return (_backgroundSize); } protected function center(_arg1:Number, _arg2:Number):void{ _xOffset = Math.floor(((_arg1 - _borderRect.width) / 2)); _yOffset = Math.floor(((_arg2 - _borderRect.height) / 2)); } protected function progressHandler(_arg1:ProgressEvent):void{ var _local2:uint = _arg1.bytesLoaded; var _local3:uint = _arg1.bytesTotal; var _local4:int = (getTimer() - _startTime); if (((_showingDisplay) || (showDisplayForDownloading(_local4, _arg1)))){ if (!_startedLoading){ show(); label = downloadingLabel; _startedLoading = true; }; setProgress(_arg1.bytesLoaded, _arg1.bytesTotal); }; } protected function initProgressHandler(_arg1:Event):void{ var _local3:Number; var _local2:int = (getTimer() - _startTime); _initProgressCount++; if (((!(_showingDisplay)) && (showDisplayForInit(_local2, _initProgressCount)))){ _displayStartCount = _initProgressCount; show(); } else { if (_showingDisplay){ if (!_startedInit){ _startedInit = true; label = initializingLabel; }; _local3 = ((100 * _initProgressCount) / (_initProgressTotal - _displayStartCount)); setProgress(_local3, 100); }; }; } protected function set downloadingLabel(_arg1:String):void{ _downloadingLabel = _arg1; } public function get stageWidth():Number{ return (_stageWidth); } protected function get showPercentage():Boolean{ return (_showPercentage); } override public function get visible():Boolean{ return (_visible); } public function set stageHeight(_arg1:Number):void{ _stageHeight = _arg1; } public function initialize():void{ _startTime = getTimer(); center(stageWidth, stageHeight); } protected function rslProgressHandler(_arg1:RSLEvent):void{ } protected function get barRect():RoundedRectangle{ return (new RoundedRectangle(14, 39, 154, 6, 0)); } protected function get percentFormat():TextFormat{ var _local1:TextFormat = new TextFormat(); _local1.align = "right"; _local1.color = 0; _local1.font = "Verdana"; _local1.size = 10; return (_local1); } public function set backgroundImage(_arg1:Object):void{ _backgroundImage = _arg1; } private function calcX(_arg1:Number):Number{ return ((_arg1 + _xOffset)); } private function calcY(_arg1:Number):Number{ return ((_arg1 + _yOffset)); } public function set backgroundAlpha(_arg1:Number):void{ _backgroundAlpha = _arg1; } private function initCompleteHandler(_arg1:Event):void{ var _local3:Timer; var _local2:int = (getTimer() - _displayTime); if (((_showingDisplay) && ((_local2 < MINIMUM_DISPLAY_TIME)))){ _local3 = new Timer((MINIMUM_DISPLAY_TIME - _local2), 1); _local3.addEventListener(TimerEvent.TIMER, timerHandler); _local3.start(); } else { timerHandler(); }; } public function set backgroundColor(_arg1:uint):void{ _backgroundColor = _arg1; } private function initBackgroundImage(_arg1:DisplayObject):void{ var _local7:Number; var _local8:Number; var _local9:Number; addChildAt(_arg1, 0); var _local2:Number = _arg1.width; var _local3:Number = _arg1.height; var _local4:Number = calcBackgroundSize(); if (isNaN(_local4)){ _local7 = 1; _local8 = 1; } else { _local9 = (_local4 * 0.01); _local7 = ((_local9 * stageWidth) / _local2); _local8 = ((_local9 * stageHeight) / _local3); }; _arg1.scaleX = _local7; _arg1.scaleY = _local8; var _local5:Number = Math.round((0.5 * (stageWidth - (_local2 * _local7)))); var _local6:Number = Math.round((0.5 * (stageHeight - (_local3 * _local8)))); _arg1.x = _local5; _arg1.y = _local6; if (!isNaN(backgroundAlpha)){ _arg1.alpha = backgroundAlpha; }; } public function set backgroundSize(_arg1:String):void{ _backgroundSize = _arg1; } protected function showDisplayForInit(_arg1:int, _arg2:int):Boolean{ return ((((_arg1 > 300)) && ((_arg2 == 2)))); } protected function get downloadingLabel():String{ return (_downloadingLabel); } private function loader_completeHandler(_arg1:Event):void{ var _local2:DisplayObject = DisplayObject(LoaderInfo(_arg1.target).loader); initBackgroundImage(_local2); } protected function setProgress(_arg1:Number, _arg2:Number):void{ if (((((((!(isNaN(_arg1))) && (!(isNaN(_arg2))))) && ((_arg1 >= 0)))) && ((_arg2 > 0)))){ _value = Number(_arg1); _maximum = Number(_arg2); draw(); }; } public function get stageHeight():Number{ return (_stageHeight); } public function get backgroundImage():Object{ return (_backgroundImage); } public function get backgroundAlpha():Number{ if (!isNaN(_backgroundAlpha)){ return (_backgroundAlpha); }; return (1); } private function drawProgressBar(_arg1:Number):void{ var _local11:Number; var _local2:Graphics = _barSprite.graphics; _local2.clear(); var _local3:Array = [0xFFFFFF, 0xFFFFFF]; var _local4:Array = [0, 0xFF]; var _local5:Matrix = new Matrix(); var _local6:Number = ((_barRect.width * _arg1) / 100); var _local7:Number = (_local6 / 2); var _local8:Number = (_barRect.height - 4); var _local9:Number = calcX(_barRect.x); var _local10:Number = (calcY(_barRect.y) + 2); _local5.createGradientBox(_local7, _local8, 0, _local9, _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.39, 0.85], _local4, _local5); _local2.drawRect(_local9, _local10, _local7, _local8); _local5.createGradientBox(_local7, _local8, 0, (_local9 + _local7), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.85, 1], _local4, _local5); _local2.drawRect((_local9 + _local7), _local10, _local7, _local8); _local7 = (_local6 / 3); _local8 = _barRect.height; _local10 = calcY(_barRect.y); _local11 = ((_local10 + _local8) - 1); _local5.createGradientBox(_local7, _local8, 0, _local9, _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.05, 0.15], _local4, _local5); _local2.drawRect(_local9, _local10, _local7, 1); _local2.drawRect(_local9, _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + _local7), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.15, 0.25], _local4, _local5); _local2.drawRect((_local9 + _local7), _local10, _local7, 1); _local2.drawRect((_local9 + _local7), _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + (_local7 * 2)), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.25, 0.1], _local4, _local5); _local2.drawRect((_local9 + (_local7 * 2)), _local10, _local7, 1); _local2.drawRect((_local9 + (_local7 * 2)), _local11, _local7, 1); _local7 = (_local6 / 3); _local8 = _barRect.height; _local10 = (calcY(_barRect.y) + 1); _local11 = ((calcY(_barRect.y) + _local8) - 2); _local5.createGradientBox(_local7, _local8, 0, _local9, _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.15, 0.3], _local4, _local5); _local2.drawRect(_local9, _local10, _local7, 1); _local2.drawRect(_local9, _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + _local7), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.3, 0.4], _local4, _local5); _local2.drawRect((_local9 + _local7), _local10, _local7, 1); _local2.drawRect((_local9 + _local7), _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + (_local7 * 2)), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.4, 0.25], _local4, _local5); _local2.drawRect((_local9 + (_local7 * 2)), _local10, _local7, 1); _local2.drawRect((_local9 + (_local7 * 2)), _local11, _local7, 1); } public function get backgroundColor():uint{ return (_backgroundColor); } public function set stageWidth(_arg1:Number):void{ _stageWidth = _arg1; } protected function completeHandler(_arg1:Event):void{ } protected function set label(_arg1:String):void{ if (!(_arg1 is Function)){ _label = _arg1; }; draw(); } public function set preloader(_arg1:Sprite):void{ _preloader = _arg1; _arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler); _arg1.addEventListener(Event.COMPLETE, completeHandler); _arg1.addEventListener(RSLEvent.RSL_PROGRESS, rslProgressHandler); _arg1.addEventListener(RSLEvent.RSL_COMPLETE, rslCompleteHandler); _arg1.addEventListener(RSLEvent.RSL_ERROR, rslErrorHandler); _arg1.addEventListener(FlexEvent.INIT_PROGRESS, initProgressHandler); _arg1.addEventListener(FlexEvent.INIT_COMPLETE, initCompleteHandler); } protected function get label():String{ return (_label); } protected function get labelRect():Rectangle{ return (new Rectangle(14, 17, 100, 16)); } override public function set visible(_arg1:Boolean):void{ if (((!(_visible)) && (_arg1))){ show(); } else { if (((_visible) && (!(_arg1)))){ hide(); }; }; _visible = _arg1; } protected function get showLabel():Boolean{ return (_showLabel); } public static function get initializingLabel():String{ return (_initializingLabel); } public static function set initializingLabel(_arg1:String):void{ _initializingLabel = _arg1; } } }//package mx.preloaders import flash.display.*; import flash.text.*; import flash.system.*; class ErrorField extends Sprite { private const TEXT_MARGIN_PX:int = 10; private const MAX_WIDTH_INCHES:int = 6; private const MIN_WIDTH_INCHES:int = 2; private var parentContainer:DisplayObjectContainer; private function ErrorField(_arg1:DisplayObjectContainer){ this.parentContainer = _arg1; } public function show(_arg1:String):void{ if ((((_arg1 == null)) || ((_arg1.length == 0)))){ return; }; var _local2:Stage = parentContainer.stage; var _local3:TextField = new TextField(); _local3.autoSize = TextFieldAutoSize.LEFT; _local3.multiline = true; _local3.wordWrap = true; _local3.background = true; _local3.defaultTextFormat = labelFormat; _local3.text = _arg1; _local3.width = Math.max((MIN_WIDTH_INCHES * Capabilities.screenDPI), (_local2.stageWidth - (TEXT_MARGIN_PX * 2))); _local3.width = Math.min((MAX_WIDTH_INCHES * Capabilities.screenDPI), _local3.width); _local3.y = Math.max(0, ((_local2.stageHeight - TEXT_MARGIN_PX) - _local3.height)); _local3.x = ((_local2.stageWidth - _local3.width) / 2); parentContainer.addChild(this); this.addChild(_local3); } protected function get labelFormat():TextFormat{ var _local1:TextFormat = new TextFormat(); _local1.color = 0; _local1.font = "Verdana"; _local1.size = 10; return (_local1); } }
Section 587
//IPreloaderDisplay (mx.preloaders.IPreloaderDisplay) package mx.preloaders { import flash.display.*; import flash.events.*; public interface IPreloaderDisplay extends IEventDispatcher { function set backgroundAlpha(_arg1:Number):void; function get stageHeight():Number; function get stageWidth():Number; function set backgroundColor(_arg1:uint):void; function set preloader(_arg1:Sprite):void; function get backgroundImage():Object; function get backgroundSize():String; function get backgroundAlpha():Number; function set stageHeight(_arg1:Number):void; function get backgroundColor():uint; function set stageWidth(_arg1:Number):void; function set backgroundImage(_arg1:Object):void; function set backgroundSize(_arg1:String):void; function initialize():void; } }//package mx.preloaders
Section 588
//Preloader (mx.preloaders.Preloader) package mx.preloaders { import flash.display.*; import mx.core.*; import flash.events.*; import mx.events.*; import flash.utils.*; public class Preloader extends Sprite { private var app:IEventDispatcher;// = null private var showDisplay:Boolean; private var timer:Timer; private var rslDone:Boolean;// = false private var displayClass:IPreloaderDisplay;// = null private var rslListLoader:RSLListLoader; mx_internal static const VERSION:String = "3.0.0.0"; private function getByteValues():Object{ var _local1:LoaderInfo = root.loaderInfo; var _local2:int = _local1.bytesLoaded; var _local3:int = _local1.bytesTotal; var _local4:int = (rslListLoader) ? rslListLoader.getItemCount() : 0; var _local5:int; while (_local5 < _local4) { _local2 = (_local2 + rslListLoader.getItem(_local5).loaded); _local3 = (_local3 + rslListLoader.getItem(_local5).total); _local5++; }; return ({loaded:_local2, total:_local3}); } private function appProgressHandler(_arg1:Event):void{ dispatchEvent(new FlexEvent(FlexEvent.INIT_PROGRESS)); } private function dispatchAppEndEvent(_arg1:Object=null):void{ dispatchEvent(new FlexEvent(FlexEvent.INIT_COMPLETE)); if (!showDisplay){ displayClassCompleteHandler(null); }; } private function ioErrorHandler(_arg1:IOErrorEvent):void{ } private function appCreationCompleteHandler(_arg1:FlexEvent):void{ dispatchAppEndEvent(); } mx_internal function rslErrorHandler(_arg1:ErrorEvent):void{ var _local2:int = rslListLoader.getIndex(); var _local3:RSLItem = rslListLoader.getItem(_local2); var _local4:RSLEvent = new RSLEvent(RSLEvent.RSL_ERROR); _local4.bytesLoaded = 0; _local4.bytesTotal = 0; _local4.rslIndex = _local2; _local4.rslTotal = rslListLoader.getItemCount(); _local4.url = _local3.urlRequest; _local4.errorText = decodeURI(_arg1.text); dispatchEvent(_local4); } public function initialize(_arg1:Boolean, _arg2:Class, _arg3:uint, _arg4:Number, _arg5:Object, _arg6:String, _arg7:Number, _arg8:Number, _arg9:Array=null, _arg10:Array=null, _arg11:Array=null, _arg12:Array=null):void{ var _local13:int; var _local14:int; var _local15:RSLItem; var _local16:ResourceModuleRSLItem; if (((((!((_arg9 == null))) || (!((_arg10 == null))))) && (!((_arg11 == null))))){ throw (new Error("RSLs may only be specified by using libs and sizes or rslList, not both.")); }; root.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); if (((_arg9) && ((_arg9.length > 0)))){ if (_arg11 == null){ _arg11 = []; }; _local13 = _arg9.length; _local14 = 0; while (_local14 < _local13) { _local15 = new RSLItem(_arg9[_local14]); _arg11.push(_local15); _local14++; }; }; if (((_arg12) && ((_arg12.length > 0)))){ _local13 = _arg12.length; _local14 = 0; while (_local14 < _local13) { _local16 = new ResourceModuleRSLItem(_arg12[_local14]); _arg11.push(_local16); _local14++; }; }; rslListLoader = new RSLListLoader(_arg11); this.showDisplay = _arg1; timer = new Timer(10); timer.addEventListener(TimerEvent.TIMER, timerHandler); timer.start(); if (_arg1){ displayClass = new (_arg2); displayClass.addEventListener(Event.COMPLETE, displayClassCompleteHandler); addChild(DisplayObject(displayClass)); displayClass.backgroundColor = _arg3; displayClass.backgroundAlpha = _arg4; displayClass.backgroundImage = _arg5; displayClass.backgroundSize = _arg6; displayClass.stageWidth = _arg7; displayClass.stageHeight = _arg8; displayClass.initialize(); displayClass.preloader = this; }; if (rslListLoader.getItemCount() > 0){ rslListLoader.load(mx_internal::rslProgressHandler, mx_internal::rslCompleteHandler, mx_internal::rslErrorHandler, mx_internal::rslErrorHandler, mx_internal::rslErrorHandler); } else { rslDone = true; }; } mx_internal function rslProgressHandler(_arg1:ProgressEvent):void{ var _local2:int = rslListLoader.getIndex(); var _local3:RSLItem = rslListLoader.getItem(_local2); var _local4:RSLEvent = new RSLEvent(RSLEvent.RSL_PROGRESS); _local4.bytesLoaded = _arg1.bytesLoaded; _local4.bytesTotal = _arg1.bytesTotal; _local4.rslIndex = _local2; _local4.rslTotal = rslListLoader.getItemCount(); _local4.url = _local3.urlRequest; dispatchEvent(_local4); } public function registerApplication(_arg1:IEventDispatcher):void{ _arg1.addEventListener("validatePropertiesComplete", appProgressHandler); _arg1.addEventListener("validateSizeComplete", appProgressHandler); _arg1.addEventListener("validateDisplayListComplete", appProgressHandler); _arg1.addEventListener(FlexEvent.CREATION_COMPLETE, appCreationCompleteHandler); this.app = _arg1; } mx_internal function rslCompleteHandler(_arg1:Event):void{ var _local2:int = rslListLoader.getIndex(); var _local3:RSLItem = rslListLoader.getItem(_local2); var _local4:RSLEvent = new RSLEvent(RSLEvent.RSL_COMPLETE); _local4.bytesLoaded = _local3.total; _local4.bytesTotal = _local3.total; _local4.rslIndex = _local2; _local4.rslTotal = rslListLoader.getItemCount(); _local4.url = _local3.urlRequest; dispatchEvent(_local4); rslDone = ((_local2 + 1) == _local4.rslTotal); } private function timerHandler(_arg1:TimerEvent):void{ if (!root){ return; }; var _local2:Object = getByteValues(); var _local3:int = _local2.loaded; var _local4:int = _local2.total; dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, _local3, _local4)); if (((rslDone) && ((((((((_local3 >= _local4)) && ((_local4 > 0)))) || ((((_local4 == 0)) && ((_local3 > 0)))))) || ((((((root is MovieClip)) && ((MovieClip(root).totalFrames > 2)))) && ((MovieClip(root).framesLoaded >= 2)))))))){ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.reset(); dispatchEvent(new Event(Event.COMPLETE)); dispatchEvent(new FlexEvent(FlexEvent.INIT_PROGRESS)); }; } private function displayClassCompleteHandler(_arg1:Event):void{ if (displayClass){ displayClass.removeEventListener(Event.COMPLETE, displayClassCompleteHandler); }; if (root){ root.loaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); }; if (app){ app.removeEventListener("validatePropertiesComplete", appProgressHandler); app.removeEventListener("validateSizeComplete", appProgressHandler); app.removeEventListener("validateDisplayListComplete", appProgressHandler); app.removeEventListener(FlexEvent.CREATION_COMPLETE, appCreationCompleteHandler); app = null; }; dispatchEvent(new FlexEvent(FlexEvent.PRELOADER_DONE)); } } }//package mx.preloaders
Section 589
//IResourceBundle (mx.resources.IResourceBundle) package mx.resources { public interface IResourceBundle { function get content():Object; function get locale():String; function get bundleName():String; } }//package mx.resources
Section 590
//IResourceManager (mx.resources.IResourceManager) package mx.resources { import flash.events.*; import flash.system.*; public interface IResourceManager extends IEventDispatcher { function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean; function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class; function getLocales():Array; function removeResourceBundlesForLocale(_arg1:String):void; function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle; function get localeChain():Array; function getInt(_arg1:String, _arg2:String, _arg3:String=null):int; function update():void; function set localeChain(_arg1:Array):void; function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint; function addResourceBundle(_arg1:IResourceBundle):void; function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array; function getBundleNamesForLocale(_arg1:String):Array; function removeResourceBundle(_arg1:String, _arg2:String):void; function getObject(_arg1:String, _arg2:String, _arg3:String=null); function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String; function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void; function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void; function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle; function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number; } }//package mx.resources
Section 591
//IResourceModule (mx.resources.IResourceModule) package mx.resources { public interface IResourceModule { function get resourceBundles():Array; } }//package mx.resources
Section 592
//ResourceBundle (mx.resources.ResourceBundle) package mx.resources { import mx.core.*; import flash.system.*; import mx.utils.*; public class ResourceBundle implements IResourceBundle { mx_internal var _locale:String; private var _content:Object; mx_internal var _bundleName:String; mx_internal static const VERSION:String = "3.0.0.0"; mx_internal static var backupApplicationDomain:ApplicationDomain; mx_internal static var locale:String; public function ResourceBundle(_arg1:String=null, _arg2:String=null){ _content = {}; super(); mx_internal::_locale = _arg1; mx_internal::_bundleName = _arg2; _content = getContent(); } protected function getContent():Object{ return ({}); } public function getString(_arg1:String):String{ return (String(_getObject(_arg1))); } public function get content():Object{ return (_content); } public function getBoolean(_arg1:String, _arg2:Boolean=true):Boolean{ var _local3:String = _getObject(_arg1).toLowerCase(); if (_local3 == "false"){ return (false); }; if (_local3 == "true"){ return (true); }; return (_arg2); } public function getStringArray(_arg1:String):Array{ var _local2:Array = _getObject(_arg1).split(","); var _local3:int = _local2.length; var _local4:int; while (_local4 < _local3) { _local2[_local4] = StringUtil.trim(_local2[_local4]); _local4++; }; return (_local2); } public function getObject(_arg1:String):Object{ return (_getObject(_arg1)); } private function _getObject(_arg1:String):Object{ var _local2:Object = content[_arg1]; if (!_local2){ throw (new Error(((("Key " + _arg1) + " was not found in resource bundle ") + bundleName))); }; return (_local2); } public function get locale():String{ return (mx_internal::_locale); } public function get bundleName():String{ return (mx_internal::_bundleName); } public function getNumber(_arg1:String):Number{ return (Number(_getObject(_arg1))); } private static function getClassByName(_arg1:String, _arg2:ApplicationDomain):Class{ var _local3:Class; if (_arg2.hasDefinition(_arg1)){ _local3 = (_arg2.getDefinition(_arg1) as Class); }; return (_local3); } public static function getResourceBundle(_arg1:String, _arg2:ApplicationDomain=null):ResourceBundle{ var _local3:String; var _local4:Class; var _local5:Object; var _local6:ResourceBundle; if (!_arg2){ _arg2 = ApplicationDomain.currentDomain; }; _local3 = (((mx_internal::locale + "$") + _arg1) + "_properties"); _local4 = getClassByName(_local3, _arg2); if (!_local4){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, _arg2); }; if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, _arg2); }; if (((!(_local4)) && (mx_internal::backupApplicationDomain))){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); }; }; if (_local4){ _local5 = new (_local4); if ((_local5 is ResourceBundle)){ _local6 = ResourceBundle(_local5); return (_local6); }; }; throw (new Error(("Could not find resource bundle " + _arg1))); } } }//package mx.resources
Section 593
//ResourceManager (mx.resources.ResourceManager) package mx.resources { import mx.core.*; public class ResourceManager { mx_internal static const VERSION:String = "3.0.0.0"; private static var implClassDependency:ResourceManagerImpl; private static var instance:IResourceManager; public static function getInstance():IResourceManager{ if (!instance){ instance = IResourceManager(Singleton.getInstance("mx.resources::IResourceManager")); }; return (instance); } } }//package mx.resources
Section 594
//ResourceManagerImpl (mx.resources.ResourceManagerImpl) package mx.resources { import mx.core.*; import flash.events.*; import mx.events.*; import flash.system.*; import mx.modules.*; import flash.utils.*; import mx.utils.*; public class ResourceManagerImpl extends EventDispatcher implements IResourceManager { private var resourceModules:Object; private var initializedForNonFrameworkApp:Boolean;// = false private var localeMap:Object; private var _localeChain:Array; mx_internal static const VERSION:String = "3.0.0.0"; private static var instance:IResourceManager; public function ResourceManagerImpl(){ localeMap = {}; resourceModules = {}; super(); } public function get localeChain():Array{ return (_localeChain); } public function set localeChain(_arg1:Array):void{ _localeChain = _arg1; update(); } public function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; var _local6:Array = String(_local5).split(","); var _local7:int = _local6.length; var _local8:int; while (_local8 < _local7) { _local6[_local8] = StringUtil.trim(_local6[_local8]); _local8++; }; return (_local6); } mx_internal function installCompiledResourceBundle(_arg1:ApplicationDomain, _arg2:String, _arg3:String):void{ var _local4:String; var _local5:String = _arg3; var _local6:int = _arg3.indexOf(":"); if (_local6 != -1){ _local4 = _arg3.substring(0, _local6); _local5 = _arg3.substring((_local6 + 1)); }; if (getResourceBundle(_arg2, _arg3)){ return; }; var _local7 = (((_arg2 + "$") + _local5) + "_properties"); if (_local4 != null){ _local7 = ((_local4 + ".") + _local7); }; var _local8:Class; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; if (!_local8){ _local7 = _arg3; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ _local7 = (_arg3 + "_properties"); if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ throw (new Error((((("Could not find compiled resource bundle '" + _arg3) + "' for locale '") + _arg2) + "'."))); }; var _local9:ResourceBundle = ResourceBundle(new (_local8)); _local9.mx_internal::_locale = _arg2; _local9.mx_internal::_bundleName = _arg3; addResourceBundle(_local9); } public function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String{ var _local5:IResourceBundle = findBundle(_arg1, _arg2, _arg4); if (!_local5){ return (null); }; var _local6:String = String(_local5.content[_arg2]); if (_arg3){ _local6 = StringUtil.substitute(_local6, _arg3); }; return (_local6); } public function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var moduleInfo:IModuleInfo; var resourceEventDispatcher:ResourceEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var updateFlag = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; moduleInfo = ModuleManager.getModule(url); resourceEventDispatcher = new ResourceEventDispatcher(moduleInfo); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:* = _arg1.module.factory.create(); resourceModules[_arg1.module.url].resourceModule = _local2; if (updateFlag){ update(); }; }; moduleInfo.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:ResourceEvent; var _local2:String = ("Unable to load resource module from " + url); if (resourceEventDispatcher.willTrigger(ResourceEvent.ERROR)){ _local3 = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; resourceEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; moduleInfo.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); resourceModules[url] = new ResourceModuleInfo(moduleInfo, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); moduleInfo.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (resourceEventDispatcher); } public function getLocales():Array{ var _local2:String; var _local1:Array = []; for (_local2 in localeMap) { _local1.push(_local2); }; return (_local1); } public function removeResourceBundlesForLocale(_arg1:String):void{ delete localeMap[_arg1]; } public function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle{ var _local3:Object = localeMap[_arg1]; if (!_local3){ return (null); }; return (_local3[_arg2]); } private function dumpResourceModule(_arg1):void{ var _local2:ResourceBundle; var _local3:String; for each (_local2 in _arg1.resourceBundles) { trace(_local2.locale, _local2.bundleName); for (_local3 in _local2.content) { }; }; } public function getObject(_arg1:String, _arg2:String, _arg3:String=null){ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (undefined); }; return (_local4.content[_arg2]); } public function addResourceBundle(_arg1:IResourceBundle):void{ var _local2:String = _arg1.locale; var _local3:String = _arg1.bundleName; if (!localeMap[_local2]){ localeMap[_local2] = {}; }; localeMap[_local2][_local3] = _arg1; } private function findBundle(_arg1:String, _arg2:String, _arg3:String):IResourceBundle{ supportNonFrameworkApps(); return (((_arg3)!=null) ? getResourceBundle(_arg3, _arg1) : findResourceBundleWithResource(_arg1, _arg2)); } public function getInt(_arg1:String, _arg2:String, _arg3:String=null):int{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (int(_local5)); } private function supportNonFrameworkApps():void{ if (initializedForNonFrameworkApp){ return; }; initializedForNonFrameworkApp = true; if (getLocales().length > 0){ return; }; var _local1:ApplicationDomain = ApplicationDomain.currentDomain; if (!_local1.hasDefinition("_CompiledResourceBundleInfo")){ return; }; var _local2:Class = Class(_local1.getDefinition("_CompiledResourceBundleInfo")); var _local3:Array = _local2.compiledLocales; var _local4:Array = _local2.compiledResourceBundleNames; installCompiledResourceBundles(_local1, _local3, _local4); localeChain = _local3; } public function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; return ((_local5 as Class)); } public function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (NaN); }; var _local5:* = _local4.content[_arg2]; return (Number(_local5)); } public function update():void{ dispatchEvent(new Event(Event.CHANGE)); } public function getBundleNamesForLocale(_arg1:String):Array{ var _local3:String; var _local2:Array = []; for (_local3 in localeMap[_arg1]) { _local2.push(_local3); }; return (_local2); } public function removeResourceBundle(_arg1:String, _arg2:String):void{ delete localeMap[_arg1][_arg2]; if (getBundleNamesForLocale(_arg1).length == 0){ delete localeMap[_arg1]; }; } public function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void{ var _local7:String; var _local8:int; var _local9:String; var _local4:int = (_arg2) ? _arg2.length : 0; var _local5:int = (_arg3) ? _arg3.length : 0; var _local6:int; while (_local6 < _local4) { _local7 = _arg2[_local6]; _local8 = 0; while (_local8 < _local5) { _local9 = _arg3[_local8]; mx_internal::installCompiledResourceBundle(_arg1, _local7, _local9); _local8++; }; _local6++; }; } public function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle{ var _local5:String; var _local6:Object; var _local7:ResourceBundle; if (!_localeChain){ return (null); }; var _local3:int = _localeChain.length; var _local4:int; while (_local4 < _local3) { _local5 = localeChain[_local4]; _local6 = localeMap[_local5]; if (!_local6){ } else { _local7 = _local6[_arg1]; if (!_local7){ } else { if ((_arg2 in _local7.content)){ return (_local7); }; }; }; _local4++; }; return (null); } public function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (uint(_local5)); } public function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (false); }; var _local5:* = _local4.content[_arg2]; return ((String(_local5).toLowerCase() == "true")); } public function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void{ throw (new Error("unloadResourceModule() is not yet implemented.")); } public static function getInstance():IResourceManager{ if (!instance){ instance = new (ResourceManagerImpl); }; return (instance); } } }//package mx.resources import flash.events.*; import mx.events.*; import mx.modules.*; class ResourceModuleInfo { public var resourceModule:IResourceModule; public var errorHandler:Function; public var readyHandler:Function; public var moduleInfo:IModuleInfo; private function ResourceModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.moduleInfo = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } } class ResourceEventDispatcher extends EventDispatcher { private function ResourceEventDispatcher(_arg1:IModuleInfo){ _arg1.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler, false, 0, true); } private function moduleInfo_progressHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } }
Section 595
//IResponder (mx.rpc.IResponder) package mx.rpc { public interface IResponder { function fault(_arg1:Object):void; function result(_arg1:Object):void; } }//package mx.rpc
Section 596
//ApplicationBackground (mx.skins.halo.ApplicationBackground) package mx.skins.halo { import flash.display.*; import mx.utils.*; import mx.skins.*; public class ApplicationBackground extends ProgrammaticSkin { mx_internal static const VERSION:String = "3.0.0.0"; override public function get measuredWidth():Number{ return (8); } override public function get measuredHeight():Number{ return (8); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local6:uint; super.updateDisplayList(_arg1, _arg2); var _local3:Graphics = graphics; var _local4:Array = getStyle("backgroundGradientColors"); var _local5:Array = getStyle("backgroundGradientAlphas"); if (!_local4){ _local6 = getStyle("backgroundColor"); if (isNaN(_local6)){ _local6 = 0xFFFFFF; }; _local4 = []; _local4[0] = ColorUtil.adjustBrightness(_local6, 15); _local4[1] = ColorUtil.adjustBrightness(_local6, -25); }; if (!_local5){ _local5 = [1, 1]; }; _local3.clear(); drawRoundRect(0, 0, _arg1, _arg2, 0, _local4, _local5, verticalGradientMatrix(0, 0, _arg1, _arg2)); } } }//package mx.skins.halo
Section 597
//BusyCursor (mx.skins.halo.BusyCursor) package mx.skins.halo { import flash.display.*; import mx.core.*; import flash.events.*; import mx.styles.*; public class BusyCursor extends FlexSprite { private var hourHand:Shape; private var minuteHand:Shape; mx_internal static const VERSION:String = "3.0.0.0"; public function BusyCursor(){ var _local6:Graphics; super(); var _local1:CSSStyleDeclaration = StyleManager.getStyleDeclaration("CursorManager"); var _local2:Class = _local1.getStyle("busyCursorBackground"); var _local3:DisplayObject = new (_local2); if ((_local3 is InteractiveObject)){ InteractiveObject(_local3).mouseEnabled = false; }; addChild(_local3); var _local4:Number = -0.5; var _local5:Number = -0.5; minuteHand = new FlexShape(); minuteHand.name = "minuteHand"; _local6 = minuteHand.graphics; _local6.beginFill(0); _local6.moveTo(_local4, _local5); _local6.lineTo((1 + _local4), (0 + _local5)); _local6.lineTo((1 + _local4), (5 + _local5)); _local6.lineTo((0 + _local4), (5 + _local5)); _local6.lineTo((0 + _local4), (0 + _local5)); _local6.endFill(); addChild(minuteHand); hourHand = new FlexShape(); hourHand.name = "hourHand"; _local6 = hourHand.graphics; _local6.beginFill(0); _local6.moveTo(_local4, _local5); _local6.lineTo((4 + _local4), (0 + _local5)); _local6.lineTo((4 + _local4), (1 + _local5)); _local6.lineTo((0 + _local4), (1 + _local5)); _local6.lineTo((0 + _local4), (0 + _local5)); _local6.endFill(); addChild(hourHand); addEventListener(Event.ADDED, handleAdded); addEventListener(Event.REMOVED, handleRemoved); } private function enterFrameHandler(_arg1:Event):void{ minuteHand.rotation = (minuteHand.rotation + 12); hourHand.rotation = (hourHand.rotation + 1); } private function handleAdded(_arg1:Event):void{ addEventListener(Event.ENTER_FRAME, enterFrameHandler); } private function handleRemoved(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, enterFrameHandler); } } }//package mx.skins.halo
Section 598
//ButtonSkin (mx.skins.halo.ButtonSkin) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.styles.*; import mx.utils.*; import mx.skins.*; public class ButtonSkin extends Border { mx_internal static const VERSION:String = "3.0.0.0"; private static var cache:Object = {}; override public function get measuredWidth():Number{ return (UIComponent.DEFAULT_MEASURED_MIN_WIDTH); } override public function get measuredHeight():Number{ return (UIComponent.DEFAULT_MEASURED_MIN_HEIGHT); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:Array; var _local21:Array; var _local22:Array; super.updateDisplayList(_arg1, _arg2); var _local3:uint = getStyle("borderColor"); var _local4:Number = getStyle("cornerRadius"); var _local5:Array = getStyle("fillAlphas"); var _local6:Array = getStyle("fillColors"); StyleManager.getColorNames(_local6); var _local7:Array = getStyle("highlightAlphas"); var _local8:uint = getStyle("themeColor"); var _local9:Object = calcDerivedStyles(_local8, _local6[0], _local6[1]); var _local10:Number = ColorUtil.adjustBrightness2(_local3, -50); var _local11:Number = ColorUtil.adjustBrightness2(_local8, -25); var _local12:Boolean; if ((parent is IButton)){ _local12 = IButton(parent).emphasized; }; var _local13:Number = Math.max(0, _local4); var _local14:Number = Math.max(0, (_local4 - 1)); var _local15:Number = Math.max(0, (_local4 - 2)); graphics.clear(); switch (name){ case "selectedUpSkin": case "selectedOverSkin": drawRoundRect(0, 0, _arg1, _arg2, _local13, [_local8, _local11], 1, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), _local14, [_local6[1], _local6[1]], 1, verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2))); break; case "upSkin": _local17 = [_local6[0], _local6[1]]; _local18 = [_local5[0], _local5[1]]; if (_local12){ drawRoundRect(0, 0, _arg1, _arg2, _local13, [_local8, _local11], 1, verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:2, y:2, w:(_arg1 - 4), h:(_arg2 - 4), r:(_local4 - 2)}); drawRoundRect(2, 2, (_arg1 - 4), (_arg2 - 4), _local15, _local17, _local18, verticalGradientMatrix(2, 2, (_arg1 - 2), (_arg2 - 2))); drawRoundRect(2, 2, (_arg1 - 4), ((_arg2 - 4) / 2), {tl:_local15, tr:_local15, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local7, verticalGradientMatrix(1, 1, (_arg1 - 2), ((_arg2 - 2) / 2))); } else { drawRoundRect(0, 0, _arg1, _arg2, _local13, [_local3, _local10], 1, verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:(_local4 - 1)}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), _local14, _local17, _local18, verticalGradientMatrix(1, 1, (_arg1 - 2), (_arg2 - 2))); drawRoundRect(1, 1, (_arg1 - 2), ((_arg2 - 2) / 2), {tl:_local14, tr:_local14, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local7, verticalGradientMatrix(1, 1, (_arg1 - 2), ((_arg2 - 2) / 2))); }; break; case "overSkin": if (_local6.length > 2){ _local19 = [_local6[2], _local6[3]]; } else { _local19 = [_local6[0], _local6[1]]; }; if (_local5.length > 2){ _local20 = [_local5[2], _local5[3]]; } else { _local20 = [_local5[0], _local5[1]]; }; drawRoundRect(0, 0, _arg1, _arg2, _local13, [_local8, _local11], 1, verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:(_local4 - 1)}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), _local14, _local19, _local20, verticalGradientMatrix(1, 1, (_arg1 - 2), (_arg2 - 2))); drawRoundRect(1, 1, (_arg1 - 2), ((_arg2 - 2) / 2), {tl:_local14, tr:_local14, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local7, verticalGradientMatrix(1, 1, (_arg1 - 2), ((_arg2 - 2) / 2))); break; case "downSkin": case "selectedDownSkin": drawRoundRect(0, 0, _arg1, _arg2, _local13, [_local8, _local11], 1, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), _local14, [_local9.fillColorPress1, _local9.fillColorPress2], 1, verticalGradientMatrix(1, 1, (_arg1 - 2), (_arg2 - 2))); drawRoundRect(2, 2, (_arg1 - 4), ((_arg2 - 4) / 2), {tl:_local15, tr:_local15, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local7, verticalGradientMatrix(1, 1, (_arg1 - 2), ((_arg2 - 2) / 2))); break; case "disabledSkin": case "selectedDisabledSkin": _local21 = [_local6[0], _local6[1]]; _local22 = [Math.max(0, (_local5[0] - 0.15)), Math.max(0, (_local5[1] - 0.15))]; drawRoundRect(0, 0, _arg1, _arg2, _local13, [_local3, _local10], 0.5, verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:(_local4 - 1)}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), _local14, _local21, _local22, verticalGradientMatrix(1, 1, (_arg1 - 2), (_arg2 - 2))); break; }; } private static function calcDerivedStyles(_arg1:uint, _arg2:uint, _arg3:uint):Object{ var _local5:Object; var _local4:String = HaloColors.getCacheKey(_arg1, _arg2, _arg3); if (!cache[_local4]){ _local5 = (cache[_local4] = {}); HaloColors.addHaloColors(_local5, _arg1, _arg2, _arg3); }; return (cache[_local4]); } } }//package mx.skins.halo
Section 599
//HaloBorder (mx.skins.halo.HaloBorder) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.styles.*; import mx.graphics.*; import mx.utils.*; import mx.skins.*; public class HaloBorder extends RectangularBorder { mx_internal var radiusObj:Object; mx_internal var backgroundHole:Object; mx_internal var radius:Number; mx_internal var bRoundedCorners:Boolean; mx_internal var backgroundColor:Object; private var dropShadow:RectangularDropShadow; protected var _borderMetrics:EdgeMetrics; mx_internal var backgroundAlphaName:String; mx_internal static const VERSION:String = "3.0.0.0"; private static var BORDER_WIDTHS:Object = {none:0, solid:1, inset:2, outset:2, alert:3, dropdown:2, menuBorder:1, comboNonEdit:2}; public function HaloBorder(){ BORDER_WIDTHS["default"] = 3; } override public function styleChanged(_arg1:String):void{ if ((((((((((_arg1 == null)) || ((_arg1 == "styleName")))) || ((_arg1 == "borderStyle")))) || ((_arg1 == "borderThickness")))) || ((_arg1 == "borderSides")))){ _borderMetrics = null; }; invalidateDisplayList(); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ if (((isNaN(_arg1)) || (isNaN(_arg2)))){ return; }; super.updateDisplayList(_arg1, _arg2); backgroundColor = getBackgroundColor(); bRoundedCorners = false; backgroundAlphaName = "backgroundAlpha"; backgroundHole = null; radius = 0; radiusObj = null; drawBorder(_arg1, _arg2); drawBackground(_arg1, _arg2); } mx_internal function drawBorder(_arg1:Number, _arg2:Number):void{ var _local5:Number; var _local6:uint; var _local7:uint; var _local8:String; var _local9:Number; var _local10:uint; var _local11:Boolean; var _local12:uint; var _local13:Array; var _local14:Array; var _local15:uint; var _local16:uint; var _local17:uint; var _local18:uint; var _local19:Boolean; var _local20:Object; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Object; var _local27:Number; var _local28:Number; var _local29:IContainer; var _local30:EdgeMetrics; var _local31:Boolean; var _local32:Number; var _local33:Array; var _local34:uint; var _local35:Boolean; var _local36:Number; var _local3:String = getStyle("borderStyle"); var _local4:Array = getStyle("highlightAlphas"); var _local21:Boolean; var _local26:Graphics = graphics; _local26.clear(); if (_local3){ switch (_local3){ case "none": break; case "inset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, 25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local22, _local24, Number(_local25), Number(_local25), Number(_local25)); break; case "outset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, -25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local24, _local22, Number(_local25), Number(_local25), Number(_local25)); break; case "alert": case "default": if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _local27 = getStyle("backgroundAlpha"); _local5 = getStyle("borderAlpha"); backgroundAlphaName = "borderAlpha"; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local28 = (bRoundedCorners) ? radius : 0; drawDropShadow(0, 0, _arg1, _arg2, radius, radius, _local28, _local28); if (!bRoundedCorners){ radiusObj = {}; }; _local29 = (parent as IContainer); if (_local29){ _local30 = _local29.viewMetrics; backgroundHole = {x:_local30.left, y:_local30.top, w:Math.max(0, ((_arg1 - _local30.left) - _local30.right)), h:Math.max(0, ((_arg2 - _local30.top) - _local30.bottom)), r:0}; if ((((backgroundHole.w > 0)) && ((backgroundHole.h > 0)))){ if (_local27 != _local5){ drawDropShadow(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h, 0, 0, 0, 0); }; _local26.beginFill(Number(backgroundColor), _local27); _local26.drawRect(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h); _local26.endFill(); }; }; backgroundColor = getStyle("borderColor"); }; break; case "dropdown": _local12 = getStyle("dropdownBorderColor"); drawDropShadow(0, 0, _arg1, _arg2, 4, 0, 0, 4); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, 5068126, 1); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, [0xFFFFFF, 0xFFFFFF], [0.7, 0], verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); if (!isNaN(_local12)){ drawRoundRect(0, 0, (_arg1 + 1), _arg2, {tl:4, tr:0, br:0, bl:4}, _local12, 0.5); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); }; backgroundColor = null; break; case "menuBorder": _local7 = getStyle("borderColor"); drawRoundRect(0, 0, _arg1, _arg2, 0, _local7, 1); drawDropShadow(1, 1, (_arg1 - 2), (_arg2 - 2), 0, 0, 0, 0); break; case "comboNonEdit": break; case "controlBar": if ((((_arg1 == 0)) || ((_arg2 == 0)))){ backgroundColor = null; break; }; _local14 = getStyle("footerColors"); _local31 = !((_local14 == null)); _local32 = getStyle("borderAlpha"); if (_local31){ _local26.lineStyle(0, ((_local14.length > 0)) ? _local14[1] : _local14[0], _local32); _local26.moveTo(0, 0); _local26.lineTo(_arg1, 0); _local26.lineStyle(0, 0, 0); if (((((parent) && (parent.parent))) && ((parent.parent is IStyleClient)))){ radius = IStyleClient(parent.parent).getStyle("cornerRadius"); _local32 = IStyleClient(parent.parent).getStyle("borderAlpha"); }; if (isNaN(radius)){ radius = 0; }; if (IStyleClient(parent.parent).getStyle("roundedBottomCorners").toString().toLowerCase() != "true"){ radius = 0; }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); if ((((_local14.length > 1)) && (!((_local14[0] == _local14[1]))))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 2, (_arg1 - 2), (_arg2 - 3), {tl:0, tr:0, bl:(radius - 1), br:(radius - 1)}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; }; backgroundColor = null; break; case "applicationControlBar": _local13 = getStyle("fillColors"); _local5 = getStyle("backgroundAlpha"); _local4 = getStyle("highlightAlphas"); _local33 = getStyle("fillAlphas"); _local11 = getStyle("docked"); _local34 = uint(backgroundColor); radius = getStyle("cornerRadius"); if (!radius){ radius = 0; }; drawDropShadow(0, 1, _arg1, (_arg2 - 1), radius, radius, radius, radius); if (((!((backgroundColor === null))) && (StyleManager.isValidStyleValue(backgroundColor)))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local34, _local5, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local13, _local33, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(0, 1, _arg1, ((_arg2 / 2) - 1), {tl:radius, tr:radius, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, ((_arg2 / 2) - 1))); drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, 0.3, null, GradientType.LINEAR, null, {x:0, y:2, w:_arg1, h:(_arg2 - 2), r:{tl:radius, tr:radius, bl:0, br:0}}); backgroundColor = null; break; default: _local7 = getStyle("borderColor"); _local9 = getStyle("borderThickness"); _local8 = getStyle("borderSides"); _local35 = true; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local36 = Math.max((radius - _local9), 0); _local20 = {x:_local9, y:_local9, w:(_arg1 - (_local9 * 2)), h:(_arg2 - (_local9 * 2)), r:_local36}; if (!bRoundedCorners){ radiusObj = {tl:radius, tr:radius, bl:0, br:0}; _local20.r = {tl:_local36, tr:_local36, bl:0, br:0}; }; if (_local8 != "left top right bottom"){ _local20.r = {tl:_local36, tr:_local36, bl:(bRoundedCorners) ? _local36 : 0, br:(bRoundedCorners) ? _local36 : 0}; radiusObj = {tl:radius, tr:radius, bl:(bRoundedCorners) ? radius : 0, br:(bRoundedCorners) ? radius : 0}; _local8 = _local8.toLowerCase(); if (_local8.indexOf("left") == -1){ _local20.x = 0; _local20.w = (_local20.w + _local9); _local20.r.tl = 0; _local20.r.bl = 0; radiusObj.tl = 0; radiusObj.bl = 0; _local35 = false; }; if (_local8.indexOf("top") == -1){ _local20.y = 0; _local20.h = (_local20.h + _local9); _local20.r.tl = 0; _local20.r.tr = 0; radiusObj.tl = 0; radiusObj.tr = 0; _local35 = false; }; if (_local8.indexOf("right") == -1){ _local20.w = (_local20.w + _local9); _local20.r.tr = 0; _local20.r.br = 0; radiusObj.tr = 0; radiusObj.br = 0; _local35 = false; }; if (_local8.indexOf("bottom") == -1){ _local20.h = (_local20.h + _local9); _local20.r.bl = 0; _local20.r.br = 0; radiusObj.bl = 0; radiusObj.br = 0; _local35 = false; }; }; if ((((radius == 0)) && (_local35))){ drawDropShadow(0, 0, _arg1, _arg2, 0, 0, 0, 0); _local26.beginFill(_local7); _local26.drawRect(0, 0, _arg1, _arg2); _local26.drawRect(_local9, _local9, (_arg1 - (2 * _local9)), (_arg2 - (2 * _local9))); _local26.endFill(); } else { if (radiusObj){ drawDropShadow(0, 0, _arg1, _arg2, radiusObj.tl, radiusObj.tr, radiusObj.br, radiusObj.bl); drawRoundRect(0, 0, _arg1, _arg2, radiusObj, _local7, 1, null, null, null, _local20); radiusObj.tl = Math.max((radius - _local9), 0); radiusObj.tr = Math.max((radius - _local9), 0); radiusObj.bl = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; radiusObj.br = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; } else { drawDropShadow(0, 0, _arg1, _arg2, radius, radius, radius, radius); drawRoundRect(0, 0, _arg1, _arg2, radius, _local7, 1, null, null, null, _local20); radius = Math.max((getStyle("cornerRadius") - _local9), 0); }; }; }; }; } mx_internal function drawBackground(_arg1:Number, _arg2:Number):void{ var _local4:Number; var _local5:Number; var _local6:EdgeMetrics; var _local7:Graphics; var _local8:Number; var _local9:Number; var _local10:Array; var _local11:Number; if (((((((!((backgroundColor === null))) && (!((backgroundColor === ""))))) || (getStyle("mouseShield")))) || (getStyle("mouseShieldChildren")))){ _local4 = Number(backgroundColor); _local5 = 1; _local6 = getBackgroundColorMetrics(); _local7 = graphics; if (((((isNaN(_local4)) || ((backgroundColor === "")))) || ((backgroundColor === null)))){ _local5 = 0; _local4 = 0xFFFFFF; } else { _local5 = getStyle(backgroundAlphaName); }; if (((!((radius == 0))) || (backgroundHole))){ _local8 = _local6.bottom; if (radiusObj){ _local9 = (bRoundedCorners) ? radius : 0; radiusObj = {tl:radius, tr:radius, bl:_local9, br:_local9}; drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radiusObj, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); } else { drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radius, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); }; } else { _local7.beginFill(_local4, _local5); _local7.drawRect(_local6.left, _local6.top, ((_arg1 - _local6.right) - _local6.left), ((_arg2 - _local6.bottom) - _local6.top)); _local7.endFill(); }; }; var _local3:String = getStyle("borderStyle"); if ((((((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)) && ((((_local3 == "alert")) || ((_local3 == "default")))))) && ((getStyle("headerColors") == null)))){ _local10 = getStyle("highlightAlphas"); _local11 = (_local10) ? _local10[0] : 0.3; drawRoundRect(0, 0, _arg1, _arg2, {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, _local11, null, GradientType.LINEAR, null, {x:0, y:1, w:_arg1, h:(_arg2 - 1), r:{tl:radius, tr:radius, bl:0, br:0}}); }; } mx_internal function drawDropShadow(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{ var _local11:Number; var _local12:Boolean; if ((((((((getStyle("dropShadowEnabled") == false)) || ((getStyle("dropShadowEnabled") == "false")))) || ((_arg3 == 0)))) || ((_arg4 == 0)))){ return; }; var _local9:Number = getStyle("shadowDistance"); var _local10:String = getStyle("shadowDirection"); if (getStyle("borderStyle") == "applicationControlBar"){ _local12 = getStyle("docked"); _local11 = (_local12) ? 90 : getDropShadowAngle(_local9, _local10); _local9 = Math.abs(_local9); } else { _local11 = getDropShadowAngle(_local9, _local10); _local9 = (Math.abs(_local9) + 2); }; if (!dropShadow){ dropShadow = new RectangularDropShadow(); }; dropShadow.distance = _local9; dropShadow.angle = _local11; dropShadow.color = getStyle("dropShadowColor"); dropShadow.alpha = 0.4; dropShadow.tlRadius = _arg5; dropShadow.trRadius = _arg6; dropShadow.blRadius = _arg8; dropShadow.brRadius = _arg7; dropShadow.drawShadow(graphics, _arg1, _arg2, _arg3, _arg4); } mx_internal function getBackgroundColor():Object{ var _local2:Object; var _local1:IUIComponent = (parent as IUIComponent); if (((_local1) && (!(_local1.enabled)))){ _local2 = getStyle("backgroundDisabledColor"); if (((!((_local2 === null))) && (StyleManager.isValidStyleValue(_local2)))){ return (_local2); }; }; return (getStyle("backgroundColor")); } mx_internal function draw3dBorder(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:Number = width; var _local8:Number = height; drawDropShadow(0, 0, width, height, 0, 0, 0, 0); var _local9:Graphics = graphics; _local9.beginFill(_arg1); _local9.drawRect(0, 0, _local7, _local8); _local9.drawRect(1, 0, (_local7 - 2), _local8); _local9.endFill(); _local9.beginFill(_arg2); _local9.drawRect(1, 0, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg3); _local9.drawRect(1, (_local8 - 1), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg4); _local9.drawRect(1, 1, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg5); _local9.drawRect(1, (_local8 - 2), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg6); _local9.drawRect(1, 2, (_local7 - 2), (_local8 - 4)); _local9.drawRect(2, 2, (_local7 - 4), (_local8 - 4)); _local9.endFill(); } mx_internal function getBackgroundColorMetrics():EdgeMetrics{ return (borderMetrics); } mx_internal function getDropShadowAngle(_arg1:Number, _arg2:String):Number{ if (_arg2 == "left"){ return (((_arg1 >= 0)) ? 135 : 225); //unresolved jump }; if (_arg2 == "right"){ return (((_arg1 >= 0)) ? 45 : 315); //unresolved jump }; return (((_arg1 >= 0)) ? 90 : 270); } override public function get borderMetrics():EdgeMetrics{ var _local1:Number; var _local3:String; if (_borderMetrics){ return (_borderMetrics); }; var _local2:String = getStyle("borderStyle"); if ((((_local2 == "default")) || ((_local2 == "alert")))){ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _borderMetrics = new EdgeMetrics(0, 0, 0, 0); } else { return (EdgeMetrics.EMPTY); }; } else { if ((((_local2 == "controlBar")) || ((_local2 == "applicationControlBar")))){ _borderMetrics = new EdgeMetrics(1, 1, 1, 1); } else { if (_local2 == "solid"){ _local1 = getStyle("borderThickness"); if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); _local3 = getStyle("borderSides"); if (_local3 != "left top right bottom"){ if (_local3.indexOf("left") == -1){ _borderMetrics.left = 0; }; if (_local3.indexOf("top") == -1){ _borderMetrics.top = 0; }; if (_local3.indexOf("right") == -1){ _borderMetrics.right = 0; }; if (_local3.indexOf("bottom") == -1){ _borderMetrics.bottom = 0; }; }; } else { _local1 = BORDER_WIDTHS[_local2]; if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); }; }; }; return (_borderMetrics); } } }//package mx.skins.halo
Section 600
//HaloColors (mx.skins.halo.HaloColors) package mx.skins.halo { import mx.utils.*; public class HaloColors { mx_internal static const VERSION:String = "3.0.0.0"; private static var cache:Object = {}; public static function getCacheKey(... _args):String{ return (_args.join(",")); } public static function addHaloColors(_arg1:Object, _arg2:uint, _arg3:uint, _arg4:uint):void{ var _local5:String = getCacheKey(_arg2, _arg3, _arg4); var _local6:Object = cache[_local5]; if (!_local6){ _local6 = (cache[_local5] = {}); _local6.themeColLgt = ColorUtil.adjustBrightness(_arg2, 100); _local6.themeColDrk1 = ColorUtil.adjustBrightness(_arg2, -75); _local6.themeColDrk2 = ColorUtil.adjustBrightness(_arg2, -25); _local6.fillColorBright1 = ColorUtil.adjustBrightness2(_arg3, 15); _local6.fillColorBright2 = ColorUtil.adjustBrightness2(_arg4, 15); _local6.fillColorPress1 = ColorUtil.adjustBrightness2(_arg2, 85); _local6.fillColorPress2 = ColorUtil.adjustBrightness2(_arg2, 60); _local6.bevelHighlight1 = ColorUtil.adjustBrightness2(_arg3, 40); _local6.bevelHighlight2 = ColorUtil.adjustBrightness2(_arg4, 40); }; _arg1.themeColLgt = _local6.themeColLgt; _arg1.themeColDrk1 = _local6.themeColDrk1; _arg1.themeColDrk2 = _local6.themeColDrk2; _arg1.fillColorBright1 = _local6.fillColorBright1; _arg1.fillColorBright2 = _local6.fillColorBright2; _arg1.fillColorPress1 = _local6.fillColorPress1; _arg1.fillColorPress2 = _local6.fillColorPress2; _arg1.bevelHighlight1 = _local6.bevelHighlight1; _arg1.bevelHighlight2 = _local6.bevelHighlight2; } } }//package mx.skins.halo
Section 601
//HaloFocusRect (mx.skins.halo.HaloFocusRect) package mx.skins.halo { import flash.display.*; import mx.styles.*; import mx.utils.*; import mx.skins.*; public class HaloFocusRect extends ProgrammaticSkin implements IStyleClient { private var _focusColor:Number; mx_internal static const VERSION:String = "3.0.0.0"; public function get inheritingStyles():Object{ return (styleName.inheritingStyles); } public function set inheritingStyles(_arg1:Object):void{ } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ } public function registerEffects(_arg1:Array):void{ } public function regenerateStyleCache(_arg1:Boolean):void{ } public function get styleDeclaration():CSSStyleDeclaration{ return (CSSStyleDeclaration(styleName)); } public function getClassStyleDeclarations():Array{ return ([]); } public function get className():String{ return ("HaloFocusRect"); } public function clearStyle(_arg1:String):void{ if (_arg1 == "focusColor"){ _focusColor = NaN; }; } public function setStyle(_arg1:String, _arg2):void{ if (_arg1 == "focusColor"){ _focusColor = _arg2; }; } public function set nonInheritingStyles(_arg1:Object):void{ } public function get nonInheritingStyles():Object{ return (styleName.nonInheritingStyles); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; super.updateDisplayList(_arg1, _arg2); var _local3:String = getStyle("focusBlendMode"); var _local4:Number = getStyle("focusAlpha"); var _local5:Number = getStyle("focusColor"); var _local6:Number = getStyle("cornerRadius"); var _local7:Number = getStyle("focusThickness"); var _local8:String = getStyle("focusRoundedCorners"); var _local9:Number = getStyle("themeColor"); var _local10:Number = _local5; if (isNaN(_local10)){ _local10 = _local9; }; var _local11:Graphics = graphics; _local11.clear(); blendMode = _local3; if (((!((_local8 == "tl tr bl br"))) && ((_local6 > 0)))){ _local12 = 0; _local13 = 0; _local14 = 0; _local15 = 0; _local16 = (_local6 + _local7); if (_local8.indexOf("tl") >= 0){ _local12 = _local16; }; if (_local8.indexOf("tr") >= 0){ _local14 = _local16; }; if (_local8.indexOf("bl") >= 0){ _local13 = _local16; }; if (_local8.indexOf("br") >= 0){ _local15 = _local16; }; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, 0, 0, _arg1, _arg2, _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); _local16 = (_local6 + (_local7 / 2)); _local12 = (_local12) ? _local16 : 0; _local14 = (_local14) ? _local16 : 0; _local13 = (_local13) ? _local16 : 0; _local15 = (_local15) ? _local16 : 0; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, (_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); } else { _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + _local7) : 0 * 2); _local11.drawRoundRect(0, 0, _arg1, _arg2, _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + (_local7 / 2)) : 0 * 2); _local11.drawRoundRect((_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); }; } override public function getStyle(_arg1:String){ return (((_arg1 == "focusColor")) ? _focusColor : super.getStyle(_arg1)); } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ } } }//package mx.skins.halo
Section 602
//ScrollArrowSkin (mx.skins.halo.ScrollArrowSkin) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.styles.*; import mx.controls.scrollClasses.*; import mx.utils.*; import mx.skins.*; public class ScrollArrowSkin extends Border { mx_internal static const VERSION:String = "3.0.0.0"; private static var cache:Object = {}; override public function get measuredWidth():Number{ return (ScrollBar.THICKNESS); } override public function get measuredHeight():Number{ return (ScrollBar.THICKNESS); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local13:Array; var _local15:Array; var _local16:Array; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:Array; super.updateDisplayList(_arg1, _arg2); var _local3:Number = getStyle("backgroundColor"); var _local4:uint = getStyle("borderColor"); var _local5:Array = getStyle("fillAlphas"); var _local6:Array = getStyle("fillColors"); StyleManager.getColorNames(_local6); var _local7:Array = getStyle("highlightAlphas"); var _local8:uint = getStyle("themeColor"); var _local9 = (name.charAt(0) == "u"); var _local10:uint = getStyle("iconColor"); var _local11:Object = calcDerivedStyles(_local8, _local4, _local6[0], _local6[1]); var _local12:Boolean = ((((parent) && (parent.parent))) && (!((parent.parent.rotation == 0)))); if (((_local9) && (!(_local12)))){ _local13 = [_local4, _local11.borderColorDrk1]; } else { _local13 = [_local11.borderColorDrk1, _local11.borderColorDrk2]; }; var _local14:Graphics = graphics; _local14.clear(); if (isNaN(_local3)){ _local3 = 0xFFFFFF; }; if ((((FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)) || ((name.indexOf("Disabled") == -1)))){ drawRoundRect(0, 0, _arg1, _arg2, 0, _local3, 1); }; switch (name){ case "upArrowUpSkin": if (!_local12){ drawRoundRect(1, (_arg2 - 4), (_arg1 - 2), 8, 0, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], verticalGradientMatrix(1, (_arg2 - 4), (_arg1 - 2), 8), GradientType.LINEAR, null, {x:1, y:(_arg2 - 4), w:(_arg1 - 2), h:4, r:0}); }; case "downArrowUpSkin": _local15 = [_local6[0], _local6[1]]; _local16 = [_local5[0], _local5[1]]; drawRoundRect(0, 0, _arg1, _arg2, 0, _local13, 1, (_local12) ? horizontalGradientMatrix(0, 0, _arg1, _arg2) : verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:0}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), 0, _local15, _local16, (_local12) ? horizontalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - (2 / 2)))); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - (2 / 2)), 0, [0xFFFFFF, 0xFFFFFF], _local7, (_local12) ? horizontalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - (2 / 2)))); break; case "upArrowOverSkin": if (!_local12){ drawRoundRect(1, (_arg2 - 4), (_arg1 - 2), 8, 0, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], verticalGradientMatrix(1, (_arg2 - 4), (_arg1 - 2), 8), GradientType.LINEAR, null, {x:1, y:(_arg2 - 4), w:(_arg1 - 2), h:4, r:0}); }; case "downArrowOverSkin": if (_local6.length > 2){ _local17 = [_local6[2], _local6[3]]; } else { _local17 = [_local6[0], _local6[1]]; }; if (_local5.length > 2){ _local18 = [_local5[2], _local5[3]]; } else { _local18 = [_local5[0], _local5[1]]; }; drawRoundRect(0, 0, _arg1, _arg2, 0, 0xFFFFFF, 1); drawRoundRect(0, 0, _arg1, _arg2, 0, [_local8, _local11.themeColDrk1], 1, (_local12) ? horizontalGradientMatrix(0, 0, _arg1, _arg2) : verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:0}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), 0, _local17, _local18, (_local12) ? horizontalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2))); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - (2 / 2)), 0, [0xFFFFFF, 0xFFFFFF], _local7, (_local12) ? horizontalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - (2 / 2)))); break; case "upArrowDownSkin": if (!_local12){ drawRoundRect(1, (_arg2 - 4), (_arg1 - 2), 8, 0, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], (_local12) ? horizontalGradientMatrix(1, (_arg2 - 4), (_arg1 - 2), 8) : verticalGradientMatrix(1, (_arg2 - 4), (_arg1 - 2), 8), GradientType.LINEAR, null, {x:1, y:(_arg2 - 4), w:(_arg1 - 2), h:4, r:0}); }; case "downArrowDownSkin": drawRoundRect(0, 0, _arg1, _arg2, 0, [_local8, _local11.themeColDrk1], 1, (_local12) ? horizontalGradientMatrix(0, 0, _arg1, _arg2) : verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:0}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), 0, [_local11.fillColorPress1, _local11.fillColorPress2], 1, (_local12) ? horizontalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2))); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - (2 / 2)), 0, [0xFFFFFF, 0xFFFFFF], _local7, (_local12) ? horizontalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - (2 / 2)))); break; case "upArrowDisabledSkin": if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ if (!_local12){ drawRoundRect(1, (_arg2 - 4), (_arg1 - 2), 8, 0, [_local11.borderColorDrk1, _local11.borderColorDrk1], [0.5, 0], verticalGradientMatrix(1, (_arg2 - 4), (_arg1 - 2), 8), GradientType.LINEAR, null, {x:1, y:(_arg2 - 4), w:(_arg1 - 2), h:4, r:0}); }; }; case "downArrowDisabledSkin": if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0){ _local19 = [_local6[0], _local6[1]]; _local20 = [(_local5[0] - 0.15), (_local5[1] - 0.15)]; drawRoundRect(0, 0, _arg1, _arg2, 0, _local13, 0.5, (_local12) ? horizontalGradientMatrix(0, 0, _arg1, _arg2) : verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:0}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), 0, _local19, _local20, (_local12) ? horizontalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(0, 0, (_arg1 - 2), (_arg2 - (2 / 2)))); _local10 = getStyle("disabledIconColor"); } else { drawRoundRect(0, 0, _arg1, _arg2, 0, 0xFFFFFF, 0); return; }; break; default: drawRoundRect(0, 0, _arg1, _arg2, 0, 0xFFFFFF, 0); return; }; _local14.beginFill(_local10); if (_local9){ _local14.moveTo((_arg1 / 2), 6); _local14.lineTo((_arg1 - 5), (_arg2 - 6)); _local14.lineTo(5, (_arg2 - 6)); _local14.lineTo((_arg1 / 2), 6); } else { _local14.moveTo((_arg1 / 2), (_arg2 - 6)); _local14.lineTo((_arg1 - 5), 6); _local14.lineTo(5, 6); _local14.lineTo((_arg1 / 2), (_arg2 - 6)); }; _local14.endFill(); } private static function calcDerivedStyles(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint):Object{ var _local6:Object; var _local5:String = HaloColors.getCacheKey(_arg1, _arg2, _arg3, _arg4); if (!cache[_local5]){ _local6 = (cache[_local5] = {}); HaloColors.addHaloColors(_local6, _arg1, _arg3, _arg4); _local6.borderColorDrk1 = ColorUtil.adjustBrightness2(_arg2, -25); _local6.borderColorDrk2 = ColorUtil.adjustBrightness2(_arg2, -50); }; return (cache[_local5]); } } }//package mx.skins.halo
Section 603
//ScrollThumbSkin (mx.skins.halo.ScrollThumbSkin) package mx.skins.halo { import flash.display.*; import mx.styles.*; import mx.utils.*; import mx.skins.*; public class ScrollThumbSkin extends Border { mx_internal static const VERSION:String = "3.0.0.0"; private static var cache:Object = {}; override public function get measuredWidth():Number{ return (16); } override public function get measuredHeight():Number{ return (10); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local17:Array; var _local18:Array; var _local19:Array; var _local20:Array; super.updateDisplayList(_arg1, _arg2); var _local3:Number = getStyle("backgroundColor"); var _local4:uint = getStyle("borderColor"); var _local5:Number = getStyle("cornerRadius"); var _local6:Array = getStyle("fillAlphas"); var _local7:Array = getStyle("fillColors"); StyleManager.getColorNames(_local7); var _local8:Array = getStyle("highlightAlphas"); var _local9:uint = getStyle("themeColor"); var _local10:uint = 7305079; var _local11:Object = calcDerivedStyles(_local9, _local4, _local7[0], _local7[1]); var _local12:Number = Math.max((_local5 - 1), 0); var _local13:Object = {tl:0, tr:_local12, bl:0, br:_local12}; _local12 = Math.max((_local12 - 1), 0); var _local14:Object = {tl:0, tr:_local12, bl:0, br:_local12}; var _local15:Boolean = ((((parent) && (parent.parent))) && (!((parent.parent.rotation == 0)))); if (isNaN(_local3)){ _local3 = 0xFFFFFF; }; graphics.clear(); drawRoundRect(1, 0, (_arg1 - 3), _arg2, _local13, _local3, 1); switch (name){ case "thumbUpSkin": default: _local17 = [_local7[0], _local7[1]]; _local18 = [_local6[0], _local6[1]]; drawRoundRect(0, 0, _arg1, _arg2, 0, 0xFFFFFF, 0); if (_local15){ drawRoundRect(1, 0, (_arg1 - 2), _arg2, _local5, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], horizontalGradientMatrix(2, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 4), h:(_arg2 - 2), r:_local14}); } else { drawRoundRect(1, (_arg2 - _local12), (_arg1 - 3), (_local12 + 4), {tl:0, tr:0, bl:0, br:_local12}, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], (_local15) ? horizontalGradientMatrix(0, (_arg2 - 4), (_arg1 - 3), 8) : verticalGradientMatrix(0, (_arg2 - 4), (_arg1 - 3), 8), GradientType.LINEAR, null, {x:1, y:(_arg2 - _local12), w:(_arg1 - 4), h:_local12, r:{tl:0, tr:0, bl:0, br:(_local12 - 1)}}); }; drawRoundRect(1, 0, (_arg1 - 3), _arg2, _local13, [_local4, _local11.borderColorDrk1], 1, (_local15) ? horizontalGradientMatrix(0, 0, _arg1, _arg2) : verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 4), h:(_arg2 - 2), r:_local14}); drawRoundRect(1, 1, (_arg1 - 4), (_arg2 - 2), _local14, _local17, _local18, (_local15) ? horizontalGradientMatrix(1, 0, (_arg1 - 2), (_arg2 - 2)) : verticalGradientMatrix(1, 0, (_arg1 - 2), (_arg2 - 2))); if (_local15){ drawRoundRect(1, 0, ((_arg1 - 4) / 2), (_arg2 - 2), 0, [0xFFFFFF, 0xFFFFFF], _local8, horizontalGradientMatrix(1, 1, (_arg1 - 4), ((_arg2 - 2) / 2))); } else { drawRoundRect(1, 1, (_arg1 - 4), ((_arg2 - 2) / 2), _local14, [0xFFFFFF, 0xFFFFFF], _local8, (_local15) ? horizontalGradientMatrix(1, 0, ((_arg1 - 4) / 2), (_arg2 - 2)) : verticalGradientMatrix(1, 1, (_arg1 - 4), ((_arg2 - 2) / 2))); }; break; case "thumbOverSkin": if (_local7.length > 2){ _local19 = [_local7[2], _local7[3]]; } else { _local19 = [_local7[0], _local7[1]]; }; if (_local6.length > 2){ _local20 = [_local6[2], _local6[3]]; } else { _local20 = [_local6[0], _local6[1]]; }; drawRoundRect(0, 0, _arg1, _arg2, 0, 0xFFFFFF, 0); if (_local15){ drawRoundRect(1, 0, (_arg1 - 2), _arg2, _local5, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], horizontalGradientMatrix(2, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 4), h:(_arg2 - 2), r:_local14}); } else { drawRoundRect(1, (_arg2 - _local12), (_arg1 - 3), (_local12 + 4), {tl:0, tr:0, bl:0, br:_local12}, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], (_local15) ? horizontalGradientMatrix(0, (_arg2 - 4), (_arg1 - 3), 8) : verticalGradientMatrix(0, (_arg2 - 4), (_arg1 - 3), 8), GradientType.LINEAR, null, {x:1, y:(_arg2 - _local12), w:(_arg1 - 4), h:_local12, r:{tl:0, tr:0, bl:0, br:(_local12 - 1)}}); }; drawRoundRect(1, 0, (_arg1 - 3), _arg2, _local13, [_local9, _local11.themeColDrk1], 1, (_local15) ? horizontalGradientMatrix(1, 0, _arg1, _arg2) : verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 4), h:(_arg2 - 2), r:_local14}); drawRoundRect(1, 1, (_arg1 - 4), (_arg2 - 2), _local14, _local19, _local20, (_local15) ? horizontalGradientMatrix(1, 0, _arg1, _arg2) : verticalGradientMatrix(1, 0, _arg1, _arg2)); break; case "thumbDownSkin": if (_local15){ drawRoundRect(1, 0, (_arg1 - 2), _arg2, _local13, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], horizontalGradientMatrix(2, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 4), h:(_arg2 - 2), r:_local14}); } else { drawRoundRect(1, (_arg2 - _local12), (_arg1 - 3), (_local12 + 4), {tl:0, tr:0, bl:0, br:_local12}, [_local11.borderColorDrk1, _local11.borderColorDrk1], [1, 0], (_local15) ? horizontalGradientMatrix(0, (_arg2 - 4), (_arg1 - 3), 8) : verticalGradientMatrix(0, (_arg2 - 4), (_arg1 - 3), 8), GradientType.LINEAR, null, {x:1, y:(_arg2 - _local12), w:(_arg1 - 4), h:_local12, r:{tl:0, tr:0, bl:0, br:(_local12 - 1)}}); }; drawRoundRect(1, 0, (_arg1 - 3), _arg2, _local13, [_local9, _local11.themeColDrk2], 1, (_local15) ? horizontalGradientMatrix(1, 0, _arg1, _arg2) : verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 4), h:(_arg2 - 2), r:_local14}); drawRoundRect(1, 1, (_arg1 - 4), (_arg2 - 2), _local14, [_local11.fillColorPress1, _local11.fillColorPress2], 1, (_local15) ? horizontalGradientMatrix(1, 0, _arg1, _arg2) : verticalGradientMatrix(1, 0, _arg1, _arg2)); break; case "thumbDisabledSkin": drawRoundRect(0, 0, _arg1, _arg2, 0, 0xFFFFFF, 0); drawRoundRect(1, 0, (_arg1 - 3), _arg2, _local13, 0x999999, 0.5); drawRoundRect(1, 1, (_arg1 - 4), (_arg2 - 2), _local14, 0xFFFFFF, 0.5); break; }; var _local16:Number = Math.floor(((_arg1 / 2) - 4)); drawRoundRect(_local16, Math.floor(((_arg2 / 2) - 4)), 5, 1, 0, 0, 0.4); drawRoundRect(_local16, Math.floor(((_arg2 / 2) - 2)), 5, 1, 0, 0, 0.4); drawRoundRect(_local16, Math.floor((_arg2 / 2)), 5, 1, 0, 0, 0.4); drawRoundRect(_local16, Math.floor(((_arg2 / 2) + 2)), 5, 1, 0, 0, 0.4); drawRoundRect(_local16, Math.floor(((_arg2 / 2) + 4)), 5, 1, 0, 0, 0.4); } private static function calcDerivedStyles(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint):Object{ var _local6:Object; var _local5:String = HaloColors.getCacheKey(_arg1, _arg2, _arg3, _arg4); if (!cache[_local5]){ _local6 = (cache[_local5] = {}); HaloColors.addHaloColors(_local6, _arg1, _arg3, _arg4); _local6.borderColorDrk1 = ColorUtil.adjustBrightness2(_arg2, -50); }; return (cache[_local5]); } } }//package mx.skins.halo
Section 604
//ScrollTrackSkin (mx.skins.halo.ScrollTrackSkin) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.styles.*; import mx.utils.*; import mx.skins.*; public class ScrollTrackSkin extends Border { mx_internal static const VERSION:String = "3.0.0.0"; override public function get measuredWidth():Number{ return (16); } override public function get measuredHeight():Number{ return (1); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); var _local3:Array = getStyle("trackColors"); StyleManager.getColorNames(_local3); var _local4:uint = ColorUtil.adjustBrightness2(getStyle("borderColor"), -20); var _local5:uint = ColorUtil.adjustBrightness2(_local4, -30); graphics.clear(); var _local6:Number = 1; if ((((name == "trackDisabledSkin")) && ((FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)))){ _local6 = 0.2; }; drawRoundRect(0, 0, _arg1, _arg2, 0, [_local4, _local5], _local6, verticalGradientMatrix(0, 0, _arg1, _arg2), GradientType.LINEAR, null, {x:1, y:1, w:(_arg1 - 2), h:(_arg2 - 2), r:0}); drawRoundRect(1, 1, (_arg1 - 2), (_arg2 - 2), 0, _local3, _local6, horizontalGradientMatrix(1, 1, ((_arg1 / 3) * 2), (_arg2 - 2))); } } }//package mx.skins.halo
Section 605
//ToolTipBorder (mx.skins.halo.ToolTipBorder) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.graphics.*; import mx.skins.*; import flash.filters.*; public class ToolTipBorder extends RectangularBorder { private var _borderMetrics:EdgeMetrics; private var dropShadow:RectangularDropShadow; mx_internal static const VERSION:String = "3.0.0.0"; override public function get borderMetrics():EdgeMetrics{ if (_borderMetrics){ return (_borderMetrics); }; var _local1:String = getStyle("borderStyle"); switch (_local1){ case "errorTipRight": _borderMetrics = new EdgeMetrics(15, 1, 3, 3); break; case "errorTipAbove": _borderMetrics = new EdgeMetrics(3, 1, 3, 15); break; case "errorTipBelow": _borderMetrics = new EdgeMetrics(3, 13, 3, 3); break; default: _borderMetrics = new EdgeMetrics(3, 1, 3, 3); break; }; return (_borderMetrics); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); var _local3:String = getStyle("borderStyle"); var _local4:uint = getStyle("backgroundColor"); var _local5:Number = getStyle("backgroundAlpha"); var _local6:uint = getStyle("borderColor"); var _local7:Number = getStyle("cornerRadius"); var _local8:uint = getStyle("shadowColor"); var _local9:Number = 0.1; var _local10:Graphics = graphics; _local10.clear(); filters = []; switch (_local3){ case "toolTip": drawRoundRect(3, 1, (_arg1 - 6), (_arg2 - 4), _local7, _local4, _local5); if (!dropShadow){ dropShadow = new RectangularDropShadow(); }; dropShadow.distance = 3; dropShadow.angle = 90; dropShadow.color = 0; dropShadow.alpha = 0.4; dropShadow.tlRadius = (_local7 + 2); dropShadow.trRadius = (_local7 + 2); dropShadow.blRadius = (_local7 + 2); dropShadow.brRadius = (_local7 + 2); dropShadow.drawShadow(graphics, 3, 0, (_arg1 - 6), (_arg2 - 4)); break; case "errorTipRight": drawRoundRect(11, 0, (_arg1 - 11), (_arg2 - 2), 3, _local6, _local5); _local10.beginFill(_local6, _local5); _local10.moveTo(11, 7); _local10.lineTo(0, 13); _local10.lineTo(11, 19); _local10.moveTo(11, 7); _local10.endFill(); filters = [new DropShadowFilter(2, 90, 0, 0.4)]; break; case "errorTipAbove": drawRoundRect(0, 0, _arg1, (_arg2 - 13), 3, _local6, _local5); _local10.beginFill(_local6, _local5); _local10.moveTo(9, (_arg2 - 13)); _local10.lineTo(15, (_arg2 - 2)); _local10.lineTo(21, (_arg2 - 13)); _local10.moveTo(9, (_arg2 - 13)); _local10.endFill(); filters = [new DropShadowFilter(2, 90, 0, 0.4)]; break; case "errorTipBelow": drawRoundRect(0, 11, _arg1, (_arg2 - 13), 3, _local6, _local5); _local10.beginFill(_local6, _local5); _local10.moveTo(9, 11); _local10.lineTo(15, 0); _local10.lineTo(21, 11); _local10.moveTo(10, 11); _local10.endFill(); filters = [new DropShadowFilter(2, 90, 0, 0.4)]; break; }; } override public function styleChanged(_arg1:String):void{ if ((((((_arg1 == "borderStyle")) || ((_arg1 == "styleName")))) || ((_arg1 == null)))){ _borderMetrics = null; }; invalidateDisplayList(); } } }//package mx.skins.halo
Section 606
//Border (mx.skins.Border) package mx.skins { import mx.core.*; public class Border extends ProgrammaticSkin implements IBorder { mx_internal static const VERSION:String = "3.0.0.0"; public function get borderMetrics():EdgeMetrics{ return (EdgeMetrics.EMPTY); } } }//package mx.skins
Section 607
//ProgrammaticSkin (mx.skins.ProgrammaticSkin) package mx.skins { import flash.display.*; import flash.geom.*; import mx.core.*; import mx.managers.*; import mx.styles.*; import mx.utils.*; public class ProgrammaticSkin extends FlexShape implements IFlexDisplayObject, IInvalidating, ILayoutManagerClient, ISimpleStyleClient, IProgrammaticSkin { private var _initialized:Boolean;// = false private var _height:Number; private var invalidateDisplayListFlag:Boolean;// = false private var _styleName:IStyleClient; private var _nestLevel:int;// = 0 private var _processedDescriptors:Boolean;// = false private var _updateCompletePendingFlag:Boolean;// = true private var _width:Number; mx_internal static const VERSION:String = "3.0.0.0"; private static var tempMatrix:Matrix = new Matrix(); public function ProgrammaticSkin(){ _width = measuredWidth; _height = measuredHeight; } public function getStyle(_arg1:String){ return (_styleName.getStyle(_arg1)); } protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ } public function get nestLevel():int{ return (_nestLevel); } public function set nestLevel(_arg1:int):void{ _nestLevel = _arg1; invalidateDisplayList(); } override public function get height():Number{ return (_height); } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } protected function verticalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 90)); } public function validateSize(_arg1:Boolean=false):void{ } public function invalidateDisplayList():void{ if (((!(invalidateDisplayListFlag)) && ((nestLevel > 0)))){ invalidateDisplayListFlag = true; UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } protected function horizontalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 0)); } override public function set height(_arg1:Number):void{ _height = _arg1; invalidateDisplayList(); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; } public function validateDisplayList():void{ invalidateDisplayListFlag = false; updateDisplayList(width, height); } public function get measuredWidth():Number{ return (0); } override public function set width(_arg1:Number):void{ _width = _arg1; invalidateDisplayList(); } public function get measuredHeight():Number{ return (0); } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; } protected function drawRoundRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Matrix=null, _arg9:String="linear", _arg10:Array=null, _arg11:Object=null):void{ var _local13:Number; var _local14:Array; var _local15:Object; var _local12:Graphics = graphics; if ((((_arg3 == 0)) || ((_arg4 == 0)))){ return; }; if (_arg6 !== null){ if ((_arg6 is uint)){ _local12.beginFill(uint(_arg6), Number(_arg7)); } else { if ((_arg6 is Array)){ _local14 = ((_arg7 is Array)) ? (_arg7 as Array) : [_arg7, _arg7]; if (!_arg10){ _arg10 = [0, 0xFF]; }; _local12.beginGradientFill(_arg9, (_arg6 as Array), _local14, _arg10, _arg8); }; }; }; if (!_arg5){ _local12.drawRect(_arg1, _arg2, _arg3, _arg4); } else { if ((_arg5 is Number)){ _local13 = (Number(_arg5) * 2); _local12.drawRoundRect(_arg1, _arg2, _arg3, _arg4, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg1, _arg2, _arg3, _arg4, _arg5.tl, _arg5.tr, _arg5.bl, _arg5.br); }; }; if (_arg11){ _local15 = _arg11.r; if ((_local15 is Number)){ _local13 = (Number(_local15) * 2); _local12.drawRoundRect(_arg11.x, _arg11.y, _arg11.w, _arg11.h, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg11.x, _arg11.y, _arg11.w, _arg11.h, _local15.tl, _local15.tr, _local15.bl, _local15.br); }; }; if (_arg6 !== null){ _local12.endFill(); }; } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } public function set styleName(_arg1:Object):void{ if (_styleName != _arg1){ _styleName = (_arg1 as IStyleClient); invalidateDisplayList(); }; } public function setActualSize(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; if (_width != _arg1){ _width = _arg1; _local3 = true; }; if (_height != _arg2){ _height = _arg2; _local3 = true; }; if (_local3){ invalidateDisplayList(); }; } public function styleChanged(_arg1:String):void{ invalidateDisplayList(); } override public function get width():Number{ return (_width); } public function invalidateProperties():void{ } public function get initialized():Boolean{ return (_initialized); } protected function rotatedGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Matrix{ tempMatrix.createGradientBox(_arg3, _arg4, ((_arg5 * Math.PI) / 180), _arg1, _arg2); return (tempMatrix); } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get styleName():Object{ return (_styleName); } public function validateNow():void{ if (invalidateDisplayListFlag){ validateDisplayList(); }; } public function invalidateSize():void{ } public function validateProperties():void{ } } }//package mx.skins
Section 608
//RectangularBorder (mx.skins.RectangularBorder) package mx.skins { import flash.display.*; import flash.geom.*; import mx.core.*; import flash.events.*; import mx.resources.*; import mx.styles.*; import flash.utils.*; import flash.system.*; import flash.net.*; public class RectangularBorder extends Border implements IRectangularBorder { private var backgroundImage:DisplayObject; private var backgroundImageHeight:Number; private var _backgroundImageBounds:Rectangle; private var backgroundImageStyle:Object; private var backgroundImageWidth:Number; private var resourceManager:IResourceManager; mx_internal static const VERSION:String = "3.0.0.0"; public function RectangularBorder(){ resourceManager = ResourceManager.getInstance(); super(); addEventListener(Event.REMOVED, removedHandler); } public function layoutBackgroundImage():void{ var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; var _local14:Number; var _local15:Graphics; var _local1:DisplayObject = parent; var _local2:EdgeMetrics = ((_local1 is IContainer)) ? IContainer(_local1).viewMetrics : borderMetrics; var _local3 = !((getStyle("backgroundAttachment") == "fixed")); if (_backgroundImageBounds){ _local4 = _backgroundImageBounds.width; _local5 = _backgroundImageBounds.height; } else { _local4 = ((width - _local2.left) - _local2.right); _local5 = ((height - _local2.top) - _local2.bottom); }; var _local6:Number = getBackgroundSize(); if (isNaN(_local6)){ _local7 = 1; _local8 = 1; } else { _local14 = (_local6 * 0.01); _local7 = ((_local14 * _local4) / backgroundImageWidth); _local8 = ((_local14 * _local5) / backgroundImageHeight); }; backgroundImage.scaleX = _local7; backgroundImage.scaleY = _local8; var _local9:Number = Math.round((0.5 * (_local4 - (backgroundImageWidth * _local7)))); var _local10:Number = Math.round((0.5 * (_local5 - (backgroundImageHeight * _local8)))); backgroundImage.x = _local2.left; backgroundImage.y = _local2.top; var _local11:Shape = Shape(backgroundImage.mask); _local11.x = _local2.left; _local11.y = _local2.top; if (((_local3) && ((_local1 is IContainer)))){ _local9 = (_local9 - IContainer(_local1).horizontalScrollPosition); _local10 = (_local10 - IContainer(_local1).verticalScrollPosition); }; backgroundImage.alpha = getStyle("backgroundAlpha"); backgroundImage.x = (backgroundImage.x + _local9); backgroundImage.y = (backgroundImage.y + _local10); var _local12:Number = ((width - _local2.left) - _local2.right); var _local13:Number = ((height - _local2.top) - _local2.bottom); if (((!((_local11.width == _local12))) || (!((_local11.height == _local13))))){ _local15 = _local11.graphics; _local15.clear(); _local15.beginFill(0xFFFFFF); _local15.drawRect(0, 0, _local12, _local13); _local15.endFill(); }; } public function set backgroundImageBounds(_arg1:Rectangle):void{ _backgroundImageBounds = _arg1; invalidateDisplayList(); } private function getBackgroundSize():Number{ var _local3:int; var _local1:Number = NaN; var _local2:Object = getStyle("backgroundSize"); if (((_local2) && ((_local2 is String)))){ _local3 = _local2.indexOf("%"); if (_local3 != -1){ _local1 = Number(_local2.substr(0, _local3)); }; }; return (_local1); } private function removedHandler(_arg1:Event):void{ var _local2:IChildList; if (backgroundImage){ _local2 = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); _local2.removeChild(backgroundImage.mask); _local2.removeChild(backgroundImage); backgroundImage = null; }; } private function initBackgroundImage(_arg1:DisplayObject):void{ backgroundImage = _arg1; if ((_arg1 is Loader)){ backgroundImageWidth = Loader(_arg1).contentLoaderInfo.width; backgroundImageHeight = Loader(_arg1).contentLoaderInfo.height; } else { backgroundImageWidth = backgroundImage.width; backgroundImageHeight = backgroundImage.height; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleName = styleName; }; }; var _local2:IChildList = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); var _local3:Shape = new FlexShape(); _local3.name = "backgroundMask"; _local3.x = 0; _local3.y = 0; _local2.addChild(_local3); var _local4:int = _local2.getChildIndex(this); _local2.addChildAt(backgroundImage, (_local4 + 1)); backgroundImage.mask = _local3; } public function get backgroundImageBounds():Rectangle{ return (_backgroundImageBounds); } public function get hasBackgroundImage():Boolean{ return (!((backgroundImage == null))); } private function completeEventHandler(_arg1:Event):void{ if (!parent){ return; }; var _local2:DisplayObject = DisplayObject(LoaderInfo(_arg1.target).loader); initBackgroundImage(_local2); layoutBackgroundImage(); dispatchEvent(_arg1.clone()); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var cls:Class; var newStyleObj:DisplayObject; var loader:Loader; var loaderContext:LoaderContext; var message:String; var unscaledWidth = _arg1; var unscaledHeight = _arg2; if (!parent){ return; }; var newStyle:Object = getStyle("backgroundImage"); if (newStyle != backgroundImageStyle){ removedHandler(null); backgroundImageStyle = newStyle; if (((newStyle) && ((newStyle as Class)))){ cls = Class(newStyle); initBackgroundImage(new (cls)); } else { if (((newStyle) && ((newStyle is String)))){ try { cls = Class(getDefinitionByName(String(newStyle))); } catch(e:Error) { }; if (cls){ newStyleObj = new (cls); initBackgroundImage(newStyleObj); } else { loader = new FlexLoader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeEventHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorEventHandler); loader.contentLoaderInfo.addEventListener(ErrorEvent.ERROR, errorEventHandler); loaderContext = new LoaderContext(); loaderContext.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); loader.load(new URLRequest(String(newStyle)), loaderContext); }; } else { if (newStyle){ message = resourceManager.getString("skins", "notLoaded", [newStyle]); throw (new Error(message)); }; }; }; }; if (backgroundImage){ layoutBackgroundImage(); }; } private function errorEventHandler(_arg1:Event):void{ } } }//package mx.skins
Section 609
//IOverride (mx.states.IOverride) package mx.states { import mx.core.*; public interface IOverride { function initialize():void; function remove(_arg1:UIComponent):void; function apply(_arg1:UIComponent):void; } }//package mx.states
Section 610
//State (mx.states.State) package mx.states { import flash.events.*; import mx.events.*; public class State extends EventDispatcher { public var basedOn:String; private var initialized:Boolean;// = false public var overrides:Array; public var name:String; mx_internal static const VERSION:String = "3.0.0.0"; public function State(){ overrides = []; super(); } mx_internal function initialize():void{ var _local1:int; if (!initialized){ initialized = true; _local1 = 0; while (_local1 < overrides.length) { IOverride(overrides[_local1]).initialize(); _local1++; }; }; } mx_internal function dispatchExitState():void{ dispatchEvent(new FlexEvent(FlexEvent.EXIT_STATE)); } mx_internal function dispatchEnterState():void{ dispatchEvent(new FlexEvent(FlexEvent.ENTER_STATE)); } } }//package mx.states
Section 611
//Transition (mx.states.Transition) package mx.states { import mx.effects.*; public class Transition { public var effect:IEffect; public var toState:String;// = "*" public var fromState:String;// = "*" mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.states
Section 612
//CSSStyleDeclaration (mx.styles.CSSStyleDeclaration) package mx.styles { import flash.display.*; import mx.core.*; import mx.managers.*; import flash.events.*; import flash.utils.*; public class CSSStyleDeclaration extends EventDispatcher { mx_internal var effects:Array; protected var overrides:Object; public var defaultFactory:Function; public var factory:Function; mx_internal var selectorRefCount:int;// = 0 private var styleManager:IStyleManager2; private var clones:Dictionary; mx_internal static const VERSION:String = "3.0.0.0"; private static const NOT_A_COLOR:uint = 4294967295; private static const FILTERMAP_PROP:String = "__reserved__filterMap"; public function CSSStyleDeclaration(_arg1:String=null){ clones = new Dictionary(true); super(); if (_arg1){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); styleManager.setStyleDeclaration(_arg1, this, false); }; } mx_internal function addStyleToProtoChain(_arg1:Object, _arg2:DisplayObject, _arg3:Object=null):Object{ var p:String; var emptyObjectFactory:Function; var filteredChain:Object; var filterObjectFactory:Function; var i:String; var chain = _arg1; var target = _arg2; var filterMap = _arg3; var nodeAddedToChain:Boolean; var originalChain:Object = chain; if (filterMap){ chain = {}; }; if (defaultFactory != null){ defaultFactory.prototype = chain; chain = new defaultFactory(); nodeAddedToChain = true; }; if (factory != null){ factory.prototype = chain; chain = new factory(); nodeAddedToChain = true; }; if (overrides){ if ((((defaultFactory == null)) && ((factory == null)))){ emptyObjectFactory = function ():void{ }; emptyObjectFactory.prototype = chain; chain = new (emptyObjectFactory); nodeAddedToChain = true; }; for (p in overrides) { if (overrides[p] === undefined){ delete chain[p]; } else { chain[p] = overrides[p]; }; }; }; if (filterMap){ if (nodeAddedToChain){ filteredChain = {}; filterObjectFactory = function ():void{ }; filterObjectFactory.prototype = originalChain; filteredChain = new (filterObjectFactory); for (i in chain) { if (filterMap[i] != null){ filteredChain[filterMap[i]] = chain[i]; }; }; chain = filteredChain; chain[FILTERMAP_PROP] = filterMap; } else { chain = originalChain; }; }; if (nodeAddedToChain){ clones[chain] = 1; }; return (chain); } public function getStyle(_arg1:String){ var _local2:*; var _local3:*; if (overrides){ if ((((_arg1 in overrides)) && ((overrides[_arg1] === undefined)))){ return (undefined); }; _local3 = overrides[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (factory != null){ factory.prototype = {}; _local2 = new factory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (defaultFactory != null){ defaultFactory.prototype = {}; _local2 = new defaultFactory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; return (undefined); } public function clearStyle(_arg1:String):void{ setStyle(_arg1, undefined); } public function setStyle(_arg1:String, _arg2):void{ var _local7:int; var _local8:Object; var _local3:Object = getStyle(_arg1); var _local4:Boolean; if ((((((((((selectorRefCount > 0)) && ((factory == null)))) && ((defaultFactory == null)))) && (!(overrides)))) && (!((_local3 === _arg2))))){ _local4 = true; }; if (_arg2 !== undefined){ setStyle(_arg1, _arg2); } else { if (_arg2 == _local3){ return; }; setStyle(_arg1, _arg2); }; var _local5:Array = SystemManagerGlobals.topLevelSystemManagers; var _local6:int = _local5.length; if (_local4){ _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.regenerateStyleCache(true); _local7++; }; }; _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.notifyStyleChangeInChildren(_arg1, true); _local7++; }; } private function clearStyleAttr(_arg1:String):void{ var _local2:*; if (!overrides){ overrides = {}; }; overrides[_arg1] = undefined; for (_local2 in clones) { delete _local2[_arg1]; }; } mx_internal function createProtoChainRoot():Object{ var _local1:Object = {}; if (defaultFactory != null){ defaultFactory.prototype = _local1; _local1 = new defaultFactory(); }; if (factory != null){ factory.prototype = _local1; _local1 = new factory(); }; clones[_local1] = 1; return (_local1); } mx_internal function clearOverride(_arg1:String):void{ if (((overrides) && (overrides[_arg1]))){ delete overrides[_arg1]; }; } mx_internal function setStyle(_arg1:String, _arg2):void{ var _local3:Object; var _local4:*; var _local5:Number; var _local6:Object; if (_arg2 === undefined){ clearStyleAttr(_arg1); return; }; if ((_arg2 is String)){ if (!styleManager){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); }; _local5 = styleManager.getColorName(_arg2); if (_local5 != NOT_A_COLOR){ _arg2 = _local5; }; }; if (defaultFactory != null){ _local3 = new defaultFactory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if (factory != null){ _local3 = new factory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if ((((defaultFactory == null)) && ((factory == null)))){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; }; for (_local4 in clones) { _local6 = _local4[FILTERMAP_PROP]; if (_local6){ if (_local6[_arg1] != null){ _local4[_local6[_arg1]] = _arg2; }; } else { _local4[_arg1] = _arg2; }; }; } } }//package mx.styles
Section 613
//ISimpleStyleClient (mx.styles.ISimpleStyleClient) package mx.styles { public interface ISimpleStyleClient { function set styleName(_arg1:Object):void; function styleChanged(_arg1:String):void; function get styleName():Object; } }//package mx.styles
Section 614
//IStyleClient (mx.styles.IStyleClient) package mx.styles { public interface IStyleClient extends ISimpleStyleClient { function regenerateStyleCache(_arg1:Boolean):void; function get className():String; function clearStyle(_arg1:String):void; function getClassStyleDeclarations():Array; function get inheritingStyles():Object; function set nonInheritingStyles(_arg1:Object):void; function setStyle(_arg1:String, _arg2):void; function get styleDeclaration():CSSStyleDeclaration; function set styleDeclaration(_arg1:CSSStyleDeclaration):void; function get nonInheritingStyles():Object; function set inheritingStyles(_arg1:Object):void; function getStyle(_arg1:String); function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void; function registerEffects(_arg1:Array):void; } }//package mx.styles
Section 615
//IStyleManager (mx.styles.IStyleManager) package mx.styles { import flash.events.*; public interface IStyleManager { function isColorName(_arg1:String):Boolean; function registerParentDisplayListInvalidatingStyle(_arg1:String):void; function registerInheritingStyle(_arg1:String):void; function set stylesRoot(_arg1:Object):void; function get typeSelectorCache():Object; function styleDeclarationsChanged():void; function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void; function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean; function isSizeInvalidatingStyle(_arg1:String):Boolean; function get inheritingStyles():Object; function isValidStyleValue(_arg1):Boolean; function isParentSizeInvalidatingStyle(_arg1:String):Boolean; function getColorName(_arg1:Object):uint; function set typeSelectorCache(_arg1:Object):void; function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void; function getColorNames(_arg1:Array):void; function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher; function isInheritingStyle(_arg1:String):Boolean; function set inheritingStyles(_arg1:Object):void; function get stylesRoot():Object; function initProtoChainRoots():void; function registerColorName(_arg1:String, _arg2:uint):void; function registerParentSizeInvalidatingStyle(_arg1:String):void; function registerSizeInvalidatingStyle(_arg1:String):void; function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void; function isInheritingTextFormatStyle(_arg1:String):Boolean; function getStyleDeclaration(_arg1:String):CSSStyleDeclaration; } }//package mx.styles
Section 616
//IStyleManager2 (mx.styles.IStyleManager2) package mx.styles { import flash.events.*; import flash.system.*; public interface IStyleManager2 extends IStyleManager { function get selectors():Array; function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; } }//package mx.styles
Section 617
//IStyleModule (mx.styles.IStyleModule) package mx.styles { public interface IStyleModule { function unload():void; } }//package mx.styles
Section 618
//StyleManager (mx.styles.StyleManager) package mx.styles { import mx.core.*; import flash.events.*; import flash.system.*; public class StyleManager { mx_internal static const VERSION:String = "3.0.0.0"; public static const NOT_A_COLOR:uint = 4294967295; private static var _impl:IStyleManager2; private static var implClassDependency:StyleManagerImpl; public static function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentSizeInvalidatingStyle(_arg1)); } public static function registerInheritingStyle(_arg1:String):void{ impl.registerInheritingStyle(_arg1); } mx_internal static function set stylesRoot(_arg1:Object):void{ impl.stylesRoot = _arg1; } mx_internal static function get inheritingStyles():Object{ return (impl.inheritingStyles); } mx_internal static function styleDeclarationsChanged():void{ impl.styleDeclarationsChanged(); } public static function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ impl.setStyleDeclaration(_arg1, _arg2, _arg3); } public static function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ impl.registerParentDisplayListInvalidatingStyle(_arg1); } mx_internal static function get typeSelectorCache():Object{ return (impl.typeSelectorCache); } mx_internal static function set inheritingStyles(_arg1:Object):void{ impl.inheritingStyles = _arg1; } public static function isColorName(_arg1:String):Boolean{ return (impl.isColorName(_arg1)); } public static function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentDisplayListInvalidatingStyle(_arg1)); } public static function isSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isSizeInvalidatingStyle(_arg1)); } public static function getColorName(_arg1:Object):uint{ return (impl.getColorName(_arg1)); } mx_internal static function set typeSelectorCache(_arg1:Object):void{ impl.typeSelectorCache = _arg1; } public static function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ impl.unloadStyleDeclarations(_arg1, _arg2); } public static function getColorNames(_arg1:Array):void{ impl.getColorNames(_arg1); } public static function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false, _arg4:ApplicationDomain=null, _arg5:SecurityDomain=null):IEventDispatcher{ return (impl.loadStyleDeclarations2(_arg1, _arg2, _arg4, _arg5)); } private static function get impl():IStyleManager2{ if (!_impl){ _impl = IStyleManager2(Singleton.getInstance("mx.styles::IStyleManager2")); }; return (_impl); } public static function isValidStyleValue(_arg1):Boolean{ return (impl.isValidStyleValue(_arg1)); } mx_internal static function get stylesRoot():Object{ return (impl.stylesRoot); } public static function isInheritingStyle(_arg1:String):Boolean{ return (impl.isInheritingStyle(_arg1)); } mx_internal static function initProtoChainRoots():void{ impl.initProtoChainRoots(); } public static function registerParentSizeInvalidatingStyle(_arg1:String):void{ impl.registerParentSizeInvalidatingStyle(_arg1); } public static function get selectors():Array{ return (impl.selectors); } public static function registerSizeInvalidatingStyle(_arg1:String):void{ impl.registerSizeInvalidatingStyle(_arg1); } public static function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ impl.clearStyleDeclaration(_arg1, _arg2); } public static function registerColorName(_arg1:String, _arg2:uint):void{ impl.registerColorName(_arg1, _arg2); } public static function isInheritingTextFormatStyle(_arg1:String):Boolean{ return (impl.isInheritingTextFormatStyle(_arg1)); } public static function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ return (impl.getStyleDeclaration(_arg1)); } } }//package mx.styles
Section 619
//StyleManagerImpl (mx.styles.StyleManagerImpl) package mx.styles { import mx.core.*; import mx.managers.*; import flash.events.*; import mx.events.*; import mx.resources.*; import flash.system.*; import mx.modules.*; import flash.utils.*; public class StyleManagerImpl implements IStyleManager2 { private var _stylesRoot:Object; private var _selectors:Object; private var styleModules:Object; private var _inheritingStyles:Object; private var resourceManager:IResourceManager; private var _typeSelectorCache:Object; mx_internal static const VERSION:String = "3.0.0.0"; private static var parentSizeInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline:true}; private static var colorNames:Object = {transparent:"transparent", black:0, blue:0xFF, green:0x8000, gray:0x808080, silver:0xC0C0C0, lime:0xFF00, olive:0x808000, white:0xFFFFFF, yellow:0xFFFF00, maroon:0x800000, navy:128, red:0xFF0000, purple:0x800080, teal:0x8080, fuchsia:0xFF00FF, aqua:0xFFFF, magenta:0xFF00FF, cyan:0xFFFF, halogreen:8453965, haloblue:40447, haloorange:0xFFB600, halosilver:11455193}; private static var inheritingTextFormatStyles:Object = {align:true, bold:true, color:true, font:true, indent:true, italic:true, size:true}; private static var instance:IStyleManager2; private static var parentDisplayListInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline:true}; private static var sizeInvalidatingStyles:Object = {borderStyle:true, borderThickness:true, fontAntiAliasType:true, fontFamily:true, fontGridFitType:true, fontSharpness:true, fontSize:true, fontStyle:true, fontThickness:true, fontWeight:true, headerHeight:true, horizontalAlign:true, horizontalGap:true, kerning:true, leading:true, letterSpacing:true, paddingBottom:true, paddingLeft:true, paddingRight:true, paddingTop:true, strokeWidth:true, tabHeight:true, tabWidth:true, verticalAlign:true, verticalGap:true}; public function StyleManagerImpl(){ _selectors = {}; styleModules = {}; resourceManager = ResourceManager.getInstance(); _inheritingStyles = {}; _typeSelectorCache = {}; super(); } public function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ _arg2.selectorRefCount++; _selectors[_arg1] = _arg2; typeSelectorCache = {}; if (_arg3){ styleDeclarationsChanged(); }; } public function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ parentDisplayListInvalidatingStyles[_arg1] = true; } public function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ var _local2:int; if (_arg1.charAt(0) != "."){ _local2 = _arg1.lastIndexOf("."); if (_local2 != -1){ _arg1 = _arg1.substr((_local2 + 1)); }; }; return (_selectors[_arg1]); } public function set typeSelectorCache(_arg1:Object):void{ _typeSelectorCache = _arg1; } public function isColorName(_arg1:String):Boolean{ return (!((colorNames[_arg1.toLowerCase()] === undefined))); } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function getColorNames(_arg1:Array):void{ var _local4:uint; if (!_arg1){ return; }; var _local2:int = _arg1.length; var _local3:int; while (_local3 < _local2) { if (((!((_arg1[_local3] == null))) && (isNaN(_arg1[_local3])))){ _local4 = getColorName(_arg1[_local3]); if (_local4 != StyleManager.NOT_A_COLOR){ _arg1[_local3] = _local4; }; }; _local3++; }; } public function isInheritingTextFormatStyle(_arg1:String):Boolean{ return ((inheritingTextFormatStyles[_arg1] == true)); } public function registerParentSizeInvalidatingStyle(_arg1:String):void{ parentSizeInvalidatingStyles[_arg1] = true; } public function registerColorName(_arg1:String, _arg2:uint):void{ colorNames[_arg1.toLowerCase()] = _arg2; } public function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return ((parentSizeInvalidatingStyles[_arg1] == true)); } public function registerInheritingStyle(_arg1:String):void{ inheritingStyles[_arg1] = true; } public function set stylesRoot(_arg1:Object):void{ _stylesRoot = _arg1; } public function get typeSelectorCache():Object{ return (_typeSelectorCache); } public function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return ((parentDisplayListInvalidatingStyles[_arg1] == true)); } public function isSizeInvalidatingStyle(_arg1:String):Boolean{ return ((sizeInvalidatingStyles[_arg1] == true)); } public function styleDeclarationsChanged():void{ var _local4:Object; var _local1:Array = SystemManagerGlobals.topLevelSystemManagers; var _local2:int = _local1.length; var _local3:int; while (_local3 < _local2) { _local4 = _local1[_local3]; _local4.regenerateStyleCache(true); _local4.notifyStyleChangeInChildren(null, true); _local3++; }; } public function isValidStyleValue(_arg1):Boolean{ return (!((_arg1 === undefined))); } public function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher{ return (loadStyleDeclarations2(_arg1, _arg2)); } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ var _local4:IModuleInfo; var _local3:StyleModuleInfo = styleModules[_arg1]; if (_local3){ _local3.styleModule.unload(); _local4 = _local3.module; _local4.unload(); _local4.removeEventListener(ModuleEvent.READY, _local3.readyHandler); _local4.removeEventListener(ModuleEvent.ERROR, _local3.errorHandler); styleModules[_arg1] = null; }; if (_arg2){ styleDeclarationsChanged(); }; } public function getColorName(_arg1:Object):uint{ var _local2:Number; var _local3:*; if ((_arg1 is String)){ if (_arg1.charAt(0) == "#"){ _local2 = Number(("0x" + _arg1.slice(1))); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; if ((((_arg1.charAt(1) == "x")) && ((_arg1.charAt(0) == "0")))){ _local2 = Number(_arg1); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; _local3 = colorNames[_arg1.toLowerCase()]; if (_local3 === undefined){ return (StyleManager.NOT_A_COLOR); }; return (uint(_local3)); }; return (uint(_arg1)); } public function isInheritingStyle(_arg1:String):Boolean{ return ((inheritingStyles[_arg1] == true)); } public function get stylesRoot():Object{ return (_stylesRoot); } public function initProtoChainRoots():void{ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ delete _inheritingStyles["textDecoration"]; delete _inheritingStyles["leading"]; }; if (!stylesRoot){ stylesRoot = _selectors["global"].addStyleToProtoChain({}, null); }; } public function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var module:IModuleInfo; var styleEventDispatcher:StyleEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var update = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; module = ModuleManager.getModule(url); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:IStyleModule = IStyleModule(_arg1.module.factory.create()); styleModules[_arg1.module.url].styleModule = _local2; if (update){ styleDeclarationsChanged(); }; }; module.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); styleEventDispatcher = new StyleEventDispatcher(module); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:StyleEvent; var _local2:String = resourceManager.getString("styles", "unableToLoad", [_arg1.errorText, url]); if (styleEventDispatcher.willTrigger(StyleEvent.ERROR)){ _local3 = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; styleEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; module.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); styleModules[url] = new StyleModuleInfo(module, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); module.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (styleEventDispatcher); } public function registerSizeInvalidatingStyle(_arg1:String):void{ sizeInvalidatingStyles[_arg1] = true; } public function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ var _local3:CSSStyleDeclaration = getStyleDeclaration(_arg1); if (((_local3) && ((_local3.selectorRefCount > 0)))){ _local3.selectorRefCount--; }; delete _selectors[_arg1]; if (_arg2){ styleDeclarationsChanged(); }; } public function get selectors():Array{ var _local2:String; var _local1:Array = []; for (_local2 in _selectors) { _local1.push(_local2); }; return (_local1); } public static function getInstance():IStyleManager2{ if (!instance){ instance = new (StyleManagerImpl); }; return (instance); } } }//package mx.styles import flash.events.*; import mx.events.*; import mx.modules.*; class StyleEventDispatcher extends EventDispatcher { private function StyleEventDispatcher(_arg1:IModuleInfo){ _arg1.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler, false, 0, true); } private function moduleInfo_progressHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } } class StyleModuleInfo { public var errorHandler:Function; public var readyHandler:Function; public var module:IModuleInfo; public var styleModule:IStyleModule; private function StyleModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.module = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } }
Section 620
//StyleProtoChain (mx.styles.StyleProtoChain) package mx.styles { import flash.display.*; import mx.core.*; public class StyleProtoChain { mx_internal static const VERSION:String = "3.0.0.0"; public static function initProtoChainForUIComponentStyleName(_arg1:IStyleClient):void{ var _local9:CSSStyleDeclaration; var _local2:IStyleClient = IStyleClient(_arg1.styleName); var _local3:DisplayObject = (_arg1 as DisplayObject); var _local4:Object = _local2.nonInheritingStyles; if (((!(_local4)) || ((_local4 == UIComponent.STYLE_UNINITIALIZED)))){ _local4 = StyleManager.stylesRoot; if (_local4.effects){ _arg1.registerEffects(_local4.effects); }; }; var _local5:Object = _local2.inheritingStyles; if (((!(_local5)) || ((_local5 == UIComponent.STYLE_UNINITIALIZED)))){ _local5 = StyleManager.stylesRoot; }; var _local6:Array = _arg1.getClassStyleDeclarations(); var _local7:int = _local6.length; if ((_local2 is StyleProxy)){ if (_local7 == 0){ _local4 = addProperties(_local4, _local2, false); }; _local3 = (StyleProxy(_local2).source as DisplayObject); }; var _local8:int; while (_local8 < _local7) { _local9 = _local6[_local8]; _local5 = _local9.addStyleToProtoChain(_local5, _local3); _local5 = addProperties(_local5, _local2, true); _local4 = _local9.addStyleToProtoChain(_local4, _local3); _local4 = addProperties(_local4, _local2, false); if (_local9.effects){ _arg1.registerEffects(_local9.effects); }; _local8++; }; _arg1.inheritingStyles = (_arg1.styleDeclaration) ? _arg1.styleDeclaration.addStyleToProtoChain(_local5, _local3) : _local5; _arg1.nonInheritingStyles = (_arg1.styleDeclaration) ? _arg1.styleDeclaration.addStyleToProtoChain(_local4, _local3) : _local4; } private static function addProperties(_arg1:Object, _arg2:IStyleClient, _arg3:Boolean):Object{ var _local11:CSSStyleDeclaration; var _local12:CSSStyleDeclaration; var _local4:Object = ((((_arg2 is StyleProxy)) && (!(_arg3)))) ? StyleProxy(_arg2).filterMap : null; var _local5:IStyleClient = _arg2; while ((_local5 is StyleProxy)) { _local5 = StyleProxy(_local5).source; }; var _local6:DisplayObject = (_local5 as DisplayObject); var _local7:Array = _arg2.getClassStyleDeclarations(); var _local8:int = _local7.length; var _local9:int; while (_local9 < _local8) { _local11 = _local7[_local9]; _arg1 = _local11.addStyleToProtoChain(_arg1, _local6, _local4); if (_local11.effects){ _arg2.registerEffects(_local11.effects); }; _local9++; }; var _local10:Object = _arg2.styleName; if (_local10){ if (typeof(_local10) == "object"){ if ((_local10 is CSSStyleDeclaration)){ _local12 = CSSStyleDeclaration(_local10); } else { _arg1 = addProperties(_arg1, IStyleClient(_local10), _arg3); }; } else { _local12 = StyleManager.getStyleDeclaration(("." + _local10)); }; if (_local12){ _arg1 = _local12.addStyleToProtoChain(_arg1, _local6, _local4); if (_local12.effects){ _arg2.registerEffects(_local12.effects); }; }; }; if (_arg2.styleDeclaration){ _arg1 = _arg2.styleDeclaration.addStyleToProtoChain(_arg1, _local6, _local4); }; return (_arg1); } public static function initTextField(_arg1:IUITextField):void{ var _local3:CSSStyleDeclaration; var _local2:Object = _arg1.styleName; if (_local2){ if (typeof(_local2) == "object"){ if ((_local2 is CSSStyleDeclaration)){ _local3 = CSSStyleDeclaration(_local2); } else { if ((_local2 is StyleProxy)){ _arg1.inheritingStyles = IStyleClient(_local2).inheritingStyles; _arg1.nonInheritingStyles = addProperties(StyleManager.stylesRoot, IStyleClient(_local2), false); return; }; _arg1.inheritingStyles = IStyleClient(_local2).inheritingStyles; _arg1.nonInheritingStyles = IStyleClient(_local2).nonInheritingStyles; return; }; } else { _local3 = StyleManager.getStyleDeclaration(("." + _local2)); }; }; var _local4:Object = IStyleClient(_arg1.parent).inheritingStyles; var _local5:Object = StyleManager.stylesRoot; if (!_local4){ _local4 = StyleManager.stylesRoot; }; if (_local3){ _local4 = _local3.addStyleToProtoChain(_local4, DisplayObject(_arg1)); _local5 = _local3.addStyleToProtoChain(_local5, DisplayObject(_arg1)); }; _arg1.inheritingStyles = _local4; _arg1.nonInheritingStyles = _local5; } } }//package mx.styles
Section 621
//StyleProxy (mx.styles.StyleProxy) package mx.styles { import mx.core.*; public class StyleProxy implements IStyleClient { private var _source:IStyleClient; private var _filterMap:Object; mx_internal static const VERSION:String = "3.0.0.0"; public function StyleProxy(_arg1:IStyleClient, _arg2:Object){ this.filterMap = _arg2; this.source = _arg1; } public function styleChanged(_arg1:String):void{ return (_source.styleChanged(_arg1)); } public function get filterMap():Object{ return (((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)) ? null : _filterMap); } public function set filterMap(_arg1:Object):void{ _filterMap = _arg1; } public function get styleDeclaration():CSSStyleDeclaration{ return (_source.styleDeclaration); } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ return (_source.notifyStyleChangeInChildren(_arg1, _arg2)); } public function set inheritingStyles(_arg1:Object):void{ } public function get source():IStyleClient{ return (_source); } public function get styleName():Object{ if ((_source.styleName is IStyleClient)){ return (new StyleProxy(IStyleClient(_source.styleName), filterMap)); }; return (_source.styleName); } public function registerEffects(_arg1:Array):void{ return (_source.registerEffects(_arg1)); } public function regenerateStyleCache(_arg1:Boolean):void{ _source.regenerateStyleCache(_arg1); } public function get inheritingStyles():Object{ return (_source.inheritingStyles); } public function get className():String{ return (_source.className); } public function clearStyle(_arg1:String):void{ _source.clearStyle(_arg1); } public function getClassStyleDeclarations():Array{ return (_source.getClassStyleDeclarations()); } public function set nonInheritingStyles(_arg1:Object):void{ } public function setStyle(_arg1:String, _arg2):void{ _source.setStyle(_arg1, _arg2); } public function get nonInheritingStyles():Object{ return (((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)) ? _source.nonInheritingStyles : null); } public function set styleName(_arg1:Object):void{ _source.styleName = _arg1; } public function getStyle(_arg1:String){ return (_source.getStyle(_arg1)); } public function set source(_arg1:IStyleClient):void{ _source = _arg1; } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ _source.styleDeclaration = styleDeclaration; } } }//package mx.styles
Section 622
//ColorUtil (mx.utils.ColorUtil) package mx.utils { public class ColorUtil { mx_internal static const VERSION:String = "3.0.0.0"; public static function adjustBrightness2(_arg1:uint, _arg2:Number):uint{ var _local3:Number; var _local4:Number; var _local5:Number; if (_arg2 == 0){ return (_arg1); }; if (_arg2 < 0){ _arg2 = ((100 + _arg2) / 100); _local3 = (((_arg1 >> 16) & 0xFF) * _arg2); _local4 = (((_arg1 >> 8) & 0xFF) * _arg2); _local5 = ((_arg1 & 0xFF) * _arg2); } else { _arg2 = (_arg2 / 100); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); _local3 = (_local3 + ((0xFF - _local3) * _arg2)); _local4 = (_local4 + ((0xFF - _local4) * _arg2)); _local5 = (_local5 + ((0xFF - _local5) * _arg2)); _local3 = Math.min(_local3, 0xFF); _local4 = Math.min(_local4, 0xFF); _local5 = Math.min(_local5, 0xFF); }; return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } public static function rgbMultiply(_arg1:uint, _arg2:uint):uint{ var _local3:Number = ((_arg1 >> 16) & 0xFF); var _local4:Number = ((_arg1 >> 8) & 0xFF); var _local5:Number = (_arg1 & 0xFF); var _local6:Number = ((_arg2 >> 16) & 0xFF); var _local7:Number = ((_arg2 >> 8) & 0xFF); var _local8:Number = (_arg2 & 0xFF); return ((((((_local3 * _local6) / 0xFF) << 16) | (((_local4 * _local7) / 0xFF) << 8)) | ((_local5 * _local8) / 0xFF))); } public static function adjustBrightness(_arg1:uint, _arg2:Number):uint{ var _local3:Number = Math.max(Math.min((((_arg1 >> 16) & 0xFF) + _arg2), 0xFF), 0); var _local4:Number = Math.max(Math.min((((_arg1 >> 8) & 0xFF) + _arg2), 0xFF), 0); var _local5:Number = Math.max(Math.min(((_arg1 & 0xFF) + _arg2), 0xFF), 0); return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } } }//package mx.utils
Section 623
//GraphicsUtil (mx.utils.GraphicsUtil) package mx.utils { import flash.display.*; import mx.core.*; public class GraphicsUtil { mx_internal static const VERSION:String = "3.0.0.0"; public static function drawRoundRectComplex(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number):void{ var _local10:Number = (_arg2 + _arg4); var _local11:Number = (_arg3 + _arg5); var _local12:Number = ((_arg4 < _arg5)) ? (_arg4 * 2) : (_arg5 * 2); _arg6 = ((_arg6 < _local12)) ? _arg6 : _local12; _arg7 = ((_arg7 < _local12)) ? _arg7 : _local12; _arg8 = ((_arg8 < _local12)) ? _arg8 : _local12; _arg9 = ((_arg9 < _local12)) ? _arg9 : _local12; var _local13:Number = (_arg9 * 0.292893218813453); var _local14:Number = (_arg9 * 0.585786437626905); _arg1.moveTo(_local10, (_local11 - _arg9)); _arg1.curveTo(_local10, (_local11 - _local14), (_local10 - _local13), (_local11 - _local13)); _arg1.curveTo((_local10 - _local14), _local11, (_local10 - _arg9), _local11); _local13 = (_arg8 * 0.292893218813453); _local14 = (_arg8 * 0.585786437626905); _arg1.lineTo((_arg2 + _arg8), _local11); _arg1.curveTo((_arg2 + _local14), _local11, (_arg2 + _local13), (_local11 - _local13)); _arg1.curveTo(_arg2, (_local11 - _local14), _arg2, (_local11 - _arg8)); _local13 = (_arg6 * 0.292893218813453); _local14 = (_arg6 * 0.585786437626905); _arg1.lineTo(_arg2, (_arg3 + _arg6)); _arg1.curveTo(_arg2, (_arg3 + _local14), (_arg2 + _local13), (_arg3 + _local13)); _arg1.curveTo((_arg2 + _local14), _arg3, (_arg2 + _arg6), _arg3); _local13 = (_arg7 * 0.292893218813453); _local14 = (_arg7 * 0.585786437626905); _arg1.lineTo((_local10 - _arg7), _arg3); _arg1.curveTo((_local10 - _local14), _arg3, (_local10 - _local13), (_arg3 + _local13)); _arg1.curveTo(_local10, (_arg3 + _local14), _local10, (_arg3 + _arg7)); _arg1.lineTo(_local10, (_local11 - _arg9)); } } }//package mx.utils
Section 624
//NameUtil (mx.utils.NameUtil) package mx.utils { import flash.display.*; import mx.core.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.0.0.0"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var _local2:String; var _local4:String; var _local5:Array; var _local3:DisplayObject = _arg1; while (_local3 != null) { if (((((_local3.parent) && (_local3.stage))) && ((_local3.parent == _local3.stage)))){ break; }; _local4 = _local3.name; if ((_local3 is IRepeaterClient)){ _local5 = IRepeaterClient(_local3).instanceIndices; if (_local5){ _local4 = (_local4 + (("[" + _local5.join("][")) + "]")); }; }; _local2 = ((_local2 == null)) ? _local4 : ((_local4 + ".") + _local2); _local3 = _local3.parent; }; return (_local2); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 625
//StringUtil (mx.utils.StringUtil) package mx.utils { import mx.core.*; public class StringUtil { mx_internal static const VERSION:String = "3.0.0.0"; public static function trim(_arg1:String):String{ if (_arg1 == null){ return (""); }; var _local2:int; while (isWhitespace(_arg1.charAt(_local2))) { _local2++; }; var _local3:int = (_arg1.length - 1); while (isWhitespace(_arg1.charAt(_local3))) { _local3--; }; if (_local3 >= _local2){ return (_arg1.slice(_local2, (_local3 + 1))); }; return (""); } public static function isWhitespace(_arg1:String):Boolean{ switch (_arg1){ case " ": case "\t": case "\r": case "\n": case "\f": return (true); default: return (false); }; } public static function substitute(_arg1:String, ... _args):String{ var _local4:Array; if (_arg1 == null){ return (""); }; var _local3:uint = _args.length; if ((((_local3 == 1)) && ((_args[0] is Array)))){ _local4 = (_args[0] as Array); _local3 = _local4.length; } else { _local4 = _args; }; var _local5:int; while (_local5 < _local3) { _arg1 = _arg1.replace(new RegExp((("\\{" + _local5) + "\\}"), "g"), _local4[_local5]); _local5++; }; return (_arg1); } public static function trimArrayElements(_arg1:String, _arg2:String):String{ var _local3:Array; var _local4:int; var _local5:int; if (((!((_arg1 == ""))) && (!((_arg1 == null))))){ _local3 = _arg1.split(_arg2); _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local3[_local5] = StringUtil.trim(_local3[_local5]); _local5++; }; if (_local4 > 0){ _arg1 = _local3.join(_arg2); }; }; return (_arg1); } } }//package mx.utils
Section 626
//IValidatorListener (mx.validators.IValidatorListener) package mx.validators { import mx.events.*; public interface IValidatorListener { function set errorString(_arg1:String):void; function get validationSubField():String; function validationResultHandler(_arg1:ValidationResultEvent):void; function set validationSubField(_arg1:String):void; function get errorString():String; } }//package mx.validators
Section 627
//ValidationResult (mx.validators.ValidationResult) package mx.validators { public class ValidationResult { public var subField:String; public var errorCode:String; public var isError:Boolean; public var errorMessage:String; mx_internal static const VERSION:String = "3.0.0.0"; public function ValidationResult(_arg1:Boolean, _arg2:String="", _arg3:String="", _arg4:String=""){ this.isError = _arg1; this.subField = _arg2; this.errorMessage = _arg4; this.errorCode = _arg3; } } }//package mx.validators
Section 628
//_activeButtonStyleStyle (_activeButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".activeButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 629
//_activeTabStyleStyle (_activeTabStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeTabStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".activeTabStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeTabStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 630
//_advancedDataGridStylesStyle (_advancedDataGridStylesStyle) package { import mx.core.*; import mx.styles.*; public class _advancedDataGridStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".advancedDataGridStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".advancedDataGridStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 631
//_alertButtonStyleStyle (_alertButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _alertButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".alertButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".alertButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 734012; }; }; } } }//package
Section 632
//_ApplicationStyle (_ApplicationStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _ApplicationStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("Application"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("Application", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 24; this.paddingLeft = 24; this.backgroundGradientAlphas = [1, 1]; this.horizontalAlign = "center"; this.paddingRight = 24; this.backgroundImage = ApplicationBackground; this.paddingBottom = 24; this.backgroundSize = "100%"; this.backgroundColor = 8821927; }; }; } } }//package
Section 633
//_ButtonStyle (_ButtonStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _ButtonStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("Button"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("Button", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 2; this.textAlign = "center"; this.skin = ButtonSkin; this.paddingLeft = 10; this.fontWeight = "bold"; this.cornerRadius = 4; this.paddingRight = 10; this.verticalGap = 2; this.horizontalGap = 2; this.paddingBottom = 2; }; }; } } }//package
Section 634
//_comboDropdownStyle (_comboDropdownStyle) package { import mx.core.*; import mx.styles.*; public class _comboDropdownStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".comboDropdown"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".comboDropdown", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingLeft = 5; this.fontWeight = "normal"; this.cornerRadius = 0; this.paddingRight = 5; this.dropShadowEnabled = true; this.shadowDirection = "center"; this.leading = 0; this.borderThickness = 0; this.shadowDistance = 1; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 635
//_ContainerStyle (_ContainerStyle) package { import mx.core.*; import mx.styles.*; public class _ContainerStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("Container"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("Container", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.borderStyle = "none"; }; }; } } }//package
Section 636
//_CursorManagerStyle (_CursorManagerStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _CursorManagerStyle { private static var _embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1952852694:Class = _CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1952852694; public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("CursorManager"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("CursorManager", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.busyCursor = BusyCursor; this.busyCursorBackground = _embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1952852694; }; }; } } }//package
Section 637
//_CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1952852694 (_CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1952852694) package { import mx.core.*; public class _CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1952852694 extends SpriteAsset { } }//package
Section 638
//_dataGridStylesStyle (_dataGridStylesStyle) package { import mx.core.*; import mx.styles.*; public class _dataGridStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".dataGridStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dataGridStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 639
//_dateFieldPopupStyle (_dateFieldPopupStyle) package { import mx.core.*; import mx.styles.*; public class _dateFieldPopupStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".dateFieldPopup"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dateFieldPopup", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.dropShadowEnabled = true; this.borderThickness = 0; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 640
//_errorTipStyle (_errorTipStyle) package { import mx.core.*; import mx.styles.*; public class _errorTipStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".errorTip"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".errorTip", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 4; this.borderColor = 13510953; this.paddingLeft = 4; this.color = 0xFFFFFF; this.fontWeight = "bold"; this.paddingRight = 4; this.shadowColor = 0; this.fontSize = 9; this.paddingBottom = 4; this.borderStyle = "errorTipRight"; }; }; } } }//package
Section 641
//_FinalDressUpGame_FlexInit (_FinalDressUpGame_FlexInit) package { import mx.core.*; import mx.styles.*; import mx.effects.*; public class _FinalDressUpGame_FlexInit { public static function init(_arg1:IFlexModuleFactory):void{ var _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("addedEffect", "added"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("creationCompleteEffect", "creationComplete"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("focusInEffect", "focusIn"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("focusOutEffect", "focusOut"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("hideEffect", "hide"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("mouseDownEffect", "mouseDown"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("mouseUpEffect", "mouseUp"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("moveEffect", "move"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("removedEffect", "removed"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("resizeEffect", "resize"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("rollOutEffect", "rollOut"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("rollOverEffect", "rollOver"); _local4 = EffectManager; _local4.mx_internal::registerEffectTrigger("showEffect", "show"); var _local2:Array = ["fontWeight", "modalTransparencyBlur", "textRollOverColor", "backgroundDisabledColor", "textIndent", "barColor", "fontSize", "kerning", "textAlign", "fontStyle", "modalTransparencyDuration", "textSelectedColor", "modalTransparency", "fontGridFitType", "disabledColor", "fontAntiAliasType", "modalTransparencyColor", "leading", "dropShadowColor", "themeColor", "letterSpacing", "fontFamily", "color", "fontThickness", "errorColor", "fontSharpness", "textDecoration"]; var _local3:int; while (_local3 < _local2.length) { StyleManager.registerInheritingStyle(_local2[_local3]); _local3++; }; } } }//package
Section 642
//_FinalDressUpGame_mx_managers_SystemManager (_FinalDressUpGame_mx_managers_SystemManager) package { import mx.core.*; import mx.managers.*; import flash.system.*; import Classes.*; public class _FinalDressUpGame_mx_managers_SystemManager extends SystemManager implements IFlexModuleFactory { override public function create(... _args):Object{ if ((((_args.length > 0)) && (!((_args[0] is String))))){ return (super.create.apply(this, _args)); }; var _local2:String = ((_args.length == 0)) ? "FinalDressUpGame" : String(_args[0]); var _local3:Class = Class(getDefinitionByName(_local2)); if (!_local3){ return (null); }; var _local4:Object = new (_local3); if ((_local4 is IFlexModule)){ IFlexModule(_local4).moduleFactory = this; }; return (_local4); } override public function info():Object{ return ({backgroundColor:"#000000", compiledLocales:["en_US"], compiledResourceBundleNames:["containers", "core", "effects", "skins", "styles"], creationComplete:"Init();", currentDomain:ApplicationDomain.currentDomain, enterFrame:"UpdateFrame();", height:"648", horizontalAlign:"center", mainClassName:"FinalDressUpGame", mixins:["_FinalDressUpGame_FlexInit", "_alertButtonStyleStyle", "_ScrollBarStyle", "_activeTabStyleStyle", "_textAreaHScrollBarStyleStyle", "_ToolTipStyle", "_advancedDataGridStylesStyle", "_comboDropdownStyle", "_ContainerStyle", "_textAreaVScrollBarStyleStyle", "_linkButtonStyleStyle", "_globalStyle", "_windowStatusStyle", "_windowStylesStyle", "_activeButtonStyleStyle", "_errorTipStyle", "_richTextEditorTextAreaStyleStyle", "_CursorManagerStyle", "_todayStyleStyle", "_dateFieldPopupStyle", "_plainStyle", "_dataGridStylesStyle", "_ApplicationStyle", "_headerDateTextStyle", "_ButtonStyle", "_popUpMenuStyle", "_swatchPanelTextFieldStyle", "_opaquePanelStyle", "_weekDayStyleStyle", "_headerDragProxyStyleStyle"], name:"DressUpAdventure", paddingBottom:"0", paddingLeft:"0", paddingRight:"0", paddingTop:"0", preloader:PreLoader, width:"1212"}); } } }//package
Section 643
//_globalStyle (_globalStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _globalStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("global"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("global", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "normal"; this.modalTransparencyBlur = 3; this.verticalGridLineColor = 14015965; this.borderStyle = "inset"; this.buttonColor = 7305079; this.borderCapColor = 9542041; this.textAlign = "left"; this.disabledIconColor = 0x999999; this.stroked = false; this.fillColors = [0xFFFFFF, 0xCCCCCC, 0xFFFFFF, 0xEEEEEE]; this.fontStyle = "normal"; this.borderSides = "left top right bottom"; this.borderThickness = 1; this.modalTransparencyDuration = 100; this.useRollOver = true; this.strokeWidth = 1; this.filled = true; this.borderColor = 12040892; this.horizontalGridLines = false; this.horizontalGridLineColor = 0xF7F7F7; this.shadowCapColor = 14015965; this.fontGridFitType = "pixel"; this.horizontalAlign = "left"; this.modalTransparencyColor = 0xDDDDDD; this.disabledColor = 11187123; this.borderSkin = HaloBorder; this.dropShadowColor = 0; this.paddingBottom = 0; this.indentation = 17; this.version = "3.0.0"; this.fontThickness = 0; this.verticalGridLines = true; this.embedFonts = false; this.fontSharpness = 0; this.shadowDirection = "center"; this.textDecoration = "none"; this.selectionDuration = 250; this.bevel = true; this.fillColor = 0xFFFFFF; this.focusBlendMode = "normal"; this.dropShadowEnabled = false; this.textRollOverColor = 2831164; this.textIndent = 0; this.fontSize = 10; this.openDuration = 250; this.closeDuration = 250; this.kerning = false; this.paddingTop = 0; this.highlightAlphas = [0.3, 0]; this.cornerRadius = 0; this.horizontalGap = 8; this.textSelectedColor = 2831164; this.paddingLeft = 0; this.modalTransparency = 0.5; this.roundedBottomCorners = true; this.repeatDelay = 500; this.selectionDisabledColor = 0xDDDDDD; this.fontAntiAliasType = "advanced"; this.focusSkin = HaloFocusRect; this.verticalGap = 6; this.leading = 2; this.shadowColor = 0xEEEEEE; this.backgroundAlpha = 1; this.iconColor = 0x111111; this.focusAlpha = 0.4; this.borderAlpha = 1; this.focusThickness = 2; this.themeColor = 40447; this.backgroundSize = "auto"; this.indicatorGap = 14; this.letterSpacing = 0; this.fontFamily = "Verdana"; this.fillAlphas = [0.6, 0.4, 0.75, 0.65]; this.color = 734012; this.paddingRight = 0; this.errorColor = 0xFF0000; this.verticalAlign = "top"; this.focusRoundedCorners = "tl tr bl br"; this.shadowDistance = 2; this.repeatInterval = 35; }; }; } } }//package
Section 644
//_headerDateTextStyle (_headerDateTextStyle) package { import mx.core.*; import mx.styles.*; public class _headerDateTextStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDateText"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDateText", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.textAlign = "center"; this.fontWeight = "bold"; }; }; } } }//package
Section 645
//_headerDragProxyStyleStyle (_headerDragProxyStyleStyle) package { import mx.core.*; import mx.styles.*; public class _headerDragProxyStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDragProxyStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDragProxyStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 646
//_linkButtonStyleStyle (_linkButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _linkButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".linkButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".linkButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 2; this.paddingLeft = 2; this.paddingRight = 2; this.paddingBottom = 2; }; }; } } }//package
Section 647
//_opaquePanelStyle (_opaquePanelStyle) package { import mx.core.*; import mx.styles.*; public class _opaquePanelStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".opaquePanel"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".opaquePanel", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.footerColors = [0xE7E7E7, 0xC7C7C7]; this.borderColor = 0xFFFFFF; this.headerColors = [0xE7E7E7, 0xD9D9D9]; this.borderAlpha = 1; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 648
//_plainStyle (_plainStyle) package { import mx.core.*; import mx.styles.*; public class _plainStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".plain"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".plain", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 0; this.paddingLeft = 0; this.horizontalAlign = "left"; this.paddingRight = 0; this.backgroundImage = ""; this.paddingBottom = 0; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 649
//_popUpMenuStyle (_popUpMenuStyle) package { import mx.core.*; import mx.styles.*; public class _popUpMenuStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".popUpMenu"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".popUpMenu", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.textAlign = "left"; this.fontWeight = "normal"; }; }; } } }//package
Section 650
//_richTextEditorTextAreaStyleStyle (_richTextEditorTextAreaStyleStyle) package { import mx.core.*; import mx.styles.*; public class _richTextEditorTextAreaStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".richTextEditorTextAreaStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".richTextEditorTextAreaStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 651
//_ScrollBarStyle (_ScrollBarStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _ScrollBarStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("ScrollBar"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("ScrollBar", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.trackColors = [9738651, 0xE7E7E7]; this.thumbOffset = 0; this.paddingTop = 0; this.downArrowSkin = ScrollArrowSkin; this.borderColor = 12040892; this.paddingLeft = 0; this.cornerRadius = 4; this.paddingRight = 0; this.trackSkin = ScrollTrackSkin; this.thumbSkin = ScrollThumbSkin; this.paddingBottom = 0; this.upArrowSkin = ScrollArrowSkin; }; }; } } }//package
Section 652
//_swatchPanelTextFieldStyle (_swatchPanelTextFieldStyle) package { import mx.core.*; import mx.styles.*; public class _swatchPanelTextFieldStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".swatchPanelTextField"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".swatchPanelTextField", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.highlightColor = 12897484; this.borderColor = 14015965; this.paddingLeft = 5; this.shadowCapColor = 14015965; this.paddingRight = 5; this.shadowColor = 14015965; this.borderStyle = "inset"; this.buttonColor = 7305079; this.backgroundColor = 0xFFFFFF; this.borderCapColor = 9542041; }; }; } } }//package
Section 653
//_textAreaHScrollBarStyleStyle (_textAreaHScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaHScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaHScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaHScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 654
//_textAreaVScrollBarStyleStyle (_textAreaVScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaVScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaVScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaVScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 655
//_todayStyleStyle (_todayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _todayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".todayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".todayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.textAlign = "center"; this.color = 0xFFFFFF; }; }; } } }//package
Section 656
//_ToolTipStyle (_ToolTipStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _ToolTipStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("ToolTip"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("ToolTip", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 2; this.borderColor = 9542041; this.paddingLeft = 4; this.cornerRadius = 2; this.paddingRight = 4; this.shadowColor = 0; this.fontSize = 9; this.borderSkin = ToolTipBorder; this.backgroundAlpha = 0.95; this.paddingBottom = 2; this.borderStyle = "toolTip"; this.backgroundColor = 16777164; }; }; } } }//package
Section 657
//_weekDayStyleStyle (_weekDayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _weekDayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".weekDayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".weekDayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.textAlign = "center"; this.fontWeight = "bold"; }; }; } } }//package
Section 658
//_windowStatusStyle (_windowStatusStyle) package { import mx.core.*; import mx.styles.*; public class _windowStatusStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".windowStatus"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStatus", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 0x666666; }; }; } } }//package
Section 659
//_windowStylesStyle (_windowStylesStyle) package { import mx.core.*; import mx.styles.*; public class _windowStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".windowStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 660
//en_US$containers_properties (en_US$containers_properties) package { import mx.resources.*; public class en_US$containers_properties extends ResourceBundle { public function en_US$containers_properties(){ super("en_US", "containers"); } override protected function getContent():Object{ var _local1:Object = {noColumnsFound:"No ConstraintColumns found.", noRowsFound:"No ConstraintRows found.", rowNotFound:"ConstraintRow '{0}' not found.", columnNotFound:"ConstraintColumn '{0}' not found."}; return (_local1); } } }//package
Section 661
//en_US$core_properties (en_US$core_properties) package { import mx.resources.*; public class en_US$core_properties extends ResourceBundle { public function en_US$core_properties(){ super("en_US", "core"); } override protected function getContent():Object{ var _local1:Object = {multipleChildSets_ClassAndInstance:"Multiple sets of visual children have been specified for this component (component definition and component instance).", truncationIndicator:"...", notExecuting:"Repeater is not executing.", versionAlreadyRead:"Compatibility version has already been read.", multipleChildSets_ClassAndSubclass:"Multiple sets of visual children have been specified for this component (base component definition and derived component definition).", viewSource:"View Source", badFile:"File does not exist.", stateUndefined:"Undefined state '{0}'.", versionAlreadySet:"Compatibility version has already been set."}; return (_local1); } } }//package
Section 662
//en_US$effects_properties (en_US$effects_properties) package { import mx.resources.*; public class en_US$effects_properties extends ResourceBundle { public function en_US$effects_properties(){ super("en_US", "effects"); } override protected function getContent():Object{ var _local1:Object = {incorrectTrigger:"The Zoom effect can not be triggered by a moveEffect trigger.", incorrectSource:"Source property must be a Class or String."}; return (_local1); } } }//package
Section 663
//en_US$skins_properties (en_US$skins_properties) package { import mx.resources.*; public class en_US$skins_properties extends ResourceBundle { public function en_US$skins_properties(){ super("en_US", "skins"); } override protected function getContent():Object{ var _local1:Object = {notLoaded:"Unable to load '{0}'."}; return (_local1); } } }//package
Section 664
//en_US$styles_properties (en_US$styles_properties) package { import mx.resources.*; public class en_US$styles_properties extends ResourceBundle { public function en_US$styles_properties(){ super("en_US", "styles"); } override protected function getContent():Object{ var _local1:Object = {unableToLoad:"Unable to load style({0}): {1}."}; return (_local1); } } }//package
Section 665
//FinalDressUpGame (FinalDressUpGame) package { import flash.display.*; import flash.geom.*; import flash.media.*; import flash.text.*; import mx.core.*; import mx.managers.*; import flash.events.*; import mx.events.*; import mx.styles.*; import mx.controls.*; import mx.containers.*; import mx.binding.*; import Classes.*; import flash.ui.*; import flash.utils.*; import flash.system.*; import flash.external.*; import flash.net.*; import flash.accessibility.*; import flash.debugger.*; import flash.errors.*; import flash.filters.*; import flash.printing.*; import flash.profiler.*; import flash.xml.*; public class FinalDressUpGame extends Application { private var fadeEffectBitmap:BitmapData;// = null private var botonesPersonajesImg:Class; private var _documentDescriptor_:UIComponentDescriptor; private var activationTime:Number;// = 0 private var fondoMangaMexBitmap:BitmapData;// = null private var samanthaTitleImg:Class; private var soundVolume:Number;// = 0.7 private var valorMaximoSam:int;// = 0 private var optionsInSnd:Class; private var activationState:int;// = 1 private var valorActualSam:int;// = 0 private var personajesCompletosOneImg:Class; private var stageBackgroundBitmap:BitmapData;// = null private var bigPersonajeBitmapFour:BitmapData;// = null private var tiledScreedImg:Class; private var letreroGoImg:Class; private var optionSelectedSnd:Class; private var samanthaMouseCursorClickImg:Class; private var pressedOption:int;// = -1 private var titleScreenBitmap:BitmapData;// = null private var titleScreenImg:Class; private var bigCharactersImgThree:Class; private var samanthaTitleBitmap:BitmapData;// = null private var fadeEffectImg:Class; private var detenAnimacionGo:Boolean;// = false private var fondoMangaMexImg:Class; private var bigPersonajeBitmapThree:BitmapData;// = null private var samanthaMouseCursorImg:Class; private var valorActual:int;// = 0 private var letreroReadyBitmap:BitmapData;// = null private var guardaRopa:GuardaRopa;// = null private var personajesCompletosTwoImg:Class; private var level:int;// = 0 private var detenAnimacionSam:Boolean;// = false private var letreroReadyImg:Class; private var iniciaCursor:Boolean;// = true private var detenAnimacionReady:Boolean;// = false private var initializationCompleted:Boolean;// = false private var fondoImg:Class; private var fondoFeliciaMeowImg:Class; private var bigPersonajeBitmapTwo:BitmapData;// = null private var state:int;// = 1 private var personajesCompletosFourImg:Class; private var bigCharactersImgFour:Class; private var gameMenuState:int;// = 1 private var mouseUpOptionActual:int;// = -1 private var samanthaBigImg:Class; private var detenAnimacion:Boolean;// = false private var mx:int;// = -2147483648 private var prevTime:Date;// = null private var bannerActivacionImg:Class; private var activationBannerBitmap:BitmapData;// = null private var bigCharactersImgTwo:Class; private var mouseUpOption:int;// = -1 private var bigPersonajeBitmapOne:BitmapData;// = null private var my:int;// = -2147483648 private var samanthaBigBitmap:BitmapData;// = null private var gameState:int;// = 1 private var startScrolling:Boolean;// = false private var letreroGoBitmap:BitmapData;// = null private var fondoFeliciaMeowBitmap:BitmapData;// = null private var valorMaximo:int;// = 0 private var bigCharactersImgOne:Class; private var screenBuffer:BitmapData;// = null private var newState:int;// = 0 private var cursorNormal:Boolean;// = true private var gameMenuTime:Number;// = 0 private var rostrosPersonajesImg:Class; private var titleTiledScreenBitmap:BitmapData;// = null private var personajesCompletosThreeImg:Class; private var gameTime:Number;// = 0 private var botonesPersonajesBitmap:BitmapData;// = null private var selectedOption:int;// = -1 private var bannerProducidoPorImg:Class; private var samanthaMouseCursorNaughtyImg:Class; private var seleccionPersonajeBitmap:BitmapData;// = null private var desplazamiento:int;// = 0 private var _986740018gamePanel:Canvas; private var bannerProducidoPorBitmap:BitmapData;// = null private static const OPTIONSOUT_SOUND:int = 2; private static const ACTIVATION_SHOW:int = 1; private static const OPTIONSELECTED_SOUND:int = 3; private static const GAMEOPTIONS_WAIT:int = 3; public static const OPTION_CHRISTOPHER:int = 11; public static const OPTION_ASH:int = 6; private static const GAME_STARTED:int = 4; private static const GAME_MENU:int = 1; private static const TITLE_SHOW:int = 1; private static const ACTIVATION:int = 0; public static const OPTION_EVAN:int = 1; public static const OPTION_GAKUSEI:int = 5; private static const SCREEN_WIDTH:int = 1212; private static const GAME_FADE_IN_GO:int = 2; private static const GAME_START:int = 3; public static const OPTION_EMILIO:int = 8; private static const GAME_FADE_IN_READY:int = 1; private static const GAME_PLAYED:int = 5; public static const OPTION_MIGUEL:int = 12; private static const ACTIVATION_HIDE:int = 3; public static const OPTION_ARTHUR:int = 7; private static const GAMEOPTIONS_OUT:int = 4; public static const OPTION_BART:int = 9; public static const OPTION_IRVING:int = 2; private static const SCREEN_HEIGHT:int = 648; private static const OPTION_PERSONAJES_ACTUALES:int = 12; public static const OPTION_BABY_CONEJO:int = 3; private static const TITLE_HIDE:int = 5; private static const OPTIONSIN_SOUND:int = 1; public static const OPTION_CAPTAINMEXICO:int = 4; private static const OPTION_TOTAL_PERSONAJES:int = 12; private static const GAME:int = 2; public static const OPTION_REQUIEM:int = 10; private static const GAMEOPTIONS_IN:int = 2; private static const ACTIVATION_WAIT:int = 2; mx_internal static var _FinalDressUpGame_StylesInit_done:Boolean = false; public function FinalDressUpGame(){ _documentDescriptor_ = new UIComponentDescriptor({type:Application, propertiesFactory:function ():Object{ return ({width:1212, height:648, childDescriptors:[new UIComponentDescriptor({type:Canvas, id:"gamePanel", events:{mouseDown:"__gamePanel_mouseDown", mouseUp:"__gamePanel_mouseUp", mouseMove:"__gamePanel_mouseMove"}, propertiesFactory:function ():Object{ return ({x:0, y:0, percentWidth:100, percentHeight:100}); }})]}); }}); tiledScreedImg = FinalDressUpGame_tiledScreedImg; titleScreenImg = FinalDressUpGame_titleScreenImg; samanthaTitleImg = FinalDressUpGame_samanthaTitleImg; bannerActivacionImg = FinalDressUpGame_bannerActivacionImg; bannerProducidoPorImg = FinalDressUpGame_bannerProducidoPorImg; fondoMangaMexImg = FinalDressUpGame_fondoMangaMexImg; fondoFeliciaMeowImg = FinalDressUpGame_fondoFeliciaMeowImg; rostrosPersonajesImg = FinalDressUpGame_rostrosPersonajesImg; botonesPersonajesImg = FinalDressUpGame_botonesPersonajesImg; fadeEffectImg = FinalDressUpGame_fadeEffectImg; samanthaMouseCursorImg = FinalDressUpGame_samanthaMouseCursorImg; samanthaMouseCursorClickImg = FinalDressUpGame_samanthaMouseCursorClickImg; samanthaMouseCursorNaughtyImg = FinalDressUpGame_samanthaMouseCursorNaughtyImg; bigCharactersImgOne = FinalDressUpGame_bigCharactersImgOne; bigCharactersImgTwo = FinalDressUpGame_bigCharactersImgTwo; bigCharactersImgThree = FinalDressUpGame_bigCharactersImgThree; bigCharactersImgFour = FinalDressUpGame_bigCharactersImgFour; samanthaBigImg = FinalDressUpGame_samanthaBigImg; fondoImg = FinalDressUpGame_fondoImg; letreroReadyImg = FinalDressUpGame_letreroReadyImg; letreroGoImg = FinalDressUpGame_letreroGoImg; personajesCompletosOneImg = FinalDressUpGame_personajesCompletosOneImg; personajesCompletosTwoImg = FinalDressUpGame_personajesCompletosTwoImg; personajesCompletosThreeImg = FinalDressUpGame_personajesCompletosThreeImg; personajesCompletosFourImg = FinalDressUpGame_personajesCompletosFourImg; optionsInSnd = FinalDressUpGame_optionsInSnd; optionSelectedSnd = FinalDressUpGame_optionSelectedSnd; super(); mx_internal::_document = this; if (!this.styleDeclaration){ this.styleDeclaration = new CSSStyleDeclaration(); }; this.styleDeclaration.defaultFactory = function ():void{ this.backgroundColor = 0; this.horizontalAlign = "center"; this.paddingLeft = 0; this.paddingTop = 0; this.paddingBottom = 0; this.paddingRight = 0; }; mx_internal::_FinalDressUpGame_StylesInit(); this.name = "DressUpAdventure"; this.width = 1212; this.height = 648; this.addEventListener("creationComplete", ___FinalDressUpGame_Application1_creationComplete); this.addEventListener("enterFrame", ___FinalDressUpGame_Application1_enterFrame); } private function MouseUp(_arg1:MouseEvent):void{ switch (state){ case ACTIVATION: MouseUp_Activation(_arg1); break; case GAME_MENU: MouseUp_GameMenu(_arg1); break; case GAME: MouseUp_Game(_arg1); break; }; } private function UpdateFrame():void{ if (!initializationCompleted){ return; }; var _local1:Date = new Date(); var _local2:Number = 0; if (prevTime != null){ _local2 = ((_local1.getTime() - prevTime.getTime()) / 1000); }; prevTime = _local1; Draw(_local2); gamePanel.graphics.clear(); gamePanel.graphics.beginBitmapFill(screenBuffer, null, false, false); gamePanel.graphics.drawRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); gamePanel.graphics.endFill(); } private function MouseDown_GameMenu(_arg1:MouseEvent):void{ var _local2:int = _arg1.localX; var _local3:int = _arg1.localY; var _local4:Number = 0; var _local5:Number = 0; var _local6 = 1; while (_local6 <= OPTION_PERSONAJES_ACTUALES) { if (((((_local6 % 4) == 1)) && ((_local6 > 1)))){ _local4 = (_local4 + 127.66); }; if ((_local6 % 4) != 0){ _local5 = (((_local6 % 4) - 1) * 127.25); } else { _local5 = (3 * 127.25); }; if ((((((((_local3 >= (210 + _local4))) && ((_local3 < ((210 + _local4) + 127.66))))) && ((_local2 >= (352 + _local5))))) && ((_local2 < ((352 + _local5) + 127.25))))){ pressedOption = _local6; }; _local6++; }; } private function ChangeState_Game(_arg1:int):void{ gameState = _arg1; gameTime = 0; } private function Draw_GameMenu(_arg1:Number):void{ gameMenuTime = (gameMenuTime + _arg1); switch (gameMenuState){ case TITLE_SHOW: Draw_TitleScreen(); Apply_FadeEffect((1 - gameMenuTime)); if (gameMenuTime >= 1){ ChangeState_GameMenu(GAMEOPTIONS_IN); }; break; case GAMEOPTIONS_IN: startScrolling = true; Draw_TitleScreen(); Draw_GameOptions(); if (gameMenuTime >= 1){ ChangeState_GameMenu(GAMEOPTIONS_WAIT); }; break; case GAMEOPTIONS_WAIT: Draw_TitleScreen(); Draw_GameOptions(); break; case GAMEOPTIONS_OUT: Draw_TitleScreen(); Draw_GameOptions(); if (gameMenuTime >= 1){ ChangeState_GameMenu(TITLE_HIDE); }; break; case TITLE_HIDE: Draw_TitleScreen(); Apply_FadeEffect(gameMenuTime); if (gameMenuTime >= 1){ switch (selectedOption){ case OPTION_EVAN: state = GAME; New_Game(OPTION_EVAN); break; case OPTION_IRVING: state = GAME; New_Game(OPTION_IRVING); break; case OPTION_BABY_CONEJO: state = GAME; New_Game(OPTION_BABY_CONEJO); break; case OPTION_CAPTAINMEXICO: state = GAME; New_Game(OPTION_CAPTAINMEXICO); break; case OPTION_GAKUSEI: state = GAME; New_Game(OPTION_GAKUSEI); break; case OPTION_ASH: state = GAME; New_Game(OPTION_ASH); break; case OPTION_ARTHUR: state = GAME; New_Game(OPTION_ARTHUR); break; case OPTION_EMILIO: state = GAME; New_Game(OPTION_EMILIO); break; case OPTION_BART: state = GAME; New_Game(OPTION_BART); break; case OPTION_REQUIEM: state = GAME; New_Game(OPTION_REQUIEM); break; case OPTION_CHRISTOPHER: state = GAME; New_Game(OPTION_CHRISTOPHER); break; case OPTION_MIGUEL: state = GAME; New_Game(OPTION_MIGUEL); break; }; }; break; }; } private function Draw_GoSign(_arg1:Number):void{ var _local2:int; if (letreroGoBitmap == null){ letreroGoBitmap = new BitmapData(244, 445, true, 0); letreroGoBitmap.draw(new letreroGoImg()); }; if (_arg1 > 0.15){ _local2 = 356; if (detenAnimacionGo){ _local2 = 0; } else { if (_arg1 < 0.25){ _local2 = 356; } else { if (_arg1 < 0.45){ _local2 = 267; } else { if (_arg1 < 0.45){ _local2 = 178; } else { if (_arg1 < 0.55){ _local2 = 89; detenAnimacionGo = true; }; }; }; }; }; screenBuffer.copyPixels(letreroGoBitmap, new Rectangle(0, _local2, 244, 89), new Point(((SCREEN_WIDTH / 2) - 120), ((SCREEN_HEIGHT / 2) - 50))); }; } private function Draw_Game(_arg1:Number):void{ var _local2:Number; gameTime = (gameTime + _arg1); Draw_BackGround(); switch (gameState){ case GAME_FADE_IN_READY: Draw_ReadySign(gameTime); Apply_FadeEffect((1 - gameTime)); if (gameTime >= 1){ ChangeState_Game(GAME_FADE_IN_GO); }; break; case GAME_FADE_IN_GO: Draw_GoSign(gameTime); if (gameTime >= 1){ ChangeState_Game(GAME_START); }; break; case GAME_START: _local2 = (gameTime - int(gameTime)); Draw_GoSign(1); if ((((int((gameTime + 1)) % 2) == 0)) ? (_local2 > 0.55) : (_local2 < 0.55)){ ChangeState_Game(GAME_PLAYED); newState = 0; }; break; case GAME_STARTED: ChangeState_Game(GAME_PLAYED); break; case GAME_PLAYED: if (this.guardaRopa != null){ this.guardaRopa.draw(screenBuffer); }; break; }; } private function Draw_BackGround():void{ if (stageBackgroundBitmap == null){ stageBackgroundBitmap = new BitmapData(SCREEN_WIDTH, SCREEN_HEIGHT, true); stageBackgroundBitmap.draw(new fondoImg()); }; screenBuffer.copyPixels(stageBackgroundBitmap, new Rectangle(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT), new Point(0, 0)); } private function PlaySound(_arg1:int):void{ var _local2:Sound; switch (_arg1){ case OPTIONSIN_SOUND: _local2 = (new optionsInSnd() as Sound); break; case OPTIONSOUT_SOUND: _local2 = (new optionsInSnd() as Sound); break; case OPTIONSELECTED_SOUND: _local2 = (new optionSelectedSnd() as Sound); break; }; if (_local2 != null){ _local2.play(0, 0, new SoundTransform(soundVolume)); }; } private function Draw_SamanthaBig():void{ if (samanthaBigBitmap == null){ samanthaBigBitmap = new BitmapData(318, 648, true, 0); samanthaBigBitmap.draw(new samanthaBigImg()); }; var _local1:int; if ((((gameMenuState == GAMEOPTIONS_IN)) || ((gameMenuState == GAMEOPTIONS_WAIT)))){ if (!detenAnimacionSam){ valorActualSam = ((gameMenuTime * 10) % 10); if (valorMaximoSam <= valorActualSam){ valorMaximoSam = valorActualSam; } else { detenAnimacionSam = true; }; _local1 = (-318 - (valorActualSam * 50)); if (_local1 < -636){ _local1 = -636; }; } else { _local1 = -636; }; }; screenBuffer.copyPixels(samanthaBigBitmap, new Rectangle(0, 0, 318, 648), new Point((1530 + _local1), 0)); } public function __gamePanel_mouseDown(_arg1:MouseEvent):void{ MouseDown(_arg1); } public function __gamePanel_mouseUp(_arg1:MouseEvent):void{ MouseUp(_arg1); } private function MouseMoved(_arg1:MouseEvent):void{ switch (state){ case ACTIVATION: MouseMoved_Activation(_arg1); break; case GAME_MENU: MouseMoved_GameMenu(_arg1); break; case GAME: MouseMoved_Game(_arg1); break; }; } private function Draw_PersonajesBig():void{ if (bigPersonajeBitmapOne == null){ bigPersonajeBitmapOne = new BitmapData(979, 648, true, 0); bigPersonajeBitmapOne.draw(new bigCharactersImgOne()); }; if (bigPersonajeBitmapTwo == null){ bigPersonajeBitmapTwo = new BitmapData(979, 648, true, 0); bigPersonajeBitmapTwo.draw(new bigCharactersImgTwo()); }; if (bigPersonajeBitmapThree == null){ bigPersonajeBitmapThree = new BitmapData(979, 648, true, 0); bigPersonajeBitmapThree.draw(new bigCharactersImgThree()); }; if (bigPersonajeBitmapFour == null){ bigPersonajeBitmapFour = new BitmapData(979, 648, true, 0); bigPersonajeBitmapFour.draw(new bigCharactersImgFour()); }; var _local1:Boolean; var _local2:Number = 0; var _local3 = 1; switch (mouseUpOption){ case OPTION_EVAN: _local1 = true; _local2 = 0; _local3 = 1; break; case OPTION_IRVING: _local1 = true; _local2 = 328; _local3 = 1; break; case OPTION_BABY_CONEJO: _local1 = true; _local2 = 656; _local3 = 1; break; case OPTION_CAPTAINMEXICO: _local1 = true; _local2 = 0; _local3 = 2; break; case OPTION_GAKUSEI: _local1 = true; _local2 = 328; _local3 = 2; break; case OPTION_ASH: _local1 = true; _local2 = 656; _local3 = 2; break; case OPTION_ARTHUR: _local1 = true; _local2 = 0; _local3 = 3; break; case OPTION_EMILIO: _local1 = true; _local2 = 328; _local3 = 3; break; case OPTION_BART: _local1 = true; _local2 = 656; _local3 = 3; break; case OPTION_REQUIEM: _local1 = true; _local2 = 0; _local3 = 4; break; case OPTION_CHRISTOPHER: _local1 = true; _local2 = 328; _local3 = 4; break; case OPTION_MIGUEL: _local1 = true; _local2 = 656; _local3 = 4; break; }; if (mouseUpOptionActual != mouseUpOption){ mouseUpOptionActual = mouseUpOption; detenAnimacion = false; valorActual = 0; valorMaximo = 0; if (((gameMenuTime * 10) % 10) != 0){ return; }; }; var _local4:int; valorActual = ((gameMenuTime * 10) % 10); if (valorMaximo <= valorActual){ valorMaximo = valorActual; } else { detenAnimacion = true; }; if (!detenAnimacion){ _local4 = (-600 + (valorActual * 50)); }; if (_local1){ if (_local3 == 1){ screenBuffer.copyPixels(bigPersonajeBitmapOne, new Rectangle(_local2, 0, 326, 648), new Point((0 + _local4), 0)); } else { if (_local3 == 2){ screenBuffer.copyPixels(bigPersonajeBitmapTwo, new Rectangle(_local2, 0, 326, 648), new Point((0 + _local4), 0)); } else { if (_local3 == 3){ screenBuffer.copyPixels(bigPersonajeBitmapThree, new Rectangle(_local2, 0, 326, 648), new Point((0 + _local4), 0)); } else { if (_local3 == 4){ screenBuffer.copyPixels(bigPersonajeBitmapFour, new Rectangle(_local2, 0, 326, 648), new Point((0 + _local4), 0)); }; }; }; }; }; } public function Init():void{ screenBuffer = new BitmapData(SCREEN_WIDTH, SCREEN_HEIGHT, false, 0); if (ExternalInterface.available){ state = ACTIVATION; }; initializationCompleted = true; } public function get gamePanel():Canvas{ return (this._986740018gamePanel); } private function Draw(_arg1:Number):void{ switch (state){ case ACTIVATION: Draw_Activation(_arg1); break; case GAME_MENU: if (iniciaCursor){ this.iniciaCursor = false; CursorManager.removeAllCursors(); CursorManager.setCursor(samanthaMouseCursorImg); }; Draw_GameMenu(_arg1); break; case GAME: Draw_Game(_arg1); break; }; } public function set gamePanel(_arg1:Canvas):void{ var _local2:Object = this._986740018gamePanel; if (_local2 !== _arg1){ this._986740018gamePanel = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "gamePanel", _local2, _arg1)); }; } private function ChangeState_GameMenu(_arg1:int):void{ switch (_arg1){ case GAMEOPTIONS_IN: PlaySound(OPTIONSIN_SOUND); break; case GAMEOPTIONS_OUT: PlaySound(OPTIONSOUT_SOUND); break; }; gameMenuState = _arg1; gameMenuTime = 0; } private function Draw_TitleScreen():void{ var _local1:int; if (samanthaTitleBitmap == null){ samanthaTitleBitmap = new BitmapData(864, 56, true, 0); samanthaTitleBitmap.draw(new samanthaTitleImg()); }; if (titleTiledScreenBitmap == null){ titleTiledScreenBitmap = new BitmapData(SCREEN_WIDTH, 388, true); titleTiledScreenBitmap.draw(new tiledScreedImg()); }; if (titleScreenBitmap == null){ titleScreenBitmap = new BitmapData(SCREEN_WIDTH, SCREEN_HEIGHT, true); titleScreenBitmap.draw(new titleScreenImg()); }; if (this.startScrolling){ _local1 = 0; while (_local1 < 4) { screenBuffer.copyPixels(titleTiledScreenBitmap, new Rectangle(0, 0, SCREEN_WIDTH, 388), new Point(0, (((_local1 * 388) + desplazamiento) - 388))); _local1++; }; desplazamiento = (desplazamiento + 75); if (desplazamiento >= 388){ desplazamiento = 0; }; } else { screenBuffer.copyPixels(titleScreenBitmap, new Rectangle(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT), new Point(0, 0)); }; screenBuffer.copyPixels(samanthaTitleBitmap, new Rectangle(0, 0, 864, 56), new Point(174, 50)); } private function Draw_ActivationBanner():void{ if (activationBannerBitmap == null){ activationBannerBitmap = new BitmapData(SCREEN_WIDTH, 56, true, 0); activationBannerBitmap.draw(new bannerActivacionImg()); }; if (bannerProducidoPorBitmap == null){ bannerProducidoPorBitmap = new BitmapData(349, 207, true, 0); bannerProducidoPorBitmap.draw(new bannerProducidoPorImg()); }; if (fondoMangaMexBitmap == null){ fondoMangaMexBitmap = new BitmapData(285, 98, true, 0); fondoMangaMexBitmap.draw(new fondoMangaMexImg()); }; if (fondoFeliciaMeowBitmap == null){ fondoFeliciaMeowBitmap = new BitmapData(359, 60, true, 0); fondoFeliciaMeowBitmap.draw(new fondoFeliciaMeowImg()); }; var _local1:int; if (activationState == ACTIVATION_HIDE){ _local1 = int((activationTime * 527)); }; screenBuffer.copyPixels(activationBannerBitmap, new Rectangle(0, 0, (SCREEN_WIDTH / 2), 56), new Point(-(_local1), 452)); screenBuffer.copyPixels(activationBannerBitmap, new Rectangle((SCREEN_WIDTH / 2), 0, (SCREEN_WIDTH / 2), 56), new Point(((SCREEN_WIDTH / 2) + _local1), 452)); if ((((((((this.mx >= ((SCREEN_WIDTH / 2) - 162))) && ((this.mx <= (((SCREEN_WIDTH / 2) - 162) + 285))))) && ((this.my >= 200)))) && ((this.my <= (200 + 98))))){ if (this.cursorNormal){ this.cursorNormal = false; CursorManager.removeAllCursors(); CursorManager.setCursor(samanthaMouseCursorClickImg); }; screenBuffer.copyPixels(fondoMangaMexBitmap, new Rectangle(0, 0, 285, 98), new Point(((SCREEN_WIDTH / 2) - 162), 200)); } else { if ((((((((this.mx >= ((SCREEN_WIDTH / 2) - 199))) && ((this.mx <= (((SCREEN_WIDTH / 2) - 199) + 285))))) && ((this.my >= 350)))) && ((this.my <= (350 + 98))))){ if (this.cursorNormal){ this.cursorNormal = false; CursorManager.removeAllCursors(); CursorManager.setCursor(samanthaMouseCursorClickImg); }; screenBuffer.copyPixels(fondoFeliciaMeowBitmap, new Rectangle(0, 0, 359, 60), new Point(((SCREEN_WIDTH / 2) - 199), 350)); } else { if ((((((((this.mx >= 364)) && ((this.mx <= (404 + 424))))) && ((this.my >= 452)))) && ((this.my <= (452 + 56))))){ if (this.cursorNormal){ this.cursorNormal = false; CursorManager.removeAllCursors(); CursorManager.setCursor(samanthaMouseCursorClickImg); }; } else { if (!this.cursorNormal){ this.cursorNormal = true; CursorManager.removeAllCursors(); CursorManager.setCursor(samanthaMouseCursorImg); }; }; }; }; screenBuffer.copyPixels(bannerProducidoPorBitmap, new Rectangle(0, 0, 359, 207), new Point(((SCREEN_WIDTH / 2) - 194), 200)); } private function New_Game(_arg1:int):void{ this.guardaRopa = new GuardaRopa(); this.guardaRopa.personajeSeleccionado = _arg1; level = 1; ChangeState_Game(GAME_FADE_IN_READY); } public function __gamePanel_mouseMove(_arg1:MouseEvent):void{ MouseMoved(_arg1); } private function MouseMoved_Game(_arg1:MouseEvent):void{ var _local2:int = _arg1.localX; var _local3:int = _arg1.localY; switch (gameState){ case GAME_PLAYED: guardaRopa.mouseOverButtons(_local2, _local3); if (((!(guardaRopa.isSomethingDragged)) && (((((((((!(guardaRopa.isSomethingDragged)) && ((_local2 >= 365)))) && ((_local2 <= 410)))) && ((_local3 >= 328)))) && ((_local3 <= 376)))))){ if (this.cursorNormal){ this.cursorNormal = false; CursorManager.removeAllCursors(); CursorManager.setCursor(samanthaMouseCursorNaughtyImg); }; } else { if (!this.cursorNormal){ this.cursorNormal = true; CursorManager.removeAllCursors(); CursorManager.setCursor(samanthaMouseCursorImg); }; }; if ((((((((_local2 < 5)) || ((_local2 > (SCREEN_WIDTH - 5))))) || ((_local3 < 5)))) || ((_local3 > (SCREEN_HEIGHT - 5))))){ guardaRopa.ClothRelease(_local2, _local3); } else { guardaRopa.MoveCloth(_local2, _local3); }; break; }; } private function MouseMoved_GameMenu(_arg1:MouseEvent):void{ var _local2:int = _arg1.localX; var _local3:int = _arg1.localY; mouseUpOption = -1; var _local4:Number = 0; var _local5:Number = 0; var _local6 = 1; while (_local6 <= OPTION_PERSONAJES_ACTUALES) { if (((((_local6 % 4) == 1)) && ((_local6 > 1)))){ _local4 = (_local4 + 127.66); }; if ((_local6 % 4) != 0){ _local5 = (((_local6 % 4) - 1) * 127.25); } else { _local5 = (3 * 127.25); }; if ((((((((_local3 >= (210 + _local4))) && ((_local3 < ((210 + _local4) + 127.66))))) && ((_local2 >= (352 + _local5))))) && ((_local2 < ((352 + _local5) + 127.25))))){ mouseUpOption = _local6; }; _local6++; }; var _local7 = 1; while (_local7 <= OPTION_PERSONAJES_ACTUALES) { if (pressedOption == _local7){ if ((((((((_local3 < 210)) || ((_local3 >= 338)))) || ((_local2 < 352)))) || ((_local2 >= 861)))){ pressedOption = -1; }; }; _local7++; }; } override public function initialize():void{ mx_internal::setDocumentDescriptor(_documentDescriptor_); super.initialize(); } private function ChangeState_Activation(_arg1:int):void{ activationState = _arg1; activationTime = 0; } public function ___FinalDressUpGame_Application1_creationComplete(_arg1:FlexEvent):void{ Init(); } private function Draw_ProducedByBanner(_arg1:int, _arg2:int):void{ } private function MouseDown_Activation(_arg1:MouseEvent):void{ if (activationState == ACTIVATION_WAIT){ PlaySound(OPTIONSELECTED_SOUND); }; } public function ___FinalDressUpGame_Application1_enterFrame(_arg1:Event):void{ UpdateFrame(); } private function MouseDown_Game(_arg1:MouseEvent):void{ var _local2:int = _arg1.localX; var _local3:int = _arg1.localY; switch (gameState){ case GAME_START: newState = GAME_STARTED; break; case GAME_PLAYED: guardaRopa.DragCloth(_local2, _local3); break; }; } private function MouseDown(_arg1:MouseEvent):void{ switch (state){ case ACTIVATION: MouseDown_Activation(_arg1); break; case GAME_MENU: MouseDown_GameMenu(_arg1); break; case GAME: MouseDown_Game(_arg1); break; }; } mx_internal function _FinalDressUpGame_StylesInit():void{ var _local1:CSSStyleDeclaration; var _local2:Array; if (mx_internal::_FinalDressUpGame_StylesInit_done){ return; }; mx_internal::_FinalDressUpGame_StylesInit_done = true; var _local3 = StyleManager; _local3.mx_internal::initProtoChainRoots(); } private function Draw_ReadySign(_arg1:Number):void{ var _local2:int; if (letreroReadyBitmap == null){ letreroReadyBitmap = new BitmapData(403, 335, true, 0); letreroReadyBitmap.draw(new letreroReadyImg()); }; if (_arg1 > 0.15){ _local2 = 268; if (detenAnimacionReady){ _local2 = 0; } else { if (_arg1 < 0.25){ _local2 = 268; } else { if (_arg1 < 0.45){ _local2 = 201; } else { if (_arg1 < 0.45){ _local2 = 134; } else { if (_arg1 < 0.55){ _local2 = 67; detenAnimacionReady = true; }; }; }; }; }; screenBuffer.copyPixels(letreroReadyBitmap, new Rectangle(0, _local2, 403, 67), new Point(((SCREEN_WIDTH / 2) - 120), ((SCREEN_HEIGHT / 2) - 50))); }; } private function Draw_GameOptions():void{ var _local6:int; var _local7:int; var _local8:int; if (botonesPersonajesBitmap == null){ botonesPersonajesBitmap = new BitmapData(509, 383, true, 0); botonesPersonajesBitmap.draw(new botonesPersonajesImg()); }; if (seleccionPersonajeBitmap == null){ seleccionPersonajeBitmap = new BitmapData(509, 383, true, 0); seleccionPersonajeBitmap.draw(new rostrosPersonajesImg()); }; var _local1:Number = 352; var _local2:Number = 210; var _local3:Number = 0; var _local4:Number = 0; var _local5 = 1; while (_local5 <= OPTION_TOTAL_PERSONAJES) { _local6 = ((mouseUpOption == _local5)) ? 0 : 127.25; _local6 = ((pressedOption == _local5)) ? 381.75 : _local6; _local6 = ((_local5 > OPTION_PERSONAJES_ACTUALES)) ? 255.5 : _local6; _local7 = 0; if (gameMenuState == GAMEOPTIONS_IN){ _local7 = ((-609 + (gameMenuTime * 2000)) - (int(((_local5 - 1) / 4)) * 300)); if (_local7 > 0){ _local7 = 0; }; } else { if (gameMenuState == GAMEOPTIONS_OUT){ _local8 = (1 + int(((_local5 - 1) / 4))); _local7 = ((gameMenuTime * 4000) / _local8); if (_local7 > SCREEN_WIDTH){ _local7 = SCREEN_WIDTH; }; }; }; screenBuffer.copyPixels(botonesPersonajesBitmap, new Rectangle(_local6, 0, 128, 128), new Point((_local1 + _local7), _local2)); screenBuffer.copyPixels(seleccionPersonajeBitmap, new Rectangle(_local3, _local4, 127.25, 127), new Point((_local1 + _local7), _local2)); if ((_local5 % 4) == 0){ _local1 = 352; _local2 = (_local2 + 127); _local3 = 0; _local4 = (_local4 + 127); } else { _local1 = (_local1 + 127.25); _local3 = (_local3 + 127.25); }; if (mouseUpOption != -1){ Draw_PersonajesBig(); }; Draw_SamanthaBig(); _local5++; }; } private function MouseUp_Activation(_arg1:MouseEvent):void{ if ((((((((this.mx >= ((SCREEN_WIDTH / 2) - 162))) && ((this.mx <= (((SCREEN_WIDTH / 2) - 162) + 285))))) && ((this.my >= 200)))) && ((this.my <= (200 + 98))))){ navigateToURL(new URLRequest("http://www.mangamex.com"), "_blank"); } else { if ((((((((this.mx >= ((SCREEN_WIDTH / 2) - 199))) && ((this.mx <= (((SCREEN_WIDTH / 2) - 199) + 285))))) && ((this.my >= 350)))) && ((this.my <= (350 + 98))))){ navigateToURL(new URLRequest("http://feliciameow.deviantart.com"), "_blank"); } else { if (activationState == ACTIVATION_WAIT){ ChangeState_Activation(ACTIVATION_HIDE); }; }; }; } private function MouseMoved_Activation(_arg1:MouseEvent):void{ this.mx = _arg1.localX; this.my = _arg1.localY; } private function Apply_FadeEffect(_arg1:Number):void{ if (fadeEffectBitmap == null){ fadeEffectBitmap = new BitmapData(SCREEN_WIDTH, SCREEN_HEIGHT, true, 0); fadeEffectBitmap.draw(new fadeEffectImg()); }; if (_arg1 > 0.95){ _arg1 = 0.95; }; var _local2:int; while (_local2 < 20) { screenBuffer.copyPixels(fadeEffectBitmap, new Rectangle(0, (int((_arg1 * 20)) * 32.4), SCREEN_WIDTH, 32), new Point(0, (_local2 * 32))); _local2++; }; } private function Draw_Activation(_arg1:Number):void{ activationTime = (activationTime + _arg1); Draw_TitleScreen(); Draw_ActivationBanner(); switch (activationState){ case ACTIVATION_SHOW: Apply_FadeEffect((1 - activationTime)); if (activationTime >= 1){ activationState = ACTIVATION_WAIT; activationTime = 0; }; break; case ACTIVATION_WAIT: break; case ACTIVATION_HIDE: if (activationTime >= 1){ state = GAME_MENU; gameMenuState = GAMEOPTIONS_IN; }; break; }; } private function MouseUp_GameMenu(_arg1:MouseEvent):void{ var _local2:int = _arg1.localX; var _local3:int = _arg1.localY; switch (gameMenuState){ case GAMEOPTIONS_WAIT: switch (pressedOption){ case OPTION_EVAN: selectedOption = OPTION_EVAN; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_IRVING: selectedOption = OPTION_IRVING; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_BABY_CONEJO: selectedOption = OPTION_BABY_CONEJO; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_CAPTAINMEXICO: selectedOption = OPTION_CAPTAINMEXICO; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_GAKUSEI: selectedOption = OPTION_GAKUSEI; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_ASH: selectedOption = OPTION_ASH; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_ARTHUR: selectedOption = OPTION_ARTHUR; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_EMILIO: selectedOption = OPTION_EMILIO; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_BART: selectedOption = OPTION_BART; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_REQUIEM: selectedOption = OPTION_REQUIEM; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_CHRISTOPHER: selectedOption = OPTION_CHRISTOPHER; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; case OPTION_MIGUEL: selectedOption = OPTION_MIGUEL; ChangeState_GameMenu(GAMEOPTIONS_OUT); break; }; break; }; pressedOption = -1; } private function MouseUp_Game(_arg1:MouseEvent):void{ var _local2:int = _arg1.localX; var _local3:int = _arg1.localY; switch (gameState){ case GAME_PLAYED: guardaRopa.ClothRelease(_local2, _local3); break; }; } } }//package
Section 666
//FinalDressUpGame_bannerActivacionImg (FinalDressUpGame_bannerActivacionImg) package { import mx.core.*; public class FinalDressUpGame_bannerActivacionImg extends BitmapAsset { } }//package
Section 667
//FinalDressUpGame_bannerProducidoPorImg (FinalDressUpGame_bannerProducidoPorImg) package { import mx.core.*; public class FinalDressUpGame_bannerProducidoPorImg extends BitmapAsset { } }//package
Section 668
//FinalDressUpGame_bigCharactersImgFour (FinalDressUpGame_bigCharactersImgFour) package { import mx.core.*; public class FinalDressUpGame_bigCharactersImgFour extends BitmapAsset { } }//package
Section 669
//FinalDressUpGame_bigCharactersImgOne (FinalDressUpGame_bigCharactersImgOne) package { import mx.core.*; public class FinalDressUpGame_bigCharactersImgOne extends BitmapAsset { } }//package
Section 670
//FinalDressUpGame_bigCharactersImgThree (FinalDressUpGame_bigCharactersImgThree) package { import mx.core.*; public class FinalDressUpGame_bigCharactersImgThree extends BitmapAsset { } }//package
Section 671
//FinalDressUpGame_bigCharactersImgTwo (FinalDressUpGame_bigCharactersImgTwo) package { import mx.core.*; public class FinalDressUpGame_bigCharactersImgTwo extends BitmapAsset { } }//package
Section 672
//FinalDressUpGame_botonesPersonajesImg (FinalDressUpGame_botonesPersonajesImg) package { import mx.core.*; public class FinalDressUpGame_botonesPersonajesImg extends BitmapAsset { } }//package
Section 673
//FinalDressUpGame_fadeEffectImg (FinalDressUpGame_fadeEffectImg) package { import mx.core.*; public class FinalDressUpGame_fadeEffectImg extends BitmapAsset { } }//package
Section 674
//FinalDressUpGame_fondoFeliciaMeowImg (FinalDressUpGame_fondoFeliciaMeowImg) package { import mx.core.*; public class FinalDressUpGame_fondoFeliciaMeowImg extends BitmapAsset { } }//package
Section 675
//FinalDressUpGame_fondoImg (FinalDressUpGame_fondoImg) package { import mx.core.*; public class FinalDressUpGame_fondoImg extends BitmapAsset { } }//package
Section 676
//FinalDressUpGame_fondoMangaMexImg (FinalDressUpGame_fondoMangaMexImg) package { import mx.core.*; public class FinalDressUpGame_fondoMangaMexImg extends BitmapAsset { } }//package
Section 677
//FinalDressUpGame_letreroGoImg (FinalDressUpGame_letreroGoImg) package { import mx.core.*; public class FinalDressUpGame_letreroGoImg extends BitmapAsset { } }//package
Section 678
//FinalDressUpGame_letreroReadyImg (FinalDressUpGame_letreroReadyImg) package { import mx.core.*; public class FinalDressUpGame_letreroReadyImg extends BitmapAsset { } }//package
Section 679
//FinalDressUpGame_optionSelectedSnd (FinalDressUpGame_optionSelectedSnd) package { import mx.core.*; public class FinalDressUpGame_optionSelectedSnd extends SoundAsset { } }//package
Section 680
//FinalDressUpGame_optionsInSnd (FinalDressUpGame_optionsInSnd) package { import mx.core.*; public class FinalDressUpGame_optionsInSnd extends SoundAsset { } }//package
Section 681
//FinalDressUpGame_personajesCompletosFourImg (FinalDressUpGame_personajesCompletosFourImg) package { import mx.core.*; public class FinalDressUpGame_personajesCompletosFourImg extends BitmapAsset { } }//package
Section 682
//FinalDressUpGame_personajesCompletosOneImg (FinalDressUpGame_personajesCompletosOneImg) package { import mx.core.*; public class FinalDressUpGame_personajesCompletosOneImg extends BitmapAsset { } }//package
Section 683
//FinalDressUpGame_personajesCompletosThreeImg (FinalDressUpGame_personajesCompletosThreeImg) package { import mx.core.*; public class FinalDressUpGame_personajesCompletosThreeImg extends BitmapAsset { } }//package
Section 684
//FinalDressUpGame_personajesCompletosTwoImg (FinalDressUpGame_personajesCompletosTwoImg) package { import mx.core.*; public class FinalDressUpGame_personajesCompletosTwoImg extends BitmapAsset { } }//package
Section 685
//FinalDressUpGame_rostrosPersonajesImg (FinalDressUpGame_rostrosPersonajesImg) package { import mx.core.*; public class FinalDressUpGame_rostrosPersonajesImg extends BitmapAsset { } }//package
Section 686
//FinalDressUpGame_samanthaBigImg (FinalDressUpGame_samanthaBigImg) package { import mx.core.*; public class FinalDressUpGame_samanthaBigImg extends BitmapAsset { } }//package
Section 687
//FinalDressUpGame_samanthaMouseCursorClickImg (FinalDressUpGame_samanthaMouseCursorClickImg) package { import mx.core.*; public class FinalDressUpGame_samanthaMouseCursorClickImg extends BitmapAsset { } }//package
Section 688
//FinalDressUpGame_samanthaMouseCursorImg (FinalDressUpGame_samanthaMouseCursorImg) package { import mx.core.*; public class FinalDressUpGame_samanthaMouseCursorImg extends BitmapAsset { } }//package
Section 689
//FinalDressUpGame_samanthaMouseCursorNaughtyImg (FinalDressUpGame_samanthaMouseCursorNaughtyImg) package { import mx.core.*; public class FinalDressUpGame_samanthaMouseCursorNaughtyImg extends BitmapAsset { } }//package
Section 690
//FinalDressUpGame_samanthaTitleImg (FinalDressUpGame_samanthaTitleImg) package { import mx.core.*; public class FinalDressUpGame_samanthaTitleImg extends BitmapAsset { } }//package
Section 691
//FinalDressUpGame_tiledScreedImg (FinalDressUpGame_tiledScreedImg) package { import mx.core.*; public class FinalDressUpGame_tiledScreedImg extends BitmapAsset { } }//package
Section 692
//FinalDressUpGame_titleScreenImg (FinalDressUpGame_titleScreenImg) package { import mx.core.*; public class FinalDressUpGame_titleScreenImg extends BitmapAsset { } }//package

Library Items

Symbol 1 Bitmap {FinalDressUpGame_titleScreenImg}
Symbol 2 Bitmap {Classes.PreLoader_progressBarImg}
Symbol 3 Sound {FinalDressUpGame_optionSelectedSnd} [FinalDressUpGame_optionSelectedSnd]
Symbol 4 Sound {FinalDressUpGame_optionsInSnd} [FinalDressUpGame_optionsInSnd]
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip {_CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1952852694} [mx.skins.cursor.BusyCursor]Uses:5
Symbol 7 Bitmap {Classes.RopaChico_gakCalceDerImg}
Symbol 8 Bitmap {Classes.RopaMisc_pan19Img}
Symbol 9 Bitmap {Classes.RopaMisc_zapIzq10Img}
Symbol 10 Bitmap {Classes.RopaChico_capGuanteIzqImg}
Symbol 11 Bitmap {Classes.RopaMisc_pan13Img}
Symbol 12 Bitmap {FinalDressUpGame_fondoImg}
Symbol 13 Bitmap {Classes.RopaChico_reqZapDerImg}
Symbol 14 Bitmap {Classes.RopaConjuntos_FelBotaDerImg}
Symbol 15 Bitmap {Classes.RopaMisc_pan27Img}
Symbol 16 Bitmap {Classes.RopaChico_bartPlayeraImg}
Symbol 17 Bitmap {Classes.RopaConjuntos_gen1CalceIzqImg}
Symbol 18 Bitmap {Classes.RopaChico_ashPlayeraImg}
Symbol 19 Bitmap {FinalDressUpGame_tiledScreedImg}
Symbol 20 Bitmap {Classes.RopaConjuntos_gen2BlusaImg}
Symbol 21 Bitmap {Classes.RopaMisc_blus14Img}
Symbol 22 Bitmap {Classes.RopaChico_artPantalonImg}
Symbol 23 Bitmap {Classes.RopaMisc_swim3Img}
Symbol 24 Bitmap {Classes.RopaMisc_nekoDer3Img}
Symbol 25 Bitmap {Classes.RopaConjuntos_usa2ZapDerImg}
Symbol 26 Bitmap {Classes.RopaConjuntos_eleColaIzqImg}
Symbol 27 Bitmap {Classes.Botones_botonImanLuzImg}
Symbol 28 Bitmap {Classes.RopaConjuntos_usa1BlusaImg}
Symbol 29 Bitmap {Classes.RopaConjuntos_usa1CalceIzqImg}
Symbol 30 Bitmap {Classes.RopaMisc_blus13Img}
Symbol 31 Bitmap {Classes.RopaMisc_diap1FoldImg}
Symbol 32 Bitmap {Classes.RopaMisc_zapDer11Img}
Symbol 33 Bitmap {Classes.RopaMisc_pan6Img}
Symbol 34 Bitmap {Classes.Botones_flechaBoyIzqImg}
Symbol 35 Bitmap {Classes.RopaChico_conCrotchImg}
Symbol 36 Bitmap {Classes.RopaConjuntos_dracuBlusaIntImg}
Symbol 37 Bitmap {Classes.RopaConjuntos_DawnBufandaImg}
Symbol 38 Bitmap {Classes.RopaMisc_pan12Img}
Symbol 39 Bitmap {Classes.RopaChico_bartZapIzqImg}
Symbol 40 Bitmap {Classes.RopaChico_migZapIzqImg}
Symbol 41 Bitmap {Classes.RopaChico_reqPlayeraImg}
Symbol 42 Bitmap {Classes.RopaConjuntos_gen1FaldaImg}
Symbol 43 Bitmap {Classes.RopaMisc_falda31Img}
Symbol 44 Bitmap {Classes.RopaMisc_zapIzq4Img}
Symbol 45 Bitmap {Classes.RopaMisc_blus4Img}
Symbol 46 Bitmap {FinalDressUpGame_samanthaMouseCursorClickImg}
Symbol 47 Bitmap {Classes.RopaChico_chiCalceDerImg}
Symbol 48 Bitmap {Classes.RopaMisc_blus7Img}
Symbol 49 Bitmap {Classes.RopaConjuntos_usa4CollarImg}
Symbol 50 Bitmap {Classes.RopaConjuntos_usa3PantyImg}
Symbol 51 Bitmap {FinalDressUpGame_bigCharactersImgOne}
Symbol 52 Bitmap {Classes.RopaMisc_mon10Img}
Symbol 53 Bitmap {FinalDressUpGame_personajesCompletosThreeImg}
Symbol 54 Bitmap {Classes.RopaConjuntos_gen2FaldaImg}
Symbol 55 Bitmap {Classes.RopaConjuntos_usa1ZapIzqImg}
Symbol 56 Bitmap {Classes.RopaConjuntos_DawnBlusaImg}
Symbol 57 Bitmap {Classes.RopaChico_artCrotchImg}
Symbol 58 Bitmap {Classes.RopaConjuntos_usa4ZapDerImg}
Symbol 59 Bitmap {Classes.RopaConjuntos_usa3CorbataImg}
Symbol 60 Bitmap {Classes.RopaConjuntos_eleBlusaImg}
Symbol 61 Bitmap {Classes.RopaChico_evanPantsImg}
Symbol 62 Bitmap {Classes.RopaMisc_pan20Img}
Symbol 63 Bitmap {Classes.RopaChico_chiShortImg}
Symbol 64 Bitmap {Classes.RopaChico_capCalzonImg}
Symbol 65 Bitmap {Classes.Botones_flechaMoreIzqImg}
Symbol 66 Bitmap {Classes.RopaChico_emiZapatoPlayera}
Symbol 67 Bitmap {Classes.RopaChico_conShortsImg}
Symbol 68 Bitmap {Classes.RopaChico_irvZapatoDerImg}
Symbol 69 Bitmap {Classes.RopaChico_gakZapIzqImg}
Symbol 70 Bitmap {Classes.RopaMisc_falda22Img}
Symbol 71 Bitmap {Classes.RopaConjuntos_dracuChalecoImg}
Symbol 72 Bitmap {Classes.RopaMisc_bunDer4Img}
Symbol 73 Bitmap {Classes.RopaMisc_falda28Img}
Symbol 74 Bitmap {Classes.RopaMisc_swim2Img}
Symbol 75 Bitmap {Classes.RopaMisc_lig2Img}
Symbol 76 Bitmap {Classes.RopaMisc_mon5Img}
Symbol 77 Bitmap {Classes.RopaMisc_swim4Img}
Symbol 78 Bitmap {Classes.RopaConjuntos_usa2CollarImg}
Symbol 79 Bitmap {Classes.RopaMisc_blus17Img}
Symbol 80 Bitmap {Classes.RopaMisc_pan7Img}
Symbol 81 Bitmap {Classes.RopaMisc_lig1Img}
Symbol 82 Bitmap {Classes.RopaChico_reqZapIzqImg}
Symbol 83 Bitmap {Classes.RopaMisc_falda21Img}
Symbol 84 Bitmap {Classes.RopaMisc_pan9Img}
Symbol 85 Bitmap {Classes.RopaChico_conGuanteIzqImg}
Symbol 86 Bitmap {Classes.RopaMisc_blus18Img}
Symbol 87 Bitmap {Classes.RopaConjuntos_eleZapDerImg}
Symbol 88 Bitmap {Classes.RopaChico_gakPantalonImg}
Symbol 89 Bitmap {Classes.RopaConjuntos_dracuMangaDerImg}
Symbol 90 Bitmap {Classes.RopaConjuntos_usa4PantyImg}
Symbol 91 Bitmap {Classes.RopaMisc_blus15Img}
Symbol 92 Bitmap {Classes.RopaMisc_blus23Img}
Symbol 93 Bitmap {Classes.RopaConjuntos_usa4FaldaTopImg}
Symbol 94 Bitmap {Classes.RopaConjuntos_kitBotaDerImg}
Symbol 95 Bitmap {Classes.RopaConjuntos_usa2BlusaImg}
Symbol 96 Bitmap {Classes.RopaChico_evanSombreroImg}
Symbol 97 Bitmap {Classes.RopaMisc_blus1Img}
Symbol 98 Bitmap {Classes.RopaChico_chiZapIzqImg}
Symbol 99 Bitmap {Classes.RopaChico_capSombreroImg}
Symbol 100 Bitmap {Classes.RopaMisc_zapDer13Img}
Symbol 101 Bitmap {Classes.RopaChico_emiZapatoDerImg}
Symbol 102 Bitmap {Classes.RopaConjuntos_angColaImg}
Symbol 103 Bitmap {Classes.RopaChico_gakPlayeraImg}
Symbol 104 Bitmap {Classes.RopaConjuntos_DawnChalecoImg}
Symbol 105 Bitmap {Classes.RopaChico_artSweterImg}
Symbol 106 Bitmap {Classes.RopaConjuntos_gen1ZapDerImg}
Symbol 107 Bitmap {Classes.RopaConjuntos_DawnPantyImg}
Symbol 108 Bitmap {Classes.RopaMisc_falda26Img}
Symbol 109 Bitmap {Classes.RopaMisc_blus21Img}
Symbol 110 Bitmap {Classes.RopaMisc_blus20Img}
Symbol 111 Bitmap {Classes.DibujaPersonajes_personajesCompletosTwoImg}
Symbol 112 Bitmap {Classes.RopaConjuntos_kitMediasImg}
Symbol 113 Bitmap {Classes.RopaMisc_swim1Img}
Symbol 114 Bitmap {Classes.RopaMisc_bunIzq2Img}
Symbol 115 Bitmap {Classes.RopaChico_bartShortImg}
Symbol 116 Bitmap {Classes.RopaChico_migZapDerImg}
Symbol 117 Bitmap {Classes.RopaChico_artZapatoIzqImg}
Symbol 118 Bitmap {Classes.Botones_flechaGirlDerImg}
Symbol 119 Bitmap {Classes.RopaConjuntos_dracuPantiesImg}
Symbol 120 Bitmap {Classes.RopaMisc_falda10Img}
Symbol 121 Bitmap {Classes.RopaChico_ashCalceDerImg}
Symbol 122 Bitmap {Classes.RopaMisc_falda17Img}
Symbol 123 Bitmap {Classes.RopaMisc_pan23Img}
Symbol 124 Bitmap {Classes.RopaMisc_pan15Img}
Symbol 125 Bitmap {Classes.RopaMisc_falda4Img}
Symbol 126 Bitmap {Classes.RopaChico_migCamisaImg}
Symbol 127 Bitmap {Classes.RopaMisc_zapIzq2Img}
Symbol 128 Bitmap {Classes.RopaMisc_falda8Img}
Symbol 129 Bitmap {Classes.RopaConjuntos_gen1BlusaImg}
Symbol 130 Bitmap {Classes.RopaMisc_swim5Img}
Symbol 131 Bitmap {Classes.RopaConjuntos_dracuAreteIzqImg}
Symbol 132 Bitmap {Classes.RopaMisc_zapDer9Img}
Symbol 133 Bitmap {Classes.RopaConjuntos_angOrejaDerImg}
Symbol 134 Bitmap {Classes.RopaConjuntos_usa4PelucaImg}
Symbol 135 Bitmap {Classes.RopaMisc_falda2Img}
Symbol 136 Bitmap {Classes.RopaConjuntos_usa3FaldaImg}
Symbol 137 Bitmap {Classes.RopaConjuntos_irvZapIzqImg}
Symbol 138 Bitmap {Classes.RopaMisc_falda23Img}
Symbol 139 Bitmap {Classes.RopaConjuntos_gen1MonoIzqImg}
Symbol 140 Bitmap {Classes.RopaMisc_pan3Img}
Symbol 141 Bitmap {Classes.RopaChico_ashZapIzqImg}
Symbol 142 Bitmap {Classes.RopaConjuntos_usa1FaldaImg}
Symbol 143 Bitmap {Classes.RopaConjuntos_usa3CinturonImg}
Symbol 144 Bitmap {Classes.RopaConjuntos_angAdornoCabezaImg}
Symbol 145 Bitmap {Classes.RopaChico_conPlayeraImg}
Symbol 146 Bitmap {Classes.RopaChico_irvCalcetinDerImg}
Symbol 147 Bitmap {FinalDressUpGame_samanthaMouseCursorImg}
Symbol 148 Bitmap {Classes.RopaMisc_pan4Img}
Symbol 149 Bitmap {Classes.RopaConjuntos_FelGabaDelanteImg}
Symbol 150 Bitmap {Classes.RopaMisc_pan18Img}
Symbol 151 Bitmap {Classes.RopaChico_reqPantalonImg}
Symbol 152 Bitmap {Classes.RopaMisc_zapIzq6Img}
Symbol 153 Bitmap {Classes.RopaConjuntos_DawnPulseDerImg}
Symbol 154 Bitmap {Classes.RopaMisc_zapDer6Img}
Symbol 155 Bitmap {Classes.RopaMisc_pan11Img}
Symbol 156 Bitmap {Classes.RopaConjuntos_eleFaldaImg}
Symbol 157 Bitmap {Classes.RopaConjuntos_irvZapDerImg}
Symbol 158 Bitmap {Classes.RopaConjuntos_irvAdorCabezaImg}
Symbol 159 Bitmap {Classes.RopaConjuntos_usa2CinturonImg}
Symbol 160 Bitmap {Classes.RopaConjuntos_kitGuanteDerImg}
Symbol 161 Bitmap {Classes.RopaMisc_mon9Img}
Symbol 162 Bitmap {Classes.RopaMisc_blus16Img}
Symbol 163 Bitmap {Classes.RopaConjuntos_usa1DiademaImg}
Symbol 164 Bitmap {Classes.RopaMisc_zapIzq5Img}
Symbol 165 Bitmap {Classes.RopaMisc_falda24Img}
Symbol 166 Bitmap {Classes.RopaMisc_swim6Img}
Symbol 167 Bitmap {Classes.RopaChico_ashGorraImg}
Symbol 168 Bitmap {Classes.RopaMisc_zapDer4Img}
Symbol 169 Bitmap {Classes.RopaMisc_zapDer10Img}
Symbol 170 Bitmap {Classes.RopaConjuntos_usa1PantyImg}
Symbol 171 Bitmap {Classes.RopaChico_bartCalceIzqImg}
Symbol 172 Bitmap {Classes.DibujaPersonajes_personajesCompletosFourImg}
Symbol 173 Bitmap {Classes.RopaMisc_falda13Img}
Symbol 174 Bitmap {Classes.RopaChico_gakGuanteDerImg}
Symbol 175 Bitmap {Classes.RopaMisc_lig3Img}
Symbol 176 Bitmap {FinalDressUpGame_fadeEffectImg}
Symbol 177 Bitmap {Classes.RopaMisc_falda33Img}
Symbol 178 Bitmap {Classes.RopaConjuntos_usa2AdorCabImg}
Symbol 179 Bitmap {Classes.RopaConjuntos_angOrejaIzqImg}
Symbol 180 Bitmap {Classes.RopaMisc_blus2Img}
Symbol 181 Bitmap {Classes.RopaMisc_pan25Img}
Symbol 182 Bitmap {Classes.RopaMisc_nekoIzq3Img}
Symbol 183 Bitmap {Classes.RopaMisc_blus9Img}
Symbol 184 Bitmap {FinalDressUpGame_fondoFeliciaMeowImg}
Symbol 185 Bitmap {Classes.RopaMisc_pan8Img}
Symbol 186 Bitmap {Classes.RopaConjuntos_angAdornoFaldaImg}
Symbol 187 Bitmap {Classes.DibujaPersonajes_personajesCompletosOneImg}
Symbol 188 Bitmap {Classes.Botones_flechaMoreDerLuzImg}
Symbol 189 Bitmap {Classes.RopaChico_chiCamisaImg}
Symbol 190 Bitmap {Classes.RopaConjuntos_usa1ZapDerImg}
Symbol 191 Bitmap {Classes.RopaMisc_zapDer14Img}
Symbol 192 Bitmap {Classes.RopaChico_ashCalzonImg}
Symbol 193 Bitmap {Classes.RopaMisc_mon6Img}
Symbol 194 Bitmap {Classes.RopaMisc_pan10Img}
Symbol 195 Bitmap {Classes.RopaMisc_pan22Img}
Symbol 196 Bitmap {Classes.RopaConjuntos_irvAdorBlusaImg}
Symbol 197 Bitmap {Classes.RopaConjuntos_usa4PulseIzqImg}
Symbol 198 Bitmap {Classes.RopaChico_evanCintasImg}
Symbol 199 Bitmap {Classes.RopaConjuntos_usa3ZapDerImg}
Symbol 200 Bitmap {FinalDressUpGame_samanthaMouseCursorNaughtyImg}
Symbol 201 Bitmap {Classes.RopaChico_chiZapDerImg}
Symbol 202 Bitmap {Classes.RopaChico_conZapatoIzqImg}
Symbol 203 Bitmap {Classes.RopaMisc_blus6Img}
Symbol 204 Bitmap {Classes.RopaMisc_mon7Img}
Symbol 205 Bitmap {Classes.RopaConjuntos_FelGabaTrazImg}
Symbol 206 Bitmap {Classes.RopaConjuntos_kitColaImg}
Symbol 207 Bitmap {Classes.RopaMisc_zapIzq9Img}
Symbol 208 Bitmap {Classes.RopaMisc_zapDer3Img}
Symbol 209 Bitmap {Classes.RopaMisc_falda29Img}
Symbol 210 Bitmap {Classes.RopaMisc_bunDer3Img}
Symbol 211 Bitmap {Classes.RopaChico_gakZapDerImg}
Symbol 212 Bitmap {Classes.RopaChico_reqCalceDerImg}
Symbol 213 Bitmap {Classes.RopaMisc_blus22Img}
Symbol 214 Bitmap {Classes.RopaChico_evanChalecoImg}
Symbol 215 Bitmap {Classes.RopaConjuntos_FelBlusaImg}
Symbol 216 Bitmap {Classes.Botones_flechaBoyIzqLuzImg}
Symbol 217 Bitmap {Classes.RopaConjuntos_DawnFaldaImg}
Symbol 218 Bitmap {Classes.RopaMisc_pan17Img}
Symbol 219 Bitmap {Classes.RopaConjuntos_usa4FaldaDownImg}
Symbol 220 Bitmap {Classes.RopaMisc_zapIzq3Img}
Symbol 221 Bitmap {Classes.RopaMisc_falda9Img}
Symbol 222 Bitmap {Classes.RopaMisc_zapIzq13Img}
Symbol 223 Bitmap {Classes.RopaChico_reqCalceIzqImg}
Symbol 224 Bitmap {Classes.RopaChico_irvChalecoImg}
Symbol 225 Bitmap {Classes.RopaChico_artZapatoDerImg}
Symbol 226 Bitmap {Classes.RopaMisc_falda16Img}
Symbol 227 Bitmap {Classes.RopaConjuntos_angZapIzqImg}
Symbol 228 Bitmap {Classes.RopaConjuntos_kitBlusaExtImg}
Symbol 229 Bitmap {Classes.RopaConjuntos_usa1CalceDerImg}
Symbol 230 Bitmap {Classes.RopaMisc_falda14Img}
Symbol 231 Bitmap {Classes.RopaMisc_bunIzq3Img}
Symbol 232 Bitmap {Classes.RopaConjuntos_angFaldaFondoImg}
Symbol 233 Bitmap {Classes.RopaConjuntos_usa3MediasImg}
Symbol 234 Bitmap {Classes.RopaChico_capZapatoIzqImg}
Symbol 235 Bitmap {Classes.RopaChico_gakSacoImg}
Symbol 236 Bitmap {Classes.RopaConjuntos_dracuFaldaImg}
Symbol 237 Bitmap {FinalDressUpGame_bannerProducidoPorImg}
Symbol 238 Bitmap {Classes.RopaChico_capZapatoDerImg}
Symbol 239 Bitmap {Classes.RopaMisc_pan1Img}
Symbol 240 Bitmap {Classes.RopaMisc_falda5Img}
Symbol 241 Bitmap {Classes.RopaChico_reqCalzonImg}
Symbol 242 Bitmap {Classes.RopaConjuntos_irvAdorMangaImg}
Symbol 243 Bitmap {Classes.RopaMisc_falda30Img}
Symbol 244 Bitmap {FinalDressUpGame_bannerActivacionImg}
Symbol 245 Bitmap {FinalDressUpGame_rostrosPersonajesImg}
Symbol 246 Bitmap {Classes.RopaMisc_falda25Img}
Symbol 247 Bitmap {Classes.RopaMisc_zapIzq7Img}
Symbol 248 Bitmap {Classes.Botones_flechaGirlIzqImg}
Symbol 249 Bitmap {Classes.RopaMisc_zapIzq1Img}
Symbol 250 Bitmap {Classes.RopaMisc_zapDer12Img}
Symbol 251 Bitmap {Classes.RopaMisc_zapIzq8Img}
Symbol 252 Bitmap {Classes.RopaMisc_mon2Img}
Symbol 253 Bitmap {Classes.RopaConjuntos_gen1CalceDerImg}
Symbol 254 Bitmap {Classes.RopaChico_irvCamisaImg}
Symbol 255 Bitmap {Classes.RopaConjuntos_usa4BlusaImg}
Symbol 256 Bitmap {Classes.Botones_flechaMoreIzqLuzImg}
Symbol 257 Bitmap {Classes.RopaChico_evanVendaIzq}
Symbol 258 Bitmap {Classes.RopaChico_capTrajeImg}
Symbol 259 Bitmap {Classes.RopaConjuntos_eleCalceIzqImg}
Symbol 260 Bitmap {Classes.RopaConjuntos_DawnPulseIzqImg}
Symbol 261 Bitmap {Classes.RopaChico_irvCalcetinIzqImg}
Symbol 262 Bitmap {Classes.RopaConjuntos_kitBlusaIntImg}
Symbol 263 Bitmap {Classes.RopaChico_evanVendasPetoImg}
Symbol 264 Bitmap {Classes.RopaConjuntos_elePantyImg}
Symbol 265 Bitmap {Classes.RopaConjuntos_gen1PantyImg}
Symbol 266 Bitmap {Classes.RopaChico_emiPantalonImg}
Symbol 267 Bitmap {Classes.RopaMisc_blus10Img}
Symbol 268 Bitmap {Classes.RopaMisc_falda1Img}
Symbol 269 Bitmap {FinalDressUpGame_samanthaTitleImg}
Symbol 270 Bitmap {Classes.RopaMisc_blus25Img}
Symbol 271 Bitmap {Classes.RopaConjuntos_gen1ZapIzqImg}
Symbol 272 Bitmap {Classes.RopaConjuntos_usa3AdorCintImg}
Symbol 273 Bitmap {Classes.RopaMisc_blus24Img}
Symbol 274 Bitmap {Classes.RopaConjuntos_usa1PulseraImg}
Symbol 275 Bitmap {Classes.RopaConjuntos_angFaldaImg}
Symbol 276 Bitmap {FinalDressUpGame_bigCharactersImgFour}
Symbol 277 Bitmap {Classes.RopaChico_evanCalzonImg}
Symbol 278 Bitmap {Classes.RopaConjuntos_dracuBotaDerImg}
Symbol 279 Bitmap {Classes.RopaMisc_nekoIzq2Img}
Symbol 280 Bitmap {Classes.RopaChico_bartCalceDerImg}
Symbol 281 Bitmap {Classes.RopaMisc_mon3Img}
Symbol 282 Bitmap {Classes.RopaConjuntos_FelBotaIzqImg}
Symbol 283 Bitmap {Classes.RopaChico_emiZapatoIzqImg}
Symbol 284 Bitmap {Classes.RopaMisc_pan14Img}
Symbol 285 Bitmap {Classes.RopaChico_capBigoteImg}
Symbol 286 Bitmap {Classes.RopaChico_capCinturonImg}
Symbol 287 Bitmap {Classes.RopaMisc_falda15Img}
Symbol 288 Bitmap {Classes.RopaMisc_bunDer1Img}
Symbol 289 Bitmap {Classes.RopaMisc_falda11Img}
Symbol 290 Bitmap {Classes.RopaChico_ashGuanteIzqImg}
Symbol 291 Bitmap {Classes.RopaConjuntos_gen2ZapDerImg}
Symbol 292 Bitmap {Classes.RopaMisc_lig4Img}
Symbol 293 Bitmap {Classes.RopaChico_chiCalzonImg}
Symbol 294 Bitmap {Classes.RopaConjuntos_eleCalceDerImg}
Symbol 295 Bitmap {Classes.RopaMisc_falda32Img}
Symbol 296 Bitmap {Classes.RopaChico_gakCalzonImg}
Symbol 297 Bitmap {Classes.RopaMisc_falda7Img}
Symbol 298 Bitmap {Classes.RopaMisc_zapIzq15Img}
Symbol 299 Bitmap {Classes.RopaConjuntos_kitOreIzqImg}
Symbol 300 Bitmap {Classes.RopaConjuntos_DawnBotaDerImg}
Symbol 301 Bitmap {Classes.RopaChico_evanVendaDer}
Symbol 302 Bitmap {Classes.RopaConjuntos_FelFlorImg}
Symbol 303 Bitmap {Classes.RopaConjuntos_gen1CuelloImg}
Symbol 304 Bitmap {Classes.RopaChico_ashCalceIzqImg}
Symbol 305 Bitmap {Classes.RopaChico_artCamisaImg}
Symbol 306 Bitmap {Classes.RopaChico_bartZapDerImg}
Symbol 307 Bitmap {FinalDressUpGame_fondoMangaMexImg}
Symbol 308 Bitmap {Classes.RopaMisc_zapIzq12Img}
Symbol 309 Bitmap {Classes.RopaMisc_falda27Img}
Symbol 310 Bitmap {Classes.RopaConjuntos_gen1TiranteDerImg}
Symbol 311 Bitmap {Classes.RopaChico_ashZapDerImg}
Symbol 312 Bitmap {Classes.RopaMisc_falda20Img}
Symbol 313 Bitmap {Classes.Botones_flechaBoyDerLuzImg}
Symbol 314 Bitmap {Classes.RopaMisc_diap2FoldImg}
Symbol 315 Bitmap {Classes.RopaMisc_blus5Img}
Symbol 316 Bitmap {Classes.RopaConjuntos_gen2ZapIzqImg}
Symbol 317 Bitmap {Classes.RopaMisc_nekoIzq1Img}
Symbol 318 Bitmap {Classes.RopaConjuntos_dracuCuelloImg}
Symbol 319 Bitmap {Classes.RopaConjuntos_eleZapIzqImg}
Symbol 320 Bitmap {Classes.RopaMisc_zapDer8Img}
Symbol 321 Bitmap {Classes.RopaMisc_zapDer7Img}
Symbol 322 Bitmap {Classes.RopaMisc_pan24Img}
Symbol 323 Bitmap {Classes.RopaMisc_diap2UnfoldImg}
Symbol 324 Bitmap {Classes.RopaConjuntos_dracuAreteDerImg}
Symbol 325 Bitmap {Classes.RopaChico_emiAlaIzqImg}
Symbol 326 Bitmap {Classes.RopaChico_irvZapatoIzqImg}
Symbol 327 Bitmap {Classes.RopaMisc_blus8Img}
Symbol 328 Bitmap {Classes.RopaConjuntos_angLeotardoImg}
Symbol 329 Bitmap {Classes.RopaChico_capGuanteDerImg}
Symbol 330 Bitmap {Classes.RopaConjuntos_dracuBlusaExtImg}
Symbol 331 Bitmap {Classes.RopaMisc_blus19Img}
Symbol 332 Bitmap {Classes.RopaConjuntos_gen1MonoDerImg}
Symbol 333 Bitmap {Classes.RopaMisc_falda6Img}
Symbol 334 Bitmap {Classes.RopaMisc_blus11Img}
Symbol 335 Bitmap {FinalDressUpGame_bigCharactersImgThree}
Symbol 336 Bitmap {Classes.RopaChico_conZapatoDerImg}
Symbol 337 Bitmap {Classes.RopaMisc_blus12Img}
Symbol 338 Bitmap {Classes.RopaChico_evanZapDerImg}
Symbol 339 Bitmap {Classes.RopaMisc_pan26Img}
Symbol 340 Bitmap {Classes.RopaMisc_falda12Img}
Symbol 341 Bitmap {Classes.RopaChico_conGuanteDerImg}
Symbol 342 Bitmap {Classes.RopaChico_artLentesImg}
Symbol 343 Bitmap {Classes.RopaConjuntos_dracuBotaIzqImg}
Symbol 344 Bitmap {Classes.RopaChico_migMediasImg}
Symbol 345 Bitmap {Classes.RopaConjuntos_gen1MonoCuelloImg}
Symbol 346 Bitmap {Classes.RopaMisc_bunIzq4Img}
Symbol 347 Bitmap {Classes.RopaConjuntos_gen1TiranteIzqImg}
Symbol 348 Bitmap {Classes.RopaChico_artCalzonImg}
Symbol 349 Bitmap {Classes.Botones_flechaGirlIzqLuzImg}
Symbol 350 Bitmap {Classes.Botones_botonAZLuzImg}
Symbol 351 Bitmap {Classes.RopaConjuntos_usa2PelucaImg}
Symbol 352 Bitmap {Classes.RopaMisc_bunDer2Img}
Symbol 353 Bitmap {Classes.Botones_flechaMoreDerImg}
Symbol 354 Bitmap {Classes.RopaMisc_nekoDer2Img}
Symbol 355 Bitmap {Classes.RopaMisc_blus3Img}
Symbol 356 Bitmap {Classes.RopaMisc_zapDer2Img}
Symbol 357 Bitmap {Classes.RopaConjuntos_usa3BlusaImg}
Symbol 358 Bitmap {Classes.RopaMisc_pan16Img}
Symbol 359 Bitmap {Classes.RopaConjuntos_usa2BolsoImg}
Symbol 360 Bitmap {Classes.RopaConjuntos_usa3LentesImg}
Symbol 361 Bitmap {Classes.RopaConjuntos_eleChalecoImg}
Symbol 362 Bitmap {Classes.RopaConjuntos_usa3ZapIzqImg}
Symbol 363 Bitmap {Classes.RopaConjuntos_usa4AdorCabImg}
Symbol 364 Bitmap {Classes.RopaChico_chiCalceIzqImg}
Symbol 365 Bitmap {Classes.Botones_flechaBoyDerImg}
Symbol 366 Bitmap {Classes.RopaConjuntos_usa2ZapIzqImg}
Symbol 367 Bitmap {Classes.RopaChico_gakGuanteIzqImg}
Symbol 368 Bitmap {Classes.RopaConjuntos_gen2PantyImg}
Symbol 369 Bitmap {Classes.RopaConjuntos_dracuMediasImg}
Symbol 370 Bitmap {Classes.Botones_flechaGirlDerLuzImg}
Symbol 371 Bitmap {FinalDressUpGame_samanthaBigImg}
Symbol 372 Bitmap {Classes.RopaMisc_nekoDer1Img}
Symbol 373 Bitmap {Classes.RopaConjuntos_dracuMangaIzqImg}
Symbol 374 Bitmap {Classes.RopaChico_migBarbaImg}
Symbol 375 Bitmap {Classes.RopaChico_ashChamImg}
Symbol 376 Bitmap {FinalDressUpGame_botonesPersonajesImg}
Symbol 377 Bitmap {FinalDressUpGame_letreroGoImg}
Symbol 378 Bitmap {Classes.RopaMisc_pan21Img}
Symbol 379 Bitmap {Classes.RopaMisc_diap1UnfoldImg}
Symbol 380 Bitmap {Classes.RopaMisc_pan5Img}
Symbol 381 Bitmap {Classes.RopaChico_bartCalzonImg}
Symbol 382 Bitmap {Classes.RopaChico_ashGuanteDerImg}
Symbol 383 Bitmap {Classes.RopaConjuntos_FelPelucaTrazImg}
Symbol 384 Bitmap {Classes.RopaMisc_zapIzq14Img}
Symbol 385 Bitmap {Classes.RopaConjuntos_irvFaldaImg}
Symbol 386 Bitmap {Classes.RopaChico_capCapaImg}
Symbol 387 Bitmap {Classes.RopaConjuntos_eleCorbataImg}
Symbol 388 Bitmap {Classes.RopaMisc_mon1Img}
Symbol 389 Bitmap {Classes.Botones_botonImanImg}
Symbol 390 Bitmap {Classes.RopaConjuntos_kitOreDerImg}
Symbol 391 Bitmap {Classes.RopaMisc_falda18Img}
Symbol 392 Bitmap {FinalDressUpGame_letreroReadyImg}
Symbol 393 Bitmap {Classes.RopaMisc_mon4Img}
Symbol 394 Bitmap {Classes.RopaMisc_falda34Img}
Symbol 395 Bitmap {Classes.RopaConjuntos_kitGuanteIzqImg}
Symbol 396 Bitmap {Classes.RopaConjuntos_angZapDerImg}
Symbol 397 Bitmap {Classes.RopaConjuntos_gen1FlorTiranteIImg}
Symbol 398 Bitmap {FinalDressUpGame_bigCharactersImgTwo}
Symbol 399 Bitmap {Classes.RopaConjuntos_usa2FaldaImg}
Symbol 400 Bitmap {Classes.RopaMisc_pan2Img}
Symbol 401 Bitmap {Classes.RopaConjuntos_kitBotaIzqImg}
Symbol 402 Bitmap {Classes.RopaMisc_mon8Img}
Symbol 403 Bitmap {Classes.RopaMisc_falda35Img}
Symbol 404 Bitmap {Classes.RopaConjuntos_irvBlusaImg}
Symbol 405 Bitmap {Classes.RopaConjuntos_FelPantyImg}
Symbol 406 Bitmap {Classes.RopaMisc_zapDer15Img}
Symbol 407 Bitmap {Classes.RopaChico_migPantalonImg}
Symbol 408 Bitmap {Classes.RopaConjuntos_irvCollarImg}
Symbol 409 Bitmap {Classes.RopaMisc_falda19Img}
Symbol 410 Bitmap {Classes.RopaConjuntos_FelFaldaImg}
Symbol 411 Bitmap {Classes.RopaChico_emiAlaDerImg}
Symbol 412 Bitmap {Classes.RopaChico_emiLeotardoImg}
Symbol 413 Bitmap {Classes.RopaConjuntos_usa2PulseraImg}
Symbol 414 Bitmap {Classes.RopaConjuntos_DawnGorroImg}
Symbol 415 Bitmap {Classes.RopaMisc_zapDer5Img}
Symbol 416 Bitmap {Classes.RopaMisc_zapDer1Img}
Symbol 417 Bitmap {Classes.RopaConjuntos_irvBowPechoImg}
Symbol 418 Bitmap {Classes.RopaMisc_bunIzq1Img}
Symbol 419 Bitmap {Classes.RopaMisc_falda3Img}
Symbol 420 Bitmap {Classes.RopaChico_evanZapIzqImg}
Symbol 421 Bitmap {Classes.RopaChico_gakCalceIzqImg}
Symbol 422 Bitmap {Classes.RopaConjuntos_DawnBotaIzqImg}
Symbol 423 Bitmap {Classes.Botones_botonAZImg}
Symbol 424 Bitmap {Classes.RopaConjuntos_usa2PantyImg}
Symbol 425 Bitmap {Classes.RopaConjuntos_FelPelucaDelanteImg}
Symbol 426 Bitmap {Classes.RopaChico_irvCalzonImg}
Symbol 427 Bitmap {Classes.RopaChico_irvPantalonImg}
Symbol 428 Bitmap {Classes.RopaConjuntos_usa4ZapIzqImg}
Symbol 429 Bitmap {Classes.RopaConjuntos_eleColaDerImg}
Symbol 430 Bitmap {Classes.RopaMisc_zapIzq11Img}
Symbol 431 Bitmap {Classes.RopaChico_ashPantalonImg}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1457 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 2Symbol 3 as "FinalDressUpGame_optionSelectedSnd"
ExportAssets (56)Timeline Frame 2Symbol 4 as "FinalDressUpGame_optionsInSnd"
ExportAssets (56)Timeline Frame 2Symbol 6 as "mx.skins.cursor.BusyCursor"
SerialNumber (41)Timeline Frame 1

Labels

"_FinalDressUpGame_mx_managers_SystemManager"Frame 1
"FinalDressUpGame"Frame 2




http://swfchan.com/29/143553/info.shtml
Created: 27/10 -2018 08:55:59 Last modified: 27/10 -2018 08:55:59 Server time: 22/12 -2024 02:19:54