Section 1
//___ani_end_POOP_461 (babysitter_fla.___ani_end_POOP_461)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ___ani_end_POOP_461 extends MovieClip {
public var __id62_:PlaySound;
public var __id52_:PlaySound;
public var __id63_:PlaySound;
public var __id53_:PlaySound;
public var __id60_:PlaySound;
public var __id61_:PlaySound;
public var __id51_:PlaySound;
public var __id56_:PlaySound;
public var __id57_:PlaySound;
public var __id64_:PlaySound;
public var __id54_:PlaySound;
public var __id55_:PlaySound;
public var __id58_:PlaySound;
public var __id59_:PlaySound;
public var __setPropDict:Dictionary;
public function ___ani_end_POOP_461(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(402, frame403, 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);
}
function __setProp___id51_____ani_end_POOP(){
if ((((__setPropDict[__id51_] == undefined)) || (!((((int(__setPropDict[__id51_]) >= 2)) && ((int(__setPropDict[__id51_]) <= 402))))))){
__setPropDict[__id51_] = currentFrame;
__id51_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id51_.soundID = "music_pooping";
__id51_.loops = 0;
__id51_.soundPan = 0;
__id51_.startTime = 0;
__id51_.soundVolume = 1;
__id51_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id52_____ani_end_POOP(){
if ((((__setPropDict[__id52_] == undefined)) || (!((((int(__setPropDict[__id52_]) >= 32)) && ((int(__setPropDict[__id52_]) <= 40))))))){
__setPropDict[__id52_] = currentFrame;
__id52_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id52_.soundID = "sfx_poopFall";
__id52_.loops = 0;
__id52_.soundPan = 0;
__id52_.startTime = 0;
__id52_.soundVolume = 1;
__id52_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id53_____ani_end_POOP(){
if ((((__setPropDict[__id53_] == undefined)) || (!((((int(__setPropDict[__id53_]) >= 32)) && ((int(__setPropDict[__id53_]) <= 40))))))){
__setPropDict[__id53_] = currentFrame;
__id53_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id53_.soundID = "sfx_poopFall";
__id53_.loops = 0;
__id53_.soundPan = 0;
__id53_.startTime = 0;
__id53_.soundVolume = 1;
__id53_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id54_____ani_end_POOP(){
if ((((__setPropDict[__id54_] == undefined)) || (!((((int(__setPropDict[__id54_]) >= 45)) && ((int(__setPropDict[__id54_]) <= 52))))))){
__setPropDict[__id54_] = currentFrame;
__id54_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id54_.soundID = "Successfulhit";
__id54_.loops = 0;
__id54_.soundPan = 0;
__id54_.startTime = 0;
__id54_.soundVolume = 1;
__id54_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id55_____ani_end_POOP(){
if ((((__setPropDict[__id55_] == undefined)) || (!((((int(__setPropDict[__id55_]) >= 55)) && ((int(__setPropDict[__id55_]) <= 62))))))){
__setPropDict[__id55_] = currentFrame;
__id55_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id55_.soundID = "Successfulhit";
__id55_.loops = 0;
__id55_.soundPan = 0;
__id55_.startTime = 0;
__id55_.soundVolume = 1;
__id55_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id56_____ani_end_POOP(){
if ((((__setPropDict[__id56_] == undefined)) || (!((((int(__setPropDict[__id56_]) >= 79)) && ((int(__setPropDict[__id56_]) <= 87))))))){
__setPropDict[__id56_] = currentFrame;
__id56_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id56_.soundID = "soft_whoosh09";
__id56_.loops = 0;
__id56_.soundPan = 0;
__id56_.startTime = 0;
__id56_.soundVolume = 1;
__id56_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id57_____ani_end_POOP(){
if ((((__setPropDict[__id57_] == undefined)) || (!((((int(__setPropDict[__id57_]) >= 85)) && ((int(__setPropDict[__id57_]) <= 93))))))){
__setPropDict[__id57_] = currentFrame;
__id57_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id57_.soundID = "soft_whoosh09";
__id57_.loops = 0;
__id57_.soundPan = 0;
__id57_.startTime = 0;
__id57_.soundVolume = 1;
__id57_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id58_____ani_end_POOP(){
if ((((__setPropDict[__id58_] == undefined)) || (!((((int(__setPropDict[__id58_]) >= 89)) && ((int(__setPropDict[__id58_]) <= 97))))))){
__setPropDict[__id58_] = currentFrame;
__id58_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id58_.soundID = "soft_whoosh09";
__id58_.loops = 0;
__id58_.soundPan = 0;
__id58_.startTime = 0;
__id58_.soundVolume = 1;
__id58_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id59_____ani_end_POOP(){
if ((((__setPropDict[__id59_] == undefined)) || (!((((int(__setPropDict[__id59_]) >= 96)) && ((int(__setPropDict[__id59_]) <= 104))))))){
__setPropDict[__id59_] = currentFrame;
__id59_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id59_.soundID = "soft_whoosh09";
__id59_.loops = 0;
__id59_.soundPan = 0;
__id59_.startTime = 0;
__id59_.soundVolume = 1;
__id59_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id60_____ani_end_POOP(){
if ((((__setPropDict[__id60_] == undefined)) || (!((((int(__setPropDict[__id60_]) >= 100)) && ((int(__setPropDict[__id60_]) <= 108))))))){
__setPropDict[__id60_] = currentFrame;
__id60_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id60_.soundID = "soft_whoosh09";
__id60_.loops = 0;
__id60_.soundPan = 0;
__id60_.startTime = 0;
__id60_.soundVolume = 1;
__id60_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id61_____ani_end_POOP(){
if ((((__setPropDict[__id61_] == undefined)) || (!((((int(__setPropDict[__id61_]) >= 107)) && ((int(__setPropDict[__id61_]) <= 117))))))){
__setPropDict[__id61_] = currentFrame;
__id61_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id61_.soundID = "soft_whoosh09";
__id61_.loops = 0;
__id61_.soundPan = 0;
__id61_.startTime = 0;
__id61_.soundVolume = 1;
__id61_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id62_____ani_end_POOP(){
if ((((__setPropDict[__id62_] == undefined)) || (!((((int(__setPropDict[__id62_]) >= 134)) && ((int(__setPropDict[__id62_]) <= 138))))))){
__setPropDict[__id62_] = currentFrame;
__id62_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id62_.soundID = "PantsUp";
__id62_.loops = 0;
__id62_.soundPan = 0;
__id62_.startTime = 0;
__id62_.soundVolume = 1;
__id62_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id63_____ani_end_POOP(){
if ((((__setPropDict[__id63_] == undefined)) || (!((((int(__setPropDict[__id63_]) >= 155)) && ((int(__setPropDict[__id63_]) <= 185))))))){
__setPropDict[__id63_] = currentFrame;
__id63_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id63_.soundID = "toiletFlush";
__id63_.loops = 0;
__id63_.soundPan = 0;
__id63_.startTime = 0;
__id63_.soundVolume = 1;
__id63_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id64_____ani_end_POOP(){
if ((((__setPropDict[__id64_] == undefined)) || (!((((int(__setPropDict[__id64_]) >= 330)) && ((int(__setPropDict[__id64_]) <= 367))))))){
__setPropDict[__id64_] = currentFrame;
__id64_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id64_.soundID = "water";
__id64_.loops = 0;
__id64_.soundPan = 0;
__id64_.startTime = 0;
__id64_.soundVolume = 1;
__id64_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame403(){
stop();
}
function frame2(){
__setProp___id51_____ani_end_POOP();
}
function frame3(){
__setProp___id51_____ani_end_POOP();
}
function frame4(){
__setProp___id51_____ani_end_POOP();
}
function frame5(){
__setProp___id51_____ani_end_POOP();
}
function frame6(){
__setProp___id51_____ani_end_POOP();
}
function frame7(){
__setProp___id51_____ani_end_POOP();
}
function frame8(){
__setProp___id51_____ani_end_POOP();
}
function frame9(){
__setProp___id51_____ani_end_POOP();
}
function frame10(){
__setProp___id51_____ani_end_POOP();
}
function frame11(){
__setProp___id51_____ani_end_POOP();
}
function frame12(){
__setProp___id51_____ani_end_POOP();
}
function frame13(){
__setProp___id51_____ani_end_POOP();
}
function frame14(){
__setProp___id51_____ani_end_POOP();
}
function frame15(){
__setProp___id51_____ani_end_POOP();
}
function frame16(){
__setProp___id51_____ani_end_POOP();
}
function frame17(){
__setProp___id51_____ani_end_POOP();
}
function frame18(){
__setProp___id51_____ani_end_POOP();
}
function frame19(){
__setProp___id51_____ani_end_POOP();
}
function frame20(){
__setProp___id51_____ani_end_POOP();
}
function frame21(){
__setProp___id51_____ani_end_POOP();
}
function frame22(){
__setProp___id51_____ani_end_POOP();
}
function frame23(){
__setProp___id51_____ani_end_POOP();
}
function frame24(){
__setProp___id51_____ani_end_POOP();
}
function frame25(){
__setProp___id51_____ani_end_POOP();
}
function frame26(){
__setProp___id51_____ani_end_POOP();
}
function frame27(){
__setProp___id51_____ani_end_POOP();
}
function frame28(){
__setProp___id51_____ani_end_POOP();
}
function frame29(){
__setProp___id51_____ani_end_POOP();
}
function frame30(){
__setProp___id51_____ani_end_POOP();
}
function frame31(){
__setProp___id51_____ani_end_POOP();
}
function frame32(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame33(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame34(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame35(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame36(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame37(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame38(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame39(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame40(){
__setProp___id53_____ani_end_POOP();
__setProp___id52_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame41(){
__setProp___id51_____ani_end_POOP();
}
function frame42(){
__setProp___id51_____ani_end_POOP();
}
function frame43(){
__setProp___id51_____ani_end_POOP();
}
function frame44(){
__setProp___id51_____ani_end_POOP();
}
function frame45(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame46(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame47(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame48(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame49(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame50(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame51(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame52(){
__setProp___id54_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame53(){
__setProp___id51_____ani_end_POOP();
}
function frame54(){
__setProp___id51_____ani_end_POOP();
}
function frame55(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame56(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame57(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame58(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame59(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame60(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame61(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame62(){
__setProp___id55_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame63(){
__setProp___id51_____ani_end_POOP();
}
function frame64(){
__setProp___id51_____ani_end_POOP();
}
function frame65(){
__setProp___id51_____ani_end_POOP();
}
function frame66(){
__setProp___id51_____ani_end_POOP();
}
function frame67(){
__setProp___id51_____ani_end_POOP();
}
function frame68(){
__setProp___id51_____ani_end_POOP();
}
function frame69(){
__setProp___id51_____ani_end_POOP();
}
function frame70(){
__setProp___id51_____ani_end_POOP();
}
function frame71(){
__setProp___id51_____ani_end_POOP();
}
function frame72(){
__setProp___id51_____ani_end_POOP();
}
function frame73(){
__setProp___id51_____ani_end_POOP();
}
function frame74(){
__setProp___id51_____ani_end_POOP();
}
function frame75(){
__setProp___id51_____ani_end_POOP();
}
function frame76(){
__setProp___id51_____ani_end_POOP();
}
function frame77(){
__setProp___id51_____ani_end_POOP();
}
function frame78(){
__setProp___id51_____ani_end_POOP();
}
function frame79(){
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame80(){
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame81(){
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame82(){
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame83(){
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame84(){
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame85(){
__setProp___id57_____ani_end_POOP();
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame86(){
__setProp___id57_____ani_end_POOP();
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame87(){
__setProp___id57_____ani_end_POOP();
__setProp___id56_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame88(){
__setProp___id57_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame89(){
__setProp___id58_____ani_end_POOP();
__setProp___id57_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame90(){
__setProp___id58_____ani_end_POOP();
__setProp___id57_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame91(){
__setProp___id58_____ani_end_POOP();
__setProp___id57_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame92(){
__setProp___id58_____ani_end_POOP();
__setProp___id57_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame93(){
__setProp___id58_____ani_end_POOP();
__setProp___id57_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame94(){
__setProp___id58_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame95(){
__setProp___id58_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame96(){
__setProp___id59_____ani_end_POOP();
__setProp___id58_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame97(){
__setProp___id59_____ani_end_POOP();
__setProp___id58_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame98(){
__setProp___id59_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame99(){
__setProp___id59_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame100(){
__setProp___id60_____ani_end_POOP();
__setProp___id59_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame101(){
__setProp___id60_____ani_end_POOP();
__setProp___id59_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame102(){
__setProp___id60_____ani_end_POOP();
__setProp___id59_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame103(){
__setProp___id60_____ani_end_POOP();
__setProp___id59_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame104(){
__setProp___id60_____ani_end_POOP();
__setProp___id59_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame105(){
__setProp___id60_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame106(){
__setProp___id60_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame107(){
__setProp___id61_____ani_end_POOP();
__setProp___id60_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame108(){
__setProp___id61_____ani_end_POOP();
__setProp___id60_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame109(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame110(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame111(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame112(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame113(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame114(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame115(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame116(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame117(){
__setProp___id61_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame118(){
__setProp___id51_____ani_end_POOP();
}
function frame119(){
__setProp___id51_____ani_end_POOP();
}
function frame120(){
__setProp___id51_____ani_end_POOP();
}
function frame121(){
__setProp___id51_____ani_end_POOP();
}
function frame122(){
__setProp___id51_____ani_end_POOP();
}
function frame123(){
__setProp___id51_____ani_end_POOP();
}
function frame124(){
__setProp___id51_____ani_end_POOP();
}
function frame125(){
__setProp___id51_____ani_end_POOP();
}
function frame126(){
__setProp___id51_____ani_end_POOP();
}
function frame127(){
__setProp___id51_____ani_end_POOP();
}
function frame128(){
__setProp___id51_____ani_end_POOP();
}
function frame129(){
__setProp___id51_____ani_end_POOP();
}
function frame130(){
__setProp___id51_____ani_end_POOP();
}
function frame131(){
__setProp___id51_____ani_end_POOP();
}
function frame132(){
__setProp___id51_____ani_end_POOP();
}
function frame133(){
__setProp___id51_____ani_end_POOP();
}
function frame134(){
__setProp___id62_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame135(){
__setProp___id62_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame136(){
__setProp___id62_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame137(){
__setProp___id62_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame138(){
__setProp___id62_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame139(){
__setProp___id51_____ani_end_POOP();
}
function frame140(){
__setProp___id51_____ani_end_POOP();
}
function frame141(){
__setProp___id51_____ani_end_POOP();
}
function frame142(){
__setProp___id51_____ani_end_POOP();
}
function frame143(){
__setProp___id51_____ani_end_POOP();
}
function frame144(){
__setProp___id51_____ani_end_POOP();
}
function frame145(){
__setProp___id51_____ani_end_POOP();
}
function frame146(){
__setProp___id51_____ani_end_POOP();
}
function frame147(){
__setProp___id51_____ani_end_POOP();
}
function frame148(){
__setProp___id51_____ani_end_POOP();
}
function frame149(){
__setProp___id51_____ani_end_POOP();
}
function frame150(){
__setProp___id51_____ani_end_POOP();
}
function frame151(){
__setProp___id51_____ani_end_POOP();
}
function frame152(){
__setProp___id51_____ani_end_POOP();
}
function frame153(){
__setProp___id51_____ani_end_POOP();
}
function frame154(){
__setProp___id51_____ani_end_POOP();
}
function frame155(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame156(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame157(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame158(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame159(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame160(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame161(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame162(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame163(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame164(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame165(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame166(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame167(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame168(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame169(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame170(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame171(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame172(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame173(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame174(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame175(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame176(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame177(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame178(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame179(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame180(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame181(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame182(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame183(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame184(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame185(){
__setProp___id63_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame186(){
__setProp___id51_____ani_end_POOP();
}
function frame187(){
__setProp___id51_____ani_end_POOP();
}
function frame188(){
__setProp___id51_____ani_end_POOP();
}
function frame189(){
__setProp___id51_____ani_end_POOP();
}
function frame190(){
__setProp___id51_____ani_end_POOP();
}
function frame191(){
__setProp___id51_____ani_end_POOP();
}
function frame192(){
__setProp___id51_____ani_end_POOP();
}
function frame193(){
__setProp___id51_____ani_end_POOP();
}
function frame194(){
__setProp___id51_____ani_end_POOP();
}
function frame195(){
__setProp___id51_____ani_end_POOP();
}
function frame196(){
__setProp___id51_____ani_end_POOP();
}
function frame197(){
__setProp___id51_____ani_end_POOP();
}
function frame198(){
__setProp___id51_____ani_end_POOP();
}
function frame199(){
__setProp___id51_____ani_end_POOP();
}
function frame200(){
__setProp___id51_____ani_end_POOP();
}
function frame201(){
__setProp___id51_____ani_end_POOP();
}
function frame202(){
__setProp___id51_____ani_end_POOP();
}
function frame203(){
__setProp___id51_____ani_end_POOP();
}
function frame204(){
__setProp___id51_____ani_end_POOP();
}
function frame205(){
__setProp___id51_____ani_end_POOP();
}
function frame206(){
__setProp___id51_____ani_end_POOP();
}
function frame207(){
__setProp___id51_____ani_end_POOP();
}
function frame208(){
__setProp___id51_____ani_end_POOP();
}
function frame209(){
__setProp___id51_____ani_end_POOP();
}
function frame210(){
__setProp___id51_____ani_end_POOP();
}
function frame211(){
__setProp___id51_____ani_end_POOP();
}
function frame212(){
__setProp___id51_____ani_end_POOP();
}
function frame213(){
__setProp___id51_____ani_end_POOP();
}
function frame214(){
__setProp___id51_____ani_end_POOP();
}
function frame215(){
__setProp___id51_____ani_end_POOP();
}
function frame216(){
__setProp___id51_____ani_end_POOP();
}
function frame217(){
__setProp___id51_____ani_end_POOP();
}
function frame218(){
__setProp___id51_____ani_end_POOP();
}
function frame219(){
__setProp___id51_____ani_end_POOP();
}
function frame220(){
__setProp___id51_____ani_end_POOP();
}
function frame221(){
__setProp___id51_____ani_end_POOP();
}
function frame222(){
__setProp___id51_____ani_end_POOP();
}
function frame223(){
__setProp___id51_____ani_end_POOP();
}
function frame224(){
__setProp___id51_____ani_end_POOP();
}
function frame225(){
__setProp___id51_____ani_end_POOP();
}
function frame226(){
__setProp___id51_____ani_end_POOP();
}
function frame227(){
__setProp___id51_____ani_end_POOP();
}
function frame228(){
__setProp___id51_____ani_end_POOP();
}
function frame229(){
__setProp___id51_____ani_end_POOP();
}
function frame230(){
__setProp___id51_____ani_end_POOP();
}
function frame231(){
__setProp___id51_____ani_end_POOP();
}
function frame232(){
__setProp___id51_____ani_end_POOP();
}
function frame233(){
__setProp___id51_____ani_end_POOP();
}
function frame234(){
__setProp___id51_____ani_end_POOP();
}
function frame235(){
__setProp___id51_____ani_end_POOP();
}
function frame236(){
__setProp___id51_____ani_end_POOP();
}
function frame237(){
__setProp___id51_____ani_end_POOP();
}
function frame238(){
__setProp___id51_____ani_end_POOP();
}
function frame239(){
__setProp___id51_____ani_end_POOP();
}
function frame240(){
__setProp___id51_____ani_end_POOP();
}
function frame241(){
__setProp___id51_____ani_end_POOP();
}
function frame242(){
__setProp___id51_____ani_end_POOP();
}
function frame243(){
__setProp___id51_____ani_end_POOP();
}
function frame244(){
__setProp___id51_____ani_end_POOP();
}
function frame245(){
__setProp___id51_____ani_end_POOP();
}
function frame246(){
__setProp___id51_____ani_end_POOP();
}
function frame247(){
__setProp___id51_____ani_end_POOP();
}
function frame248(){
__setProp___id51_____ani_end_POOP();
}
function frame249(){
__setProp___id51_____ani_end_POOP();
}
function frame250(){
__setProp___id51_____ani_end_POOP();
}
function frame251(){
__setProp___id51_____ani_end_POOP();
}
function frame252(){
__setProp___id51_____ani_end_POOP();
}
function frame253(){
__setProp___id51_____ani_end_POOP();
}
function frame254(){
__setProp___id51_____ani_end_POOP();
}
function frame255(){
__setProp___id51_____ani_end_POOP();
}
function frame256(){
__setProp___id51_____ani_end_POOP();
}
function frame257(){
__setProp___id51_____ani_end_POOP();
}
function frame258(){
__setProp___id51_____ani_end_POOP();
}
function frame259(){
__setProp___id51_____ani_end_POOP();
}
function frame260(){
__setProp___id51_____ani_end_POOP();
}
function frame261(){
__setProp___id51_____ani_end_POOP();
}
function frame262(){
__setProp___id51_____ani_end_POOP();
}
function frame263(){
__setProp___id51_____ani_end_POOP();
}
function frame264(){
__setProp___id51_____ani_end_POOP();
}
function frame265(){
__setProp___id51_____ani_end_POOP();
}
function frame266(){
__setProp___id51_____ani_end_POOP();
}
function frame267(){
__setProp___id51_____ani_end_POOP();
}
function frame268(){
__setProp___id51_____ani_end_POOP();
}
function frame269(){
__setProp___id51_____ani_end_POOP();
}
function frame270(){
__setProp___id51_____ani_end_POOP();
}
function frame271(){
__setProp___id51_____ani_end_POOP();
}
function frame272(){
__setProp___id51_____ani_end_POOP();
}
function frame273(){
__setProp___id51_____ani_end_POOP();
}
function frame274(){
__setProp___id51_____ani_end_POOP();
}
function frame275(){
__setProp___id51_____ani_end_POOP();
}
function frame276(){
__setProp___id51_____ani_end_POOP();
}
function frame277(){
__setProp___id51_____ani_end_POOP();
}
function frame278(){
__setProp___id51_____ani_end_POOP();
}
function frame279(){
__setProp___id51_____ani_end_POOP();
}
function frame280(){
__setProp___id51_____ani_end_POOP();
}
function frame281(){
__setProp___id51_____ani_end_POOP();
}
function frame282(){
__setProp___id51_____ani_end_POOP();
}
function frame283(){
__setProp___id51_____ani_end_POOP();
}
function frame284(){
__setProp___id51_____ani_end_POOP();
}
function frame285(){
__setProp___id51_____ani_end_POOP();
}
function frame286(){
__setProp___id51_____ani_end_POOP();
}
function frame287(){
__setProp___id51_____ani_end_POOP();
}
function frame288(){
__setProp___id51_____ani_end_POOP();
}
function frame289(){
__setProp___id51_____ani_end_POOP();
}
function frame290(){
__setProp___id51_____ani_end_POOP();
}
function frame291(){
__setProp___id51_____ani_end_POOP();
}
function frame292(){
__setProp___id51_____ani_end_POOP();
}
function frame293(){
__setProp___id51_____ani_end_POOP();
}
function frame294(){
__setProp___id51_____ani_end_POOP();
}
function frame295(){
__setProp___id51_____ani_end_POOP();
}
function frame296(){
__setProp___id51_____ani_end_POOP();
}
function frame297(){
__setProp___id51_____ani_end_POOP();
}
function frame298(){
__setProp___id51_____ani_end_POOP();
}
function frame299(){
__setProp___id51_____ani_end_POOP();
}
function frame300(){
__setProp___id51_____ani_end_POOP();
}
function frame301(){
__setProp___id51_____ani_end_POOP();
}
function frame302(){
__setProp___id51_____ani_end_POOP();
}
function frame303(){
__setProp___id51_____ani_end_POOP();
}
function frame304(){
__setProp___id51_____ani_end_POOP();
}
function frame305(){
__setProp___id51_____ani_end_POOP();
}
function frame306(){
__setProp___id51_____ani_end_POOP();
}
function frame307(){
__setProp___id51_____ani_end_POOP();
}
function frame308(){
__setProp___id51_____ani_end_POOP();
}
function frame309(){
__setProp___id51_____ani_end_POOP();
}
function frame310(){
__setProp___id51_____ani_end_POOP();
}
function frame311(){
__setProp___id51_____ani_end_POOP();
}
function frame312(){
__setProp___id51_____ani_end_POOP();
}
function frame313(){
__setProp___id51_____ani_end_POOP();
}
function frame314(){
__setProp___id51_____ani_end_POOP();
}
function frame315(){
__setProp___id51_____ani_end_POOP();
}
function frame316(){
__setProp___id51_____ani_end_POOP();
}
function frame317(){
__setProp___id51_____ani_end_POOP();
}
function frame318(){
__setProp___id51_____ani_end_POOP();
}
function frame319(){
__setProp___id51_____ani_end_POOP();
}
function frame320(){
__setProp___id51_____ani_end_POOP();
}
function frame321(){
__setProp___id51_____ani_end_POOP();
}
function frame322(){
__setProp___id51_____ani_end_POOP();
}
function frame323(){
__setProp___id51_____ani_end_POOP();
}
function frame324(){
__setProp___id51_____ani_end_POOP();
}
function frame325(){
__setProp___id51_____ani_end_POOP();
}
function frame326(){
__setProp___id51_____ani_end_POOP();
}
function frame327(){
__setProp___id51_____ani_end_POOP();
}
function frame328(){
__setProp___id51_____ani_end_POOP();
}
function frame329(){
__setProp___id51_____ani_end_POOP();
}
function frame330(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame331(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame332(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame333(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame334(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame335(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame336(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame337(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame338(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame339(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame340(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame341(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame342(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame343(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame344(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame345(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame346(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame347(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame348(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame349(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame350(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame351(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame352(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame353(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame354(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame355(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame356(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame357(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame358(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame359(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame360(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame361(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame362(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame363(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame364(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame365(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame366(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame367(){
__setProp___id64_____ani_end_POOP();
__setProp___id51_____ani_end_POOP();
}
function frame368(){
__setProp___id51_____ani_end_POOP();
}
function frame369(){
__setProp___id51_____ani_end_POOP();
}
function frame370(){
__setProp___id51_____ani_end_POOP();
}
function frame371(){
__setProp___id51_____ani_end_POOP();
}
function frame372(){
__setProp___id51_____ani_end_POOP();
}
function frame373(){
__setProp___id51_____ani_end_POOP();
}
function frame374(){
__setProp___id51_____ani_end_POOP();
}
function frame375(){
__setProp___id51_____ani_end_POOP();
}
function frame376(){
__setProp___id51_____ani_end_POOP();
}
function frame377(){
__setProp___id51_____ani_end_POOP();
}
function frame378(){
__setProp___id51_____ani_end_POOP();
}
function frame379(){
__setProp___id51_____ani_end_POOP();
}
function frame380(){
__setProp___id51_____ani_end_POOP();
}
function frame381(){
__setProp___id51_____ani_end_POOP();
}
function frame382(){
__setProp___id51_____ani_end_POOP();
}
function frame383(){
__setProp___id51_____ani_end_POOP();
}
function frame384(){
__setProp___id51_____ani_end_POOP();
}
function frame385(){
__setProp___id51_____ani_end_POOP();
}
function frame386(){
__setProp___id51_____ani_end_POOP();
}
function frame387(){
__setProp___id51_____ani_end_POOP();
}
function frame388(){
__setProp___id51_____ani_end_POOP();
}
function frame389(){
__setProp___id51_____ani_end_POOP();
}
function frame390(){
__setProp___id51_____ani_end_POOP();
}
function frame391(){
__setProp___id51_____ani_end_POOP();
}
function frame392(){
__setProp___id51_____ani_end_POOP();
}
function frame393(){
__setProp___id51_____ani_end_POOP();
}
function frame394(){
__setProp___id51_____ani_end_POOP();
}
function frame395(){
__setProp___id51_____ani_end_POOP();
}
function frame396(){
__setProp___id51_____ani_end_POOP();
}
function frame397(){
__setProp___id51_____ani_end_POOP();
}
function frame398(){
__setProp___id51_____ani_end_POOP();
}
function frame399(){
__setProp___id51_____ani_end_POOP();
}
function frame400(){
__setProp___id51_____ani_end_POOP();
}
function frame401(){
__setProp___id51_____ani_end_POOP();
}
function frame402(){
__setProp___id51_____ani_end_POOP();
}
}
}//package babysitter_fla
Section 2
//__hud_384 (babysitter_fla.__hud_384)
package babysitter_fla {
import flash.display.*;
public dynamic class __hud_384 extends MovieClip {
public var clip:MovieClip;
public function __hud_384(){
addFrameScript(0, frame1, 21, frame22, 49, frame50);
}
function frame1(){
stop();
}
function frame22(){
stop();
}
function frame50(){
stop();
}
}
}//package babysitter_fla
Section 3
//_Dogfrontsit_305 (babysitter_fla._Dogfrontsit_305)
package babysitter_fla {
import flash.display.*;
public dynamic class _Dogfrontsit_305 extends MovieClip {
public function _Dogfrontsit_305(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package babysitter_fla
Section 4
//_Dogrightsit_296 (babysitter_fla._Dogrightsit_296)
package babysitter_fla {
import flash.display.*;
public dynamic class _Dogrightsit_296 extends MovieClip {
public function _Dogrightsit_296(){
addFrameScript(4, frame5);
}
function frame5(){
stop();
}
}
}//package babysitter_fla
Section 5
//_DogRootbacksit_297 (babysitter_fla._DogRootbacksit_297)
package babysitter_fla {
import flash.display.*;
public dynamic class _DogRootbacksit_297 extends MovieClip {
public function _DogRootbacksit_297(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package babysitter_fla
Section 6
//_Gate_1nobtn_181 (babysitter_fla._Gate_1nobtn_181)
package babysitter_fla {
import flash.display.*;
public dynamic class _Gate_1nobtn_181 extends MovieClip {
public function _Gate_1nobtn_181(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package babysitter_fla
Section 7
//_helpcontent__153 (babysitter_fla._helpcontent__153)
package babysitter_fla {
import flash.display.*;
public dynamic class _helpcontent__153 extends MovieClip {
public var btnResume:btn_play;
public function _helpcontent__153(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package babysitter_fla
Section 8
//_helpPopover_Babysitter_151 (babysitter_fla._helpPopover_Babysitter_151)
package babysitter_fla {
import flash.display.*;
public dynamic class _helpPopover_Babysitter_151 extends MovieClip {
public var btnCloseHelp:btn_close;
public function _helpPopover_Babysitter_151(){
addFrameScript(14, frame15, 40, frame41);
}
function frame15(){
stop();
}
function frame41(){
stop();
}
}
}//package babysitter_fla
Section 9
//_mc_toiletPaper_177 (babysitter_fla._mc_toiletPaper_177)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class _mc_toiletPaper_177 extends MovieClip {
public var __id17_:PlaySound;
public var __setPropDict:Dictionary;
public function _mc_toiletPaper_177(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 22, frame23, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22);
}
function __setProp___id17___mc_toiletPaper_Layer6_13(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 14)) && ((int(__setPropDict[__id17_]) <= 22))))))){
__setPropDict[__id17_] = currentFrame;
__id17_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id17_.soundID = "correct";
__id17_.loops = 0;
__id17_.soundPan = 0;
__id17_.startTime = 0;
__id17_.soundVolume = 1;
__id17_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame23(){
stop();
}
function frame14(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame15(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame16(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame17(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame18(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame19(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame20(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame21(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
function frame22(){
__setProp___id17___mc_toiletPaper_Layer6_13();
}
}
}//package babysitter_fla
Section 10
//_toggle_sndButton_24 (babysitter_fla._toggle_sndButton_24)
package babysitter_fla {
import flash.display.*;
public dynamic class _toggle_sndButton_24 extends MovieClip {
public var btnMusicOff:btn_sndOff;
public var btnMusic:btn_sndOn;
public function _toggle_sndButton_24(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package babysitter_fla
Section 11
//ani_endBride_585 (babysitter_fla.ani_endBride_585)
package babysitter_fla {
import flash.display.*;
public dynamic class ani_endBride_585 extends MovieClip {
public function ani_endBride_585(){
addFrameScript(0, frame1, 46, frame47, 63, frame64);
}
function frame1(){
stop();
}
function frame47(){
stop();
}
function frame64(){
stop();
}
}
}//package babysitter_fla
Section 12
//ani_perfectPottySticker_578 (babysitter_fla.ani_perfectPottySticker_578)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ani_perfectPottySticker_578 extends MovieClip {
public var __id71_:PlaySound;
public var __setPropDict:Dictionary;
public function ani_perfectPottySticker_578(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(49, frame50, 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, 50, frame51);
}
function __setProp___id71__ani_perfectPottySticker_Layer10_7(){
if ((((__setPropDict[__id71_] == undefined)) || (!((((int(__setPropDict[__id71_]) >= 8)) && ((int(__setPropDict[__id71_]) <= 51))))))){
__setPropDict[__id71_] = currentFrame;
__id71_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id71_.soundID = "correct";
__id71_.loops = 0;
__id71_.soundPan = 0;
__id71_.startTime = 0;
__id71_.soundVolume = 1;
__id71_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame50(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
stop();
}
function frame8(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame9(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame10(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame11(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame12(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame13(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame14(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame15(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame16(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame17(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame18(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame19(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame20(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame21(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame22(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame23(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame24(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame25(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame26(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame27(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame28(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame29(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame30(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame31(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame32(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame33(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame34(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame35(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame36(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame37(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame38(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame39(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame40(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame41(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame42(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame43(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame44(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame45(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame46(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame47(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame48(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame49(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
function frame51(){
__setProp___id71__ani_perfectPottySticker_Layer10_7();
}
}
}//package babysitter_fla
Section 13
//ani_perfectPottySticker_ingame_398 (babysitter_fla.ani_perfectPottySticker_ingame_398)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ani_perfectPottySticker_ingame_398 extends MovieClip {
public var __id39_:PlaySound;
public var __setPropDict:Dictionary;
public function ani_perfectPottySticker_ingame_398(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 75, frame76, 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);
}
function __setProp___id39__ani_perfectPottySticker_ingame_Layer11_5(){
if ((((__setPropDict[__id39_] == undefined)) || (!((((int(__setPropDict[__id39_]) >= 6)) && ((int(__setPropDict[__id39_]) <= 75))))))){
__setPropDict[__id39_] = currentFrame;
__id39_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id39_.soundID = "perfect";
__id39_.loops = 0;
__id39_.soundPan = 0;
__id39_.startTime = 0;
__id39_.soundVolume = 1;
__id39_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame76(){
stop();
}
function frame6(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame7(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame8(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame9(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame10(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame11(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame12(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame13(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame14(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame15(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame16(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame17(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame18(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame19(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame20(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame21(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame22(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame23(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame24(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame25(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame26(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame27(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame28(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame29(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame30(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame31(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame32(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame33(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame34(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame35(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame36(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame37(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame38(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame39(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame40(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame41(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame42(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame43(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame44(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame45(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame46(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame47(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame48(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame49(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame50(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame51(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame52(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame53(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame54(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame55(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame56(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame57(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame58(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame59(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame60(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame61(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame62(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame63(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame64(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame65(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame66(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame67(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame68(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame69(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame70(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame71(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame72(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame73(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame74(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
function frame75(){
__setProp___id39__ani_perfectPottySticker_ingame_Layer11_5();
}
}
}//package babysitter_fla
Section 14
//ani_ReadySetGo_401 (babysitter_fla.ani_ReadySetGo_401)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ani_ReadySetGo_401 extends MovieClip {
public var __id42_:PlaySound;
public var __id40_:PlaySound;
public var __id41_:PlaySound;
public var __setPropDict:Dictionary;
public function ani_ReadySetGo_401(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 162, frame163, 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);
}
function __setProp___id40__ani_ReadySetGo_Layer2_48(){
if ((((__setPropDict[__id40_] == undefined)) || (!((((int(__setPropDict[__id40_]) >= 49)) && ((int(__setPropDict[__id40_]) <= 88))))))){
__setPropDict[__id40_] = currentFrame;
__id40_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id40_.soundID = "ReadySetGo";
__id40_.loops = 0;
__id40_.soundPan = 0;
__id40_.startTime = 0;
__id40_.soundVolume = 1;
__id40_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id41__ani_ReadySetGo_mousecover_76(){
if ((((__setPropDict[__id41_] == undefined)) || (!((((int(__setPropDict[__id41_]) >= 77)) && ((int(__setPropDict[__id41_]) <= 124))))))){
__setPropDict[__id41_] = currentFrame;
__id41_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id41_.soundID = "ReadySetGo";
__id41_.loops = 0;
__id41_.soundPan = 0;
__id41_.startTime = 0;
__id41_.soundVolume = 1;
__id41_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id42__ani_ReadySetGo_Layer10_112(){
if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 113)) && ((int(__setPropDict[__id42_]) <= 162))))))){
__setPropDict[__id42_] = currentFrame;
__id42_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id42_.soundID = "ReadySetGo";
__id42_.loops = 0;
__id42_.soundPan = 0;
__id42_.startTime = 0;
__id42_.soundVolume = 1;
__id42_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame163(){
stop();
}
function frame49(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame50(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame51(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame52(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame53(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame54(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame55(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame56(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame57(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame58(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame59(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame60(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame61(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame62(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame63(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame64(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame65(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame66(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame67(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame68(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame69(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame70(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame71(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame72(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame73(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame74(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame75(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame76(){
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame77(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame78(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame79(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame80(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame81(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame82(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame83(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame84(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame85(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame86(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame87(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame88(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
__setProp___id40__ani_ReadySetGo_Layer2_48();
}
function frame89(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame90(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame91(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame92(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame93(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame94(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame95(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame96(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame97(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame98(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame99(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame100(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame101(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame102(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame103(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame104(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame105(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame106(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame107(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame108(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame109(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame110(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame111(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame112(){
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame113(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame114(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame115(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame116(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame117(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame118(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame119(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame120(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame121(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame122(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame123(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame124(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
__setProp___id41__ani_ReadySetGo_mousecover_76();
}
function frame125(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame126(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame127(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame128(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame129(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame130(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame131(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame132(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame133(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame134(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame135(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame136(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame137(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame138(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame139(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame140(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame141(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame142(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame143(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame144(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame145(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame146(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame147(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame148(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame149(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame150(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame151(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame152(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame153(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame154(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame155(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame156(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame157(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame158(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame159(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame160(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame161(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
function frame162(){
__setProp___id42__ani_ReadySetGo_Layer10_112();
}
}
}//package babysitter_fla
Section 15
//ani_softSparkle_49 (babysitter_fla.ani_softSparkle_49)
package babysitter_fla {
import flash.display.*;
public dynamic class ani_softSparkle_49 extends MovieClip {
public function ani_softSparkle_49(){
addFrameScript(8, frame9);
}
function frame9(){
stop();
}
}
}//package babysitter_fla
Section 16
//ani_splashBride_122 (babysitter_fla.ani_splashBride_122)
package babysitter_fla {
import flash.display.*;
public dynamic class ani_splashBride_122 extends MovieClip {
public function ani_splashBride_122(){
addFrameScript(0, frame1, 26, frame27);
}
function frame1(){
stop();
}
function frame27(){
stop();
}
}
}//package babysitter_fla
Section 17
//ani_stickerSmall_109 (babysitter_fla.ani_stickerSmall_109)
package babysitter_fla {
import flash.display.*;
public dynamic class ani_stickerSmall_109 extends MovieClip {
public function ani_stickerSmall_109(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package babysitter_fla
Section 18
//ani_transitionIris_383 (babysitter_fla.ani_transitionIris_383)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ani_transitionIris_383 extends MovieClip {
public var __id37_:PlaySound;
public var __id34_:PlaySound;
public var __id35_:PlaySound;
public var __id38_:PlaySound;
public var __id33_:PlaySound;
public var __id36_:PlaySound;
public var __setPropDict:Dictionary;
public function ani_transitionIris_383(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 106, frame107, 135, frame136, 205, frame206, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 100, frame101, 101, frame102, 102, frame103, 103, frame104, 104, frame105, 105, frame106, 109, frame110, 110, frame111, 111, frame112, 112, frame113, 125, frame126, 126, frame127, 127, frame128, 128, frame129, 129, frame130, 130, frame131, 131, frame132, 132, frame133, 133, frame134, 134, frame135, 143, frame144, 144, frame145, 145, frame146, 146, frame147, 147, frame148, 199, frame200, 200, frame201, 201, frame202, 202, frame203, 203, frame204, 204, frame205);
}
function __setProp___id33__ani_transitionIris_Layer4_1(){
if ((((__setPropDict[__id33_] == undefined)) || (!((((int(__setPropDict[__id33_]) >= 2)) && ((int(__setPropDict[__id33_]) <= 6))))))){
__setPropDict[__id33_] = currentFrame;
__id33_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id33_.soundID = "mini_whoosh";
__id33_.loops = 0;
__id33_.soundPan = 0;
__id33_.startTime = 0;
__id33_.soundVolume = 1;
__id33_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id34__ani_transitionIris_Layer5_100(){
if ((((__setPropDict[__id34_] == undefined)) || (!((((int(__setPropDict[__id34_]) >= 101)) && ((int(__setPropDict[__id34_]) <= 106))))))){
__setPropDict[__id34_] = currentFrame;
__id34_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id34_.soundID = "mini_whoosh";
__id34_.loops = 0;
__id34_.soundPan = 0;
__id34_.startTime = 0;
__id34_.soundVolume = 1;
__id34_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id35__ani_transitionIris_Layer6_109(){
if ((((__setPropDict[__id35_] == undefined)) || (!((((int(__setPropDict[__id35_]) >= 110)) && ((int(__setPropDict[__id35_]) <= 113))))))){
__setPropDict[__id35_] = currentFrame;
__id35_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id35_.soundID = "mini_whoosh";
__id35_.loops = 0;
__id35_.soundPan = 0;
__id35_.startTime = 0;
__id35_.soundVolume = 1;
__id35_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id36__ani_transitionIris_Layer7_125(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 126)) && ((int(__setPropDict[__id36_]) <= 136))))))){
__setPropDict[__id36_] = currentFrame;
__id36_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id36_.soundID = "mini_whoosh";
__id36_.loops = 0;
__id36_.soundPan = 0;
__id36_.startTime = 0;
__id36_.soundVolume = 1;
__id36_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id37__ani_transitionIris_Layer4_143(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 144)) && ((int(__setPropDict[__id37_]) <= 148))))))){
__setPropDict[__id37_] = currentFrame;
__id37_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id37_.soundID = "mini_whoosh";
__id37_.loops = 0;
__id37_.soundPan = 0;
__id37_.startTime = 0;
__id37_.soundVolume = 1;
__id37_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id38__ani_transitionIris_Layer5_199(){
if ((((__setPropDict[__id38_] == undefined)) || (!((((int(__setPropDict[__id38_]) >= 200)) && ((int(__setPropDict[__id38_]) <= 205))))))){
__setPropDict[__id38_] = currentFrame;
__id38_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id38_.soundID = "mini_whoosh";
__id38_.loops = 0;
__id38_.soundPan = 0;
__id38_.startTime = 0;
__id38_.soundVolume = 1;
__id38_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame107(){
stop();
}
function frame136(){
__setProp___id36__ani_transitionIris_Layer7_125();
stop();
}
function frame206(){
stop();
}
function frame2(){
__setProp___id33__ani_transitionIris_Layer4_1();
}
function frame3(){
__setProp___id33__ani_transitionIris_Layer4_1();
}
function frame4(){
__setProp___id33__ani_transitionIris_Layer4_1();
}
function frame5(){
__setProp___id33__ani_transitionIris_Layer4_1();
}
function frame6(){
__setProp___id33__ani_transitionIris_Layer4_1();
}
function frame101(){
__setProp___id34__ani_transitionIris_Layer5_100();
}
function frame102(){
__setProp___id34__ani_transitionIris_Layer5_100();
}
function frame103(){
__setProp___id34__ani_transitionIris_Layer5_100();
}
function frame104(){
__setProp___id34__ani_transitionIris_Layer5_100();
}
function frame105(){
__setProp___id34__ani_transitionIris_Layer5_100();
}
function frame106(){
__setProp___id34__ani_transitionIris_Layer5_100();
}
function frame110(){
__setProp___id35__ani_transitionIris_Layer6_109();
}
function frame111(){
__setProp___id35__ani_transitionIris_Layer6_109();
}
function frame112(){
__setProp___id35__ani_transitionIris_Layer6_109();
}
function frame113(){
__setProp___id35__ani_transitionIris_Layer6_109();
}
function frame126(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame127(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame128(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame129(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame130(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame131(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame132(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame133(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame134(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame135(){
__setProp___id36__ani_transitionIris_Layer7_125();
}
function frame144(){
__setProp___id37__ani_transitionIris_Layer4_143();
}
function frame145(){
__setProp___id37__ani_transitionIris_Layer4_143();
}
function frame146(){
__setProp___id37__ani_transitionIris_Layer4_143();
}
function frame147(){
__setProp___id37__ani_transitionIris_Layer4_143();
}
function frame148(){
__setProp___id37__ani_transitionIris_Layer4_143();
}
function frame200(){
__setProp___id38__ani_transitionIris_Layer5_199();
}
function frame201(){
__setProp___id38__ani_transitionIris_Layer5_199();
}
function frame202(){
__setProp___id38__ani_transitionIris_Layer5_199();
}
function frame203(){
__setProp___id38__ani_transitionIris_Layer5_199();
}
function frame204(){
__setProp___id38__ani_transitionIris_Layer5_199();
}
function frame205(){
__setProp___id38__ani_transitionIris_Layer5_199();
}
}
}//package babysitter_fla
Section 19
//ani_transitionIrisEnd_460 (babysitter_fla.ani_transitionIrisEnd_460)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ani_transitionIrisEnd_460 extends MovieClip {
public var __id50_:PlaySound;
public var __setPropDict:Dictionary;
public function ani_transitionIrisEnd_460(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(41, frame42, 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);
}
function __setProp___id50__ani_transitionIrisEnd_Layer2_0(){
if ((((__setPropDict[__id50_] == undefined)) || (!((((int(__setPropDict[__id50_]) >= 1)) && ((int(__setPropDict[__id50_]) <= 41))))))){
__setPropDict[__id50_] = currentFrame;
__id50_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id50_.soundID = "mini_whoosh";
__id50_.loops = 0;
__id50_.soundPan = 0;
__id50_.startTime = 0;
__id50_.soundVolume = 1;
__id50_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame42(){
stop();
}
function frame1(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame2(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame3(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame4(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame5(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame6(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame7(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame8(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame9(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame10(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame11(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame12(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame13(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame14(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame15(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame16(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame17(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame18(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame19(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame20(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame21(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame22(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame23(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame24(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame25(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame26(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame27(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame28(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame29(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame30(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame31(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame32(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame33(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame34(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame35(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame36(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame37(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame38(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame39(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame40(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
function frame41(){
__setProp___id50__ani_transitionIrisEnd_Layer2_0();
}
}
}//package babysitter_fla
Section 20
//btn_gateHelpDummy_182 (babysitter_fla.btn_gateHelpDummy_182)
package babysitter_fla {
import flash.display.*;
public dynamic class btn_gateHelpDummy_182 extends MovieClip {
public var gateHitArea:MovieClip;
public var sfx:MovieClip;
public var hit:MovieClip;
public function btn_gateHelpDummy_182(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 20, frame21, 30, frame31);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame21(){
play();
}
function frame31(){
stop();
}
}
}//package babysitter_fla
Section 21
//clockanimation_389 (babysitter_fla.clockanimation_389)
package babysitter_fla {
import flash.display.*;
public dynamic class clockanimation_389 extends MovieClip {
public function clockanimation_389(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package babysitter_fla
Section 22
//drops_gottaPee_363 (babysitter_fla.drops_gottaPee_363)
package babysitter_fla {
import flash.display.*;
public dynamic class drops_gottaPee_363 extends MovieClip {
public function drops_gottaPee_363(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package babysitter_fla
Section 23
//game_Content_splashHub_22 (babysitter_fla.game_Content_splashHub_22)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class game_Content_splashHub_22 extends MovieClip {
public var __id11_:PlaySound;
public var btnHelp:btn_help;
public var __id2_:PlaySound;
public var pottyChart:MovieClip;
public var __id3_:PlaySound;
public var __id0_:PlaySound;
public var __id1_:PlaySound;
public var __id6_:PlaySound;
public var btnStart:btn_playLarge;
public var __id7_:PlaySound;
public var __id4_:PlaySound;
public var __id5_:PlaySound;
public var btn:MovieClip;
public var __id12_:PlaySound;
public var __id8_:PlaySound;
public var __id13_:PlaySound;
public var __id9_:PlaySound;
public var __id10_:PlaySound;
public var __setPropDict:Dictionary;
public function game_Content_splashHub_22(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(1, frame2, 64, frame65, 200, frame201, 205, frame206, 212, frame213, 232, frame233, 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, 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, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 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, 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, 211, frame212, 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);
}
function __setProp___id0__game_Content_splashHub_sfx_3(){
if ((((__setPropDict[__id0_] == undefined)) || (!((((int(__setPropDict[__id0_]) >= 4)) && ((int(__setPropDict[__id0_]) <= 17))))))){
__setPropDict[__id0_] = currentFrame;
__id0_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id0_.soundID = "soft_whoosh09";
__id0_.loops = 0;
__id0_.soundPan = 0;
__id0_.startTime = 0;
__id0_.soundVolume = 1;
__id0_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id1__game_Content_splashHub_sfx_19(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 20)) && ((int(__setPropDict[__id1_]) <= 33))))))){
__setPropDict[__id1_] = currentFrame;
__id1_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id1_.soundID = "soft_whoosh09";
__id1_.loops = 0;
__id1_.soundPan = 0;
__id1_.startTime = 0;
__id1_.soundVolume = 1;
__id1_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id2__game_Content_splashHub_sfx_26(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 27)) && ((int(__setPropDict[__id2_]) <= 40))))))){
__setPropDict[__id2_] = currentFrame;
__id2_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id2_.soundID = "soft_whoosh09";
__id2_.loops = 0;
__id2_.soundPan = 0;
__id2_.startTime = 0;
__id2_.soundVolume = 1;
__id2_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id3__game_Content_splashHub_sfx_55(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 56)) && ((int(__setPropDict[__id3_]) <= 69))))))){
__setPropDict[__id3_] = currentFrame;
__id3_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id3_.soundID = "mini_whoosh14";
__id3_.loops = 0;
__id3_.soundPan = 0;
__id3_.startTime = 0;
__id3_.soundVolume = 1;
__id3_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id4__game_Content_splashHub_sfx_105(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 106)) && ((int(__setPropDict[__id4_]) <= 119))))))){
__setPropDict[__id4_] = currentFrame;
__id4_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id4_.soundID = "soft_whoosh09";
__id4_.loops = 0;
__id4_.soundPan = 0;
__id4_.startTime = 0;
__id4_.soundVolume = 1;
__id4_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id5__game_Content_splashHub_sfx_113(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 114)) && ((int(__setPropDict[__id5_]) <= 146))))))){
__setPropDict[__id5_] = currentFrame;
__id5_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id5_.soundID = "soft_whoosh09";
__id5_.loops = 0;
__id5_.soundPan = 0;
__id5_.startTime = 0;
__id5_.soundVolume = 1;
__id5_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id6__game_Content_splashHub_sfx_147(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 148)) && ((int(__setPropDict[__id6_]) <= 161))))))){
__setPropDict[__id6_] = currentFrame;
__id6_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id6_.soundID = "mini_whoosh14";
__id6_.loops = 0;
__id6_.soundPan = 0;
__id6_.startTime = 0;
__id6_.soundVolume = 1;
__id6_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id7__game_Content_splashHub_sfx_151(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 152)) && ((int(__setPropDict[__id7_]) <= 166))))))){
__setPropDict[__id7_] = currentFrame;
__id7_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id7_.soundID = "sfx_pageFlip";
__id7_.loops = 0;
__id7_.soundPan = 0;
__id7_.startTime = 0;
__id7_.soundVolume = 1;
__id7_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id8__game_Content_splashHub_sfx_163(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 164)) && ((int(__setPropDict[__id8_]) <= 177))))))){
__setPropDict[__id8_] = currentFrame;
__id8_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id8_.soundID = "soft_whoosh09";
__id8_.loops = 0;
__id8_.soundPan = 0;
__id8_.startTime = 0;
__id8_.soundVolume = 1;
__id8_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id9__game_Content_splashHub_sfx_175(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 176)) && ((int(__setPropDict[__id9_]) <= 189))))))){
__setPropDict[__id9_] = currentFrame;
__id9_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id9_.soundID = "mini_whoosh14";
__id9_.loops = 0;
__id9_.soundPan = 0;
__id9_.startTime = 0;
__id9_.soundVolume = 0.5;
__id9_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id10__game_Content_splashHub_sfx_184(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 185)) && ((int(__setPropDict[__id10_]) <= 198))))))){
__setPropDict[__id10_] = currentFrame;
__id10_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id10_.soundID = "mini_whoosh14";
__id10_.loops = 0;
__id10_.soundPan = 0;
__id10_.startTime = 0;
__id10_.soundVolume = 1;
__id10_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id11__game_Content_splashHub_sfx_211(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 212)) && ((int(__setPropDict[__id11_]) <= 225))))))){
__setPropDict[__id11_] = currentFrame;
__id11_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id11_.soundID = "mini_whoosh14";
__id11_.loops = 0;
__id11_.soundPan = 0;
__id11_.startTime = 0;
__id11_.soundVolume = 0.5;
__id11_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id12__game_Content_splashHub_sfx_218(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 219)) && ((int(__setPropDict[__id12_]) <= 224))))))){
__setPropDict[__id12_] = currentFrame;
__id12_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id12_.soundID = "door_open";
__id12_.loops = 0;
__id12_.soundPan = 0;
__id12_.startTime = 0;
__id12_.soundVolume = 0.2;
__id12_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id13__game_Content_splashHub_sfx_219(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 220)) && ((int(__setPropDict[__id13_]) <= 233))))))){
__setPropDict[__id13_] = currentFrame;
__id13_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id13_.soundID = "soft_whoosh09";
__id13_.loops = 0;
__id13_.soundPan = 0;
__id13_.startTime = 0;
__id13_.soundVolume = 0.5;
__id13_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame2(){
play();
}
function frame65(){
__setProp___id3__game_Content_splashHub_sfx_55();
stop();
}
function frame201(){
stop();
}
function frame206(){
play();
}
function frame213(){
__setProp___id11__game_Content_splashHub_sfx_211();
stop();
}
function frame233(){
__setProp___id13__game_Content_splashHub_sfx_219();
stop();
}
function frame4(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame5(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame6(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame7(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame8(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame9(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame10(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame11(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame12(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame13(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame14(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame15(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame16(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame17(){
__setProp___id0__game_Content_splashHub_sfx_3();
}
function frame20(){
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame21(){
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame22(){
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame23(){
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame24(){
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame25(){
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame26(){
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame27(){
__setProp___id2__game_Content_splashHub_sfx_26();
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame28(){
__setProp___id2__game_Content_splashHub_sfx_26();
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame29(){
__setProp___id2__game_Content_splashHub_sfx_26();
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame30(){
__setProp___id2__game_Content_splashHub_sfx_26();
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame31(){
__setProp___id2__game_Content_splashHub_sfx_26();
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame32(){
__setProp___id2__game_Content_splashHub_sfx_26();
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame33(){
__setProp___id2__game_Content_splashHub_sfx_26();
__setProp___id1__game_Content_splashHub_sfx_19();
}
function frame34(){
__setProp___id2__game_Content_splashHub_sfx_26();
}
function frame35(){
__setProp___id2__game_Content_splashHub_sfx_26();
}
function frame36(){
__setProp___id2__game_Content_splashHub_sfx_26();
}
function frame37(){
__setProp___id2__game_Content_splashHub_sfx_26();
}
function frame38(){
__setProp___id2__game_Content_splashHub_sfx_26();
}
function frame39(){
__setProp___id2__game_Content_splashHub_sfx_26();
}
function frame40(){
__setProp___id2__game_Content_splashHub_sfx_26();
}
function frame56(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame57(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame58(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame59(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame60(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame61(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame62(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame63(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame64(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame66(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame67(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame68(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame69(){
__setProp___id3__game_Content_splashHub_sfx_55();
}
function frame106(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame107(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame108(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame109(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame110(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame111(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame112(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame113(){
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame114(){
__setProp___id5__game_Content_splashHub_sfx_113();
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame115(){
__setProp___id5__game_Content_splashHub_sfx_113();
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame116(){
__setProp___id5__game_Content_splashHub_sfx_113();
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame117(){
__setProp___id5__game_Content_splashHub_sfx_113();
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame118(){
__setProp___id5__game_Content_splashHub_sfx_113();
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame119(){
__setProp___id5__game_Content_splashHub_sfx_113();
__setProp___id4__game_Content_splashHub_sfx_105();
}
function frame120(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame121(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame122(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame123(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame124(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame125(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame126(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame127(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame128(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame129(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame130(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame131(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame132(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame133(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame134(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame135(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame136(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame137(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame138(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame139(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame140(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame141(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame142(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame143(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame144(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame145(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame146(){
__setProp___id5__game_Content_splashHub_sfx_113();
}
function frame148(){
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame149(){
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame150(){
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame151(){
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame152(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame153(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame154(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame155(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame156(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame157(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame158(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame159(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame160(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame161(){
__setProp___id7__game_Content_splashHub_sfx_151();
__setProp___id6__game_Content_splashHub_sfx_147();
}
function frame162(){
__setProp___id7__game_Content_splashHub_sfx_151();
}
function frame163(){
__setProp___id7__game_Content_splashHub_sfx_151();
}
function frame164(){
__setProp___id8__game_Content_splashHub_sfx_163();
__setProp___id7__game_Content_splashHub_sfx_151();
}
function frame165(){
__setProp___id8__game_Content_splashHub_sfx_163();
__setProp___id7__game_Content_splashHub_sfx_151();
}
function frame166(){
__setProp___id8__game_Content_splashHub_sfx_163();
__setProp___id7__game_Content_splashHub_sfx_151();
}
function frame167(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame168(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame169(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame170(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame171(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame172(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame173(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame174(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame175(){
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame176(){
__setProp___id9__game_Content_splashHub_sfx_175();
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame177(){
__setProp___id9__game_Content_splashHub_sfx_175();
__setProp___id8__game_Content_splashHub_sfx_163();
}
function frame178(){
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame179(){
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame180(){
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame181(){
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame182(){
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame183(){
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame184(){
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame185(){
__setProp___id10__game_Content_splashHub_sfx_184();
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame186(){
__setProp___id10__game_Content_splashHub_sfx_184();
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame187(){
__setProp___id10__game_Content_splashHub_sfx_184();
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame188(){
__setProp___id10__game_Content_splashHub_sfx_184();
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame189(){
__setProp___id10__game_Content_splashHub_sfx_184();
__setProp___id9__game_Content_splashHub_sfx_175();
}
function frame190(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame191(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame192(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame193(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame194(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame195(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame196(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame197(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame198(){
__setProp___id10__game_Content_splashHub_sfx_184();
}
function frame212(){
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame214(){
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame215(){
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame216(){
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame217(){
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame218(){
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame219(){
__setProp___id12__game_Content_splashHub_sfx_218();
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame220(){
__setProp___id13__game_Content_splashHub_sfx_219();
__setProp___id12__game_Content_splashHub_sfx_218();
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame221(){
__setProp___id13__game_Content_splashHub_sfx_219();
__setProp___id12__game_Content_splashHub_sfx_218();
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame222(){
__setProp___id13__game_Content_splashHub_sfx_219();
__setProp___id12__game_Content_splashHub_sfx_218();
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame223(){
__setProp___id13__game_Content_splashHub_sfx_219();
__setProp___id12__game_Content_splashHub_sfx_218();
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame224(){
__setProp___id13__game_Content_splashHub_sfx_219();
__setProp___id12__game_Content_splashHub_sfx_218();
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame225(){
__setProp___id13__game_Content_splashHub_sfx_219();
__setProp___id11__game_Content_splashHub_sfx_211();
}
function frame226(){
__setProp___id13__game_Content_splashHub_sfx_219();
}
function frame227(){
__setProp___id13__game_Content_splashHub_sfx_219();
}
function frame228(){
__setProp___id13__game_Content_splashHub_sfx_219();
}
function frame229(){
__setProp___id13__game_Content_splashHub_sfx_219();
}
function frame230(){
__setProp___id13__game_Content_splashHub_sfx_219();
}
function frame231(){
__setProp___id13__game_Content_splashHub_sfx_219();
}
function frame232(){
__setProp___id13__game_Content_splashHub_sfx_219();
}
}
}//package babysitter_fla
Section 24
//gfx_dog_leg1_193 (babysitter_fla.gfx_dog_leg1_193)
package babysitter_fla {
import flash.display.*;
public dynamic class gfx_dog_leg1_193 extends MovieClip {
public function gfx_dog_leg1_193(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package babysitter_fla
Section 25
//gfx_dog_leg3_196 (babysitter_fla.gfx_dog_leg3_196)
package babysitter_fla {
import flash.display.*;
public dynamic class gfx_dog_leg3_196 extends MovieClip {
public function gfx_dog_leg3_196(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame6(){
stop();
}
}
}//package babysitter_fla
Section 26
//gfx_helpBaseBubble_200 (babysitter_fla.gfx_helpBaseBubble_200)
package babysitter_fla {
import flash.display.*;
public dynamic class gfx_helpBaseBubble_200 extends MovieClip {
public function gfx_helpBaseBubble_200(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package babysitter_fla
Section 27
//gfx_loaderBarBase_7 (babysitter_fla.gfx_loaderBarBase_7)
package babysitter_fla {
import flash.display.*;
public dynamic class gfx_loaderBarBase_7 extends MovieClip {
public function gfx_loaderBarBase_7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package babysitter_fla
Section 28
//gfx_pottyChart_77 (babysitter_fla.gfx_pottyChart_77)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class gfx_pottyChart_77 extends MovieClip {
public var floor3:MovieClip;
public var __id16_:PlaySound;
public var sticker3:MovieClip;
public var sticker2:MovieClip;
public var floor1:MovieClip;
public var sticker1:MovieClip;
public var floor2:MovieClip;
public var __setPropDict:Dictionary;
public function gfx_pottyChart_77(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(29, frame30, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function __setProp___id16__gfx_pottyChart_sfx_1(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 2)) && ((int(__setPropDict[__id16_]) <= 12))))))){
__setPropDict[__id16_] = currentFrame;
__id16_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id16_.soundID = "sfx_pageFlip";
__id16_.loops = 0;
__id16_.soundPan = 0;
__id16_.startTime = 0;
__id16_.soundVolume = 1;
__id16_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame30(){
stop();
}
function frame2(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame3(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame4(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame5(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame6(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame7(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame8(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame9(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame10(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame11(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
function frame12(){
__setProp___id16__gfx_pottyChart_sfx_1();
}
}
}//package babysitter_fla
Section 29
//gfx_tooltipBubble_95 (babysitter_fla.gfx_tooltipBubble_95)
package babysitter_fla {
import flash.display.*;
public dynamic class gfx_tooltipBubble_95 extends MovieClip {
public function gfx_tooltipBubble_95(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package babysitter_fla
Section 30
//global_gameFrame_121 (babysitter_fla.global_gameFrame_121)
package babysitter_fla {
import flash.display.*;
public dynamic class global_gameFrame_121 extends MovieClip {
public function global_gameFrame_121(){
addFrameScript(0, frame1);
}
function frame1(){
this.mouseEnabled = false;
this.mouseChildren = false;
}
}
}//package babysitter_fla
Section 31
//kelly_distracted_372 (babysitter_fla.kelly_distracted_372)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class kelly_distracted_372 extends MovieClip {
public var __id31_:PlaySound;
public var __setPropDict:Dictionary;
public function kelly_distracted_372(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(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);
}
function __setProp___id31__kelly_distracted_Layer21_3(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 4)) && ((int(__setPropDict[__id31_]) <= 120))))))){
__setPropDict[__id31_] = currentFrame;
__id31_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id31_.soundID = "funclock";
__id31_.loops = 0;
__id31_.soundPan = 0;
__id31_.startTime = 0;
__id31_.soundVolume = 0.5;
__id31_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame4(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame5(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame6(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame7(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame8(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame9(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame10(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame11(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame12(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame13(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame14(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame15(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame16(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame17(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame18(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame19(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame20(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame21(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame22(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame23(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame24(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame25(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame26(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame27(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame28(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame29(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame30(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame31(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame32(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame33(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame34(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame35(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame36(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame37(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame38(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame39(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame40(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame41(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame42(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame43(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame44(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame45(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame46(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame47(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame48(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame49(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame50(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame51(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame52(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame53(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame54(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame55(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame56(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame57(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame58(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame59(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame60(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame61(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame62(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame63(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame64(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame65(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame66(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame67(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame68(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame69(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame70(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame71(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame72(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame73(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame74(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame75(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame76(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame77(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame78(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame79(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame80(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame81(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame82(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame83(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame84(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame85(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame86(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame87(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame88(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame89(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame90(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame91(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame92(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame93(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame94(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame95(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame96(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame97(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame98(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame99(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame100(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame101(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame102(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame103(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame104(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame105(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame106(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame107(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame108(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame109(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame110(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame111(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame112(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame113(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame114(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame115(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame116(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame117(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame118(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame119(){
__setProp___id31__kelly_distracted_Layer21_3();
}
function frame120(){
__setProp___id31__kelly_distracted_Layer21_3();
}
}
}//package babysitter_fla
Section 32
//kelly_oopsie_377 (babysitter_fla.kelly_oopsie_377)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class kelly_oopsie_377 extends MovieClip {
public var __id32_:PlaySound;
public var __setPropDict:Dictionary;
public function kelly_oopsie_377(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(54, frame55, 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);
}
function __setProp___id32__kelly_oopsie_kelly_hairTop(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 12)) && ((int(__setPropDict[__id32_]) <= 48))))))){
__setPropDict[__id32_] = currentFrame;
__id32_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id32_.soundID = "sfx_pee";
__id32_.loops = 0;
__id32_.soundPan = 0;
__id32_.startTime = 0;
__id32_.soundVolume = 1;
__id32_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame55(){
stop();
}
function frame12(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame13(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame14(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame15(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame16(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame17(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame18(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame19(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame20(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame21(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame22(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame23(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame24(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame25(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame26(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame27(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame28(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame29(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame30(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame31(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame32(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame33(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame34(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame35(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame36(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame37(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame38(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame39(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame40(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame41(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame42(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame43(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame44(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame45(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame46(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame47(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
function frame48(){
__setProp___id32__kelly_oopsie_kelly_hairTop();
}
}
}//package babysitter_fla
Section 33
//mc_btn_scrubbed_states_593 (babysitter_fla.mc_btn_scrubbed_states_593)
package babysitter_fla {
import flash.display.*;
public dynamic class mc_btn_scrubbed_states_593 extends MovieClip {
public function mc_btn_scrubbed_states_593(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package babysitter_fla
Section 34
//mc_codeEntry_56 (babysitter_fla.mc_codeEntry_56)
package babysitter_fla {
import flash.display.*;
public dynamic class mc_codeEntry_56 extends MovieClip {
public var btnGo:btn_go;
public function mc_codeEntry_56(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package babysitter_fla
Section 35
//mc_Floor1_80 (babysitter_fla.mc_Floor1_80)
package babysitter_fla {
import flash.display.*;
public dynamic class mc_Floor1_80 extends MovieClip {
public var play1:btn_playLevel1;
public var floor1:btn_floor1;
public function mc_Floor1_80(){
addFrameScript(0, frame1, 11, frame12);
}
function frame1(){
stop();
}
function frame12(){
stop();
}
}
}//package babysitter_fla
Section 36
//mc_Floor2_97 (babysitter_fla.mc_Floor2_97)
package babysitter_fla {
import flash.display.*;
public dynamic class mc_Floor2_97 extends MovieClip {
public var sticker:MovieClip;
public var play2:btn_playlevel2;
public var floor2:btn_floor2;
public function mc_Floor2_97(){
addFrameScript(0, frame1, 11, frame12);
}
function frame1(){
stop();
}
function frame12(){
stop();
}
}
}//package babysitter_fla
Section 37
//mc_Floor3_103 (babysitter_fla.mc_Floor3_103)
package babysitter_fla {
import flash.display.*;
public dynamic class mc_Floor3_103 extends MovieClip {
public var floor3:btn_floor3;
public var play3:btn_playlevel3;
public function mc_Floor3_103(){
addFrameScript(0, frame1, 11, frame12);
}
function frame1(){
stop();
}
function frame12(){
stop();
}
}
}//package babysitter_fla
Section 38
//mc_toys_283 (babysitter_fla.mc_toys_283)
package babysitter_fla {
import flash.display.*;
public dynamic class mc_toys_283 extends MovieClip {
public function mc_toys_283(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
}
}//package babysitter_fla
Section 39
//oops_378 (babysitter_fla.oops_378)
package babysitter_fla {
import flash.display.*;
public dynamic class oops_378 extends MovieClip {
public function oops_378(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package babysitter_fla
Section 40
//sfx_btn_48 (babysitter_fla.sfx_btn_48)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class sfx_btn_48 extends MovieClip {
public var __id15_:PlaySound;
public var __setPropDict:Dictionary;
public function sfx_btn_48(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 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);
}
function __setProp___id15__sfx_btn_Layer3_20(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 21)) && ((int(__setPropDict[__id15_]) <= 30))))))){
__setPropDict[__id15_] = currentFrame;
__id15_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id15_.soundID = "Gliss_1021_01_edit.wav";
__id15_.loops = 0;
__id15_.soundPan = 0;
__id15_.startTime = 0;
__id15_.soundVolume = 1;
__id15_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id15__sfx_btn_Layer3_30(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 31)) && ((int(__setPropDict[__id15_]) <= 40))))))){
__setPropDict[__id15_] = currentFrame;
__id15_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id15_.soundID = "rollover07.wav";
__id15_.loops = 0;
__id15_.soundPan = 0;
__id15_.startTime = 0;
__id15_.soundVolume = 1;
__id15_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame21(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame22(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame23(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame24(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame25(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame26(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame27(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame28(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame29(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame30(){
__setProp___id15__sfx_btn_Layer3_20();
}
function frame31(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame32(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame33(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame34(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame35(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame36(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame37(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame38(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame39(){
__setProp___id15__sfx_btn_Layer3_30();
}
function frame40(){
__setProp___id15__sfx_btn_Layer3_30();
}
}
}//package babysitter_fla
Section 41
//sfx_btn_sml_28 (babysitter_fla.sfx_btn_sml_28)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class sfx_btn_sml_28 extends MovieClip {
public var __id14_:PlaySound;
public var __setPropDict:Dictionary;
public function sfx_btn_sml_28(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 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);
}
function __setProp___id14__sfx_btn_sml_Layer3_20(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 21)) && ((int(__setPropDict[__id14_]) <= 30))))))){
__setPropDict[__id14_] = currentFrame;
__id14_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id14_.soundID = "Btn_sm_over";
__id14_.loops = 0;
__id14_.soundPan = 0;
__id14_.startTime = 0;
__id14_.soundVolume = 0.5;
__id14_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id14__sfx_btn_sml_Layer3_30(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 31)) && ((int(__setPropDict[__id14_]) <= 40))))))){
__setPropDict[__id14_] = currentFrame;
__id14_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id14_.soundID = "rollover07.wav";
__id14_.loops = 0;
__id14_.soundPan = 0;
__id14_.startTime = 0;
__id14_.soundVolume = 0.2;
__id14_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame21(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame22(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame23(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame24(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame25(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame26(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame27(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame28(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame29(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame30(){
__setProp___id14__sfx_btn_sml_Layer3_20();
}
function frame31(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame32(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame33(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame34(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame35(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame36(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame37(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame38(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame39(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
function frame40(){
__setProp___id14__sfx_btn_sml_Layer3_30();
}
}
}//package babysitter_fla
Section 42
//sfx_Gate_184 (babysitter_fla.sfx_Gate_184)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class sfx_Gate_184 extends MovieClip {
public var __id18_:PlaySound;
public var __setPropDict:Dictionary;
public function sfx_Gate_184(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 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);
}
function __setProp___id18__sfx_Gate_Layer3_20(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 21)) && ((int(__setPropDict[__id18_]) <= 30))))))){
__setPropDict[__id18_] = currentFrame;
__id18_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id18_.soundID = "sfx_toy_over";
__id18_.loops = 0;
__id18_.soundPan = 0;
__id18_.startTime = 0;
__id18_.soundVolume = 1;
__id18_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id18__sfx_Gate_Layer3_30(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 31)) && ((int(__setPropDict[__id18_]) <= 40))))))){
__setPropDict[__id18_] = currentFrame;
__id18_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id18_.soundID = "sfx_toyOver";
__id18_.loops = 0;
__id18_.soundPan = 0;
__id18_.startTime = 0;
__id18_.soundVolume = 1;
__id18_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame21(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame22(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame23(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame24(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame25(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame26(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame27(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame28(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame29(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame30(){
__setProp___id18__sfx_Gate_Layer3_20();
}
function frame31(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame32(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame33(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame34(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame35(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame36(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame37(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame38(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame39(){
__setProp___id18__sfx_Gate_Layer3_30();
}
function frame40(){
__setProp___id18__sfx_Gate_Layer3_30();
}
}
}//package babysitter_fla
Section 43
//sfx_PickupToy_187 (babysitter_fla.sfx_PickupToy_187)
package babysitter_fla {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class sfx_PickupToy_187 extends MovieClip {
public var __id19_:PlaySound;
public var __setPropDict:Dictionary;
public function sfx_PickupToy_187(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 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);
}
function __setProp___id19__sfx_PickupToy_Layer3_20(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 21)) && ((int(__setPropDict[__id19_]) <= 30))))))){
__setPropDict[__id19_] = currentFrame;
__id19_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id19_.soundID = "sfx_toy_over";
__id19_.loops = 0;
__id19_.soundPan = 0;
__id19_.startTime = 0;
__id19_.soundVolume = 1;
__id19_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id19__sfx_PickupToy_Layer3_30(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 31)) && ((int(__setPropDict[__id19_]) <= 40))))))){
__setPropDict[__id19_] = currentFrame;
__id19_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id19_.soundID = "sfx_toyOver";
__id19_.loops = 0;
__id19_.soundPan = 0;
__id19_.startTime = 0;
__id19_.soundVolume = 1;
__id19_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame21(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame22(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame23(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame24(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame25(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame26(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame27(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame28(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame29(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame30(){
__setProp___id19__sfx_PickupToy_Layer3_20();
}
function frame31(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame32(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame33(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame34(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame35(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame36(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame37(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame38(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame39(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
function frame40(){
__setProp___id19__sfx_PickupToy_Layer3_30();
}
}
}//package babysitter_fla
Section 44
//sparkles_ani_GameButtonsOver_50 (babysitter_fla.sparkles_ani_GameButtonsOver_50)
package babysitter_fla {
import flash.display.*;
public dynamic class sparkles_ani_GameButtonsOver_50 extends MovieClip {
public function sparkles_ani_GameButtonsOver_50(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package babysitter_fla
Section 45
//sparkles_ani_stickerReveal_400 (babysitter_fla.sparkles_ani_stickerReveal_400)
package babysitter_fla {
import flash.display.*;
public dynamic class sparkles_ani_stickerReveal_400 extends MovieClip {
public function sparkles_ani_stickerReveal_400(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package babysitter_fla
Section 46
//sparkles_loader_17 (babysitter_fla.sparkles_loader_17)
package babysitter_fla {
import flash.display.*;
public dynamic class sparkles_loader_17 extends MovieClip {
public function sparkles_loader_17(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package babysitter_fla
Section 47
//apias3loader (com.apias3loader)
package com {
import flash.display.*;
import flash.events.*;
import flash.system.*;
import flash.net.*;
import flash.external.*;
public class apias3loader extends MovieClip {
public var mLoader:Loader;
public var apiMC:MovieClip;
public var apiLoaded:Boolean;// = false
public static var APILOADED:String = "apiloaded";
public function apias3loader(){
var mRequest:URLRequest;
super();
mLoader = new Loader();
var url:String = ExternalInterface.call("window.location.href.toString");
mRequest = new URLRequest("/assets/api/gameapi.swf");
trace(("mRequest.url : " + mRequest.url));
trace(("others : " + "/assets/api/gameapi.swf "));
trace("Check this version 1.1.1");
mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
mLoader.load(mRequest);
}
private function ioErrorHandler(event:Event):void{
trace((" ioErrorHandler " + ioErrorHandler));
if (ExternalInterface.available){
handleHack(false);
} else {
fscommand("quit", "");
};
}
private function onCompleteHandler(loadEvent:Event){
var loadEvent = loadEvent;
stage.showDefaultContextMenu = false;
apiMC = loadEvent.currentTarget.content;
addChild(apiMC);
trace(("API This " + this));
trace(("Load event " + loadEvent));
trace(("current " + loadEvent.currentTarget));
trace(("current " + loadEvent.currentTarget.content));
trace((" API this.parent " + this.parent));
if (apiMC.siteLock()){
apiMC.gameid = this.parent.loaderInfo.parameters.gameid;
apiMC.gname = this.parent.loaderInfo.parameters.gname;
apiMC.gcamp = this.parent.loaderInfo.parameters.gcamp;
apiMC.gchannel = this.parent.loaderInfo.parameters.gchannel;
apiMC.MattelGameAPICall("game_ping", "", apiMC.gameid);
//unresolved jump
var _slot1 = e;
trace(("Error : " + _slot1));
dispatchEvent(new Event(apias3loader.APILOADED));
} else {
handleHack(true);
};
}
public function MattelGameAPICall(func:String, dataval:String){
var func = func;
var dataval = dataval;
trace(("MattelGameAPICall, " + dataval));
apiMC.MattelGameAPICall(func, dataval, apiMC.gameid);
//unresolved jump
var _slot1 = e;
trace(("Error : " + _slot1));
}
private function onProgressHandler(mProgress:ProgressEvent){
var percent:Number = int(((mProgress.bytesLoaded / mProgress.bytesTotal) * 100));
}
private function handleHack(isAlert:Boolean){
stage.showDefaultContextMenu = false;
if (isAlert){
ExternalInterface.call("alert", "This game is a property of Mattel Inc. Please click ok to play in Mattel.com");
} else {
ExternalInterface.call("alert", "There is a problem loading the game. Please try again.");
};
var request:URLRequest = new URLRequest("http://www.mattel.com");
navigateToURL(request, "_self");
}
}
}//package com
Section 48
//wav (Gliss_1021_01_edit.wav)
package Gliss_1021_01_edit {
import flash.media.*;
public dynamic class wav extends Sound {
}
}//package Gliss_1021_01_edit
Section 49
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _visible:Boolean;
protected var _tween:TweenLite;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
super();
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{
_target = $target;
_tween = $tween;
_visible = Boolean(!(($value == 0)));
_tweenVisible = true;
addTween($target, "alpha", $target.alpha, $value, "alpha");
return (true);
}
override public function killProps($lookup:Object):void{
super.killProps($lookup);
_tweenVisible = !(Boolean(("visible" in $lookup)));
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function set changeFactor($n:Number):void{
updateTweens($n);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 50
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _a:Array;
protected var _info:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{
if (((!(($target is Array))) || (!(($value is Array))))){
return (false);
};
init(($target as Array), $value);
return (true);
}
public function init($start:Array, $end:Array):void{
_a = $start;
var i:int = ($end.length - 1);
while (i > -1) {
if (((!(($start[i] == $end[i]))) && (!(($start[i] == null))))){
_info[_info.length] = new ArrayTweenInfo(i, _a[i], ($end[i] - _a[i]));
};
i--;
};
}
override public function set changeFactor($n:Number):void{
var i:int;
var ti:ArrayTweenInfo;
var val:Number;
var neg:int;
if (this.round){
i = (_info.length - 1);
while (i > -1) {
ti = _info[i];
val = (ti.start + (ti.change * $n));
neg = ((val)<0) ? -1 : 1;
_a[ti.index] = ((((val % 1) * neg))>0.5) ? (int(val) + neg) : int(val);
i--;
};
} else {
i = (_info.length - 1);
while (i > -1) {
ti = _info[i];
_a[ti.index] = (ti.start + (ti.change * $n));
i--;
};
};
}
}
}//package gs.plugins
Section 51
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class FramePlugin extends TweenPlugin {
public var frame:int;
protected var _target:MovieClip;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function FramePlugin(){
super();
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{
if (((!(($target is MovieClip))) || (isNaN($value)))){
return (false);
};
_target = ($target as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, $value, "frame");
return (true);
}
override public function set changeFactor($n:Number):void{
updateTweens($n);
_target.gotoAndStop(this.frame);
}
}
}//package gs.plugins
Section 52
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
super();
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 53
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _target:DisplayObject;
protected var _ct:ColorTransform;
protected var _ignoreAlpha:Boolean;
public static const VERSION:Number = 1.1;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
super();
this.propName = "tint";
this.overwriteProps = ["tint"];
}
override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{
if (!($target is DisplayObject)){
return (false);
};
var end:ColorTransform = new ColorTransform();
if (((!(($value == null))) && (!(($tween.exposedVars.removeTint == true))))){
end.color = uint($value);
};
_ignoreAlpha = true;
init(($target as DisplayObject), end);
return (true);
}
public function init($target:DisplayObject, $end:ColorTransform):void{
var i:int;
var p:String;
_target = $target;
_ct = _target.transform.colorTransform;
i = (_props.length - 1);
while (i > -1) {
p = _props[i];
if (_ct[p] != $end[p]){
_tweens[_tweens.length] = new TweenInfo(_ct, p, _ct[p], ($end[p] - _ct[p]), "tint", false);
};
i--;
};
}
override public function set changeFactor($n:Number):void{
var ct:ColorTransform;
updateTweens($n);
if (_ignoreAlpha){
ct = _target.transform.colorTransform;
_ct.alphaMultiplier = ct.alphaMultiplier;
_ct.alphaOffset = ct.alphaOffset;
};
_target.transform.colorTransform = _ct;
}
}
}//package gs.plugins
Section 54
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var propName:String;
public var overwriteProps:Array;
public var round:Boolean;
public var onComplete:Function;
protected var _tweens:Array;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
super();
}
public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{
addTween($target, this.propName, $target[this.propName], $value, this.propName);
return (true);
}
protected function addTween($object:Object, $propName:String, $start:Number, $end, $overwriteProp:String=null):void{
var change:Number;
if ($end != null){
change = ((typeof($end))=="number") ? ($end - $start) : Number($end);
if (change != 0){
_tweens[_tweens.length] = new TweenInfo($object, $propName, $start, change, (($overwriteProp) || ($propName)), false);
};
};
}
protected function updateTweens($changeFactor:Number):void{
var i:int;
var ti:TweenInfo;
var val:Number;
var neg:int;
if (this.round){
i = (_tweens.length - 1);
while (i > -1) {
ti = _tweens[i];
val = (ti.start + (ti.change * $changeFactor));
neg = ((val)<0) ? -1 : 1;
ti.target[ti.property] = ((((val % 1) * neg))>0.5) ? (int(val) + neg) : int(val);
i--;
};
} else {
i = (_tweens.length - 1);
while (i > -1) {
ti = _tweens[i];
ti.target[ti.property] = (ti.start + (ti.change * $changeFactor));
i--;
};
};
}
public function set changeFactor($n:Number):void{
updateTweens($n);
_changeFactor = $n;
}
public function get changeFactor():Number{
return (_changeFactor);
}
public function killProps($lookup:Object):void{
var i:int;
i = (this.overwriteProps.length - 1);
while (i > -1) {
if ((this.overwriteProps[i] in $lookup)){
this.overwriteProps.splice(i, 1);
};
i--;
};
i = (_tweens.length - 1);
while (i > -1) {
if ((_tweens[i].name in $lookup)){
_tweens.splice(i, 1);
};
i--;
};
}
public static function activate($plugins:Array):Boolean{
var i:int;
var instance:Object;
i = ($plugins.length - 1);
while (i > -1) {
instance = new ($plugins[i]);
TweenLite.plugins[instance.propName] = $plugins[i];
i--;
};
return (true);
}
}
}//package gs.plugins
Section 55
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class VisiblePlugin extends TweenPlugin {
protected var _target:Object;
protected var _tween:TweenLite;
protected var _visible:Boolean;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
super();
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{
_target = $target;
_tween = $tween;
_visible = Boolean($value);
return (true);
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function set changeFactor($n:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 56
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import flash.display.*;
import flash.media.*;
import gs.*;
public class VolumePlugin extends TweenPlugin {
protected var _target:Object;
protected var _st:SoundTransform;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function VolumePlugin(){
super();
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{
if (((isNaN($value)) || (!($target.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = $target;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, $value, "volume");
return (true);
}
override public function set changeFactor($n:Number):void{
updateTweens($n);
_target.soundTransform = _st;
}
}
}//package gs.plugins
Section 57
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var index:uint;
public var start:Number;
public var change:Number;
public function ArrayTweenInfo($index:uint, $start:Number, $change:Number){
super();
this.index = $index;
this.start = $start;
this.change = $change;
}
}
}//package gs.utils.tween
Section 58
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var target:Object;
public var property:String;
public var start:Number;
public var change:Number;
public var name:String;
public var isPlugin:Boolean;
public function TweenInfo($target:Object, $property:String, $start:Number, $change:Number, $name:String, $isPlugin:Boolean){
super();
this.target = $target;
this.property = $property;
this.start = $start;
this.change = $change;
this.name = $name;
this.isPlugin = $isPlugin;
}
}
}//package gs.utils.tween
Section 59
//TweenLite (gs.TweenLite)
package gs {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import gs.utils.tween.*;
import gs.plugins.*;
public class TweenLite {
public var duration:Number;
public var vars:Object;
public var delay:Number;
public var startTime:Number;
public var initTime:Number;
public var tweens:Array;
public var target:Object;
public var active:Boolean;
public var ease:Function;
public var initted:Boolean;
public var combinedTimeScale:Number;
public var gc:Boolean;
public var started:Boolean;
public var exposedVars:Object;
protected var _hasPlugins:Boolean;
protected var _hasUpdate:Boolean;
public static const version:Number = 10.09;
public static var plugins:Object = {};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var defaultEase:Function = TweenLite.easeOut;
public static var overwriteManager:Object;
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
public static var timingSprite:Sprite = new Sprite();
private static var _tlInitted:Boolean;
private static var _timer:Timer = new Timer(2000);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1};
public function TweenLite($target:Object, $duration:Number, $vars:Object){
super();
if ($target == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = $vars;
this.duration = (($duration) || (0.001));
this.delay = (($vars.delay) || (0));
this.combinedTimeScale = (($vars.timeScale) || (1));
this.active = Boolean(((($duration == 0)) && ((this.delay == 0))));
this.target = $target;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
var mode:int = (((($vars.overwrite == undefined)) || (((!(overwriteManager.enabled)) && (($vars.overwrite > 1)))))) ? overwriteManager.mode : int($vars.overwrite);
if (((!(($target in masterList))) || ((mode == 1)))){
masterList[$target] = [this];
} else {
masterList[$target].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function initTweenVals():void{
var p:String;
var i:int;
var plugin:*;
var ti:TweenInfo;
if (((!((this.exposedVars.timeScale == undefined))) && ((this.target is TweenLite)))){
this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false);
};
for (p in this.exposedVars) {
if ((p in _reservedProps)){
} else {
if ((p in plugins)){
plugin = new (plugins[p]);
if (plugin.onInitTween(this.target, this.exposedVars[p], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, p, this.target[p], ((typeof(this.exposedVars[p]))=="number") ? (this.exposedVars[p] - this.target[p]) : Number(this.exposedVars[p]), p, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(plugin, "changeFactor", 0, 1, ((plugin.overwriteProps.length)==1) ? plugin.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, p, this.target[p], ((typeof(this.exposedVars[p]))=="number") ? (this.exposedVars[p] - this.target[p]) : Number(this.exposedVars[p]), p, false);
};
};
};
if (this.vars.runBackwards == true){
i = (this.tweens.length - 1);
while (i > -1) {
ti = this.tweens[i];
ti.start = (ti.start + ti.change);
ti.change = -(ti.change);
i--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function render($t:uint):void{
var factor:Number;
var ti:TweenInfo;
var i:int;
var time:Number = (($t - this.startTime) * 0.001);
if (time >= this.duration){
time = this.duration;
factor = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
factor = this.ease(time, 0, 1, this.duration);
};
i = (this.tweens.length - 1);
while (i > -1) {
ti = this.tweens[i];
ti.target[ti.property] = (ti.start + (factor * ti.change));
i--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (time == this.duration){
complete(true);
};
}
public function complete($skipRender:Boolean=false):void{
var i:int;
if (!$skipRender){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
i = (this.tweens.length - 1);
while (i > -1) {
if (((this.tweens[i].isPlugin) && (!((this.tweens[i].target.onComplete == null))))){
this.tweens[i].target.onComplete();
};
i--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function killVars($vars:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars($vars, this.exposedVars, this.tweens);
};
}
protected function easeProxy($t:Number, $b:Number, $c:Number, $d:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function set enabled($b:Boolean):void{
var a:Array;
var found:Boolean;
var i:int;
if ($b){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
a = masterList[this.target];
i = (a.length - 1);
while (i > -1) {
if (a[i] == this){
found = true;
break;
};
i--;
};
if (!found){
a[a.length] = this;
};
};
};
this.gc = ($b) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public static function to($target:Object, $duration:Number, $vars:Object):TweenLite{
return (new TweenLite($target, $duration, $vars));
}
public static function from($target:Object, $duration:Number, $vars:Object):TweenLite{
$vars.runBackwards = true;
return (new TweenLite($target, $duration, $vars));
}
public static function delayedCall($delay:Number, $onComplete:Function, $onCompleteParams:Array=null):TweenLite{
return (new TweenLite($onComplete, 0, {delay:$delay, onComplete:$onComplete, onCompleteParams:$onCompleteParams, overwrite:0}));
}
public static function updateAll($e:Event=null):void{
var a:Array;
var i:int;
var tween:TweenLite;
var time:uint = (currentTime = getTimer());
var ml:Dictionary = masterList;
for each (a in ml) {
i = (a.length - 1);
while (i > -1) {
tween = a[i];
if (tween.active){
tween.render(time);
} else {
if (tween.gc){
a.splice(i, 1);
} else {
if (time >= tween.startTime){
tween.activate();
tween.render(time);
};
};
};
i--;
};
};
}
public static function removeTween($tween:TweenLite, $clear:Boolean=true):void{
if ($tween != null){
if ($clear){
$tween.clear();
};
$tween.enabled = false;
};
}
public static function killTweensOf($target:Object=null, $complete:Boolean=false):void{
var a:Array;
var i:int;
var tween:TweenLite;
if (((!(($target == null))) && (($target in masterList)))){
a = masterList[$target];
i = (a.length - 1);
while (i > -1) {
tween = a[i];
if ((($complete) && (!(tween.gc)))){
tween.complete(false);
};
tween.clear();
i--;
};
delete masterList[$target];
};
}
protected static function killGarbage($e:TimerEvent):void{
var tgt:Object;
var ml:Dictionary = masterList;
for (tgt in ml) {
if (ml[tgt].length == 0){
delete ml[tgt];
};
};
}
public static function easeOut($t:Number, $b:Number, $c:Number, $d:Number):Number{
$t = ($t / $d);
return ((((-($c) * $t) * ($t - 2)) + $b));
}
}
}//package gs
Section 60
//Bonus (mattel.barbie.babysitter.game.Bonus)
package mattel.barbie.babysitter.game {
import flash.display.*;
import flash.events.*;
import smashing.utils.*;
import smashing.ui.buttons.*;
public class Bonus extends MovieClip {
public var floor1LocationList:Array;
public var floor2LocationList:Array;
public var floor3LocationList:Array;
public var region:int;// = -1
public var toyHitArea:ToyButton;
private var _state:String;// = "animating"
private var _previousIndex:int;// = 0
public var gridIndex:int;// = 1
public static const ANIMATING:String = "animating";
public function Bonus(){
floor1LocationList = [31, 234, 43];
floor2LocationList = [269, 77, 39];
floor3LocationList = [201, 114];
super();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
GameData.instance.bonusObject = this;
}
private function onAddedToStage(pEvent:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
relocate();
}
private function moveToCurrentRegion():void{
var reg:Region;
_previousIndex = gridIndex;
updateGridStatus();
x = (GameData.instance.gridTools.getGridX(gridIndex) - 5);
y = GameData.instance.gridTools.getGridY(gridIndex);
}
public function leaveGame():void{
setGridArea(gridIndex, GridUtils.NONE);
gotoAndPlay("bonus");
gridIndex = -50;
}
public function relocate():void{
selectRegion();
moveToCurrentRegion();
}
public function selectRegion():void{
var gridList:Array = this[(GameData.instance.currentFloor + "LocationList")];
region = MathUtils.randomRange(0, (gridList.length - 1));
gridIndex = gridList[region];
}
private function onAnimationDone():void{
}
public function init():void{
}
public function destroy():void{
}
public function pause():void{
this.stop();
}
public function resume():void{
this.play();
}
public function toggleGate():void{
if (_state == ANIMATING){
return;
};
_state = ANIMATING;
}
public function update(dt:Number):void{
}
public function updateGridStatus():void{
if (_previousIndex != 0){
setGridArea(_previousIndex, GridUtils.NONE);
};
setGridArea(gridIndex, GridUtils.TOY);
}
private function setGridArea(index1:int, gridType:String):void{
var index2:int;
var index3:int;
var index4:int;
var util:GridUtils = GameData.instance.gridTools;
index2 = util.getNextIndex(index1, "right", true);
index3 = util.getNextIndex(index3, "front", true);
index4 = util.getNextIndex(index1, "front", true);
util.setGridIndex(index1, gridType);
util.setGridIndex(index2, gridType);
util.setGridIndex(index3, gridType);
util.setGridIndex(index4, gridType);
}
}
}//package mattel.barbie.babysitter.game
Section 61
//CallStack (mattel.barbie.babysitter.game.CallStack)
package mattel.barbie.babysitter.game {
import flash.events.*;
import flash.utils.*;
public class CallStack {
private var _callStack:Array;
private var _arguments:Array;
public var isRunning:Boolean;// = false
public var isPaused:Boolean;// = false
public var intervalID:int;// = 0
public var waitTimer:int;// = 0
public var index:int;// = 0
private var _lastTime:Number;
private var iterations:uint;// = 0
public var allowAdvance:Boolean;// = true
public var isDebugMode:Boolean;// = false
public var iterationLimit:int;// = 1000
private var _header:String;// = "CallStack"
private var _instantExecute:Boolean;// = true
static var STOP_STACK:Number = 1.79769313486232E308;
public function CallStack(instantExecute:Boolean=true){
super();
_callStack = new Array();
_arguments = new Array();
_instantExecute = instantExecute;
}
public function log(message:String):void{
if (isDebugMode){
trace(((("[" + _header) + "] ") + message));
};
}
public function call(pFunction:Function, ... _args):void{
buildCall.apply(this, [pFunction].concat(_args));
log(((((((("Function call added #" + _callStack.length) + ": ") + pFunction) + " ") + _args.length) + " args: ") + _args));
}
private function buildCall(pFun:Function, ... _args):void{
_callStack.push(pFun);
_arguments.push([].concat(_args));
}
public function begin():void{
log(((("Callstack initiated: " + index) + " of ") + _callStack.length));
start();
}
public function start():void{
if (isRunning){
return;
};
intervalID = setInterval(update, 10);
isRunning = true;
}
public function stop():void{
isRunning = false;
clearInterval(intervalID);
log(("Call Stack Stopped at " + index));
}
public function status():void{
trace(((((((("At " + index) + " Length ") + callStack.length) + " Running? ") + isRunning) + " Paused? ") + isPaused));
}
public function pause():Boolean{
isPaused = true;
log(("Paused at " + index));
return (false);
}
public function resume():void{
_lastTime = getTimer();
isPaused = false;
log(((("Resumed at " + index) + " out of ") + _callStack.length));
}
public function get callStack():Array{
return (_callStack);
}
public function setIndex(newIndex:int):Boolean{
if ((((newIndex >= 0)) && ((newIndex < _callStack.length)))){
index = newIndex;
return (true);
};
return (false);
}
public function reset():void{
index = 0;
}
public function wait(milliseconds:int):void{
this.call(startCountDown, milliseconds);
}
public function callUntilEqual(targetValue, pFunction:Function, ... _args):void{
if (pFunction == null){
return;
};
if (_args.length == 0){
this.call(this.untilFunctionEqual, targetValue, pFunction);
} else {
this.call(this.untilFunctionEqual, targetValue, pFunction, [].concat(_args));
};
}
private function untilFunctionEqual(targetValue, pFunction:Function, ... _args):Boolean{
var result:*;
if (pFunction == null){
return (false);
};
var argArray:Array = [].concat(_args);
if (argArray == null){
result = pFunction();
} else {
result = pFunction.apply(this, argArray);
};
return ((result == targetValue));
}
public function waitUntilPresent(target:Object, property:String):void{
if (!target){
return;
};
this.call(this.untilPresent, target, property);
}
private function untilPresent(target:Object, property:String):Boolean{
if (!target){
return (false);
};
if (target[property] != null){
return (true);
};
return (false);
}
public function waitUntilEqual(target:Object, property:String, targetValue):void{
if (!target){
return;
};
this.call(this.untilEqual, target, property, targetValue);
}
private function untilEqual(target:Object, property:String, targetValue):Boolean{
if (!target){
return (false);
};
return ((target[property] == targetValue));
}
public function clear():void{
this.stop();
log((("Cleared " + _callStack.length) + " items from call stack."));
_callStack.splice(0, _callStack.length);
_arguments.splice(0, _arguments.length);
index = 0;
}
private function startCountDown(milliseconds:int):Function{
_lastTime = getTimer();
waitTimer = milliseconds;
return (countDown);
}
private function countDown():Boolean{
waitTimer = (waitTimer + (_lastTime - (_lastTime = getTimer())));
return ((waitTimer <= 0));
}
public function execute(pFunction:Function, pArguments:Array){
if (pFunction != null){
if (pArguments == null){
return (pFunction());
};
return (pFunction.apply(this, [].concat(pArguments)));
};
return (null);
}
public function advanceStack():void{
index++;
}
public function update():void{
var pFunction:Function;
var pArguments:Array;
var functionReturned:*;
if (isPaused){
return;
};
if (++iterations == iterationLimit){
if (allowAdvance){
advanceStack();
};
return;
};
if (_callStack.length > 0){
pFunction = (_callStack[index] as Function);
pArguments = (_arguments[index] as Array);
if (pFunction == null){
log(("Error, callstack empty on index #" + index));
if (++index >= _callStack.length){
stop();
};
return;
};
functionReturned = execute(pFunction, pArguments);
if (typeof(functionReturned) == "function"){
_callStack[index] = functionReturned;
_arguments[index] = null;
} else {
if (((functionReturned) || ((functionReturned == null)))){
if ((((++index >= _callStack.length)) || ((index >= STOP_STACK)))){
stop();
return;
};
iterations = 0;
if (_instantExecute){
update();
};
};
};
};
}
}
}//package mattel.barbie.babysitter.game
Section 62
//EndScreen (mattel.barbie.babysitter.game.EndScreen)
package mattel.barbie.babysitter.game {
import flash.display.*;
import mattel.barbie.icanbe.games.base.*;
import flash.events.*;
import mattel.barbie.icanbe.games.events.*;
import smashing.utils.*;
import smashing.localization.*;
public class EndScreen extends MovieClip {
public var totalScore:MovieClip;
public var bestTime:MovieClip;
public var kudosCopy:MovieClip;
public var kudosHeader:MovieClip;
public function EndScreen(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
}
private function onTextReady():void{
play();
var thousands:int = (GameData.instance.score / 1000);
var hundreds:int = (GameData.instance.score % 1000);
if (GameData.instance.score > 999){
totalScore.score.txt.text = ((("" + thousands) + ",") + hundreds);
totalScore.shadow.txt.text = ((("" + thousands) + ",") + hundreds);
} else {
totalScore.score.txt.text = ("" + hundreds);
totalScore.shadow.txt.text = ("" + hundreds);
};
GameData.instance.setBestTime(GameData.instance.timeTaken);
var minutes:int = (GameData.instance.getBestTime() / 60);
var seconds:int = (GameData.instance.getBestTime() % 60);
if (seconds < 10){
bestTime.score.txt.text = ((("" + minutes) + ":0") + seconds);
bestTime.shadow.txt.text = ((("" + minutes) + ":0") + seconds);
} else {
bestTime.score.txt.text = ((("" + minutes) + ":") + seconds);
bestTime.shadow.txt.text = ((("" + minutes) + ":") + seconds);
};
var kudosName:String = "kudosCopy";
var kudosHeaderName:String = "kudosHeader";
var rank = 1;
if (GameData.instance.hasWon){
if (GameData.instance.score >= Number(GameDataManager.instance.gameConfigXML.settings.greatRank)){
rank = 3;
} else {
if (GameData.instance.score >= Number(GameDataManager.instance.gameConfigXML.settings.goodRank)){
rank = 2;
};
};
if (GameData.instance.stickerEarned){
kudosName = "stickerKudosCopy";
kudosHeaderName = "stickerKudosHeader";
};
} else {
if (GameData.instance.score >= Number(GameDataManager.instance.gameConfigXML.settings.oopsGreatRank)){
rank = 3;
} else {
if (GameData.instance.score >= Number(GameDataManager.instance.gameConfigXML.settings.oopsGoodRank)){
rank = 2;
};
};
kudosName = "oopsKudosCopy";
kudosHeaderName = "oopsKudosHeader";
};
Localization.applyLocalization(kudosHeader.base.txt, (kudosHeaderName + rank));
Localization.applyLocalization(kudosHeader.kudos.txt, (kudosHeaderName + rank));
Localization.applyLocalization(kudosHeader.shadow.txt, (kudosHeaderName + rank));
kudosCopy.txt.text = GameDataManager.instance.gameConfigXML.localization[(kudosName + rank)];
Localization.applySharedFont(kudosCopy.txt);
GameData.instance.buttonLock = false;
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PLAY_TITLE_LOOP));
}
private function onAddedToStage(event:Event):void{
FrameUtils.addFrameLabelScriptOld(this, "textReady", false, onTextReady);
}
}
}//package mattel.barbie.babysitter.game
Section 63
//Game (mattel.barbie.babysitter.game.Game)
package mattel.barbie.babysitter.game {
import flash.display.*;
import flash.media.*;
import mattel.barbie.icanbe.games.base.*;
import flash.events.*;
import mattel.barbie.icanbe.games.events.*;
import smashing.utils.*;
import smashing.ui.buttons.*;
public class Game extends MovieClip {
public var splashHub:MovieClip;
public var barbieClip:MovieClip;
public var helpPopup:MovieClip;
public var transition:MovieClip;
public var endGame:EndScreen;
public var endGamePerfect:EndScreen;
public var endGameLose:EndScreen;
public var endGameNoSticker:EndScreen;
public var musicContainer:MovieClip;
public var regionManager:RegionManager;
public var testGrid:GridUtils;
public var musicOn:Boolean;// = true
public var gameContainer:GameContainer;
public var savedMouseEvent:MouseEvent;
public var btnHelp:StandardButton;
private var _soundManager:SoundManager;
private var _isGridOn:Boolean;// = false
private var isFirstTimePlayed:Boolean;// = true
public function Game(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDownClick, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, onMouseClick, false, 0, true);
stage.addEventListener(BarbieGameEvents.GAME_OVER, onGameOver);
regionManager = new RegionManager();
GameData.instance.regionManager = regionManager;
}
private function loadGrid(inputXML:XMLList):void{
var pXml:XML;
var xml:XMLList = inputXML;
GameData.instance.clearGrids();
for each (pXml in xml) {
GameData.instance.grid.push(pXml);
GameData.instance.overlay.push("none");
GameData.instance.bestPath.push("none");
GameData.instance.secondPath.push("none");
};
}
private function loadBestPath(inputXML:XMLList):void{
var pXml:XML;
var xml:XMLList = inputXML;
for each (pXml in xml) {
GameData.instance.bestPath[Number(pXml.@index)] = pXml.@dir;
};
}
private function loadSecondPath(inputXML:XMLList):void{
var pXml:XML;
var xml:XMLList = inputXML;
for each (pXml in xml) {
GameData.instance.secondPath[Number(pXml.@index)] = pXml.@dir;
};
}
private function onAddedToStage(event:Event):void{
barbieClip.gotoAndPlay("intro");
helpPopup.visible = false;
_soundManager = new SoundManager();
addChild(_soundManager);
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PLAY_TITLE_LOOP));
GameData.instance.restoreGameData();
testGrid = new GridUtils();
testGrid.init();
_isGridOn = false;
testGrid.addEventListener(MouseEvent.CLICK, onMouseClickGrid, false, 0, true);
}
private function onMouseClickGrid(pEvent:MouseEvent):void{
var field:int = int(pEvent.target.name);
if (GameData.instance.buildingBestPath){
GameData.instance.gridTools.onGridListenerClicked(field);
return;
};
if (GameData.instance.grid[field] == "open"){
GameData.instance.grid[field] = "closed";
} else {
GameData.instance.grid[field] = "open";
};
testGrid.graphics.clear();
testGrid.drawGrid();
}
private function onGameOver(pEvent:BarbieGameEvents):void{
TimerManager.instance.startTimer(launchEndGame, 500);
}
private function launchEndGame():void{
gameContainer.pause();
onEndGameReady();
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.STOP_LOOP));
GameDataManager.instance.gameCompleted();
}
private function onEndGameReady():void{
gotoAndStop("endGame");
FrameUtils.addFrameLabelScriptOld(this, "endGame", false, onEndGameLoaded);
}
private function onEndGameLoaded():void{
if (GameData.instance.hasWon){
MovieClip(root).api.MattelGameAPICall("game_won", ("score=" + GameData.instance.score));
GameDataManager.instance.updateAction("win");
if (GameData.instance.stickerEarned){
endGame = endGamePerfect;
} else {
endGame = endGameNoSticker;
};
FrameUtils.addFrameLabelScriptOld(endGame, "skipFrame", false, onTextReady);
} else {
MovieClip(root).api.MattelGameAPICall("game_lost", ("score=" + GameData.instance.score));
endGame = endGameLose;
};
endGame.gotoAndPlay("intro");
}
private function onTextReady():void{
barbieClip.gotoAndPlay("splashScreenIntro");
}
private function onHelpBtnClicked():void{
if (helpPopup.visible){
onHelpCloseClicked();
return;
};
GameData.instance.helpOpen = true;
helpPopup.visible = true;
helpPopup.gotoAndPlay("intro");
if (gameContainer){
gameContainer.pause();
};
}
private function onMusicBtnClicked():void{
if (musicOn){
musicContainer.gotoAndStop(2);
_soundManager.mute = true;
musicOn = false;
} else {
musicContainer.gotoAndStop(1);
_soundManager.mute = false;
musicOn = true;
};
}
private function onHelpCloseClicked():void{
helpPopup.gotoAndPlay("outro");
FrameUtils.addFrameLabelScriptOld(helpPopup, "outro", true, onHelpClosed);
GameData.instance.helpOpen = false;
if (gameContainer){
if (GameData.instance.firstHelpWindowOpen){
GameData.instance.firstHelpWindowOpen = false;
TimerManager.instance.startTimer(gameContainer.startFirstLevel, 500);
} else {
gameContainer.unpause();
};
};
}
private function onHelpClosed():void{
helpPopup.visible = false;
}
private function onStartBtnClicked():void{
barbieClip.gotoAndPlay("outro");
splashHub.gotoAndPlay("splashOutro");
FrameUtils.addFrameLabelScriptOld(splashHub, "hubLoaded", false, onHubLoaded);
FrameUtils.addFrameLabelScriptOld(splashHub, "hubOn", false, onHubReady);
}
private function onPlayBtnClicked(theme:String, floorNum:int):void{
loadGrid(GameDataManager.instance.gameConfigXML.settings[("grid" + floorNum)].tile);
loadBestPath(GameDataManager.instance.gameConfigXML.settings[("grid" + floorNum)].best);
loadSecondPath(GameDataManager.instance.gameConfigXML.settings[("grid" + floorNum)].second);
GameData.instance.currentFloor = theme;
GameData.instance.level = floorNum;
GameDataManager.instance.track(theme);
splashHub.gotoAndPlay("hubOutro");
FrameUtils.addFrameLabelScriptOld(splashHub, "outroEnd", false, onSplashOutroDone);
splashHub.mouseEnabled = false;
splashHub.mouseChildren = false;
}
private function onSplashOutroDone():void{
onHelpBtnClicked();
TimerManager.instance.startTimer(setupGame, 200);
}
private function setupGame():void{
gotoAndStop("game");
FrameUtils.addFrameLabelScriptOld(this, "game", false, onGameReady);
}
private function onGameReady():void{
gameContainer.hud.clip.score.text = "0";
if (isFirstTimePlayed){
MovieClip(root).api.MattelGameAPICall("game_play", "difficulty=");
isFirstTimePlayed = false;
} else {
MovieClip(root).api.MattelGameAPICall("game_replay", "");
};
}
private function onReplay():void{
GameDataManager.instance.gameRestarted();
GameData.instance.isReplay = true;
GameData.instance.score = 0;
GameData.instance.level = 1;
GameData.instance.hasWon = false;
GameData.instance.stickerEarned = false;
GameData.instance.dogIndex = -100;
endGame.gotoAndPlay("outro");
FrameUtils.addFrameLabelScriptOld(endGame, "transition", false, onReplayTransition);
}
private function onReplayTransition():void{
FrameUtils.addFrameLabelScriptOld(endGame, "transition", false, null);
gotoAndStop("splashHub");
FrameUtils.addFrameLabelScriptOld(this, "splashHub", false, onSplashReady);
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PLAY_TITLE_LOOP));
}
private function onSplashReady():void{
FrameUtils.addFrameLabelScriptOld(this, "splashHub", false, null);
FrameUtils.addFrameLabelScriptOld(splashHub, "hubLoaded", false, onHubLoaded);
FrameUtils.addFrameLabelScriptOld(splashHub, "hubOn", false, onHubReady);
splashHub.gotoAndPlay("hubIntro");
}
private function onHubLoaded():void{
FrameUtils.addFrameLabelScriptOld(splashHub, "hubLoaded", false, null);
if (GameData.instance.codeUnlocked){
splashHub.pottyChart.floor2.gotoAndStop("active");
splashHub.pottyChart.floor3.gotoAndStop("active");
} else {
splashHub.pottyChart.floor2.gotoAndStop("locked");
splashHub.pottyChart.floor3.gotoAndStop("locked");
};
splashHub.pottyChart.sticker1.visible = false;
splashHub.pottyChart.sticker2.visible = false;
splashHub.pottyChart.sticker3.visible = false;
if (GameData.instance.floor1Perfect){
splashHub.pottyChart.sticker1.visible = true;
};
if (GameData.instance.floor2Perfect){
splashHub.pottyChart.sticker2.visible = true;
};
if (GameData.instance.floor3Perfect){
splashHub.pottyChart.sticker3.visible = true;
};
}
private function onHubReady():void{
}
private function toggleGrid():void{
if (_isGridOn){
testGrid.removeNumbers();
gameContainer.removeChild(testGrid);
} else {
testGrid.drawGrid();
gameContainer.addChildAt(testGrid, 4);
testGrid.numberGrid();
};
_isGridOn = !(_isGridOn);
}
private function skipPayoff():void{
SoundMixer.stopAll();
endGame.gotoAndPlay("skipFrame");
}
private function onGateClicked(pEvent:MouseEvent):void{
var gateName:String = "gate1";
var pGate:Gate = (pEvent.target.parent as Gate);
gameContainer.onGateClicked(pGate.name);
savedMouseEvent = null;
}
private function onToyClicked(pEvent:MouseEvent):void{
var toyName:String = "toy1";
var pToy:Toy = (pEvent.target.parent as Toy);
gameContainer.onToyClicked(pToy);
}
private function onDogClicked(pEvent:MouseEvent):void{
gameContainer.onDogClicked();
}
private function saveGate(pEvent:MouseEvent):void{
savedMouseEvent = pEvent;
}
private function checkSavedGate():void{
if (savedMouseEvent){
onGateClicked(savedMouseEvent);
savedMouseEvent = null;
};
}
private function onMouseDownClick(pEvent:MouseEvent):void{
switch (pEvent.target.name){
default:
break;
case "gateHitArea":
saveGate(pEvent);
break;
};
}
private function onMouseClick(pEvent:MouseEvent):void{
if (_isGridOn){
onMouseClickGrid(pEvent);
switch (pEvent.target.name){
default:
break;
case "btnMusic":
onMusicBtnClicked();
break;
case "btnMusicOff":
onMusicBtnClicked();
break;
case "btnSaveGrid":
testGrid.saveGrid();
break;
case "btnViewGrid":
toggleGrid();
break;
};
return;
};
switch (pEvent.target.name){
default:
checkSavedGate();
break;
case "btnSkip":
skipPayoff();
break;
case "btnMusic":
onMusicBtnClicked();
break;
case "btnMusicOff":
onMusicBtnClicked();
break;
case "floor1":
onPlayBtnClicked("floor1", 1);
break;
case "floor2":
onPlayBtnClicked("floor2", 2);
break;
case "floor3":
onPlayBtnClicked("floor3", 3);
break;
case "play1":
onPlayBtnClicked("floor1", 1);
break;
case "play2":
onPlayBtnClicked("floor2", 2);
break;
case "play3":
onPlayBtnClicked("floor3", 3);
break;
case "btnStart":
GameDataManager.instance.track("play");
onStartBtnClicked();
break;
case "btnHelp":
onHelpBtnClicked();
break;
case "btnCloseHelp":
case "btnResume":
onHelpCloseClicked();
break;
case "btnReplay":
onReplay();
break;
case "btnSaveGrid":
testGrid.saveGrid();
break;
case "btnViewGrid":
toggleGrid();
break;
case "gateHitArea":
onGateClicked(pEvent);
break;
case "toyHitArea":
onToyClicked(pEvent);
break;
case "dogHitArea":
onDogClicked(pEvent);
break;
case "hitRegion":
onToyClicked(pEvent);
break;
case "btnGo":
GameDataManager.instance.showCodeEntryPanel();
break;
};
}
}
}//package mattel.barbie.babysitter.game
Section 64
//GameContainer (mattel.barbie.babysitter.game.GameContainer)
package mattel.barbie.babysitter.game {
import flash.display.*;
import mattel.barbie.icanbe.games.base.*;
import flash.events.*;
import flash.utils.*;
import mattel.barbie.icanbe.games.events.*;
import smashing.interval.*;
import smashing.utils.*;
public class GameContainer extends MovieClip {
public var kelly:Kelly;
public var dog:MovingObject;
public var hud:MovieClip;
public var ready:MovieClip;
public var iris:MovieClip;
public var toiletPayoff:MovieClip;
public var fastLoopOn:Boolean;// = false
public var gate1:Gate;
public var toy1:Toy;
public var regionManager:RegionManager;
private var _roundTimer:Number;// = 90
private var _baseTimer:Number;// = 90
private var _intervalEngine:IntervalEngine;
private var _gameOver:Boolean;// = false
private var _readyInitiated:Boolean;// = false
public function GameContainer(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
GameData.instance.game = this;
}
public function removeListeners(){
_intervalEngine.removeEventListener(IntervalEvent.INTERVAL, intervalHandler);
_intervalEngine.stop();
_intervalEngine = null;
}
public function resetLevelData(level:int=0):void{
prepareLevel();
}
public function displayBonus():void{
toiletPayoff.gotoAndPlay(2);
}
private function stopLoop():void{
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.STOP_LOOP));
}
public function init():void{
_gameOver = false;
}
public function prepareLevel():void{
_readyInitiated = true;
FrameUtils.addFrameLabelScriptOld(ready, "end", false, onReadyDone);
FrameUtils.addFrameLabelScriptOld(iris, "toiletIrisEnd", false, onToiletIrisEnd);
iris.x = Number(GameData.instance.gameSettings.settings[(GameData.instance.currentFloor + "EndX")]);
iris.y = Number(GameData.instance.gameSettings.settings[(GameData.instance.currentFloor + "EndY")]);
iris.gotoAndPlay("toiletIris");
}
public function onReadyDone():void{
_readyInitiated = false;
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PLAY_MAIN_LOOP));
startLevel();
}
public function startFirstLevel():void{
prepareLevel();
hud.gotoAndPlay("intro");
}
public function startLevel():void{
if (GameData.instance.helpOpen){
return;
};
_intervalEngine.start();
kelly.beginStep(30, "front");
dog.beginStep(30, "right");
}
public function gameOver(hasWon:Boolean=false):void{
GameData.instance.regionManager.resetRegions();
GameData.instance.resetLevel();
hud.clip.clockGlow.visible = false;
GameData.instance.hasWon = hasWon;
iris.x = (kelly.x - 2);
iris.y = (kelly.y - 40);
if (hasWon){
iris.y = (iris.y - 15);
};
GameData.instance.timeTaken = (_baseTimer - _roundTimer);
iris.gotoAndPlay("outro");
TimerManager.instance.startTimer(dispatchGameOver, 2000);
GameData.instance.score = (GameData.instance.score + (_roundTimer * 100));
_roundTimer = 0;
}
public function hideMainHud():void{
hud.gotoAndPlay("outro");
}
public function destroy():void{
TimerManager.instance.clearAllTimers();
_intervalEngine.stop();
_intervalEngine = null;
}
private function dispatchGameOver():void{
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.GAME_OVER));
}
private function onAddedToStage(event:Event):void{
GameData.instance.game = this;
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
_intervalEngine = new IntervalEngine();
_intervalEngine.addEventListener(IntervalEvent.INTERVAL, intervalHandler);
GameData.instance.gameSettings = GameDataManager.instance.gameConfigXML;
GameData.instance.walkSpeed = Number(GameData.instance.gameSettings.settings.walkSpeed);
this.addEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
GameData.instance.firstHelpWindowOpen = true;
gotoAndStop(GameData.instance.currentFloor);
FrameUtils.addFrameLabelScriptOld(this, GameData.instance.currentFloor, false, onFloorReady);
}
private function onFloorReady():void{
var _local1 = this;
_local1[(("" + GameData.instance.currentFloor) + "Init")]();
}
private function removeFromStageHandler(event:Event):void{
this.removeEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
destroy();
}
public function pause():void{
trace((getQualifiedClassName(this) + " :: Game paused"));
_intervalEngine.stop();
TimerManager.instance.pauseAllTimers();
if (_readyInitiated){
ready.stop();
};
}
public function unpause():void{
trace((getQualifiedClassName(this) + " :: Game unpaused"));
if (_readyInitiated){
ready.play();
} else {
_intervalEngine.start();
TimerManager.instance.pauseAllTimers(false);
};
}
private function onToiletIrisEnd():void{
ready.gotoAndPlay("start");
iris.x = kelly.x;
iris.y = (kelly.y - 35);
iris.gotoAndPlay("intro");
}
private function intervalHandler(pEvent:IntervalEvent):void{
var ratio:Number;
var frame:int;
var dt:Number = pEvent.elapsedTime;
kelly.update(dt);
if (_roundTimer != 0){
dog.update(dt);
_roundTimer = (_roundTimer - dt);
if (_roundTimer <= 0){
_roundTimer = 0;
kelly.loseAnim();
TimerManager.instance.startTimer(gameOver, 4200);
return;
};
ratio = (_roundTimer / _baseTimer);
ratio = (1 - ratio);
frame = Math.floor((ratio * Number(hud.clip.clock.totalFrames)));
if (ratio > 0.85){
hud.clip.clockGlow.visible = true;
kelly.setPanic();
if (!fastLoopOn){
fastLoopOn = true;
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PLAY_FAST_LOOP));
};
} else {
hud.clip.clockGlow.visible = false;
if (fastLoopOn){
fastLoopOn = false;
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PLAY_MAIN_LOOP));
};
};
hud.clip.clock.gotoAndStop(frame);
};
}
public function onGateClicked(gateName:String):void{
Gate(this[gateName]).toggleGate();
}
public function onToyClicked(pToy:Toy):void{
if (((pToy.isNotAnimating) && (pToy.isActive))){
GameData.instance.addScore(20);
pToy.relocate();
};
}
public function onDogClicked():void{
dog.redirectMovement();
}
private function floor1Init():void{
GameData.instance.level = 1;
Gate(this["gate1"]).init(117, Gate.UP_LEFT);
Gate(this["gate2"]).init(180, Gate.UP_RIGHT);
Gate(this["gate3"]).init(131, Gate.DOWN_LEFT);
Gate(this["gate4"]).init(227, Gate.DOWN_LEFT);
Gate(this["gate5"]).init(295, Gate.UP_LEFT);
Gate(this["gate6"]).init(218, Gate.DOWN_RIGHT);
Gate(this["gate7"]).init(189, Gate.UP_LEFT);
}
private function floor2Init():void{
GameData.instance.level = 2;
Gate(this["gate1"]).init(122, Gate.UP_RIGHT);
Gate(this["gate2"]).init(245, Gate.DOWN_LEFT);
Gate(this["gate3"]).init(251, Gate.DOWN_LEFT);
Gate(this["gate4"]).init(228, Gate.UP_RIGHT);
}
private function floor3Init():void{
GameData.instance.level = 3;
Gate(this["gate1"]).init(84, Gate.UP_RIGHT);
Gate(this["gate2"]).init(248, Gate.DOWN_LEFT);
Gate(this["gate3"]).init(210, Gate.DOWN_LEFT);
Gate(this["gate4"]).init(166, Gate.UP_LEFT);
}
}
}//package mattel.barbie.babysitter.game
Section 65
//GameData (mattel.barbie.babysitter.game.GameData)
package mattel.barbie.babysitter.game {
import flash.display.*;
import mattel.barbie.icanbe.games.base.*;
import smashing.utils.*;
public class GameData {
public var overlay:Array;
public var grid:Array;
public var bestPath:Array;
public var secondPath:Array;
public var objects:Array;
public var useSecondaryPath:Boolean;// = false
public var dogIndex:int;// = 0
public var kellyIndex:int;// = 0
public var goalIndex:int;// = -1
public var nextDirection:String;// = "none"
public var bestDirection:String;// = "none"
public var bestTime1:Number;// = 10000
public var bestTime2:Number;// = 10000
public var bestTime3:Number;// = 10000
public var timeTaken:Number;// = 0
public var score:int;// = 0
public var bestScore:int;// = 0
public var currentScore:int;// = 0
public var level:int;// = 1
public var walkSpeed:Number;// = 10
public var hasWon:Boolean;// = false
public var isReplay:Boolean;// = false
public var buttonLock:Boolean;// = false
public var buildingBestPath:Boolean;// = false
public var stickerEarned:Boolean;// = false
public var firstAwardEarned:Boolean;// = false
public var secondAwardEarned:Boolean;// = false
public var codeUnlocked:Boolean;// = false
public var floor1Perfect:Boolean;// = false
public var floor2Perfect:Boolean;// = false
public var floor3Perfect:Boolean;// = false
public var floorNum:int;// = 1
public var currentFloor:String;
public var gridTools:GridUtils;
public var bonusObject:Bonus;
public var regionManager:RegionManager;
public var cursor:String;// = "none"
public var main:MovieClip;
public var game:GameContainer;
public var ui:MovieClip;
public var trackingEnabled:Boolean;
public var gameName:String;
public var currentInGameMusic:int;// = 0
public var config:XML;
public var gameSettings:XML;
public var isMusic:Boolean;// = true
public var helpOpen:Boolean;// = false
public var firstHelpWindowOpen:Boolean;// = false
private var _visited:Boolean;// = false
private static var _instance:GameData;
public function GameData(){
overlay = [];
grid = [];
bestPath = [];
secondPath = [];
objects = [];
super();
}
public function setBestTime(newTime:Number):void{
if (newTime < this[("bestTime" + level)]){
this[("bestTime" + level)] = newTime;
GameData.instance.updateGameData();
};
}
public function getBestTime():Number{
return (this[("bestTime" + level)]);
}
public function clearGrids():void{
grid.splice(0, grid.length);
overlay.splice(0, overlay.length);
secondPath.splice(0, secondPath.length);
bestPath.splice(0, bestPath.length);
}
public function resetLevel():void{
resetGridOverlay();
objects.splice(0, objects.length);
}
public function resetGridOverlay():void{
var i:int;
while (i < overlay.length) {
overlay[i] = GridUtils.NONE;
i++;
};
}
public function addObject(pObj):void{
objects.push(pObj);
}
public function removeObject(pObj:Toy):void{
var toy:Toy;
var i:int;
while (i < objects.length) {
toy = Toy(objects[i]);
if (toy.name == pObj.name){
regionManager.addRegion(toy.region);
objects.splice(i, 1);
break;
};
i++;
};
}
public function isBonusCollision(kelly:Kelly):Boolean{
var index:int = kelly.gridIndex;
if (gridTools.checkObjectOverlap(index, bonusObject.gridIndex)){
game.displayBonus();
bonusObject.leaveGame();
return (true);
};
return (false);
}
public function handleObjectCollision(kelly:Kelly):Boolean{
var toy:Toy;
var index:int = kelly.gridIndex;
var i:int;
while (i < objects.length) {
toy = Toy(objects[i]);
if (((toy.isNotAnimating) && (gridTools.checkObjectOverlap(index, toy.gridIndex)))){
toy.disableButton();
kelly.gotoAndStop("distracted");
toy.leaveGame();
toy.gotoAndPlay("distract");
return (true);
};
i++;
};
return (false);
}
public function destroy():void{
gridTools = null;
grid.splice(0, grid.length);
grid = null;
objects.splice(0, objects.length);
objects = null;
}
public function addScore(points:int):void{
score = (score + points);
if (score > bestScore){
bestScore = score;
};
game.hud.clip.score.text = ("" + score);
}
public function getRandomIndex(sourceList:Array, seedList:Array):int{
var totalSeed:int;
if (((!((sourceList.length == seedList.length))) || ((seedList.length < 1)))){
return (0);
};
var i:int;
while (i < seedList.length) {
totalSeed = (totalSeed + Number(seedList[i]));
i++;
};
totalSeed = MathUtils.randomRange(1, totalSeed);
i = 0;
while (i < sourceList.length) {
totalSeed = (totalSeed - seedList[i]);
if (totalSeed <= 0){
return (i);
};
i++;
};
return (0);
}
public function restoreGameData():void{
var i:int;
var pairs:Array;
var element:String;
var dataString:String = String(GameDataManager.instance.gameData);
var dataPairs:Array = dataString.split("&");
var numberOfItems:int = dataPairs.length;
var dataObject:Object = new Object();
codeUnlocked = GameDataManager.instance.unlocked;
if (GameDataManager.instance.gameConfigXML.settings.unlocked == "true"){
codeUnlocked = true;
};
i = 0;
while (i < numberOfItems) {
element = dataPairs[i];
pairs = element.split("=");
dataObject[pairs[0]] = pairs[1];
i++;
};
if (dataObject["visited"] == "true"){
_visited = true;
};
if (dataObject["bestTime1"] != null){
bestTime1 = int(dataObject["bestTime1"]);
};
if (dataObject["bestTime2"] != null){
bestTime2 = int(dataObject["bestTime2"]);
};
if (dataObject["bestTime3"] != null){
bestTime2 = int(dataObject["bestTime3"]);
};
if (dataObject["sticker1"] == "true"){
floor1Perfect = true;
};
if (dataObject["sticker2"] == "true"){
floor2Perfect = true;
};
if (dataObject["sticker3"] == "true"){
floor3Perfect = true;
};
}
public function resetGameData():void{
var dataString:String;
dataString = ("visited=" + _visited);
dataString = (dataString + ("&unlocked=" + false));
dataString = (dataString + ("&bestScore=" + bestScore));
dataString = (dataString + ("&bestTime1=" + bestTime1));
dataString = (dataString + ("&bestTime2=" + bestTime2));
dataString = (dataString + ("&bestTime3=" + bestTime3));
dataString = (dataString + ("&sticker1=" + false));
dataString = (dataString + ("&sticker2=" + false));
dataString = (dataString + ("&sticker3=" + false));
GameDataManager.instance.gameData = dataString;
}
public function updateGameData():void{
var dataString:String;
dataString = ("visited=" + _visited);
dataString = (dataString + ("&unlocked=" + codeUnlocked));
dataString = (dataString + ("&bestScore=" + bestScore));
dataString = (dataString + ("&bestTime1=" + bestTime1));
dataString = (dataString + ("&bestTime2=" + bestTime2));
dataString = (dataString + ("&sticker1=" + floor1Perfect));
dataString = (dataString + ("&sticker2=" + floor2Perfect));
dataString = (dataString + ("&sticker3=" + floor3Perfect));
GameDataManager.instance.gameData = dataString;
}
public static function get instance():GameData{
if (_instance == null){
_instance = new (GameData);
};
return (_instance);
}
}
}//package mattel.barbie.babysitter.game
Section 66
//Gate (mattel.barbie.babysitter.game.Gate)
package mattel.barbie.babysitter.game {
import flash.display.*;
import flash.events.*;
import smashing.utils.*;
public class Gate extends MovieClip {
public var currentGrid:int;// = 0
public var type:String;// = "upLeft"
public var hatchType:String;// = "none"
public var mc:MovieClip;
private var _state:String;// = "horizontal"
private var _callstack:CallStack;
public static const UP_LEFT:String = "upLeft";
public static const UP_RIGHT:String = "upRight";
public static const DOWN_LEFT:String = "downLeft";
public static const DOWN_RIGHT:String = "downRight";
public static const ANIMATING:String = "animating";
public static const HORIZONTAL:String = "horizontal";
public static const VERTICAL:String = "vertical";
public function Gate(){
super();
useHandCursor = true;
buttonMode = true;
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
}
private function onAddedToStage(pEvent:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
FrameUtils.addFrameLabelScriptOld(this, "vertical", false, onAnimationDone);
FrameUtils.addFrameLabelScriptOld(this, "horizontal", false, onAnimationDone);
}
private function onAnimationDone():void{
stop();
if (currentLabel == "horizontal"){
_state = HORIZONTAL;
} else {
_state = VERTICAL;
};
updateGridStatus();
}
public function init(gridIndex:int, pType:String, pHatch:String="none"):void{
hatchType = pHatch;
currentGrid = gridIndex;
type = pType;
updateGridStatus();
}
public function updateGridStatus():void{
var horizType:String;
var vertType:String;
var horizDir:String;
var vertDir:String;
var index1:int;
var index2:int;
var index3:int;
var index4:int;
var index5:int;
var index6:int;
var index7:int;
var index8:int;
var buildExtraIndex:Boolean;
var isLeftGate:Boolean;
var util:GridUtils = GameData.instance.gridTools;
if (_state == HORIZONTAL){
buildExtraIndex = true;
horizType = GridUtils.CLOSED;
if (hatchType == _state){
vertType = GridUtils.CLOSED;
} else {
vertType = GridUtils.NONE;
};
} else {
vertType = GridUtils.CLOSED;
if (hatchType == _state){
horizType = GridUtils.CLOSED;
} else {
horizType = GridUtils.NONE;
};
};
switch (type){
case UP_RIGHT:
horizDir = "right";
vertDir = "back";
break;
case DOWN_RIGHT:
horizDir = "right";
vertDir = "front";
break;
case UP_LEFT:
horizDir = "left";
vertDir = "back";
isLeftGate = true;
break;
case DOWN_LEFT:
horizDir = "left";
vertDir = "front";
isLeftGate = true;
break;
};
index1 = util.getNextIndex(currentGrid, horizDir, true);
index2 = util.getNextIndex(index1, horizDir, true);
index3 = util.getNextIndex(currentGrid, vertDir, true);
index4 = util.getNextIndex(index3, vertDir, true);
index5 = util.getNextIndex(index1, "back", true);
index6 = util.getNextIndex(index2, "back", true);
index7 = util.getNextIndex(index3, "left", true);
index8 = util.getNextIndex(index4, "left", true);
util.setGridIndex(index1, horizType);
util.setGridIndex(index2, horizType);
util.setGridIndex(index3, vertType);
util.setGridIndex(index4, vertType);
if (buildExtraIndex){
if (index5 != 0){
util.setGridIndex(index5, "closed");
};
if (index6 != 0){
util.setGridIndex(index6, "closed");
};
} else {
if (index5 != 0){
util.setGridIndex(index5, "none");
};
if (index6 != 0){
util.setGridIndex(index6, "none");
};
};
if (isLeftGate){
if (_state == VERTICAL){
if (index7 != 0){
util.setGridIndex(index7, "closed");
};
if (index8 != 0){
util.setGridIndex(index8, "closed");
};
} else {
if (index7 != 0){
util.setGridIndex(index7, "none");
};
if (index8 != 0){
util.setGridIndex(index8, "none");
};
};
};
util.redraw();
util = null;
}
public function destroy():void{
}
public function pause():void{
this.stop();
}
public function resume():void{
this.play();
}
public function isGridBoxOccupied(baseIndex:int, dir1:String, dir2:String, threeGridCheck:Boolean=true):Boolean{
var index:int;
var util:GridUtils = GameData.instance.gridTools;
var isBlocked:Boolean = isGridLineOccupied(baseIndex, dir1, threeGridCheck);
return (isBlocked);
}
public function isGridOccupied(index:int):Boolean{
if ((((index == GameData.instance.kellyIndex)) || ((index == GameData.instance.dogIndex)))){
return (true);
};
return (false);
}
public function isGridLineOccupied(baseIndex:int, dir1:String, threeGridCheck:Boolean=true):Boolean{
var util:GridUtils = GameData.instance.gridTools;
var index:int = util.getNextIndex(baseIndex, dir1);
var i = 2;
if (threeGridCheck){
i = 2;
};
while (i > 0) {
if ((((index == GameData.instance.kellyIndex)) || ((index == GameData.instance.dogIndex)))){
return (true);
};
index = util.getNextIndex(index, dir1);
i--;
};
return (false);
}
public function gateBlocked():Boolean{
var dir1:String = "none";
var dir2:String = "none";
var gridPoint:int = currentGrid;
var util:GridUtils = GameData.instance.gridTools;
var isBlocked:Boolean;
switch (type){
case UP_RIGHT:
gridPoint = util.getNextIndex(currentGrid, "right");
isBlocked = isGridBoxOccupied(gridPoint, "back", "back", false);
if (!isBlocked){
gridPoint = util.getNextIndex(currentGrid, "back");
gridPoint = util.getNextIndex(gridPoint, "back");
isBlocked = isGridOccupied(gridPoint);
};
break;
case DOWN_RIGHT:
gridPoint = util.getNextIndex(currentGrid, "right");
gridPoint = util.getNextIndex(gridPoint, "back");
isBlocked = isGridBoxOccupied(gridPoint, "front", "front", false);
break;
case UP_LEFT:
gridPoint = util.getNextIndex(currentGrid, "front");
gridPoint = util.getNextIndex(gridPoint, "left");
gridPoint = util.getNextIndex(gridPoint, "left");
isBlocked = isGridBoxOccupied(gridPoint, "back", "back");
if (!isBlocked){
gridPoint = util.getNextIndex(currentGrid, "left");
gridPoint = util.getNextIndex(gridPoint, "back");
gridPoint = util.getNextIndex(gridPoint, "back");
isBlocked = isGridOccupied(gridPoint);
};
break;
case DOWN_LEFT:
gridPoint = util.getNextIndex(currentGrid, "front");
gridPoint = util.getNextIndex(gridPoint, "front");
gridPoint = util.getNextIndex(gridPoint, "left");
gridPoint = util.getNextIndex(gridPoint, "left");
isBlocked = isGridBoxOccupied(gridPoint, "back", "back");
if (!isBlocked){
gridPoint = util.getNextIndex(currentGrid, "front");
gridPoint = util.getNextIndex(gridPoint, "left");
isBlocked = isGridOccupied(gridPoint);
};
break;
};
if (isBlocked){
if (_state == HORIZONTAL){
gotoAndPlay("horizontalFail");
} else {
gotoAndPlay("verticalFail");
};
};
return (isBlocked);
}
public function toggleGate():void{
if (_state == ANIMATING){
return;
};
if (gateBlocked()){
return;
};
if (_state == HORIZONTAL){
gotoAndPlay("transitionToVertical");
} else {
gotoAndPlay("transitionToHorizontal");
};
_state = ANIMATING;
}
public function update(dt:Number):void{
}
}
}//package mattel.barbie.babysitter.game
Section 67
//GridUtils (mattel.barbie.babysitter.game.GridUtils)
package mattel.barbie.babysitter.game {
import flash.display.*;
import mattel.barbie.icanbe.games.base.*;
import flash.events.*;
import flash.text.*;
public class GridUtils extends MovieClip {
public var rowCount:int;
public var colCount:int;
public var gridSize:int;
public var startX:int;
public var startY:int;
public var numberList:Array;
public var pathStack:CallStack;
public var gridListenerIndex:int;// = 0
public var lastGridSet:int;// = 0
public static const EMPTY:String = "empty";
public static const GATE_DOWN:String = "gateDown";
public static const GATE_UP:String = "gateUp";
public static const OPEN:String = "open";
public static const CLOSED:String = "closed";
public static const NONE:String = "none";
public static const WALL:String = "wall";
public static const ROLL:String = "roll";
public static const TOY:String = "toy";
public static const FINISH:String = "finish";
public function GridUtils(){
numberList = [];
super();
GameData.instance.gridTools = this;
pathStack = new CallStack();
}
public function init():void{
rowCount = Number(GameDataManager.instance.gameConfigXML.settings.rowCount);
colCount = Number(GameDataManager.instance.gameConfigXML.settings.colCount);
gridSize = Number(GameDataManager.instance.gameConfigXML.settings.gridSize);
startX = Number(GameDataManager.instance.gameConfigXML.settings.startX);
startY = Number(GameDataManager.instance.gameConfigXML.settings.startY);
lastGridSet = 0;
gridListenerIndex = 0;
}
public function launchBestPathInput():void{
GameData.instance.buildingBestPath = true;
modifyGrid(buildStack);
pathStack.begin();
}
public function setBaseGridIndex(index:int, gridType:String, exception:String="closed"):void{
if (GameData.instance.grid[index] != exception){
GameData.instance.grid[index] = gridType;
};
}
public function setGridIndex(index:int, gridType:String):void{
GameData.instance.overlay[index] = gridType;
}
public function getGridStatus(index:int):String{
if (String(GameData.instance.overlay[index]) != "none"){
return (String(GameData.instance.overlay[index]));
};
return (String(GameData.instance.grid[index]));
}
public function checkObjectOverlap(index:int, objectIndex:int):Boolean{
if ((((((((((((((((((objectIndex == index)) || ((objectIndex == (index + 1))))) || ((objectIndex == (index - 1))))) || ((objectIndex == (index + colCount))))) || ((objectIndex == (index - colCount))))) || ((objectIndex == ((index - colCount) - 1))))) || ((objectIndex == ((index - colCount) + 1))))) || ((objectIndex == ((index + colCount) - 1))))) || ((objectIndex == ((index + colCount) + 1))))){
return (true);
};
return (false);
}
public function getNextIndex(index:int, direction:String, move:Boolean=true):int{
var nextIndex:int;
switch (direction){
default:
nextIndex = index;
break;
case "left":
nextIndex = (index - 1);
break;
case "right":
if (move){
nextIndex = (index + 1);
} else {
nextIndex = (index + 2);
};
break;
case "front":
if (move){
nextIndex = (index + colCount);
} else {
nextIndex = (index + (colCount * 2));
};
break;
case "back":
nextIndex = (index - colCount);
break;
};
return (nextIndex);
}
public function openTest(index:int, direction:String, canUseToys:Boolean=false):Boolean{
var nextIndex:int = getNextIndex(index, direction);
if (nextIndex < 0){
return (false);
};
switch (getGridStatus(nextIndex)){
default:
break;
case OPEN:
return (true);
case WALL:
break;
case TOY:
return (canUseToys);
case CLOSED:
return (false);
case GATE_UP:
if ((((direction == "left")) || ("right"))){
return (false);
};
return (true);
case GATE_DOWN:
if ((((direction == "front")) || ("back"))){
return (false);
};
return (true);
case FINISH:
GameData.instance.nextDirection = direction;
return (true);
};
return (false);
}
public function directionCheck(index:int, direction:String):Boolean{
var nextIndex:int = index;
return (true);
}
public function getRow(gridIndex:int):int{
var row:int;
row = (gridIndex / colCount);
return ((row + 1));
}
public function getCol(gridIndex:int):int{
var col:int;
col = (gridIndex % colCount);
return ((col + 1));
}
public function getGridX(gridIndex:int):Number{
gridIndex = getCol(gridIndex);
var pos:Number = (startX + (gridIndex * gridSize));
return (pos);
}
public function getGridY(gridIndex:int):Number{
gridIndex = getRow(gridIndex);
var pos:Number = (startY + (gridIndex * gridSize));
return (pos);
}
public function indexCheck(index:int):void{
if (GameData.instance.kellyIndex == GameData.instance.dogIndex){
} else {
if (GameData.instance.grid[index] == TOY){
};
};
switch (GameData.instance.grid[index]){
default:
break;
};
}
public function numberGrid():void{
var numberField:TextField;
var j:int;
var count:int;
if (!this.stage){
return;
};
var i:int;
while (i < rowCount) {
j = 0;
while (j < colCount) {
numberField = new TextField();
numberField.x = ((startX + (j * gridSize)) + 3);
numberField.y = ((startY + (i * gridSize)) + 6);
numberField.selectable = false;
numberField.text = ("" + count);
numberField.name = ("" + count);
count++;
this.stage.addChild(numberField);
numberList.push(numberField);
j++;
};
i++;
};
}
public function removeNumbers():void{
var numberField:TextField;
var j:int;
var count:int;
if (!this.stage){
return;
};
var i:int;
while (i < rowCount) {
j = 0;
while (j < colCount) {
this.stage.removeChild((numberList[count] as TextField));
count++;
j++;
};
i++;
};
numberList.splice(0, numberList.length);
}
public function createButtons():void{
var gridButton:SimpleButton;
var j:int;
var count:int;
var i:int;
while (i < rowCount) {
j = 0;
while (j < colCount) {
gridButton = new SimpleButton();
gridButton.x = (startX + (j * gridSize));
gridButton.y = (startY + (i * gridSize));
count++;
gridButton.name = ("Btn" + count);
this.addChild(gridButton);
j++;
};
i++;
};
}
public function drawGrid():void{
var j:int;
var count:int;
graphics.beginFill(0xFF, 0.3);
var i:int;
while (i < rowCount) {
j = 0;
while (j < colCount) {
graphics.beginFill(0xFF, 0.2);
graphics.drawRect((startX + (j * gridSize)), (startY + (i * gridSize)), (gridSize - 2), (gridSize - 2));
if (GameData.instance.grid[count] == "closed"){
graphics.beginFill(0xFFFF00, 0.5);
graphics.drawCircle((((startX + (j * gridSize)) + (gridSize / 2)) - 1), (((startY + (i * gridSize)) + (gridSize / 2)) - 1), ((gridSize / 2) - 2));
} else {
if (getGridStatus(count) != "open"){
graphics.beginFill(0xAA00FF, 0.8);
graphics.drawCircle((((startX + (j * gridSize)) + (gridSize / 2)) - 1), (((startY + (i * gridSize)) + (gridSize / 2)) - 1), ((gridSize / 2) - 2));
};
};
count++;
j++;
};
i++;
};
graphics.endFill();
}
public function modifyGrid(pFunction:Function):void{
var j:int;
var count:int;
graphics.beginFill(0xFF, 0.2);
var i:int;
while (i < rowCount) {
j = 0;
while (j < colCount) {
pFunction(i, j, count);
count++;
j++;
};
i++;
};
graphics.endFill();
}
public function saveGrid():void{
modifyGrid(saveXMLGrid);
modifyGrid(saveBestPath);
modifyGrid(saveSecondPath);
}
private function saveBestPath(i:int, j:int, count:int):void{
if (GameData.instance.bestPath[count] == "none"){
return;
};
trace((((("\t\t\t<best index=\"" + count) + "\" dir=\"") + GameData.instance.bestPath[count]) + "\"></best>"));
}
private function saveSecondPath(i:int, j:int, count:int):void{
if (GameData.instance.secondPath[count] == "none"){
return;
};
trace((((("\t\t\t<second index=\"" + count) + "\" dir=\"") + GameData.instance.secondPath[count]) + "\"></second>"));
}
private function saveXMLGrid(i:int, j:int, count:int):void{
if ((count % colCount) == 0){
trace("");
};
trace((("\t\t\t<tile>" + GameData.instance.grid[count]) + "</tile>"));
}
public function update(pElapsed:Number):Boolean{
return (false);
}
public function redraw():void{
graphics.clear();
drawGrid();
}
private function buildStack(i:int, j:int, count:int):void{
if (GameData.instance.grid[count] == "open"){
pathStack.call(highlightGridIndex, i, j, count);
pathStack.call(updateLastGridSet, 0);
pathStack.call(updateGridListener, count);
pathStack.call(trace, ("[Index input] -> " + count));
pathStack.waitUntilEqual(this, "lastGridSet", count);
};
}
private function updateLastGridSet(index:int):void{
lastGridSet = index;
}
private function updateGridListener(index:int):void{
gridListenerIndex = index;
}
private function highlightGridIndex(i:int, j:int, count:int):void{
graphics.beginFill(11206604, 0.8);
graphics.drawCircle((((startX + (j * gridSize)) + (gridSize / 2)) - 1), (((startY + (i * gridSize)) + (gridSize / 2)) - 1), ((gridSize / 2) - 2));
graphics.endFill();
}
public function onGridListenerClicked(index:int):void{
var direction:String = "left";
if (index == (gridListenerIndex + 1)){
direction = "right";
} else {
if (index == (gridListenerIndex - 1)){
direction = "left";
} else {
if (index == (gridListenerIndex + colCount)){
direction = "front";
} else {
if (index == (gridListenerIndex - colCount)){
direction = "back";
} else {
trace(" Error. Invalid direction. Click on a square directly adjacent to the highlighted point ");
return;
};
};
};
};
GameData.instance.bestPath[gridListenerIndex] = direction;
lastGridSet = gridListenerIndex;
redraw();
}
}
}//package mattel.barbie.babysitter.game
Section 68
//Kelly (mattel.barbie.babysitter.game.Kelly)
package mattel.barbie.babysitter.game {
import flash.display.*;
import mattel.barbie.icanbe.games.base.*;
import flash.events.*;
import smashing.soundcontroller.*;
import smashing.utils.*;
public class Kelly extends MovieClip {
public var clip:MovieClip;
public var disabled:Boolean;
public var isActive:Boolean;
public var hitType:String;
public var type:Number;
public var isInvalid:Boolean;
public var gridIndex:int;// = 74
public var panic:Boolean;// = false
public var xGoal:int;// = 0
public var yGoal:int;// = 0
public var cStack:CallStack;
public var walkCount:int;// = 0
public var dogIgnore:int;// = 0
private var _state:String;// = "stopped"
private var _speed:Number;// = 80
private var _boundaryY:Number;
private var _centerHitLocationY:Number;
private var _lastDirection:String;// = "right"
private var _lastBestIndex:int;
private var _wanderCount:int;// = 0
private var _wanderGoal:int;// = 0
public static const LEFT:String = "left";
public static const RIGHT:String = "right";
public static const FRONT:String = "front";
public static const BACK:String = "back";
public static const STATIC:String = "static";
public static const SIT:String = "Sit";
public static const WALK:String = "Walk";
public static const FAST:String = "Fast";
public static const MISS:String = "miss";
public static const MOVING:String = "idle";
public static const STOPPED:String = "stopped";
public static const HIT:String = "correct";
public function Kelly(){
super();
cStack = new CallStack();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
}
public function get state():String{
return (_state);
}
public function getDropSpeed():Number{
var speed:Number = GameData.instance.walkSpeed;
speed = (speed + (GameData.instance.level * 10));
return (speed);
}
public function resetIcon(pType:String="left"):void{
_state = MOVING;
isInvalid = false;
disabled = false;
_speed = getDropSpeed();
}
public function getRandomStep():String{
var roll:int;
var count:int;
var possible:Array = new Array();
var directions:Array = [LEFT, RIGHT, FRONT, BACK];
var i:int;
while (i < directions.length) {
if (GameData.instance.gridTools.openTest(gridIndex, directions[i], true)){
possible.push(directions[i]);
count++;
};
i++;
};
if (count > 0){
roll = MathUtils.randomRange(0, (possible.length - 1));
return (String(possible[roll]));
};
return (FRONT);
}
public function init(pClip:MovieClip, pSpeed:Number, pType:Number):void{
_speed = pSpeed;
clip = pClip;
type = pType;
var gameSettings:XMLList = GameData.instance.gameSettings.settings;
_boundaryY = Number(gameSettings.boundaryY);
_centerHitLocationY = Number(gameSettings.centerHitLocationY);
}
public function getGridIndex(floorNum:int):void{
gridIndex = Number(GameData.instance.gameSettings.settings[("kellyStartingGrid" + floorNum)]);
}
public function stopMove(direction:String):void{
gridIndex = GameData.instance.gridTools.getNextIndex(gridIndex, direction, true);
GameData.instance.kellyIndex = gridIndex;
}
public function beginStep(dist:int=30, direction:String="random"):void{
dist = 30;
_wanderCount++;
if (direction == "random"){
direction = getRandomStep();
if (_lastBestIndex == gridIndex){
_lastBestIndex = 0;
_wanderGoal = MathUtils.randomRange(5, 9);
GameData.instance.useSecondaryPath = true;
};
if (((!((GameData.instance.bestPath[gridIndex] == "none"))) && ((_wanderCount >= _wanderGoal)))){
if (GameData.instance.gridTools.openTest(gridIndex, GameData.instance.bestPath[gridIndex], true)){
direction = GameData.instance.bestPath[gridIndex];
_lastBestIndex = gridIndex;
_wanderGoal = 0;
_wanderCount = 0;
} else {
if (((!((GameData.instance.secondPath[gridIndex] == "none"))) && (GameData.instance.gridTools.openTest(gridIndex, GameData.instance.secondPath[gridIndex], true)))){
direction = GameData.instance.secondPath[gridIndex];
};
};
} else {
if (((((GameData.instance.useSecondaryPath) && (!((GameData.instance.secondPath[gridIndex] == "none"))))) && (GameData.instance.gridTools.openTest(gridIndex, GameData.instance.secondPath[gridIndex], true)))){
GameData.instance.useSecondaryPath = false;
direction = GameData.instance.secondPath[gridIndex];
} else {
if (((GameData.instance.gridTools.openTest(gridIndex, _lastDirection, true)) && ((MathUtils.randomRange(1, 5) > 1)))){
direction = _lastDirection;
};
};
};
};
if (!GameData.instance.gridTools.openTest(gridIndex, direction, true)){
trace("Pausing Kelly");
cStack.wait(1200);
cStack.call(checkMoveResults);
cStack.begin();
return;
};
initStep(dist, direction);
cStack.callUntilEqual(true, isMovementComplete, direction);
cStack.call(setState, STOPPED);
cStack.call(stopMove, direction);
cStack.call(checkMoveResults);
cStack.begin();
walkCount++;
}
private function isMovementComplete(direction:String):Boolean{
if ((((direction == FRONT)) || ((direction == BACK)))){
if (this.y == yGoal){
return (true);
};
} else {
if (this.x == xGoal){
return (true);
};
};
return (false);
}
private function initStep(dist:int, direction:String):void{
yGoal = this.y;
xGoal = this.x;
switch (direction){
case LEFT:
xGoal = (xGoal - dist);
break;
case BACK:
yGoal = (yGoal - dist);
break;
case FRONT:
yGoal = (yGoal + dist);
break;
case RIGHT:
default:
xGoal = (xGoal + dist);
break;
};
_lastDirection = direction;
if (panic){
gotoAndStop((direction + FAST));
} else {
gotoAndStop((direction + WALK));
};
_state = MOVING;
disabled = false;
isActive = true;
GameData.instance.kellyIndex = GameData.instance.gridTools.getNextIndex(gridIndex, direction, true);
}
public function destroy():void{
}
public function setState(pState:String):void{
_state = pState;
}
public function pause():void{
if (clip == null){
return;
};
clip.mc.stop();
}
public function resume():void{
if (clip == null){
return;
};
clip.mc.play();
}
public function update(dt:Number):Boolean{
if (((disabled) || (!(isActive)))){
return (false);
};
switch (_state){
case MOVING:
movingUpdate(dt);
if (this.isInvalid){
return (true);
};
break;
default:
break;
};
return (false);
}
public function activate():void{
visible = true;
isInvalid = false;
isActive = true;
}
public function deactivate():void{
visible = false;
isInvalid = true;
isActive = false;
}
public function setPanic(isPanicing:Boolean=true):void{
panic = isPanicing;
}
public function loseAnim():void{
cStack.clear();
_state = STOPPED;
disabled = true;
gotoAndStop("lose");
}
public function checkMoveResults():void{
if (GameData.instance.hasWon){
return;
};
if (GameData.instance.grid[gridIndex] == "finish"){
beginStep(30, "back");
GameData.instance.game.gameOver(true);
TimerManager.instance.startTimer(fadeOut, 40, 20);
return;
};
if (((GameData.instance.gridTools.checkObjectOverlap(gridIndex, GameData.instance.dogIndex)) && ((walkCount >= dogIgnore)))){
SoundInterface.instance.playSound("sfx_dog_distraction");
GameData.instance.game.dog.playTime();
cStack.call(gotoAndStop, "distracted");
cStack.wait(4000);
walkCount = 0;
dogIgnore = MathUtils.randomRange(10, 15);
} else {
if (GameData.instance.isBonusCollision(this)){
GameDataManager.instance.updateAction("bonus");
GameData.instance.addScore(500);
GameData.instance.stickerEarned = true;
GameData.instance[(GameData.instance.currentFloor + "Perfect")] = true;
GameData.instance.updateGameData();
cStack.wait(1500);
} else {
if (GameData.instance.handleObjectCollision(this)){
cStack.wait(3000);
};
};
};
var roll:int = MathUtils.randomRange(5, 10);
cStack.wait(300);
cStack.call(beginStep);
cStack.begin();
}
public function setPosition():void{
x = GameData.instance.gridTools.getGridX(gridIndex);
y = (GameData.instance.gridTools.getGridY(gridIndex) + 22);
y = (y - 5);
}
private function onAddedToStage(event:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, onAddedToStage);
gotoAndStop(STATIC);
getGridIndex(GameData.instance.level);
setPosition();
}
private function fadeOut():void{
this.alpha = (this.alpha - 0.05);
}
private function movingUpdate(dt:Number):void{
var yDist:Number;
var xDist:Number;
if (yGoal > this.y){
this.y = (this.y + (_speed * dt));
this.y = Math.min(this.y, yGoal);
} else {
if (yGoal < this.y){
this.y = (this.y - (_speed * dt));
this.y = Math.max(this.y, yGoal);
};
};
if (xGoal > this.x){
this.x = (this.x + (_speed * dt));
this.x = Math.min(this.x, xGoal);
} else {
if (xGoal < this.x){
this.x = (this.x - (_speed * dt));
this.x = Math.max(this.x, xGoal);
};
};
}
}
}//package mattel.barbie.babysitter.game
Section 69
//MovingObject (mattel.barbie.babysitter.game.MovingObject)
package mattel.barbie.babysitter.game {
import flash.display.*;
import flash.events.*;
import smashing.soundcontroller.*;
import smashing.utils.*;
public class MovingObject extends MovieClip {
public var dogHitArea:MovieClip;
public var clip:MovieClip;
public var disabled:Boolean;
public var isActive:Boolean;
public var hitType:String;
public var type:Number;
public var isInvalid:Boolean;
public var xGoal:int;// = 0
public var yGoal:int;// = 0
public var cStack:CallStack;
public var forcedSit:Boolean;// = false
public var walkCount:int;// = 0
private var _state:String;// = "stopped"
private var _speed:Number;// = 50
private var _boundaryY:Number;
private var _centerHitLocationY:Number;
private var _currentGrid:int;// = 134
private var _lastDirection:String;// = "right"
private var _redirect:Boolean;// = false
public static const LEFT:String = "left";
public static const RIGHT:String = "right";
public static const FRONT:String = "front";
public static const BACK:String = "back";
public static const STATIC:String = "Static";
public static const SIT:String = "Sit";
public static const WALK:String = "Walk";
public static const MISS:String = "miss";
public static const MOVING:String = "idle";
public static const STOPPED:String = "stopped";
public static const HIT:String = "correct";
public function MovingObject(){
super();
addFrameScript(0, frame1);
cStack = new CallStack();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
useHandCursor = true;
buttonMode = true;
}
public function get state():String{
return (_state);
}
public function getDropSpeed():Number{
var speed:Number = GameData.instance.walkSpeed;
speed = (speed + (GameData.instance.level * 10));
return (speed);
}
public function getRandomStep():String{
var roll:int;
var count:int;
var possible:Array = new Array();
var directions:Array = [LEFT, RIGHT, FRONT, BACK];
var i:int;
while (i < directions.length) {
if (GameData.instance.gridTools.openTest(_currentGrid, directions[i])){
possible.push(directions[i]);
count++;
};
i++;
};
if (count > 0){
roll = MathUtils.randomRange(0, (possible.length - 1));
return (String(possible[roll]));
};
return (FRONT);
}
public function init(pClip:MovieClip, pSpeed:Number, pType:Number):void{
_speed = pSpeed;
clip = pClip;
type = pType;
var gameSettings:XMLList = GameData.instance.gameSettings.settings;
_boundaryY = Number(gameSettings.boundaryY);
_centerHitLocationY = Number(gameSettings.centerHitLocationY);
}
public function stopMove(direction:String):void{
gotoAndStop((direction + STATIC));
_currentGrid = GameData.instance.gridTools.getNextIndex(_currentGrid, direction, true);
GameData.instance.dogIndex = _currentGrid;
}
public function playTime():void{
walkCount = 15;
forcedSit = true;
}
public function beginStep(dist:int=30, direction:String="random"):void{
dist = 30;
if (direction == "random"){
if (_redirect){
_redirect = false;
direction = _lastDirection;
} else {
if (((GameData.instance.gridTools.openTest(_currentGrid, _lastDirection)) && (!((MathUtils.randomRange(1, 7) == 1))))){
direction = _lastDirection;
} else {
direction = getRandomStep();
};
};
};
if (!GameData.instance.gridTools.openTest(_currentGrid, direction)){
cStack.call(gotoAndStop, (_lastDirection + SIT));
cStack.wait(2000);
cStack.call(checkMoveResults);
cStack.begin();
return;
};
initStep(dist, direction);
cStack.callUntilEqual(true, isMovementComplete, direction);
cStack.call(setState, STOPPED);
cStack.call(stopMove, direction);
cStack.call(checkMoveResults);
cStack.begin();
walkCount++;
}
private function isMovementComplete(direction:String):Boolean{
if ((((direction == FRONT)) || ((direction == BACK)))){
if (this.y == yGoal){
return (true);
};
} else {
if (this.x == xGoal){
return (true);
};
};
return (false);
}
private function initStep(dist:int, direction:String):void{
yGoal = this.y;
xGoal = this.x;
switch (direction){
case LEFT:
xGoal = (xGoal - dist);
break;
case BACK:
yGoal = (yGoal - dist);
break;
case FRONT:
yGoal = (yGoal + dist);
break;
case RIGHT:
default:
xGoal = (xGoal + dist);
break;
};
_lastDirection = direction;
gotoAndStop((direction + WALK));
_state = MOVING;
disabled = false;
isActive = true;
GameData.instance.dogIndex = GameData.instance.gridTools.getNextIndex(_currentGrid, direction, true);
}
public function destroy():void{
}
public function setState(pState:String):void{
_state = pState;
}
public function pause():void{
if (clip == null){
return;
};
clip.mc.stop();
}
public function resume():void{
if (clip == null){
return;
};
clip.mc.play();
}
public function update(dt:Number):Boolean{
if (((disabled) || (!(isActive)))){
return (false);
};
switch (_state){
case MOVING:
movingUpdate(dt);
if (this.isInvalid){
return (true);
};
break;
case HIT:
if (this.isInvalid){
deactivate();
return (false);
};
break;
default:
break;
};
return (false);
}
public function activate():void{
visible = true;
isInvalid = false;
isActive = true;
}
public function deactivate():void{
visible = false;
isInvalid = true;
isActive = false;
}
public function checkMoveResults():void{
var roll:int = MathUtils.randomRange(5, 10);
if (walkCount > roll){
walkCount = 0;
cStack.call(gotoAndStop, (_lastDirection + SIT));
if (forcedSit){
forcedSit = false;
cStack.wait(2000);
};
cStack.wait(2000);
} else {
cStack.wait(300);
};
cStack.call(beginStep);
cStack.begin();
}
public function setPosition():void{
x = (GameData.instance.gridTools.getGridX(_currentGrid) - 30);
y = (GameData.instance.gridTools.getGridY(_currentGrid) - 30);
if (GameData.instance.level == 3){
y = (y - 5);
};
}
public function setStartingGridIndex(floorNum:int):void{
_currentGrid = Number(GameData.instance.gameSettings.settings[("dogStartingGrid" + floorNum)]);
}
public function redirectMovement():void{
if (!_redirect){
_redirect = true;
switch (_lastDirection){
case LEFT:
_lastDirection = RIGHT;
break;
case BACK:
_lastDirection = FRONT;
break;
case FRONT:
_lastDirection = BACK;
break;
case RIGHT:
default:
_lastDirection = LEFT;
break;
};
SoundInterface.instance.playSound("sfx_dog_distraction");
};
}
private function onAddedToStage(event:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, onAddedToStage);
gotoAndStop((RIGHT + WALK));
setStartingGridIndex(GameData.instance.level);
setPosition();
}
private function movingUpdate(dt:Number):void{
var yDist:Number;
var xDist:Number;
if (yGoal > this.y){
this.y = (this.y + (_speed * dt));
this.y = Math.min(this.y, yGoal);
} else {
if (yGoal < this.y){
this.y = (this.y - (_speed * dt));
this.y = Math.max(this.y, yGoal);
};
};
if (xGoal > this.x){
this.x = (this.x + (_speed * dt));
this.x = Math.min(this.x, xGoal);
} else {
if (xGoal < this.x){
this.x = (this.x - (_speed * dt));
this.x = Math.max(this.x, xGoal);
};
};
}
function frame1(){
stop();
}
}
}//package mattel.barbie.babysitter.game
Section 70
//Region (mattel.barbie.babysitter.game.Region)
package mattel.barbie.babysitter.game {
import flash.display.*;
import flash.events.*;
import smashing.utils.*;
public class Region extends MovieClip {
public var indexes:Array;
public var region:int;
private var _currentIndex:int;// = 1
public function Region(){
indexes = [145, 169, 170, 171];
super();
region = 1;
}
private function onAddedToStage(pEvent:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
}
public function init(pRegion:int, ... _args):void{
region = pRegion;
indexes.splice(0, indexes.length);
var i:int;
while (i < _args.length) {
indexes.push(_args[i]);
i++;
};
}
public function selectIndex():int{
var roll:int = MathUtils.randomRange(0, (indexes.length - 1));
var tempRegion:int = indexes[roll];
return ((_currentIndex = tempRegion));
}
public function destroy():void{
indexes.splice(0, indexes.length);
indexes = null;
}
}
}//package mattel.barbie.babysitter.game
Section 71
//RegionManager (mattel.barbie.babysitter.game.RegionManager)
package mattel.barbie.babysitter.game {
import flash.display.*;
import smashing.utils.*;
public class RegionManager extends MovieClip {
public var isNotSet:Boolean;// = true
public var regionList:Array;
private var _currentIndex:int;// = 1
public var availableRegions:Array;
private var _totalRegions:int;// = 0
public function RegionManager(){
regionList = [];
availableRegions = [];
super();
}
public function resetRegionList():void{
isNotSet = true;
}
public function getRandomRegion(prevRegion:int):int{
if (isNotSet){
var _local4 = this;
_local4[("setFloor" + GameData.instance.level)]();
};
var roll:int = MathUtils.randomRange(0, (availableRegions.length - 1));
var tempRegion:int = availableRegions[roll];
availableRegions.splice(roll, 1);
if (prevRegion != -1){
availableRegions.push(prevRegion);
};
return (tempRegion);
}
public function getRandomBonusRegion(prevRegion:int):int{
if (isNotSet){
var _local4 = this;
_local4[("setFloor" + GameData.instance.level)]();
};
var roll:int = MathUtils.randomRange(0, (availableRegions.length - 1));
var tempRegion:int = availableRegions[roll];
availableRegions.splice(roll, 1);
if (prevRegion != -1){
availableRegions.push(prevRegion);
};
return (tempRegion);
}
public function addRegion(pRegion:int):void{
availableRegions.push(pRegion);
}
public function clearRegions():void{
regionList.splice(0, regionList.length);
availableRegions.splice(0, availableRegions.length);
}
public function setFloor1():void{
clearRegions();
var count:int;
var region:Region = new Region();
region.init(regionList.length, 145, 169);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 33);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 135, 136, 137, 138, 139);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 247, 248, 249);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 243, 244, 245);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 253, 229, 230, 231);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 233, 234, 235);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 43, 44, 45, 46, 67, 68, 69, 70);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 60, 36, 37, 38, 39);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 150, 151, 152, 153);
regionList.push(region);
availableRegions.push(_totalRegions++);
isNotSet = false;
}
public function setFloor2():void{
clearRegions();
var count:int;
var region:Region = new Region();
region.init(regionList.length, 33, 34, 35);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 80, 81, 82, 83, 84);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 86, 87, 88);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 181, 182, 183, 184, 185);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 166, 190);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 277, 278, 279, 280, 281);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 270, 271, 272, 273);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 159, 151, 152, 153, 154);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 171, 195);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 40);
regionList.push(region);
availableRegions.push(_totalRegions++);
isNotSet = false;
}
public function setFloor3():void{
clearRegions();
var count:int;
var region:Region = new Region();
region.init(regionList.length, 43, 44, 45, 46);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 114, 115, 116, 117, 118);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 133, 134, 135, 136);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 212, 236, 260, 284);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 230, 231);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 199, 200, 201, 226);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 266, 267);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 146, 147, 170, 171, 194, 195);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 50, 51, 74, 75);
regionList.push(region);
availableRegions.push(_totalRegions++);
region = new Region();
region.init(regionList.length, 103, 102);
regionList.push(region);
availableRegions.push(_totalRegions++);
isNotSet = false;
}
public function getRegion(index:int):Region{
if (index >= regionList.length){
trace((" RLEN " + regionList.length));
return (null);
};
if (isNotSet){
var _local2 = this;
_local2[("setFloor" + GameData.instance.level)]();
};
return (Region(regionList[index]));
}
public function destroy():void{
regionList.splice(0, regionList.length);
regionList = null;
}
public function resetRegions():void{
isNotSet = true;
_totalRegions = 0;
availableRegions.splice(0, availableRegions.length);
var i:int;
while (i < _totalRegions) {
availableRegions.push(i);
i++;
};
}
}
}//package mattel.barbie.babysitter.game
Section 72
//SoundManager (mattel.barbie.babysitter.game.SoundManager)
package mattel.barbie.babysitter.game {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import gs.*;
import mattel.barbie.icanbe.games.events.*;
import smashing.utils.*;
public class SoundManager extends MovieClip {
private var _fastLoop:Sound;
private var _titleLoop:Sound;
private var _mainLoop:Sound;
private var _cheerLoop:Sound;
private var _mainChannel:SoundChannel;
private var _titleChannel:SoundChannel;
private var _cheerChannel:SoundChannel;
private var _fastChannel:SoundChannel;
private var _playLoop:Sound;
private var _stopChannel:SoundChannel;
private var _playChannel:SoundChannel;
private var _mute:Boolean;
public function SoundManager(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
}
private function onAddedToStage(event:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
_mainLoop = ClassUtils.create("mainLoop");
_titleLoop = ClassUtils.create("titleLoop");
_fastLoop = ClassUtils.create("fastLoop");
_cheerChannel = new SoundChannel();
_mainChannel = new SoundChannel();
_titleChannel = new SoundChannel();
_fastChannel = new SoundChannel();
_playChannel = _mainChannel;
_stopChannel = _titleChannel;
_playLoop = _mainLoop;
stage.addEventListener(BarbieGameEvents.PLAY_CHEER_LOOP, onPlayCheerLoop);
stage.addEventListener(BarbieGameEvents.PLAY_MAIN_LOOP, onPlayMainLoop);
stage.addEventListener(BarbieGameEvents.PLAY_TITLE_LOOP, onPlayTitleLoop);
stage.addEventListener(BarbieGameEvents.PLAY_FAST_LOOP, onPlayFastLoop);
stage.addEventListener(BarbieGameEvents.SET_MAIN_LOOP, onSetMainLoop);
stage.addEventListener(BarbieGameEvents.STOP_LOOP, onStopLoop);
}
public function get mute():Boolean{
return (_mute);
}
public function set mute(pMute:Boolean):void{
_mute = pMute;
if (_mute){
fadeSoundOff();
} else {
fadeSoundOn();
};
}
private function fadeSoundOff():void{
TweenLite.to(_playChannel, 1, {volume:0, onComplete:stopLoop});
}
private function fadeSoundOn():void{
if (_playChannel == _titleChannel){
onPlayTitleLoop();
} else {
onPlayMainLoop();
};
}
public function onSetMainLoop(event:BarbieGameEvents):void{
var loopTheme:String = event.value;
_mainLoop = this[(("_" + loopTheme) + "Loop")];
}
private function onPlayFastLoop(event:Event=null):void{
var transform:SoundTransform;
if (!_mute){
transform = new SoundTransform(0);
_fastChannel.stop();
_fastChannel = _fastLoop.play(0, 9999, transform);
_stopChannel = _playChannel;
_playChannel = _fastChannel;
_playLoop = _fastLoop;
beginFade();
} else {
_playChannel = _fastChannel;
};
}
private function onPlayTitleLoop(event:Event=null):void{
var transform:SoundTransform;
if (!_mute){
transform = new SoundTransform(0);
_titleChannel.stop();
_titleChannel = _titleLoop.play(0, 9999, transform);
_stopChannel = _playChannel;
_playChannel = _titleChannel;
_playLoop = _titleLoop;
beginFade();
} else {
_playChannel = _titleChannel;
};
}
private function onStopLoop(event:Event=null):void{
if (_playChannel){
_stopChannel = _playChannel;
_playChannel = _mainChannel;
TweenLite.to(_stopChannel, 1.3, {volume:0, onComplete:stopLoop});
};
}
private function beginFade():void{
TweenLite.to(_stopChannel, 0.3, {volume:0, onComplete:stopLoop});
if (_playChannel == _fastChannel){
TweenLite.to(_playChannel, 2, {volume:0.65});
} else {
TweenLite.to(_playChannel, 2, {volume:0.75});
};
}
private function stopLoop():void{
_stopChannel.stop();
}
private function onPlayMainLoop(event:Event=null):void{
var transform:SoundTransform;
if (!mute){
transform = new SoundTransform(0);
_mainChannel.stop();
_mainChannel = _mainLoop.play(0, 9999, transform);
_stopChannel = _playChannel;
_playChannel = _mainChannel;
_playLoop = _mainLoop;
beginFade();
} else {
_playChannel = _mainChannel;
};
}
private function onPlayCheerLoop(event:Event=null):void{
var transform:SoundTransform;
if (!mute){
transform = new SoundTransform(0);
_cheerChannel.stop();
_cheerChannel = _cheerLoop.play(0, 9999, transform);
_stopChannel = _playChannel;
_playChannel = _cheerChannel;
_playLoop = _cheerLoop;
beginFade();
} else {
_playChannel = _cheerChannel;
};
}
}
}//package mattel.barbie.babysitter.game
Section 73
//TimerManager (mattel.barbie.babysitter.game.TimerManager)
package mattel.barbie.babysitter.game {
import flash.events.*;
import flash.utils.*;
public class TimerManager {
private var _delayList:Array;
private var _resetList:Array;
private var _countList:Array;
private var _pauseList:Array;
private var _varianceList:Array;
private var _functionList:Array;
private var _cleanupReset:int;// = 1500
private var _cleanupTimer:int;
public var isRunning:Boolean;// = false
public var intervalID:int;// = 0
private var _removeInvalidTimers:Boolean;// = true
private var lastTime:Number;
private var currTime:Number;
private var pElapsed:Number;
private static var _instance:TimerManager;
public function TimerManager(){
_cleanupTimer = _cleanupReset;
super();
_countList = new Array();
_resetList = new Array();
_pauseList = new Array();
_varianceList = new Array();
_delayList = new Array();
_functionList = new Array();
log("TimerManager instantiated");
isRunning = true;
intervalID = setInterval(update, 10);
lastTime = getTimer();
}
public function init():void{
if (isRunning){
return;
};
intervalID = setInterval(update, 10);
isRunning = true;
log(("Is Running " + isRunning));
}
public function destroy():void{
clearAllTimers();
clearInterval(intervalID);
isRunning = false;
}
public function startTimer(timerFunction:Function, delay:int=1000, count:int=1, variance:int=0, initialDelay:int=0):void{
count = Math.max(0, count);
delay = Math.max(0, delay);
_functionList.push(timerFunction);
_delayList.push(int((delay + initialDelay)));
_resetList.push(delay);
_countList.push(count);
_pauseList.push(false);
_varianceList.push(variance);
traceStatus("[Timer Manager] Added ");
}
public function traceStatus(header:String, index:int=-1):void{
}
public function stopTimer(timerFunction:Function):void{
var index:int = _functionList.indexOf(timerFunction);
if ((((index >= 0)) && ((index < _delayList.length)))){
removeTimer(index, 1);
};
}
public function resetTimer(timerFunction:Function, amount:int=0):Number{
var index:int = _functionList.indexOf(timerFunction);
if ((((index >= 0)) && ((index < _delayList.length)))){
if (amount != 0){
_delayList[index] = amount;
} else {
_delayList[index] = _resetList[index];
};
return (_delayList[index]);
};
return (0);
}
public function modifyTimerReset(timerFunction:Function, amount:Number):Number{
var index:int = _functionList.indexOf(timerFunction);
if ((((index >= 0)) && ((index < _resetList.length)))){
_resetList[index] = (_resetList[index] + amount);
return (_resetList[index]);
};
return (0);
}
public function modifyTimer(timerFunction:Function, amount:Number):Number{
var index:int = _functionList.indexOf(timerFunction);
if ((((index >= 0)) && ((index < _delayList.length)))){
_delayList[index] = (_delayList[index] + amount);
return (_delayList[index]);
};
return (0);
}
public function modifyVariance(timerFunction:Function, variance:Number):Number{
var index:int = _functionList.indexOf(timerFunction);
if ((((index >= 0)) && ((index < _varianceList.length)))){
_varianceList[index] = variance;
return (_varianceList[index]);
};
return (0);
}
public function pauseTimer(timerFunction:Function, setPause:Boolean=true):Boolean{
var index:int = _functionList.indexOf(timerFunction);
if ((((index >= 0)) && ((index < _pauseList.length)))){
_pauseList[index] = setPause;
return (_pauseList[index]);
};
return (false);
}
public function pauseAllTimers(setPause:Boolean=true):void{
var i:int;
while (i < _pauseList.length) {
_pauseList[i] = setPause;
i++;
};
}
public function clearAllTimers():void{
removeTimer(0, _delayList.length);
traceStatus("[Timer Manager] Cleared all ");
}
public function executeTimer(index:int):void{
var delay:Number;
traceStatus("[Timer Manager] Executing ");
var pFunction:Function = _functionList[index];
if (_countList[index] != 1){
delay = _resetList[index];
if (_varianceList[index] > 0){
};
_delayList[index] = delay;
} else {
_delayList[index] = 0;
};
if (_countList[index] != 0){
var _local4 = _countList;
var _local5 = index;
var _local6 = (_local4[_local5] - 1);
_local4[_local5] = _local6;
};
if (pFunction != null){
pFunction();
};
}
private function removeTimer(index:int, count:int):void{
_functionList.splice(index, count);
_delayList.splice(index, count);
_pauseList.splice(index, count);
_countList.splice(index, count);
_resetList.splice(index, count);
_varianceList.splice(index, count);
}
public function update():void{
var gameState:String = "none";
currTime = getTimer();
pElapsed = (currTime - lastTime);
lastTime = currTime;
var i:int;
while (i < _delayList.length) {
if ((((_delayList[i] == 0)) || (_pauseList[i]))){
} else {
if (((!((gameState == "none"))) && (!((String(_varianceList[i]) == gameState))))){
if (_removeInvalidTimers){
_delayList[i] = 0;
log("Clearing timer with invalid game state");
};
} else {
_delayList[i] = (_delayList[i] - pElapsed);
if (_delayList[i] <= 0){
executeTimer(i);
};
};
};
i++;
};
_cleanupTimer = (_cleanupTimer - pElapsed);
if (_cleanupTimer <= 0){
i = (_delayList.length - 1);
while (i >= 0) {
if (_delayList[i] != 0){
} else {
traceStatus("[Timer Manager] Cleared all ", i);
removeTimer(i, 1);
};
i--;
};
_cleanupTimer = _cleanupReset;
};
}
private function log(message:String, level:int=0):void{
trace(message);
}
public static function get instance():TimerManager{
if (_instance == null){
init();
};
return (_instance);
}
private static function init():void{
_instance = new (TimerManager);
}
}
}//package mattel.barbie.babysitter.game
Section 74
//Toy (mattel.barbie.babysitter.game.Toy)
package mattel.barbie.babysitter.game {
import flash.display.*;
import flash.events.*;
import smashing.utils.*;
import smashing.ui.buttons.*;
public class Toy extends MovieClip {
public var region:int;// = -1
public var toyHitArea:ToyButton;
public var hitRegion:MovieClip;
public var isNotAnimating:Boolean;// = true
public var isActive:Boolean;// = true
private var _state:String;// = "horizontal"
private var _cStack:CallStack;
private var _previousIndex:int;// = 0
private var _firstLocation:Boolean;// = true
private var _hasLeftGame:Boolean;// = false
public var gridIndex:int;// = 1
public static const IDLE:String = "idle";
public static const MISS:String = "miss";
public static const WIN:String = "win";
public static const ANIMATING:String = "animating";
public static const HORIZONTAL:String = "horizontal";
public static const VERTICAL:String = "vertical";
public static var toyCount:int = 1;
public function Toy(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
_cStack = new CallStack();
}
private function onAddedToStage(pEvent:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
FrameUtils.addFrameLabelScriptOld(this, "on", false, onAnimationDone);
FrameUtils.addFrameLabelScriptOld(this, "off", false, onAnimationDone);
relocate();
GameData.instance.addObject(this);
toyHitArea.toyClip.gotoAndStop(toyCount);
toyCount++;
trace(("toyCount = " + toyCount));
if (toyCount > toyHitArea.toyClip.totalFrames){
toyCount = 1;
};
}
private function moveToCurrentRegion():void{
var reg:Region;
reg = GameData.instance.regionManager.getRegion(region);
gridIndex = reg.selectIndex();
//unresolved jump
var _slot1 = e;
reg = new Region();
gridIndex = reg.selectIndex();
isNotAnimating = false;
updateGridStatus();
x = GameData.instance.gridTools.getGridX(gridIndex);
y = GameData.instance.gridTools.getGridY(gridIndex);
}
public function disableButton():void{
isNotAnimating = false;
isActive = false;
useHandCursor = false;
buttonMode = false;
mouseChildren = false;
}
public function enableButton():void{
isNotAnimating = true;
isActive = true;
useHandCursor = true;
buttonMode = true;
mouseChildren = true;
}
public function leaveGame():void{
_hasLeftGame = true;
setGridArea(gridIndex, GridUtils.NONE);
GameData.instance.removeObject(this);
}
public function relocate():void{
isNotAnimating = false;
if (_firstLocation){
gotoAndStop("off");
} else {
gotoAndPlay("transitionOut");
};
selectRegion();
clearCurrentGrid();
_cStack.waitUntilEqual(this, "currentLabel", "off");
_cStack.wait(50);
_cStack.call(moveToCurrentRegion);
_cStack.wait(50);
if (_firstLocation){
_cStack.call(gotoAndStop, "on");
} else {
_cStack.call(gotoAndPlay, "transitionIn");
};
_cStack.begin();
_firstLocation = false;
}
public function selectRegion():void{
region = GameData.instance.regionManager.getRandomRegion(region);
}
public function clearCurrentGrid():void{
_previousIndex = gridIndex;
if (_previousIndex != 0){
setGridArea(_previousIndex, GridUtils.NONE);
};
}
private function onAnimationDone():void{
stop();
isNotAnimating = true;
if ((((currentLabel == "off")) && (_hasLeftGame))){
x = -500;
y = -500;
gridIndex = 0;
};
}
public function init():void{
}
public function destroy():void{
}
public function pause():void{
this.stop();
}
public function resume():void{
this.play();
}
public function toggleGate():void{
if (_state == ANIMATING){
return;
};
if (_state == HORIZONTAL){
gotoAndPlay("transitionToVertical");
} else {
gotoAndPlay("transitionToHorizontal");
};
_state = ANIMATING;
}
public function update(dt:Number):void{
}
public function updateGridStatus():void{
setGridArea(gridIndex, GridUtils.TOY);
}
private function setGridArea(index1:int, gridType:String):void{
var index2:int;
var index3:int;
var index4:int;
var util:GridUtils = GameData.instance.gridTools;
index2 = util.getNextIndex(index1, "right", true);
index3 = util.getNextIndex(index3, "front", true);
index4 = util.getNextIndex(index1, "front", true);
util.setGridIndex(index1, gridType);
util.setGridIndex(index2, gridType);
util.setGridIndex(index3, gridType);
util.setGridIndex(index4, gridType);
}
}
}//package mattel.barbie.babysitter.game
Section 75
//BarbieGameBase (mattel.barbie.icanbe.games.base.BarbieGameBase)
package mattel.barbie.icanbe.games.base {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.icanbe.games.events.*;
import flash.text.*;
import com.*;
import smashing.localization.*;
public class BarbieGameBase extends MovieClip implements IOnDemandLoader {
public var api:apias3loader;
private var _onDemandLoader:OnDemandLoader;
private var _gameDataRestored:Boolean;
private var _gameConfigurationRestored:Boolean;
private var _gameContent:MovieClip;
private var _configXML:XML;
private var _soundLoader:SoundLoader;
private var _libraryLoader:LibraryLoader;
private var _filePath:String;
private var _lang:String;
private var _fontSwf:String;
public var localization:XMLList;
public function BarbieGameBase(){
super();
addFrameScript(0, frame1);
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);
}
public function receiveLoadedXMLContent(xmlContent:XML):void{
trace("receiveLoadedXMLContent");
if (_gameConfigurationRestored){
localization = xmlContent.localization;
Localization.addLocalization(localization);
GameDataManager.instance.gameConfigXML = xmlContent;
_fontSwf = xmlContent.fontSwf;
_onDemandLoader.loadCSS((_filePath + xmlContent.styleSheet));
trace((("load stylesheet = " + _filePath) + xmlContent.styleSheet));
} else {
_configXML = xmlContent;
stage.addChild(GameDataManager.instance);
GameDataManager.instance.gameID = xmlContent.config.gameID;
GameDataManager.instance.key = xmlContent.config.gameKey;
GameDataManager.instance.createActionList(xmlContent.config.actions);
GameDataManager.instance.createTrackingList(xmlContent.config.tracking);
_gameConfigurationRestored = true;
if (_lang != "none"){
_onDemandLoader.loadXMLDocument((((((_filePath + xmlContent.config.contentDataMulti.@parent_folder) + "/") + _lang) + "/") + xmlContent.config.contentDataMulti));
} else {
_onDemandLoader.loadXMLDocument((_filePath + xmlContent.config.contentData));
};
trace((((((("load content = " + _filePath) + xmlContent.config.contentData.@parent_folder) + "/") + _lang) + "/") + xmlContent.config.contentData));
};
}
public function receiveMovieClipContent(clipContent:MovieClip):void{
trace("receiveMovieClipContent");
if (!_gameDataRestored){
clipContent.x = -500;
clipContent.y = -500;
stage.addChild(clipContent);
GameDataManager.instance.dataClip = clipContent;
GameDataManager.instance.restoreDataFromNetwork();
_gameDataRestored = true;
clipContent.initateConnection(Math.floor((Math.random() * 100001)));
};
}
public function receiveSoundContent(soundContent:Sound):void{
}
public function receiveBitmapContent(imageContent:DisplayObject):void{
}
public function receiveProgress(progress:int):void{
}
public function receiveCssContent(cssContent:String):void{
trace("receiveCssContent");
var ss:StyleSheet = new StyleSheet();
ss.parseCSS(cssContent);
Localization.setStyleSheet(ss);
retrieveUserData();
gotoAndStop("preloader");
}
private function onAddedToStage(event:Event):void{
trace("added to stage");
var config:String = ((this.stage.root.loaderInfo.parameters.config) || ("games/halfpipe_pixie/data/config.xml"));
_lang = ((this.stage.root.loaderInfo.parameters.language) || ("ro"));
GameDataManager.instance.userID = ((this.stage.root.loaderInfo.parameters.uid) || (153));
_filePath = ((this.stage.root.loaderInfo.parameters.path) || (""));
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
stage.addEventListener(BarbieGameEvents.GAME_DATA_RESTORED, onGameDataRestored, false, 0, true);
if (config == null){
trace(this, "The expected value for FlashVars config was not found.");
} else {
_onDemandLoader = new OnDemandLoader(this);
_onDemandLoader.loadXMLDocument((_filePath + config));
};
gotoAndStop("init");
}
private function onGameDataRestored(event:Event):void{
trace("onGameDataRestored");
event.stopPropagation();
stage.removeEventListener(BarbieGameEvents.GAME_DATA_RESTORED, onGameDataRestored);
gotoAndStop("preloader");
addEventListener(Event.ENTER_FRAME, onCheckProgress, false, 0, true);
addEventListener(BarbieGameEvents.PRELOAD_COMPLETE, onPreloadComplete, false, 0, true);
}
private function onCheckProgress(pProgress:Event):void{
trace("onCheckProgress");
var bytesLoaded:Number = pProgress.target.loaderInfo.bytesLoaded;
var bytesTotal:Number = pProgress.target.loaderInfo.bytesTotal;
var percent:Number = Math.round(((bytesLoaded / bytesTotal) * 100));
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PROGRESS_PERCENTAGE, percent));
if (percent >= 100){
removeEventListener(Event.ENTER_FRAME, onCheckProgress);
addEventListener(BarbieGameEvents.MP3_SOUNDS_LOADED, onMP3SoundsLoaded, false, 0, true);
_soundLoader = new SoundLoader();
_soundLoader.filePath = _filePath;
this.addChild(_soundLoader);
_soundLoader.loadSounds(_configXML.config.audio);
};
}
private function onMP3SoundsLoaded(event:Event):void{
trace("onMP3SoundsLoaded");
event.stopPropagation();
event.stopImmediatePropagation();
removeEventListener(BarbieGameEvents.MP3_SOUNDS_LOADED, onMP3SoundsLoaded);
removeChild(_soundLoader);
_soundLoader = null;
addEventListener(BarbieGameEvents.LIBRARIES_LOADED, onLibraryiesLoaded, false, 0, true);
_libraryLoader = new LibraryLoader();
_libraryLoader.filePath = _filePath;
this.addChild(_libraryLoader);
var libXML:XML = new XML(_configXML.config.libraries);
libXML.appendChild(new XML((("<item>" + ??esc_xelem
) + "</item>")));
_libraryLoader.loadLibraries(new XMLList(libXML));
}
private function onLibraryiesLoaded(event:Event):void{
trace("onLibraryiesLoaded");
event.stopPropagation();
event.stopImmediatePropagation();
removeEventListener(BarbieGameEvents.LIBRARIES_LOADED, onLibraryiesLoaded);
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.GAME_LOAD_COMPLETE));
}
private function retrieveUserData():void{
if ((((_configXML.config.controllerSWF == "none")) || ((GameDataManager.instance.userID == 0)))){
GameDataManager.instance.restoreDataFromLSO();
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.GAME_DATA_RESTORED));
_gameDataRestored = true;
} else {
_onDemandLoader.loadMovieClip(_configXML.config.controllerSWF);
};
}
private function onPreloadComplete(event:Event):void{
event.stopPropagation();
event.stopImmediatePropagation();
removeEventListener(BarbieGameEvents.PRELOAD_COMPLETE, onPreloadComplete);
gotoAndStop("game");
}
function frame1(){
stop();
api = new apias3loader();
addChild(api);
api.MattelGameAPICall("game_ping", "");
}
}
}//package mattel.barbie.icanbe.games.base
Section 76
//GameDataManager (mattel.barbie.icanbe.games.base.GameDataManager)
package mattel.barbie.icanbe.games.base {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.utils.*;
import mattel.barbie.icanbe.games.events.*;
import flash.net.*;
import smashing.utils.*;
import flash.external.*;
public class GameDataManager extends Sprite {
private var _gameID:int;
private var _userID:int;
private var _userName:String;
private var _gameData:String;
private var _gameConfigXML:XML;
private var _gameSO:SharedObject;
private var _tracking:Object;
private var _dataClip:MovieClip;
private var _soundData:Object;
private var _actions:Object;
private var _items:Object;
private var _unlocked:Boolean;
private var _codeEntryURL:String;
private var _key:String;
private var _timer:Timer;
private var _gameRestored:Boolean;
private var _localConnection:LocalConnection;
private static var _instance:GameDataManager;
public function GameDataManager(){
super();
_localConnection = new LocalConnection();
_localConnection.addEventListener(StatusEvent.STATUS, onConnectionStatus);
}
public function restoreDataFromNetwork():void{
var id:int;
if (_dataClip == null){
restoreDataFromLSO();
} else {
id = new Date().valueOf();
_dataClip.initateConnection(id);
_dataClip.getUser(_userID, onGetUser, onError);
_timer = new Timer(30000, 1);
};
}
private function onTimerEvent(e:TimerEvent):void{
if (!_gameRestored){
_timer.stop();
_timer.removeEventListener(TimerEvent.TIMER, onTimerEvent);
restoreDataFromLSO();
};
}
public function getMP3SoundByID(pSoundID:String):Sound{
var sound:Sound = _soundData[pSoundID];
if (sound == null){
trace(this, (("A sound with id: " + pSoundID) + " does not exist"));
};
return (sound);
}
public function createActionList(pActionsXML:XMLList):void{
var child:XML;
_actions = new Object();
_items = new Object();
for each (child in pActionsXML.*) {
_actions[child.@id] = Number(child.@actionID);
_items[child.@id] = Number(child.@itemID);
};
}
public function createTrackingList(pTrackingXML:XMLList):void{
var child:XML;
_tracking = new Object();
for each (child in pTrackingXML.*) {
_tracking[child.@id] = child;
};
}
public function addMP3Sound(pSoundID:String, pSound:Sound):void{
if (_soundData == null){
_soundData = new Object();
};
_soundData[pSoundID] = pSound;
}
public function restoreDataFromLSO():void{
_gameSO = SharedObject.getLocal(("game" + _gameID), "/");
_gameData = _gameSO.data.gameData;
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.GAME_DATA_RESTORED));
}
public function updateAction(actionID:String):void{
if (_dataClip == null){
trace((getQualifiedClassName(this) + ".updateAction:: dataClip is null - cannot communicate!"));
return;
};
if (_actions[actionID] == null){
trace((((getQualifiedClassName(this) + "ERROR: There is no actionID with the ID of ") + actionID) + " please check the <actions> block of your config.xml"));
return;
};
var action:int = _actions[actionID];
var itemID:int = _items[actionID];
trace(((((((getQualifiedClassName(this) + "updateAction called with ") + actionID) + " actionID is: ") + action) + " itemID is: ") + itemID));
_localConnection.send("icanbe_game_lc", "onGameAward", itemID);
_dataClip.updateAction(_userID, action, onUpdateAction, onUpdateActionError);
}
public function showCodeEntryPanel():void{
if (_localConnection == null){
trace(this, "local connection is null");
};
_localConnection.send("icanbe_code_lc", "onCodeEntryClick");
}
public function gameCompleted():void{
if (_localConnection == null){
trace(this, "local connection is null");
};
_localConnection.send("icanbe_game_lc", "onGameEnd");
}
public function gameRestarted():void{
track("replay");
if (_localConnection == null){
trace(this, "local connection is null");
};
_localConnection.send("icanbe_game_lc", "onGameRestart");
}
public function track(pId:String):void{
var pId = pId;
if (_tracking[pId] == null){
trace(this, "invalid tracking id.");
return;
};
var trackingName:String = String(_tracking[pId].@name);
var trackingCampaign:String = String(_tracking[pId].@campaign);
var trackingChannel:String = String(_tracking[pId].@channel);
var trackingContentType:String = String(_tracking[pId].@contenttype);
var trackingAction:String = String(_tracking[pId].@action);
trace(this, (((((((((((("track: " + trackingName) + " <name='") + trackingName) + "', campaign='") + trackingCampaign) + "', channel='") + trackingChannel) + "', contenttype='") + trackingContentType) + "', action='") + trackingAction) + "'/>"));
if (ExternalInterface.available){
ExternalInterface.call("MATTEL.tracker.Tracker.track", {name:trackingName, campaign:trackingCampaign, channel:trackingChannel, contenttype:trackingContentType, action:trackingAction});
};
//unresolved jump
var _slot1 = e;
trace(this, "failed to call tracking code.");
}
public function get unlocked():Boolean{
return (true);
}
public function get userID():int{
return (_userID);
}
public function set userID(pUserID:int):void{
_userID = pUserID;
}
public function get userName():String{
return (_userName);
}
public function set userName(pUserName:String):void{
_userName = pUserName;
}
public function get codeEntryURL():String{
return (_codeEntryURL);
}
public function set codeEntryURL(pURL:String):void{
if (StringUtils.isEmptyString(pURL)){
trace(this, "ERROR: Set the value of a <codeUnlockURL> node in your configuration document");
};
_codeEntryURL = pURL;
}
public function get gameID():int{
return (_gameID);
}
public function set gameID(pGameID:int):void{
_gameID = pGameID;
}
public function get gameData():String{
return (_gameData);
}
public function set gameData(pGameData:String):void{
if (!StringUtils.isEmptyString(pGameData)){
_gameData = pGameData;
updateData();
};
}
public function get gameConfigXML():XML{
return (_gameConfigXML);
}
public function set gameConfigXML(pGameConfigXML:XML):void{
_gameConfigXML = pGameConfigXML;
}
public function get dataClip():MovieClip{
return (_dataClip);
}
public function set dataClip(pMovieClip:MovieClip):void{
_dataClip = pMovieClip;
}
public function get key():String{
return (_key);
}
public function set key(value:String):void{
_key = value;
}
private function updateData():void{
if (_dataClip != null){
_dataClip.setUserData(_gameID, _userID, _key, _gameData, onUpdateData, onUpdateFailed);
} else {
saveDataToLSO();
};
}
private function onUpdateFailed(pObject:Object=null):void{
trace(this, "updateData failed");
}
private function onUpdateData(pdata:Object):void{
trace(this, "updateData successful");
}
private function saveDataToLSO():void{
_gameSO = SharedObject.getLocal(("game" + _gameID), "/");
_gameSO.data.gameData = _gameData;
_gameSO.flush();
}
private function onGetUser(o:Object):void{
_userName = o.username;
if (_dataClip != null){
_dataClip.getUserInventory(_userID, onGetUserInventory, onError);
};
}
private function onError(pObject:Object=null):void{
trace(this, "onError occurred");
restoreDataFromLSO();
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.GAME_DATA_RESTORED));
}
private function onUpdateAction(pObject:Object=null):void{
trace(this, "onUpdateAction successful");
}
private function onUpdateActionError(pObject:Object=null):void{
trace(this, "onUpdateActionError - error occurred");
}
private function onGetUserInventory(actions:Object):void{
var dataObject:Object;
var property:String;
var itemID:int;
for each (dataObject in actions) {
for (property in dataObject) {
if (property == "item"){
itemID = dataObject[property];
if (_items["lock"] == itemID){
_unlocked = true;
};
};
};
};
restoreGameData();
}
private function restoreGameData():void{
if (_dataClip != null){
_dataClip.getUserData(_gameID, _userID, _key, onRestoreGameData, onError);
_gameRestored = true;
} else {
restoreDataFromLSO();
};
}
private function onRestoreGameData(pData:String):void{
_gameData = pData;
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.GAME_DATA_RESTORED));
}
private function onConnectionStatus(e:StatusEvent):void{
switch (e.level){
case "status":
trace("LocalConnection.send() succeeded");
break;
case "error":
trace("LocalConnection.send() failed");
break;
};
}
public static function get instance():GameDataManager{
if (_instance == null){
_instance = new (GameDataManager);
};
return (_instance);
}
}
}//package mattel.barbie.icanbe.games.base
Section 77
//IOnDemandLoader (mattel.barbie.icanbe.games.base.IOnDemandLoader)
package mattel.barbie.icanbe.games.base {
import flash.display.*;
import flash.media.*;
public interface IOnDemandLoader {
function receiveLoadedXMLContent(:XML):void;
function receiveCssContent(:String):void;
function receiveMovieClipContent(:MovieClip):void;
function receiveBitmapContent(:DisplayObject):void;
function receiveProgress(:int):void;
function receiveSoundContent(:Sound):void;
}
}//package mattel.barbie.icanbe.games.base
Section 78
//LibraryLoader (mattel.barbie.icanbe.games.base.LibraryLoader)
package mattel.barbie.icanbe.games.base {
import flash.display.*;
import flash.media.*;
import mattel.barbie.icanbe.games.events.*;
public class LibraryLoader extends MovieClip implements IOnDemandLoader {
private var _currentLibraryNode:int;
private var _libraryLoader:OnDemandLoader;
private var _libraryList:XMLList;
public var filePath:String;
public function LibraryLoader(){
super();
}
public function loadLibraries(pLibraryList:XMLList):void{
_libraryLoader = new OnDemandLoader(this);
_libraryList = pLibraryList;
loadNextLibrary();
}
public function receiveMovieClipContent(clipContent:MovieClip):void{
stage.addChild(clipContent);
clipContent.x = 1000;
clipContent.y = 1000;
_currentLibraryNode++;
loadNextLibrary();
}
public function receiveProgress(progress:int):void{
var subProgress:int = Math.round((progress / _libraryList.item.length()));
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.LIBRARY_PROGRESS_PERCENTAGE, subProgress));
}
public function receiveSoundContent(pSound:Sound):void{
}
public function receiveLoadedXMLContent(xmlContent:XML):void{
}
public function receiveCssContent(cssContent:String):void{
}
public function receiveBitmapContent(imageContent:DisplayObject):void{
}
private function loadNextLibrary():void{
var libraryPath:String;
if (_libraryList.item[_currentLibraryNode] != null){
libraryPath = _libraryList.item[_currentLibraryNode].text();
_libraryLoader.loadMovieClip((filePath + libraryPath));
} else {
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.LIBRARIES_LOADED));
_libraryLoader.destruct();
_libraryLoader = null;
};
}
}
}//package mattel.barbie.icanbe.games.base
Section 79
//OnDemandLoader (mattel.barbie.icanbe.games.base.OnDemandLoader)
package mattel.barbie.icanbe.games.base {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.net.*;
public class OnDemandLoader {
private var __sender:IOnDemandLoader;
private var __soundLoader:Sound;
private var __xmlLoader:URLLoader;
private var __cssLoader:URLLoader;
private var __clipLoader:Loader;
private var __imageLoader:Loader;
private var __loaderContext:LoaderContext;
public function OnDemandLoader(loaderUser:IOnDemandLoader){
super();
__sender = loaderUser;
__loaderContext = new LoaderContext();
__loaderContext.applicationDomain = ApplicationDomain.currentDomain;
__loaderContext.checkPolicyFile = true;
}
public function loadXMLDocument(documentPath:String):void{
if (__xmlLoader != null){
__xmlLoader.removeEventListener(Event.COMPLETE, onXMLLoadComplete);
__xmlLoader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
};
__xmlLoader = new URLLoader();
__xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete, false, 0, true);
__xmlLoader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler, false, 0, true);
__xmlLoader.load(new URLRequest(documentPath));
}
public function loadSound(soundPath:String):void{
if (__soundLoader != null){
__soundLoader.removeEventListener(Event.COMPLETE, soundLoadComplete);
__soundLoader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__soundLoader.removeEventListener(ProgressEvent.PROGRESS, onProgressEvent);
};
__soundLoader = new Sound();
__soundLoader.addEventListener(Event.COMPLETE, soundLoadComplete, false, 0, true);
__soundLoader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler, false, 0, true);
__soundLoader.addEventListener(ProgressEvent.PROGRESS, onProgressEvent, false, 0, true);
__soundLoader.load(new URLRequest(soundPath));
}
public function loadMovieClip(clipPath:String):void{
if (__clipLoader != null){
__clipLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, clipLoadComplete);
__clipLoader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__clipLoader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
};
__clipLoader = new Loader();
__clipLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, clipLoadComplete, false, 0, true);
__clipLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler, false, 0, true);
__clipLoader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler, false, 0, true);
__clipLoader.load(new URLRequest(clipPath), __loaderContext);
__clipLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressEvent, false, 0, true);
}
public function loadBitmapImage(imagePath:String):void{
var urlRequest:URLRequest = new URLRequest(imagePath);
if (__imageLoader != null){
__imageLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, imageLoadComplete);
__imageLoader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__imageLoader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
};
__imageLoader = new Loader();
__imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoadComplete, false, 0, true);
__imageLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler, false, 0, true);
__imageLoader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler, false, 0, true);
__imageLoader.load(urlRequest, __loaderContext);
}
public function loadCSS(cssPath:String):void{
if (__cssLoader != null){
__cssLoader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__cssLoader.removeEventListener(Event.COMPLETE, cssLoadComplete);
};
__cssLoader = new URLLoader();
__cssLoader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler, false, 0, true);
__cssLoader.addEventListener(Event.COMPLETE, cssLoadComplete, false, 0, true);
__cssLoader.load(new URLRequest(cssPath));
}
public function destruct():void{
if (__xmlLoader != null){
__xmlLoader.removeEventListener(Event.COMPLETE, onXMLLoadComplete);
__xmlLoader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
};
if (__cssLoader != null){
__cssLoader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__cssLoader.removeEventListener(Event.COMPLETE, cssLoadComplete);
};
if (__clipLoader != null){
__clipLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, clipLoadComplete);
__clipLoader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__clipLoader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
__clipLoader.close();
//unresolved jump
var _slot1 = error;
trace(this, "Stream error - stream not opened");
};
if (__soundLoader != null){
__soundLoader.removeEventListener(Event.COMPLETE, soundLoadComplete);
__soundLoader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__soundLoader.removeEventListener(ProgressEvent.PROGRESS, onProgressEvent);
};
if (__imageLoader != null){
__imageLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, imageLoadComplete);
__imageLoader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
__imageLoader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
__imageLoader.close();
//unresolved jump
var _slot1 = error;
trace(this, "Stream error - stream not opened");
};
__clipLoader = null;
__xmlLoader = null;
__cssLoader = null;
__soundLoader = null;
__sender = null;
}
private function errorHandler(e:IOErrorEvent):void{
trace(Error(e).message);
trace(this, "Could not load document.");
}
private function cssLoadComplete(event:Event):void{
__sender.receiveCssContent(__cssLoader.data);
}
private function soundLoadComplete(event:Event):void{
if ((event.target is Sound)){
__sender.receiveSoundContent(Sound(event.target));
};
}
private function onXMLLoadComplete(event:Event):void{
__sender.receiveLoadedXMLContent(new XML(event.target.data));
}
private function clipLoadComplete(event:Event):void{
var event = event;
__sender.receiveMovieClipContent(MovieClip(__clipLoader.content));
//unresolved jump
var _slot1 = e;
trace(("error: " + _slot1.message));
}
private function imageLoadComplete(event:Event):void{
if (__imageLoader != null){
__sender.receiveBitmapContent(DisplayObject(__imageLoader.content));
};
}
private function securityErrorHandler(error:SecurityError):void{
trace("A security error occurred while loading an external object.");
trace(("Error Message: " + error.message));
}
private function onProgressEvent(event:ProgressEvent):void{
var percentage:int = Math.floor(((event.bytesLoaded / event.bytesTotal) * 100));
__sender.receiveProgress(percentage);
}
}
}//package mattel.barbie.icanbe.games.base
Section 80
//Preloader (mattel.barbie.icanbe.games.base.Preloader)
package mattel.barbie.icanbe.games.base {
import flash.display.*;
import flash.events.*;
import mattel.barbie.icanbe.games.events.*;
import smashing.utils.*;
public class Preloader extends MovieClip {
private const GAME_LOAD_PERCENTAGE = 70;
private const SOUND_LOAD_PERCENTAGE = 15;
private const LIBRARY_LOAD_PERCENTAGE = 15;
private var _libraryMax:int;
private var _libraryCount:int;
private var _soundMax:int;
private var _soundCount:int;
private var _libraryIncrement:int;
private var _soundIncrement:int;
public var preloader:MovieClip;
public function Preloader(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage, false, 0, true);
}
private function onAddedToStage(event:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
FrameUtils.addFrameLabelScript(this, "static", onStatic);
FrameUtils.addFrameLabelScript(this, "complete", onComplete);
stage.addEventListener(BarbieGameEvents.PROGRESS_PERCENTAGE, onGameLoadPercentage, false, 0, true);
stage.addEventListener(BarbieGameEvents.SOUND_PROGRESS_PERCENTAGE, onSoundLoadPercentage, false, 0, true);
stage.addEventListener(BarbieGameEvents.LIBRARY_PROGRESS_PERCENTAGE, onLibraryLoadPercentage, false, 0, true);
stage.addEventListener(BarbieGameEvents.GAME_LOAD_COMPLETE, onGameLoadComplete, false, 0, true);
gotoAndPlay("intro");
}
private function onGameLoadPercentage(event:BarbieGameEvents):void{
updatePreloader((event.progress - (100 - GAME_LOAD_PERCENTAGE)));
}
private function onGameLoadComplete(event:Event):void{
event.stopImmediatePropagation();
event.stopPropagation();
preloader.gotoAndStop(100);
gotoAndPlay("outro");
}
private function onLibraryLoadPercentage(event:BarbieGameEvents):void{
if (((!((_libraryMax == 0))) && ((event.progress == 0)))){
_libraryCount = (100 / _libraryMax);
_libraryIncrement = Math.floor((LIBRARY_LOAD_PERCENTAGE / _libraryCount));
updatePreloader((preloader.currentFrame + _libraryIncrement));
} else {
if ((((event.progress > _libraryMax)) && ((_libraryIncrement == 0)))){
_libraryMax = event.progress;
} else {
if (_libraryMax == event.progress){
updatePreloader((preloader.currentFrame + _libraryIncrement));
};
};
};
}
private function onSoundLoadPercentage(event:BarbieGameEvents):void{
if (((!((_soundMax == 0))) && ((event.progress == 0)))){
_soundCount = (100 / _soundMax);
_soundIncrement = Math.floor((SOUND_LOAD_PERCENTAGE / _soundCount));
updatePreloader((preloader.currentFrame + _soundIncrement));
} else {
if ((((event.progress > _soundMax)) && ((_soundIncrement == 0)))){
_soundMax = event.progress;
} else {
if (_soundMax == event.progress){
updatePreloader((preloader.currentFrame + _soundIncrement));
};
};
};
}
private function onRemovedFromStage(event:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage);
FrameUtils.addFrameLabelScript(this, "static", null);
FrameUtils.addFrameLabelScript(this, "complete", null);
stage.removeEventListener(BarbieGameEvents.PROGRESS_PERCENTAGE, onGameLoadPercentage);
stage.removeEventListener(BarbieGameEvents.SOUND_PROGRESS_PERCENTAGE, onSoundLoadPercentage);
stage.removeEventListener(BarbieGameEvents.LIBRARY_PROGRESS_PERCENTAGE, onLibraryLoadPercentage);
stage.removeEventListener(BarbieGameEvents.GAME_LOAD_COMPLETE, onGameLoadComplete);
}
private function updatePreloader(percentage:int):void{
if (((!((preloader == null))) && ((percentage > 0)))){
preloader.gotoAndStop(percentage);
};
}
private function onStatic():void{
stop();
}
private function onComplete():void{
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.PRELOAD_COMPLETE));
gotoAndStop("off");
}
}
}//package mattel.barbie.icanbe.games.base
Section 81
//SoundLoader (mattel.barbie.icanbe.games.base.SoundLoader)
package mattel.barbie.icanbe.games.base {
import flash.display.*;
import flash.media.*;
import mattel.barbie.icanbe.games.events.*;
public class SoundLoader extends MovieClip implements IOnDemandLoader {
private var _soundID:String;
private var _currentSoundNode:int;
private var _soundLoader:OnDemandLoader;
private var _soundList:XMLList;
public var filePath:String;
public function SoundLoader(){
super();
}
public function loadSounds(pSoundList:XMLList):void{
_soundLoader = new OnDemandLoader(this);
_soundList = pSoundList;
loadNextSound();
}
public function receiveSoundContent(soundContent:Sound):void{
GameDataManager.instance.addMP3Sound(_soundID, soundContent);
_currentSoundNode++;
loadNextSound();
}
public function receiveProgress(progress:int):void{
var subProgress:int = Math.round((progress / _soundList.item.length()));
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.SOUND_PROGRESS_PERCENTAGE, subProgress));
}
public function receiveLoadedXMLContent(xmlContent:XML):void{
}
public function receiveCssContent(cssContent:String):void{
}
public function receiveMovieClipContent(clipContent:MovieClip):void{
}
public function receiveBitmapContent(imageContent:DisplayObject):void{
}
private function loadNextSound():void{
var soundPath:String;
if (_soundList.item[_currentSoundNode] != null){
soundPath = _soundList.item[_currentSoundNode].@src;
_soundID = _soundList.item[_currentSoundNode].@id;
_soundLoader.loadSound((filePath + soundPath));
} else {
dispatchEvent(new BarbieGameEvents(BarbieGameEvents.MP3_SOUNDS_LOADED));
_soundLoader.destruct();
_soundLoader = null;
};
}
}
}//package mattel.barbie.icanbe.games.base
Section 82
//BarbieGameEvents (mattel.barbie.icanbe.games.events.BarbieGameEvents)
package mattel.barbie.icanbe.games.events {
import flash.events.*;
public class BarbieGameEvents extends Event {
public var amount:int;
public var value:String;
private var _progress:int;
public static const GAME_DATA_RESTORED:String = "gameDataRestored";
public static const GAME_LOAD_COMPLETE:String = "gameLoadComplete";
public static const PRELOAD_COMPLETE:String = "preloadComplete";
public static const MP3_SOUNDS_LOADED:String = "mp3SoundsLoaded";
public static const LIBRARIES_LOADED:String = "librariesLoaded";
public static const PROGRESS_PERCENTAGE:String = "progressPercentage";
public static const SOUND_PROGRESS_PERCENTAGE:String = "soundProgressPercentage";
public static const LIBRARY_PROGRESS_PERCENTAGE:String = "libraryProgressPercentage";
public static const SCORE_CHANGED:String = "scoreChanged";
public static const STRIKE_CHANGED:String = "strikeChanged";
public static const CHECK_LEVEL:String = "checkLevel";
public static const LEVEL_OVER:String = "levelOver";
public static const GAME_OVER:String = "gameOver";
public static const PLAY_CHEER_LOOP:String = "playCheerLoop";
public static const PLAY_MAIN_LOOP:String = "playMainLoop";
public static const PLAY_FAST_LOOP:String = "playFastLoop";
public static const PLAY_TITLE_LOOP:String = "playTitleLoop";
public static const SET_MAIN_LOOP:String = "setMainLoop";
public static const STOP_LOOP:String = "stopLoop";
public function BarbieGameEvents(type:String, pProgress:int=0, bubbles:Boolean=true, cancelable:Boolean=false){
super(type, bubbles, cancelable);
_progress = pProgress;
}
public function set progress(pProgress:int):void{
_progress = pProgress;
}
public function get progress():int{
return (_progress);
}
override public function clone():Event{
return (new BarbieGameEvents(type, progress, bubbles, cancelable));
}
override public function toString():String{
return (formatToString("BarbieGameEvents", "type", "progress", "bubbles", "cancelable", "eventPhase"));
}
}
}//package mattel.barbie.icanbe.games.events
Section 83
//wav (rollover07.wav)
package rollover07 {
import flash.media.*;
public dynamic class wav extends Sound {
}
}//package rollover07
Section 84
//IntervalEngine (smashing.interval.IntervalEngine)
package smashing.interval {
import flash.events.*;
import flash.utils.*;
public class IntervalEngine extends EventDispatcher {
public var elapsedTimeModifier:Number;// = 0.001
public var isRunning:Boolean;// = false
private var __cancelableEvent:Boolean;// = false
private var __bubblingEvent:Boolean;// = false
private var __timer:Timer;
private var __lastUpdate:Number;
private var __elapsedTime:Number;
public function IntervalEngine(pIntervalDelay:Number=10, pCancelable:Boolean=false, pBubbles:Boolean=false){
super();
__cancelableEvent = pCancelable;
__bubblingEvent = pBubbles;
__timer = new Timer(pIntervalDelay);
__timer.addEventListener(TimerEvent.TIMER, timerHandler);
}
final public function start(pUpdateImmediatly:Boolean=false):void{
__lastUpdate = getTimer();
if (pUpdateImmediatly == true){
timerHandler();
};
__timer.start();
this.dispatchEvent(new IntervalEvent(IntervalEvent.INTERVAL_STARTED, __cancelableEvent, __bubblingEvent, __elapsedTime));
}
final public function stop(pUpdateFinally:Boolean=false):void{
__timer.stop();
if (pUpdateFinally == true){
timerHandler();
};
this.dispatchEvent(new IntervalEvent(IntervalEvent.INTERVAL_STOPPED, __cancelableEvent, __bubblingEvent, __elapsedTime));
}
final public function destroy():void{
stop();
__timer.removeEventListener(TimerEvent.TIMER, timerHandler);
__timer = null;
}
private function timerHandler(pEvent:TimerEvent=null):void{
__elapsedTime = ((-(__lastUpdate) + (__lastUpdate = getTimer())) * elapsedTimeModifier);
this.dispatchEvent(new IntervalEvent(IntervalEvent.INTERVAL, __cancelableEvent, __bubblingEvent, __elapsedTime));
if (pEvent != null){
pEvent.updateAfterEvent();
};
}
}
}//package smashing.interval
Section 85
//IntervalEvent (smashing.interval.IntervalEvent)
package smashing.interval {
import flash.events.*;
public class IntervalEvent extends Event {
public var elapsedTime:Number;// = 0
public static const INTERVAL:String = "interval";
public static const INTERVAL_STOPPED:String = "intervalStopped";
public static const INTERVAL_STARTED:String = "intervalStarted";
public function IntervalEvent(pType:String, pCancelable:Boolean=false, pBubbles:Boolean=false, pElapsedTime:Number=0){
super(pType, pCancelable, pBubbles);
elapsedTime = pElapsedTime;
}
override public function clone():Event{
return (new IntervalEvent(super.type, super.cancelable, super.bubbles, elapsedTime));
}
}
}//package smashing.interval
Section 86
//Localization (smashing.localization.Localization)
package smashing.localization {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.text.*;
import smashing.utils.*;
public dynamic class Localization extends MovieClip {
private static const FONT_SANS:String = "_sans";
private static const FONT_TYPEWRITER:String = "_typewriter";
private static const FONT_SERIF:String = "_serif";
public static var DEBUG_MODE:Boolean = false;
public static var DEBUG_REPLACE:String = "*localized*";
public static var SHARED_FONT_APPEND:String = " Embedded";
private static var __styleSheet:StyleSheet = null;
private static var __localization:Object = null;
public function Localization(){
super();
this.visible = false;
this.addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
}
private function addedToStageHandler(pEvent:Event):void{
var i:int;
var textField:TextField;
removeEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
var len:uint = this.numChildren;
i = 0;
while (i < len) {
if ((getChildAt(i) is TextField)){
textField = (getChildAt(i) as TextField);
if (!StringUtils.isEmptyString(textField.name)){
if (__localization == null){
Localization.localizeTextField(textField.name, textField);
} else {
Localization.applyLocalization(textField);
};
};
};
i++;
};
this.visible = true;
}
public static function setStyleSheet(pStyleSheet:StyleSheet):void{
__styleSheet = pStyleSheet;
}
public static function clearLocalization():void{
__localization = {};
}
public static function addLocalization(pLocalizationList:XMLList, pOverwrite:Boolean=true):void{
var child:XML;
var id:String;
if (__localization == null){
__localization = {};
};
var i:int;
var children:XMLList = pLocalizationList.children();
var len:int = children.length();
i = 0;
while (i < len) {
child = children[i];
if (child.hasOwnProperty("@id")){
id = child.@id;
} else {
id = child.name();
};
if ((((__localization[id] == null)) || (pOverwrite))){
__localization[id] = child;
};
i++;
};
}
public static function seekNode(pNodeName:String, pStartClip:DisplayObject):XMLList{
var pNodeName = pNodeName;
var pStartClip = pStartClip;
var localizationNode:XMLList = new XMLList();
var clipReference:DisplayObject = pStartClip;
var i:int;
i = 0;
for (;i < 1000;if (((!((localizationNode == null))) && ((localizationNode.hasOwnProperty(pNodeName) == true)))){
return (localizationNode[pNodeName]);
}, if (clipReference.parent == null){
return (null);
}, (clipReference = clipReference.parent), (i = (i + 1))) {
localizationNode = clipReference["localization"];
continue;
var _slot1 = pError;
localizationNode = null;
};
return (null);
}
public static function localizeTextField(pNodeName:String, pTextField:TextField):void{
var localizationNode:XMLList = seekNode(pNodeName, pTextField);
if (localizationNode == null){
return;
};
applyNodeToTextField(localizationNode, pTextField);
}
public static function applyNodeToTextField(pLocalizationNode:XMLList, pTextField:TextField):void{
var textFieldHeight:Number;
var textHeight:Number;
var localizationNode:XMLList = pLocalizationNode;
var textField:TextField = pTextField;
var textFormat:TextFormat = textField.defaultTextFormat;
var isInput = (textField.type == TextFieldType.INPUT);
if (DEBUG_MODE == true){
textFormat.font = FONT_SANS;
textField.embedFonts = false;
textField.htmlText = DEBUG_REPLACE;
return;
};
textFormat = textField.defaultTextFormat;
if (localizationNode.hasOwnProperty("@size")){
textFormat.size = Number(localizationNode.@size);
};
if (localizationNode.hasOwnProperty("@x")){
textField.x = (textField.x + Number(localizationNode.@x));
};
if (localizationNode.hasOwnProperty("@y")){
textField.y = (textField.y + Number(localizationNode.@y));
};
if (isInput){
textField.text = String(localizationNode.text());
} else {
textField.multiline = true;
textField.htmlText = String((((("<font face=\"" + textField.defaultTextFormat.font) + "\">") + localizationNode.text()) + "</font>"));
};
textField.defaultTextFormat = textFormat;
textField.setTextFormat(textFormat);
applySharedFont(textField);
if (((localizationNode.hasOwnProperty("@valign")) && ((localizationNode.@valign == "true")))){
textFieldHeight = textField.height;
textHeight = textField.textHeight;
textField.y = (textField.y + (((textFieldHeight - textHeight) / 2) - (Number(textFormat.size) / 4)));
};
if (localizationNode.hasOwnProperty("@condenseWhite")){
textField.condenseWhite = (localizationNode.@condenseWhite == "true");
};
}
public static function applySharedFont(pTextField:TextField, overrideFont:String=null):void{
var n:Number;
var fontClass:Class;
var embeddedFont:Font;
if (__styleSheet == null){
return;
};
var textField:TextField = pTextField;
var textFormat:TextFormat = textField.defaultTextFormat;
var newTextFormat:TextFormat = new TextFormat();
newTextFormat.letterSpacing = 0;
newTextFormat.size = textFormat.size;
var styleName:String = StringUtils.stripWhiteSpace(textFormat.font);
trace(("current font name = " + styleName));
var style:Object = __styleSheet.getStyle(styleName);
if (style.font != null){
fontClass = (getDefinitionByName(style.font) as Class);
if (overrideFont != null){
fontClass = (getDefinitionByName(overrideFont) as Class);
};
embeddedFont = new (fontClass);
newTextFormat.font = embeddedFont.fontName;
if (style.align){
newTextFormat.align = style.align;
};
if (style.size){
newTextFormat.size = style.size;
};
if (style.kerning){
newTextFormat.kerning = "true";
};
textField.embedFonts = true;
textField.setTextFormat(newTextFormat);
textField.defaultTextFormat = newTextFormat;
};
while ((((textField.textWidth > (textField.width - 3))) && ((textField.multiline == false)))) {
n = (textFormat.size as Number);
n--;
textFormat.size = (n as Object);
newTextFormat.size = textFormat.size;
textField.setTextFormat(newTextFormat);
textField.defaultTextFormat = newTextFormat;
};
if (((style.valign) && ((style.valign == "false")))){
return;
};
trace(("is VALIGNING SHIT = " + textField.text));
textField.y = (textField.y + Number(((textField.height - textField.textHeight) / 2)));
}
public static function getLocalizedString(pID:String):String{
if (__localization){
if (!__localization[pID]){
return (null);
};
return (__localization[pID].toString());
};
return (null);
}
public static function applyLocalization(pTextField:TextField, pUseID:String=null):void{
var ny:Number;
var textField:TextField = pTextField;
var localizationID:String = ((pUseID)==null) ? textField.name : pUseID;
var localizationNode:XML;
if (StringUtils.isEmptyString(localizationID)){
trace("[smashing.localization.Localization]: TextField has no instance name and use id was undefined.");
return;
};
if (__localization[localizationID] == null){
trace(("[smashing.localization.Localization]: Could not find localization node with id: " + localizationID));
return;
};
var textFormat:TextFormat = textField.getTextFormat();
localizationNode = __localization[localizationID];
textField.text = "";
if (localizationNode.hasOwnProperty("@size")){
textFormat.size = Number(localizationNode.@size);
};
if (localizationNode.hasOwnProperty("@x")){
textField.x = (textField.x + Number(localizationNode.@x));
};
if (localizationNode.hasOwnProperty("@y")){
textField.y = (textField.y + Number(localizationNode.@y));
};
var isBold = (textField.getTextFormat().bold == true);
var isItalic = (textField.getTextFormat().italic == true);
if (((isBold) && (isItalic))){
textField.htmlText = (("<b><i>" + localizationNode.text()) + "</i></b>");
} else {
if (isBold){
textField.htmlText = (("<b>" + localizationNode.text()) + "</b>");
} else {
if (isItalic){
textField.htmlText = (("<i>" + localizationNode.text()) + "</i>");
} else {
textField.htmlText = localizationNode.text();
};
};
};
textField.defaultTextFormat = textFormat;
if (__styleSheet == null){
textField.embedFonts = true;
} else {
if (localizationNode.hasOwnProperty("@overrideFont")){
applySharedFont(textField, localizationNode.@overrideFont);
} else {
applySharedFont(textField);
};
};
if (((localizationNode.hasOwnProperty("@valign")) && ((localizationNode.@valign == "true")))){
ny = Number(((textField.height - textField.textHeight) / 2));
textField.y = (textField.y + ny);
};
}
public static function forceLocalization(pTextField:TextField, localizationNode:XML):void{
var ny:Number;
var textField:TextField = pTextField;
var stField:String = textField.text;
var textFormat:TextFormat = pTextField.defaultTextFormat;
if (localizationNode.hasOwnProperty("@size")){
textFormat.size = Number(localizationNode.@size);
};
textField.defaultTextFormat = textFormat;
if (localizationNode.hasOwnProperty("@overrideFont")){
applySharedFont(textField, localizationNode.@overrideFont);
} else {
applySharedFont(textField);
};
if (((localizationNode.hasOwnProperty("@valign")) && ((localizationNode.@valign == "true")))){
ny = Number(((textField.height - textField.textHeight) / 2));
textField.y = (textField.y + ny);
};
textField.htmlText = stField;
}
}
}//package smashing.localization
Section 87
//PlaySound (smashing.sound.PlaySound)
package smashing.sound {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import flash.system.*;
import flash.utils.*;
public class PlaySound extends MovieClip {
private var __soundVolume:Number;// = 1
private var __sound:Sound;
private var __applicationDomain:ApplicationDomain;
private var __soundID:String;
private var __class:Class;
private var __soundLoops:Number;// = 0
private var __componentInspectorSetting:Boolean;
private var __soundStartTime:Number;// = 0
private var __soundPan:Number;// = 0
private var __soundTransform:SoundTransform;
public function PlaySound():void{
__applicationDomain = ApplicationDomain.currentDomain;
__soundVolume = 1;
__soundPan = 0;
__soundStartTime = 0;
__soundLoops = 0;
super();
addEventListener(Event.ADDED_TO_STAGE, addedToStage);
visible = false;
stop();
}
public function set componentInspectorSetting(_arg1:Boolean):void{
__componentInspectorSetting = _arg1;
if (_arg1 == false){
playSound();
};
}
public function set soundVolume(_arg1:Number):void{
__soundVolume = (Math.round((_arg1 * 10)) / 10);
}
public function set soundPan(_arg1:Number):void{
__soundPan = _arg1;
}
private function addedToStage(_arg1:Event):void{
visible = false;
}
private function playSound(_arg1:Event=null):void{
if (Capabilities.playerType == "PlugIn"){
};
if (__applicationDomain.hasDefinition(__soundID)){
__class = (__applicationDomain.getDefinition(__soundID) as Class);
__sound = new __class();
__soundTransform = new SoundTransform(__soundVolume, __soundPan);
__sound.play(__soundStartTime, __soundLoops, __soundTransform);
} else {
if (Capabilities.playerType == "PlugIn"){
trace(((((getQualifiedClassName(this) + " playSound():: Cannot create a sound with the id: ") + __soundID) + " in ") + getQualifiedClassName(this.parent)));
};
};
}
public function set startTime(_arg1:Number):void{
__soundStartTime = _arg1;
}
public function set soundID(_arg1:String):void{
__soundID = _arg1;
}
public function set loops(_arg1:Number):void{
__soundLoops = _arg1;
}
}
}//package smashing.sound
Section 88
//CustomSoundObject (smashing.soundcontroller.core.CustomSoundObject)
package smashing.soundcontroller.core {
import flash.media.*;
public class CustomSoundObject {
public var channel:SoundChannel;
public var volume:Number;// = 1
public var targetVolume:Number;// = 1
public var fadeSpeed:Number;// = 100
public var stopOnFadeComplete:Boolean;// = false
public var panSpeed:Number;// = 100
public var pan:Number;// = 0
public var stopOnPanComplete:Boolean;// = false
public var targetPan:Number;// = 0
public var isPaused:Boolean;
public var isFading:Boolean;
public var isPanning:Boolean;
private var _name:String;
private var _group:String;
private var _repeat:Number;
private var _position:Number;
public function CustomSoundObject(){
super();
}
public function init(pChannel:SoundChannel, pName:String, pGroup:String, pVolume:Number, pRepeat:Number):void{
channel = pChannel;
_name = pName;
_group = pGroup;
_repeat = pRepeat;
isPaused = false;
isFading = false;
isPanning = false;
volume = pVolume;
targetVolume = pVolume;
pan = 0;
targetPan = 0;
}
public function get name():String{
return (_name);
}
public function get group():String{
return (_group);
}
public function get repeat():Number{
return (_repeat);
}
public function get position():Number{
return (_position);
}
public function set position(pNumber:Number):void{
_position = pNumber;
}
}
}//package smashing.soundcontroller.core
Section 89
//SequencingController (smashing.soundcontroller.core.SequencingController)
package smashing.soundcontroller.core {
import flash.utils.*;
public class SequencingController {
private var _soundData:SoundData;
private var _soundLibrary:SoundLibrary;
private var _currentPlaying:Array;
private var _sequenceDictionary:Dictionary;
private var _sequence:Array;
public function SequencingController(pSoundData:SoundData){
super();
_soundData = pSoundData;
_soundLibrary = _soundData.soundLibrary;
_currentPlaying = _soundData.currentPlaying;
_sequenceDictionary = new Dictionary();
trace((getQualifiedClassName(this) + ": Class created."));
}
public function destroy():void{
_sequenceDictionary = null;
}
public function quickSequence(pSequenceName:String, ... _args):void{
if (_sequenceDictionary[pSequenceName] != null){
return;
};
}
public function queueSound(pSequenceName:String, ... _args):void{
}
public function queueDelay(pSequenceName:String, pDelay:Number):void{
}
public function playSequence(pSequenceName:String):void{
}
public function stopSequence(pSequenceName:String):void{
}
}
}//package smashing.soundcontroller.core
Section 90
//SoundController (smashing.soundcontroller.core.SoundController)
package smashing.soundcontroller.core {
import flash.media.*;
import flash.events.*;
import flash.utils.*;
public class SoundController {
private const SOUNDS_PLAYING_CAP:Number = 32;
private var _soundData:SoundData;
private var _soundLibrary:SoundLibrary;
private var _currentPlaying:Array;
public function SoundController(pSoundData:SoundData):void{
super();
_soundData = pSoundData;
_soundLibrary = _soundData.soundLibrary;
_currentPlaying = _soundData.currentPlaying;
}
public function destroy():void{
}
public function playSound(pName:String, pGroup:String="default", pVolume:Number=1, pRepeat:int=0):SoundChannel{
var pName = pName;
var pGroup = pGroup;
var pVolume = pVolume;
var pRepeat = pRepeat;
if (_soundLibrary.soundDict[pName] == null){
_soundLibrary.addInternalSound(pName);
//unresolved jump
var _slot1 = e;
trace((getQualifiedClassName(this) + ": Sound could not be created."));
return (null);
};
if (_soundLibrary.soundDict[pName].sound.length <= 0){
trace((getQualifiedClassName(this) + ": Sound is not loaded."));
return (null);
};
if (_currentPlaying.length > (SOUNDS_PLAYING_CAP - 1)){
trace((getQualifiedClassName(this) + ": Sound cap reached."));
return (null);
};
var soundLibraryObj:Object = _soundLibrary.soundDict[pName];
var custSoundObj:CustomSoundObject = new CustomSoundObject();
custSoundObj.init(soundLibraryObj.sound.play(0, pRepeat), pName, pGroup, pVolume, pRepeat);
setChannelVolume(custSoundObj.channel, pVolume);
custSoundObj.channel.addEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying.push(custSoundObj);
return (custSoundObj.channel);
}
public function getSoundIsPlaying(pIdentifier):Boolean{
var i:int;
var j:int;
var isPlaying:Boolean;
var str:String = retrieveClassName(pIdentifier);
switch (str){
case "String":
if (_soundLibrary.soundDict[pIdentifier] == null){
break;
};
i = 0;
while (i < _currentPlaying.length) {
if ((((_currentPlaying[i].name == pIdentifier)) && (!(_currentPlaying[i].isPaused)))){
isPlaying = true;
break;
};
i++;
};
break;
case "SoundChannel":
j = 0;
while (j < _currentPlaying.length) {
if ((((_currentPlaying[j].channel == pIdentifier)) && (!(_currentPlaying[i].isPaused)))){
isPlaying = true;
break;
};
j++;
};
break;
default:
trace((getQualifiedClassName(this) + ": Invalid sound identifier."));
break;
};
return (isPlaying);
}
public function getGroupIsPlaying(pGroupName:String):Boolean{
var isPlaying:Boolean;
var i:int;
while (i < _currentPlaying.length) {
if ((((_currentPlaying[i].group == pGroupName)) && (!(_currentPlaying[i].isPaused)))){
isPlaying = true;
break;
};
i++;
};
return (isPlaying);
}
public function stopSound(pIdentifier):void{
var _local3:Number;
var _local4:Number;
var str:String = retrieveClassName(pIdentifier);
switch (str){
case "String":
if (_soundLibrary.soundDict[pIdentifier] == null){
return;
};
_local3 = _currentPlaying.length;
while (_local3--) {
if (_currentPlaying[_local3].name == pIdentifier){
_currentPlaying[_local3].channel.stop();
_currentPlaying[_local3].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying.splice(_local3, 1);
};
};
break;
case "SoundChannel":
_local4 = _currentPlaying.length;
while (_local4--) {
if (_currentPlaying[_local4].channel == pIdentifier){
_currentPlaying[_local4].channel.stop();
_currentPlaying[_local4].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying.splice(_local4, 1);
};
};
break;
default:
trace((getQualifiedClassName(this) + ": Invalid sound identifier."));
break;
};
}
public function stopGroup(pGroupName:String):void{
var i:Number = _currentPlaying.length;
while (i--) {
if (_currentPlaying[i].group == pGroupName){
_currentPlaying[i].channel.stop();
_currentPlaying[i].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying.splice(i, 1);
};
};
}
public function stopAll():void{
var i:Number = _currentPlaying.length;
while (i--) {
_currentPlaying[i].channel.stop();
_currentPlaying[i].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying.splice(i, 1);
};
}
public function setVolume(pIdentifier, pVolume:Number):void{
var i:int;
var j:int;
var str:String = retrieveClassName(pIdentifier);
switch (str){
case "String":
if (_soundLibrary.soundDict[pIdentifier] == null){
return;
};
i = 0;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].name == pIdentifier){
_currentPlaying[i].volume = pVolume;
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
};
i++;
};
break;
case "SoundChannel":
j = 0;
while (j < _currentPlaying.length) {
if (_currentPlaying[j].channel == pIdentifier){
_currentPlaying[j].volume = pVolume;
setChannelVolume(_currentPlaying[j].channel, _currentPlaying[j].volume);
break;
};
j++;
};
break;
default:
trace((getQualifiedClassName(this) + ": Invalid sound identifier."));
break;
};
}
public function setGroupVolume(pGroupName:String, pVolume:Number):void{
var i:int;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].group == pGroupName){
_currentPlaying[i].volume = pVolume;
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
};
i++;
};
}
public function toggleSound(pIdentifier, pPause:Boolean):void{
var i:int;
var j:int;
var str:String = retrieveClassName(pIdentifier);
switch (str){
case "String":
if (_soundLibrary.soundDict[pIdentifier] == null){
return;
};
i = 0;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].name == pIdentifier){
if (((pPause) && (!(_currentPlaying[i].isPaused)))){
if (_currentPlaying[i].repeat > 0){
_currentPlaying[i].position = 0;
} else {
_currentPlaying[i].position = _currentPlaying[i].channel.position;
};
_currentPlaying[i].channel.stop();
_currentPlaying[i].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying[i].isPaused = true;
} else {
if (((!(pPause)) && (_currentPlaying[i].isPaused))){
_currentPlaying[i].channel = _soundLibrary.soundDict[pIdentifier].sound.play(_currentPlaying[i].position, _currentPlaying[i].repeat);
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
setChannelPan(_currentPlaying[i].channel, _currentPlaying[i].pan);
_currentPlaying[i].channel.addEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying[i].isPaused = false;
};
};
};
i++;
};
break;
case "SoundChannel":
j = 0;
while (j < _currentPlaying.length) {
if (_currentPlaying[j].channel == pIdentifier){
if (((pPause) && (!(_currentPlaying[j].isPaused)))){
if (_currentPlaying[j].repeat > 0){
_currentPlaying[j].position = 0;
} else {
_currentPlaying[j].position = _currentPlaying[j].channel.position;
};
_currentPlaying[j].channel.stop();
_currentPlaying[j].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying[j].isPaused = true;
break;
} else {
if (((!(pPause)) && (_currentPlaying[j].isPaused))){
_currentPlaying[j].channel = _soundLibrary.soundDict[_currentPlaying[j].name].sound.play(_currentPlaying[j].position, _currentPlaying[j].repeat);
setChannelVolume(_currentPlaying[j].channel, _currentPlaying[j].volume);
setChannelPan(_currentPlaying[j].channel, _currentPlaying[j].pan);
_currentPlaying[j].channel.addEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying[j].isPaused = true;
break;
};
};
};
j++;
};
break;
default:
trace((getQualifiedClassName(this) + ": Invalid sound identifier."));
break;
};
}
public function toggleGroup(pGroupName:String, pPause:Boolean):void{
var i:int;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].group == pGroupName){
if (((pPause) && (!(_currentPlaying[i].isPaused)))){
if (_currentPlaying[i].repeat > 0){
_currentPlaying[i].position = 0;
} else {
_currentPlaying[i].position = _currentPlaying[i].channel.position;
};
_currentPlaying[i].channel.stop();
_currentPlaying[i].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying[i].isPaused = true;
} else {
if (((!(pPause)) && (_currentPlaying[i].isPaused))){
_currentPlaying[i].channel = _soundLibrary.soundDict[_currentPlaying[i].name].sound.play(_currentPlaying[i].position, _currentPlaying[i].repeat);
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
setChannelPan(_currentPlaying[i].channel, _currentPlaying[i].pan);
_currentPlaying[i].channel.addEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying[i].isPaused = false;
};
};
};
i++;
};
}
private function setChannelVolume(pChannel:SoundChannel, pVolume:Number):void{
var transform:SoundTransform = pChannel.soundTransform;
transform.volume = pVolume;
pChannel.soundTransform = transform;
}
private function setChannelPan(pChannel:SoundChannel, pPan:Number):void{
var transform:SoundTransform = pChannel.soundTransform;
transform.pan = pPan;
pChannel.soundTransform = transform;
}
private function internalSoundCompleteHandler(event:Event):void{
var i:Number = _currentPlaying.length;
while (i--) {
if (event.target == _currentPlaying[i].channel){
if (_currentPlaying[i].repeat == 0){
_currentPlaying[i].channel.removeEventListener(Event.SOUND_COMPLETE, internalSoundCompleteHandler);
_currentPlaying.splice(i, 1);
};
break;
};
};
}
private function retrieveClassName(pIdentifier):String{
var identifier:String = getQualifiedClassName(pIdentifier);
var str:String = identifier.substring((identifier.lastIndexOf(":") + 1), identifier.length);
return (str);
}
}
}//package smashing.soundcontroller.core
Section 91
//SoundData (smashing.soundcontroller.core.SoundData)
package smashing.soundcontroller.core {
public class SoundData {
public var currentPlaying:Array;
private var _soundLibrary:SoundLibrary;
public function SoundData(){
super();
_soundLibrary = new SoundLibrary();
currentPlaying = new Array();
}
public function get soundLibrary():SoundLibrary{
return (_soundLibrary);
}
public function destroy():void{
currentPlaying = null;
_soundLibrary.destroy();
_soundLibrary = null;
}
}
}//package smashing.soundcontroller.core
Section 92
//SoundLibrary (smashing.soundcontroller.core.SoundLibrary)
package smashing.soundcontroller.core {
import flash.media.*;
import flash.utils.*;
import flash.net.*;
public class SoundLibrary {
private var _soundDict:Dictionary;
private var _linkageIDPrefix:String;// = ""
public function SoundLibrary():void{
super();
_soundDict = new Dictionary(true);
}
public function get soundDict():Dictionary{
return (_soundDict);
}
public function set linkageIDPrefix(pLinkageIDPrefix:String):void{
_linkageIDPrefix = pLinkageIDPrefix;
}
public function destroy():void{
_soundDict = null;
}
public function init(pExternalSoundData:XMLList):void{
var asset:XML;
var asseti:Number = pExternalSoundData.asset.igth();
while (asseti--) {
asset = pExternalSoundData.asset[asseti];
addExternalSound(String(asset.@id), String(asset.@url));
};
}
public function createInternalSounds():void{
}
public function addInternalSound(pName:String):void{
var linkageID:String = (_linkageIDPrefix + pName);
var classRef:Class = (getDefinitionByName(linkageID) as Class);
var sound:Sound = new (classRef);
var soundObj:Object = new Object();
soundObj.name = pName;
soundObj.sound = sound;
_soundDict[pName] = soundObj;
}
private function addExternalSound(pName:String, pExternalLocation:String):void{
var sound:Sound = new Sound(new URLRequest(pExternalLocation));
var soundObj:Object = new Object();
soundObj.name = pName;
soundObj.sound = sound;
_soundDict[pName] = soundObj;
}
}
}//package smashing.soundcontroller.core
Section 93
//TransformController (smashing.soundcontroller.core.TransformController)
package smashing.soundcontroller.core {
import flash.media.*;
import flash.events.*;
import smashing.soundcontroller.*;
import flash.utils.*;
public class TransformController {
private var _soundData:SoundData;
private var _soundLibrary:SoundLibrary;
private var _currentPlaying:Array;
private var _transformTimer:Timer;
private var _useInternalTransformInterval:Boolean;// = true
private var _internalTransformInterval:Number;// = 0.03
public function TransformController(pSoundData:SoundData){
super();
_soundData = pSoundData;
_soundLibrary = _soundData.soundLibrary;
_currentPlaying = _soundData.currentPlaying;
_transformTimer = new Timer((_internalTransformInterval * 1000));
_transformTimer.addEventListener(TimerEvent.TIMER, transformTimerHandler);
}
public function set internalTransformInterval(pNum:Number):void{
_internalTransformInterval = pNum;
if (_transformTimer){
_transformTimer.delay = _internalTransformInterval;
};
}
public function set useInternalTransformInterval(pB:Boolean):void{
_useInternalTransformInterval = pB;
if (_transformTimer){
_transformTimer.stop();
};
}
public function get useInternalTransformInterval():Boolean{
return (_useInternalTransformInterval);
}
public function destroy():void{
_transformTimer.removeEventListener(TimerEvent.TIMER, transformTimerHandler);
_transformTimer = null;
}
public function setSoundTargetFade(pIdentifier, pTargetVolume:Number, pFadeTime:Number, pStopOnComplete:Boolean):void{
var i:int;
var j:int;
var str:String = retrieveClassName(pIdentifier);
switch (str){
case "String":
if (_soundLibrary.soundDict[pIdentifier] == null){
return;
};
i = 0;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].name == pIdentifier){
_currentPlaying[i].targetVolume = pTargetVolume;
if (pFadeTime == 0){
pFadeTime = 0.001;
};
_currentPlaying[i].fadeSpeed = (Math.abs((_currentPlaying[i].volume - pTargetVolume)) / (pFadeTime / 1000));
_currentPlaying[i].stopOnFadeComplete = pStopOnComplete;
_currentPlaying[i].isFading = true;
};
i++;
};
break;
case "SoundChannel":
j = 0;
while (j < _currentPlaying.length) {
if (_currentPlaying[j].channel == pIdentifier){
_currentPlaying[j].targetVolume = pTargetVolume;
if (pFadeTime == 0){
pFadeTime = 0.001;
};
_currentPlaying[j].fadeSpeed = (Math.abs((_currentPlaying[j].volume - pTargetVolume)) / (pFadeTime / 1000));
_currentPlaying[j].stopOnFadeComplete = pStopOnComplete;
_currentPlaying[j].isFading = true;
break;
};
j++;
};
break;
default:
trace((getQualifiedClassName(this) + ": Invalid sound identifier."));
break;
};
if (_useInternalTransformInterval){
startTimer();
};
}
public function setGroupTargetFade(pGroupName:String, pTargetVolume:Number, pFadeTime:Number, pStopOnComplete:Boolean):void{
var i:int;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].group == pGroupName){
_currentPlaying[i].targetVolume = pTargetVolume;
if (pFadeTime == 0){
pFadeTime = 0.001;
};
_currentPlaying[i].fadeSpeed = (Math.abs((_currentPlaying[i].volume - pTargetVolume)) / (pFadeTime / 1000));
_currentPlaying[i].stopOnFadeComplete = pStopOnComplete;
_currentPlaying[i].isFading = true;
};
i++;
};
if (_useInternalTransformInterval){
startTimer();
};
}
public function setSoundTargetPan(pIdentifier, pPan:Number, pPanTime:Number, pStopOnComplete:Boolean):void{
var i:int;
var j:int;
var str:String = retrieveClassName(pIdentifier);
switch (str){
case "String":
if (_soundLibrary.soundDict[pIdentifier] == null){
return;
};
i = 0;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].name == pIdentifier){
_currentPlaying[i].targetPan = pPan;
if (pPanTime == 0){
pPanTime = 0.001;
};
_currentPlaying[i].panSpeed = (Math.abs((_currentPlaying[i].pan - pPan)) / (pPanTime / 1000));
_currentPlaying[i].stopOnPanComplete = pStopOnComplete;
_currentPlaying[i].isPanning = true;
};
i++;
};
break;
case "SoundChannel":
j = 0;
while (j < _currentPlaying.length) {
if (_currentPlaying[j].channel == pIdentifier){
_currentPlaying[j].targetPan = pPan;
if (pPanTime == 0){
pPanTime = 0.001;
};
_currentPlaying[j].panSpeed = (Math.abs((_currentPlaying[j].pan - pPan)) / (pPanTime / 1000));
_currentPlaying[j].stopOnPanComplete = pStopOnComplete;
_currentPlaying[j].isPanning = true;
break;
};
j++;
};
break;
default:
trace((getQualifiedClassName(this) + ": Invalid sound identifier."));
break;
};
if (_useInternalTransformInterval){
startTimer();
};
}
public function setGroupTargetPan(pGroupName:String, pPan:Number, pPanTime:Number, pStopOnComplete:Boolean):void{
var i:int;
while (i < _currentPlaying.length) {
if (_currentPlaying[i].group == pGroupName){
_currentPlaying[i].targetPan = pPan;
if (pPanTime == 0){
pPanTime = 0.001;
};
_currentPlaying[i].panSpeed = (Math.abs((_currentPlaying[i].pan - pPan)) / (pPanTime / 1000));
_currentPlaying[i].stopOnPanComplete = pStopOnComplete;
_currentPlaying[i].isPanning = true;
};
i++;
};
if (_useInternalTransformInterval){
startTimer();
};
}
public function fadeUpdate(dt:Number):void{
var i:int;
while (i < _currentPlaying.length) {
if (((!(_currentPlaying[i].isPaused)) && (_currentPlaying[i].isFading))){
if (_currentPlaying[i].volume < _currentPlaying[i].targetVolume){
if ((_currentPlaying[i].volume + (_currentPlaying[i].fadeSpeed * dt)) <= _currentPlaying[i].targetVolume){
_currentPlaying[i].volume = (_currentPlaying[i].volume + (_currentPlaying[i].fadeSpeed * dt));
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
} else {
_currentPlaying[i].volume = _currentPlaying[i].targetVolume;
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
};
} else {
if (_currentPlaying[i].volume > _currentPlaying[i].targetVolume){
if ((_currentPlaying[i].volume - (_currentPlaying[i].fadeSpeed * dt)) >= _currentPlaying[i].targetVolume){
_currentPlaying[i].volume = (_currentPlaying[i].volume - (_currentPlaying[i].fadeSpeed * dt));
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
} else {
_currentPlaying[i].volume = _currentPlaying[i].targetVolume;
setChannelVolume(_currentPlaying[i].channel, _currentPlaying[i].volume);
};
} else {
_currentPlaying[i].isFading = false;
if (_currentPlaying[i].stopOnFadeComplete){
SoundInterface.instance.stopSound(_currentPlaying[i].channel);
};
stopTimer();
};
};
};
i++;
};
}
public function panUpdate(dt:Number):void{
var i:int;
while (i < _currentPlaying.length) {
if (((!(_currentPlaying[i].isPaused)) && (_currentPlaying[i].isPanning))){
if (_currentPlaying[i].pan < _currentPlaying[i].targetPan){
if ((_currentPlaying[i].pan + (_currentPlaying[i].panSpeed * dt)) <= _currentPlaying[i].targetPan){
_currentPlaying[i].pan = (_currentPlaying[i].pan + (_currentPlaying[i].panSpeed * dt));
} else {
_currentPlaying[i].pan = _currentPlaying[i].targetPan;
};
setChannelPan(_currentPlaying[i].channel, _currentPlaying[i].pan);
} else {
if (_currentPlaying[i].pan > _currentPlaying[i].targetPan){
if ((_currentPlaying[i].pan - (_currentPlaying[i].panSpeed * dt)) >= _currentPlaying[i].targetPan){
_currentPlaying[i].pan = (_currentPlaying[i].pan - (_currentPlaying[i].panSpeed * dt));
} else {
_currentPlaying[i].pan = _currentPlaying[i].targetPan;
};
setChannelPan(_currentPlaying[i].channel, _currentPlaying[i].pan);
} else {
_currentPlaying[i].isPanning = false;
if (_currentPlaying[i].stopOnPanComplete){
SoundInterface.instance.stopSound(_currentPlaying[i].channel);
};
stopTimer();
};
};
};
i++;
};
}
private function startTimer():void{
if (_transformTimer.running){
return;
};
var i:int;
while (i < _currentPlaying.length) {
if (((_currentPlaying[i].isFading) || (_currentPlaying[i].isPanning))){
_transformTimer.start();
return;
};
i++;
};
}
private function stopTimer():void{
var i:int;
while (i < _currentPlaying.length) {
if (((_currentPlaying[i].isFading) || (_currentPlaying[i].isPanning))){
return;
};
i++;
};
_transformTimer.stop();
}
private function transformTimerHandler(event:TimerEvent):void{
if (_useInternalTransformInterval){
fadeUpdate(_internalTransformInterval);
panUpdate(_internalTransformInterval);
};
}
private function setChannelVolume(pChannel:SoundChannel, pVolume:Number):void{
var transform:SoundTransform = pChannel.soundTransform;
transform.volume = pVolume;
pChannel.soundTransform = transform;
}
private function setChannelPan(pChannel:SoundChannel, pPan:Number):void{
var transform:SoundTransform = pChannel.soundTransform;
transform.pan = pPan;
pChannel.soundTransform = transform;
}
private function retrieveClassName(pIdentifier):String{
var identifier:String = getQualifiedClassName(pIdentifier);
var str:String = identifier.substring((identifier.lastIndexOf(":") + 1), identifier.length);
return (str);
}
}
}//package smashing.soundcontroller.core
Section 94
//SoundInterface (smashing.soundcontroller.SoundInterface)
package smashing.soundcontroller {
import flash.media.*;
import smashing.soundcontroller.core.*;
import flash.utils.*;
public class SoundInterface {
private const DEFAULT_FADE_TIME:Number = 1000;
private const DEFAULT_PAN_TIME:Number = 1000;
private var _soundData:SoundData;
private var _soundController:SoundController;
private var _transformController:TransformController;
private var _sequencingController:SequencingController;
private static var _instance:SoundInterface;
private static var _instanceGetter:Function = _instanceGetterCheckForNull;
public function SoundInterface():void{
super();
_soundData = new SoundData();
_soundController = new SoundController(_soundData);
_transformController = new TransformController(_soundData);
_sequencingController = new SequencingController(_soundData);
}
private function destroyInstance():void{
stopAll();
_transformController.destroy();
_sequencingController.destroy();
_soundController.destroy();
_soundData.destroy();
}
public function setLibraryLinkageIDPrefix(pLinkageIDPrefix:String):void{
_soundData.soundLibrary.linkageIDPrefix = pLinkageIDPrefix;
}
public function initSoundLibrary(pExternalSoundData:XMLList):void{
_soundData.soundLibrary.init(pExternalSoundData);
}
public function useInternalTransformInterval(pB:Boolean):void{
_transformController.useInternalTransformInterval = pB;
}
public function playSound(pName:String, pGroupName:String="default", pVolume:Number=1, pRepeat:Number=0):SoundChannel{
var channel:SoundChannel = _soundController.playSound(pName, pGroupName, pVolume, pRepeat);
return (channel);
}
public function getSoundIsPlaying(pIdentifier):Boolean{
var isPlaying:Boolean = _soundController.getSoundIsPlaying(pIdentifier);
return (isPlaying);
}
public function getGroupIsPlaying(pGroupName:String):Boolean{
var isPlaying:Boolean = _soundController.getGroupIsPlaying(pGroupName);
return (isPlaying);
}
public function stopSound(pIdentifier):void{
_soundController.stopSound(pIdentifier);
}
public function stopGroup(pGroupName:String):void{
_soundController.stopGroup(pGroupName);
}
public function stopAll():void{
_soundController.stopAll();
}
public function setVolume(pIdentifier, pVolume:Number):void{
_soundController.setVolume(pIdentifier, pVolume);
}
public function setGroupVolume(pGroupName:String, pVolume:Number):void{
_soundController.setGroupVolume(pGroupName, pVolume);
}
public function toggleSound(pIdentifier, pPause:Boolean):void{
_soundController.toggleSound(pIdentifier, pPause);
}
public function toggleGroup(pGroupName:String, pPause:Boolean):void{
_soundController.toggleGroup(pGroupName, pPause);
}
public function setSoundTargetFade(pIdentifier, pTargetVolume:Number, pFadeTime:Number=1000, pStopOnComplete:Boolean=false):void{
_transformController.setSoundTargetFade(pIdentifier, pTargetVolume, pFadeTime, pStopOnComplete);
}
public function setGroupTargetFade(pGroupName:String, pTargetVolume:Number, pFadeTime:Number=1000, pStopOnComplete:Boolean=false):void{
_transformController.setGroupTargetFade(pGroupName, pTargetVolume, pFadeTime, pStopOnComplete);
}
public function setSoundTargetPan(pIdentifier, pPan:Number=0, pPanTime:Number=1000, pStopOnComplete:Boolean=false):void{
_transformController.setSoundTargetPan(pIdentifier, pPan, pPanTime, pStopOnComplete);
}
public function setGroupTargetPan(pGroupName:String, pPan:Number=0, pPanTime:Number=1000, pStopOnComplete:Boolean=false):void{
_transformController.setGroupTargetPan(pGroupName, pPan, pPanTime, pStopOnComplete);
}
public function fadeUpdate(dt:Number):void{
if (_transformController.useInternalTransformInterval){
trace((getQualifiedClassName(this) + "fadeUpdate Cancelled. Timer in use."));
return;
};
_transformController.fadeUpdate(dt);
}
public function panUpdate(dt:Number):void{
if (_transformController.useInternalTransformInterval){
trace((getQualifiedClassName(this) + "panUpdate Cancelled. Timer in use."));
return;
};
_transformController.panUpdate(dt);
}
public function quickSequence(pSequenceName:String, ... _args):void{
}
public function queueSound(pSequenceName:String, ... _args):void{
}
public function queueDelay(pSequenceName:String, pDelay:Number):void{
}
public function playSequence(pSequenceName:String):void{
}
public function stopSequence(pSequenceName:String):void{
}
public function stopAllSequences():void{
}
public static function get instance():SoundInterface{
return (_instanceGetter());
}
private static function _instanceGetterCheckForNull():SoundInterface{
if (_instance == null){
_instance = new (SoundInterface);
_instanceGetter = _instanceGetterNoCheckForNull;
};
return (_instance);
}
private static function _instanceGetterNoCheckForNull():SoundInterface{
return (_instance);
}
public static function destroy():void{
_instance.destroyInstance();
_instance = null;
}
}
}//package smashing.soundcontroller
Section 95
//MovieClipTextField (smashing.text.MovieClipTextField)
package smashing.text {
import flash.display.*;
import flash.geom.*;
import flash.text.*;
public class MovieClipTextField extends MovieClip {
public var txt:TextField;
private static var __styleSheet:StyleSheet = null;
public function MovieClipTextField(){
super();
}
public function get alwaysShowSelection():Boolean{
return (txt.alwaysShowSelection);
}
public function set alwaysShowSelection(value:Boolean):void{
txt.alwaysShowSelection = value;
}
public function get antiAliasType():String{
return (txt.antiAliasType);
}
public function set antiAliasType(value:String):void{
txt.antiAliasType = value;
}
public function get autoSize():String{
return (txt.autoSize);
}
public function set autoSize(value:String):void{
txt.autoSize = value;
}
public function get background():Boolean{
return (txt.background);
}
public function set background(value:Boolean):void{
txt.background = value;
}
public function get backgroundColor():uint{
return (txt.backgroundColor);
}
public function set backgroundColor(value:uint):void{
txt.backgroundColor = value;
}
public function get border():Boolean{
return (txt.border);
}
public function set border(value:Boolean):void{
txt.border = value;
}
public function get borderColor():uint{
return (txt.borderColor);
}
public function set borderColor(value:uint):void{
txt.borderColor = value;
}
public function get bottomScrollV():int{
return (txt.bottomScrollV);
}
public function get caretIndex():int{
return (txt.caretIndex);
}
public function get condenseWhite():Boolean{
return (txt.condenseWhite);
}
public function set condenseWhite(value:Boolean):void{
txt.condenseWhite = value;
}
public function get defaultTextFormat():TextFormat{
return (txt.defaultTextFormat);
}
public function set defaultTextFormat(value:TextFormat):void{
txt.defaultTextFormat = value;
}
public function get displayAsPassword():Boolean{
return (txt.displayAsPassword);
}
public function set displayAsPassword(value:Boolean):void{
txt.displayAsPassword = value;
}
public function get embedFonts():Boolean{
return (txt.embedFonts);
}
public function set embedFonts(value:Boolean):void{
txt.embedFonts = value;
}
public function get gridFitType():String{
return (txt.gridFitType);
}
public function set gridFitType(value:String):void{
txt.gridFitType = value;
}
public function get htmlText():String{
return (txt.htmlText);
}
public function set htmlText(value:String):void{
if (((!((__styleSheet == null))) && ((txt.styleSheet == null)))){
txt.styleSheet = __styleSheet;
txt.embedFonts = true;
};
txt.htmlText = value;
}
public function get length():int{
return (txt.length);
}
public function get maxChars():int{
return (txt.maxChars);
}
public function set maxChars(value:int):void{
txt.maxChars = value;
}
public function get maxScrollH():int{
return (txt.maxScrollH);
}
public function get maxScrollV():int{
return (txt.maxScrollV);
}
public function get mouseWheelEnabled():Boolean{
return (txt.mouseWheelEnabled);
}
public function set mouseWheelEnabled(value:Boolean):void{
txt.mouseWheelEnabled = value;
}
public function get multiline():Boolean{
return (txt.multiline);
}
public function set multiline(value:Boolean):void{
txt.multiline = value;
}
public function get numLines():int{
return (txt.numLines);
}
public function get restrict():String{
return (txt.restrict);
}
public function set restrict(value:String):void{
txt.restrict = value;
}
public function get scrollH():int{
return (txt.scrollH);
}
public function set scrollH(value:int):void{
txt.scrollH = value;
}
public function get scrollV():int{
return (txt.scrollV);
}
public function set scrollV(value:int):void{
txt.scrollV = value;
}
public function get selectable():Boolean{
return (txt.selectable);
}
public function set selectable(value:Boolean):void{
txt.selectable = value;
}
public function get selectionBeginIndex():int{
return (txt.selectionBeginIndex);
}
public function get selectionEndIndex():int{
return (txt.selectionEndIndex);
}
public function get sharpness():Number{
return (txt.sharpness);
}
public function set sharpness(value:Number):void{
txt.sharpness = value;
}
public function get styleSheet():StyleSheet{
return (txt.styleSheet);
}
public function set styleSheet(value:StyleSheet):void{
txt.styleSheet = value;
}
public function get text():String{
return (txt.text);
}
public function set text(value:String):void{
txt.text = value;
}
public function get textColor():uint{
return (txt.textColor);
}
public function set textColor(value:uint):void{
txt.textColor = value;
}
public function get textHeight():Number{
return (txt.textHeight);
}
public function get textWidth():Number{
return (txt.textWidth);
}
public function get thickness():Number{
return (txt.thickness);
}
public function set thickness(value:Number):void{
txt.thickness = value;
}
public function get type():String{
return (txt.type);
}
public function set type(value:String):void{
txt.type = value;
}
public function get useRichTextClipboard():Boolean{
return (txt.useRichTextClipboard);
}
public function set useRichTextClipboard(value:Boolean):void{
txt.useRichTextClipboard = value;
}
public function get wordWrap():Boolean{
return (txt.wordWrap);
}
public function set wordWrap(value:Boolean):void{
txt.wordWrap = value;
}
public function appendText(newText:String):void{
txt.appendText(newText);
}
public function getCharBoundaries(charIndex:int):Rectangle{
return (txt.getCharBoundaries(charIndex));
}
public function getCharIndexAtPoint(x:Number, y:Number):int{
return (txt.getCharIndexAtPoint(x, y));
}
public function getFirstCharInParagraph(charIndex:int):int{
return (txt.getFirstCharInParagraph(charIndex));
}
public function getImageReference(id:String):DisplayObject{
return (txt.getImageReference(id));
}
public function getLineIndexAtPoint(x:Number, y:Number):int{
return (txt.getLineIndexAtPoint(x, y));
}
public function getLineIndexOfChar(charIndex:int):int{
return (txt.getLineIndexOfChar(charIndex));
}
public function getLineLength(lineIndex:int):int{
return (txt.getLineLength(lineIndex));
}
public function getLineMetrics(lineIndex:int):TextLineMetrics{
return (txt.getLineMetrics(lineIndex));
}
public function getLineOffset(lineIndex:int):int{
return (getLineOffset(lineIndex));
}
public function getLineText(lineIndex:int):String{
return (getLineText(lineIndex));
}
public function getParagraphLength(charIndex:int):int{
return (getParagraphLength(charIndex));
}
public function getTextFormat(beginIndex:int=-1, endIndex:int=-1):TextFormat{
return (txt.getTextFormat(beginIndex, endIndex));
}
public function replaceSelectedText(value:String):void{
txt.replaceSelectedText(value);
}
public function replaceText(beginIndex:int, endIndex:int, newText:String):void{
txt.replaceText(beginIndex, endIndex, newText);
}
public function setSelection(beginIndex:int, endIndex:int):void{
txt.setSelection(beginIndex, endIndex);
}
public function setTextFormat(format:TextFormat, beginIndex:int=-1, endIndex:int=-1):void{
txt.setTextFormat(format, beginIndex, endIndex);
}
public static function set styleSheet(pStyleSheet:StyleSheet):void{
__styleSheet = pStyleSheet;
}
}
}//package smashing.text
Section 96
//AbstractButton (smashing.ui.buttons.AbstractButton)
package smashing.ui.buttons {
import flash.display.*;
import flash.events.*;
import smashing.text.*;
public class AbstractButton extends MovieClip {
public var hit:MovieClip;// = null
public var sfx:MovieClip;// = null
public var label:MovieClipTextField;// = null
private var __id:String;// = null
private var __index:uint;// = 0
public function AbstractButton(){
super();
if (hit != null){
this.hitArea = hit;
};
this.buttonMode = true;
this.mouseEnabled = true;
this.mouseChildren = false;
this.focusRect = false;
}
public function get id():String{
return (__id);
}
public function set id(pID:String):void{
__id = pID;
}
public function get index():int{
return (__index);
}
public function set index(pIndex:int):void{
__index = pIndex;
}
public function get disabled():Boolean{
return (false);
}
public function set disabled(pDisabled:Boolean):void{
}
public function get selected():Boolean{
return (false);
}
public function set selected(pSelected:Boolean):void{
}
public function destroy():void{
}
protected function playSFX(pSFX:String):void{
if (sfx != null){
sfx.gotoAndStop("off");
sfx.gotoAndStop(pSFX);
};
}
protected function stopEvent(pEvent:Event):void{
pEvent.stopImmediatePropagation();
pEvent.stopPropagation();
}
protected function delegateEvent(pEvent:Event, pClone:Boolean=false):void{
if (pClone){
this.dispatchEvent(pEvent.clone());
} else {
this.dispatchEvent(pEvent);
};
}
}
}//package smashing.ui.buttons
Section 97
//IntroOutroButton (smashing.ui.buttons.IntroOutroButton)
package smashing.ui.buttons {
import flash.events.*;
import smashing.utils.*;
import flash.ui.*;
public class IntroOutroButton extends AbstractButton {
private var __disabled:Boolean;// = false
private var __selected:Boolean;// = false
private var __focused:Boolean;// = false
public function IntroOutroButton(){
super();
this.stop();
this.addEventListener(Event.ADDED_TO_STAGE, onAddedToStageEvent);
this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOverEvent);
this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOutEvent);
this.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDownEvent);
this.addEventListener(MouseEvent.CLICK, onMouseClickEvent);
this.addEventListener(MouseEvent.DOUBLE_CLICK, onMouseDoubleClickEvent);
this.addEventListener(FocusEvent.FOCUS_IN, onFocusInEvent);
this.addEventListener(FocusEvent.FOCUS_OUT, onFocusOutEvent);
this.addEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent);
}
override public function get disabled():Boolean{
return (__disabled);
}
override public function set disabled(pDisabled:Boolean):void{
__selected = false;
if (((__disabled) && (!(pDisabled)))){
this.mouseEnabled = true;
this.gotoAndStop("up");
__disabled = false;
} else {
if (((!(__disabled)) && (pDisabled))){
this.mouseEnabled = false;
this.gotoAndStop("disabled");
__disabled = true;
};
};
}
override public function get selected():Boolean{
return (__selected);
}
override public function set selected(pSelected:Boolean):void{
__disabled = false;
if (((__selected) && (!(pSelected)))){
this.mouseEnabled = true;
this.gotoAndStop("up");
__selected = false;
} else {
if (((!(__selected)) && (pSelected))){
this.mouseEnabled = false;
this.gotoAndStop("selected");
__selected = true;
};
};
}
override public function destroy():void{
this.mouseEnabled = false;
this.mouseChildren = false;
this.buttonMode = false;
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
this.removeEventListener(MouseEvent.MOUSE_OVER, onMouseOverEvent);
this.removeEventListener(MouseEvent.MOUSE_OUT, onMouseOutEvent);
this.removeEventListener(MouseEvent.MOUSE_DOWN, onMouseDownEvent);
this.removeEventListener(MouseEvent.CLICK, onMouseClickEvent);
this.removeEventListener(MouseEvent.DOUBLE_CLICK, onMouseDoubleClickEvent);
this.removeEventListener(FocusEvent.FOCUS_IN, onFocusInEvent);
this.removeEventListener(FocusEvent.FOCUS_OUT, onFocusOutEvent);
this.removeEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent);
}
private function onMouseOverEvent(pEvent:MouseEvent):void{
super.playSFX("over");
this.gotoAndStop("intro");
if (pEvent.buttonDown){
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
};
}
private function onMouseOutEvent(pEvent:MouseEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
this.gotoAndStop("outro");
if (pEvent.buttonDown){
this.stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
};
}
private function onMouseDownEvent(pEvent:MouseEvent):void{
super.playSFX("down");
this.gotoAndStop("down");
}
private function onMouseClickEvent(pEvent:MouseEvent):void{
super.playSFX("click");
this.gotoAndStop("over");
}
private function onMouseDoubleClickEvent(pEvent:MouseEvent):void{
super.playSFX("doubleclick");
}
private function onMouseUpEvent(pEvent:MouseEvent):void{
super.stopEvent(pEvent);
if (pEvent.target == this){
this.gotoAndStop("over");
};
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
super.delegateEvent(pEvent);
}
private function onOutFrameComplete():void{
this.gotoAndStop("up");
}
private function onFocusInEvent(pEvent:FocusEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (pEvent.target == this){
__focused = true;
this.gotoAndStop("over");
};
}
private function onFocusOutEvent(pEvent:FocusEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (pEvent.target == this){
__focused = false;
if (!this.hitTestPoint(this.mouseX, this.mouseY)){
this.gotoAndStop("up");
};
};
}
private function onKeyUpEvent(pEvent:KeyboardEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (((__focused) && ((pEvent.keyCode == Keyboard.ENTER)))){
this.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
}
private function onAddedToStageEvent(pEvent:Event):void{
this.removeEventListener(Event.ADDED_TO_STAGE, onAddedToStageEvent);
FrameUtils.addFrameLabelScriptOld(this, "outro", true, onOutFrameComplete);
}
}
}//package smashing.ui.buttons
Section 98
//ScrubbedButton (smashing.ui.buttons.ScrubbedButton)
package smashing.ui.buttons {
import flash.display.*;
import flash.events.*;
import flash.ui.*;
public class ScrubbedButton extends AbstractButton {
public var states:MovieClip;
private var __disabled:Boolean;// = false
private var __selected:Boolean;// = false
private var __focused:Boolean;// = false
public function ScrubbedButton(){
super();
this.stop();
this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOverEvent);
this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOutEvent);
this.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDownEvent);
this.addEventListener(MouseEvent.CLICK, onMouseClickEvent);
this.addEventListener(MouseEvent.DOUBLE_CLICK, onMouseDoubleClickEvent);
this.addEventListener(FocusEvent.FOCUS_IN, onFocusInEvent);
this.addEventListener(FocusEvent.FOCUS_OUT, onFocusOutEvent);
this.addEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent);
}
override public function get disabled():Boolean{
return (__disabled);
}
override public function set disabled(pDisabled:Boolean):void{
__selected = false;
if (((__disabled) && (!(pDisabled)))){
this.mouseEnabled = true;
setState("up");
__disabled = false;
this.removeEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
this.addEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
} else {
if (((!(__disabled)) && (pDisabled))){
this.mouseEnabled = false;
setState("disabled");
__disabled = true;
this.addEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
this.removeEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
};
};
}
override public function get selected():Boolean{
return (__selected);
}
override public function set selected(pSelected:Boolean):void{
__disabled = false;
if (((__selected) && (!(pSelected)))){
this.mouseEnabled = true;
setState("up");
__selected = false;
this.removeEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
this.addEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
} else {
if (((!(__selected)) && (pSelected))){
this.mouseEnabled = false;
setState("selected");
__selected = true;
this.addEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
this.removeEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
};
};
}
override public function destroy():void{
this.mouseChildren = false;
this.mouseEnabled = false;
this.buttonMode = false;
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
this.removeEventListener(MouseEvent.MOUSE_OVER, onMouseOverEvent);
this.removeEventListener(MouseEvent.MOUSE_OUT, onMouseOutEvent);
this.removeEventListener(MouseEvent.MOUSE_DOWN, onMouseDownEvent);
this.removeEventListener(MouseEvent.CLICK, onMouseClickEvent);
this.removeEventListener(MouseEvent.DOUBLE_CLICK, onMouseDoubleClickEvent);
this.removeEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
this.removeEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
this.removeEventListener(FocusEvent.FOCUS_IN, onFocusInEvent);
this.removeEventListener(FocusEvent.FOCUS_OUT, onFocusOutEvent);
this.removeEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent);
}
private function onMouseOverEvent(pEvent:MouseEvent):void{
super.playSFX("over");
setState("over");
this.removeEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
this.addEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
if (pEvent.buttonDown){
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
};
}
private function onMouseOutEvent(pEvent:MouseEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
setState("up");
this.removeEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
this.addEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
if (pEvent.buttonDown){
this.stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
};
}
private function onMouseDownEvent(pEvent:MouseEvent):void{
super.playSFX("down");
setState("down");
}
private function onMouseClickEvent(pEvent:MouseEvent):void{
super.playSFX("click");
setState("over");
}
private function onMouseDoubleClickEvent(pEvent:MouseEvent):void{
super.playSFX("doubleclick");
}
private function onMouseUpEvent(pEvent:MouseEvent):void{
super.stopEvent(pEvent);
if (pEvent.target == this){
setState("over");
};
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
super.delegateEvent(pEvent);
}
private function setState(pState:String):void{
if (states != null){
states.gotoAndStop(pState);
};
}
private function onScrubOverEnterFrame(pEvent:Event):void{
if (this.currentFrame < (this.totalFrames - 1)){
this.gotoAndStop((this.currentFrame + 1));
} else {
this.gotoAndStop(this.totalFrames);
this.removeEventListener(Event.ENTER_FRAME, onScrubOverEnterFrame);
};
}
private function onScrubOutEnterFrame(pEvent:Event):void{
if (this.currentFrame > 2){
this.gotoAndStop((this.currentFrame - 1));
} else {
this.gotoAndStop(1);
this.removeEventListener(Event.ENTER_FRAME, onScrubOutEnterFrame);
};
}
private function onFocusInEvent(pEvent:FocusEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (pEvent.target == this){
__focused = true;
setState("over");
};
}
private function onFocusOutEvent(pEvent:FocusEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (pEvent.target == this){
__focused = false;
if (!this.hitTestPoint(this.mouseX, this.mouseY)){
setState("up");
};
};
}
private function onKeyUpEvent(pEvent:KeyboardEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (((__focused) && ((pEvent.keyCode == Keyboard.ENTER)))){
this.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
}
}
}//package smashing.ui.buttons
Section 99
//StandardButton (smashing.ui.buttons.StandardButton)
package smashing.ui.buttons {
import flash.events.*;
import flash.ui.*;
public class StandardButton extends AbstractButton {
private var __disabled:Boolean;// = false
private var __selected:Boolean;// = false
private var __focused:Boolean;// = false
public function StandardButton(){
super();
this.stop();
this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOverEvent);
this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOutEvent);
this.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDownEvent);
this.addEventListener(MouseEvent.CLICK, onMouseClickEvent);
this.addEventListener(MouseEvent.DOUBLE_CLICK, onMouseDoubleClickEvent);
this.addEventListener(FocusEvent.FOCUS_IN, onFocusInEvent);
this.addEventListener(FocusEvent.FOCUS_OUT, onFocusOutEvent);
this.addEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent);
}
override public function get disabled():Boolean{
return (__disabled);
}
override public function set disabled(pDisabled:Boolean):void{
__selected = false;
if (((__disabled) && (!(pDisabled)))){
this.mouseEnabled = true;
this.gotoAndStop("up");
__disabled = false;
} else {
if (((!(__disabled)) && (pDisabled))){
this.mouseEnabled = false;
this.gotoAndStop("disabled");
__disabled = true;
};
};
}
override public function get selected():Boolean{
return (__selected);
}
override public function set selected(pSelected:Boolean):void{
__disabled = false;
if (((__selected) && (!(pSelected)))){
this.mouseEnabled = true;
this.gotoAndStop("up");
__selected = false;
} else {
if (((!(__selected)) && (pSelected))){
this.mouseEnabled = false;
this.gotoAndStop("selected");
__selected = true;
};
};
}
override public function destroy():void{
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
this.removeEventListener(MouseEvent.MOUSE_OVER, onMouseOverEvent);
this.removeEventListener(MouseEvent.MOUSE_OUT, onMouseOutEvent);
this.removeEventListener(MouseEvent.MOUSE_DOWN, onMouseDownEvent);
this.removeEventListener(MouseEvent.CLICK, onMouseClickEvent);
this.removeEventListener(MouseEvent.DOUBLE_CLICK, onMouseDoubleClickEvent);
this.removeEventListener(FocusEvent.FOCUS_IN, onFocusInEvent);
this.removeEventListener(FocusEvent.FOCUS_OUT, onFocusOutEvent);
this.removeEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent);
}
private function onMouseOverEvent(pEvent:MouseEvent):void{
super.playSFX("over");
this.gotoAndStop("over");
if (pEvent.buttonDown){
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
};
}
private function onMouseOutEvent(pEvent:MouseEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
this.gotoAndStop("up");
if (pEvent.buttonDown){
this.stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
};
}
private function onMouseDownEvent(pEvent:MouseEvent):void{
super.playSFX("down");
this.gotoAndStop("down");
}
private function onMouseClickEvent(pEvent:MouseEvent):void{
super.playSFX("click");
this.gotoAndStop("over");
}
private function onMouseDoubleClickEvent(pEvent:MouseEvent):void{
super.playSFX("doubleclick");
}
private function onMouseUpEvent(pEvent:MouseEvent):void{
super.stopEvent(pEvent);
if (pEvent.target == this){
this.gotoAndStop("over");
};
this.stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUpEvent);
super.delegateEvent(pEvent);
}
private function onFocusInEvent(pEvent:FocusEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (pEvent.target == this){
__focused = true;
this.gotoAndStop("over");
};
}
private function onFocusOutEvent(pEvent:FocusEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (pEvent.target == this){
__focused = false;
if (!this.hitTestPoint(this.mouseX, this.mouseY)){
this.gotoAndStop("up");
};
};
}
private function onKeyUpEvent(pEvent:KeyboardEvent):void{
if (((__disabled) || (__selected))){
super.stopEvent(pEvent);
return;
};
if (((__focused) && ((pEvent.keyCode == Keyboard.ENTER)))){
this.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
}
}
}//package smashing.ui.buttons
Section 100
//ToyButton (smashing.ui.buttons.ToyButton)
package smashing.ui.buttons {
import flash.display.*;
public class ToyButton extends IntroOutroButton {
public var toyClip:MovieClip;
public function ToyButton(){
super();
}
}
}//package smashing.ui.buttons
Section 101
//ClassUtils (smashing.utils.ClassUtils)
package smashing.utils {
import flash.system.*;
public class ClassUtils {
public static function create(pQualifiedClassName:String, pApplicationDomain:ApplicationDomain=null){
var TheClass:Class;
var applicationDomain:ApplicationDomain = ((pApplicationDomain)==null) ? ApplicationDomain.currentDomain : pApplicationDomain;
if (applicationDomain.hasDefinition(pQualifiedClassName)){
TheClass = (applicationDomain.getDefinition(pQualifiedClassName) as Class);
return (new (TheClass));
};
trace(("Cannot create class with qualified class name: " + pQualifiedClassName));
return (null);
}
public static function getClass(pQualifiedClassName:String, pApplicationDomain:ApplicationDomain=null):Class{
var TheClass:Class;
var applicationDomain:ApplicationDomain = ((pApplicationDomain)==null) ? ApplicationDomain.currentDomain : pApplicationDomain;
if (applicationDomain.hasDefinition(pQualifiedClassName)){
TheClass = (applicationDomain.getDefinition(pQualifiedClassName) as Class);
return (TheClass);
};
trace(("Cannot find class with qualified class name: " + pQualifiedClassName));
return (null);
}
}
}//package smashing.utils
Section 102
//FrameUtils (smashing.utils.FrameUtils)
package smashing.utils {
import flash.display.*;
public class FrameUtils {
public static function labelToNumber(pMovieClip:MovieClip, pLabel:String, pZeroBased:Boolean=false):int{
var frameLabel:FrameLabel;
var frameLabels:Array = pMovieClip.currentLabels;
if (pLabel == "target.min"){
return (((pZeroBased)==true) ? 0 : 1);
} else {
if (pLabel == "target.max"){
return (((pZeroBased)==true) ? (pMovieClip.totalFrames - 1) : pMovieClip.totalFrames);
};
};
var i:Number = 0;
while (i < frameLabels.length) {
frameLabel = frameLabels[i];
if (frameLabel.name == pLabel){
return (((pZeroBased)==true) ? (frameLabel.frame - 1) : frameLabel.frame);
};
i++;
};
return (((pZeroBased)==true) ? 0 : 1);
}
public static function lastFrameInLabel(pMovieClip:MovieClip, pLabel:String, pZeroBased:Boolean=false):int{
var frameLabel:FrameLabel;
var frameLabels:Array = pMovieClip.currentLabels;
var pastStartLabel:Boolean;
var frameNumber:Number = 1;
var i:Number = 0;
while (i < frameLabels.length) {
frameLabel = frameLabels[i];
if ((((pastStartLabel == true)) && (!((frameLabel.name == pLabel))))){
frameNumber = (frameLabel.frame - 1);
break;
} else {
if (frameLabel.name == pLabel){
pastStartLabel = true;
frameNumber = pMovieClip.totalFrames;
};
};
i++;
};
frameNumber = ((pZeroBased)==true) ? (frameNumber - 1) : frameNumber;
return (frameNumber);
}
public static function addFrameLabelScriptOld(pMovieClip:MovieClip, pLabel:String, pEndOfLabel:Boolean, pHandler:Function):void{
var frameNumber:Number = 0;
if (pEndOfLabel == true){
frameNumber = FrameUtils.lastFrameInLabel(pMovieClip, pLabel, true);
} else {
frameNumber = FrameUtils.labelToNumber(pMovieClip, pLabel, true);
};
pMovieClip.addFrameScript(frameNumber, pHandler);
}
public static function addFrameLabelScript(pMovieClip:MovieClip, pLabel:String, pHandler:Function, pEndOfLabel:Boolean=false):void{
var frameNumber:Number = 0;
if (pEndOfLabel == true){
frameNumber = FrameUtils.lastFrameInLabel(pMovieClip, pLabel, true);
} else {
frameNumber = FrameUtils.labelToNumber(pMovieClip, pLabel, true);
};
pMovieClip.addFrameScript(frameNumber, pHandler);
}
}
}//package smashing.utils
Section 103
//MathUtils (smashing.utils.MathUtils)
package smashing.utils {
public class MathUtils {
public static function randomRange(minVal:Number, maxVal:Number):Number{
return ((minVal + Math.floor((Math.random() * ((maxVal + 1) - minVal)))));
}
public static function radiansToDegrees(radians:Number):Number{
return (((radians * 180) / Math.PI));
}
public static function degreesToRadians(degrees:Number):Number{
return ((degrees * (Math.PI / 180)));
}
}
}//package smashing.utils
Section 104
//StringUtils (smashing.utils.StringUtils)
package smashing.utils {
public class StringUtils {
public static function isEmptyString(pString:String):Boolean{
if ((((((pString == null)) || (!((pString is String))))) || ((pString.search(/.+/i) == -1)))){
return (true);
};
return (false);
}
public static function isValidString(pString:String):Boolean{
return (!(isEmptyString(pString)));
}
public static function stripWhiteSpace(pString:String):String{
return (pString.replace(/\s/ig, ""));
}
}
}//package smashing.utils
Section 105
//0 (SmashingButtons_v2.1.0)
package SmashingButtons_v2.1 {
import flash.display.*;
public dynamic class 0 extends MovieClip {
}
}//package SmashingButtons_v2.1
Section 106
//__Babysiter_content (__Babysiter_content)
package {
import mattel.barbie.babysitter.game.*;
public dynamic class __Babysiter_content extends Game {
public function __Babysiter_content(){
addFrameScript(0, frame1, 12, frame13, 25, frame26);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
function frame26(){
stop();
}
}
}//package
Section 107
//__end_lose (__end_lose)
package {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.babysitter.game.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class __end_lose extends EndScreen {
public var __id73_:PlaySound;
public var __id76_:PlaySound;
public var __id77_:PlaySound;
public var __id74_:PlaySound;
public var __id75_:PlaySound;
public var __id78_:PlaySound;
public var __id72_:PlaySound;
public var __setPropDict:Dictionary;
public function __end_lose(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 55, frame56, 80, frame81, 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, 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, 42, frame43, 43, frame44, 44, frame45, 60, frame61, 61, frame62, 62, frame63, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80);
}
function __setProp___id72____end_lose_sfx_4(){
if ((((__setPropDict[__id72_] == undefined)) || (!((((int(__setPropDict[__id72_]) >= 5)) && ((int(__setPropDict[__id72_]) <= 22))))))){
__setPropDict[__id72_] = currentFrame;
__id72_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id72_.soundID = "soft_whoosh09";
__id72_.loops = 0;
__id72_.soundPan = 0;
__id72_.startTime = 0;
__id72_.soundVolume = 1;
__id72_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id73____end_lose_sfx_4(){
if ((((__setPropDict[__id73_] == undefined)) || (!((((int(__setPropDict[__id73_]) >= 5)) && ((int(__setPropDict[__id73_]) <= 22))))))){
__setPropDict[__id73_] = currentFrame;
__id73_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id73_.soundID = "Sting1_lose";
__id73_.loops = 0;
__id73_.soundPan = 0;
__id73_.startTime = 0;
__id73_.soundVolume = 1;
__id73_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id74____end_lose_sfx_26(){
if ((((__setPropDict[__id74_] == undefined)) || (!((((int(__setPropDict[__id74_]) >= 27)) && ((int(__setPropDict[__id74_]) <= 40))))))){
__setPropDict[__id74_] = currentFrame;
__id74_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id74_.soundID = "mini_whoosh14";
__id74_.loops = 0;
__id74_.soundPan = 0;
__id74_.startTime = 0;
__id74_.soundVolume = 1;
__id74_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id75____end_lose_sfx_42(){
if ((((__setPropDict[__id75_] == undefined)) || (!((((int(__setPropDict[__id75_]) >= 43)) && ((int(__setPropDict[__id75_]) <= 45))))))){
__setPropDict[__id75_] = currentFrame;
__id75_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id75_.soundID = "mini_whoosh14";
__id75_.loops = 0;
__id75_.soundPan = 0;
__id75_.startTime = 0;
__id75_.soundVolume = 1;
__id75_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id76____end_lose_sfx_60(){
if ((((__setPropDict[__id76_] == undefined)) || (!((((int(__setPropDict[__id76_]) >= 61)) && ((int(__setPropDict[__id76_]) <= 63))))))){
__setPropDict[__id76_] = currentFrame;
__id76_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id76_.soundID = "mini_whoosh14";
__id76_.loops = 0;
__id76_.soundPan = 0;
__id76_.startTime = 0;
__id76_.soundVolume = 1;
__id76_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id77____end_lose_sfx_64(){
if ((((__setPropDict[__id77_] == undefined)) || (!((((int(__setPropDict[__id77_]) >= 65)) && ((int(__setPropDict[__id77_]) <= 70))))))){
__setPropDict[__id77_] = currentFrame;
__id77_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id77_.soundID = "mini_whoosh14";
__id77_.loops = 0;
__id77_.soundPan = 0;
__id77_.startTime = 0;
__id77_.soundVolume = 1;
__id77_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id78____end_lose_sfx_74(){
if ((((__setPropDict[__id78_] == undefined)) || (!((((int(__setPropDict[__id78_]) >= 75)) && ((int(__setPropDict[__id78_]) <= 80))))))){
__setPropDict[__id78_] = currentFrame;
__id78_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id78_.soundID = "mini_whoosh14";
__id78_.loops = 0;
__id78_.soundPan = 0;
__id78_.startTime = 0;
__id78_.soundVolume = 1;
__id78_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame56(){
stop();
}
function frame81(){
stop();
}
function frame5(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame6(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame7(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame8(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame9(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame10(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame11(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame12(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame13(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame14(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame15(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame16(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame17(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame18(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame19(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame20(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame21(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame22(){
__setProp___id73____end_lose_sfx_4();
__setProp___id72____end_lose_sfx_4();
}
function frame27(){
__setProp___id74____end_lose_sfx_26();
}
function frame28(){
__setProp___id74____end_lose_sfx_26();
}
function frame29(){
__setProp___id74____end_lose_sfx_26();
}
function frame30(){
__setProp___id74____end_lose_sfx_26();
}
function frame31(){
__setProp___id74____end_lose_sfx_26();
}
function frame32(){
__setProp___id74____end_lose_sfx_26();
}
function frame33(){
__setProp___id74____end_lose_sfx_26();
}
function frame34(){
__setProp___id74____end_lose_sfx_26();
}
function frame35(){
__setProp___id74____end_lose_sfx_26();
}
function frame36(){
__setProp___id74____end_lose_sfx_26();
}
function frame37(){
__setProp___id74____end_lose_sfx_26();
}
function frame38(){
__setProp___id74____end_lose_sfx_26();
}
function frame39(){
__setProp___id74____end_lose_sfx_26();
}
function frame40(){
__setProp___id74____end_lose_sfx_26();
}
function frame43(){
__setProp___id75____end_lose_sfx_42();
}
function frame44(){
__setProp___id75____end_lose_sfx_42();
}
function frame45(){
__setProp___id75____end_lose_sfx_42();
}
function frame61(){
__setProp___id76____end_lose_sfx_60();
}
function frame62(){
__setProp___id76____end_lose_sfx_60();
}
function frame63(){
__setProp___id76____end_lose_sfx_60();
}
function frame65(){
__setProp___id77____end_lose_sfx_64();
}
function frame66(){
__setProp___id77____end_lose_sfx_64();
}
function frame67(){
__setProp___id77____end_lose_sfx_64();
}
function frame68(){
__setProp___id77____end_lose_sfx_64();
}
function frame69(){
__setProp___id77____end_lose_sfx_64();
}
function frame70(){
__setProp___id77____end_lose_sfx_64();
}
function frame75(){
__setProp___id78____end_lose_sfx_74();
}
function frame76(){
__setProp___id78____end_lose_sfx_74();
}
function frame77(){
__setProp___id78____end_lose_sfx_74();
}
function frame78(){
__setProp___id78____end_lose_sfx_74();
}
function frame79(){
__setProp___id78____end_lose_sfx_74();
}
function frame80(){
__setProp___id78____end_lose_sfx_74();
}
}
}//package
Section 108
//__end_noBonus (__end_noBonus)
package {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.babysitter.game.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class __end_noBonus extends EndScreen {
public var __id43_:PlaySound;
public var __id46_:PlaySound;
public var __id47_:PlaySound;
public var __id44_:PlaySound;
public var __id45_:PlaySound;
public var __id48_:PlaySound;
public var __id49_:PlaySound;
public var __setPropDict:Dictionary;
public function __end_noBonus(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 427, frame428, 452, frame453, 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, 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, 412, frame413, 413, frame414, 414, frame415, 430, frame431, 431, frame432, 432, frame433, 434, frame435, 435, frame436, 436, frame437, 437, frame438, 438, frame439, 439, frame440, 444, frame445, 445, frame446, 446, frame447, 447, frame448, 448, frame449, 449, frame450);
}
function __setProp___id43____end_noBonus_sfx_375(){
if ((((__setPropDict[__id43_] == undefined)) || (!((((int(__setPropDict[__id43_]) >= 376)) && ((int(__setPropDict[__id43_]) <= 391))))))){
__setPropDict[__id43_] = currentFrame;
__id43_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id43_.soundID = "TaDa";
__id43_.loops = 0;
__id43_.soundPan = 0;
__id43_.startTime = 0;
__id43_.soundVolume = 1;
__id43_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id44____end_noBonus_sfx_377(){
if ((((__setPropDict[__id44_] == undefined)) || (!((((int(__setPropDict[__id44_]) >= 378)) && ((int(__setPropDict[__id44_]) <= 391))))))){
__setPropDict[__id44_] = currentFrame;
__id44_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id44_.soundID = "soft_whoosh09";
__id44_.loops = 0;
__id44_.soundPan = 0;
__id44_.startTime = 0;
__id44_.soundVolume = 1;
__id44_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id45____end_noBonus_sfx_396(){
if ((((__setPropDict[__id45_] == undefined)) || (!((((int(__setPropDict[__id45_]) >= 397)) && ((int(__setPropDict[__id45_]) <= 410))))))){
__setPropDict[__id45_] = currentFrame;
__id45_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id45_.soundID = "mini_whoosh14";
__id45_.loops = 0;
__id45_.soundPan = 0;
__id45_.startTime = 0;
__id45_.soundVolume = 1;
__id45_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id46____end_noBonus_sfx_412(){
if ((((__setPropDict[__id46_] == undefined)) || (!((((int(__setPropDict[__id46_]) >= 413)) && ((int(__setPropDict[__id46_]) <= 415))))))){
__setPropDict[__id46_] = currentFrame;
__id46_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id46_.soundID = "mini_whoosh14";
__id46_.loops = 0;
__id46_.soundPan = 0;
__id46_.startTime = 0;
__id46_.soundVolume = 1;
__id46_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id47____end_noBonus_sfx_430(){
if ((((__setPropDict[__id47_] == undefined)) || (!((((int(__setPropDict[__id47_]) >= 431)) && ((int(__setPropDict[__id47_]) <= 433))))))){
__setPropDict[__id47_] = currentFrame;
__id47_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id47_.soundID = "mini_whoosh14";
__id47_.loops = 0;
__id47_.soundPan = 0;
__id47_.startTime = 0;
__id47_.soundVolume = 1;
__id47_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id48____end_noBonus_sfx_434(){
if ((((__setPropDict[__id48_] == undefined)) || (!((((int(__setPropDict[__id48_]) >= 435)) && ((int(__setPropDict[__id48_]) <= 440))))))){
__setPropDict[__id48_] = currentFrame;
__id48_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id48_.soundID = "mini_whoosh14";
__id48_.loops = 0;
__id48_.soundPan = 0;
__id48_.startTime = 0;
__id48_.soundVolume = 1;
__id48_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id49____end_noBonus_sfx_444(){
if ((((__setPropDict[__id49_] == undefined)) || (!((((int(__setPropDict[__id49_]) >= 445)) && ((int(__setPropDict[__id49_]) <= 450))))))){
__setPropDict[__id49_] = currentFrame;
__id49_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id49_.soundID = "mini_whoosh14";
__id49_.loops = 0;
__id49_.soundPan = 0;
__id49_.startTime = 0;
__id49_.soundVolume = 1;
__id49_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame428(){
stop();
}
function frame453(){
stop();
}
function frame376(){
__setProp___id43____end_noBonus_sfx_375();
}
function frame377(){
__setProp___id43____end_noBonus_sfx_375();
}
function frame378(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame379(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame380(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame381(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame382(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame383(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame384(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame385(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame386(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame387(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame388(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame389(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame390(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame391(){
__setProp___id44____end_noBonus_sfx_377();
__setProp___id43____end_noBonus_sfx_375();
}
function frame397(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame398(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame399(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame400(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame401(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame402(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame403(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame404(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame405(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame406(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame407(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame408(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame409(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame410(){
__setProp___id45____end_noBonus_sfx_396();
}
function frame413(){
__setProp___id46____end_noBonus_sfx_412();
}
function frame414(){
__setProp___id46____end_noBonus_sfx_412();
}
function frame415(){
__setProp___id46____end_noBonus_sfx_412();
}
function frame431(){
__setProp___id47____end_noBonus_sfx_430();
}
function frame432(){
__setProp___id47____end_noBonus_sfx_430();
}
function frame433(){
__setProp___id47____end_noBonus_sfx_430();
}
function frame435(){
__setProp___id48____end_noBonus_sfx_434();
}
function frame436(){
__setProp___id48____end_noBonus_sfx_434();
}
function frame437(){
__setProp___id48____end_noBonus_sfx_434();
}
function frame438(){
__setProp___id48____end_noBonus_sfx_434();
}
function frame439(){
__setProp___id48____end_noBonus_sfx_434();
}
function frame440(){
__setProp___id48____end_noBonus_sfx_434();
}
function frame445(){
__setProp___id49____end_noBonus_sfx_444();
}
function frame446(){
__setProp___id49____end_noBonus_sfx_444();
}
function frame447(){
__setProp___id49____end_noBonus_sfx_444();
}
function frame448(){
__setProp___id49____end_noBonus_sfx_444();
}
function frame449(){
__setProp___id49____end_noBonus_sfx_444();
}
function frame450(){
__setProp___id49____end_noBonus_sfx_444();
}
}
}//package
Section 109
//__inGame (__inGame)
package {
import mattel.barbie.babysitter.game.*;
public dynamic class __inGame extends GameContainer {
public function __inGame(){
addFrameScript(0, frame1, 5, frame6, 18, frame19, 30, frame31);
}
function frame1(){
stop();
}
function frame6(){
stop();
}
function frame19(){
stop();
}
function frame31(){
stop();
}
}
}//package
Section 110
//_end (_end)
package {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.babysitter.game.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class _end extends EndScreen {
public var __id70_:PlaySound;
public var __id66_:PlaySound;
public var __id67_:PlaySound;
public var __id65_:PlaySound;
public var __id68_:PlaySound;
public var __id69_:PlaySound;
public var __setPropDict:Dictionary;
public function _end(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 458, frame459, 483, frame484, 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, 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, 453, frame454, 454, frame455, 455, frame456, 459, frame460, 460, frame461, 461, frame462, 462, frame463, 463, frame464, 464, frame465, 471, frame472, 472, frame473, 473, frame474);
}
function __setProp___id65____end_perfect_sfx_399(){
if ((((__setPropDict[__id65_] == undefined)) || (!((((int(__setPropDict[__id65_]) >= 400)) && ((int(__setPropDict[__id65_]) <= 415))))))){
__setPropDict[__id65_] = currentFrame;
__id65_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id65_.soundID = "TaDa";
__id65_.loops = 0;
__id65_.soundPan = 0;
__id65_.startTime = 0;
__id65_.soundVolume = 1;
__id65_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id66____end_perfect_sfx_402(){
if ((((__setPropDict[__id66_] == undefined)) || (!((((int(__setPropDict[__id66_]) >= 403)) && ((int(__setPropDict[__id66_]) <= 416))))))){
__setPropDict[__id66_] = currentFrame;
__id66_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id66_.soundID = "soft_whoosh09";
__id66_.loops = 0;
__id66_.soundPan = 0;
__id66_.startTime = 0;
__id66_.soundVolume = 1;
__id66_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id67____end_perfect_sfx_421(){
if ((((__setPropDict[__id67_] == undefined)) || (!((((int(__setPropDict[__id67_]) >= 422)) && ((int(__setPropDict[__id67_]) <= 435))))))){
__setPropDict[__id67_] = currentFrame;
__id67_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id67_.soundID = "mini_whoosh14";
__id67_.loops = 0;
__id67_.soundPan = 0;
__id67_.startTime = 0;
__id67_.soundVolume = 1;
__id67_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id68____end_perfect_sfx_453(){
if ((((__setPropDict[__id68_] == undefined)) || (!((((int(__setPropDict[__id68_]) >= 454)) && ((int(__setPropDict[__id68_]) <= 456))))))){
__setPropDict[__id68_] = currentFrame;
__id68_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id68_.soundID = "mini_whoosh14";
__id68_.loops = 0;
__id68_.soundPan = 0;
__id68_.startTime = 0;
__id68_.soundVolume = 1;
__id68_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id69____end_perfect_sfx_459(){
if ((((__setPropDict[__id69_] == undefined)) || (!((((int(__setPropDict[__id69_]) >= 460)) && ((int(__setPropDict[__id69_]) <= 465))))))){
__setPropDict[__id69_] = currentFrame;
__id69_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id69_.soundID = "mini_whoosh14";
__id69_.loops = 0;
__id69_.soundPan = 0;
__id69_.startTime = 0;
__id69_.soundVolume = 1;
__id69_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id70____end_perfect_sfx_471(){
if ((((__setPropDict[__id70_] == undefined)) || (!((((int(__setPropDict[__id70_]) >= 472)) && ((int(__setPropDict[__id70_]) <= 474))))))){
__setPropDict[__id70_] = currentFrame;
__id70_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id70_.soundID = "mini_whoosh14";
__id70_.loops = 0;
__id70_.soundPan = 0;
__id70_.startTime = 0;
__id70_.soundVolume = 1;
__id70_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame459(){
stop();
}
function frame484(){
stop();
}
function frame400(){
__setProp___id65____end_perfect_sfx_399();
}
function frame401(){
__setProp___id65____end_perfect_sfx_399();
}
function frame402(){
__setProp___id65____end_perfect_sfx_399();
}
function frame403(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame404(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame405(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame406(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame407(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame408(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame409(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame410(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame411(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame412(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame413(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame414(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame415(){
__setProp___id66____end_perfect_sfx_402();
__setProp___id65____end_perfect_sfx_399();
}
function frame416(){
__setProp___id66____end_perfect_sfx_402();
}
function frame422(){
__setProp___id67____end_perfect_sfx_421();
}
function frame423(){
__setProp___id67____end_perfect_sfx_421();
}
function frame424(){
__setProp___id67____end_perfect_sfx_421();
}
function frame425(){
__setProp___id67____end_perfect_sfx_421();
}
function frame426(){
__setProp___id67____end_perfect_sfx_421();
}
function frame427(){
__setProp___id67____end_perfect_sfx_421();
}
function frame428(){
__setProp___id67____end_perfect_sfx_421();
}
function frame429(){
__setProp___id67____end_perfect_sfx_421();
}
function frame430(){
__setProp___id67____end_perfect_sfx_421();
}
function frame431(){
__setProp___id67____end_perfect_sfx_421();
}
function frame432(){
__setProp___id67____end_perfect_sfx_421();
}
function frame433(){
__setProp___id67____end_perfect_sfx_421();
}
function frame434(){
__setProp___id67____end_perfect_sfx_421();
}
function frame435(){
__setProp___id67____end_perfect_sfx_421();
}
function frame454(){
__setProp___id68____end_perfect_sfx_453();
}
function frame455(){
__setProp___id68____end_perfect_sfx_453();
}
function frame456(){
__setProp___id68____end_perfect_sfx_453();
}
function frame460(){
__setProp___id69____end_perfect_sfx_459();
}
function frame461(){
__setProp___id69____end_perfect_sfx_459();
}
function frame462(){
__setProp___id69____end_perfect_sfx_459();
}
function frame463(){
__setProp___id69____end_perfect_sfx_459();
}
function frame464(){
__setProp___id69____end_perfect_sfx_459();
}
function frame465(){
__setProp___id69____end_perfect_sfx_459();
}
function frame472(){
__setProp___id70____end_perfect_sfx_471();
}
function frame473(){
__setProp___id70____end_perfect_sfx_471();
}
function frame474(){
__setProp___id70____end_perfect_sfx_471();
}
}
}//package
Section 111
//_Gate_SwingDown (_Gate_SwingDown)
package {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.babysitter.game.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class _Gate_SwingDown extends Gate {
public var __id26_:PlaySound;
public var __id27_:PlaySound;
public var __id28_:PlaySound;
public var __id29_:PlaySound;
public var __setPropDict:Dictionary;
public function _Gate_SwingDown(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 7, frame8, 11, frame12, 17, frame18, 21, frame22, 22, frame23, 28, frame29, 29, frame30, 36, frame37, 8, frame9, 9, frame10, 18, frame19, 19, frame20, 20, frame21, 24, frame25, 25, frame26, 26, frame27, 31, frame32, 32, frame33, 33, frame34);
}
function __setProp___id26___Gate_SwingDown_Layer4_8(){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 9)) && ((int(__setPropDict[__id26_]) <= 10))))))){
__setPropDict[__id26_] = currentFrame;
__id26_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id26_.soundID = "DoorCloseB";
__id26_.loops = 0;
__id26_.soundPan = 0;
__id26_.startTime = 0;
__id26_.soundVolume = 1;
__id26_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id27___Gate_SwingDown_Layer4_18(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 19)) && ((int(__setPropDict[__id27_]) <= 21))))))){
__setPropDict[__id27_] = currentFrame;
__id27_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id27_.soundID = "DoorCloseB";
__id27_.loops = 0;
__id27_.soundPan = 0;
__id27_.startTime = 0;
__id27_.soundVolume = 1;
__id27_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id28___Gate_SwingDown_Layer4_24(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 25)) && ((int(__setPropDict[__id28_]) <= 27))))))){
__setPropDict[__id28_] = currentFrame;
__id28_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id28_.soundID = "sfx_door_fail";
__id28_.loops = 0;
__id28_.soundPan = 0;
__id28_.startTime = 0;
__id28_.soundVolume = 1;
__id28_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id29___Gate_SwingDown_Layer4_31(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 32)) && ((int(__setPropDict[__id29_]) <= 34))))))){
__setPropDict[__id29_] = currentFrame;
__id29_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id29_.soundID = "sfx_door_fail";
__id29_.loops = 0;
__id29_.soundPan = 0;
__id29_.startTime = 0;
__id29_.soundVolume = 1;
__id29_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame8(){
play();
}
function frame12(){
stop();
}
function frame18(){
play();
}
function frame22(){
gotoAndStop(1);
}
function frame23(){
play();
}
function frame29(){
stop();
}
function frame30(){
play();
}
function frame37(){
stop();
}
function frame9(){
__setProp___id26___Gate_SwingDown_Layer4_8();
}
function frame10(){
__setProp___id26___Gate_SwingDown_Layer4_8();
}
function frame19(){
__setProp___id27___Gate_SwingDown_Layer4_18();
}
function frame20(){
__setProp___id27___Gate_SwingDown_Layer4_18();
}
function frame21(){
__setProp___id27___Gate_SwingDown_Layer4_18();
}
function frame25(){
__setProp___id28___Gate_SwingDown_Layer4_24();
}
function frame26(){
__setProp___id28___Gate_SwingDown_Layer4_24();
}
function frame27(){
__setProp___id28___Gate_SwingDown_Layer4_24();
}
function frame32(){
__setProp___id29___Gate_SwingDown_Layer4_31();
}
function frame33(){
__setProp___id29___Gate_SwingDown_Layer4_31();
}
function frame34(){
__setProp___id29___Gate_SwingDown_Layer4_31();
}
}
}//package
Section 112
//_Gate_SwingUp (_Gate_SwingUp)
package {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.babysitter.game.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class _Gate_SwingUp extends Gate {
public var __id24_:PlaySound;
public var __id25_:PlaySound;
public var __id22_:PlaySound;
public var __id23_:PlaySound;
public var __setPropDict:Dictionary;
public function _Gate_SwingUp(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 7, frame8, 11, frame12, 17, frame18, 21, frame22, 22, frame23, 28, frame29, 29, frame30, 36, frame37, 8, frame9, 9, frame10, 18, frame19, 19, frame20, 20, frame21, 24, frame25, 25, frame26, 26, frame27, 31, frame32, 32, frame33, 33, frame34);
}
function __setProp___id22___Gate_SwingUp_Layer4_8(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 9)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
__id22_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id22_.soundID = "DoorCloseB";
__id22_.loops = 0;
__id22_.soundPan = 0;
__id22_.startTime = 0;
__id22_.soundVolume = 1;
__id22_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id23___Gate_SwingUp_Layer4_18(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 19)) && ((int(__setPropDict[__id23_]) <= 22))))))){
__setPropDict[__id23_] = currentFrame;
__id23_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id23_.soundID = "DoorCloseB";
__id23_.loops = 0;
__id23_.soundPan = 0;
__id23_.startTime = 0;
__id23_.soundVolume = 1;
__id23_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id24___Gate_SwingUp_Layer4_24(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 25)) && ((int(__setPropDict[__id24_]) <= 27))))))){
__setPropDict[__id24_] = currentFrame;
__id24_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id24_.soundID = "sfx_door_fail";
__id24_.loops = 0;
__id24_.soundPan = 0;
__id24_.startTime = 0;
__id24_.soundVolume = 1;
__id24_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id25___Gate_SwingUp_Layer4_31(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 32)) && ((int(__setPropDict[__id25_]) <= 34))))))){
__setPropDict[__id25_] = currentFrame;
__id25_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id25_.soundID = "sfx_door_fail";
__id25_.loops = 0;
__id25_.soundPan = 0;
__id25_.startTime = 0;
__id25_.soundVolume = 1;
__id25_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame8(){
play();
}
function frame12(){
stop();
}
function frame18(){
play();
}
function frame22(){
__setProp___id23___Gate_SwingUp_Layer4_18();
gotoAndStop(1);
}
function frame23(){
play();
}
function frame29(){
stop();
}
function frame30(){
play();
}
function frame37(){
stop();
}
function frame9(){
__setProp___id22___Gate_SwingUp_Layer4_8();
}
function frame10(){
__setProp___id22___Gate_SwingUp_Layer4_8();
}
function frame19(){
__setProp___id23___Gate_SwingUp_Layer4_18();
}
function frame20(){
__setProp___id23___Gate_SwingUp_Layer4_18();
}
function frame21(){
__setProp___id23___Gate_SwingUp_Layer4_18();
}
function frame25(){
__setProp___id24___Gate_SwingUp_Layer4_24();
}
function frame26(){
__setProp___id24___Gate_SwingUp_Layer4_24();
}
function frame27(){
__setProp___id24___Gate_SwingUp_Layer4_24();
}
function frame32(){
__setProp___id25___Gate_SwingUp_Layer4_31();
}
function frame33(){
__setProp___id25___Gate_SwingUp_Layer4_31();
}
function frame34(){
__setProp___id25___Gate_SwingUp_Layer4_31();
}
}
}//package
Section 113
//_IntroOutroButton (_IntroOutroButton)
package {
import smashing.ui.buttons.*;
public dynamic class _IntroOutroButton extends IntroOutroButton {
public function _IntroOutroButton(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 29, frame30, 39, frame40);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame30(){
play();
}
function frame40(){
stop();
}
}
}//package
Section 114
//_kelly (_kelly)
package {
import mattel.barbie.babysitter.game.*;
public dynamic class _kelly extends Kelly {
}
}//package
Section 115
//_ScrubbedButton (_ScrubbedButton)
package {
import smashing.ui.buttons.*;
public dynamic class _ScrubbedButton extends ScrubbedButton {
public function _ScrubbedButton(){
addFrameScript(0, frame1, 14, frame15);
}
function frame1(){
stop();
}
function frame15(){
stop();
}
}
}//package
Section 116
//_StandardButton (_StandardButton)
package {
import smashing.ui.buttons.*;
public dynamic class _StandardButton extends StandardButton {
public function _StandardButton(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 117
//_toiletPaperBonus (_toiletPaperBonus)
package {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.babysitter.game.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class _toiletPaperBonus extends Bonus {
public var __id30_:PlaySound;
public var __setPropDict:Dictionary;
public function _toiletPaperBonus(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 22, frame23, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22);
}
function __setProp___id30___toiletPaperBonus_Layer6_13(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 14)) && ((int(__setPropDict[__id30_]) <= 22))))))){
__setPropDict[__id30_] = currentFrame;
__id30_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id30_.soundID = "correct";
__id30_.loops = 0;
__id30_.soundPan = 0;
__id30_.startTime = 0;
__id30_.soundVolume = 1;
__id30_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame1(){
stop();
}
function frame23(){
stop();
}
function frame14(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame15(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame16(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame17(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame18(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame19(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame20(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame21(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
function frame22(){
__setProp___id30___toiletPaperBonus_Layer6_13();
}
}
}//package
Section 118
//_toyMC (_toyMC)
package {
import flash.display.*;
import flash.media.*;
import flash.events.*;
import mattel.barbie.babysitter.game.*;
import flash.system.*;
import flash.utils.*;
import flash.geom.*;
import flash.text.*;
import flash.net.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class _toyMC extends Toy {
public var __id20_:PlaySound;
public var __id21_:PlaySound;
public var __setPropDict:Dictionary;
public function _toyMC(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(11, frame12, 16, frame17, 92, frame93, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 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);
}
function __setProp___id20___toyMC_Layer6_1(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 2)) && ((int(__setPropDict[__id20_]) <= 8))))))){
__setPropDict[__id20_] = currentFrame;
__id20_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id20_.soundID = "sfx_toy_attach";
__id20_.loops = 0;
__id20_.soundPan = 0;
__id20_.startTime = 0;
__id20_.soundVolume = 1;
__id20_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function __setProp___id21___toyMC_Layer6_16(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 17)) && ((int(__setPropDict[__id21_]) <= 56))))))){
__setPropDict[__id21_] = currentFrame;
__id21_["componentInspectorSetting"] = true;
//unresolved jump
var _slot1 = e;
__id21_.soundID = "sfx_toyDistract";
__id21_.loops = 0;
__id21_.soundPan = 0;
__id21_.startTime = 0;
__id21_.soundVolume = 1;
__id21_["componentInspectorSetting"] = false;
//unresolved jump
var _slot1 = e;
};
}
function frame12(){
stop();
}
function frame17(){
__setProp___id21___toyMC_Layer6_16();
play();
}
function frame93(){
stop();
}
function frame2(){
__setProp___id20___toyMC_Layer6_1();
}
function frame3(){
__setProp___id20___toyMC_Layer6_1();
}
function frame4(){
__setProp___id20___toyMC_Layer6_1();
}
function frame5(){
__setProp___id20___toyMC_Layer6_1();
}
function frame6(){
__setProp___id20___toyMC_Layer6_1();
}
function frame7(){
__setProp___id20___toyMC_Layer6_1();
}
function frame8(){
__setProp___id20___toyMC_Layer6_1();
}
function frame18(){
__setProp___id21___toyMC_Layer6_16();
}
function frame19(){
__setProp___id21___toyMC_Layer6_16();
}
function frame20(){
__setProp___id21___toyMC_Layer6_16();
}
function frame21(){
__setProp___id21___toyMC_Layer6_16();
}
function frame22(){
__setProp___id21___toyMC_Layer6_16();
}
function frame23(){
__setProp___id21___toyMC_Layer6_16();
}
function frame24(){
__setProp___id21___toyMC_Layer6_16();
}
function frame25(){
__setProp___id21___toyMC_Layer6_16();
}
function frame26(){
__setProp___id21___toyMC_Layer6_16();
}
function frame27(){
__setProp___id21___toyMC_Layer6_16();
}
function frame28(){
__setProp___id21___toyMC_Layer6_16();
}
function frame29(){
__setProp___id21___toyMC_Layer6_16();
}
function frame30(){
__setProp___id21___toyMC_Layer6_16();
}
function frame31(){
__setProp___id21___toyMC_Layer6_16();
}
function frame32(){
__setProp___id21___toyMC_Layer6_16();
}
function frame33(){
__setProp___id21___toyMC_Layer6_16();
}
function frame34(){
__setProp___id21___toyMC_Layer6_16();
}
function frame35(){
__setProp___id21___toyMC_Layer6_16();
}
function frame36(){
__setProp___id21___toyMC_Layer6_16();
}
function frame37(){
__setProp___id21___toyMC_Layer6_16();
}
function frame38(){
__setProp___id21___toyMC_Layer6_16();
}
function frame39(){
__setProp___id21___toyMC_Layer6_16();
}
function frame40(){
__setProp___id21___toyMC_Layer6_16();
}
function frame41(){
__setProp___id21___toyMC_Layer6_16();
}
function frame42(){
__setProp___id21___toyMC_Layer6_16();
}
function frame43(){
__setProp___id21___toyMC_Layer6_16();
}
function frame44(){
__setProp___id21___toyMC_Layer6_16();
}
function frame45(){
__setProp___id21___toyMC_Layer6_16();
}
function frame46(){
__setProp___id21___toyMC_Layer6_16();
}
function frame47(){
__setProp___id21___toyMC_Layer6_16();
}
function frame48(){
__setProp___id21___toyMC_Layer6_16();
}
function frame49(){
__setProp___id21___toyMC_Layer6_16();
}
function frame50(){
__setProp___id21___toyMC_Layer6_16();
}
function frame51(){
__setProp___id21___toyMC_Layer6_16();
}
function frame52(){
__setProp___id21___toyMC_Layer6_16();
}
function frame53(){
__setProp___id21___toyMC_Layer6_16();
}
function frame54(){
__setProp___id21___toyMC_Layer6_16();
}
function frame55(){
__setProp___id21___toyMC_Layer6_16();
}
function frame56(){
__setProp___id21___toyMC_Layer6_16();
}
}
}//package
Section 119
//BarbariePreloader (BarbariePreloader)
package {
import mattel.barbie.icanbe.games.base.*;
public dynamic class BarbariePreloader extends Preloader {
public function BarbariePreloader(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 120
//btn_close (btn_close)
package {
import smashing.ui.buttons.*;
public dynamic class btn_close extends StandardButton {
public function btn_close(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 121
//btn_floor1 (btn_floor1)
package {
import smashing.ui.buttons.*;
public dynamic class btn_floor1 extends StandardButton {
public function btn_floor1(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 29, frame30, 39, frame40);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame30(){
play();
}
function frame40(){
stop();
}
}
}//package
Section 122
//btn_floor2 (btn_floor2)
package {
import smashing.ui.buttons.*;
public dynamic class btn_floor2 extends StandardButton {
public function btn_floor2(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 29, frame30, 39, frame40);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame30(){
play();
}
function frame40(){
stop();
}
}
}//package
Section 123
//btn_floor3 (btn_floor3)
package {
import smashing.ui.buttons.*;
public dynamic class btn_floor3 extends StandardButton {
public function btn_floor3(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 29, frame30, 39, frame40);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame30(){
play();
}
function frame40(){
stop();
}
}
}//package
Section 124
//btn_gate_topview (btn_gate_topview)
package {
import smashing.ui.buttons.*;
public dynamic class btn_gate_topview extends IntroOutroButton {
public function btn_gate_topview(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 20, frame21, 30, frame31);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame21(){
play();
}
function frame31(){
stop();
}
}
}//package
Section 125
//btn_gateFrontView (btn_gateFrontView)
package {
import smashing.ui.buttons.*;
public dynamic class btn_gateFrontView extends IntroOutroButton {
public function btn_gateFrontView(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 20, frame21, 30, frame31);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame21(){
play();
}
function frame31(){
stop();
}
}
}//package
Section 126
//btn_go (btn_go)
package {
import smashing.ui.buttons.*;
public dynamic class btn_go extends StandardButton {
public function btn_go(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 127
//btn_goold (btn_goold)
package {
import smashing.ui.buttons.*;
public dynamic class btn_goold extends StandardButton {
public function btn_goold(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 128
//btn_help (btn_help)
package {
import smashing.ui.buttons.*;
public dynamic class btn_help extends StandardButton {
public function btn_help(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 20, frame21, 30, frame31);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame21(){
play();
}
function frame31(){
stop();
}
}
}//package
Section 129
//btn_play (btn_play)
package {
import smashing.ui.buttons.*;
public dynamic class btn_play extends StandardButton {
public function btn_play(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 130
//btn_playLarge (btn_playLarge)
package {
import smashing.ui.buttons.*;
public dynamic class btn_playLarge extends StandardButton {
public function btn_playLarge(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 131
//btn_playLevel1 (btn_playLevel1)
package {
import smashing.ui.buttons.*;
public dynamic class btn_playLevel1 extends StandardButton {
public function btn_playLevel1(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 132
//btn_playlevel2 (btn_playlevel2)
package {
import smashing.ui.buttons.*;
public dynamic class btn_playlevel2 extends StandardButton {
public function btn_playlevel2(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 133
//btn_playlevel3 (btn_playlevel3)
package {
import smashing.ui.buttons.*;
public dynamic class btn_playlevel3 extends StandardButton {
public function btn_playlevel3(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 134
//btn_replayLarge (btn_replayLarge)
package {
import smashing.ui.buttons.*;
public dynamic class btn_replayLarge extends StandardButton {
public function btn_replayLarge(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 135
//btn_Skip (btn_Skip)
package {
import smashing.ui.buttons.*;
public dynamic class btn_Skip extends StandardButton {
public function btn_Skip(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 136
//Btn_sm_over (Btn_sm_over)
package {
import flash.media.*;
public dynamic class Btn_sm_over extends Sound {
}
}//package
Section 137
//btn_sndOff (btn_sndOff)
package {
import smashing.ui.buttons.*;
public dynamic class btn_sndOff extends StandardButton {
public function btn_sndOff(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 20, frame21, 30, frame31);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame21(){
play();
}
function frame31(){
stop();
}
}
}//package
Section 138
//btn_sndOn (btn_sndOn)
package {
import smashing.ui.buttons.*;
public dynamic class btn_sndOn extends StandardButton {
public function btn_sndOn(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 20, frame21, 30, frame31);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame21(){
play();
}
function frame31(){
stop();
}
}
}//package
Section 139
//Btn_sparkleClick (Btn_sparkleClick)
package {
import flash.media.*;
public dynamic class Btn_sparkleClick extends Sound {
}
}//package
Section 140
//Btn_sparkleOver (Btn_sparkleOver)
package {
import flash.media.*;
public dynamic class Btn_sparkleOver extends Sound {
}
}//package
Section 141
//btn_tooltip (btn_tooltip)
package {
import smashing.ui.buttons.*;
public dynamic class btn_tooltip extends IntroOutroButton {
public function btn_tooltip(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 20, frame21, 30, frame31);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame21(){
play();
}
function frame31(){
stop();
}
}
}//package
Section 142
//btn_Toys (btn_Toys)
package {
import smashing.ui.buttons.*;
public dynamic class btn_Toys extends ToyButton {
public function btn_Toys(){
addFrameScript(0, frame1, 10, frame11, 19, frame20, 29, frame30, 39, frame40);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame20(){
stop();
}
function frame30(){
play();
}
function frame40(){
stop();
}
}
}//package
Section 143
//btnGrid (btnGrid)
package {
import smashing.ui.buttons.*;
public dynamic class btnGrid extends StandardButton {
public function btnGrid(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 144
//btnSave (btnSave)
package {
import smashing.ui.buttons.*;
public dynamic class btnSave extends StandardButton {
public function btnSave(){
addFrameScript(0, frame1, 10, frame11, 17, frame18, 18, frame19, 28, frame29);
}
function frame1(){
stop();
}
function frame11(){
play();
}
function frame18(){
stop();
}
function frame19(){
play();
}
function frame29(){
stop();
}
}
}//package
Section 145
//correct (correct)
package {
import flash.media.*;
public dynamic class correct extends Sound {
}
}//package
Section 146
//DoorCloseB (DoorCloseB)
package {
import flash.media.*;
public dynamic class DoorCloseB extends Sound {
}
}//package
Section 147
//fastLoop (fastLoop)
package {
import flash.media.*;
public dynamic class fastLoop extends Sound {
}
}//package
Section 148
//funclock (funclock)
package {
import flash.media.*;
public dynamic class funclock extends Sound {
}
}//package
Section 149
//loc_bestTimeFinal (loc_bestTimeFinal)
package {
import smashing.localization.*;
public dynamic class loc_bestTimeFinal extends Localization {
}
}//package
Section 150
//loc_btnHelp (loc_btnHelp)
package {
import smashing.localization.*;
public dynamic class loc_btnHelp extends Localization {
}
}//package
Section 151
//loc_btnPlay (loc_btnPlay)
package {
import smashing.localization.*;
public dynamic class loc_btnPlay extends Localization {
}
}//package
Section 152
//loc_btnPlayLarge (loc_btnPlayLarge)
package {
import smashing.localization.*;
public dynamic class loc_btnPlayLarge extends Localization {
}
}//package
Section 153
//loc_btnReplay (loc_btnReplay)
package {
import smashing.localization.*;
public dynamic class loc_btnReplay extends Localization {
}
}//package
Section 154
//loc_btnSkip (loc_btnSkip)
package {
import smashing.localization.*;
public dynamic class loc_btnSkip extends Localization {
}
}//package
Section 155
//loc_clickHere (loc_clickHere)
package {
import smashing.localization.*;
public dynamic class loc_clickHere extends Localization {
}
}//package
Section 156
//loc_codeWidgetCTA (loc_codeWidgetCTA)
package {
import smashing.localization.*;
public dynamic class loc_codeWidgetCTA extends Localization {
}
}//package
Section 157
//loc_firstFloor (loc_firstFloor)
package {
import smashing.localization.*;
public dynamic class loc_firstFloor extends Localization {
}
}//package
Section 158
//loc_go (loc_go)
package {
import smashing.localization.*;
public dynamic class loc_go extends Localization {
}
}//package
Section 159
//loc_goBtn (loc_goBtn)
package {
import smashing.localization.*;
public dynamic class loc_goBtn extends Localization {
}
}//package
Section 160
//loc_helpCopy1 (loc_helpCopy1)
package {
import smashing.localization.*;
public dynamic class loc_helpCopy1 extends Localization {
}
}//package
Section 161
//loc_helpCopy2 (loc_helpCopy2)
package {
import smashing.localization.*;
public dynamic class loc_helpCopy2 extends Localization {
}
}//package
Section 162
//loc_helpCopy3 (loc_helpCopy3)
package {
import smashing.localization.*;
public dynamic class loc_helpCopy3 extends Localization {
}
}//package
Section 163
//loc_helpCopy4 (loc_helpCopy4)
package {
import smashing.localization.*;
public dynamic class loc_helpCopy4 extends Localization {
}
}//package
Section 164
//loc_helpDescription (loc_helpDescription)
package {
import smashing.localization.*;
public dynamic class loc_helpDescription extends Localization {
}
}//package
Section 165
//loc_helpHeader (loc_helpHeader)
package {
import smashing.localization.*;
public dynamic class loc_helpHeader extends Localization {
}
}//package
Section 166
//loc_hubCopy (loc_hubCopy)
package {
import smashing.localization.*;
public dynamic class loc_hubCopy extends Localization {
}
}//package
Section 167
//loc_hubInstructions (loc_hubInstructions)
package {
import smashing.localization.*;
public dynamic class loc_hubInstructions extends Localization {
}
}//package
Section 168
//loc_introInstructions (loc_introInstructions)
package {
import smashing.localization.*;
public dynamic class loc_introInstructions extends Localization {
}
}//package
Section 169
//loc_kellyPottyChart (loc_kellyPottyChart)
package {
import smashing.localization.*;
public dynamic class loc_kellyPottyChart extends Localization {
}
}//package
Section 170
//loc_perfectPotty (loc_perfectPotty)
package {
import smashing.localization.*;
public dynamic class loc_perfectPotty extends Localization {
}
}//package
Section 171
//loc_playAgainCopy (loc_playAgainCopy)
package {
import smashing.localization.*;
public dynamic class loc_playAgainCopy extends Localization {
}
}//package
Section 172
//loc_pottyLogo (loc_pottyLogo)
package {
import smashing.localization.*;
public dynamic class loc_pottyLogo extends Localization {
}
}//package
Section 173
//loc_RaceLogo (loc_RaceLogo)
package {
import smashing.localization.*;
public dynamic class loc_RaceLogo extends Localization {
}
}//package
Section 174
//loc_ready (loc_ready)
package {
import smashing.localization.*;
public dynamic class loc_ready extends Localization {
}
}//package
Section 175
//loc_Score (loc_Score)
package {
import smashing.localization.*;
public dynamic class loc_Score extends Localization {
}
}//package
Section 176
//loc_scoreFinal (loc_scoreFinal)
package {
import smashing.localization.*;
public dynamic class loc_scoreFinal extends Localization {
}
}//package
Section 177
//loc_secondFloor (loc_secondFloor)
package {
import smashing.localization.*;
public dynamic class loc_secondFloor extends Localization {
}
}//package
Section 178
//loc_set (loc_set)
package {
import smashing.localization.*;
public dynamic class loc_set extends Localization {
}
}//package
Section 179
//loc_thirdFloor (loc_thirdFloor)
package {
import smashing.localization.*;
public dynamic class loc_thirdFloor extends Localization {
}
}//package
Section 180
//mainLoop (mainLoop)
package {
import flash.media.*;
public dynamic class mainLoop extends Sound {
}
}//package
Section 181
//mini_whoosh (mini_whoosh)
package {
import flash.media.*;
public dynamic class mini_whoosh extends Sound {
}
}//package
Section 182
//mini_whoosh14 (mini_whoosh14)
package {
import flash.media.*;
public dynamic class mini_whoosh14 extends Sound {
}
}//package
Section 183
//multiple_pops_01 (multiple_pops_01)
package {
import flash.media.*;
public dynamic class multiple_pops_01 extends Sound {
}
}//package
Section 184
//music_pooping (music_pooping)
package {
import flash.media.*;
public dynamic class music_pooping extends Sound {
}
}//package
Section 185
//PantsUp (PantsUp)
package {
import flash.media.*;
public dynamic class PantsUp extends Sound {
}
}//package
Section 186
//perfect (perfect)
package {
import flash.media.*;
public dynamic class perfect extends Sound {
}
}//package
Section 187
//PlaySound (PlaySound)
package {
import smashing.sound.*;
public dynamic class PlaySound extends PlaySound {
}
}//package
Section 188
//ReadySetGo (ReadySetGo)
package {
import flash.media.*;
public dynamic class ReadySetGo extends Sound {
}
}//package
Section 189
//sfx_applause (sfx_applause)
package {
import flash.media.*;
public dynamic class sfx_applause extends Sound {
}
}//package
Section 190
//sfx_dog_distraction (sfx_dog_distraction)
package {
import flash.media.*;
public dynamic class sfx_dog_distraction extends Sound {
}
}//package
Section 191
//sfx_door_fail (sfx_door_fail)
package {
import flash.media.*;
public dynamic class sfx_door_fail extends Sound {
}
}//package
Section 192
//sfx_incorrect (sfx_incorrect)
package {
import flash.media.*;
public dynamic class sfx_incorrect extends Sound {
}
}//package
Section 193
//sfx_low_alert (sfx_low_alert)
package {
import flash.media.*;
public dynamic class sfx_low_alert extends Sound {
}
}//package
Section 194
//sfx_pageFlip (sfx_pageFlip)
package {
import flash.media.*;
public dynamic class sfx_pageFlip extends Sound {
}
}//package
Section 195
//sfx_pee (sfx_pee)
package {
import flash.media.*;
public dynamic class sfx_pee extends Sound {
}
}//package
Section 196
//sfx_poopFall (sfx_poopFall)
package {
import flash.media.*;
public dynamic class sfx_poopFall extends Sound {
}
}//package
Section 197
//sfx_Signdownswoosh1 (sfx_Signdownswoosh1)
package {
import flash.media.*;
public dynamic class sfx_Signdownswoosh1 extends Sound {
}
}//package
Section 198
//sfx_toy_attach (sfx_toy_attach)
package {
import flash.media.*;
public dynamic class sfx_toy_attach extends Sound {
}
}//package
Section 199
//sfx_toy_over (sfx_toy_over)
package {
import flash.media.*;
public dynamic class sfx_toy_over extends Sound {
}
}//package
Section 200
//sfx_toyDistract (sfx_toyDistract)
package {
import flash.media.*;
public dynamic class sfx_toyDistract extends Sound {
}
}//package
Section 201
//sfx_toyOver (sfx_toyOver)
package {
import flash.media.*;
public dynamic class sfx_toyOver extends Sound {
}
}//package
Section 202
//soft_whoosh09 (soft_whoosh09)
package {
import flash.media.*;
public dynamic class soft_whoosh09 extends Sound {
}
}//package
Section 203
//spin (spin)
package {
import flash.media.*;
public dynamic class spin extends Sound {
}
}//package
Section 204
//Sting1_lose (Sting1_lose)
package {
import flash.media.*;
public dynamic class Sting1_lose extends Sound {
}
}//package
Section 205
//Successfulhit (Successfulhit)
package {
import flash.media.*;
public dynamic class Successfulhit extends Sound {
}
}//package
Section 206
//TaDa (TaDa)
package {
import flash.media.*;
public dynamic class TaDa extends Sound {
}
}//package
Section 207
//titleLoop (titleLoop)
package {
import flash.media.*;
public dynamic class titleLoop extends Sound {
}
}//package
Section 208
//toiletFlush (toiletFlush)
package {
import flash.media.*;
public dynamic class toiletFlush extends Sound {
}
}//package
Section 209
//tooltip_popup (tooltip_popup)
package {
import flash.media.*;
public dynamic class tooltip_popup extends Sound {
}
}//package
Section 210
//water (water)
package {
import flash.media.*;
public dynamic class water extends Sound {
}
}//package