Section 1
//UploadCompleteEvent (com.djw.events.io.UploadCompleteEvent)
package com.djw.events.io {
import flash.events.*;
public class UploadCompleteEvent extends Event {
public function UploadCompleteEvent(){
super("uploadCompleteEvent", true);
}
}
}//package com.djw.events.io
Section 2
//UploadFailedEvent (com.djw.events.io.UploadFailedEvent)
package com.djw.events.io {
import flash.events.*;
public class UploadFailedEvent extends Event {
public function UploadFailedEvent(){
super("uploadFailedEvent", true);
}
}
}//package com.djw.events.io
Section 3
//Blob (com.fx.Blob)
package com.fx {
import flash.display.*;
import flash.events.*;
public class Blob extends Sprite {
private var amplitude:Number;
private var speed:Number;
private var attenuation:Number;
private var t:Number;
private var oldScaleX:Number;
private var mc:Object;
private var oldScaleY:Number;
public function Blob(_arg1:Object):void{
mc = _arg1;
oldScaleX = mc.scaleX;
oldScaleY = mc.scaleY;
mc.addChild(this);
}
private function removed(_arg1:Event):void{
stop();
}
public function initScale():void{
oldScaleX = mc.scaleX;
oldScaleY = mc.scaleY;
}
public function start(_arg1:Number=0.5, _arg2:Number=0.2, _arg3:Number=0.92):void{
mc.scaleX = mc.blobOldScaleX;
mc.scaleY = mc.blobOldScaleY;
speed = _arg1;
amplitude = _arg2;
attenuation = _arg3;
t = 0;
addEventListener(Event.ENTER_FRAME, enterFrame);
mc.addEventListener(Event.REMOVED_FROM_STAGE, removed);
}
public function stop():void{
mc.scaleX = oldScaleX;
mc.scaleY = oldScaleY;
removeEventListener(Event.ENTER_FRAME, enterFrame);
mc.removeEventListener(Event.REMOVED_FROM_STAGE, removed);
}
private function enterFrame(_arg1:Event):void{
if (amplitude < 0.01){
stop();
} else {
mc.scaleX = (oldScaleX + (Math.cos(t) * amplitude));
mc.scaleY = (oldScaleY - (Math.sin(t) * amplitude));
t = (t + speed);
amplitude = (amplitude * attenuation);
};
}
}
}//package com.fx
Section 4
//Particles (com.fx.Particles)
package com.fx {
import flash.display.*;
import flash.events.*;
public class Particles extends Sprite {
public var slowDown:Number;// = 1
public var particle:Class;
public var velocityMax:Number;// = 10
public var activated:Boolean;// = false
public var angle:Number;// = 360
private var time:Number;// = 0
public var gravity:Number;// = 0.1
public var direction:Number;// = 0
public var frequency:uint;// = 1
public var rotationSpeed:Number;// = 0
public var nbPerFrame:uint;// = 1
public var lifeTime:uint;// = 1000
public var totalTime:uint;// = 0
public var fadeOut:Number;// = 1
public var randomize:Number;// = 0.5
public static var paused:Boolean = false;
public static var speed:Number = 1;
public function Particles(_arg1:Class=null):void{
particle = _arg1;
addEventListener(Event.REMOVED_FROM_STAGE, removed);
}
public function stop():void{
activated = false;
removeEventListener(Event.ENTER_FRAME, enterFrame);
}
public function start():void{
if (MovieClip(parent) == null){
return;
};
addEventListener(Event.ENTER_FRAME, enterFrame);
activated = true;
reset();
}
public function init(_arg1:Class):void{
particle = _arg1;
}
public function reset():void{
while (numChildren) {
removeChildAt(0);
};
time = 0;
activated = false;
}
private function removedParticle(_arg1:Event):void{
_arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, moveParticle);
_arg1.currentTarget.removeEventListener(Event.REMOVED_FROM_STAGE, removedParticle);
}
private function removed(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, enterFrame);
removeEventListener(Event.REMOVED_FROM_STAGE, removed);
}
private function enterFrame(_arg1:Event):void{
var _local2:int;
var _local3:*;
var _local4:Number;
if (paused){
return;
};
if ((time % frequency) == 0){
_local2 = 0;
while (_local2 < nbPerFrame) {
_local3 = new particle();
_local3.addEventListener(Event.ENTER_FRAME, moveParticle);
_local3.addEventListener(Event.REMOVED_FROM_STAGE, removedParticle);
_local3.velocity = ((velocityMax * (1 - randomize)) + ((Math.random() * velocityMax) * randomize));
_local3.time = 0;
_local4 = ((direction - (angle / 2)) + (Math.random() * angle));
_local3.vectorX = Math.cos(((_local4 * Math.PI) / 180));
_local3.vectorY = Math.sin(((_local4 * Math.PI) / 180));
_local3.rotationSpeed = (Math.random() * rotationSpeed);
if (rotationSpeed > 0){
_local3.rotation = (Math.random() * 360);
};
addChild(_local3);
_local2++;
};
};
time = (time + (1 * Particles.speed));
if ((((time >= ((totalTime / 1000) * stage.frameRate))) && (!((totalTime == 0))))){
removeEventListener(Event.ENTER_FRAME, enterFrame);
};
}
private function moveParticle(_arg1:Event):void{
if (paused){
return;
};
var _local2:* = _arg1.currentTarget;
_local2.x = (_local2.x + ((_local2.velocity * _local2.vectorX) * Particles.speed));
_local2.y = (_local2.y + ((_local2.velocity * _local2.vectorY) * Particles.speed));
_local2.alpha = (_local2.alpha * (fadeOut * Particles.speed));
_local2.velocity = (_local2.velocity * (slowDown * Particles.speed));
if (_local2.time >= ((lifeTime / 1000) * stage.frameRate)){
removeChild(_local2);
};
_local2.vectorY = (_local2.vectorY + (gravity * Particles.speed));
_local2.time = (_local2.time + (1 * Particles.speed));
_local2.rotation = (_local2.rotation + (rotationSpeed * Particles.speed));
}
}
}//package com.fx
Section 5
//Typewriter (com.fx.Typewriter)
package com.fx {
import flash.text.*;
import flash.utils.*;
public class Typewriter {
private var tempText:String;// = ""
public var delay:int;// = 20
private var i:int;// = 0
public var textField:TextField;
private var intervalTypewriter:uint;// = 0
public var text:String;// = ""
public function Typewriter(_arg1:TextField, _arg2:String, _arg3:int=20):void{
textField = _arg1;
text = _arg2;
delay = _arg3;
}
public function reset():void{
textField.text = "";
}
public function start():void{
tempText = textField.text;
i = 0;
intervalTypewriter = setInterval(write, delay);
write();
}
public function stop():void{
clearInterval(intervalTypewriter);
}
private function write():void{
if (text.charAt(i) == "<"){
while (((!((text.charAt(i) == ">"))) && ((i < text.length)))) {
tempText = (tempText + text.charAt(i));
i++;
};
};
tempText = (tempText + text.charAt(i));
textField.htmlText = tempText;
i++;
if (text.length == i){
stop();
};
}
}
}//package com.fx
Section 6
//Butterfly (com.games.Butterfly)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
import flash.ui.*;
public class Butterfly extends Game {
private var size:uint;// = 80
public var pt:MovieClip;
private var cornerRadius:uint;// = 9
private var borderSize:uint;// = 0
private var gravity:Number;// = 0.3
private var justWin:Boolean;// = false
public var mc:MovieClip;
private var borderColor:uint;// = 0xCCCCCC
private var gutter:uint;// = 5
private var speedMax:Number;// = 5
private var distMax:int;// = 100
private var bgColor:uint;// = 0xCCCCCC
public var book:MovieClip;
private var butterfly:MyMovieClip;
public var tip_05:Tip;
public var filet:MovieClip;
private function drawFilet():void{
var _local1:Point = Point.interpolate(new Point(pt.x, pt.y), new Point(filet.x, filet.y), 0.8);
var _local2:Point = new Point(0, 100);
var _local3:Point = filet.localToGlobal(_local2);
var _local4:Point = Point.interpolate(new Point(pt.x, pt.y), new Point(_local3.x, _local3.y), 0.8);
mc.graphics.clear();
mc.graphics.beginFill(bgColor);
mc.graphics.lineStyle(borderSize, borderColor);
mc.graphics.moveTo(filet.x, filet.y);
mc.graphics.curveTo(_local1.x, (_local1.y - (Math.abs((pt.speedX * 3)) + 10)), pt.x, pt.y);
mc.graphics.curveTo(_local4.x, (_local4.y + (Math.abs((pt.speedX * 3)) + 10)), _local3.x, _local3.y);
if (butterfly){
if (filet.trap.hitTestPoint(butterfly.b.x, butterfly.b.y, true)){
butterfly.stop();
clearTimeout(main.toPatient);
justWin = true;
win();
};
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
clearTimeout(main.toPatient);
pt.speedX = 0;
pt.speedY = 0;
filet.addEventListener(Event.ENTER_FRAME, enterFrame, false, 1);
stage.addEventListener(MouseEvent.MOUSE_MOVE, followMouse, false, 2);
addChildAt(mc, 0);
if (main.butterfly){
addChildAt(main.butterfly, 0);
butterfly = main.butterfly;
main.butterfly = null;
};
addChildAt(book, 0);
mc.addChild(filet);
mc.alpha = 0.8;
followMouse();
Mouse.hide();
}
override public function stopGame():void{
clearTimeout(main.toPatient);
if (!justWin){
main.bePatient();
};
if (main.butterfly){
main.butterfly.remove();
};
if (butterfly){
butterfly.remove();
};
super.stopGame();
filet.removeEventListener(Event.ENTER_FRAME, enterFrame);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, followMouse);
}
private function followMouse(_arg1:MouseEvent=null):void{
filet.x = mouseX;
filet.y = mouseY;
if (_arg1){
_arg1.updateAfterEvent();
};
drawFilet();
}
private function enterFrame(_arg1:Event):void{
var _local5:*;
var _local6:*;
var _local2:Number = (mouseX - pt.x);
var _local3:Number = (mouseY - pt.y);
var _local4:Number = Math.sqrt((Math.pow(_local2, 2) + Math.pow(_local3, 2)));
if (_local4 > distMax){
_local5 = Math.atan2(_local3, _local2);
_local6 = ((_local4 - distMax) / 10);
pt.speedX = (pt.speedX + (_local6 * Math.cos(_local5)));
pt.speedY = (pt.speedY + (_local6 * Math.sin(_local5)));
pt.x = (mouseX - (distMax * Math.cos(_local5)));
pt.y = (mouseY - (distMax * Math.sin(_local5)));
};
if (pt.speedX > speedMax){
pt.speedX = speedMax;
};
if (pt.speedY > speedMax){
pt.speedY = speedMax;
};
pt.speedY = (pt.speedY + gravity);
pt.x = (pt.x + pt.speedX);
pt.y = (pt.y + pt.speedY);
pt.speedX = (pt.speedX * 0.99);
pt.speedY = (pt.speedY * 0.9);
filet.rotation = (((filet.x - 250) / 250) * 30);
drawFilet();
}
}
}//package com.games
Section 7
//Candle2 (com.games.Candle2)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
import flash.system.*;
public class Candle2 extends Game {
public var tip_06:Tip;
private var iCookie:int;// = 0
public var __setPropDict:Dictionary;
public var inputPassword:TextInput;
private var pwdEn:String;// = "apple"
public var txtPassword:TextField;
public var paper:MovieClip;
public var txtComment:TextField;
private var so:Object;
public var btSubmit:Button;
private var cookieName:String;// = "take_something_literally"
private var pwd:String;// = ""
private var idCookie:int;// = 0
public function Candle2(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(708, frame709, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 70, frame71, 71, frame72, 72, frame73, 73, frame74, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100, 100, frame101, 101, frame102, 102, frame103, 103, frame104, 104, frame105, 105, frame106, 106, frame107, 107, frame108, 108, frame109, 109, frame110, 110, frame111, 111, frame112, 112, frame113, 113, frame114, 114, frame115, 115, frame116, 116, frame117, 117, frame118, 118, frame119, 119, frame120, 120, frame121, 121, frame122, 122, frame123, 123, frame124, 124, frame125, 125, frame126, 126, frame127, 127, frame128, 128, frame129, 129, frame130, 130, frame131, 131, frame132, 132, frame133, 133, frame134, 134, frame135, 135, frame136, 136, frame137, 137, frame138, 138, frame139, 139, frame140, 140, frame141, 141, frame142, 142, frame143, 143, frame144, 144, frame145, 145, frame146, 146, frame147, 147, frame148, 148, frame149, 149, frame150, 150, frame151, 151, frame152, 152, frame153, 153, frame154, 154, frame155, 155, frame156, 156, frame157, 157, frame158, 158, frame159, 159, frame160, 160, frame161, 161, frame162, 162, frame163, 163, frame164, 164, frame165, 165, frame166, 166, frame167, 167, frame168, 168, frame169, 169, frame170, 170, frame171, 171, frame172, 172, frame173, 173, frame174, 174, frame175, 175, frame176, 176, frame177, 177, frame178, 178, frame179, 179, frame180, 180, frame181, 181, frame182, 182, frame183, 183, frame184, 184, frame185, 185, frame186, 186, frame187, 187, frame188, 188, frame189, 189, frame190, 190, frame191, 191, frame192, 192, frame193, 193, frame194, 194, frame195, 195, frame196, 196, frame197, 197, frame198, 198, frame199, 199, frame200, 200, frame201, 201, frame202, 202, frame203, 203, frame204, 204, frame205, 205, frame206, 206, frame207, 207, frame208, 208, frame209, 209, frame210, 210, frame211, 211, frame212, 212, frame213, 213, frame214, 214, frame215, 215, frame216, 216, frame217, 217, frame218, 218, frame219, 219, frame220, 220, frame221, 221, frame222, 222, frame223, 223, frame224, 224, frame225, 225, frame226, 226, frame227, 227, frame228, 228, frame229, 229, frame230, 230, frame231, 231, frame232, 232, frame233, 233, frame234, 234, frame235, 235, frame236, 236, frame237, 237, frame238, 238, frame239, 239, frame240, 240, frame241, 241, frame242, 242, frame243, 243, frame244, 244, frame245, 245, frame246, 246, frame247, 247, frame248, 248, frame249, 249, frame250, 250, frame251, 251, frame252, 252, frame253, 253, frame254, 254, frame255, 0xFF, frame256, 0x0100, frame257, 0x0101, frame258, 258, frame259, 259, frame260, 260, frame261, 261, frame262, 262, frame263, 263, frame264, 264, frame265, 265, frame266, 266, frame267, 267, frame268, 268, frame269, 269, frame270, 270, frame271, 271, frame272, 272, frame273, 273, frame274, 274, frame275, 275, frame276, 276, frame277, 277, frame278, 278, frame279, 279, frame280, 280, frame281, 281, frame282, 282, frame283, 283, frame284, 284, frame285, 285, frame286, 286, frame287, 287, frame288, 288, frame289, 289, frame290, 290, frame291, 291, frame292, 292, frame293, 293, frame294, 294, frame295, 295, frame296, 296, frame297, 297, frame298, 298, frame299, 299, frame300, 300, frame301, 301, frame302, 302, frame303, 303, frame304, 304, frame305, 305, frame306, 306, frame307, 307, frame308, 308, frame309, 309, frame310, 310, frame311, 311, frame312, 312, frame313, 313, frame314, 314, frame315, 315, frame316, 316, frame317, 317, frame318, 318, frame319, 319, frame320, 320, frame321, 321, frame322, 322, frame323, 323, frame324, 324, frame325, 325, frame326, 326, frame327, 327, frame328, 328, frame329, 329, frame330, 330, frame331, 331, frame332, 332, frame333, 333, frame334, 334, frame335, 335, frame336, 336, frame337, 337, frame338, 338, frame339, 339, frame340, 340, frame341, 341, frame342, 342, frame343, 343, frame344, 344, frame345, 345, frame346, 346, frame347, 347, frame348, 348, frame349, 349, frame350, 350, frame351, 351, frame352, 352, frame353, 353, frame354, 354, frame355, 355, frame356, 356, frame357, 357, frame358, 358, frame359, 359, frame360, 360, frame361, 361, frame362, 362, frame363, 363, frame364, 364, frame365, 365, frame366, 366, frame367, 367, frame368, 368, frame369, 369, frame370, 370, frame371, 371, frame372, 372, frame373, 373, frame374, 374, frame375, 375, frame376, 376, frame377, 377, frame378, 378, frame379, 379, frame380, 380, frame381, 381, frame382, 382, frame383, 383, frame384, 384, frame385, 385, frame386, 386, frame387, 387, frame388, 388, frame389, 389, frame390, 390, frame391, 391, frame392, 392, frame393, 393, frame394, 394, frame395, 395, frame396, 396, frame397, 397, frame398, 398, frame399, 399, frame400, 400, frame401, 401, frame402, 402, frame403, 403, frame404, 404, frame405, 405, frame406, 406, frame407, 407, frame408, 408, frame409, 409, frame410, 410, frame411, 411, frame412, 412, frame413, 413, frame414, 414, frame415, 415, frame416, 416, frame417, 417, frame418, 418, frame419, 419, frame420, 420, frame421, 421, frame422, 422, frame423, 423, frame424, 424, frame425, 425, frame426, 426, frame427, 427, frame428, 428, frame429, 429, frame430, 430, frame431, 431, frame432, 432, frame433, 433, frame434, 434, frame435, 435, frame436, 436, frame437, 437, frame438, 438, frame439, 439, frame440, 440, frame441, 441, frame442, 442, frame443, 443, frame444, 444, frame445, 445, frame446, 446, frame447, 447, frame448, 448, frame449, 449, frame450, 450, frame451, 451, frame452, 452, frame453, 453, frame454, 454, frame455, 455, frame456, 456, frame457, 457, frame458, 458, frame459, 459, frame460, 460, frame461, 461, frame462, 462, frame463, 463, frame464, 464, frame465, 465, frame466, 466, frame467, 467, frame468, 468, frame469, 469, frame470, 470, frame471, 471, frame472, 472, frame473, 473, frame474, 474, frame475, 475, frame476, 476, frame477, 477, frame478, 478, frame479, 479, frame480, 480, frame481, 481, frame482, 482, frame483, 483, frame484, 484, frame485, 485, frame486, 486, frame487, 487, frame488, 488, frame489, 489, frame490, 490, frame491, 491, frame492, 492, frame493, 493, frame494, 494, frame495, 495, frame496, 496, frame497, 497, frame498, 498, frame499, 499, frame500, 500, frame501, 501, frame502, 502, frame503, 503, frame504, 504, frame505, 505, frame506, 506, frame507, 507, frame508, 508, frame509, 509, frame510, 510, frame511, 511, frame512, 0x0200, frame513, 513, frame514, 0x0202, frame515, 515, frame516, 516, frame517, 517, frame518, 518, frame519, 519, frame520, 520, frame521, 521, frame522, 522, frame523, 523, frame524, 524, frame525, 525, frame526, 526, frame527, 527, frame528, 528, frame529, 529, frame530, 530, frame531, 531, frame532, 532, frame533, 533, frame534, 534, frame535, 535, frame536, 536, frame537, 537, frame538, 538, frame539, 539, frame540, 540, frame541, 541, frame542, 542, frame543, 543, frame544, 544, frame545, 545, frame546, 546, frame547, 547, frame548, 548, frame549, 549, frame550, 550, frame551, 551, frame552, 552, frame553, 553, frame554, 554, frame555, 555, frame556, 556, frame557, 557, frame558, 558, frame559, 559, frame560, 560, frame561, 561, frame562, 562, frame563, 563, frame564, 564, frame565, 565, frame566, 566, frame567, 567, frame568, 568, frame569, 569, frame570, 570, frame571, 571, frame572, 572, frame573, 573, frame574, 574, frame575, 575, frame576, 576, frame577, 577, frame578, 578, frame579, 579, frame580, 580, frame581, 581, frame582, 582, frame583, 583, frame584, 584, frame585, 585, frame586, 586, frame587, 587, frame588, 588, frame589, 589, frame590, 590, frame591, 591, frame592, 592, frame593, 593, frame594, 594, frame595, 595, frame596, 596, frame597, 597, frame598, 598, frame599, 599, frame600, 600, frame601, 601, frame602, 602, frame603, 603, frame604, 604, frame605, 605, frame606, 606, frame607, 607, frame608, 608, frame609, 609, frame610, 610, frame611, 611, frame612, 612, frame613, 613, frame614, 614, frame615, 615, frame616, 616, frame617, 617, frame618, 618, frame619, 619, frame620, 620, frame621, 621, frame622, 622, frame623, 623, frame624, 624, frame625, 625, frame626, 626, frame627, 627, frame628, 628, frame629, 629, frame630, 630, frame631, 631, frame632, 632, frame633, 633, frame634, 634, frame635, 635, frame636, 636, frame637, 637, frame638, 638, frame639, 639, frame640, 640, frame641, 641, frame642, 642, frame643, 643, frame644, 644, frame645, 645, frame646, 646, frame647, 647, frame648, 648, frame649, 649, frame650, 650, frame651, 651, frame652, 652, frame653, 653, frame654, 654, frame655, 655, frame656, 656, frame657, 657, frame658, 658, frame659, 659, frame660, 660, frame661, 661, frame662, 662, frame663, 663, frame664, 664, frame665, 665, frame666, 666, frame667, 667, frame668, 668, frame669, 669, frame670, 670, frame671, 671, frame672, 672, frame673, 673, frame674, 674, frame675, 675, frame676, 676, frame677, 677, frame678, 678, frame679, 679, frame680, 680, frame681, 681, frame682, 682, frame683, 683, frame684, 684, frame685, 685, frame686, 686, frame687, 687, frame688, 688, frame689, 689, frame690, 690, frame691, 691, frame692, 692, frame693, 693, frame694, 694, frame695, 695, frame696, 696, frame697, 697, frame698, 698, frame699, 699, frame700, 700, frame701, 701, frame702, 702, frame703, 703, frame704, 704, frame705, 705, frame706, 706, frame707, 707, frame708);
}
function frame600(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame602(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame603(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame605(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame606(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame607(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame601(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame609(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame604(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame608(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame610(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame611(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame612(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame613(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame10(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame11(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame12(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame13(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame14(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame15(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame16(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame17(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame19(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame617(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame618(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame619(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame615(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame616(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame18(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame1(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame2(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame3(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame4(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame5(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame6(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame7(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame8(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame9(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame22(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame23(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame24(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame25(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame26(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame20(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame28(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame29(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame506(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame507(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame500(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame501(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame27(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame503(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame21(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame505(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame627(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame628(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame508(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame509(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame622(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame502(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame624(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame504(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame630(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame510(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame511(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame512(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame30(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame31(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame32(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame33(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame34(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame35(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame36(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame37(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame38(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame39(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame516(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame517(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame518(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame519(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame633(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame513(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame514(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame515(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame637(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame629(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame639(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame631(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame614(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame621(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame634(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame623(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame636(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame625(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame520(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame400(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame401(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame40(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame41(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
private function cookieDownloaded(_arg1:Event):void{
var _local2:LoaderInfo = LoaderInfo(_arg1.target);
var _local3:DisplayObject = _local2.content;
addChild(_local3);
getCookie(_local3["getCookie"](cookieName));
}
function frame43(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame44(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame45(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame46(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame47(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame48(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame49(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame405(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame406(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame407(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame409(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame403(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame42(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame526(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame527(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame528(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame408(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame521(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame522(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame402(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame524(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame404(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame635(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame530(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame411(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame50(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame51(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame52(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame53(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame54(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame55(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame56(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame57(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame58(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame59(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame415(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame416(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame417(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame410(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame419(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame412(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame413(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame414(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame536(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame537(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame529(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame418(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame531(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame532(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame533(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame534(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame523(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame645(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame525(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame420(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame300(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
private function cookieDownloaded2(_arg1:Event):void{
var _local2:LoaderInfo = LoaderInfo(_arg1.target);
var _local3:DisplayObject = _local2.content;
addChild(_local3);
getCookie(_local3["getCookie"](cookieName));
}
function frame61(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame62(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame63(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame64(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame65(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame66(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame60(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame68(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame69(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame304(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame305(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame306(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame307(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame67(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame301(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame302(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame303(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame425(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame426(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame427(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame428(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame308(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame309(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame422(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame423(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame424(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame546(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame535(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame430(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame310(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame70(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame71(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame72(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame73(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame75(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
private function downloadCookie():void{
var _local1:MyFileLoader = new MyFileLoader("http://www.thisisgameplay.com/modules/cookie/cookie_as3.swf", cookieDownloaded, cookieError);
var _local2:MyFileLoader = new MyFileLoader("http://www.benoitfreslon.com/modules/cookie/cookie_as3.swf", cookieDownloaded2, cookieError2);
}
function frame77(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame78(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame79(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtPassword.text = Language["typePassword2"];
btSubmit.label = Language["send"];
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
pwd = Language["apple"];
downloadCookie();
iCookie = setInterval(downloadCookie, 5000);
}
function frame74(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame316(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame76(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame318(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame311(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame312(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame313(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame314(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame315(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame437(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame317(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame439(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame319(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame432(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame421(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame434(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame435(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame436(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame440(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame320(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame80(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame81(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame82(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame83(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame84(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame85(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame87(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame88(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame89(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame203(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame204(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame205(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame86(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame207(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame200(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame201(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame202(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame324(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame325(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame326(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame206(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame328(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame208(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame209(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame322(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame323(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame433(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame446(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame429(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame327(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame90(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame91(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame92(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame93(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame94(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame95(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame96(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame97(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame98(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame99(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame213(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame214(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame215(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame216(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame217(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame210(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame211(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame212(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame334(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame335(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame336(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame337(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
private function getCookie(_arg1:Object):void{
so = _arg1;
Debug.object(so.data);
if (so.data.currentGame == 15){
paper.gotoAndPlay(2);
};
}
function frame218(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame219(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame332(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame321(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame443(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame438(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame445(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame340(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame220(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame100(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame101(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame102(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame103(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame104(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame105(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame106(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame107(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame108(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame109(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame224(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame225(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame226(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame227(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame228(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame221(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame222(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame223(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame345(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame346(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame338(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame339(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame349(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame229(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame330(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame331(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame344(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame333(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame449(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame329(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame230(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame110(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame111(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame112(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame113(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame114(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame115(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame116(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame117(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame118(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame234(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame235(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame236(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame237(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame238(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame231(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame233(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame355(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame347(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame348(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame358(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame350(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame239(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame119(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame232(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame342(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame343(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame356(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame357(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame240(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame120(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame121(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame122(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame123(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame124(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame125(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame126(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame127(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame128(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame129(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame244(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame245(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame246(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame247(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame248(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame241(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame242(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame243(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame365(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame366(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame367(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame341(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame360(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame249(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame362(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame351(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame352(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame353(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame354(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame370(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame250(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame130(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame131(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame132(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame133(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame134(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame135(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame136(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame137(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame138(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame139(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame254(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame255(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame256(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame257(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame251(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame252(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame253(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame375(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame376(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame368(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame369(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame258(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame259(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame372(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame361(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame374(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame363(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame364(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame359(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame260(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame140(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame141(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame142(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame143(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame144(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame145(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame146(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame147(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame148(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame149(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame264(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame265(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame266(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame267(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame268(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame261(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame262(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame263(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame385(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame377(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame378(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame379(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame380(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame269(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame382(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame371(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame384(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame373(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame386(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame387(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame270(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame271(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame151(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame152(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame153(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame154(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
private function cookieError():void{
so = SharedObject.getLocal(cookieName, "/");
if (so){
getCookie(so);
} else {
getCookie({data:{}, flush:function (){
}});
};
}
function frame156(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame157(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame158(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame159(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame274(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame275(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame155(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame277(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame278(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame279(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame272(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame273(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame395(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame396(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame276(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame390(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame391(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame150(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame381(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame394(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame383(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame457(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame397(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame280(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame161(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame162(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame163(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame164(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame165(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame166(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame160(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame168(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame169(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame284(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame285(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame286(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame287(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame167(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame289(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame282(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame283(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame456(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame478(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame398(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame399(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame288(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame431(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame281(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame464(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame392(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame393(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame388(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame389(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame290(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame170(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame171(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame172(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame173(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame174(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame175(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame176(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame177(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame178(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame179(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame294(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame295(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame296(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame297(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame298(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame291(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame292(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame293(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame466(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame467(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame468(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame469(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame471(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame299(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame442(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame444(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame476(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame450(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame447(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame448(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame181(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame182(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame183(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame184(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame185(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame186(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame180(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame188(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame189(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame541(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame490(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame470(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame492(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame187(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame473(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame474(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame475(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame441(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame477(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame499(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame479(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame481(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame451(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame452(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame453(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame454(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame455(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame460(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame461(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame190(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame191(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame192(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame193(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame194(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame195(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function __setProp_btSubmit_Candle2_password_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame197(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame198(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame199(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame543(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame544(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame480(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame196(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame482(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame483(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame484(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame485(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame486(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame487(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame488(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame489(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame491(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame577(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame462(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame458(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame459(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame465(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame497(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame498(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame472(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame594(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame595(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame596(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame597(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame598(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame599(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame540(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame550(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame542(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame552(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame553(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame545(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame555(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame547(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame538(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame493(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame494(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame495(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame496(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame583(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
private function cookieError2():void{
so = SharedObject.getLocal(cookieName, "/");
if (so){
getCookie(so);
} else {
getCookie({data:{}, flush:function (){
}});
};
}
function frame579(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame586(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame587(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame588(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame589(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame650(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame551(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame561(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame562(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame554(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame564(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame556(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame557(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame548(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame549(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame463(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame578(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame592(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame593(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame626(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame670(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame560(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame570(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame571(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame563(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame573(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame565(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame566(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame567(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame558(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame559(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame658(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame632(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame539(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame648(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame620(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame638(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame680(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame681(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame580(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame572(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame582(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame574(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame575(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame576(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame652(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame568(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame569(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame641(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame642(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame643(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame659(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame646(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame647(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
override public function stopGame():void{
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
clearInterval(iCookie);
super.stopGame();
}
function frame690(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame691(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame581(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame591(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame671(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame584(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame585(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame661(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame662(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame663(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame664(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame651(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame666(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame653(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame654(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame640(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame656(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame657(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame644(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame649(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame590(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame693(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame682(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame683(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame684(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame672(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame673(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame660(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame675(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame676(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame677(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame678(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame665(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame667(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame668(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame669(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame655(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame692(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame694(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame695(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame696(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame697(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame685(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame686(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame687(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame674(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame689(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame679(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame698(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame699(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame688(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
private function checkPassword(_arg1:MouseEvent):void{
if ((((inputPassword.text.toLowerCase() == pwd)) || ((inputPassword.text.toLowerCase() == pwdEn)))){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
}
function frame700(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame701(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame702(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame703(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame704(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame705(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame706(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame707(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame708(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
}
function frame709(){
if ((((__setPropDict[btSubmit] == undefined)) || (!((((int(__setPropDict[btSubmit]) >= 1)) && ((int(__setPropDict[btSubmit]) <= 709))))))){
__setPropDict[btSubmit] = currentFrame;
__setProp_btSubmit_Candle2_password_0();
};
stop();
}
}
}//package com.games
Section 8
//Cat (com.games.Cat)
package com.games {
import flash.display.*;
import com.*;
public class Cat extends Game {
public var tip_07:Tip;
public var Herbe_4:MovieClip;
private var rollOver:Boolean;// = false
public var cat:TheCat;
override public function init(_arg1:Main):void{
super.init(_arg1);
cat.main = main;
cat.game = this;
cat.runaway();
}
override public function stopGame():void{
cat = null;
super.stopGame();
}
override protected function catGoTo():void{
cat.goto(mouse.x, mouse.y);
}
}
}//package com.games
Section 9
//Corner (com.games.Corner)
package com.games {
import flash.display.*;
import flash.events.*;
import com.*;
import flash.system.*;
public class Corner extends Game {
public var corner3:MovieClip;
public var ball:MovieClip;
private var initX:int;
private var initY:int;
public var corner1:MovieClip;
private var resX:int;
private var drag:Boolean;// = false
private var resY:int;
public var corner2:MovieClip;
public var corner4:MovieClip;
public function Corner(){
resX = Capabilities.screenResolutionX;
resY = Capabilities.screenResolutionY;
super();
}
private function press(_arg1:MouseEvent):void{
drag = true;
}
private function release(_arg1:MouseEvent):void{
drag = false;
}
override public function init(_arg1:Main):void{
super.init(_arg1);
addEventListener(Event.ENTER_FRAME, enterFrame);
initX = ball.x;
initY = ball.y;
ball.buttonMode = true;
stage.addEventListener(MouseEvent.MOUSE_UP, release);
ball.addEventListener(MouseEvent.MOUSE_DOWN, press);
}
override public function stopGame():void{
super.stopGame();
removeEventListener(Event.ENTER_FRAME, enterFrame);
stage.removeEventListener(MouseEvent.MOUSE_UP, release);
ball.removeEventListener(MouseEvent.MOUSE_DOWN, press);
}
private function enterFrame(_arg1:Event):void{
if (drag){
ball.x = mouseX;
ball.y = mouseY;
if (mouseX == 0){
corner1.visible = false;
};
if (mouseX == resX){
corner2.visible = false;
};
if (mouseY == 0){
corner3.visible = false;
};
if (mouseY == resY){
corner4.visible = false;
};
if (((((((!(corner1.visible)) && (!(corner2.visible)))) && (!(corner3.visible)))) && (!(corner4.visible)))){
win();
ball.x = initX;
ball.y = initY;
};
} else {
ball.x = initX;
ball.y = initY;
};
}
}
}//package com.games
Section 10
//Deactivate (com.games.Deactivate)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class Deactivate extends Game {
public var txtHere:TextField;
public var tip_08:Tip;
private var sdBonus:SdBonus;
private var ok:int;// = 0
public var sign:MovieClip;
public function Deactivate(){
sdBonus = new SdBonus();
super();
}
private function go(_arg1:MouseEvent):void{
gameover();
}
override public function init(_arg1:Main):void{
super.init(_arg1);
main.addEventListener(Event.ACTIVATE, activate);
main.addEventListener(Event.DEACTIVATE, deactivate);
txtHere.text = Language["here"];
}
private function activate(_arg1:Event):void{
ok++;
sign.gotoAndStop(1);
if (ok >= 4){
win();
};
sdBonus.play();
}
private function deactivate(_arg1:Event):void{
sign.gotoAndStop(2);
sdBonus.play();
}
override public function stopGame():void{
super.stopGame();
main.removeEventListener(Event.ACTIVATE, activate);
main.removeEventListener(Event.DEACTIVATE, deactivate);
}
}
}//package com.games
Section 11
//Decode (com.games.Decode)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class Decode extends Game {
public var inputPassword:TextInput;
public var btSubmit:Button;
public var txtPassword:TextField;
public var txtComment:TextField;
private var pwd:String;// = "crazy"
public function Decode(){
__setProp_btSubmit_Decode_Calque3_0();
}
function __setProp_btSubmit_Decode_Calque3_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function checkPassword(_arg1:MouseEvent):void{
if (inputPassword.text.toLowerCase() == pwd){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtPassword.text = Language["typePassword"];
btSubmit.label = Language["send"];
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
}
override public function stopGame():void{
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
super.stopGame();
}
}
}//package com.games
Section 12
//Email (com.games.Email)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class Email extends Game {
public var inputPassword:TextInput;
public var btSubmit:Button;
public var txtPassword:TextField;
public var tip_09:Tip;
public var txtComment:TextField;
private var pwd:String;// = "hello world"
public function Email(){
__setProp_btSubmit_Email_Calque2_0();
}
private function checkPassword(_arg1:MouseEvent):void{
if (inputPassword.text.toLowerCase() == pwd){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtPassword.text = Language["typePassword3"];
btSubmit.label = Language["send"];
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
}
function __setProp_btSubmit_Email_Calque2_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function stopGame():void{
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
super.stopGame();
}
}
}//package com.games
Section 13
//File (com.games.File)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import com.djw.events.io.*;
public class File extends Game {
public var inputPassword:TextInput;
public var btSubmit:Button;
public var btSend:Button;
private var helloEn:String;// = "hello"
public var txtPassword:TextField;
public var uploadURL:URLRequest;
private var _fileRef:FileReference;
private var pwd:String;// = ""
public var txtHello:TextField;
public var tip_10:Tip;
private var downloadURL:String;// = ""
public var txtComment:TextField;
private var msg1:String;
private var msg2:String;
private var hello:String;// = "bonjour"
public var btDownload:Button;
public function File(){
msg1 = Language["puzzleSolved"];
msg2 = Language["wrongPassword"];
_fileRef = new FileReference();
super();
addFrameScript(0, frame1);
__setProp_inputPassword_File_Calque1_0();
__setProp_btSubmit_File_Calque1_0();
__setProp_btSend_File_Calque1_0();
__setProp_btDownload_File_Calque1_0();
}
function __setProp_inputPassword_File_Calque1_0(){
try {
inputPassword["componentInspectorSetting"] = true;
} catch(e:Error) {
};
inputPassword.displayAsPassword = false;
inputPassword.editable = true;
inputPassword.enabled = true;
inputPassword.maxChars = 0;
inputPassword.restrict = "";
inputPassword.text = "";
inputPassword.visible = false;
try {
inputPassword["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function ioError(_arg1:IOErrorEvent){
dispatchEvent(new UploadFailedEvent());
}
private function download(_arg1:MouseEvent=null):void{
var _local2:URLRequest = new URLRequest();
_local2.url = downloadURL;
navigateToURL(_local2, "_blank");
}
private function cancel(_arg1:Event):void{
}
override public function init(_arg1:Main):void{
super.init(_arg1);
btSend.label = Language["submitFile"];
btDownload.label = Language["download"];
btSubmit.label = Language["send"];
btDownload.enabled = false;
txtPassword.text = Language["typePassword"];
btSend.addEventListener(MouseEvent.CLICK, upload);
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
hello = Language["hello"];
txtHello.text = hello;
if (!main.so.data.pwdFile){
main.so.data.pwdFile = String(Math.round((Math.random() * 10000)));
main.so.flush();
};
pwd = main.so.data.pwdFile;
btDownload.visible = false;
}
private function selectFile(_arg1:Event):void{
_fileRef.upload(uploadURL);
}
private function upload(_arg1:MouseEvent):void{
uploadURL = new URLRequest(main.URL_UPLOAD_SCRIPT);
var _local2:URLVariables = new URLVariables();
_local2.pwd = pwd;
_local2.msg1 = msg1;
_local2.msg2 = msg2;
_local2.hello = hello;
uploadURL.data = _local2;
uploadURL.method = URLRequestMethod.GET;
browse();
_fileRef.addEventListener(Event.SELECT, selectFile);
_fileRef.addEventListener(Event.OPEN, openFile);
_fileRef.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatus);
_fileRef.addEventListener(Event.COMPLETE, completeUpload);
_fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityError);
_fileRef.addEventListener(IOErrorEvent.IO_ERROR, ioError);
_fileRef.addEventListener(Event.CANCEL, cancel);
_fileRef.addEventListener(ProgressEvent.PROGRESS, uploadProgress);
_fileRef.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, uploadComplete);
}
private function completeUpload(_arg1:Event):void{
}
private function httpStatus(_arg1:HTTPStatusEvent){
dispatchEvent(new UploadFailedEvent());
}
override public function stopGame():void{
super.stopGame();
btSend.removeEventListener(MouseEvent.CLICK, upload);
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
btDownload.removeEventListener(MouseEvent.CLICK, download);
if (_fileRef){
_fileRef.cancel();
_fileRef.removeEventListener(Event.SELECT, selectFile);
_fileRef.removeEventListener(Event.OPEN, openFile);
_fileRef.removeEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatus);
_fileRef.removeEventListener(Event.COMPLETE, completeUpload);
_fileRef.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityError);
_fileRef.removeEventListener(IOErrorEvent.IO_ERROR, ioError);
_fileRef.removeEventListener(Event.CANCEL, cancel);
_fileRef.removeEventListener(ProgressEvent.PROGRESS, uploadProgress);
_fileRef.removeEventListener(DataEvent.UPLOAD_COMPLETE_DATA, uploadComplete);
};
}
function __setProp_btSubmit_File_Calque1_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = false;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function securityError(_arg1:SecurityErrorEvent){
dispatchEvent(new UploadFailedEvent());
}
public function browse():void{
_fileRef.browse([new FileFilter("All Formats (*.txt)", "*.txt", "TEXT")]);
}
function __setProp_btSend_File_Calque1_0(){
try {
btSend["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSend.emphasized = false;
btSend.enabled = true;
btSend.label = "Click to send";
btSend.labelPlacement = "right";
btSend.selected = false;
btSend.toggle = false;
btSend.visible = true;
try {
btSend["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function stopDragger(_arg1:MouseEvent):void{
stopDrag();
}
function __setProp_btDownload_File_Calque1_0(){
try {
btDownload["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btDownload.emphasized = false;
btDownload.enabled = true;
btDownload.label = "Download";
btDownload.labelPlacement = "right";
btDownload.selected = false;
btDownload.toggle = false;
btDownload.visible = false;
try {
btDownload["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function checkPassword(_arg1:MouseEvent):void{
if (inputPassword.text == pwd){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
}
private function uploadProgress(_arg1:ProgressEvent):void{
}
private function uploadComplete(_arg1:DataEvent):void{
var _local2:URLVariables = new URLVariables();
_local2.decode(_arg1.data);
btDownload.enabled = true;
btDownload.addEventListener(MouseEvent.CLICK, download);
downloadURL = ((main.URL_DOWNLOAD_SCRIPT + "?file=") + _local2.file);
if (_local2.win == "1"){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
dispatchEvent(new UploadCompleteEvent());
}
private function startDragger(_arg1:MouseEvent):void{
startDrag(false);
}
function frame1(){
}
private function openFile(_arg1:Event):void{
}
private function close(... _args):void{
parent.removeChild(this);
delete ??getglobalscope
[this];
}
}
}//package com.games
Section 14
//Friend (com.games.Friend)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
public class Friend extends Game {
private const TIME_CHECK:uint = 10000;
public var inputPassword:TextInput;
private var textLoader:MyTextLoader;
private var sdRing:SdRing;
public var txtNbInvites:TextField;
public var txtNbFriends:TextField;
public var btUnlock:MovieClip;
public var txt1:TextField;
public var txt2:TextField;
public var tip_11:Tip;
public var txtEnter:TextField;
public var txtKey:TextField;
private var siCheck:uint;// = 1
public var txtUnlock:TextField;
public var dialog:MovieClip;
public var txtDialog:TextField;
public var btGo:Button;
public var __setPropDict:Dictionary;
public var txtUrl:TextField;
private var key:String;// = ""
public var phoneBoy2:MovieClip;
public var phoneBoy1:MovieClip;
public var btInvite:Button;
public var group:MovieClip;
public function Friend(){
__setPropDict = new Dictionary(true);
sdRing = new SdRing();
textLoader = new MyTextLoader();
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
private function check():void{
textLoader.stop();
var _local1:URLVariables = new URLVariables();
_local1.key = key;
textLoader.load(main.URL_CHECK_UNLOCK, _local1, completeHandler, errorHandler);
}
override public function stopGame():void{
super.stopGame();
textLoader.stop();
clearInterval(siCheck);
if (btUnlock){
btUnlock.removeEventListener(MouseEvent.CLICK, unlock);
};
if (btInvite){
btInvite.removeEventListener(MouseEvent.CLICK, gotoInvite);
};
if (btGo){
btGo.removeEventListener(MouseEvent.CLICK, gotoParty);
};
textLoader.stop();
textLoader = null;
}
private function setGuest(_arg1:int):void{
if (_arg1 > 10){
_arg1 = 10;
};
if (_arg1 == 0){
_arg1 = 1;
};
group.gotoAndStop((_arg1 + 1));
}
function __setProp_btInvite_Friend_bt_0(){
try {
btInvite["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btInvite.emphasized = false;
btInvite.enabled = true;
btInvite.label = "Invite";
btInvite.labelPlacement = "right";
btInvite.selected = false;
btInvite.toggle = false;
btInvite.visible = true;
try {
btInvite["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function init(_arg1:Main):void{
btGo.label = Language["goToParty"];
btInvite.label = Language["inviteAFriend"];
super.init(_arg1);
btInvite.addEventListener(MouseEvent.CLICK, gotoInvite);
btGo.addEventListener(MouseEvent.CLICK, gotoParty);
group.stop();
txtNbInvites.text = ("0 " + Language["nbInvite"]);
if (main.so.data.nbInvites){
txtNbInvites.text = ((main.so.data.nbInvites + " ") + Language["nbInvite"]);
if (main.so.data.nbInvites > 1){
txtNbInvites.text = ((main.so.data.nbInvites + " ") + Language["nbInvites"]);
};
setGuest(main.so.data.nbInvites);
};
txtNbFriends.text = ("0 " + Language["nbFriend"]);
if (main.so.data.nbFriends){
txtNbFriends.text = ((main.so.data.nbFriends + " ") + Language["nbFriend"]);
if (main.so.data.nbFriends > 1){
txtNbFriends.text = ((main.so.data.nbFriends + " ") + Language["nbFriends"]);
};
};
}
private function errorHandler(_arg1:IOErrorEvent):void{
}
private function gotoParty(_arg1:MouseEvent):void{
gotoAndStop(3);
}
private function pageGoToTheParty():void{
btUnlock.addEventListener(MouseEvent.CLICK, unlock);
btUnlock.buttonMode = true;
txt1.text = Language["yourFriend"];
txt2.text = Language["you"];
txtDialog.text = Language["giveMeTheCode"];
}
private function unlock(_arg1:MouseEvent):void{
var _local2:URLVariables;
sdRing.play();
if (main.so.data.key == inputPassword.text){
inputPassword.text = "";
txtUnlock.text = String(Language["askToYourFriend"]);
};
if (((((!((inputPassword.text == key))) && (!((inputPassword.text == ""))))) && (inputPassword.text))){
_local2 = new URLVariables();
_local2.key = inputPassword.text;
textLoader.load(main.URL_UNLOCK_FRIEND, _local2, completeHandler, errorHandler);
txtUnlock.text = Language["ringing"];
};
}
private function completeHandler(_arg1:Event):void{
var _local2:URLLoader = URLLoader(_arg1.target);
var _local3:URLVariables = new URLVariables(_local2.data);
if (_local3.action == "save"){
displayKey(_local3.key);
} else {
if (_local3.action == "unlock"){
if (_local3.unlock == "true"){
txtUnlock.text = Language["youAreThere"];
phoneBoy2.visible = false;
win();
dialog.visible = false;
txtDialog.visible = false;
if (!main.so.data.nbInvites){
main.so.data.nbInvites = 1;
} else {
main.so.data.nbInvites = (int(main.so.data.nbInvites) + 1);
};
main.so.flush();
setGuest(main.so.data.nbInvites);
} else {
txtUnlock.text = Language["wrongParty"];
};
} else {
if (_local3.action == "check"){
if (_local3.unlock == "true"){
txtEnter.text = Language["friendComing"];
sdRing.play();
win();
phoneBoy2.visible = false;
if (!main.so.data.nbFriends){
main.so.data.nbFriends = 1;
} else {
main.so.data.nbFriends = (int(main.so.data.nbFriends) + 1);
};
main.so.flush();
} else {
txtEnter.text = Language["friendWait"];
};
};
};
};
}
private function gotoInvite(_arg1:MouseEvent):void{
gotoAndStop(2);
siCheck = setInterval(check, TIME_CHECK);
}
private function displayKey(_arg1:String):void{
key = _arg1;
main.so.data.key = key;
main.so.flush();
txtKey.text = String(key);
txtDialog.text = Language["helloParty"];
txtUrl.text = ((main.URL_DOOR_CODE + "?door_code=") + key);
stage.focus = txtUrl;
}
override public function win():void{
main.so.data.key = null;
main.so.flush();
super.win();
}
function frame1(){
if ((((__setPropDict[btGo] == undefined)) || (!((int(__setPropDict[btGo]) == 1))))){
__setPropDict[btGo] = 1;
__setProp_btGo_Friend_bt_0();
};
if ((((__setPropDict[btInvite] == undefined)) || (!((int(__setPropDict[btInvite]) == 1))))){
__setPropDict[btInvite] = 1;
__setProp_btInvite_Friend_bt_0();
};
stop();
}
function frame2(){
pageInvite();
}
function frame3(){
pageGoToTheParty();
}
private function pageInvite():void{
var _local1:URLVariables = new URLVariables();
if (main.so.data.key){
_local1.key = main.so.data.key;
};
textLoader.load(main.URL_SAVE_FRIEND, _local1, completeHandler, errorHandler);
txt1.text = Language["you"];
txt2.text = Language["yourFriend"];
}
function __setProp_btGo_Friend_bt_0(){
try {
btGo["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btGo.emphasized = false;
btGo.enabled = true;
btGo.label = "Go";
btGo.labelPlacement = "right";
btGo.selected = false;
btGo.toggle = false;
btGo.visible = true;
try {
btGo["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.games
Section 15
//Game (com.games.Game)
package com.games {
import flash.display.*;
import flash.events.*;
import com.*;
import com.my.*;
import com.fx.*;
public class Game extends MyMovieClip {
public var mouse:MovieClip;// = null
protected var sdMouse:SdMouse;
protected var main:Main;
public var id:int;// = 0
public function Game(){
sdMouse = new SdMouse();
super();
}
protected function catGoTo():void{
}
public function win():void{
main.gameCompleted();
stopGame();
}
protected function gameover():void{
main.gameover();
stopGame();
}
protected function removed(_arg1:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, removed);
stopGame();
}
private function fallMouse(_arg1:Event):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
_local2.speed = (_local2.speed + 0.2);
_local2.speed = MyMath.threshold(_local2.speed, 0, 8);
_local2.y = (_local2.y + _local2.speed);
if (_local2.y > 325){
_local2.removeEventListener(Event.ENTER_FRAME, fallMouse);
_local2.y = 350;
catGoTo();
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
};
}
public function stopGame():void{
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUp);
if (mouse){
mouse.removeEventListener(Event.ENTER_FRAME, fallMouse);
};
}
public function init(_arg1:Main):void{
main = _arg1;
stage.addEventListener(KeyboardEvent.KEY_UP, keyUp);
if (main.mouse){
sdMouse.play();
mouse = main.mouse;
mouse.stopDrag();
addChild(mouse);
main.mouse = null;
mouse.speed = 0;
mouse.mouseEnabled = false;
mouse.addEventListener(Event.ENTER_FRAME, fallMouse);
};
}
protected function keyUp(_arg1:KeyboardEvent):void{
}
protected function File():void{
addEventListener(Event.REMOVED_FROM_STAGE, removed);
}
}
}//package com.games
Section 16
//KeepPressing (com.games.KeepPressing)
package com.games {
import flash.events.*;
import com.*;
public class KeepPressing extends Game {
public var circle:Circle;
public var tip_12:Tip;
public function checkVictory():void{
if (main.keepPressing){
win();
};
}
override public function stopGame():void{
super.stopGame();
removeEventListener(Event.ENTER_FRAME, enterFrame);
stage.removeEventListener(MouseEvent.MOUSE_DOWN, released);
}
private function enterFrame(_arg1:Event):void{
if (!main.keepPressing){
gameover();
};
}
override protected function gameover():void{
circle.stop();
super.gameover();
}
override public function init(_arg1:Main):void{
super.init(_arg1);
stage.addEventListener(MouseEvent.MOUSE_DOWN, released);
addEventListener(Event.ENTER_FRAME, enterFrame);
circle.play();
}
private function released(_arg1:MouseEvent):void{
gameover();
}
}
}//package com.games
Section 17
//Leave (com.games.Leave)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
public class Leave extends Game {
public var tip_13:Tip;
public var circle:Circle;
public var exit1:MovieClip;
public var exit2:MovieClip;
public var exit3:MovieClip;
public var exit4:MovieClip;
public var exit5:MovieClip;
public var exit6:MovieClip;
public var exit7:MovieClip;
public var exit8:MovieClip;
public var leaving:Boolean;// = false
private var puzzle:MovieClip;// = null
private function drag(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
addChild(_local2);
_local2.startDrag();
puzzle = _local2;
}
override public function stopGame():void{
leaving = true;
circle.removeEventListener(Event.ENTER_FRAME, enterFrame);
stage.removeEventListener(MouseEvent.MOUSE_UP, drop);
var _local1 = 1;
while (_local1 < 9) {
this[("exit" + _local1)].removeEventListener(MouseEvent.MOUSE_DOWN, drag);
_local1++;
};
super.stopGame();
}
override public function init(_arg1:Main):void{
super.init(_arg1);
stage.addEventListener(MouseEvent.MOUSE_UP, drop);
circle.addEventListener(Event.ENTER_FRAME, enterFrame);
circle.stop();
circle.t = 0;
var _local2 = 1;
while (_local2 < 9) {
this[("exit" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, drag);
this[("exit" + _local2)].buttonMode = true;
_local2++;
};
}
public function checkVictory():void{
}
private function enterFrame(_arg1:Event):void{
circle.t = (circle.t + 0.5);
circle.gotoAndStop(int(circle.t));
if (circle.t >= 199){
gameover();
};
}
private function drop(_arg1:MouseEvent):void{
if (puzzle){
puzzle.stopDrag();
};
}
}
}//package com.games
Section 18
//Mirror (com.games.Mirror)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.ui.*;
public class Mirror extends Game {
var coordX:int;// = 0
var coordY:int;// = 0
public var tip_14:Tip;
public var bt:Button;
var hit:int;// = 0
public var cursor:Cursor;
private var ingame:Boolean;// = false
public var cursor2:Cursor;
private var speed:Number;
public var path:MovieClip;
public var btStart:Button;
private var speedX:Number;// = 0
private var speedY:Number;// = 0
public function Mirror(){
__setProp_bt_Mirror_Calque2_0();
__setProp_btStart_Mirror_Calque2_0();
}
override protected function gameover():void{
var _local1:Particles = new Particles(ParticleMouse);
_local1.x = cursor.x;
_local1.y = cursor.x;
_local1.velocityMax = 0.5;
_local1.gravity = 0.01;
_local1.frequency = 1;
_local1.totalTime = 200;
_local1.slowDown = 0.99;
addChild(_local1);
super.gameover();
}
private function click(_arg1:MouseEvent):void{
win();
}
override public function init(_arg1:Main):void{
btStart.addEventListener(MouseEvent.MOUSE_DOWN, start);
stage.addEventListener(MouseEvent.MOUSE_UP, released);
btStart.label = Language["btKeepPressing"];
bt.visible = false;
super.init(_arg1);
}
override public function stopGame():void{
super.stopGame();
cursor.visible = false;
ingame = false;
stage.removeEventListener(MouseEvent.MOUSE_UP, released);
btStart.removeEventListener(MouseEvent.MOUSE_DOWN, start);
bt.removeEventListener(MouseEvent.CLICK, click);
cursor.removeEventListener(Event.ENTER_FRAME, enterFrame);
}
function __setProp_bt_Mirror_Calque2_0(){
try {
bt["componentInspectorSetting"] = true;
} catch(e:Error) {
};
bt.emphasized = false;
bt.enabled = true;
bt.label = ":)";
bt.labelPlacement = "right";
bt.selected = false;
bt.toggle = false;
bt.visible = true;
try {
bt["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function start(_arg1:MouseEvent):void{
Mouse.hide();
cursor.addEventListener(Event.ENTER_FRAME, enterFrame);
cursor.scaleY = -1;
cursor.scaleX = -1;
bt.visible = true;
btStart.visible = false;
cursor.x = mouseX;
cursor.y = mouseY;
coordX = mouseX;
coordY = mouseY;
ingame = true;
}
private function enterFrame(_arg1:Event):void{
cursor.x = (cursor.x - (mouseX - coordX));
cursor.y = (cursor.y - (mouseY - coordY));
coordX = mouseX;
coordY = mouseY;
if (bt.hitTestPoint(cursor.x, cursor.y)){
win();
return;
};
if ((((((((((cursor.x < 0)) || ((cursor.x > 550)))) || ((cursor.y < 0)))) || ((cursor.y > 400)))) || (path.hitTestPoint(cursor.x, cursor.y, true)))){
gameover();
};
}
function __setProp_btStart_Mirror_Calque2_0(){
try {
btStart["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btStart.emphasized = false;
btStart.enabled = true;
btStart.label = "Keep pressing";
btStart.labelPlacement = "right";
btStart.selected = false;
btStart.toggle = false;
btStart.visible = true;
try {
btStart["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function released(_arg1:MouseEvent):void{
if (ingame){
gameover();
};
}
}
}//package com.games
Section 19
//MyMouse (com.games.MyMouse)
package com.games {
import flash.display.*;
import flash.events.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.media.*;
import flash.ui.*;
public class MyMouse extends Game {
var cmi1:ContextMenuItem;
private var draged:Boolean;// = false
public var theMouse:MovieClip;
private var scMouse:SoundChannel;
private function fallMouse(_arg1:Event):void{
if (draged){
return;
};
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
_local2.speed = (_local2.speed + 0.2);
_local2.speed = MyMath.threshold(_local2.speed, 0, 8);
_local2.y = (_local2.y + _local2.speed);
if (_local2.y > 325){
_local2.y = 350;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
};
}
private function click(_arg1:MouseEvent):void{
if (scMouse){
scMouse.stop();
};
scMouse = sdMouse.play();
mouse.gotoAndStop(2);
main.addChild(mouse);
draged = true;
mouse.startDrag(true);
mouse.mouseEnabled = false;
mouse.mouseChildren = false;
main.mouse = mouse;
}
override public function init(_arg1:Main):void{
main = _arg1;
var _local2:ContextMenu = new ContextMenu();
cmi1 = new ContextMenuItem((("[" + Language["here"]) + "]"));
cmi1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, win1);
var _local3:ContextMenuBuiltInItems = _local2.builtInItems;
_local3.print = false;
_local3.quality = false;
_local3.zoom = false;
_local3.save = false;
_local3.play = true;
_local3.forwardAndBack = false;
_local2.customItems = [cmi1];
main.contextMenu = _local2;
super.init(_arg1);
mouse = theMouse;
mouse.speed = 0;
mouse.addEventListener(MouseEvent.MOUSE_DOWN, click);
mouse.addEventListener(Event.ENTER_FRAME, fallMouse);
mouse.buttonMode = true;
}
override public function stopGame():void{
if (scMouse){
scMouse.stop();
};
super.stopGame();
mouse.removeEventListener(Event.ENTER_FRAME, fallMouse);
stage.removeEventListener(MouseEvent.MOUSE_UP, released);
cmi1.removeEventListener(ContextMenuEvent.MENU_ITEM_SELECT, win);
}
private function win1(_arg1){
win();
}
private function released(_arg1:MouseEvent):void{
if (draged){
mouse.stopDrag();
addChild(mouse);
mouse.gotoAndStop(1);
mouse.mouseEnabled = true;
mouse.speed = 0;
};
main.mouse = null;
draged = false;
}
}
}//package com.games
Section 20
//Piano (com.games.Piano)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
import flash.media.*;
public class Piano extends Game {
private const ARR_MUSIC:Array;
public var inputPassword:TextInput;
private var sdSi:SdSi;
public var tip_15:Tip;
private var sdMi:SdMi;
public var txtComment:TextField;
public var btSubmit:Button;
private var sdRe:SdRe;
public var btPlay:Button;
public var txtPassword:TextField;
private var sdFa:SdFa;
private var sdLa:SdLa;
private var playing:Boolean;// = false
private var siMusic:int;// = 0
private var idNote:int;// = 0
private var sdDo:SdDo;
private var pwd:String;// = "1223"
private var sdSol:SdSol;
public function Piano(){
sdDo = new SdDo();
sdRe = new SdRe();
sdMi = new SdMi();
sdFa = new SdFa();
sdSol = new SdSol();
sdLa = new SdLa();
sdSi = new SdSi();
ARR_MUSIC = [sdRe, sdLa, sdMi, null, sdFa, sdDo, sdRe, null, sdFa, sdDo, sdRe, null, sdFa, sdSi, sdSol, sdMi, sdMi];
super();
__setProp_btSubmit_Piano_Calque2_0();
__setProp_btPlay_Piano_Calque2_0();
}
private function checkPassword(_arg1:MouseEvent):void{
if (inputPassword.text.toLowerCase() == pwd){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
if ((((inputPassword.text.toLowerCase() == "onetwotwothree")) || ((inputPassword.text.toLowerCase() == "one two two three")))){
txtComment.text = (Language["almost"] + " :)");
};
}
private function playNote():void{
var _local1:Sound = (ARR_MUSIC[idNote] as Sound);
if (_local1){
_local1.play();
};
idNote++;
if (idNote >= ARR_MUSIC.length){
playing = false;
clearInterval(siMusic);
};
}
override public function stopGame():void{
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
btPlay.removeEventListener(MouseEvent.CLICK, playMusic);
clearInterval(siMusic);
super.stopGame();
}
private function playMusic(_arg1:MouseEvent):void{
clearInterval(siMusic);
SoundMixer.stopAll();
if (playing){
playing = false;
return;
};
siMusic = setInterval(playNote, 400);
idNote = 0;
playing = true;
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtPassword.text = Language["typePassword"];
btSubmit.label = Language["send"];
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
btPlay.label = Language["play"];
btPlay.addEventListener(MouseEvent.CLICK, playMusic);
}
override protected function keyUp(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case 78:
sdLa.play();
break;
case 79:
sdRe.play();
break;
case 69:
sdMi.play();
break;
case 84:
sdFa.play();
break;
case 87:
sdDo.play();
break;
case 82:
sdSol.play();
break;
case 72:
sdSi.play();
break;
};
}
function __setProp_btSubmit_Piano_Calque2_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_btPlay_Piano_Calque2_0(){
try {
btPlay["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btPlay.emphasized = false;
btPlay.enabled = true;
btPlay.label = "Play / Stop";
btPlay.labelPlacement = "right";
btPlay.selected = false;
btPlay.toggle = false;
btPlay.visible = true;
try {
btPlay["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.games
Section 21
//Play (com.games.Play)
package com.games {
import flash.display.*;
import com.*;
import flash.ui.*;
public class Play extends Game {
public var p:MovieClip;
public var tip_16:Tip;
override public function init(_arg1:Main):void{
super.init(_arg1);
var _local2:ContextMenu = new ContextMenu();
_local2.hideBuiltInItems();
var _local3:ContextMenuBuiltInItems = _local2.builtInItems;
_local3.print = false;
_local3.quality = false;
_local3.zoom = false;
_local3.save = false;
_local3.play = true;
_local3.forwardAndBack = false;
main.contextMenu = _local2;
}
override public function win():void{
stopGame();
var _local1:ContextMenu = new ContextMenu();
_local1.hideBuiltInItems();
var _local2:ContextMenuBuiltInItems = _local1.builtInItems;
_local2.print = false;
_local2.quality = false;
_local2.zoom = false;
_local2.save = false;
_local2.play = false;
_local2.forwardAndBack = false;
main.contextMenu = _local1;
super.win();
}
}
}//package com.games
Section 22
//Puzzle (com.games.Puzzle)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class Puzzle extends Game {
public var inputPassword:TextInput;
private var sdBonus:SdBonus;
public var txtComment:TextField;
public var tip_17:Tip;
public var rabbitduck:MovieClip;
private var pwd1:String;// = "rabbit"
private var pwd2:String;// = "duck"
public var btSubmit:Button;
private var rabbit:Boolean;// = false
private var pwd1En:String;// = "rabbit"
private var pwd2En:String;// = "duck"
public var txtPassword:TextField;
private var duck:Boolean;// = false
public function Puzzle(){
sdBonus = new SdBonus();
super();
__setProp_btSubmit_Puzzle_Calque2_0();
}
private function checkPassword(_arg1:MouseEvent):void{
if ((((inputPassword.text.toLowerCase() == pwd1)) || ((inputPassword.text.toLowerCase() == pwd1En)))){
rabbit = true;
inputPassword.text = "";
txtComment.text = Language["oneRemain"];
sdBonus.play();
check();
} else {
if ((((inputPassword.text.toLowerCase() == pwd2)) || ((inputPassword.text.toLowerCase() == pwd2En)))){
duck = true;
txtComment.text = Language["oneRemain"];
inputPassword.text = "";
sdBonus.play();
check();
} else {
txtComment.text = Language["retry"];
};
};
}
private function check():void{
if (((duck) && (rabbit))){
win();
this["rabbitduck"].visible = true;
txtComment.text = Language["congratulations"];
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtPassword.text = Language["typePassword2"];
btSubmit.label = Language["send"];
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
this["rabbitduck"].visible = false;
pwd1 = Language["rabbit"];
pwd2 = Language["duck"];
}
override public function stopGame():void{
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
super.stopGame();
}
function __setProp_btSubmit_Puzzle_Calque2_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.games
Section 23
//Resolution (com.games.Resolution)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
import flash.system.*;
public class Resolution extends Game {
public var txt:TextField;
public var tip_18:Tip;
override public function stopGame():void{
super.stopGame();
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txt.text = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
if (main.so.data.oldResolutionX){
if (((!((main.so.data.oldResolutionX == Capabilities.screenResolutionX))) || (!((main.so.data.oldResolutionY == Capabilities.screenResolutionY))))){
win();
};
//unresolved jump
};
main.so.data.oldResolutionX = Capabilities.screenResolutionX;
main.so.data.oldResolutionY = Capabilities.screenResolutionY;
main.so.flush();
}
override protected function catGoTo():void{
win();
}
}
}//package com.games
Section 24
//Screenshot (com.games.Screenshot)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
public class Screenshot extends Game {
public var inputPassword:TextInput;
public var tip_19:Tip;
public var txtComment:TextField;
public var btDisplay:Button;
public var btSubmit:Button;
private var mc:MyMovieClip;
private var toHide:int;// = 0
public var txtPassword:TextField;
private var pwd:String;
public function Screenshot(){
mc = new MyMovieClip();
super();
__setProp_btSubmit_Screenshot_Calque2_0();
__setProp_btDisplay_Screenshot_Calque2_0();
}
function __setProp_btDisplay_Screenshot_Calque2_0(){
try {
btDisplay["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btDisplay.emphasized = false;
btDisplay.enabled = true;
btDisplay.label = "Show";
btDisplay.labelPlacement = "right";
btDisplay.selected = false;
btDisplay.toggle = false;
btDisplay.visible = true;
try {
btDisplay["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function hide():void{
tip_19.visible = false;
mc.removeAllChildren();
btDisplay.visible = true;
}
private function checkPassword(_arg1:MouseEvent):void{
if (inputPassword.text.toLowerCase() == pwd){
win();
} else {
gameover();
txtComment.text = Language["wrongAnwser"];
};
}
function __setProp_btSubmit_Screenshot_Calque2_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtPassword.text = Language["howMany"];
btSubmit.label = Language["send"];
btDisplay.label = Language["show"];
btDisplay.addEventListener(MouseEvent.CLICK, generate);
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
addChild(mc);
tip_19.visible = false;
}
override public function stopGame():void{
clearTimeout(toHide);
btDisplay.removeEventListener(MouseEvent.CLICK, generate);
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
super.stopGame();
}
private function generate(_arg1:MouseEvent):void{
var _local4:TheCircle;
var _local2:int = ((Math.random() * 15) + 10);
pwd = String(_local2);
var _local3:int;
while (_local3 < _local2) {
_local4 = new TheCircle();
_local4.alpha = (0.5 + (Math.random() * 0.25));
_local4.x = ((Math.random() * 500) + 25);
_local4.y = ((Math.random() * 325) + 25);
_local4.scaleX = ((Math.random() * 0.5) + 0.5);
_local4.scaleY = _local4.scaleX;
mc.addChild(_local4);
_local3++;
};
tip_19.visible = true;
toHide = setTimeout(hide, 1500);
btDisplay.visible = false;
}
}
}//package com.games
Section 25
//Search (com.games.Search)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
public class Search extends Game {
public var tip_20:Tip;
public var heart:MovieClip;
private var initX:int;
private var initY:int;
private var conn:LocalConnection;
private var toConnect:int;// = 0
public var key:MovieClip;
private function connect():void{
conn = new LocalConnection();
conn.allowDomain("*");
conn.allowInsecureDomain("*");
conn.addEventListener(StatusEvent.STATUS, onStatus);
conn.client = this;
try {
conn.connect("myConnectionSearch1");
} catch(error:ArgumentError) {
toConnect = setTimeout(connect, 1000);
};
}
function onStatus(_arg1:StatusEvent):void{
switch (_arg1.level){
case "status":
break;
case "error":
break;
};
}
public function drag(_arg1:MouseEvent=null):void{
key.drag = true;
}
private function enterFrame(_arg1:Event):void{
if (heart.bbox.hitTestObject(key.bbox)){
win();
return;
};
if (key.drag){
key.x = mouseX;
key.y = mouseY;
};
}
public function drop(_arg1:MouseEvent=null):void{
key.drag = false;
key.x = initX;
key.y = initY;
}
override public function init(_arg1:Main):void{
super.init(_arg1);
connect();
initX = key.x;
initY = key.y;
key.addEventListener(Event.ENTER_FRAME, enterFrame);
}
override public function stopGame():void{
super.stopGame();
clearTimeout(toConnect);
key.removeEventListener(Event.ENTER_FRAME, enterFrame);
conn.removeEventListener(StatusEvent.STATUS, onStatus);
}
public function youWin():void{
win();
}
}
}//package com.games
Section 26
//Secret (com.games.Secret)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.media.*;
public class Secret extends Game {
public var rope2:MovieClip;
public var circle:MovieClip;
private var scMetal:SoundChannel;
private var scSecret:SoundChannel;
private var sdSecret:SdSecret;
public var tip_21:Tip;
private var lastPosition:Number;
private var unlocked:Boolean;// = false
private var oldAngle:Number;// = 0
public var rope:MovieClip;
private var drag:Boolean;// = false
private var sdMetal:SdClick;
public function Secret(){
sdMetal = new SdClick();
sdSecret = new SdSecret();
super();
}
override public function stopGame():void{
circle.trigger.removeEventListener(MouseEvent.MOUSE_DOWN, down);
circle.trigger.removeEventListener(Event.ENTER_FRAME, enterFrame);
stage.removeEventListener(MouseEvent.MOUSE_UP, up);
super.stopGame();
}
private function up(_arg1:MouseEvent):void{
drag = false;
}
private function getAngle():Number{
var _local1:Number = ((-(Math.atan2((mouseY - circle.y), (mouseX - circle.x))) * 180) / Math.PI);
return (_local1);
}
override public function init(_arg1:Main):void{
super.init(_arg1);
circle.trigger.addEventListener(MouseEvent.MOUSE_DOWN, down);
circle.trigger.addEventListener(Event.ENTER_FRAME, enterFrame);
circle.trigger.buttonMode = true;
stage.addEventListener(MouseEvent.MOUSE_UP, up);
rope.initY = rope.y;
rope2.initY = rope2.y;
}
private function down(_arg1:MouseEvent):void{
drag = true;
oldAngle = getAngle();
lastPosition = oldAngle;
}
private function enterFrame(_arg1:Event):void{
var _local2:Number;
var _local3:Date;
if (drag){
_local2 = (getAngle() - oldAngle);
if ((((_local2 > 0)) && ((rope.y > -300)))){
circle.rotation = -(getAngle());
rope.y = (rope.y - (_local2 / 6));
rope2.y = (rope2.y + (_local2 / 6));
lastPosition = (lastPosition + (_local2 / 6));
if (((!(unlocked)) && ((rope.y <= -300)))){
unlocked = true;
scSecret = sdSecret.play();
_local3 = new Date();
main.so.data.unlocked = _local3.getTime();
main.so.flush();
};
if (lastPosition > 15){
lastPosition = 0;
if (scMetal){
scMetal.stop();
};
scMetal = sdMetal.play(0);
};
};
oldAngle = getAngle();
} else {
if (rope.y < rope.initY){
};
};
}
}
}//package com.games
Section 27
//Slow (com.games.Slow)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.ui.*;
public class Slow extends Game {
var coordX:int;// = 0
var coordY:int;// = 0
public var bt:Button;
var hit:int;// = 0
public var cursor:Cursor;
private var ingame:Boolean;// = false
public var cursor2:Cursor;
public var path:MovieClip;
public var tip_22:Tip;
public var btStart:Button;
private var speedX:Number;// = 0
private var speedY:Number;// = 0
public function Slow(){
__setProp_bt_Slow_Calque7_0();
__setProp_btStart_Slow_Calque7_0();
}
function __setProp_btStart_Slow_Calque7_0(){
try {
btStart["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btStart.emphasized = false;
btStart.enabled = true;
btStart.label = "Keep pressing";
btStart.labelPlacement = "right";
btStart.selected = false;
btStart.toggle = false;
btStart.visible = true;
try {
btStart["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override protected function gameover():void{
var _local1:Particles = new Particles(ParticleMouse);
_local1.x = cursor.x;
_local1.y = cursor.x;
_local1.velocityMax = 0.5;
_local1.gravity = 0.01;
_local1.frequency = 1;
_local1.totalTime = 200;
_local1.slowDown = 0.99;
super.gameover();
}
override public function init(_arg1:Main):void{
btStart.addEventListener(MouseEvent.CLICK, start);
btStart.label = Language["start"];
bt.visible = false;
super.init(_arg1);
}
override public function stopGame():void{
super.stopGame();
cursor.visible = false;
ingame = false;
btStart.removeEventListener(MouseEvent.CLICK, start);
stage.removeEventListener(MouseEvent.CLICK, click);
cursor.removeEventListener(Event.ENTER_FRAME, enterFrame);
}
public function Mirror():void{
addEventListener(Event.REMOVED_FROM_STAGE, removed);
}
private function start(_arg1:MouseEvent):void{
Mouse.hide();
cursor.addEventListener(Event.ENTER_FRAME, enterFrame);
bt.visible = true;
btStart.visible = false;
cursor.x = mouseX;
cursor.y = mouseY;
stage.addEventListener(MouseEvent.CLICK, click);
coordX = mouseX;
coordY = mouseY;
ingame = true;
}
private function click(_arg1:MouseEvent):void{
if (bt.hitTestPoint(cursor.x, cursor.y)){
win();
};
}
private function enterFrame(_arg1:Event):void{
cursor.x = (cursor.x + ((mouseX - coordX) * 10));
cursor.y = (cursor.y + ((mouseY - coordY) * 10));
coordX = mouseX;
coordY = mouseY;
if ((((((((((cursor.x < 0)) || ((cursor.x > 550)))) || ((cursor.y < 0)))) || ((cursor.y > 400)))) || (path.hitTestPoint(cursor.x, cursor.y, true)))){
gameover();
};
}
function __setProp_bt_Slow_Calque7_0(){
try {
bt["componentInspectorSetting"] = true;
} catch(e:Error) {
};
bt.emphasized = false;
bt.enabled = true;
bt.label = ":)";
bt.labelPlacement = "right";
bt.selected = false;
bt.toggle = false;
bt.visible = true;
try {
bt["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function released(_arg1:MouseEvent):void{
if (ingame){
gameover();
};
}
}
}//package com.games
Section 28
//Tabulation (com.games.Tabulation)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class Tabulation extends Game {
public var bt2:MovieClip;
public var bt3:MovieClip;
public var tip_23:Tip;
public var bt4:MovieClip;
public var msk:MovieClip;
public var bt1:MovieClip;
private function click(_arg1:MouseEvent):void{
win();
}
override public function init(_arg1:Main):void{
super.init(_arg1);
bt1.bt.setStyle("icon", new Tab());
bt2.bt.setStyle("icon", new Tab());
bt3.bt.setStyle("icon", new Tab());
bt4.bt.setStyle("icon", new Enter());
bt4.bt.addEventListener(MouseEvent.CLICK, click);
main.stage.focus = bt1.bt;
}
override public function stopGame():void{
super.stopGame();
bt4.bt.removeEventListener(MouseEvent.CLICK, click);
}
override protected function keyUp(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 13){
if (main.stage.focus == bt4.bt){
bt4.bt.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
};
}
}
}//package com.games
Section 29
//TheButterfly (com.games.TheButterfly)
package com.games {
import flash.display.*;
import com.my.*;
public dynamic class TheButterfly extends MyMovieClip {
public function TheButterfly(){
addFrameScript(0, frame1, 179, frame180, 260, frame261, 417, frame418);
}
function frame261(){
b.gotoAndStop(2);
}
function frame180(){
b.gotoAndStop(1);
}
function frame1(){
b.gotoAndStop(2);
}
function frame418(){
stop();
MovieClip(parent).removeChild(this);
}
}
}//package com.games
Section 30
//TheCat (com.games.TheCat)
package com.games {
import flash.display.*;
import flash.events.*;
import com.*;
import com.my.*;
import flash.utils.*;
public class TheCat extends MyMovieClip {
private const SPEED:int = 6;
public var game:Cat;
private var sdCat:SdCat;
public var canCatch:Boolean;// = false
private var sdMouse:SdMouse;
private var targetY:int;
private var targetX:int;
private var speedX:Number;// = 0
private var speedY:Number;// = 0
public var main:Main;
public function TheCat():void{
sdCat = new SdCat();
sdMouse = new SdMouse();
super();
addFrameScript(0, frame1, 4, frame5, 13, frame14, 33, frame34);
buttonMode = true;
}
public function runaway():void{
}
private function added(_arg1:Event):void{
}
private function catCatch(_arg1:MouseEvent):void{
}
private function run():void{
addEventListener(Event.ENTER_FRAME, enterFrame);
gotoAndStop("run");
scaleX = -1;
}
function frame14(){
stop();
}
private function moveToMouse(_arg1:Event):void{
gotoAndStop("run");
var _local2:* = Math.atan2((targetY - y), (targetX - x));
speedX = (Math.cos(_local2) * SPEED);
speedY = (Math.sin(_local2) * SPEED);
x = (x + speedX);
y = (y + speedY);
if (MyMath.pythagore((targetX - x), (targetY - y)) < 10){
gotoAndStop("eat");
sdMouse.play();
setTimeout(game.win, 1500);
game.mouse.visible = false;
removeEventListener(Event.ENTER_FRAME, moveToMouse);
};
}
function frame34(){
MovieClip(parent).removeChild(this);
stop();
}
public function sit():void{
addEventListener(MouseEvent.MOUSE_UP, catCatch);
}
public function goto(_arg1:int, _arg2:int):void{
targetX = _arg1;
targetY = _arg2;
addEventListener(Event.ENTER_FRAME, moveToMouse);
buttonMode = false;
mouseEnabled = false;
sdCat.play();
}
private function stopCat(_arg1:Event=null):void{
gotoAndStop("sit");
removeEventListener(Event.ENTER_FRAME, moveToMouse);
removeEventListener(MouseEvent.MOUSE_UP, catCatch);
removeEventListener(MouseEvent.ROLL_OVER, rollOver);
removeEventListener(Event.ENTER_FRAME, enterFrame);
}
private function enterFrame(_arg1:Event):void{
x = (x - 0.3);
y = (y - 0.3);
scaleX = (scaleX - 0.1);
scaleY = (scaleY - 0.1);
alpha = (alpha - 0.05);
if ((((x > 1000)) || ((x < -300)))){
stopCat();
};
}
function frame5(){
stop();
}
private function rollOver(_arg1:Event):void{
run();
sdCat.play();
}
function frame1(){
stop();
}
}
}//package com.games
Section 31
//Time (com.games.Time)
package com.games {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class Time extends Game {
private const MILI_YEAR:Number = 60000;
private var delay:Number;// = 0
public var canne:MovieClip;
public var lolipop:MovieClip;
private var age:String;// = "baby"
private var currentObject:MovieClip;// = null
public var oldMan:MovieClip;
public var box:MovieClip;
public var txtYear:TextField;
private var startTime:Number;// = 0
private var currentAge:MovieClip;
public var baby:MovieClip;
public var man:MovieClip;
private var ok:int;// = 0
private var sdBonus:SdBonus;
public var tip_25:Tip;
public var shoes:MovieClip;
private var oldManDone:Boolean;// = false
public var txtAge:TextField;
private var dragedObject:MovieClip;// = null
private var manDone:Boolean;// = false
private var babyDone:Boolean;// = false
public function Time(){
sdBonus = new SdBonus();
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
oldManAge();
}
override public function init(_arg1:Main):void{
stop();
super.init(_arg1);
stage.addEventListener(MouseEvent.MOUSE_UP, drop);
lolipop.addEventListener(MouseEvent.MOUSE_DOWN, drag);
shoes.addEventListener(MouseEvent.MOUSE_DOWN, drag);
canne.addEventListener(MouseEvent.MOUSE_DOWN, drag);
lolipop.coord = {x:lolipop.x, y:lolipop.y};
shoes.coord = {x:shoes.x, y:shoes.y};
canne.coord = {x:canne.x, y:canne.y};
lolipop.buttonMode = true;
shoes.buttonMode = true;
canne.buttonMode = true;
var _local2:Date = new Date();
startTime = _local2.getTime();
if (((!(main.so.data.startTime)) || ((main.so.data.startTime > startTime)))){
main.so.data.startTime = startTime;
main.so.flush();
};
startTime = main.so.data.startTime;
addEventListener(Event.ENTER_FRAME, enterFrame);
txtYear.text = Language["oneMinOneYear"];
}
override public function stopGame():void{
super.stopGame();
stage.removeEventListener(MouseEvent.MOUSE_UP, drop);
lolipop.removeEventListener(MouseEvent.MOUSE_DOWN, drag);
shoes.removeEventListener(MouseEvent.MOUSE_DOWN, drag);
canne.removeEventListener(MouseEvent.MOUSE_DOWN, drag);
removeEventListener(Event.ENTER_FRAME, enterFrame);
}
private function drag(_arg1:MouseEvent):void{
_arg1.currentTarget.startDrag();
dragedObject = (_arg1.currentTarget as MovieClip);
addChild((_arg1.currentTarget as MovieClip));
}
private function manAge():void{
var _local1:Date;
age = "man";
currentAge = man;
currentObject = shoes;
if (!main.so.data.lolipop){
_local1 = new Date();
startTime = _local1.getTime();
main.so.data.startTime = startTime;
main.so.flush();
gotoAndStop("babyAge");
};
}
private function babyAge():void{
age = "baby";
currentAge = baby;
currentObject = lolipop;
}
private function oldManAge():void{
var _local1:Date;
age = "oldMan";
currentAge = oldMan;
currentObject = canne;
if (!main.so.data.lolipop){
_local1 = new Date();
startTime = _local1.getTime();
main.so.data.startTime = startTime;
main.so.flush();
gotoAndStop("babyAge");
} else {
if (!main.so.data.shoes){
_local1 = new Date();
startTime = (_local1.getTime() - (20 * MILI_YEAR));
main.so.data.startTime = startTime;
main.so.flush();
gotoAndStop("manAge");
};
};
}
override public function win():void{
main.so.data.shoes = null;
main.so.data.lolipop = null;
main.so.flush();
super.win();
}
function frame2(){
manAge();
}
function frame1(){
babyAge();
}
private function enterFrame(_arg1:Event){
var _local2:Date = new Date();
delay = (_local2.getTime() - startTime);
if (delay != startTime){
if (Math.round((delay / MILI_YEAR)) >= 2){
txtAge.text = ((String((Math.round(((delay / MILI_YEAR) * 100)) / 100)) + " ") + Language["years"]);
} else {
txtAge.text = ((String((Math.round(((delay / MILI_YEAR) * 100)) / 100)) + " ") + Language["year"]);
};
};
if (delay > (MILI_YEAR * 60)){
gotoAndStop("oldManAge");
} else {
if (delay > (MILI_YEAR * 18)){
gotoAndStop("manAge");
} else {
gotoAndStop("baby");
};
};
}
private function drop(_arg1:MouseEvent):void{
if (!dragedObject){
return;
};
dragedObject.stopDrag();
if (((box.hitTestObject(dragedObject)) && ((dragedObject == currentObject)))){
if (age == "manAge"){
};
if (age == "baby"){
babyDone = true;
lolipop.visible = false;
currentAge.gotoAndPlay(2);
sdBonus.play();
main.so.data.lolipop = 1;
} else {
if (age == "man"){
manDone = true;
shoes.visible = false;
currentAge.gotoAndPlay(2);
sdBonus.play();
main.so.data.shoes = 1;
} else {
if (age == "oldMan"){
oldManDone = true;
canne.visible = false;
currentAge.gotoAndPlay(2);
sdBonus.play();
};
};
};
main.so.flush();
};
dragedObject.x = dragedObject.coord.x;
dragedObject.y = dragedObject.coord.y;
if (((((babyDone) && (manDone))) && (oldManDone))){
win();
};
dragedObject = null;
}
}
}//package com.games
Section 32
//TinyText (com.games.TinyText)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class TinyText extends Game {
public var inputPassword:TextInput;
private var pwdEn:String;// = "microscopic"
public var txtPassword:TextField;
public var txtComment:TextField;
public var txt:TextField;
public var btSubmit:Button;
private var pwd:String;// = "microscopic"
public function TinyText(){
__setProp_btSubmit_TinyText_Calque3_0();
}
function __setProp_btSubmit_TinyText_Calque3_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function checkPassword(_arg1:MouseEvent):void{
if ((((inputPassword.text.toLowerCase() == pwd)) || ((inputPassword.text.toLowerCase() == pwdEn)))){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txt.text = ((((Language["passwordIs"] + "\n") + pwd) + "\n") + pwdEn);
btSubmit.label = Language["send"];
txtPassword.text = Language["typePassword"];
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
pwd = Language["tiny"];
}
override public function stopGame():void{
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
super.stopGame();
}
}
}//package com.games
Section 33
//Tip (com.games.Tip)
package com.games {
import flash.display.*;
import flash.events.*;
import com.*;
import com.my.*;
import mochi.as3.*;
public class Tip extends MyMovieClip {
private var main:Main;
private var sdTip:SdTip;
public static var nbTip:int = 0;
public function Tip(){
sdTip = new SdTip();
super();
addEventListener(Event.ADDED_TO_STAGE, added);
}
private function added(_arg1:Event):void{
main = (MovieClip(root) as Main);
visible = false;
mouseEnabled = false;
if (main.so){
if (main.so.data[name] == "found"){
visible = false;
mouseEnabled = false;
} else {
addEventListener(MouseEvent.CLICK, click);
addEventListener(Event.REMOVED_FROM_STAGE, removed);
visible = true;
mouseEnabled = true;
};
};
}
private function removed(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, added);
removeEventListener(MouseEvent.CLICK, click);
removeEventListener(Event.REMOVED_FROM_STAGE, click);
}
private function click(_arg1:MouseEvent):void{
var _local2:TipMotion;
Tip.nbTip++;
alpha = 0;
removeEventListener(MouseEvent.CLICK, click);
removeEventListener(Event.REMOVED_FROM_STAGE, removed);
main.so.data.tip = Tip.nbTip;
main.so.data[name] = "found";
main.so.data.score = (main.so.data.score + 1);
main.so.flush();
if (Main.main.txtScore){
Main.main.txtScore.text = String(main.so.data.score);
};
if (Main.main.kongregate){
Main.main.kongregate.stats.submit("Stars", main.so.data.score);
};
main.displayNbTip();
sdTip.play();
visible = false;
mouseEnabled = false;
_local2 = new TipMotion();
_local2.x = x;
_local2.y = y;
main.addChild(_local2);
}
}
}//package com.games
Section 34
//URL (com.games.URL)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.*;
import com.my.*;
import com.fx.*;
public class URL extends Game {
public var inputPassword:TextInput;
private var pwdEn:String;// = "here"
public var btSubmit:Button;
public var txtComment:TextField;
public var bt:Button;
public var txtPassword:TextField;
public var tip_24:Tip;
private var url:String;// = ""
public var puzzle1:MovieClip;
public var puzzle2:MovieClip;
public var puzzle3:MovieClip;
public var puzzle4:MovieClip;
public var puzzle5:MovieClip;
public var puzzle6:MovieClip;
private var pwd:String;// = "here"
private var puzzle:MovieClip;// = null
public function URL(){
__setProp_btSubmit_URL_Calque2_0();
__setProp_bt_URL_Calque2_0();
}
private function checkPassword(_arg1:MouseEvent):void{
if ((((inputPassword.text.toLowerCase() == pwd)) || ((inputPassword.text.toLowerCase() == pwdEn)))){
win();
} else {
txtComment.text = Language["wrongPassword"];
};
}
private function show(_arg1:MouseEvent):void{
var _local2:URLRequest = new URLRequest("#password=here");
navigateToURL(_local2, "_blank");
}
private function drop(_arg1:MouseEvent):void{
if (puzzle){
puzzle.stopDrag();
};
}
function __setProp_bt_URL_Calque2_0(){
try {
bt["componentInspectorSetting"] = true;
} catch(e:Error) {
};
bt.emphasized = false;
bt.enabled = true;
bt.label = "Show";
bt.labelPlacement = "right";
bt.selected = false;
bt.toggle = false;
bt.visible = true;
try {
bt["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtPassword.text = Language["typePassword"];
btSubmit.label = Language["send"];
btSubmit.addEventListener(MouseEvent.CLICK, checkPassword);
stage.addEventListener(MouseEvent.MOUSE_UP, drop);
var _local2 = 1;
while (_local2 < 7) {
this[("puzzle" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, drag);
this[("puzzle" + _local2)].buttonMode = true;
_local2++;
};
pwd = Language["here"];
bt.label = Language["show"];
if (main.allowDomainAccess){
bt.visible = false;
};
bt.addEventListener(MouseEvent.CLICK, show);
}
override public function stopGame():void{
btSubmit.removeEventListener(MouseEvent.CLICK, checkPassword);
stage.removeEventListener(MouseEvent.MOUSE_UP, drop);
var _local1 = 1;
while (_local1 < 7) {
this[("puzzle" + _local1)].removeEventListener(MouseEvent.MOUSE_DOWN, drag);
_local1++;
};
super.stopGame();
}
function __setProp_btSubmit_URL_Calque2_0(){
try {
btSubmit["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btSubmit.emphasized = false;
btSubmit.enabled = true;
btSubmit.label = "Submit";
btSubmit.labelPlacement = "right";
btSubmit.selected = false;
btSubmit.toggle = false;
btSubmit.visible = true;
try {
btSubmit["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function drag(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
addChild(_local2);
_local2.startDrag();
puzzle = _local2;
}
}
}//package com.games
Section 35
//VieEnRose (com.games.VieEnRose)
package com.games {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import com.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
import com.djw.events.io.*;
import flash.media.*;
import flash.system.*;
public class VieEnRose extends Game {
public var btDontHave:Button;
public var btDetect:Button;
private var camera:Camera;
public var border:MovieClip;
public var uploadURL:URLRequest;
private var _fileRef:FileReference;
private var noCamera:Boolean;// = true
public var circle:CircleRose;
public var cVideo:MovieClip;
private var siCheck:int;// = -1
public var txtRose:TextField;
private var i:int;// = 0
public var txtError:TextField;
private var bitmapData:BitmapData;
private var video:Video;
public function VieEnRose(){
_fileRef = new FileReference();
super();
__setProp_btDetect_VieEnRose_Calque6_0();
__setProp_btDontHave_VieEnRose_Calque6_0();
}
private function upload(_arg1:MouseEvent):void{
uploadURL = new URLRequest(main.URL_VIE_EN_ROSE);
browse();
_fileRef.addEventListener(Event.SELECT, selectFile);
_fileRef.addEventListener(Event.OPEN, openFile);
_fileRef.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatus);
_fileRef.addEventListener(Event.COMPLETE, completeUpload);
_fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityError);
_fileRef.addEventListener(IOErrorEvent.IO_ERROR, ioError);
_fileRef.addEventListener(Event.CANCEL, cancel);
_fileRef.addEventListener(ProgressEvent.PROGRESS, uploadProgress);
_fileRef.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, uploadComplete);
}
private function ioError(_arg1:IOErrorEvent){
dispatchEvent(new UploadFailedEvent());
}
private function check():void{
var _local1:ColorTransform;
if (camera){
bitmapData.draw(video);
_local1 = new ColorTransform();
_local1.color = averageColour(bitmapData);
if ((((((_local1.redOffset > _local1.blueOffset)) && ((_local1.redOffset > _local1.blueOffset)))) && ((_local1.redOffset > 120)))){
i = (i + 10);
this["circle"].value = (i / 100);
if (i > 100){
win();
};
};
border.transform.colorTransform = _local1;
};
}
public function browse():void{
_fileRef.browse([new FileFilter("Images (*.jpg; *.png)", "*.jpg;*.png")]);
}
override public function init(_arg1:Main):void{
super.init(_arg1);
txtRose.text = Language["eddith"];
detect();
btDetect.label = Language["detectWebcam"];
btDetect.addEventListener(MouseEvent.CLICK, detect);
btDontHave.label = Language["noWebcam"];
btDontHave.addEventListener(MouseEvent.CLICK, upload);
this["circle"].value = 0;
}
override public function stopGame():void{
clearInterval(siCheck);
if (camera){
camera.removeEventListener(ActivityEvent.ACTIVITY, activityHandler);
};
btDetect.removeEventListener(MouseEvent.CLICK, detect);
btDontHave.removeEventListener(MouseEvent.CLICK, upload);
if (video){
cVideo.removeChild(video);
};
if (_fileRef){
_fileRef.cancel();
_fileRef.removeEventListener(Event.SELECT, selectFile);
_fileRef.removeEventListener(Event.OPEN, openFile);
_fileRef.removeEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatus);
_fileRef.removeEventListener(Event.COMPLETE, completeUpload);
_fileRef.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityError);
_fileRef.removeEventListener(IOErrorEvent.IO_ERROR, ioError);
_fileRef.removeEventListener(Event.CANCEL, cancel);
_fileRef.removeEventListener(ProgressEvent.PROGRESS, uploadProgress);
_fileRef.removeEventListener(DataEvent.UPLOAD_COMPLETE_DATA, uploadComplete);
};
camera = null;
video = null;
super.stopGame();
}
private function selectFile(_arg1:Event):void{
_fileRef.upload(uploadURL);
}
private function dontHave(_arg1:MouseEvent):void{
}
private function completeUpload(_arg1:Event):void{
}
private function httpStatus(_arg1:HTTPStatusEvent){
dispatchEvent(new UploadFailedEvent());
}
private function detect(_arg1:MouseEvent=null):void{
var pEvt = _arg1;
Security.showSettings(SecurityPanel.PRIVACY);
try {
camera = Camera.getCamera();
} catch(e) {
txtError.text = e;
};
if (camera != null){
camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
video = new Video(200, 150);
video.attachCamera(camera);
cVideo.addChild(video);
noCamera = false;
bitmapData = new BitmapData(video.width, video.height);
txtError.text = "";
} else {
noCamera = true;
};
if (noCamera){
txtError.text = Language["errorWebcam"];
};
}
private function securityError(_arg1:SecurityErrorEvent){
dispatchEvent(new UploadFailedEvent());
}
function __setProp_btDetect_VieEnRose_Calque6_0(){
try {
btDetect["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btDetect.emphasized = false;
btDetect.enabled = true;
btDetect.label = "Detect Webcam";
btDetect.labelPlacement = "right";
btDetect.selected = false;
btDetect.toggle = false;
btDetect.visible = true;
try {
btDetect["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_btDontHave_VieEnRose_Calque6_0(){
try {
btDontHave["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btDontHave.emphasized = false;
btDontHave.enabled = true;
btDontHave.label = "I Don't have a webcam";
btDontHave.labelPlacement = "right";
btDontHave.selected = false;
btDontHave.toggle = false;
btDontHave.visible = true;
try {
btDontHave["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function activityHandler(_arg1:ActivityEvent):void{
if (siCheck == -1){
siCheck = setInterval(check, 100);
};
}
private function averageColour(_arg1:BitmapData):uint{
var _local6:Number;
var _local8:int;
var _local2:Number = 0;
var _local3:Number = 0;
var _local4:Number = 0;
var _local5:Number = 0;
var _local7:int;
while (_local7 < _arg1.width) {
_local8 = 0;
while (_local8 < _arg1.height) {
_local6 = _arg1.getPixel(_local7, _local8);
_local2 = (_local2 + ((_local6 >> 16) & 0xFF));
_local3 = (_local3 + ((_local6 >> 8) & 0xFF));
_local4 = (_local4 + (_local6 & 0xFF));
_local5++;
_local8++;
};
_local7++;
};
_local2 = (_local2 / _local5);
_local3 = (_local3 / _local5);
_local4 = (_local4 / _local5);
return ((((_local2 << 16) | (_local3 << 8)) | _local4));
}
private function uploadProgress(_arg1:ProgressEvent):void{
}
private function uploadComplete(_arg1:DataEvent):void{
var _local2:URLVariables = new URLVariables();
_local2.decode(_arg1.data);
dispatchEvent(new UploadCompleteEvent());
if (_local2.ok == "true"){
win();
} else {
txtError.text = (Language["noPink"] + "\n");
};
if (_local2.feedback == "errorExtension"){
txtError.appendText(Language["errorFormat"]);
} else {
if (_local2.feedback == "errorImage"){
txtError.appendText(Language["errorPicture"]);
} else {
if (_local2.feedback == "errorSize"){
txtError.appendText(Language["errorSize"]);
};
};
};
}
private function openFile(_arg1:Event):void{
}
public function checkVictory():void{
}
private function cancel(_arg1:Event):void{
}
}
}//package com.games
Section 36
//PropTween (com.greensock.core.PropTween)
package com.greensock.core {
public class PropTween {
public var priority:int;
public var start:Number;
public var prevNode:PropTween;
public var change:Number;
public var target:Object;
public var name:String;
public var property:String;
public var nextNode:PropTween;
public var isPlugin:Boolean;
public function PropTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean, _arg7:PropTween=null, _arg8:int=0){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
if (_arg7){
_arg7.prevNode = this;
this.nextNode = _arg7;
};
this.priority = _arg8;
}
}
}//package com.greensock.core
Section 37
//SimpleTimeline (com.greensock.core.SimpleTimeline)
package com.greensock.core {
public class SimpleTimeline extends TweenCore {
public var autoRemoveChildren:Boolean;
protected var _lastChild:TweenCore;
protected var _firstChild:TweenCore;
public function SimpleTimeline(_arg1:Object=null){
super(0, _arg1);
}
override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
var _local5:Number;
var _local6:TweenCore;
var _local4:TweenCore = _firstChild;
this.cachedTotalTime = _arg1;
this.cachedTime = _arg1;
while (_local4) {
_local6 = _local4.nextNode;
if (((_local4.active) || ((((((_arg1 >= _local4.cachedStartTime)) && (!(_local4.cachedPaused)))) && (!(_local4.gc)))))){
if (!_local4.cachedReversed){
_local4.renderTime(((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale), _arg2, false);
} else {
_local5 = (_local4.cacheIsDirty) ? _local4.totalDuration : _local4.cachedTotalDuration;
_local4.renderTime((_local5 - ((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale)), _arg2, false);
};
};
_local4 = _local6;
};
}
public function addChild(_arg1:TweenCore):void{
if (((!(_arg1.gc)) && (_arg1.timeline))){
_arg1.timeline.remove(_arg1, true);
};
_arg1.timeline = this;
if (_arg1.gc){
_arg1.setEnabled(true, true);
};
if (_firstChild){
_firstChild.prevNode = _arg1;
};
_arg1.nextNode = _firstChild;
_firstChild = _arg1;
_arg1.prevNode = null;
}
public function remove(_arg1:TweenCore, _arg2:Boolean=false):void{
if (_arg1.gc){
return;
};
if (!_arg2){
_arg1.setEnabled(false, true);
};
if (_arg1.nextNode){
_arg1.nextNode.prevNode = _arg1.prevNode;
} else {
if (_lastChild == _arg1){
_lastChild = _arg1.prevNode;
};
};
if (_arg1.prevNode){
_arg1.prevNode.nextNode = _arg1.nextNode;
} else {
if (_firstChild == _arg1){
_firstChild = _arg1.nextNode;
};
};
}
public function get rawTime():Number{
return (this.cachedTotalTime);
}
}
}//package com.greensock.core
Section 38
//TweenCore (com.greensock.core.TweenCore)
package com.greensock.core {
import com.greensock.*;
public class TweenCore {
public var initted:Boolean;
protected var _hasUpdate:Boolean;
public var active:Boolean;
protected var _delay:Number;
public var cachedTime:Number;
public var cachedReversed:Boolean;
public var nextNode:TweenCore;
protected var _rawPrevTime:Number;// = -1
public var vars:Object;
public var cachedTotalTime:Number;
public var timeline:SimpleTimeline;
public var data;
public var cachedStartTime:Number;
public var prevNode:TweenCore;
public var cachedDuration:Number;
public var gc:Boolean;
protected var _pauseTime:Number;
public var cacheIsDirty:Boolean;
public var cachedPaused:Boolean;
public var cachedTimeScale:Number;
public var cachedTotalDuration:Number;
public static const version:Number = 1.13;
protected static var _classInitted:Boolean;
public function TweenCore(_arg1:Number=0, _arg2:Object=null){
this.vars = ((_arg2) || ({}));
this.cachedDuration = (this.cachedTotalDuration = ((_arg1) || (0)));
_delay = ((this.vars.delay) || (0));
this.cachedTimeScale = ((this.vars.timeScale) || (1));
this.active = Boolean((((((_arg1 == 0)) && ((_delay == 0)))) && (!((this.vars.immediateRender == false)))));
this.cachedTotalTime = (this.cachedTime = 0);
this.data = this.vars.data;
if (!_classInitted){
if (isNaN(TweenLite.rootFrame)){
TweenLite.initClass();
_classInitted = true;
} else {
return;
};
};
var _local3:SimpleTimeline = ((this.vars.timeline is SimpleTimeline)) ? this.vars.timeline : (this.vars.useFrames) ? TweenLite.rootFramesTimeline : TweenLite.rootTimeline;
this.cachedStartTime = (_local3.cachedTotalTime + _delay);
_local3.addChild(this);
if (this.vars.reversed){
this.cachedReversed = true;
};
if (this.vars.paused){
this.paused = true;
};
}
public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
}
public function get delay():Number{
return (_delay);
}
public function get duration():Number{
return (this.cachedDuration);
}
public function restart(_arg1:Boolean=false, _arg2:Boolean=true):void{
this.reversed = false;
this.paused = false;
this.setTotalTime((_arg1) ? -(_delay) : 0, _arg2);
}
public function set reversed(_arg1:Boolean):void{
if (_arg1 != this.cachedReversed){
this.cachedReversed = _arg1;
setTotalTime(this.cachedTotalTime, true);
};
}
public function set startTime(_arg1:Number):void{
var _local2:Boolean = Boolean(((!((this.timeline == null))) && (((!((_arg1 == this.cachedStartTime))) || (this.gc)))));
this.cachedStartTime = _arg1;
if (_local2){
this.timeline.addChild(this);
};
}
public function set delay(_arg1:Number):void{
this.startTime = (this.startTime + (_arg1 - _delay));
_delay = _arg1;
}
public function resume():void{
this.paused = false;
}
public function get paused():Boolean{
return (this.cachedPaused);
}
public function play():void{
this.reversed = false;
this.paused = false;
}
public function set duration(_arg1:Number):void{
this.cachedDuration = (this.cachedTotalDuration = _arg1);
setDirtyCache(false);
}
public function complete(_arg1:Boolean=false, _arg2:Boolean=false):void{
if (!_arg1){
renderTime(this.cachedTotalDuration, _arg2, false);
return;
};
if (this.timeline.autoRemoveChildren){
this.setEnabled(false, false);
} else {
this.active = false;
};
if (!_arg2){
if (((((this.vars.onComplete) && ((this.cachedTotalTime == this.cachedTotalDuration)))) && (!(this.cachedReversed)))){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
} else {
if (((((this.cachedReversed) && ((this.cachedTotalTime == 0)))) && (this.vars.onReverseComplete))){
this.vars.onReverseComplete.apply(null, this.vars.onReverseCompleteParams);
};
};
};
}
public function invalidate():void{
}
public function get totalTime():Number{
return (this.cachedTotalTime);
}
public function get reversed():Boolean{
return (this.cachedReversed);
}
public function get startTime():Number{
return (this.cachedStartTime);
}
public function set currentTime(_arg1:Number):void{
setTotalTime(_arg1, false);
}
protected function setDirtyCache(_arg1:Boolean=true):void{
var _local2:TweenCore = (_arg1) ? this : this.timeline;
while (_local2) {
_local2.cacheIsDirty = true;
_local2 = _local2.timeline;
};
}
public function reverse(_arg1:Boolean=true):void{
this.reversed = true;
if (_arg1){
this.paused = false;
} else {
if (this.gc){
this.setEnabled(true, false);
};
};
}
public function set paused(_arg1:Boolean):void{
if (((!((_arg1 == this.cachedPaused))) && (this.timeline))){
if (_arg1){
_pauseTime = this.timeline.rawTime;
} else {
this.cachedStartTime = (this.cachedStartTime + (this.timeline.rawTime - _pauseTime));
_pauseTime = NaN;
setDirtyCache(false);
};
this.cachedPaused = _arg1;
this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration))));
};
if (((!(_arg1)) && (this.gc))){
this.setTotalTime(this.cachedTotalTime, false);
this.setEnabled(true, false);
};
}
public function kill():void{
setEnabled(false, false);
}
public function set totalTime(_arg1:Number):void{
setTotalTime(_arg1, false);
}
public function get currentTime():Number{
return (this.cachedTime);
}
protected function setTotalTime(_arg1:Number, _arg2:Boolean=false):void{
var _local3:Number;
var _local4:Number;
if (this.timeline){
_local3 = (((_pauseTime) || ((_pauseTime == 0)))) ? _pauseTime : this.timeline.cachedTotalTime;
if (this.cachedReversed){
_local4 = (this.cacheIsDirty) ? this.totalDuration : this.cachedTotalDuration;
this.cachedStartTime = (_local3 - ((_local4 - _arg1) / this.cachedTimeScale));
} else {
this.cachedStartTime = (_local3 - (_arg1 / this.cachedTimeScale));
};
if (!this.timeline.cacheIsDirty){
setDirtyCache(false);
};
if (this.cachedTotalTime != _arg1){
renderTime(_arg1, _arg2, false);
};
};
}
public function pause():void{
this.paused = true;
}
public function set totalDuration(_arg1:Number):void{
this.duration = _arg1;
}
public function get totalDuration():Number{
return (this.cachedTotalDuration);
}
public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{
if (_arg1){
this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration))));
if (((!(_arg2)) && (this.gc))){
this.timeline.addChild(this);
};
} else {
this.active = false;
if (!_arg2){
this.timeline.remove(this, true);
};
};
this.gc = !(_arg1);
return (false);
}
}
}//package com.greensock.core
Section 39
//Sine (com.greensock.easing.Sine)
package com.greensock.easing {
public class Sine {
private static const _HALF_PI:Number = 1.5707963267949;
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (((_arg3 * Math.sin(((_arg1 / _arg4) * _HALF_PI))) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * _HALF_PI))) + _arg3) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((-(_arg3) * 0.5) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2));
}
}
}//package com.greensock.easing
Section 40
//TweenEvent (com.greensock.events.TweenEvent)
package com.greensock.events {
import flash.events.*;
public class TweenEvent extends Event {
public static const COMPLETE:String = "complete";
public static const START:String = "start";
public static const UPDATE:String = "change";
public static const REVERSE_COMPLETE:String = "reverseComplete";
public static const INIT:String = "init";
public static const VERSION:Number = 1.1;
public static const REPEAT:String = "repeat";
public function TweenEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
override public function clone():Event{
return (new TweenEvent(this.type, this.bubbles, this.cancelable));
}
}
}//package com.greensock.events
Section 41
//AutoAlphaPlugin (com.greensock.plugins.AutoAlphaPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _target:Object;
protected var _ignoreVisible:Boolean;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_ignoreVisible = Boolean(("visible" in _arg1));
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (!_ignoreVisible){
_target.visible = Boolean(!((_target.alpha == 0)));
};
}
}
}//package com.greensock.plugins
Section 42
//BevelFilterPlugin (com.greensock.plugins.BevelFilterPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
import flash.filters.*;
public class BevelFilterPlugin extends FilterPlugin {
public static const API:Number = 1;
private static var _propNames:Array = ["distance", "angle", "highlightColor", "highlightAlpha", "shadowColor", "shadowAlpha", "blurX", "blurY", "strength", "quality"];
public function BevelFilterPlugin(){
this.propName = "bevelFilter";
this.overwriteProps = ["bevelFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BevelFilter;
initFilter(_arg2, new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_arg2.quality) || (2))), _propNames);
return (true);
}
}
}//package com.greensock.plugins
Section 43
//BezierPlugin (com.greensock.plugins.BezierPlugin)
package com.greensock.plugins {
import com.greensock.core.*;
import com.greensock.*;
public class BezierPlugin extends TweenPlugin {
protected var _future:Object;
protected var _orient:Boolean;
protected var _orientData:Array;
protected var _target:Object;
protected var _beziers:Object;
public static const API:Number = 1;
protected static const _RAD2DEG:Number = 57.2957795130823;
public function BezierPlugin(){
_future = {};
super();
this.propName = "bezier";
this.overwriteProps = [];
}
override public function killProps(_arg1:Object):void{
var _local2:String;
for (_local2 in _beziers) {
if ((_local2 in _arg1)){
delete _beziers[_local2];
};
};
super.killProps(_arg1);
}
protected function init(_arg1:TweenLite, _arg2:Array, _arg3:Boolean):void{
var _local6:int;
var _local7:String;
var _local8:Object;
_target = _arg1.target;
var _local4:Object = ((_arg1.vars.isTV)==true) ? _arg1.vars.exposedVars : _arg1.vars;
if (_local4.orientToBezier == true){
_orientData = [["x", "y", "rotation", 0, 0.01]];
_orient = true;
} else {
if ((_local4.orientToBezier is Array)){
_orientData = _local4.orientToBezier;
_orient = true;
};
};
var _local5:Object = {};
_local6 = 0;
while (_local6 < _arg2.length) {
for (_local7 in _arg2[_local6]) {
if (_local5[_local7] == undefined){
_local5[_local7] = [_arg1.target[_local7]];
};
if (typeof(_arg2[_local6][_local7]) == "number"){
_local5[_local7].push(_arg2[_local6][_local7]);
} else {
_local5[_local7].push((_arg1.target[_local7] + Number(_arg2[_local6][_local7])));
};
};
_local6++;
};
for (_local7 in _local5) {
this.overwriteProps[this.overwriteProps.length] = _local7;
if (_local4[_local7] != undefined){
if (typeof(_local4[_local7]) == "number"){
_local5[_local7].push(_local4[_local7]);
} else {
_local5[_local7].push((_arg1.target[_local7] + Number(_local4[_local7])));
};
_local8 = {};
_local8[_local7] = true;
_arg1.killVars(_local8, false);
delete _local4[_local7];
};
};
_beziers = parseBeziers(_local5, _arg3);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), false);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:String;
var _local4:Object;
var _local5:Number;
var _local6:uint;
var _local7:Number;
var _local8:Object;
var _local9:Number;
var _local10:Number;
var _local11:Array;
var _local12:Number;
var _local13:Object;
var _local14:Boolean;
if (_arg1 == 1){
for (_local3 in _beziers) {
_local2 = (_beziers[_local3].length - 1);
_target[_local3] = _beziers[_local3][_local2][2];
};
} else {
for (_local3 in _beziers) {
_local6 = _beziers[_local3].length;
if (_arg1 < 0){
_local2 = 0;
} else {
if (_arg1 >= 1){
_local2 = (_local6 - 1);
} else {
_local2 = int((_local6 * _arg1));
};
};
_local5 = ((_arg1 - (_local2 * (1 / _local6))) * _local6);
_local4 = _beziers[_local3][_local2];
if (this.round){
_local7 = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
_target[_local3] = ((_local7)>0) ? int((_local7 + 0.5)) : int((_local7 - 0.5));
} else {
_target[_local3] = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
};
};
};
if (_orient){
_local2 = _orientData.length;
_local8 = {};
while (_local2--) {
_local11 = _orientData[_local2];
_local8[_local11[0]] = _target[_local11[0]];
_local8[_local11[1]] = _target[_local11[1]];
};
_local13 = _target;
_local14 = this.round;
_target = _future;
this.round = false;
_orient = false;
_local2 = _orientData.length;
while (_local2--) {
_local11 = _orientData[_local2];
this.changeFactor = (_arg1 + ((_local11[4]) || (0.01)));
_local12 = ((_local11[3]) || (0));
_local9 = (_future[_local11[0]] - _local8[_local11[0]]);
_local10 = (_future[_local11[1]] - _local8[_local11[1]]);
_local13[_local11[2]] = ((Math.atan2(_local10, _local9) * _RAD2DEG) + _local12);
};
_target = _local13;
this.round = _local14;
_orient = true;
};
}
public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{
var _local3:int;
var _local4:Array;
var _local5:Object;
var _local6:String;
var _local7:Object = {};
if (_arg2){
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 2){
_local5[_local5.length] = [_local4[0], (_local4[1] - ((_local4[2] - _local4[0]) / 4)), _local4[1]];
_local3 = 1;
while (_local3 < (_local4.length - 1)) {
_local5[_local5.length] = [_local4[_local3], (_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)][1])), _local4[(_local3 + 1)]];
_local3++;
};
} else {
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
} else {
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 3){
_local5[_local5.length] = [_local4[0], _local4[1], ((_local4[1] + _local4[2]) / 2)];
_local3 = 2;
while (_local3 < (_local4.length - 2)) {
_local5[_local5.length] = [_local5[(_local3 - 2)][2], _local4[_local3], ((_local4[_local3] + _local4[(_local3 + 1)]) / 2)];
_local3++;
};
_local5[_local5.length] = [_local5[(_local5.length - 1)][2], _local4[(_local4.length - 2)], _local4[(_local4.length - 1)]];
} else {
if (_local4.length == 3){
_local5[_local5.length] = [_local4[0], _local4[1], _local4[2]];
} else {
if (_local4.length == 2){
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
};
};
};
return (_local7);
}
}
}//package com.greensock.plugins
Section 44
//BezierThroughPlugin (com.greensock.plugins.BezierThroughPlugin)
package com.greensock.plugins {
import com.greensock.*;
public class BezierThroughPlugin extends BezierPlugin {
public static const API:Number = 1;
public function BezierThroughPlugin(){
this.propName = "bezierThrough";
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), true);
return (true);
}
}
}//package com.greensock.plugins
Section 45
//BlurFilterPlugin (com.greensock.plugins.BlurFilterPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
import flash.filters.*;
public class BlurFilterPlugin extends FilterPlugin {
public static const API:Number = 1;
private static var _propNames:Array = ["blurX", "blurY", "quality"];
public function BlurFilterPlugin(){
this.propName = "blurFilter";
this.overwriteProps = ["blurFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BlurFilter;
initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2))), _propNames);
return (true);
}
}
}//package com.greensock.plugins
Section 46
//ColorMatrixFilterPlugin (com.greensock.plugins.ColorMatrixFilterPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
import flash.filters.*;
public class ColorMatrixFilterPlugin extends FilterPlugin {
protected var _matrix:Array;
protected var _matrixTween:EndArrayPlugin;
public static const API:Number = 1;
private static var _propNames:Array = [];
protected static var _lumG:Number = 0.71516;
protected static var _lumR:Number = 0.212671;
protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
protected static var _lumB:Number = 0.072169;
public function ColorMatrixFilterPlugin(){
this.propName = "colorMatrixFilter";
this.overwriteProps = ["colorMatrixFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = ColorMatrixFilter;
var _local4:Object = _arg2;
initFilter({remove:_arg2.remove, index:_arg2.index, addFilter:_arg2.addFilter}, new ColorMatrixFilter(_idMatrix.slice()), _propNames);
_matrix = ColorMatrixFilter(_filter).matrix;
var _local5:Array = [];
if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){
_local5 = _local4.matrix;
} else {
if (_local4.relative == true){
_local5 = _matrix.slice();
} else {
_local5 = _idMatrix.slice();
};
_local5 = setBrightness(_local5, _local4.brightness);
_local5 = setContrast(_local5, _local4.contrast);
_local5 = setHue(_local5, _local4.hue);
_local5 = setSaturation(_local5, _local4.saturation);
_local5 = setThreshold(_local5, _local4.threshold);
if (!isNaN(_local4.colorize)){
_local5 = colorize(_local5, _local4.colorize, _local4.amount);
};
};
_matrixTween = new EndArrayPlugin();
_matrixTween.init(_matrix, _local5);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
_matrixTween.changeFactor = _arg1;
ColorMatrixFilter(_filter).matrix = _matrix;
super.changeFactor = _arg1;
}
public static function setSaturation(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Number = (1 - _arg2);
var _local4:Number = (_local3 * _lumR);
var _local5:Number = (_local3 * _lumG);
var _local6:Number = (_local3 * _lumB);
var _local7:Array = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local7, _arg1));
}
public static function setHue(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 * (Math.PI / 180));
var _local3:Number = Math.cos(_arg2);
var _local4:Number = Math.sin(_arg2);
var _local5:Array = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
return (applyMatrix(_local5, _arg1));
}
public static function setContrast(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 + 0.01);
var _local3:Array = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function applyMatrix(_arg1:Array, _arg2:Array):Array{
var _local6:int;
var _local7:int;
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (_arg2);
};
var _local3:Array = [];
var _local4:int;
var _local5:int;
_local6 = 0;
while (_local6 < 4) {
_local7 = 0;
while (_local7 < 5) {
if (_local7 == 4){
_local5 = _arg1[(_local4 + 4)];
} else {
_local5 = 0;
};
_local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5);
_local7++;
};
_local4 = (_local4 + 5);
_local6++;
};
return (_local3);
}
public static function setThreshold(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Array = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{
if (isNaN(_arg2)){
return (_arg1);
};
if (isNaN(_arg3)){
_arg3 = 1;
};
var _local4:Number = (((_arg2 >> 16) & 0xFF) / 0xFF);
var _local5:Number = (((_arg2 >> 8) & 0xFF) / 0xFF);
var _local6:Number = ((_arg2 & 0xFF) / 0xFF);
var _local7:Number = (1 - _arg3);
var _local8:Array = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local8, _arg1));
}
public static function setBrightness(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = ((_arg2 * 100) - 100);
return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1));
}
}
}//package com.greensock.plugins
Section 47
//ColorTransformPlugin (com.greensock.plugins.ColorTransformPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
import flash.geom.*;
public class ColorTransformPlugin extends TintPlugin {
public static const API:Number = 1;
public function ColorTransformPlugin(){
this.propName = "colorTransform";
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local5:String;
var _local6:Number;
if (!(_arg1 is DisplayObject)){
return (false);
};
var _local4:ColorTransform = _arg1.transform.colorTransform;
for (_local5 in _arg2) {
if ((((_local5 == "tint")) || ((_local5 == "color")))){
if (_arg2[_local5] != null){
_local4.color = int(_arg2[_local5]);
};
} else {
if ((((((_local5 == "tintAmount")) || ((_local5 == "exposure")))) || ((_local5 == "brightness")))){
} else {
_local4[_local5] = _arg2[_local5];
};
};
};
if (!isNaN(_arg2.tintAmount)){
_local6 = (_arg2.tintAmount / (1 - (((_local4.redMultiplier + _local4.greenMultiplier) + _local4.blueMultiplier) / 3)));
_local4.redOffset = (_local4.redOffset * _local6);
_local4.greenOffset = (_local4.greenOffset * _local6);
_local4.blueOffset = (_local4.blueOffset * _local6);
_local4.redMultiplier = (_local4.greenMultiplier = (_local4.blueMultiplier = (1 - _arg2.tintAmount)));
} else {
if (!isNaN(_arg2.exposure)){
_local4.redOffset = (_local4.greenOffset = (_local4.blueOffset = (0xFF * (_arg2.exposure - 1))));
_local4.redMultiplier = (_local4.greenMultiplier = (_local4.blueMultiplier = 1));
} else {
if (!isNaN(_arg2.brightness)){
_local4.redOffset = (_local4.greenOffset = (_local4.blueOffset = Math.max(0, ((_arg2.brightness - 1) * 0xFF))));
_local4.redMultiplier = (_local4.greenMultiplier = (_local4.blueMultiplier = (1 - Math.abs((_arg2.brightness - 1)))));
};
};
};
_ignoreAlpha = Boolean(((!((_arg3.vars.alpha == undefined))) && ((_arg2.alphaMultiplier == undefined))));
init((_arg1 as DisplayObject), _local4);
return (true);
}
}
}//package com.greensock.plugins
Section 48
//DropShadowFilterPlugin (com.greensock.plugins.DropShadowFilterPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
import flash.filters.*;
public class DropShadowFilterPlugin extends FilterPlugin {
public static const API:Number = 1;
private static var _propNames:Array = ["distance", "angle", "color", "alpha", "blurX", "blurY", "strength", "quality", "inner", "knockout", "hideObject"];
public function DropShadowFilterPlugin(){
this.propName = "dropShadowFilter";
this.overwriteProps = ["dropShadowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = DropShadowFilter;
initFilter(_arg2, new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout, _arg2.hideObject), _propNames);
return (true);
}
}
}//package com.greensock.plugins
Section 49
//EndArrayPlugin (com.greensock.plugins.EndArrayPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _a:Array;
protected var _info:Array;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
public function init(_arg1:Array, _arg2:Array):void{
_a = _arg1;
var _local3:int = _arg2.length;
while (_local3--) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local2:int = _info.length;
if (this.round){
while (_local2--) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_a[_local3.index] = ((_local4)>0) ? int((_local4 + 0.5)) : int((_local4 - 0.5));
};
} else {
while (_local2--) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
};
};
}
}
}//package com.greensock.plugins
class ArrayTweenInfo {
public var change:Number;
public var start:Number;
public var index:uint;
private function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
Section 50
//FilterPlugin (com.greensock.plugins.FilterPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.core.*;
import com.greensock.*;
import flash.filters.*;
public class FilterPlugin extends TweenPlugin {
protected var _remove:Boolean;
protected var _target:Object;
protected var _index:int;
protected var _filter:BitmapFilter;
protected var _type:Class;
public static const VERSION:Number = 2.03;
public static const API:Number = 1;
public function onCompleteTween():void{
var _local1:Array;
var _local2:int;
if (_remove){
_local1 = _target.filters;
if (!(_local1[_index] is _type)){
_local2 = _local1.length;
while (_local2--) {
if ((_local1[_local2] is _type)){
_local1.splice(_local2, 1);
break;
};
};
} else {
_local1.splice(_index, 1);
};
_target.filters = _local1;
};
}
protected function initFilter(_arg1:Object, _arg2:BitmapFilter, _arg3:Array):void{
var _local5:String;
var _local6:int;
var _local7:HexColorsPlugin;
var _local4:Array = _target.filters;
var _local8:Object = ((_arg1 is BitmapFilter)) ? {} : _arg1;
_index = -1;
if (_local8.index != null){
_index = _local8.index;
} else {
_local6 = _local4.length;
while (_local6--) {
if ((_local4[_local6] is _type)){
_index = _local6;
break;
};
};
};
if ((((((_index == -1)) || ((_local4[_index] == null)))) || ((_local8.addFilter == true)))){
_index = ((_local8.index)!=null) ? _local8.index : _local4.length;
_local4[_index] = _arg2;
_target.filters = _local4;
};
_filter = _local4[_index];
if (_local8.remove == true){
_remove = true;
this.onComplete = onCompleteTween;
};
_local6 = _arg3.length;
while (_local6--) {
_local5 = _arg3[_local6];
if ((((_local5 in _arg1)) && (!((_filter[_local5] == _arg1[_local5]))))){
if ((((((_local5 == "color")) || ((_local5 == "highlightColor")))) || ((_local5 == "shadowColor")))){
_local7 = new HexColorsPlugin();
_local7.initColor(_filter, _local5, _filter[_local5], _arg1[_local5]);
_tweens[_tweens.length] = new PropTween(_local7, "changeFactor", 0, 1, _local5, false);
} else {
if ((((((((_local5 == "quality")) || ((_local5 == "inner")))) || ((_local5 == "knockout")))) || ((_local5 == "hideObject")))){
_filter[_local5] = _arg1[_local5];
} else {
addTween(_filter, _local5, _filter[_local5], _arg1[_local5], _local5);
};
};
};
};
}
override public function set changeFactor(_arg1:Number):void{
var _local3:PropTween;
var _local2:int = _tweens.length;
var _local4:Array = _target.filters;
while (_local2--) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
};
if (!(_local4[_index] is _type)){
_local2 = (_index = _local4.length);
while (_local2--) {
if ((_local4[_local2] is _type)){
_index = _local2;
break;
};
};
};
_local4[_index] = _filter;
_target.filters = _local4;
}
}
}//package com.greensock.plugins
Section 51
//FrameLabelPlugin (com.greensock.plugins.FrameLabelPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class FrameLabelPlugin extends FramePlugin {
public static const API:Number = 1;
public function FrameLabelPlugin(){
this.propName = "frameLabel";
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if ((!(_arg3.target) is MovieClip)){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
var _local4:Array = _target.currentLabels;
var _local5:String = _arg2;
var _local6:int = _target.currentFrame;
var _local7:int = _local4.length;
while (_local7--) {
if (_local4[_local7].name == _local5){
_local6 = _local4[_local7].frame;
break;
};
};
if (this.frame != _local6){
addTween(this, "frame", this.frame, _local6, "frame");
};
return (true);
}
}
}//package com.greensock.plugins
Section 52
//FramePlugin (com.greensock.plugins.FramePlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class FramePlugin extends TweenPlugin {
protected var _target:MovieClip;
public var frame:int;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame", "frameLabel"];
this.round = true;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, _arg2, "frame");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
}
}//package com.greensock.plugins
Section 53
//GlowFilterPlugin (com.greensock.plugins.GlowFilterPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
import flash.filters.*;
public class GlowFilterPlugin extends FilterPlugin {
public static const API:Number = 1;
private static var _propNames:Array = ["color", "alpha", "blurX", "blurY", "strength", "quality", "inner", "knockout"];
public function GlowFilterPlugin(){
this.propName = "glowFilter";
this.overwriteProps = ["glowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = GlowFilter;
initFilter(_arg2, new GlowFilter(0xFFFFFF, 0, 0, 0, ((_arg2.strength) || (1)), ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout), _propNames);
return (true);
}
}
}//package com.greensock.plugins
Section 54
//HexColorsPlugin (com.greensock.plugins.HexColorsPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class HexColorsPlugin extends TweenPlugin {
protected var _colors:Array;
public static const API:Number = 1;
public function HexColorsPlugin(){
this.propName = "hexColors";
this.overwriteProps = [];
_colors = [];
}
override public function killProps(_arg1:Object):void{
var _local2:int = (_colors.length - 1);
while (_local2 > -1) {
if (_arg1[_colors[_local2][1]] != undefined){
_colors.splice(_local2, 1);
};
_local2--;
};
super.killProps(_arg1);
}
public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
if (_arg3 != _arg4){
_local5 = (_arg3 >> 16);
_local6 = ((_arg3 >> 8) & 0xFF);
_local7 = (_arg3 & 0xFF);
_colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)];
this.overwriteProps[this.overwriteProps.length] = _arg2;
};
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:Array;
_local2 = (_colors.length - 1);
while (_local2 > -1) {
_local3 = _colors[_local2];
_local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7])));
_local2--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
for (_local4 in _arg2) {
initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4]));
};
return (true);
}
}
}//package com.greensock.plugins
Section 55
//RemoveTintPlugin (com.greensock.plugins.RemoveTintPlugin)
package com.greensock.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package com.greensock.plugins
Section 56
//RoundPropsPlugin (com.greensock.plugins.RoundPropsPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class RoundPropsPlugin extends TweenPlugin {
public static const API:Number = 1;
public function RoundPropsPlugin(){
this.propName = "roundProps";
this.overwriteProps = [];
this.round = true;
}
public function add(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
addTween(_arg1, _arg2, _arg3, (_arg3 + _arg4), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package com.greensock.plugins
Section 57
//ShortRotationPlugin (com.greensock.plugins.ShortRotationPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class ShortRotationPlugin extends TweenPlugin {
public static const API:Number = 1;
public function ShortRotationPlugin(){
this.propName = "shortRotation";
this.overwriteProps = [];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
if (typeof(_arg2) == "number"){
return (false);
};
for (_local4 in _arg2) {
initRotation(_arg1, _local4, _arg1[_local4], ((typeof(_arg2[_local4]))=="number") ? Number(_arg2[_local4]) : (_arg1[_local4] + Number(_arg2[_local4])));
};
return (true);
}
public function initRotation(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
var _local5:Number = ((_arg4 - _arg3) % 360);
if (((_arg4 - _arg3) % 360) != (_local5 % 180)){
_local5 = ((_local5)<0) ? (_local5 + 360) : (_local5 - 360);
};
addTween(_arg1, _arg2, _arg3, (_arg3 + _local5), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package com.greensock.plugins
Section 58
//TintPlugin (com.greensock.plugins.TintPlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.core.*;
import com.greensock.*;
import flash.geom.*;
public class TintPlugin extends TweenPlugin {
protected var _ct:ColorTransform;
protected var _transform:Transform;
protected var _ignoreAlpha:Boolean;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg1 is DisplayObject)){
return (false);
};
var _local4:ColorTransform = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.vars.removeTint == true))))){
_local4.color = uint(_arg2);
};
_ignoreAlpha = true;
init((_arg1 as DisplayObject), _local4);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:ColorTransform;
updateTweens(_arg1);
if (_ignoreAlpha){
_local2 = _transform.colorTransform;
_ct.alphaMultiplier = _local2.alphaMultiplier;
_ct.alphaOffset = _local2.alphaOffset;
};
_transform.colorTransform = _ct;
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local4:String;
_transform = _arg1.transform;
_ct = _transform.colorTransform;
var _local3:int = _props.length;
while (_local3--) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new PropTween(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
};
}
}
}//package com.greensock.plugins
Section 59
//TweenPlugin (com.greensock.plugins.TweenPlugin)
package com.greensock.plugins {
import com.greensock.core.*;
import com.greensock.*;
public class TweenPlugin {
public var activeDisable:Boolean;
protected var _changeFactor:Number;// = 0
protected var _tweens:Array;
public var onDisable:Function;
public var propName:String;
public var round:Boolean;
public var onEnable:Function;
public var priority:int;// = 0
public var overwriteProps:Array;
public var onComplete:Function;
public static const VERSION:Number = 1.31;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
super();
}
protected function updateTweens(_arg1:Number):void{
var _local3:PropTween;
var _local4:Number;
var _local2:int = _tweens.length;
if (this.round){
while (_local2--) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local3.target[_local3.property] = ((_local4)>0) ? int((_local4 + 0.5)) : int((_local4 - 0.5));
};
} else {
while (_local2--) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
};
};
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (Number(_arg4) - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new PropTween(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function get changeFactor():Number{
return (_changeFactor);
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function killProps(_arg1:Object):void{
var _local2:int = this.overwriteProps.length;
while (_local2--) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
};
_local2 = _tweens.length;
while (_local2--) {
if ((PropTween(_tweens[_local2]).name in _arg1)){
_tweens.splice(_local2, 1);
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
public static function activate(_arg1:Array):Boolean{
var _local3:Object;
TweenLite.onPluginEvent = TweenPlugin.onTweenEvent;
var _local2:int = _arg1.length;
while (_local2--) {
if (_arg1[_local2].hasOwnProperty("API")){
_local3 = new ((_arg1[_local2] as Class));
TweenLite.plugins[_local3.propName] = _arg1[_local2];
};
};
return (true);
}
private static function onTweenEvent(_arg1:String, _arg2:TweenLite):Boolean{
var _local4:Boolean;
var _local5:Array;
var _local6:int;
var _local3:PropTween = _arg2.cachedPT1;
if (_arg1 == "onInit"){
_local5 = [];
while (_local3) {
_local5[_local5.length] = _local3;
_local3 = _local3.nextNode;
};
_local5.sortOn("priority", (Array.NUMERIC | Array.DESCENDING));
_local6 = _local5.length;
while (_local6--) {
PropTween(_local5[_local6]).nextNode = _local5[(_local6 + 1)];
PropTween(_local5[_local6]).prevNode = _local5[(_local6 - 1)];
};
_arg2.cachedPT1 = _local5[0];
} else {
while (_local3) {
if (((_local3.isPlugin) && (_local3.target[_arg1]))){
if (_local3.target.activeDisable){
_local4 = true;
};
var _local7 = _local3.target;
_local7[_arg1]();
};
_local3 = _local3.nextNode;
};
};
return (_local4);
}
}
}//package com.greensock.plugins
Section 60
//VisiblePlugin (com.greensock.plugins.VisiblePlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
public class VisiblePlugin extends TweenPlugin {
protected var _target:Object;
protected var _initVal:Boolean;
protected var _visible:Boolean;
protected var _tween:TweenLite;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_initVal = _target.visible;
_visible = Boolean(_arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
if ((((_arg1 == 1)) && ((((_tween.cachedDuration == _tween.cachedTime)) || ((_tween.cachedTime == 0)))))){
_target.visible = _visible;
} else {
_target.visible = _initVal;
};
}
}
}//package com.greensock.plugins
Section 61
//VolumePlugin (com.greensock.plugins.VolumePlugin)
package com.greensock.plugins {
import flash.display.*;
import com.greensock.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _target:Object;
protected var _st:SoundTransform;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
}
}//package com.greensock.plugins
Section 62
//OverwriteManager (com.greensock.OverwriteManager)
package com.greensock {
import com.greensock.core.*;
import flash.utils.*;
import flash.errors.*;
public class OverwriteManager {
public static const ALL_ONSTART:int = 4;
public static const CONCURRENT:int = 3;
public static const ALL_IMMEDIATE:int = 1;
public static const PREEXISTING:int = 5;
public static const AUTO:int = 2;
public static const version:Number = 6;
public static const NONE:int = 0;
public static var enabled:Boolean;
public static var mode:int;
public static function getGlobalPaused(_arg1:TweenCore):Boolean{
while (_arg1) {
if (_arg1.cachedPaused){
return (true);
};
_arg1 = _arg1.timeline;
};
return (false);
}
public static function init(_arg1:int=2):int{
if (TweenLite.version < 11.099994){
throw (new Error("Warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com."));
};
TweenLite.overwriteManager = OverwriteManager;
mode = _arg1;
enabled = true;
return (mode);
}
public static function manageOverwrites(_arg1:TweenLite, _arg2:Object, _arg3:Array, _arg4:uint):Boolean{
var _local5:int;
var _local6:Boolean;
var _local7:TweenLite;
var _local13:uint;
var _local14:Number;
var _local15:Number;
var _local16:TweenCore;
var _local17:Number;
var _local18:SimpleTimeline;
if (_arg4 >= 4){
_local13 = _arg3.length;
_local5 = 0;
while (_local5 < _local13) {
_local7 = _arg3[_local5];
if (_local7 != _arg1){
if (_local7.setEnabled(false, false)){
_local6 = true;
};
} else {
if (_arg4 == 5){
break;
};
};
_local5++;
};
return (_local6);
};
var _local8:Number = _arg1.startTime;
var _local9:Array = [];
var _local10:Array = [];
var _local11:uint;
var _local12:uint;
_local5 = _arg3.length;
while (_local5--) {
_local7 = _arg3[_local5];
if ((((_local7 == _arg1)) || (_local7.gc))){
} else {
if (_local7.timeline != _arg1.timeline){
if (!getGlobalPaused(_local7)){
var _temp1 = _local11;
_local11 = (_local11 + 1);
var _local19 = _temp1;
_local10[_local19] = _local7;
};
} else {
if ((((((_local7.startTime <= _local8)) && (((_local7.startTime + _local7.totalDuration) > _local8)))) && (!(getGlobalPaused(_local7))))){
var _temp2 = _local12;
_local12 = (_local12 + 1);
_local19 = _temp2;
_local9[_local19] = _local7;
};
};
};
};
if (_local11 != 0){
_local14 = _arg1.cachedTimeScale;
_local15 = _local8;
_local18 = _arg1.timeline;
while (_local18) {
_local14 = (_local14 * _local18.cachedTimeScale);
_local15 = (_local15 + _local18.startTime);
_local18 = _local18.timeline;
};
_local8 = (_local14 * _local15);
_local5 = _local11;
while (_local5--) {
_local16 = _local10[_local5];
_local14 = _local16.cachedTimeScale;
_local15 = _local16.startTime;
_local18 = _local16.timeline;
while (_local18) {
_local14 = (_local14 * _local18.cachedTimeScale);
_local15 = (_local15 + _local18.startTime);
_local18 = _local18.timeline;
};
_local17 = (_local14 * _local15);
if ((((_local17 <= _local8)) && (((((_local17 + (_local16.totalDuration * _local14)) > _local8)) || ((_local16.cachedDuration == 0)))))){
var _temp3 = _local12;
_local12 = (_local12 + 1);
_local19 = _temp3;
_local9[_local19] = _local16;
};
};
};
if (_local12 == 0){
return (_local6);
};
_local5 = _local12;
if (_arg4 == 2){
while (_local5--) {
_local7 = _local9[_local5];
if (_local7.killVars(_arg2)){
_local6 = true;
};
if ((((_local7.cachedPT1 == null)) && (_local7.initted))){
_local7.setEnabled(false, false);
};
};
} else {
while (_local5--) {
if (TweenLite(_local9[_local5]).setEnabled(false, false)){
_local6 = true;
};
};
};
return (_local6);
}
}
}//package com.greensock
Section 63
//TweenLite (com.greensock.TweenLite)
package com.greensock {
import flash.display.*;
import flash.events.*;
import com.greensock.core.*;
import flash.utils.*;
import com.greensock.plugins.*;
public class TweenLite extends TweenCore {
protected var _hasPlugins:Boolean;
public var propTweenLookup:Object;
public var cachedPT1:PropTween;
protected var _overwrite:uint;
protected var _ease:Function;
public var target:Object;
public var ratio:Number;// = 0
protected var _overwrittenProps:Object;
protected var _notifyPluginsOfEnabled:Boolean;
public static const version:Number = 11.2;
public static var rootTimeline:SimpleTimeline;
public static var fastEaseLookup:Dictionary = new Dictionary(false);
public static var onPluginEvent:Function;
public static var rootFramesTimeline:SimpleTimeline;
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var masterList:Dictionary = new Dictionary(false);
public static var overwriteManager:Object;
public static var rootFrame:Number;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _shape:Shape = new Shape();
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, onInit:1, onInitParams:1, onReverseComplete:1, onReverseCompleteParams:1, onRepeat:1, onRepeatParams:1, proxiedEase:1, easeParams:1, yoyo:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, onReverseCompleteListener:1, onRepeatListener:1, orientToBezier:1, timeScale:1, immediateRender:1, repeat:1, repeatDelay:1, timeline:1, data:1, paused:1};
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local5:TweenLite;
super(_arg2, _arg3);
this.target = _arg1;
if ((((this.target is TweenCore)) && (("timeScale" in this.vars)))){
this.cachedTimeScale = 1;
};
propTweenLookup = {};
_ease = defaultEase;
_overwrite = (((!((Number(_arg3.overwrite) > -1))) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
var _local4:Array = masterList[_arg1];
if (!_local4){
masterList[_arg1] = [this];
} else {
if (_overwrite == 1){
for each (_local5 in _local4) {
if (!_local5.gc){
_local5.setEnabled(false, false);
};
};
masterList[_arg1] = [this];
} else {
_local4[_local4.length] = this;
};
};
if (((this.active) || (this.vars.immediateRender))){
renderTime(0, false, true);
};
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
var _local4:Boolean;
var _local5:Number = this.cachedTime;
if (_arg1 >= this.cachedDuration){
this.cachedTotalTime = (this.cachedTime = this.cachedDuration);
this.ratio = 1;
_local4 = true;
if (this.cachedDuration == 0){
if ((((((_arg1 == 0)) || ((_rawPrevTime < 0)))) && (!((_rawPrevTime == _arg1))))){
_arg3 = true;
};
_rawPrevTime = _arg1;
};
} else {
if (_arg1 <= 0){
this.cachedTotalTime = (this.cachedTime = (this.ratio = 0));
if (_arg1 < 0){
this.active = false;
if (this.cachedDuration == 0){
if (_rawPrevTime > 0){
_arg3 = true;
_local4 = true;
};
_rawPrevTime = _arg1;
};
};
if (((this.cachedReversed) && (!((_local5 == 0))))){
_local4 = true;
};
} else {
this.cachedTotalTime = (this.cachedTime = _arg1);
this.ratio = _ease(_arg1, 0, 1, this.cachedDuration);
};
};
if ((((this.cachedTime == _local5)) && (!(_arg3)))){
return;
};
if (!this.initted){
init();
if (((!(_local4)) && (this.cachedTime))){
this.ratio = _ease(this.cachedTime, 0, 1, this.cachedDuration);
};
};
if (((!(this.active)) && (!(this.cachedPaused)))){
this.active = true;
};
if ((((((((_local5 == 0)) && (this.vars.onStart))) && (!((this.cachedTime == 0))))) && (!(_arg2)))){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
var _local6:PropTween = this.cachedPT1;
while (_local6) {
_local6.target[_local6.property] = (_local6.start + (this.ratio * _local6.change));
_local6 = _local6.nextNode;
};
if (((_hasUpdate) && (!(_arg2)))){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local4){
if (((_hasPlugins) && (this.cachedPT1))){
onPluginEvent("onComplete", this);
};
complete(true, _arg2);
};
}
override public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{
var _local3:Array;
if (_arg1){
_local3 = TweenLite.masterList[this.target];
if (!_local3){
TweenLite.masterList[this.target] = [this];
} else {
_local3[_local3.length] = this;
};
};
super.setEnabled(_arg1, _arg2);
if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){
return (onPluginEvent((_arg1) ? "onEnable" : "onDisable", this));
};
return (false);
}
protected function init():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:Boolean;
var _local5:Array;
var _local6:PropTween;
if (this.vars.onInit){
this.vars.onInit.apply(null, this.vars.onInitParams);
};
if (typeof(this.vars.ease) == "function"){
_ease = this.vars.ease;
};
if (this.vars.easeParams){
this.vars.proxiedEase = _ease;
_ease = easeProxy;
};
this.cachedPT1 = null;
this.propTweenLookup = {};
for (_local1 in this.vars) {
if ((((_local1 in _reservedProps)) && (!((((_local1 == "timeScale")) && ((this.target is TweenCore))))))){
} else {
if ((((_local1 in plugins)) && (new ((plugins[_local1] as Class)).onInitTween(this.target, this.vars[_local1], this)))){
this.cachedPT1 = new PropTween(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true, this.cachedPT1);
if (this.cachedPT1.name == "_MULTIPLE_"){
_local2 = _local3.overwriteProps.length;
while (_local2--) {
this.propTweenLookup[_local3.overwriteProps[_local2]] = this.cachedPT1;
};
} else {
this.propTweenLookup[this.cachedPT1.name] = this.cachedPT1;
};
if (_local3.priority){
this.cachedPT1.priority = _local3.priority;
_local4 = true;
};
if (((_local3.onDisable) || (_local3.onEnable))){
_notifyPluginsOfEnabled = true;
};
_hasPlugins = true;
} else {
this.cachedPT1 = new PropTween(this.target, _local1, Number(this.target[_local1]), ((typeof(this.vars[_local1]))=="number") ? (Number(this.vars[_local1]) - this.target[_local1]) : Number(this.vars[_local1]), _local1, false, this.cachedPT1);
this.propTweenLookup[_local1] = this.cachedPT1;
};
};
};
if (_local4){
onPluginEvent("onInit", this);
};
if (this.vars.runBackwards){
_local6 = this.cachedPT1;
while (_local6) {
_local6.start = (_local6.start + _local6.change);
_local6.change = -(_local6.change);
_local6 = _local6.nextNode;
};
};
_hasUpdate = Boolean(!((this.vars.onUpdate == null)));
if (_overwrittenProps){
killVars(_overwrittenProps);
if (this.cachedPT1 == null){
this.setEnabled(false, false);
};
};
if ((((((((_overwrite > 1)) && (this.cachedPT1))) && (masterList[this.target]))) && ((_local5.length > 1)))){
if (overwriteManager.manageOverwrites(this, this.propTweenLookup, _local5, _overwrite)){
init();
};
};
this.initted = true;
}
public function killVars(_arg1:Object, _arg2:Boolean=true):Boolean{
var _local3:String;
var _local4:PropTween;
var _local5:Boolean;
if (_overwrittenProps == null){
_overwrittenProps = {};
};
for (_local3 in _arg1) {
if ((_local3 in propTweenLookup)){
_local4 = propTweenLookup[_local3];
if (((_local4.isPlugin) && ((_local4.name == "_MULTIPLE_")))){
_local4.target.killProps(_arg1);
if (_local4.target.overwriteProps.length == 0){
_local4.name = "";
};
};
if (_local4.name != "_MULTIPLE_"){
if (_local4.nextNode){
_local4.nextNode.prevNode = _local4.prevNode;
};
if (_local4.prevNode){
_local4.prevNode.nextNode = _local4.nextNode;
} else {
if (this.cachedPT1 == _local4){
this.cachedPT1 = _local4.nextNode;
};
};
if (((_local4.isPlugin) && (_local4.target.onDisable))){
_local4.target.onDisable();
if (_local4.target.activeDisable){
_local5 = true;
};
};
delete propTweenLookup[_local3];
};
};
if (_arg2){
_overwrittenProps[_local3] = 1;
};
};
return (_local5);
}
override public function invalidate():void{
if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){
onPluginEvent("onDisable", this);
};
this.cachedPT1 = null;
_overwrittenProps = null;
_hasUpdate = (this.initted = (this.active = (_notifyPluginsOfEnabled = false)));
this.propTweenLookup = {};
}
public static function initClass():void{
rootFrame = 0;
rootTimeline = new SimpleTimeline(null);
rootFramesTimeline = new SimpleTimeline(null);
rootTimeline.cachedStartTime = (getTimer() * 0.001);
rootFramesTimeline.cachedStartTime = rootFrame;
rootTimeline.autoRemoveChildren = true;
rootFramesTimeline.autoRemoveChildren = true;
_shape.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
}
public static function killTweensOf(_arg1:Object, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
if ((_arg1 in masterList)){
_local3 = masterList[_arg1];
_local4 = _local3.length;
while (_local4--) {
if (!TweenLite(_local3[_local4]).gc){
if (_arg2){
TweenLite(_local3[_local4]).complete(false, false);
} else {
TweenLite(_local3[_local4]).setEnabled(false, false);
};
};
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
if (!("immediateRender" in _arg3)){
_arg3.immediateRender = true;
};
return (new TweenLite(_arg1, _arg2, _arg3));
}
protected static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (1 - (_arg1 / _arg4));
return ((1 - (_arg1 * _arg1)));
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, immediateRender:false, useFrames:_arg4, overwrite:0}));
}
protected static function updateAll(_arg1:Event=null):void{
var _local2:Dictionary;
var _local3:Object;
var _local4:Array;
var _local5:int;
rootTimeline.renderTime((((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale), false, false);
rootFrame++;
rootFramesTimeline.renderTime(((rootFrame - rootFramesTimeline.cachedStartTime) * rootFramesTimeline.cachedTimeScale), false, false);
if (!(rootFrame % 60)){
_local2 = masterList;
for (_local3 in _local2) {
_local4 = _local2[_local3];
_local5 = _local4.length;
while (_local5--) {
if (TweenLite(_local4[_local5]).gc){
_local4.splice(_local5, 1);
};
};
if (_local4.length == 0){
delete _local2[_local3];
};
};
};
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package com.greensock
Section 64
//TweenMax (com.greensock.TweenMax)
package com.greensock {
import flash.display.*;
import flash.events.*;
import com.greensock.core.*;
import flash.utils.*;
import com.greensock.plugins.*;
import com.greensock.events.*;
public class TweenMax extends TweenLite implements IEventDispatcher {
protected var _cyclesComplete:uint;// = 0
protected var _dispatcher:EventDispatcher;
protected var _hasUpdateListener:Boolean;
protected var _easeType:uint;
protected var _repeatDelay:Number;// = 0
public var yoyo:Boolean;
protected var _easePower:uint;
protected var _repeat:int;// = 0
public static const version:Number = 11.2;
private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init(2);
;
public static var killTweensOf:Function = TweenLite.killTweensOf;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){
super(_arg1, _arg2, _arg3);
if (TweenLite.version < 11.2){
throw (new Error("TweenMax error! Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com."));
};
this.yoyo = Boolean(this.vars.yoyo);
_repeat = ((this.vars.repeat) || (0));
_repeatDelay = ((this.vars.repeatDelay) || (0));
this.cacheIsDirty = true;
if (((((((((this.vars.onCompleteListener) || (this.vars.onUpdateListener))) || (this.vars.onStartListener))) || (this.vars.onRepeatListener))) || (this.vars.onReverseCompleteListener))){
initDispatcher();
if ((((_arg2 == 0)) && ((_delay == 0)))){
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE));
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE));
};
};
if (((("timeScale" in this.vars)) && (!((this.target is TweenCore))))){
this.cachedTimeScale = this.vars.timeScale;
};
}
public function dispatchEvent(_arg1:Event):Boolean{
return (((_dispatcher)==null) ? false : _dispatcher.dispatchEvent(_arg1));
}
public function set timeScale(_arg1:Number):void{
if (_arg1 == 0){
_arg1 = 0.0001;
};
var _local2:Number = (((_pauseTime) || ((_pauseTime == 0)))) ? _pauseTime : this.timeline.cachedTotalTime;
this.cachedStartTime = (_local2 - (((_local2 - this.cachedStartTime) * this.cachedTimeScale) / _arg1));
this.cachedTimeScale = _arg1;
setDirtyCache(false);
}
override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
var _local6:Boolean;
var _local7:Boolean;
var _local8:Boolean;
var _local10:Number;
var _local11:uint;
var _local12:Number;
var _local4:Number = (this.cacheIsDirty) ? this.totalDuration : this.cachedTotalDuration;
var _local5:Number = this.cachedTime;
if (_arg1 >= _local4){
this.cachedTotalTime = _local4;
this.cachedTime = this.cachedDuration;
this.ratio = 1;
_local6 = true;
if (this.cachedDuration == 0){
if ((((((_arg1 == 0)) || ((_rawPrevTime < 0)))) && (!((_rawPrevTime == _arg1))))){
_arg3 = true;
};
_rawPrevTime = _arg1;
};
} else {
if (_arg1 <= 0){
if (_arg1 < 0){
this.active = false;
if (this.cachedDuration == 0){
if (_rawPrevTime > 0){
_arg3 = true;
_local6 = true;
};
_rawPrevTime = _arg1;
};
};
this.cachedTotalTime = (this.cachedTime = (this.ratio = 0));
if (((this.cachedReversed) && (!((_local5 == 0))))){
_local6 = true;
};
} else {
this.cachedTotalTime = (this.cachedTime = _arg1);
_local8 = true;
};
};
if (_repeat != 0){
_local10 = (this.cachedDuration + _repeatDelay);
if (_local6){
if (((this.yoyo) && ((_repeat % 2)))){
this.cachedTime = (this.ratio = 0);
};
} else {
if (_arg1 > 0){
if (_cyclesComplete != (_cyclesComplete = int((this.cachedTotalTime / _local10)))){
_local7 = true;
};
this.cachedTime = (((this.cachedTotalTime / _local10) - _cyclesComplete) * _local10);
if (((this.yoyo) && ((_cyclesComplete % 2)))){
this.cachedTime = (this.cachedDuration - this.cachedTime);
} else {
if (this.cachedTime >= this.cachedDuration){
this.cachedTime = this.cachedDuration;
this.ratio = 1;
_local8 = false;
};
};
if (this.cachedTime <= 0){
this.cachedTime = (this.ratio = 0);
_local8 = false;
};
};
};
};
if ((((_local5 == this.cachedTime)) && (!(_arg3)))){
return;
};
if (!this.initted){
init();
};
if (((!(this.active)) && (!(this.cachedPaused)))){
this.active = true;
};
if (_local8){
if (_easeType){
_local11 = _easePower;
_local12 = (this.cachedTime / this.cachedDuration);
if (_easeType == 2){
_local12 = (1 - _local12);
this.ratio = _local12;
while (_local11--) {
this.ratio = (_local12 * this.ratio);
};
this.ratio = (1 - this.ratio);
} else {
if (_easeType == 1){
this.ratio = _local12;
while (_local11--) {
this.ratio = (_local12 * this.ratio);
};
} else {
if (_local12 < 0.5){
_local12 = (_local12 * 2);
this.ratio = _local12;
while (_local11--) {
this.ratio = (_local12 * this.ratio);
};
this.ratio = (this.ratio * 0.5);
} else {
_local12 = ((1 - _local12) * 2);
this.ratio = _local12;
while (_local11--) {
this.ratio = (_local12 * this.ratio);
};
this.ratio = (1 - (0.5 * this.ratio));
};
};
};
} else {
this.ratio = _ease(this.cachedTime, 0, 1, this.cachedDuration);
};
};
if ((((((_local5 == 0)) && (!((this.cachedTotalTime == 0))))) && (!(_arg2)))){
if (this.vars.onStart){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (_dispatcher){
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START));
};
};
var _local9:PropTween = this.cachedPT1;
while (_local9) {
_local9.target[_local9.property] = (_local9.start + (this.ratio * _local9.change));
_local9 = _local9.nextNode;
};
if (((_hasUpdate) && (!(_arg2)))){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (((_hasUpdateListener) && (!(_arg2)))){
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE));
};
if (_local6){
if (((_hasPlugins) && (this.cachedPT1))){
onPluginEvent("onComplete", this);
};
complete(true, _arg2);
} else {
if (((_local7) && (!(_arg2)))){
if (this.vars.onRepeat){
this.vars.onRepeat.apply(null, this.vars.onRepeatParams);
};
if (_dispatcher){
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.REPEAT));
};
};
};
}
override public function set totalDuration(_arg1:Number):void{
if (_repeat == -1){
return;
};
this.duration = ((_arg1 - (_repeat * _repeatDelay)) / (_repeat + 1));
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (_dispatcher == null){
initDispatcher();
};
if (_arg1 == TweenEvent.UPDATE){
_hasUpdateListener = true;
};
_dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
protected function insertPropTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String, _arg6:Boolean, _arg7:PropTween):PropTween{
var _local9:Array;
var _local10:int;
var _local8:PropTween = new PropTween(_arg1, _arg2, _arg3, ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4), _arg5, _arg6, _arg7);
if (((_arg6) && ((_arg5 == "_MULTIPLE_")))){
_local9 = _arg1.overwriteProps;
_local10 = _local9.length;
while (_local10--) {
this.propTweenLookup[_local9[_local10]] = _local8;
};
} else {
this.propTweenLookup[_arg5] = _local8;
};
return (_local8);
}
override protected function init():void{
var _local1:TweenMax;
var _local2:int;
var _local3:String;
var _local4:String;
var _local5:Array;
var _local6:Object;
var _local7:PropTween;
var _local8:PropTween;
var _local9:int;
if (this.vars.startAt){
this.vars.startAt.overwrite = 0;
this.vars.startAt.immediateRender = true;
_local1 = new TweenMax(this.target, 0, this.vars.startAt);
};
if (_dispatcher){
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.INIT));
};
super.init();
if ((_ease in fastEaseLookup)){
_easeType = fastEaseLookup[_ease][0];
_easePower = fastEaseLookup[_ease][1];
};
if (((!((this.vars.roundProps == null))) && (("roundProps" in TweenLite.plugins)))){
_local5 = this.vars.roundProps;
_local9 = _local5.length;
while (_local9--) {
_local3 = _local5[_local9];
_local8 = this.cachedPT1;
while (_local8) {
if (_local8.name == _local3){
if (_local8.isPlugin){
_local8.target.round = true;
} else {
if (_local6 == null){
_local6 = new TweenLite.plugins.roundProps();
_local6.add(_local8.target, _local3, _local8.start, _local8.change);
_hasPlugins = true;
_local7 = insertPropTween(_local6, "changeFactor", 0, 1, "_MULTIPLE_", true, this.cachedPT1);
this.cachedPT1 = _local7;
} else {
_local6.add(_local8.target, _local3, _local8.start, _local8.change);
};
this.removePropTween(_local8);
this.propTweenLookup[_local3] = _local7;
};
} else {
if (((((_local8.isPlugin) && ((_local8.name == "_MULTIPLE_")))) && (!(_local8.target.round)))){
_local4 = ((" " + _local8.target.overwriteProps.join(" ")) + " ");
if (_local4.indexOf(((" " + _local3) + " ")) != -1){
_local8.target.round = true;
};
};
};
_local8 = _local8.nextNode;
};
};
};
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (_dispatcher){
_dispatcher.removeEventListener(_arg1, _arg2, _arg3);
};
}
public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{
var _local4:Object = {};
_local4[_arg1] = _arg2;
updateTo(_local4, !(_arg3));
}
public function willTrigger(_arg1:String):Boolean{
return (((_dispatcher)==null) ? false : _dispatcher.willTrigger(_arg1));
}
public function hasEventListener(_arg1:String):Boolean{
return (((_dispatcher)==null) ? false : _dispatcher.hasEventListener(_arg1));
}
protected function initDispatcher():void{
if (_dispatcher == null){
_dispatcher = new EventDispatcher(this);
};
if ((this.vars.onInitListener is Function)){
_dispatcher.addEventListener(TweenEvent.INIT, this.vars.onInitListener, false, 0, true);
};
if ((this.vars.onStartListener is Function)){
_dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true);
};
if ((this.vars.onUpdateListener is Function)){
_dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true);
_hasUpdateListener = true;
};
if ((this.vars.onCompleteListener is Function)){
_dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true);
};
if ((this.vars.onRepeatListener is Function)){
_dispatcher.addEventListener(TweenEvent.REPEAT, this.vars.onRepeatListener, false, 0, true);
};
if ((this.vars.onReverseCompleteListener is Function)){
_dispatcher.addEventListener(TweenEvent.REVERSE_COMPLETE, this.vars.onReverseCompleteListener, false, 0, true);
};
}
public function set currentProgress(_arg1:Number):void{
if (_cyclesComplete == 0){
setTotalTime((this.duration * _arg1), false);
} else {
setTotalTime(((this.duration * _arg1) + (_cyclesComplete * this.cachedDuration)), false);
};
}
public function get totalProgress():Number{
return ((this.cachedTotalTime / this.totalDuration));
}
public function set totalProgress(_arg1:Number):void{
setTotalTime((this.totalDuration * _arg1), false);
}
protected function removePropTween(_arg1:PropTween):Boolean{
if (_arg1.nextNode){
_arg1.nextNode.prevNode = _arg1.prevNode;
};
if (_arg1.prevNode){
_arg1.prevNode.nextNode = _arg1.nextNode;
} else {
if (this.cachedPT1 == _arg1){
this.cachedPT1 = _arg1.nextNode;
};
};
if (((_arg1.isPlugin) && (_arg1.target.onDisable))){
_arg1.target.onDisable();
if (_arg1.target.activeDisable){
return (true);
};
};
return (false);
}
public function get currentProgress():Number{
return ((this.cachedTime / this.duration));
}
public function get repeat():int{
return (_repeat);
}
public function updateTo(_arg1:Object, _arg2:Boolean=false):void{
var _local4:String;
var _local5:Number;
var _local6:PropTween;
var _local7:Number;
var _local3:Number = this.ratio;
if (((((_arg2) && (!((this.timeline == null))))) && ((this.cachedStartTime < this.timeline.cachedTime)))){
this.cachedStartTime = this.timeline.cachedTime;
this.setDirtyCache(false);
if (this.gc){
this.setEnabled(true, false);
} else {
this.timeline.addChild(this);
};
};
for (_local4 in _arg1) {
this.vars[_local4] = _arg1[_local4];
};
if (this.initted){
this.initted = false;
if (!_arg2){
init();
if (((((!(_arg2)) && ((this.cachedTime > 0)))) && ((this.cachedTime < this.cachedDuration)))){
_local5 = (1 / (1 - _local3));
_local6 = this.cachedPT1;
while (_local6) {
_local7 = (_local6.start + _local6.change);
_local6.change = (_local6.change * _local5);
_local6.start = (_local7 - _local6.change);
_local6 = _local6.nextNode;
};
};
};
};
}
override public function set currentTime(_arg1:Number):void{
if (_cyclesComplete == 0){
} else {
if (((this.yoyo) && (((_cyclesComplete % 2) == 1)))){
_arg1 = ((this.duration - _arg1) + (_cyclesComplete * (this.cachedDuration + _repeatDelay)));
} else {
_arg1 = (_arg1 + (_cyclesComplete * (this.duration + _repeatDelay)));
};
};
setTotalTime(_arg1, false);
}
public function get repeatDelay():Number{
return (_repeatDelay);
}
public function killProperties(_arg1:Array):void{
var _local2:Object = {};
var _local3:int = _arg1.length;
while (_local3--) {
_local2[_arg1[_local3]] = true;
};
killVars(_local2);
}
public function set repeatDelay(_arg1:Number):void{
_repeatDelay = _arg1;
setDirtyCache(true);
}
public function set repeat(_arg1:int):void{
_repeat = _arg1;
setDirtyCache(true);
}
override public function complete(_arg1:Boolean=false, _arg2:Boolean=false):void{
super.complete(_arg1, _arg2);
if (((!(_arg2)) && (_dispatcher))){
if ((((this.cachedTotalTime == this.cachedTotalDuration)) && (!(this.cachedReversed)))){
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE));
} else {
if (((this.cachedReversed) && ((this.cachedTotalTime == 0)))){
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.REVERSE_COMPLETE));
};
};
};
}
override public function invalidate():void{
this.yoyo = Boolean((this.vars.yoyo == true));
_repeat = ((this.vars.repeat) || (0));
_repeatDelay = ((this.vars.repeatDelay) || (0));
_hasUpdateListener = false;
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
initDispatcher();
};
setDirtyCache(true);
super.invalidate();
}
public function get timeScale():Number{
return (this.cachedTimeScale);
}
override public function get totalDuration():Number{
if (this.cacheIsDirty){
this.cachedTotalDuration = ((_repeat)==-1) ? 999999999999 : ((this.cachedDuration * (_repeat + 1)) + (_repeatDelay * _repeat));
this.cacheIsDirty = false;
};
return (this.cachedTotalDuration);
}
public static function set globalTimeScale(_arg1:Number):void{
if (_arg1 == 0){
_arg1 = 0.0001;
};
if (TweenLite.rootTimeline == null){
TweenLite.to({}, 0, {});
};
var _local2:SimpleTimeline = TweenLite.rootTimeline;
var _local3:Number = (getTimer() * 0.001);
_local2.cachedStartTime = (_local3 - (((_local3 - _local2.cachedStartTime) * _local2.cachedTimeScale) / _arg1));
_local2 = TweenLite.rootFramesTimeline;
_local3 = TweenLite.rootFrame;
_local2.cachedStartTime = (_local3 - (((_local3 - _local2.cachedStartTime) * _local2.cachedTimeScale) / _arg1));
TweenLite.rootFramesTimeline.cachedTimeScale = (TweenLite.rootTimeline.cachedTimeScale = _arg1);
}
public static function fromTo(_arg1:Object, _arg2:Number, _arg3:Object, _arg4:Object):TweenMax{
_arg4.startAt = _arg3;
if (_arg3.immediateRender){
_arg4.immediateRender = true;
};
return (new TweenMax(_arg1, _arg2, _arg4));
}
public static function allFromTo(_arg1:Array, _arg2:Number, _arg3:Object, _arg4:Object, _arg5:Number=0, _arg6:Function=null, _arg7:Array=null):Array{
_arg4.startAt = _arg3;
if (_arg3.immediateRender){
_arg4.immediateRender = true;
};
return (allTo(_arg1, _arg2, _arg4, _arg5, _arg6, _arg7));
}
public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=true):void{
changePause(true, _arg1, _arg2);
}
public static function getTweensOf(_arg1:Object):Array{
var _local4:int;
var _local5:uint;
var _local2:Array = masterList[_arg1];
var _local3:Array = [];
if (_local2){
_local4 = _local2.length;
_local5 = 0;
while (_local4--) {
if (!_local2[_local4].gc){
var _temp1 = _local5;
_local5 = (_local5 + 1);
var _local6 = _temp1;
_local3[_local6] = _local2[_local4];
};
};
};
return (_local3);
}
public static function get globalTimeScale():Number{
return (((TweenLite.rootTimeline)==null) ? 1 : TweenLite.rootTimeline.cachedTimeScale);
}
public static function killChildTweensOf(_arg1:DisplayObjectContainer, _arg2:Boolean=false):void{
var _local4:Object;
var _local5:DisplayObjectContainer;
var _local3:Array = getAllTweens();
var _local6:int = _local3.length;
while (_local6--) {
_local4 = _local3[_local6].target;
if ((_local4 is DisplayObject)){
_local5 = _local4.parent;
while (_local5) {
if (_local5 == _arg1){
if (_arg2){
_local3[_local6].complete(false);
} else {
_local3[_local6].setEnabled(false, false);
};
};
_local5 = _local5.parent;
};
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenMax{
return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, immediateRender:false, useFrames:_arg4, overwrite:0}));
}
public static function isTweening(_arg1:Object):Boolean{
var _local4:TweenLite;
var _local2:Array = getTweensOf(_arg1);
var _local3:int = _local2.length;
while (_local3--) {
_local4 = _local2[_local3];
if (((_local4.active) || ((((_local4.cachedStartTime == _local4.timeline.cachedTime)) && (_local4.timeline.active))))){
return (true);
};
};
return (false);
}
public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{
var _local5:Boolean;
var _local4:Array = getAllTweens();
var _local6:int = _local4.length;
while (_local6--) {
_local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete);
if ((((_local5 == _arg3)) || (!((_local5 == _arg2))))){
if (_arg1){
_local4[_local6].complete(false);
} else {
_local4[_local6].setEnabled(false, false);
};
};
};
}
private static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{
var _local5:Boolean;
var _local4:Array = getAllTweens();
var _local6:int = _local4.length;
while (_local6--) {
_local5 = (TweenLite(_local4[_local6]).target == TweenLite(_local4[_local6]).vars.onComplete);
if ((((_local5 == _arg3)) || (!((_local5 == _arg2))))){
TweenCore(_local4[_local6]).paused = _arg1;
};
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
_arg3.runBackwards = true;
if (!("immediateRender" in _arg3)){
_arg3.immediateRender = true;
};
return (new TweenMax(_arg1, _arg2, _arg3));
}
public static function allFrom(_arg1:Array, _arg2:Number, _arg3:Object, _arg4:Number=0, _arg5:Function=null, _arg6:Array=null):Array{
_arg3.runBackwards = true;
if (!("immediateRender" in _arg3)){
_arg3.immediateRender = true;
};
return (allTo(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6));
}
public static function getAllTweens():Array{
var _local4:Array;
var _local5:int;
var _local1:Dictionary = masterList;
var _local2:uint;
var _local3:Array = [];
for each (_local4 in _local1) {
_local5 = _local4.length;
while (_local5--) {
if (!TweenLite(_local4[_local5]).gc){
var _temp1 = _local2;
_local2 = (_local2 + 1);
var _local8 = _temp1;
_local3[_local8] = _local4[_local5];
};
};
};
return (_local3);
}
public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=true):void{
changePause(false, _arg1, _arg2);
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
return (new TweenMax(_arg1, _arg2, _arg3));
}
public static function allTo(_arg1:Array, _arg2:Number, _arg3:Object, _arg4:Number=0, _arg5:Function=null, _arg6:Array=null):Array{
var i:int;
var varsDup:Object;
var p:String;
var onCompleteProxy:Function;
var onCompleteParamsProxy:Array;
var targets = _arg1;
var duration = _arg2;
var vars = _arg3;
var stagger = _arg4;
var onCompleteAll = _arg5;
var onCompleteAllParams = _arg6;
var l:uint = targets.length;
var a:Array = [];
var curDelay:Number = ((vars.delay) || (0));
onCompleteProxy = vars.onComplete;
onCompleteParamsProxy = vars.onCompleteParams;
var lastIndex:int = ((stagger)<=0) ? 0 : (l - 1);
i = 0;
while (i < l) {
varsDup = {};
for (p in vars) {
varsDup[p] = vars[p];
};
varsDup.delay = curDelay;
if ((((i == lastIndex)) && (!((onCompleteAll == null))))){
varsDup.onComplete = function ():void{
if (onCompleteProxy != null){
onCompleteProxy.apply(null, onCompleteParamsProxy);
};
onCompleteAll.apply(null, onCompleteAllParams);
};
};
a[a.length] = new TweenMax(targets[i], duration, varsDup);
curDelay = (curDelay + stagger);
i = (i + 1);
};
return (a);
}
TweenPlugin.activate([AutoAlphaPlugin, EndArrayPlugin, FramePlugin, RemoveTintPlugin, TintPlugin, VisiblePlugin, VolumePlugin, BevelFilterPlugin, BezierPlugin, BezierThroughPlugin, BlurFilterPlugin, ColorMatrixFilterPlugin, ColorTransformPlugin, DropShadowFilterPlugin, FrameLabelPlugin, GlowFilterPlugin, HexColorsPlugin, RoundPropsPlugin, ShortRotationPlugin, {}]);
}
}//package com.greensock
Section 65
//Debug (com.my.Debug)
package com.my {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
public class Debug {
public static function arrayObject(_arg1:Array, _arg2:String):void{
var _local3:String;
for (_local3 in _arg1) {
};
}
public static function showFPS(_arg1:MovieClip):void{
var txtFPS:TextField;
var t:*;
var FPScounter:Function;
var displayFPS:Function;
var pMc = _arg1;
FPScounter = function (_arg1:Event):void{
t++;
};
displayFPS = function ():void{
txtFPS.htmlText = (String(t) + "fps");
pMc.addChild(txtFPS);
t = 0;
};
txtFPS = new TextField();
txtFPS.mouseEnabled = false;
txtFPS.autoSize = "left";
txtFPS.htmlText;
txtFPS.textColor = 0xFFFFFF;
var format:TextFormat = new TextFormat();
format.font = "Verdana";
format.color = 0xFFFFFF;
format.size = 9;
txtFPS.defaultTextFormat = format;
t = 0;
setInterval(displayFPS, 1000, txtFPS);
txtFPS.addEventListener(Event.ENTER_FRAME, FPScounter);
}
public static function movieClip(_arg1:MovieClip):void{
}
public static function object(_arg1:Object):void{
var _local2:*;
for (_local2 in _arg1) {
};
}
}
}//package com.my
Section 66
//JaugeCircle (com.my.JaugeCircle)
package com.my {
public class JaugeCircle extends MyMovieClip {
public var _inverse:Boolean;// = false
private var _value:Number;// = 0
public function JaugeCircle(){
stop();
}
public function inverse(_arg1:Boolean):void{
if (_arg1){
scaleX = -(scaleX);
scaleY = -(scaleY);
};
}
public function set value(_arg1:Number):void{
_value = _arg1;
var _local2:int = Math.abs((_arg1 * 100));
gotoAndStop((_local2 + 1));
}
public function get value():Number{
return (_value);
}
}
}//package com.my
Section 67
//MyButton (com.my.MyButton)
package com.my {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
public dynamic class MyButton extends MovieClip {
public var icon:IconGames;
private var arrColor:Array;
public var txtId:TextField;
public var diff:MovieClip;
public var sdRollOver:Sound;// = null
public var tick:MovieClip;
public var onClick:Function;
public var lock:MovieClip;
public var txt:TextField;
public var onRollOut:Function;
public var sdRelease:Sound;// = null
public var gift:MovieClip;
public var roll:MovieClip;
public var onRollOver:Function;
public function MyButton(){
onClick = function (_arg1:MouseEvent){
};
onRollOver = function (_arg1:MouseEvent){
};
onRollOut = function (_arg1:MouseEvent){
};
arrColor = [];
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_DOWN, press, false, 0, true);
addEventListener(MouseEvent.CLICK, click, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, rollOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, rollOut, false, 0, true);
buttonMode = true;
mouseChildren = false;
useHandCursor = true;
}
protected function click(_arg1:MouseEvent=null):void{
goto(2);
if (onClick != null){
onClick(_arg1);
};
if (sdRelease != null){
sdRelease.play();
};
}
private function removed(_arg1:Event):void{
removeEventListener(Event.REMOVED, removed);
removeEventListener(Event.ADDED, added);
removeEventListener(MouseEvent.MOUSE_DOWN, press);
removeEventListener(MouseEvent.CLICK, click);
removeEventListener(MouseEvent.MOUSE_OVER, rollOver);
removeEventListener(MouseEvent.MOUSE_OUT, rollOut);
stage.removeEventListener(MouseEvent.MOUSE_UP, releaseOutside);
}
public function get textColor():Number{
if (this["txt"]){
return (this["txt"].textColor);
};
return (0);
}
private function added(_arg1:Event):void{
stop();
if (this["txt"]){
this["txt"].selectable = false;
};
x = Math.round(x);
y = Math.round(y);
}
protected function rollOut(_arg1:MouseEvent):void{
goto(1);
if (onRollOut != null){
onRollOut(_arg1);
};
}
public function setColors(_arg1:Number, _arg2:Number, _arg3:Number):void{
arrColor = [_arg1, _arg2, _arg3];
textColor = arrColor[0];
}
public function set text(_arg1:String):void{
if (this["txt"]){
this["txt"].text = String(_arg1);
};
}
protected function press(_arg1:MouseEvent):void{
stage.addEventListener(MouseEvent.MOUSE_UP, releaseOutside);
goto(3);
}
override public function get mouseEnabled():Boolean{
return (super.mouseChildren);
}
private function releaseOutside(_arg1:MouseEvent):void{
stage.removeEventListener(MouseEvent.MOUSE_UP, releaseOutside);
if (_arg1.currentTarget != this){
dispatchEvent(new MouseEvent(MouseEvent.MOUSE_OUT));
};
}
protected function goto(_arg1:int):void{
gotoAndStop(_arg1);
textColor = arrColor[(_arg1 - 1)];
}
public function get text():String{
if (this["txt"]){
return (String(this["txt"].text));
};
return ("");
}
protected function rollOver(_arg1:MouseEvent):void{
if (_arg1.buttonDown){
dispatchEvent(new MouseEvent(MouseEvent.MOUSE_DOWN));
} else {
goto(2);
};
if (sdRollOver){
sdRollOver.play();
};
onRollOver(_arg1);
}
override public function set mouseEnabled(_arg1:Boolean):void{
buttonMode = _arg1;
super.mouseChildren = _arg1;
}
public function set textColor(_arg1:Number):void{
if (((!(isNaN(_arg1))) && (this["txt"]))){
this["txt"].textColor = _arg1;
};
}
}
}//package com.my
Section 68
//MyFileLoader (com.my.MyFileLoader)
package com.my {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class MyFileLoader {
public var fcError:Function;
public var fcComplete:Function;
public function MyFileLoader(_arg1:String, _arg2:Function=null, _arg3:Function=null){
var pDownloadURL = _arg1;
var pFcComplete = _arg2;
var pFcError = _arg3;
fcComplete = function (_arg1):void{
};
fcError = function ():void{
};
super();
var loader:Loader = new Loader();
configureListeners(loader.contentLoaderInfo);
fcComplete = pFcComplete;
fcError = pFcError;
var request:URLRequest = new URLRequest(pDownloadURL);
try {
loader.load(request);
} catch(error:Error) {
pFcError();
};
}
private function openHandler(_arg1:Event):void{
}
private function completeHandler(_arg1:Event):void{
fcComplete(_arg1);
}
private function securityErrorHandler(_arg1:SecurityErrorEvent):void{
fcError();
}
private function progressHandler(_arg1:ProgressEvent):void{
}
private function httpStatusHandler(_arg1:HTTPStatusEvent):void{
}
private function ioErrorHandler(_arg1:IOErrorEvent):void{
fcError();
}
private function configureListeners(_arg1:IEventDispatcher):void{
_arg1.addEventListener(Event.COMPLETE, completeHandler);
_arg1.addEventListener(Event.OPEN, openHandler);
_arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler);
_arg1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
_arg1.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
_arg1.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
}
}
}//package com.my
Section 69
//MyMain (com.my.MyMain)
package com.my {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import com.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.system.*;
public dynamic class MyMain extends MyMovieClip {
protected var size:String;
protected var arrDomain:Array;
private var languageLoader:MyTextLoader;
private var cookieName:String;
protected var urlBackupLanguage:String;// = "language.xml"
private var gameLoaded:Boolean;// = false
private var cookieLoaded:Boolean;// = true
private var fcCookie:Function;
protected var website:String;
protected var gameUrl:String;
protected var nextPage:String;
protected var ad:Boolean;// = false
private var xmlLanguage:XML;
protected var localMode:Boolean;// = false
protected var gameNameCopy:String;
protected var urlLocal:String;
public var domain:String;
protected var mochibotId:String;
protected var arrLanguage:Array;
public var kongregate;
protected var language:String;// = "en"
protected var mochiadId:String;
public var so:Object;
protected var urlLanguage:String;
protected var moreGames:String;
public static var volume:Number = 1;
public static var lang:Dictionary = new Dictionary();
public function MyMain():void{
so = {data:{}, flush:function (){
}};
xmlLanguage = new XML();
arrLanguage = [];
languageLoader = new MyTextLoader();
super();
Security.allowDomain("benoitfreslon.com");
Security.allowDomain("www.benoitfreslon.com");
Security.allowDomain("*");
Security.allowInsecureDomain("*");
Security.loadPolicyFile("http://www.benoitfreslon.com/crossdomain.xml");
myContextMenu();
stage.addEventListener(KeyboardEvent.KEY_UP, keyUp);
var _local1:Array = loaderInfo.url.split("://");
domain = _local1[1].split("/")[0];
testLocal();
}
private function cookieError():void{
so = SharedObject.getLocal(cookieName, "/");
if (so){
fcCookie(so);
} else {
fcCookie({data:{}, flush:function (){
}});
};
cookieLoaded = true;
}
private function loaded(_arg1:Event):void{
gameLoaded = true;
}
public function shareOnFacebook(_arg1:MouseEvent=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest(("http://www.facebook.com/share.php?u=" + gameUrl));
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
public function languageError(_arg1:Event=null):void{
languageLoader.load(urlBackupLanguage, null, languageLoaded, languageError2);
}
public function mute():void{
if (SoundMixer.soundTransform.volume == 1){
SoundMixer.soundTransform = new SoundTransform(0);
} else {
SoundMixer.soundTransform = new SoundTransform(1);
};
}
public function gotoMode(_arg1:MouseEvent=null):void{
changePage("mode");
}
protected function allIsLoaded():void{
gotoAd();
}
public function languageError2(_arg1:Event=null):void{
}
private function cookieDownloaded(_arg1:Event):void{
var _local2:LoaderInfo = LoaderInfo(_arg1.target);
var _local3:DisplayObject = _local2.content;
addChild(_local3);
fcCookie(_local3["getCookie"](cookieName));
cookieLoaded = true;
}
protected function pageLoading():void{
addEventListener(Event.ENTER_FRAME, loading);
if (loaderInfo.bytesLoaded == loaderInfo.bytesTotal){
gameLoaded = true;
} else {
loaderInfo.addEventListener(Event.COMPLETE, loaded);
};
}
public function gotoCredits(_arg1:MouseEvent=null):void{
changePage("credits");
}
public function gotoWebsite(_arg1=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest(website);
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
public function gotoDev(_arg1:MouseEvent=null):void{
changePage("dev");
}
protected function languageChanged():void{
}
public function gotoMoreGames(_arg1=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest(moreGames);
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
public function transitionEnd():void{
gotoAndStop2(nextPage);
}
public function gotoGameover(_arg1:MouseEvent=null):void{
changePage("gameover");
}
protected function loading(_arg1:Event):void{
if (((((cookieLoaded) && (!((xmlLanguage == null))))) && (gameLoaded))){
allIsLoaded();
removeEventListener(Event.ENTER_FRAME, loading);
};
}
protected function kongregateAPI():void{
var request:URLRequest;
var loader:Loader;
if (domain != "chat.kongregate.com"){
return;
};
var paramObj:Object = LoaderInfo(root.loaderInfo).parameters;
if (domain != "chat.kongregate.com"){
};
var api_url:String = ((paramObj.api_path) || ("http://www.kongregate.com/flash/API_AS3_Local.swf"));
Security.loadPolicyFile("http://www.kongregate.com/crossdomain.xml");
try {
request = new URLRequest(api_url);
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
loader.load(request);
this.addChild(loader);
} catch(error:Error) {
};
}
protected function setLanguage(_arg1:String):Object{
var _local3:XML;
var _local4:XMLList;
language = _arg1;
xmlLanguage.ignoreWhitespace = true;
xmlLanguage.ignoreComments = true;
var _local2:XMLList = xmlLanguage.child("en").children();
for each (_local3 in _local2) {
Language[_local3.name()] = _local3;
};
_local4 = xmlLanguage.child(_arg1).children();
for each (_local3 in _local4) {
Language[_local3.name()] = _local3;
};
if (_local4.length() == 0){
language = "en";
};
Debug.object(Language);
languageChanged();
return (Language);
}
protected function getGlobalCookie(_arg1:String, _arg2:Function):void{
fcCookie = _arg2;
cookieName = _arg1;
var _local3:MyFileLoader = new MyFileLoader("http://www.benoitfreslon.com/modules/cookie/cookie_as3.swf", cookieDownloaded, cookieError);
}
protected function loadLanguage():void{
xmlLanguage = null;
languageLoader.load(urlLanguage, null, languageLoaded, languageError);
}
private function loadComplete(_arg1:Event):void{
kongregate = _arg1.target.content;
kongregate.services.connect();
}
protected function myContextMenu():void{
var _local1:ContextMenu = new ContextMenu();
_local1.hideBuiltInItems();
var _local2:ContextMenuItem = new ContextMenuItem(gameNameCopy);
_local2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, gotoWebsite);
_local2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, gotoWebsite);
var _local3:ContextMenuItem = new ContextMenuItem("Benoit Freslon");
_local3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, gotoWebsite);
var _local4:ContextMenuItem = new ContextMenuItem("www.benoitfreslon.com");
_local4.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, gotoWebsite);
_local1.customItems = [_local2, _local3, _local4];
contextMenu = _local1;
contextMenu.builtInItems;
}
public function gotoHiscores(_arg1:MouseEvent=null):void{
changePage("hiscores");
}
public function gotoAd(_arg1:MouseEvent=null):void{
changePage("ad");
}
protected function keyUp(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 83){
mute();
};
}
public function changePage(_arg1:String):void{
nextPage = _arg1;
}
public function gotoTutorial1(_arg1:MouseEvent=null):void{
changePage("tutorial1");
}
public function gotoTutorial2(_arg1:MouseEvent=null):void{
changePage("tutorial2");
}
public function gotoGame(_arg1:MouseEvent=null):void{
changePage("game");
}
private function testLocal():void{
if (loaderInfo.url == urlLocal){
localMode = true;
};
}
public function gotoMenu(_arg1:MouseEvent=null):void{
changePage("menu");
}
function adFinished():void{
changePage("menu");
}
public function gotoHelpMe(_arg1=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest(urlLanguage);
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
public function languageLoaded(_arg1:Event):void{
var xml:XML;
var pEvt = _arg1;
try {
xmlLanguage = new XML(pEvt.target.data);
arrLanguage = [];
for each (xml in xmlLanguage.children()) {
if (((!((xml.@language == ""))) && (!((xml.name() == "Hello"))))){
arrLanguage.push({code:xml.name(), language:xml.@language});
};
};
setLanguage(Capabilities.language);
} catch(e) {
languageError();
};
}
}
}//package com.my
Section 70
//MyMath (com.my.MyMath)
package com.my {
public class MyMath {
public static const COEF_RAD_2_DEG:Number = 57.2957795130823;
public static const PI_BY_2:Number = 6.28318530717959;
public static const PI_ON_2:Number = 1.5707963267949;
public static const COEF_DEG_2_RAD:Number = 0.0174532925199433;
public static function proportional(_arg1:Number, _arg2:Number, _arg3:Number):Number{
return ((((_arg2 - _arg1) * _arg3) + _arg1));
}
public static function pythagore(_arg1:Number, _arg2):Number{
return (Math.sqrt((Math.pow(_arg1, 2) + Math.pow(_arg2, 2))));
}
public static function getResAngle(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (_arg1 - _arg2);
if (_local3 > 180){
_local3 = (_local3 - 360);
} else {
if (_local3 < -180){
_local3 = (_local3 + 360);
};
};
return (_local3);
}
public static function threshold(_arg1:Number, _arg2:Number, _arg3:Number):Number{
return (Math.max(Math.min(_arg1, _arg3), _arg2));
}
public static function getResAngleRad(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (_arg1 - _arg2);
if (_local3 > Math.PI){
_local3 = (_local3 - MyMath.PI_BY_2);
} else {
if (_local3 < -(Math.PI)){
_local3 = (_local3 + MyMath.PI_BY_2);
};
};
return (_local3);
}
public static function randBool():Boolean{
if (0.5 < Math.random()){
return (true);
};
return (false);
}
public static function ruleOfTree(_arg1:Number, _arg2:Number, _arg3:Number):Number{
return (((_arg1 * _arg3) / _arg2));
}
public static function sec2min(_arg1:int, _arg2:String=":"):String{
var _local5:String;
var _local3:int = (_arg1 / 60);
var _local4:int = (_arg1 % 60);
_local5 = String(_local4);
if (_local4 < 10){
_local5 = ("0" + _local4);
};
return (((_local3 + _arg2) + _local5));
}
public static function randRange(_arg1:Number, _arg2:Number):Number{
return ((_arg1 + (Math.random() * (_arg2 - _arg1))));
}
}
}//package com.my
Section 71
//MyMovieClip (com.my.MyMovieClip)
package com.my {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public dynamic class MyMovieClip extends MovieClip {
public var b:MovieClip;
public var txtContinue:TextField;
public function setColor(_arg1:uint):void{
}
public function removeAllChildren():void{
while (numChildren) {
removeChildAt(0);
};
}
public function remove():void{
stop();
if (MovieClip(parent)){
if (MovieClip(parent).contains(this)){
MovieClip(parent).removeChild(this);
};
};
}
public function get scale():Number{
return (scaleX);
}
public function mimic(_arg1:MovieClip):void{
gotoAndStop(_arg1.currentFrame);
alpha = _arg1.alpha;
scaleX = _arg1.scaleX;
scaleY = _arg1.scaleY;
width = _arg1.width;
height = _arg1.height;
rotation = _arg1.rotation;
}
public function gotoAndPlay2(_arg1, _arg2:String=null):void{
var myGotoAndPlay:Function;
var pFrame = _arg1;
var pSequence = _arg2;
myGotoAndPlay = function (_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, myGotoAndPlay);
if (pSequence){
gotoAndPlay(pFrame, pSequence);
} else {
gotoAndPlay(pFrame);
};
};
addEventListener(Event.ENTER_FRAME, myGotoAndPlay);
}
public function set scale(_arg1:Number):void{
scaleX = _arg1;
scaleY = _arg1;
}
public function distance(_arg1):Number{
return (Math.sqrt((Math.pow((x - _arg1.x), 2) + Math.pow((y - _arg1.y), 2))));
}
public function angleRadian(_arg1:MovieClip):Number{
return (Math.atan2((_arg1.y - y), (_arg1.x - x)));
}
public function gotoAndStop2(_arg1, _arg2:String=null):void{
var myGotoAndStop:Function;
var pFrame = _arg1;
var pSequence = _arg2;
myGotoAndStop = function (_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, myGotoAndStop);
if (pSequence){
gotoAndStop(pFrame, pSequence);
} else {
gotoAndStop(pFrame);
};
};
addEventListener(Event.ENTER_FRAME, myGotoAndStop);
}
}
}//package com.my
Section 72
//MyTextLoader (com.my.MyTextLoader)
package com.my {
import flash.events.*;
import flash.net.*;
public dynamic class MyTextLoader {
public var fcError:Function;
private var loader:URLLoader;
public var fcComplete:Function;
public function MyTextLoader(_arg1:String=null, _arg2:URLVariables=null, _arg3:Function=null, _arg4:Function=null){
fcComplete = function (_arg1:Event):void{
};
fcError = function (_arg1:Event):void{
};
loader = new URLLoader();
super();
if (_arg1 != null){
load(_arg1, _arg2, _arg3, _arg4);
};
}
private function openHandler(_arg1:Event):void{
}
private function securityErrorHandler(_arg1:SecurityErrorEvent):void{
fcError(_arg1);
}
private function ioErrorHandler(_arg1:IOErrorEvent):void{
if (fcError != null){
fcError(_arg1);
};
}
public function stop():void{
loader.removeEventListener(Event.COMPLETE, completeHandler);
loader.removeEventListener(Event.OPEN, openHandler);
loader.removeEventListener(ProgressEvent.PROGRESS, progressHandler);
loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
loader.removeEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
loader.removeEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
}
public function load(_arg1:String, _arg2:URLVariables=null, _arg3:Function=null, _arg4:Function=null):void{
var request:URLRequest;
var pDownloadURL = _arg1;
var pVariables = _arg2;
var pFcComplete = _arg3;
var pFcError = _arg4;
stop();
loader = new URLLoader();
configureListeners();
fcComplete = pFcComplete;
fcError = pFcError;
if (pDownloadURL.split("http://").length > 1){
request = new URLRequest(((pDownloadURL + "?random=") + Math.random()));
} else {
request = new URLRequest(pDownloadURL);
};
request.method = URLRequestMethod.POST;
if (pVariables != null){
request.data = pVariables;
};
try {
loader.load(request);
} catch(error:Error) {
fcError(new Event("error"));
};
}
private function httpStatusHandler(_arg1:HTTPStatusEvent):void{
}
private function completeHandler(_arg1:Event):void{
fcComplete(_arg1);
}
private function configureListeners():void{
stop();
loader.addEventListener(Event.COMPLETE, completeHandler);
loader.addEventListener(Event.OPEN, openHandler);
loader.addEventListener(ProgressEvent.PROGRESS, progressHandler);
loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
}
private function progressHandler(_arg1:ProgressEvent):void{
}
}
}//package com.my
Section 73
//MyYoutube (com.my.MyYoutube)
package com.my {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.system.*;
public class MyYoutube extends Sprite {
public var player:Object;
private var ready:Boolean;// = false
private var h:int;// = 0
private var url:String;// = ""
private var loader:Loader;
private var w:int;// = 0
public function MyYoutube():void{
loader = new Loader();
super();
Security.allowDomain("www.youtube.com");
addEventListener(Event.REMOVED_FROM_STAGE, removed);
loader.load(new URLRequest("http://www.youtube.com/apiplayer?version=3"));
loader.contentLoaderInfo.addEventListener(Event.INIT, onLoaderInit);
}
private function removed(_arg1:Event):void{
remove();
}
public function remove():void{
removeEventListener(Event.REMOVED_FROM_STAGE, removed);
pause();
stop();
if (loader){
if (contains(loader)){
removeChild(loader);
};
loader.unload();
};
if (loader.content){
loader.content.removeEventListener("onReady", onPlayerReady);
loader.content.removeEventListener("onError", onPlayerError);
loader.content.removeEventListener("onStateChange", onPlayerStateChange);
loader.content.removeEventListener("onPlaybackQualityChange", onVideoPlaybackQualityChange);
};
loader = null;
}
public function stop():void{
if (player){
player.stopVideo();
};
}
function onPlayerReady(_arg1:Event):void{
player = loader.content;
ready = true;
load(url, w, h);
}
function onLoaderInit(_arg1:Event):void{
addChild(loader);
loader.content.addEventListener("onReady", onPlayerReady);
loader.content.addEventListener("onError", onPlayerError);
loader.content.addEventListener("onStateChange", onPlayerStateChange);
loader.content.addEventListener("onPlaybackQualityChange", onVideoPlaybackQualityChange);
}
public function load(_arg1:String, _arg2:int, _arg3:int):void{
w = _arg2;
h = _arg3;
url = _arg1;
if (ready){
player.setSize(w, h);
player.loadVideoByUrl(_arg1);
};
}
public function pause():void{
if (player){
player.pauseVideo();
};
}
function onVideoPlaybackQualityChange(_arg1:Event):void{
}
function onPlayerStateChange(_arg1:Event):void{
}
function onPlayerError(_arg1:Event):void{
}
}
}//package com.my
Section 74
//Main (com.Main)
package com {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import com.greensock.*;
import com.my.*;
import com.fx.*;
import flash.utils.*;
import com.greensock.easing.*;
import com.games.*;
import flash.ui.*;
import flash.system.*;
public dynamic class Main extends MyMain {
private const ARR_BONUS:Array;
public const URL_SAVE_FRIEND:String = "http://www.benoitfreslon.com/games/take_something_literally_2/friend/save_friend.php";
public const URL_VIE_EN_ROSE:String = "http://www.benoitfreslon.com/games/take_something_literally_2/rose/color.php";
public const URL_DOOR_CODE:String = "http://www.benoitfreslon.com/games/take_something_literally_2/friend/go_to_party.php";
public const URL_UNLOCK_FRIEND:String = "http://www.benoitfreslon.com/games/take_something_literally_2/friend/unlock_friend.php";
public const URL_CHECK_UNLOCK:String = "http://www.benoitfreslon.com/games/take_something_literally_2/friend/check_unlock.php";
public const URL_DOWNLOAD_SCRIPT:String = "http://www.benoitfreslon.com/games/take_something_literally_2/file/download.php";
public const URL_UPLOAD_SCRIPT:String = "http://www.benoitfreslon.com/games/take_something_literally_2/file/upload.php";
public var txtScore:TextField;
public var diff:MovieClip;
public var txtTip:TextField;
public var toPatient:int;// = 0
private var loader:Loader;
public var cTransition:MovieClip;
public var tip_01:Tip;
public var tip_02:Tip;
public var tip_03:Tip;
public var tip_04:Tip;
private var siInfo:int;// = -1
public var txtGameName:MovieClip;
public var btMoreGames:Button;
private var sdStar:SdStar;
public var heart:MovieClip;
public var star:Star;
private var sdKey:SdKey;
public var btBack:Button;
public var __setPropDict:Dictionary;
private var sdBonus:SdBonus;
public var txtRules:TextField;
public var btTip2:MovieClip;
public var smartkit:Boolean;// = false
private var infoId:int;// = 0
private var finished:Boolean;// = false
public var butterfly:MyMovieClip;// = null
private var tw:Typewriter;
private var urlHostThisGame:String;// = ""
private var sdTip:SdTip;
private var siTimer:int;// = -1
private var score:int;// = 0
public var tip:MovieClip;
public var mouse:MovieClip;// = null
public var btPlay:Button;
public var btShare:Button;
private var arrInfo:Array;
public var btHelp:Button;
public var listLanguage1:ComboBox;
public var listLanguage2:ComboBox;
public var armorgames:Boolean;// = true
public var btTip:Button;
private var go:Gameover;
private var urlForum:String;// = ""
public var nextBonus:int;// = 0
public var cGame:MovieClip;
private var sdDing:SdDing;
private var catGame:Game;// = null
private var sdUnlock:SdUnlock;
private var butterflyGame:Game;// = null
private var isGameover:Boolean;// = false
public var txtTakeTheHints:TextField;
private var cheatMode:Boolean;// = false
private var yt:MyYoutube;
private var tempScore:int;// = 0
private var ARR_GAME:Array;
public var allowDomainAccess:Boolean;// = true
private var sdGameover:SdGameover;
public var txtInfo:TextField;
private var toChangePage:int;// = -1
private var lor:int;// = 1
private var testMode:Boolean;// = false
public var so2:Object;
public var txtThanks:TextField;
private var transition:TransitionPage;
public var keepPressing:Boolean;// = false
private var urlFacebook:String;// = ""
public var btTSL1:Button;
public var rope1:MovieClip;
public var rope2:MovieClip;
public var nextGame:int;// = 0
private var previousGame:int;// = -1
public var catId:int;// = -1
public var king:Boolean;// = false
public var column0:MovieClip;
public var disclaimer:MovieClip;
public var column2:MovieClip;
public var column3:MovieClip;
public var column4:MovieClip;
public var column1:MovieClip;
public var txtGameName2:TextField;
private var sdCat:SdCat;
public var txtTitle:TextField;
public var mofunzone:Boolean;// = false
public var cat:int;// = -1
private var game:Game;
private var secretId:int;// = 8
public static var main:Main;
public static var lang:Object = new Object();
public function Main():void{
__setPropDict = new Dictionary(true);
sdGameover = new SdGameover();
sdDing = new SdDing();
sdTip = new SdTip();
sdKey = new SdKey();
sdBonus = new SdBonus();
sdStar = new SdStar();
sdUnlock = new SdUnlock();
ARR_GAME = [];
sdCat = new SdCat();
so2 = {data:{}, flush:function (){
}};
arrInfo = [];
loader = new Loader();
ARR_BONUS = ["http://www.youtube.com/v/xSE9Qk9wkig", "http://www.youtube.com/v/hqOBR_Xbw2I", "http://www.youtube.com/v/pIrvpn3k9A4", "http://www.youtube.com/v/Bb6K868RCVY", "http://www.youtube.com/v/20QBe43tyVM"];
addFrameScript(0, frame1, 8, frame9, 15, frame16, 22, frame23, 28, frame29, 35, frame36, 43, frame44, 51, frame52, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 70, frame71, 71, frame72, 72, frame73, 73, frame74, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100, 100, frame101, 101, frame102, 102, frame103, 103, frame104, 104, frame105, 105, frame106, 106, frame107, 107, frame108, 108, frame109, 109, frame110, 110, frame111, 111, frame112, 112, frame113, 113, frame114);
Main.main = this;
gameNameCopy = "Take something literally 2 © 2010";
mochiadId = "4bf0ca42a92c5ff9";
size = "550x400";
mochibotId = "eaa4e959";
website = "http://www.benoitfreslon.com/";
urlLanguage = "http://www.benoitfreslon.com/games/take_something_literally_2/language.xml";
arrDomain = ["thisisgameplay.com", "benoitfreslon.com", "flashgamelicense.com", "armorgames.com"];
urlLocal = "file:///D|/Workshop/Projets/Take%20something%20literally%202/2%5Frelease/take%5Fsomething%5Fliterally%5F2.swf";
moreGames = "";
urlForum = "";
gameUrl = "";
urlFacebook = "";
localMode = false;
cheatMode = false;
testMode = false;
ad = true;
Security.loadPolicyFile("http://www.youtube.com/crossdomain.xml");
initContextMenu();
getGlobalCookie("take_something_literally_2", getCookie);
super();
loadLanguage();
if (armorgames){
moreGames = "http://www.armorgames.com/";
urlForum = "http://armorgames.com/guide/take-something-literally-2-Walk-Through";
gameUrl = "http://armorgames.com/play/5977/take-something-literally-2";
urlBackupLanguage = "http://benoit.freslon.free.fr/tsl2/language.xml";
} else {
moreGames = "http://www.benoitfreslon.com/";
urlForum = "http://www.benoitfreslon.com/forum/viewforum.php?f=16&sid=5440fe30334e649cfd134741c5f6ea98";
gameUrl = "http://www.benoitfreslon.com/my-games/take-something-literally-2/";
};
kongregateAPI();
}
protected function gotoTSL1(_arg1=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest("http://armorgames.com/play/4813/take-something-literally");
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
private function rollOverTip(_arg1:MouseEvent):void{
if (tw){
tw.stop();
tw = null;
};
txtInfo.text = "";
tw = new Typewriter(txtInfo, (((((Language["tipFound1"] + " ") + getNbTip()) + "/25 ") + Language["lights"]) + "."));
tw.start();
clearInterval(siInfo);
siInfo = setInterval(displayInfo, 10000);
}
private function pageSelection1():void{
btHelp.label = Language["needHelp"];
btHelp.addEventListener(MouseEvent.CLICK, gotoForum);
this["btShare"].addEventListener(MouseEvent.CLICK, shareOnFacebook);
this["btShare"].setStyle("icon", new FacebookButton());
this["btShare"].addEventListener(MouseEvent.CLICK, gotoTSL1);
btMoreGames.label = Language["moreGames"];
btMoreGames.addEventListener(MouseEvent.CLICK, gotoMoreGames);
createListLanguage(listLanguage2);
Mouse.show();
initContextMenu();
stage.quality = "HIGH";
clearInterval(siTimer);
txtGameName.txt.txt.text = (("< " + Language["selectAPuzzle"]) + " >");
displayInfo();
siInfo = setInterval(displayInfo, 10000);
displayNbTip();
btTip2.addEventListener(MouseEvent.CLICK, rollOverTip);
btTip2.buttonMode = true;
}
private function startCat():void{
}
private function pageHiscores():void{
}
private function startButterfly():void{
clearTimeout(toPatient);
toPatient = -1;
butterfly = new TheButterfly();
if (lor == -1){
butterfly.scaleX = -1;
butterfly.x = 550;
lor = 1;
} else {
butterfly.scaleX = 1;
butterfly.x = 0;
lor = -1;
};
addChild(butterfly);
bePatient();
}
public function getCompletedGames():int{
var _local1:int;
var _local2:int;
while (_local2 < 25) {
if (so.data[("game_" + _local2)] == "ok"){
_local1++;
};
_local2++;
};
return (_local1);
}
override protected function languageChanged():void{
ARR_GAME = [{name:Language["deactivate"], mc:Deactivate, diff:1, giveup:true, tip:Language["deactivateTip"]}, {name:Language["keepPressing"], mc:KeepPressing, diff:1, giveup:false, tip:Language["keepPressingTip"]}, {name:Language["email"], mc:Email, diff:1, giveup:true, tip:Language["emailTip"]}, {name:Language["file"], mc:File, diff:2, giveup:true, tip:Language["fileTip"]}, {name:Language["decode"], mc:Decode, diff:2, giveup:true, tip:Language["decodeTip"]}, {name:Language["myMouse"], mc:MyMouse, diff:1, giveup:true, tip:Language["myMouseTip"]}, {name:Language["pause"], mc:Play, diff:1, giveup:true, tip:Language["playTip"]}, {name:Language["tinyText"], mc:TinyText, diff:2, giveup:true, tip:Language["tinyTextTip"]}, {name:Language["secret"], mc:Secret, diff:2, giveup:true, tip:Language["secretTip"]}, {name:Language["screenshot"], mc:Screenshot, diff:2, giveup:true, tip:Language["screenshotTip"]}, {name:Language["leave"], mc:Leave, diff:1, giveup:true, tip:Language["leaveTip"]}, {name:Language["mirror"], mc:Mirror, diff:1, giveup:true, tip:Language["mirrorTip"]}, {name:Language["search"], mc:Search, diff:2, giveup:true, tip:Language["searchTip"]}, {name:Language["cat"], mc:Cat, diff:2, giveup:true, tip:Language["catTip"]}, {name:Language["friend"], mc:Friend, diff:3, giveup:true, tip:Language["friendTip"]}, {name:Language["butterfly"], mc:Butterfly, diff:1, giveup:true, tip:Language["butterflyTip"]}, {name:Language["tabulation"], mc:Tabulation, diff:1, giveup:true, tip:Language["tabulationTip"]}, {name:Language["url"], mc:URL, diff:2, giveup:true, tip:Language["urlTip"]}, {name:Language["piano"], mc:Piano, diff:2, giveup:true, tip:Language["pianoTip"]}, {name:Language["puzzle"], mc:Puzzle, diff:3, giveup:true, tip:Language["puzzleTip"]}, {name:Language["slow"], mc:Slow, diff:2, giveup:true, tip:Language["slowTip"]}, {name:Language["resolution"], mc:Resolution, diff:2, giveup:true, tip:Language["resolutionTip"]}, {name:Language["time"], mc:Time, diff:2, giveup:true, tip:Language["timeTip"]}, {name:Language["vieEnRose"], mc:VieEnRose, diff:2, giveup:true, tip:Language["vieEnRoseTip"]}, {name:Language["candle2"], mc:Candle2, diff:3, giveup:true, tip:Language["candle2Tip"]}];
arrInfo = [Language["info1"], Language["info2"], Language["info3"], Language["info4"], Language["info5"], Language["info6"], Language["info7"], Language["info8"]];
if (so.data){
so.data.searchText1 = Language["searchText"];
so.flush();
};
}
override public function changePage(_arg1:String):void{
transition = new TransitionPage();
cTransition.addChild(transition);
cTransition.mouseChildren = false;
cTransition.mouseEnabled = false;
transition.gotoAndPlay(1);
super.changePage(_arg1);
clearInterval(siInfo);
if (tw){
tw.stop();
tw = null;
};
}
function frame16(){
}
private function pagePlay():void{
stop();
if ((game is Play)){
game.win();
initContextMenu();
if (this["p"]){
this["p"].visible = false;
};
};
gotoAndStop("game");
}
function frame1(){
stop();
pageLoading();
}
function frame9(){
pageAd();
}
function frame24(){
if ((((__setPropDict[btPlay] == undefined)) || (!((((int(__setPropDict[btPlay]) >= 23)) && ((int(__setPropDict[btPlay]) <= 28))))))){
__setPropDict[btPlay] = currentFrame;
__setProp_btPlay_S();
};
}
private function addScore():void{
if (!star){
return;
};
tempScore++;
txtScore.text = String(tempScore);
sdStar.play();
star.fxBounce.start(0.5, 0.5, 0.95);
}
function frame23(){
if ((((__setPropDict[btPlay] == undefined)) || (!((((int(__setPropDict[btPlay]) >= 23)) && ((int(__setPropDict[btPlay]) <= 28))))))){
__setPropDict[btPlay] = currentFrame;
__setProp_btPlay_S();
};
stop();
pageMenu();
}
function frame25(){
if ((((__setPropDict[btPlay] == undefined)) || (!((((int(__setPropDict[btPlay]) >= 23)) && ((int(__setPropDict[btPlay]) <= 28))))))){
__setPropDict[btPlay] = currentFrame;
__setProp_btPlay_S();
};
}
private function getCompletedParts():int{
var _local3:int;
var _local4:int;
var _local1:int;
var _local2:int;
while (_local2 < 5) {
_local3 = 0;
_local4 = 0;
while (_local4 < 5) {
if (so.data[("game_" + (_local4 + (_local2 * 5)))] == "ok"){
_local3++;
};
if (_local3 >= 3){
_local1++;
_local4 = 5;
};
_local4++;
};
_local2++;
};
if (cheatMode){
return (5);
};
return (_local1);
}
private function displayTip(_arg1:MouseEvent):void{
if (Tip.nbTip > 0){
Tip.nbTip--;
displayNbTip();
displayTip2();
so.data.tip = Tip.nbTip;
so.data[("hasTip_" + nextGame)] = 1;
so.flush();
} else {
btTip.label = Language["btTipError"];
};
if (cheatMode){
displayTip2();
};
}
function frame28(){
if ((((__setPropDict[btPlay] == undefined)) || (!((((int(__setPropDict[btPlay]) >= 23)) && ((int(__setPropDict[btPlay]) <= 28))))))){
__setPropDict[btPlay] = currentFrame;
__setProp_btPlay_S();
};
}
public function initContextMenu():void{
var _local1:ContextMenu = new ContextMenu();
_local1.hideBuiltInItems();
var _local2:ContextMenuBuiltInItems = _local1.builtInItems;
_local2.print = false;
_local2.quality = false;
_local2.zoom = false;
_local2.save = false;
_local2.play = false;
_local2.forwardAndBack = false;
contextMenu = _local1;
}
public function gameCompleted(_arg1:Boolean=true):void{
so.data.gameCompleted = nextGame;
so.flush();
var _local2:Completed = new Completed();
_local2.x = 275;
_local2.y = 200;
game.addChild(_local2);
TweenMax.fromTo(_local2, 0.5, {alpha:0}, {alpha:1});
clearInterval(siTimer);
clearTimeout(toChangePage);
toChangePage = setTimeout(changePage, 4000, "selection");
btBack.visible = false;
if (_arg1){
};
}
protected function gotoArmorGames(_arg1=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest("http://www.armorgames.com/");
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
function frame26(){
if ((((__setPropDict[btPlay] == undefined)) || (!((((int(__setPropDict[btPlay]) >= 23)) && ((int(__setPropDict[btPlay]) <= 28))))))){
__setPropDict[btPlay] = currentFrame;
__setProp_btPlay_S();
};
}
protected function gotoBonus(_arg1:MouseEvent=null):void{
changePage("bonus");
}
function frame33(){
if ((((__setPropDict[btTSL1] == undefined)) || (!((((int(__setPropDict[btTSL1]) >= 29)) && ((int(__setPropDict[btTSL1]) <= 35))))))){
__setPropDict[btTSL1] = currentFrame;
__setProp_btTSL1_S();
};
if ((((__setPropDict[btShare] == undefined)) || (!((((int(__setPropDict[btShare]) >= 29)) && ((int(__setPropDict[btShare]) <= 35))))))){
__setPropDict[btShare] = currentFrame;
__setProp_btShare_S();
};
if ((((__setPropDict[btHelp] == undefined)) || (!((((int(__setPropDict[btHelp]) >= 29)) && ((int(__setPropDict[btHelp]) <= 35))))))){
__setPropDict[btHelp] = currentFrame;
__setProp_btHelp_S();
};
if ((((__setPropDict[btMoreGames] == undefined)) || (!((((int(__setPropDict[btMoreGames]) >= 29)) && ((int(__setPropDict[btMoreGames]) <= 35))))))){
__setPropDict[btMoreGames] = currentFrame;
__setProp_btMoreGames_S();
};
}
private function pageMenu():void{
btPlay.addEventListener(MouseEvent.CLICK, gotoSelection);
btPlay.focusEnabled = false;
btPlay.mouseFocusEnabled = false;
txtRules.text = Language["rules"];
txtTakeTheHints.text = Language["takeTheHints"];
disclaimer.txt.htmlText = (("<p align='center'>" + Language["disclaimerText"]) + "</p>");
btPlay.label = Language["startButton"];
txtTitle.text = Language["title"];
createListLanguage(listLanguage1);
txtThanks.htmlText = (((("<a href='" + urlLanguage) + "' target='_blank' >") + Language["specialThanks"]) + "</a>");
checkResolution();
checkSecret();
}
private function displayInfo():void{
if (nextPage != "selection"){
clearInterval(siInfo);
return;
};
if (tw){
tw.stop();
tw = null;
return;
};
txtInfo.text = "";
tw = new Typewriter(txtInfo, arrInfo[infoId]);
infoId++;
if (infoId >= arrInfo.length){
infoId = 0;
};
tw.start();
}
private function getNbTip():int{
var _local1:int;
var _local2 = 1;
while (_local2 <= 25) {
if ((((so.data[("tip_" + _local2)] == "found")) || ((so.data[("tip_0" + _local2)] == "found")))){
_local1++;
};
_local2++;
};
return (_local1);
}
private function addStar(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
var _local7:Star;
var _local8:Number;
var _local6:int;
while (_local6 < _arg1) {
_local7 = new Star();
_local8 = (2 + (_local6 / 2));
TweenMax.fromTo(_local7, _local8, {x:_arg2, y:_arg3, ease:Sine.easeIn}, {x:_arg4, y:_arg5, rotation:360, ease:Sine.easeIn});
addChild(_local7);
setTimeout(removeStar, (_local8 * 1000), _local7);
_local6++;
};
star.fxBounce = new Blob(star);
}
function frame27(){
if ((((__setPropDict[btPlay] == undefined)) || (!((((int(__setPropDict[btPlay]) >= 23)) && ((int(__setPropDict[btPlay]) <= 28))))))){
__setPropDict[btPlay] = currentFrame;
__setProp_btPlay_S();
};
}
function frame34(){
if ((((__setPropDict[btTSL1] == undefined)) || (!((((int(__setPropDict[btTSL1]) >= 29)) && ((int(__setPropDict[btTSL1]) <= 35))))))){
__setPropDict[btTSL1] = currentFrame;
__setProp_btTSL1_S();
};
if ((((__setPropDict[btShare] == undefined)) || (!((((int(__setPropDict[btShare]) >= 29)) && ((int(__setPropDict[btShare]) <= 35))))))){
__setPropDict[btShare] = currentFrame;
__setProp_btShare_S();
};
if ((((__setPropDict[btHelp] == undefined)) || (!((((int(__setPropDict[btHelp]) >= 29)) && ((int(__setPropDict[btHelp]) <= 35))))))){
__setPropDict[btHelp] = currentFrame;
__setProp_btHelp_S();
};
if ((((__setPropDict[btMoreGames] == undefined)) || (!((((int(__setPropDict[btMoreGames]) >= 29)) && ((int(__setPropDict[btMoreGames]) <= 35))))))){
__setPropDict[btMoreGames] = currentFrame;
__setProp_btMoreGames_S();
};
}
function __setProp_btShare_S(){
try {
btShare["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btShare.emphasized = false;
btShare.enabled = true;
btShare.label = "";
btShare.labelPlacement = "right";
btShare.selected = false;
btShare.toggle = false;
btShare.visible = true;
try {
btShare["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame36(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
stop();
pageGame();
}
function frame37(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
private function keepPressingLose(_arg1:MouseEvent):void{
keepPressing = false;
}
function frame31(){
if ((((__setPropDict[btTSL1] == undefined)) || (!((((int(__setPropDict[btTSL1]) >= 29)) && ((int(__setPropDict[btTSL1]) <= 35))))))){
__setPropDict[btTSL1] = currentFrame;
__setProp_btTSL1_S();
};
if ((((__setPropDict[btShare] == undefined)) || (!((((int(__setPropDict[btShare]) >= 29)) && ((int(__setPropDict[btShare]) <= 35))))))){
__setPropDict[btShare] = currentFrame;
__setProp_btShare_S();
};
if ((((__setPropDict[btHelp] == undefined)) || (!((((int(__setPropDict[btHelp]) >= 29)) && ((int(__setPropDict[btHelp]) <= 35))))))){
__setPropDict[btHelp] = currentFrame;
__setProp_btHelp_S();
};
if ((((__setPropDict[btMoreGames] == undefined)) || (!((((int(__setPropDict[btMoreGames]) >= 29)) && ((int(__setPropDict[btMoreGames]) <= 35))))))){
__setPropDict[btMoreGames] = currentFrame;
__setProp_btMoreGames_S();
};
}
function frame29(){
if ((((__setPropDict[btTSL1] == undefined)) || (!((((int(__setPropDict[btTSL1]) >= 29)) && ((int(__setPropDict[btTSL1]) <= 35))))))){
__setPropDict[btTSL1] = currentFrame;
__setProp_btTSL1_S();
};
if ((((__setPropDict[btShare] == undefined)) || (!((((int(__setPropDict[btShare]) >= 29)) && ((int(__setPropDict[btShare]) <= 35))))))){
__setPropDict[btShare] = currentFrame;
__setProp_btShare_S();
};
if ((((__setPropDict[btHelp] == undefined)) || (!((((int(__setPropDict[btHelp]) >= 29)) && ((int(__setPropDict[btHelp]) <= 35))))))){
__setPropDict[btHelp] = currentFrame;
__setProp_btHelp_S();
};
if ((((__setPropDict[btMoreGames] == undefined)) || (!((((int(__setPropDict[btMoreGames]) >= 29)) && ((int(__setPropDict[btMoreGames]) <= 35))))))){
__setPropDict[btMoreGames] = currentFrame;
__setProp_btMoreGames_S();
};
stop();
pageSelection();
}
function frame30(){
if ((((__setPropDict[btTSL1] == undefined)) || (!((((int(__setPropDict[btTSL1]) >= 29)) && ((int(__setPropDict[btTSL1]) <= 35))))))){
__setPropDict[btTSL1] = currentFrame;
__setProp_btTSL1_S();
};
if ((((__setPropDict[btShare] == undefined)) || (!((((int(__setPropDict[btShare]) >= 29)) && ((int(__setPropDict[btShare]) <= 35))))))){
__setPropDict[btShare] = currentFrame;
__setProp_btShare_S();
};
if ((((__setPropDict[btHelp] == undefined)) || (!((((int(__setPropDict[btHelp]) >= 29)) && ((int(__setPropDict[btHelp]) <= 35))))))){
__setPropDict[btHelp] = currentFrame;
__setProp_btHelp_S();
};
if ((((__setPropDict[btMoreGames] == undefined)) || (!((((int(__setPropDict[btMoreGames]) >= 29)) && ((int(__setPropDict[btMoreGames]) <= 35))))))){
__setPropDict[btMoreGames] = currentFrame;
__setProp_btMoreGames_S();
};
}
function frame35(){
if ((((__setPropDict[btTSL1] == undefined)) || (!((((int(__setPropDict[btTSL1]) >= 29)) && ((int(__setPropDict[btTSL1]) <= 35))))))){
__setPropDict[btTSL1] = currentFrame;
__setProp_btTSL1_S();
};
if ((((__setPropDict[btShare] == undefined)) || (!((((int(__setPropDict[btShare]) >= 29)) && ((int(__setPropDict[btShare]) <= 35))))))){
__setPropDict[btShare] = currentFrame;
__setProp_btShare_S();
};
if ((((__setPropDict[btHelp] == undefined)) || (!((((int(__setPropDict[btHelp]) >= 29)) && ((int(__setPropDict[btHelp]) <= 35))))))){
__setPropDict[btHelp] = currentFrame;
__setProp_btHelp_S();
};
if ((((__setPropDict[btMoreGames] == undefined)) || (!((((int(__setPropDict[btMoreGames]) >= 29)) && ((int(__setPropDict[btMoreGames]) <= 35))))))){
__setPropDict[btMoreGames] = currentFrame;
__setProp_btMoreGames_S();
};
}
function frame40(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame39(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame32(){
if ((((__setPropDict[btTSL1] == undefined)) || (!((((int(__setPropDict[btTSL1]) >= 29)) && ((int(__setPropDict[btTSL1]) <= 35))))))){
__setPropDict[btTSL1] = currentFrame;
__setProp_btTSL1_S();
};
if ((((__setPropDict[btShare] == undefined)) || (!((((int(__setPropDict[btShare]) >= 29)) && ((int(__setPropDict[btShare]) <= 35))))))){
__setPropDict[btShare] = currentFrame;
__setProp_btShare_S();
};
if ((((__setPropDict[btHelp] == undefined)) || (!((((int(__setPropDict[btHelp]) >= 29)) && ((int(__setPropDict[btHelp]) <= 35))))))){
__setPropDict[btHelp] = currentFrame;
__setProp_btHelp_S();
};
if ((((__setPropDict[btMoreGames] == undefined)) || (!((((int(__setPropDict[btMoreGames]) >= 29)) && ((int(__setPropDict[btMoreGames]) <= 35))))))){
__setPropDict[btMoreGames] = currentFrame;
__setProp_btMoreGames_S();
};
}
public function displayNbTip():void{
if (this["txtTip"]){
this["txtTip"].text = String(Tip.nbTip);
};
}
function frame45(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame47(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame48(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
private function showCursor():void{
Mouse.show();
}
function frame43(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
private function rollOverGame(_arg1:MouseEvent):void{
txtGameName.gotoAndPlay(1);
txtGameName.txt.txt.text = (((_arg1.currentTarget.idGame + 1) + ". ") + ARR_GAME[_arg1.currentTarget.idGame].name);
_arg1.currentTarget.roll.play();
TweenMax.to(_arg1.currentTarget.txtId, 0.4, {alpha:0});
}
function frame46(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame38(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame49(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame42(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame44(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
pagePlay();
}
function frame51(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame52(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
stop();
pageBonus();
}
function frame53(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame41(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
function frame55(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame50(){
if ((((__setPropDict[btTip] == undefined)) || (!((((int(__setPropDict[btTip]) >= 36)) && ((int(__setPropDict[btTip]) <= 51))))))){
__setPropDict[btTip] = currentFrame;
__setProp_btTip_S();
};
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 36)) && ((int(__setPropDict[btBack]) <= 51))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S();
};
}
private function pageBonus():void{
yt = null;
yt = new MyYoutube();
yt.load(ARR_BONUS[nextBonus], 550, 400);
addChild(yt);
btBack.label = Language["back"];
btBack.addEventListener(MouseEvent.CLICK, backToSelection2);
addChild(btBack);
}
function frame59(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame54(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame56(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame58(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame57(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function displayTip2():void{
sdUnlock.play();
btTip.enabled = false;
btTip.label = (((("< " + Language["tip"]) + " ") + ARR_GAME[nextGame].tip) + " >");
}
private function pageMode():void{
}
function frame60(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame63(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
override public function gotoAd(_arg1:MouseEvent=null):void{
super.gotoAd();
}
function frame62(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function __setProp_btPlay_S(){
try {
btPlay["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btPlay.emphasized = false;
btPlay.enabled = true;
btPlay.label = "Agree and Start";
btPlay.labelPlacement = "right";
btPlay.selected = false;
btPlay.toggle = false;
btPlay.visible = true;
try {
btPlay["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame64(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame65(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function removeStar(_arg1:MovieClip):void{
removeChild(_arg1);
addScore();
}
function frame69(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame68(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame72(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function pageCredits():void{
}
function frame76(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function pageTutorial():void{
}
function frame66(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame74(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function addURL():void{
var request:URLRequest;
try {
request = new URLRequest("#password=here");
try {
navigateToURL(request, "_self");
} catch(e) {
allowDomainAccess = false;
};
} catch(error:Error) {
};
}
function frame73(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame75(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame77(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame78(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame71(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function pageAd():void{
stop();
if (ad){
if (armorgames){
};
} else {
changePage("menu");
};
}
private function rollOutGame(_arg1:MouseEvent):void{
txtGameName.txt.txt.text = (("< " + Language["selectAPuzzle"]) + " >");
txtGameName.gotoAndPlay(1);
_arg1.currentTarget.roll.gotoAndStop(1);
TweenMax.to(_arg1.currentTarget.txtId, 0.4, {alpha:1});
}
function frame81(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame67(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function changeLanguage(_arg1:Event):void{
var _local2:String = _arg1.currentTarget.selectedItem.data;
if (_local2 == "null"){
gotoHelpMe();
} else {
if (_local2){
setLanguage(_arg1.currentTarget.selectedItem.data);
if (currentLabel == "menu"){
pageMenu();
} else {
if (currentLabel == "selection"){
pageSelection();
};
};
};
};
}
function frame84(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame85(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame86(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame80(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame88(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame83(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function createListLanguage(_arg1):void{
var _local2:String;
_arg1.removeAll();
_arg1.addItem({label:Language["iWillTranslate"], data:"null"});
for (_local2 in arrLanguage) {
if (arrLanguage[_local2].code){
_arg1.addItem({label:arrLanguage[_local2].language, data:arrLanguage[_local2].code});
if (language == arrLanguage[_local2].code){
_arg1.selectedIndex = (int(_local2) + 1);
};
};
};
_arg1.addEventListener(Event.CHANGE, changeLanguage);
}
function frame70(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame89(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function pageGame():void{
so.data.currentGame = nextGame;
so.data.currentGameName = String(getQualifiedClassName(ARR_GAME[nextGame].mc).split("::")[1]);
so.flush();
diff.gotoAndStop(ARR_GAME[nextGame].diff);
game = new ARR_GAME[nextGame].mc();
txtGameName2.text = (((nextGame + 1) + ". ") + ARR_GAME[nextGame].name);
txtGameName2.mouseEnabled = false;
if ((((ARR_GAME[nextGame].mc == Cat)) && ((cat == -1)))){
cat = nextGame;
catId = nextGame;
};
cGame.addChild(game);
game.id = nextGame;
game.init(this);
btBack.tabEnabled = false;
if (!ARR_GAME[nextGame].giveup){
btBack.visible = false;
} else {
btBack.addEventListener(MouseEvent.CLICK, backToSelection);
btBack.mouseFocusEnabled = false;
btBack.focusEnabled = false;
};
btTip.label = Language["btTip"];
btTip.addEventListener(MouseEvent.CLICK, displayTip);
previousGame = nextGame;
stage.stageFocusRect = true;
displayNbTip();
if (so.data[("hasTip_" + nextGame)] == 1){
displayTip2();
};
}
function frame87(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame82(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
public function bePatient():void{
var _local1:int = ((Math.random() * 20000) + 60000);
clearTimeout(toPatient);
toPatient = setTimeout(startButterfly, _local1);
}
function __setProp_btTip_S(){
try {
btTip["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btTip.emphasized = false;
btTip.enabled = true;
btTip.label = "";
btTip.labelPlacement = "right";
btTip.selected = false;
btTip.toggle = false;
btTip.visible = true;
try {
btTip["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame90(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
override public function transitionEnd():void{
super.transitionEnd();
transition.mouseChildren = false;
transition.mouseEnabled = false;
cTransition.addChild(transition);
}
function frame93(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame79(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame95(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame61(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame92(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame97(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame98(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame91(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame94(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
protected function getCookie(_arg1:Object):void{
so = _arg1;
score = int(so.data.score);
Tip.nbTip = int(so.data.tip);
Debug.object(so.data);
}
function frame96(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame99(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame103(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame104(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function gotoSelection(_arg1:MouseEvent=null):void{
backToSelection();
}
function frame106(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame101(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
public function clickGameover(_arg1:MouseEvent=null):void{
go.stop();
go.removeEventListener(MouseEvent.CLICK, clickGameover);
go = null;
backToSelection();
}
function frame105(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame100(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame109(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame102(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function clickBonus(_arg1:MouseEvent):void{
nextBonus = _arg1.currentTarget.idBonus;
deactivateBt();
gotoBonus();
}
protected function hostThisGame(_arg1=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest(urlHostThisGame);
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
function frame107(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame108(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function gotoForum(_arg1=null):void{
var request:URLRequest;
var pEvt = _arg1;
try {
request = new URLRequest(urlForum);
navigateToURL(request, "_blank");
} catch(error:Error) {
};
}
function frame110(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame111(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame113(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function frame114(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
function backToSelection2(_arg1:MouseEvent):void{
yt.remove();
removeChild(yt);
yt = null;
gotoSelection();
removeChild(btBack);
}
function frame112(){
if ((((__setPropDict[btBack] == undefined)) || (!((((int(__setPropDict[btBack]) >= 52)) && ((int(__setPropDict[btBack]) <= 114))))))){
__setPropDict[btBack] = currentFrame;
__setProp_btBack_S_1();
};
}
private function clickGame(_arg1:MouseEvent):void{
nextGame = _arg1.currentTarget.idGame;
deactivateBt();
if (ARR_GAME[nextGame].mc == URL){
addURL();
};
changePage("game");
}
private function clickHeart(_arg1:MouseEvent):void{
so.data.gameCompleted = secretId;
so.flush();
var _local2:SdWin = new SdWin();
_local2.play();
heart.visible = false;
so.data.unlocked = null;
so.flush();
}
private function rollOverBonus(_arg1:MouseEvent):void{
txtGameName.gotoAndPlay(1);
txtGameName.txt.txt.text = ((Language["reward"] + " #") + (_arg1.currentTarget.idBonus + 1));
_arg1.currentTarget.roll.play();
}
private function adFinished():void{
changePage("dev");
}
private function pageSelection():void{
var _local2:MyButton;
var _local6:int;
var _local7:MyButton;
var _local8:int;
pageSelection1();
isGameover = false;
txtScore.text = String(int(so.data.score));
tempScore = so.data.score;
so.data.currentGame = null;
so.flush();
if (game){
game.remove();
game = null;
};
if (cGame){
cGame = null;
};
txtGameName.gotoAndPlay(1);
var _local1:int;
var _local3:int = so.data.score;
keepPressing = false;
stage.removeEventListener(MouseEvent.MOUSE_UP, keepPressingLose);
var _local4:int;
var _local5:int;
while (_local5 < 5) {
_local6 = 0;
_local7 = this[("column" + _local5)].gameBonus;
_local7.gotoAndStop("gift");
_local7.id = _local5;
_local7.idBonus = _local4;
_local7.onRollOut = rollOutGame;
_local7.onRollOver = rollOverBonus;
_local7.buttonMode = false;
_local7.txtId.visible = false;
_local7.diff.visible = false;
_local7.tick.visible = false;
_local8 = 0;
while (_local8 < 5) {
_local2 = this[("column" + _local5)][("game" + _local8)];
_local2.lock.visible = false;
_local2.onClick = clickGame;
_local2.onRollOver = rollOverGame;
_local2.onRollOut = rollOutGame;
_local2.idGame = _local1;
_local2.txtId.text = String((_local1 + 1));
_local2.gift.visible = false;
_local2.diff.visible = true;
_local2.diff.gotoAndStop(ARR_GAME[_local1].diff);
_local2.icon.gotoAndStop(getQualifiedClassName(ARR_GAME[_local1].mc).split("::")[1]);
if (ARR_GAME[_local1].mc == KeepPressing){
_local2.onClick = null;
_local2.addEventListener(MouseEvent.MOUSE_DOWN, keepPressingWin);
stage.addEventListener(MouseEvent.MOUSE_UP, keepPressingLose);
};
if ((((so.data.gameCompleted == _local1)) && (!((so.data[("game_" + _local1)] == "ok"))))){
so.data.gameCompleted = null;
so.data[("game_" + _local1)] = "ok";
_local2.tick.gotoAndPlay("unlock");
setTimeout(sdKey.play, 1000);
_local3 = (_local3 + ARR_GAME[_local1].diff);
so.data.score = _local3;
so.flush();
_local2.diff.visible = false;
setTimeout(addStar, 500, ARR_GAME[_local1].diff, (this[("column" + _local5)].x + _local2.x), (this[("column" + _local5)].y + _local2.y), star.x, star.y);
};
if ((((so.data[("game_" + _local1)] == "ok")) || ((so.data[("game_" + getQualifiedClassName(ARR_GAME[_local1].mc).split("::")[1])] == "ok")))){
so.data[("game_" + _local1)] = "ok";
so.data[("game_" + getQualifiedClassName(ARR_GAME[_local1].mc).split("::")[1])] = "ok";
so.flush();
};
if (((!((so.data[("game_" + _local1)] == "ok"))) || (!((so.data[("game_" + getQualifiedClassName(ARR_GAME[_local1].mc).split("::")[1])] == "ok"))))){
_local2.tick.visible = false;
} else {
_local6++;
_local2.diff.visible = false;
};
_local1++;
if ((((so.data[("bonus_" + _local4)] == "ok")) || (cheatMode))){
_local7.mouseEnabled = true;
_local7.onClick = clickBonus;
_local7.buttonMode = true;
_local7.lock.visible = false;
} else {
if (_local6 == 5){
_local7.mouseEnabled = true;
_local7.onClick = clickBonus;
_local7.buttonMode = true;
if (so.data[("bonus_" + _local4)] == "ok"){
_local7.lock.visible = false;
};
if (so.data[("bonus_" + _local4)] != "ok"){
setTimeout(sdBonus.play, 1000);
setTimeout(_local7.lock.gotoAndPlay, 1000, 2);
so.data[("bonus_" + _local4)] = "ok";
so.flush();
};
};
};
if (((((_local1 % 5) == 0)) && (!((_local1 == 0))))){
_local6 = 0;
_local4++;
};
_local8++;
};
_local5++;
};
so.data.score = _local3;
so.flush();
if (kongregate){
kongregate.stats.submit("Stars", _local3);
};
}
function __setProp_btHelp_S(){
try {
btHelp["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btHelp.emphasized = false;
btHelp.enabled = true;
btHelp.label = "Need help ?";
btHelp.labelPlacement = "right";
btHelp.selected = false;
btHelp.toggle = false;
btHelp.visible = true;
try {
btHelp["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function gotoSecurity(_arg1:MouseEvent=null):void{
changePage("security");
}
public function gameover():void{
clearInterval(siTimer);
isGameover = true;
clearTimeout(toChangePage);
go = new Gameover();
go.x = 275;
go.y = 200;
cGame.addChild(go);
go.addEventListener(MouseEvent.CLICK, clickGameover, false, 0, true);
var _local1:Particles = new Particles(ParticleMouse);
go.txtContinue.text = Language["clickContinue"];
Mouse.hide();
setTimeout(showCursor, 1000);
_local1.x = mouseX;
_local1.y = mouseY;
_local1.velocityMax = 0.5;
_local1.gravity = 0.01;
_local1.frequency = 1;
_local1.totalTime = 200;
_local1.slowDown = 0.99;
cGame.addChild(_local1);
_local1.start();
btBack.visible = false;
}
function __setProp_btTSL1_S(){
try {
btTSL1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btTSL1.emphasized = false;
btTSL1.enabled = true;
btTSL1.label = "Play the original game";
btTSL1.labelPlacement = "right";
btTSL1.selected = false;
btTSL1.toggle = false;
btTSL1.visible = true;
try {
btTSL1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function checkResolution():void{
if (!so.data.oldResolutionX){
so.data.oldResolutionX = Capabilities.screenResolutionX;
so.data.oldResolutionY = Capabilities.screenResolutionY;
so.flush();
};
}
function __setProp_btMoreGames_S(){
try {
btMoreGames["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btMoreGames.emphasized = false;
btMoreGames.enabled = true;
btMoreGames.label = "More games";
btMoreGames.labelPlacement = "right";
btMoreGames.selected = false;
btMoreGames.toggle = false;
btMoreGames.visible = true;
try {
btMoreGames["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_btBack_S_1(){
try {
btBack["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btBack.emphasized = false;
btBack.enabled = true;
btBack.label = "Back";
btBack.labelPlacement = "right";
btBack.selected = false;
btBack.toggle = false;
btBack.visible = true;
try {
btBack["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function deactivateBt():void{
var _local1:MovieClip;
var _local3:int;
var _local2:int;
while (_local2 < getCompletedParts()) {
_local3 = 0;
while (_local3 < 5) {
_local1 = this[("column" + _local2)][("game" + _local3)];
_local1.mouseEnabled = false;
_local1.mouseChildren = false;
_local3++;
};
_local2++;
};
}
private function keepPressingWin(_arg1:MouseEvent):void{
keepPressing = true;
clickGame(_arg1);
}
private function gotoSelection2(_arg1:MouseEvent=null):void{
Security.showSettings(SecurityPanel.PRIVACY);
gotoSelection();
}
function __setProp_btBack_S(){
try {
btBack["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btBack.emphasized = false;
btBack.enabled = true;
btBack.label = "X";
btBack.labelPlacement = "right";
btBack.selected = false;
btBack.toggle = false;
btBack.visible = true;
try {
btBack["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function checkSecret():void{
var _local1:* = new Date();
rope1.gotoAndStop("close");
rope2.gotoAndStop("close");
if (so.data.unlocked){
if (so.data.unlocked){
rope1.gotoAndStop(1);
rope2.gotoAndStop(1);
heart.addEventListener(MouseEvent.CLICK, clickHeart);
heart.buttonMode = true;
};
};
}
private function backToSelection(_arg1:MouseEvent=null):void{
if ((game is Leave)){
if (!(game as Leave).leaving){
game.win();
(game as Leave).leaving = true;
return;
};
};
if (game){
game.stopGame();
game = null;
};
if (catGame){
catGame.stopGame();
catGame = null;
};
if (butterflyGame){
butterflyGame.stopGame();
butterflyGame = null;
};
changePage("selection");
}
}
}//package com
Section 75
//BaseScrollPane (fl.containers.BaseScrollPane)
package fl.containers {
import fl.core.*;
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import fl.events.*;
public class BaseScrollPane extends UIComponent {
protected var contentHeight:Number;// = 0
protected var _horizontalScrollBar:ScrollBar;
protected var _horizontalPageScrollSize:Number;// = 0
protected var _verticalPageScrollSize:Number;// = 0
protected var _maxHorizontalScrollPosition:Number;// = 0
protected var defaultLineScrollSize:Number;// = 4
protected var vOffset:Number;// = 0
protected var contentScrollRect:Rectangle;
protected var background:DisplayObject;
protected var _verticalScrollBar:ScrollBar;
protected var disabledOverlay:Shape;
protected var vScrollBar:Boolean;
protected var _horizontalScrollPolicy:String;
protected var useFixedHorizontalScrolling:Boolean;// = false
protected var contentWidth:Number;// = 0
protected var availableHeight:Number;
protected var _verticalScrollPolicy:String;
protected var contentPadding:Number;// = 0
protected var _useBitmpScrolling:Boolean;// = false
protected var availableWidth:Number;
protected var hScrollBar:Boolean;
protected static const SCROLL_BAR_STYLES:Object = {upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
private static var defaultStyles:Object = {repeatDelay:500, repeatInterval:35, skin:"ScrollPane_upSkin", contentPadding:0, disabledAlpha:0.5};
override public function set enabled(_arg1:Boolean):void{
if (enabled == _arg1){
return;
};
_verticalScrollBar.enabled = _arg1;
_horizontalScrollBar.enabled = _arg1;
super.enabled = _arg1;
}
public function set useBitmapScrolling(_arg1:Boolean):void{
_useBitmpScrolling = _arg1;
invalidate(InvalidationType.STATE);
}
public function set horizontalLineScrollSize(_arg1:Number):void{
_horizontalScrollBar.lineScrollSize = _arg1;
}
protected function drawLayout():void{
calculateAvailableSize();
calculateContentWidth();
background.width = width;
background.height = height;
if (vScrollBar){
_verticalScrollBar.visible = true;
_verticalScrollBar.x = ((width - ScrollBar.WIDTH) - contentPadding);
_verticalScrollBar.y = contentPadding;
_verticalScrollBar.height = availableHeight;
} else {
_verticalScrollBar.visible = false;
};
_verticalScrollBar.setScrollProperties(availableHeight, 0, (contentHeight - availableHeight), verticalPageScrollSize);
setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false);
if (hScrollBar){
_horizontalScrollBar.visible = true;
_horizontalScrollBar.x = contentPadding;
_horizontalScrollBar.y = ((height - ScrollBar.WIDTH) - contentPadding);
_horizontalScrollBar.width = availableWidth;
} else {
_horizontalScrollBar.visible = false;
};
_horizontalScrollBar.setScrollProperties(availableWidth, 0, (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - availableWidth), horizontalPageScrollSize);
setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false);
drawDisabledOverlay();
}
protected function handleWheel(_arg1:MouseEvent):void{
if (((((!(enabled)) || (!(_verticalScrollBar.visible)))) || ((contentHeight <= availableHeight)))){
return;
};
_verticalScrollBar.scrollPosition = (_verticalScrollBar.scrollPosition - (_arg1.delta * verticalLineScrollSize));
setVerticalScrollPosition(_verticalScrollBar.scrollPosition);
dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _arg1.delta, horizontalScrollPosition));
}
protected function handleScroll(_arg1:ScrollEvent):void{
if (_arg1.target == _verticalScrollBar){
setVerticalScrollPosition(_arg1.position);
} else {
setHorizontalScrollPosition(_arg1.position);
};
}
public function get verticalLineScrollSize():Number{
return (_verticalScrollBar.lineScrollSize);
}
protected function drawBackground():void{
var _local1:DisplayObject = background;
background = getDisplayObjectInstance(getStyleValue("skin"));
background.width = width;
background.height = height;
addChildAt(background, 0);
if (((!((_local1 == null))) && (!((_local1 == background))))){
removeChild(_local1);
};
}
protected function calculateAvailableSize():void{
var _local1:Number = ScrollBar.WIDTH;
var _local2:Number = (contentPadding = Number(getStyleValue("contentPadding")));
var _local3:Number = ((height - (2 * _local2)) - vOffset);
vScrollBar = (((_verticalScrollPolicy == ScrollPolicy.ON)) || ((((_verticalScrollPolicy == ScrollPolicy.AUTO)) && ((contentHeight > _local3)))));
var _local4:Number = ((width - (vScrollBar) ? _local1 : 0) - (2 * _local2));
var _local5:Number = (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - _local4);
hScrollBar = (((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_local5 > 0)))));
if (hScrollBar){
_local3 = (_local3 - _local1);
};
if (((((((hScrollBar) && (!(vScrollBar)))) && ((_verticalScrollPolicy == ScrollPolicy.AUTO)))) && ((contentHeight > _local3)))){
vScrollBar = true;
_local4 = (_local4 - _local1);
};
availableHeight = (_local3 + vOffset);
availableWidth = _local4;
}
public function get verticalScrollPosition():Number{
return (_verticalScrollBar.scrollPosition);
}
public function get horizontalScrollPolicy():String{
return (_horizontalScrollPolicy);
}
protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{
}
public function get horizontalPageScrollSize():Number{
if (isNaN(availableWidth)){
drawNow();
};
return (((((_horizontalPageScrollSize == 0)) && (!(isNaN(availableWidth))))) ? availableWidth : _horizontalPageScrollSize);
}
public function set horizontalScrollPosition(_arg1:Number):void{
drawNow();
_horizontalScrollBar.scrollPosition = _arg1;
setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false);
}
public function set verticalLineScrollSize(_arg1:Number):void{
_verticalScrollBar.lineScrollSize = _arg1;
}
public function get maxVerticalScrollPosition():Number{
drawNow();
return (Math.max(0, (contentHeight - availableHeight)));
}
public function set horizontalPageScrollSize(_arg1:Number):void{
_horizontalPageScrollSize = _arg1;
invalidate(InvalidationType.SIZE);
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES)){
setStyles();
drawBackground();
if (contentPadding != getStyleValue("contentPadding")){
invalidate(InvalidationType.SIZE, false);
};
};
if (isInvalid(InvalidationType.SIZE, InvalidationType.STATE)){
drawLayout();
};
updateChildren();
super.draw();
}
public function get horizontalScrollBar():ScrollBar{
return (_horizontalScrollBar);
}
protected function calculateContentWidth():void{
}
public function set horizontalScrollPolicy(_arg1:String):void{
_horizontalScrollPolicy = _arg1;
invalidate(InvalidationType.SIZE);
}
override protected function configUI():void{
super.configUI();
contentScrollRect = new Rectangle(0, 0, 85, 85);
_verticalScrollBar = new ScrollBar();
_verticalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true);
_verticalScrollBar.visible = false;
_verticalScrollBar.lineScrollSize = defaultLineScrollSize;
addChild(_verticalScrollBar);
copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES);
_horizontalScrollBar = new ScrollBar();
_horizontalScrollBar.direction = ScrollBarDirection.HORIZONTAL;
_horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true);
_horizontalScrollBar.visible = false;
_horizontalScrollBar.lineScrollSize = defaultLineScrollSize;
addChild(_horizontalScrollBar);
copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES);
disabledOverlay = new Shape();
var _local1:Graphics = disabledOverlay.graphics;
_local1.beginFill(0xFFFFFF);
_local1.drawRect(0, 0, width, height);
_local1.endFill();
addEventListener(MouseEvent.MOUSE_WHEEL, handleWheel, false, 0, true);
}
protected function drawDisabledOverlay():void{
if (enabled){
if (contains(disabledOverlay)){
removeChild(disabledOverlay);
};
} else {
disabledOverlay.x = (disabledOverlay.y = contentPadding);
disabledOverlay.width = availableWidth;
disabledOverlay.height = availableHeight;
disabledOverlay.alpha = (getStyleValue("disabledAlpha") as Number);
addChild(disabledOverlay);
};
}
public function get horizontalScrollPosition():Number{
return (_horizontalScrollBar.scrollPosition);
}
public function get verticalScrollBar():ScrollBar{
return (_verticalScrollBar);
}
public function get horizontalLineScrollSize():Number{
return (_horizontalScrollBar.lineScrollSize);
}
public function set verticalScrollPosition(_arg1:Number):void{
drawNow();
_verticalScrollBar.scrollPosition = _arg1;
setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false);
}
protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{
}
protected function setStyles():void{
copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES);
copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES);
}
public function set verticalPageScrollSize(_arg1:Number):void{
_verticalPageScrollSize = _arg1;
invalidate(InvalidationType.SIZE);
}
protected function setContentSize(_arg1:Number, _arg2:Number):void{
if ((((((contentWidth == _arg1)) || (useFixedHorizontalScrolling))) && ((contentHeight == _arg2)))){
return;
};
contentWidth = _arg1;
contentHeight = _arg2;
invalidate(InvalidationType.SIZE);
}
public function set verticalScrollPolicy(_arg1:String):void{
_verticalScrollPolicy = _arg1;
invalidate(InvalidationType.SIZE);
}
public function get maxHorizontalScrollPosition():Number{
drawNow();
return (Math.max(0, (contentWidth - availableWidth)));
}
protected function updateChildren():void{
_verticalScrollBar.enabled = (_horizontalScrollBar.enabled = enabled);
_verticalScrollBar.drawNow();
_horizontalScrollBar.drawNow();
}
public function get verticalPageScrollSize():Number{
if (isNaN(availableHeight)){
drawNow();
};
return (((((_verticalPageScrollSize == 0)) && (!(isNaN(availableHeight))))) ? availableHeight : _verticalPageScrollSize);
}
public function get verticalScrollPolicy():String{
return (_verticalScrollPolicy);
}
public function get useBitmapScrolling():Boolean{
return (_useBitmpScrolling);
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, ScrollBar.getStyleDefinition()));
}
}
}//package fl.containers
Section 76
//CellRenderer (fl.controls.listClasses.CellRenderer)
package fl.controls.listClasses {
import fl.controls.*;
import flash.events.*;
public class CellRenderer extends LabelButton implements ICellRenderer {
protected var _listData:ListData;
protected var _data:Object;
private static var defaultStyles:Object = {upSkin:"CellRenderer_upSkin", downSkin:"CellRenderer_downSkin", overSkin:"CellRenderer_overSkin", disabledSkin:"CellRenderer_disabledSkin", selectedDisabledSkin:"CellRenderer_selectedDisabledSkin", selectedUpSkin:"CellRenderer_selectedUpSkin", selectedDownSkin:"CellRenderer_selectedDownSkin", selectedOverSkin:"CellRenderer_selectedOverSkin", textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5};
public function CellRenderer():void{
toggle = true;
focusEnabled = false;
}
override public function set selected(_arg1:Boolean):void{
super.selected = _arg1;
}
override protected function drawLayout():void{
var _local3:Number;
var _local1:Number = Number(getStyleValue("textPadding"));
var _local2:Number = 0;
if (icon != null){
icon.x = _local1;
icon.y = Math.round(((height - icon.height) >> 1));
_local2 = (icon.width + _local1);
};
if (label.length > 0){
textField.visible = true;
_local3 = Math.max(0, ((width - _local2) - (_local1 * 2)));
textField.width = _local3;
textField.height = (textField.textHeight + 4);
textField.x = (_local2 + _local1);
textField.y = Math.round(((height - textField.height) >> 1));
} else {
textField.visible = false;
};
background.width = width;
background.height = height;
}
public function get listData():ListData{
return (_listData);
}
override public function setSize(_arg1:Number, _arg2:Number):void{
super.setSize(_arg1, _arg2);
}
public function get data():Object{
return (_data);
}
public function set data(_arg1:Object):void{
_data = _arg1;
}
public function set listData(_arg1:ListData):void{
_listData = _arg1;
label = _listData.label;
setStyle("icon", _listData.icon);
}
override public function get selected():Boolean{
return (super.selected);
}
override protected function toggleSelected(_arg1:MouseEvent):void{
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls.listClasses
Section 77
//ICellRenderer (fl.controls.listClasses.ICellRenderer)
package fl.controls.listClasses {
public interface ICellRenderer {
function set x(_arg1:Number):void;
function set y(_arg1:Number):void;
function setSize(_arg1:Number, _arg2:Number):void;
function set data(_arg1:Object):void;
function set selected(_arg1:Boolean):void;
function set listData(_arg1:ListData):void;
function get listData():ListData;
function get data():Object;
function get selected():Boolean;
function setMouseState(_arg1:String):void;
}
}//package fl.controls.listClasses
Section 78
//ListData (fl.controls.listClasses.ListData)
package fl.controls.listClasses {
import fl.core.*;
public class ListData {
protected var _index:uint;
protected var _owner:UIComponent;
protected var _label:String;
protected var _icon:Object;// = null
protected var _row:uint;
protected var _column:uint;
public function ListData(_arg1:String, _arg2:Object, _arg3:UIComponent, _arg4:uint, _arg5:uint, _arg6:uint=0){
_label = _arg1;
_icon = _arg2;
_owner = _arg3;
_index = _arg4;
_row = _arg5;
_column = _arg6;
}
public function get row():uint{
return (_row);
}
public function get owner():UIComponent{
return (_owner);
}
public function get label():String{
return (_label);
}
public function get index():uint{
return (_index);
}
public function get icon():Object{
return (_icon);
}
public function get column():uint{
return (_column);
}
}
}//package fl.controls.listClasses
Section 79
//BaseButton (fl.controls.BaseButton)
package fl.controls {
import fl.core.*;
import flash.display.*;
import flash.events.*;
import fl.events.*;
import flash.utils.*;
public class BaseButton extends UIComponent {
protected var pressTimer:Timer;
protected var _autoRepeat:Boolean;// = false
protected var _selected:Boolean;// = false
protected var background:DisplayObject;
private var unlockedMouseState:String;
protected var mouseState:String;
private var _mouseStateLocked:Boolean;// = false
private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35};
public function BaseButton(){
buttonMode = true;
mouseChildren = false;
useHandCursor = false;
setupMouseEvents();
setMouseState("up");
pressTimer = new Timer(1, 0);
pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true);
}
override public function get enabled():Boolean{
return (super.enabled);
}
protected function startPress():void{
if (_autoRepeat){
pressTimer.delay = Number(getStyleValue("repeatDelay"));
pressTimer.start();
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
super.draw();
}
protected function drawLayout():void{
background.width = width;
background.height = height;
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
mouseEnabled = _arg1;
}
public function set autoRepeat(_arg1:Boolean):void{
_autoRepeat = _arg1;
}
protected function mouseEventHandler(_arg1:MouseEvent):void{
if (_arg1.type == MouseEvent.MOUSE_DOWN){
setMouseState("down");
startPress();
} else {
if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){
setMouseState("over");
endPress();
} else {
if (_arg1.type == MouseEvent.ROLL_OUT){
setMouseState("up");
endPress();
};
};
};
}
protected function drawBackground():void{
var _local1:String = (enabled) ? mouseState : "disabled";
if (selected){
_local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1));
};
_local1 = (_local1 + "Skin");
var _local2:DisplayObject = background;
background = getDisplayObjectInstance(getStyleValue(_local1));
addChildAt(background, 0);
if (((!((_local2 == null))) && (!((_local2 == background))))){
removeChild(_local2);
};
}
public function get selected():Boolean{
return (_selected);
}
protected function setupMouseEvents():void{
addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true);
}
protected function endPress():void{
pressTimer.reset();
}
public function set mouseStateLocked(_arg1:Boolean):void{
_mouseStateLocked = _arg1;
if (_arg1 == false){
setMouseState(unlockedMouseState);
} else {
unlockedMouseState = mouseState;
};
}
public function get autoRepeat():Boolean{
return (_autoRepeat);
}
public function set selected(_arg1:Boolean):void{
if (_selected == _arg1){
return;
};
_selected = _arg1;
invalidate(InvalidationType.STATE);
}
protected function buttonDown(_arg1:TimerEvent):void{
if (!_autoRepeat){
endPress();
return;
};
if (pressTimer.currentCount == 1){
pressTimer.delay = Number(getStyleValue("repeatInterval"));
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
public function setMouseState(_arg1:String):void{
if (_mouseStateLocked){
unlockedMouseState = _arg1;
return;
};
if (mouseState == _arg1){
return;
};
mouseState = _arg1;
invalidate(InvalidationType.STATE);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 80
//Button (fl.controls.Button)
package fl.controls {
import fl.core.*;
import flash.display.*;
import fl.managers.*;
public class Button extends LabelButton implements IFocusManagerComponent {
protected var _emphasized:Boolean;// = false
protected var emphasizedBorder:DisplayObject;
private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2};
public static var createAccessibilityImplementation:Function;
public function set emphasized(_arg1:Boolean):void{
_emphasized = _arg1;
invalidate(InvalidationType.STYLES);
}
override protected function initializeAccessibility():void{
if (Button.createAccessibilityImplementation != null){
Button.createAccessibilityImplementation(this);
};
}
protected function drawEmphasized():void{
var _local2:Number;
if (emphasizedBorder != null){
removeChild(emphasizedBorder);
};
emphasizedBorder = null;
if (!_emphasized){
return;
};
var _local1:Object = getStyleValue("emphasizedSkin");
if (_local1 != null){
emphasizedBorder = getDisplayObjectInstance(_local1);
};
if (emphasizedBorder != null){
addChildAt(emphasizedBorder, 0);
_local2 = Number(getStyleValue("emphasizedPadding"));
emphasizedBorder.x = (emphasizedBorder.y = -(_local2));
emphasizedBorder.width = (width + (_local2 * 2));
emphasizedBorder.height = (height + (_local2 * 2));
};
}
public function get emphasized():Boolean{
return (_emphasized);
}
override protected function draw():void{
if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){
drawEmphasized();
};
super.draw();
if (emphasizedBorder != null){
setChildIndex(emphasizedBorder, (numChildren - 1));
};
}
override public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
var _local3:*;
super.drawFocus(_arg1);
if (_arg1){
_local2 = Number(getStyleValue("emphasizedPadding"));
if ((((_local2 < 0)) || (!(_emphasized)))){
_local2 = 0;
};
_local3 = getStyleValue("focusRectPadding");
_local3 = ((_local3)==null) ? 2 : _local3;
_local3 = (_local3 + _local2);
uiFocusRect.x = -(_local3);
uiFocusRect.y = -(_local3);
uiFocusRect.width = (width + (_local3 * 2));
uiFocusRect.height = (height + (_local3 * 2));
};
}
public static function getStyleDefinition():Object{
return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles));
}
}
}//package fl.controls
Section 81
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement)
package fl.controls {
public class ButtonLabelPlacement {
public static const TOP:String = "top";
public static const LEFT:String = "left";
public static const BOTTOM:String = "bottom";
public static const RIGHT:String = "right";
}
}//package fl.controls
Section 82
//ComboBox (fl.controls.ComboBox)
package fl.controls {
import fl.controls.listClasses.*;
import fl.core.*;
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.geom.*;
import fl.data.*;
import fl.managers.*;
import fl.events.*;
import flash.ui.*;
public class ComboBox extends UIComponent implements IFocusManagerComponent {
protected var isKeyDown:Boolean;// = false
protected var _labels:Array;
protected var background:BaseButton;
protected var _dropdownWidth:Number;
protected var inputField:TextInput;
protected var highlightedCell:int;// = -1
protected var listOverIndex:uint;
protected var editableValue:String;
protected var _prompt:String;
protected var isOpen:Boolean;// = false
protected var list:List;
protected var _rowCount:uint;// = 5
protected var _editable:Boolean;// = false
private var collectionItemImport:SimpleCollectionItem;
protected var currentIndex:int;
protected static const BACKGROUND_STYLES:Object = {overSkin:"overSkin", downSkin:"downSkin", upSkin:"upSkin", disabledSkin:"disabledSkin", repeatInterval:"repeatInterval"};
protected static const LIST_STYLES:Object = {upSkin:"comboListUpSkin", overSkin:"comboListOverSkin", downSkin:"comobListDownSkin", disabledSkin:"comboListDisabledSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval", textFormat:"textFormat", disabledAlpha:"disabledAlpha", skin:"listSkin"};
private static var defaultStyles:Object = {upSkin:"ComboBox_upSkin", downSkin:"ComboBox_downSkin", overSkin:"ComboBox_overSkin", disabledSkin:"ComboBox_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:3, buttonWidth:24, disabledAlpha:null, listSkin:null};
public static var createAccessibilityImplementation:Function;
protected function drawList():void{
list.rowCount = Math.max(0, Math.min(_rowCount, list.dataProvider.length));
}
public function get imeMode():String{
return (inputField.imeMode);
}
protected function onInputFieldFocusOut(_arg1:FocusEvent):void{
inputField.removeEventListener(ComponentEvent.ENTER, onEnter);
selectedIndex = selectedIndex;
}
public function set imeMode(_arg1:String):void{
inputField.imeMode = _arg1;
}
protected function passEvent(_arg1:Event):void{
dispatchEvent(_arg1);
}
protected function calculateAvailableHeight():Number{
var _local1:Number = Number(getStyleValue("contentPadding"));
return ((list.height - (_local1 * 2)));
}
public function get dropdown():List{
return (list);
}
override protected function focusOutHandler(_arg1:FocusEvent):void{
isKeyDown = false;
if (isOpen){
if (((!(_arg1.relatedObject)) || (!(list.contains(_arg1.relatedObject))))){
if (((!((highlightedCell == -1))) && (!((highlightedCell == selectedIndex))))){
selectedIndex = highlightedCell;
dispatchEvent(new Event(Event.CHANGE));
};
close();
};
};
super.focusOutHandler(_arg1);
}
public function get selectedLabel():String{
if (editableValue != null){
return (editableValue);
};
if (selectedIndex == -1){
return (null);
};
return (itemToLabel(selectedItem));
}
protected function onListChange(_arg1:Event):void{
editableValue = null;
dispatchEvent(_arg1);
invalidate(InvalidationType.SELECTED);
if (isKeyDown){
return;
};
close();
}
public function get text():String{
return (inputField.text);
}
protected function onEnter(_arg1:ComponentEvent):void{
_arg1.stopPropagation();
}
public function sortItemsOn(_arg1:String, _arg2:Object=null){
return (list.sortItemsOn(_arg1, _arg2));
}
protected function handleDataChange(_arg1:DataChangeEvent):void{
invalidate(InvalidationType.DATA);
}
protected function onToggleListVisibility(_arg1:MouseEvent):void{
_arg1.stopPropagation();
dispatchEvent(_arg1);
if (isOpen){
close();
} else {
open();
stage.addEventListener(MouseEvent.MOUSE_UP, onListItemUp, false, 0, true);
};
}
public function get dropdownWidth():Number{
return (list.width);
}
protected function highlightCell(_arg1:int=-1):void{
var _local2:ICellRenderer;
if (highlightedCell > -1){
_local2 = list.itemToCellRenderer(getItemAt(highlightedCell));
if (_local2 != null){
_local2.setMouseState("up");
};
};
if (_arg1 == -1){
return;
};
list.scrollToIndex(_arg1);
list.drawNow();
_local2 = list.itemToCellRenderer(getItemAt(_arg1));
if (_local2 != null){
_local2.setMouseState("over");
highlightedCell = _arg1;
};
}
public function removeItemAt(_arg1:uint):void{
list.removeItemAt(_arg1);
invalidate(InvalidationType.DATA);
}
override protected function draw():void{
var _local1:* = selectedIndex;
if ((((_local1 == -1)) && (((((!((prompt == null))) || (editable))) || ((length == 0)))))){
_local1 = Math.max(-1, Math.min(_local1, (length - 1)));
} else {
editableValue = null;
_local1 = Math.max(0, Math.min(_local1, (length - 1)));
};
if (list.selectedIndex != _local1){
list.selectedIndex = _local1;
invalidate(InvalidationType.SELECTED, false);
};
if (isInvalid(InvalidationType.STYLES)){
setStyles();
setEmbedFonts();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE, InvalidationType.DATA, InvalidationType.STATE)){
drawTextFormat();
drawLayout();
invalidate(InvalidationType.DATA);
};
if (isInvalid(InvalidationType.DATA)){
drawList();
invalidate(InvalidationType.SELECTED, true);
};
if (isInvalid(InvalidationType.SELECTED)){
if ((((_local1 == -1)) && (!((editableValue == null))))){
inputField.text = editableValue;
} else {
if (_local1 > -1){
if (length > 0){
inputField.horizontalScrollPosition = 0;
inputField.text = itemToLabel(list.selectedItem);
};
} else {
if ((((_local1 == -1)) && (!((_prompt == null))))){
showPrompt();
} else {
inputField.text = "";
};
};
};
if (((((editable) && ((selectedIndex > -1)))) && ((stage.focus == inputField.textField)))){
inputField.setSelection(0, inputField.length);
};
};
drawTextField();
super.draw();
}
public function get selectedItem():Object{
return (list.selectedItem);
}
public function open():void{
currentIndex = selectedIndex;
if (((isOpen) || ((length == 0)))){
return;
};
dispatchEvent(new Event(Event.OPEN));
isOpen = true;
addEventListener(Event.ENTER_FRAME, addCloseListener, false, 0, true);
positionList();
list.scrollToSelected();
stage.addChild(list);
}
override protected function configUI():void{
super.configUI();
background = new BaseButton();
background.focusEnabled = false;
copyStylesToChild(background, BACKGROUND_STYLES);
background.addEventListener(MouseEvent.MOUSE_DOWN, onToggleListVisibility, false, 0, true);
addChild(background);
inputField = new TextInput();
inputField.focusTarget = (this as IFocusManagerComponent);
inputField.focusEnabled = false;
inputField.addEventListener(Event.CHANGE, onTextInput, false, 0, true);
addChild(inputField);
list = new List();
list.focusEnabled = false;
copyStylesToChild(list, LIST_STYLES);
list.addEventListener(Event.CHANGE, onListChange, false, 0, true);
list.addEventListener(ListEvent.ITEM_CLICK, onListChange, false, 0, true);
list.addEventListener(ListEvent.ITEM_ROLL_OUT, passEvent, false, 0, true);
list.addEventListener(ListEvent.ITEM_ROLL_OVER, passEvent, false, 0, true);
list.verticalScrollBar.addEventListener(Event.SCROLL, passEvent, false, 0, true);
}
public function set text(_arg1:String):void{
if (!editable){
return;
};
inputField.text = _arg1;
}
public function addItem(_arg1:Object):void{
list.addItem(_arg1);
invalidate(InvalidationType.DATA);
}
public function get editable():Boolean{
return (_editable);
}
public function get labelField():String{
return (list.labelField);
}
protected function positionList():void{
var _local1:Point = localToGlobal(new Point(0, 0));
list.x = _local1.x;
if (((_local1.y + height) + list.height) > stage.stageHeight){
list.y = (_local1.y - list.height);
} else {
list.y = (_local1.y + height);
};
}
protected function onStageClick(_arg1:MouseEvent):void{
if (!isOpen){
return;
};
if (((!(contains((_arg1.target as DisplayObject)))) && (!(list.contains((_arg1.target as DisplayObject)))))){
if (highlightedCell != -1){
selectedIndex = highlightedCell;
dispatchEvent(new Event(Event.CHANGE));
};
close();
};
}
public function set dropdownWidth(_arg1:Number):void{
_dropdownWidth = _arg1;
invalidate(InvalidationType.SIZE);
}
public function get prompt():String{
return (_prompt);
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
isKeyDown = true;
if (_arg1.ctrlKey){
switch (_arg1.keyCode){
case Keyboard.UP:
if (highlightedCell > -1){
selectedIndex = highlightedCell;
dispatchEvent(new Event(Event.CHANGE));
};
close();
break;
case Keyboard.DOWN:
open();
break;
};
return;
};
_arg1.stopPropagation();
var _local2:int = Math.max(((calculateAvailableHeight() / list.rowHeight) << 0), 1);
var _local3:uint = selectedIndex;
var _local4:Number = ((highlightedCell)==-1) ? selectedIndex : highlightedCell;
var _local5 = -1;
switch (_arg1.keyCode){
case Keyboard.SPACE:
if (isOpen){
close();
} else {
open();
};
return;
case Keyboard.ESCAPE:
if (isOpen){
if (highlightedCell > -1){
selectedIndex = selectedIndex;
};
close();
};
return;
case Keyboard.UP:
_local5 = Math.max(0, (_local4 - 1));
break;
case Keyboard.DOWN:
_local5 = Math.min((length - 1), (_local4 + 1));
break;
case Keyboard.PAGE_UP:
_local5 = Math.max((_local4 - _local2), 0);
break;
case Keyboard.PAGE_DOWN:
_local5 = Math.min((_local4 + _local2), (length - 1));
break;
case Keyboard.HOME:
_local5 = 0;
break;
case Keyboard.END:
_local5 = (length - 1);
break;
case Keyboard.ENTER:
if (((_editable) && ((highlightedCell == -1)))){
editableValue = inputField.text;
selectedIndex = -1;
} else {
if (((isOpen) && ((highlightedCell > -1)))){
editableValue = null;
selectedIndex = highlightedCell;
dispatchEvent(new Event(Event.CHANGE));
};
};
dispatchEvent(new ComponentEvent(ComponentEvent.ENTER));
close();
return;
default:
if (editable){
break;
};
_local5 = list.getNextIndexAtLetter(String.fromCharCode(_arg1.keyCode), _local4);
break;
};
if (_local5 > -1){
if (isOpen){
highlightCell(_local5);
inputField.text = list.itemToLabel(getItemAt(_local5));
} else {
highlightCell();
selectedIndex = _local5;
dispatchEvent(new Event(Event.CHANGE));
};
};
}
public function get value():String{
var _local1:Object;
if (editableValue != null){
return (editableValue);
};
_local1 = selectedItem;
if (((!(_editable)) && (!((_local1.data == null))))){
return (_local1.data);
};
return (itemToLabel(_local1));
}
override protected function focusInHandler(_arg1:FocusEvent):void{
super.focusInHandler(_arg1);
if (editable){
stage.focus = inputField.textField;
};
}
public function set dataProvider(_arg1:DataProvider):void{
_arg1.addEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange, false, 0, true);
list.dataProvider = _arg1;
invalidate(InvalidationType.DATA);
}
public function get rowCount():uint{
return (_rowCount);
}
public function set restrict(_arg1:String):void{
if (((componentInspectorSetting) && ((_arg1 == "")))){
_arg1 = null;
};
if (!_editable){
return;
};
inputField.restrict = _arg1;
}
public function replaceItemAt(_arg1:Object, _arg2:uint):Object{
return (list.replaceItemAt(_arg1, _arg2));
}
public function removeAll():void{
list.removeAll();
inputField.text = "";
invalidate(InvalidationType.DATA);
}
protected function onTextInput(_arg1:Event):void{
_arg1.stopPropagation();
if (!_editable){
return;
};
editableValue = inputField.text;
selectedIndex = -1;
dispatchEvent(new Event(Event.CHANGE));
}
protected function onInputFieldFocus(_arg1:FocusEvent):void{
inputField.addEventListener(ComponentEvent.ENTER, onEnter, false, 0, true);
close();
}
protected function onListItemUp(_arg1:MouseEvent):void{
stage.removeEventListener(MouseEvent.MOUSE_UP, onListItemUp);
if (((!((_arg1.target is ICellRenderer))) || (!(list.contains((_arg1.target as DisplayObject)))))){
return;
};
editableValue = null;
var _local2:* = selectedIndex;
selectedIndex = _arg1.target.listData.index;
if (_local2 != selectedIndex){
dispatchEvent(new Event(Event.CHANGE));
};
close();
}
override protected function keyUpHandler(_arg1:KeyboardEvent):void{
isKeyDown = false;
}
protected function drawLayout():void{
var _local1:Number = (getStyleValue("buttonWidth") as Number);
var _local2:Number = (getStyleValue("textPadding") as Number);
background.setSize(width, height);
inputField.x = (inputField.y = _local2);
inputField.setSize(((width - _local1) - _local2), (height - _local2));
list.width = (isNaN(_dropdownWidth)) ? width : _dropdownWidth;
background.enabled = enabled;
background.drawNow();
}
public function set selectedItem(_arg1:Object):void{
list.selectedItem = _arg1;
invalidate(InvalidationType.SELECTED);
}
public function getItemAt(_arg1:uint):Object{
return (list.getItemAt(_arg1));
}
override protected function initializeAccessibility():void{
if (ComboBox.createAccessibilityImplementation != null){
ComboBox.createAccessibilityImplementation(this);
};
}
public function itemToLabel(_arg1:Object):String{
if (_arg1 == null){
return ("");
};
return (list.itemToLabel(_arg1));
}
public function addItemAt(_arg1:Object, _arg2:uint):void{
list.addItemAt(_arg1, _arg2);
invalidate(InvalidationType.DATA);
}
private function addCloseListener(_arg1:Event){
removeEventListener(Event.ENTER_FRAME, addCloseListener);
if (!isOpen){
return;
};
stage.addEventListener(MouseEvent.MOUSE_DOWN, onStageClick, false, 0, true);
}
protected function setEmbedFonts():void{
var _local1:Object = getStyleValue("embedFonts");
if (_local1 != null){
inputField.textField.embedFonts = _local1;
};
}
public function set rowCount(_arg1:uint):void{
_rowCount = _arg1;
invalidate(InvalidationType.SIZE);
}
public function removeItem(_arg1:Object):Object{
return (list.removeItem(_arg1));
}
public function get dataProvider():DataProvider{
return (list.dataProvider);
}
public function get restrict():String{
return (inputField.restrict);
}
protected function showPrompt():void{
inputField.text = _prompt;
}
public function sortItems(... _args){
return (list.sortItems.apply(list, _args));
}
public function set editable(_arg1:Boolean):void{
_editable = _arg1;
drawTextField();
}
public function set labelField(_arg1:String):void{
list.labelField = _arg1;
invalidate(InvalidationType.DATA);
}
public function get textField():TextInput{
return (inputField);
}
public function set prompt(_arg1:String):void{
if (_arg1 == ""){
_prompt = null;
} else {
_prompt = _arg1;
};
invalidate(InvalidationType.STATE);
}
public function set labelFunction(_arg1:Function):void{
list.labelFunction = _arg1;
invalidate(InvalidationType.DATA);
}
protected function setStyles():void{
copyStylesToChild(background, BACKGROUND_STYLES);
copyStylesToChild(list, LIST_STYLES);
}
public function get length():int{
return (list.length);
}
protected function drawTextFormat():void{
var _local1:TextFormat = (getStyleValue((_enabled) ? "textFormat" : "disabledTextFormat") as TextFormat);
if (_local1 == null){
_local1 = new TextFormat();
};
inputField.textField.defaultTextFormat = _local1;
inputField.textField.setTextFormat(_local1);
setEmbedFonts();
}
protected function drawTextField():void{
inputField.setStyle("upSkin", "");
inputField.setStyle("disabledSkin", "");
inputField.enabled = enabled;
inputField.editable = _editable;
inputField.textField.selectable = ((enabled) && (_editable));
inputField.mouseEnabled = (inputField.mouseChildren = ((enabled) && (_editable)));
inputField.focusEnabled = false;
if (_editable){
inputField.addEventListener(FocusEvent.FOCUS_IN, onInputFieldFocus, false, 0, true);
inputField.addEventListener(FocusEvent.FOCUS_OUT, onInputFieldFocusOut, false, 0, true);
} else {
inputField.removeEventListener(FocusEvent.FOCUS_IN, onInputFieldFocus);
inputField.removeEventListener(FocusEvent.FOCUS_OUT, onInputFieldFocusOut);
};
}
public function get labelFunction():Function{
return (list.labelFunction);
}
public function set selectedIndex(_arg1:int):void{
list.selectedIndex = _arg1;
highlightCell();
invalidate(InvalidationType.SELECTED);
}
public function get selectedIndex():int{
return (list.selectedIndex);
}
public function close():void{
highlightCell();
highlightedCell = -1;
if (!isOpen){
return;
};
dispatchEvent(new Event(Event.CLOSE));
stage.removeEventListener(MouseEvent.MOUSE_DOWN, onStageClick);
isOpen = false;
stage.removeChild(list);
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, List.getStyleDefinition()));
}
}
}//package fl.controls
Section 83
//LabelButton (fl.controls.LabelButton)
package fl.controls {
import fl.core.*;
import flash.display.*;
import flash.events.*;
import flash.text.*;
import fl.managers.*;
import fl.events.*;
import flash.ui.*;
public class LabelButton extends BaseButton implements IFocusManagerComponent {
protected var _toggle:Boolean;// = false
public var textField:TextField;
protected var mode:String;// = "center"
protected var _labelPlacement:String;// = "right"
protected var oldMouseState:String;
protected var _label:String;// = "Label"
protected var icon:DisplayObject;
private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false};
public static var createAccessibilityImplementation:Function;
override protected function draw():void{
if (textField.text != _label){
label = _label;
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
drawIcon();
drawTextFormat();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
override protected function drawLayout():void{
var _local7:Number;
var _local8:Number;
var _local1:Number = Number(getStyleValue("textPadding"));
var _local2:String = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement;
textField.height = (textField.textHeight + 4);
var _local3:Number = (textField.textWidth + 4);
var _local4:Number = (textField.textHeight + 4);
var _local5:Number = ((icon)==null) ? 0 : (icon.width + _local1);
var _local6:Number = ((icon)==null) ? 0 : (icon.height + _local1);
textField.visible = (label.length > 0);
if (icon != null){
icon.x = Math.round(((width - icon.width) / 2));
icon.y = Math.round(((height - icon.height) / 2));
};
if (textField.visible == false){
textField.width = 0;
textField.height = 0;
} else {
if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){
_local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1))));
if ((height - 2) > _local4){
_local8 = _local4;
} else {
_local8 = (height - 2);
};
_local3 = _local7;
textField.width = _local3;
_local4 = _local8;
textField.height = _local4;
textField.x = Math.round(((width - _local3) / 2));
textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0));
if (icon != null){
icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1));
};
} else {
_local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1))));
_local3 = _local7;
textField.width = _local3;
textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0));
textField.y = Math.round(((height - textField.height) / 2));
if (icon != null){
icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1));
};
};
};
super.drawLayout();
}
protected function toggleSelected(_arg1:MouseEvent):void{
selected = !(selected);
dispatchEvent(new Event(Event.CHANGE, true));
}
override protected function keyUpHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
setMouseState(oldMouseState);
oldMouseState = null;
endPress();
dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
}
public function get labelPlacement():String{
return (_labelPlacement);
}
public function get toggle():Boolean{
return (_toggle);
}
protected function setEmbedFont(){
var _local1:Object = getStyleValue("embedFonts");
if (_local1 != null){
textField.embedFonts = _local1;
};
}
override public function get selected():Boolean{
return ((_toggle) ? _selected : false);
}
override protected function configUI():void{
super.configUI();
textField = new TextField();
textField.type = TextFieldType.DYNAMIC;
textField.selectable = false;
addChild(textField);
}
override protected function initializeAccessibility():void{
if (LabelButton.createAccessibilityImplementation != null){
LabelButton.createAccessibilityImplementation(this);
};
}
public function set labelPlacement(_arg1:String):void{
_labelPlacement = _arg1;
invalidate(InvalidationType.SIZE);
}
protected function drawIcon():void{
var _local1:DisplayObject = icon;
var _local2:String = (enabled) ? mouseState : "disabled";
if (selected){
_local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1));
};
_local2 = (_local2 + "Icon");
var _local3:Object = getStyleValue(_local2);
if (_local3 == null){
_local3 = getStyleValue("icon");
};
if (_local3 != null){
icon = getDisplayObjectInstance(_local3);
};
if (icon != null){
addChildAt(icon, 1);
};
if (((!((_local1 == null))) && (!((_local1 == icon))))){
removeChild(_local1);
};
}
public function set label(_arg1:String):void{
_label = _arg1;
if (textField.text != _label){
textField.text = _label;
dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE));
};
invalidate(InvalidationType.SIZE);
invalidate(InvalidationType.STYLES);
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
if (oldMouseState == null){
oldMouseState = mouseState;
};
setMouseState("down");
startPress();
};
}
public function set toggle(_arg1:Boolean):void{
if (((!(_arg1)) && (super.selected))){
selected = false;
};
_toggle = _arg1;
if (_toggle){
addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true);
} else {
removeEventListener(MouseEvent.CLICK, toggleSelected);
};
invalidate(InvalidationType.STATE);
}
override public function set selected(_arg1:Boolean):void{
_selected = _arg1;
if (_toggle){
invalidate(InvalidationType.STATE);
};
}
protected function drawTextFormat():void{
var _local1:Object = UIComponent.getStyleDefinition();
var _local2:TextFormat = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat);
textField.setTextFormat(_local2);
var _local3:TextFormat = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat);
if (_local3 != null){
textField.setTextFormat(_local3);
} else {
_local3 = _local2;
};
textField.defaultTextFormat = _local3;
setEmbedFont();
}
public function get label():String{
return (_label);
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition()));
}
}
}//package fl.controls
Section 84
//List (fl.controls.List)
package fl.controls {
import fl.controls.listClasses.*;
import fl.core.*;
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import fl.managers.*;
import flash.utils.*;
import flash.ui.*;
public class List extends SelectableList implements IFocusManagerComponent {
protected var _iconField:String;// = "icon"
protected var _labelField:String;// = "label"
protected var _iconFunction:Function;
protected var _rowHeight:Number;// = 20
protected var _cellRenderer:Object;
protected var _labelFunction:Function;
private static var defaultStyles:Object = {focusRectSkin:null, focusRectPadding:null};
public static var createAccessibilityImplementation:Function;
public function get iconField():String{
return (_iconField);
}
public function set iconField(_arg1:String):void{
if (_arg1 == _iconField){
return;
};
_iconField = _arg1;
invalidate(InvalidationType.DATA);
}
public function set labelField(_arg1:String):void{
if (_arg1 == _labelField){
return;
};
_labelField = _arg1;
invalidate(InvalidationType.DATA);
}
public function set rowHeight(_arg1:Number):void{
_rowHeight = _arg1;
invalidate(InvalidationType.SIZE);
}
override protected function draw():void{
var _local1 = !((contentHeight == (rowHeight * length)));
contentHeight = (rowHeight * length);
if (isInvalid(InvalidationType.STYLES)){
setStyles();
drawBackground();
if (contentPadding != getStyleValue("contentPadding")){
invalidate(InvalidationType.SIZE, false);
};
if (_cellRenderer != getStyleValue("cellRenderer")){
_invalidateList();
_cellRenderer = getStyleValue("cellRenderer");
};
};
if (((isInvalid(InvalidationType.SIZE, InvalidationType.STATE)) || (_local1))){
drawLayout();
};
if (isInvalid(InvalidationType.RENDERER_STYLES)){
updateRendererStyles();
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.SIZE, InvalidationType.DATA, InvalidationType.SCROLL, InvalidationType.SELECTED)){
drawList();
};
updateChildren();
validate();
}
override public function get rowCount():uint{
return (Math.ceil((calculateAvailableHeight() / rowHeight)));
}
override protected function configUI():void{
useFixedHorizontalScrolling = true;
_horizontalScrollPolicy = ScrollPolicy.AUTO;
_verticalScrollPolicy = ScrollPolicy.AUTO;
super.configUI();
}
public function set labelFunction(_arg1:Function):void{
if (_labelFunction == _arg1){
return;
};
_labelFunction = _arg1;
invalidate(InvalidationType.DATA);
}
override public function scrollToIndex(_arg1:int):void{
drawNow();
var _local2:uint = (Math.floor(((_verticalScrollPosition + availableHeight) / rowHeight)) - 1);
var _local3:uint = Math.ceil((_verticalScrollPosition / rowHeight));
if (_arg1 < _local3){
verticalScrollPosition = (_arg1 * rowHeight);
} else {
if (_arg1 > _local2){
verticalScrollPosition = (((_arg1 + 1) * rowHeight) - availableHeight);
};
};
}
override protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{
}
override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{
list.x = -(_arg1);
super.setHorizontalScrollPosition(_arg1, true);
}
override protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{
var _local4:int = Math.max(Math.floor((calculateAvailableHeight() / rowHeight)), 1);
var _local5 = -1;
var _local6:int;
switch (_arg1){
case Keyboard.UP:
if (caretIndex > 0){
_local5 = (caretIndex - 1);
};
break;
case Keyboard.DOWN:
if (caretIndex < (length - 1)){
_local5 = (caretIndex + 1);
};
break;
case Keyboard.PAGE_UP:
if (caretIndex > 0){
_local5 = Math.max((caretIndex - _local4), 0);
};
break;
case Keyboard.PAGE_DOWN:
if (caretIndex < (length - 1)){
_local5 = Math.min((caretIndex + _local4), (length - 1));
};
break;
case Keyboard.HOME:
if (caretIndex > 0){
_local5 = 0;
};
break;
case Keyboard.END:
if (caretIndex < (length - 1)){
_local5 = (length - 1);
};
break;
};
if (_local5 >= 0){
doKeySelection(_local5, _arg2, _arg3);
scrollToSelected();
};
}
protected function doKeySelection(_arg1:int, _arg2:Boolean, _arg3:Boolean):void{
var _local5:int;
var _local6:Array;
var _local7:int;
var _local8:int;
var _local4:Boolean;
if (_arg2){
_local6 = [];
_local7 = lastCaretIndex;
_local8 = _arg1;
if (_local7 == -1){
_local7 = ((caretIndex)!=-1) ? caretIndex : _arg1;
};
if (_local7 > _local8){
_local8 = _local7;
_local7 = _arg1;
};
_local5 = _local7;
while (_local5 <= _local8) {
_local6.push(_local5);
_local5++;
};
selectedIndices = _local6;
caretIndex = _arg1;
_local4 = true;
} else {
selectedIndex = _arg1;
caretIndex = (lastCaretIndex = _arg1);
_local4 = true;
};
if (_local4){
dispatchEvent(new Event(Event.CHANGE));
};
invalidate(InvalidationType.DATA);
}
public function get rowHeight():Number{
return (_rowHeight);
}
override protected function initializeAccessibility():void{
if (List.createAccessibilityImplementation != null){
List.createAccessibilityImplementation(this);
};
}
public function get labelField():String{
return (_labelField);
}
public function set iconFunction(_arg1:Function):void{
if (_iconFunction == _arg1){
return;
};
_iconFunction = _arg1;
invalidate(InvalidationType.DATA);
}
public function set rowCount(_arg1:uint):void{
var _local2:Number = Number(getStyleValue("contentPadding"));
var _local3:Number = ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0;
height = (((rowHeight * _arg1) + (2 * _local2)) + _local3);
}
public function get labelFunction():Function{
return (_labelFunction);
}
override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{
invalidate(InvalidationType.SCROLL);
super.setVerticalScrollPosition(_arg1, true);
}
override protected function drawList():void{
var _local4:uint;
var _local5:Object;
var _local6:ICellRenderer;
var _local9:Boolean;
var _local10:String;
var _local11:Object;
var _local12:Sprite;
var _local13:String;
listHolder.x = (listHolder.y = contentPadding);
var _local1:Rectangle = listHolder.scrollRect;
_local1.x = _horizontalScrollPosition;
_local1.y = (Math.floor(_verticalScrollPosition) % rowHeight);
listHolder.scrollRect = _local1;
listHolder.cacheAsBitmap = useBitmapScrolling;
var _local2:uint = Math.floor((_verticalScrollPosition / rowHeight));
var _local3:uint = Math.min(length, ((_local2 + rowCount) + 1));
var _local7:Dictionary = (renderedItems = new Dictionary(true));
_local4 = _local2;
while (_local4 < _local3) {
_local7[_dataProvider.getItemAt(_local4)] = true;
_local4++;
};
var _local8:Dictionary = new Dictionary(true);
while (activeCellRenderers.length > 0) {
_local6 = (activeCellRenderers.pop() as ICellRenderer);
_local5 = _local6.data;
if ((((_local7[_local5] == null)) || ((invalidItems[_local5] == true)))){
availableCellRenderers.push(_local6);
} else {
_local8[_local5] = _local6;
invalidItems[_local5] = true;
};
list.removeChild((_local6 as DisplayObject));
};
invalidItems = new Dictionary(true);
_local4 = _local2;
while (_local4 < _local3) {
_local9 = false;
_local5 = _dataProvider.getItemAt(_local4);
if (_local8[_local5] != null){
_local9 = true;
_local6 = _local8[_local5];
delete _local8[_local5];
} else {
if (availableCellRenderers.length > 0){
_local6 = (availableCellRenderers.pop() as ICellRenderer);
} else {
_local6 = (getDisplayObjectInstance(getStyleValue("cellRenderer")) as ICellRenderer);
_local12 = (_local6 as Sprite);
if (_local12 != null){
_local12.addEventListener(MouseEvent.CLICK, handleCellRendererClick, false, 0, true);
_local12.addEventListener(MouseEvent.ROLL_OVER, handleCellRendererMouseEvent, false, 0, true);
_local12.addEventListener(MouseEvent.ROLL_OUT, handleCellRendererMouseEvent, false, 0, true);
_local12.addEventListener(Event.CHANGE, handleCellRendererChange, false, 0, true);
_local12.doubleClickEnabled = true;
_local12.addEventListener(MouseEvent.DOUBLE_CLICK, handleCellRendererDoubleClick, false, 0, true);
if (_local12.hasOwnProperty("setStyle")){
for (_local13 in rendererStyles) {
var _local16 = _local12;
_local16["setStyle"](_local13, rendererStyles[_local13]);
};
};
};
};
};
list.addChild((_local6 as Sprite));
activeCellRenderers.push(_local6);
_local6.y = (rowHeight * (_local4 - _local2));
_local6.setSize((availableWidth + _maxHorizontalScrollPosition), rowHeight);
_local10 = itemToLabel(_local5);
_local11 = null;
if (_iconFunction != null){
_local11 = _iconFunction(_local5);
} else {
if (_iconField != null){
_local11 = _local5[_iconField];
};
};
if (!_local9){
_local6.data = _local5;
};
_local6.listData = new ListData(_local10, _local11, this, _local4, _local4, 0);
_local6.selected = !((_selectedIndices.indexOf(_local4) == -1));
if ((_local6 is UIComponent)){
(_local6 as UIComponent).drawNow();
};
_local4++;
};
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
var _local2:int;
if (!selectable){
return;
};
switch (_arg1.keyCode){
case Keyboard.UP:
case Keyboard.DOWN:
case Keyboard.END:
case Keyboard.HOME:
case Keyboard.PAGE_UP:
case Keyboard.PAGE_DOWN:
moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection)));
break;
case Keyboard.LEFT:
case Keyboard.RIGHT:
moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection)));
break;
case Keyboard.SPACE:
if (caretIndex == -1){
caretIndex = 0;
};
doKeySelection(caretIndex, _arg1.shiftKey, _arg1.ctrlKey);
scrollToSelected();
break;
default:
_local2 = getNextIndexAtLetter(String.fromCharCode(_arg1.keyCode), selectedIndex);
if (_local2 > -1){
selectedIndex = _local2;
scrollToSelected();
};
break;
};
_arg1.stopPropagation();
}
public function get iconFunction():Function{
return (_iconFunction);
}
override public function itemToLabel(_arg1:Object):String{
if (_labelFunction != null){
return (String(_labelFunction(_arg1)));
};
return (((_arg1[_labelField])!=null) ? String(_arg1[_labelField]) : "");
}
protected function calculateAvailableHeight():Number{
var _local1:Number = Number(getStyleValue("contentPadding"));
return (((height - (_local1 * 2)) - ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0));
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, SelectableList.getStyleDefinition()));
}
}
}//package fl.controls
Section 85
//ScrollBar (fl.controls.ScrollBar)
package fl.controls {
import fl.core.*;
import flash.events.*;
import fl.events.*;
public class ScrollBar extends UIComponent {
private var _direction:String;// = "vertical"
private var _minScrollPosition:Number;// = 0
private var _pageSize:Number;// = 10
private var _maxScrollPosition:Number;// = 0
protected var downArrow:BaseButton;
private var _lineScrollSize:Number;// = 1
protected var upArrow:BaseButton;
private var _scrollPosition:Number;// = 0
private var thumbScrollOffset:Number;
protected var track:BaseButton;
protected var thumb:LabelButton;
protected var inDrag:Boolean;// = false
private var _pageScrollSize:Number;// = 0
protected static const THUMB_STYLES:Object = {disabledSkin:"thumbDisabledSkin", downSkin:"thumbDownSkin", overSkin:"thumbOverSkin", upSkin:"thumbUpSkin", icon:"thumbIcon", textPadding:0};
public static const WIDTH:Number = 15;
protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
protected static const TRACK_STYLES:Object = {disabledSkin:"trackDisabledSkin", downSkin:"trackDownSkin", overSkin:"trackOverSkin", upSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
private static var defaultStyles:Object = {downArrowDisabledSkin:"ScrollArrowDown_disabledSkin", downArrowDownSkin:"ScrollArrowDown_downSkin", downArrowOverSkin:"ScrollArrowDown_overSkin", downArrowUpSkin:"ScrollArrowDown_upSkin", thumbDisabledSkin:"ScrollThumb_upSkin", thumbDownSkin:"ScrollThumb_downSkin", thumbOverSkin:"ScrollThumb_overSkin", thumbUpSkin:"ScrollThumb_upSkin", trackDisabledSkin:"ScrollTrack_skin", trackDownSkin:"ScrollTrack_skin", trackOverSkin:"ScrollTrack_skin", trackUpSkin:"ScrollTrack_skin", upArrowDisabledSkin:"ScrollArrowUp_disabledSkin", upArrowDownSkin:"ScrollArrowUp_downSkin", upArrowOverSkin:"ScrollArrowUp_overSkin", upArrowUpSkin:"ScrollArrowUp_upSkin", thumbIcon:"ScrollBar_thumbIcon", repeatDelay:500, repeatInterval:35};
public function ScrollBar(){
setStyles();
focusEnabled = false;
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
downArrow.enabled = (track.enabled = (thumb.enabled = (upArrow.enabled = ((enabled) && ((_maxScrollPosition > _minScrollPosition))))));
updateThumb();
}
override public function setSize(_arg1:Number, _arg2:Number):void{
if (_direction == ScrollBarDirection.HORIZONTAL){
super.setSize(_arg2, _arg1);
} else {
super.setSize(_arg1, _arg2);
};
}
public function set lineScrollSize(_arg1:Number):void{
if (_arg1 > 0){
_lineScrollSize = _arg1;
};
}
public function get minScrollPosition():Number{
return (_minScrollPosition);
}
protected function updateThumb():void{
var _local1:Number = ((_maxScrollPosition - _minScrollPosition) + _pageSize);
if ((((((track.height <= 12)) || ((_maxScrollPosition <= _minScrollPosition)))) || ((((_local1 == 0)) || (isNaN(_local1)))))){
thumb.height = 12;
thumb.visible = false;
} else {
thumb.height = Math.max(13, ((_pageSize / _local1) * track.height));
thumb.y = (track.y + ((track.height - thumb.height) * ((_scrollPosition - _minScrollPosition) / (_maxScrollPosition - _minScrollPosition))));
thumb.visible = enabled;
};
}
public function set minScrollPosition(_arg1:Number):void{
setScrollProperties(_pageSize, _arg1, _maxScrollPosition);
}
public function get lineScrollSize():Number{
return (_lineScrollSize);
}
public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{
var _local3:Number = scrollPosition;
_scrollPosition = Math.max(_minScrollPosition, Math.min(_maxScrollPosition, _arg1));
if (_local3 == _scrollPosition){
return;
};
if (_arg2){
dispatchEvent(new ScrollEvent(_direction, (scrollPosition - _local3), scrollPosition));
};
updateThumb();
}
public function get maxScrollPosition():Number{
return (_maxScrollPosition);
}
public function get scrollPosition():Number{
return (_scrollPosition);
}
override public function get height():Number{
return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.width : super.height);
}
public function get pageSize():Number{
return (_pageSize);
}
public function set maxScrollPosition(_arg1:Number):void{
setScrollProperties(_pageSize, _minScrollPosition, _arg1);
}
protected function thumbReleaseHandler(_arg1:MouseEvent):void{
inDrag = false;
mouseChildren = true;
thumb.mouseStateLocked = false;
stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag);
stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler);
}
public function set pageScrollSize(_arg1:Number):void{
if (_arg1 >= 0){
_pageScrollSize = _arg1;
};
}
public function set scrollPosition(_arg1:Number):void{
setScrollPosition(_arg1, true);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
var _local1:Number;
if (isInvalid(InvalidationType.SIZE)){
_local1 = super.height;
downArrow.move(0, Math.max(upArrow.height, (_local1 - downArrow.height)));
track.setSize(WIDTH, Math.max(0, (_local1 - (downArrow.height + upArrow.height))));
updateThumb();
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
setStyles();
};
downArrow.drawNow();
upArrow.drawNow();
track.drawNow();
thumb.drawNow();
validate();
}
override public function get width():Number{
return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.height : super.width);
}
override protected function configUI():void{
super.configUI();
track = new BaseButton();
track.move(0, 14);
track.useHandCursor = false;
track.autoRepeat = true;
track.focusEnabled = false;
addChild(track);
thumb = new LabelButton();
thumb.label = "";
thumb.setSize(WIDTH, 15);
thumb.move(0, 15);
thumb.focusEnabled = false;
addChild(thumb);
downArrow = new BaseButton();
downArrow.setSize(WIDTH, 14);
downArrow.autoRepeat = true;
downArrow.focusEnabled = false;
addChild(downArrow);
upArrow = new BaseButton();
upArrow.setSize(WIDTH, 14);
upArrow.move(0, 0);
upArrow.autoRepeat = true;
upArrow.focusEnabled = false;
addChild(upArrow);
upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
track.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true);
enabled = false;
}
public function set pageSize(_arg1:Number):void{
if (_arg1 > 0){
_pageSize = _arg1;
};
}
public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{
this.pageSize = _arg1;
_minScrollPosition = _arg2;
_maxScrollPosition = _arg3;
if (_arg4 >= 0){
_pageScrollSize = _arg4;
};
enabled = (_maxScrollPosition > _minScrollPosition);
setScrollPosition(_scrollPosition, false);
updateThumb();
}
public function get pageScrollSize():Number{
return (((_pageScrollSize)==0) ? _pageSize : _pageScrollSize);
}
protected function handleThumbDrag(_arg1:MouseEvent):void{
var _local2:Number = Math.max(0, Math.min((track.height - thumb.height), ((mouseY - track.y) - thumbScrollOffset)));
setScrollPosition((((_local2 / (track.height - thumb.height)) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition));
}
protected function setStyles():void{
copyStylesToChild(downArrow, DOWN_ARROW_STYLES);
copyStylesToChild(thumb, THUMB_STYLES);
copyStylesToChild(track, TRACK_STYLES);
copyStylesToChild(upArrow, UP_ARROW_STYLES);
}
protected function scrollPressHandler(_arg1:ComponentEvent):void{
var _local2:Number;
var _local3:Number;
_arg1.stopImmediatePropagation();
if (_arg1.currentTarget == upArrow){
setScrollPosition((_scrollPosition - _lineScrollSize));
} else {
if (_arg1.currentTarget == downArrow){
setScrollPosition((_scrollPosition + _lineScrollSize));
} else {
_local2 = (((track.mouseY / track.height) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition);
_local3 = ((pageScrollSize)==0) ? pageSize : pageScrollSize;
if (_scrollPosition < _local2){
setScrollPosition(Math.min(_local2, (_scrollPosition + _local3)));
} else {
if (_scrollPosition > _local2){
setScrollPosition(Math.max(_local2, (_scrollPosition - _local3)));
};
};
};
};
}
protected function thumbPressHandler(_arg1:MouseEvent):void{
inDrag = true;
thumbScrollOffset = (mouseY - thumb.y);
thumb.mouseStateLocked = true;
mouseChildren = false;
stage.addEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true);
}
public function set direction(_arg1:String):void{
if (_direction == _arg1){
return;
};
_direction = _arg1;
if (isLivePreview){
return;
};
setScaleY(1);
var _local2 = (_direction == ScrollBarDirection.HORIZONTAL);
if (((_local2) && (componentInspectorSetting))){
if (rotation == 90){
return;
};
setScaleX(-1);
rotation = -90;
};
if (!componentInspectorSetting){
if (((_local2) && ((rotation == 0)))){
rotation = -90;
setScaleX(-1);
} else {
if (((!(_local2)) && ((rotation == -90)))){
rotation = 0;
setScaleX(1);
};
};
};
invalidate(InvalidationType.SIZE);
}
public function get direction():String{
return (_direction);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 86
//ScrollBarDirection (fl.controls.ScrollBarDirection)
package fl.controls {
public class ScrollBarDirection {
public static const HORIZONTAL:String = "horizontal";
public static const VERTICAL:String = "vertical";
}
}//package fl.controls
Section 87
//ScrollPolicy (fl.controls.ScrollPolicy)
package fl.controls {
public class ScrollPolicy {
public static const OFF:String = "off";
public static const ON:String = "on";
public static const AUTO:String = "auto";
}
}//package fl.controls
Section 88
//SelectableList (fl.controls.SelectableList)
package fl.controls {
import fl.controls.listClasses.*;
import fl.core.*;
import flash.display.*;
import flash.events.*;
import fl.data.*;
import fl.managers.*;
import fl.events.*;
import flash.utils.*;
import fl.containers.*;
import flash.ui.*;
public class SelectableList extends BaseScrollPane implements IFocusManagerComponent {
protected var invalidItems:Dictionary;
protected var renderedItems:Dictionary;
protected var caretIndex:int;// = -1
protected var updatedRendererStyles:Object;
protected var _allowMultipleSelection:Boolean;// = false
protected var lastCaretIndex:int;// = -1
protected var _verticalScrollPosition:Number;
protected var _selectedIndices:Array;
protected var preChangeItems:Array;
protected var activeCellRenderers:Array;
protected var availableCellRenderers:Array;
protected var rendererStyles:Object;
protected var list:Sprite;
protected var _dataProvider:DataProvider;
protected var _horizontalScrollPosition:Number;
private var collectionItemImport:SimpleCollectionItem;
protected var listHolder:Sprite;
protected var _selectable:Boolean;// = true
private static var defaultStyles:Object = {skin:"List_skin", cellRenderer:CellRenderer, contentPadding:null, disabledAlpha:null};
public static var createAccessibilityImplementation:Function;
public function SelectableList(){
activeCellRenderers = [];
availableCellRenderers = [];
invalidItems = new Dictionary(true);
renderedItems = new Dictionary(true);
_selectedIndices = [];
if (dataProvider == null){
dataProvider = new DataProvider();
};
verticalScrollPolicy = ScrollPolicy.AUTO;
rendererStyles = {};
updatedRendererStyles = {};
}
protected function drawList():void{
}
protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{
}
public function get allowMultipleSelection():Boolean{
return (_allowMultipleSelection);
}
protected function onPreChange(_arg1:DataChangeEvent):void{
switch (_arg1.changeType){
case DataChangeType.REMOVE:
case DataChangeType.ADD:
case DataChangeType.INVALIDATE:
case DataChangeType.REMOVE_ALL:
case DataChangeType.REPLACE:
case DataChangeType.INVALIDATE_ALL:
break;
default:
preChangeItems = selectedItems;
break;
};
}
public function set selectedIndices(_arg1:Array):void{
if (!_selectable){
return;
};
_selectedIndices = ((_arg1)==null) ? [] : _arg1.concat();
invalidate(InvalidationType.SELECTED);
}
public function isItemSelected(_arg1:Object):Boolean{
return ((selectedItems.indexOf(_arg1) > -1));
}
public function set allowMultipleSelection(_arg1:Boolean):void{
if (_arg1 == _allowMultipleSelection){
return;
};
_allowMultipleSelection = _arg1;
if (((!(_arg1)) && ((_selectedIndices.length > 1)))){
_selectedIndices = [_selectedIndices.pop()];
invalidate(InvalidationType.DATA);
};
}
override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{
if (_arg1 == _verticalScrollPosition){
return;
};
var _local3:Number = (_arg1 - _verticalScrollPosition);
_verticalScrollPosition = _arg1;
if (_arg2){
dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _local3, _arg1));
};
}
public function sortItemsOn(_arg1:String, _arg2:Object=null){
return (_dataProvider.sortOn(_arg1, _arg2));
}
public function getNextIndexAtLetter(_arg1:String, _arg2:int=-1):int{
var _local5:Number;
var _local6:Object;
var _local7:String;
if (length == 0){
return (-1);
};
_arg1 = _arg1.toUpperCase();
var _local3:int = (length - 1);
var _local4:Number = 0;
while (_local4 < _local3) {
_local5 = ((_arg2 + 1) + _local4);
if (_local5 > (length - 1)){
_local5 = (_local5 - length);
};
_local6 = getItemAt(_local5);
if (_local6 == null){
break;
};
_local7 = itemToLabel(_local6);
if (_local7 == null){
} else {
if (_local7.charAt(0).toUpperCase() == _arg1){
return (_local5);
};
};
_local4++;
};
return (-1);
}
override protected function draw():void{
super.draw();
}
public function removeItemAt(_arg1:uint):Object{
return (_dataProvider.removeItemAt(_arg1));
}
public function get selectedItem():Object{
return (((_selectedIndices.length)==0) ? null : _dataProvider.getItemAt(selectedIndex));
}
protected function handleDataChange(_arg1:DataChangeEvent):void{
var _local5:uint;
var _local2:int = _arg1.startIndex;
var _local3:int = _arg1.endIndex;
var _local4:String = _arg1.changeType;
if (_local4 == DataChangeType.INVALIDATE_ALL){
clearSelection();
invalidateList();
} else {
if (_local4 == DataChangeType.INVALIDATE){
_local5 = 0;
while (_local5 < _arg1.items.length) {
invalidateItem(_arg1.items[_local5]);
_local5++;
};
} else {
if (_local4 == DataChangeType.ADD){
_local5 = 0;
while (_local5 < _selectedIndices.length) {
if (_selectedIndices[_local5] >= _local2){
_selectedIndices[_local5] = (_selectedIndices[_local5] + (_local2 - _local3));
};
_local5++;
};
} else {
if (_local4 == DataChangeType.REMOVE){
_local5 = 0;
while (_local5 < _selectedIndices.length) {
if (_selectedIndices[_local5] >= _local2){
if (_selectedIndices[_local5] <= _local3){
delete _selectedIndices[_local5];
} else {
_selectedIndices[_local5] = (_selectedIndices[_local5] - ((_local2 - _local3) + 1));
};
};
_local5++;
};
} else {
if (_local4 == DataChangeType.REMOVE_ALL){
clearSelection();
} else {
if (_local4 == DataChangeType.REPLACE){
} else {
selectedItems = preChangeItems;
preChangeItems = null;
};
};
};
};
};
};
invalidate(InvalidationType.DATA);
}
public function itemToCellRenderer(_arg1:Object):ICellRenderer{
var _local2:*;
var _local3:ICellRenderer;
if (_arg1 != null){
for (_local2 in activeCellRenderers) {
_local3 = (activeCellRenderers[_local2] as ICellRenderer);
if (_local3.data == _arg1){
return (_local3);
};
};
};
return (null);
}
public function addItem(_arg1:Object):void{
_dataProvider.addItem(_arg1);
invalidateList();
}
public function get rowCount():uint{
return (0);
}
override protected function configUI():void{
super.configUI();
listHolder = new Sprite();
addChild(listHolder);
listHolder.scrollRect = contentScrollRect;
list = new Sprite();
listHolder.addChild(list);
}
public function get selectable():Boolean{
return (_selectable);
}
public function clearRendererStyle(_arg1:String, _arg2:int=-1):void{
delete rendererStyles[_arg1];
updatedRendererStyles[_arg1] = null;
invalidate(InvalidationType.RENDERER_STYLES);
}
protected function handleCellRendererMouseEvent(_arg1:MouseEvent):void{
var _local2:ICellRenderer = (_arg1.target as ICellRenderer);
var _local3:String = ((_arg1.type)==MouseEvent.ROLL_OVER) ? ListEvent.ITEM_ROLL_OVER : ListEvent.ITEM_ROLL_OUT;
dispatchEvent(new ListEvent(_local3, false, false, _local2.listData.column, _local2.listData.row, _local2.listData.index, _local2.data));
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
if (!selectable){
return;
};
switch (_arg1.keyCode){
case Keyboard.UP:
case Keyboard.DOWN:
case Keyboard.END:
case Keyboard.HOME:
case Keyboard.PAGE_UP:
case Keyboard.PAGE_DOWN:
moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection)));
_arg1.stopPropagation();
break;
case Keyboard.LEFT:
case Keyboard.RIGHT:
moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection)));
_arg1.stopPropagation();
break;
};
}
protected function handleCellRendererDoubleClick(_arg1:MouseEvent):void{
if (!_enabled){
return;
};
var _local2:ICellRenderer = (_arg1.currentTarget as ICellRenderer);
var _local3:uint = _local2.listData.index;
dispatchEvent(new ListEvent(ListEvent.ITEM_DOUBLE_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data));
}
public function setRendererStyle(_arg1:String, _arg2:Object, _arg3:uint=0):void{
if (rendererStyles[_arg1] == _arg2){
return;
};
updatedRendererStyles[_arg1] = _arg2;
rendererStyles[_arg1] = _arg2;
invalidate(InvalidationType.RENDERER_STYLES);
}
public function set dataProvider(_arg1:DataProvider):void{
if (_dataProvider != null){
_dataProvider.removeEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange);
_dataProvider.removeEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange);
};
_dataProvider = _arg1;
_dataProvider.addEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange, false, 0, true);
_dataProvider.addEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange, false, 0, true);
clearSelection();
invalidateList();
}
public function invalidateList():void{
_invalidateList();
invalidate(InvalidationType.DATA);
}
public function replaceItemAt(_arg1:Object, _arg2:uint):Object{
return (_dataProvider.replaceItemAt(_arg1, _arg2));
}
public function removeAll():void{
_dataProvider.removeAll();
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
list.mouseChildren = _enabled;
}
public function scrollToIndex(_arg1:int):void{
}
public function get selectedIndices():Array{
return (_selectedIndices.concat());
}
override protected function drawLayout():void{
super.drawLayout();
contentScrollRect = listHolder.scrollRect;
contentScrollRect.width = availableWidth;
contentScrollRect.height = availableHeight;
listHolder.scrollRect = contentScrollRect;
}
protected function _invalidateList():void{
availableCellRenderers = [];
while (activeCellRenderers.length > 0) {
list.removeChild((activeCellRenderers.pop() as DisplayObject));
};
}
public function set selectedItem(_arg1:Object):void{
var _local2:int = _dataProvider.getItemIndex(_arg1);
selectedIndex = _local2;
}
public function getItemAt(_arg1:uint):Object{
return (_dataProvider.getItemAt(_arg1));
}
protected function handleCellRendererChange(_arg1:Event):void{
var _local2:ICellRenderer = (_arg1.currentTarget as ICellRenderer);
var _local3:uint = _local2.listData.index;
_dataProvider.invalidateItemAt(_local3);
}
protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{
}
public function itemToLabel(_arg1:Object):String{
return (_arg1["label"]);
}
public function addItemAt(_arg1:Object, _arg2:uint):void{
_dataProvider.addItemAt(_arg1, _arg2);
invalidateList();
}
override protected function initializeAccessibility():void{
if (SelectableList.createAccessibilityImplementation != null){
SelectableList.createAccessibilityImplementation(this);
};
}
protected function updateRendererStyles():void{
var _local4:String;
var _local1:Array = availableCellRenderers.concat(activeCellRenderers);
var _local2:uint = _local1.length;
var _local3:uint;
while (_local3 < _local2) {
if (_local1[_local3].setStyle == null){
} else {
for (_local4 in updatedRendererStyles) {
_local1[_local3].setStyle(_local4, updatedRendererStyles[_local4]);
};
_local1[_local3].drawNow();
};
_local3++;
};
updatedRendererStyles = {};
}
public function set selectable(_arg1:Boolean):void{
if (_arg1 == _selectable){
return;
};
if (!_arg1){
selectedIndices = [];
};
_selectable = _arg1;
}
public function removeItem(_arg1:Object):Object{
return (_dataProvider.removeItem(_arg1));
}
public function get dataProvider():DataProvider{
return (_dataProvider);
}
public function set maxHorizontalScrollPosition(_arg1:Number):void{
_maxHorizontalScrollPosition = _arg1;
invalidate(InvalidationType.SIZE);
}
public function clearSelection():void{
selectedIndex = -1;
}
public function invalidateItemAt(_arg1:uint):void{
var _local2:Object = _dataProvider.getItemAt(_arg1);
if (_local2 != null){
invalidateItem(_local2);
};
}
public function sortItems(... _args){
return (_dataProvider.sort.apply(_dataProvider, _args));
}
public function set selectedItems(_arg1:Array):void{
var _local4:int;
if (_arg1 == null){
selectedIndices = null;
return;
};
var _local2:Array = [];
var _local3:uint;
while (_local3 < _arg1.length) {
_local4 = _dataProvider.getItemIndex(_arg1[_local3]);
if (_local4 != -1){
_local2.push(_local4);
};
_local3++;
};
selectedIndices = _local2;
}
override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{
if (_arg1 == _horizontalScrollPosition){
return;
};
var _local3:Number = (_arg1 - _horizontalScrollPosition);
_horizontalScrollPosition = _arg1;
if (_arg2){
dispatchEvent(new ScrollEvent(ScrollBarDirection.HORIZONTAL, _local3, _arg1));
};
}
override public function get maxHorizontalScrollPosition():Number{
return (_maxHorizontalScrollPosition);
}
public function scrollToSelected():void{
scrollToIndex(selectedIndex);
}
public function get selectedItems():Array{
var _local1:Array = [];
var _local2:uint;
while (_local2 < _selectedIndices.length) {
_local1.push(_dataProvider.getItemAt(_selectedIndices[_local2]));
_local2++;
};
return (_local1);
}
public function get length():uint{
return (_dataProvider.length);
}
public function invalidateItem(_arg1:Object):void{
if (renderedItems[_arg1] == null){
return;
};
invalidItems[_arg1] = true;
invalidate(InvalidationType.DATA);
}
public function set selectedIndex(_arg1:int):void{
selectedIndices = ((_arg1)==-1) ? null : [_arg1];
}
public function get selectedIndex():int{
return (((_selectedIndices.length)==0) ? -1 : _selectedIndices[(_selectedIndices.length - 1)]);
}
public function getRendererStyle(_arg1:String, _arg2:int=-1):Object{
return (rendererStyles[_arg1]);
}
protected function handleCellRendererClick(_arg1:MouseEvent):void{
var _local5:int;
var _local6:uint;
if (!_enabled){
return;
};
var _local2:ICellRenderer = (_arg1.currentTarget as ICellRenderer);
var _local3:uint = _local2.listData.index;
if (((!(dispatchEvent(new ListEvent(ListEvent.ITEM_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data)))) || (!(_selectable)))){
return;
};
var _local4:int = selectedIndices.indexOf(_local3);
if (!_allowMultipleSelection){
if (_local4 != -1){
return;
};
_local2.selected = true;
_selectedIndices = [_local3];
lastCaretIndex = (caretIndex = _local3);
} else {
if (_arg1.shiftKey){
_local6 = ((_selectedIndices.length)>0) ? _selectedIndices[0] : _local3;
_selectedIndices = [];
if (_local6 > _local3){
_local5 = _local6;
while (_local5 >= _local3) {
_selectedIndices.push(_local5);
_local5--;
};
} else {
_local5 = _local6;
while (_local5 <= _local3) {
_selectedIndices.push(_local5);
_local5++;
};
};
caretIndex = _local3;
} else {
if (_arg1.ctrlKey){
if (_local4 != -1){
_local2.selected = false;
_selectedIndices.splice(_local4, 1);
} else {
_local2.selected = true;
_selectedIndices.push(_local3);
};
caretIndex = _local3;
} else {
_selectedIndices = [_local3];
lastCaretIndex = (caretIndex = _local3);
};
};
};
dispatchEvent(new Event(Event.CHANGE));
invalidate(InvalidationType.DATA);
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, BaseScrollPane.getStyleDefinition()));
}
}
}//package fl.controls
Section 89
//TextInput (fl.controls.TextInput)
package fl.controls {
import fl.core.*;
import flash.display.*;
import flash.events.*;
import flash.text.*;
import fl.managers.*;
import fl.events.*;
import flash.ui.*;
public class TextInput extends UIComponent implements IFocusManagerComponent {
protected var _html:Boolean;// = false
protected var background:DisplayObject;
protected var _savedHTML:String;
protected var _editable:Boolean;// = true
public var textField:TextField;
private static var defaultStyles:Object = {upSkin:"TextInput_upSkin", disabledSkin:"TextInput_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:0, embedFonts:false};
public static var createAccessibilityImplementation:Function;
public function set alwaysShowSelection(_arg1:Boolean):void{
textField.alwaysShowSelection = _arg1;
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
updateTextFieldType();
}
public function get imeMode():String{
return (_imeMode);
}
protected function handleChange(_arg1:Event):void{
_arg1.stopPropagation();
dispatchEvent(new Event(Event.CHANGE, true));
}
public function set imeMode(_arg1:String):void{
_imeMode = _arg1;
}
protected function setEmbedFont(){
var _local1:Object = getStyleValue("embedFonts");
if (_local1 != null){
textField.embedFonts = _local1;
};
}
protected function drawLayout():void{
var _local1:Number = Number(getStyleValue("textPadding"));
if (background != null){
background.width = width;
background.height = height;
};
textField.width = (width - (2 * _local1));
textField.height = (height - (2 * _local1));
textField.x = (textField.y = _local1);
}
public function set condenseWhite(_arg1:Boolean):void{
textField.condenseWhite = _arg1;
}
public function get textWidth():Number{
return (textField.textWidth);
}
override protected function focusOutHandler(_arg1:FocusEvent):void{
super.focusOutHandler(_arg1);
if (editable){
setIMEMode(false);
};
}
override public function setFocus():void{
stage.focus = textField;
}
public function set displayAsPassword(_arg1:Boolean):void{
textField.displayAsPassword = _arg1;
}
protected function drawBackground():void{
var _local1:DisplayObject = background;
var _local2:String = (enabled) ? "upSkin" : "disabledSkin";
background = getDisplayObjectInstance(getStyleValue(_local2));
if (background == null){
return;
};
addChildAt(background, 0);
if (((((!((_local1 == null))) && (!((_local1 == background))))) && (contains(_local1)))){
removeChild(_local1);
};
}
public function get text():String{
return (textField.text);
}
public function set maxChars(_arg1:int):void{
textField.maxChars = _arg1;
}
public function set horizontalScrollPosition(_arg1:int):void{
textField.scrollH = _arg1;
}
override protected function isOurFocus(_arg1:DisplayObject):Boolean{
return ((((_arg1 == textField)) || (super.isOurFocus(_arg1))));
}
public function get textHeight():Number{
return (textField.textHeight);
}
public function get restrict():String{
return (textField.restrict);
}
public function get alwaysShowSelection():Boolean{
return (textField.alwaysShowSelection);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
var _local1:Object;
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawTextFormat();
drawBackground();
_local1 = getStyleValue("embedFonts");
if (_local1 != null){
textField.embedFonts = _local1;
};
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
super.draw();
}
public function set editable(_arg1:Boolean):void{
_editable = _arg1;
updateTextFieldType();
}
public function setSelection(_arg1:int, _arg2:int):void{
textField.setSelection(_arg1, _arg2);
}
public function get condenseWhite():Boolean{
return (textField.condenseWhite);
}
public function get displayAsPassword():Boolean{
return (textField.displayAsPassword);
}
public function get selectionBeginIndex():int{
return (textField.selectionBeginIndex);
}
override protected function configUI():void{
super.configUI();
tabChildren = true;
textField = new TextField();
addChild(textField);
updateTextFieldType();
textField.addEventListener(TextEvent.TEXT_INPUT, handleTextInput, false, 0, true);
textField.addEventListener(Event.CHANGE, handleChange, false, 0, true);
textField.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true);
}
public function get maxChars():int{
return (textField.maxChars);
}
public function set text(_arg1:String):void{
textField.text = _arg1;
_html = false;
invalidate(InvalidationType.DATA);
invalidate(InvalidationType.STYLES);
}
protected function updateTextFieldType():void{
textField.type = (((enabled) && (editable))) ? TextFieldType.INPUT : TextFieldType.DYNAMIC;
textField.selectable = enabled;
}
protected function handleKeyDown(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.ENTER){
dispatchEvent(new ComponentEvent(ComponentEvent.ENTER, true));
};
}
public function get horizontalScrollPosition():int{
return (textField.scrollH);
}
public function get selectionEndIndex():int{
return (textField.selectionEndIndex);
}
public function get editable():Boolean{
return (_editable);
}
public function get maxHorizontalScrollPosition():int{
return (textField.maxScrollH);
}
public function appendText(_arg1:String):void{
textField.appendText(_arg1);
}
protected function drawTextFormat():void{
var _local1:Object = UIComponent.getStyleDefinition();
var _local2:TextFormat = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat);
textField.setTextFormat(_local2);
var _local3:TextFormat = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat);
if (_local3 != null){
textField.setTextFormat(_local3);
} else {
_local3 = _local2;
};
textField.defaultTextFormat = _local3;
setEmbedFont();
if (_html){
textField.htmlText = _savedHTML;
};
}
public function get length():int{
return (textField.length);
}
public function set htmlText(_arg1:String):void{
if (_arg1 == ""){
text = "";
return;
};
_html = true;
_savedHTML = _arg1;
textField.htmlText = _arg1;
invalidate(InvalidationType.DATA);
invalidate(InvalidationType.STYLES);
}
protected function handleTextInput(_arg1:TextEvent):void{
_arg1.stopPropagation();
dispatchEvent(new TextEvent(TextEvent.TEXT_INPUT, true, false, _arg1.text));
}
public function set restrict(_arg1:String):void{
if (((componentInspectorSetting) && ((_arg1 == "")))){
_arg1 = null;
};
textField.restrict = _arg1;
}
public function getLineMetrics(_arg1:int):TextLineMetrics{
return (textField.getLineMetrics(_arg1));
}
override public function drawFocus(_arg1:Boolean):void{
if (focusTarget != null){
focusTarget.drawFocus(_arg1);
return;
};
super.drawFocus(_arg1);
}
override protected function focusInHandler(_arg1:FocusEvent):void{
if (_arg1.target == this){
stage.focus = textField;
};
var _local2:IFocusManager = focusManager;
if (((editable) && (_local2))){
_local2.showFocusIndicator = true;
if (((textField.selectable) && ((textField.selectionBeginIndex == textField.selectionBeginIndex)))){
setSelection(0, textField.length);
};
};
super.focusInHandler(_arg1);
if (editable){
setIMEMode(true);
};
}
public function get htmlText():String{
return (textField.htmlText);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 90
//ComponentShim (fl.core.ComponentShim)
package fl.core {
import flash.display.*;
public dynamic class ComponentShim extends MovieClip {
}
}//package fl.core
Section 91
//InvalidationType (fl.core.InvalidationType)
package fl.core {
public class InvalidationType {
public static const SIZE:String = "size";
public static const ALL:String = "all";
public static const DATA:String = "data";
public static const SCROLL:String = "scroll";
public static const STATE:String = "state";
public static const STYLES:String = "styles";
public static const SELECTED:String = "selected";
public static const RENDERER_STYLES:String = "rendererStyles";
}
}//package fl.core
Section 92
//UIComponent (fl.core.UIComponent)
package fl.core {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import fl.managers.*;
import fl.events.*;
import flash.utils.*;
import flash.system.*;
public class UIComponent extends Sprite {
protected var _x:Number;
protected var _enabled:Boolean;// = true
protected var callLaterMethods:Dictionary;
private var _mouseFocusEnabled:Boolean;// = true
private var tempText:TextField;
private var _focusEnabled:Boolean;// = true
protected var startHeight:Number;
protected var _height:Number;
protected var invalidateFlag:Boolean;// = false
protected var _oldIMEMode:String;// = null
protected var _inspector:Boolean;// = false
protected var startWidth:Number;
public var focusTarget:IFocusManagerComponent;
protected var errorCaught:Boolean;// = false
protected var invalidHash:Object;
protected var sharedStyles:Object;
protected var uiFocusRect:DisplayObject;
protected var isLivePreview:Boolean;// = false
protected var _imeMode:String;// = null
protected var _width:Number;
protected var instanceStyles:Object;
public var version:String;// = "3.0.0.16"
protected var isFocused:Boolean;// = false
protected var _y:Number;
public static var inCallLaterPhase:Boolean = false;
private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)};
public static var createAccessibilityImplementation:Function;
private static var focusManagers:Dictionary = new Dictionary(false);
public function UIComponent(){
instanceStyles = {};
sharedStyles = {};
invalidHash = {};
callLaterMethods = new Dictionary();
StyleManager.registerInstance(this);
configUI();
invalidate(InvalidationType.ALL);
tabEnabled = (this is IFocusManagerComponent);
focusRect = false;
if (tabEnabled){
addEventListener(FocusEvent.FOCUS_IN, focusInHandler);
addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler);
addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
};
initializeFocusManager();
addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true);
}
public function getStyle(_arg1:String):Object{
return (instanceStyles[_arg1]);
}
protected function checkLivePreview():Boolean{
var className:String;
if (parent == null){
return (false);
};
try {
className = getQualifiedClassName(parent);
} catch(e:Error) {
};
return ((className == "fl.livepreview::LivePreviewParent"));
}
private function callLaterDispatcher(_arg1:Event):void{
var _local3:Object;
if (_arg1.type == Event.ADDED_TO_STAGE){
removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher);
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
return;
};
_arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher);
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
return;
};
inCallLaterPhase = true;
var _local2:Dictionary = callLaterMethods;
for (_local3 in _local2) {
_local3();
delete _local2[_local3];
};
inCallLaterPhase = false;
}
protected function validate():void{
invalidHash = {};
}
protected function focusOutHandler(_arg1:FocusEvent):void{
if (isOurFocus((_arg1.target as DisplayObject))){
drawFocus(false);
isFocused = false;
};
}
public function set mouseFocusEnabled(_arg1:Boolean):void{
_mouseFocusEnabled = _arg1;
}
public function getFocus():InteractiveObject{
if (stage){
return (stage.focus);
};
return (null);
}
override public function get height():Number{
return (_height);
}
private function addedHandler(_arg1:Event):void{
removeEventListener("addedToStage", addedHandler);
initializeFocusManager();
}
protected function getStyleValue(_arg1:String):Object{
return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]);
}
public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{
invalidHash[_arg1] = true;
if (_arg2){
this.callLater(draw);
};
}
protected function isOurFocus(_arg1:DisplayObject):Boolean{
return ((_arg1 == this));
}
public function get enabled():Boolean{
return (_enabled);
}
protected function getScaleX():Number{
return (super.scaleX);
}
protected function getScaleY():Number{
return (super.scaleY);
}
public function get focusEnabled():Boolean{
return (_focusEnabled);
}
protected function afterComponentParameters():void{
}
override public function get scaleY():Number{
return ((height / startHeight));
}
protected function setIMEMode(_arg1:Boolean){
var enabled = _arg1;
if (_imeMode != null){
if (enabled){
IME.enabled = true;
_oldIMEMode = IME.conversionMode;
try {
if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _imeMode;
};
errorCaught = false;
} catch(e:Error) {
errorCaught = true;
throw (new Error(("IME mode not supported: " + _imeMode)));
};
} else {
if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _oldIMEMode;
};
IME.enabled = false;
};
};
}
protected function draw():void{
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
override public function set height(_arg1:Number):void{
if (_height == _arg1){
return;
};
setSize(width, _arg1);
}
protected function configUI():void{
isLivePreview = checkLivePreview();
var _local1:Number = rotation;
rotation = 0;
var _local2:Number = super.width;
var _local3:Number = super.height;
var _local4 = 1;
super.scaleY = _local4;
super.scaleX = _local4;
setSize(_local2, _local3);
move(super.x, super.y);
rotation = _local1;
startWidth = _local2;
startHeight = _local3;
if (numChildren > 0){
removeChildAt(0);
};
}
protected function setScaleY(_arg1:Number):void{
super.scaleY = _arg1;
}
override public function get scaleX():Number{
return ((width / startWidth));
}
protected function setScaleX(_arg1:Number):void{
super.scaleX = _arg1;
}
private function initializeFocusManager():void{
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true);
} else {
createFocusManager();
};
}
protected function keyDownHandler(_arg1:KeyboardEvent):void{
}
public function set focusManager(_arg1:IFocusManager):void{
UIComponent.focusManagers[this] = _arg1;
}
public function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
protected function isInvalid(_arg1:String, ... _args):Boolean{
if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){
return (true);
};
while (_args.length > 0) {
if (invalidHash[_args.pop()]){
return (true);
};
};
return (false);
}
public function setStyle(_arg1:String, _arg2:Object):void{
if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
instanceStyles[_arg1] = _arg2;
invalidate(InvalidationType.STYLES);
}
override public function get visible():Boolean{
return (super.visible);
}
protected function focusInHandler(_arg1:FocusEvent):void{
var _local2:IFocusManager;
if (isOurFocus((_arg1.target as DisplayObject))){
_local2 = focusManager;
if (((_local2) && (_local2.showFocusIndicator))){
drawFocus(true);
isFocused = true;
};
};
}
public function get componentInspectorSetting():Boolean{
return (_inspector);
}
override public function get x():Number{
return ((isNaN(_x)) ? super.x : _x);
}
override public function get y():Number{
return ((isNaN(_y)) ? super.y : _y);
}
public function set enabled(_arg1:Boolean):void{
if (_arg1 == _enabled){
return;
};
_enabled = _arg1;
invalidate(InvalidationType.STATE);
}
public function setSize(_arg1:Number, _arg2:Number):void{
_width = _arg1;
_height = _arg2;
invalidate(InvalidationType.SIZE);
dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false));
}
protected function keyUpHandler(_arg1:KeyboardEvent):void{
}
public function setSharedStyle(_arg1:String, _arg2:Object):void{
if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
sharedStyles[_arg1] = _arg2;
if (instanceStyles[_arg1] == null){
invalidate(InvalidationType.STYLES);
};
}
public function set focusEnabled(_arg1:Boolean):void{
_focusEnabled = _arg1;
}
override public function set width(_arg1:Number):void{
if (_width == _arg1){
return;
};
setSize(_arg1, height);
}
public function setFocus():void{
if (stage){
stage.focus = this;
};
}
override public function set scaleX(_arg1:Number):void{
setSize((startWidth * _arg1), height);
}
public function get mouseFocusEnabled():Boolean{
return (_mouseFocusEnabled);
}
override public function set scaleY(_arg1:Number):void{
setSize(width, (startHeight * _arg1));
}
protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{
var skin = _arg1;
var classDef:Object;
if ((skin is Class)){
return ((new (skin) as DisplayObject));
};
if ((skin is DisplayObject)){
(skin as DisplayObject).x = 0;
(skin as DisplayObject).y = 0;
return ((skin as DisplayObject));
};
try {
classDef = getDefinitionByName(skin.toString());
} catch(e:Error) {
try {
classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object);
} catch(e:Error) {
};
};
if (classDef == null){
return (null);
};
return ((new (classDef) as DisplayObject));
}
protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{
var _local3:String;
for (_local3 in _arg2) {
_arg1.setStyle(_local3, getStyleValue(_arg2[_local3]));
};
}
protected function initializeAccessibility():void{
if (UIComponent.createAccessibilityImplementation != null){
UIComponent.createAccessibilityImplementation(this);
};
}
public function get focusManager():IFocusManager{
var _local1:DisplayObject = this;
while (_local1) {
if (UIComponent.focusManagers[_local1] != null){
return (IFocusManager(UIComponent.focusManagers[_local1]));
};
_local1 = _local1.parent;
};
return (null);
}
override public function get width():Number{
return (_width);
}
protected function beforeComponentParameters():void{
}
protected function callLater(_arg1:Function):void{
if (inCallLaterPhase){
return;
};
callLaterMethods[_arg1] = true;
if (stage != null){
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
} else {
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
};
}
public function move(_arg1:Number, _arg2:Number):void{
_x = _arg1;
_y = _arg2;
super.x = Math.round(_arg1);
super.y = Math.round(_arg2);
dispatchEvent(new ComponentEvent(ComponentEvent.MOVE));
}
public function validateNow():void{
invalidate(InvalidationType.ALL, false);
draw();
}
override public function set visible(_arg1:Boolean):void{
if (super.visible == _arg1){
return;
};
super.visible = _arg1;
var _local2:String = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE;
dispatchEvent(new ComponentEvent(_local2, true));
}
protected function createFocusManager():void{
if (focusManagers[stage] == null){
focusManagers[stage] = new FocusManager(stage);
};
}
protected function hookAccessibility(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, hookAccessibility);
initializeAccessibility();
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_inspector = _arg1;
if (_inspector){
beforeComponentParameters();
} else {
afterComponentParameters();
};
}
override public function set y(_arg1:Number):void{
move(_x, _arg1);
}
public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
isFocused = _arg1;
if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){
removeChild(uiFocusRect);
uiFocusRect = null;
};
if (_arg1){
uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite);
if (uiFocusRect == null){
return;
};
_local2 = Number(getStyleValue("focusRectPadding"));
uiFocusRect.x = -(_local2);
uiFocusRect.y = -(_local2);
uiFocusRect.width = (width + (_local2 * 2));
uiFocusRect.height = (height + (_local2 * 2));
addChildAt(uiFocusRect, 0);
};
}
override public function set x(_arg1:Number):void{
move(_arg1, _y);
}
public function drawNow():void{
draw();
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
public static function mergeStyles(... _args):Object{
var _local5:Object;
var _local6:String;
var _local2:Object = {};
var _local3:uint = _args.length;
var _local4:uint;
while (_local4 < _local3) {
_local5 = _args[_local4];
for (_local6 in _local5) {
if (_local2[_local6] != null){
} else {
_local2[_local6] = _args[_local4][_local6];
};
};
_local4++;
};
return (_local2);
}
}
}//package fl.core
Section 93
//DataProvider (fl.data.DataProvider)
package fl.data {
import flash.events.*;
import fl.events.*;
public class DataProvider extends EventDispatcher {
protected var data:Array;
public function DataProvider(_arg1:Object=null){
if (_arg1 == null){
data = [];
} else {
data = getDataFromObject(_arg1);
};
}
public function invalidateItemAt(_arg1:int):void{
checkIndex(_arg1, (data.length - 1));
dispatchChangeEvent(DataChangeType.INVALIDATE, [data[_arg1]], _arg1, _arg1);
}
protected function dispatchPreChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{
dispatchEvent(new DataChangeEvent(DataChangeEvent.PRE_DATA_CHANGE, _arg1, _arg2, _arg3, _arg4));
}
public function getItemIndex(_arg1:Object):int{
return (data.indexOf(_arg1));
}
public function removeItemAt(_arg1:uint):Object{
checkIndex(_arg1, (data.length - 1));
dispatchPreChangeEvent(DataChangeType.REMOVE, data.slice(_arg1, (_arg1 + 1)), _arg1, _arg1);
var _local2:Array = data.splice(_arg1, 1);
dispatchChangeEvent(DataChangeType.REMOVE, _local2, _arg1, _arg1);
return (_local2[0]);
}
protected function getDataFromObject(_arg1:Object):Array{
var _local2:Array;
var _local3:Array;
var _local4:uint;
var _local5:Object;
var _local6:XML;
var _local7:XMLList;
var _local8:XML;
var _local9:XMLList;
var _local10:XML;
var _local11:XMLList;
var _local12:XML;
if ((_arg1 is Array)){
_local3 = (_arg1 as Array);
if (_local3.length > 0){
if ((((_local3[0] is String)) || ((_local3[0] is Number)))){
_local2 = [];
_local4 = 0;
while (_local4 < _local3.length) {
_local5 = {label:String(_local3[_local4]), data:_local3[_local4]};
_local2.push(_local5);
_local4++;
};
return (_local2);
};
};
return (_arg1.concat());
//unresolved jump
};
if ((_arg1 is DataProvider)){
return (_arg1.toArray());
};
if ((_arg1 is XML)){
_local6 = (_arg1 as XML);
_local2 = [];
_local7 = _local6.*;
for each (_local8 in _local7) {
_arg1 = {};
_local9 = _local8.attributes();
for each (_local10 in _local9) {
_arg1[_local10.localName()] = _local10.toString();
};
_local11 = _local8.*;
for each (_local12 in _local11) {
if (_local12.hasSimpleContent()){
_arg1[_local12.localName()] = _local12.toString();
};
};
_local2.push(_arg1);
};
return (_local2);
//unresolved jump
};
throw (new TypeError((("Error: Type Coercion failed: cannot convert " + _arg1) + " to Array or DataProvider.")));
}
public function addItem(_arg1:Object):void{
dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1));
data.push(_arg1);
dispatchChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1));
}
public function concat(_arg1:Object):void{
addItems(_arg1);
}
public function getItemAt(_arg1:uint):Object{
checkIndex(_arg1, (data.length - 1));
return (data[_arg1]);
}
public function sortOn(_arg1:Object, _arg2:Object=null){
dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1));
var _local3:Array = data.sortOn(_arg1, _arg2);
dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1));
return (_local3);
}
public function toArray():Array{
return (data.concat());
}
public function addItems(_arg1:Object):void{
addItemsAt(_arg1, data.length);
}
public function clone():DataProvider{
return (new DataProvider(data));
}
public function sort(... _args){
dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1));
var _local2:Array = data.sort.apply(data, _args);
dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1));
return (_local2);
}
public function get length():uint{
return (data.length);
}
public function addItemAt(_arg1:Object, _arg2:uint):void{
checkIndex(_arg2, data.length);
dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2);
data.splice(_arg2, 0, _arg1);
dispatchChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2);
}
override public function toString():String{
return ((("DataProvider [" + data.join(" , ")) + "]"));
}
public function invalidateItem(_arg1:Object):void{
var _local2:uint = getItemIndex(_arg1);
if (_local2 == -1){
return;
};
invalidateItemAt(_local2);
}
protected function dispatchChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{
dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, _arg1, _arg2, _arg3, _arg4));
}
protected function checkIndex(_arg1:int, _arg2:int):void{
if ((((_arg1 > _arg2)) || ((_arg1 < 0)))){
throw (new RangeError((((("DataProvider index (" + _arg1) + ") is not in acceptable range (0 - ") + _arg2) + ")")));
};
}
public function addItemsAt(_arg1:Object, _arg2:uint):void{
checkIndex(_arg2, data.length);
var _local3:Array = getDataFromObject(_arg1);
dispatchPreChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1));
data.splice.apply(data, [_arg2, 0].concat(_local3));
dispatchChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1));
}
public function replaceItem(_arg1:Object, _arg2:Object):Object{
var _local3:int = getItemIndex(_arg2);
if (_local3 != -1){
return (replaceItemAt(_arg1, _local3));
};
return (null);
}
public function removeItem(_arg1:Object):Object{
var _local2:int = getItemIndex(_arg1);
if (_local2 != -1){
return (removeItemAt(_local2));
};
return (null);
}
public function merge(_arg1:Object):void{
var _local6:Object;
var _local2:Array = getDataFromObject(_arg1);
var _local3:uint = _local2.length;
var _local4:uint = data.length;
dispatchPreChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1));
var _local5:uint;
while (_local5 < _local3) {
_local6 = _local2[_local5];
if (getItemIndex(_local6) == -1){
data.push(_local6);
};
_local5++;
};
if (data.length > _local4){
dispatchChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1));
} else {
dispatchChangeEvent(DataChangeType.ADD, [], -1, -1);
};
}
public function replaceItemAt(_arg1:Object, _arg2:uint):Object{
checkIndex(_arg2, (data.length - 1));
var _local3:Array = [data[_arg2]];
dispatchPreChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2);
data[_arg2] = _arg1;
dispatchChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2);
return (_local3[0]);
}
public function invalidate():void{
dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, DataChangeType.INVALIDATE_ALL, data.concat(), 0, data.length));
}
public function removeAll():void{
var _local1:Array = data.concat();
dispatchPreChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length);
data = [];
dispatchChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length);
}
}
}//package fl.data
Section 94
//SimpleCollectionItem (fl.data.SimpleCollectionItem)
package fl.data {
public dynamic class SimpleCollectionItem {
public var data:String;
public var label:String;
public function toString():String{
return ((((("[SimpleCollectionItem: " + label) + ",") + data) + "]"));
}
}
}//package fl.data
Section 95
//ComponentEvent (fl.events.ComponentEvent)
package fl.events {
import flash.events.*;
public class ComponentEvent extends Event {
public static const HIDE:String = "hide";
public static const BUTTON_DOWN:String = "buttonDown";
public static const MOVE:String = "move";
public static const RESIZE:String = "resize";
public static const ENTER:String = "enter";
public static const LABEL_CHANGE:String = "labelChange";
public static const SHOW:String = "show";
public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
override public function toString():String{
return (formatToString("ComponentEvent", "type", "bubbles", "cancelable"));
}
override public function clone():Event{
return (new ComponentEvent(type, bubbles, cancelable));
}
}
}//package fl.events
Section 96
//DataChangeEvent (fl.events.DataChangeEvent)
package fl.events {
import flash.events.*;
public class DataChangeEvent extends Event {
protected var _items:Array;
protected var _changeType:String;
protected var _startIndex:uint;
protected var _endIndex:uint;
public static const PRE_DATA_CHANGE:String = "preDataChange";
public static const DATA_CHANGE:String = "dataChange";
public function DataChangeEvent(_arg1:String, _arg2:String, _arg3:Array, _arg4:int=-1, _arg5:int=-1):void{
super(_arg1);
_changeType = _arg2;
_startIndex = _arg4;
_items = _arg3;
_endIndex = ((_arg5)==-1) ? _startIndex : _arg5;
}
public function get items():Array{
return (_items);
}
public function get changeType():String{
return (_changeType);
}
public function get startIndex():uint{
return (_startIndex);
}
public function get endIndex():uint{
return (_endIndex);
}
override public function toString():String{
return (formatToString("DataChangeEvent", "type", "changeType", "startIndex", "endIndex", "bubbles", "cancelable"));
}
override public function clone():Event{
return (new DataChangeEvent(type, _changeType, _items, _startIndex, _endIndex));
}
}
}//package fl.events
Section 97
//DataChangeType (fl.events.DataChangeType)
package fl.events {
public class DataChangeType {
public static const ADD:String = "add";
public static const REMOVE:String = "remove";
public static const REMOVE_ALL:String = "removeAll";
public static const CHANGE:String = "change";
public static const REPLACE:String = "replace";
public static const INVALIDATE:String = "invalidate";
public static const INVALIDATE_ALL:String = "invalidateAll";
public static const SORT:String = "sort";
}
}//package fl.events
Section 98
//ListEvent (fl.events.ListEvent)
package fl.events {
import flash.events.*;
public class ListEvent extends Event {
protected var _item:Object;
protected var _index:int;
protected var _rowIndex:int;
protected var _columnIndex:int;
public static const ITEM_DOUBLE_CLICK:String = "itemDoubleClick";
public static const ITEM_ROLL_OUT:String = "itemRollOut";
public static const ITEM_ROLL_OVER:String = "itemRollOver";
public static const ITEM_CLICK:String = "itemClick";
public function ListEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:int=-1, _arg5:int=-1, _arg6:int=-1, _arg7:Object=null){
super(_arg1, _arg2, _arg3);
_rowIndex = _arg5;
_columnIndex = _arg4;
_index = _arg6;
_item = _arg7;
}
public function get item():Object{
return (_item);
}
override public function toString():String{
return (formatToString("ListEvent", "type", "bubbles", "cancelable", "columnIndex", "rowIndex", "index", "item"));
}
override public function clone():Event{
return (new ListEvent(type, bubbles, cancelable, _columnIndex, _rowIndex));
}
public function get rowIndex():Object{
return (_rowIndex);
}
public function get index():int{
return (_index);
}
public function get columnIndex():int{
return (_columnIndex);
}
}
}//package fl.events
Section 99
//ScrollEvent (fl.events.ScrollEvent)
package fl.events {
import flash.events.*;
public class ScrollEvent extends Event {
private var _direction:String;
private var _position:Number;
private var _delta:Number;
public static const SCROLL:String = "scroll";
public function ScrollEvent(_arg1:String, _arg2:Number, _arg3:Number){
super(ScrollEvent.SCROLL, false, false);
_direction = _arg1;
_delta = _arg2;
_position = _arg3;
}
public function get position():Number{
return (_position);
}
public function get direction():String{
return (_direction);
}
public function get delta():Number{
return (_delta);
}
override public function toString():String{
return (formatToString("ScrollEvent", "type", "bubbles", "cancelable", "direction", "delta", "position"));
}
override public function clone():Event{
return (new ScrollEvent(_direction, _delta, _position));
}
}
}//package fl.events
Section 100
//FocusManager (fl.managers.FocusManager)
package fl.managers {
import fl.core.*;
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
public class FocusManager implements IFocusManager {
private var focusableObjects:Dictionary;
private var _showFocusIndicator:Boolean;// = true
private var defButton:Button;
private var focusableCandidates:Array;
private var _form:DisplayObjectContainer;
private var _defaultButtonEnabled:Boolean;// = true
private var activated:Boolean;// = false
private var _defaultButton:Button;
private var calculateCandidates:Boolean;// = true
private var lastFocus:InteractiveObject;
private var lastAction:String;
public function FocusManager(_arg1:DisplayObjectContainer){
focusableObjects = new Dictionary(true);
if (_arg1 != null){
_form = _arg1;
addFocusables(DisplayObject(_arg1));
_arg1.addEventListener(Event.ADDED, addedHandler);
_arg1.addEventListener(Event.REMOVED, removedHandler);
activate();
};
}
public function get showFocusIndicator():Boolean{
return (_showFocusIndicator);
}
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))){
_arg1 = _local9;
break;
};
};
_local9++;
};
};
return (_arg1);
};
};
return (_arg1);
}
private function mouseFocusChangeHandler(_arg1:FocusEvent):void{
if ((_arg1.relatedObject is TextField)){
return;
};
_arg1.preventDefault();
}
public function set form(_arg1:DisplayObjectContainer):void{
_form = _arg1;
}
private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{
var focusable:IFocusManagerComponent;
var io:InteractiveObject;
var doc:DisplayObjectContainer;
var i:int;
var child:DisplayObject;
var o = _arg1;
var skipTopLevel = _arg2;
if (!skipTopLevel){
if ((o is IFocusManagerComponent)){
focusable = IFocusManagerComponent(o);
if (focusable.focusEnabled){
if (((focusable.tabEnabled) && (isTabVisible(o)))){
focusableObjects[o] = true;
calculateCandidates = true;
};
o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
} else {
if ((o is InteractiveObject)){
io = (o as InteractiveObject);
if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){
focusableObjects[io] = true;
calculateCandidates = true;
};
io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
};
};
if ((o is DisplayObjectContainer)){
doc = DisplayObjectContainer(o);
o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){
i = 0;
while (i < doc.numChildren) {
try {
child = doc.getChildAt(i);
if (child != null){
addFocusables(doc.getChildAt(i));
};
} catch(error:SecurityError) {
};
i = (i + 1);
};
};
};
}
private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{
return (_arg1.getChildIndex(_arg2));
}
public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{
var _local2:InteractiveObject = _arg1;
while (_arg1) {
if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
};
return (_local2);
}
private function focusOutHandler(_arg1:FocusEvent):void{
var _local2:InteractiveObject = (_arg1.target as InteractiveObject);
}
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);
}
private function setFocusToNextObject(_arg1:FocusEvent):void{
if (!hasFocusableObjects()){
return;
};
var _local2:InteractiveObject = getNextFocusManagerComponent(_arg1.shiftKey);
if (_local2){
setFocus(_local2);
};
}
private function sortFocusableObjectsTabIndex():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){
focusableCandidates.push(_local2);
};
};
focusableCandidates.sort(sortByTabIndex);
}
private function removeFocusables(_arg1:DisplayObject):void{
var _local2:Object;
var _local3:DisplayObject;
if ((_arg1 is DisplayObjectContainer)){
_arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
_arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
for (_local2 in focusableObjects) {
_local3 = DisplayObject(_local2);
if (DisplayObjectContainer(_arg1).contains(_local3)){
if (_local3 == lastFocus){
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local2];
calculateCandidates = true;
};
};
};
}
private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{
while (_arg1 != InteractiveObject(form)) {
if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
if (_arg1 == null){
break;
};
};
return (null);
}
public function sendDefaultButtonEvent():void{
defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
}
private function addedHandler(_arg1:Event):void{
var _local2:DisplayObject = DisplayObject(_arg1.target);
if (_local2.stage){
addFocusables(DisplayObject(_arg1.target));
};
}
private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{
var _local3:TextField;
var _local4:SimpleButton;
var _local2:DisplayObjectContainer = DisplayObject(form).parent;
while (_arg1 != _local2) {
if ((_arg1 is UIComponent)){
if (!UIComponent(_arg1).enabled){
return (false);
};
} else {
if ((_arg1 is TextField)){
_local3 = TextField(_arg1);
if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){
return (false);
};
} else {
if ((_arg1 is SimpleButton)){
_local4 = SimpleButton(_arg1);
if (!_local4.enabled){
return (false);
};
};
};
};
if (!_arg1.visible){
return (false);
};
_arg1 = _arg1.parent;
};
return (true);
}
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);
};
}
private function deactivateHandler(_arg1:Event):void{
var _local2:InteractiveObject = InteractiveObject(_arg1.target);
}
public function setFocus(_arg1:InteractiveObject):void{
if ((_arg1 is IFocusManagerComponent)){
IFocusManagerComponent(_arg1).setFocus();
} else {
form.stage.focus = _arg1;
};
}
public function getFocus():InteractiveObject{
var _local1:InteractiveObject = form.stage.focus;
return (findFocusManagerComponent(_local1));
}
private function hasFocusableObjects():Boolean{
var _local1:Object;
for (_local1 in focusableObjects) {
return (true);
};
return (false);
}
private function tabIndexChangeHandler(_arg1:Event):void{
calculateCandidates = true;
}
public function set defaultButton(_arg1:Button):void{
var _local2:Button = (_arg1) ? Button(_arg1) : null;
if (_local2 != _defaultButton){
if (_defaultButton){
_defaultButton.emphasized = false;
};
if (defButton){
defButton.emphasized = false;
};
_defaultButton = _local2;
defButton = _local2;
if (_local2){
_local2.emphasized = true;
};
};
}
private function sortFocusableObjects():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){
sortFocusableObjectsTabIndex();
return;
};
focusableCandidates.push(_local2);
};
focusableCandidates.sort(sortByDepth);
}
private function keyFocusChangeHandler(_arg1:FocusEvent):void{
showFocusIndicator = true;
if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){
setFocusToNextObject(_arg1);
_arg1.preventDefault();
};
}
private function getIndexOfFocusedObject(_arg1:DisplayObject):int{
var _local2:int = focusableCandidates.length;
var _local3:int;
_local3 = 0;
while (_local3 < _local2) {
if (focusableCandidates[_local3] == _arg1){
return (_local3);
};
_local3++;
};
return (-1);
}
public function hideFocus():void{
}
private function removedHandler(_arg1:Event):void{
var _local2:int;
var _local4:InteractiveObject;
var _local3:DisplayObject = DisplayObject(_arg1.target);
if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){
if (_local3 == lastFocus){
IFocusManagerComponent(lastFocus).drawFocus(false);
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local3];
calculateCandidates = true;
} else {
if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){
_local4 = (_local3 as InteractiveObject);
if (_local4){
if (_local4 == lastFocus){
lastFocus = null;
};
delete focusableObjects[_local4];
calculateCandidates = true;
};
_local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
};
};
removeFocusables(_local3);
}
private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):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);
}
public function get defaultButton():Button{
return (_defaultButton);
}
private function activateHandler(_arg1:Event):void{
var _local2:InteractiveObject = InteractiveObject(_arg1.target);
if (lastFocus){
if ((lastFocus is IFocusManagerComponent)){
IFocusManagerComponent(lastFocus).setFocus();
} else {
form.stage.focus = lastFocus;
};
};
lastAction = "ACTIVATE";
}
public function showFocus():void{
}
public function set defaultButtonEnabled(_arg1:Boolean):void{
_defaultButtonEnabled = _arg1;
}
public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{
var _local8:IFocusManagerGroup;
if (!hasFocusableObjects()){
return (null);
};
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
var _local2:DisplayObject = form.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]));
}
private function mouseDownHandler(_arg1:MouseEvent):void{
if (_arg1.isDefaultPrevented()){
return;
};
var _local2:InteractiveObject = getTopLevelFocusTarget(InteractiveObject(_arg1.target));
if (!_local2){
return;
};
showFocusIndicator = false;
if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){
setFocus(_local2);
};
lastAction = "MOUSEDOWN";
}
private function isTabVisible(_arg1:DisplayObject):Boolean{
var _local2:DisplayObjectContainer = _arg1.parent;
while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) {
if (!_local2.tabChildren){
return (false);
};
_local2 = _local2.parent;
};
return (true);
}
public function get nextTabIndex():int{
return (0);
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.TAB){
lastAction = "KEY";
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
};
if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){
sendDefaultButtonEvent();
};
}
private function focusInHandler(_arg1:FocusEvent):void{
var _local3:Button;
var _local2:InteractiveObject = InteractiveObject(_arg1.target);
if (form.contains(_local2)){
lastFocus = findFocusManagerComponent(InteractiveObject(_local2));
if ((lastFocus is Button)){
_local3 = Button(lastFocus);
if (defButton){
defButton.emphasized = false;
defButton = _local3;
_local3.emphasized = true;
};
} else {
if (((defButton) && (!((defButton == _defaultButton))))){
defButton.emphasized = false;
defButton = _defaultButton;
_defaultButton.emphasized = true;
};
};
};
}
private function tabEnabledChangeHandler(_arg1:Event):void{
calculateCandidates = true;
var _local2:InteractiveObject = InteractiveObject(_arg1.target);
var _local3 = (focusableObjects[_local2] == true);
if (_local2.tabEnabled){
if (((!(_local3)) && (isTabVisible(_local2)))){
if (!(_local2 is IFocusManagerComponent)){
_local2.focusRect = false;
};
focusableObjects[_local2] = true;
};
} else {
if (_local3){
delete focusableObjects[_local2];
};
};
}
public function set showFocusIndicator(_arg1:Boolean):void{
_showFocusIndicator = _arg1;
}
public function get form():DisplayObjectContainer{
return (_form);
}
private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{
return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2));
}
public function get defaultButtonEnabled():Boolean{
return (_defaultButtonEnabled);
}
public function activate():void{
if (activated){
return;
};
form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true);
form.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.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true);
form.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 deactivate():void{
form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler);
form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler);
form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true);
form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true);
form.stage.removeEventListener(Event.ACTIVATE, activateHandler);
form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler);
form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
activated = false;
}
}
}//package fl.managers
Section 101
//IFocusManager (fl.managers.IFocusManager)
package fl.managers {
import fl.controls.*;
import flash.display.*;
public interface IFocusManager {
function getFocus():InteractiveObject;
function deactivate():void;
function set defaultButton(_arg1:Button):void;
function set showFocusIndicator(_arg1:Boolean):void;
function get defaultButtonEnabled():Boolean;
function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject;
function get nextTabIndex():int;
function get defaultButton():Button;
function get showFocusIndicator():Boolean;
function hideFocus():void;
function activate():void;
function showFocus():void;
function set defaultButtonEnabled(_arg1:Boolean):void;
function setFocus(_arg1:InteractiveObject):void;
function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject;
}
}//package fl.managers
Section 102
//IFocusManagerComponent (fl.managers.IFocusManagerComponent)
package fl.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 fl.managers
Section 103
//IFocusManagerGroup (fl.managers.IFocusManagerGroup)
package fl.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 fl.managers
Section 104
//StyleManager (fl.managers.StyleManager)
package fl.managers {
import fl.core.*;
import flash.text.*;
import flash.utils.*;
public class StyleManager {
private var classToInstancesDict:Dictionary;
private var globalStyles:Object;
private var styleToClassesHash:Object;
private var classToStylesDict:Dictionary;
private var classToDefaultStylesDict:Dictionary;
private static var _instance:StyleManager;
public function StyleManager(){
styleToClassesHash = {};
classToInstancesDict = new Dictionary(true);
classToStylesDict = new Dictionary(true);
classToDefaultStylesDict = new Dictionary(true);
globalStyles = UIComponent.getStyleDefinition();
}
public static function clearComponentStyle(_arg1:Object, _arg2:String):void{
var _local3:Class = getClassDef(_arg1);
var _local4:Object = getInstance().classToStylesDict[_local3];
if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){
delete _local4[_arg2];
invalidateComponentStyle(_local3, _arg2);
};
}
private static function getClassDef(_arg1:Object):Class{
var component = _arg1;
if ((component is Class)){
return ((component as Class));
};
try {
return ((getDefinitionByName(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
if ((component is UIComponent)){
try {
return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
};
};
};
return (null);
}
public static function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Class = getClassDef(_arg1);
var _local5:Object = getInstance().classToStylesDict[_local4];
if (_local5 == null){
_local5 = (getInstance().classToStylesDict[_local4] = {});
};
if (_local5 == _arg3){
return;
};
_local5[_arg2] = _arg3;
invalidateComponentStyle(_local4, _arg2);
}
private static function setSharedStyles(_arg1:UIComponent):void{
var _local5:String;
var _local2:StyleManager = getInstance();
var _local3:Class = getClassDef(_arg1);
var _local4:Object = _local2.classToDefaultStylesDict[_local3];
for (_local5 in _local4) {
_arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5));
};
}
public static function getComponentStyle(_arg1:Object, _arg2:String):Object{
var _local3:Class = getClassDef(_arg1);
var _local4:Object = getInstance().classToStylesDict[_local3];
return (((_local4)==null) ? null : _local4[_arg2]);
}
private static function getInstance(){
if (_instance == null){
_instance = new (StyleManager);
};
return (_instance);
}
private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{
var _local4:Object;
var _local5:UIComponent;
var _local3:Dictionary = getInstance().classToInstancesDict[_arg1];
if (_local3 == null){
return;
};
for (_local4 in _local3) {
_local5 = (_local4 as UIComponent);
if (_local5 == null){
} else {
_local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2));
};
};
}
private static function invalidateStyle(_arg1:String):void{
var _local3:Object;
var _local2:Dictionary = getInstance().styleToClassesHash[_arg1];
if (_local2 == null){
return;
};
for (_local3 in _local2) {
invalidateComponentStyle(Class(_local3), _arg1);
};
}
public static function registerInstance(_arg1:UIComponent):void{
var target:Class;
var defaultStyles:Object;
var styleToClasses:Object;
var n:String;
var instance = _arg1;
var inst:StyleManager = getInstance();
var classDef:Class = getClassDef(instance);
if (classDef == null){
return;
};
if (inst.classToInstancesDict[classDef] == null){
inst.classToInstancesDict[classDef] = new Dictionary(true);
target = classDef;
while (defaultStyles == null) {
if (target["getStyleDefinition"] != null){
defaultStyles = target["getStyleDefinition"]();
break;
};
try {
target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class);
} catch(err:Error) {
try {
target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class);
} catch(e:Error) {
defaultStyles = UIComponent.getStyleDefinition();
break;
};
};
};
styleToClasses = inst.styleToClassesHash;
for (n in defaultStyles) {
if (styleToClasses[n] == null){
styleToClasses[n] = new Dictionary(true);
};
styleToClasses[n][classDef] = true;
};
inst.classToDefaultStylesDict[classDef] = defaultStyles;
if (inst.classToStylesDict[classDef] == null){
inst.classToStylesDict[classDef] = {};
};
};
inst.classToInstancesDict[classDef][instance] = true;
setSharedStyles(instance);
}
public static function getStyle(_arg1:String):Object{
return (getInstance().globalStyles[_arg1]);
}
private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{
var _local3:Class = getClassDef(_arg1);
var _local4:StyleManager = getInstance();
var _local5:Object = _local4.classToStylesDict[_local3][_arg2];
if (_local5 != null){
return (_local5);
};
_local5 = _local4.globalStyles[_arg2];
if (_local5 != null){
return (_local5);
};
return (_local4.classToDefaultStylesDict[_local3][_arg2]);
}
public static function setStyle(_arg1:String, _arg2:Object):void{
var _local3:Object = getInstance().globalStyles;
if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
_local3[_arg1] = _arg2;
invalidateStyle(_arg1);
}
}
}//package fl.managers
Section 105
//_logo_motion_14 (take_something_literally_2_fla._logo_motion_14)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class _logo_motion_14 extends MovieClip {
public function _logo_motion_14(){
addFrameScript(228, frame229);
}
function frame229(){
MovieClip(parent).gotoAndStop("menu");
stop();
}
}
}//package take_something_literally_2_fla
Section 106
//ag_intro_mc_11 (take_something_literally_2_fla.ag_intro_mc_11)
package take_something_literally_2_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class ag_intro_mc_11 extends MovieClip {
public function ag_intro_mc_11(){
addFrameScript(0, frame1, 431, frame432, 432, frame433);
}
function frame1(){
gotoAndPlay(2);
}
function frame432(){
MovieClip(parent).changePage("dev");
}
function frame433(){
stop();
}
}
}//package take_something_literally_2_fla
Section 107
//armorgames_logo_2 (take_something_literally_2_fla.armorgames_logo_2)
package take_something_literally_2_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class armorgames_logo_2 extends MovieClip {
public function armorgames_logo_2(){
addFrameScript(0, frame1);
}
public function click(_arg1){
var request:URLRequest;
var e = _arg1;
try {
request = new URLRequest("http://www.armorgames.com/");
navigateToURL(request, "_blank");
} finally {
};
}
function frame1(){
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, click);
}
}
}//package take_something_literally_2_fla
Section 108
//baby_80 (take_something_literally_2_fla.baby_80)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class baby_80 extends MovieClip {
public function baby_80(){
addFrameScript(0, frame1, 11, frame12);
}
function frame1(){
stop();
}
function frame12(){
gotoAndPlay(2);
}
}
}//package take_something_literally_2_fla
Section 109
//bbox_64 (take_something_literally_2_fla.bbox_64)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class bbox_64 extends MovieClip {
public function bbox_64(){
addFrameScript(0, frame1);
}
function frame1(){
alpha = 0;
}
}
}//package take_something_literally_2_fla
Section 110
//blackMotion_97 (take_something_literally_2_fla.blackMotion_97)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class blackMotion_97 extends MovieClip {
public function blackMotion_97(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
}
}
}//package take_something_literally_2_fla
Section 111
//book_106 (take_something_literally_2_fla.book_106)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class book_106 extends MovieClip {
public function book_106(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package take_something_literally_2_fla
Section 112
//btTab_184 (take_something_literally_2_fla.btTab_184)
package take_something_literally_2_fla {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class btTab_184 extends MovieClip {
public var bt:Button;
public function btTab_184(){
addFrameScript(0, frame1);
__setProp_bt_btTab_Calque1_0();
}
function __setProp_bt_btTab_Calque1_0(){
try {
bt["componentInspectorSetting"] = true;
} catch(e:Error) {
};
bt.emphasized = false;
bt.enabled = true;
bt.label = "";
bt.labelPlacement = "top";
bt.selected = false;
bt.toggle = false;
bt.visible = true;
try {
bt["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
buttonMode = true;
}
}
}//package take_something_literally_2_fla
Section 113
//butterflyMc_84 (take_something_literally_2_fla.butterflyMc_84)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class butterflyMc_84 extends MovieClip {
public function butterflyMc_84(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package take_something_literally_2_fla
Section 114
//compledtedMc_96 (take_something_literally_2_fla.compledtedMc_96)
package take_something_literally_2_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class compledtedMc_96 extends MovieClip {
public var txtCompleted:TextField;
public function compledtedMc_96(){
addFrameScript(0, frame1);
}
function frame1(){
txtCompleted.text = (("\"" + Language["completed"]) + "\"");
}
}
}//package take_something_literally_2_fla
Section 115
//gameNameMotion_73 (take_something_literally_2_fla.gameNameMotion_73)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class gameNameMotion_73 extends MovieClip {
public var txt:MovieClip;
public function gameNameMotion_73(){
addFrameScript(75, frame76);
}
function frame76(){
stop();
}
}
}//package take_something_literally_2_fla
Section 116
//gift_92 (take_something_literally_2_fla.gift_92)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class gift_92 extends MovieClip {
public function gift_92(){
addFrameScript(0, frame1);
}
function frame1(){
mouseEnabled = false;
}
}
}//package take_something_literally_2_fla
Section 117
//lockMotion_93 (take_something_literally_2_fla.lockMotion_93)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class lockMotion_93 extends MovieClip {
public var lock:MovieClip;
public function lockMotion_93(){
addFrameScript(0, frame1, 36, frame37);
}
function frame37(){
stop();
}
function frame1(){
stop();
}
}
}//package take_something_literally_2_fla
Section 118
//logo_6 (take_something_literally_2_fla.logo_6)
package take_something_literally_2_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class logo_6 extends MovieClip {
public function logo_6(){
addFrameScript(0, frame1);
}
public function click(_arg1){
var request:URLRequest;
var e = _arg1;
try {
request = new URLRequest("http://www.benoitfreslon.com/");
navigateToURL(request, "_blank");
} finally {
};
}
function frame1(){
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, click);
}
}
}//package take_something_literally_2_fla
Section 119
//man_189 (take_something_literally_2_fla.man_189)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class man_189 extends MovieClip {
public function man_189(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package take_something_literally_2_fla
Section 120
//oldMan_190 (take_something_literally_2_fla.oldMan_190)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class oldMan_190 extends MovieClip {
public function oldMan_190(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package take_something_literally_2_fla
Section 121
//paper_111 (take_something_literally_2_fla.paper_111)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class paper_111 extends MovieClip {
public function paper_111(){
addFrameScript(0, frame1, 61, frame62);
}
function frame62(){
stop();
}
function frame1(){
stop();
}
}
}//package take_something_literally_2_fla
Section 122
//path_159 (take_something_literally_2_fla.path_159)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class path_159 extends MovieClip {
public function path_159(){
addFrameScript(0, frame1, 2, frame3);
}
function frame1(){
stop();
}
function frame3(){
stop();
}
}
}//package take_something_literally_2_fla
Section 123
//rollMc_89 (take_something_literally_2_fla.rollMc_89)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class rollMc_89 extends MovieClip {
public function rollMc_89(){
addFrameScript(0, frame1, 23, frame24);
}
function frame1(){
stop();
}
function frame24(){
stop();
}
}
}//package take_something_literally_2_fla
Section 124
//rope1Motion_65 (take_something_literally_2_fla.rope1Motion_65)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class rope1Motion_65 extends MovieClip {
public function rope1Motion_65(){
addFrameScript(234, frame235);
}
function frame235(){
stop();
}
}
}//package take_something_literally_2_fla
Section 125
//rope2Motion_67 (take_something_literally_2_fla.rope2Motion_67)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class rope2Motion_67 extends MovieClip {
public function rope2Motion_67(){
addFrameScript(234, frame235);
}
function frame235(){
stop();
}
}
}//package take_something_literally_2_fla
Section 126
//sign_129 (take_something_literally_2_fla.sign_129)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class sign_129 extends MovieClip {
public function sign_129(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package take_something_literally_2_fla
Section 127
//tick_91 (take_something_literally_2_fla.tick_91)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class tick_91 extends MovieClip {
public function tick_91(){
addFrameScript(0, frame1);
}
function frame1(){
mouseEnabled = false;
}
}
}//package take_something_literally_2_fla
Section 128
//tickMotion_90 (take_something_literally_2_fla.tickMotion_90)
package take_something_literally_2_fla {
import flash.display.*;
public dynamic class tickMotion_90 extends MovieClip {
public var tick:MovieClip;
public function tickMotion_90(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package take_something_literally_2_fla
Section 129
//BtPlay (BtPlay)
package {
import com.my.*;
public dynamic class BtPlay extends MyButton {
public function BtPlay(){
addFrameScript(0, frame1);
}
function frame1(){
setColors(0x333333, 0x444444, 0x555555);
}
}
}//package
Section 130
//Button_disabledSkin (Button_disabledSkin)
package {
import flash.display.*;
public dynamic class Button_disabledSkin extends MovieClip {
}
}//package
Section 131
//Button_downSkin (Button_downSkin)
package {
import flash.display.*;
public dynamic class Button_downSkin extends MovieClip {
}
}//package
Section 132
//Button_emphasizedSkin (Button_emphasizedSkin)
package {
import flash.display.*;
public dynamic class Button_emphasizedSkin extends MovieClip {
}
}//package
Section 133
//Button_overSkin (Button_overSkin)
package {
import flash.display.*;
public dynamic class Button_overSkin extends MovieClip {
}
}//package
Section 134
//Button_selectedDisabledSkin (Button_selectedDisabledSkin)
package {
import flash.display.*;
public dynamic class Button_selectedDisabledSkin extends MovieClip {
}
}//package
Section 135
//Button_selectedDownSkin (Button_selectedDownSkin)
package {
import flash.display.*;
public dynamic class Button_selectedDownSkin extends MovieClip {
}
}//package
Section 136
//Button_selectedOverSkin (Button_selectedOverSkin)
package {
import flash.display.*;
public dynamic class Button_selectedOverSkin extends MovieClip {
}
}//package
Section 137
//Button_selectedUpSkin (Button_selectedUpSkin)
package {
import flash.display.*;
public dynamic class Button_selectedUpSkin extends MovieClip {
}
}//package
Section 138
//Button_upSkin (Button_upSkin)
package {
import flash.display.*;
public dynamic class Button_upSkin extends MovieClip {
}
}//package
Section 139
//CellRenderer_disabledSkin (CellRenderer_disabledSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_disabledSkin extends MovieClip {
}
}//package
Section 140
//CellRenderer_downSkin (CellRenderer_downSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_downSkin extends MovieClip {
}
}//package
Section 141
//CellRenderer_overSkin (CellRenderer_overSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_overSkin extends MovieClip {
}
}//package
Section 142
//CellRenderer_selectedDisabledSkin (CellRenderer_selectedDisabledSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_selectedDisabledSkin extends MovieClip {
}
}//package
Section 143
//CellRenderer_selectedDownSkin (CellRenderer_selectedDownSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_selectedDownSkin extends MovieClip {
}
}//package
Section 144
//CellRenderer_selectedOverSkin (CellRenderer_selectedOverSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_selectedOverSkin extends MovieClip {
}
}//package
Section 145
//CellRenderer_selectedUpSkin (CellRenderer_selectedUpSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_selectedUpSkin extends MovieClip {
}
}//package
Section 146
//CellRenderer_upSkin (CellRenderer_upSkin)
package {
import flash.display.*;
public dynamic class CellRenderer_upSkin extends MovieClip {
}
}//package
Section 147
//Circle (Circle)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import flash.filters.*;
import com.my.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Circle extends JaugeCircle {
public function Circle(){
addFrameScript(0, frame1, 198, frame199);
}
function frame199(){
stop();
MovieClip(parent).checkVictory();
}
function frame1(){
}
}
}//package
Section 148
//CircleRose (CircleRose)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import flash.filters.*;
import com.my.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class CircleRose extends JaugeCircle {
public function CircleRose(){
addFrameScript(100, frame101);
}
function frame101(){
stop();
MovieClip(parent).checkVictory();
}
}
}//package
Section 149
//ComboBox_disabledSkin (ComboBox_disabledSkin)
package {
import flash.display.*;
public dynamic class ComboBox_disabledSkin extends MovieClip {
}
}//package
Section 150
//ComboBox_downSkin (ComboBox_downSkin)
package {
import flash.display.*;
public dynamic class ComboBox_downSkin extends MovieClip {
}
}//package
Section 151
//ComboBox_overSkin (ComboBox_overSkin)
package {
import flash.display.*;
public dynamic class ComboBox_overSkin extends MovieClip {
}
}//package
Section 152
//ComboBox_upSkin (ComboBox_upSkin)
package {
import flash.display.*;
public dynamic class ComboBox_upSkin extends MovieClip {
}
}//package
Section 153
//Completed (Completed)
package {
import com.my.*;
public dynamic class Completed extends MyMovieClip {
public function Completed(){
addFrameScript(213, frame214);
}
function frame214(){
stop();
}
}
}//package
Section 154
//Cursor (Cursor)
package {
import com.my.*;
public dynamic class Cursor extends MyMovieClip {
}
}//package
Section 155
//Enter (Enter)
package {
import flash.display.*;
public dynamic class Enter extends MovieClip {
}
}//package
Section 156
//FacebookButton (FacebookButton)
package {
import flash.display.*;
public dynamic class FacebookButton extends MovieClip {
}
}//package
Section 157
//focusRectSkin (focusRectSkin)
package {
import flash.display.*;
public dynamic class focusRectSkin extends MovieClip {
}
}//package
Section 158
//Gameover (Gameover)
package {
import com.my.*;
public dynamic class Gameover extends MyMovieClip {
public function Gameover(){
addFrameScript(238, frame239);
}
function frame239(){
stop();
}
}
}//package
Section 159
//IconGame (IconGame)
package {
import com.my.*;
public dynamic class IconGame extends MyButton {
public function IconGame(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 160
//IconGames (IconGames)
package {
import flash.display.*;
public dynamic class IconGames extends MovieClip {
public function IconGames(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 161
//Language (Language)
package {
import flash.utils.*;
public dynamic class Language extends Dictionary {
}
}//package
Section 162
//List_skin (List_skin)
package {
import flash.display.*;
public dynamic class List_skin extends MovieClip {
}
}//package
Section 163
//ParticleMouse (ParticleMouse)
package {
import flash.display.*;
public dynamic class ParticleMouse extends MovieClip {
}
}//package
Section 164
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_disabledSkin extends MovieClip {
}
}//package
Section 165
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_downSkin extends MovieClip {
}
}//package
Section 166
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_overSkin extends MovieClip {
}
}//package
Section 167
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_upSkin extends MovieClip {
}
}//package
Section 168
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_disabledSkin extends MovieClip {
}
}//package
Section 169
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_downSkin extends MovieClip {
}
}//package
Section 170
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_overSkin extends MovieClip {
}
}//package
Section 171
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_upSkin extends MovieClip {
}
}//package
Section 172
//ScrollBar_thumbIcon (ScrollBar_thumbIcon)
package {
import flash.display.*;
public dynamic class ScrollBar_thumbIcon extends MovieClip {
}
}//package
Section 173
//ScrollThumb_downSkin (ScrollThumb_downSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_downSkin extends MovieClip {
}
}//package
Section 174
//ScrollThumb_overSkin (ScrollThumb_overSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_overSkin extends MovieClip {
}
}//package
Section 175
//ScrollThumb_upSkin (ScrollThumb_upSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_upSkin extends MovieClip {
}
}//package
Section 176
//ScrollTrack_skin (ScrollTrack_skin)
package {
import flash.display.*;
public dynamic class ScrollTrack_skin extends MovieClip {
}
}//package
Section 177
//SdBonus (SdBonus)
package {
import flash.media.*;
public dynamic class SdBonus extends Sound {
}
}//package
Section 178
//SdCat (SdCat)
package {
import flash.media.*;
public dynamic class SdCat extends Sound {
}
}//package
Section 179
//SdClick (SdClick)
package {
import flash.media.*;
public dynamic class SdClick extends Sound {
}
}//package
Section 180
//SdDing (SdDing)
package {
import flash.media.*;
public dynamic class SdDing extends Sound {
}
}//package
Section 181
//SdDo (SdDo)
package {
import flash.media.*;
public dynamic class SdDo extends Sound {
}
}//package
Section 182
//SdFa (SdFa)
package {
import flash.media.*;
public dynamic class SdFa extends Sound {
}
}//package
Section 183
//SdFeeback (SdFeeback)
package {
import flash.media.*;
public dynamic class SdFeeback extends Sound {
}
}//package
Section 184
//SdGameover (SdGameover)
package {
import flash.media.*;
public dynamic class SdGameover extends Sound {
}
}//package
Section 185
//SdKey (SdKey)
package {
import flash.media.*;
public dynamic class SdKey extends Sound {
}
}//package
Section 186
//SdLa (SdLa)
package {
import flash.media.*;
public dynamic class SdLa extends Sound {
}
}//package
Section 187
//SdMi (SdMi)
package {
import flash.media.*;
public dynamic class SdMi extends Sound {
}
}//package
Section 188
//SdMouse (SdMouse)
package {
import flash.media.*;
public dynamic class SdMouse extends Sound {
}
}//package
Section 189
//SdRe (SdRe)
package {
import flash.media.*;
public dynamic class SdRe extends Sound {
}
}//package
Section 190
//SdRing (SdRing)
package {
import flash.media.*;
public dynamic class SdRing extends Sound {
}
}//package
Section 191
//SdSecret (SdSecret)
package {
import flash.media.*;
public dynamic class SdSecret extends Sound {
}
}//package
Section 192
//SdSi (SdSi)
package {
import flash.media.*;
public dynamic class SdSi extends Sound {
}
}//package
Section 193
//SdSol (SdSol)
package {
import flash.media.*;
public dynamic class SdSol extends Sound {
}
}//package
Section 194
//SdStar (SdStar)
package {
import flash.media.*;
public dynamic class SdStar extends Sound {
}
}//package
Section 195
//SdTip (SdTip)
package {
import flash.media.*;
public dynamic class SdTip extends Sound {
}
}//package
Section 196
//SdUnlock (SdUnlock)
package {
import flash.media.*;
public dynamic class SdUnlock extends Sound {
}
}//package
Section 197
//SdWin (SdWin)
package {
import flash.media.*;
public dynamic class SdWin extends Sound {
}
}//package
Section 198
//Star (Star)
package {
import flash.display.*;
public dynamic class Star extends MovieClip {
}
}//package
Section 199
//Tab (Tab)
package {
import flash.display.*;
public dynamic class Tab extends MovieClip {
}
}//package
Section 200
//TextInput_disabledSkin (TextInput_disabledSkin)
package {
import flash.display.*;
public dynamic class TextInput_disabledSkin extends MovieClip {
}
}//package
Section 201
//TextInput_upSkin (TextInput_upSkin)
package {
import flash.display.*;
public dynamic class TextInput_upSkin extends MovieClip {
}
}//package
Section 202
//TheCircle (TheCircle)
package {
import flash.display.*;
public dynamic class TheCircle extends MovieClip {
}
}//package
Section 203
//TipMotion (TipMotion)
package {
import com.my.*;
public dynamic class TipMotion extends MyMovieClip {
public function TipMotion(){
addFrameScript(37, frame38);
}
function frame38(){
remove();
}
}
}//package
Section 204
//TransitionPage (TransitionPage)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import flash.filters.*;
import com.my.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.errors.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class TransitionPage extends MyMovieClip {
public function TransitionPage(){
addFrameScript(0, frame1, 40, frame41, 79, frame80);
}
function frame41(){
MovieClip(parent.parent).transitionEnd();
}
function frame1(){
mouseEnabled = false;
}
function frame80(){
remove();
stop();
}
}
}//package