Combined Code
movieClip 16 {
}
movieClip 18 {
}
movieClip 20 {
}
// unknown tag 88 length 50
button 26 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_parent.gotoAndPlay(_parent._currentframe + 1);
}
}
button 29 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
movieClip 31 {
}
movieClip 34 {
frame 1 {
stop();
}
}
movieClip 35 {
frame 1 {
stop();
}
}
// unknown tag 88 length 143
movieClip 38 {
}
movieClip 41 {
}
movieClip 43 {
}
movieClip 44 win_window {
frame 1 {
var bmd = new flash.display.BitmapData(640, 480, false, 0);
bmd.draw(_root);
bmpWin.attachBitmap(bmd, 1);
}
frame 13 {
_root.area._parent.swapDepths(700);
_root.vv.swapDepths(-1000);
_root.app.swapDepths(-1001);
Mouse.show();
_root.gotoAndStop('lvlBase');
}
frame 22 {
stop();
_root.gotoAndStop('lvlBase');
}
frame 30 {
stop();
_root.openLevel();
_root.gotoAndStop('Recipe');
this.removeMovieClip();
}
}
movieClip 48 uk_pos {
}
movieClip 51 uk_mal {
}
movieClip 54 uk_kak {
}
movieClip 57 uk_ez {
}
movieClip 60 uk_cher {
}
movieClip 62 vafl3 {
}
movieClip 64 vafl1 {
}
movieClip 66 vafl {
}
movieClip 68 l_osv_uron {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
}
frame 11 {
this.swapDepths(666);
this.removeMovieClip();
}
}
movieClip 70 m_osv {
frame 10 {
this.removeMovieClip();
}
}
movieClip 72 {
}
// unknown tag 88 length 219
movieClip 76 hint {
frame 7 {
stop();
onEnterFrame = function () {
if (hit_parent.hitTest(this)) {
} else {
hit_parent.t = 100;
hit_parent.hint_exist = false;
hit_parent.timer = false;
hit_parent.mc = null;
this.removeMovieClip();
}
};
}
}
movieClip 78 maskMouseCmp {
}
movieClip 79 {
}
movieClip 80 m2 {
}
movieClip 81 {
}
movieClip 82 {
}
movieClip 83 m1 {
instance of movieClip 82 {
onClipEvent (load) {
m_press = false;
dx = 0;
dy = 0;
xp = 0;
yp = 0;
this.onMouseDown = function () {
if (_root.area.pa_mask2.hitTest(_root._xmouse, _root._ymouse, 1)) {
m_press = true;
this.moveTo(_xmouse, _ymouse);
}
};
this.onMouseUp = function () {
m_press = false;
};
}
onClipEvent (enterFrame) {
this.lineStyle(5, _root.col, 100);
var dx = mod(_xmouse - xp);
var dy = mod(_ymouse - yp);
if (_root.ceam_trace == true) {
if (_root.area.pa_mask2.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (dx > 1 or dy > 1) {
if (m_press == true) {
trace(_root.area.pa_mask);
this.lineTo(_xmouse, _ymouse);
}
}
}
}
xp = _xmouse;
yp = _ymouse;
}
}
}
movieClip 85 m_zat2 {
frame 10 {
_root.onEnterFrame = function () {};
_root.gotoAndStop('Recipe');
this.removeMovieClip();
}
}
movieClip 86 m_zat {
frame 15 {
_root.onEnterFrame = function () {};
_root.nextFrame();
this.removeMovieClip();
}
}
// unknown tag 88 length 229
movieClip 89 m_RES {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 91 m_hint2 {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 93 m_hint {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 95 l_clear {
}
movieClip 98 {
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 106 {
}
movieClip 109 {
}
movieClip 110 {
}
movieClip 111 ko3 {
frame 33 {
_root.ing.eg._visible = true;
}
frame 55 {
this.removeMovieClip();
}
}
movieClip 114 {
}
movieClip 115 jaluz {
frame 1 {
dis = false;
new_dam = function () {
dam._xscale = 50 + Math.random() * 150;
var v1 = _width - dam._width - 25;
dam._x += Math.random() * v1;
};
new_dam();
onEnterFrame = function () {
if (dis) {
if (_alpha > 0) {
_alpha = _alpha - 10;
} else {
this.swapDepths(666);
this.removeMovieClip();
}
}
};
}
instance dam of movieClip 114 {
onClipEvent (load) {
dis = false;
}
onClipEvent (press) {
this.enabled = false;
dis = true;
}
onClipEvent (enterFrame) {
if (dis) {
if (_alpha > 0) {
_alpha = _alpha - 25;
}
}
}
}
}
movieClip 116 m_sir_zasip {
frame 1 {
stop();
}
}
movieClip 151 dec {
frame 1 {
stop();
}
}
movieClip 153 {
}
movieClip 155 {
frame 76 {
stop();
}
}
movieClip 157 {
}
movieClip 158 {
}
movieClip 160 {
}
movieClip 161 area_cont {
instance area of movieClip 160 {
onClipEvent (load) {
this.setMask(_parent.pa_mask2);
dp_max = 0;
DP = [];
this.swapDepths(700);
_root.vv.swapDepths(701);
dp_sort = function () {
var v5 = true;
var v3 = false;
var v2 = 0;
do {
v3 = false;
var v4 = DP.length - 1;
var v1 = 0;
while (v1 < v4) {
if (DP[v1]._y > DP[v1 + 1]._y) {
v2 = DP[v1];
DP[v1] = DP[v1 + 1];
DP[v1 + 1] = v2;
v3 = true;
}
++v1;
}
v5 = !v3;
} while (!v5);
};
redepths = function () {
this.setMask(_parent.pa_mask2);
var v4;
var v5 = DP.length - 1;
var v3 = 0;
while (v3 < v5) {
v4 = DP[v3];
v4.swapDepths(v3);
++v3;
}
};
this.attachMovie('M1', 'm1', -1000);
this.useHandCursor = false;
}
onClipEvent (press) {
if (_root.canDraw) {
if (!_root.ceam_trace) {
if (_root.vv.cur_red._currentframe == _root.vv.cur_red._totalframes) {
if (_root.vv.cur_green._currentframe == _root.vv.cur_green._totalframes) {
var id = undefined;
var dp_len = DP.length;
var i = dp_len;
while (i >= 0) {
id = DP[i];
if (id.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.sfx.sfx(4, 0);
DP.splice(i, 1);
_root.vv.it_ac = true;
_root.vv.cur_green.gotoAndStop(id._currentframe);
_root.vv.cur_red.gotoAndStop(id._currentframe);
_root.vv.cur_green._rotation = id._rotation;
_root.vv.cur_green._yscale = id._xscale;
_root.vv.cur_green._xscale = _root.vv.cur_green._yscale;
id.removeMovieClip();
break;
}
--i;
}
}
}
}
}
}
}
}
movieClip 168 {
}
movieClip 169 m_lomt {
frame 8 {
stop();
}
}
movieClip 178 BoundingBox {
}
movieClip 179 Defaults {
#initclip
Object.registerClass('Defaults', mx.skins.halo.Defaults);
#endinitclip
}
movieClip 180 UIObjectExtensions {
#initclip
Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions);
#endinitclip
}
movieClip 181 UIObject {
#initclip
Object.registerClass('UIObject', mx.core.UIObject);
#endinitclip
frame 1 {
stop();
}
}
button 184 {
on (keyPress '<Tab>') {
this.tabHandler();
}
}
movieClip 185 {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
#endinitclip
frame 1 {
}
}
movieClip 186 FocusRect {
#initclip
Object.registerClass('FocusRect', mx.skins.halo.FocusRect);
#endinitclip
}
movieClip 187 FocusManager {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
#endinitclip
frame 1 {
stop();
}
}
movieClip 188 UIComponentExtensions {
#initclip
Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions);
#endinitclip
}
movieClip 189 UIComponent {
#initclip
Object.registerClass('UIComponent', mx.core.UIComponent);
#endinitclip
frame 1 {
stop();
}
}
movieClip 190 Border {
#initclip
Object.registerClass('Border', mx.skins.Border);
#endinitclip
frame 1 {
stop();
}
}
movieClip 191 RectBorder {
#initclip
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass('RectBorder', mx.skins.halo.RectBorder);
#endinitclip
frame 1 {
stop();
}
}
movieClip 192 View {
#initclip
Object.registerClass('View', mx.core.View);
#endinitclip
frame 1 {
stop();
}
}
movieClip 194 BrdrShdw {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor');
}
}
movieClip 196 BrdrFace {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor');
}
}
movieClip 197 SimpleButtonDown {
}
movieClip 199 BrdrBlk {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor');
}
}
movieClip 201 BrdrHilght {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor');
}
}
movieClip 202 SimpleButtonIn {
}
movieClip 203 SimpleButtonUp {
}
movieClip 204 SimpleButton {
#initclip
Object.registerClass('SimpleButton', mx.controls.SimpleButton);
#endinitclip
frame 1 {
stop();
}
}
movieClip 205 ButtonSkin {
#initclip
Object.registerClass('ButtonSkin', mx.skins.halo.ButtonSkin);
#endinitclip
}
movieClip 206 Button {
#initclip
Object.registerClass('Button', mx.controls.Button);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 204 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 207 AccordionHeaderSkin {
#initclip
Object.registerClass('AccordionHeaderSkin', mx.skins.halo.AccordionHeaderSkin);
#endinitclip
}
movieClip 208 AccordionHeader {
#initclip
Object.registerClass('AccordionHeader', mx.containers.accordionclasses.AccordionHeader);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 206 Button {
onClipEvent (initialize) {
icon = '';
label = 'Button';
labelPlacement = 'right';
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 209 Accordion {
#initclip
Object.registerClass('Accordion', mx.containers.Accordion);
#endinitclip
frame 1 {
stop();
}
}
frame 1 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
stop();
var url = _root._url;
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'Grilled_Cheese';
_root.createEmptyMovieClip('temp', 1123);
loadMovie('http://www.playpink.com/partners/connect.swf', temp);
var clickurl = 'http://www.playpink.com/category/cooking-games/1/top-rated.html?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
linkURL = clickurl;
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 240 {
}
movieClip 242 {
}
button 244 {
on (release) {
getURL(_root.linkURL, '_blank');
var s89 = new Sound(this);
s89.attachSound('s_click');
this.s89.start();
}
}
movieClip 247 {
}
movieClip 250 {
}
movieClip 251 {
frame 1 {
stop();
}
}
movieClip 255 {
}
movieClip 256 {
}
movieClip 258 {
}
movieClip 259 {
}
movieClip 262 {
}
movieClip 265 {
}
movieClip 267 {
}
movieClip 268 {
}
movieClip 269 {
frame 16 {
stop();
}
}
movieClip 271 {
frame 1 {
stop();
}
}
movieClip 273 {
}
movieClip 275 {
}
movieClip 276 {
}
movieClip 277 {
frame 16 {
stop();
}
}
movieClip 279 {
frame 1 {
stop();
}
}
movieClip 281 {
}
movieClip 283 {
}
movieClip 284 {
}
movieClip 285 {
frame 16 {
stop();
}
}
movieClip 287 {
frame 1 {
stop();
}
}
button 288 {
on (press) {
var s1 = new Sound(this);
s1.attachSound('so_click');
this.s1.start();
getUrlSpsh('http://www.playpink.com/category/cooking-games/1/top-rated.html');
}
}
movieClip 290 {
}
movieClip 292 {
}
movieClip 293 {
}
movieClip 294 {
frame 16 {
stop();
}
}
movieClip 296 {
frame 1 {
stop();
}
}
button 297 {
on (press) {
var s1 = new Sound(this);
s1.attachSound('so_click');
this.s1.start();
getUrlSpsh('http://www.playpink.com/category/fun-games/1/top-rated.html');
}
}
button 298 {
on (press) {
var s1 = new Sound(this);
s1.attachSound('so_click');
this.s1.start();
getUrlSpsh('http://www.playpink.com/category/dress-up-games/1/top-rated.html');
}
}
movieClip 300 {
}
movieClip 302 {
}
movieClip 303 {
}
movieClip 304 {
frame 16 {
stop();
}
}
movieClip 306 {
frame 1 {
stop();
}
}
button 307 {
on (press) {
var s1 = new Sound(this);
s1.attachSound('so_click');
this.s1.start();
getUrlSpsh('http://www.playpink.com/category/puzzle-games/1/top-rated.html');
}
}
movieClip 309 {
}
movieClip 311 {
}
movieClip 312 {
}
movieClip 313 {
frame 16 {
stop();
}
}
movieClip 315 {
frame 1 {
stop();
}
}
button 316 {
on (press) {
var s1 = new Sound(this);
s1.attachSound('so_click');
this.s1.start();
getUrlSpsh('http://www.playpink.com/category/fun-games/1/top-rated.html');
}
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 322 {
}
movieClip 324 {
}
movieClip 325 {
}
movieClip 327 {
frame 30 {
stop();
}
}
movieClip 330 {
}
movieClip 331 {
}
movieClip 332 {
frame 1 {
stop();
}
}
button 333 {
on (press) {
var s1 = new Sound(this);
s1.attachSound('so_click');
this.s1.start();
getUrlSpsh('http://www.playpink.com/category/adventure-games/1/top-rated.html');
}
}
button 334 {
on (press) {
gotoAndPlay(_currentframe + 1);
}
}
movieClip 338 {
}
movieClip 340 {
}
movieClip 341 {
frame 1 {
}
frame 28 {
stop();
}
instance mLoading of movieClip 251 {
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_parent.gotoAndPlay(_parent._currentframe + 1);
} else {
var pr = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.txt.text = pr;
this.gotoAndStop(pr);
}
}
}
frame 95 {
stop();
getUrlSpsh = function (str) {
str2 = '?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
getURL(str + str2, '_blank');
};
}
frame 153 {
stop();
_root.nextFrame();
this.swapDepths(666);
this.removeMovieClip();
}
}
movieClip 170 __Packages.mx.core.UIObject {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIObject) {
var v1 = function () {
super();
this.constructObject();
};
mx.core.UIObject = v1;
var v2 = new MovieClip();
mx.core.UIObject.prototype = v2;
v2.__get__width = function () {
return this._width;
};
v2.__get__height = function () {
return this._height;
};
v2.__get__left = function () {
return this._x;
};
v2.__get__x = function () {
return this._x;
};
v2.__get__top = function () {
return this._y;
};
v2.__get__y = function () {
return this._y;
};
v2.__get__right = function () {
return this._parent.width - (this._x + this.__get__width());
};
v2.__get__bottom = function () {
return this._parent.height - (this._y + this.__get__height());
};
v2.getMinHeight = function (Void) {
return this._minHeight;
};
v2.setMinHeight = function (h) {
this._minHeight = h;
};
v2.__get__minHeight = function () {
return this.getMinHeight();
};
v2.__set__minHeight = function (h) {
this.setMinHeight(h);
return this.__get__minHeight();
};
v2.getMinWidth = function (Void) {
return this._minWidth;
};
v2.setMinWidth = function (w) {
this._minWidth = w;
};
v2.__get__minWidth = function () {
return this.getMinWidth();
};
v2.__set__minWidth = function (w) {
this.setMinWidth(w);
return this.__get__minWidth();
};
v2.setVisible = function (x, noEvent) {
if (x != this._visible) {
this._visible = x;
if (noEvent != true) {
this.dispatchEvent({'type': x ? 'reveal' : 'hide'});
}
}
};
v2.__get__visible = function () {
return this._visible;
};
v2.__set__visible = function (x) {
this.setVisible(x, false);
return this.__get__visible();
};
v2.__get__scaleX = function () {
return this._xscale;
};
v2.__set__scaleX = function (x) {
this._xscale = x;
return this.__get__scaleX();
};
v2.__get__scaleY = function () {
return this._yscale;
};
v2.__set__scaleY = function (y) {
this._yscale = y;
return this.__get__scaleY();
};
v2.doLater = function (obj, fn) {
if (this.methodTable == undefined) {
this.methodTable = new Array();
}
this.methodTable.push({'obj': obj, 'fn': fn});
this.onEnterFrame = this.doLaterDispatcher;
};
v2.doLaterDispatcher = function (Void) {
delete this.onEnterFrame;
if (this.invalidateFlag) {
this.redraw();
}
var v3 = this.methodTable;
this.methodTable = new Array();
if (v3.length > 0) {
var v2;
v2 = v3.shift();
while (v2 != undefined) {
v2.obj[v2.fn]();
}
}
};
v2.cancelAllDoLaters = function (Void) {
delete this.onEnterFrame;
this.methodTable = new Array();
};
v2.invalidate = function (Void) {
this.invalidateFlag = true;
this.onEnterFrame = this.doLaterDispatcher;
};
v2.invalidateStyle = function (Void) {
this.invalidate();
};
v2.redraw = function (bAlways) {
if (this.invalidateFlag || bAlways) {
this.invalidateFlag = false;
var v2;
for (v2 in this.tfList) {
this.tfList[v2].draw();
}
this.draw();
this.dispatchEvent({'type': 'draw'});
}
};
v2.draw = function (Void) {};
v2.move = function (x, y, noEvent) {
var v3 = this._x;
var v2 = this._y;
this._x = x;
this._y = y;
if (noEvent != true) {
this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2});
}
};
v2.setSize = function (w, h, noEvent) {
var v2 = this.__width;
var v3 = this.__height;
this.__width = w;
this.__height = h;
this.size();
if (noEvent != true) {
this.dispatchEvent({'type': 'resize', 'oldWidth': v2, 'oldHeight': v3});
}
};
v2.size = function (Void) {
this._width = this.__width;
this._height = this.__height;
};
v2.drawRect = function (x1, y1, x2, y2) {
this.moveTo(x1, y1);
this.lineTo(x2, y1);
this.lineTo(x2, y2);
this.lineTo(x1, y2);
this.lineTo(x1, y1);
};
v2.createLabel = function (name, depth, text) {
this.createTextField(name, depth, 0, 0, 0, 0);
var v2 = this[name];
v2._color = mx.core.UIObject.textColorList;
v2._visible = false;
v2.__text = text;
if (this.tfList == undefined) {
this.tfList = new Object();
}
this.tfList[name] = v2;
v2.invalidateStyle();
this.invalidate();
v2.styleName = this;
return v2;
};
v2.createObject = function (linkageName, id, depth, initobj) {
return this.attachMovie(linkageName, id, depth, initobj);
};
v2.createClassObject = function (className, id, depth, initobj) {
var v3 = className.symbolName == undefined;
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var v4 = this.createObject(className.symbolOwner.symbolName, id, depth, initobj);
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return v4;
};
v2.createEmptyObject = function (id, depth) {
return this.createClassObject(mx.core.UIObject, id, depth);
};
v2.destroyObject = function (id) {
var v2 = this[id];
if (v2.getDepth() < 0) {
var v4 = this.buildDepthTable();
var v5 = this.findNextAvailableDepth(0, v4, 'up');
var v3 = v5;
v2.swapDepths(v3);
}
v2.removeMovieClip();
delete this[id];
};
v2.getSkinIDName = function (tag) {
return this.idNames[tag];
};
v2.setSkin = function (tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj);
};
v2.createSkin = function (tag) {
var v2 = this.getSkinIDName(tag);
this.createEmptyObject(v2, tag);
return this[v2];
};
v2.createChildren = function (Void) {};
v2._createChildren = function (Void) {
this.createChildren();
this.childrenCreated = true;
};
v2.constructObject = function (Void) {
if (this._name == undefined) {
return undefined;
}
this.init();
this._createChildren();
this.createAccessibilityImplementation();
this._endInit();
if (this.validateNow) {
this.redraw(true);
} else {
this.invalidate();
}
};
v2.initFromClipParameters = function (Void) {
var v4 = false;
var v2;
for (v2 in this.clipParameters) {
if (this.hasOwnProperty(v2)) {
v4 = true;
this['def_' + v2] = this[v2];
delete this[v2];
}
}
if (v4) {
for (v2 in this.clipParameters) {
var v3 = this['def_' + v2];
if (v3 != undefined) {
this[v2] = v3;
}
}
}
};
v2.init = function (Void) {
this.__width = this._width;
this.__height = this._height;
if (this.initProperties == undefined) {
this.initFromClipParameters();
} else {
this.initProperties();
}
if (_global.cascadingStyles == true) {
this.stylecache = new Object();
}
};
v2.getClassStyleDeclaration = function (Void) {
var v4 = this;
var v3 = this.className;
while (v3 != undefined) {
if (this.ignoreClassStyleDeclaration[v3] == undefined) {
if (_global.styles[v3] != undefined) {
return _global.styles[v3];
}
}
v4 = v4.__proto__;
v3 = v4.className;
}
};
v2.setColor = function (color) {};
v2.__getTextFormat = function (tf, bAll) {
var v8 = this.stylecache.tf;
if (v8 != undefined) {
var v3;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
tf[v3] = v8[v3];
}
}
}
return false;
}
var v6 = false;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
var v5 = this._tf[v3];
if (v5 != undefined) {
tf[v3] = v5;
} else {
if (v3 == 'font' && this.fontFamily != undefined) {
tf[v3] = this.fontFamily;
} else {
if (v3 == 'size' && this.fontSize != undefined) {
tf[v3] = this.fontSize;
} else {
if (v3 == 'color' && this.color != undefined) {
tf[v3] = this.color;
} else {
if (v3 == 'leftMargin' && this.marginLeft != undefined) {
tf[v3] = this.marginLeft;
} else {
if (v3 == 'rightMargin' && this.marginRight != undefined) {
tf[v3] = this.marginRight;
} else {
if (v3 == 'italic' && this.fontStyle != undefined) {
tf[v3] = this.fontStyle == v3;
} else {
if (v3 == 'bold' && this.fontWeight != undefined) {
tf[v3] = this.fontWeight == v3;
} else {
if (v3 == 'align' && this.textAlign != undefined) {
tf[v3] = this.textAlign;
} else {
if (v3 == 'indent' && this.textIndent != undefined) {
tf[v3] = this.textIndent;
} else {
if (v3 == 'underline' && this.textDecoration != undefined) {
tf[v3] = this.textDecoration == v3;
} else {
if (v3 == 'embedFonts' && this.embedFonts != undefined) {
tf[v3] = this.embedFonts;
} else {
v6 = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (v6) {
var v9 = this.styleName;
if (v9 != undefined) {
if (typeof v9 != 'string') {
v6 = v9.__getTextFormat(tf, true, this);
} else {
if (_global.styles[v9] != undefined) {
v6 = _global.styles[v9].__getTextFormat(tf, true, this);
}
}
}
}
if (v6) {
var v10 = this.getClassStyleDeclaration();
if (v10 != undefined) {
v6 = v10.__getTextFormat(tf, true, this);
}
}
if (v6) {
if (_global.cascadingStyles) {
if (this._parent != undefined) {
v6 = this._parent.__getTextFormat(tf, false);
}
}
}
if (v6) {
v6 = _global.style.__getTextFormat(tf, true, this);
}
return v6;
};
v2._getTextFormat = function (Void) {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2, true);
this.stylecache.tf = v2;
if (this.enabled == false) {
var v3 = this.getStyle('disabledColor');
v2.color = v3;
}
return v2;
};
v2.getStyleName = function (Void) {
var v2 = this.styleName;
if (v2 != undefined) {
if (typeof v2 != 'string') {
return v2.getStyleName();
} else {
return v2;
}
}
if (this._parent != undefined) {
return this._parent.getStyleName();
} else {
return undefined;
}
};
v2.getStyle = function (styleProp) {
var v3;
++_global.getStyleCounter;
if (this[styleProp] != undefined) {
return this[styleProp];
}
var v6 = this.styleName;
if (v6 != undefined) {
if (typeof v6 != 'string') {
v3 = v6.getStyle(styleProp);
} else {
var v7 = _global.styles[v6];
v3 = v7.getStyle(styleProp);
}
}
if (v3 != undefined) {
return v3;
}
v7 = this.getClassStyleDeclaration();
if (v7 != undefined) {
v3 = v7[styleProp];
}
if (v3 != undefined) {
return v3;
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) {
var v5 = this.stylecache;
if (v5 != undefined) {
if (v5[styleProp] != undefined) {
return v5[styleProp];
}
}
if (this._parent != undefined) {
v3 = this._parent.getStyle(styleProp);
} else {
v3 = _global.style[styleProp];
}
if (v5 != undefined) {
v5[styleProp] = v3;
}
return v3;
}
}
if (v3 == undefined) {
v3 = _global.style[styleProp];
}
return v3;
};
v1.mergeClipParameters = function (o, p) {
for (var v3 in p) {
o[v3] = p[v3];
}
return true;
};
v1.symbolName = 'UIObject';
v1.symbolOwner = mx.core.UIObject;
v1.version = '2.0.2.127';
v1.textColorList = {'color': 1, 'disabledColor': 1};
v2.invalidateFlag = false;
v2.lineWidth = 1;
v2.lineColor = 0;
v2.tabEnabled = false;
v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1};
v2.addProperty('bottom', v2.__get__bottom, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('left', v2.__get__left, function () {});
v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight);
v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth);
v2.addProperty('right', v2.__get__right, function () {});
v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX);
v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY);
v2.addProperty('top', v2.__get__top, function () {});
v2.addProperty('visible', v2.__get__visible, v2.__set__visible);
v2.addProperty('width', v2.__get__width, function () {});
v2.addProperty('x', v2.__get__x, function () {});
v2.addProperty('y', v2.__get__y, function () {});
ASSetPropFlags(mx.core.UIObject.prototype, null, 1);
}
#endinitclip
}
movieClip 171 __Packages.mx.core.UIComponent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIComponent) {
var v1 = function () {
super();
};
mx.core.UIComponent = v1;
var v2 = new mx.core.UIObject();
mx.core.UIComponent.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.setVisible = function (x, noEvent) {
super.setVisible(x, noEvent);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this.setEnabled(newValue);
this.invalidate();
delete this.stylecache.tf;
return newValue;
};
v2.setEnabled = function (enabled) {
this.invalidate();
};
v2.getFocus = function () {
var selFocus = Selection.getFocus();
return (selFocus === null) ? null : eval(selFocus);
};
v2.setFocus = function () {
Selection.setFocus(this);
};
v2.getFocusManager = function () {
var v2 = this;
while (v2 != undefined) {
if (v2.focusManager != undefined) {
return v2.focusManager;
}
v2 = v2._parent;
}
return undefined;
};
v2.onKillFocus = function (newFocus) {
this.removeEventListener('keyDown', this);
this.removeEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusOut'});
this.drawFocus(false);
};
v2.onSetFocus = function (oldFocus) {
this.addEventListener('keyDown', this);
this.addEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusIn'});
if ((this.getFocusManager()).bDrawFocus != false) {
this.drawFocus(true);
}
};
v2.findFocusInChildren = function (o) {
if (o.focusTextField != undefined) {
return o.focusTextField;
}
if (o.tabEnabled == true) {
return o;
}
return undefined;
};
v2.findFocusFromObject = function (o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return undefined;
}
if (o._parent.tabEnabled == true) {
o = o._parent;
return o;
}
if (o._parent.tabChildren) {
o = this.findFocusInChildren(o._parent);
return o;
}
o = this.findFocusFromObject(o._parent);
}
return o;
};
v2.pressFocus = function () {
var v3 = this.findFocusFromObject(this);
var v2 = this.getFocus();
if (v3 != v2) {
v2.drawFocus(false);
if ((this.getFocusManager()).bDrawFocus != false) {
v3.drawFocus(true);
}
}
};
v2.releaseFocus = function () {
var v2 = this.findFocusFromObject(this);
if (v2 != this.getFocus()) {
v2.setFocus();
}
};
v2.isParent = function (o) {
while (o != undefined) {
if (o == this) {
return true;
}
o = o._parent;
}
return false;
};
v2.size = function () {};
v2.init = function () {
super.init();
this._xscale = 100;
this._yscale = 100;
this._focusrect = _global.useFocusRect == false;
this.watch('enabled', this.enabledChanged);
if (this.enabled == false) {
this.setEnabled(false);
}
};
v2.dispatchValueChangedEvent = function (value) {
this.dispatchEvent({'type': 'valueChanged', 'value': value});
};
v1.symbolName = 'UIComponent';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.127';
v1.kStretch = 5000;
v2.focusEnabled = true;
v2.tabEnabled = true;
v2.origBorderStyles = {'themeColor': 16711680};
v2.clipParameters = {};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.core.UIComponent.prototype, null, 1);
}
#endinitclip
}
movieClip 172 __Packages.mx.core.View {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.View) {
var v1 = function () {
super();
};
mx.core.View = v1;
var v2 = new mx.core.UIComponent();
mx.core.View.prototype = v2;
v2.init = function () {
super.init();
this.tabChildren = true;
this.tabEnabled = false;
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.size = function () {
this.border_mc.move(0, 0);
this.border_mc.setSize(this.__get__width(), this.__get__height());
this.doLayout();
};
v2.draw = function () {
this.size();
};
v2.__get__numChildren = function () {
var v3 = mx.core.View.childNameBase;
var v2 = 0;
while (!false) {
if (this[v3 + v2] == undefined) {
return v2;
}
++v2;
}
return -1;
};
v2.__get__tabIndex = function () {
return this.tabEnabled ? this.__tabIndex : undefined;
};
v2.__set__tabIndex = function (n) {
this.__tabIndex = n;
return this.__get__tabIndex();
};
v2.addLayoutObject = function (object) {};
v2.createChild = function (className, instanceName, initProps) {
if (this.depth == undefined) {
this.depth = 1;
}
var v2;
if (typeof className == 'string') {
v2 = this.createObject(className, instanceName, this.depth++, initProps);
} else {
v2 = this.createClassObject(className, instanceName, this.depth++, initProps);
}
if (v2 == undefined) {
v2 = this.loadExternal(className, this._loadExternalClass, instanceName, this.depth++, initProps);
this.addLayoutObject(v2);
return v2;
}
this[mx.core.View.childNameBase + this.__get__numChildren()] = v2;
v2._complete = true;
this.childLoaded(v2);
this.addLayoutObject(v2);
return v2;
};
v2.getChildAt = function (childIndex) {
return this[mx.core.View.childNameBase + childIndex];
};
v2.destroyChildAt = function (childIndex) {
if (!(childIndex >= 0 && childIndex < this.__get__numChildren())) {
return undefined;
}
var v4 = mx.core.View.childNameBase + childIndex;
var v6 = this.__get__numChildren();
var v3;
for (v3 in this) {
if (v3 == v4) {
v4 = '';
this.destroyObject(v3);
break;
}
}
var v2 = Number(childIndex);
while (v2 < v6 - 1) {
this[mx.core.View.childNameBase + v2] = this[mx.core.View.childNameBase + (v2 + 1)];
++v2;
}
delete this[mx.core.View.childNameBase + (v6 - 1)];
--this.depth;
};
v2.initLayout = function () {
if (!this.hasBeenLayedOut) {
this.doLayout();
}
};
v2.doLayout = function () {
this.hasBeenLayedOut = true;
};
v2.createChildren = function () {
if (this.border_mc == undefined) {
this.border_mc = this.createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {'styleName': this});
}
this.doLater(this, 'initLayout');
};
v2.convertToUIObject = function (obj) {};
v2.childLoaded = function (obj) {
this.convertToUIObject(obj);
};
v1.extension = function () {
mx.core.ExternalContent.enableExternalContent();
};
v1.symbolName = 'View';
v1.symbolOwner = mx.core.View;
v1.version = '2.0.2.127';
v2.className = 'View';
v1.childNameBase = '_child';
v2.hasBeenLayedOut = false;
v2._loadExternalClass = 'UIComponent';
v2.addProperty('numChildren', v2.__get__numChildren, function () {});
v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex);
ASSetPropFlags(mx.core.View.prototype, null, 1);
}
#endinitclip
}
movieClip 173 __Packages.mx.controls.SimpleButton {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.SimpleButton) {
var v1 = function () {
super();
};
mx.controls.SimpleButton = v1;
var v2 = new mx.core.UIComponent();
mx.controls.SimpleButton.prototype = v2;
v2.init = function (Void) {
super.init();
if (this.preset == undefined) {
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
}
this.useHandCursor = false;
};
v2.createChildren = function (Void) {
if (this.preset != undefined) {
var v2 = this[this.idNames[this.preset]];
this[this.refNames[this.preset]] = v2;
this.skinName = v2;
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
this.initializing = false;
} else {
if (this.__state == true) {
this.setStateVar(true);
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
}
}
};
v2.setIcon = function (tag, linkageName) {
return this.setSkin(tag + 8, linkageName);
};
v2.changeIcon = function (tag, linkageName) {
this.linkLength = linkageName.length;
var v2 = this.stateNames[tag] + 'Icon';
this[v2] = linkageName;
this[this.idNames[tag + 8]] = v2;
this.setStateVar(this.getState());
};
v2.changeSkin = function (tag, linkageName) {
var v2 = this.stateNames[tag] + 'Skin';
this[v2] = linkageName;
this[this.idNames[tag]] = v2;
this.setStateVar(this.getState());
};
v2.viewIcon = function (varName) {
var v4 = varName + 'Icon';
var v3 = this[v4];
if (typeof v3 == 'string') {
var v5 = v3;
if (this.__emphasized) {
if (this[v3 + 'Emphasized'].length > 0) {
v3 += 'Emphasized';
}
}
if (this[v3].length == 0) {
return undefined;
}
v3 = this.setIcon(this.tagMap[v5], this[v3]);
if (v3 == undefined && _global.isLivePreview) {
v3 = this.setIcon(0, 'ButtonIcon');
}
this[v4] = v3;
}
this.iconName._visible = false;
this.iconName = v3;
this.iconName._visible = true;
};
v2.removeIcons = function () {
var v3 = 0;
while (v3 < 2) {
var v2 = 8;
while (v2 < 16) {
this.destroyObject(this.idNames[v2]);
this[this.stateNames[v2 - 8] + 'Icon'] = '';
++v2;
}
++v3;
}
this.refresh();
};
v2.setSkin = function (tag, linkageName, initobj) {
if (initobj == undefined) {
var v3 = super.setSkin(tag, linkageName, {'styleName': this});
this.calcSize(tag, v3);
return v3;
}
var v3 = super.setSkin(tag, linkageName, initobj);
this.calcSize(tag, v3);
return v3;
};
v2.calcSize = function (Void) {
this.__width = this._width;
this.__height = this._height;
};
v2.viewSkin = function (varName, initObj) {
var v3 = varName + 'Skin';
var v2 = this[v3];
if (typeof v2 == 'string') {
var v4 = v2;
if (this.__emphasized) {
if (this[v2 + 'Emphasized'].length > 0) {
v2 += 'Emphasized';
}
}
if (this[v2].length == 0) {
return undefined;
}
v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this});
this[v3] = v2;
}
this.skinName._visible = false;
this.skinName = v2;
this.skinName._visible = true;
};
v2.showEmphasized = function (e) {
if (e && !this.__emphatic) {
if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) {
this.__emphaticStyleName = this.styleName;
this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration;
}
this.__emphatic = true;
} else {
if (this.__emphatic) {
this.styleName = this.__emphaticStyleName;
}
this.__emphatic = false;
}
};
v2.refresh = function (Void) {
var v2 = this.getState();
if (this.enabled == false) {
this.viewIcon('disabled');
this.viewSkin('disabled');
} else {
this.viewSkin(this.phase);
this.viewIcon(this.phase);
}
this.setView(this.phase == 'down');
this.iconName.enabled = this.enabled;
};
v2.setView = function (offset) {
if (this.iconName == undefined) {
return undefined;
}
var v2 = offset ? this.btnOffset : 0;
this.iconName._x = (this.__width - this.iconName._width) / 2 + v2;
this.iconName._y = (this.__height - this.iconName._height) / 2 + v2;
};
v2.setStateVar = function (state) {
if (state) {
if (this.trueOverSkin.length == 0) {
this.rolloverSkin = this.tus;
} else {
this.rolloverSkin = this.trs;
}
if (this.trueOverIcon.length == 0) {
this.rolloverIcon = this.tui;
} else {
this.rolloverIcon = this.tri;
}
this.upSkin = this.tus;
this.downSkin = this.tds;
this.disabledSkin = this.dts;
this.upIcon = this.tui;
this.downIcon = this.tdi;
this.disabledIcon = this.dti;
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
} else {
this.rolloverSkin = this.frs;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
} else {
this.rolloverIcon = this.fri;
}
this.upSkin = this.fus;
this.downSkin = this.fds;
this.disabledSkin = this.dfs;
this.upIcon = this.fui;
this.downIcon = this.fdi;
this.disabledIcon = this.dfi;
}
this.__state = state;
};
v2.setState = function (state) {
if (state != this.__state) {
this.setStateVar(state);
this.invalidate();
}
};
v2.size = function (Void) {
this.refresh();
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.skinName.visible = true;
this.iconName.visible = true;
}
this.size();
};
v2.getState = function (Void) {
return this.__state;
};
v2.setToggle = function (val) {
this.__toggle = val;
if (this.__toggle == false) {
this.setState(false);
}
};
v2.getToggle = function (Void) {
return this.__toggle;
};
v2.__set__toggle = function (val) {
this.setToggle(val);
return this.__get__toggle();
};
v2.__get__toggle = function () {
return this.getToggle();
};
v2.__set__value = function (val) {
this.setSelected(val);
return this.__get__value();
};
v2.__get__value = function () {
return this.getSelected();
};
v2.__set__selected = function (val) {
this.setSelected(val);
return this.__get__selected();
};
v2.__get__selected = function () {
return this.getSelected();
};
v2.setSelected = function (val) {
if (this.__toggle) {
this.setState(val);
} else {
this.setState(this.initializing ? val : this.__state);
}
};
v2.getSelected = function () {
return this.__state;
};
v2.setEnabled = function (val) {
if (this.enabled != val) {
super.setEnabled(val);
this.invalidate();
}
};
v2.onPress = function (Void) {
this.pressFocus();
this.phase = 'down';
this.refresh();
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay'));
}
};
v2.onPressDelay = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
clearInterval(this.interval);
this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval'));
}
};
v2.onPressRepeat = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
updateAfterEvent();
};
v2.onRelease = function (Void) {
this.releaseFocus();
this.phase = 'rollover';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
if (this.getToggle()) {
this.setState(!this.getState());
} else {
this.refresh();
}
this.dispatchEvent({'type': 'click'});
};
v2.onDragOut = function (Void) {
this.phase = 'up';
this.refresh();
this.dispatchEvent({'type': 'buttonDragOut'});
};
v2.onDragOver = function (Void) {
if (this.phase != 'up') {
this.onPress();
return undefined;
} else {
this.phase = 'down';
this.refresh();
}
};
v2.onReleaseOutside = function (Void) {
this.releaseFocus();
this.phase = 'up';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
};
v2.onRollOver = function (Void) {
this.phase = 'rollover';
this.refresh();
};
v2.onRollOut = function (Void) {
this.phase = 'up';
this.refresh();
};
v2.getLabel = function (Void) {
return this.fui.text;
};
v2.setLabel = function (val) {
if (typeof this.fui == 'string') {
this.createLabel('fui', 8, val);
this.fui.styleName = this;
} else {
this.fui.text = val;
}
var v4 = this.fui._getTextFormat();
var v2 = v4.getTextExtent2(val);
this.fui._width = v2.width + 5;
this.fui._height = v2.height + 5;
this.iconName = this.fui;
this.setView(this.__state);
};
v2.__get__emphasized = function () {
return this.__emphasized;
};
v2.__set__emphasized = function (val) {
this.__emphasized = val;
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]] = this.stateNames[v2] + 'Skin';
if (typeof this[this.idNames[v2 + 8]] == 'movieclip') {
this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon';
}
++v2;
}
this.showEmphasized(this.__emphasized);
this.setStateVar(this.__state);
this.invalidateStyle();
return this.__get__emphasized();
};
v2.keyDown = function (e) {
if (e.code == 32) {
this.onPress();
}
};
v2.keyUp = function (e) {
if (e.code == 32) {
this.onRelease();
}
};
v2.onKillFocus = function (newFocus) {
super.onKillFocus();
if (this.phase != 'up') {
this.phase = 'up';
this.refresh();
}
};
v1.symbolName = 'SimpleButton';
v1.symbolOwner = mx.controls.SimpleButton;
v1.version = '2.0.2.127';
v2.className = 'SimpleButton';
v2.style3dInset = 4;
v2.btnOffset = 1;
v2.__toggle = false;
v2.__state = false;
v2.__emphasized = false;
v2.__emphatic = false;
v1.falseUp = 0;
v1.falseDown = 1;
v1.falseOver = 2;
v1.falseDisabled = 3;
v1.trueUp = 4;
v1.trueDown = 5;
v1.trueOver = 6;
v1.trueDisabled = 7;
v2.falseUpSkin = 'SimpleButtonUp';
v2.falseDownSkin = 'SimpleButtonIn';
v2.falseOverSkin = '';
v2.falseDisabledSkin = 'SimpleButtonUp';
v2.trueUpSkin = 'SimpleButtonIn';
v2.trueDownSkin = '';
v2.trueOverSkin = '';
v2.trueDisabledSkin = 'SimpleButtonIn';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.phase = 'up';
v2.fui = 'falseUpIcon';
v2.fus = 'falseUpSkin';
v2.fdi = 'falseDownIcon';
v2.fds = 'falseDownSkin';
v2.frs = 'falseOverSkin';
v2.fri = 'falseOverIcon';
v2.dfi = 'falseDisabledIcon';
v2.dfs = 'falseDisabledSkin';
v2.tui = 'trueUpIcon';
v2.tus = 'trueUpSkin';
v2.tdi = 'trueDownIcon';
v2.tds = 'trueDownSkin';
v2.trs = 'trueOverSkin';
v2.tri = 'trueOverIcon';
v2.dts = 'trueDisabledSkin';
v2.dti = 'trueDisabledIcon';
v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs;
v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri;
v2.upSkin = mx.controls.SimpleButton.prototype.fus;
v2.downSkin = mx.controls.SimpleButton.prototype.fds;
v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs;
v2.upIcon = mx.controls.SimpleButton.prototype.fui;
v2.downIcon = mx.controls.SimpleButton.prototype.fdi;
v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi;
v2.initializing = true;
v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti'];
v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled'];
v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin'];
v2.tagMap = {'falseUpSkin': 0, 'falseDownSkin': 1, 'falseOverSkin': 2, 'falseDisabledSkin': 3, 'trueUpSkin': 4, 'trueDownSkin': 5, 'trueOverSkin': 6, 'trueDisabledSkin': 7, 'falseUpIcon': 0, 'falseDownIcon': 1, 'falseOverIcon': 2, 'falseDisabledIcon': 3, 'trueUpIcon': 4, 'trueDownIcon': 5, 'trueOverIcon': 6, 'trueDisabledIcon': 7};
v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized);
v2.addProperty('selected', v2.__get__selected, v2.__set__selected);
v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle);
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1);
}
#endinitclip
}
movieClip 174 __Packages.mx.controls.Button {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.Button) {
var v1 = function () {
super();
};
mx.controls.Button = v1;
var v2 = new mx.controls.SimpleButton();
mx.controls.Button.prototype = v2;
v2.init = function (Void) {
super.init();
};
v2.draw = function () {
if (this.initializing) {
this.labelPath.visible = true;
}
super.draw();
if (this.initIcon != undefined) {
this._setIcon(this.initIcon);
}
delete this.initIcon;
};
v2.onRelease = function (Void) {
super.onRelease();
};
v2.createChildren = function (Void) {
super.createChildren();
};
v2.setSkin = function (tag, linkageName, initobj) {
return super.setSkin(tag, linkageName, initobj);
};
v2.viewSkin = function (varName) {
var v3 = this.getState() ? 'true' : 'false';
v3 += this.enabled ? this.phase : 'disabled';
super.viewSkin(varName, {'styleName': this, 'borderStyle': v3});
};
v2.invalidateStyle = function (c) {
this.labelPath.invalidateStyle(c);
super.invalidateStyle(c);
};
v2.setColor = function (c) {
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]].redraw(true);
++v2;
}
};
v2.setEnabled = function (enable) {
this.labelPath.enabled = enable;
super.setEnabled(enable);
};
v2.calcSize = function (tag, ref) {
if (this.__width == undefined || this.__height == undefined) {
return undefined;
}
if (tag < 7) {
ref.setSize(this.__width, this.__height, true);
}
};
v2.size = function (Void) {
this.setState(this.getState());
this.setHitArea(this.__width, this.__height);
var v3 = 0;
while (v3 < 8) {
var v4 = this.idNames[v3];
if (typeof this[v4] == 'movieclip') {
this[v4].setSize(this.__width, this.__height, true);
}
++v3;
}
super.size();
};
v2.__set__labelPlacement = function (val) {
this.__labelPlacement = val;
this.invalidate();
return this.__get__labelPlacement();
};
v2.__get__labelPlacement = function () {
return this.__labelPlacement;
};
v2.getLabelPlacement = function (Void) {
return this.__labelPlacement;
};
v2.setLabelPlacement = function (val) {
this.__labelPlacement = val;
this.invalidate();
};
v2.getBtnOffset = function (Void) {
if (this.getState()) {
var v2 = this.btnOffset;
return v2;
}
if (this.phase == 'down') {
v2 = this.btnOffset;
return v2;
}
v2 = 0;
return v2;
};
v2.setView = function (offset) {
var v16 = offset ? this.btnOffset : 0;
var v12 = this.getLabelPlacement();
var v7 = 0;
var v6 = 0;
var v9 = 0;
var v8 = 0;
var v5 = 0;
var v4 = 0;
var v3 = this.labelPath;
var v2 = this.iconName;
var v15 = v3.textWidth;
var v14 = v3.textHeight;
var v10 = this.__width - this.borderW - this.borderW;
var v11 = this.__height - this.borderW - this.borderW;
if (v2 != undefined) {
v7 = v2._width;
v6 = v2._height;
}
if (v12 == 'left' || v12 == 'right') {
if (v3 != undefined) {
v9 = Math.min(v10 - v7, v15 + 5);
v3._width = v9;
v8 = Math.min(v11, v14 + 5);
v3._height = v8;
}
if (v12 == 'right') {
v5 = v7;
if (this.centerContent) {
v5 += (v10 - v9 - v7) / 2;
}
v2._x = v5 - v7;
} else {
v5 = v10 - v9 - v7;
if (this.centerContent) {
v5 /= 2;
}
v2._x = v5 + v9;
}
v4 = 0;
v2._y = v4;
if (this.centerContent) {
v2._y = (v11 - v6) / 2;
v4 = (v11 - v8) / 2;
}
if (!this.centerContent) {
v2._y += Math.max(0, (v8 - v6) / 2);
}
} else {
if (v3 != undefined) {
v9 = Math.min(v10, v15 + 5);
v3._width = v9;
v8 = Math.min(v11 - v6, v14 + 5);
v3._height = v8;
}
v5 = (v10 - v9) / 2;
v2._x = (v10 - v7) / 2;
if (v12 == 'top') {
v4 = v11 - v8 - v6;
if (this.centerContent) {
v4 /= 2;
}
v2._y = v4 + v8;
} else {
v4 = v6;
if (this.centerContent) {
v4 += (v11 - v8 - v6) / 2;
}
v2._y = v4 - v6;
}
}
var v13 = this.borderW + v16;
v3._x = v5 + v13;
v3._y = v4 + v13;
v2._x += v13;
v2._y += v13;
};
v2.__set__label = function (lbl) {
this.setLabel(lbl);
return this.__get__label();
};
v2.setLabel = function (label) {
if (label == '') {
this.labelPath.removeTextField();
this.refresh();
return undefined;
}
if (this.labelPath == undefined) {
var v2 = this.createLabel('labelPath', 200, label);
v2._width = v2.textWidth + 5;
v2._height = v2.textHeight + 5;
if (this.initializing) {
v2.visible = false;
}
} else {
delete this.labelPath.__text;
this.labelPath.text = label;
this.refresh();
}
};
v2.getLabel = function (Void) {
return (this.labelPath.__text != undefined) ? this.labelPath.__text : this.labelPath.text;
};
v2.__get__label = function () {
return this.getLabel();
};
v2._getIcon = function (Void) {
return this._iconLinkageName;
};
v2.__get__icon = function () {
if (this.initializing) {
return this.initIcon;
}
return this._iconLinkageName;
};
v2._setIcon = function (linkage) {
if (this.initializing) {
if (linkage == '') {
return undefined;
}
this.initIcon = linkage;
} else {
if (linkage == '') {
this.removeIcons();
return undefined;
}
super.changeIcon(0, linkage);
super.changeIcon(1, linkage);
super.changeIcon(3, linkage);
super.changeIcon(4, linkage);
super.changeIcon(5, linkage);
this._iconLinkageName = linkage;
this.refresh();
}
};
v2.__set__icon = function (linkage) {
this._setIcon(linkage);
return this.__get__icon();
};
v2.setHitArea = function (w, h) {
if (this.hitArea_mc == undefined) {
this.createEmptyObject('hitArea_mc', 100);
}
var v2 = this.hitArea_mc;
v2.clear();
v2.beginFill(16711680);
v2.drawRect(0, 0, w, h);
v2.endFill();
v2.setVisible(false);
};
v1.symbolName = 'Button';
v1.symbolOwner = mx.controls.Button;
v2.className = 'Button';
v1.version = '2.0.2.127';
v2.btnOffset = 0;
v2._color = 'buttonColor';
v2.__label = 'default value';
v2.__labelPlacement = 'right';
v2.falseUpSkin = 'ButtonSkin';
v2.falseDownSkin = 'ButtonSkin';
v2.falseOverSkin = 'ButtonSkin';
v2.falseDisabledSkin = 'ButtonSkin';
v2.trueUpSkin = 'ButtonSkin';
v2.trueDownSkin = 'ButtonSkin';
v2.trueOverSkin = 'ButtonSkin';
v2.trueDisabledSkin = 'ButtonSkin';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.clipParameters = {'labelPlacement': 1, 'icon': 1, 'toggle': 1, 'selected': 1, 'label': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters);
v2.centerContent = true;
v2.borderW = 1;
v2.addProperty('icon', v2.__get__icon, v2.__set__icon);
v2.addProperty('label', v2.__get__label, v2.__set__label);
v2.addProperty('labelPlacement', v2.__get__labelPlacement, v2.__set__labelPlacement);
ASSetPropFlags(mx.controls.Button.prototype, null, 1);
}
#endinitclip
}
movieClip 175 __Packages.mx.containers.accordionclasses.AccordionHeader {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.containers) {
_global.mx.containers = new Object();
}
if (!_global.mx.containers.accordionclasses) {
_global.mx.containers.accordionclasses = new Object();
}
if (!_global.mx.containers.accordionclasses.AccordionHeader) {
var v1 = function () {
super();
};
mx.containers.accordionclasses.AccordionHeader = v1;
var v2 = new mx.controls.Button();
mx.containers.accordionclasses.AccordionHeader.prototype = v2;
v2.onRollOver = function () {
this.swapDepths(this.maxDepth);
super.onRollOver();
};
v2.drawFocus = function (isFocused) {
if (isFocused) {
if (this.focus_mc == undefined) {
this.focus_mc = this.createObject('FocusRect', 'focus_mc', 10);
}
this.focus_mc.move(1, 1);
this.focus_mc.setSize(this.__get__width() - 2, this.__get__height() - 2, 0, 100, this.getStyle('themeColor'));
this.focus_mc._visible = true;
} else {
this.focus_mc._visible = false;
}
};
v1.symbolName = 'AccordionHeader';
v2.ignoreClassStyleDeclaration = {'Button': 1};
v1.symbolOwner = mx.containers.accordionclasses.AccordionHeader;
v2.className = 'AccordionHeader';
v2.falseUpSkin = 'AccordionHeaderSkin';
v2.falseDownSkin = 'AccordionHeaderSkin';
v2.falseOverSkin = 'AccordionHeaderSkin';
v2.falseDisabledSkin = 'AccordionHeaderSkin';
v2.trueUpSkin = 'AccordionHeaderSkin';
v2.trueDownSkin = 'AccordionHeaderSkin';
v2.trueOverSkin = 'AccordionHeaderSkin';
v2.trueDisabledSkin = 'AccordionHeaderSkin';
v2.centerContent = false;
v2.btnOffset = 0;
v2.maxDepth = 1999;
v1.version = '2.0.2.127';
ASSetPropFlags(mx.containers.accordionclasses.AccordionHeader.prototype, null, 1);
}
#endinitclip
}
movieClip 176 __Packages.mx.containers.Accordion {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.containers) {
_global.mx.containers = new Object();
}
if (!_global.mx.containers.Accordion) {
var v1 = function () {
super();
};
mx.containers.Accordion = v1;
var v2 = new mx.core.View();
mx.containers.Accordion.prototype = v2;
v2.init = function () {
super.init();
this.tabEnabled = true;
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.createChild = function (symbolName, instanceName, props) {
var v3 = super.createChild(symbolName, instanceName, props);
v3._visible = false;
var v4 = this.__get__numChildren() - 1;
this.createHeaderAndMask(v3, v4);
this.invalidate();
return v3;
};
v2.createSegment = function (symbolName, instanceName, labelStr, iconStr) {
return this.createChild(symbolName, instanceName, {'label': labelStr, 'icon': iconStr});
};
v2.destroyChildAt = function (index) {
if (this.__get__numChildren() == 0) {
return undefined;
}
super.destroyChildAt(index);
this.destroyObject(this.kHeaderNameBase + index);
this.destroyObject(this.kMaskNameBase + index);
var v4 = this.__get__numChildren();
var v3 = Number(index);
while (v3 < v4) {
this[this.kHeaderNameBase + v3] = this[this.kHeaderNameBase + (v3 + 1)];
this[this.kHeaderNameBase + v3]._name = this.kHeaderNameBase + v3;
this[this.kMaskNameBase + v3] = this[this.kMaskNameBase + (v3 + 1)];
this[this.kMaskNameBase + v3]._name = this.kMaskNameBase + v3;
this[this.kHeaderNameBase + v3].setStateVar(this[this.kHeaderNameBase + v3].getState());
++v3;
}
delete this[this.kHeaderNameBase + v4];
delete this[this.kMaskNameBase + v4];
v3 = 0;
while (v3 < v4) {
this[this.kHeaderNameBase + v3].swapDepths(this.kBaseHeaderDepth + v3);
this[this.kMaskNameBase + v3].swapDepths(this.kBaseMaskDepth + v3);
this[mx.core.View.childNameBase + v3].swapDepths(v3 + 1);
++v3;
}
if (v4 == 0) {
this.__selectedIndex = undefined;
} else {
if (index < this.__selectedIndex) {
--this.__selectedIndex;
} else {
if (index == this.__selectedIndex) {
if (index == v4) {
--this.__selectedIndex;
}
var v6 = this[this.kHeaderNameBase + this.__selectedIndex];
v6.setState(true);
}
}
}
this.invalidate();
};
v2.createChildren = function () {
var v7 = this.childNames.length;
var v3 = 0;
while (v3 < v7) {
var v4 = this.childSymbols[v3];
if (v4 == undefined) {
v4 = 'View';
}
this.createChild(v4, this.childNames[v3], {'label': this.childLabels[v3], 'icon': this.childIcons[v3]});
++v3;
}
super.createChildren();
};
v2.initLayout = function () {
var v5 = this.__get__numChildren();
var v3 = 0;
while (v3 < v5) {
var v4 = this.getChildAt(v3);
v4.swapDepths(v3 + 1);
this.createHeaderAndMask(v4, v3);
++v3;
}
super.initLayout();
};
v2.doLayout = function () {
var v17 = this.border_mc.__get__borderMetrics();
var v15 = -1;
var v16 = -1;
var v18 = this.getStyle('marginTop');
var v9 = this.getStyle('verticalGap');
var v12 = this.calcContentWidth();
var v10 = this.calcContentHeight();
var v13 = v17.left + v15;
var v3 = v17.top + v18;
var v7 = v13;
var v11 = v12;
var v8 = this.getStyle('headerHeight');
if (v15 < 0) {
v7 -= v15;
v11 += v15;
}
if (v16 < 0) {
v11 += v16;
}
var v14 = this.__get__numChildren();
var v2 = 0;
while (v2 < v14) {
var v6 = this[this.kHeaderNameBase + v2];
var v5 = this.getChildAt(v2);
var v4 = this[this.kMaskNameBase + v2];
v6.move(v13, v3);
v6.setSize(v12, v8);
v6.__set__visible(true);
v3 += v8;
v4._x = v7;
v4._y = v3;
v4._width = v11;
v4._height = v10 + v9;
v5._x = v7;
v5._y = v3;
v5._visible = v2 == this.__get__selectedIndex();
if (v2 == this.__get__selectedIndex()) {
v3 += v10;
}
v3 += v9;
++v2;
}
};
v2.onSetFocus = function () {
super.onSetFocus();
(this.getFocusManager()).defaultPushButtonEnabled = false;
};
v2.onKillFocus = function () {
super.onKillFocus();
(this.getFocusManager()).defaultPushButtonEnabled = true;
};
v2.keyDownHandler = function (evt) {
if (this.tween != undefined) {
return undefined;
}
var v2 = this.__get__selectedIndex();
switch (evt.code) {
case 34:
if (this.__get__selectedIndex() < this.__get__numChildren() - 1) {
this.__set__selectedIndex(this.__get__selectedIndex() + 1);
} else {
this.__set__selectedIndex(0);
}
this.dispatchChangeEvent(v2, this.__get__selectedIndex());
break;
case 33:
if (this.__get__selectedIndex() > 0) {
this.__set__selectedIndex(this.__get__selectedIndex() - 1);
} else {
this.__set__selectedIndex(this.__get__numChildren() - 1);
}
this.dispatchChangeEvent(v2, this.__get__selectedIndex());
break;
case 36:
this.__set__selectedIndex(0);
this.dispatchChangeEvent(v2, this.__get__selectedIndex());
break;
case 35:
this.__set__selectedIndex(this.__get__numChildren() - 1);
this.dispatchChangeEvent(v2, this.__get__selectedIndex());
break;
case 40:
case 39:
this.drawHeaderFocus(this.__focusedIndex, false);
if (this.__focusedIndex < this.__get__numChildren() - 1) {
++this.__focusedIndex;
} else {
this.__focusedIndex = 0;
}
this.drawHeaderFocus(this.__focusedIndex, true);
break;
case 38:
case 37:
this.drawHeaderFocus(this.__focusedIndex, false);
if (this.__focusedIndex > 0) {
--this.__focusedIndex;
} else {
this.__focusedIndex = this.__get__numChildren() - 1;
}
this.drawHeaderFocus(this.__focusedIndex, true);
break;
case 32:
case 13:
if (this.__focusedIndex == this.__get__selectedIndex()) break;
this.__set__selectedIndex(this.__focusedIndex);
this.dispatchChangeEvent(v2, this.__get__selectedIndex());
}
};
v2.drawFocus = function (isFocused) {
this.__bDrawFocus = isFocused;
this.drawHeaderFocus(this.__focusedIndex, isFocused);
};
v2.getSelectedChild = function () {
return this.getChildAt(this.__get__selectedIndex());
};
v2.__get__selectedChild = function () {
return this.getSelectedChild();
};
v2.setSelectedChild = function (v) {
var v3 = this.__get__numChildren();
var v2 = 0;
while (v2 < v3) {
if (this.getChildAt(v2) == v) {
this.setSelectedIndex(v2);
return undefined;
}
++v2;
}
};
v2.__set__selectedChild = function (v) {
this.setSelectedChild(v);
return this.__get__selectedChild();
};
v2.getSelectedIndex = function () {
return this.__selectedIndex;
};
v2.__get__selectedIndex = function () {
return this.getSelectedIndex();
};
v2.setSelectedIndex = function (v) {
var v2 = v;
if (v2 == this.__selectedIndex) {
return undefined;
}
var v4 = this[this.kHeaderNameBase + this.__selectedIndex];
v4.setState(false);
var v5 = this.__selectedIndex;
this.__selectedIndex = v2;
this.startTween(v5, v2);
var v3 = this[this.kHeaderNameBase + this.__selectedIndex];
v3.setState(true);
this.drawHeaderFocus(this.__focusedIndex, false);
this.__focusedIndex = this.__selectedIndex;
this.drawHeaderFocus(this.__focusedIndex, this.__bDrawFocus);
};
v2.__set__selectedIndex = function (v) {
this.setSelectedIndex(v);
return this.__get__selectedIndex();
};
v2.createHeaderAndMask = function (content_mc, i) {
if (this.__selectedIndex == undefined) {
this.__selectedIndex = 0;
}
var v3 = {};
if (this.falseUpSkin != undefined) {
v3.falseUpSkin = this.falseUpSkin;
}
if (this.falseDownSkin != undefined) {
v3.falseDownSkin = this.falseDownSkin;
}
if (this.falseOverSkin != undefined) {
v3.falseOverSkin = this.falseOverSkin;
}
if (this.falseDisabledSkin != undefined) {
v3.falseDisabledSkin = this.falseDisabledSkin;
}
if (this.trueUpSkin != undefined) {
v3.trueUpSkin = this.trueUpSkin;
}
if (this.trueDownSkin != undefined) {
v3.trueDownSkin = this.trueDownSkin;
}
if (this.trueOverSkin != undefined) {
v3.trueOverSkin = this.trueOverSkin;
}
if (this.trueDisabledSkin != undefined) {
v3.trueDisabledSkin = this.trueDisabledSkin;
}
var v2 = this.createClassObject(this.headerClass, this.kHeaderNameBase + i, this.kBaseHeaderDepth + i, v3);
v2.visible = false;
v2.label = content_mc.label;
v2.tabEnabled = false;
v2.clickHandler = function () {
this._parent.headerPress(this);
};
v2.setSize(v2.width, this.getStyle('headerHeight'));
v2.content_mc = content_mc;
if (content_mc.icon != undefined) {
v2.icon = content_mc.icon;
}
if (i == this.__selectedIndex) {
v2.setState(true);
}
var v6 = this.createObject('BoundingBox', this.kMaskNameBase + i, this.kBaseMaskDepth + i);
content_mc.setMask(v6);
};
v2.getHeaderAt = function (idx) {
return this[this.kHeaderNameBase + idx];
};
v2.calcContentWidth = function () {
var v2 = this.__get__width();
var v3 = this.border_mc.__get__borderMetrics();
v2 -= v3.left + v3.right;
var v5 = -1;
var v4 = -1;
v2 -= v5 + v4;
return v2;
};
v2.calcContentHeight = function () {
var v3 = this.__get__height();
var v6 = this.border_mc.__get__borderMetrics();
v3 -= v6.top + v6.bottom;
var v8 = this.getStyle('marginTop');
var v7 = this.getStyle('marginBottom');
v3 -= v8 + v7;
var v4 = this.__get__numChildren();
var v5 = this.getStyle('verticalGap');
var v2 = 0;
while (v2 < v4) {
v3 -= this[this.kHeaderNameBase + v2].height;
if (v2 > 0) {
v3 -= v5;
}
++v2;
}
return v3;
};
v2.drawHeaderFocus = function (headerIndex, isFocused) {
this[this.kHeaderNameBase + headerIndex].drawFocus(isFocused);
};
v2.headerPress = function (header) {
var v2 = this.__get__selectedIndex();
this.__set__selectedChild(header.content_mc);
this.dispatchChangeEvent(v2, this.__get__selectedIndex());
};
v2.startTween = function (oldSelectedIndex, newSelectedIndex) {
this.tweenBorderMetrics = this.border_mc.borderMetrics;
this.tweenMargins = new Object();
this.tweenMargins.left = -1;
this.tweenMargins.top = this.getStyle('marginTop');
this.tweenMargins.right = -1;
this.tweenMargins.bottom = this.getStyle('marginBottom');
this.tweenContentWidth = this.calcContentWidth();
this.tweenContentHeight = this.calcContentHeight();
this.tweenOldSelectedIndex = oldSelectedIndex;
this.tweenNewSelectedIndex = newSelectedIndex;
this.tween = new mx.effects.Tween(this, 1, this.tweenContentHeight - 1, this.getStyle('openDuration'));
var v2 = this.getStyle('openEasing');
if (v2 != undefined) {
this.tween.easingEquation = v2;
}
};
v2.onTweenUpdate = function (value) {
var v16 = this.tweenBorderMetrics;
var v17 = this.tweenMargins;
var v19 = this.tweenContentWidth;
var v15 = this.tweenContentHeight;
var v9 = this.tweenOldSelectedIndex;
var v10 = this.tweenNewSelectedIndex;
var v8 = value;
var v7 = v15 - value;
var v11 = v9 < v10 ? -v8 : 0;
var v13 = v10 > v9 ? 0 : -v7;
var v4 = v16.top + v17.top;
var v12 = this.__get__numChildren();
var v14 = this.getStyle('verticalGap');
var v2 = 0;
while (v2 < v12) {
var v6 = this[this.kHeaderNameBase + v2];
var v5 = this.getChildAt(v2);
var v3 = this[this.kMaskNameBase + v2];
v6._y = v4;
v4 += v6.height;
if (v2 == v9) {
v3._y = v4;
v3._height = v7;
v5._y = v3._y + v11;
v5._visible = true;
v4 += v7;
} else {
if (v2 == v10) {
v3._y = v4;
v3._height = v8;
v5._y = v3._y + v13;
v5._visible = true;
v4 += v8;
}
}
v4 += v14;
++v2;
}
};
v2.onTweenEnd = function (value) {
delete this.tweenBorderMetrics;
delete this.tweenMargins;
delete this.tweenContentWidth;
delete this.tweenContentHeight;
delete this.tweenOldSelectedIndex;
delete this.tweenNewSelectedIndex;
delete this.tween;
this.doLayout();
};
v2.dispatchChangeEvent = function (prevValue, newValue) {
this.dispatchEvent({'type': 'change', 'prevValue': prevValue, 'newValue': newValue});
this.dispatchValueChangedEvent(this.__get__selectedIndex());
};
v1.symbolName = 'Accordion';
v1.symbolOwner = mx.containers.Accordion;
v2.className = 'Accordion';
v1.version = '2.0.2.127';
v2.kBaseHeaderDepth = 1000;
v2.kBaseMaskDepth = 2000;
v2.kHeaderNameBase = '_header';
v2.kMaskNameBase = '_mask';
v2.headerClass = mx.containers.accordionclasses.AccordionHeader;
v2.__selectedIndex = undefined;
v2.__focusedIndex = 0;
v2.__bDrawFocus = false;
v2.addProperty('selectedChild', v2.__get__selectedChild, v2.__set__selectedChild);
v2.addProperty('selectedIndex', v2.__get__selectedIndex, v2.__set__selectedIndex);
ASSetPropFlags(mx.containers.Accordion.prototype, null, 1);
}
#endinitclip
}
movieClip 210 __Packages.mx.skins.SkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.SkinElement) {
var v1 = function () {
super();
};
mx.skins.SkinElement = v1;
var v2 = new MovieClip();
mx.skins.SkinElement.prototype = v2;
v1.registerElement = function (name, className) {
Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className);
_global.skinRegistry[name] = true;
};
v2.__set__visible = function (visible) {
this._visible = visible;
};
v2.move = function (x, y) {
this._x = x;
this._y = y;
};
v2.setSize = function (w, h) {
this._width = w;
this._height = h;
};
ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 211 __Packages.mx.styles.CSSTextStyles {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSTextStyles) {
var v1 = function () {};
mx.styles.CSSTextStyles = v1;
var v2 = v1.prototype;
v1.addTextStyles = function (o, bColor) {
o.addProperty('textAlign', function () {
return this._tf.align;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty('fontWeight', function () {
return (this._tf.bold != undefined) ? (this._tf.bold ? 'bold' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == 'bold';
});
if (bColor) {
o.addProperty('color', function () {
return this._tf.color;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty('fontFamily', function () {
return this._tf.font;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty('textIndent', function () {
return this._tf.indent;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty('fontStyle', function () {
return (this._tf.italic != undefined) ? (this._tf.italic ? 'italic' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == 'italic';
});
o.addProperty('marginLeft', function () {
return this._tf.leftMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty('marginRight', function () {
return this._tf.rightMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty('fontSize', function () {
return this._tf.size;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty('textDecoration', function () {
return (this._tf.underline != undefined) ? (this._tf.underline ? 'underline' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == 'underline';
});
o.addProperty('embedFonts', function () {
return this._tf.embedFonts;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
};
ASSetPropFlags(mx.styles.CSSTextStyles.prototype, null, 1);
}
#endinitclip
}
movieClip 212 __Packages.mx.styles.StyleManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.StyleManager) {
var v1 = function () {};
mx.styles.StyleManager = v1;
var v2 = v1.prototype;
v1.registerInheritingStyle = function (styleName) {
mx.styles.StyleManager.inheritingStyles[styleName] = true;
};
v1.isInheritingStyle = function (styleName) {
return mx.styles.StyleManager.inheritingStyles[styleName] == true;
};
v1.registerColorStyle = function (styleName) {
mx.styles.StyleManager.colorStyles[styleName] = true;
};
v1.isColorStyle = function (styleName) {
return mx.styles.StyleManager.colorStyles[styleName] == true;
};
v1.registerColorName = function (colorName, colorValue) {
mx.styles.StyleManager.colorNames[colorName] = colorValue;
};
v1.isColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName] != undefined;
};
v1.getColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName];
};
v1.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true};
v1.colorStyles = {'barColor': true, 'trackColor': true, 'borderColor': true, 'buttonColor': true, 'color': true, 'dateHeaderColor': true, 'dateRollOverColor': true, 'disabledColor': true, 'fillColor': true, 'highlightColor': true, 'scrollTrackColor': true, 'selectedDateColor': true, 'shadowColor': true, 'strokeColor': true, 'symbolBackgroundColor': true, 'symbolBackgroundDisabledColor': true, 'symbolBackgroundPressedColor': true, 'symbolColor': true, 'symbolDisabledColor': true, 'themeColor': true, 'todayIndicatorColor': true, 'shadowCapColor': true, 'borderCapColor': true, 'focusColor': true};
v1.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344};
v1.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false};
v1.TextStyleMap = {'textAlign': true, 'fontWeight': true, 'color': true, 'fontFamily': true, 'textIndent': true, 'fontStyle': true, 'lineHeight': true, 'marginLeft': true, 'marginRight': true, 'fontSize': true, 'textDecoration': true, 'embedFonts': true};
ASSetPropFlags(mx.styles.StyleManager.prototype, null, 1);
}
#endinitclip
}
movieClip 213 __Packages.mx.styles.CSSStyleDeclaration {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSStyleDeclaration) {
var v1 = function () {};
mx.styles.CSSStyleDeclaration = v1;
var v2 = v1.prototype;
v2.__getTextFormat = function (tf, bAll) {
var v5 = false;
if (this._tf != undefined) {
var v2;
for (v2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v2]) {
if (tf[v2] == undefined) {
var v3 = this._tf[v2];
if (v3 != undefined) {
tf[v2] = v3;
} else {
v5 = true;
}
}
}
}
return v5;
}
v5 = true;
return v5;
};
v2.getStyle = function (styleProp) {
var v2 = this[styleProp];
var v3 = mx.styles.StyleManager.getColorName(v2);
return (v3 == undefined) ? v2 : v3;
};
v1.classConstruct = function () {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return true;
};
v1.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct();
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1);
}
#endinitclip
}
movieClip 214 __Packages.mx.skins.Border {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.Border) {
var v1 = function () {
super();
};
mx.skins.Border = v1;
var v2 = new mx.core.UIObject();
mx.skins.Border.prototype = v2;
v2.init = function (Void) {
super.init();
};
v1.symbolName = 'Border';
v1.symbolOwner = mx.skins.Border;
v2.className = 'Border';
v2.tagBorder = 0;
v2.idNames = new Array('border_mc');
ASSetPropFlags(mx.skins.Border.prototype, null, 1);
}
#endinitclip
}
movieClip 215 __Packages.mx.skins.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.RectBorder) {
var v1 = function () {
super();
};
mx.skins.RectBorder = v1;
var v2 = new mx.skins.Border();
mx.skins.RectBorder.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.draw = function (Void) {
this.size();
};
v2.getBorderMetrics = function (Void) {
var v2 = this.offset;
if (this.__borderMetrics == undefined) {
this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2};
return this.__borderMetrics;
}
this.__borderMetrics.left = v2;
this.__borderMetrics.top = v2;
this.__borderMetrics.right = v2;
this.__borderMetrics.bottom = v2;
return this.__borderMetrics;
};
v2.__get__borderMetrics = function () {
return this.getBorderMetrics();
};
v2.drawBorder = function (Void) {};
v2.size = function (Void) {
this.drawBorder();
};
v2.setColor = function (Void) {
this.drawBorder();
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.RectBorder;
v1.version = '2.0.2.127';
v2.className = 'RectBorder';
v2.borderStyleName = 'borderStyle';
v2.borderColorName = 'borderColor';
v2.shadowColorName = 'shadowColor';
v2.highlightColorName = 'highlightColor';
v2.buttonColorName = 'buttonColor';
v2.backgroundColorName = 'backgroundColor';
v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 216 __Packages.mx.managers.DepthManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.DepthManager) {
var v1 = function () {
MovieClip.prototype.createClassChildAtDepth = this.createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = this.createChildAtDepth;
MovieClip.prototype.setDepthTo = this.setDepthTo;
MovieClip.prototype.setDepthAbove = this.setDepthAbove;
MovieClip.prototype.setDepthBelow = this.setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = this.findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = this.shuffleDepths;
MovieClip.prototype.getDepthByFlag = this.getDepthByFlag;
MovieClip.prototype.buildDepthTable = this.buildDepthTable;
_global.ASSetPropFlags(MovieClip.prototype, 'createClassChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'createChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthTo', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthAbove', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthBelow', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'findNextAvailableDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'shuffleDepths', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'getDepthByFlag', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'buildDepthTable', 1);
};
mx.managers.DepthManager = v1;
var v2 = v1.prototype;
v1.sortFunction = function (a, b) {
if (a.getDepth() > b.getDepth()) {
return 1;
}
return -1;
};
v1.test = function (depth) {
if (depth == mx.managers.DepthManager.reservedDepth) {
return false;
} else {
return true;
}
};
v1.createClassObjectAtDepth = function (className, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v1.createObjectAtDepth = function (linkageName, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v2.createClassChildAtDepth = function (className, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createClassObject(className, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.createChildAtDepth = function (linkageName, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createObject(linkageName, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.setDepthTo = function (depthFlag) {
var v2 = this._parent.buildDepthTable();
var v3 = this._parent.getDepthByFlag(depthFlag, v2);
if (v2[v3] != undefined) {
this.shuffleDepths(this, v3, v2, undefined);
} else {
this.swapDepths(v3);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
this._topmost = true;
} else {
delete this._topmost;
}
};
v2.setDepthAbove = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v2 = targetInstance.getDepth() + 1;
var v3 = this._parent.buildDepthTable();
if (v3[v2] != undefined && this.getDepth() < v2) {
v2 -= 1;
}
if (v2 > mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
if (v2 == mx.managers.DepthManager.highestDepth) {
this._parent.shuffleDepths(this, v2, v3, 'down');
} else {
if (v3[v2] != undefined) {
this._parent.shuffleDepths(this, v2, v3, undefined);
} else {
this.swapDepths(v2);
}
}
};
v2.setDepthBelow = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v6 = targetInstance.getDepth() - 1;
var v3 = this._parent.buildDepthTable();
if (v3[v6] != undefined && this.getDepth() > v6) {
v6 += 1;
}
var v4 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v5;
for (v5 in v3) {
var v2 = v3[v5];
if (v2._parent != undefined) {
v4 = Math.min(v4, v2.getDepth());
}
}
if (v6 < v4) {
v6 = v4;
}
if (v6 == v4) {
this._parent.shuffleDepths(this, v6, v3, 'up');
} else {
if (v3[v6] != undefined) {
this._parent.shuffleDepths(this, v6, v3, undefined);
} else {
this.swapDepths(v6);
}
}
};
v2.findNextAvailableDepth = function (targetDepth, depthTable, direction) {
var v5 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
if (targetDepth < v5) {
targetDepth = v5;
}
if (depthTable[targetDepth] == undefined) {
return targetDepth;
}
var v2 = targetDepth;
var v1 = targetDepth;
if (direction == 'down') {
while (depthTable[v1] != undefined) {
--v1;
}
return v1;
}
while (depthTable[v2] != undefined) {
++v2;
}
return v2;
};
v2.shuffleDepths = function (subject, targetDepth, depthTable, direction) {
var v9 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v8 = v9;
var v5;
for (v5 in depthTable) {
var v7 = depthTable[v5];
if (v7._parent != undefined) {
v9 = Math.min(v9, v7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = 'up';
} else {
direction = 'down';
}
}
var v1 = new Array();
for (v5 in depthTable) {
v7 = depthTable[v5];
if (v7._parent != undefined) {
v1.push(v7);
}
}
v1.sort(mx.managers.DepthManager.sortFunction);
if (direction == 'up') {
var v3;
var v11;
while (v1.length > 0) {
v3 = v1.pop();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
v11 = subject.getDepth();
v3 = v1.pop();
var v4 = v3.getDepth();
if (v11 > v4 + 1) {
if (v4 >= 0) {
subject.swapDepths(v4 + 1);
} else {
if (v11 > v8 && v4 < v8) {
subject.swapDepths(v8);
}
}
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
} else {
if (direction == 'down') {
var v3;
while (v1.length > 0) {
v3 = v1.shift();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
var v11 = v3.getDepth();
v3 = v1.shift();
var v4 = v3.getDepth();
if (v11 < v4 - 1 && v4 > 0) {
subject.swapDepths(v4 - 1);
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
}
}
};
v2.getDepthByFlag = function (depthFlag, depthTable) {
var v2 = 0;
if (depthFlag == mx.managers.DepthManager.kTop || depthFlag == mx.managers.DepthManager.kNotopmost) {
var v5 = 0;
var v7 = false;
var v8;
for (v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
if (!v9._topmost) {
v2 = Math.max(v2, v9.getDepth());
} else {
if (!v7) {
v5 = v9.getDepth();
v7 = true;
} else {
v5 = Math.min(v5, v9.getDepth());
}
}
}
}
}
v2 += 20;
if (v7) {
if (v2 >= v5) {
v2 = v5 - 1;
}
}
} else {
if (depthFlag == mx.managers.DepthManager.kBottom) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.min(v2, v9.getDepth());
}
}
}
v2 -= 20;
} else {
if (depthFlag == mx.managers.DepthManager.kTopmost) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.max(v2, v9.getDepth());
}
}
}
v2 += 100;
}
}
}
if (v2 >= mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
var v6 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
for (v9 in depthTable) {
var v4 = depthTable[v9];
if (v4._parent != undefined) {
v6 = Math.min(v6, v4.getDepth());
}
}
if (v2 <= v6) {
v2 = v6;
}
return v2;
};
v2.buildDepthTable = function (Void) {
var v5 = new Array();
var v4;
for (v4 in this) {
var v2 = this[v4];
var v3 = typeof v2;
if (v3 == 'movieclip' || v3 == 'object' && v2.__getTextFormat != undefined) {
if (v2._parent == this) {
v5[v2.getDepth()] = v2;
}
}
}
return v5;
};
v1.reservedDepth = 1048575;
v1.highestDepth = 1048574;
v1.lowestDepth = -16383;
v1.numberOfAuthortimeLayers = 383;
v1.kCursor = 101;
v1.kTooltip = 102;
v1.kTop = 201;
v1.kBottom = 202;
v1.kTopmost = 203;
v1.kNotopmost = 204;
v1.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth);
v1.__depthManager = new mx.managers.DepthManager();
ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1);
}
#endinitclip
}
movieClip 217 __Packages.mx.events.EventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.EventDispatcher) {
var v1 = function () {};
mx.events.EventDispatcher = v1;
var v2 = v1.prototype;
v1._removeEventListener = function (queue, event, handler) {
if (queue != undefined) {
var v4 = queue.length;
var v1;
v1 = 0;
while (v1 < v4) {
var v2 = queue[v1];
if (v2 == handler) {
queue.splice(v1, 1);
return undefined;
}
++v1;
}
}
};
v1.initialize = function (object) {
if (mx.events.EventDispatcher._fEventDispatcher == undefined) {
mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener;
object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener;
object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent;
object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchQueue = function (queueObj, eventObj) {
var v7 = '__q_' + eventObj.type;
var v4 = queueObj[v7];
if (v4 != undefined) {
var v5;
for (v5 in v4) {
var v1 = v4[v5];
var v3 = typeof v1;
if (v3 == 'object' || v3 == 'movieclip') {
if (v1.handleEvent != undefined) {
v1.handleEvent(eventObj);
}
if (v1[eventObj.type] != undefined) {
if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) {
v1[eventObj.type](eventObj);
}
}
} else {
v1.apply(queueObj, [eventObj]);
}
}
}
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(this, eventObj);
};
v2.addEventListener = function (event, handler) {
var v3 = '__q_' + event;
if (this[v3] == undefined) {
this[v3] = new Array();
}
_global.ASSetPropFlags(this, v3, 1);
mx.events.EventDispatcher._removeEventListener(this[v3], event, handler);
this[v3].push(handler);
};
v2.removeEventListener = function (event, handler) {
var v2 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v2], event, handler);
};
v1._fEventDispatcher = undefined;
v1.exceptions = {'move': 1, 'draw': 1, 'load': 1};
ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 218 __Packages.mx.events.UIEventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.UIEventDispatcher) {
var v1 = function () {
super();
};
mx.events.UIEventDispatcher = v1;
var v2 = new mx.events.EventDispatcher();
mx.events.UIEventDispatcher.prototype = v2;
v1.addKeyEvents = function (obj) {
if (obj.keyHandler == undefined) {
obj.keyHandler = new Object();
var v1 = obj.keyHandler;
v1.owner = obj;
v1.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown;
v1.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
};
v1.removeKeyEvents = function (obj) {
Key.removeListener(obj.keyHandler);
};
v1.addLoadEvents = function (obj) {
if (obj.onLoad == undefined) {
obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad;
obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, 'onLoad');
}
}
};
v1.removeLoadEvents = function (obj) {
delete obj.onLoad;
delete obj.onUnload;
};
v1.initialize = function (obj) {
if (mx.events.UIEventDispatcher._fEventDispatcher == undefined) {
mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener;
obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener;
obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener;
obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent;
obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(mx.events.EventDispatcher, eventObj);
this.dispatchQueue(this, eventObj);
};
v2.onKeyDown = function (Void) {
this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onKeyUp = function (Void) {
this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onLoad = function (Void) {
if (this.__sentLoadEvent != true) {
this.dispatchEvent({'type': 'load'});
}
this.__sentLoadEvent = true;
};
v2.onUnload = function (Void) {
this.dispatchEvent({'type': 'unload'});
};
v2.__addEventListener = function (event, handler) {
this.__origAddEventListener(event, handler);
var v3 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v3) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v2 = v3[v5][0];
mx.events.UIEventDispatcher[v2](this);
}
}
};
v2.removeEventListener = function (event, handler) {
var v6 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v6], event, handler);
if (this[v6].length == 0) {
var v2 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v2) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v3 = v2[v5][1];
mx.events.UIEventDispatcher[v2[v5][1]](this);
}
}
}
};
v1.keyEvents = {'keyDown': 1, 'keyUp': 1};
v1.loadEvents = {'load': 1, 'unload': 1};
v1.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']};
v1._fEventDispatcher = undefined;
ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 219 __Packages.mx.core.ExternalContent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ExternalContent) {
var v1 = function () {};
mx.core.ExternalContent = v1;
var v2 = v1.prototype;
v2.loadExternal = function (url, placeholderClassName, instanceName, depth, initProps) {
var v2;
v2 = this.createObject(placeholderClassName, instanceName, depth, initProps);
this[mx.core.View.childNameBase + this.numChildren] = v2;
if (this.prepList == undefined) {
this.prepList = new Object();
}
this.prepList[instanceName] = {'obj': v2, 'url': url, 'complete': false, 'initProps': initProps};
this.prepareToLoadMovie(v2);
return v2;
};
v2.prepareToLoadMovie = function (obj) {
obj.unloadMovie();
this.doLater(this, 'waitForUnload');
};
v2.waitForUnload = function () {
var v3;
for (v3 in this.prepList) {
var v2 = this.prepList[v3];
if (v2.obj.getBytesTotal() == 0) {
if (this.loadList == undefined) {
this.loadList = new Object();
}
this.loadList[v3] = v2;
v2.obj.loadMovie(v2.url);
delete this.prepList[v3];
this.doLater(this, 'checkLoadProgress');
} else {
this.doLater(this, 'waitForUnload');
}
}
};
v2.checkLoadProgress = function () {
var v8 = false;
var v3;
for (v3 in this.loadList) {
var v2 = this.loadList[v3];
v2.loaded = v2.obj.getBytesLoaded();
v2.total = v2.obj.getBytesTotal();
if (v2.total > 0) {
v2.obj._visible = false;
this.dispatchEvent({'type': 'progress', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
if (v2.loaded == v2.total) {
if (this.loadedList == undefined) {
this.loadedList = new Object();
}
this.loadedList[v3] = v2;
delete this.loadList[v3];
this.doLater(this, 'contentLoaded');
}
} else {
if (v2.total == -1) {
if (v2.failedOnce != undefined) {
++v2.failedOnce;
if (v2.failedOnce > 3) {
this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
delete this.loadList[v3];
false;
}
} else {
v2.failedOnce = 0;
}
}
}
v8 = true;
}
if (v8) {
this.doLater(this, 'checkLoadProgress');
}
};
v2.contentLoaded = function () {
var v4;
for (v4 in this.loadedList) {
var v2 = this.loadedList[v4];
v2.obj._visible = true;
v2.obj._complete = true;
var v3;
for (v3 in v2.initProps) {
v2.obj[v3] = v2.initProps[v3];
}
this.childLoaded(v2.obj);
this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
delete this.loadedList[v4];
false;
}
};
v2.convertToUIObject = function (obj) {
if (obj.setSize == undefined) {
var v2 = mx.core.UIObject.prototype;
obj.addProperty('width', v2.__get__width, null);
obj.addProperty('height', v2.__get__height, null);
obj.addProperty('left', v2.__get__left, null);
obj.addProperty('x', v2.__get__x, null);
obj.addProperty('top', v2.__get__top, null);
obj.addProperty('y', v2.__get__y, null);
obj.addProperty('right', v2.__get__right, null);
obj.addProperty('bottom', v2.__get__bottom, null);
obj.addProperty('visible', v2.__get__visible, v2.__set__visible);
obj.move = mx.core.UIObject.prototype.move;
obj.setSize = mx.core.UIObject.prototype.setSize;
obj.size = mx.core.UIObject.prototype.size;
mx.events.UIEventDispatcher.initialize(obj);
}
};
v1.enableExternalContent = function () {};
v1.classConstruct = function () {
var v1 = mx.core.View.prototype;
var v2 = mx.core.ExternalContent.prototype;
v1.loadExternal = v2.loadExternal;
v1.prepareToLoadMovie = v2.prepareToLoadMovie;
v1.waitForUnload = v2.waitForUnload;
v1.checkLoadProgress = v2.checkLoadProgress;
v1.contentLoaded = v2.contentLoaded;
v1.convertToUIObject = v2.convertToUIObject;
return true;
};
v1.classConstructed = mx.core.ExternalContent.classConstruct();
v1.ViewDependency = mx.core.View;
ASSetPropFlags(mx.core.ExternalContent.prototype, null, 1);
}
#endinitclip
}
movieClip 220 __Packages.mx.effects.Tween {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.effects) {
_global.mx.effects = new Object();
}
if (!_global.mx.effects.Tween) {
var v1 = function (listenerObj, init, end, dur) {
super();
if (listenerObj == undefined) {
return undefined;
}
if (typeof init != 'number') {
this.arrayMode = true;
}
this.listener = listenerObj;
this.initVal = init;
this.endVal = end;
if (dur != undefined) {
this.duration = dur;
}
this.startTime = getTimer();
if (this.duration == 0) {
this.endTween();
} else {
mx.effects.Tween.AddTween(this);
}
};
mx.effects.Tween = v1;
var v2 = new Object();
mx.effects.Tween.prototype = v2;
v1.AddTween = function (tween) {
tween.ID = mx.effects.Tween.ActiveTweens.length;
mx.effects.Tween.ActiveTweens.push(tween);
if (mx.effects.Tween.IntervalToken == undefined) {
mx.effects.Tween.Dispatcher.DispatchTweens = mx.effects.Tween.DispatchTweens;
mx.effects.Tween.IntervalToken = setInterval(mx.effects.Tween.Dispatcher, 'DispatchTweens', mx.effects.Tween.Interval);
}
};
v1.RemoveTweenAt = function (index) {
var v2 = mx.effects.Tween.ActiveTweens;
if (index >= v2.length || index < 0 || index == undefined) {
return undefined;
}
v2.splice(index, 1);
var v4 = v2.length;
var v1 = index;
while (v1 < v4) {
--v2[v1].ID;
++v1;
}
if (v4 == 0) {
clearInterval(mx.effects.Tween.IntervalToken);
delete mx.effects.Tween.IntervalToken;
}
};
v1.DispatchTweens = function (Void) {
var v2 = mx.effects.Tween.ActiveTweens;
var v3 = v2.length;
var v1 = 0;
while (v1 < v3) {
v2[v1].doInterval();
++v1;
}
updateAfterEvent();
};
v2.doInterval = function () {
var v2 = getTimer() - this.startTime;
var v3 = this.getCurVal(v2);
if (v2 >= this.duration) {
this.endTween();
} else {
if (this.updateFunc != undefined) {
this.listener[this.updateFunc](v3);
} else {
this.listener.onTweenUpdate(v3);
}
}
};
v2.getCurVal = function (curTime) {
if (this.arrayMode) {
var v3 = new Array();
var v2 = 0;
while (v2 < this.initVal.length) {
v3[v2] = this.easingEquation(curTime, this.initVal[v2], this.endVal[v2] - this.initVal[v2], this.duration);
++v2;
}
return v3;
} else {
return this.easingEquation(curTime, this.initVal, this.endVal - this.initVal, this.duration);
}
};
v2.endTween = function () {
if (this.endFunc != undefined) {
this.listener[this.endFunc](this.endVal);
} else {
this.listener.onTweenEnd(this.endVal);
}
mx.effects.Tween.RemoveTweenAt(this.ID);
};
v2.setTweenHandlers = function (update, end) {
this.updateFunc = update;
this.endFunc = end;
};
v2.easingEquation = function (t, b, c, d) {
return (c / 2) * (Math.sin(Math.PI * (t / d - 0.5)) + 1) + b;
};
v1.ActiveTweens = new Array();
v1.Interval = 10;
v1.Dispatcher = new Object();
v2.duration = 3000;
ASSetPropFlags(mx.effects.Tween.prototype, null, 1);
}
#endinitclip
}
movieClip 221 __Packages.mx.skins.ColoredSkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.ColoredSkinElement) {
var v1 = function () {};
mx.skins.ColoredSkinElement = v1;
var v2 = v1.prototype;
v2.setColor = function (c) {
if (c != undefined) {
var v2 = new Color(this);
v2.setRGB(c);
}
};
v2.draw = function (Void) {
this.setColor(this.getStyle(this._color));
this.onEnterFrame = undefined;
};
v2.invalidateStyle = function (Void) {
this.onEnterFrame = this.draw;
};
v1.setColorStyle = function (p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mx.skins.ColoredSkinElement.mixins.setColor;
p.invalidateStyle = mx.skins.ColoredSkinElement.mixins.invalidateStyle;
p.draw = mx.skins.ColoredSkinElement.mixins.draw;
p.setColor(p.getStyle(colorStyle));
};
v1.mixins = new mx.skins.ColoredSkinElement();
ASSetPropFlags(mx.skins.ColoredSkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 222 __Packages.mx.core.ext.UIObjectExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIObjectExtensions) {
var v1 = function () {};
mx.core.ext.UIObjectExtensions = v1;
var v2 = v1.prototype;
v1.addGeometry = function (tf, ui) {
tf.addProperty('width', ui.__get__width, null);
tf.addProperty('height', ui.__get__height, null);
tf.addProperty('left', ui.__get__left, null);
tf.addProperty('x', ui.__get__x, null);
tf.addProperty('top', ui.__get__top, null);
tf.addProperty('y', ui.__get__y, null);
tf.addProperty('right', ui.__get__right, null);
tf.addProperty('bottom', ui.__get__bottom, null);
tf.addProperty('visible', ui.__get__visible, ui.__set__visible);
};
v1.Extensions = function () {
if (mx.core.ext.UIObjectExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIObjectExtensions.bExtended = true;
var v6 = mx.core.UIObject.prototype;
var v9 = mx.skins.SkinElement.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v9, v6);
mx.events.UIEventDispatcher.initialize(v6);
var v13 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(v6);
var v5 = MovieClip.prototype;
v5.getTopLevel = v6.getTopLevel;
v5.createLabel = v6.createLabel;
v5.createObject = v6.createObject;
v5.createClassObject = v6.createClassObject;
v5.createEmptyObject = v6.createEmptyObject;
v5.destroyObject = v6.destroyObject;
_global.ASSetPropFlags(v5, 'getTopLevel', 1);
_global.ASSetPropFlags(v5, 'createLabel', 1);
_global.ASSetPropFlags(v5, 'createObject', 1);
_global.ASSetPropFlags(v5, 'createClassObject', 1);
_global.ASSetPropFlags(v5, 'createEmptyObject', 1);
_global.ASSetPropFlags(v5, 'destroyObject', 1);
v5.__getTextFormat = v6.__getTextFormat;
v5._getTextFormat = v6._getTextFormat;
v5.getStyleName = v6.getStyleName;
v5.getStyle = v6.getStyle;
_global.ASSetPropFlags(v5, '__getTextFormat', 1);
_global.ASSetPropFlags(v5, '_getTextFormat', 1);
_global.ASSetPropFlags(v5, 'getStyleName', 1);
_global.ASSetPropFlags(v5, 'getStyle', 1);
var v7 = TextField.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v7, v6);
v7.addProperty('enabled', function () {
return this.__enabled;
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
v7.move = v9.move;
v7.setSize = v9.setSize;
v7.invalidateStyle = function () {
this.invalidateFlag = true;
};
v7.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var v2 = this._getTextFormat();
this.setTextFormat(v2);
this.setNewTextFormat(v2);
this.embedFonts = v2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == '') {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
v7.setColor = function (color) {
this.textColor = color;
};
v7.getStyle = v5.getStyle;
v7.__getTextFormat = v6.__getTextFormat;
v7.setValue = function (v) {
this.text = v;
};
v7.getValue = function () {
return this.text;
};
v7.addProperty('value', function () {
return this.getValue();
}, function (v) {
this.setValue(v);
});
v7._getTextFormat = function () {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2);
this.stylecache.tf = v2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var v4 = this.getTextFormat();
this.enabledColor = v4.color;
}
var v3 = this.getStyle('disabledColor');
v2.color = v3;
return v2;
}
if (this.enabledColor != undefined) {
if (v2.color == undefined) {
v2.color = this.enabledColor;
}
}
return v2;
};
v7.getPreferredWidth = function () {
this.draw();
return this.textWidth + 4;
};
v7.getPreferredHeight = function () {
this.draw();
return this.textHeight + 4;
};
TextFormat.prototype.getTextExtent2 = function (s) {
var v3 = _root._getTextExtent;
if (v3 == undefined) {
_root.createTextField('_getTextExtent', -2, 0, 0, 1000, 100);
v3 = _root._getTextExtent;
v3._visible = false;
}
_root._getTextExtent.text = s;
var v4 = this.align;
this.align = 'left';
_root._getTextExtent.setTextFormat(this);
this.align = v4;
return {'width': v3.textWidth, 'height': v3.textHeight};
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
if (_global._origWidth == undefined) {
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
}
var v4 = _root;
while (v4._parent != undefined) {
v4 = v4._parent;
}
v4.addProperty('width', function () {
return Stage.width;
}, null);
v4.addProperty('height', function () {
return Stage.height;
}, null);
_global.ASSetPropFlags(v4, 'width', 1);
_global.ASSetPropFlags(v4, 'height', 1);
return true;
};
v1.bExtended = false;
v1.UIObjectExtended = mx.core.ext.UIObjectExtensions.Extensions();
v1.UIObjectDependency = mx.core.UIObject;
v1.SkinElementDependency = mx.skins.SkinElement;
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
v1.UIEventDispatcherDependency = mx.events.UIEventDispatcher;
ASSetPropFlags(mx.core.ext.UIObjectExtensions.prototype, null, 1);
}
#endinitclip
}
movieClip 223 __Packages.mx.skins.halo.Defaults {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.Defaults) {
var v1 = function () {};
mx.skins.halo.Defaults = v1;
var v2 = v1.prototype;
v1.setThemeDefaults = function () {
var v2 = _global.style;
v2.themeColor = 8453965;
v2.disabledColor = 8684164;
v2.modalTransparency = 0;
v2.filled = true;
v2.stroked = true;
v2.strokeWidth = 1;
v2.strokeColor = 0;
v2.fillColor = 16777215;
v2.repeatInterval = 35;
v2.repeatDelay = 500;
v2.fontFamily = '_sans';
v2.fontSize = 12;
v2.selectionColor = 13500353;
v2.rollOverColor = 14942166;
v2.useRollOver = true;
v2.backgroundDisabledColor = 14540253;
v2.selectionDisabledColor = 14540253;
v2.selectionDuration = 200;
v2.openDuration = 250;
v2.borderStyle = 'inset';
v2.color = 734012;
v2.textSelectedColor = 24371;
v2.textRollOverColor = 2831164;
v2.textDisabledColor = 16777215;
v2.vGridLines = true;
v2.hGridLines = false;
v2.vGridLineColor = 6710886;
v2.hGridLineColor = 6710886;
v2.headerColor = 15395562;
v2.indentation = 17;
v2.folderOpenIcon = 'TreeFolderOpen';
v2.folderClosedIcon = 'TreeFolderClosed';
v2.defaultLeafIcon = 'TreeNodeIcon';
v2.disclosureOpenIcon = 'TreeDisclosureOpen';
v2.disclosureClosedIcon = 'TreeDisclosureClosed';
v2.popupDuration = 150;
v2.todayColor = 6710886;
_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ScrollSelectList;
v2.backgroundColor = 16777215;
v2.borderColor = 13290186;
v2.borderStyle = 'inset';
_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ComboBox;
v2.borderStyle = 'inset';
_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.NumericStepper;
v2.textAlign = 'center';
_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.RectBorder;
v2.borderColor = 14015965;
v2.buttonColor = 7305079;
v2.shadowColor = 15658734;
v2.highlightColor = 12897484;
v2.shadowCapColor = 14015965;
v2.borderCapColor = 9542041;
var v4 = new Object();
v4.borderColor = 16711680;
v4.buttonColor = 16711680;
v4.shadowColor = 16711680;
v4.highlightColor = 16711680;
v4.shadowCapColor = 16711680;
v4.borderCapColor = 16711680;
mx.core.UIComponent.prototype.origBorderStyles = v4;
var v3;
_global.styles.TextInput = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TextInput;
v3.backgroundColor = 16777215;
v3.borderStyle = 'inset';
_global.styles.TextArea = _global.styles.TextInput;
_global.styles.Window = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Window;
v3.borderStyle = 'default';
_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.windowStyles;
v3.fontWeight = 'bold';
_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.dataGridStyles;
v3.fontWeight = 'bold';
_global.styles.Alert = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Alert;
v3.borderStyle = 'alert';
_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ScrollView;
v3.borderStyle = 'inset';
_global.styles.View = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.View;
v3.borderStyle = 'none';
_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ProgressBar;
v3.color = 11187123;
v3.fontWeight = 'bold';
_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.AccordionHeader;
v3.fontWeight = 'bold';
v3.fontSize = '11';
_global.styles.Accordion = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Accordion;
v3.borderStyle = 'solid';
v3.backgroundColor = 16777215;
v3.borderColor = 9081738;
v3.headerHeight = 22;
v3.marginBottom = -1;
v3.marginTop = -1;
v3.marginRight = -1;
v3.marginLeft = -1;
v3.verticalGap = -1;
_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.DateChooser;
v3.borderColor = 9542041;
v3.headerColor = 16777215;
_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.CalendarLayout;
v3.fontSize = 10;
v3.textAlign = 'right';
v3.color = 2831164;
_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.WeekDayStyle;
v3.fontWeight = 'bold';
v3.fontSize = 11;
v3.textAlign = 'center';
v3.color = 2831164;
_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TodayStyle;
v3.color = 16777215;
_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.HeaderDateText;
v3.fontSize = 12;
v3.fontWeight = 'bold';
v3.textAlign = 'center';
};
v2.drawRoundRect = function (x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof r == 'object') {
var v18 = r.br;
var v16 = r.bl;
var v15 = r.tl;
var v10 = r.tr;
} else {
var v10 = r;
var v15 = v10;
var v16 = v15;
var v18 = v16;
}
if (typeof c == 'object') {
if (typeof alpha != 'object') {
var v9 = [alpha, alpha];
} else {
var v9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var v14 = h * 0.7;
if (typeof rot != 'object') {
var v11 = {'matrixType': 'box', 'x': -v14, 'y': v14, 'w': w * 2, 'h': h * 4, 'r': rot * 0.0174532925199433};
} else {
var v11 = rot;
}
if (gradient == 'radial') {
this.beginGradientFill('radial', c, v9, ratios, v11);
} else {
this.beginGradientFill('linear', c, v9, ratios, v11);
}
} else {
if (c != undefined) {
this.beginFill(c, alpha);
}
}
r = v18;
var v13 = r - r * Math.SQRT1_2;
var v12 = r - r * 0.414213562373095;
this.moveTo(x + w, y + h - r);
this.lineTo(x + w, y + h - r);
this.curveTo(x + w, y + h - v12, x + w - v13, y + h - v13);
this.curveTo(x + w - v12, y + h, x + w - r, y + h);
r = v16;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + r, y + h);
this.curveTo(x + v12, y + h, x + v13, y + h - v13);
this.curveTo(x, y + h - v12, x, y + h - r);
r = v15;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x, y + r);
this.curveTo(x, y + v12, x + v13, y + v13);
this.curveTo(x + v12, y, x + r, y);
r = v10;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + w - r, y);
this.curveTo(x + w - v12, y, x + w - v13, y + v13);
this.curveTo(x + w, y + v12, x + w, y + r);
this.lineTo(x + w, y + h - r);
if (c != undefined) {
this.endFill();
}
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
mx.skins.halo.Defaults.setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return true;
};
v1.classConstructed = mx.skins.halo.Defaults.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v1.UIObjectDependency = mx.core.UIObject;
ASSetPropFlags(mx.skins.halo.Defaults.prototype, null, 1);
}
#endinitclip
}
movieClip 224 __Packages.mx.managers.SystemManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.SystemManager) {
var v1 = function () {};
mx.managers.SystemManager = v1;
var v2 = v1.prototype;
v1.init = function (Void) {
if (mx.managers.SystemManager._initialized == false) {
mx.managers.SystemManager._initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
mx.managers.SystemManager._xAddEventListener = mx.managers.SystemManager.addEventListener;
mx.managers.SystemManager.addEventListener = mx.managers.SystemManager.__addEventListener;
mx.managers.SystemManager._xRemoveEventListener = mx.managers.SystemManager.removeEventListener;
mx.managers.SystemManager.removeEventListener = mx.managers.SystemManager.__removeEventListener;
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.removeFocusManager = function (f) {};
v1.onMouseDown = function (Void) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager._onMouseDown();
};
v1.onResize = function (Void) {
var v7 = Stage.width;
var v6 = Stage.height;
var v9 = _global.origWidth;
var v8 = _global.origHeight;
var v3 = Stage.align;
var v5 = (v9 - v7) / 2;
var v4 = (v8 - v6) / 2;
if (v3 == 'T') {
v4 = 0;
} else {
if (v3 == 'B') {
v4 = v8 - v6;
} else {
if (v3 == 'L') {
v5 = 0;
} else {
if (v3 == 'R') {
v5 = v9 - v7;
} else {
if (v3 == 'LT') {
v4 = 0;
v5 = 0;
} else {
if (v3 == 'TR') {
v4 = 0;
v5 = v9 - v7;
} else {
if (v3 == 'LB') {
v4 = v8 - v6;
v5 = 0;
} else {
if (v3 == 'RB') {
v4 = v8 - v6;
v5 = v9 - v7;
}
}
}
}
}
}
}
}
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.__screen = new Object();
}
mx.managers.SystemManager.__screen.x = v5;
mx.managers.SystemManager.__screen.y = v4;
mx.managers.SystemManager.__screen.width = v7;
mx.managers.SystemManager.__screen.height = v6;
_root.focusManager.relocate();
mx.managers.SystemManager.dispatchEvent({'type': 'resize'});
};
v1.__get__screen = function () {
mx.managers.SystemManager.init();
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.onResize();
}
return mx.managers.SystemManager.__screen;
};
v1._initialized = false;
v1.idleFrames = 0;
v1.isMouseDown = false;
v1.forms = new Array();
v1.addProperty('screen', v1.__get__screen, function () {});
ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1);
}
#endinitclip
}
movieClip 225 __Packages.mx.managers.FocusManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.FocusManager) {
var v1 = function () {
super();
};
mx.managers.FocusManager = v1;
var v2 = new mx.core.UIComponent();
mx.managers.FocusManager.prototype = v2;
v2.__get__defaultPushButton = function () {
return this.__defaultPushButton;
};
v2.__set__defaultPushButton = function (x) {
if (x != this.__defaultPushButton) {
this.__defaultPushButton.__set__emphasized(false);
this.__defaultPushButton = x;
this.defPushButton = x;
x.__set__emphasized(true);
}
return this.__get__defaultPushButton();
};
v2.getMaxTabIndex = function (o) {
var v3 = 0;
var v6;
for (v6 in o) {
var v2 = o[v6];
if (v2._parent == o) {
if (v2.tabIndex != undefined) {
if (v2.tabIndex > v3) {
v3 = v2.tabIndex;
}
}
if (v2.tabChildren == true) {
var v4 = this.getMaxTabIndex(v2);
if (v4 > v3) {
v3 = v4;
}
}
}
}
return v3;
};
v2.getNextTabIndex = function (Void) {
return this.getMaxTabIndex(this.form) + 1;
};
v2.__get__nextTabIndex = function () {
return this.getNextTabIndex();
};
v2.relocate = function (Void) {
var v2 = mx.managers.SystemManager.__get__screen();
this.move(v2.x - 1, v2.y - 1);
};
v2.init = function (Void) {
super.init();
this.tabEnabled = false;
this._height = 1;
this._width = 1;
this._y = -1;
this._x = -1;
this._alpha = 0;
this._parent.focusManager = this;
this._parent.tabChildren = true;
this._parent.tabEnabled = false;
this.form = this._parent;
this._parent.addEventListener('hide', this);
this._parent.addEventListener('reveal', this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(this.form);
this.tabCapture.tabIndex = 0;
this.watch('enabled', this.enabledChanged);
Selection.addListener(this);
this.lastMouse = new Object();
_global.ASSetPropFlags(this._parent, 'focusManager', 1);
_global.ASSetPropFlags(this._parent, 'tabChildren', 1);
_global.ASSetPropFlags(this._parent, 'tabEnabled', 1);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this._visible = newValue;
return newValue;
};
v2.activate = function (Void) {
Key.addListener(this);
this._visible = true;
this.activated = this._visible;
if (this.lastFocus != undefined) {
this.bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
this.doLater(this, 'restoreFocus');
}
}
};
v2.deactivate = function (Void) {
Key.removeListener(this);
this._visible = false;
this.activated = this._visible;
var v2 = this.getSelectionFocus();
var v3 = this.getActualFocus(v2);
if (this.isOurFocus(v3)) {
this.lastSelFocus = v2;
this.lastFocus = v3;
}
this.cancelAllDoLaters();
};
v2.isOurFocus = function (o) {
if (o.focusManager == this) {
return true;
}
while (o != undefined) {
if (o.focusManager != undefined) {
return false;
}
if (o._parent == this._parent) {
return true;
}
o = o._parent;
}
return false;
};
v2.onSetFocus = function (o, n) {
if (n == null) {
if (this.activated) {
this.bNeedFocus = true;
}
} else {
var v2 = this.getFocus();
if (this.isOurFocus(v2)) {
this.bNeedFocus = false;
this.lastFocus = v2;
this.lastSelFocus = n;
}
}
};
v2.restoreFocus = function (Void) {
var v2 = this.lastSelFocus.hscroll;
if (v2 != undefined) {
var v5 = this.lastSelFocus.scroll;
var v4 = this.lastSelFocus.background;
}
this.lastFocus.setFocus();
var v3 = Selection;
Selection.setSelection(v3.lastBeginIndex, v3.lastEndIndex);
if (v2 != undefined) {
this.lastSelFocus.scroll = v5;
this.lastSelFocus.hscroll = v2;
this.lastSelFocus.background = v4;
}
};
v2.onUnload = function (Void) {
mx.managers.SystemManager.removeFocusManager(this.form);
};
v2.setFocus = function (o) {
if (o == null) {
Selection.setFocus(null);
} else {
if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
};
v2.getActualFocus = function (o) {
var v1 = o._parent;
while (v1 != undefined) {
if (v1.focusTextField != undefined) {
while (v1.focusTextField != undefined) {
o = v1;
v1 = v1._parent;
if (v1 == undefined) {
return undefined;
}
if (v1.focusTextField == undefined) {
return o;
}
}
}
if (v1.tabEnabled != true) {
return o;
}
o = v1;
v1 = o._parent;
}
return undefined;
};
v2.getSelectionFocus = function () {
var m = Selection.getFocus();
var o = eval(m);
return o;
};
v2.getFocus = function (Void) {
var v2 = this.getSelectionFocus();
return this.getActualFocus(v2);
};
v2.walkTree = function (p, index, groupName, dir, lookup, firstChild) {
var v5 = true;
var v11;
for (v11 in p) {
var v2 = p[v11];
if (v2._parent == p && v2.enabled != false && v2._visible != false && (v2.tabEnabled == true || v2.tabEnabled != false && (v2.onPress != undefined || v2.onRelease != undefined || v2.onReleaseOutside != undefined || v2.onDragOut != undefined || v2.onDragOver != undefined || v2.onRollOver != undefined || v2.onRollOut != undefined || v2 instanceof TextField))) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (v2 != this._lastTarget) {
if ((v2.groupName != undefined || groupName != undefined) && v2.groupName == groupName) {
continue;
}
if (v2 instanceof TextField && v2.selectable == false) {
continue;
}
if (v5 || v2.groupName != undefined && v2.groupName == this._firstNode.groupName && v2.selected == true) {
if (firstChild) {
this._firstNode = v2;
firstChild = false;
}
}
if (this._nextIsNext == true) {
if (v2.groupName != undefined && v2.groupName == this._nextNode.groupName && v2.selected == true || this._nextNode == undefined && (v2.groupName == undefined || v2.groupName != undefined && v2.groupName != groupName)) {
this._nextNode = v2;
}
}
if (v2.groupName == undefined || groupName != v2.groupName) {
if (this._lastx.groupName != undefined && v2.groupName == this._lastx.groupName && this._lastx.selected == true) {
} else {
this._lastx = v2;
}
}
} else {
this._prevNode = this._lastx;
this._needPrev = false;
this._nextIsNext = true;
}
if (v2.tabIndex != undefined) {
if (v2.tabIndex == index) {
if (this._foundList[v2._name] == undefined) {
if (this._needPrev) {
this._prevObj = v2;
this._needPrev = false;
}
this._nextObj = v2;
}
}
if (dir && v2.tabIndex > index) {
if (this._nextObj == undefined || this._nextObj.tabIndex > v2.tabIndex && (v2.groupName == undefined || this._nextObj.groupName == undefined || v2.groupName != this._nextObj.groupName) || this._nextObj.groupName != undefined && this._nextObj.groupName == v2.groupName && this._nextObj.selected != true && (v2.selected == true || this._nextObj.tabIndex > v2.tabIndex)) {
this._nextObj = v2;
}
} else {
if (!dir && v2.tabIndex < index) {
if (this._prevObj == undefined || this._prevObj.tabIndex < v2.tabIndex && (v2.groupName == undefined || this._prevObj.groupName == undefined || v2.groupName != this._prevObj.groupName) || this._prevObj.groupName != undefined && this._prevObj.groupName == v2.groupName && this._prevObj.selected != true && (v2.selected == true || this._prevObj.tabIndex < v2.tabIndex)) {
this._prevObj = v2;
}
}
}
if (this._firstObj == undefined || v2.tabIndex < this._firstObj.tabIndex && (v2.groupName == undefined || this._firstObj.groupName == undefined || v2.groupName != this._firstObj.groupName) || this._firstObj.groupName != undefined && this._firstObj.groupName == v2.groupName && this._firstObj.selected != true && (v2.selected == true || v2.tabIndex < this._firstObj.tabIndex)) {
this._firstObj = v2;
}
if (this._lastObj == undefined || v2.tabIndex > this._lastObj.tabIndex && (v2.groupName == undefined || this._lastObj.groupName == undefined || v2.groupName != this._lastObj.groupName) || this._lastObj.groupName != undefined && this._lastObj.groupName == v2.groupName && this._lastObj.selected != true && (v2.selected == true || v2.tabIndex > this._lastObj.tabIndex)) {
this._lastObj = v2;
}
}
if (v2.tabChildren) {
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
v5 = false;
} else {
if (v2._parent == p && v2.tabChildren == true && v2._visible != false) {
if (v2 == this._lastTarget) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (this._prevNode == undefined) {
var v3 = this._lastx;
var v7 = false;
while (v3 != undefined) {
if (v3 == v2) {
v7 = true;
break;
}
v3 = v3._parent;
}
if (v7 == false) {
this._prevNode = this._lastx;
}
}
this._needPrev = false;
if (this._nextNode == undefined) {
this._nextIsNext = true;
}
} else {
if (!(v2.focusManager != undefined && v2.focusManager._parent == v2)) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
}
v5 = false;
}
}
}
this._lastNode = this._lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != this._parent) {
if (this._prevNode == undefined && dir) {
this._needPrev = true;
} else {
if (this._nextNode == undefined && !dir) {
this._nextIsNext = false;
}
}
this._lastTarget = this._lastTarget._parent;
this.getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
};
v2.getTabCandidate = function (o, index, groupName, dir, firstChild) {
var v2;
var v3 = true;
if (o == this._parent) {
v2 = o;
v3 = false;
} else {
v2 = o._parent;
if (v2 == undefined) {
v2 = o;
v3 = false;
}
}
this.walkTree(v2, index, groupName, dir, v3, firstChild);
};
v2.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) {
this.walkTree(o, index, groupName, dir, false, firstChild);
};
v2.getFocusManagerFromObject = function (o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return o.focusManager;
}
o = o._parent;
}
return undefined;
};
v2.tabHandler = function (Void) {
this.bDrawFocus = true;
var v5 = this.getSelectionFocus();
var v4 = this.getActualFocus(v5);
if (v4 != v5) {
v5 = v4;
}
if (this.getFocusManagerFromObject(v5) != this) {
v5 == undefined;
}
if (v5 == undefined) {
v5 = this.form;
} else {
if (v5.tabIndex != undefined) {
if (this._foundList != undefined || this._foundList.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v5.tabIndex;
}
this._foundList[v5._name] = v5;
}
}
var v3 = Key.isDown(16) != true;
this._searchKey = getTimer();
this._needPrev = true;
this._nextIsNext = false;
this._lastx = undefined;
this._firstNode = undefined;
this._lastNode = undefined;
this._nextNode = undefined;
this._prevNode = undefined;
this._firstObj = undefined;
this._lastObj = undefined;
this._nextObj = undefined;
this._prevObj = undefined;
this._lastTarget = v5;
var v6 = v5;
this.getTabCandidate(v6, (v5.tabIndex == undefined) ? 0 : v5.tabIndex, v5.groupName, v3, true);
var v2;
if (v3) {
if (this._nextObj != undefined) {
v2 = this._nextObj;
} else {
v2 = this._firstObj;
}
} else {
if (this._prevObj != undefined) {
v2 = this._prevObj;
} else {
v2 = this._lastObj;
}
}
if (v2.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
this._foundList[v2._name] = v2;
} else {
if (this._foundList == undefined) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
}
this._foundList[v2._name] = v2;
}
if (v2 == undefined) {
if (v3 == false) {
if (this._nextNode != undefined) {
v2 = this._nextNode;
} else {
v2 = this._firstNode;
}
} else {
if (this._prevNode == undefined || v5 == this.form) {
v2 = this._lastNode;
} else {
v2 = this._prevNode;
}
}
}
if (v2 == undefined) {
return undefined;
}
this.lastTabFocus = v2;
this.setFocus(v2);
if (v2.emphasized != undefined) {
if (this.defPushButton != undefined) {
v5 = this.defPushButton;
this.defPushButton = v2;
v5.emphasized = false;
v2.emphasized = true;
}
} else {
if (this.defPushButton != undefined && this.defPushButton != this.__defaultPushButton) {
v5 = this.defPushButton;
this.defPushButton = this.__defaultPushButton;
v5.emphasized = false;
this.__defaultPushButton.__set__emphasized(true);
}
}
};
v2.onKeyDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
if (this.defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (this.__get__defaultPushButton() != undefined) {
this.doLater(this, 'sendDefaultPushButtonEvent');
}
}
}
};
v2.sendDefaultPushButtonEvent = function (Void) {
this.defPushButton.dispatchEvent({'type': 'click'});
};
v2.getMousedComponentFromChildren = function (x, y, o) {
for (var v7 in o) {
var v2 = o[v7];
if (v2._visible && v2.enabled && v2._parent == o && v2._searchKey != this._searchKey) {
v2._searchKey = this._searchKey;
if (v2.hitTest(x, y, true)) {
if (v2.onPress != undefined || v2.onRelease != undefined) {
return v2;
}
var v3 = this.getMousedComponentFromChildren(x, y, v2);
if (v3 != undefined) {
return v3;
}
return v2;
}
}
}
return undefined;
};
v2.mouseActivate = function (Void) {
if (!this.bNeedFocus) {
return undefined;
}
this._searchKey = getTimer();
var v2 = this.getMousedComponentFromChildren(this.lastMouse.x, this.lastMouse.y, this.form);
if (v2 instanceof mx.core.UIComponent) {
return undefined;
}
v2 = this.findFocusFromObject(v2);
if (v2 == this.lastFocus) {
return undefined;
}
if (v2 == undefined) {
this.doLater(this, 'restoreFocus');
return undefined;
}
var v3 = v2.hscroll;
if (v3 != undefined) {
var v6 = v2.scroll;
var v5 = v2.background;
}
this.setFocus(v2);
var v4 = Selection;
Selection.setSelection(v4.lastBeginIndex, v4.lastEndIndex);
if (v3 != undefined) {
v2.scroll = v6;
v2.hscroll = v3;
v2.background = v5;
}
};
v2._onMouseDown = function (Void) {
this.bDrawFocus = false;
if (this.lastFocus != undefined) {
this.lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var v3 = Selection;
v3.lastBeginIndex = Selection.getBeginIndex();
v3.lastEndIndex = Selection.getEndIndex();
this.lastMouse.x = _root._xmouse;
this.lastMouse.y = _root._ymouse;
_root.localToGlobal(this.lastMouse);
};
v2.onMouseUp = function (Void) {
if (this._visible) {
this.doLater(this, 'mouseActivate');
}
};
v2.handleEvent = function (e) {
if (e.type == 'reveal') {
mx.managers.SystemManager.activate(this.form);
} else {
mx.managers.SystemManager.deactivate(this.form);
}
};
v1.enableFocusManagement = function () {
if (!mx.managers.FocusManager.initialized) {
mx.managers.FocusManager.initialized = true;
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
}
};
v1.symbolName = 'FocusManager';
v1.symbolOwner = mx.managers.FocusManager;
v1.version = '2.0.2.127';
v2.className = 'FocusManager';
v2.bNeedFocus = false;
v2.bDrawFocus = false;
v2.defaultPushButtonEnabled = true;
v2.activated = true;
v1.initialized = false;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v2.addProperty('defaultPushButton', v2.__get__defaultPushButton, v2.__set__defaultPushButton);
v2.addProperty('nextTabIndex', v2.__get__nextTabIndex, function () {});
ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1);
}
#endinitclip
}
movieClip 226 __Packages.mx.skins.halo.FocusRect {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.FocusRect) {
var v1 = function () {
super();
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
mx.skins.halo.FocusRect = v1;
var v2 = new mx.skins.SkinElement();
mx.skins.halo.FocusRect.prototype = v2;
v2.draw = function (o) {
o.adjustFocusRect();
};
v2.setSize = function (w, h, r, a, rectCol) {
this._yscale = 100;
this._xscale = 100;
this.clear();
if (typeof r == 'object') {
r.br = r.br > 2 ? r.br - 2 : 0;
r.bl = r.bl > 2 ? r.bl - 2 : 0;
r.tr = r.tr > 2 ? r.tr - 2 : 0;
r.tl = r.tl > 2 ? r.tl - 2 : 0;
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.endFill();
r.br = r.br > 1 ? r.br + 1 : 0;
r.bl = r.bl > 1 ? r.bl + 1 : 0;
r.tr = r.tr > 1 ? r.tr + 1 : 0;
r.tl = r.tl > 1 ? r.tl + 1 : 0;
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = r.br > 1 ? r.br - 1 : 0;
r.bl = r.bl > 1 ? r.bl - 1 : 0;
r.tr = r.tr > 1 ? r.tr - 1 : 0;
r.tl = r.tl > 1 ? r.tl - 1 : 0;
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.endFill();
} else {
var v5;
if (r != 0) {
v5 = r - 2;
} else {
v5 = 0;
}
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
this.beginFill(rectCol, a * 0.3);
if (r != 0) {
v5 = r - 2;
r -= 1;
} else {
v5 = 0;
r = 0;
}
this.drawRoundRect(1, 1, w - 2, h - 2, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
}
};
v2.handleEvent = function (e) {
if (e.type == 'unload') {
this._visible = true;
} else {
if (e.type == 'resize') {
e.target.adjustFocusRect();
} else {
if (e.type == 'move') {
e.target.adjustFocusRect();
}
}
}
};
v1.classConstruct = function () {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var v2 = this._parent.focus_mc;
if (!focused) {
v2._visible = false;
this.removeEventListener('unload', v2);
this.removeEventListener('move', v2);
this.removeEventListener('resize', v2);
} else {
if (v2 == undefined) {
v2 = this._parent.createChildAtDepth('FocusRect', mx.managers.DepthManager.kTop);
v2.tabEnabled = false;
this._parent.focus_mc = v2;
} else {
v2._visible = true;
}
v2.draw(this);
if (v2.getDepth() < this.getDepth()) {
v2.setDepthAbove(this);
}
this.addEventListener('unload', v2);
this.addEventListener('move', v2);
this.addEventListener('resize', v2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var v2 = this.getStyle('themeColor');
if (v2 == undefined) {
v2 = 8453965;
}
var v3 = this._parent.focus_mc;
v3.setSize(this.width + 4, this.height + 4, 0, 100, v2);
v3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return true;
};
v1.classConstructed = mx.skins.halo.FocusRect.classConstruct();
v1.DefaultsDependency = mx.skins.halo.Defaults;
v1.UIComponentDependency = mx.core.UIComponent;
ASSetPropFlags(mx.skins.halo.FocusRect.prototype, null, 1);
}
#endinitclip
}
movieClip 227 __Packages.mx.managers.OverlappedWindows {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.OverlappedWindows) {
var v1 = function () {};
mx.managers.OverlappedWindows = v1;
var v2 = v1.prototype;
v1.checkIdle = function (Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({'type': 'idle'});
} else {
++mx.managers.SystemManager.idleFrames;
}
};
v1.__addEventListener = function (e, o, l) {
if (e == 'idle') {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
};
v1.__removeEventListener = function (e, o, l) {
if (e == 'idle') {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
};
v1.onMouseDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var v5 = _root;
var v3;
var v8 = _root._xmouse;
var v7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var v6 = mx.managers.SystemManager.forms.length;
var v4;
v4 = 0;
while (v4 < v6) {
var v2 = mx.managers.SystemManager.forms[v4];
if (v2._visible) {
if (v2.hitTest(v8, v7)) {
if (v3 == undefined) {
v3 = v2.getDepth();
v5 = v2;
} else {
if (v3 < v2.getDepth()) {
v3 = v2.getDepth();
v5 = v2;
}
}
}
}
++v4;
}
if (v5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(v5);
}
}
}
var v9 = mx.managers.SystemManager.form;
v9.focusManager._onMouseDown();
};
v1.onMouseMove = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
};
v1.onMouseUp = function (Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
};
v1.activate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form != f && mx.managers.SystemManager.forms.length > 1) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.deactivate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form == f && mx.managers.SystemManager.forms.length > 1) {
var v5 = mx.managers.SystemManager.form;
v5.focusManager.deactivate();
var v3 = mx.managers.SystemManager.forms.length;
var v1;
var v2;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
v1 += 1;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
++v1;
}
mx.managers.SystemManager.form = v2;
break;
} else {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
}
++v1;
}
v5 = mx.managers.SystemManager.form;
v5.focusManager.activate();
}
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
};
v1.removeFocusManager = function (f) {
var v3 = mx.managers.SystemManager.forms.length;
var v1;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(v1, 1);
return undefined;
}
++v1;
}
};
v1.enableOverlappedWindows = function () {
if (!mx.managers.OverlappedWindows.initialized) {
mx.managers.OverlappedWindows.initialized = true;
mx.managers.SystemManager.checkIdle = mx.managers.OverlappedWindows.checkIdle;
mx.managers.SystemManager.__addEventListener = mx.managers.OverlappedWindows.__addEventListener;
mx.managers.SystemManager.__removeEventListener = mx.managers.OverlappedWindows.__removeEventListener;
mx.managers.SystemManager.onMouseDown = mx.managers.OverlappedWindows.onMouseDown;
mx.managers.SystemManager.onMouseMove = mx.managers.OverlappedWindows.onMouseMove;
mx.managers.SystemManager.onMouseUp = mx.managers.OverlappedWindows.onMouseUp;
mx.managers.SystemManager.activate = mx.managers.OverlappedWindows.activate;
mx.managers.SystemManager.deactivate = mx.managers.OverlappedWindows.deactivate;
mx.managers.SystemManager.addFocusManager = mx.managers.OverlappedWindows.addFocusManager;
mx.managers.SystemManager.removeFocusManager = mx.managers.OverlappedWindows.removeFocusManager;
}
};
v1.initialized = false;
v1.SystemManagerDependency = mx.managers.SystemManager;
ASSetPropFlags(mx.managers.OverlappedWindows.prototype, null, 1);
}
#endinitclip
}
movieClip 228 __Packages.mx.styles.CSSSetStyle {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSSetStyle) {
var v1 = function () {};
mx.styles.CSSSetStyle = v1;
var v2 = v1.prototype;
v2._setStyle = function (styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == 'color') {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return undefined;
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
if (styleProp == 'themeColor') {
var v7 = mx.styles.StyleManager.colorNames.haloBlue;
var v6 = mx.styles.StyleManager.colorNames.haloGreen;
var v8 = mx.styles.StyleManager.colorNames.haloOrange;
var v4 = {};
v4[v7] = 12188666;
v4[v6] = 13500353;
v4[v8] = 16766319;
var v5 = {};
v5[v7] = 13958653;
v5[v6] = 14942166;
v5[v8] = 16772787;
var v9 = v4[newValue];
var v10 = v5[newValue];
if (v9 == undefined) {
v9 = newValue;
}
if (v10 == undefined) {
v10 = newValue;
}
this.setStyle('selectionColor', v9);
this.setStyle('rollOverColor', v10);
}
_level0.changeColorStyleInChildren(this.styleName, styleProp, newValue);
} else {
if (styleProp == 'backgroundColor' && isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
_level0.notifyStyleChangeInChildren(this.styleName, styleProp, newValue);
}
};
v2.changeTextStyleInChildren = function (styleProp) {
var v4 = getTimer();
var v5;
for (v5 in this) {
var v2 = this[v5];
if (v2._parent == this) {
if (v2.searchKey != v4) {
if (v2.stylecache != undefined) {
delete v2.stylecache.tf;
delete v2.stylecache[styleProp];
}
v2.invalidateStyle(styleProp);
v2.changeTextStyleInChildren(styleProp);
v2.searchKey = v4;
}
}
}
};
v2.changeColorStyleInChildren = function (sheetName, colorStyle, newValue) {
var v6 = getTimer();
var v7;
for (v7 in this) {
var v2 = this[v7];
if (v2._parent == this) {
if (v2.searchKey != v6) {
if (v2.getStyleName() == sheetName || sheetName == undefined || sheetName == '_global') {
if (v2.stylecache != undefined) {
delete v2.stylecache[colorStyle];
}
if (typeof v2._color == 'string') {
if (v2._color == colorStyle) {
var v4 = v2.getStyle(colorStyle);
if (colorStyle == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = v4;
}
}
v2.setColor(v4);
}
} else {
if (v2._color[colorStyle] != undefined) {
if (typeof v2 != 'movieclip') {
v2._parent.invalidateStyle();
} else {
v2.invalidateStyle(colorStyle);
}
}
}
}
v2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
v2.searchKey = v6;
}
}
}
};
v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) {
var v5 = getTimer();
var v6;
for (v6 in this) {
var v2 = this[v6];
if (v2._parent == this) {
if (v2.searchKey != v5) {
if (v2.styleName == sheetName || v2.styleName != undefined && typeof v2.styleName == 'movieclip' || sheetName == undefined) {
if (v2.stylecache != undefined) {
delete v2.stylecache[styleProp];
delete v2.stylecache.tf;
}
delete v2.enabledColor;
v2.invalidateStyle(styleProp);
}
v2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
v2.searchKey = v5;
}
}
}
};
v2.setStyle = function (styleProp, newValue) {
if (this.stylecache != undefined) {
delete this.stylecache[styleProp];
delete this.stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
if (styleProp == 'themeColor') {
var v10 = mx.styles.StyleManager.colorNames.haloBlue;
var v9 = mx.styles.StyleManager.colorNames.haloGreen;
var v11 = mx.styles.StyleManager.colorNames.haloOrange;
var v6 = {};
v6[v10] = 12188666;
v6[v9] = 13500353;
v6[v11] = 16766319;
var v7 = {};
v7[v10] = 13958653;
v7[v9] = 14942166;
v7[v11] = 16772787;
var v12 = v6[newValue];
var v13 = v7[newValue];
if (v12 == undefined) {
v12 = newValue;
}
if (v13 == undefined) {
v13 = newValue;
}
this.setStyle('selectionColor', v12);
this.setStyle('rollOverColor', v13);
}
if (typeof this._color == 'string') {
if (this._color == styleProp) {
if (styleProp == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = newValue;
}
}
this.setColor(newValue);
}
} else {
if (this._color[styleProp] != undefined) {
this.invalidateStyle(styleProp);
}
}
this.changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if (styleProp == 'backgroundColor' && isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
this.invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || styleProp == 'styleName') {
var v8;
var v5 = newValue;
if (styleProp == 'styleName') {
v8 = (typeof newValue == 'string') ? _global.styles[newValue] : v5;
v5 = v8.themeColor;
if (v5 != undefined) {
v8.selectionColor = v5;
v8.rollOverColor = v8.selectionColor;
}
}
this.notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
};
v1.enableRunTimeCSS = function () {};
v1.classConstruct = function () {
var v2 = MovieClip.prototype;
var v3 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = v3._setStyle;
v2.changeTextStyleInChildren = v3.changeTextStyleInChildren;
v2.changeColorStyleInChildren = v3.changeColorStyleInChildren;
v2.notifyStyleChangeInChildren = v3.notifyStyleChangeInChildren;
v2.setStyle = v3.setStyle;
_global.ASSetPropFlags(v2, 'changeTextStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'changeColorStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'notifyStyleChangeInChildren', 1);
_global.ASSetPropFlags(v2, 'setStyle', 1);
var v4 = TextField.prototype;
v4.setStyle = v2.setStyle;
v4.changeTextStyleInChildren = v3.changeTextStyleInChildren;
return true;
};
v1.classConstructed = mx.styles.CSSSetStyle.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
ASSetPropFlags(mx.styles.CSSSetStyle.prototype, null, 1);
}
#endinitclip
}
movieClip 229 __Packages.mx.core.ext.UIComponentExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIComponentExtensions) {
var v1 = function () {};
mx.core.ext.UIComponentExtensions = v1;
var v2 = v1.prototype;
v1.Extensions = function () {
if (mx.core.ext.UIComponentExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIComponentExtensions.bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if ((this.getFocusManager()).bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
};
v1.bExtended = false;
v1.UIComponentExtended = mx.core.ext.UIComponentExtensions.Extensions();
v1.UIComponentDependency = mx.core.UIComponent;
v1.FocusManagerDependency = mx.managers.FocusManager;
v1.OverlappedWindowsDependency = mx.managers.OverlappedWindows;
ASSetPropFlags(mx.core.ext.UIComponentExtensions.prototype, null, 1);
}
#endinitclip
}
movieClip 230 __Packages.mx.skins.halo.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.RectBorder) {
var v1 = function () {
super();
};
mx.skins.halo.RectBorder = v1;
var v2 = new mx.skins.RectBorder();
mx.skins.halo.RectBorder.prototype = v2;
v2.init = function (Void) {
this.borderWidths.default = 3;
super.init();
};
v2.getBorderMetrics = function (Void) {
if (this.offset == undefined) {
var v3 = this.getStyle(this.borderStyleName);
this.offset = this.borderWidths[v3];
}
if (this.getStyle(this.borderStyleName) == 'default' || this.getStyle(this.borderStyleName) == 'alert') {
this.__borderMetrics = {'left': 3, 'top': 1, 'right': 3, 'bottom': 3};
return this.__borderMetrics;
}
return super.getBorderMetrics();
};
v2.drawBorder = function (Void) {
var v6 = _global.styles[this.className];
if (v6 == undefined) {
v6 = _global.styles.RectBorder;
}
var v5 = this.getStyle(this.borderStyleName);
var v7 = this.getStyle(this.borderColorName);
if (v7 == undefined) {
v7 = v6[this.borderColorName];
}
var v8 = this.getStyle(this.backgroundColorName);
if (v8 == undefined) {
v8 = v6[this.backgroundColorName];
}
var v16 = this.getStyle('backgroundImage');
if (v5 != 'none') {
var v14 = this.getStyle(this.shadowColorName);
if (v14 == undefined) {
v14 = v6[this.shadowColorName];
}
var v13 = this.getStyle(this.highlightColorName);
if (v13 == undefined) {
v13 = v6[this.highlightColorName];
}
var v12 = this.getStyle(this.buttonColorName);
if (v12 == undefined) {
v12 = v6[this.buttonColorName];
}
var v11 = this.getStyle(this.borderCapColorName);
if (v11 == undefined) {
v11 = v6[this.borderCapColorName];
}
var v10 = this.getStyle(this.shadowCapColorName);
if (v10 == undefined) {
v10 = v6[this.shadowCapColorName];
}
}
this.offset = this.borderWidths[v5];
var v9 = this.offset;
var v3 = this.__get__width();
var v4 = this.__get__height();
this.clear();
this._color = undefined;
if (v5 == 'none') {
} else {
if (v5 == 'inset') {
this._color = this.colorList;
this.draw3dBorder(v11, v12, v7, v13, v14, v10);
} else {
if (v5 == 'outset') {
this._color = this.colorList;
this.draw3dBorder(v11, v7, v12, v14, v13, v10);
} else {
if (v5 == 'alert') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(0, 5, v3, v4 - 5, 5, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, 4, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, v15, 50);
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, 2, 16777215, 100);
} else {
if (v5 == 'default') {
this.drawRoundRect(0, 5, v3, v4 - 5, {'tl': 5, 'tr': 5, 'br': 0, 'bl': 0}, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, {'tl': 4, 'tr': 4, 'br': 0, 'bl': 0}, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, {'tl': 3, 'tr': 3, 'br': 0, 'bl': 0}, [12897484, 11844796], 100, 0, 'radial');
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, {'tl': 2, 'tr': 2, 'br': 0, 'bl': 0}, 16777215, 100);
} else {
if (v5 == 'dropDown') {
this.drawRoundRect(0, 0, v3 + 1, v4, {'tl': 4, 'tr': 0, 'br': 0, 'bl': 4}, [13290186, 7895160], 100, -10, 'linear');
this.drawRoundRect(1, 1, v3 - 1, v4 - 2, {'tl': 3, 'tr': 0, 'br': 0, 'bl': 3}, 16777215, 100);
} else {
if (v5 == 'menuBorder') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(4, 4, v3 - 2, v4 - 3, 0, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(4, 4, v3 - 1, v4 - 2, 0, 6184542, 10);
this.drawRoundRect(0, 0, v3 + 1, v4, 0, [0, 14342874], 100, 250, 'linear');
this.drawRoundRect(0, 0, v3 + 1, v4, 0, v15, 50);
this.drawRoundRect(2, 2, v3 - 3, v4 - 4, 0, 16777215, 100);
} else {
if (v5 == 'comboNonEdit') {
} else {
this.beginFill(v7);
this.drawRect(0, 0, v3, v4);
this.drawRect(1, 1, v3 - 1, v4 - 1);
this.endFill();
this._color = this.borderColorName;
}
}
}
}
}
}
}
}
if (v8 != undefined) {
this.beginFill(v8);
this.drawRect(v9, v9, this.__get__width() - v9, this.__get__height() - v9);
this.endFill();
}
};
v2.draw3dBorder = function (c1, c2, c3, c4, c5, c6) {
var v3 = this.__get__width();
var v2 = this.__get__height();
this.beginFill(c1);
this.drawRect(0, 0, v3, v2);
this.drawRect(1, 0, v3 - 1, v2);
this.endFill();
this.beginFill(c2);
this.drawRect(1, 0, v3 - 1, 1);
this.endFill();
this.beginFill(c3);
this.drawRect(1, v2 - 1, v3 - 1, v2);
this.endFill();
this.beginFill(c4);
this.drawRect(1, 1, v3 - 1, 2);
this.endFill();
this.beginFill(c5);
this.drawRect(1, v2 - 2, v3 - 1, v2 - 1);
this.endFill();
this.beginFill(c6);
this.drawRect(1, 2, v3 - 1, v2 - 2);
this.drawRect(2, 2, v3 - 2, v2 - 2);
this.endFill();
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
_global.styles.rectBorderClass = mx.skins.halo.RectBorder;
_global.skinRegistry.RectBorder = true;
return true;
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.halo.RectBorder;
v1.version = '2.0.2.127';
v2.borderCapColorName = 'borderCapColor';
v2.shadowCapColorName = 'shadowCapColor';
v2.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0};
v2.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2};
v1.classConstructed = mx.skins.halo.RectBorder.classConstruct();
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 231 __Packages.mx.skins.halo.ButtonSkin {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.ButtonSkin) {
var v1 = function () {
super();
};
mx.skins.halo.ButtonSkin = v1;
var v2 = new mx.skins.RectBorder();
mx.skins.halo.ButtonSkin.prototype = v2;
v2.init = function () {
super.init();
};
v2.size = function () {
this.drawHaloRect(this.__get__width(), this.__get__height());
};
v2.drawHaloRect = function (w, h) {
var v6 = this.getStyle('borderStyle');
var v4 = this.getStyle('themeColor');
var v5 = this._parent.emphasized;
this.clear();
switch (v6) {
case 'falseup':
if (v5) {
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 75);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 75);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
} else {
this.drawRoundRect(0, 0, w, h, 5, 9542041, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, 'radial');
this.drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, 'radial');
this.drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100);
}
break;
case 'falsedown':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20);
break;
case 'falserollover':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 50);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case 'falsedisabled':
this.drawRoundRect(0, 0, w, h, 5, 13159628, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
break;
case 'trueup':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16250871, 100);
break;
case 'truedown':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20);
break;
case 'truerollover':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 40);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case 'truedisabled':
this.drawRoundRect(0, 0, w, h, 5, 13159628, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
}
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
_global.skinRegistry.ButtonSkin = true;
return true;
};
v1.symbolName = 'ButtonSkin';
v1.symbolOwner = mx.skins.halo.ButtonSkin;
v2.className = 'ButtonSkin';
v2.backgroundColorName = 'buttonColor';
v1.classConstructed = mx.skins.halo.ButtonSkin.classConstruct();
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
ASSetPropFlags(mx.skins.halo.ButtonSkin.prototype, null, 1);
}
#endinitclip
}
movieClip 232 __Packages.mx.skins.halo.AccordionHeaderSkin {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.AccordionHeaderSkin) {
var v1 = function () {
super();
};
mx.skins.halo.AccordionHeaderSkin = v1;
var v2 = new mx.skins.RectBorder();
mx.skins.halo.AccordionHeaderSkin.prototype = v2;
v2.init = function () {
super.init();
};
v2.size = function () {
this.drawHaloRect(this.__get__width(), this.__get__height());
};
v2.drawHaloRect = function (w, h) {
var v6 = this.getStyle('borderStyle');
var v4 = this.getStyle('themeColor');
var v5 = this.getStyle('textSelectedColor');
this.clear();
switch (v6) {
case 'falseup':
this.drawRoundRect(0, 0, w, h, 0, 9081738, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]);
break;
case 'falsedown':
this.drawRoundRect(0, 0, w, h, 0, v5, 50);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, v4, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, v4, 20);
break;
case 'falserollover':
this.drawRoundRect(0, 0, w, h, 0, v5, 50);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, v4, 50);
this.gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]);
break;
case 'falsedisabled':
this.drawRoundRect(0, 0, w, h, 0, 9081738, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 13159628, 60);
this.gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]);
break;
case 'trueup':
this.drawRoundRect(0, 0, w, h, 0, v5, 50);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, v4, 50);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, v4, 20);
break;
case 'truedown':
this.drawRoundRect(0, 0, w, h, 0, v5, 50);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, v4, 50);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, v4, 20);
break;
case 'truerollover':
this.drawRoundRect(0, 0, w, h, 0, v5, 50);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, v4, 50);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 0, v4, 20);
break;
case 'truedisabled':
this.drawRoundRect(0, 0, w, h, 0, 9081738, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 0, 13159628, 60);
this.gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]);
}
};
v2.gradientFill = function (x, y, w, h, c) {
var v2 = [100, 100];
var v8 = [0, 255];
var v3 = {'matrixType': 'box', 'x': x, 'y': y, 'w': w, 'h': h, 'r': 1.570796326794897};
this.beginGradientFill('linear', c, v2, v8, v3);
this.drawRect(x, y, w, h);
this.endFill();
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
_global.skinRegistry.AccordionHeaderSkin = true;
return true;
};
v1.symbolName = 'AccordionHeaderSkin';
v1.symbolOwner = mx.skins.halo.AccordionHeaderSkin;
v2.className = 'AccordionHeaderSkin';
v1.classConstructed = mx.skins.halo.AccordionHeaderSkin.classConstruct();
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
ASSetPropFlags(mx.skins.halo.AccordionHeaderSkin.prototype, null, 1);
}
#endinitclip
}
frame 2 {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
__com_mochibot__('60271cc9', this, 10301, true);
nextFrame();
}
frame 3 {
function rasterizeMovieClip(obj, bdLev) {
var v3 = obj._parent;
var v5 = bdLev || v3.getNextHighestDepth();
var v2 = v3.createEmptyMovieClip(obj._name + 'BD', v5);
var v4 = new flash.display.BitmapData(obj._width, obj._height, true, 0);
v4.draw(obj);
v2.attachBitmap(v4, v2.getNextHighestDepth());
v2._x = obj._x;
v2._y = obj._y;
obj.swapDepths(v3.getNextHighestDepth());
obj.removeMovieClip();
}
stop();
_root.attachMovie('m_osv', 'm_osv', 3000);
_quality = 'Best';
qual = 0;
_root.score = 0;
_root.bb = 0;
_global.pdis = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v2 = y2 - y1;
var v1 = v3 * v3 + v2 * v2;
v1 = Math.sqrt(v1);
return v1;
};
_global.pdir = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v1 = y2 - y1;
var v2 = Math.atan2(v1, v3);
var v4 = v2 * 57.32;
return v4;
};
_global.gpdir = function (x1, y1, x2, y2) {
var v4 = x2 - x1;
var v2 = y2 - y1;
var v3 = Math.atan2(v2, v4);
var v1 = v3 * 57.32;
if (v1 < 0) {
v1 += 360;
}
return 360 - v1;
};
_global.choose = function () {
return arguments[random(arguments.length)];
};
_global.mod = function (x) {
if (x > 0) {
return x;
}
x = -x;
return x;
};
_global.nf = function (id) {
id.gotoAndPlay(id._currentframe + 1);
};
}
frame 3 {
hint_cr = function (id, txt) {
id.timer = false;
id.t = 0;
id.hint_exist = false;
id.txt = txt;
};
hint = function (id) {
id.onRollOver = function () {
id.timer = true;
id.t = 0;
id.hint_exist == false;
};
id.onRollOut = function () {
id.timer = false;
if (id.hint_exist == true) {
id.hint_exist = false;
id.mc.removeMovieClip();
}
};
if (id.timer == true) {
if (id.hint_exist == false) {
++id.t;
if (id.t > 10) {
id.t = 0;
id.hint_exist = true;
id.mc = _root.attachMovie('hint', 'hint', 500);
id.mc.txt.text = id.txt;
id.mc._x = _root._xmouse;
id.mc._y = _root._ymouse;
id.mc.hit_parent = id;
}
} else {
id.mc._x = _root._xmouse;
id.mc._y = _root._ymouse;
}
}
};
drag_cr = function (id) {
id.xx = id._x;
id.yy = id._y;
};
drag = function (id) {
id.onPress = function () {
id.startDrag();
id.drag_enable = true;
_root.depth = id.getDepth();
id.swapDepths(400);
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
};
id.onMouseUp = function () {
if (id.drag_enable == true) {
id.drag_enable = false;
id.stopDrag();
id.drag_result();
id.swapDepths(_root.depth);
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
}
};
};
mouseCmInit = function (idPar) {
var obj = new Object();
obj.idPar = idPar;
obj.xl = 0;
obj.yl = 0;
obj.moveZad = 2;
obj.mouseHide = true;
obj.msk = _root.attachMovie('maskMouseCmp', 'msk', 4561230);
obj.msk._alpha = 0;
obj.upd = function () {
obj.idPar._x += obj.idPar._xmouse / obj.moveZad;
obj.idPar._y += obj.idPar._ymouse / obj.moveZad;
var v2 = obj.idPar._x;
var v1 = obj.idPar._y;
if (obj.mouseHide) {
if (obj.msk.hitTest(v2, v1, 1)) {
Mouse.hide();
} else {
Mouse.show();
}
}
var v3 = obj.xl;
var v4 = obj.yl;
obj.dir = gpdir(v3, v4, v2, v1);
obj.dis = pdis(v3, v4, v2, v1);
obj.dx = v2 - v3;
obj.dy = v1 - v4;
obj.mdx = Math.abs(com.dx);
obj.mdy = Math.abs(com.dy);
obj.xl = v2;
obj.yl = v1;
};
return obj;
};
}
frame 3 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
var timer = 0;
newLevelStart = function () {
pro = 0;
prog.gotoAndStop(1);
timer = 40;
time_step = 5;
attachMovie('m_osv', 'm_osv', 3000);
};
win_zad = 0;
win = function () {
if (!win_expect) {
win_expect = true;
onEnterFrame = function () {
if (win_zad > 0) {
--win_zad;
} else {
onEnterFrame = function () {};
winReal();
}
};
}
};
win_expect = false;
winReal = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
var v4;
if (shtraf_mode) {
var v2 = 100 - shtraf * shtraf_step;
if (v2 < 0) {
v2 = 0;
}
v4 = v2 / 100;
} else {
if (_root.timer < 30) {
v4 = _root.timer / 30;
} else {
v4 = 1;
}
}
var v3 = int(3 * v4);
if (v3 > levelComplit[level_now]) {
levelComplit[level_now] = v3;
}
onEnterFrame = function () {};
var v5 = _root.attachMovie('win_window', 'win_window', 3000);
v5.www.star.gotoAndStop(1 + v3);
};
winForce = function () {
pro = 100;
win();
};
timeEnd = function () {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
var v2 = _root.attachMovie('m_zat2', 'm_zat2', 3000);
_root.openLevel();
};
pro_plus = function () {
var v2 = _root.pro;
_root.pro += _root.pro_step1;
if (v2 < 100) {
if (pro >= 100) {
win();
}
}
};
time_minus = function () {
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1001);
timer -= time_step;
if (timer < 0) {
timer = 0;
}
};
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
// unknown tag 88 length 56
movieClip 345 {
}
instance mus of movieClip 345 {
onClipEvent (load) {
if (_root.music_loaded != true) {
_root.music_loaded = true;
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
_root.backsound_play = true;
} else {
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
if (_root.backsound_play == false) {
so.setVolume(0);
}
}
}
}
movieClip 347 {
}
instance sfx of movieClip 347 {
onClipEvent (load) {
if (_root.sound_loaded != true) {
_root.sound_loaded = true;
_root.sound_play = true;
}
s1 = new Sound(this);
s1.attachSound('s1_knopki');
s2 = new Sound(this);
s2.attachSound('s2_noj');
s3 = new Sound(this);
s3.attachSound('s3_haamm');
s4 = new Sound(this);
s4.attachSound('s4_drag');
s5 = new Sound(this);
s5.attachSound('s5_drop');
s6 = new Sound(this);
s6.attachSound('swin');
s7 = new Sound(this);
s7.attachSound('s_faild');
s8 = new Sound(this);
s8.attachSound('s8_mixer');
s9 = new Sound(this);
s9.attachSound('s8_mixer2');
s10 = new Sound(this);
s10.attachSound('s_uron');
s11 = new Sound(this);
s11.attachSound('s_kiss');
s12 = new Sound(this);
s12.attachSound('s_win2');
}
}
movieClip 350 {
}
movieClip 355 {
}
movieClip 358 {
}
movieClip 360 {
}
button 361 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('PPlogo', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
movieClip 362 {
}
button 367 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
// unknown tag 88 length 99
movieClip 370 {
}
movieClip 371 {
}
movieClip 373 {
}
movieClip 377 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 377 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
movieClip 380 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 380 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
frame 4 {
}
frame 4 {
stop();
_root.attachMovie('m_osv', 'm_osv', 3000);
_root.hint_show = true;
var LVL = 9;
var levelComplit = [];
var level_max = 0;
var level_now = 0;
var i = 0;
while (i < LVL) {
if (test) {
levelComplit.push(0);
} else {
levelComplit.push(-1);
}
++i;
}
levelComplit[0] = 0;
openLevel = function () {
if (level_now == level_max) {
if (level_max < LVL) {
++level_max;
levelComplit[level_max] = 0;
}
}
};
}
movieClip 384 {
}
// unknown tag 88 length 99
// unknown tag 88 length 79
movieClip 390 {
}
movieClip 399 {
}
movieClip 400 {
frame 1 {
ps = 5;
}
frame 41 {
if (ps > 0) {
--ps;
gotoAndPlay(2);
} else {
gotoAndPlay('play');
}
}
}
movieClip 402 {
}
instance of movieClip 402 {
onClipEvent (load) {
_alpha = 0;
useHandCursor = false;
}
onClipEvent (press) {
trace('gfh');
_root.gotoAndStop(_root._totalframes - 1);
}
}
frame 5 {
_root.attachMovie('m_osv', 'm_osv', 3000);
onEnterFrame = function () {};
Mouse.show();
shtraf_mode = false;
trace('levelComplit: ' + levelComplit);
area._y = 2000;
area.enabled = false;
win_expect = false;
winCheckB = true;
var len = LVL;
while (len--) {
if (levelComplit[len] == -1) {
winCheckB = false;
break;
}
}
if (!test) {
if (winCheckB) {
_root.gotoAndStop(_root._totalframes - 1);
}
}
}
movieClip 404 {
}
movieClip 406 {
}
movieClip 409 {
}
// unknown tag 88 length 222
movieClip 415 {
frame 1 {
stop();
}
}
movieClip 433 {
}
movieClip 434 {
}
movieClip 435 {
}
movieClip 436 {
frame 1 {
num = 0;
init = function (id) {
id.num = num;
id.gotoAndStop(id.num * 2 + 1);
var v2 = _root.levelComplit[id.num];
if (v2 > 0) {
id.gotoAndStop(id.num * 2 + 1 + 1);
id.vip.gotoAndStop(2);
}
id.star.gotoAndStop(v2 + 1);
if (v2 == -1) {
id._alpha = 30;
} else {
id.onPress = function () {
_root.level_now = id.num;
_root.gotoAndStop(String('rm' + id.num));
};
if (id.num == _root.LVL - 1) {
id.clix._alpha = 100;
}
}
++num;
};
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
instance of movieClip 435 {
onClipEvent (load) {
_parent.init(this);
}
}
}
instance of movieClip 434 {
onClipEvent (load) {
if (_root.hint_show) {
_root.hint_show = false;
} else {
_alpha = 0;
}
}
}
// unknown tag 88 length 58
frame 6 {
newLevelStart();
pro_step1 = 14.28571428571429;
win_zad = 30;
timer = 80;
}
movieClip 444 {
}
movieClip 445 {
}
movieClip 448 {
}
movieClip 457 {
frame 1 {
stop();
}
}
movieClip 459 {
}
movieClip 464 {
frame 1 {
_parent.stop();
stop();
draww = false;
sled = undefined;
pres = false;
lx = 0;
ly = 0;
remove = false;
rem_t = 0;
win = function () {
trace('Win!');
_root.pro_plus();
_parent.gotoAndPlay(_parent._currentframe);
this.swapDepths(666);
this.removeMovieClip();
};
reset = function () {
var v2 = this.attachMovie('m2', 'draw_sled', 100);
sled = v2.m2;
sled.lineStyle(3, 7596706, 100);
sled.moveTo(_xmouse, _ymouse);
};
drawStart = function () {
trace('Start');
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
if (!remove) {
reset();
draww = true;
}
};
onEnterFrame = function () {
if (!remove) {
if (draww) {
var v3 = pdis(_root._xmouse, _root._ymouse, lx, ly);
if (Math.abs(v3) > 2) {
sled.lineTo(_xmouse, _ymouse);
if (!this.msk.hitTest(_root._xmouse, _root._ymouse, 1)) {
trace('drawOut');
draww = false;
reset();
}
if (this.fin.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (!remove) {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
remove = true;
}
draww = false;
reset();
}
}
}
lx = _root._xmouse;
ly = _root._ymouse;
} else {
f_out();
}
};
f_out = function () {
_alpha = _alpha - 34;
if (++rem_t > 3) {
win();
}
};
onMouseDown = function () {
pres = true;
};
onMouseUp = function () {
pres = false;
draww = false;
reset();
};
gotoAndStop(vid);
msk._alpha = 0;
}
instance of movieClip 459 {
onClipEvent (press) {
_parent.drawStart();
}
}
frame 2 {
msk.gotoAndStop(vid);
msk._alpha = 0;
}
frame 3 {
msk.gotoAndStop(vid);
msk._alpha = 0;
}
frame 4 {
msk.gotoAndStop(vid);
msk._alpha = 0;
}
}
movieClip 466 {
frame 11 {
stop();
}
}
movieClip 470 {
frame 1 {
gotoAndPlay(_currentframe);
}
frame 7 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 8 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 9 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 10 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 11 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 12 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 13 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 14 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 40 {
this.stop();
_root.winForce();
}
}
button 476 {
on (press) {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
_root.area._parent.swapDepths(700);
_root.vv.swapDepths(-1000);
_root.app.swapDepths(-1001);
_root.gotoAndStop('Recipe');
}
}
// unknown tag 88 length 115
movieClip 485 {
frame 1 {
stop();
}
}
movieClip 489 {
frame 1 {
stop();
}
}
movieClip 494 {
}
movieClip 497 {
frame 10 {
stop();
}
}
movieClip 502 {
frame 1 {
stop();
onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
if (ram._currentframe == 1) {
ram.gotoAndStop(2);
if (blik._currentframe == 10) {
blik.gotoAndPlay(1);
}
}
} else {
ram.gotoAndStop(1);
}
};
onMouseDown = function () {
if (ram._currentframe == 2) {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
var v2 = _currentframe;
if (v2 == 1) {
url('http://www.playpink.com/girls-games/4552/Best-Breakfast.html');
}
if (v2 == 2) {
url('http://www.playpink.com/girls-games/4644/Fresh-Pizza.html');
}
if (v2 == 3) {
url('http://www.playpink.com/girls-games/5200/Chicken-Nuggets-and-Fries.html');
}
}
};
url = function (str1) {
str2 = '?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
getURL(str1 + str2, '_blank');
};
}
}
movieClip 503 {
frame 1 {
stop();
}
frame 1 {
stop();
}
frame 10 {
shuffle = function (parr) {
arr = parr;
cell_1 = 0;
cell_2 = 0;
val = 0;
a_len = arr.length;
i = 0;
while (i < 20) {
cell_1 = int(Math.random() * a_len);
cell_2 = int(Math.random() * a_len);
val = arr[cell_1];
arr[cell_1] = arr[cell_2];
arr[cell_2] = val;
++i;
}
return arr;
};
var arr1 = [];
var it1 = 1 + int(Math.random() * 3.9);
arr1.push(it1);
var it2 = it1;
while (it1 == it2) {
it2 = 1 + int(Math.random() * 3.9);
}
arr1.push(it2);
it3 = it2;
for (;;) {
if (!(it3 == it2 || it3 == it1)) break;
it3 = 1 + int(Math.random() * 3.9);
}
arr1.push(it3);
bt1.gotoAndStop(arr1[0]);
bt2.gotoAndStop(arr1[1]);
bt3.gotoAndStop(arr1[2]);
}
}
movieClip 504 {
instance txt of movieClip 503 {
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(2);
txt.oblk.gotoAndStop(txt._currentframe);
}
}
movieClip 506 {
}
movieClip 511 {
frame 1 {
stop();
onEnterFrame = function () {
if (this._currentframe / 3 < int(_root.pro)) {
var v3 = this._currentframe + 1 + (_root.pro - this._currentframe / 3) / 5;
if (v3 > 300) {
v3 = 300;
}
if (v3 < 1) {
v3 = 1;
}
if (int(v3) > _currentframe) {
this.gotoAndStop(int(v3));
}
} else {
var v3 = _root.pro;
v3 = int(v3);
if (v3 > 300) {
v3 = 300;
}
if (v3 < 1) {
v3 = 1;
}
if (int((v3 / 100) * 300) > _currentframe) {
this.gotoAndStop(int((v3 / 100) * 300));
}
}
};
}
}
instance kn3 of movieClip 377 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance kn2 of movieClip 380 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
movieClip 513 {
}
// unknown tag 88 length 169
movieClip 516 {
}
movieClip 517 {
instance tm of movieClip 516 {
onClipEvent (load) {
t = 0;
game_over = false;
}
onClipEvent (enterFrame) {
if (!game_over) {
if (_root.timer == 0) {
game_over = true;
_root.timeEnd();
}
}
++t;
if (_root.timer != 0) {
if (t > 24) {
--_root.timer;
t = 0;
}
}
}
}
}
instance of movieClip 517 {
}
movieClip 520 {
frame 1 {
stop();
}
}
instance of movieClip 520 {
onClipEvent (load) {
onMouseDown = function () {
gotoAndStop(4);
};
onMouseUp = function () {
gotoAndStop(3);
};
}
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
}
frame 7 {
newLevelStart();
pro_step1 = 16.66666666666667;
win_zad = 30;
timer = 80;
}
movieClip 523 {
}
movieClip 527 {
frame 11 {
stop();
}
frame 11 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 12 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 13 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 14 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 15 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 16 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 1;
}
}
frame 17 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
gotoAndPlay(_currentframe + 1);
}
frame 17 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 46 {
this.stop();
_root.winForce();
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(3);
txt.oblk.gotoAndStop(txt._currentframe);
}
}
frame 8 {
newLevelStart();
pro_step1 = 1.85;
time_step = 1;
win_zad = 30;
timer = 90;
}
movieClip 530 {
}
movieClip 533 {
frame 1 {
stop();
}
}
movieClip 538 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro_plus();
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 29 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 36 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro_plus();
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 55 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 62 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro_plus();
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 81 {
gotoAndPlay(_currentframe + 1);
}
frame 87 {
stop();
_root.winForce();
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(4);
txt.oblk.gotoAndStop(txt._currentframe);
}
}
frame 9 {
newLevelStart();
pro_step1 = 9.090909090909092;
win_zad = 30;
timer = 80;
}
movieClip 540 {
}
movieClip 543 {
}
movieClip 544 {
frame 1 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 2 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 3 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 4 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 5 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 6 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 7 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 8 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 9 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 10 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 11 {
gotoAndPlay(this._currentframe + 1);
}
frame 11 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 35 {
stop();
_root.winForce();
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(5);
txt.oblk.gotoAndStop(txt._currentframe);
}
}
instance kn3 of movieClip 377 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance kn2 of movieClip 380 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance of movieClip 520 {
onClipEvent (load) {
onMouseDown = function () {
gotoAndStop(4);
};
onMouseUp = function () {
gotoAndStop(3);
};
}
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
}
frame 10 {
newLevelStart();
pro_step1 = 18.18181818181818;
win_zad = 30;
timer = 80;
}
movieClip 547 {
}
movieClip 550 {
}
movieClip 553 {
}
movieClip 554 {
frame 1 {
n = 1;
}
frame 10 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 11 {
gotoAndPlay(_currentframe + 1);
}
frame 11 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 15 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 16 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 20 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 21 {
gotoAndPlay(_currentframe + 1);
}
frame 21 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 25 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 26 {
gotoAndPlay(_currentframe + 1);
}
frame 26 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 30 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 31 {
gotoAndPlay(_currentframe + 1);
}
frame 31 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 35 {
stop();
}
instance of movieClip 464 {
onClipEvent (load) {
vid = 3;
}
}
frame 36 {
gotoAndPlay(_currentframe + 1);
}
frame 36 {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 54 {
--n;
if (n > 0) {
gotoAndPlay('st');
} else {
stop();
_root.win();
}
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(6);
txt.oblk.gotoAndStop(txt._currentframe);
}
}
frame 11 {
newLevelStart();
pro_step1 = 0.6666666666666666;
win_zad = 20;
timer = 90;
}
movieClip 560 {
}
movieClip 563 {
}
movieClip 564 {
frame 1 {
nn = 3;
}
instance of movieClip 560 {
onClipEvent (load) {
_alpha = 0;
px = 0;
py = 0;
zad = 10;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = _alpha + 4;
}
dx = Math.abs(px - _root._xmouse);
dy = Math.abs(py - _root._ymouse);
if (dx > 5 or dy > 5) {
var pd = pdir(_root._xmouse, _root._ymouse, px, py);
_rotation = pd + 90;
}
px = _root._xmouse;
py = _root._ymouse;
if (zad > 0) {
--zad;
}
if (zad == 0) {
if (dx > 5 && dy > 5) {
if (_parent.sloy.hitTest(_root._xmouse, _root._ymouse, 1)) {
_root.pro_plus();
_parent.sloy._alpha += 2;
if (_parent.sloy._alpha >= 100 && _parent.sloy._alpha < 200) {
_parent.sloy._alpha = 200;
_parent.nextFrame();
}
}
}
}
}
}
frame 10 {
stop();
}
frame 10 {
stop();
}
instance sloy of movieClip 563 {
onClipEvent (load) {
_alpha = 0;
}
}
frame 11 {
gotoAndPlay(_currentframe + 1);
if (_root.sound_play == true) {
_root.sfx.s12.start();
}
}
frame 20 {
--nn;
if (nn <= 0) {
stop();
_root.winForce();
} else {
gotoAndPlay(2);
}
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(7);
txt.oblk.gotoAndStop(txt._currentframe);
}
}
movieClip 567 {
frame 1 {
stop();
}
}
instance of movieClip 567 {
onClipEvent (load) {
this.onMouseDown = function () {
this.gotoAndStop(2);
};
this.onMouseUp = function () {
this.gotoAndStop(1);
};
px = 0;
py = 0;
pro = 0;
prot = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (dx > 5 or dy > 5) {
var pd = pdir(_root._xmouse, _root._ymouse, px, py);
this._rotation = pd + 90;
}
_x = _root._xmouse;
_y = _root._ymouse;
dx = mod(px - _root._xmouse);
dy = mod(py - _root._ymouse);
px = _x;
py = _y;
var drot = _rotation - prot;
if (Math.abs(drot) > 30) {
if (_root.bowl.hitTest(_root._xmouse, _root._ymouse, 1)) {
_root.pro_plus();
}
}
prot = _rotation;
}
}
frame 12 {
newLevelStart();
pro_step1 = 11.21111111111111;
time_step = 3;
win_zad = 50;
timer = 90;
}
movieClip 571 {
}
movieClip 572 {
frame 1 {
gotoAndPlay(21);
}
frame 2 {
ac = 1;
}
frame 7 {
ac = 2;
}
frame 13 {
ac = 3;
}
frame 21 {
ac = 1;
var rr = random(50);
if (rr > 5) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay(2);
}
}
}
movieClip 573 {
}
movieClip 576 {
frame 1 {
stop();
}
}
movieClip 577 {
}
movieClip 579 {
}
movieClip 582 {
frame 1 {
now = 0;
need = 4;
}
frame 11 {
stop();
onMouseDown = function () {
if (shkala.ac == 2) {
_root.pro_plus();
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
} else {
_root.time_minus();
}
};
}
frame 12 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 24 {
stop();
onMouseDown = function () {
if (shkala.ac == 2) {
_root.pro_plus();
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
} else {
_root.time_minus();
}
};
}
frame 25 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 38 {
stop();
onMouseDown = function () {
if (shkala.ac == 2) {
_root.pro_plus();
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
} else {
_root.time_minus();
}
};
}
frame 39 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 85 {
this.stop();
++now;
if (now >= need) {
_root.winForce();
this.stop();
} else {
if (_root.pro < 99) {
gotoAndPlay(2);
}
}
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(8);
txt.oblk.gotoAndStop(txt._currentframe);
}
}
frame 13 {
newLevelStart();
pro_sp = 9;
num_request = 0;
NUMREQ = [[0], [1], [2], [3, 6, 8], [4], [5], [3, 6, 8], [7], [3, 6, 8], [9]];
PLT = ['Burn the high fire', 'Place the pan on the stove', 'Add olive oil', 'Wait', 'Change the fire to middle', 'Add sandwiches', 'Wait', 'Turn', 'Wait', 'Finish'];
plt = 0;
plita_text = PLT[plt];
m_pin.gotoAndPlay(10);
next_text = function () {
++num_request;
++plt;
plita_text = PLT[plt];
m_pin.gotoAndPlay(2);
};
bb = 100;
_root.drag_item = null;
PRO = [_root.o0, _root.o1, _root.o2, _root.o3, _root.o4, _root.o5, _root.o6, _root.o7, _root.o8, _root.o9, _root.o10, _root.o11, _root.o12];
var i = 0;
while (i < PRO.length) {
var id = PRO[i];
id.act = false;
id.timer = 100 + random(500);
id.num = i;
id.pod_dis = false;
id._x = -50 - bb;
id._y = 410;
id.onPress = function () {
if (_root.ape.stolItem != this) {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
this.pod_dis = true;
this.startDrag();
_root.drag_item = this;
} else {
trace('ffff');
}
};
++i;
}
odin_finish = false;
tc = 0;
min_timer_id = function () {
var v4 = null;
var v3 = 1000;
var v2 = 0;
while (v2 < PRO.length) {
var v1 = PRO[v2];
if (v1.act == false) {
if (v1.timer < v3) {
v4 = v1;
v3 = v1.timer;
}
}
++v2;
}
return v4;
};
var next_id = PRO[num_request];
next_id.timer = 100 + random(random_dalay / 3);
var random_dalay = 1000;
onEnterFrame = function () {
onMouseUp = function () {
var v6 = function (id) {
id.stopDrag();
id._x = -50 - bb;
id._y = 410;
id.timer = 100 + random(500);
id.act = false;
id.pod._x = id._x;
id.pod_dis = false;
id.pod._alpha = 100;
_root.drag_item = null;
};
if (_root.drag_item != null) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
var v4 = _root.drag_item;
var v5 = false;
var v3 = 0;
while (v3 < NUMREQ[num_request].length) {
if (v4.num == NUMREQ[num_request][v3]) {
v5 = true;
}
++v3;
}
if (v5 == true) {
if (v4._y < 400) {
next_id = PRO[num_request + 1];
next_id.timer = 100 + random(random_dalay / 3);
trace('yes');
_root.PRO.slice(this.num, 1);
v4.pod.swapDepths(666);
v4.pod.removeMovieClip();
v4.swapDepths(666);
v4.removeMovieClip();
_root.m_pin.gotoAndPlay(11);
_root.m_plita.gotoAndPlay(_root.m_plita._currentframe + 1);
} else {
trace('no_eff');
v6(v4);
}
} else {
if (v4._y < 400) {
_root.ba_uron();
trace('!!!shtraf');
} else {
trace('no_eff');
}
v6(v4);
}
}
};
var v4 = 0;
while (v4 < PRO.length) {
var v3 = PRO[v4];
if (v3.timer > 0) {
--v3.timer;
}
if (v3.pod_dis == true) {
if (v3.pod._alpha > 0) {
v3.pod._alpha -= 5;
}
}
if (v3 != _root.drag_item) {
if (v3.act == true) {
v3.pod._x = v3._x;
v3._x += pro_sp;
if (v3._x > 640 + bb) {
odin_finish = true;
v3._x = -50 - bb;
v3._y = 410;
v3.pod._x = v3._x;
if (v3 == next_id) {
v3.timer = 100 + random(random_dalay / 10);
} else {
v3.timer = 100 + random(random_dalay);
}
v3.act = false;
}
}
}
++v4;
}
++tc;
var v8 = 250 / pro_sp;
if (tc > v8) {
tc = 0;
odin_finish = false;
var v7 = min_timer_id();
v7.act = true;
}
};
}
frame 13 {
ba_zad = 10000;
blife_max = 20;
blife = blife_max;
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
bex_d = 0;
ba_exp = function (id) {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
++bex_d;
if (bex_d > 10) {
bex_d = 0;
}
var v2 = _root.attachMovie('l_b_exp', 'l_b_exp' + bex_d + random(1000), bex_d);
v2._x = id._x + id._parent._x;
v2._y = id._y + id._parent._y;
};
_root.ba_uron = function () {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1001);
blife -= 2;
if (blife < 0) {
blife = 0;
_root.openLevel();
_root.gotoAndStop('Recipe');
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
_root.ba_plus = function () {
++blife;
if (blife > blife_max) {
blife = blife_max;
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
}
movieClip 584 {
}
movieClip 588 {
}
movieClip 589 {
}
movieClip 592 {
}
movieClip 605 {
frame 1 {
gotoAndPlay(_totalframes - 1);
}
frame 20 {
rr = random(1000);
if (rr > 100) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay(2);
}
}
}
movieClip 612 {
frame 10 {
stop();
}
}
movieClip 613 {
frame 1 {
stop();
}
frame 8 {
stop();
_root.next_text();
}
frame 19 {
stop();
_root.next_text();
}
frame 29 {
stop();
_root.next_text();
}
frame 31 {
stop();
_root.next_text();
}
frame 33 {
stop();
_root.next_text();
}
frame 49 {
stop();
_root.next_text();
}
frame 59 {
stop();
_root.next_text();
}
frame 76 {
stop();
_root.next_text();
}
frame 86 {
stop();
_root.next_text();
}
frame 88 {
stop();
_root.winForce();
trace('WIN');
}
}
movieClip 616 {
}
movieClip 618 {
}
movieClip 620 {
}
movieClip 622 {
}
movieClip 624 {
}
movieClip 626 {
}
movieClip 628 {
}
movieClip 630 {
}
movieClip 632 {
}
movieClip 635 {
}
movieClip 636 {
}
// unknown tag 88 length 153
movieClip 640 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
stop();
}
}
button 641 {
on (press) {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
_root.gotoAndStop('Recipe');
}
}
instance kn3 of movieClip 377 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance kn2 of movieClip 380 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
movieClip 645 {
}
frame 14 {
_root.attachMovie('m_osv', 'm_osv', 3000);
stop();
trace('theend');
trace('levelComplit: ' + levelComplit);
var game_result = 0;
var i = 0;
while (i < LVL - 1) {
game_result += levelComplit[i];
++i;
}
trace(game_result);
game_result = int((game_result / (LVL - 1) / 3) * 100);
if (game_result > 100) {
game_result = 100;
}
if (game_result < 0) {
game_result = 0;
}
trace(_root.game_result);
h = 7;
var mc = _root.m_krepej.attachMovie('m_RES', 'RES' + h, h);
mc._x = 0;
mc._y = 20;
mc.t = 20;
var txr = 'OK!';
if (game_result > 33) {
txr = 'GOOD!';
}
if (game_result > 66) {
txr = 'WOW!';
}
mc.txt.text = txr;
++h;
var mc = _root.m_krepej.attachMovie('m_hint2', 'hint2' + h, h);
mc._x = 0;
mc._y = 60;
mc.t = 40;
mc.txt.text = 'your score: ' + game_result + ' / 100';
wt = true;
time = 0;
b_play._visible = false;
b_more._visible = false;
onEnterFrame = function () {
++time;
if (wt == true) {
if (time > 160) {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
texttt.txt.gotoAndStop(texttt.txt._currentframe + 1);
texttt.txt.oblk.gotoAndStop(texttt.txt._currentframe);
b_play._visible = true;
b_more._visible = true;
b_more.swapDepths(-795);
b_play.swapDepths(-794);
area_nad.swapDepths(-901);
wt = false;
}
}
};
}
movieClip 648 {
}
movieClip 651 {
}
movieClip 653 {
frame 1 {
stop();
}
}
movieClip 655 {
}
movieClip 661 {
frame 1 {
stop();
}
}
movieClip 663 {
}
movieClip 666 {
frame 1 {
stop();
}
}
movieClip 672 {
}
movieClip 673 {
}
movieClip 675 {
frame 1 {
ps = 1;
gotoAndPlay('play');
}
frame 20 {
if (ps > 0) {
--ps;
gotoAndPlay(2);
} else {
gotoAndPlay('play');
}
}
instance of movieClip 666 {
onClipEvent (load) {
gotoAndStop(1);
}
}
frame 36 {
if (_root.sound_play == true) {
_root.sfx.s3.start();
}
}
instance of movieClip 666 {
onClipEvent (load) {
gotoAndStop(3);
}
}
frame 63 {
ps = 1;
}
frame 82 {
if (ps > 0) {
--ps;
gotoAndPlay('cl');
} else {
if (_root.game_result > 40) {
gotoAndPlay('WIN');
} else {
gotoAndPlay('faild');
}
}
}
frame 84 {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
}
frame 112 {
gotoAndPlay('fl');
}
frame 115 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
}
frame 146 {
gotoAndPlay('wl');
}
}
instance mordan of movieClip 675 {
onClipEvent (load) {
this.swapDepths(-867);
}
}
instance texttt of movieClip 504 {
onClipEvent (load) {
txt.gotoAndStop(9);
txt.oblk.gotoAndStop(txt._currentframe);
this.swapDepths(-841);
}
}
movieClip 678 {
}
instance m_krepej of movieClip 678 {
onClipEvent (load) {
this.swapDepths(1000);
}
}
button 681 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.m_krepej.swapDepths(666);
_root.m_krepej.removeMovieClip();
_root.gotoAndStop('mainmenu');
}
}
movieClip 682 {
}