Combined Code
movieClip 7 BoundingBox {
}
movieClip 9 BrdrShdw {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor');
}
}
movieClip 11 BrdrFace {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor');
}
}
movieClip 12 SimpleButtonDown {
}
movieClip 14 BrdrBlk {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor');
}
}
movieClip 16 BrdrHilght {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor');
}
}
movieClip 17 SimpleButtonIn {
}
movieClip 18 SimpleButtonUp {
}
movieClip 19 Defaults {
#initclip
Object.registerClass('Defaults', mx.skins.halo.Defaults);
#endinitclip
}
movieClip 20 UIObjectExtensions {
#initclip
Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions);
#endinitclip
}
movieClip 21 UIObject {
#initclip
Object.registerClass('UIObject', mx.core.UIObject);
#endinitclip
frame 1 {
stop();
}
}
button 24 {
on (keyPress '<Tab>') {
this.tabHandler();
}
}
movieClip 25 {
#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 26 FocusRect {
#initclip
Object.registerClass('FocusRect', mx.skins.halo.FocusRect);
#endinitclip
}
movieClip 27 FocusManager {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
#endinitclip
frame 1 {
stop();
}
}
movieClip 28 UIComponentExtensions {
#initclip
Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions);
#endinitclip
}
movieClip 29 UIComponent {
#initclip
Object.registerClass('UIComponent', mx.core.UIComponent);
#endinitclip
frame 1 {
stop();
}
}
movieClip 30 SimpleButton {
#initclip
Object.registerClass('SimpleButton', mx.controls.SimpleButton);
#endinitclip
frame 1 {
stop();
}
}
movieClip 31 Border {
#initclip
Object.registerClass('Border', mx.skins.Border);
#endinitclip
frame 1 {
stop();
}
}
movieClip 32 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 33 ButtonSkin {
#initclip
Object.registerClass('ButtonSkin', mx.skins.halo.ButtonSkin);
#endinitclip
}
movieClip 34 Button {
#initclip
Object.registerClass('Button', mx.controls.Button);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 30 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 37 RadioFalseDisabled {
}
movieClip 39 RadioThemeColor1 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 42 {
}
movieClip 43 RadioThemeColor2 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 44 RadioFalseDown {
}
movieClip 45 RadioFalseOver {
}
movieClip 46 RadioFalseUp {
}
movieClip 47 RadioTrueDisabled {
}
movieClip 48 RadioTrueUp {
}
movieClip 49 RadioButtonAssets {
#initclip
mx.controls.RadioButton.prototype.adjustFocusRect = function () {
var v4 = this._parent.focus_mc;
var v2 = this.iconName;
var v3 = this.getStyle('themeColor');
if (v3 == undefined) {
v3 = 8453965;
}
var v5 = v2._width + 4;
var v6 = v2._height + 4;
v4.setSize(v5, v6, 8, 100, v3);
var v8 = v2._x;
var v7 = v2._y;
v4.move(this.x - 2 + v8, this.y + v7 - 2);
};
#endinitclip
frame 1 {
}
}
movieClip 50 RadioButton {
#initclip
Object.registerClass('RadioButton', mx.controls.RadioButton);
#endinitclip
frame 1 {
stop();
}
instance foo of movieClip 34 Button {
onClipEvent (initialize) {
icon = '';
label = 'Button';
labelPlacement = 'right';
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 78 DataProvider {
#initclip
Object.registerClass('DataProvider', mx.controls.listclasses.DataProvider);
#endinitclip
frame 1 {
stop();
}
}
movieClip 79 DataSelector {
#initclip
Object.registerClass('DataSelector', mx.controls.listclasses.DataSelector);
#endinitclip
frame 1 {
stop();
}
}
movieClip 80 SelectableRow {
#initclip
Object.registerClass('SelectableRow', mx.controls.listclasses.SelectableRow);
#endinitclip
frame 1 {
stop();
}
}
movieClip 81 CustomBorder {
#initclip
Object.registerClass('CustomBorder', mx.skins.CustomBorder);
mx.skins.SkinElement.registerElement('CustomBorder', mx.skins.CustomBorder);
#endinitclip
frame 1 {
}
}
movieClip 84 ScrollTrack {
}
movieClip 91 ScrollDownArrowDisabled {
}
movieClip 93 ScrollThemeColor1 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 95 ScrollThemeColor2 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 96 ScrollDownArrowDown {
}
movieClip 97 ScrollDownArrowOver {
}
movieClip 98 ScrollDownArrowUp {
}
movieClip 104 ScrollThumbBottomDisabled {
}
movieClip 106 ThumbThemeColor1 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 108 ThumbThemeColor3 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 109 ScrollThumbBottomDown {
}
movieClip 110 ScrollThumbBottomOver {
}
movieClip 111 ScrollThumbBottomUp {
}
movieClip 113 ScrollThumbGripDisabled {
}
movieClip 115 ThumbThemeColor2 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 116 ScrollThumbGripDown {
}
movieClip 117 ScrollThumbGripOver {
}
movieClip 118 ScrollThumbGripUp {
}
movieClip 120 ScrollThumbMiddleDisabled {
}
movieClip 121 ScrollThumbMiddleDown {
}
movieClip 122 {
}
movieClip 124 {
}
movieClip 125 ScrollThumbMiddleOver {
}
movieClip 126 ScrollThumbMiddleUp {
}
movieClip 127 ScrollThumbTopDisabled {
}
movieClip 128 ScrollThumbTopDown {
}
movieClip 129 ScrollThumbTopOver {
}
movieClip 130 ScrollThumbTopUp {
}
movieClip 131 ScrollTrackDisabled {
}
movieClip 132 ScrollUpArrowDisabled {
}
movieClip 133 ScrollUpArrowDown {
}
movieClip 134 ScrollUpArrowOver {
}
movieClip 135 ScrollUpArrowUp {
}
movieClip 136 BtnDownArrow {
#initclip
Object.registerClass('BtnDownArrow', mx.controls.SimpleButton);
#endinitclip
}
movieClip 137 BtnUpArrow {
#initclip
Object.registerClass('BtnUpArrow', mx.controls.SimpleButton);
#endinitclip
}
movieClip 138 ScrollBarAssets {
}
movieClip 139 HScrollBar {
#initclip
Object.registerClass('HScrollBar', mx.controls.HScrollBar);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 34 Button {
onClipEvent (initialize) {
icon = '';
label = 'Button';
labelPlacement = 'right';
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 30 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 140 VScrollBar {
#initclip
Object.registerClass('VScrollBar', mx.controls.VScrollBar);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 34 Button {
onClipEvent (initialize) {
icon = '';
label = 'Button';
labelPlacement = 'right';
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 30 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 141 View {
#initclip
Object.registerClass('View', mx.core.View);
#endinitclip
frame 1 {
stop();
}
}
movieClip 142 ScrollView {
#initclip
Object.registerClass('ScrollView', mx.core.ScrollView);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 139 HScrollBar {
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 140 VScrollBar {
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 143 ScrollSelectList {
#initclip
Object.registerClass('ScrollSelectList', mx.controls.listclasses.ScrollSelectList);
#endinitclip
frame 1 {
stop();
}
}
movieClip 144 List {
#initclip
Object.registerClass('List', mx.controls.List);
#endinitclip
frame 1 {
stop();
}
}
frame 1 {
Vaga = true;
_root.local = SharedObject.getLocal('Axnar-lso');
_root.VfirstTime = false;
_root.Sbing = new Sound();
_root.Sdraw2 = new Sound();
_root.Soundtrack = new Sound();
_root.ArrowHit = new Sound();
_root.ExploSound = new Sound();
_root.Sbing = new Sound();
_root.BowShot = new Sound();
_root.FireBurn = new Sound();
_root.Blub = new Sound();
_root.Magic1 = new Sound();
_root.Magic2 = new Sound();
_root.Magic2.loadSound('http://jan.benscheid.net/sounds/magic2.mp3');
_root.Magic1.loadSound('http://jan.benscheid.net/sounds/magic1.mp3');
_root.Blub.loadSound('http://jan.benscheid.net/sounds/blub.mp3');
_root.FireBurn.loadSound('http://jan.benscheid.net/sounds/fire.mp3');
_root.BowShot.loadSound('http://jan.benscheid.net/sounds/bowshot.mp3');
_root.Sbing.loadSound('http://jan.benscheid.net/sounds/bing.mp3');
_root.ExploSound.loadSound('http://jan.benscheid.net/sounds/explosion.mp3');
_root.ArrowHit.loadSound('http://jan.benscheid.net/sounds/arrowhit.mp3');
_root.Soundtrack.loadSound('http://jan.benscheid.net/sounds/Track.mp3');
_root.Sdraw2.loadSound('http://jan.benscheid.net/sounds/draw2.mp3');
_root.Soundtrack.setVolume(20);
_root.VsoundsLoadet = 0;
_root.VmusicLoadet = 0;
_root.Sbing.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Sdraw2.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Soundtrack.onLoad = function () {
++_root.VmusicLoadet;
};
++_root.VmusicLoadet;
_root.ArrowHit.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.ExploSound.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.BowShot.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.FireBurn.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Blub.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Magic1.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Magic2.onLoad = function () {
++_root.VsoundsLoadet;
};
mochi.as2.MochiAd.showPreGameAd({'id': '1554ad3a7474cb27', 'res': '800x450'});
stop();
onEnterFrame = function () {
if (Vaga == true) {
Vframe = Math.round((getBytesLoaded() / getBytesTotal()) * 85);
Logo.Mask.gotoAndStop(Vframe);
trace('pre');
if (getBytesLoaded() >= getBytesTotal()) {
Vaga = false;
}
}
};
}
movieClip 153 {
frame 1 {
function goDraw() {
if (Vframe[Vnow].x != -1) {
if (Vnow <= Vlast) {
if (VreDraw >= 1) {
draw_mc.lineStyle(2, 16777215, 100);
draw_mc.lineTo(Vframe[Vnow].x, Vframe[Vnow].y);
}
draw_mc.moveTo(Vframe[Vnow].x, Vframe[Vnow].y);
VreDraw += 1;
}
} else {
VreDraw = 0;
}
Vnow += 1;
}
stop();
createEmptyMovieClip('draw_mc', getNextHighestDepth());
Vframe = new Array();
Vlast = 906;
VreDraw = 0;
i = 0;
while (i <= Vlast) {
Vframe[i] = new Object();
++i;
}
Vnow = 0;
onEnterFrame = function () {
i = 0;
while (i <= 7) {
goDraw();
++i;
}
if (Vnow >= Vlast + 200) {
delete onEnterFrame;
_parent._parent.gotoAndPlay(2);
}
};
Vframe[0].x = -1;
Vframe[0].y = -1;
Vframe[1].x = 318;
Vframe[1].y = 322;
Vframe[2].x = 318;
Vframe[2].y = 322;
Vframe[3].x = 318;
Vframe[3].y = 322;
Vframe[4].x = 318;
Vframe[4].y = 322;
Vframe[5].x = 318;
Vframe[5].y = 322;
Vframe[6].x = 318;
Vframe[6].y = 322;
Vframe[7].x = 318;
Vframe[7].y = 322;
Vframe[8].x = 318;
Vframe[8].y = 322;
Vframe[9].x = 318;
Vframe[9].y = 322;
Vframe[10].x = 318;
Vframe[10].y = 322;
Vframe[11].x = 318;
Vframe[11].y = 322;
Vframe[12].x = 318;
Vframe[12].y = 322;
Vframe[13].x = 318;
Vframe[13].y = 322;
Vframe[14].x = 318;
Vframe[14].y = 322;
Vframe[15].x = 318;
Vframe[15].y = 324;
Vframe[16].x = 318;
Vframe[16].y = 324;
Vframe[17].x = 318;
Vframe[17].y = 324;
Vframe[18].x = 318;
Vframe[18].y = 324;
Vframe[19].x = 318;
Vframe[19].y = 325;
Vframe[20].x = 318;
Vframe[20].y = 326;
Vframe[21].x = 318;
Vframe[21].y = 327;
Vframe[22].x = 318;
Vframe[22].y = 328;
Vframe[23].x = 318;
Vframe[23].y = 329;
Vframe[24].x = 318;
Vframe[24].y = 331;
Vframe[25].x = 318;
Vframe[25].y = 333;
Vframe[26].x = 318;
Vframe[26].y = 335;
Vframe[27].x = 318;
Vframe[27].y = 337;
Vframe[28].x = 318;
Vframe[28].y = 338;
Vframe[29].x = 318;
Vframe[29].y = 340;
Vframe[30].x = 318;
Vframe[30].y = 342;
Vframe[31].x = 318;
Vframe[31].y = 343;
Vframe[32].x = 318;
Vframe[32].y = 344;
Vframe[33].x = 318;
Vframe[33].y = 346;
Vframe[34].x = 318;
Vframe[34].y = 347;
Vframe[35].x = 318;
Vframe[35].y = 348;
Vframe[36].x = 318;
Vframe[36].y = 350;
Vframe[37].x = 318;
Vframe[37].y = 352;
Vframe[38].x = 318;
Vframe[38].y = 352;
Vframe[39].x = 317;
Vframe[39].y = 354;
Vframe[40].x = 317;
Vframe[40].y = 356;
Vframe[41].x = 317;
Vframe[41].y = 357;
Vframe[42].x = 317;
Vframe[42].y = 360;
Vframe[43].x = 317;
Vframe[43].y = 361;
Vframe[44].x = 317;
Vframe[44].y = 363;
Vframe[45].x = 317;
Vframe[45].y = 365;
Vframe[46].x = 317;
Vframe[46].y = 365;
Vframe[47].x = 317;
Vframe[47].y = 367;
Vframe[48].x = 317;
Vframe[48].y = 368;
Vframe[49].x = 317;
Vframe[49].y = 369;
Vframe[50].x = 317;
Vframe[50].y = 371;
Vframe[51].x = 317;
Vframe[51].y = 372;
Vframe[52].x = 317;
Vframe[52].y = 373;
Vframe[53].x = 317;
Vframe[53].y = 374;
Vframe[54].x = 317;
Vframe[54].y = 375;
Vframe[55].x = 317;
Vframe[55].y = 375;
Vframe[56].x = 317;
Vframe[56].y = 375;
Vframe[57].x = 317;
Vframe[57].y = 375;
Vframe[58].x = 317;
Vframe[58].y = 375;
Vframe[59].x = 317;
Vframe[59].y = 375;
Vframe[60].x = 317;
Vframe[60].y = 375;
Vframe[61].x = 317;
Vframe[61].y = 375;
Vframe[62].x = 317;
Vframe[62].y = 375;
Vframe[63].x = 317;
Vframe[63].y = 375;
Vframe[64].x = 317;
Vframe[64].y = 376;
Vframe[65].x = 317;
Vframe[65].y = 376;
Vframe[66].x = 317;
Vframe[66].y = 376;
Vframe[67].x = 317;
Vframe[67].y = 376;
Vframe[68].x = 317;
Vframe[68].y = 376;
Vframe[69].x = 316;
Vframe[69].y = 374;
Vframe[70].x = -1;
Vframe[70].y = -1;
Vframe[71].x = 341;
Vframe[71].y = 349;
Vframe[72].x = 341;
Vframe[72].y = 350;
Vframe[73].x = 341;
Vframe[73].y = 350;
Vframe[74].x = 341;
Vframe[74].y = 350;
Vframe[75].x = 341;
Vframe[75].y = 350;
Vframe[76].x = 341;
Vframe[76].y = 350;
Vframe[77].x = 341;
Vframe[77].y = 351;
Vframe[78].x = 341;
Vframe[78].y = 351;
Vframe[79].x = 341;
Vframe[79].y = 351;
Vframe[80].x = 341;
Vframe[80].y = 351;
Vframe[81].x = 341;
Vframe[81].y = 351;
Vframe[82].x = 341;
Vframe[82].y = 351;
Vframe[83].x = 340;
Vframe[83].y = 351;
Vframe[84].x = 340;
Vframe[84].y = 351;
Vframe[85].x = 339;
Vframe[85].y = 351;
Vframe[86].x = 339;
Vframe[86].y = 351;
Vframe[87].x = 338;
Vframe[87].y = 351;
Vframe[88].x = 338;
Vframe[88].y = 351;
Vframe[89].x = 337;
Vframe[89].y = 352;
Vframe[90].x = 336;
Vframe[90].y = 352;
Vframe[91].x = 336;
Vframe[91].y = 352;
Vframe[92].x = 334;
Vframe[92].y = 353;
Vframe[93].x = 333;
Vframe[93].y = 354;
Vframe[94].x = 332;
Vframe[94].y = 355;
Vframe[95].x = 331;
Vframe[95].y = 356;
Vframe[96].x = 330;
Vframe[96].y = 357;
Vframe[97].x = 330;
Vframe[97].y = 358;
Vframe[98].x = 329;
Vframe[98].y = 359;
Vframe[99].x = 329;
Vframe[99].y = 360;
Vframe[100].x = 328;
Vframe[100].y = 363;
Vframe[101].x = 328;
Vframe[101].y = 364;
Vframe[102].x = 328;
Vframe[102].y = 365;
Vframe[103].x = 328;
Vframe[103].y = 366;
Vframe[104].x = 328;
Vframe[104].y = 367;
Vframe[105].x = 328;
Vframe[105].y = 368;
Vframe[106].x = 328;
Vframe[106].y = 369;
Vframe[107].x = 328;
Vframe[107].y = 371;
Vframe[108].x = 329;
Vframe[108].y = 371;
Vframe[109].x = 329;
Vframe[109].y = 372;
Vframe[110].x = 329;
Vframe[110].y = 372;
Vframe[111].x = 330;
Vframe[111].y = 373;
Vframe[112].x = 331;
Vframe[112].y = 373;
Vframe[113].x = 332;
Vframe[113].y = 374;
Vframe[114].x = 333;
Vframe[114].y = 374;
Vframe[115].x = 334;
Vframe[115].y = 374;
Vframe[116].x = 334;
Vframe[116].y = 374;
Vframe[117].x = 335;
Vframe[117].y = 374;
Vframe[118].x = 335;
Vframe[118].y = 374;
Vframe[119].x = 337;
Vframe[119].y = 374;
Vframe[120].x = 338;
Vframe[120].y = 374;
Vframe[121].x = 339;
Vframe[121].y = 374;
Vframe[122].x = 340;
Vframe[122].y = 374;
Vframe[123].x = 342;
Vframe[123].y = 374;
Vframe[124].x = 342;
Vframe[124].y = 374;
Vframe[125].x = 344;
Vframe[125].y = 374;
Vframe[126].x = 345;
Vframe[126].y = 374;
Vframe[127].x = 347;
Vframe[127].y = 373;
Vframe[128].x = 348;
Vframe[128].y = 372;
Vframe[129].x = 349;
Vframe[129].y = 370;
Vframe[130].x = 350;
Vframe[130].y = 369;
Vframe[131].x = 351;
Vframe[131].y = 367;
Vframe[132].x = 351;
Vframe[132].y = 366;
Vframe[133].x = 352;
Vframe[133].y = 365;
Vframe[134].x = 352;
Vframe[134].y = 364;
Vframe[135].x = 353;
Vframe[135].y = 363;
Vframe[136].x = 353;
Vframe[136].y = 362;
Vframe[137].x = 353;
Vframe[137].y = 360;
Vframe[138].x = 353;
Vframe[138].y = 359;
Vframe[139].x = 353;
Vframe[139].y = 358;
Vframe[140].x = 353;
Vframe[140].y = 357;
Vframe[141].x = 353;
Vframe[141].y = 356;
Vframe[142].x = 352;
Vframe[142].y = 355;
Vframe[143].x = 351;
Vframe[143].y = 354;
Vframe[144].x = 350;
Vframe[144].y = 353;
Vframe[145].x = 350;
Vframe[145].y = 352;
Vframe[146].x = 349;
Vframe[146].y = 352;
Vframe[147].x = 349;
Vframe[147].y = 352;
Vframe[148].x = 348;
Vframe[148].y = 351;
Vframe[149].x = 347;
Vframe[149].y = 351;
Vframe[150].x = 346;
Vframe[150].y = 351;
Vframe[151].x = 346;
Vframe[151].y = 350;
Vframe[152].x = 345;
Vframe[152].y = 350;
Vframe[153].x = 345;
Vframe[153].y = 350;
Vframe[154].x = 344;
Vframe[154].y = 350;
Vframe[155].x = 344;
Vframe[155].y = 350;
Vframe[156].x = 343;
Vframe[156].y = 350;
Vframe[157].x = 342;
Vframe[157].y = 350;
Vframe[158].x = 341;
Vframe[158].y = 350;
Vframe[159].x = 341;
Vframe[159].y = 350;
Vframe[160].x = 340;
Vframe[160].y = 351;
Vframe[161].x = 339;
Vframe[161].y = 351;
Vframe[162].x = 339;
Vframe[162].y = 351;
Vframe[163].x = -1;
Vframe[163].y = -1;
Vframe[164].x = 381;
Vframe[164].y = 357;
Vframe[165].x = 381;
Vframe[165].y = 357;
Vframe[166].x = 381;
Vframe[166].y = 356;
Vframe[167].x = 381;
Vframe[167].y = 356;
Vframe[168].x = 380;
Vframe[168].y = 356;
Vframe[169].x = 380;
Vframe[169].y = 356;
Vframe[170].x = 379;
Vframe[170].y = 356;
Vframe[171].x = 378;
Vframe[171].y = 356;
Vframe[172].x = 378;
Vframe[172].y = 356;
Vframe[173].x = 378;
Vframe[173].y = 356;
Vframe[174].x = 378;
Vframe[174].y = 356;
Vframe[175].x = 377;
Vframe[175].y = 356;
Vframe[176].x = 376;
Vframe[176].y = 356;
Vframe[177].x = 375;
Vframe[177].y = 356;
Vframe[178].x = 374;
Vframe[178].y = 356;
Vframe[179].x = 373;
Vframe[179].y = 356;
Vframe[180].x = 372;
Vframe[180].y = 356;
Vframe[181].x = 371;
Vframe[181].y = 356;
Vframe[182].x = 370;
Vframe[182].y = 356;
Vframe[183].x = 369;
Vframe[183].y = 356;
Vframe[184].x = 368;
Vframe[184].y = 357;
Vframe[185].x = 367;
Vframe[185].y = 357;
Vframe[186].x = 367;
Vframe[186].y = 358;
Vframe[187].x = 366;
Vframe[187].y = 359;
Vframe[188].x = 365;
Vframe[188].y = 360;
Vframe[189].x = 365;
Vframe[189].y = 361;
Vframe[190].x = 364;
Vframe[190].y = 362;
Vframe[191].x = 364;
Vframe[191].y = 363;
Vframe[192].x = 364;
Vframe[192].y = 365;
Vframe[193].x = 364;
Vframe[193].y = 365;
Vframe[194].x = 364;
Vframe[194].y = 367;
Vframe[195].x = 364;
Vframe[195].y = 367;
Vframe[196].x = 364;
Vframe[196].y = 369;
Vframe[197].x = 364;
Vframe[197].y = 370;
Vframe[198].x = 364;
Vframe[198].y = 371;
Vframe[199].x = 365;
Vframe[199].y = 372;
Vframe[200].x = 366;
Vframe[200].y = 372;
Vframe[201].x = 367;
Vframe[201].y = 373;
Vframe[202].x = 368;
Vframe[202].y = 373;
Vframe[203].x = 369;
Vframe[203].y = 374;
Vframe[204].x = 370;
Vframe[204].y = 374;
Vframe[205].x = 371;
Vframe[205].y = 374;
Vframe[206].x = 372;
Vframe[206].y = 374;
Vframe[207].x = 373;
Vframe[207].y = 374;
Vframe[208].x = 374;
Vframe[208].y = 374;
Vframe[209].x = 374;
Vframe[209].y = 374;
Vframe[210].x = 375;
Vframe[210].y = 374;
Vframe[211].x = 376;
Vframe[211].y = 374;
Vframe[212].x = 377;
Vframe[212].y = 374;
Vframe[213].x = 378;
Vframe[213].y = 374;
Vframe[214].x = 379;
Vframe[214].y = 374;
Vframe[215].x = 380;
Vframe[215].y = 373;
Vframe[216].x = 380;
Vframe[216].y = 373;
Vframe[217].x = 381;
Vframe[217].y = 372;
Vframe[218].x = 382;
Vframe[218].y = 371;
Vframe[219].x = 382;
Vframe[219].y = 369;
Vframe[220].x = 382;
Vframe[220].y = 369;
Vframe[221].x = 382;
Vframe[221].y = 368;
Vframe[222].x = 382;
Vframe[222].y = 368;
Vframe[223].x = 382;
Vframe[223].y = 368;
Vframe[224].x = 382;
Vframe[224].y = 368;
Vframe[225].x = 382;
Vframe[225].y = 368;
Vframe[226].x = 382;
Vframe[226].y = 368;
Vframe[227].x = 382;
Vframe[227].y = 368;
Vframe[228].x = 382;
Vframe[228].y = 369;
Vframe[229].x = 382;
Vframe[229].y = 371;
Vframe[230].x = 382;
Vframe[230].y = 372;
Vframe[231].x = 382;
Vframe[231].y = 373;
Vframe[232].x = 382;
Vframe[232].y = 373;
Vframe[233].x = 382;
Vframe[233].y = 373;
Vframe[234].x = 382;
Vframe[234].y = 373;
Vframe[235].x = 382;
Vframe[235].y = 373;
Vframe[236].x = 382;
Vframe[236].y = 373;
Vframe[237].x = 382;
Vframe[237].y = 373;
Vframe[238].x = 382;
Vframe[238].y = 373;
Vframe[239].x = 382;
Vframe[239].y = 373;
Vframe[240].x = 382;
Vframe[240].y = 373;
Vframe[241].x = 382;
Vframe[241].y = 373;
Vframe[242].x = 382;
Vframe[242].y = 372;
Vframe[243].x = 382;
Vframe[243].y = 371;
Vframe[244].x = 382;
Vframe[244].y = 369;
Vframe[245].x = 382;
Vframe[245].y = 368;
Vframe[246].x = 382;
Vframe[246].y = 368;
Vframe[247].x = 382;
Vframe[247].y = 367;
Vframe[248].x = 382;
Vframe[248].y = 365;
Vframe[249].x = 382;
Vframe[249].y = 364;
Vframe[250].x = 382;
Vframe[250].y = 364;
Vframe[251].x = 382;
Vframe[251].y = 363;
Vframe[252].x = 382;
Vframe[252].y = 362;
Vframe[253].x = 382;
Vframe[253].y = 361;
Vframe[254].x = 382;
Vframe[254].y = 360;
Vframe[255].x = 382;
Vframe[255].y = 360;
Vframe[256].x = 382;
Vframe[256].y = 359;
Vframe[257].x = 382;
Vframe[257].y = 357;
Vframe[258].x = 382;
Vframe[258].y = 356;
Vframe[259].x = 382;
Vframe[259].y = 356;
Vframe[260].x = 382;
Vframe[260].y = 355;
Vframe[261].x = 382;
Vframe[261].y = 354;
Vframe[262].x = 382;
Vframe[262].y = 353;
Vframe[263].x = 382;
Vframe[263].y = 352;
Vframe[264].x = 382;
Vframe[264].y = 351;
Vframe[265].x = 382;
Vframe[265].y = 350;
Vframe[266].x = 382;
Vframe[266].y = 349;
Vframe[267].x = 382;
Vframe[267].y = 349;
Vframe[268].x = 381;
Vframe[268].y = 348;
Vframe[269].x = 381;
Vframe[269].y = 348;
Vframe[270].x = 381;
Vframe[270].y = 347;
Vframe[271].x = 380;
Vframe[271].y = 347;
Vframe[272].x = 380;
Vframe[272].y = 346;
Vframe[273].x = 379;
Vframe[273].y = 346;
Vframe[274].x = 379;
Vframe[274].y = 346;
Vframe[275].x = 379;
Vframe[275].y = 345;
Vframe[276].x = 378;
Vframe[276].y = 345;
Vframe[277].x = 378;
Vframe[277].y = 345;
Vframe[278].x = 377;
Vframe[278].y = 345;
Vframe[279].x = 377;
Vframe[279].y = 344;
Vframe[280].x = 376;
Vframe[280].y = 344;
Vframe[281].x = 375;
Vframe[281].y = 344;
Vframe[282].x = 374;
Vframe[282].y = 344;
Vframe[283].x = 373;
Vframe[283].y = 344;
Vframe[284].x = 373;
Vframe[284].y = 344;
Vframe[285].x = 372;
Vframe[285].y = 344;
Vframe[286].x = 372;
Vframe[286].y = 344;
Vframe[287].x = 371;
Vframe[287].y = 344;
Vframe[288].x = 371;
Vframe[288].y = 344;
Vframe[289].x = 370;
Vframe[289].y = 344;
Vframe[290].x = 370;
Vframe[290].y = 344;
Vframe[291].x = 369;
Vframe[291].y = 344;
Vframe[292].x = 369;
Vframe[292].y = 344;
Vframe[293].x = 369;
Vframe[293].y = 344;
Vframe[294].x = 368;
Vframe[294].y = 344;
Vframe[295].x = 367;
Vframe[295].y = 344;
Vframe[296].x = 367;
Vframe[296].y = 344;
Vframe[297].x = 367;
Vframe[297].y = 345;
Vframe[298].x = 366;
Vframe[298].y = 345;
Vframe[299].x = 365;
Vframe[299].y = 346;
Vframe[300].x = 365;
Vframe[300].y = 346;
Vframe[301].x = 365;
Vframe[301].y = 346;
Vframe[302].x = 365;
Vframe[302].y = 346;
Vframe[303].x = 365;
Vframe[303].y = 347;
Vframe[304].x = 365;
Vframe[304].y = 347;
Vframe[305].x = 365;
Vframe[305].y = 347;
Vframe[306].x = 365;
Vframe[306].y = 347;
Vframe[307].x = 365;
Vframe[307].y = 347;
Vframe[308].x = -1;
Vframe[308].y = -1;
Vframe[309].x = 413;
Vframe[309].y = 355;
Vframe[310].x = 413;
Vframe[310].y = 355;
Vframe[311].x = 413;
Vframe[311].y = 355;
Vframe[312].x = 413;
Vframe[312].y = 355;
Vframe[313].x = 413;
Vframe[313].y = 355;
Vframe[314].x = 413;
Vframe[314].y = 355;
Vframe[315].x = 413;
Vframe[315].y = 355;
Vframe[316].x = 413;
Vframe[316].y = 355;
Vframe[317].x = 413;
Vframe[317].y = 355;
Vframe[318].x = 413;
Vframe[318].y = 355;
Vframe[319].x = 413;
Vframe[319].y = 355;
Vframe[320].x = 412;
Vframe[320].y = 355;
Vframe[321].x = 411;
Vframe[321].y = 355;
Vframe[322].x = 411;
Vframe[322].y = 355;
Vframe[323].x = 410;
Vframe[323].y = 354;
Vframe[324].x = 410;
Vframe[324].y = 354;
Vframe[325].x = 409;
Vframe[325].y = 354;
Vframe[326].x = 408;
Vframe[326].y = 354;
Vframe[327].x = 408;
Vframe[327].y = 354;
Vframe[328].x = 407;
Vframe[328].y = 354;
Vframe[329].x = 407;
Vframe[329].y = 354;
Vframe[330].x = 406;
Vframe[330].y = 353;
Vframe[331].x = 405;
Vframe[331].y = 353;
Vframe[332].x = 404;
Vframe[332].y = 353;
Vframe[333].x = 404;
Vframe[333].y = 353;
Vframe[334].x = 403;
Vframe[334].y = 353;
Vframe[335].x = 402;
Vframe[335].y = 353;
Vframe[336].x = 401;
Vframe[336].y = 353;
Vframe[337].x = 400;
Vframe[337].y = 353;
Vframe[338].x = 399;
Vframe[338].y = 353;
Vframe[339].x = 399;
Vframe[339].y = 353;
Vframe[340].x = 398;
Vframe[340].y = 353;
Vframe[341].x = 397;
Vframe[341].y = 353;
Vframe[342].x = 397;
Vframe[342].y = 354;
Vframe[343].x = 396;
Vframe[343].y = 354;
Vframe[344].x = 396;
Vframe[344].y = 355;
Vframe[345].x = 395;
Vframe[345].y = 355;
Vframe[346].x = 394;
Vframe[346].y = 356;
Vframe[347].x = 394;
Vframe[347].y = 357;
Vframe[348].x = 394;
Vframe[348].y = 357;
Vframe[349].x = 393;
Vframe[349].y = 358;
Vframe[350].x = 393;
Vframe[350].y = 358;
Vframe[351].x = 393;
Vframe[351].y = 358;
Vframe[352].x = 393;
Vframe[352].y = 359;
Vframe[353].x = 393;
Vframe[353].y = 360;
Vframe[354].x = 392;
Vframe[354].y = 362;
Vframe[355].x = 392;
Vframe[355].y = 362;
Vframe[356].x = 392;
Vframe[356].y = 363;
Vframe[357].x = 392;
Vframe[357].y = 364;
Vframe[358].x = 392;
Vframe[358].y = 365;
Vframe[359].x = 393;
Vframe[359].y = 366;
Vframe[360].x = 393;
Vframe[360].y = 367;
Vframe[361].x = 393;
Vframe[361].y = 368;
Vframe[362].x = 394;
Vframe[362].y = 368;
Vframe[363].x = 394;
Vframe[363].y = 368;
Vframe[364].x = 395;
Vframe[364].y = 369;
Vframe[365].x = 396;
Vframe[365].y = 370;
Vframe[366].x = 397;
Vframe[366].y = 371;
Vframe[367].x = 397;
Vframe[367].y = 371;
Vframe[368].x = 398;
Vframe[368].y = 372;
Vframe[369].x = 398;
Vframe[369].y = 372;
Vframe[370].x = 399;
Vframe[370].y = 372;
Vframe[371].x = 400;
Vframe[371].y = 373;
Vframe[372].x = 401;
Vframe[372].y = 373;
Vframe[373].x = 402;
Vframe[373].y = 373;
Vframe[374].x = 403;
Vframe[374].y = 373;
Vframe[375].x = 404;
Vframe[375].y = 373;
Vframe[376].x = 406;
Vframe[376].y = 373;
Vframe[377].x = 406;
Vframe[377].y = 373;
Vframe[378].x = 407;
Vframe[378].y = 373;
Vframe[379].x = 408;
Vframe[379].y = 373;
Vframe[380].x = 408;
Vframe[380].y = 372;
Vframe[381].x = 409;
Vframe[381].y = 372;
Vframe[382].x = 410;
Vframe[382].y = 371;
Vframe[383].x = 410;
Vframe[383].y = 371;
Vframe[384].x = 410;
Vframe[384].y = 371;
Vframe[385].x = 410;
Vframe[385].y = 371;
Vframe[386].x = 410;
Vframe[386].y = 370;
Vframe[387].x = 410;
Vframe[387].y = 370;
Vframe[388].x = 411;
Vframe[388].y = 369;
Vframe[389].x = 411;
Vframe[389].y = 368;
Vframe[390].x = 412;
Vframe[390].y = 367;
Vframe[391].x = 412;
Vframe[391].y = 367;
Vframe[392].x = 412;
Vframe[392].y = 367;
Vframe[393].x = 412;
Vframe[393].y = 367;
Vframe[394].x = 412;
Vframe[394].y = 367;
Vframe[395].x = 412;
Vframe[395].y = 367;
Vframe[396].x = 412;
Vframe[396].y = 366;
Vframe[397].x = 412;
Vframe[397].y = 366;
Vframe[398].x = 412;
Vframe[398].y = 366;
Vframe[399].x = 412;
Vframe[399].y = 366;
Vframe[400].x = 412;
Vframe[400].y = 366;
Vframe[401].x = 412;
Vframe[401].y = 366;
Vframe[402].x = 412;
Vframe[402].y = 366;
Vframe[403].x = 412;
Vframe[403].y = 367;
Vframe[404].x = 412;
Vframe[404].y = 367;
Vframe[405].x = 412;
Vframe[405].y = 368;
Vframe[406].x = 412;
Vframe[406].y = 368;
Vframe[407].x = 412;
Vframe[407].y = 370;
Vframe[408].x = 412;
Vframe[408].y = 370;
Vframe[409].x = 412;
Vframe[409].y = 370;
Vframe[410].x = 412;
Vframe[410].y = 370;
Vframe[411].x = 412;
Vframe[411].y = 370;
Vframe[412].x = 411;
Vframe[412].y = 370;
Vframe[413].x = 411;
Vframe[413].y = 370;
Vframe[414].x = 411;
Vframe[414].y = 370;
Vframe[415].x = 411;
Vframe[415].y = 370;
Vframe[416].x = 411;
Vframe[416].y = 370;
Vframe[417].x = 411;
Vframe[417].y = 371;
Vframe[418].x = 411;
Vframe[418].y = 372;
Vframe[419].x = 411;
Vframe[419].y = 372;
Vframe[420].x = 411;
Vframe[420].y = 372;
Vframe[421].x = 411;
Vframe[421].y = 372;
Vframe[422].x = 411;
Vframe[422].y = 372;
Vframe[423].x = 411;
Vframe[423].y = 372;
Vframe[424].x = 411;
Vframe[424].y = 372;
Vframe[425].x = 411;
Vframe[425].y = 372;
Vframe[426].x = 411;
Vframe[426].y = 371;
Vframe[427].x = 411;
Vframe[427].y = 369;
Vframe[428].x = 411;
Vframe[428].y = 368;
Vframe[429].x = 411;
Vframe[429].y = 367;
Vframe[430].x = 411;
Vframe[430].y = 367;
Vframe[431].x = 411;
Vframe[431].y = 366;
Vframe[432].x = 411;
Vframe[432].y = 366;
Vframe[433].x = 411;
Vframe[433].y = 365;
Vframe[434].x = 411;
Vframe[434].y = 364;
Vframe[435].x = 411;
Vframe[435].y = 364;
Vframe[436].x = 411;
Vframe[436].y = 362;
Vframe[437].x = 411;
Vframe[437].y = 362;
Vframe[438].x = 411;
Vframe[438].y = 360;
Vframe[439].x = 411;
Vframe[439].y = 359;
Vframe[440].x = 411;
Vframe[440].y = 359;
Vframe[441].x = 411;
Vframe[441].y = 357;
Vframe[442].x = 411;
Vframe[442].y = 356;
Vframe[443].x = 411;
Vframe[443].y = 355;
Vframe[444].x = 411;
Vframe[444].y = 354;
Vframe[445].x = 411;
Vframe[445].y = 353;
Vframe[446].x = 411;
Vframe[446].y = 352;
Vframe[447].x = 411;
Vframe[447].y = 350;
Vframe[448].x = 411;
Vframe[448].y = 349;
Vframe[449].x = 411;
Vframe[449].y = 348;
Vframe[450].x = 411;
Vframe[450].y = 346;
Vframe[451].x = 411;
Vframe[451].y = 344;
Vframe[452].x = 412;
Vframe[452].y = 343;
Vframe[453].x = 412;
Vframe[453].y = 342;
Vframe[454].x = 412;
Vframe[454].y = 341;
Vframe[455].x = 412;
Vframe[455].y = 340;
Vframe[456].x = 412;
Vframe[456].y = 339;
Vframe[457].x = 412;
Vframe[457].y = 338;
Vframe[458].x = 412;
Vframe[458].y = 338;
Vframe[459].x = 412;
Vframe[459].y = 337;
Vframe[460].x = 412;
Vframe[460].y = 337;
Vframe[461].x = 412;
Vframe[461].y = 336;
Vframe[462].x = 412;
Vframe[462].y = 335;
Vframe[463].x = 412;
Vframe[463].y = 335;
Vframe[464].x = 412;
Vframe[464].y = 334;
Vframe[465].x = 412;
Vframe[465].y = 333;
Vframe[466].x = 412;
Vframe[466].y = 332;
Vframe[467].x = 412;
Vframe[467].y = 332;
Vframe[468].x = 412;
Vframe[468].y = 332;
Vframe[469].x = 412;
Vframe[469].y = 331;
Vframe[470].x = 412;
Vframe[470].y = 329;
Vframe[471].x = 412;
Vframe[471].y = 329;
Vframe[472].x = 412;
Vframe[472].y = 329;
Vframe[473].x = 412;
Vframe[473].y = 329;
Vframe[474].x = 412;
Vframe[474].y = 328;
Vframe[475].x = 412;
Vframe[475].y = 328;
Vframe[476].x = 412;
Vframe[476].y = 328;
Vframe[477].x = 412;
Vframe[477].y = 328;
Vframe[478].x = 412;
Vframe[478].y = 328;
Vframe[479].x = 411;
Vframe[479].y = 328;
Vframe[480].x = -1;
Vframe[480].y = -1;
Vframe[481].x = 425;
Vframe[481].y = 352;
Vframe[482].x = 425;
Vframe[482].y = 352;
Vframe[483].x = 425;
Vframe[483].y = 352;
Vframe[484].x = 425;
Vframe[484].y = 352;
Vframe[485].x = 425;
Vframe[485].y = 352;
Vframe[486].x = 425;
Vframe[486].y = 352;
Vframe[487].x = 425;
Vframe[487].y = 352;
Vframe[488].x = 425;
Vframe[488].y = 352;
Vframe[489].x = 425;
Vframe[489].y = 352;
Vframe[490].x = 425;
Vframe[490].y = 352;
Vframe[491].x = 425;
Vframe[491].y = 352;
Vframe[492].x = 425;
Vframe[492].y = 352;
Vframe[493].x = 425;
Vframe[493].y = 352;
Vframe[494].x = 425;
Vframe[494].y = 352;
Vframe[495].x = 425;
Vframe[495].y = 352;
Vframe[496].x = 425;
Vframe[496].y = 352;
Vframe[497].x = 425;
Vframe[497].y = 352;
Vframe[498].x = 425;
Vframe[498].y = 352;
Vframe[499].x = 425;
Vframe[499].y = 352;
Vframe[500].x = 425;
Vframe[500].y = 352;
Vframe[501].x = 425;
Vframe[501].y = 354;
Vframe[502].x = 425;
Vframe[502].y = 355;
Vframe[503].x = 425;
Vframe[503].y = 356;
Vframe[504].x = 425;
Vframe[504].y = 358;
Vframe[505].x = 425;
Vframe[505].y = 360;
Vframe[506].x = 425;
Vframe[506].y = 361;
Vframe[507].x = 425;
Vframe[507].y = 361;
Vframe[508].x = 425;
Vframe[508].y = 362;
Vframe[509].x = 425;
Vframe[509].y = 364;
Vframe[510].x = 425;
Vframe[510].y = 365;
Vframe[511].x = 425;
Vframe[511].y = 365;
Vframe[512].x = 425;
Vframe[512].y = 366;
Vframe[513].x = 425;
Vframe[513].y = 367;
Vframe[514].x = 425;
Vframe[514].y = 368;
Vframe[515].x = 425;
Vframe[515].y = 369;
Vframe[516].x = 425;
Vframe[516].y = 369;
Vframe[517].x = 425;
Vframe[517].y = 371;
Vframe[518].x = 425;
Vframe[518].y = 371;
Vframe[519].x = 425;
Vframe[519].y = 371;
Vframe[520].x = 425;
Vframe[520].y = 371;
Vframe[521].x = 425;
Vframe[521].y = 372;
Vframe[522].x = 425;
Vframe[522].y = 372;
Vframe[523].x = 425;
Vframe[523].y = 372;
Vframe[524].x = 425;
Vframe[524].y = 372;
Vframe[525].x = 425;
Vframe[525].y = 372;
Vframe[526].x = 425;
Vframe[526].y = 372;
Vframe[527].x = 425;
Vframe[527].y = 372;
Vframe[528].x = 425;
Vframe[528].y = 372;
Vframe[529].x = 425;
Vframe[529].y = 372;
Vframe[530].x = 425;
Vframe[530].y = 372;
Vframe[531].x = -1;
Vframe[531].y = -1;
Vframe[532].x = 425;
Vframe[532].y = 339;
Vframe[533].x = 424;
Vframe[533].y = 339;
Vframe[534].x = 424;
Vframe[534].y = 339;
Vframe[535].x = 424;
Vframe[535].y = 339;
Vframe[536].x = 424;
Vframe[536].y = 340;
Vframe[537].x = 424;
Vframe[537].y = 340;
Vframe[538].x = 423;
Vframe[538].y = 340;
Vframe[539].x = 423;
Vframe[539].y = 341;
Vframe[540].x = 422;
Vframe[540].y = 342;
Vframe[541].x = 422;
Vframe[541].y = 343;
Vframe[542].x = 422;
Vframe[542].y = 343;
Vframe[543].x = 422;
Vframe[543].y = 343;
Vframe[544].x = 423;
Vframe[544].y = 344;
Vframe[545].x = 423;
Vframe[545].y = 344;
Vframe[546].x = 423;
Vframe[546].y = 344;
Vframe[547].x = 424;
Vframe[547].y = 344;
Vframe[548].x = 425;
Vframe[548].y = 344;
Vframe[549].x = 425;
Vframe[549].y = 344;
Vframe[550].x = 425;
Vframe[550].y = 344;
Vframe[551].x = 426;
Vframe[551].y = 344;
Vframe[552].x = 426;
Vframe[552].y = 342;
Vframe[553].x = 426;
Vframe[553].y = 341;
Vframe[554].x = 426;
Vframe[554].y = 341;
Vframe[555].x = 426;
Vframe[555].y = 341;
Vframe[556].x = 426;
Vframe[556].y = 340;
Vframe[557].x = 426;
Vframe[557].y = 339;
Vframe[558].x = 426;
Vframe[558].y = 339;
Vframe[559].x = 425;
Vframe[559].y = 339;
Vframe[560].x = 425;
Vframe[560].y = 339;
Vframe[561].x = -1;
Vframe[561].y = -1;
Vframe[562].x = 435;
Vframe[562].y = 352;
Vframe[563].x = 435;
Vframe[563].y = 352;
Vframe[564].x = 435;
Vframe[564].y = 352;
Vframe[565].x = 435;
Vframe[565].y = 352;
Vframe[566].x = 435;
Vframe[566].y = 352;
Vframe[567].x = 435;
Vframe[567].y = 352;
Vframe[568].x = 435;
Vframe[568].y = 352;
Vframe[569].x = 435;
Vframe[569].y = 352;
Vframe[570].x = 435;
Vframe[570].y = 352;
Vframe[571].x = 435;
Vframe[571].y = 352;
Vframe[572].x = 435;
Vframe[572].y = 352;
Vframe[573].x = 435;
Vframe[573].y = 352;
Vframe[574].x = 435;
Vframe[574].y = 352;
Vframe[575].x = 435;
Vframe[575].y = 352;
Vframe[576].x = 435;
Vframe[576].y = 351;
Vframe[577].x = 435;
Vframe[577].y = 351;
Vframe[578].x = 435;
Vframe[578].y = 351;
Vframe[579].x = 435;
Vframe[579].y = 351;
Vframe[580].x = 435;
Vframe[580].y = 351;
Vframe[581].x = 435;
Vframe[581].y = 351;
Vframe[582].x = 435;
Vframe[582].y = 351;
Vframe[583].x = 435;
Vframe[583].y = 352;
Vframe[584].x = 435;
Vframe[584].y = 354;
Vframe[585].x = 435;
Vframe[585].y = 356;
Vframe[586].x = 435;
Vframe[586].y = 359;
Vframe[587].x = 435;
Vframe[587].y = 362;
Vframe[588].x = 435;
Vframe[588].y = 364;
Vframe[589].x = 435;
Vframe[589].y = 365;
Vframe[590].x = 435;
Vframe[590].y = 367;
Vframe[591].x = 435;
Vframe[591].y = 369;
Vframe[592].x = 435;
Vframe[592].y = 369;
Vframe[593].x = 435;
Vframe[593].y = 370;
Vframe[594].x = 435;
Vframe[594].y = 370;
Vframe[595].x = 435;
Vframe[595].y = 370;
Vframe[596].x = 435;
Vframe[596].y = 370;
Vframe[597].x = 435;
Vframe[597].y = 371;
Vframe[598].x = 435;
Vframe[598].y = 371;
Vframe[599].x = 435;
Vframe[599].y = 371;
Vframe[600].x = 435;
Vframe[600].y = 371;
Vframe[601].x = 435;
Vframe[601].y = 372;
Vframe[602].x = 435;
Vframe[602].y = 372;
Vframe[603].x = 435;
Vframe[603].y = 372;
Vframe[604].x = 435;
Vframe[604].y = 372;
Vframe[605].x = 435;
Vframe[605].y = 372;
Vframe[606].x = 435;
Vframe[606].y = 372;
Vframe[607].x = 435;
Vframe[607].y = 372;
Vframe[608].x = 435;
Vframe[608].y = 372;
Vframe[609].x = 435;
Vframe[609].y = 372;
Vframe[610].x = 435;
Vframe[610].y = 372;
Vframe[611].x = 435;
Vframe[611].y = 372;
Vframe[612].x = 435;
Vframe[612].y = 372;
Vframe[613].x = 435;
Vframe[613].y = 372;
Vframe[614].x = 435;
Vframe[614].y = 372;
Vframe[615].x = 435;
Vframe[615].y = 372;
Vframe[616].x = 435;
Vframe[616].y = 372;
Vframe[617].x = 435;
Vframe[617].y = 372;
Vframe[618].x = 435;
Vframe[618].y = 372;
Vframe[619].x = 436;
Vframe[619].y = 371;
Vframe[620].x = 436;
Vframe[620].y = 370;
Vframe[621].x = 436;
Vframe[621].y = 368;
Vframe[622].x = 437;
Vframe[622].y = 366;
Vframe[623].x = 437;
Vframe[623].y = 365;
Vframe[624].x = 437;
Vframe[624].y = 364;
Vframe[625].x = 438;
Vframe[625].y = 362;
Vframe[626].x = 438;
Vframe[626].y = 361;
Vframe[627].x = 438;
Vframe[627].y = 359;
Vframe[628].x = 438;
Vframe[628].y = 359;
Vframe[629].x = 438;
Vframe[629].y = 358;
Vframe[630].x = 439;
Vframe[630].y = 357;
Vframe[631].x = 439;
Vframe[631].y = 356;
Vframe[632].x = 439;
Vframe[632].y = 355;
Vframe[633].x = 439;
Vframe[633].y = 354;
Vframe[634].x = 440;
Vframe[634].y = 353;
Vframe[635].x = 441;
Vframe[635].y = 353;
Vframe[636].x = 441;
Vframe[636].y = 352;
Vframe[637].x = 441;
Vframe[637].y = 352;
Vframe[638].x = 441;
Vframe[638].y = 352;
Vframe[639].x = 442;
Vframe[639].y = 351;
Vframe[640].x = 442;
Vframe[640].y = 351;
Vframe[641].x = 443;
Vframe[641].y = 350;
Vframe[642].x = 444;
Vframe[642].y = 350;
Vframe[643].x = 445;
Vframe[643].y = 350;
Vframe[644].x = 445;
Vframe[644].y = 350;
Vframe[645].x = 446;
Vframe[645].y = 350;
Vframe[646].x = 446;
Vframe[646].y = 350;
Vframe[647].x = 447;
Vframe[647].y = 350;
Vframe[648].x = 447;
Vframe[648].y = 350;
Vframe[649].x = 448;
Vframe[649].y = 350;
Vframe[650].x = 449;
Vframe[650].y = 350;
Vframe[651].x = 449;
Vframe[651].y = 350;
Vframe[652].x = 450;
Vframe[652].y = 351;
Vframe[653].x = 450;
Vframe[653].y = 352;
Vframe[654].x = 450;
Vframe[654].y = 353;
Vframe[655].x = 451;
Vframe[655].y = 355;
Vframe[656].x = 451;
Vframe[656].y = 356;
Vframe[657].x = 451;
Vframe[657].y = 359;
Vframe[658].x = 451;
Vframe[658].y = 360;
Vframe[659].x = 451;
Vframe[659].y = 361;
Vframe[660].x = 451;
Vframe[660].y = 362;
Vframe[661].x = 451;
Vframe[661].y = 362;
Vframe[662].x = 451;
Vframe[662].y = 364;
Vframe[663].x = 451;
Vframe[663].y = 365;
Vframe[664].x = 451;
Vframe[664].y = 366;
Vframe[665].x = 451;
Vframe[665].y = 367;
Vframe[666].x = 451;
Vframe[666].y = 369;
Vframe[667].x = 451;
Vframe[667].y = 370;
Vframe[668].x = 451;
Vframe[668].y = 370;
Vframe[669].x = 451;
Vframe[669].y = 370;
Vframe[670].x = 451;
Vframe[670].y = 372;
Vframe[671].x = 451;
Vframe[671].y = 372;
Vframe[672].x = 451;
Vframe[672].y = 372;
Vframe[673].x = 451;
Vframe[673].y = 372;
Vframe[674].x = 451;
Vframe[674].y = 372;
Vframe[675].x = 451;
Vframe[675].y = 372;
Vframe[676].x = 451;
Vframe[676].y = 372;
Vframe[677].x = 451;
Vframe[677].y = 372;
Vframe[678].x = 451;
Vframe[678].y = 372;
Vframe[679].x = -1;
Vframe[679].y = -1;
Vframe[680].x = 477;
Vframe[680].y = 354;
Vframe[681].x = 477;
Vframe[681].y = 354;
Vframe[682].x = 477;
Vframe[682].y = 354;
Vframe[683].x = 477;
Vframe[683].y = 354;
Vframe[684].x = 477;
Vframe[684].y = 354;
Vframe[685].x = 477;
Vframe[685].y = 354;
Vframe[686].x = 477;
Vframe[686].y = 354;
Vframe[687].x = 477;
Vframe[687].y = 353;
Vframe[688].x = 477;
Vframe[688].y = 353;
Vframe[689].x = 477;
Vframe[689].y = 353;
Vframe[690].x = 477;
Vframe[690].y = 352;
Vframe[691].x = 476;
Vframe[691].y = 352;
Vframe[692].x = 475;
Vframe[692].y = 352;
Vframe[693].x = 475;
Vframe[693].y = 352;
Vframe[694].x = 474;
Vframe[694].y = 352;
Vframe[695].x = 473;
Vframe[695].y = 352;
Vframe[696].x = 472;
Vframe[696].y = 352;
Vframe[697].x = 472;
Vframe[697].y = 352;
Vframe[698].x = 470;
Vframe[698].y = 352;
Vframe[699].x = 469;
Vframe[699].y = 352;
Vframe[700].x = 468;
Vframe[700].y = 352;
Vframe[701].x = 468;
Vframe[701].y = 352;
Vframe[702].x = 467;
Vframe[702].y = 352;
Vframe[703].x = 466;
Vframe[703].y = 353;
Vframe[704].x = 466;
Vframe[704].y = 353;
Vframe[705].x = 465;
Vframe[705].y = 353;
Vframe[706].x = 465;
Vframe[706].y = 354;
Vframe[707].x = 464;
Vframe[707].y = 355;
Vframe[708].x = 463;
Vframe[708].y = 355;
Vframe[709].x = 463;
Vframe[709].y = 356;
Vframe[710].x = 463;
Vframe[710].y = 356;
Vframe[711].x = 462;
Vframe[711].y = 357;
Vframe[712].x = 462;
Vframe[712].y = 359;
Vframe[713].x = 462;
Vframe[713].y = 359;
Vframe[714].x = 462;
Vframe[714].y = 360;
Vframe[715].x = 462;
Vframe[715].y = 361;
Vframe[716].x = 462;
Vframe[716].y = 362;
Vframe[717].x = 462;
Vframe[717].y = 364;
Vframe[718].x = 462;
Vframe[718].y = 365;
Vframe[719].x = 462;
Vframe[719].y = 366;
Vframe[720].x = 462;
Vframe[720].y = 367;
Vframe[721].x = 462;
Vframe[721].y = 367;
Vframe[722].x = 462;
Vframe[722].y = 368;
Vframe[723].x = 463;
Vframe[723].y = 368;
Vframe[724].x = 463;
Vframe[724].y = 369;
Vframe[725].x = 464;
Vframe[725].y = 370;
Vframe[726].x = 465;
Vframe[726].y = 370;
Vframe[727].x = 466;
Vframe[727].y = 370;
Vframe[728].x = 466;
Vframe[728].y = 370;
Vframe[729].x = 467;
Vframe[729].y = 371;
Vframe[730].x = 468;
Vframe[730].y = 371;
Vframe[731].x = 468;
Vframe[731].y = 372;
Vframe[732].x = 469;
Vframe[732].y = 372;
Vframe[733].x = 470;
Vframe[733].y = 372;
Vframe[734].x = 470;
Vframe[734].y = 372;
Vframe[735].x = 471;
Vframe[735].y = 372;
Vframe[736].x = 472;
Vframe[736].y = 372;
Vframe[737].x = 474;
Vframe[737].y = 370;
Vframe[738].x = 475;
Vframe[738].y = 369;
Vframe[739].x = 475;
Vframe[739].y = 368;
Vframe[740].x = 475;
Vframe[740].y = 367;
Vframe[741].x = 475;
Vframe[741].y = 366;
Vframe[742].x = 476;
Vframe[742].y = 365;
Vframe[743].x = 476;
Vframe[743].y = 365;
Vframe[744].x = 476;
Vframe[744].y = 363;
Vframe[745].x = 476;
Vframe[745].y = 362;
Vframe[746].x = 476;
Vframe[746].y = 361;
Vframe[747].x = 476;
Vframe[747].y = 360;
Vframe[748].x = 476;
Vframe[748].y = 359;
Vframe[749].x = 476;
Vframe[749].y = 357;
Vframe[750].x = 476;
Vframe[750].y = 356;
Vframe[751].x = 476;
Vframe[751].y = 354;
Vframe[752].x = 476;
Vframe[752].y = 354;
Vframe[753].x = 476;
Vframe[753].y = 353;
Vframe[754].x = 476;
Vframe[754].y = 353;
Vframe[755].x = 476;
Vframe[755].y = 353;
Vframe[756].x = 476;
Vframe[756].y = 353;
Vframe[757].x = 476;
Vframe[757].y = 353;
Vframe[758].x = 476;
Vframe[758].y = 353;
Vframe[759].x = 476;
Vframe[759].y = 353;
Vframe[760].x = 476;
Vframe[760].y = 353;
Vframe[761].x = 476;
Vframe[761].y = 353;
Vframe[762].x = 476;
Vframe[762].y = 355;
Vframe[763].x = 476;
Vframe[763].y = 356;
Vframe[764].x = 476;
Vframe[764].y = 357;
Vframe[765].x = 476;
Vframe[765].y = 359;
Vframe[766].x = 476;
Vframe[766].y = 360;
Vframe[767].x = 476;
Vframe[767].y = 361;
Vframe[768].x = 476;
Vframe[768].y = 362;
Vframe[769].x = 475;
Vframe[769].y = 364;
Vframe[770].x = 475;
Vframe[770].y = 365;
Vframe[771].x = 475;
Vframe[771].y = 367;
Vframe[772].x = 474;
Vframe[772].y = 368;
Vframe[773].x = 474;
Vframe[773].y = 370;
Vframe[774].x = 474;
Vframe[774].y = 371;
Vframe[775].x = 473;
Vframe[775].y = 372;
Vframe[776].x = 473;
Vframe[776].y = 374;
Vframe[777].x = 473;
Vframe[777].y = 375;
Vframe[778].x = 473;
Vframe[778].y = 376;
Vframe[779].x = 473;
Vframe[779].y = 378;
Vframe[780].x = 473;
Vframe[780].y = 379;
Vframe[781].x = 473;
Vframe[781].y = 380;
Vframe[782].x = 473;
Vframe[782].y = 382;
Vframe[783].x = 473;
Vframe[783].y = 384;
Vframe[784].x = 473;
Vframe[784].y = 386;
Vframe[785].x = 473;
Vframe[785].y = 387;
Vframe[786].x = 473;
Vframe[786].y = 388;
Vframe[787].x = 472;
Vframe[787].y = 390;
Vframe[788].x = 472;
Vframe[788].y = 390;
Vframe[789].x = 472;
Vframe[789].y = 391;
Vframe[790].x = 471;
Vframe[790].y = 392;
Vframe[791].x = 471;
Vframe[791].y = 393;
Vframe[792].x = 470;
Vframe[792].y = 394;
Vframe[793].x = 470;
Vframe[793].y = 394;
Vframe[794].x = 469;
Vframe[794].y = 395;
Vframe[795].x = 468;
Vframe[795].y = 395;
Vframe[796].x = 468;
Vframe[796].y = 395;
Vframe[797].x = 467;
Vframe[797].y = 396;
Vframe[798].x = 466;
Vframe[798].y = 397;
Vframe[799].x = 465;
Vframe[799].y = 397;
Vframe[800].x = 464;
Vframe[800].y = 397;
Vframe[801].x = 464;
Vframe[801].y = 397;
Vframe[802].x = 463;
Vframe[802].y = 397;
Vframe[803].x = 462;
Vframe[803].y = 396;
Vframe[804].x = 461;
Vframe[804].y = 396;
Vframe[805].x = 460;
Vframe[805].y = 395;
Vframe[806].x = 459;
Vframe[806].y = 394;
Vframe[807].x = 458;
Vframe[807].y = 391;
Vframe[808].x = 458;
Vframe[808].y = 389;
Vframe[809].x = 457;
Vframe[809].y = 388;
Vframe[810].x = 457;
Vframe[810].y = 388;
Vframe[811].x = 457;
Vframe[811].y = 388;
Vframe[812].x = 457;
Vframe[812].y = 388;
Vframe[813].x = 457;
Vframe[813].y = 388;
Vframe[814].x = -1;
Vframe[814].y = -1;
Vframe[815].x = 487;
Vframe[815].y = 366;
Vframe[816].x = 487;
Vframe[816].y = 366;
Vframe[817].x = 487;
Vframe[817].y = 366;
Vframe[818].x = 487;
Vframe[818].y = 366;
Vframe[819].x = 487;
Vframe[819].y = 366;
Vframe[820].x = 487;
Vframe[820].y = 366;
Vframe[821].x = 487;
Vframe[821].y = 366;
Vframe[822].x = 487;
Vframe[822].y = 366;
Vframe[823].x = 487;
Vframe[823].y = 366;
Vframe[824].x = 487;
Vframe[824].y = 366;
Vframe[825].x = 486;
Vframe[825].y = 366;
Vframe[826].x = 486;
Vframe[826].y = 366;
Vframe[827].x = 486;
Vframe[827].y = 366;
Vframe[828].x = 486;
Vframe[828].y = 366;
Vframe[829].x = 486;
Vframe[829].y = 366;
Vframe[830].x = 486;
Vframe[830].y = 366;
Vframe[831].x = 486;
Vframe[831].y = 367;
Vframe[832].x = 486;
Vframe[832].y = 368;
Vframe[833].x = 486;
Vframe[833].y = 369;
Vframe[834].x = 486;
Vframe[834].y = 370;
Vframe[835].x = 486;
Vframe[835].y = 370;
Vframe[836].x = 486;
Vframe[836].y = 371;
Vframe[837].x = 487;
Vframe[837].y = 372;
Vframe[838].x = 487;
Vframe[838].y = 372;
Vframe[839].x = 488;
Vframe[839].y = 372;
Vframe[840].x = 489;
Vframe[840].y = 372;
Vframe[841].x = 489;
Vframe[841].y = 372;
Vframe[842].x = 490;
Vframe[842].y = 372;
Vframe[843].x = 491;
Vframe[843].y = 372;
Vframe[844].x = 492;
Vframe[844].y = 371;
Vframe[845].x = 493;
Vframe[845].y = 369;
Vframe[846].x = 493;
Vframe[846].y = 369;
Vframe[847].x = 493;
Vframe[847].y = 368;
Vframe[848].x = 493;
Vframe[848].y = 367;
Vframe[849].x = 493;
Vframe[849].y = 366;
Vframe[850].x = 492;
Vframe[850].y = 366;
Vframe[851].x = 491;
Vframe[851].y = 366;
Vframe[852].x = 489;
Vframe[852].y = 366;
Vframe[853].x = 488;
Vframe[853].y = 366;
Vframe[854].x = -1;
Vframe[854].y = -1;
Vframe[855].x = 508;
Vframe[855].y = 365;
Vframe[856].x = 508;
Vframe[856].y = 365;
Vframe[857].x = 508;
Vframe[857].y = 365;
Vframe[858].x = 508;
Vframe[858].y = 365;
Vframe[859].x = 507;
Vframe[859].y = 365;
Vframe[860].x = 507;
Vframe[860].y = 365;
Vframe[861].x = 506;
Vframe[861].y = 366;
Vframe[862].x = 506;
Vframe[862].y = 367;
Vframe[863].x = 506;
Vframe[863].y = 368;
Vframe[864].x = 506;
Vframe[864].y = 369;
Vframe[865].x = 506;
Vframe[865].y = 370;
Vframe[866].x = 506;
Vframe[866].y = 371;
Vframe[867].x = 506;
Vframe[867].y = 372;
Vframe[868].x = 506;
Vframe[868].y = 372;
Vframe[869].x = 507;
Vframe[869].y = 372;
Vframe[870].x = 509;
Vframe[870].y = 372;
Vframe[871].x = 509;
Vframe[871].y = 372;
Vframe[872].x = 510;
Vframe[872].y = 372;
Vframe[873].x = 511;
Vframe[873].y = 370;
Vframe[874].x = 512;
Vframe[874].y = 369;
Vframe[875].x = 512;
Vframe[875].y = 369;
Vframe[876].x = 512;
Vframe[876].y = 368;
Vframe[877].x = 512;
Vframe[877].y = 367;
Vframe[878].x = 512;
Vframe[878].y = 365;
Vframe[879].x = 512;
Vframe[879].y = 364;
Vframe[880].x = 511;
Vframe[880].y = 364;
Vframe[881].x = -1;
Vframe[881].y = -1;
Vframe[882].x = 526;
Vframe[882].y = 366;
Vframe[883].x = 526;
Vframe[883].y = 366;
Vframe[884].x = 526;
Vframe[884].y = 366;
Vframe[885].x = 525;
Vframe[885].y = 366;
Vframe[886].x = 525;
Vframe[886].y = 366;
Vframe[887].x = 525;
Vframe[887].y = 366;
Vframe[888].x = 524;
Vframe[888].y = 366;
Vframe[889].x = 524;
Vframe[889].y = 367;
Vframe[890].x = 524;
Vframe[890].y = 367;
Vframe[891].x = 524;
Vframe[891].y = 368;
Vframe[892].x = 524;
Vframe[892].y = 369;
Vframe[893].x = 524;
Vframe[893].y = 370;
Vframe[894].x = 525;
Vframe[894].y = 371;
Vframe[895].x = 526;
Vframe[895].y = 371;
Vframe[896].x = 526;
Vframe[896].y = 371;
Vframe[897].x = 527;
Vframe[897].y = 371;
Vframe[898].x = 528;
Vframe[898].y = 370;
Vframe[899].x = 528;
Vframe[899].y = 369;
Vframe[900].x = 529;
Vframe[900].y = 369;
Vframe[901].x = 529;
Vframe[901].y = 368;
Vframe[902].x = 529;
Vframe[902].y = 367;
Vframe[903].x = 530;
Vframe[903].y = 367;
Vframe[904].x = 530;
Vframe[904].y = 366;
Vframe[905].x = 528;
Vframe[905].y = 365;
Vframe[906].x = -1;
Vframe[906].y = -1;
}
}
movieClip 155 {
}
movieClip 157 {
}
movieClip 159 {
}
movieClip 160 {
}
movieClip 161 {
}
movieClip 162 {
}
movieClip 163 {
}
movieClip 164 {
}
movieClip 165 {
frame 85 {
stop();
}
}
movieClip 167 {
}
movieClip 168 {
}
movieClip 169 {
}
movieClip 743 __Packages.mochi.as2.MochiAd {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiAd) {
var v1 = function () {};
mochi.as2.MochiAd = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showPreGameAd = function (options) {
var v27 = {'clip': _root, 'ad_timeout': 3000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showPreloaderAd', 'color': 16747008, 'background': 16777161, 'outline': 13994812, 'no_progress_bar': false, 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}, 'ad_progress': function (percent) {}};
options = mochi.as2.MochiAd._parseOptions(options, v27);
if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') {
options.ad_started();
options.ad_finished();
return undefined;
}
var clip = options.clip;
var v24 = 11000;
var v19 = options.ad_timeout;
if (options.skip) {
v19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v15 = mochi.as2.MochiAd._getRes(options);
var v5 = v15[0];
var v14 = v15[1];
mc._x = v5 * 0.5;
mc._y = v14 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk._x = v5 * -0.5;
chk._y = v14 * -0.5;
var v7 = chk.createEmptyMovieClip('_mochiad_bar', 4);
if (options.no_progress_bar) {
v7._visible = false;
delete options.no_progress_bar;
} else {
v7._x = 10;
v7._y = v14 - 20;
}
var v23 = options.color;
delete options.color;
var v21 = options.background;
delete options.background;
var v25 = options.outline;
delete options.outline;
var v6 = v7.createEmptyMovieClip('_outline', 1);
v6.beginFill(v21);
v6.moveTo(0, 0);
v6.lineTo(v5 - 20, 0);
v6.lineTo(v5 - 20, 10);
v6.lineTo(0, 10);
v6.lineTo(0, 0);
v6.endFill();
var v4 = v7.createEmptyMovieClip('_inside', 2);
v4.beginFill(v23);
v4.moveTo(0, 0);
v4.lineTo(v5 - 20, 0);
v4.lineTo(v5 - 20, 10);
v4.lineTo(0, 10);
v4.lineTo(0, 0);
v4.endFill();
v4._xscale = 0;
var v8 = v7.createEmptyMovieClip('_outline', 3);
v8.lineStyle(0, v25, 100);
v8.moveTo(0, 0);
v8.lineTo(v5 - 20, 0);
v8.lineTo(v5 - 20, 10);
v8.lineTo(0, 10);
v8.lineTo(0, 0);
chk.ad_msec = v24;
chk.ad_timeout = v19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v10 = this._parent._parent;
var v3 = v10;
for (;;) {
if (!(!v3.getBytesTotal() && v3)) break;
v3 = v3._parent;
}
if (!v3) {
v3 = _root;
}
var v13 = this._parent._mochiad_ctr;
var v7 = getTimer() - this.started;
var v5 = false;
var v6 = v3.getBytesTotal();
var v9 = v3.getBytesLoaded();
var v4 = 100 * v9 / v6;
var v12 = 100 * v7 / chk.ad_msec;
var v11 = this._mochiad_bar._inside;
var v15 = Math.min(100, Math.min(v4 || 0, v12));
v15 = Math.max(this.last_pcnt, v15);
this.last_pcnt = v15;
v11._xscale = v15;
options.ad_progress(v15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {'id': 'hostLoadPcnt', 'pcnt': v4}, clip._mochiad._containerLCName);
if (v4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var v8 = v13.getBytesTotal();
if (v8 > 0 || typeof v8 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v7 > chk.ad_timeout && v4 == 100) {
options.ad_failed();
v5 = true;
}
}
}
if (v7 > chk.ad_msec) {
v5 = true;
}
if (v6 > 0 && v9 >= v6 && v5) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
};
v1.showClickAwayAd = function (options) {
var v10 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showClickAwayAd', 'res': '300x250', 'no_bg': true, 'ad_started': function () {}, 'ad_finished': function () {}, 'ad_loaded': function (width, height) {}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_skipped': function () {}};
options = mochi.as2.MochiAd._parseOptions(options, v10);
var clip = options.clip;
var v9 = options.ad_timeout;
delete options.ad_timeout;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var v3 = clip._mochiad;
v3.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v11 = v5[0];
var v8 = v5[1];
v3._x = v11 * 0.5;
v3._y = v8 * 0.5;
var chk = v3.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_timeout = v9;
chk.started = getTimer();
chk.showing = false;
v3.lc.adLoaded = options.ad_loaded;
v3.lc.adSkipped = options.ad_skipped;
v3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
v3.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
var v21 = false;
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
v2 = true;
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v2) {
delete this.onEnterFrame;
}
};
};
v1.showInterLevelAd = function (options) {
var v13 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showTimedAd', 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}};
options = mochi.as2.MochiAd._parseOptions(options, v13);
var clip = options.clip;
var v10 = 11000;
var v12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v14 = v5[0];
var v11 = v5[1];
mc._x = v14 * 0.5;
mc._y = v11 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_msec = v10;
chk.ad_timeout = v12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v4 > chk.ad_msec) {
v2 = true;
}
if (v2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
};
v1.showPreloaderAd = function (options) {
trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0');
mochi.as2.MochiAd.showPreGameAd(options);
};
v1.showTimedAd = function (options) {
trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0');
mochi.as2.MochiAd.showInterLevelAd(options);
};
v1._allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.load = function (options) {
var v12 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'};
options = mochi.as2.MochiAd._parseOptions(options, v12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = mochi.as2.MochiAd.getVersion();
var v6 = options.clip;
if (!mochi.as2.MochiAd._isNetworkAvailable()) {
return null;
}
if (v6._mochiad_loaded) {
return null;
}
var v11 = options.depth;
delete options.depth;
var mc = v6.createEmptyMovieClip('_mochiad', v11);
var v10 = mochi.as2.MochiAd._getRes(options);
options.res = v10[0] + 'x' + v10[1];
options.server += options.id;
delete options.id;
v6._mochiad_loaded = true;
if (v6._url.indexOf('http') != 0) {
trace('[MochiAd] NOTE: Security Sandbox Violation errors below are normal');
}
var v4 = mc.createEmptyMovieClip('_mochiad_ctr', 1);
for (var v7 in options) {
v4[v7] = options[v7];
}
var v9 = v4.server;
delete v4.server;
var v13 = mochi.as2.MochiAd._allowDomains(v9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var v5 = new Object();
var v8 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_');
v5.mc = mc;
v5.name = v8;
v5.hostname = v13;
v5.allowDomain = function (d) {
return true;
};
v5.allowInsecureDomain = v5.allowDomain;
v5.connect(v8);
mc.lc = v5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
v4.lc = v8;
v4.st = getTimer();
if (!options.skip) {
v4.loadMovie(v9 + '.swf', 'POST');
}
return mc;
};
v1.unload = function (clip) {
if (typeof clip == 'undefined') {
clip = _root;
}
if (clip.clip && clip.clip._mochiad) {
clip = clip.clip;
}
if (!clip._mochiad) {
return false;
}
mochi.as2.MochiAd.containerNotify(clip, {'id': 'unload'}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return true;
};
v1._isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1._getRes = function (options) {
var v3 = options.clip.getBounds();
var v2 = 0;
var v1 = 0;
if (typeof options.res != 'undefined') {
var v4 = options.res.split('x');
v2 = parseFloat(v4[0]);
v1 = parseFloat(v4[1]);
} else {
v2 = v3.xMax - v3.xMin;
v1 = v3.yMax - v3.yMin;
}
if (v2 == 0 || v1 == 0) {
v2 = Stage.width;
v1 = Stage.height;
}
return [v2, v1];
};
v1._parseOptions = function (options, defaults) {
var v4 = {};
for (var v8 in defaults) {
v4[v8] = defaults[v8];
}
if (options) {
for (v8 in options) {
v4[v8] = options[v8];
}
}
if (_root.mochiad_options) {
var v5 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v5.length) {
var v3 = v5[v2].split('=');
v4[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
if (v4.id == 'test') {
trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!');
}
return v4;
};
v1.rpc = function (clip, callbackID, arg) {
switch (arg.id) {
case 'setValue':
mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value);
break;
case 'getValue':
var v4 = mochi.as2.MochiAd.getValue(clip, arg.objectName);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v4, clip._mochiad._containerLCName);
break;
case 'runMethod':
var v3 = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v3, clip._mochiad._containerLCName);
break;
default:
trace('[mochiads rpc] unknown rpc id: ' + arg.id);
}
};
v1.setValue = function (base, objectName, value) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
base[v2[v1]] = value;
};
v1.getValue = function (base, objectName) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
return base[v2[v1]];
};
v1.runMethod = function (base, methodName, argsArray) {
var v2 = methodName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
if (typeof base[v2[v1]] == 'function') {
return base[v2[v1]].apply(base, argsArray);
} else {
return undefined;
}
};
v1.containerNotify = function (clip, args, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.notify) {
v1.notify(args);
} else {
(new LocalConnection()).send(lcName, 'notify', args);
}
};
v1.containerRpcResult = function (clip, callbackID, val, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.rpcResult) {
v1.rpcResult(callbackID, val);
} else {
(new LocalConnection()).send(lcName, 'rpcResult', callbackID, val);
}
};
ASSetPropFlags(mochi.as2.MochiAd.prototype, null, 1);
}
#endinitclip
}
movieClip 744 __Packages.mochi.as2.MochiEventDispatcher {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEventDispatcher) {
var v1 = function () {
this.eventTable = {};
};
mochi.as2.MochiEventDispatcher = v1;
var v2 = v1.prototype;
v2.buildDelegate = function (thisObject, thatObject) {
var v2 = {'thisObject': thisObject, 'thatObject': thatObject};
if (thatObject != undefined) {
var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject;
v2.delegate = function (args) {
funct.call(thisObject, args);
};
return v2;
}
v2.delegate = thisObject;
return v2;
};
v2.compareDelegate = function (d_A, d_B) {
if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) {
return false;
}
return true;
};
v2.addEventListener = function (event, thisObject, thatObject) {
this.removeEventListener(event, thisObject, thatObject);
this.eventTable[event].push(this.buildDelegate(thisObject, thatObject));
};
v2.removeEventListener = function (event, thisObject, thatObject) {
var v3 = this.buildDelegate(thisObject, thatObject);
if (this.eventTable[event] == undefined) {
this.eventTable[event] = [];
return undefined;
}
for (var v4 in this.eventTable[event]) {
if (!this.compareDelegate(this.eventTable[event][v4], v3)) {
continue;
}
this.eventTable[event].splice(Number(v4), 1);
}
};
v2.triggerEvent = function (event, args) {
if (this.eventTable[event] == undefined) {
return undefined;
}
for (var v4 in this.eventTable[event]) {
this.eventTable[event][v4].delegate(args);
}
};
ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 745 __Packages.mochi.as2.MochiServices {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiServices) {
var v1 = function () {};
mochi.as2.MochiServices = v1;
var v2 = v1.prototype;
v1.__get__id = function () {
return mochi.as2.MochiServices._id;
};
v1.__get__clip = function () {
return mochi.as2.MochiServices._container;
};
v1.__get__childClip = function () {
return mochi.as2.MochiServices._clip;
};
v1.getVersion = function () {
return '3.9.1 as2';
};
v1.allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.__get__isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1.__set__comChannelName = function (val) {
if (val != undefined) {
if (val.length > 3) {
mochi.as2.MochiServices._sendChannelName = val + '_fromgame';
mochi.as2.MochiServices.initComChannels();
}
}
return mochi.as2.MochiServices.__get__comChannelName();
};
v1.__get__connected = function () {
return mochi.as2.MochiServices._connected;
};
v1.connect = function (id, clip, onError) {
mochi.as2.MochiServices.warnID(id, false);
if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) {
trace('MochiServices Connecting...');
mochi.as2.MochiServices._connecting = true;
mochi.as2.MochiServices.init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else {
if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
};
v1.disconnect = function () {
if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected;
mochi.as2.MochiServices.flush(true);
if (mochi.as2.MochiServices._clip != undefined) {
mochi.as2.MochiServices._clip.removeMovieClip();
delete mochi.as2.MochiServices._clip;
}
mochi.as2.MochiServices._listenChannel.close();
}
};
v1.init = function (id, clip) {
mochi.as2.MochiServices._id = id;
if (clip != undefined) {
mochi.as2.MochiServices._container = clip;
} else {
mochi.as2.MochiServices._container = _root;
}
mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container);
};
v1.loadCommunicator = function (id, clip) {
var v6 = '_mochiservices_com_' + id;
var v5 = new MovieClipLoader();
var v3 = {};
if (mochi.as2.MochiServices._clip != null) {
return mochi.as2.MochiServices._clip;
}
if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) {
return null;
}
if ((mochi.as2.MochiServices.urlOptions()).servURL) {
mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL;
}
var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services;
if ((mochi.as2.MochiServices.urlOptions()).servicesURL) {
v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL;
}
mochi.as2.MochiServices.allowDomains(v4);
mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false);
mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999);
mochi.as2.MochiServices.listen();
if (v3.waitInterval != null) {
clearInterval(v3.waitInterval);
}
v3.onLoadError = mochi.as2.MochiServices.loadError;
v3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
v3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
v3.startTime = getTimer();
v3.wait = function () {
if (getTimer() - this.startTime > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
}
clearInterval(this.waitInterval);
}
};
v3.waitInterval = setInterval(v3, 'wait', 1000);
v5.addListener(v3);
v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip);
mochi.as2.MochiServices._sendChannel = new LocalConnection();
mochi.as2.MochiServices._sendChannel._queue = [];
return mochi.as2.MochiServices._clip;
};
v1.loadError = function (target_mc, errorCode, httpStatus) {
trace('MochiServices could not load.');
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
v1.onStatus = function (infoObject) {
if (infoObject.level !== 'error') {
} else {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
}
};
v1.listen = function () {
mochi.as2.MochiServices._listenChannel = new LocalConnection();
mochi.as2.MochiServices._listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
mochi.as2.MochiServices._listenChannel.allowDomain = function (d) {
return true;
};
mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain;
mochi.as2.MochiServices._listenChannel._nextcallbackID = 0;
mochi.as2.MochiServices._listenChannel._callbacks = {};
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
trace('Waiting for MochiAds services to connect...');
};
v1.initComChannels = function () {
if (!mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'});
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()});
mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) {
var v5 = pkg.callbackID;
var v4 = this._callbacks[v5];
if (!v4) {
return undefined;
}
var v2 = v4.callbackMethod;
var v3 = v4.callbackObject;
if (v3 && typeof v2 == 'string') {
v2 = v3[v2];
}
if (v2 != undefined) {
v2.apply(v3, pkg.args);
}
delete this._callbacks[v5];
};
mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case 'services':
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case 'events':
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case 'coins':
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case 'social':
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
mochi.as2.MochiServices._listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
};
trace('[SERVICES_API] connected!');
mochi.as2.MochiServices._connecting = false;
mochi.as2.MochiServices._connected = true;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift());
}
}
};
v1.flush = function (error) {
var v1;
var v2;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
v1 = mochi.as2.MochiServices._sendChannel._queue.shift();
false;
if (v1.callbackID != null) {
v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
}
delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
if (error) {
mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod);
}
}
};
v1.handleError = function (args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ['NotConnected']);
}
if (args.options != null && args.options.onError != null) {
args.options.onError.apply(null, ['NotConnected']);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = 'NotConnected';
if (callbackObject != null && typeof callbackMethod == 'string') {
callbackObject[callbackMethod](args);
} else {
if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
};
v1.send = function (methodName, args, callbackObject, callbackMethod) {
if (mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
} else {
if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) {
trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName);
mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod);
mochi.as2.MochiServices.flush(true);
return undefined;
} else {
mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
}
}
mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod};
++mochi.as2.MochiServices._listenChannel._nextcallbackID;
};
v1.urlOptions = function () {
var v5 = {};
var v6;
if (_root._url.indexOf('mochiad_options') != -1) {
var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1;
v6 = _root._url.substr(v2, _root._url.length);
} else {
if (_root.mochiad_options) {
v6 = _root.mochiad_options;
}
}
if (v6) {
var v4 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v4.length) {
var v3 = v4[v2].split('=');
v5[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
return v5;
};
v1.warnID = function (bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length');
return undefined;
} else {
if (bid == '1e113c7239048b3f') {
if (leaderboard) {
trace('WARNING: Using testing board ID');
} else {
trace('WARNING: Using testing board ID as game ID');
}
return undefined;
} else {
if (bid == '84993a1de4031cd8') {
if (leaderboard) {
trace('WARNING: Using testing game ID as board ID');
} else {
trace('WARNING: Using testing game ID');
}
return undefined;
}
}
}
var v1 = 0;
while (v1 < bid.length) {
switch (bid.charAt(v1)) {
if (bid.charAt(v1) !== 'f') {
} else {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'a':
break;
case 'b':
case 'c':
case 'd':
case 'e':
}
default:
trace('WARNING: Board ID contains illegal characters: ' + bid);
return undefined;
}
++v1;
}
};
v1.addLinkEvent = function (url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var v2 = new Object();
v2.mav = mochi.as2.MochiServices.getVersion();
v2.swfv = btn.getSWFVersion() || 6;
v2.swfurl = btn._url;
v2.fv = System.capabilities.version;
v2.os = System.capabilities.os;
v2.lang = System.capabilities.language;
v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY;
var s = '?';
var v3 = 0;
for (var v6 in v2) {
if (v3 != 0) {
s += '&';
}
++v3;
s = s + v6 + '=' + escape(v2[v6]);
}
if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) {
var ping = btn.createEmptyMovieClip('ping', 777);
var v7 = btn.createEmptyMovieClip('nettest', 778);
mochi.as2.MochiServices.netupAttempted = true;
ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer());
v7.onEnterFrame = function () {
if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) {
delete this.onEnterFrame;
} else {
if (getTimer() - t0 > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
}
};
}
var v4 = btn.createEmptyMovieClip('clk', 1001);
v4._alpha = 0;
v4.beginFill(1044735);
v4.moveTo(0, 0);
v4.lineTo(0, btn._height);
v4.lineTo(btn._width, btn._height);
v4.lineTo(btn._width, 0);
v4.lineTo(0, 0);
v4.endFill();
v4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL(url + s, '_blank');
} else {
getURL(burl, '_blank');
}
if (onClick != undefined) {
onClick();
}
};
};
v1.setContainer = function (clip) {};
v1.stayOnTop = function (clip) {};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.CONNECTED = 'onConnected';
v1._servURL = 'http://www.mochiads.com/static/lib/services/';
v1._services = 'services.swf';
v1._mochiLC = 'MochiLC.swf';
v1._listenChannelName = '__ms_';
v1._connecting = false;
v1._connected = false;
v1.netup = true;
v1.netupAttempted = false;
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
v1.addProperty('childClip', v1.__get__childClip, function () {});
v1.addProperty('clip', v1.__get__clip, function () {});
v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName);
v1.addProperty('connected', v1.__get__connected, function () {});
v1.addProperty('id', v1.__get__id, function () {});
v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {});
ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1);
}
#endinitclip
}
movieClip 746 __Packages.mochi.as2.MochiEvents {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEvents) {
var v1 = function () {};
mochi.as2.MochiEvents = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.startSession = function (achievementID) {
mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null);
};
v1.setNotifications = function (clip, style) {
var v2 = {};
for (var v3 in style) {
v2[v3] = style[v3];
}
v2.clip = clip;
mochi.as2.MochiServices.send('events_setNotifications', v2, null, null);
};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.startPlay = function (tag) {
if (tag == undefined) {
tag = 'gameplay';
}
mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null);
};
v1.endPlay = function () {
mochi.as2.MochiServices.send('events_clearRoundID', null, null, null);
};
v1.trackEvent = function (tag, value) {
mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null);
};
v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived';
v1.ALIGN_TOP_LEFT = 'ALIGN_TL';
v1.ALIGN_TOP = 'ALIGN_T';
v1.ALIGN_TOP_RIGHT = 'ALIGN_TR';
v1.ALIGN_LEFT = 'ALIGN_L';
v1.ALIGN_CENTER = 'ALIGN_C';
v1.ALIGN_RIGHT = 'ALIGN_R';
v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL';
v1.ALIGN_BOTTOM = 'ALIGN_B';
v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR';
v1.FORMAT_SHORT = 'ShortForm';
v1.FORMAT_LONG = 'LongForm';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1);
}
#endinitclip
}
movieClip 747 __Packages.mochi.as2.MochiCoins {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiCoins) {
var v1 = function () {};
mochi.as2.MochiCoins = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showStore = function (options) {
mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null);
};
v1.showItem = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showItem call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null);
};
v1.showVideo = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showVideo call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null);
};
v1.getStoreItems = function () {
mochi.as2.MochiServices.send('coins_getStoreItems');
};
v1.requestFunding = function (properties) {
mochi.as2.MochiServices.send('social_requestFunding', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate);
};
v1.STORE_SHOW = 'StoreShow';
v1.STORE_HIDE = 'StoreHide';
v1.ITEM_OWNED = 'ItemOwned';
v1.ITEM_NEW = 'ItemNew';
v1.STORE_ITEMS = 'StoreItems';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1);
}
#endinitclip
}
movieClip 748 __Packages.mochi.as2.MochiSocial {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSocial) {
var v1 = function () {};
mochi.as2.MochiSocial = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showLoginWidget = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options});
};
v1.hideLoginWidget = function () {
mochi.as2.MochiServices.send('social_hideLoginWidget');
};
v1.requestLogin = function (properties) {
mochi.as2.MochiServices.send('social_requestLogin', properties);
};
v1.getFriendsList = function (properties) {
mochi.as2.MochiServices.send('social_getFriendsList', properties);
};
v1.postToStream = function (properties) {
mochi.as2.MochiServices.send('social_postToStream', properties);
};
v1.inviteFriends = function (properties) {
mochi.as2.MochiServices.send('social_inviteFriends', properties);
};
v1.requestFan = function (properties) {
mochi.as2.MochiServices.send('social_requestFan', properties);
};
v1.saveUserProperties = function (properties) {
mochi.as2.MochiServices.send('social_saveUserProperties', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate);
};
v1.LOGGED_IN = 'LoggedIn';
v1.LOGGED_OUT = 'LoggedOut';
v1.LOGIN_SHOW = 'LoginShow';
v1.LOGIN_HIDE = 'LoginHide';
v1.LOGIN_SHOWN = 'LoginShown';
v1.PROFILE_SHOW = 'ProfileShow';
v1.PROFILE_HIDE = 'ProfileHide';
v1.PROPERTIES_SAVED = 'PropertySaved';
v1.WIDGET_LOADED = 'WidgetLoaded';
v1.FRIEND_LIST = 'FriendsList';
v1.PROFILE_DATA = 'ProfileData';
v1.GAMEPLAY_DATA = 'GameplayData';
v1.ACTION_CANCELED = 'onCancel';
v1.ACTION_COMPLETE = 'onComplete';
v1.USER_INFO = 'UserInfo';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1.PROPERTIES_SIZE = 'PropertiesSize';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1);
}
#endinitclip
}
movieClip 749 __Packages.mochi.as2.MochiScores {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiScores) {
var v1 = function () {};
mochi.as2.MochiScores = v1;
var v2 = v1.prototype;
v1.setBoardID = function (boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID});
};
v1.showLeaderboard = function (options) {
options.clip = mochi.as2.MochiServices.clip;
if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) {
mochi.as2.MochiServices.disconnect();
trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!');
trace('make sure MochiServices.connect is called as early in the application runtime as possible.');
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof options.name == 'object') {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else {
if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
}
var v1 = Number(options.score);
if (isNaN(v1)) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\'');
} else {
if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(v1) != v1) {
trace('WARNING: Submitted score \'' + options.score + '\' will be truncated');
}
options.score = v1;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
(mochi.as2.MochiServices.__get__clip()).stop();
}
if (options.onClose != null) {
mochi.as2.MochiScores.onClose = options.onClose;
} else {
mochi.as2.MochiScores.onClose = function () {
(mochi.as2.MochiServices.__get__clip()).play();
};
}
if (options.onError != null) {
mochi.as2.MochiScores.onError = options.onError;
} else {
mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose;
}
if (options.boardID == null) {
if (mochi.as2.MochiScores.boardID != null) {
options.boardID = mochi.as2.MochiScores.boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal');
mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose);
};
v1.closeLeaderboard = function () {
mochi.as2.MochiServices.send('scores_closeLeaderboard');
};
v1.getPlayerInfo = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod);
};
v1.submit = function (score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\'');
} else {
if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(score) != score) {
trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated');
}
score = Number(score);
}
}
mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod);
};
v1.requestList = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod);
};
v1.scoresArrayToObjects = function (scores) {
var v5 = {};
var v1;
var v4;
var v2;
var v6;
for (var v8 in scores) {
if (typeof scores[v8] == 'object') {
if (scores[v8].cols != null && scores[v8].rows != null) {
v5[v8] = [];
v2 = scores[v8];
v4 = 0;
while (v4 < v2.rows.length) {
v6 = {};
v1 = 0;
while (v1 < v2.cols.length) {
v6[v2.cols[v1]] = v2.rows[v4][v1];
++v1;
}
v5[v8].push(v6);
++v4;
}
} else {
v5[v8] = {};
for (var v7 in scores[v8]) {
v5[v8][v7] = scores[v8][v7];
}
}
} else {
v5[v8] = scores[v8];
}
}
return v5;
};
v1.doClose = function (args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = 'IOError';
}
mochi.as2.MochiScores.onError.apply(null, [args.errorCode]);
} else {
mochi.as2.MochiScores.onClose.apply();
}
};
ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1);
}
#endinitclip
}
movieClip 750 __Packages.mochi.as2.MochiDigits {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiDigits) {
var v1 = function (digit, index) {
this.Encoder = 0;
this.setValue(digit, index);
};
mochi.as2.MochiDigits = v1;
var v2 = v1.prototype;
v2.__get__value = function () {
return Number(this.toString());
};
v2.__set__value = function (v) {
this.setValue(v);
return this.__get__value();
};
v2.addValue = function (v) {
this.value += v;
};
v2.setValue = function (digit, index) {
var v3 = digit.toString();
if (index == undefined || isNaN(index)) {
index = 0;
}
this.Fragment = v3.charCodeAt(index++) ^ this.Encoder;
if (index < v3.length) {
this.Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
this.Sibling = null;
}
this.reencode();
};
v2.reencode = function () {
var v2 = int(2147483647 * Math.random());
this.Fragment ^= v2 ^ this.Encoder;
this.Encoder = v2;
};
v2.toString = function () {
var v2 = String.fromCharCode(this.Fragment ^ this.Encoder);
return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2;
};
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1);
}
#endinitclip
}
movieClip 1 __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 2 __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 3 __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 4 __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 5 __Packages.mx.controls.RadioButton {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.RadioButton) {
var v1 = function () {
super();
};
mx.controls.RadioButton = v1;
var v2 = new mx.controls.Button();
mx.controls.RadioButton.prototype = v2;
v2.init = function (Void) {
this.setToggle(this.__toggle);
this.__value = this;
super.init();
};
v2.size = function (Void) {
super.size();
};
v2.onRelease = function () {
if (this.selected) {
return undefined;
}
this.releaseFocus();
this.phase = 'up';
this.setSelected(true);
this.dispatchEvent({'type': 'click'});
this._parent[this.__groupName].dispatchEvent({'type': 'click'});
};
v2.setData = function (val) {
this.__data = val;
};
v2.__set__data = function (val) {
this.__data = val;
return this.__get__data();
};
v2.getData = function (val) {
return this.__data;
};
v2.__get__data = function () {
return this.__data;
};
v2.onUnload = function () {
if (this._parent[this.__groupName].selectedRadio == this) {
this._parent[this.__groupName].selectedRadio = undefined;
}
this._parent[this.__groupName].radioList[this.indexNumber] = null;
delete this._parent[this.__groupName].radioList[this.indexNumber];
};
v2.setSelected = function (val) {
var v2 = this._parent[this.__groupName];
var v4 = v2.selectedRadio.__width;
var v5 = v2.selectedRadio.__height;
if (val) {
v2.selectedRadio.setState(false);
v2.selectedRadio = this;
} else {
if (v2.selectedRadio == this) {
v2.selectedRadio.setState(false);
v2.selectedRadio = undefined;
}
}
this.setState(val);
};
v2.deleteGroupObj = function (groupName) {
delete this._parent[groupName];
};
v2.getGroupName = function () {
return this.__groupName;
};
v2.__get__groupName = function () {
return this.__groupName;
};
v2.setGroupName = function (groupName) {
if (groupName == undefined || groupName == '') {
return undefined;
}
delete this._parent[this.__groupName].radioList[this.__data];
this.addToGroup(groupName);
this.__groupName = groupName;
};
v2.__set__groupName = function (groupName) {
this.setGroupName(groupName);
return this.__get__groupName();
};
v2.addToGroup = function (groupName) {
if (groupName == '' || groupName == undefined) {
return undefined;
}
var v2 = this._parent[groupName];
if (v2 == undefined) {
this._parent[groupName] = new mx.controls.RadioButtonGroup();
v2 = this._parent[groupName];
v2.__groupName = groupName;
}
v2.addInstance(this);
if (this.__state) {
v2.selectedRadio.setState(false);
v2.selectedRadio = this;
}
};
v2.__get__emphasized = function () {
return undefined;
};
v2.keyDown = function (e) {
switch (e.code) {
case 40:
this.setNext();
break;
case 38:
this.setPrev();
break;
case 37:
this.setPrev();
break;
case 39:
this.setNext();
}
};
v2.setNext = function () {
var v2 = this._parent[this.__get__groupName()];
if (v2.selectedRadio.indexNumber + 1 == v2.radioList.length) {
return undefined;
}
var v4 = v2.selectedRadio ? v2.selectedRadio.indexNumber : -1;
var v3 = 1;
while (v3 < v2.radioList.length) {
if (v2.radioList[v4 + v3] != undefined && v2.radioList[v4 + v3].enabled) {
var v5 = this.getFocusManager();
v2.radioList[v4 + v3].selected = true;
v5.setFocus(v2.radioList[v2.selectedRadio.indexNumber]);
v2.dispatchEvent({'type': 'click'});
break;
}
++v3;
}
};
v2.setPrev = function () {
var v2 = this._parent[this.__get__groupName()];
if (v2.selectedRadio.indexNumber == 0) {
return undefined;
}
var v4 = v2.selectedRadio ? v2.selectedRadio.indexNumber : 1;
var v3 = 1;
while (v3 < v2.radioList.length) {
if (v2.radioList[v4 - v3] != undefined && v2.radioList[v4 - v3].enabled) {
var v5 = this.getFocusManager();
v2.radioList[v4 - v3].selected = true;
v5.setFocus(v2.radioList[v2.selectedRadio.indexNumber]);
v2.dispatchEvent({'type': 'click'});
break;
}
++v3;
}
};
v2.__set__toggle = function (v) {
return this.__get__toggle();
};
v2.__get__toggle = function () {};
v2.__set__icon = function (v) {
return this.__get__icon();
};
v2.__get__icon = function () {};
v1.symbolName = 'RadioButton';
v1.symbolOwner = mx.controls.RadioButton;
v1.version = '2.0.2.127';
v2.className = 'RadioButton';
v2.btnOffset = 0;
v2.__toggle = true;
v2.__label = 'Radio Button';
v2.__labelPlacement = 'right';
v2.ignoreClassStyleDeclaration = {'Button': 1};
v2.__groupName = 'radioGroup';
v2.indexNumber = 0;
v2.offset = false;
v2.falseUpSkin = '';
v2.falseDownSkin = '';
v2.falseOverSkin = '';
v2.falseDisabledSkin = '';
v2.trueUpSkin = '';
v2.trueDownSkin = '';
v2.trueOverSkin = '';
v2.trueDisabledSkin = '';
v2.falseUpIcon = 'RadioFalseUp';
v2.falseDownIcon = 'RadioFalseDown';
v2.falseOverIcon = 'RadioFalseOver';
v2.falseDisabledIcon = 'RadioFalseDisabled';
v2.trueUpIcon = 'RadioTrueUp';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = 'RadioTrueDisabled';
v2.centerContent = false;
v2.borderW = 0;
v2.clipParameters = {'labelPlacement': 1, 'data': 1, 'label': 1, 'groupName': 1, 'selected': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.RadioButton.prototype.clipParameters, mx.controls.Button.prototype.clipParameters);
v2.addProperty('data', v2.__get__data, v2.__set__data);
v2.addProperty('emphasized', v2.__get__emphasized, function () {});
v2.addProperty('groupName', v2.__get__groupName, v2.__set__groupName);
v2.addProperty('icon', v2.__get__icon, v2.__set__icon);
v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle);
ASSetPropFlags(mx.controls.RadioButton.prototype, null, 1);
}
#endinitclip
}
movieClip 51 __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 52 __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 53 __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 54 __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 55 __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 56 __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 57 __Packages.mx.controls.RadioButtonGroup {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.RadioButtonGroup) {
var v1 = function () {
this.init();
mx.events.UIEventDispatcher.initialize(this);
};
mx.controls.RadioButtonGroup = v1;
var v2 = v1.prototype;
v2.init = function (Void) {
this.radioList = new Array();
};
v2.setGroupName = function (groupName) {
if (groupName == undefined || groupName == '') {
return undefined;
}
var v6 = this.__groupName;
_parent[groupName] = this;
for (var v5 in this.radioList) {
this.radioList[v5].groupName = groupName;
var v3 = this.radioList[v5];
}
v3.deleteGroupObj(v6);
};
v2.getGroupName = function () {
return this.__groupName;
};
v2.addInstance = function (instance) {
instance.indexNumber = this.indexNumber++;
this.radioList.push(instance);
};
v2.getValue = function () {
if (this.selectedRadio.data == '') {
return this.selectedRadio.label;
} else {
return this.selectedRadio.__data;
}
};
v2.getLabelPlacement = function () {
for (var v3 in this.radioList) {
var v2 = this.radioList[v3].getLabelPlacement();
}
return v2;
};
v2.setLabelPlacement = function (pos) {
for (var v3 in this.radioList) {
this.radioList[v3].setLabelPlacement(pos);
}
};
v2.setEnabled = function (val) {
for (var v3 in this.radioList) {
this.radioList[v3].enabled = val;
}
};
v2.setSize = function (val, val1) {
for (var v3 in this.radioList) {
this.radioList[v3].setSize(val, val1);
}
};
v2.getEnabled = function () {
for (var v4 in this.radioList) {
var v2 = this.radioList[v4].enabled;
var v3 = t + (v2 + 0);
}
if (v3 == this.radioList.length) {
return true;
}
if (v3 == 0) {
return false;
}
};
v2.setStyle = function (name, val) {
for (var v4 in this.radioList) {
this.radioList[v4].setStyle(name, val);
}
};
v2.setInstance = function (val) {
for (var v3 in this.radioList) {
if (this.radioList[v3] == val) {
this.radioList[v3].selected = true;
}
}
};
v2.getInstance = function () {
return this.selectedRadio;
};
v2.setValue = function (val) {
for (var v4 in this.radioList) {
if (this.radioList[v4].__data == val || this.radioList[v4].label == val) {
var v2 = v4;
break;
}
}
if (v2 != undefined) {
this.selectedRadio.setState(false);
this.selectedRadio.hitArea_mc._height = this.selectedRadio.__height;
this.selectedRadio.hitArea_mc._width = this.selectedRadio.__width;
this.selectedRadio = this.radioList[v2];
this.selectedRadio.setState(true);
this.selectedRadio.hitArea_mc._width = 0;
this.selectedRadio.hitArea_mc._height = 0;
}
};
v2.__set__groupName = function (groupName) {
if (groupName == undefined || groupName == '') {
return undefined;
}
var v6 = this.__groupName;
_parent[groupName] = this;
for (var v5 in this.radioList) {
this.radioList[v5].groupName = groupName;
var v3 = this.radioList[v5];
}
v3.deleteGroupObj(v6);
return this.__get__groupName();
};
v2.__get__groupName = function () {
return this.__groupName;
};
v2.__set__selectedData = function (val) {
for (var v4 in this.radioList) {
if (this.radioList[v4].__data == val || this.radioList[v4].label == val) {
var v2 = v4;
break;
}
}
if (v2 != undefined) {
this.selectedRadio.setState(false);
this.selectedRadio = this.radioList[v2];
this.selectedRadio.setState(true);
}
return this.__get__selectedData();
};
v2.__get__selectedData = function () {
if (this.selectedRadio.data == '' || this.selectedRadio.data == undefined) {
return this.selectedRadio.label;
} else {
return this.selectedRadio.__data;
}
};
v2.__get__selection = function () {
return this.selectedRadio;
};
v2.__set__selection = function (val) {
for (var v3 in this.radioList) {
if (this.radioList[v3] == val) {
this.radioList[v3].selected = true;
}
}
return this.__get__selection();
};
v2.__set__labelPlacement = function (pos) {
for (var v3 in this.radioList) {
this.radioList[v3].setLabelPlacement(pos);
}
return this.__get__labelPlacement();
};
v2.__get__labelPlacement = function () {
for (var v3 in this.radioList) {
var v2 = this.radioList[v3].getLabelPlacement();
}
return v2;
};
v2.__set__enabled = function (val) {
for (var v3 in this.radioList) {
this.radioList[v3].enabled = val;
}
return this.__get__enabled();
};
v2.__get__enabled = function () {
var v2 = 0;
for (var v3 in this.radioList) {
v2 += this.radioList[v3].enabled;
}
if (v2 == 0) {
return false;
}
if (v2 == this.radioList.length) {
return true;
}
};
v1.symbolName = 'RadioButtonGroup';
v1.symbolOwner = mx.controls.RadioButtonGroup;
v1.version = '2.0.2.127';
v2.className = 'RadioButtonGroup';
v2.indexNumber = 0;
v2.addProperty('enabled', v2.__get__enabled, v2.__set__enabled);
v2.addProperty('groupName', v2.__get__groupName, v2.__set__groupName);
v2.addProperty('labelPlacement', v2.__get__labelPlacement, v2.__set__labelPlacement);
v2.addProperty('selectedData', v2.__get__selectedData, v2.__set__selectedData);
v2.addProperty('selection', v2.__get__selection, v2.__set__selection);
ASSetPropFlags(mx.controls.RadioButtonGroup.prototype, null, 1);
}
#endinitclip
}
movieClip 58 __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 59 __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 60 __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 61 __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 62 __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 63 __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 64 __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 65 __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 66 __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 67 __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 68 __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 69 __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 70 __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 71 __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 72 __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 73 __Packages.mx.core.ScrollView {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ScrollView) {
var v1 = function () {
super();
};
mx.core.ScrollView = v1;
var v2 = new mx.core.View();
mx.core.ScrollView.prototype = v2;
v2.getHScrollPolicy = function (Void) {
return this.__hScrollPolicy;
};
v2.setHScrollPolicy = function (policy) {
this.__hScrollPolicy = policy.toLowerCase();
if (this.__width == undefined) {
return undefined;
}
this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding);
};
v2.__get__hScrollPolicy = function () {
return this.getHScrollPolicy();
};
v2.__set__hScrollPolicy = function (policy) {
this.setHScrollPolicy(policy);
return this.__get__hScrollPolicy();
};
v2.getVScrollPolicy = function (Void) {
return this.__vScrollPolicy;
};
v2.setVScrollPolicy = function (policy) {
this.__vScrollPolicy = policy.toLowerCase();
if (this.__width == undefined) {
return undefined;
}
this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding);
};
v2.__get__vScrollPolicy = function () {
return this.getVScrollPolicy();
};
v2.__set__vScrollPolicy = function (policy) {
this.setVScrollPolicy(policy);
return this.__get__vScrollPolicy();
};
v2.__get__hPosition = function () {
return this.getHPosition();
};
v2.__set__hPosition = function (pos) {
this.setHPosition(pos);
return this.__get__hPosition();
};
v2.getHPosition = function (Void) {
return this.__hPosition;
};
v2.setHPosition = function (pos) {
this.hScroller.__set__scrollPosition(pos);
this.__hPosition = pos;
};
v2.__get__vPosition = function () {
return this.getVPosition();
};
v2.__set__vPosition = function (pos) {
this.setVPosition(pos);
return this.__get__vPosition();
};
v2.getVPosition = function (Void) {
return this.__vPosition;
};
v2.setVPosition = function (pos) {
this.vScroller.__set__scrollPosition(pos);
this.__vPosition = pos;
};
v2.__get__maxVPosition = function () {
var v2 = this.vScroller.maxPos;
return (v2 == undefined) ? 0 : v2;
};
v2.__get__maxHPosition = function () {
return this.getMaxHPosition();
};
v2.__set__maxHPosition = function (pos) {
this.setMaxHPosition(pos);
return this.__get__maxHPosition();
};
v2.getMaxHPosition = function (Void) {
if (this.__maxHPosition != undefined) {
return this.__maxHPosition;
}
var v2 = this.hScroller.maxPos;
return (v2 == undefined) ? 0 : v2;
};
v2.setMaxHPosition = function (pos) {
this.__maxHPosition = pos;
};
v2.setScrollProperties = function (colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
var v3 = this.getViewMetrics();
if (hPadding == undefined) {
hPadding = 0;
}
if (wPadding == undefined) {
wPadding = 0;
}
this.propsInited = true;
delete this.scrollAreaChanged;
this.heightPadding = hPadding;
this.widthPadding = wPadding;
if (colWidth == 0) {
colWidth = 1;
}
if (rwHeight == 0) {
rwHeight = 1;
}
var v5 = Math.ceil((this.__width - v3.left - v3.right - this.widthPadding) / colWidth);
if (this.__hScrollPolicy == 'on' || v5 < colCount && this.__hScrollPolicy == 'auto') {
if (this.hScroller == undefined || this.specialHScrollCase) {
delete this.specialHScrollCase;
this.hScroller = this.createObject('HScrollBar', 'hSB', 1001);
this.hScroller.__set__lineScrollSize(20);
this.hScroller.scrollHandler = this.scrollProxy;
this.hScroller.__set__scrollPosition(this.__hPosition);
this.scrollAreaChanged = true;
}
if (this.numberOfCols != colCount || this.columnWidth != colWidth || this.viewableColumns != v5 || this.scrollAreaChanged) {
this.hScroller.setScrollProperties(v5, 0, colCount - v5);
this.viewableColumns = v5;
this.numberOfCols = colCount;
this.columnWidth = colWidth;
}
} else {
if ((this.__hScrollPolicy == 'auto' || this.__hScrollPolicy == 'off') && this.hScroller != undefined) {
this.hScroller.removeMovieClip();
delete this.hScroller;
this.scrollAreaChanged = true;
}
}
if (this.heightPadding == undefined) {
this.heightPadding = 0;
}
var v4 = Math.ceil((this.__height - v3.top - v3.bottom - this.heightPadding) / rwHeight);
var v8 = (this.__height - v3.top - v3.bottom) % rwHeight != 0;
if (this.__vScrollPolicy == 'on' || v4 < rwCount + v8 && this.__vScrollPolicy == 'auto') {
if (this.vScroller == undefined) {
this.vScroller = this.createObject('VScrollBar', 'vSB', 1002);
this.vScroller.scrollHandler = this.scrollProxy;
this.vScroller.__set__scrollPosition(this.__vPosition);
this.scrollAreaChanged = true;
this.rowH = 0;
}
if (this.rowC != rwCount || this.rowH != rwHeight || this.viewableRows + v8 != v4 + this.oldRndUp || this.scrollAreaChanged) {
this.vScroller.setScrollProperties(v4, 0, rwCount - v4 + v8);
this.viewableRows = v4;
this.rowC = rwCount;
this.rowH = rwHeight;
this.oldRndUp = v8;
}
} else {
if ((this.__vScrollPolicy == 'auto' || this.__vScrollPolicy == 'off') && this.vScroller != undefined) {
this.vScroller.removeMovieClip();
delete this.vScroller;
this.scrollAreaChanged = true;
}
}
this.numberOfCols = colCount;
this.columnWidth = colWidth;
if (this.scrollAreaChanged) {
this.doLayout();
var v2 = this.__viewMetrics;
var v12 = (this.owner != undefined) ? this.owner : this;
v12.layoutContent(v2.left, v2.top, this.columnWidth * this.numberOfCols - v2.left - v2.right, this.rowC * this.rowH, this.__width - v2.left - v2.right, this.__height - v2.top - v2.bottom);
}
if (!this.enabled) {
this.setEnabled(false);
}
};
v2.getViewMetrics = function (Void) {
var v2 = this.__viewMetrics;
var v3 = this.border_mc.__get__borderMetrics();
v2.left = v3.left;
v2.right = v3.right;
if (this.vScroller != undefined) {
v2.right += this.vScroller.minWidth;
}
v2.top = v3.top;
if (this.hScroller == undefined && (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == true)) {
this.hScroller = this.createObject('FHScrollBar', 'hSB', 1001);
this.specialHScrollCase = true;
}
v2.bottom = v3.bottom;
if (this.hScroller != undefined) {
v2.bottom += this.hScroller.minHeight;
}
return v2;
};
v2.doLayout = function (Void) {
var v10 = this.__get__width();
var v8 = this.__get__height();
delete this.invLayout;
this.__viewMetrics = this.getViewMetrics();
var v3 = this.__viewMetrics;
var v2 = v3.left;
var v9 = v3.right;
var v5 = v3.top;
var v11 = v3.bottom;
var v7 = this.hScroller;
var v6 = this.vScroller;
v7.setSize(v10 - v2 - v9, v7.minHeight + 0);
v7.move(v2, v8 - v11);
v6.setSize(v6.minWidth + 0, v8 - v5 - v11);
v6.move(v10 - v9, v5);
var v4 = this.mask_mc;
v4._width = v10 - v2 - v9;
v4._height = v8 - v5 - v11;
v4._x = v2;
v4._y = v5;
};
v2.createChild = function (id, name, props) {
var v2 = super.createChild(id, name, props);
return v2;
};
v2.init = function (Void) {
super.init();
this.__viewMetrics = new Object();
if (_global.__SVMouseWheelManager == undefined) {
_global.__SVMouseWheelManager = new Object();
var v4 = _global.__SVMouseWheelManager;
v4.onMouseWheel = this.__onMouseWheel;
Mouse.addListener(v4);
}
};
v2.__onMouseWheel = function (delta, scrollTarget) {
var v4 = scrollTarget;
var v1;
while (v4 != undefined) {
if (v4 instanceof mx.core.ScrollView) {
v1 = v4;
false;
}
v4 = v4._parent;
}
if (v1 != undefined) {
v4 = delta <= 0 ? 1 : -1;
var v2 = v1.vScroller.lineScrollSize;
if (v2 == undefined) {
v2 = 0;
}
v2 = Math.max(Math.abs(delta), v2);
var v3 = v1.vPosition + v2 * v4;
v1.vPosition = Math.max(0, Math.min(v3, v1.maxVPosition));
v1.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': v1.vPosition});
}
};
v2.createChildren = function (Void) {
super.createChildren();
if (this.mask_mc == undefined) {
this.mask_mc = this.createObject('BoundingBox', 'mask_mc', this.MASK_DEPTH);
}
this.mask_mc._visible = false;
};
v2.invalidate = function (Void) {
super.invalidate();
};
v2.draw = function (Void) {
this.size();
};
v2.size = function (Void) {
super.size();
};
v2.scrollProxy = function (docObj) {
this._parent.onScroll(docObj);
};
v2.onScroll = function (docObj) {
var v3 = docObj.target;
var v2 = v3.scrollPosition;
if (v3 == this.vScroller) {
var v4 = 'vertical';
var v5 = '__vPosition';
} else {
var v4 = 'horizontal';
var v5 = '__hPosition';
}
this[v5] = v2;
this.dispatchEvent({'type': 'scroll', 'direction': v4, 'position': v2});
};
v2.setEnabled = function (v) {
this.hScroller.enabled = v;
this.vScroller.enabled = this.hScroller.enabled;
};
v2.childLoaded = function (obj) {
super.childLoaded(obj);
obj.setMask(this.mask_mc);
};
v1.symbolName = 'ScrollView';
v1.symbolOwner = mx.core.ScrollView;
v1.version = '2.0.2.127';
v2.className = 'ScrollView';
v2.__vScrollPolicy = 'auto';
v2.__hScrollPolicy = 'off';
v2.__vPosition = 0;
v2.__hPosition = 0;
v2.numberOfCols = 0;
v2.rowC = 0;
v2.columnWidth = 1;
v2.rowH = 0;
v2.heightPadding = 0;
v2.widthPadding = 0;
v2.MASK_DEPTH = 10000;
v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition);
v2.addProperty('hScrollPolicy', v2.__get__hScrollPolicy, v2.__set__hScrollPolicy);
v2.addProperty('maxHPosition', v2.__get__maxHPosition, v2.__set__maxHPosition);
v2.addProperty('maxVPosition', v2.__get__maxVPosition, function () {});
v2.addProperty('vPosition', v2.__get__vPosition, v2.__set__vPosition);
v2.addProperty('vScrollPolicy', v2.__get__vScrollPolicy, v2.__set__vScrollPolicy);
ASSetPropFlags(mx.core.ScrollView.prototype, null, 1);
}
#endinitclip
}
movieClip 74 __Packages.mx.controls.listclasses.DataSelector {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.DataSelector) {
var v1 = function () {
super();
};
mx.controls.listclasses.DataSelector = v1;
var v2 = new Object();
mx.controls.listclasses.DataSelector.prototype = v2;
v1.Initialize = function (obj) {
var v3 = mx.controls.listclasses.DataSelector.mixinProps;
var v4 = v3.length;
obj = obj.prototype;
var v1 = 0;
while (v1 < v4) {
obj[v3[v1]] = mx.controls.listclasses.DataSelector.mixins[v3[v1]];
++v1;
}
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'dataProvider', true);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'length', false);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'value', false);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndex', true);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndices', true);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItems', false);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItem', true);
return true;
};
v2.createProp = function (obj, propName, setter) {
var p = (propName.charAt(0)).toUpperCase() + propName.substr(1);
var v2 = null;
var v4 = function (Void) {
return this['get' + p]();
};
if (setter) {
v2 = function (val) {
this['set' + p](val);
};
}
obj.addProperty(propName, v4, v2);
};
v2.setDataProvider = function (dP) {
if (this.__vPosition != 0) {
this.setVPosition(0);
}
this.clearSelected();
this.__dataProvider.removeEventListener(this);
this.__dataProvider = dP;
dP.addEventListener('modelChanged', this);
dP.addView(this);
this.modelChanged({'eventName': 'updateAll'});
};
v2.getDataProvider = function (Void) {
return this.__dataProvider;
};
v2.addItemAt = function (index, label, data) {
if (index < 0 || !this.enabled) {
return undefined;
}
var v2 = this.__dataProvider;
if (v2 == undefined) {
this.__dataProvider = new Array();
v2 = this.__dataProvider;
v2.addEventListener('modelChanged', this);
index = 0;
}
if (typeof label == 'object' || typeof v2.getItemAt(0) == 'string') {
v2.addItemAt(index, label);
} else {
v2.addItemAt(index, {'label': label, 'data': data});
}
};
v2.addItem = function (label, data) {
this.addItemAt(this.__dataProvider.length, label, data);
};
v2.removeItemAt = function (index) {
return this.__dataProvider.removeItemAt(index);
};
v2.removeAll = function (Void) {
this.__dataProvider.removeAll();
};
v2.replaceItemAt = function (index, newLabel, newData) {
if (typeof newLabel == 'object') {
this.__dataProvider.replaceItemAt(index, newLabel);
} else {
this.__dataProvider.replaceItemAt(index, {'label': newLabel, 'data': newData});
}
};
v2.sortItemsBy = function (fieldName, order) {
this.lastSelID = this.__dataProvider.getItemID(this.lastSelected);
this.__dataProvider.sortItemsBy(fieldName, order);
};
v2.sortItems = function (compareFunc, order) {
this.lastSelID = this.__dataProvider.getItemID(this.lastSelected);
this.__dataProvider.sortItems(compareFunc, order);
};
v2.getLength = function (Void) {
return this.__dataProvider.length;
};
v2.getItemAt = function (index) {
return this.__dataProvider.getItemAt(index);
};
v2.modelChanged = function (eventObj) {
var v3 = eventObj.firstItem;
var v6 = eventObj.lastItem;
var v7 = eventObj.eventName;
if (v7 == undefined) {
v7 = eventObj.event;
v3 = eventObj.firstRow;
v6 = eventObj.lastRow;
if (v7 == 'addRows') {
eventObj.eventName = 'addItems';
v7 = 'addItems';
} else {
if (v7 == 'deleteRows') {
eventObj.eventName = 'removeItems';
v7 = 'removeItems';
} else {
if (v7 == 'updateRows') {
eventObj.eventName = 'updateItems';
v7 = 'updateItems';
}
}
}
}
if (v7 == 'addItems') {
for (var v2 in this.selected) {
var v5 = this.selected[v2];
if (v5 != undefined && v5 >= v3) {
this.selected[v2] += v6 - v3 + 1;
}
}
} else {
if (v7 == 'removeItems') {
if (this.__dataProvider.length == 0) {
delete this.selected;
} else {
var v9 = eventObj.removedIDs;
var v10 = v9.length;
var v2 = 0;
while (v2 < v10) {
var v4 = v9[v2];
if (this.selected[v4] != undefined) {
delete this.selected[v4];
}
++v2;
}
for (v2 in this.selected) {
if (this.selected[v2] >= v3) {
this.selected[v2] -= v6 - v3 + 1;
}
}
}
} else {
if (v7 == 'sort') {
if (typeof this.__dataProvider.getItemAt(0) != 'object') {
delete this.selected;
} else {
var v10 = this.__dataProvider.length;
var v2 = 0;
while (v2 < v10) {
if (this.isSelected(v2)) {
var v4 = this.__dataProvider.getItemID(v2);
if (v4 == this.lastSelID) {
this.lastSelected = v2;
}
this.selected[v4] = v2;
}
++v2;
}
}
} else {
if (v7 == 'filterModel') {
this.setVPosition(0);
}
}
}
}
this.invUpdateControl = true;
this.invalidate();
};
v2.getValue = function (Void) {
var v2 = this.getSelectedItem();
if (typeof v2 != 'object') {
return v2;
}
return (v2.data == undefined) ? v2.label : v2.data;
};
v2.getSelectedIndex = function (Void) {
for (var v3 in this.selected) {
var v2 = this.selected[v3];
if (v2 != undefined) {
return v2;
}
}
};
v2.setSelectedIndex = function (index) {
if (index >= 0 && index < this.__dataProvider.length && this.enabled) {
delete this.selected;
this.selectItem(index, true);
this.lastSelected = index;
this.invUpdateControl = true;
this.invalidate();
} else {
if (index == undefined) {
this.clearSelected();
}
}
};
v2.getSelectedIndices = function (Void) {
var v2 = new Array();
for (var v3 in this.selected) {
v2.push(this.selected[v3]);
}
v2.reverse();
return v2.length > 0 ? v2 : undefined;
};
v2.setSelectedIndices = function (indexArray) {
if (this.multipleSelection != true) {
return undefined;
}
delete this.selected;
var v3 = 0;
while (v3 < indexArray.length) {
var v2 = indexArray[v3];
if (v2 >= 0 && v2 < this.__dataProvider.length) {
this.selectItem(v2, true);
}
++v3;
}
this.invUpdateControl = true;
this.updateControl();
};
v2.getSelectedItems = function (Void) {
var v3 = this.getSelectedIndices();
var v4 = new Array();
var v2 = 0;
while (v2 < v3.length) {
v4.push(this.getItemAt(v3[v2]));
++v2;
}
return v4.length > 0 ? v4 : undefined;
};
v2.getSelectedItem = function (Void) {
return this.__dataProvider.getItemAt(this.getSelectedIndex());
};
v2.selectItem = function (index, selectedFlag) {
if (this.selected == undefined) {
this.selected = new Object();
}
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return undefined;
}
if (selectedFlag && !this.isSelected(index)) {
this.selected[v2] = index;
} else {
if (!selectedFlag) {
delete this.selected[v2];
}
}
};
v2.isSelected = function (index) {
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return false;
}
return this.selected[v2] != undefined;
};
v2.clearSelected = function (transition) {
var v3 = 0;
for (var v4 in this.selected) {
var v2 = this.selected[v4];
if (v2 != undefined && this.__vPosition <= v2 && v2 < this.__vPosition + this.__rowCount) {
this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'normal', transition && v3 % 3 == 0);
}
++v3;
}
delete this.selected;
};
v1.mixins = new mx.controls.listclasses.DataSelector();
v1.mixinProps = ['setDataProvider', 'getDataProvider', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'sortItemsBy', 'sortItems', 'getLength', 'getItemAt', 'modelChanged', 'calcPreferredWidthFromData', 'calcPreferredHeightFromData', 'getValue', 'getSelectedIndex', 'getSelectedItem', 'getSelectedIndices', 'getSelectedItems', 'selectItem', 'isSelected', 'clearSelected', 'setSelectedIndex', 'setSelectedIndices'];
ASSetPropFlags(mx.controls.listclasses.DataSelector.prototype, null, 1);
}
#endinitclip
}
movieClip 75 __Packages.mx.controls.listclasses.DataProvider {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.DataProvider) {
var v1 = function (obj) {
super();
};
mx.controls.listclasses.DataProvider = v1;
var v2 = new Object();
mx.controls.listclasses.DataProvider.prototype = v2;
v1.Initialize = function (obj) {
var v4 = mx.controls.listclasses.DataProvider.mixinProps;
var v6 = v4.length;
obj = obj.prototype;
var v3 = 0;
while (v3 < v6) {
obj[v4[v3]] = mx.controls.listclasses.DataProvider.mixins[v4[v3]];
_global.ASSetPropFlags(obj, v4[v3], 1);
++v3;
}
mx.events.EventDispatcher.initialize(obj);
_global.ASSetPropFlags(obj, 'addEventListener', 1);
_global.ASSetPropFlags(obj, 'removeEventListener', 1);
_global.ASSetPropFlags(obj, 'dispatchEvent', 1);
_global.ASSetPropFlags(obj, 'dispatchQueue', 1);
Object.prototype.LargestID = 0;
Object.prototype.getID = function () {
if (this.__ID__ == undefined) {
this.__ID__ = Object.prototype.LargestID++;
_global.ASSetPropFlags(this, '__ID__', 1);
}
return this.__ID__;
};
_global.ASSetPropFlags(Object.prototype, 'LargestID', 1);
_global.ASSetPropFlags(Object.prototype, 'getID', 1);
return true;
};
v2.addItemAt = function (index, value) {
if (index < this.length) {
this.splice(index, 0, value);
} else {
if (index > this.length) {
trace('Cannot add an item past the end of the DataProvider');
return undefined;
}
}
this[index] = value;
this.updateViews('addItems', index, index);
};
v2.addItem = function (value) {
this.addItemAt(this.length, value);
};
v2.addItemsAt = function (index, newItems) {
index = Math.min(this.length, index);
newItems.unshift(index, 0);
this.splice.apply(this, newItems);
newItems.splice(0, 2);
this.updateViews('addItems', index, index + newItems.length - 1);
};
v2.removeItemsAt = function (index, len) {
var v3 = new Array();
var v2 = 0;
while (v2 < len) {
v3.push(this.getItemID(index + v2));
++v2;
}
var v6 = this.splice(index, len);
this.dispatchEvent({'type': 'modelChanged', 'eventName': 'removeItems', 'firstItem': index, 'lastItem': index + len - 1, 'removedItems': v6, 'removedIDs': v3});
};
v2.removeItemAt = function (index) {
var v2 = this[index];
this.removeItemsAt(index, 1);
return v2;
};
v2.removeAll = function (Void) {
this.splice(0);
this.updateViews('removeItems', 0, this.length - 1);
};
v2.replaceItemAt = function (index, itemObj) {
if (index < 0 || index >= this.length) {
return undefined;
}
var v3 = this.getItemID(index);
this[index] = itemObj;
this[index].__ID__ = v3;
this.updateViews('updateItems', index, index);
};
v2.getItemAt = function (index) {
return this[index];
};
v2.getItemID = function (index) {
var v2 = this[index];
if (typeof v2 != 'object' && v2 != undefined) {
return index;
} else {
return v2.getID();
}
};
v2.sortItemsBy = function (fieldName, order) {
if (typeof order == 'string') {
this.sortOn(fieldName);
if (order.toUpperCase() == 'DESC') {
this.reverse();
}
} else {
this.sortOn(fieldName, order);
}
this.updateViews('sort');
};
v2.sortItems = function (compareFunc, optionFlags) {
this.sort(compareFunc, optionFlags);
this.updateViews('sort');
};
v2.editField = function (index, fieldName, newData) {
this[index][fieldName] = newData;
this.dispatchEvent({'type': 'modelChanged', 'eventName': 'updateField', 'firstItem': index, 'lastItem': index, 'fieldName': fieldName});
};
v2.getEditingData = function (index, fieldName) {
return this[index][fieldName];
};
v2.updateViews = function (event, first, last) {
this.dispatchEvent({'type': 'modelChanged', 'eventName': event, 'firstItem': first, 'lastItem': last});
};
v1.mixinProps = ['addView', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'getItemAt', 'getItemID', 'sortItemsBy', 'sortItems', 'updateViews', 'addItemsAt', 'removeItemsAt', 'getEditingData', 'editField'];
v1.evtDipatcher = mx.events.EventDispatcher;
v1.mixins = new mx.controls.listclasses.DataProvider();
ASSetPropFlags(mx.controls.listclasses.DataProvider.prototype, null, 1);
}
#endinitclip
}
movieClip 76 __Packages.mx.controls.listclasses.ScrollSelectList {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.ScrollSelectList) {
var v1 = function () {
super();
};
mx.controls.listclasses.ScrollSelectList = v1;
var v2 = new mx.core.ScrollView();
mx.controls.listclasses.ScrollSelectList.prototype = v2;
v2.layoutContent = function (x, y, w, h) {
delete this.invLayoutContent;
var v4 = Math.ceil(h / this.__rowHeight);
this.roundUp = h % this.__rowHeight != 0;
var v12 = v4 - this.__rowCount;
if (v12 < 0) {
var v3 = v4;
while (v3 < this.__rowCount) {
this.rows[v3].removeMovieClip();
delete this.rows[v3];
++v3;
}
this.topRowZ += v12;
} else {
if (v12 > 0) {
if (this.rows == undefined) {
this.rows = new Array();
}
var v3 = this.__rowCount;
while (v3 < v4) {
this.rows[v3] = this.listContent.createObject(this.__rowRenderer, 'listRow' + this.topRowZ++, this.topRowZ, {'owner': this, 'styleName': this, 'rowIndex': v3});
var v2 = this.rows[v3];
v2._x = x;
v2._y = Math.round(v3 * this.__rowHeight + y);
v2.setSize(w, this.__rowHeight);
v2.drawRow(this.__dataProvider.getItemAt(this.__vPosition + v3), this.getStateAt(this.__vPosition + v3));
v2.lastY = v2._y;
++v3;
}
}
}
if (w != this.tW) {
var v11 = v12 > 0 ? this.__rowCount : v4;
v3 = 0;
while (v3 < v11) {
this.rows[v3].setSize(w, this.__rowHeight);
++v3;
}
}
if (this.layoutX != x || this.layoutY != y) {
v3 = 0;
while (v3 < v4) {
this.rows[v3]._x = x;
this.rows[v3]._y = Math.round(v3 * this.__rowHeight + y);
++v3;
}
}
this.__rowCount = v4;
this.layoutX = x;
this.layoutY = y;
this.tW = w;
this.tH = h;
};
v2.getRowHeight = function (Void) {
return this.__rowHeight;
};
v2.setRowHeight = function (v) {
this.__rowHeight = v;
this.invRowHeight = true;
this.invalidate();
};
v2.__get__rowHeight = function () {
return this.getRowHeight();
};
v2.__set__rowHeight = function (w) {
this.setRowHeight(w);
return this.__get__rowHeight();
};
v2.setRowCount = function (v) {
this.__rowCount = v;
};
v2.getRowCount = function (Void) {
if (this.__rowCount != 0) {
var v2 = this.__rowCount;
return v2;
}
var v2 = Math.ceil(this.__height / this.__rowHeight);
return v2;
};
v2.__get__rowCount = function () {
return this.getRowCount();
};
v2.__set__rowCount = function (w) {
this.setRowCount(w);
return this.__get__rowCount();
};
v2.setEnabled = function (v) {
super.setEnabled(v);
this.invUpdateControl = true;
this.invalidate();
};
v2.setCellRenderer = function (cR) {
this.__cellRenderer = cR;
var v2 = 0;
while (v2 < this.rows.length) {
this.rows[v2].setCellRenderer(true);
++v2;
}
this.invUpdateControl = true;
this.invalidate();
};
v2.__set__cellRenderer = function (cR) {
this.setCellRenderer(cR);
return this.__get__cellRenderer();
};
v2.__get__cellRenderer = function () {
return this.__cellRenderer;
};
v2.__set__labelField = function (field) {
this.setLabelField(field);
return this.__get__labelField();
};
v2.setLabelField = function (field) {
this.__labelField = field;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__labelField = function () {
return this.__labelField;
};
v2.__set__labelFunction = function (func) {
this.setLabelFunction(func);
return this.__get__labelFunction();
};
v2.setLabelFunction = function (func) {
this.__labelFunction = func;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__labelFunction = function () {
return this.__labelFunction;
};
v2.__set__iconField = function (field) {
this.setIconField(field);
return this.__get__iconField();
};
v2.setIconField = function (field) {
this.__iconField = field;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__iconField = function () {
return this.__iconField;
};
v2.__set__iconFunction = function (func) {
this.setIconFunction(func);
return this.__get__iconFunction();
};
v2.setIconFunction = function (func) {
this.__iconFunction = func;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__iconFunction = function () {
return this.__iconFunction;
};
v2.setVPosition = function (pos) {
if (pos < 0) {
return undefined;
}
if (pos > 0 && pos > this.getLength() - this.__rowCount + this.roundUp) {
return undefined;
}
var v8 = pos - this.__vPosition;
if (v8 == 0) {
return undefined;
}
this.__vPosition = pos;
var v10 = v8 > 0;
v8 = Math.abs(v8);
if (v8 >= this.__rowCount) {
this.updateControl();
} else {
var v4 = new Array();
var v9 = this.__rowCount - v8;
var v12 = v8 * this.__rowHeight;
var v11 = v9 * this.__rowHeight;
var v6 = v10 ? 1 : -1;
var v3 = 0;
while (v3 < this.__rowCount) {
if (v3 < v8 && v10 || v3 >= v9 && !v10) {
this.rows[v3]._y += Math.round(v6 * v11);
var v5 = v3 + v6 * v9;
var v7 = this.__vPosition + v5;
v4[v5] = this.rows[v3];
v4[v5].rowIndex = v5;
v4[v5].drawRow(this.__dataProvider.getItemAt(v7), this.getStateAt(v7), false);
} else {
this.rows[v3]._y -= Math.round(v6 * v12);
var v5 = v3 - v6 * v8;
v4[v5] = this.rows[v3];
v4[v5].rowIndex = v5;
}
++v3;
}
this.rows = v4;
v3 = 0;
while (v3 < this.__rowCount) {
this.rows[v3].swapDepths(this.baseRowZ + v3);
++v3;
}
}
this.lastPosition = pos;
super.setVPosition(pos);
};
v2.setPropertiesAt = function (index, obj) {
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return undefined;
}
if (this.propertyTable == undefined) {
this.propertyTable = new Object();
}
this.propertyTable[v2] = obj;
this.rows[index - this.__vPosition].drawRow(this.__dataProvider.getItemAt(index), this.getStateAt(index));
};
v2.getPropertiesAt = function (index) {
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return undefined;
}
return this.propertyTable[v2];
};
v2.getPropertiesOf = function (obj) {
var v2 = obj.getID();
if (v2 == undefined) {
return undefined;
}
return this.propertyTable[v2];
};
v2.getStyle = function (styleProp) {
var v2 = super.getStyle(styleProp);
var v3 = mx.styles.StyleManager.colorNames[v2];
if (v3 != undefined) {
v2 = v3;
}
return v2;
};
v2.updateControl = function (Void) {
var v2 = 0;
while (v2 < this.__rowCount) {
this.rows[v2].drawRow(this.__dataProvider.getItemAt(v2 + this.__vPosition), this.getStateAt(v2 + this.__vPosition));
++v2;
}
delete this.invUpdateControl;
};
v2.getStateAt = function (index) {
return this.isSelected(index) ? 'selected' : 'normal';
};
v2.selectRow = function (rowIndex, transition, allowChangeEvent) {
if (!this.selectable) {
return undefined;
}
var v3 = this.__vPosition + rowIndex;
var v8 = this.__dataProvider.getItemAt(v3);
var v5 = this.rows[rowIndex];
if (v8 == undefined) {
return undefined;
}
if (transition == undefined) {
transition = true;
}
if (allowChangeEvent == undefined) {
allowChangeEvent = this.wasKeySelected;
}
this.changeFlag = true;
if (!this.multipleSelection && !Key.isDown(17) || !Key.isDown(16) && !Key.isDown(17)) {
this.clearSelected(transition);
this.selectItem(v3, true);
this.lastSelected = v3;
v5.drawRow(v5.item, this.getStateAt(v3), transition);
} else {
if (Key.isDown(16) && this.multipleSelection) {
if (this.lastSelected == undefined) {
this.lastSelected = v3;
}
var v4 = this.lastSelected < v3 ? 1 : -1;
this.clearSelected(false);
var v2 = this.lastSelected;
while (v2 != v3) {
this.selectItem(v2, true);
if (v2 >= this.__vPosition && v2 < this.__vPosition + this.__rowCount) {
this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'selected', false);
}
v2 += v4;
}
this.selectItem(v3, true);
v5.drawRow(v5.item, 'selected', transition);
} else {
if (Key.isDown(17)) {
var v7 = this.isSelected(v3);
if (!this.multipleSelection || this.wasKeySelected) {
this.clearSelected(transition);
}
if (!(!this.multipleSelection && v7)) {
this.selectItem(v3, !v7);
var v9 = !v7 ? 'selected' : 'normal';
v5.drawRow(v5.item, v9, transition);
}
this.lastSelected = v3;
}
}
}
if (allowChangeEvent) {
this.dispatchEvent({'type': 'change'});
}
delete this.wasKeySelected;
};
v2.dragScroll = function (Void) {
clearInterval(this.dragScrolling);
if (this._ymouse < 0) {
this.setVPosition(this.__vPosition - 1);
this.selectRow(0, false);
var v2 = Math.min(-this._ymouse - 30, 0);
this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval;
this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval);
this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition});
} else {
if (this._ymouse > this.__height) {
var v3 = this.__vPosition;
this.setVPosition(this.__vPosition + 1);
if (v3 != this.__vPosition) {
this.selectRow(this.__rowCount - 1 - this.roundUp, false);
}
var v2 = Math.min(this._ymouse - this.__height - 30, 0);
this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval;
this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval);
this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition});
} else {
this.dragScrolling = setInterval(this, 'dragScroll', 15);
}
}
updateAfterEvent();
};
v2.__onMouseUp = function (Void) {
clearInterval(this.dragScrolling);
delete this.dragScrolling;
delete this.dragScrolling;
delete this.isPressed;
delete this.onMouseUp;
if (!this.selectable) {
return undefined;
}
if (this.changeFlag) {
this.dispatchEvent({'type': 'change'});
}
delete this.changeFlag;
};
v2.moveSelBy = function (incr) {
if (!this.selectable) {
this.setVPosition(this.__vPosition + incr);
return undefined;
}
var v3 = this.getSelectedIndex();
if (v3 == undefined) {
v3 = -1;
}
var v2 = v3 + incr;
v2 = Math.max(0, v2);
v2 = Math.min(this.getLength() - 1, v2);
if (v2 == v3) {
return undefined;
}
if (v3 < this.__vPosition || v3 >= this.__vPosition + this.__rowCount) {
this.setVPosition(v3);
}
if (v2 >= this.__vPosition + this.__rowCount - this.roundUp || v2 < this.__vPosition) {
this.setVPosition(this.__vPosition + incr);
}
this.wasKeySelected = true;
this.selectRow(v2 - this.__vPosition, false);
};
v2.keyDown = function (e) {
if (this.selectable) {
if (this.findInputText()) {
return undefined;
}
}
if (e.code == 40) {
this.moveSelBy(1);
} else {
if (e.code == 38) {
this.moveSelBy(-1);
} else {
if (e.code == 34) {
if (this.selectable) {
var v3 = this.getSelectedIndex();
if (v3 == undefined) {
v3 = 0;
}
this.setVPosition(v3);
}
this.moveSelBy(this.__rowCount - 1 - this.roundUp);
} else {
if (e.code == 33) {
if (this.selectable) {
var v3 = this.getSelectedIndex();
if (v3 == undefined) {
v3 = 0;
}
this.setVPosition(v3);
}
this.moveSelBy(1 - this.__rowCount + this.roundUp);
} else {
if (e.code == 36) {
this.moveSelBy(-this.__dataProvider.length);
} else {
if (e.code == 35) {
this.moveSelBy(this.__dataProvider.length);
}
}
}
}
}
}
};
v2.findInputText = function (Void) {
var v2 = Key.getAscii();
if (v2 >= 33 && v2 <= 126) {
this.findString(String.fromCharCode(v2));
return true;
}
};
v2.findString = function (str) {
if (this.__dataProvider.length == 0) {
return undefined;
}
var v4 = this.getSelectedIndex();
if (v4 == undefined) {
v4 = 0;
}
var v6 = 0;
var v3 = v4 + 1;
while (v3 != v4) {
var v2 = this.__dataProvider.getItemAt(v3);
if (v2 instanceof XMLNode) {
v2 = v2.attributes[this.__labelField];
} else {
if (typeof v2 != 'string') {
v2 = String(v2[this.__labelField]);
}
}
v2 = v2.substring(0, str.length);
if (str == v2 || str.toUpperCase() == v2.toUpperCase()) {
v6 = v3 - v4;
break;
}
if (v3 >= this.getLength() - 1) {
v3 = -1;
}
++v3;
}
if (v6 != 0) {
this.moveSelBy(v6);
}
};
v2.onRowPress = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
this.isPressed = true;
this.dragScrolling = setInterval(this, 'dragScroll', 15);
this.onMouseUp = this.__onMouseUp;
if (!this.selectable) {
return undefined;
}
this.selectRow(rowIndex);
};
v2.onRowRelease = function (rowIndex) {};
v2.onRowRollOver = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
var v2 = this.rows[rowIndex].item;
if (this.getStyle('useRollOver') && v2 != undefined) {
this.rows[rowIndex].drawRow(v2, 'highlighted', false);
}
this.dispatchEvent({'type': 'itemRollOver', 'index': rowIndex + this.__vPosition});
};
v2.onRowRollOut = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
if (this.getStyle('useRollOver')) {
this.rows[rowIndex].drawRow(this.rows[rowIndex].item, this.getStateAt(rowIndex + this.__vPosition), false);
}
this.dispatchEvent({'type': 'itemRollOut', 'index': rowIndex + this.__vPosition});
};
v2.onRowDragOver = function (rowIndex) {
if (!this.enabled || this.isPressed != true || !this.selectable) {
return undefined;
}
if (this.dropEnabled) {
} else {
if (this.dragScrolling) {
this.selectRow(rowIndex, false);
} else {
this.onMouseUp = this.__onMouseUp;
this.onRowPress(rowIndex);
}
}
};
v2.onRowDragOut = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
if (this.dragEnabled) {
} else {
this.onRowRollOut(rowIndex);
}
};
v2.init = function (Void) {
super.init();
this.tabEnabled = true;
this.tabChildren = false;
if (this.__dataProvider == undefined) {
this.__dataProvider = new Array();
this.__dataProvider.addEventListener('modelChanged', this);
}
this.topRowZ = 10;
this.baseRowZ = 10;
};
v2.createChildren = function (Void) {
super.createChildren();
this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH);
this.invLayoutContent = true;
this.invalidate();
};
v2.draw = function (Void) {
if (this.invRowHeight) {
delete this.invRowHeight;
this.__rowCount = 0;
this.listContent.removeMovieClip();
this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH);
}
if (this.invUpdateControl) {
this.updateControl();
}
this.border_mc.draw();
};
v2.invalidateStyle = function (propName) {
if (this.isRowStyle[propName]) {
this.invUpdateControl = true;
this.invalidate();
} else {
var v3 = 0;
while (v3 < this.__rowCount) {
this.rows[v3].invalidateStyle(propName);
++v3;
}
}
super.invalidateStyle(propName);
};
v1.mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList);
v1.mixIt2 = mx.controls.listclasses.DataProvider.Initialize(Array);
v2.CONTENTDEPTH = 100;
v2.__hPosition = 0;
v2.__rowRenderer = 'SelectableRow';
v2.__rowHeight = 22;
v2.__rowCount = 0;
v2.__labelField = 'label';
v2.minScrollInterval = 30;
v2.dropEnabled = false;
v2.dragEnabled = false;
v2.className = 'ScrollSelectList';
v2.isRowStyle = {'styleName': true, 'backgroundColor': true, 'selectionColor': true, 'rollOverColor': true, 'selectionDisabledColor': true, 'backgroundDisabledColor': true, 'textColor': true, 'textSelectedColor': true, 'textRollOverColor': true, 'textDisabledColor': true, 'alternatingRowColors': true, 'defaultIcon': true};
v2.roundUp = 0;
v2.selectable = true;
v2.multipleSelection = false;
v2.addProperty('cellRenderer', v2.__get__cellRenderer, v2.__set__cellRenderer);
v2.addProperty('iconField', v2.__get__iconField, v2.__set__iconField);
v2.addProperty('iconFunction', v2.__get__iconFunction, v2.__set__iconFunction);
v2.addProperty('labelField', v2.__get__labelField, v2.__set__labelField);
v2.addProperty('labelFunction', v2.__get__labelFunction, v2.__set__labelFunction);
v2.addProperty('rowCount', v2.__get__rowCount, v2.__set__rowCount);
v2.addProperty('rowHeight', v2.__get__rowHeight, v2.__set__rowHeight);
ASSetPropFlags(mx.controls.listclasses.ScrollSelectList.prototype, null, 1);
}
#endinitclip
}
movieClip 77 __Packages.mx.controls.List {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.List) {
var v1 = function () {
super();
};
mx.controls.List = v1;
var v2 = new mx.controls.listclasses.ScrollSelectList();
mx.controls.List.prototype = v2;
v2.setEnabled = function (v) {
super.setEnabled(v);
this.border_mc.backgroundColorName = v ? 'backgroundColor' : 'backgroundDisabledColor';
this.border_mc.invalidate();
};
v2.__get__labels = function () {
return this.__labels;
};
v2.__set__labels = function (lbls) {
this.__labels = lbls;
this.setDataProvider(lbls);
return this.__get__labels();
};
v2.setVPosition = function (pos) {
pos = Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, pos);
pos = Math.max(0, pos);
super.setVPosition(pos);
};
v2.setHPosition = function (pos) {
pos = Math.max(Math.min(this.__maxHPosition, pos), 0);
super.setHPosition(pos);
this.hScroll(pos);
};
v2.setMaxHPosition = function (pos) {
this.__maxHPosition = pos;
this.invScrollProps = true;
this.invalidate();
};
v2.setHScrollPolicy = function (policy) {
if (policy.toLowerCase() == 'auto' && !this.autoHScrollAble) {
return undefined;
}
super.setHScrollPolicy(policy);
if (policy == 'off') {
this.setHPosition(0);
this.setVPosition(Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, this.__vPosition));
}
};
v2.setRowCount = function (rC) {
if (isNaN(rC)) {
return undefined;
}
var v2 = this.getViewMetrics();
this.setSize(this.__width, this.__rowHeight * rC + v2.top + v2.bottom);
};
v2.layoutContent = function (x, y, tW, tH, dW, dH) {
this.totalWidth = tW;
this.totalHeight = tH;
this.displayWidth = dW;
var v4 = (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == 'auto') ? Math.max(tW, dW) : dW;
super.layoutContent(x, y, v4, dH);
};
v2.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
var v3 = eventObj.eventName;
if (v3 == 'addItems' || v3 == 'removeItems' || v3 == 'updateAll' || v3 == 'filterModel') {
this.invScrollProps = true;
this.invalidate('invScrollProps');
}
};
v2.onScroll = function (eventObj) {
var v3 = eventObj.target;
if (v3 == this.vScroller) {
this.setVPosition(v3.scrollPosition);
} else {
this.hScroll(v3.scrollPosition);
}
super.onScroll(eventObj);
};
v2.hScroll = function (pos) {
this.__hPosition = pos;
this.listContent._x = -pos;
};
v2.init = function (Void) {
super.init();
if ((this.__get__labels()).length > 0) {
var v6 = new Array();
var v3 = 0;
while (v3 < (this.__get__labels()).length) {
v6.addItem({'label': (this.__get__labels())[v3], 'data': this.data[v3]});
++v3;
}
this.setDataProvider(v6);
}
this.__maxHPosition = 0;
};
v2.createChildren = function (Void) {
super.createChildren();
this.listContent.setMask(this.mask_mc);
this.border_mc.move(0, 0);
this.border_mc.setSize(this.__width, this.__height);
};
v2.getRowCount = function (Void) {
var v2 = this.getViewMetrics();
return (this.__rowCount == 0) ? Math.ceil((this.__height - v2.top - v2.bottom) / this.__rowHeight) : this.__rowCount;
};
v2.size = function (Void) {
super.size();
this.configureScrolling();
var v3 = this.getViewMetrics();
this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom);
};
v2.draw = function (Void) {
if (this.invRowHeight) {
this.invScrollProps = true;
super.draw();
this.listContent.setMask(this.mask_mc);
this.invLayoutContent = true;
}
if (this.invScrollProps) {
this.configureScrolling();
delete this.invScrollProps;
}
if (this.invLayoutContent) {
var v3 = this.getViewMetrics();
this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom);
}
super.draw();
};
v2.configureScrolling = function (Void) {
var v2 = this.__dataProvider.length;
if (this.__vPosition > Math.max(0, v2 - this.getRowCount() + this.roundUp)) {
this.setVPosition(Math.max(0, Math.min(v2 - this.getRowCount() + this.roundUp, this.__vPosition)));
}
var v3 = this.getViewMetrics();
var v4 = (this.__hScrollPolicy != 'off') ? this.__maxHPosition + this.__width - v3.left - v3.right : this.__width - v3.left - v3.right;
if (v2 == undefined) {
v2 = 0;
}
this.setScrollProperties(v4, 1, v2, this.__rowHeight);
if (this.oldVWidth != v4) {
this.invLayoutContent = true;
}
this.oldVWidth = v4;
};
v1.symbolOwner = mx.controls.List;
v1.symbolName = 'List';
v2.className = 'List';
v1.version = '2.0.2.127';
v2.clipParameters = {'rowHeight': 1, 'enabled': 1, 'visible': 1, 'labels': 1};
v2.scrollDepth = 1;
v2.__vScrollPolicy = 'on';
v2.autoHScrollAble = false;
v2.addProperty('labels', v2.__get__labels, v2.__set__labels);
ASSetPropFlags(mx.controls.List.prototype, null, 1);
}
#endinitclip
}
movieClip 145 __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 146 __Packages.mx.skins.CustomBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.CustomBorder) {
var v1 = function () {
super();
};
mx.skins.CustomBorder = v1;
var v2 = new mx.skins.Border();
mx.skins.CustomBorder.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.createChildren = function (Void) {};
v2.draw = function (Void) {
if (this.l_mc == undefined) {
var v2 = this.setSkin(mx.skins.CustomBorder.tagL, this.leftSkin);
if (this.horizontal) {
this.minHeight = this.l_mc._height;
this.minWidth = this.l_mc._width;
} else {
this.minHeight = this.l_mc._height;
this.minWidth = this.l_mc._width;
}
}
if (this.m_mc == undefined) {
this.setSkin(mx.skins.CustomBorder.tagM, this.middleSkin);
if (this.horizontal) {
this.minHeight = this.m_mc._height;
this.minWidth += this.m_mc._width;
} else {
this.minHeight += this.m_mc._height;
this.minWidth = this.m_mc._width;
}
}
if (this.r_mc == undefined) {
this.setSkin(mx.skins.CustomBorder.tagR, this.rightSkin);
if (this.horizontal) {
this.minHeight = this.r_mc._height;
this.minWidth += this.r_mc._width;
} else {
this.minHeight += this.r_mc._height;
this.minWidth = this.r_mc._width;
}
}
this.size();
};
v2.size = function (Void) {
this.l_mc.move(0, 0);
if (this.horizontal) {
this.r_mc.move(this.__get__width() - this.r_mc.width, 0);
this.m_mc.move(this.l_mc.width, 0);
this.m_mc.setSize(this.r_mc.x - this.m_mc.x, this.m_mc.height);
} else {
this.r_mc.move(0, this.__get__height() - this.r_mc.height, 0);
this.m_mc.move(0, this.l_mc.height);
this.m_mc.setSize(this.m_mc.width, this.r_mc.y - this.m_mc.y);
}
};
v1.symbolName = 'CustomBorder';
v1.symbolOwner = mx.skins.CustomBorder;
v1.version = '2.0.2.127';
v2.className = 'CustomBorder';
v1.tagL = 0;
v1.tagM = 1;
v1.tagR = 2;
v2.idNames = new Array('l_mc', 'm_mc', 'r_mc');
v2.leftSkin = 'F3PieceLeft';
v2.middleSkin = 'F3PieceMiddle';
v2.rightSkin = 'F3PieceRight';
v2.horizontal = true;
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.CustomBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 147 __Packages.mx.controls.scrollClasses.ScrollThumb {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.scrollClasses) {
_global.mx.controls.scrollClasses = new Object();
}
if (!_global.mx.controls.scrollClasses.ScrollThumb) {
var v1 = function () {
super();
};
mx.controls.scrollClasses.ScrollThumb = v1;
var v2 = new mx.skins.CustomBorder();
mx.controls.scrollClasses.ScrollThumb.prototype = v2;
v2.createChildren = function (Void) {
super.createChildren();
this.useHandCursor = false;
};
v2.setRange = function (_ymin, _ymax, _datamin, _datamax) {
this.ymin = _ymin;
this.ymax = _ymax;
this.datamin = _datamin;
this.datamax = _datamax;
};
v2.dragThumb = function (Void) {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove += this._y;
if (this.scrollMove < this.ymin) {
this.scrollMove = this.ymin;
} else {
if (this.scrollMove > this.ymax) {
this.scrollMove = this.ymax;
}
}
this._parent.isScrolling = true;
this._y = this.scrollMove;
var v2 = Math.round((this.datamax - this.datamin) * (this._y - this.ymin) / (this.ymax - this.ymin)) + this.datamin;
this._parent.scrollPosition = v2;
this._parent.dispatchScrollEvent('ThumbTrack');
updateAfterEvent();
};
v2.stopDragThumb = function (Void) {
this._parent.isScrolling = false;
this._parent.dispatchScrollEvent('ThumbPosition');
this._parent.dispatchScrollChangedEvent();
delete this.onMouseMove;
};
v2.onPress = function (Void) {
this._parent.pressFocus();
this.lastY = this._ymouse;
this.onMouseMove = this.dragThumb;
super.onPress();
};
v2.onRelease = function (Void) {
this._parent.releaseFocus();
this.stopDragThumb();
super.onRelease();
};
v2.onReleaseOutside = function (Void) {
this._parent.releaseFocus();
this.stopDragThumb();
super.onReleaseOutside();
};
v2.draw = function () {
super.draw();
if (this.grip_mc == undefined) {
this.setSkin(3, this.gripSkin);
}
};
v2.size = function () {
super.size();
this.grip_mc.move((this.__get__width() - this.grip_mc.width) / 2, (this.__get__height() - this.grip_mc.height) / 2);
};
v1.symbolOwner = mx.skins.CustomBorder.symbolOwner;
v2.className = 'ScrollThumb';
v2.btnOffset = 0;
v2.horizontal = false;
v2.idNames = new Array('l_mc', 'm_mc', 'r_mc', 'grip_mc');
ASSetPropFlags(mx.controls.scrollClasses.ScrollThumb.prototype, null, 1);
}
#endinitclip
}
movieClip 148 __Packages.mx.controls.scrollClasses.ScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.scrollClasses) {
_global.mx.controls.scrollClasses = new Object();
}
if (!_global.mx.controls.scrollClasses.ScrollBar) {
var v1 = function () {
super();
};
mx.controls.scrollClasses.ScrollBar = v1;
var v2 = new mx.core.UIComponent();
mx.controls.scrollClasses.ScrollBar.prototype = v2;
v2.__get__scrollPosition = function () {
return this._scrollPosition;
};
v2.__set__scrollPosition = function (pos) {
this._scrollPosition = pos;
if (this.isScrolling != true) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
var v3 = (pos - this.minPos) * (this.scrollTrack_mc.height - this.scrollThumb_mc._height) / (this.maxPos - this.minPos) + this.scrollTrack_mc.top;
this.scrollThumb_mc.move(0, v3);
}
return this.__get__scrollPosition();
};
v2.__get__pageScrollSize = function () {
return this.largeScroll;
};
v2.__set__pageScrollSize = function (lScroll) {
this.largeScroll = lScroll;
return this.__get__pageScrollSize();
};
v2.__set__lineScrollSize = function (sScroll) {
this.smallScroll = sScroll;
return this.__get__lineScrollSize();
};
v2.__get__lineScrollSize = function () {
return this.smallScroll;
};
v2.__get__virtualHeight = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
this._scrollPosition = 0;
this.tabEnabled = false;
this.focusEnabled = false;
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.createChildren = function (Void) {
if (this.scrollTrack_mc == undefined) {
this.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrack, this.scrollTrackName);
}
this.scrollTrack_mc.visible = false;
var v3 = new Object();
v3.enabled = false;
v3.preset = mx.controls.SimpleButton.falseDisabled;
v3.initProperties = 0;
v3.autoRepeat = true;
v3.tabEnabled = false;
var v2;
if (this.upArrow_mc == undefined) {
v2 = this.createButton(this.upArrowName, 'upArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDUpArrow, v3);
}
v2.buttonDownHandler = this.onUpArrow;
v2.clickHandler = this.onScrollChanged;
this._minHeight = v2.height;
this._minWidth = v2.width;
if (this.downArrow_mc == undefined) {
v2 = this.createButton(this.downArrowName, 'downArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDDownArrow, v3);
}
v2.buttonDownHandler = this.onDownArrow;
v2.clickHandler = this.onScrollChanged;
this._minHeight += v2.height;
};
v2.createButton = function (linkageName, id, skinID, o) {
if (skinID == mx.controls.scrollClasses.ScrollBar.skinIDUpArrow) {
o.falseUpSkin = this.upArrowUpName;
o.falseDownSkin = this.upArrowDownName;
o.falseOverSkin = this.upArrowOverName;
var v3 = this.createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return v3;
}
o.falseUpSkin = this.downArrowUpName;
o.falseDownSkin = this.downArrowDownName;
o.falseOverSkin = this.downArrowOverName;
var v3 = this.createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return v3;
};
v2.createThumb = function (Void) {
var v2 = new Object();
v2.validateNow = true;
v2.tabEnabled = false;
v2.leftSkin = this.thumbTopName;
v2.middleSkin = this.thumbMiddleName;
v2.rightSkin = this.thumbBottomName;
v2.gripSkin = this.thumbGripName;
this.createClassObject(mx.controls.scrollClasses.ScrollThumb, 'scrollThumb_mc', mx.controls.scrollClasses.ScrollBar.skinIDThumb, v2);
};
v2.setScrollProperties = function (pSize, mnPos, mxPos, ls) {
var v4;
var v2 = this.scrollTrack_mc;
this.pageSize = pSize;
this.largeScroll = (ls != undefined && ls > 0) ? ls : pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this._scrollPosition = Math.max(this.minPos, this._scrollPosition);
this._scrollPosition = Math.min(this.maxPos, this._scrollPosition);
if (this.maxPos - this.minPos > 0 && this.enabled) {
var v5 = this._scrollPosition;
if (!this.initializing) {
this.upArrow_mc.enabled = true;
this.downArrow_mc.enabled = true;
}
v2.onDragOver = this.startTrackScroller;
v2.onPress = v2.onDragOver;
v2.onRelease = this.releaseScrolling;
v2.stopScrolling = this.stopScrolling;
v2.onDragOut = v2.stopScrolling;
v2.onReleaseOutside = this.releaseScrolling;
v2.useHandCursor = false;
if (this.scrollThumb_mc == undefined) {
this.createThumb();
}
var v3 = this.scrollThumb_mc;
if (this.scrollTrackOverName.length > 0) {
v2.onRollOver = this.trackOver;
v2.onRollOut = this.trackOut;
}
v4 = (this.pageSize / (this.maxPos - this.minPos + this.pageSize)) * v2.height;
if (v4 < v3.minHeight) {
if (v2.height < v3.minHeight) {
v3.__set__visible(false);
} else {
v4 = v3.minHeight;
v3.__set__visible(true);
v3.setSize(this._minWidth, v3.minHeight + 0);
}
} else {
v3.__set__visible(true);
v3.setSize(this._minWidth, v4);
}
v3.setRange(this.upArrow_mc.__get__height() + 0, this.__get__virtualHeight() - this.downArrow_mc.__get__height() - v3.__get__height(), this.minPos, this.maxPos);
v5 = Math.min(v5, this.maxPos);
this.__set__scrollPosition(Math.max(v5, this.minPos));
} else {
this.scrollThumb_mc.__set__visible(false);
if (!this.initializing) {
this.upArrow_mc.enabled = false;
this.downArrow_mc.enabled = false;
}
delete v2.onPress;
delete v2.onDragOver;
delete v2.onRelease;
delete v2.onDragOut;
delete v2.onRollOver;
delete v2.onRollOut;
delete v2.onReleaseOutside;
}
if (this.initializing) {
this.scrollThumb_mc.__set__visible(false);
}
};
v2.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll);
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.scrollTrack_mc.visible = true;
this.upArrow_mc.__set__visible(true);
this.downArrow_mc.__set__visible(true);
}
this.size();
};
v2.size = function (Void) {
if (this._height == 1) {
return undefined;
}
if (this.upArrow_mc == undefined) {
return undefined;
}
var v3 = this.upArrow_mc.__get__height();
var v2 = this.downArrow_mc.__get__height();
this.upArrow_mc.move(0, 0);
var v4 = this.scrollTrack_mc;
v4._y = v3;
v4._height = this.__get__virtualHeight() - v3 - v2;
this.downArrow_mc.move(0, this.__get__virtualHeight() - v2);
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll);
};
v2.dispatchScrollEvent = function (detail) {
this.dispatchEvent({'type': 'scroll', 'detail': detail});
};
v2.isScrollBarKey = function (k) {
if (k == 36) {
if (this.__get__scrollPosition() != 0) {
this.__set__scrollPosition(0);
this.dispatchScrollEvent(this.minMode);
}
return true;
return false;
}
if (k == 35) {
if (this.__get__scrollPosition() < this.maxPos) {
this.__set__scrollPosition(this.maxPos);
this.dispatchScrollEvent(this.maxMode);
}
return true;
}
return false;
};
v2.scrollIt = function (inc, mode) {
var v3 = this.smallScroll;
if (inc != 'Line') {
v3 = (this.largeScroll == 0) ? this.pageSize : this.largeScroll;
}
var v2 = this._scrollPosition + mode * v3;
if (v2 > this.maxPos) {
v2 = this.maxPos;
} else {
if (v2 < this.minPos) {
v2 = this.minPos;
}
}
if (this.__get__scrollPosition() != v2) {
this.__set__scrollPosition(v2);
var v4 = mode < 0 ? this.minusMode : this.plusMode;
this.dispatchScrollEvent(inc + v4);
}
};
v2.startTrackScroller = function (Void) {
this._parent.pressFocus();
if (this._parent.scrollTrackDownName.length > 0) {
if (this._parent.scrollTrackDown_mc == undefined) {
this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackDown, this.scrollTrackDownName);
} else {
this._parent.scrollTrackDown_mc.visible = true;
}
}
this._parent.trackScroller();
this._parent.scrolling = setInterval(this._parent, 'scrollInterval', this.getStyle('repeatDelay'), 'Page', -1);
};
v2.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == 'Page') {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, 'scrollInterval', this.getStyle('repeatInterval'), inc, mode);
};
v2.trackScroller = function (Void) {
if (this.scrollThumb_mc._y + this.scrollThumb_mc.__get__height() < this._ymouse) {
this.scrollIt('Page', 1);
} else {
if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt('Page', -1);
}
}
};
v2.dispatchScrollChangedEvent = function (Void) {
this.dispatchEvent({'type': 'scrollChanged'});
};
v2.stopScrolling = function (Void) {
clearInterval(this._parent.scrolling);
this._parent.scrollTrackDown_mc.visible = false;
};
v2.releaseScrolling = function (Void) {
this._parent.releaseFocus();
this.stopScrolling();
this._parent.dispatchScrollChangedEvent();
};
v2.trackOver = function (Void) {
if (this._parent.scrollTrackOverName.length > 0) {
if (this._parent.scrollTrackOver_mc == undefined) {
this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackOver, this.scrollTrackOverName);
} else {
this._parent.scrollTrackOver_mc.visible = true;
}
}
};
v2.trackOut = function (Void) {
this._parent.scrollTrackOver_mc.visible = false;
};
v2.onUpArrow = function (Void) {
this._parent.scrollIt('Line', -1);
};
v2.onDownArrow = function (Void) {
this._parent.scrollIt('Line', 1);
};
v2.onScrollChanged = function (Void) {
this._parent.dispatchScrollChangedEvent();
};
v1.symbolOwner = mx.core.UIComponent;
v2.className = 'ScrollBar';
v2.minPos = 0;
v2.maxPos = 0;
v2.pageSize = 0;
v2.largeScroll = 0;
v2.smallScroll = 1;
v2._scrollPosition = 0;
v2.scrollTrackName = 'ScrollTrack';
v2.scrollTrackOverName = '';
v2.scrollTrackDownName = '';
v2.upArrowName = 'BtnUpArrow';
v2.upArrowUpName = 'ScrollUpArrowUp';
v2.upArrowOverName = 'ScrollUpArrowOver';
v2.upArrowDownName = 'ScrollUpArrowDown';
v2.downArrowName = 'BtnDownArrow';
v2.downArrowUpName = 'ScrollDownArrowUp';
v2.downArrowOverName = 'ScrollDownArrowOver';
v2.downArrowDownName = 'ScrollDownArrowDown';
v2.thumbTopName = 'ScrollThumbTopUp';
v2.thumbMiddleName = 'ScrollThumbMiddleUp';
v2.thumbBottomName = 'ScrollThumbBottomUp';
v2.thumbGripName = 'ScrollThumbGripUp';
v1.skinIDTrack = 0;
v1.skinIDTrackOver = 1;
v1.skinIDTrackDown = 2;
v1.skinIDUpArrow = 3;
v1.skinIDDownArrow = 4;
v1.skinIDThumb = 5;
v2.idNames = new Array('scrollTrack_mc', 'scrollTrackOver_mc', 'scrollTrackDown_mc', 'upArrow_mc', 'downArrow_mc');
v2.clipParameters = {'minPos': 1, 'maxPos': 1, 'pageSize': 1, 'scrollPosition': 1, 'lineScrollSize': 1, 'pageScrollSize': 1, 'visible': 1, 'enabled': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
v2.initializing = true;
v2.addProperty('lineScrollSize', v2.__get__lineScrollSize, v2.__set__lineScrollSize);
v2.addProperty('pageScrollSize', v2.__get__pageScrollSize, v2.__set__pageScrollSize);
v2.addProperty('scrollPosition', v2.__get__scrollPosition, v2.__set__scrollPosition);
v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {});
ASSetPropFlags(mx.controls.scrollClasses.ScrollBar.prototype, null, 1);
}
#endinitclip
}
movieClip 149 __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 150 __Packages.mx.controls.listclasses.SelectableRow {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.SelectableRow) {
var v1 = function () {
super();
};
mx.controls.listclasses.SelectableRow = v1;
var v2 = new mx.core.UIComponent();
mx.controls.listclasses.SelectableRow.prototype = v2;
v2.setValue = function (itmObj, state) {
var v7 = this.__height;
var v2 = this.cell;
var v5 = this.owner;
var v8 = this.itemToString(itmObj);
if (v2.getValue() != v8) {
v2.setValue(v8, itmObj, state);
}
var v4 = (v5.getPropertiesAt(this.rowIndex + v5.__vPosition)).icon;
if (v4 == undefined) {
v4 = v5.__iconFunction(itmObj);
if (v4 == undefined) {
v4 = itmObj[v5.__iconField];
if (v4 == undefined) {
v4 = v5.getStyle('defaultIcon');
}
}
}
var v3 = this.icon_mc;
if (v4 != undefined && itmObj != undefined) {
v3 = this.createObject(v4, 'icon_mc', 20);
v3._x = 2;
v3._y = (v7 - v3._height) / 2;
v2._x = 4 + v3._width;
} else {
v3.removeMovieClip();
v2._x = 2;
}
var v9 = (v3 == undefined) ? 0 : v3._width;
v2.setSize(this.__width - v9, Math.min(v7, v2.getPreferredHeight()));
v2._y = (v7 - v2._height) / 2;
};
v2.size = function (Void) {
var v3 = this.backGround;
var v2 = this.cell;
var v4 = this.__height;
var v5 = this.__width;
var v6 = (this.icon_mc == undefined) ? 0 : this.icon_mc._width;
v2.setSize(v5 - v6, Math.min(v4, v2.getPreferredHeight()));
v2._y = (v4 - v2._height) / 2;
this.icon_mc._y = (v4 - this.icon_mc._height) / 2;
v3._x = 0;
v3._width = v5;
v3._height = v4;
this.drawRowFill(v3, this.normalColor);
this.drawRowFill(this.highlight, this.highlightColor);
};
v2.setCellRenderer = function (forceSizing) {
var v3 = this.owner.__cellRenderer;
var v4;
if (this.cell != undefined) {
v4 = this.cell._x;
this.cell.removeMovieClip();
this.cell.removeTextField();
}
var v2;
if (v3 == undefined) {
this.cell = this.createLabel('cll', 0, {'styleName': this});
v2 = this.cell;
v2.styleName = this.owner;
v2.selectable = false;
v2.tabEnabled = false;
v2.background = false;
v2.border = false;
} else {
if (typeof v3 == 'string') {
this.cell = this.createObject(v3, 'cll', 0, {'styleName': this});
v2 = this.cell;
} else {
this.cell = this.createClassObject(v3, 'cll', 0, {'styleName': this});
v2 = this.cell;
}
}
v2.owner = this;
v2.listOwner = this.owner;
v2.getCellIndex = this.getCellIndex;
v2.getDataLabel = this.getDataLabel;
if (v4 != undefined) {
v2._x = v4;
}
if (forceSizing) {
this.size();
}
};
v2.getCellIndex = function (Void) {
return {'columnIndex': 0, 'itemIndex': this.owner.rowIndex + this.listOwner.__vPosition};
};
v2.getDataLabel = function () {
return this.listOwner.labelField;
};
v2.init = function (Void) {
super.init();
this.tabEnabled = false;
};
v2.createChildren = function (Void) {
this.setCellRenderer(false);
this.setupBG();
this.setState(this.state, false);
};
v2.drawRow = function (itmObj, state, transition) {
this.item = itmObj;
this.setState(state, transition);
this.setValue(itmObj, state, transition);
};
v2.itemToString = function (itmObj) {
if (itmObj == undefined) {
return ' ';
}
var v2 = this.owner.__labelFunction(itmObj);
if (v2 == undefined) {
v2 = itmObj instanceof XMLNode ? itmObj.attributes[this.owner.__labelField] : itmObj[this.owner.__labelField];
if (v2 == undefined) {
v2 = ' ';
if (typeof itmObj == 'object') {
for (var v4 in itmObj) {
if (v4 != '__ID__') {
v2 = itmObj[v4] + ', ' + v2;
}
}
v2 = v2.substring(0, v2.length - 2);
return v2;
}
v2 = itmObj;
}
}
return v2;
};
v2.setupBG = function (Void) {
this.backGround = this.createEmptyMovieClip('bG_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH);
var v2 = this.backGround;
this.drawRowFill(v2, this.normalColor);
this.highlight = this.createEmptyMovieClip('tran_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH + 10);
v2.owner = this;
v2.grandOwner = this.owner;
v2.onPress = this.bGOnPress;
v2.onRelease = this.bGOnRelease;
v2.onRollOver = this.bGOnRollOver;
v2.onRollOut = this.bGOnRollOut;
v2.onDragOver = this.bGOnDragOver;
v2.onDragOut = this.bGOnDragOut;
v2.useHandCursor = false;
v2.trackAsMenu = true;
v2.drawRect = this.drawRect;
this.highlight.drawRect = this.drawRect;
};
v2.drawRowFill = function (mc, newClr) {
mc.clear();
mc.beginFill(newClr);
mc.drawRect(1, 0, this.__width, this.__height);
mc.endFill();
mc._width = this.__width;
mc._height = this.__height;
};
v2.setState = function (newState, transition) {
var v2 = this.highlight;
var v8 = this.backGround;
var v4 = this.__height;
var v3 = this.owner;
if (!v3.enabled) {
if (newState == 'selected' || this.state == 'selected') {
this.highlightColor = v3.getStyle('selectionDisabledColor');
this.drawRowFill(v2, this.highlightColor);
v2._visible = true;
v2._y = 0;
v2._height = v4;
} else {
v2._visible = false;
this.normalColor = v3.getStyle('backgroundDisabledColor');
this.drawRowFill(v8, this.normalColor);
}
this.cell.__enabled = false;
this.cell.setColor(v3.getStyle('disabledColor'));
} else {
this.cell.__enabled = true;
if (transition && (newState == this.state || newState == 'highlighted' && this.state == 'selected')) {
this.isChangedToSelected = true;
return undefined;
}
var v6 = v3.getStyle('selectionDuration');
var v7 = 0;
if (this.isChangedToSelected && newState == 'selected') {
transition = false;
}
var v10 = transition && v6 != 0;
if (newState == 'normal') {
v7 = v3.getStyle('color');
this.normalColor = this.getNormalColor();
this.drawRowFill(v8, this.normalColor);
if (v10) {
v6 /= 2;
v2._height = v4;
v2._width = this.__width;
v2._y = 0;
this.bGTween = new mx.effects.Tween(this, v4 + 2, v4 * 0.2, v6, 5);
} else {
v2._visible = false;
}
delete this.isChangedToSelected;
} else {
this.highlightColor = v3.getStyle((newState == 'highlighted') ? 'rollOverColor' : 'selectionColor');
this.drawRowFill(v2, this.highlightColor);
v2._visible = true;
v7 = v3.getStyle((newState == 'highlighted') ? 'textRollOverColor' : 'textSelectedColor');
if (v10) {
v2._height = v4 * 0.5;
v2._y = (v4 - v2._height) / 2;
this.bGTween = new mx.effects.Tween(this, v2._height, v4 + 2, v6, 5);
var v9 = v3.getStyle('selectionEasing');
if (v9 != undefined) {
this.bGTween.easingEquation = v9;
}
} else {
v2._y = 0;
v2._height = v4;
}
}
this.cell.setColor(v7);
}
this.state = newState;
};
v2.onTweenUpdate = function (val) {
this.highlight._height = val;
this.highlight._y = (this.__height - val) / 2;
};
v2.onTweenEnd = function (val) {
this.onTweenUpdate(val);
this.highlight._visible = this.state != 'normal';
};
v2.getNormalColor = function (Void) {
var v3;
var v2 = this.owner;
if (!this.owner.enabled) {
v3 = v2.getStyle('backgroundDisabledColor');
return v3;
}
var v5 = this.rowIndex + v2.__vPosition;
if (this.rowIndex == undefined) {
v3 = (v2.getPropertiesOf(this.item)).backgroundColor;
} else {
v3 = (v2.getPropertiesAt(v5)).backgroundColor;
}
if (v3 == undefined) {
var v4 = v2.getStyle('alternatingRowColors');
if (v4 == undefined) {
v3 = v2.getStyle('backgroundColor');
return v3;
}
v3 = v4[v5 % v4.length];
}
return v3;
};
v2.invalidateStyle = function (propName) {
this.cell.invalidateStyle(propName);
super.invalidateStyle(propName);
};
v2.bGOnPress = function (Void) {
this.grandOwner.pressFocus();
this.grandOwner.onRowPress(this.owner.rowIndex);
};
v2.bGOnRelease = function (Void) {
this.grandOwner.releaseFocus();
this.grandOwner.onRowRelease(this.owner.rowIndex);
};
v2.bGOnRollOver = function (Void) {
this.grandOwner.onRowRollOver(this.owner.rowIndex);
};
v2.bGOnRollOut = function (Void) {
this.grandOwner.onRowRollOut(this.owner.rowIndex);
};
v2.bGOnDragOver = function (Void) {
this.grandOwner.onRowDragOver(this.owner.rowIndex);
};
v2.bGOnDragOut = function (Void) {
this.grandOwner.onRowDragOut(this.owner.rowIndex);
};
v1.LOWEST_DEPTH = -16384;
v2.state = 'normal';
v2.disabledColor = 15263976;
v2.normalColor = 16777215;
ASSetPropFlags(mx.controls.listclasses.SelectableRow.prototype, null, 1);
}
#endinitclip
}
movieClip 151 __Packages.mx.controls.HScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.HScrollBar) {
var v1 = function () {
super();
};
mx.controls.HScrollBar = v1;
var v2 = new mx.controls.scrollClasses.ScrollBar();
mx.controls.HScrollBar.prototype = v2;
v2.getMinWidth = function (Void) {
return this._minHeight;
};
v2.getMinHeight = function (Void) {
return this._minWidth;
};
v2.init = function (Void) {
super.init();
this._xscale = -100;
this._rotation = -90;
};
v2.__get__virtualHeight = function () {
return this.__width;
};
v2.isScrollBarKey = function (k) {
if (k == 37) {
this.scrollIt('Line', -1);
return true;
return super.isScrollBarKey(k);
}
if (k == 39) {
this.scrollIt('Line', 1);
return true;
}
return super.isScrollBarKey(k);
};
v1.symbolName = 'HScrollBar';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.127';
v2.className = 'HScrollBar';
v2.minusMode = 'Left';
v2.plusMode = 'Right';
v2.minMode = 'AtLeft';
v2.maxMode = 'AtRight';
v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {});
ASSetPropFlags(mx.controls.HScrollBar.prototype, null, 1);
}
#endinitclip
}
movieClip 152 __Packages.mx.controls.VScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.VScrollBar) {
var v1 = function () {
super();
};
mx.controls.VScrollBar = v1;
var v2 = new mx.controls.scrollClasses.ScrollBar();
mx.controls.VScrollBar.prototype = v2;
v2.init = function (Void) {
super.init();
};
v2.isScrollBarKey = function (k) {
if (k == 38) {
this.scrollIt('Line', -1);
return true;
return super.isScrollBarKey(k);
}
if (k == 40) {
this.scrollIt('Line', 1);
return true;
return super.isScrollBarKey(k);
}
if (k == 33) {
this.scrollIt('Page', -1);
return true;
return super.isScrollBarKey(k);
}
if (k == 34) {
this.scrollIt('Page', 1);
return true;
}
return super.isScrollBarKey(k);
};
v1.symbolName = 'VScrollBar';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.127';
v2.className = 'VScrollBar';
v2.minusMode = 'Up';
v2.plusMode = 'Down';
v2.minMode = 'AtTop';
v2.maxMode = 'AtBottom';
ASSetPropFlags(mx.controls.VScrollBar.prototype, null, 1);
}
#endinitclip
}
frame 2 {
gotoAndPlay('1');
}
frame 3 {
function onConnectError(status) {
Loader.Clip.All.Menue.gotoAndStop(1);
}
function Closer() {
Loader.Clip.All.Menue.gotoAndStop(1);
}
function contactPage() {
fscommand('fullscreen', true);
}
function contactPage2() {
fscommand('fullscreen', false);
}
function countFrames() {
if (_root.local.data.quali == 4) {
if (t > 36) {
if (_quality == 'LOW') {
_quality = 'MEDIUM';
}
if (_quality == 'MEDIUM') {
_quality = 'HIGH';
}
}
if (t <= 30) {
if (_quality == 'HIGH') {
_quality = 'MEDIUM';
}
if (_quality == 'MEDIUM') {
_quality = 'LOW';
}
}
}
t = 0;
}
function lol() {
_root.local.flush();
}
stop();
mochi.as2.MochiServices.connect('1554ad3a7474cb27');
_root.VstransEnd = 10;
_root.Vstrans = 10;
_root.VJust = true;
_root.VswitchEditor = false;
var myMenu_cm = new ContextMenu();
myMenu_cm.hideBuiltInItems();
var newItem1_cmi = new ContextMenuItem('fullscreen', contactPage);
var newItem2_cmi = new ContextMenuItem('windowed', contactPage2);
myMenu_cm.customItems.push(newItem1_cmi);
myMenu_cm.customItems.push(newItem2_cmi);
_root.menu = myMenu_cm;
if (_root.local.data.Vtrue != 1) {
_root.local.data.Vtrue = 1;
_root.VfirstTime = true;
}
if (_root.VfirstTime == true) {
_root.local.data.VhelpON = true;
_root.local.data.VmusicON = true;
_root.local.data.VsoundON = true;
_root.local.data.Vrestart = true;
_root.local.data.Vscore = 0;
_root.local.data.Vdepts = new Array();
_root.local.data.money = 0;
_root.local.data.battles = 0;
_root.local.data.quali = 4;
_root.local.data.colorx = 408;
_root.local.data.colory = 217;
_root.local.data.back = 'Paste URL here!';
_root.local.data.backy = 1;
_root.local.data.Vname = 'Tail';
_root.local.data.Vcolor = 16711680;
_root.local.data.Vtrue = 1;
_root.local.data.Team = new Array();
_root.local.data.Items = new Array();
_root.local.data.Team = [[0, 0, 0, 0, 0, 1, Math.round(Math.random() * 20), 0, 0]];
_root.local.data.Items = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
_root.local.data.VinventX = -71;
_root.local.data.VinventY = 800;
_root.local.data.VinventON = 1;
_root.local.data.VshopX = 50;
_root.local.data.VshopY = 80;
_root.local.data.VshopON = 0;
_root.local.data.VbobX = 450;
_root.local.data.VbobY = 220;
_root.local.data.VlobbyX = 147;
_root.local.data.VlobbyY = 800;
_root.local.data.VlobbyON = 1;
_root.local.data.VwaveX = 335;
_root.local.data.VwaveY = 5;
_root.local.data.VwaveON = 0;
_root.local.flush();
}
_root.ATeam = _root.local.data.Team;
_root.AItem = _root.local.data.Items;
_root.Vbobbattle2 = _root.local.data.Vbobbattle;
_root.BIGuy = new Array();
_root.BIGuy = [[2, 0, 0, 0, 0, 1, Math.round(Math.random() * 20), 0, 0], [0, 0, 0, 0, 0, 1, Math.round(Math.random() * 20), 0, 0], [0, 0, 0, 0, 0, 0, Math.round(Math.random() * 20), 0, 0], [0, 0, 0, 0, 0, 0, Math.round(Math.random() * 20), 0, 0], [0, 0, 0, 0, 0, 1, Math.round(Math.random() * 20), 0, 0]];
_root.Vfirst = true;
Loader.Black._alpha = 0;
t = 0;
setInterval(countFrames, 1000);
_root.VnoPlay = false;
Loader.musicb._alpha = 50;
Loader.soundb._alpha = 50;
onEnterFrame = function () {
++t;
if (_root.local.data.VsoundON == true) {
_root.Sbing.setVolume(100);
_root.Sdraw2.setVolume(100);
_root.ArrowHit.setVolume(100);
_root.ExploSound.setVolume(1010);
_root.BowShot.setVolume(100);
_root.FireBurn.setVolume(100);
_root.Blub.setVolume(100);
_root.Magic1.setVolume(100);
_root.Magic2.setVolume(100);
}
if (_root.local.data.VsoundON == false) {
_root.Sbing.setVolume(0);
_root.Sdraw2.setVolume(0);
_root.ArrowHit.setVolume(0);
_root.ExploSound.setVolume(0);
_root.BowShot.setVolume(0);
_root.FireBurn.setVolume(0);
_root.Blub.setVolume(0);
_root.Magic1.setVolume(0);
_root.Magic2.setVolume(0);
}
if (_root.local.data.VmusicON == true) {
if (_root.VstransEnd >= _root.Vstrans) {
_root.VstransEnd -= 4;
}
if (_root.VstransEnd <= _root.Vstrans) {
_root.VstransEnd += 4;
}
_root.Soundtrack.setVolume(_root.VstransEnd);
}
if (_root.local.data.VmusicON == false) {
_root.Soundtrack.setVolume(0);
}
if (_root.VsoundsLoadet >= 9) {
Loader.soundb._alpha = 100;
_root.VsoundsLoadet = -1;
}
if (_root.VmusicLoadet >= 1) {
Loader.musicb._alpha = 100;
_root.VmusicLoadet = -1;
}
if (_root.VsoundsLoadet == -1 && _root.VmusicLoadet == -1 && _root.VnoPlay == false) {
_root.VnoPlay = true;
_root.VmusicLoadet = -2;
_root.VsoundsLoadet = -2;
Loader.gotoAndStop(2);
trace('lol');
}
if (_root.local.data.quali == 1) {
_quality = 'LOW';
}
if (_root.local.data.quali == 2) {
_quality = 'MEDIUM';
}
if (_root.local.data.quali == 3) {
_quality = 'HIGH';
}
Loader.Black._alpha += _root.Vfade;
if (Loader.Black._alpha >= 100) {
Loader.Black._alpha = 100;
}
if (Loader.Black._alpha <= 0) {
Loader.Black._alpha = 0;
}
_root.local.data.Vbobbattle = _root.Vbobbattle2;
};
setInterval(lol, 1000);
_root.Vari = new Array();
i = 1;
while (i <= 20) {
_root.Vari[i] = new Array();
++i;
}
_root.ItemInfo = new Array();
i = 0;
while (i <= 11) {
_root.ItemInfo[i] = new Array();
++i;
}
_root.Vari[1][0] = 124;
_root.Vari[1][1] = 114;
_root.Vari[1][2] = 101;
_root.Vari[1][3] = 116;
_root.Vari[1][4] = 85;
_root.Vari[1][5] = 63;
_root.Vari[1][6] = -111;
_root.Vari[1][7] = 55;
_root.Vari[1][8] = false;
_root.Vari[1][9] = false;
_root.Vari[1][10] = false;
_root.Vari[2][0] = 110;
_root.Vari[2][1] = 82;
_root.Vari[2][2] = 115;
_root.Vari[2][3] = 101;
_root.Vari[2][4] = 108;
_root.Vari[2][5] = 65;
_root.Vari[2][6] = -105;
_root.Vari[2][7] = 68;
_root.Vari[2][8] = false;
_root.Vari[2][9] = true;
_root.Vari[2][10] = true;
_root.Vari[3][0] = 103;
_root.Vari[3][1] = 95;
_root.Vari[3][2] = 105;
_root.Vari[3][3] = 115;
_root.Vari[3][4] = 108;
_root.Vari[3][5] = 104;
_root.Vari[3][6] = -130;
_root.Vari[3][7] = 99;
_root.Vari[3][8] = false;
_root.Vari[3][9] = false;
_root.Vari[3][10] = false;
_root.Vari[4][0] = 132;
_root.Vari[4][1] = 116;
_root.Vari[4][2] = 120;
_root.Vari[4][3] = 100;
_root.Vari[4][4] = 86;
_root.Vari[4][5] = 143;
_root.Vari[4][6] = -137;
_root.Vari[4][7] = 81;
_root.Vari[4][8] = false;
_root.Vari[4][9] = false;
_root.Vari[4][10] = false;
_root.Vari[5][0] = 108;
_root.Vari[5][1] = 114;
_root.Vari[5][2] = 119;
_root.Vari[5][3] = 122;
_root.Vari[5][4] = 120;
_root.Vari[5][5] = 123;
_root.Vari[5][6] = -130;
_root.Vari[5][7] = 115;
_root.Vari[5][8] = true;
_root.Vari[5][9] = false;
_root.Vari[5][10] = false;
_root.Vari[6][0] = 116;
_root.Vari[6][1] = 91;
_root.Vari[6][2] = 87;
_root.Vari[6][3] = 116;
_root.Vari[6][4] = 116;
_root.Vari[6][5] = 53;
_root.Vari[6][6] = -117;
_root.Vari[6][7] = 135;
_root.Vari[6][8] = false;
_root.Vari[6][9] = false;
_root.Vari[6][10] = false;
_root.Vari[7][0] = 88;
_root.Vari[7][1] = 95;
_root.Vari[7][2] = 100;
_root.Vari[7][3] = 117;
_root.Vari[7][4] = 102;
_root.Vari[7][5] = 79;
_root.Vari[7][6] = -103;
_root.Vari[7][7] = 53;
_root.Vari[7][8] = false;
_root.Vari[7][9] = true;
_root.Vari[7][10] = false;
_root.Vari[8][0] = 72;
_root.Vari[8][1] = 120;
_root.Vari[8][2] = 100;
_root.Vari[8][3] = 101;
_root.Vari[8][4] = 110;
_root.Vari[8][5] = 133;
_root.Vari[8][6] = -112;
_root.Vari[8][7] = 98;
_root.Vari[8][8] = false;
_root.Vari[8][9] = true;
_root.Vari[8][10] = false;
_root.Vari[9][0] = 107;
_root.Vari[9][1] = 109;
_root.Vari[9][2] = 83;
_root.Vari[9][3] = 100;
_root.Vari[9][4] = 100;
_root.Vari[9][5] = 100;
_root.Vari[9][6] = -138;
_root.Vari[9][7] = 67;
_root.Vari[9][8] = true;
_root.Vari[9][9] = false;
_root.Vari[9][10] = false;
_root.Vari[10][0] = 68;
_root.Vari[10][1] = 105;
_root.Vari[10][2] = 112;
_root.Vari[10][3] = 95;
_root.Vari[10][4] = 82;
_root.Vari[10][5] = 82;
_root.Vari[10][6] = -86;
_root.Vari[10][7] = 55;
_root.Vari[10][8] = true;
_root.Vari[10][9] = false;
_root.Vari[10][10] = false;
_root.Vari[11][0] = 138;
_root.Vari[11][1] = 109;
_root.Vari[11][2] = 115;
_root.Vari[11][3] = 82;
_root.Vari[11][4] = 118;
_root.Vari[11][5] = 111;
_root.Vari[11][6] = -150;
_root.Vari[11][7] = 56;
_root.Vari[11][8] = true;
_root.Vari[11][9] = true;
_root.Vari[11][10] = false;
_root.Vari[12][0] = 141;
_root.Vari[12][1] = 100;
_root.Vari[12][2] = 105;
_root.Vari[12][3] = 81;
_root.Vari[12][4] = 107;
_root.Vari[12][5] = 122;
_root.Vari[12][6] = -145;
_root.Vari[12][7] = 124;
_root.Vari[12][8] = true;
_root.Vari[12][9] = true;
_root.Vari[12][10] = true;
_root.Vari[13][0] = 116;
_root.Vari[13][1] = 117;
_root.Vari[13][2] = 80;
_root.Vari[13][3] = 81;
_root.Vari[13][4] = 124;
_root.Vari[13][5] = 119;
_root.Vari[13][6] = -106;
_root.Vari[13][7] = 59;
_root.Vari[13][8] = true;
_root.Vari[13][9] = true;
_root.Vari[13][10] = false;
_root.Vari[14][0] = 60;
_root.Vari[14][1] = 82;
_root.Vari[14][2] = 91;
_root.Vari[14][3] = 124;
_root.Vari[14][4] = 95;
_root.Vari[14][5] = 119;
_root.Vari[14][6] = -87;
_root.Vari[14][7] = 64;
_root.Vari[14][8] = false;
_root.Vari[14][9] = false;
_root.Vari[14][10] = false;
_root.Vari[15][0] = 106;
_root.Vari[15][1] = 83;
_root.Vari[15][2] = 94;
_root.Vari[15][3] = 119;
_root.Vari[15][4] = 91;
_root.Vari[15][5] = 139;
_root.Vari[15][6] = -122;
_root.Vari[15][7] = 89;
_root.Vari[15][8] = true;
_root.Vari[15][9] = false;
_root.Vari[15][10] = false;
_root.Vari[16][0] = 137;
_root.Vari[16][1] = 121;
_root.Vari[16][2] = 103;
_root.Vari[16][3] = 104;
_root.Vari[16][4] = 91;
_root.Vari[16][5] = 94;
_root.Vari[16][6] = -158;
_root.Vari[16][7] = 63;
_root.Vari[16][8] = true;
_root.Vari[16][9] = false;
_root.Vari[16][10] = false;
_root.Vari[17][0] = 129;
_root.Vari[17][1] = 76;
_root.Vari[17][2] = 84;
_root.Vari[17][3] = 112;
_root.Vari[17][4] = 110;
_root.Vari[17][5] = 104;
_root.Vari[17][6] = -91;
_root.Vari[17][7] = 138;
_root.Vari[17][8] = false;
_root.Vari[17][9] = true;
_root.Vari[17][10] = false;
_root.Vari[18][0] = 146;
_root.Vari[18][1] = 123;
_root.Vari[18][2] = 77;
_root.Vari[18][3] = 77;
_root.Vari[18][4] = 95;
_root.Vari[18][5] = 121;
_root.Vari[18][6] = -161;
_root.Vari[18][7] = 60;
_root.Vari[18][8] = true;
_root.Vari[18][9] = true;
_root.Vari[18][10] = true;
_root.Vari[19][0] = 99;
_root.Vari[19][1] = 81;
_root.Vari[19][2] = 86;
_root.Vari[19][3] = 81;
_root.Vari[19][4] = 119;
_root.Vari[19][5] = 67;
_root.Vari[19][6] = -84;
_root.Vari[19][7] = 73;
_root.Vari[19][8] = true;
_root.Vari[19][9] = false;
_root.Vari[19][10] = false;
_root.Vari[20][0] = 72;
_root.Vari[20][1] = 80;
_root.Vari[20][2] = 88;
_root.Vari[20][3] = 111;
_root.Vari[20][4] = 88;
_root.Vari[20][5] = 141;
_root.Vari[20][6] = -105;
_root.Vari[20][7] = 77;
_root.Vari[20][8] = false;
_root.Vari[20][9] = false;
_root.Vari[20][10] = false;
_root.ItemInfo[0][0] = 1;
_root.ItemInfo[0][1] = 1;
_root.ItemInfo[0][2] = 10;
_root.ItemInfo[0][3] = 'Axe';
_root.ItemInfo[0][4] = 'Axe';
_root.ItemInfo[0][5] = 0;
_root.ItemInfo[1][0] = 2;
_root.ItemInfo[1][1] = 1;
_root.ItemInfo[1][2] = 10;
_root.ItemInfo[1][3] = 'Shield';
_root.ItemInfo[1][4] = 'Shield';
_root.ItemInfo[1][5] = 1;
_root.ItemInfo[2][0] = 0;
_root.ItemInfo[2][1] = 1;
_root.ItemInfo[2][2] = 20;
_root.ItemInfo[2][3] = 'Bow';
_root.ItemInfo[2][4] = 'Bow';
_root.ItemInfo[2][5] = 2;
_root.ItemInfo[3][0] = 0;
_root.ItemInfo[3][1] = 2;
_root.ItemInfo[3][2] = 30;
_root.ItemInfo[3][3] = 'Firebow';
_root.ItemInfo[3][4] = 'FireBow';
_root.ItemInfo[3][5] = 3;
_root.ItemInfo[4][0] = 3;
_root.ItemInfo[4][1] = 2;
_root.ItemInfo[4][2] = 10;
_root.ItemInfo[4][3] = 'Roller Blades';
_root.ItemInfo[4][4] = 'Rollers';
_root.ItemInfo[4][5] = 4;
_root.ItemInfo[5][0] = 3;
_root.ItemInfo[5][1] = 1;
_root.ItemInfo[5][2] = 10;
_root.ItemInfo[5][3] = 'Iron Ball';
_root.ItemInfo[5][4] = 'Ball';
_root.ItemInfo[5][5] = 5;
_root.ItemInfo[6][0] = 3;
_root.ItemInfo[6][1] = 3;
_root.ItemInfo[6][2] = 40;
_root.ItemInfo[6][3] = 'Horse';
_root.ItemInfo[6][4] = 'Horse';
_root.ItemInfo[6][5] = 6;
_root.ItemInfo[7][0] = 4;
_root.ItemInfo[7][1] = 1;
_root.ItemInfo[7][2] = 20;
_root.ItemInfo[7][3] = 'Dynamite Belt';
_root.ItemInfo[7][4] = 'Dynamite';
_root.ItemInfo[7][5] = 7;
_root.ItemInfo[8][0] = 7;
_root.ItemInfo[8][1] = 1;
_root.ItemInfo[8][2] = 30;
_root.ItemInfo[8][3] = 'Magical Fire Suit';
_root.ItemInfo[8][4] = 'Fox1';
_root.ItemInfo[8][5] = 8;
_root.ItemInfo[9][0] = 7;
_root.ItemInfo[9][1] = 2;
_root.ItemInfo[9][2] = 40;
_root.ItemInfo[9][3] = 'Magical Plant Suit';
_root.ItemInfo[9][4] = 'Fox2';
_root.ItemInfo[9][5] = 9;
_root.ItemInfo[10][0] = 7;
_root.ItemInfo[10][1] = 3;
_root.ItemInfo[10][2] = 50;
_root.ItemInfo[10][3] = 'Magical Rebirth Suit';
_root.ItemInfo[10][4] = 'Fox3';
_root.ItemInfo[10][5] = 10;
_root.ItemInfo[11][0] = 8;
_root.ItemInfo[11][1] = 1;
_root.ItemInfo[11][2] = 20;
_root.ItemInfo[11][3] = 'Glasses';
_root.ItemInfo[11][4] = 'Glasses';
_root.ItemInfo[11][5] = 11;
_root.Vboworder = new Array();
_root.Vboworder[0] = [0, 7, 4, 2, 9, 5, 3, 6, 1, 8];
_root.Vboworder[1] = [6, 9, 8, 4, 0, 1, 2, 5, 3, 7];
_root.Vboworder[2] = [8, 3, 5, 0, 9, 4, 2, 6, 7, 1];
_root.Enemys = new Array();
l = 0;
_root.Enemys[l] = [1, 15];
++l;
_root.Enemys[l] = [1, 15];
++l;
_root.Enemys[l] = [2, 30];
++l;
_root.Enemys[l] = [3, 30];
++l;
_root.Enemys[l] = [[[0, 0, 0, 0, 0, 1, 10, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 0, 0, 0, 0, 1, 10, 0, 0], [0, 1, 0, 0, 0, 1, 10, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [3, 50];
++l;
_root.Enemys[l] = [6, 50];
++l;
_root.Enemys[l] = [10, 100];
++l;
_root.Enemys[l] = [[[0, 0, 0, 0, 0, 1, 1, 0, 0], [0, 0, 0, 0, 0, 1, 2, 0, 0], [0, 0, 1, 0, 0, 1, 3, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 1, 0, 0, 0, 1, 4, 0, 0], [0, 0, 0, 0, 0, 1, 5, 0, 0], [1, 0, 1, 0, 0, 1, 6, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 1, 1, 0, 0, 1, 7, 0, 0], [2, 0, 0, 0, 0, 1, 8, 0, 0], [0, 0, 0, 2, 1, 1, 9, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[1, 1, 1, 0, 0, 1, 12, 0, 0], [2, 0, 0, 0, 0, 1, 11, 0, 0], [0, 0, 0, 2, 1, 1, 10, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 0, 0, 0, 0, 1, 12, 0, 0], [0, 0, 0, 0, 0, 1, 20, 0, 0], [0, 0, 0, 0, 0, 1, 19, 0, 0], [0, 0, 0, 0, 0, 1, 15, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 0, 0, 0, 0, 1, 26, 0, 0], [0, 0, 0, 0, 0, 1, 17, 0], [0, 0, 0, 0, 0, 1, 15, 0, 0], [0, 0, 0, 0, 0, 1, 14, 0, 0], [0, 0, 0, 2, 1, 1, 14, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 0, 0, 0, 0, 1, 5, 0, 0], [0, 0, 0, 0, 0, 1, 2, 0], [0, 0, 0, 3, 0, 1, 3, 0, 0], [2, 0, 1, 0, 0, 1, 15, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 0, 1, 0, 0, 1, 1, 2, 0], [0, 0, 2, 0, 0, 1, 2, 0], [0, 0, 2, 0, 0, 1, 3, 0, 0], [0, 0, 2, 0, 0, 1, 3, 0, 0], [0, 0, 2, 0, 0, 1, 15, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 0, 1, 0, 0, 1, 3, 2, 0], [0, 0, 1, 0, 0, 1, 2, 0], [0, 0, 1, 0, 0, 1, 3, 0, 0], [0, 0, 1, 0, 0, 1, 3, 0, 0], [0, 0, 1, 2, 0, 1, 15, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[0, 0, 0, 0, 0, 1, 10, 0, 0], [0, 0, 0, 0, 0, 1, 10, 0, 0], [0, 0, 0, 0, 0, 1, 10, 0, 0], [0, 0, 0, 0, 0, 1, 10, 0, 0], [0, 0, 0, 0, 0, 1, 10, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [1, 15];
++l;
_root.Enemys[l] = [[[0, 0, 1, 1, 1, 1, 12, 0, 0], [0, 0, 1, 0, 1, 1, 11, 0, 0], [0, 0, 1, 2, 1, 1, 10, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[1, 0, 1, 0, 0, 1, 1, 0, 0], [1, 0, 1, 0, 0, 1, 18, 0, 0], [0, 1, 0, 0, 0, 1, 1, 0, 0], [0, 1, 1, 0, 0, 1, 1, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[2, 1, 1, 1, 0, 1, 13, 0, 1], [1, 0, 1, 0, 0, 1, 1, 0, 0], [1, 0, 1, 0, 0, 1, 18, 0, 0], [0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 1, 0, 0, 0, 1, 1, 0, 0], [0, 1, 1, 0, 0, 1, 1, 0, 0]], 16711680];
++l;
_root.Enemys[l] = [[[2, 1, 1, 1, 0, 1, 1, 0, 0], [0, 0, 1, 0, 0, 1, 2, 3, 0], [2, 0, 0, 0, 0, 1, 3, 0, 0], [1, 1, 1, 3, 0, 1, 4, 0, 0], [0, 1, 1, 1, 0, 1, 5, 0, 0], [0, 0, 1, 2, 1, 1, 6, 0, 0]], 16711680];
++l;
p = 0;
while (p <= 8) {
_root.Enemys[l] = new Array();
_root.Enemys[l][0] = new Array();
k = 0;
_root.Enemys[l][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
++k;
_root.Enemys[l][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
++k;
while (k <= Math.round(p / 2) + 4) {
f = Math.round(Math.random() * 30) / 10 - 1.5;
_root.Enemys[l][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.abs(f) + f), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), 0, Math.round(Math.random() * 0.6)];
++k;
}
_root.Enemys[l][1] = 16711680;
++p;
++l;
}
_root.Sbing.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Sdraw2.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Soundtrack.onLoad = function () {
++_root.VmusicLoadet;
_root.Soundtrack.start(0, 9999);
};
_root.ArrowHit.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.ExploSound.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.BowShot.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.FireBurn.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Blub.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Magic1.onLoad = function () {
++_root.VsoundsLoadet;
};
_root.Magic2.onLoad = function () {
++_root.VsoundsLoadet;
};
}
movieClip 173 {
}
movieClip 174 {
}
// unknown tag 88 length 79
movieClip 177 {
}
movieClip 182 {
}
movieClip 186 {
}
movieClip 187 {
frame 1 {
function goDraw() {
if (Vframe[Vnow].x != -1) {
if (Vnow <= Vlast) {
if (VreDraw >= 1) {
draw_mc.lineStyle(2, 16777215, 100);
draw_mc.lineTo(Vframe[Vnow].x + 50, Vframe[Vnow].y + 50);
}
draw_mc.moveTo(Vframe[Vnow].x + 50, Vframe[Vnow].y + 50);
VreDraw += 1;
}
} else {
VreDraw = 0;
}
Vnow += 1;
}
stop();
createEmptyMovieClip('draw_mc', getNextHighestDepth());
if (_root.VJust == false) {
draw_mc._alpha = 0;
}
Vframe = new Array();
Vlast = 744;
VreDraw = 0;
i = 0;
while (i <= Vlast) {
Vframe[i] = new Object();
++i;
}
Vnow = 0;
onEnterFrame = function () {
i = 0;
while (i <= 7) {
goDraw();
if (_root.VJust == false) {
if (Vnow >= 300) {
delete onEnterFrame;
_parent._parent.gotoAndPlay(2);
}
}
if (Vnow >= Vlast + 200) {
delete onEnterFrame;
_parent._parent.gotoAndPlay(2);
_root.VJust = false;
}
++i;
}
};
Vframe[0].x = -1;
Vframe[0].y = -1;
Vframe[1].x = 227;
Vframe[1].y = 294;
Vframe[2].x = 227;
Vframe[2].y = 294;
Vframe[3].x = 227;
Vframe[3].y = 294;
Vframe[4].x = 227;
Vframe[4].y = 294;
Vframe[5].x = 227;
Vframe[5].y = 294;
Vframe[6].x = 227;
Vframe[6].y = 294;
Vframe[7].x = 227;
Vframe[7].y = 294;
Vframe[8].x = 227;
Vframe[8].y = 294;
Vframe[9].x = 227;
Vframe[9].y = 294;
Vframe[10].x = 227;
Vframe[10].y = 294;
Vframe[11].x = 227;
Vframe[11].y = 295;
Vframe[12].x = 227;
Vframe[12].y = 296;
Vframe[13].x = 227;
Vframe[13].y = 297;
Vframe[14].x = 227;
Vframe[14].y = 297;
Vframe[15].x = 227;
Vframe[15].y = 298;
Vframe[16].x = 227;
Vframe[16].y = 299;
Vframe[17].x = 228;
Vframe[17].y = 301;
Vframe[18].x = 228;
Vframe[18].y = 303;
Vframe[19].x = 228;
Vframe[19].y = 305;
Vframe[20].x = 228;
Vframe[20].y = 306;
Vframe[21].x = 228;
Vframe[21].y = 310;
Vframe[22].x = 229;
Vframe[22].y = 311;
Vframe[23].x = 229;
Vframe[23].y = 313;
Vframe[24].x = 229;
Vframe[24].y = 316;
Vframe[25].x = 229;
Vframe[25].y = 318;
Vframe[26].x = 230;
Vframe[26].y = 320;
Vframe[27].x = 230;
Vframe[27].y = 321;
Vframe[28].x = 230;
Vframe[28].y = 323;
Vframe[29].x = 230;
Vframe[29].y = 323;
Vframe[30].x = 230;
Vframe[30].y = 325;
Vframe[31].x = 230;
Vframe[31].y = 328;
Vframe[32].x = 230;
Vframe[32].y = 329;
Vframe[33].x = 230;
Vframe[33].y = 330;
Vframe[34].x = 230;
Vframe[34].y = 331;
Vframe[35].x = 230;
Vframe[35].y = 332;
Vframe[36].x = 230;
Vframe[36].y = 332;
Vframe[37].x = 230;
Vframe[37].y = 332;
Vframe[38].x = 230;
Vframe[38].y = 333;
Vframe[39].x = 230;
Vframe[39].y = 335;
Vframe[40].x = 230;
Vframe[40].y = 335;
Vframe[41].x = 230;
Vframe[41].y = 335;
Vframe[42].x = 230;
Vframe[42].y = 335;
Vframe[43].x = 230;
Vframe[43].y = 335;
Vframe[44].x = 230;
Vframe[44].y = 335;
Vframe[45].x = 230;
Vframe[45].y = 335;
Vframe[46].x = 230;
Vframe[46].y = 335;
Vframe[47].x = 230;
Vframe[47].y = 335;
Vframe[48].x = 230;
Vframe[48].y = 333;
Vframe[49].x = 230;
Vframe[49].y = 330;
Vframe[50].x = 230;
Vframe[50].y = 328;
Vframe[51].x = 230;
Vframe[51].y = 325;
Vframe[52].x = 230;
Vframe[52].y = 324;
Vframe[53].x = 230;
Vframe[53].y = 321;
Vframe[54].x = 230;
Vframe[54].y = 319;
Vframe[55].x = 230;
Vframe[55].y = 318;
Vframe[56].x = 230;
Vframe[56].y = 316;
Vframe[57].x = 230;
Vframe[57].y = 313;
Vframe[58].x = 230;
Vframe[58].y = 312;
Vframe[59].x = 230;
Vframe[59].y = 311;
Vframe[60].x = 230;
Vframe[60].y = 310;
Vframe[61].x = 230;
Vframe[61].y = 308;
Vframe[62].x = 230;
Vframe[62].y = 306;
Vframe[63].x = 230;
Vframe[63].y = 304;
Vframe[64].x = 230;
Vframe[64].y = 304;
Vframe[65].x = 230;
Vframe[65].y = 303;
Vframe[66].x = 231;
Vframe[66].y = 301;
Vframe[67].x = 232;
Vframe[67].y = 300;
Vframe[68].x = 233;
Vframe[68].y = 299;
Vframe[69].x = 233;
Vframe[69].y = 298;
Vframe[70].x = 234;
Vframe[70].y = 298;
Vframe[71].x = 235;
Vframe[71].y = 297;
Vframe[72].x = 236;
Vframe[72].y = 296;
Vframe[73].x = 236;
Vframe[73].y = 296;
Vframe[74].x = 237;
Vframe[74].y = 295;
Vframe[75].x = 238;
Vframe[75].y = 295;
Vframe[76].x = 239;
Vframe[76].y = 294;
Vframe[77].x = 240;
Vframe[77].y = 294;
Vframe[78].x = 240;
Vframe[78].y = 294;
Vframe[79].x = 241;
Vframe[79].y = 294;
Vframe[80].x = 241;
Vframe[80].y = 294;
Vframe[81].x = 242;
Vframe[81].y = 294;
Vframe[82].x = 244;
Vframe[82].y = 294;
Vframe[83].x = 244;
Vframe[83].y = 294;
Vframe[84].x = 245;
Vframe[84].y = 294;
Vframe[85].x = 246;
Vframe[85].y = 295;
Vframe[86].x = 247;
Vframe[86].y = 296;
Vframe[87].x = 247;
Vframe[87].y = 296;
Vframe[88].x = 249;
Vframe[88].y = 297;
Vframe[89].x = 250;
Vframe[89].y = 298;
Vframe[90].x = 250;
Vframe[90].y = 299;
Vframe[91].x = 251;
Vframe[91].y = 300;
Vframe[92].x = 251;
Vframe[92].y = 300;
Vframe[93].x = 252;
Vframe[93].y = 303;
Vframe[94].x = 252;
Vframe[94].y = 305;
Vframe[95].x = 253;
Vframe[95].y = 306;
Vframe[96].x = 253;
Vframe[96].y = 308;
Vframe[97].x = 253;
Vframe[97].y = 310;
Vframe[98].x = 253;
Vframe[98].y = 313;
Vframe[99].x = 253;
Vframe[99].y = 314;
Vframe[100].x = 253;
Vframe[100].y = 316;
Vframe[101].x = 253;
Vframe[101].y = 317;
Vframe[102].x = 253;
Vframe[102].y = 319;
Vframe[103].x = 253;
Vframe[103].y = 321;
Vframe[104].x = 253;
Vframe[104].y = 322;
Vframe[105].x = 253;
Vframe[105].y = 324;
Vframe[106].x = 253;
Vframe[106].y = 325;
Vframe[107].x = 253;
Vframe[107].y = 326;
Vframe[108].x = 253;
Vframe[108].y = 326;
Vframe[109].x = 253;
Vframe[109].y = 326;
Vframe[110].x = 253;
Vframe[110].y = 327;
Vframe[111].x = 252;
Vframe[111].y = 328;
Vframe[112].x = 252;
Vframe[112].y = 328;
Vframe[113].x = 252;
Vframe[113].y = 328;
Vframe[114].x = 252;
Vframe[114].y = 330;
Vframe[115].x = 252;
Vframe[115].y = 331;
Vframe[116].x = 252;
Vframe[116].y = 331;
Vframe[117].x = 252;
Vframe[117].y = 332;
Vframe[118].x = 252;
Vframe[118].y = 333;
Vframe[119].x = 251;
Vframe[119].y = 334;
Vframe[120].x = 251;
Vframe[120].y = 335;
Vframe[121].x = 251;
Vframe[121].y = 335;
Vframe[122].x = 251;
Vframe[122].y = 335;
Vframe[123].x = 251;
Vframe[123].y = 335;
Vframe[124].x = 251;
Vframe[124].y = 336;
Vframe[125].x = 251;
Vframe[125].y = 336;
Vframe[126].x = 251;
Vframe[126].y = 336;
Vframe[127].x = 251;
Vframe[127].y = 336;
Vframe[128].x = 251;
Vframe[128].y = 336;
Vframe[129].x = -1;
Vframe[129].y = -1;
Vframe[130].x = 278;
Vframe[130].y = 294;
Vframe[131].x = 278;
Vframe[131].y = 294;
Vframe[132].x = 278;
Vframe[132].y = 294;
Vframe[133].x = 278;
Vframe[133].y = 294;
Vframe[134].x = 278;
Vframe[134].y = 294;
Vframe[135].x = 278;
Vframe[135].y = 294;
Vframe[136].x = 277;
Vframe[136].y = 294;
Vframe[137].x = 277;
Vframe[137].y = 294;
Vframe[138].x = 276;
Vframe[138].y = 294;
Vframe[139].x = 276;
Vframe[139].y = 294;
Vframe[140].x = 275;
Vframe[140].y = 295;
Vframe[141].x = 274;
Vframe[141].y = 295;
Vframe[142].x = 274;
Vframe[142].y = 296;
Vframe[143].x = 273;
Vframe[143].y = 296;
Vframe[144].x = 272;
Vframe[144].y = 297;
Vframe[145].x = 271;
Vframe[145].y = 298;
Vframe[146].x = 270;
Vframe[146].y = 300;
Vframe[147].x = 269;
Vframe[147].y = 300;
Vframe[148].x = 268;
Vframe[148].y = 301;
Vframe[149].x = 268;
Vframe[149].y = 303;
Vframe[150].x = 267;
Vframe[150].y = 305;
Vframe[151].x = 266;
Vframe[151].y = 306;
Vframe[152].x = 266;
Vframe[152].y = 307;
Vframe[153].x = 265;
Vframe[153].y = 310;
Vframe[154].x = 264;
Vframe[154].y = 312;
Vframe[155].x = 264;
Vframe[155].y = 314;
Vframe[156].x = 264;
Vframe[156].y = 316;
Vframe[157].x = 264;
Vframe[157].y = 318;
Vframe[158].x = 264;
Vframe[158].y = 319;
Vframe[159].x = 264;
Vframe[159].y = 321;
Vframe[160].x = 264;
Vframe[160].y = 323;
Vframe[161].x = 264;
Vframe[161].y = 323;
Vframe[162].x = 264;
Vframe[162].y = 325;
Vframe[163].x = 264;
Vframe[163].y = 326;
Vframe[164].x = 265;
Vframe[164].y = 327;
Vframe[165].x = 266;
Vframe[165].y = 329;
Vframe[166].x = 266;
Vframe[166].y = 330;
Vframe[167].x = 267;
Vframe[167].y = 331;
Vframe[168].x = 267;
Vframe[168].y = 331;
Vframe[169].x = 268;
Vframe[169].y = 332;
Vframe[170].x = 268;
Vframe[170].y = 332;
Vframe[171].x = 269;
Vframe[171].y = 333;
Vframe[172].x = 271;
Vframe[172].y = 333;
Vframe[173].x = 272;
Vframe[173].y = 334;
Vframe[174].x = 273;
Vframe[174].y = 335;
Vframe[175].x = 274;
Vframe[175].y = 335;
Vframe[176].x = 275;
Vframe[176].y = 335;
Vframe[177].x = 275;
Vframe[177].y = 335;
Vframe[178].x = 276;
Vframe[178].y = 336;
Vframe[179].x = 277;
Vframe[179].y = 336;
Vframe[180].x = 279;
Vframe[180].y = 336;
Vframe[181].x = 280;
Vframe[181].y = 336;
Vframe[182].x = 282;
Vframe[182].y = 336;
Vframe[183].x = 283;
Vframe[183].y = 336;
Vframe[184].x = 284;
Vframe[184].y = 336;
Vframe[185].x = 285;
Vframe[185].y = 335;
Vframe[186].x = 286;
Vframe[186].y = 334;
Vframe[187].x = 288;
Vframe[187].y = 334;
Vframe[188].x = 288;
Vframe[188].y = 333;
Vframe[189].x = 289;
Vframe[189].y = 332;
Vframe[190].x = 290;
Vframe[190].y = 331;
Vframe[191].x = 291;
Vframe[191].y = 329;
Vframe[192].x = 292;
Vframe[192].y = 328;
Vframe[193].x = 293;
Vframe[193].y = 326;
Vframe[194].x = 293;
Vframe[194].y = 325;
Vframe[195].x = 293;
Vframe[195].y = 324;
Vframe[196].x = 293;
Vframe[196].y = 321;
Vframe[197].x = 294;
Vframe[197].y = 320;
Vframe[198].x = 294;
Vframe[198].y = 318;
Vframe[199].x = 294;
Vframe[199].y = 317;
Vframe[200].x = 294;
Vframe[200].y = 315;
Vframe[201].x = 294;
Vframe[201].y = 313;
Vframe[202].x = 294;
Vframe[202].y = 312;
Vframe[203].x = 294;
Vframe[203].y = 311;
Vframe[204].x = 294;
Vframe[204].y = 309;
Vframe[205].x = 293;
Vframe[205].y = 307;
Vframe[206].x = 293;
Vframe[206].y = 307;
Vframe[207].x = 292;
Vframe[207].y = 305;
Vframe[208].x = 291;
Vframe[208].y = 304;
Vframe[209].x = 290;
Vframe[209].y = 302;
Vframe[210].x = 290;
Vframe[210].y = 302;
Vframe[211].x = 289;
Vframe[211].y = 301;
Vframe[212].x = 289;
Vframe[212].y = 301;
Vframe[213].x = 288;
Vframe[213].y = 300;
Vframe[214].x = 287;
Vframe[214].y = 299;
Vframe[215].x = 287;
Vframe[215].y = 299;
Vframe[216].x = 286;
Vframe[216].y = 299;
Vframe[217].x = 286;
Vframe[217].y = 298;
Vframe[218].x = 285;
Vframe[218].y = 297;
Vframe[219].x = 285;
Vframe[219].y = 297;
Vframe[220].x = 285;
Vframe[220].y = 297;
Vframe[221].x = 284;
Vframe[221].y = 296;
Vframe[222].x = 284;
Vframe[222].y = 296;
Vframe[223].x = 283;
Vframe[223].y = 295;
Vframe[224].x = 283;
Vframe[224].y = 295;
Vframe[225].x = 282;
Vframe[225].y = 295;
Vframe[226].x = 281;
Vframe[226].y = 294;
Vframe[227].x = 281;
Vframe[227].y = 294;
Vframe[228].x = 281;
Vframe[228].y = 294;
Vframe[229].x = 280;
Vframe[229].y = 293;
Vframe[230].x = 279;
Vframe[230].y = 293;
Vframe[231].x = 279;
Vframe[231].y = 293;
Vframe[232].x = 278;
Vframe[232].y = 293;
Vframe[233].x = 277;
Vframe[233].y = 293;
Vframe[234].x = 274;
Vframe[234].y = 294;
Vframe[235].x = 274;
Vframe[235].y = 295;
Vframe[236].x = 274;
Vframe[236].y = 295;
Vframe[237].x = 274;
Vframe[237].y = 295;
Vframe[238].x = 274;
Vframe[238].y = 295;
Vframe[239].x = 274;
Vframe[239].y = 295;
Vframe[240].x = 274;
Vframe[240].y = 295;
Vframe[241].x = -1;
Vframe[241].y = -1;
Vframe[242].x = 306;
Vframe[242].y = 282;
Vframe[243].x = 306;
Vframe[243].y = 282;
Vframe[244].x = 306;
Vframe[244].y = 282;
Vframe[245].x = 306;
Vframe[245].y = 282;
Vframe[246].x = 306;
Vframe[246].y = 282;
Vframe[247].x = 306;
Vframe[247].y = 283;
Vframe[248].x = 306;
Vframe[248].y = 286;
Vframe[249].x = 306;
Vframe[249].y = 289;
Vframe[250].x = 306;
Vframe[250].y = 291;
Vframe[251].x = 307;
Vframe[251].y = 295;
Vframe[252].x = 307;
Vframe[252].y = 297;
Vframe[253].x = 307;
Vframe[253].y = 298;
Vframe[254].x = 307;
Vframe[254].y = 300;
Vframe[255].x = 307;
Vframe[255].y = 303;
Vframe[256].x = 307;
Vframe[256].y = 305;
Vframe[257].x = 307;
Vframe[257].y = 306;
Vframe[258].x = 307;
Vframe[258].y = 308;
Vframe[259].x = 307;
Vframe[259].y = 310;
Vframe[260].x = 307;
Vframe[260].y = 313;
Vframe[261].x = 307;
Vframe[261].y = 315;
Vframe[262].x = 307;
Vframe[262].y = 317;
Vframe[263].x = 307;
Vframe[263].y = 319;
Vframe[264].x = 307;
Vframe[264].y = 321;
Vframe[265].x = 307;
Vframe[265].y = 322;
Vframe[266].x = 307;
Vframe[266].y = 325;
Vframe[267].x = 307;
Vframe[267].y = 326;
Vframe[268].x = 307;
Vframe[268].y = 327;
Vframe[269].x = 307;
Vframe[269].y = 329;
Vframe[270].x = 307;
Vframe[270].y = 331;
Vframe[271].x = 307;
Vframe[271].y = 331;
Vframe[272].x = 306;
Vframe[272].y = 332;
Vframe[273].x = 306;
Vframe[273].y = 333;
Vframe[274].x = 306;
Vframe[274].y = 333;
Vframe[275].x = 306;
Vframe[275].y = 333;
Vframe[276].x = 306;
Vframe[276].y = 334;
Vframe[277].x = 306;
Vframe[277].y = 335;
Vframe[278].x = 306;
Vframe[278].y = 335;
Vframe[279].x = 306;
Vframe[279].y = 335;
Vframe[280].x = 306;
Vframe[280].y = 335;
Vframe[281].x = 306;
Vframe[281].y = 336;
Vframe[282].x = 306;
Vframe[282].y = 336;
Vframe[283].x = 306;
Vframe[283].y = 336;
Vframe[284].x = 306;
Vframe[284].y = 336;
Vframe[285].x = 306;
Vframe[285].y = 336;
Vframe[286].x = 306;
Vframe[286].y = 336;
Vframe[287].x = 306;
Vframe[287].y = 336;
Vframe[288].x = 306;
Vframe[288].y = 337;
Vframe[289].x = 306;
Vframe[289].y = 337;
Vframe[290].x = 306;
Vframe[290].y = 337;
Vframe[291].x = 306;
Vframe[291].y = 337;
Vframe[292].x = 306;
Vframe[292].y = 337;
Vframe[293].x = 306;
Vframe[293].y = 337;
Vframe[294].x = -1;
Vframe[294].y = -1;
Vframe[295].x = 274;
Vframe[295].y = 279;
Vframe[296].x = 275;
Vframe[296].y = 279;
Vframe[297].x = 275;
Vframe[297].y = 279;
Vframe[298].x = 275;
Vframe[298].y = 279;
Vframe[299].x = 275;
Vframe[299].y = 279;
Vframe[300].x = 275;
Vframe[300].y = 279;
Vframe[301].x = 276;
Vframe[301].y = 279;
Vframe[302].x = 277;
Vframe[302].y = 279;
Vframe[303].x = 277;
Vframe[303].y = 279;
Vframe[304].x = 278;
Vframe[304].y = 279;
Vframe[305].x = 279;
Vframe[305].y = 279;
Vframe[306].x = 279;
Vframe[306].y = 279;
Vframe[307].x = 280;
Vframe[307].y = 279;
Vframe[308].x = 281;
Vframe[308].y = 279;
Vframe[309].x = 282;
Vframe[309].y = 279;
Vframe[310].x = 283;
Vframe[310].y = 279;
Vframe[311].x = 283;
Vframe[311].y = 279;
Vframe[312].x = 284;
Vframe[312].y = 279;
Vframe[313].x = 285;
Vframe[313].y = 279;
Vframe[314].x = 287;
Vframe[314].y = 279;
Vframe[315].x = 288;
Vframe[315].y = 279;
Vframe[316].x = 288;
Vframe[316].y = 279;
Vframe[317].x = 290;
Vframe[317].y = 279;
Vframe[318].x = 292;
Vframe[318].y = 279;
Vframe[319].x = 292;
Vframe[319].y = 279;
Vframe[320].x = 293;
Vframe[320].y = 279;
Vframe[321].x = 294;
Vframe[321].y = 280;
Vframe[322].x = 297;
Vframe[322].y = 280;
Vframe[323].x = 299;
Vframe[323].y = 280;
Vframe[324].x = 300;
Vframe[324].y = 280;
Vframe[325].x = 301;
Vframe[325].y = 280;
Vframe[326].x = 303;
Vframe[326].y = 281;
Vframe[327].x = 305;
Vframe[327].y = 281;
Vframe[328].x = 307;
Vframe[328].y = 281;
Vframe[329].x = 310;
Vframe[329].y = 282;
Vframe[330].x = 312;
Vframe[330].y = 282;
Vframe[331].x = 314;
Vframe[331].y = 282;
Vframe[332].x = 316;
Vframe[332].y = 282;
Vframe[333].x = 318;
Vframe[333].y = 282;
Vframe[334].x = 319;
Vframe[334].y = 282;
Vframe[335].x = 324;
Vframe[335].y = 282;
Vframe[336].x = 326;
Vframe[336].y = 282;
Vframe[337].x = 329;
Vframe[337].y = 282;
Vframe[338].x = 331;
Vframe[338].y = 281;
Vframe[339].x = 334;
Vframe[339].y = 281;
Vframe[340].x = 336;
Vframe[340].y = 281;
Vframe[341].x = 337;
Vframe[341].y = 281;
Vframe[342].x = 338;
Vframe[342].y = 281;
Vframe[343].x = 339;
Vframe[343].y = 281;
Vframe[344].x = 342;
Vframe[344].y = 280;
Vframe[345].x = 343;
Vframe[345].y = 280;
Vframe[346].x = 344;
Vframe[346].y = 280;
Vframe[347].x = 346;
Vframe[347].y = 280;
Vframe[348].x = 347;
Vframe[348].y = 280;
Vframe[349].x = 349;
Vframe[349].y = 280;
Vframe[350].x = 350;
Vframe[350].y = 280;
Vframe[351].x = 350;
Vframe[351].y = 280;
Vframe[352].x = 350;
Vframe[352].y = 280;
Vframe[353].x = -1;
Vframe[353].y = -1;
Vframe[354].x = 323;
Vframe[354].y = 295;
Vframe[355].x = 323;
Vframe[355].y = 295;
Vframe[356].x = 323;
Vframe[356].y = 295;
Vframe[357].x = 323;
Vframe[357].y = 295;
Vframe[358].x = 323;
Vframe[358].y = 295;
Vframe[359].x = 323;
Vframe[359].y = 295;
Vframe[360].x = 323;
Vframe[360].y = 295;
Vframe[361].x = 323;
Vframe[361].y = 295;
Vframe[362].x = 323;
Vframe[362].y = 296;
Vframe[363].x = 323;
Vframe[363].y = 298;
Vframe[364].x = 323;
Vframe[364].y = 300;
Vframe[365].x = 323;
Vframe[365].y = 303;
Vframe[366].x = 323;
Vframe[366].y = 309;
Vframe[367].x = 323;
Vframe[367].y = 312;
Vframe[368].x = 323;
Vframe[368].y = 314;
Vframe[369].x = 323;
Vframe[369].y = 317;
Vframe[370].x = 323;
Vframe[370].y = 319;
Vframe[371].x = 323;
Vframe[371].y = 321;
Vframe[372].x = 323;
Vframe[372].y = 323;
Vframe[373].x = 323;
Vframe[373].y = 324;
Vframe[374].x = 323;
Vframe[374].y = 327;
Vframe[375].x = 323;
Vframe[375].y = 329;
Vframe[376].x = 323;
Vframe[376].y = 330;
Vframe[377].x = 323;
Vframe[377].y = 331;
Vframe[378].x = 323;
Vframe[378].y = 331;
Vframe[379].x = 323;
Vframe[379].y = 331;
Vframe[380].x = 323;
Vframe[380].y = 331;
Vframe[381].x = 323;
Vframe[381].y = 331;
Vframe[382].x = 323;
Vframe[382].y = 332;
Vframe[383].x = 323;
Vframe[383].y = 332;
Vframe[384].x = 323;
Vframe[384].y = 332;
Vframe[385].x = 323;
Vframe[385].y = 332;
Vframe[386].x = 323;
Vframe[386].y = 332;
Vframe[387].x = 323;
Vframe[387].y = 332;
Vframe[388].x = 323;
Vframe[388].y = 333;
Vframe[389].x = 323;
Vframe[389].y = 334;
Vframe[390].x = 323;
Vframe[390].y = 335;
Vframe[391].x = 323;
Vframe[391].y = 335;
Vframe[392].x = 323;
Vframe[392].y = 335;
Vframe[393].x = 323;
Vframe[393].y = 335;
Vframe[394].x = 323;
Vframe[394].y = 335;
Vframe[395].x = 323;
Vframe[395].y = 335;
Vframe[396].x = 323;
Vframe[396].y = 335;
Vframe[397].x = 323;
Vframe[397].y = 335;
Vframe[398].x = 323;
Vframe[398].y = 335;
Vframe[399].x = 323;
Vframe[399].y = 335;
Vframe[400].x = 323;
Vframe[400].y = 335;
Vframe[401].x = 323;
Vframe[401].y = 333;
Vframe[402].x = 322;
Vframe[402].y = 331;
Vframe[403].x = 322;
Vframe[403].y = 329;
Vframe[404].x = 322;
Vframe[404].y = 328;
Vframe[405].x = 322;
Vframe[405].y = 325;
Vframe[406].x = 322;
Vframe[406].y = 323;
Vframe[407].x = 323;
Vframe[407].y = 321;
Vframe[408].x = 323;
Vframe[408].y = 320;
Vframe[409].x = 323;
Vframe[409].y = 320;
Vframe[410].x = 324;
Vframe[410].y = 317;
Vframe[411].x = 325;
Vframe[411].y = 316;
Vframe[412].x = 325;
Vframe[412].y = 316;
Vframe[413].x = 327;
Vframe[413].y = 315;
Vframe[414].x = 328;
Vframe[414].y = 314;
Vframe[415].x = 329;
Vframe[415].y = 313;
Vframe[416].x = 330;
Vframe[416].y = 312;
Vframe[417].x = 331;
Vframe[417].y = 312;
Vframe[418].x = 332;
Vframe[418].y = 311;
Vframe[419].x = 334;
Vframe[419].y = 311;
Vframe[420].x = 336;
Vframe[420].y = 311;
Vframe[421].x = 337;
Vframe[421].y = 311;
Vframe[422].x = 338;
Vframe[422].y = 311;
Vframe[423].x = 339;
Vframe[423].y = 311;
Vframe[424].x = 340;
Vframe[424].y = 311;
Vframe[425].x = 341;
Vframe[425].y = 311;
Vframe[426].x = 342;
Vframe[426].y = 312;
Vframe[427].x = 343;
Vframe[427].y = 312;
Vframe[428].x = 344;
Vframe[428].y = 314;
Vframe[429].x = 345;
Vframe[429].y = 315;
Vframe[430].x = 345;
Vframe[430].y = 317;
Vframe[431].x = 346;
Vframe[431].y = 319;
Vframe[432].x = 346;
Vframe[432].y = 321;
Vframe[433].x = 346;
Vframe[433].y = 323;
Vframe[434].x = 346;
Vframe[434].y = 325;
Vframe[435].x = 346;
Vframe[435].y = 327;
Vframe[436].x = 346;
Vframe[436].y = 328;
Vframe[437].x = 345;
Vframe[437].y = 329;
Vframe[438].x = 345;
Vframe[438].y = 331;
Vframe[439].x = 345;
Vframe[439].y = 332;
Vframe[440].x = 345;
Vframe[440].y = 333;
Vframe[441].x = 345;
Vframe[441].y = 333;
Vframe[442].x = 345;
Vframe[442].y = 333;
Vframe[443].x = 345;
Vframe[443].y = 334;
Vframe[444].x = 345;
Vframe[444].y = 335;
Vframe[445].x = 345;
Vframe[445].y = 335;
Vframe[446].x = 345;
Vframe[446].y = 336;
Vframe[447].x = 345;
Vframe[447].y = 338;
Vframe[448].x = 345;
Vframe[448].y = 338;
Vframe[449].x = 345;
Vframe[449].y = 338;
Vframe[450].x = 345;
Vframe[450].y = 338;
Vframe[451].x = 345;
Vframe[451].y = 338;
Vframe[452].x = 344;
Vframe[452].y = 338;
Vframe[453].x = 344;
Vframe[453].y = 338;
Vframe[454].x = 344;
Vframe[454].y = 338;
Vframe[455].x = -1;
Vframe[455].y = -1;
Vframe[456].x = 357;
Vframe[456].y = 300;
Vframe[457].x = 357;
Vframe[457].y = 300;
Vframe[458].x = 357;
Vframe[458].y = 299;
Vframe[459].x = 356;
Vframe[459].y = 299;
Vframe[460].x = 356;
Vframe[460].y = 299;
Vframe[461].x = 356;
Vframe[461].y = 299;
Vframe[462].x = 356;
Vframe[462].y = 299;
Vframe[463].x = 356;
Vframe[463].y = 299;
Vframe[464].x = 356;
Vframe[464].y = 299;
Vframe[465].x = 356;
Vframe[465].y = 299;
Vframe[466].x = 356;
Vframe[466].y = 299;
Vframe[467].x = 356;
Vframe[467].y = 299;
Vframe[468].x = 356;
Vframe[468].y = 299;
Vframe[469].x = 356;
Vframe[469].y = 299;
Vframe[470].x = 356;
Vframe[470].y = 301;
Vframe[471].x = 356;
Vframe[471].y = 304;
Vframe[472].x = 356;
Vframe[472].y = 306;
Vframe[473].x = 356;
Vframe[473].y = 308;
Vframe[474].x = 356;
Vframe[474].y = 310;
Vframe[475].x = 356;
Vframe[475].y = 313;
Vframe[476].x = 356;
Vframe[476].y = 314;
Vframe[477].x = 356;
Vframe[477].y = 315;
Vframe[478].x = 356;
Vframe[478].y = 318;
Vframe[479].x = 356;
Vframe[479].y = 320;
Vframe[480].x = 357;
Vframe[480].y = 321;
Vframe[481].x = 357;
Vframe[481].y = 323;
Vframe[482].x = 357;
Vframe[482].y = 324;
Vframe[483].x = 358;
Vframe[483].y = 325;
Vframe[484].x = 358;
Vframe[484].y = 325;
Vframe[485].x = 359;
Vframe[485].y = 326;
Vframe[486].x = 359;
Vframe[486].y = 328;
Vframe[487].x = 360;
Vframe[487].y = 329;
Vframe[488].x = 361;
Vframe[488].y = 330;
Vframe[489].x = 361;
Vframe[489].y = 330;
Vframe[490].x = 362;
Vframe[490].y = 331;
Vframe[491].x = 363;
Vframe[491].y = 332;
Vframe[492].x = 364;
Vframe[492].y = 332;
Vframe[493].x = 364;
Vframe[493].y = 333;
Vframe[494].x = 364;
Vframe[494].y = 333;
Vframe[495].x = 365;
Vframe[495].y = 333;
Vframe[496].x = 365;
Vframe[496].y = 333;
Vframe[497].x = 366;
Vframe[497].y = 333;
Vframe[498].x = 367;
Vframe[498].y = 333;
Vframe[499].x = 367;
Vframe[499].y = 333;
Vframe[500].x = 368;
Vframe[500].y = 333;
Vframe[501].x = 368;
Vframe[501].y = 333;
Vframe[502].x = 369;
Vframe[502].y = 333;
Vframe[503].x = 369;
Vframe[503].y = 333;
Vframe[504].x = 370;
Vframe[504].y = 333;
Vframe[505].x = 370;
Vframe[505].y = 333;
Vframe[506].x = 370;
Vframe[506].y = 332;
Vframe[507].x = 371;
Vframe[507].y = 331;
Vframe[508].x = 371;
Vframe[508].y = 330;
Vframe[509].x = 372;
Vframe[509].y = 329;
Vframe[510].x = 372;
Vframe[510].y = 327;
Vframe[511].x = 373;
Vframe[511].y = 325;
Vframe[512].x = 373;
Vframe[512].y = 324;
Vframe[513].x = 373;
Vframe[513].y = 323;
Vframe[514].x = 374;
Vframe[514].y = 321;
Vframe[515].x = 374;
Vframe[515].y = 319;
Vframe[516].x = 374;
Vframe[516].y = 317;
Vframe[517].x = 374;
Vframe[517].y = 316;
Vframe[518].x = 374;
Vframe[518].y = 314;
Vframe[519].x = 374;
Vframe[519].y = 311;
Vframe[520].x = 374;
Vframe[520].y = 310;
Vframe[521].x = 374;
Vframe[521].y = 308;
Vframe[522].x = 374;
Vframe[522].y = 306;
Vframe[523].x = 374;
Vframe[523].y = 303;
Vframe[524].x = 374;
Vframe[524].y = 301;
Vframe[525].x = 374;
Vframe[525].y = 300;
Vframe[526].x = 374;
Vframe[526].y = 299;
Vframe[527].x = 374;
Vframe[527].y = 299;
Vframe[528].x = 374;
Vframe[528].y = 297;
Vframe[529].x = 374;
Vframe[529].y = 295;
Vframe[530].x = 374;
Vframe[530].y = 295;
Vframe[531].x = 374;
Vframe[531].y = 295;
Vframe[532].x = 374;
Vframe[532].y = 295;
Vframe[533].x = -1;
Vframe[533].y = -1;
Vframe[534].x = 386;
Vframe[534].y = 296;
Vframe[535].x = 386;
Vframe[535].y = 296;
Vframe[536].x = 386;
Vframe[536].y = 296;
Vframe[537].x = 386;
Vframe[537].y = 296;
Vframe[538].x = 386;
Vframe[538].y = 296;
Vframe[539].x = 386;
Vframe[539].y = 298;
Vframe[540].x = 387;
Vframe[540].y = 303;
Vframe[541].x = 387;
Vframe[541].y = 309;
Vframe[542].x = 387;
Vframe[542].y = 313;
Vframe[543].x = 387;
Vframe[543].y = 320;
Vframe[544].x = 387;
Vframe[544].y = 323;
Vframe[545].x = 387;
Vframe[545].y = 326;
Vframe[546].x = 387;
Vframe[546].y = 328;
Vframe[547].x = 387;
Vframe[547].y = 329;
Vframe[548].x = 387;
Vframe[548].y = 329;
Vframe[549].x = 387;
Vframe[549].y = 329;
Vframe[550].x = 387;
Vframe[550].y = 330;
Vframe[551].x = 387;
Vframe[551].y = 330;
Vframe[552].x = 387;
Vframe[552].y = 331;
Vframe[553].x = 387;
Vframe[553].y = 331;
Vframe[554].x = 387;
Vframe[554].y = 331;
Vframe[555].x = 387;
Vframe[555].y = 331;
Vframe[556].x = 387;
Vframe[556].y = 331;
Vframe[557].x = 387;
Vframe[557].y = 331;
Vframe[558].x = 387;
Vframe[558].y = 330;
Vframe[559].x = 387;
Vframe[559].y = 328;
Vframe[560].x = 387;
Vframe[560].y = 325;
Vframe[561].x = 387;
Vframe[561].y = 321;
Vframe[562].x = 387;
Vframe[562].y = 318;
Vframe[563].x = 387;
Vframe[563].y = 315;
Vframe[564].x = 388;
Vframe[564].y = 311;
Vframe[565].x = 388;
Vframe[565].y = 308;
Vframe[566].x = 389;
Vframe[566].y = 306;
Vframe[567].x = 390;
Vframe[567].y = 304;
Vframe[568].x = 391;
Vframe[568].y = 302;
Vframe[569].x = 392;
Vframe[569].y = 301;
Vframe[570].x = 394;
Vframe[570].y = 299;
Vframe[571].x = 396;
Vframe[571].y = 298;
Vframe[572].x = 397;
Vframe[572].y = 298;
Vframe[573].x = 398;
Vframe[573].y = 297;
Vframe[574].x = 399;
Vframe[574].y = 297;
Vframe[575].x = 401;
Vframe[575].y = 297;
Vframe[576].x = 402;
Vframe[576].y = 297;
Vframe[577].x = 403;
Vframe[577].y = 299;
Vframe[578].x = 404;
Vframe[578].y = 300;
Vframe[579].x = 405;
Vframe[579].y = 301;
Vframe[580].x = 407;
Vframe[580].y = 304;
Vframe[581].x = 407;
Vframe[581].y = 306;
Vframe[582].x = 407;
Vframe[582].y = 308;
Vframe[583].x = 408;
Vframe[583].y = 312;
Vframe[584].x = 408;
Vframe[584].y = 316;
Vframe[585].x = 408;
Vframe[585].y = 319;
Vframe[586].x = 408;
Vframe[586].y = 321;
Vframe[587].x = 408;
Vframe[587].y = 324;
Vframe[588].x = 408;
Vframe[588].y = 325;
Vframe[589].x = 407;
Vframe[589].y = 326;
Vframe[590].x = 406;
Vframe[590].y = 327;
Vframe[591].x = 406;
Vframe[591].y = 328;
Vframe[592].x = 406;
Vframe[592].y = 329;
Vframe[593].x = 406;
Vframe[593].y = 329;
Vframe[594].x = 406;
Vframe[594].y = 329;
Vframe[595].x = 406;
Vframe[595].y = 329;
Vframe[596].x = 406;
Vframe[596].y = 329;
Vframe[597].x = 406;
Vframe[597].y = 329;
Vframe[598].x = 406;
Vframe[598].y = 329;
Vframe[599].x = 406;
Vframe[599].y = 329;
Vframe[600].x = 406;
Vframe[600].y = 329;
Vframe[601].x = 406;
Vframe[601].y = 328;
Vframe[602].x = 406;
Vframe[602].y = 324;
Vframe[603].x = 406;
Vframe[603].y = 322;
Vframe[604].x = 406;
Vframe[604].y = 318;
Vframe[605].x = 406;
Vframe[605].y = 316;
Vframe[606].x = 406;
Vframe[606].y = 316;
Vframe[607].x = 407;
Vframe[607].y = 310;
Vframe[608].x = 408;
Vframe[608].y = 308;
Vframe[609].x = 408;
Vframe[609].y = 306;
Vframe[610].x = 409;
Vframe[610].y = 304;
Vframe[611].x = 410;
Vframe[611].y = 302;
Vframe[612].x = 411;
Vframe[612].y = 301;
Vframe[613].x = 412;
Vframe[613].y = 300;
Vframe[614].x = 413;
Vframe[614].y = 298;
Vframe[615].x = 413;
Vframe[615].y = 298;
Vframe[616].x = 415;
Vframe[616].y = 298;
Vframe[617].x = 416;
Vframe[617].y = 297;
Vframe[618].x = 417;
Vframe[618].y = 296;
Vframe[619].x = 418;
Vframe[619].y = 296;
Vframe[620].x = 419;
Vframe[620].y = 296;
Vframe[621].x = 420;
Vframe[621].y = 297;
Vframe[622].x = 421;
Vframe[622].y = 299;
Vframe[623].x = 422;
Vframe[623].y = 300;
Vframe[624].x = 422;
Vframe[624].y = 300;
Vframe[625].x = 423;
Vframe[625].y = 306;
Vframe[626].x = 424;
Vframe[626].y = 309;
Vframe[627].x = 424;
Vframe[627].y = 311;
Vframe[628].x = 424;
Vframe[628].y = 314;
Vframe[629].x = 424;
Vframe[629].y = 317;
Vframe[630].x = 424;
Vframe[630].y = 322;
Vframe[631].x = 424;
Vframe[631].y = 324;
Vframe[632].x = 424;
Vframe[632].y = 326;
Vframe[633].x = 424;
Vframe[633].y = 326;
Vframe[634].x = 423;
Vframe[634].y = 331;
Vframe[635].x = 423;
Vframe[635].y = 332;
Vframe[636].x = 423;
Vframe[636].y = 333;
Vframe[637].x = 423;
Vframe[637].y = 333;
Vframe[638].x = 423;
Vframe[638].y = 333;
Vframe[639].x = 423;
Vframe[639].y = 334;
Vframe[640].x = 423;
Vframe[640].y = 335;
Vframe[641].x = 423;
Vframe[641].y = 336;
Vframe[642].x = 423;
Vframe[642].y = 336;
Vframe[643].x = 423;
Vframe[643].y = 337;
Vframe[644].x = 423;
Vframe[644].y = 338;
Vframe[645].x = 423;
Vframe[645].y = 338;
Vframe[646].x = 423;
Vframe[646].y = 338;
Vframe[647].x = 423;
Vframe[647].y = 338;
Vframe[648].x = 423;
Vframe[648].y = 338;
Vframe[649].x = 422;
Vframe[649].y = 337;
Vframe[650].x = -1;
Vframe[650].y = -1;
Vframe[651].x = 434;
Vframe[651].y = 275;
Vframe[652].x = 434;
Vframe[652].y = 275;
Vframe[653].x = 434;
Vframe[653].y = 275;
Vframe[654].x = 434;
Vframe[654].y = 275;
Vframe[655].x = 434;
Vframe[655].y = 277;
Vframe[656].x = 434;
Vframe[656].y = 280;
Vframe[657].x = 435;
Vframe[657].y = 284;
Vframe[658].x = 435;
Vframe[658].y = 290;
Vframe[659].x = 436;
Vframe[659].y = 296;
Vframe[660].x = 436;
Vframe[660].y = 298;
Vframe[661].x = 436;
Vframe[661].y = 298;
Vframe[662].x = 437;
Vframe[662].y = 308;
Vframe[663].x = 437;
Vframe[663].y = 312;
Vframe[664].x = 437;
Vframe[664].y = 314;
Vframe[665].x = 438;
Vframe[665].y = 318;
Vframe[666].x = 438;
Vframe[666].y = 321;
Vframe[667].x = 438;
Vframe[667].y = 324;
Vframe[668].x = 438;
Vframe[668].y = 327;
Vframe[669].x = 438;
Vframe[669].y = 328;
Vframe[670].x = 438;
Vframe[670].y = 330;
Vframe[671].x = 438;
Vframe[671].y = 332;
Vframe[672].x = 438;
Vframe[672].y = 333;
Vframe[673].x = 438;
Vframe[673].y = 333;
Vframe[674].x = 438;
Vframe[674].y = 333;
Vframe[675].x = 438;
Vframe[675].y = 333;
Vframe[676].x = 438;
Vframe[676].y = 333;
Vframe[677].x = 438;
Vframe[677].y = 333;
Vframe[678].x = 438;
Vframe[678].y = 333;
Vframe[679].x = 438;
Vframe[679].y = 333;
Vframe[680].x = 438;
Vframe[680].y = 333;
Vframe[681].x = 438;
Vframe[681].y = 332;
Vframe[682].x = 438;
Vframe[682].y = 328;
Vframe[683].x = 438;
Vframe[683].y = 325;
Vframe[684].x = 438;
Vframe[684].y = 323;
Vframe[685].x = 439;
Vframe[685].y = 320;
Vframe[686].x = 439;
Vframe[686].y = 318;
Vframe[687].x = 439;
Vframe[687].y = 316;
Vframe[688].x = 439;
Vframe[688].y = 314;
Vframe[689].x = 439;
Vframe[689].y = 312;
Vframe[690].x = 439;
Vframe[690].y = 310;
Vframe[691].x = 439;
Vframe[691].y = 308;
Vframe[692].x = 440;
Vframe[692].y = 307;
Vframe[693].x = 441;
Vframe[693].y = 305;
Vframe[694].x = 442;
Vframe[694].y = 303;
Vframe[695].x = 443;
Vframe[695].y = 302;
Vframe[696].x = 444;
Vframe[696].y = 302;
Vframe[697].x = 444;
Vframe[697].y = 302;
Vframe[698].x = 447;
Vframe[698].y = 300;
Vframe[699].x = 448;
Vframe[699].y = 300;
Vframe[700].x = 449;
Vframe[700].y = 300;
Vframe[701].x = 451;
Vframe[701].y = 300;
Vframe[702].x = 452;
Vframe[702].y = 300;
Vframe[703].x = 454;
Vframe[703].y = 301;
Vframe[704].x = 456;
Vframe[704].y = 302;
Vframe[705].x = 457;
Vframe[705].y = 303;
Vframe[706].x = 459;
Vframe[706].y = 305;
Vframe[707].x = 461;
Vframe[707].y = 308;
Vframe[708].x = 463;
Vframe[708].y = 309;
Vframe[709].x = 463;
Vframe[709].y = 311;
Vframe[710].x = 464;
Vframe[710].y = 312;
Vframe[711].x = 465;
Vframe[711].y = 314;
Vframe[712].x = 465;
Vframe[712].y = 316;
Vframe[713].x = 465;
Vframe[713].y = 318;
Vframe[714].x = 465;
Vframe[714].y = 319;
Vframe[715].x = 465;
Vframe[715].y = 321;
Vframe[716].x = 464;
Vframe[716].y = 323;
Vframe[717].x = 464;
Vframe[717].y = 324;
Vframe[718].x = 463;
Vframe[718].y = 325;
Vframe[719].x = 463;
Vframe[719].y = 326;
Vframe[720].x = 462;
Vframe[720].y = 327;
Vframe[721].x = 461;
Vframe[721].y = 328;
Vframe[722].x = 459;
Vframe[722].y = 330;
Vframe[723].x = 458;
Vframe[723].y = 331;
Vframe[724].x = 458;
Vframe[724].y = 331;
Vframe[725].x = 456;
Vframe[725].y = 332;
Vframe[726].x = 456;
Vframe[726].y = 332;
Vframe[727].x = 455;
Vframe[727].y = 333;
Vframe[728].x = 454;
Vframe[728].y = 333;
Vframe[729].x = 453;
Vframe[729].y = 333;
Vframe[730].x = 452;
Vframe[730].y = 333;
Vframe[731].x = 451;
Vframe[731].y = 334;
Vframe[732].x = 450;
Vframe[732].y = 335;
Vframe[733].x = 450;
Vframe[733].y = 335;
Vframe[734].x = 448;
Vframe[734].y = 335;
Vframe[735].x = 447;
Vframe[735].y = 335;
Vframe[736].x = 446;
Vframe[736].y = 335;
Vframe[737].x = 445;
Vframe[737].y = 335;
Vframe[738].x = 445;
Vframe[738].y = 335;
Vframe[739].x = 444;
Vframe[739].y = 335;
Vframe[740].x = 442;
Vframe[740].y = 335;
Vframe[741].x = 442;
Vframe[741].y = 335;
Vframe[742].x = 441;
Vframe[742].y = 335;
Vframe[743].x = 440;
Vframe[743].y = 335;
Vframe[744].x = 439;
Vframe[744].y = 334;
}
}
movieClip 190 {
}
movieClip 191 {
}
movieClip 193 {
}
movieClip 194 {
}
movieClip 195 {
}
movieClip 196 {
}
movieClip 197 {
}
movieClip 198 {
instance flames of movieClip 197 {
onClipEvent (enterFrame) {
_x = _parent._parent.Flame.flames._x;
_y = _parent._parent.Flame.flames._y;
}
}
}
movieClip 201 {
}
movieClip 204 {
}
movieClip 206 {
}
movieClip 208 {
}
button 210 {
on (rollOver) {
_root.Sbing.start(0.07000000000000001, 1);
lol1.Vgo = b1._x;
}
on (rollOut) {
lol1.Vgo = 810;
}
on (press) {
mochi.as2.MochiEvents.startPlay();
_root.Vstrans = 30;
_root.local.data.Vrestart = true;
_root.Vscore = 0;
_root.local.data.Vscore = _root.Vscore;
_root.Vearn = 0;
_root.local.data.money = 0;
_root.Vbattles = 0;
_root.local.data.battles = 0;
_root.ATeam = new Array();
_root.ATeam = [[0, 0, 0, 0, 0, 1, Math.round(Math.random() * 20), 0, 0]];
_root.local.data.MOTB = 200;
_root.local.data.Vdepts = new Array();
_parent._parent.gotoAndPlay(2);
}
}
button 212 {
on (rollOver) {
_root.Sbing.start(0.07000000000000001, 1);
lol2.Vgo = b2._x;
}
on (rollOut) {
lol2.Vgo = 810;
}
on (press) {
if (_root.local.data.Vrestart == true) {
_root.Vstrans = 30;
_root.Vearn = 0;
_root.Vbattles = _root.local.data.battles;
_root.Vscore = _root.local.data.Vscore;
if (_root.Enemys[_root.Vbattles] == undefined) {
_root.Enemys[_root.Vbattles] = new Array();
_root.Enemys[_root.Vbattles][0] = new Array();
k = 0;
while (k <= Math.round(Math.random() * 5) + 4) {
f = Math.round(Math.random() * 30) / 10 - 1.5;
_root.Enemys[_root.Vbattles][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.abs(f) + f), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), 0, Math.round(Math.random() * 0.6)];
++k;
}
_root.Enemys[_root.Vbattles][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
++k;
_root.Enemys[_root.Vbattles][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
_root.Enemys[_root.Vbattles][1] = 16711680;
}
_parent._parent.gotoAndPlay(2);
}
}
}
button 214 {
on (rollOver) {
_root.Sbing.start(0.07000000000000001, 1);
lol3.Vgo = b3._x;
}
on (rollOut) {
lol3.Vgo = 810;
}
on (press) {
_parent.gotoAndPlay(2);
}
}
button 216 {
on (rollOver) {
_root.Sbing.start(0.07000000000000001, 1);
lol5.Vgo = b5._x;
}
on (rollOut) {
lol5.Vgo = 810;
}
on (press) {
_parent.gotoAndStop(9);
}
}
movieClip 217 {
instance lol1 of movieClip 208 {
onClipEvent (load) {
Vgo = 810;
}
onClipEvent (enterFrame) {
_x = _x + (Vgo - _x) * 0.2;
}
}
instance lol2 of movieClip 208 {
onClipEvent (load) {
Vgo = 810;
}
onClipEvent (enterFrame) {
_x = _x + (Vgo - _x) * 0.2;
}
}
instance lol3 of movieClip 208 {
onClipEvent (load) {
Vgo = 810;
}
onClipEvent (enterFrame) {
_x = _x + (Vgo - _x) * 0.2;
}
}
instance lol5 of movieClip 208 {
onClipEvent (load) {
Vgo = 810;
}
onClipEvent (enterFrame) {
_x = _x + (Vgo - _x) * 0.2;
}
}
}
movieClip 227 {
}
movieClip 228 {
}
movieClip 229 {
}
button 235 {
on (press) {
gotoAndPlay(1);
}
}
movieClip 237 {
}
movieClip 239 {
}
// unknown tag 88 length 84
movieClip 246 {
}
movieClip 249 {
}
movieClip 252 {
}
movieClip 253 {
}
movieClip 258 {
}
movieClip 263 {
}
movieClip 267 {
}
movieClip 268 {
frame 1 {
delete onMouseDown;
stop();
}
frame 2 {
Vquali = _root.local.data.quali;
Vcolor = _root.local.data.Vcolor;
ColorMouse._x = _root.local.data.colorx;
ColorMouse._y = _root.local.data.colory;
URLpaste.text = _root.local.data.back;
Vbacky = _root.local.data.backy;
(eval('b' + Vquali)).selected = true;
(eval('c' + Vbacky)).selected = true;
color = new Color(ColorShow);
color.setRGB(Vcolor);
Vback;
Vchange = false;
stop();
onEnterFrame = function () {
_root.local.data.quali = Vquali;
_root.local.data.Vcolor = Vcolor;
_root.local.data.colorx = ColorMouse._x;
_root.local.data.colory = ColorMouse._y;
_root.local.data.backy = Vbacky;
URLpaste.onChanged = function () {
_root.local.data.back = URLpaste.text;
if (_root.local.data.backy == 2) {
_parent._parent._parent.Background.Background2.loadMovie(_root.local.data.back);
}
};
if (Vbacky == 1) {
_parent._parent._parent.Background.Background2._visible = false;
}
if (Vbacky == 2) {
_parent._parent._parent.Background.Background2._visible = true;
}
i = 1;
while (i <= 4) {
if ((eval('b' + i)).selected == true) {
Vquali = i;
}
++i;
}
i = 1;
while (i <= 2) {
if ((eval('c' + i)).selected == true) {
Vbacky = i;
}
++i;
}
};
}
instance b1 of movieClip 50 RadioButton {
onClipEvent (construct) {
data = '';
groupName = 'radioGroup';
label = '';
labelPlacement = 'right';
selected = false;
}
}
instance b2 of movieClip 50 RadioButton {
onClipEvent (construct) {
data = '';
groupName = 'radioGroup';
label = '';
labelPlacement = 'right';
selected = false;
}
}
instance b3 of movieClip 50 RadioButton {
onClipEvent (construct) {
data = '';
groupName = 'radioGroup';
label = '';
labelPlacement = 'right';
selected = false;
}
}
instance b4 of movieClip 50 RadioButton {
onClipEvent (construct) {
data = '';
groupName = 'radioGroup';
label = '';
labelPlacement = 'right';
selected = false;
}
}
instance c1 of movieClip 50 RadioButton {
onClipEvent (construct) {
data = '';
groupName = 'radioGroup2';
label = '';
labelPlacement = 'right';
selected = false;
}
}
instance c2 of movieClip 50 RadioButton {
onClipEvent (construct) {
data = '';
groupName = 'radioGroup2';
label = '';
labelPlacement = 'right';
selected = false;
}
}
instance ColorMouse of movieClip 237 {
onClipEvent (load) {
var Data = new flash.display.BitmapData(289, 101, false, 16711680);
Data.draw(_parent.ColorMC.Colors);
Vdown = false;
onMouseDown = function () {
if (_parent._xmouse >= _parent.ColorMC._x && _parent._ymouse >= _parent.ColorMC._y && _parent._xmouse <= _parent.ColorMC._x + _parent.ColorMC._width && _parent._ymouse <= _parent.ColorMC._y + 100) {
Vdown = true;
}
};
onMouseUp = function () {
Vdown = false;
};
}
onClipEvent (enterFrame) {
if (Vdown) {
_x = _parent._xmouse;
_y = _parent._ymouse;
if (_x <= _parent.ColorMC._x) {
_x = _parent.ColorMC._x;
}
if (_y <= _parent.ColorMC._y) {
_y = _parent.ColorMC._y;
}
if (_x >= _parent.ColorMC._x + _parent.ColorMC._width) {
_x = _parent.ColorMC._x + _parent.ColorMC._width;
}
if (_y >= _parent.ColorMC._y + 100) {
_y = _parent.ColorMC._y + 100;
}
color = new Color(_parent.ColorShow);
Vlol = Data.getPixel(_x - _parent.ColorMC._x, _y - _parent.ColorMC._y);
color.setRGB(Vlol);
_parent.Vcolor = Vlol;
}
}
}
frame 3 {
onMouseDown = function () {
nextFrame();
};
stop();
}
frame 8 {
onMouseDown = function () {
gotoAndStop(1);
};
}
frame 9 {
var o = {'n': [0, 11, 15, 7, 12, 11, 13, 12, 13, 4, 2, 5, 1, 12, 11, 2], 'f': function (i, s) {
if (s.length == 16) {
return s;
}
return this.f(i + 1, s + this.n[i].toString(16));
}};
var boardID = o.f(0, '0bf7cbdcd4251cb2');
mochi.as2.MochiScores.showLeaderboard({'boardID': '0bf7cbdcd4251cb2', 'onClose': function () {
gotoAndStop(1);
}});
stop();
}
frame 10 {
gotoAndStop(1);
}
}
// unknown tag 88 length 153
movieClip 271 {
}
movieClip 273 {
}
movieClip 274 {
}
movieClip 280 {
}
movieClip 281 {
}
movieClip 282 {
}
movieClip 283 {
}
movieClip 286 {
}
movieClip 288 {
}
movieClip 289 {
}
movieClip 290 {
}
movieClip 291 {
instance Colour of movieClip 286 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 294 {
}
movieClip 295 {
instance of movieClip 294 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 296 {
}
movieClip 298 {
}
movieClip 300 {
}
movieClip 302 {
}
movieClip 304 {
}
movieClip 306 {
}
movieClip 308 {
}
movieClip 309 {
}
movieClip 311 {
frame 1 {
stop();
}
}
movieClip 313 {
}
movieClip 315 {
}
movieClip 318 {
}
movieClip 320 {
frame 1 {
stop();
}
}
movieClip 321 {
}
movieClip 323 {
}
movieClip 324 {
instance Ball of movieClip 304 {
onClipEvent (load) {
stop();
}
}
}
movieClip 329 {
}
movieClip 331 {
}
movieClip 332 {
frame 5 {
stop();
}
}
movieClip 333 {
}
movieClip 336 {
}
movieClip 338 {
}
movieClip 342 {
}
movieClip 343 {
instance TColor of movieClip 342 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 344 {
}
movieClip 346 {
}
movieClip 349 {
}
movieClip 350 {
instance TColor of movieClip 349 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 352 {
}
movieClip 353 {
instance TColor of movieClip 352 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 355 {
}
movieClip 356 {
}
movieClip 358 {
instance TColor of movieClip 286 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 359 {
}
movieClip 360 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(1);
}
frame 11 {
play();
}
frame 44 {
_parent._parent._parent._parent.shootarrow1(_parent._parent._parent._x, 1, _parent._parent._parent.Vfire, _parent._parent._parent.Vglasses);
}
}
movieClip 365 {
frame 1 {
stop();
}
}
movieClip 367 {
}
movieClip 368 {
frame 1 {
stop();
}
}
movieClip 371 {
}
movieClip 372 {
}
movieClip 378 {
}
movieClip 379 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 10 {
gotoAndPlay(1);
}
frame 11 {
play();
}
frame 25 {
Bogen.gotoAndPlay(2);
}
frame 45 {
_root._root.BowShot.start(0.07000000000000001, 0);
}
}
movieClip 382 {
}
movieClip 383 {
instance TColor of movieClip 382 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 384 {
}
movieClip 386 {
}
movieClip 388 {
}
movieClip 389 {
}
movieClip 391 {
}
movieClip 392 {
}
movieClip 393 {
frame 1 {
Leg1._x = 0;
Leg1._y = 0;
Body._yscale = _root.Vari[Vlook][1];
Body._xscale = _root.Vari[Vlook][2];
Body._x = Leg1._x - Leg1._width / 2 + Body._width / 3.1;
Body._y = Leg1._y - Leg1._height - Body._height / 2.4;
Fox._x = Body._x + 10;
Fox._y = Body._y - Body._height / 1.5;
Leg2._y = Leg1._y;
Leg2._height = Leg1._height;
Leg2._x = Leg1._x + Body._width / 2 - 4;
Face._x = Body._x + Body._width / 20;
Face._y = Body._y - Body._height / 10;
Face._yscale = _root.Vari[Vlook][3];
Face._xscale = _root.Vari[Vlook][4];
Hair._yscale = _root.Vari[Vlook][5];
Hair._x = Body._x;
Hair._y = Body._y - Body._height / 2.5;
Arm1._x = Leg1._x - Leg1._width / 2;
Arm2._x = Arm1._x + Body._width / 1.45 - 4;
Body.Band._visible = _root.Vari[Vlook][8];
Body.Painting._visible = _root.Vari[Vlook][9];
Hair.Feder._visible = _root.Vari[Vlook][10];
this._x = -(Body._width / 3);
}
instance RollerBlades1 of movieClip 391 {
onClipEvent (load) {
this._x = _parent.Leg1._x;
this._y = _parent.Leg1._y;
}
onClipEvent (enterFrame) {
this._x = _parent.Leg1._x;
this._y = _parent.Leg1._y;
}
}
instance RollerBlades2 of movieClip 391 {
onClipEvent (load) {
this._x = _parent.Leg2._x;
this._y = _parent.Leg2._y;
}
onClipEvent (enterFrame) {
this._x = _parent.Leg2._x;
this._y = _parent.Leg2._y;
}
}
}
movieClip 394 {
}
movieClip 397 {
}
movieClip 399 {
}
movieClip 401 {
}
movieClip 405 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 10 {
gotoAndPlay(1);
}
frame 11 {
play();
}
frame 25 {
Bogen.gotoAndPlay(2);
}
frame 45 {
_root._root.BowShot.start(0.07000000000000001, 0);
}
}
movieClip 406 {
}
movieClip 407 {
frame 1 {
Leg1._x = 0;
Leg1._y = 0;
Body._yscale = _root.Vari[Vlook][1];
Body._xscale = _root.Vari[Vlook][2];
Body._x = Leg1._x - Leg1._width / 2 + Body._width / 3.1;
Body._y = Leg1._y - Leg1._height - Body._height / 2.4;
Fox._x = Body._x + 10;
Fox._y = Body._y - Body._height / 1.5;
Leg2._y = Leg1._y;
Leg2._height = Leg1._height;
Leg2._x = Leg1._x + Body._width / 2;
Face._x = Body._x + Body._width / 20;
Face._y = Body._y - Body._height / 10;
Face._yscale = _root.Vari[Vlook][3];
Face._xscale = _root.Vari[Vlook][4];
Hair._yscale = _root.Vari[Vlook][5];
Hair._x = Body._x;
Hair._y = Body._y - Body._height / 2.5;
Arm1._x = Leg1._x - Leg1._width / 2;
Arm2._x = Arm1._x + Body._width / 1.45 - 7;
Body.Band._visible = _root.Vari[Vlook][8];
Body.Painting._visible = _root.Vari[Vlook][9];
Hair.Feder._visible = _root.Vari[Vlook][10];
trace(_root.Vari[Vlook][5]);
this._x = -(Body._width / 3);
}
instance RollerBlades1 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg1._x;
this._y = _parent.Leg1._y;
}
}
instance RollerBlades2 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg2._x;
this._y = _parent.Leg2._y;
}
}
}
movieClip 408 {
}
movieClip 409 {
instance Ball of movieClip 329 {
onClipEvent (load) {
stop();
}
}
instance Horse of movieClip 332 {
onClipEvent (load) {
gotoAndStop(5);
}
}
frame 19 {
gotoAndPlay(1);
}
frame 20 {
if (VBall == true) {
gotoAndPlay(1);
}
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (Math.random() >= 0.1) {
gotoAndPlay(1);
}
}
gotoAndPlay(1);
}
}
movieClip 410 {
frame 1 {
function ReCreate(Vname, Vinfos, Vplace) {
(eval('Guy' + Vname)).removeMovieClip();
Guy.duplicateMovieClip('Guy' + Vname, getNextHighestDepth());
(eval('Guy' + Vname)).VitemPos = new Array();
(eval('Guy' + Vname)).VitemAnz = 0;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = false;
(eval('Guy' + Vname)).Horse._visible = false;
(eval('Guy' + Vname)).Ball._visible = false;
(eval('Guy' + Vname)).Items.Shield._visible = false;
(eval('Guy' + Vname)).Items.Axe._visible = false;
(eval('Guy' + Vname)).Items.Rollers._visible = false;
(eval('Guy' + Vname)).Items.Fox1._visible = false;
(eval('Guy' + Vname)).Items.Fox2._visible = false;
(eval('Guy' + Vname)).Items.Fox3._visible = false;
(eval('Guy' + Vname)).Items.Dynamite._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = false;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.Horse._visible = false;
(eval('Guy' + Vname)).Items.Ball._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Vlook = Vinfos[6];
(eval('Guy' + Vname)).VspeedNorm = 0.7;
(eval('Guy' + Vname)).Vname = Vname;
(eval('Guy' + Vname)).Vcode = NIGuy[Vname];
(eval('Guy' + Vname)).VcodeArray = Vinfos;
(eval('Guy' + Vname)).Vatk = 0.7;
(eval('Guy' + Vname)).Vdef = 0.2;
(eval('Guy' + Vname))._x = (Vplace + 1) * 50;
if (Vinfos[0] == 1 || Vinfos[0] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).VBow = true;
(eval('Guy' + Vname)).Items.Bow._visible = true;
(eval('Guy' + Vname)).Items.Bow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
if (Vinfos[0] == 2) {
(eval('Guy' + Vname)).Vfire = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = true;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = true;
(eval('Guy' + Vname)).Items.FireBow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'FireBow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Fire Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[1] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = true;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Axe._visible = true;
(eval('Guy' + Vname)).Items.Axe._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[2] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = true;
(eval('Guy' + Vname)).Vdef = 0.1;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Shield._visible = true;
(eval('Guy' + Vname)).Items.Shield._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 1) {
(eval('Guy' + Vname)).VspeedNorm = 0.3;
(eval('Guy' + Vname)).Ball._visible = true;
(eval('Guy' + Vname)).VBall = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Ball._visible = true;
(eval('Guy' + Vname)).Items.Ball._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Iron Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = true;
(eval('Guy' + Vname)).VspeedNorm = 1.3;
(eval('Guy' + Vname))._y -= 3;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Rollers._visible = true;
(eval('Guy' + Vname)).Items.Rollers._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Rollers';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Roller Blades';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 3) {
(eval('Guy' + Vname)).Horse._visible = true;
(eval('Guy' + Vname))._y -= 28;
(eval('Guy' + Vname)).VspeedNorm = 1.5;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Horse._visible = true;
(eval('Guy' + Vname)).Items.Horse._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[4] == 1) {
(eval('Guy' + Vname)).Vatk = 0;
(eval('Guy' + Vname)).Vdef = 5;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = true;
(eval('Guy' + Vname)).Vdynamite = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Dynamite._visible = true;
(eval('Guy' + Vname)).Items.Dynamite._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Dynamite';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Dynamite Belt';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 4;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] != 0) {
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = true;
(eval('Guy' + Vname)).Vmagic = 1;
(eval('Guy' + Vname)).VitemAnz += 1;
if (Vinfos[7] == 1) {
(eval('Guy' + Vname)).Items.Fox1._visible = true;
(eval('Guy' + Vname)).Items.Fox1._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox1';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Fire Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 2) {
(eval('Guy' + Vname)).Items.Fox2._visible = true;
(eval('Guy' + Vname)).Items.Fox2._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox2';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Plant Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 3) {
(eval('Guy' + Vname)).Items.Fox3._visible = true;
(eval('Guy' + Vname)).Items.Fox3._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox3';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Rebirth Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[8] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = true;
}
(eval('Guy' + Vname)).Items.Box._height += 36 * (eval('Guy' + Vname)).VitemAnz * 1.2;
(eval('Guy' + Vname)).Items._visible = false;
trace((eval('Guy' + Vname))._yscale);
}
var Vposi = new Array();
var VposiClear = new Array();
Vactive = 0;
VsetItems = 0;
Vanz1Ins = 0;
VIanz1Ins = 0;
Vagigo = true;
var Feat = new Array();
var NItem = new Array();
var NIGuy = new Array();
NItem = _root.Items.split('.');
NIGuy = _root.ATeam;
i = 0;
while (i <= _root.ATeam.length - 1) {
trace(Feat);
ReCreate(Vanz1Ins, _root.ATeam[i], Vanz1Ins);
Vanz1Ins += 1;
++i;
}
Vbelong = this._x;
if (_root.Vfirst == true) {
this._x -= Vanz1Ins * 50 + 100;
}
stop();
onEnterFrame = function () {
if (_root.Vfirst == false) {
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
_x = _parent.Xer._x;
if (_root.Vfirst == true) {
if (this._x < Vbelong && Vagigo == true) {
_x = _x + 5;
} else {
_parent._parent._parent.gotoAndStop(3);
Vagigo = false;
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
}
};
var Vari = new Array();
i = 1;
while (i <= 20) {
Vari[i] = new Array();
++i;
}
Vari[1][0] = 124;
Vari[1][1] = 114;
Vari[1][2] = 101;
Vari[1][3] = 116;
Vari[1][4] = 85;
Vari[1][5] = 63;
Vari[1][6] = -111;
Vari[1][7] = 55;
Vari[1][8] = false;
Vari[1][9] = false;
Vari[1][10] = false;
Vari[2][0] = 110;
Vari[2][1] = 82;
Vari[2][2] = 115;
Vari[2][3] = 101;
Vari[2][4] = 108;
Vari[2][5] = 65;
Vari[2][6] = -105;
Vari[2][7] = 68;
Vari[2][8] = false;
Vari[2][9] = true;
Vari[2][10] = true;
Vari[3][0] = 103;
Vari[3][1] = 95;
Vari[3][2] = 105;
Vari[3][3] = 115;
Vari[3][4] = 108;
Vari[3][5] = 104;
Vari[3][6] = -130;
Vari[3][7] = 99;
Vari[3][8] = false;
Vari[3][9] = false;
Vari[3][10] = false;
Vari[4][0] = 132;
Vari[4][1] = 116;
Vari[4][2] = 120;
Vari[4][3] = 100;
Vari[4][4] = 86;
Vari[4][5] = 143;
Vari[4][6] = -137;
Vari[4][7] = 81;
Vari[4][8] = false;
Vari[4][9] = false;
Vari[4][10] = false;
Vari[5][0] = 108;
Vari[5][1] = 114;
Vari[5][2] = 119;
Vari[5][3] = 122;
Vari[5][4] = 120;
Vari[5][5] = 123;
Vari[5][6] = -130;
Vari[5][7] = 115;
Vari[5][8] = true;
Vari[5][9] = false;
Vari[5][10] = false;
Vari[6][0] = 116;
Vari[6][1] = 91;
Vari[6][2] = 87;
Vari[6][3] = 116;
Vari[6][4] = 116;
Vari[6][5] = 53;
Vari[6][6] = -117;
Vari[6][7] = 135;
Vari[6][8] = false;
Vari[6][9] = false;
Vari[6][10] = false;
Vari[7][0] = 88;
Vari[7][1] = 95;
Vari[7][2] = 100;
Vari[7][3] = 117;
Vari[7][4] = 102;
Vari[7][5] = 79;
Vari[7][6] = -103;
Vari[7][7] = 53;
Vari[7][8] = false;
Vari[7][9] = true;
Vari[7][10] = false;
Vari[8][0] = 72;
Vari[8][1] = 120;
Vari[8][2] = 100;
Vari[8][3] = 101;
Vari[8][4] = 110;
Vari[8][5] = 133;
Vari[8][6] = -112;
Vari[8][7] = 98;
Vari[8][8] = false;
Vari[8][9] = true;
Vari[8][10] = false;
Vari[9][0] = 107;
Vari[9][1] = 109;
Vari[9][2] = 83;
Vari[9][3] = 100;
Vari[9][4] = 100;
Vari[9][5] = 100;
Vari[9][6] = -138;
Vari[9][7] = 67;
Vari[9][8] = true;
Vari[9][9] = false;
Vari[9][10] = false;
Vari[10][0] = 68;
Vari[10][1] = 105;
Vari[10][2] = 112;
Vari[10][3] = 95;
Vari[10][4] = 82;
Vari[10][5] = 82;
Vari[10][6] = -86;
Vari[10][7] = 55;
Vari[10][8] = true;
Vari[10][9] = false;
Vari[10][10] = false;
Vari[11][0] = 138;
Vari[11][1] = 109;
Vari[11][2] = 115;
Vari[11][3] = 82;
Vari[11][4] = 118;
Vari[11][5] = 111;
Vari[11][6] = -150;
Vari[11][7] = 56;
Vari[11][8] = true;
Vari[11][9] = true;
Vari[11][10] = false;
Vari[12][0] = 141;
Vari[12][1] = 100;
Vari[12][2] = 105;
Vari[12][3] = 81;
Vari[12][4] = 107;
Vari[12][5] = 122;
Vari[12][6] = -145;
Vari[12][7] = 124;
Vari[12][8] = true;
Vari[12][9] = true;
Vari[12][10] = true;
Vari[13][0] = 116;
Vari[13][1] = 117;
Vari[13][2] = 80;
Vari[13][3] = 81;
Vari[13][4] = 124;
Vari[13][5] = 119;
Vari[13][6] = -106;
Vari[13][7] = 59;
Vari[13][8] = true;
Vari[13][9] = true;
Vari[13][10] = false;
Vari[14][0] = 60;
Vari[14][1] = 82;
Vari[14][2] = 91;
Vari[14][3] = 124;
Vari[14][4] = 95;
Vari[14][5] = 119;
Vari[14][6] = -87;
Vari[14][7] = 64;
Vari[14][8] = false;
Vari[14][9] = false;
Vari[14][10] = false;
Vari[15][0] = 106;
Vari[15][1] = 83;
Vari[15][2] = 94;
Vari[15][3] = 119;
Vari[15][4] = 91;
Vari[15][5] = 139;
Vari[15][6] = -122;
Vari[15][7] = 89;
Vari[15][8] = true;
Vari[15][9] = false;
Vari[15][10] = false;
Vari[16][0] = 137;
Vari[16][1] = 121;
Vari[16][2] = 103;
Vari[16][3] = 104;
Vari[16][4] = 91;
Vari[16][5] = 94;
Vari[16][6] = -158;
Vari[16][7] = 63;
Vari[16][8] = true;
Vari[16][9] = false;
Vari[16][10] = false;
Vari[17][0] = 129;
Vari[17][1] = 76;
Vari[17][2] = 84;
Vari[17][3] = 112;
Vari[17][4] = 110;
Vari[17][5] = 104;
Vari[17][6] = -91;
Vari[17][7] = 138;
Vari[17][8] = false;
Vari[17][9] = true;
Vari[17][10] = false;
Vari[18][0] = 146;
Vari[18][1] = 123;
Vari[18][2] = 77;
Vari[18][3] = 77;
Vari[18][4] = 95;
Vari[18][5] = 121;
Vari[18][6] = -161;
Vari[18][7] = 60;
Vari[18][8] = true;
Vari[18][9] = true;
Vari[18][10] = true;
Vari[19][0] = 99;
Vari[19][1] = 81;
Vari[19][2] = 86;
Vari[19][3] = 81;
Vari[19][4] = 119;
Vari[19][5] = 67;
Vari[19][6] = -84;
Vari[19][7] = 73;
Vari[19][8] = true;
Vari[19][9] = false;
Vari[19][10] = false;
Vari[20][0] = 72;
Vari[20][1] = 80;
Vari[20][2] = 88;
Vari[20][3] = 111;
Vari[20][4] = 88;
Vari[20][5] = 141;
Vari[20][6] = -105;
Vari[20][7] = 77;
Vari[20][8] = false;
Vari[20][9] = false;
Vari[20][10] = false;
}
instance Guy of movieClip 409 {
onClipEvent (load) {
if (this._name == 'Guy') {
_x = -500;
_visible = false;
}
}
}
}
movieClip 418 {
}
movieClip 419 {
}
movieClip 421 {
}
movieClip 422 {
instance ShopBack of movieClip 204 {
onClipEvent (load) {
onPress = function () {
startDrag(this, false);
};
onRelease = function () {
stopDrag();
};
onReleaseOutside = function () {
stopDrag();
};
}
}
instance DesBox of movieClip 206 {
onClipEvent (load) {
description = 'Item: Price';
coins = '/20c';
onEnterFrame = function () {
if (_parent.shop.selectedItem.label != undefined) {
description = _parent.shop.selectedItem.label + ': ' + _parent.shop.selectedItem.w + 'c';
}
};
onPress = function () {
startDrag(this, false);
};
onRelease = function () {
stopDrag();
};
onReleaseOutside = function () {
stopDrag();
};
}
}
instance inventory of movieClip 144 List {
onClipEvent (construct) {
multipleSelection = false;
rowHeight = 20;
}
}
instance shop of movieClip 144 List {
onClipEvent (construct) {
data = [];
data[0] = 'Axe';
data[1] = 'Shield';
data[2] = 'Bow';
data[3] = 'FireBow';
data[4] = 'Rollers';
data[5] = 'Ball';
data[6] = 'Horse';
data[7] = 'Dynamite';
data[8] = 'Fox1';
data[9] = 'Fox2';
data[10] = 'Fox3';
labels = [];
labels[0] = 'Axe';
labels[1] = 'Shield';
labels[2] = 'Bow';
labels[3] = 'Firebow';
labels[4] = 'Rollerblades';
labels[5] = 'Iron Ball';
labels[6] = 'Horse';
labels[7] = 'Dynamite Belt';
labels[8] = 'Magical Fire Suit';
labels[9] = 'Magical Plant Suit';
labels[10] = 'Magical Rebirth Suit';
multipleSelection = false;
rowHeight = 20;
}
}
}
movieClip 423 {
frame 1 {
stop();
}
instance of movieClip 182 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
instance of movieClip 196 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 50;
VflameRadi = 10;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
VflameHeight += delta * 10;
Vstep = VflameRadi / (VflameHeight / 10);
};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 0.8;
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(16724736, 100 * Vtrans);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
instance InventBack of movieClip 187 {
onClipEvent (load) {
onPress = function () {
startDrag(this, false);
};
onRelease = function () {
stopDrag();
};
onReleaseOutside = function () {
stopDrag();
};
}
}
instance ShopBack of movieClip 204 {
onClipEvent (load) {
onPress = function () {
startDrag(this, false);
};
onRelease = function () {
stopDrag();
};
onReleaseOutside = function () {
stopDrag();
};
}
}
instance DesBox of movieClip 206 {
onClipEvent (load) {
description = 'Item: Price';
coins = '/20c';
onEnterFrame = function () {
if (_parent.shop.selectedItem.label != undefined) {
description = _parent.shop.selectedItem.label + ': ' + _parent.shop.selectedItem.w + 'c';
}
};
onPress = function () {
startDrag(this, false);
};
onRelease = function () {
stopDrag();
};
onReleaseOutside = function () {
stopDrag();
};
}
}
instance inventory of movieClip 144 List {
onClipEvent (construct) {
multipleSelection = false;
rowHeight = 20;
}
}
instance shop of movieClip 144 List {
onClipEvent (construct) {
data = [];
data[0] = 'Axe';
data[1] = 'Shield';
data[2] = 'Bow';
data[3] = 'FireBow';
data[4] = 'Rollers';
data[5] = 'Ball';
data[6] = 'Horse';
data[7] = 'Dynamite';
data[8] = 'Fox1';
data[9] = 'Fox2';
data[10] = 'Fox3';
labels = [];
labels[0] = 'Axe';
labels[1] = 'Shield';
labels[2] = 'Bow';
labels[3] = 'Firebow';
labels[4] = 'Rollerblades';
labels[5] = 'Iron Ball';
labels[6] = 'Horse';
labels[7] = 'Dynamite Belt';
labels[8] = 'Magical Fire Suit';
labels[9] = 'Magical Plant Suit';
labels[10] = 'Magical Rebirth Suit';
multipleSelection = false;
rowHeight = 20;
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_xmouse >= 0 && _xmouse <= _width && _ymouse >= 0 && _ymouse <= _height) {
if (_xmouse >= (_width / 6) * 0 && _xmouse <= (_width / 6) * 1) {
DEFEND.text = 'dEFEND';
}
if (_xmouse >= (_width / 6) * 1 && _xmouse <= (_width / 6) * 2) {
DEFEND.text = 'DeFEND';
}
if (_xmouse >= (_width / 6) * 2 && _xmouse <= (_width / 6) * 3) {
DEFEND.text = 'DEfEND';
}
if (_xmouse >= (_width / 6) * 3 && _xmouse <= (_width / 6) * 4) {
DEFEND.text = 'DEFeND';
}
if (_xmouse >= (_width / 6) * 4 && _xmouse <= (_width / 6) * 5) {
DEFEND.text = 'DEFEnD';
}
if (_xmouse >= (_width / 6) * 5 && _xmouse <= (_width / 6) * 6) {
DEFEND.text = 'DEFENd';
}
} else {
DEFEND.text = 'DEFEND';
}
}
}
instance of movieClip 273 {
onClipEvent (enterFrame) {
if (_xmouse >= 0 && _xmouse <= _width && _ymouse >= 0 && _ymouse <= _height) {
if (_xmouse >= (_width / 4) * 0 && _xmouse <= (_width / 4) * 1) {
YOUR.text = 'yOUR';
}
if (_xmouse >= (_width / 4) * 1 && _xmouse <= (_width / 4) * 2) {
YOUR.text = 'YoUR';
}
if (_xmouse >= (_width / 4) * 2 && _xmouse <= (_width / 4) * 3) {
YOUR.text = 'YOuR';
}
if (_xmouse >= (_width / 4) * 3 && _xmouse <= (_width / 4) * 4) {
YOUR.text = 'YOUr';
}
} else {
YOUR.text = 'YOUR';
}
}
}
instance of movieClip 194 {
onClipEvent (load) {
_visible = false;
}
}
frame 30 {
stop();
}
frame 61 {
_parent._parent.gotoAndStop(3);
stop();
}
instance of movieClip 196 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 50;
VflameRadi = 10;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
VflameHeight += delta * 10;
Vstep = VflameRadi / (VflameHeight / 10);
};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 400;
trace(Vtrans);
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(16724736, 100 * Vtrans);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
}
movieClip 424 {
frame 1 {
function nowGotoAndPlay() {
trace('NIGGA');
gotoAndPlay(2);
}
stop();
}
frame 7 {
if (_root.Soundtrack.position == 0) {
_root.Soundtrack.start(0, 9999);
_root.Vstrans = 50;
}
}
frame 160 {
stop();
}
}
movieClip 429 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 432 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 435 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 439 {
on (press) {
if (_root.ATeam.length <= 9 && _root.local.data.money >= 15) {
_root.local.data.money -= 15;
_root.ATeam.push([0, 0, 0, 0, 0, 1, Math.round(Math.random() * 20), 0, 0]);
CreatorBridge();
}
}
}
button 444 {
on (press) {
_root.Vfade = 0.79;
chold = true;
ct = 144;
}
on (release) {
ct = 144;
chold = false;
_root.Vfade = 0;
_parent.Black._alpha = 0;
Backcount.text = 'Back';
}
on (releaseOutside) {
ct = 144;
chold = false;
_root.Vfade = 0;
_parent.Black._alpha = 0;
Backcount.text = 'Back';
}
}
// unknown tag 88 length 79
movieClip 450 {
}
movieClip 452 {
}
movieClip 454 {
}
movieClip 456 {
}
movieClip 457 {
frame 1 {
onEnterFrame = function () {
bobanz.text = Math.floor(_root.Vrent) + 'c';
};
}
instance of movieClip 450 {
onClipEvent (load) {
onPress = function () {
if (_root.local.data.MOTB >= _root.Vrent + 5 && 100 >= _root.Vrent + 5) {
trace(_root.local.data.MOTB);
_root.Vrent += 5;
}
};
}
}
instance of movieClip 452 {
onClipEvent (load) {
onPress = function () {
if (_root.Vrent - 5 >= 0) {
_root.Vrent -= 5;
}
};
}
}
instance of movieClip 454 {
onClipEvent (load) {
onRelease = function () {
_root.local.data.money += _root.Vrent;
_root.local.data.MOTB -= _root.Vrent;
_root.local.data.Vdepts[_root.Vbattles] += _root.Vrent / 5;
_root.Vscore -= _root.Vrent * 5;
_root.Vrent = 0;
};
}
}
instance of movieClip 456 {
onClipEvent (load) {
onPress = function () {
startDrag(_parent, false);
};
onRelease = function () {
stopDrag();
};
onReleaseOutside = function () {
stopDrag();
};
}
}
}
movieClip 460 {
}
movieClip 461 {
}
movieClip 463 {
}
movieClip 464 {
frame 5 {
stop();
}
}
movieClip 466 {
}
movieClip 469 {
instance TColor of movieClip 342 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 470 {
}
movieClip 471 {
instance TColor of movieClip 349 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 472 {
instance TColor of movieClip 352 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 473 {
}
movieClip 474 {
instance TColor of movieClip 286 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 475 {
}
movieClip 476 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(1);
}
frame 11 {
play();
}
frame 44 {
_parent._parent._parent._parent.shootarrow1(_parent._parent._parent._x, 1, _parent._parent._parent.Vfire, _parent._parent._parent.Vglasses);
}
}
movieClip 477 {
instance TColor of movieClip 382 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 478 {
}
movieClip 480 {
}
movieClip 482 {
}
movieClip 483 {
frame 1 {
Leg1._x = 0;
Leg1._y = 0;
Body._yscale = _root.Vari[Vlook][1];
Body._xscale = _root.Vari[Vlook][2];
Body._x = Leg1._x - Leg1._width / 2 + Body._width / 3.1;
Body._y = Leg1._y - Leg1._height - Body._height / 2.4;
Fox._x = Body._x + 10;
Fox._y = Body._y - Body._height / 1.5;
Leg2._y = Leg1._y;
Leg2._height = Leg1._height;
Leg2._x = Leg1._x + Body._width / 2;
Face._x = Body._x + Body._width / 20;
Face._y = Body._y - Body._height / 10;
Face._yscale = _root.Vari[Vlook][3];
Face._xscale = _root.Vari[Vlook][4];
Hair._yscale = _root.Vari[Vlook][5];
Hair._x = Body._x;
Hair._y = Body._y - Body._height / 2.5;
Arm1._x = Leg1._x - Leg1._width / 2;
Arm2._x = Arm1._x + Body._width / 1.45;
Body.Band._visible = _root.Vari[Vlook][8];
Body.Painting._visible = _root.Vari[Vlook][9];
Hair.Feder._visible = _root.Vari[Vlook][10];
this._x = -(Body._width / 3);
}
instance RollerBlades1 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg1._x;
this._y = _parent.Leg1._y;
}
}
instance RollerBlades2 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg2._x;
this._y = _parent.Leg2._y;
}
}
}
movieClip 485 {
}
movieClip 486 {
}
movieClip 487 {
instance Ball of movieClip 329 {
onClipEvent (load) {
stop();
}
}
instance Horse of movieClip 464 {
onClipEvent (load) {
gotoAndStop(5);
}
}
frame 19 {
gotoAndPlay(1);
}
frame 20 {
if (VBall == true) {
gotoAndPlay(1);
}
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (Math.random() >= 0.1) {
gotoAndPlay(1);
}
}
gotoAndPlay(1);
}
}
movieClip 488 {
frame 1 {
function ReCreate(Vname, Vinfos, Vplace) {
(eval('Guy' + Vname)).removeMovieClip();
Guy.duplicateMovieClip('Guy' + Vname, getNextHighestDepth());
(eval('Guy' + Vname)).VitemPos = new Array();
(eval('Guy' + Vname)).uGuy.uubob._visible = false;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
(eval('Guy' + Vname)).uGuy.uuGuy._visible = false;
(eval('Guy' + Vname)).uGuy.uubob._visible = true;
}
(eval('Guy' + Vname)).VitemAnz = 0;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = false;
(eval('Guy' + Vname)).Horse._visible = false;
(eval('Guy' + Vname)).Ball._visible = false;
(eval('Guy' + Vname)).Items.Shield._visible = false;
(eval('Guy' + Vname)).Items.Axe._visible = false;
(eval('Guy' + Vname)).Items.Rollers._visible = false;
(eval('Guy' + Vname)).Items.Fox1._visible = false;
(eval('Guy' + Vname)).Items.Fox2._visible = false;
(eval('Guy' + Vname)).Items.Fox3._visible = false;
(eval('Guy' + Vname)).Items.Dynamite._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = false;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.Horse._visible = false;
(eval('Guy' + Vname)).Items.Ball._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Vlook = Vinfos[6];
(eval('Guy' + Vname)).VspeedNorm = 0.7;
(eval('Guy' + Vname)).Vname = Vname;
(eval('Guy' + Vname)).Vcode = NIGuy[Vname];
(eval('Guy' + Vname)).VcodeArray = Vinfos;
(eval('Guy' + Vname)).Vatk = 0.7;
(eval('Guy' + Vname)).Vdef = 0.2;
(eval('Guy' + Vname))._x = (Vplace + 1) * 40;
if (Vinfos[0] == 1 || Vinfos[0] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).VBow = true;
(eval('Guy' + Vname)).Items.Bow._visible = true;
(eval('Guy' + Vname)).Items.Bow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
if (Vinfos[0] == 2) {
(eval('Guy' + Vname)).Vfire = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = true;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = true;
(eval('Guy' + Vname)).Items.FireBow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'FireBow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Fire Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[1] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = true;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Axe._visible = true;
(eval('Guy' + Vname)).Items.Axe._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[2] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = true;
(eval('Guy' + Vname)).Vdef = 0.1;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Shield._visible = true;
(eval('Guy' + Vname)).Items.Shield._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 1) {
(eval('Guy' + Vname)).VspeedNorm = 0.3;
(eval('Guy' + Vname)).Ball._visible = true;
(eval('Guy' + Vname)).VBall = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Ball._visible = true;
(eval('Guy' + Vname)).Items.Ball._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Iron Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = true;
(eval('Guy' + Vname)).VspeedNorm = 1.3;
(eval('Guy' + Vname))._y -= 3;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Rollers._visible = true;
(eval('Guy' + Vname)).Items.Rollers._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Rollers';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Roller Blades';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 3) {
(eval('Guy' + Vname)).Horse._visible = true;
(eval('Guy' + Vname))._y -= 28;
(eval('Guy' + Vname)).VspeedNorm = 1.5;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Horse._visible = true;
(eval('Guy' + Vname)).Items.Horse._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[4] == 1) {
(eval('Guy' + Vname)).Vatk = 0;
(eval('Guy' + Vname)).Vdef = 5;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = true;
(eval('Guy' + Vname)).Vdynamite = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Dynamite._visible = true;
(eval('Guy' + Vname)).Items.Dynamite._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Dynamite';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Dynamite Belt';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 4;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] != 0) {
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = true;
(eval('Guy' + Vname)).Vmagic = 1;
(eval('Guy' + Vname)).VitemAnz += 1;
if (Vinfos[7] == 1) {
(eval('Guy' + Vname)).Items.Fox1._visible = true;
(eval('Guy' + Vname)).Items.Fox1._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox1';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Fire Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 2) {
(eval('Guy' + Vname)).Items.Fox2._visible = true;
(eval('Guy' + Vname)).Items.Fox2._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox2';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Plant Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 3) {
(eval('Guy' + Vname)).Items.Fox3._visible = true;
(eval('Guy' + Vname)).Items.Fox3._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox3';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Rebirth Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[8] == 1) {
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = true;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 8;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
(eval('Guy' + Vname)).Items.Box._height += 36 * (eval('Guy' + Vname)).VitemAnz * 1.2;
(eval('Guy' + Vname)).Items._visible = false;
trace((eval('Guy' + Vname))._yscale);
}
var Vposi = new Array();
var VposiClear = new Array();
Vactive = 0;
VsetItems = 0;
Vanz1Ins = 0;
VIanz1Ins = 0;
Vagigo = true;
var Feat = new Array();
var NItem = new Array();
var NIGuy = new Array();
NItem = _root.Items.split('.');
NIGuy = _root.ATeam;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0] - 1) {
ReCreate(Vanz1Ins, [0, 0, 0, 0, 0, 1, 1, 0, 0], Vanz1Ins);
Vanz1Ins += 1;
++i;
}
} else {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0].length - 1) {
if (_root.Enemys[_root.Vbattles][0][i][5] == 1) {
ReCreate(Vanz1Ins, _root.Enemys[_root.Vbattles][0][i], Vanz1Ins);
Vanz1Ins += 1;
}
++i;
}
}
Vbelong = this._x;
if (_root.Vfirst == true) {
stop();
}
onEnterFrame = function () {
if (_root.Vfirst == false) {
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
if (_root.Vfirst == true) {
if (this._x < Vbelong && Vagigo == true) {
} else {
Vagigo = false;
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
}
};
var Vari = new Array();
i = 1;
while (i <= 20) {
Vari[i] = new Array();
++i;
}
Vari[1][0] = 124;
Vari[1][1] = 114;
Vari[1][2] = 101;
Vari[1][3] = 116;
Vari[1][4] = 85;
Vari[1][5] = 63;
Vari[1][6] = -111;
Vari[1][7] = 55;
Vari[1][8] = false;
Vari[1][9] = false;
Vari[1][10] = false;
Vari[2][0] = 110;
Vari[2][1] = 82;
Vari[2][2] = 115;
Vari[2][3] = 101;
Vari[2][4] = 108;
Vari[2][5] = 65;
Vari[2][6] = -105;
Vari[2][7] = 68;
Vari[2][8] = false;
Vari[2][9] = true;
Vari[2][10] = true;
Vari[3][0] = 103;
Vari[3][1] = 95;
Vari[3][2] = 105;
Vari[3][3] = 115;
Vari[3][4] = 108;
Vari[3][5] = 104;
Vari[3][6] = -130;
Vari[3][7] = 99;
Vari[3][8] = false;
Vari[3][9] = false;
Vari[3][10] = false;
Vari[4][0] = 132;
Vari[4][1] = 116;
Vari[4][2] = 120;
Vari[4][3] = 100;
Vari[4][4] = 86;
Vari[4][5] = 143;
Vari[4][6] = -137;
Vari[4][7] = 81;
Vari[4][8] = false;
Vari[4][9] = false;
Vari[4][10] = false;
Vari[5][0] = 108;
Vari[5][1] = 114;
Vari[5][2] = 119;
Vari[5][3] = 122;
Vari[5][4] = 120;
Vari[5][5] = 123;
Vari[5][6] = -130;
Vari[5][7] = 115;
Vari[5][8] = true;
Vari[5][9] = false;
Vari[5][10] = false;
Vari[6][0] = 116;
Vari[6][1] = 91;
Vari[6][2] = 87;
Vari[6][3] = 116;
Vari[6][4] = 116;
Vari[6][5] = 53;
Vari[6][6] = -117;
Vari[6][7] = 135;
Vari[6][8] = false;
Vari[6][9] = false;
Vari[6][10] = false;
Vari[7][0] = 88;
Vari[7][1] = 95;
Vari[7][2] = 100;
Vari[7][3] = 117;
Vari[7][4] = 102;
Vari[7][5] = 79;
Vari[7][6] = -103;
Vari[7][7] = 53;
Vari[7][8] = false;
Vari[7][9] = true;
Vari[7][10] = false;
Vari[8][0] = 72;
Vari[8][1] = 120;
Vari[8][2] = 100;
Vari[8][3] = 101;
Vari[8][4] = 110;
Vari[8][5] = 133;
Vari[8][6] = -112;
Vari[8][7] = 98;
Vari[8][8] = false;
Vari[8][9] = true;
Vari[8][10] = false;
Vari[9][0] = 107;
Vari[9][1] = 109;
Vari[9][2] = 83;
Vari[9][3] = 100;
Vari[9][4] = 100;
Vari[9][5] = 100;
Vari[9][6] = -138;
Vari[9][7] = 67;
Vari[9][8] = true;
Vari[9][9] = false;
Vari[9][10] = false;
Vari[10][0] = 68;
Vari[10][1] = 105;
Vari[10][2] = 112;
Vari[10][3] = 95;
Vari[10][4] = 82;
Vari[10][5] = 82;
Vari[10][6] = -86;
Vari[10][7] = 55;
Vari[10][8] = true;
Vari[10][9] = false;
Vari[10][10] = false;
Vari[11][0] = 138;
Vari[11][1] = 109;
Vari[11][2] = 115;
Vari[11][3] = 82;
Vari[11][4] = 118;
Vari[11][5] = 111;
Vari[11][6] = -150;
Vari[11][7] = 56;
Vari[11][8] = true;
Vari[11][9] = true;
Vari[11][10] = false;
Vari[12][0] = 141;
Vari[12][1] = 100;
Vari[12][2] = 105;
Vari[12][3] = 81;
Vari[12][4] = 107;
Vari[12][5] = 122;
Vari[12][6] = -145;
Vari[12][7] = 124;
Vari[12][8] = true;
Vari[12][9] = true;
Vari[12][10] = true;
Vari[13][0] = 116;
Vari[13][1] = 117;
Vari[13][2] = 80;
Vari[13][3] = 81;
Vari[13][4] = 124;
Vari[13][5] = 119;
Vari[13][6] = -106;
Vari[13][7] = 59;
Vari[13][8] = true;
Vari[13][9] = true;
Vari[13][10] = false;
Vari[14][0] = 60;
Vari[14][1] = 82;
Vari[14][2] = 91;
Vari[14][3] = 124;
Vari[14][4] = 95;
Vari[14][5] = 119;
Vari[14][6] = -87;
Vari[14][7] = 64;
Vari[14][8] = false;
Vari[14][9] = false;
Vari[14][10] = false;
Vari[15][0] = 106;
Vari[15][1] = 83;
Vari[15][2] = 94;
Vari[15][3] = 119;
Vari[15][4] = 91;
Vari[15][5] = 139;
Vari[15][6] = -122;
Vari[15][7] = 89;
Vari[15][8] = true;
Vari[15][9] = false;
Vari[15][10] = false;
Vari[16][0] = 137;
Vari[16][1] = 121;
Vari[16][2] = 103;
Vari[16][3] = 104;
Vari[16][4] = 91;
Vari[16][5] = 94;
Vari[16][6] = -158;
Vari[16][7] = 63;
Vari[16][8] = true;
Vari[16][9] = false;
Vari[16][10] = false;
Vari[17][0] = 129;
Vari[17][1] = 76;
Vari[17][2] = 84;
Vari[17][3] = 112;
Vari[17][4] = 110;
Vari[17][5] = 104;
Vari[17][6] = -91;
Vari[17][7] = 138;
Vari[17][8] = false;
Vari[17][9] = true;
Vari[17][10] = false;
Vari[18][0] = 146;
Vari[18][1] = 123;
Vari[18][2] = 77;
Vari[18][3] = 77;
Vari[18][4] = 95;
Vari[18][5] = 121;
Vari[18][6] = -161;
Vari[18][7] = 60;
Vari[18][8] = true;
Vari[18][9] = true;
Vari[18][10] = true;
Vari[19][0] = 99;
Vari[19][1] = 81;
Vari[19][2] = 86;
Vari[19][3] = 81;
Vari[19][4] = 119;
Vari[19][5] = 67;
Vari[19][6] = -84;
Vari[19][7] = 73;
Vari[19][8] = true;
Vari[19][9] = false;
Vari[19][10] = false;
Vari[20][0] = 72;
Vari[20][1] = 80;
Vari[20][2] = 88;
Vari[20][3] = 111;
Vari[20][4] = 88;
Vari[20][5] = 141;
Vari[20][6] = -105;
Vari[20][7] = 77;
Vari[20][8] = false;
Vari[20][9] = false;
Vari[20][10] = false;
}
instance Guy of movieClip 487 {
onClipEvent (load) {
if (this._name == 'Guy') {
_x = -500;
_visible = false;
}
}
}
}
movieClip 489 {
}
movieClip 494 {
instance Ball of movieClip 304 {
onClipEvent (load) {
stop();
}
}
}
movieClip 495 {
}
movieClip 501 {
}
// unknown tag 88 length 79
movieClip 504 {
frame 1 {
function CreatorBridge() {
Vanz1Ins = 0;
i = 0;
while (i <= _root.ATeam.length - 1) {
(eval('Guy' + i)).removeMovieClip();
trace('Feat:' + _root.ATeam[i]);
ReCreate(Vanz1Ins, _root.ATeam[i], Vanz1Ins);
Vanz1Ins += 1;
++i;
}
}
function CreateItems() {
inventory.removeAll();
VIanz1Ins = 0;
i = 0;
while (i <= _root.AItem.length - 1) {
if (_root.AItem[i] >= 1) {
Items.VitemAnz[VIanz1Ins] = int(_root.AItem[i]);
inventory.addItem({'x': VIanz1Ins, 'data': i, 'label': _root.ItemInfo[i][3]});
if (_root.AItem[i] >= 2) {
inventory.replaceItemAt(VIanz1Ins, {'x': VIanz1Ins, 'data': i, 'label': _root.ItemInfo[i][3] + '(' + _root.AItem[i] + ')'});
}
VIanz1Ins += 1;
}
++i;
}
inventory.setSize(240, inventory.rowHeight * (inventory.length + 1));
if (InventBack.iBack._height != 20) {
InventBack.iBack._height = inventory.rowHeight * (inventory.length + 1) + 30;
}
}
function ReCreate(Vname, Vinfos, Vplace) {
(eval('Guy' + Vname)).removeMovieClip();
Guy.duplicateMovieClip('Guy' + Vname, getNextHighestDepth());
(eval('Guy' + Vname)).VitemPos = new Array();
if (Vinfos[5] == 0) {
(eval('Guy' + Vname))._alpha = 30;
}
(eval('Guy' + Vname)).VitemAnz = 0;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = false;
(eval('Guy' + Vname)).Horse._visible = false;
(eval('Guy' + Vname)).Ball._visible = false;
(eval('Guy' + Vname)).Items.Shield._visible = false;
(eval('Guy' + Vname)).Items.Axe._visible = false;
(eval('Guy' + Vname)).Items.Rollers._visible = false;
(eval('Guy' + Vname)).Items.Fox1._visible = false;
(eval('Guy' + Vname)).Items.Fox2._visible = false;
(eval('Guy' + Vname)).Items.Fox3._visible = false;
(eval('Guy' + Vname)).Items.Dynamite._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = false;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.Horse._visible = false;
(eval('Guy' + Vname)).Items.Ball._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Vlook = Vinfos[6];
(eval('Guy' + Vname)).VspeedNorm = 0.7;
(eval('Guy' + Vname)).Vname = Vname;
(eval('Guy' + Vname)).Vcode = NIGuy[Vname];
(eval('Guy' + Vname)).VcodeArray = Vinfos;
(eval('Guy' + Vname)).Vatk = 0.7;
(eval('Guy' + Vname)).Vdef = 0.2;
(eval('Guy' + Vname))._x = (Vplace + 1) * 50;
(eval('Guy' + Vname)).gotoAndPlay(Math.random() * 20);
if (Vinfos[0] == 1 || Vinfos[0] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).VBow = true;
(eval('Guy' + Vname)).Items.Bow._visible = true;
(eval('Guy' + Vname)).Items.Bow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 2;
if (Vinfos[0] == 2) {
(eval('Guy' + Vname)).Vfire = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = true;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = true;
(eval('Guy' + Vname)).Items.FireBow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 3;
}
}
if (Vinfos[1] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = true;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Axe._visible = true;
(eval('Guy' + Vname)).Items.Axe._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 0;
}
if (Vinfos[2] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = true;
(eval('Guy' + Vname)).Vdef = 0.1;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Shield._visible = true;
(eval('Guy' + Vname)).Items.Shield._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 1;
}
if (Vinfos[3] == 1) {
(eval('Guy' + Vname)).VspeedNorm = 0.3;
(eval('Guy' + Vname)).Ball._visible = true;
(eval('Guy' + Vname)).VBall = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Ball._visible = true;
(eval('Guy' + Vname)).Items.Ball._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 5;
}
if (Vinfos[3] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = true;
(eval('Guy' + Vname)).VspeedNorm = 1.3;
(eval('Guy' + Vname))._y -= 3;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Rollers._visible = true;
(eval('Guy' + Vname)).Items.Rollers._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 4;
}
if (Vinfos[3] == 3) {
(eval('Guy' + Vname)).Horse._visible = true;
(eval('Guy' + Vname))._y -= 28;
(eval('Guy' + Vname)).VspeedNorm = 1.5;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Horse._visible = true;
(eval('Guy' + Vname)).Items.Horse._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 6;
}
if (Vinfos[4] == 1) {
(eval('Guy' + Vname)).Vatk = 0;
(eval('Guy' + Vname)).Vdef = 5;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = true;
(eval('Guy' + Vname)).Vdynamite = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Dynamite._visible = true;
(eval('Guy' + Vname)).Items.Dynamite._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 7;
}
if (Vinfos[7] != 0) {
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = true;
(eval('Guy' + Vname)).Vmagic = 1;
(eval('Guy' + Vname)).VitemAnz += 1;
if (Vinfos[7] == 1) {
(eval('Guy' + Vname)).Items.Fox1._visible = true;
(eval('Guy' + Vname)).Items.Fox1._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 8;
}
if (Vinfos[7] == 2) {
(eval('Guy' + Vname)).Items.Fox2._visible = true;
(eval('Guy' + Vname)).Items.Fox2._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 9;
}
if (Vinfos[7] == 3) {
(eval('Guy' + Vname)).Items.Fox3._visible = true;
(eval('Guy' + Vname)).Items.Fox3._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 10;
}
}
if (Vinfos[8] == 1) {
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = true;
(eval('Guy' + Vname)).Items.Glasses._visible = true;
(eval('Guy' + Vname)).Items.Glasses._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = 11;
}
(eval('Guy' + Vname)).Items.Box._height += 36 * (eval('Guy' + Vname)).VitemAnz * 1.2;
(eval('Guy' + Vname)).Items._visible = false;
trace((eval('Guy' + Vname))._yscale);
}
More._x = 560 + (210 - _x);
var Vposi = new Array();
var VposiClear = new Array();
Vactive = 0;
VsetItems = 0;
_root.Vrent = 0;
Vcountnext = 0;
Vanz1Ins = 0;
VIanz1Ins = 0;
var Text = new String();
var Feat = new Array();
Text = '2.0.0.0.0.1.18.0';
Text2 = '2.1.5.3.0.1.0.4.0.3.2';
NItem = _root.AItem;
NIGuy = _root.ATeam;
CreatorBridge();
Help.gotoAndStop(_root.Vbattles + 1);
stop();
Backcount._x += 210 - _x;
Backbutton._x += 210 - _x;
_root.local.data.Vdepts[_root.Vbattles] = 0;
i = 0;
while (i < _root.Vbattles) {
if (i >= _root.Vbattles - 5) {
trace('MONEY' + _root.local.data.money);
_root.local.data.MOTB += _root.local.data.Vdepts[i];
}
++i;
}
onEnterFrame = function () {
if (_root.local.data.VhelpON == false) {
Help._visible = false;
} else {
Help._visible = true;
}
_root.local.data.Vscore = _root.Vscore;
score.text = 'score: ' + _root.Vscore;
if (chold == true) {
--ct;
Backcount.text = 'Back(' + Math.ceil(ct / 36) + ')';
if (ct <= 0) {
_root.Vbattles = 0;
_parent.gotoAndPlay(2);
}
}
if (VsetItems == 1) {
CreateItems();
}
VsetItems += 1;
_parent._parent.local.data.Team = _root.ATeam;
_parent._parent.local.data.Item = _root.Item;
if (Vcountnext >= 1) {
trace('TALLYWACKER');
bobmenue._visible = false;
InventBack._visible = false;
ShopBack._visible = false;
inventory._visible = false;
shop._visible = false;
WaveBack._visible = false;
More._visible = false;
Backbutton._visible = false;
Backcount._visible = false;
DesBox._visible = false;
Vcountnext += 1;
_root.Vfade = 2;
}
if (Vcountnext >= 10 && Vcountnext <= 70) {
_parent.Background._alpha -= (Vcountnext - 10) * 1.666666666666667;
}
if (Vcountnext >= 70) {
_root.Vstrans = 50;
_root.NIGuy = _root.ATeam;
_root.VboworderINT = Math.floor(Math.random() * 19.9);
_root.VboworderINT += Math.floor(Math.random() * 0.29);
if (Math.floor(Math.random() * 2.9) - 1 >= 0) {
_root.VboworderINT *= 1;
} else {
_root.VboworderINT *= -1;
}
_root.Vboworder0 = new Array();
_root.Vboworder0[0] = (Math.abs(_root.VboworderINT) - Math.floor(Math.abs(_root.VboworderINT))) * 10;
_root.Vboworder0[1] = Math.floor(Math.abs(_root.VboworderINT));
if (_root.VboworderINT >= 0) {
_root.Vboworder0[2] = 1;
} else {
_root.Vboworder0[2] = -1;
}
_parent.gotoAndStop(4);
}
Vclear = 0;
i = 0;
while (i <= Vanz1Ins - 1) {
Vposi[i] = new Array();
Vposi[i][0] = 0;
Vposi[i][1] = 0;
VposiClear[i] = true;
++i;
}
i = 0;
while (i <= Vanz1Ins - 1) {
VposiClear[Math.round((eval('Guy' + i))._x / 50) - 1] = false;
if (Vposi[Math.round((eval('Guy' + i))._x / 50) - 1][0] == 0) {
Vposi[Math.round((eval('Guy' + i))._x / 50) - 1][0] = 'Guy' + i;
} else {
Vposi[Math.round((eval('Guy' + i))._x / 50) - 1][1] = 'Guy' + i;
}
++i;
}
i = 0;
while (i <= Vanz1Ins - 1) {
if (VposiClear[i] == true) {
Vclear = 1;
}
if (Vposi[i][1] != 0) {
if (Vclear == 0) {
if (Vactive != Vposi[i][0]) {
(eval(Vposi[i][0]))._x += 50;
} else {
(eval(Vposi[i][1]))._x += 50;
}
} else {
if (Vactive != Vposi[i][0]) {
(eval(Vposi[i][0]))._x -= 50;
} else {
(eval(Vposi[i][1]))._x -= 50;
}
}
}
++i;
}
_root.ATeam = new Array();
i = 0;
while (i <= Vanz1Ins - 1) {
_root.ATeam[i] = new Array();
_root.ATeam[i] = (eval(Vposi[i][0])).VcodeArray;
++i;
}
};
onMouseUp = function () {
Items.Shield._visible = false;
Items.Axe._visible = false;
Items.Rollers._visible = false;
Items.Fox1._visible = false;
Items.Fox2._visible = false;
Items.Fox3._visible = false;
Items.Dynamite._visible = false;
Items.FireBow._visible = false;
Items.Bow._visible = false;
Items.Horse._visible = false;
Items.Ball._visible = false;
Items.Glasses._visible = false;
};
}
instance of movieClip 182 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
instance of movieClip 196 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 50;
VflameRadi = 10;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 400;
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(16724736, 100 * Vtrans);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
instance Guy of movieClip 409 {
onClipEvent (load) {
Vchanged = false;
Vover = false;
VreCount = 0;
VrePos = 0;
if (this._name == 'Guy') {
_x = -50;
_visible = false;
}
Vdrag2 = false;
Vdrag = false;
onRollOver = function () {
Items._visible = true;
};
onRollOut = function () {
VrePos = 1;
Items._visible = false;
Vover = false;
};
onPress = function () {
Vdrag2 = true;
if (_root.Loader.Main._ymouse >= this._y - 40) {
VreCount = 0;
Vdrag = true;
_parent.Vactive = _name;
}
};
onRelease = function () {
if (VreCount <= 5) {
if (this._alpha == 100) {
VcodeArray[5] = 0;
this._alpha = 30;
} else {
VcodeArray[5] = 1;
this._alpha = 100;
}
}
Vdrag = false;
Vdrag2 = false;
this.stopDrag();
_parent.Vactive = 0;
};
onReleaseOutside = function () {
VrePos = 1;
if (VreCount <= 5) {
if (this._alpha == 100) {
VcodeArray[5] = 0;
this._alpha = 30;
} else {
VcodeArray[5] = 1;
this._alpha = 100;
}
}
Vdrag = false;
Vdrag2 = false;
this.stopDrag();
_parent.Vactive = 0;
};
stop();
}
onClipEvent (enterFrame) {
if (_x <= 0) {
_visible = false;
}
VreCount += 1;
if (Vdrag == true) {
if (_root.Loader.Main._xmouse >= 25 && _root.Loader.Main._xmouse <= _root.ATeam.length * 50) {
this._x = Math.round(_root.Loader.Main._xmouse / 50) * 50;
}
}
if (Vdrag2 == true) {
i = 1;
while (i <= VitemAnz) {
if (_root.Loader.Main._ymouse <= _y - 50 - i * 36 + 36 && _root.Loader.Main._ymouse >= _y - 50 - i * 36) {
_parent.Items.Shield._visible = false;
_parent.Items.Axe._visible = false;
_parent.Items.Rollers._visible = false;
_parent.Items.Fox1._visible = false;
_parent.Items.Fox2._visible = false;
_parent.Items.Fox3._visible = false;
_parent.Items.Dynamite._visible = false;
_parent.Items.FireBow._visible = false;
_parent.Items.Bow._visible = false;
_parent.Items.Horse._visible = false;
_parent.Items.Ball._visible = false;
(eval('_parent.Items.' + _root.ItemInfo[VitemPos[i]][4]))._visible = true;
(eval('Items.' + _root.ItemInfo[VitemPos[i]][4]))._alpha = 20;
_parent.Items.Vdrag = VitemPos[i];
_parent.Items.VGuy = true;
_parent.Items.Vactive = 1;
_parent.Items.VnoShop = false;
_parent.Items.Vinflu = _x / 50 - 1;
_parent.Items.VinfluName = _name;
Vdrag2 = false;
}
++i;
}
}
if (_parent.Items.Vchanged[Vname] == true) {
_parent.Items.Vchanged[Vname] = false;
VcodeArray[VchangedItem.x] = VchangedItem.z;
_parent.ReCreate(Vname, VcodeArray, _x / 50 - 1);
}
}
}
instance InventBack of movieClip 421 {
onClipEvent (load) {
function ONOFF(s) {
if (s == 1) {
_root.local.data.VinventON = 1;
_parent.inventory._visible = false;
iBack._height = 20;
iBack._x = 85;
iBack._width = 80;
} else {
_root.local.data.VinventON = 0;
_parent.inventory._visible = true;
iBack._height = _parent.inventory.rowHeight * (_parent.inventory.length + 1) + 30;
iBack._x = 0;
iBack._width = 250;
}
}
_x = _root.local.data.VinventX;
_y = _root.local.data.VinventY;
Vcount = 0;
if (Vcount <= 5) {
_parent.inventory._visible = false;
iBack._height = 20;
iBack._x = 85;
iBack._width = 80;
}
onPress = function () {
Vcount = 0;
startDrag(this, false);
};
onRelease = function () {
if (_parent.inventory._visible == true) {
if (Vcount <= 5) {
ONOFF(1);
}
} else {
if (Vcount <= 5) {
if (_parent.inventory.length >> 0) {
ONOFF(0);
}
}
}
Vcount = 0;
stopDrag();
};
if (_root.local.data.Items.length >> 0) {
ONOFF(_root.local.data.VinventON);
}
onReleaseOutside = function () {
stopDrag();
};
}
onClipEvent (enterFrame) {
_root.local.data.VinventX = _x;
_root.local.data.VinventY = _y;
++Vcount;
}
}
instance ShopBack of movieClip 204 {
onClipEvent (load) {
function ONOFF(s) {
if (s == 1) {
Money._visible = false;
_root.local.data.VshopON = 1;
_parent.shop._visible = false;
sBack._height = 20;
sBack._x = 68;
sBack._width = 45;
_parent.DesBox._visible = false;
} else {
Money._visible = true;
_root.local.data.VshopON = 0;
_parent.shop._visible = true;
sBack._height = 190;
sBack._x = 0;
sBack._width = 180;
_parent.DesBox._visible = true;
}
}
_x = _root.local.data.VshopX + (210 - _parent._x);
_y = _root.local.data.VshopY;
Vcount = 0;
if (Vcount <= 5) {
_parent.shop._visible = false;
sBack._height = 20;
sBack._x = 128;
sBack._width = 45;
_parent.DesBox._visible = false;
}
onPress = function () {
Vcount = 0;
startDrag(this, false);
};
onRelease = function () {
if (_parent.shop._visible == true) {
if (Vcount <= 5) {
ONOFF(1);
}
} else {
if (Vcount <= 5) {
ONOFF(0);
}
}
Vcount = 0;
stopDrag();
};
ONOFF(_root.local.data.VshopON);
onReleaseOutside = function () {
stopDrag();
};
}
onClipEvent (enterFrame) {
money = Math.floor(_root.local.data.money) + 'c';
_root.local.data.VshopX = _x - (210 - _parent._x);
_root.local.data.VshopY = _y;
++Vcount;
}
}
instance bobmenue of movieClip 457 {
onClipEvent (load) {
_x = _root.local.data.VbobX;
_y = _root.local.data.VbobY;
}
onClipEvent (enterFrame) {
_root.local.data.VbobX = _x;
_root.local.data.VbobY = _y;
}
}
instance WaveBack of movieClip 489 {
onClipEvent (load) {
function ONOFF(s) {
if (s == 1) {
_root.local.data.VwaveON = 1;
_parent.Lobby._visible = false;
iBack._height = 20;
iBack._x = 125 - (wave.textWidth + 10) / 2;
iBack._width = wave.textWidth + 10;
Guys._visible = false;
Guys._y = 45;
Playbutton._visible = false;
} else {
_root.local.data.VwaveON = 0;
iBack._height = 50;
_parent.Lobby._visible = true;
iBack._x = 0;
iBack._width = 250;
Guys._visible = true;
Guys._y = 45;
}
}
if (_root.Enemys[_root.Vbattles] == undefined) {
_root.Enemys[_root.Vbattles] = new Array();
_root.Enemys[_root.Vbattles][0] = new Array();
t = 0;
while (t <= 7) {
f = Math.round(Math.random() * 30) / 10 - 1.5;
_root.Enemys[_root.Vbattles][0][t] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.abs(f) + f), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), 0, Math.round(Math.random() * 0.6)];
++t;
}
_root.Enemys[_root.Vbattles][0][8] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
_root.Enemys[_root.Vbattles][0][9] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
_root.Enemys[_root.Vbattles][1] = 16711680;
}
_x = _root.local.data.VwaveX;
_y = _root.local.data.VwaveY;
wave.text = 'next wave (' + (_root.Vbattles + 1) + ')';
Vopen = false;
Playbutton._visible = false;
Vcount = 0;
if (Vcount <= 5) {
iBack._height = 20;
iBack._x = 85;
iBack._width = 80;
}
onPress = function () {
if (!(_ymouse >= 30 && _ymouse <= 90 && _xmouse >= 95 && _xmouse <= 155)) {
Vcount = 0;
startDrag(this, false);
}
};
onRelease = function () {
if (_ymouse >= 30 && _ymouse <= 90) {
_root.Vbobbattle = 0;
_parent.Vcountnext = 1;
} else {
if (_root.local.data.VwaveON == 0) {
if (Vcount <= 5) {
ONOFF(1);
}
} else {
if (Vcount <= 5) {
ONOFF(0);
}
iBack._height += 50;
Guys._y = 95;
Guys._xscale = 100;
Guys._yscale = 100;
Vopen = true;
Playbutton._visible = true;
}
Vcount = 0;
stopDrag();
}
};
ONOFF(_root.local.data.VwaveON);
onReleaseOutside = function () {
stopDrag();
};
onRollOver = function () {
if (_root.local.data.VwaveON == 0) {
iBack._height += 50;
Guys._y = 95;
Guys._xscale = 100;
Guys._yscale = 100;
Vopen = true;
Playbutton._visible = true;
}
};
onRollOut = function () {
ONOFF(_root.local.data.VwaveON);
Guys._xscale = 50;
Guys._yscale = 50;
Vopen = false;
Guys._x = 260;
Playbutton._visible = false;
};
}
onClipEvent (enterFrame) {
if (Vopen == true) {
Guys._x = ((250 - _xmouse) / 250) * (Guys.Vanz1Ins * 20) + 260;
}
_root.local.data.VwaveX = _x;
_root.local.data.VwaveY = _y;
++Vcount;
}
}
instance inventory of movieClip 144 List {
onClipEvent (construct) {
multipleSelection = false;
rowHeight = 20;
}
onClipEvent (load) {
_parent.Items.Shield._visible = false;
_parent.Items.Axe._visible = false;
_parent.Items.Rollers._visible = false;
_parent.Items.Fox1._visible = false;
_parent.Items.Fox2._visible = false;
_parent.Items.Fox3._visible = false;
_parent.Items.Dynamite._visible = false;
_parent.Items.FireBow._visible = false;
_parent.Items.Bow._visible = false;
_parent.Items.Horse._visible = false;
_parent.Items.Ball._visible = false;
_parent.Items.Glasses._visible = false;
VreClick = 3;
onMouseDown = function () {
if (_root.Loader.Main._xmouse >= _x && _root.Loader.Main._ymouse >= _y && _root.Loader.Main._xmouse <= _x + _width && _root.Loader.Main._ymouse <= _y + _height) {
_parent.Items.Vactive = 1;
VreClick = 0;
}
};
}
onClipEvent (enterFrame) {
_x = _parent.InventBack._x + 5;
_y = _parent.InventBack._y + 20;
VreClick += 1;
if (VreClick == 2) {
_parent.Items.Shield._visible = false;
_parent.Items.Axe._visible = false;
_parent.Items.Rollers._visible = false;
_parent.Items.Fox1._visible = false;
_parent.Items.Fox2._visible = false;
_parent.Items.Fox3._visible = false;
_parent.Items.Dynamite._visible = false;
_parent.Items.FireBow._visible = false;
_parent.Items.Bow._visible = false;
_parent.Items.Horse._visible = false;
_parent.Items.Ball._visible = false;
_parent.Items.Glasses._visible = false;
(eval('_parent.Items.' + _root.ItemInfo[selectedItem.data][4]))._visible = true;
trace(selectedItem.data);
_parent.Items.Vdrag = selectedItem.data;
_parent.Items.VGuy = false;
_parent.Items.VlistPos = selectedIndex;
selectable = false;
}
}
}
instance shop of movieClip 144 List {
onClipEvent (construct) {
data = [];
data[0] = 'Axe';
data[1] = 'Shield';
data[2] = 'Bow';
data[3] = 'FireBow';
data[4] = 'Rollers';
data[5] = 'Ball';
data[6] = 'Horse';
data[7] = 'Dynamite';
data[8] = 'Fox1';
data[9] = 'Fox2';
data[10] = 'Fox3';
data[11] = 'Glasses';
labels = [];
labels[0] = 'Axe';
labels[1] = 'Shield';
labels[2] = 'Bow';
labels[3] = 'Firebow';
labels[4] = 'Rollerblades';
labels[5] = 'Iron Ball';
labels[6] = 'Horse';
labels[7] = 'Dynamite Belt';
labels[8] = 'Magical Fire Suit';
labels[9] = 'Magical Plant Suit';
labels[10] = 'Magical Rebirth Suit';
labels[11] = 'Glasses';
multipleSelection = false;
rowHeight = 20;
}
onClipEvent (load) {
Vcount = 0;
_parent.Items.Shield._visible = false;
_parent.Items.Axe._visible = false;
_parent.Items.Rollers._visible = false;
_parent.Items.Fox1._visible = false;
_parent.Items.Fox2._visible = false;
_parent.Items.Fox3._visible = false;
_parent.Items.Dynamite._visible = false;
_parent.Items.FireBow._visible = false;
_parent.Items.Bow._visible = false;
_parent.Items.Horse._visible = false;
_parent.Items.Ball._visible = false;
_parent.Items.Glasses._visible = false;
VreClick = 3;
(getItemAt(0)).x = 1;
(getItemAt(0)).y = 1;
(getItemAt(0)).w = 10;
(getItemAt(1)).x = 2;
(getItemAt(1)).y = 1;
(getItemAt(1)).w = 10;
(getItemAt(2)).x = 0;
(getItemAt(2)).y = 1;
(getItemAt(2)).w = 20;
(getItemAt(3)).x = 0;
(getItemAt(3)).y = 2;
(getItemAt(3)).w = 30;
(getItemAt(4)).x = 3;
(getItemAt(4)).y = 2;
(getItemAt(4)).w = 15;
(getItemAt(5)).x = 3;
(getItemAt(5)).y = 1;
(getItemAt(5)).w = 15;
(getItemAt(6)).x = 3;
(getItemAt(6)).y = 3;
(getItemAt(6)).w = 25;
(getItemAt(7)).x = 4;
(getItemAt(7)).y = 1;
(getItemAt(7)).w = 40;
(getItemAt(8)).x = 7;
(getItemAt(8)).y = 1;
(getItemAt(8)).w = 60;
(getItemAt(9)).x = 7;
(getItemAt(9)).y = 2;
(getItemAt(9)).w = 60;
(getItemAt(10)).x = 7;
(getItemAt(10)).y = 3;
(getItemAt(10)).w = 100;
(getItemAt(11)).x = 8;
(getItemAt(11)).y = 1;
(getItemAt(11)).w = 50;
bef = _xmouse * _ymouse;
onMouseDown = function () {
if (_visible == true) {
if (_root.Loader.Main._xmouse >= _x && _root.Loader.Main._ymouse >= _y && _root.Loader.Main._xmouse <= _x + _width - 20 && _root.Loader.Main._ymouse <= _y + _height) {
_parent.Items.Vactive = 1;
VreClick = 0;
}
}
};
Vscroll = 0;
}
onClipEvent (enterFrame) {
_x = _parent.ShopBack._x + 5;
_y = _parent.ShopBack._y + 20;
++Vcount;
VreClick += 1;
if (selectable == false) {
if (bef != _xmouse * _ymouse) {
if (_root.local.data.money >= Math.floor(_root.ItemInfo[selectedIndex][2])) {
(eval('_parent.Items.' + _root.ItemInfo[selectedIndex][4]))._visible = true;
}
Mouse.show();
}
vPosition = Vscroll;
}
if (VreClick == 2) {
bef = _xmouse * _ymouse;
_parent.Items.Shield._visible = false;
_parent.Items.Axe._visible = false;
_parent.Items.Rollers._visible = false;
_parent.Items.Fox1._visible = false;
_parent.Items.Fox2._visible = false;
_parent.Items.Fox3._visible = false;
_parent.Items.Dynamite._visible = false;
_parent.Items.FireBow._visible = false;
_parent.Items.Bow._visible = false;
_parent.Items.Horse._visible = false;
_parent.Items.Ball._visible = false;
_parent.Items.Glasses._visible = false;
_parent.Itemshow.Items.Shield._visible = false;
_parent.Itemshow.Items.Axe._visible = false;
_parent.Itemshow.Items.Rollers._visible = false;
_parent.Itemshow.Items.Fox1._visible = false;
_parent.Itemshow.Items.Fox2._visible = false;
_parent.Itemshow.Items.Fox3._visible = false;
_parent.Itemshow.Items.Dynamite._visible = false;
_parent.Itemshow.Items.FireBow._visible = false;
_parent.Itemshow.Items.Bow._visible = false;
_parent.Itemshow.Items.Horse._visible = false;
_parent.Itemshow.Items.Ball._visible = false;
_parent.Itemshow.Items.Glasses._visible = false;
_parent.Itemshow.price = _root.ItemInfo[selectedIndex][2] + 'c';
_parent.Itemshow.iname = selectedItem.label;
(eval('_parent.Itemshow.Items.' + _root.ItemInfo[selectedIndex][4]))._visible = true;
_parent.Itemshow._visible = true;
trace(selectedIndex);
_parent.Items.Vdrag = selectedIndex;
_parent.Items.VGuy = false;
_parent.Items.VlistPos = selectedIndex;
Mouse.hide();
selectable = false;
Vscroll = vPosition;
}
}
}
instance Itemshow of movieClip 495 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _parent.ShopBack._x + 5;
_y = _parent.ShopBack._y + 20;
}
}
instance Items of movieClip 494 {
onClipEvent (load) {
VrePos = 0;
VnoShop = true;
var Vchanged = new Array();
var Vdrag = new Object();
var VitemAnz = new Array();
i = 0;
while (i <= 50) {
VitemAnz[i] = 0;
++i;
}
onMouseUp = function () {
if (Vactive == 1) {
_parent.inventory.selectable = true;
_parent.shop.selectable = true;
_parent.Itemshow._visible = false;
Mouse.show();
VrePos = 1;
Vactive = 0;
if (_root.Loader.Main._ymouse >= 350 && _root.Loader.Main._ymouse <= 400 && _root.Loader.Main._xmouse >= 25 && _root.Loader.Main._xmouse <= 50 * _parent.Vanz1Ins + 25) {
if (_root.ATeam[Math.round(_root.Loader.Main._xmouse / 50) - 1][_root.ItemInfo[Vdrag][0]] == 0) {
if (VGuy == true) {
_root.ATeam[Vinflu][_root.ItemInfo[Vdrag][0]] = 0;
_root.ATeam[Math.round(_root.Loader.Main._xmouse / 50) - 1][_root.ItemInfo[Vdrag][0]] = _root.ItemInfo[Vdrag][1];
} else {
if (_root.local.data.money >= Math.floor(_root.ItemInfo[Vdrag][2])) {
_root.local.data.money -= _root.ItemInfo[Vdrag][2];
_root.ATeam[Math.round(_root.Loader.Main._xmouse / 50) - 1][_root.ItemInfo[Vdrag][0]] = _root.ItemInfo[Vdrag][1];
}
}
}
} else {
if (VGuy == true) {
_root.ATeam[Vinflu][_root.ItemInfo[Vdrag][0]] = 0;
}
}
_parent.CreatorBridge();
_parent.CreateItems();
}
};
}
onClipEvent (enterFrame) {
this._x = _root.Loader.Main._xmouse;
this._y = _root.Loader.Main._ymouse;
}
}
}
movieClip 509 {
frame 1 {
function ReCreate(Vname, Vinfos, Vplace) {
(eval('Guy' + Vname)).removeMovieClip();
Guy.duplicateMovieClip('Guy' + Vname, getNextHighestDepth());
(eval('Guy' + Vname)).VitemPos = new Array();
(eval('Guy' + Vname)).VitemAnz = 0;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = false;
(eval('Guy' + Vname)).Horse._visible = false;
(eval('Guy' + Vname)).Ball._visible = false;
(eval('Guy' + Vname)).Items.Shield._visible = false;
(eval('Guy' + Vname)).Items.Axe._visible = false;
(eval('Guy' + Vname)).Items.Rollers._visible = false;
(eval('Guy' + Vname)).Items.Fox1._visible = false;
(eval('Guy' + Vname)).Items.Fox2._visible = false;
(eval('Guy' + Vname)).Items.Fox3._visible = false;
(eval('Guy' + Vname)).Items.Dynamite._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = false;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.Horse._visible = false;
(eval('Guy' + Vname)).Items.Ball._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Vlook = Vinfos[6];
(eval('Guy' + Vname)).VspeedNorm = 0.7;
(eval('Guy' + Vname)).Vname = Vname;
(eval('Guy' + Vname)).Vcode = NIGuy[Vname];
(eval('Guy' + Vname)).VcodeArray = Vinfos;
(eval('Guy' + Vname)).Vatk = 0.7;
(eval('Guy' + Vname)).Vdef = 0.2;
(eval('Guy' + Vname))._x = (Vplace + 1) * 40;
if (Vinfos[0] == 1 || Vinfos[0] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).VBow = true;
(eval('Guy' + Vname)).Items.Bow._visible = true;
(eval('Guy' + Vname)).Items.Bow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
if (Vinfos[0] == 2) {
(eval('Guy' + Vname)).Vfire = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = true;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = true;
(eval('Guy' + Vname)).Items.FireBow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'FireBow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Fire Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[1] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = true;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Axe._visible = true;
(eval('Guy' + Vname)).Items.Axe._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[2] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = true;
(eval('Guy' + Vname)).Vdef = 0.1;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Shield._visible = true;
(eval('Guy' + Vname)).Items.Shield._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 1) {
(eval('Guy' + Vname)).VspeedNorm = 0.3;
(eval('Guy' + Vname)).Ball._visible = true;
(eval('Guy' + Vname)).VBall = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Ball._visible = true;
(eval('Guy' + Vname)).Items.Ball._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Iron Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = true;
(eval('Guy' + Vname)).VspeedNorm = 1.3;
(eval('Guy' + Vname))._y -= 3;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Rollers._visible = true;
(eval('Guy' + Vname)).Items.Rollers._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Rollers';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Roller Blades';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 3) {
(eval('Guy' + Vname)).Horse._visible = true;
(eval('Guy' + Vname))._y -= 28;
(eval('Guy' + Vname)).VspeedNorm = 1.5;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Horse._visible = true;
(eval('Guy' + Vname)).Items.Horse._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[4] == 1) {
(eval('Guy' + Vname)).Vatk = 0;
(eval('Guy' + Vname)).Vdef = 5;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = true;
(eval('Guy' + Vname)).Vdynamite = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Dynamite._visible = true;
(eval('Guy' + Vname)).Items.Dynamite._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Dynamite';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Dynamite Belt';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 4;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] != 0) {
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = true;
(eval('Guy' + Vname)).Vmagic = 1;
(eval('Guy' + Vname)).VitemAnz += 1;
if (Vinfos[7] == 1) {
(eval('Guy' + Vname)).Items.Fox1._visible = true;
(eval('Guy' + Vname)).Items.Fox1._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox1';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Fire Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 2) {
(eval('Guy' + Vname)).Items.Fox2._visible = true;
(eval('Guy' + Vname)).Items.Fox2._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox2';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Plant Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 3) {
(eval('Guy' + Vname)).Items.Fox3._visible = true;
(eval('Guy' + Vname)).Items.Fox3._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox3';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Rebirth Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[8] == 1) {
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = true;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 8;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
(eval('Guy' + Vname)).Items.Box._height += 36 * (eval('Guy' + Vname)).VitemAnz * 1.2;
(eval('Guy' + Vname)).Items._visible = false;
trace((eval('Guy' + Vname))._yscale);
}
var Vposi = new Array();
var VposiClear = new Array();
Vactive = 0;
VsetItems = 0;
Vanz1Ins = 0;
VIanz1Ins = 0;
Vagigo = true;
var Feat = new Array();
var NItem = new Array();
var NIGuy = new Array();
NItem = _root.Items.split('.');
NIGuy = _root.ATeam;
i = 0;
while (i <= _root.ATeam.length - 1) {
if (_root.ATeam[i][5] == 1) {
trace(Feat);
ReCreate(Vanz1Ins, _root.ATeam[i], Vanz1Ins);
Vanz1Ins += 1;
}
++i;
}
Vbelong = this._x;
if (_root.Vfirst == true) {
this._x -= Vanz1Ins * 50 + 100;
}
stop();
onEnterFrame = function () {
if (_root.Vfirst == false) {
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
_x = _parent.Xer._x;
if (_root.Vfirst == true) {
if (this._x < Vbelong && Vagigo == true) {
_x = _x + 5;
} else {
Vagigo = false;
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
}
};
var Vari = new Array();
i = 1;
while (i <= 20) {
Vari[i] = new Array();
++i;
}
Vari[1][0] = 124;
Vari[1][1] = 114;
Vari[1][2] = 101;
Vari[1][3] = 116;
Vari[1][4] = 85;
Vari[1][5] = 63;
Vari[1][6] = -111;
Vari[1][7] = 55;
Vari[1][8] = false;
Vari[1][9] = false;
Vari[1][10] = false;
Vari[2][0] = 110;
Vari[2][1] = 82;
Vari[2][2] = 115;
Vari[2][3] = 101;
Vari[2][4] = 108;
Vari[2][5] = 65;
Vari[2][6] = -105;
Vari[2][7] = 68;
Vari[2][8] = false;
Vari[2][9] = true;
Vari[2][10] = true;
Vari[3][0] = 103;
Vari[3][1] = 95;
Vari[3][2] = 105;
Vari[3][3] = 115;
Vari[3][4] = 108;
Vari[3][5] = 104;
Vari[3][6] = -130;
Vari[3][7] = 99;
Vari[3][8] = false;
Vari[3][9] = false;
Vari[3][10] = false;
Vari[4][0] = 132;
Vari[4][1] = 116;
Vari[4][2] = 120;
Vari[4][3] = 100;
Vari[4][4] = 86;
Vari[4][5] = 143;
Vari[4][6] = -137;
Vari[4][7] = 81;
Vari[4][8] = false;
Vari[4][9] = false;
Vari[4][10] = false;
Vari[5][0] = 108;
Vari[5][1] = 114;
Vari[5][2] = 119;
Vari[5][3] = 122;
Vari[5][4] = 120;
Vari[5][5] = 123;
Vari[5][6] = -130;
Vari[5][7] = 115;
Vari[5][8] = true;
Vari[5][9] = false;
Vari[5][10] = false;
Vari[6][0] = 116;
Vari[6][1] = 91;
Vari[6][2] = 87;
Vari[6][3] = 116;
Vari[6][4] = 116;
Vari[6][5] = 53;
Vari[6][6] = -117;
Vari[6][7] = 135;
Vari[6][8] = false;
Vari[6][9] = false;
Vari[6][10] = false;
Vari[7][0] = 88;
Vari[7][1] = 95;
Vari[7][2] = 100;
Vari[7][3] = 117;
Vari[7][4] = 102;
Vari[7][5] = 79;
Vari[7][6] = -103;
Vari[7][7] = 53;
Vari[7][8] = false;
Vari[7][9] = true;
Vari[7][10] = false;
Vari[8][0] = 72;
Vari[8][1] = 120;
Vari[8][2] = 100;
Vari[8][3] = 101;
Vari[8][4] = 110;
Vari[8][5] = 133;
Vari[8][6] = -112;
Vari[8][7] = 98;
Vari[8][8] = false;
Vari[8][9] = true;
Vari[8][10] = false;
Vari[9][0] = 107;
Vari[9][1] = 109;
Vari[9][2] = 83;
Vari[9][3] = 100;
Vari[9][4] = 100;
Vari[9][5] = 100;
Vari[9][6] = -138;
Vari[9][7] = 67;
Vari[9][8] = true;
Vari[9][9] = false;
Vari[9][10] = false;
Vari[10][0] = 68;
Vari[10][1] = 105;
Vari[10][2] = 112;
Vari[10][3] = 95;
Vari[10][4] = 82;
Vari[10][5] = 82;
Vari[10][6] = -86;
Vari[10][7] = 55;
Vari[10][8] = true;
Vari[10][9] = false;
Vari[10][10] = false;
Vari[11][0] = 138;
Vari[11][1] = 109;
Vari[11][2] = 115;
Vari[11][3] = 82;
Vari[11][4] = 118;
Vari[11][5] = 111;
Vari[11][6] = -150;
Vari[11][7] = 56;
Vari[11][8] = true;
Vari[11][9] = true;
Vari[11][10] = false;
Vari[12][0] = 141;
Vari[12][1] = 100;
Vari[12][2] = 105;
Vari[12][3] = 81;
Vari[12][4] = 107;
Vari[12][5] = 122;
Vari[12][6] = -145;
Vari[12][7] = 124;
Vari[12][8] = true;
Vari[12][9] = true;
Vari[12][10] = true;
Vari[13][0] = 116;
Vari[13][1] = 117;
Vari[13][2] = 80;
Vari[13][3] = 81;
Vari[13][4] = 124;
Vari[13][5] = 119;
Vari[13][6] = -106;
Vari[13][7] = 59;
Vari[13][8] = true;
Vari[13][9] = true;
Vari[13][10] = false;
Vari[14][0] = 60;
Vari[14][1] = 82;
Vari[14][2] = 91;
Vari[14][3] = 124;
Vari[14][4] = 95;
Vari[14][5] = 119;
Vari[14][6] = -87;
Vari[14][7] = 64;
Vari[14][8] = false;
Vari[14][9] = false;
Vari[14][10] = false;
Vari[15][0] = 106;
Vari[15][1] = 83;
Vari[15][2] = 94;
Vari[15][3] = 119;
Vari[15][4] = 91;
Vari[15][5] = 139;
Vari[15][6] = -122;
Vari[15][7] = 89;
Vari[15][8] = true;
Vari[15][9] = false;
Vari[15][10] = false;
Vari[16][0] = 137;
Vari[16][1] = 121;
Vari[16][2] = 103;
Vari[16][3] = 104;
Vari[16][4] = 91;
Vari[16][5] = 94;
Vari[16][6] = -158;
Vari[16][7] = 63;
Vari[16][8] = true;
Vari[16][9] = false;
Vari[16][10] = false;
Vari[17][0] = 129;
Vari[17][1] = 76;
Vari[17][2] = 84;
Vari[17][3] = 112;
Vari[17][4] = 110;
Vari[17][5] = 104;
Vari[17][6] = -91;
Vari[17][7] = 138;
Vari[17][8] = false;
Vari[17][9] = true;
Vari[17][10] = false;
Vari[18][0] = 146;
Vari[18][1] = 123;
Vari[18][2] = 77;
Vari[18][3] = 77;
Vari[18][4] = 95;
Vari[18][5] = 121;
Vari[18][6] = -161;
Vari[18][7] = 60;
Vari[18][8] = true;
Vari[18][9] = true;
Vari[18][10] = true;
Vari[19][0] = 99;
Vari[19][1] = 81;
Vari[19][2] = 86;
Vari[19][3] = 81;
Vari[19][4] = 119;
Vari[19][5] = 67;
Vari[19][6] = -84;
Vari[19][7] = 73;
Vari[19][8] = true;
Vari[19][9] = false;
Vari[19][10] = false;
Vari[20][0] = 72;
Vari[20][1] = 80;
Vari[20][2] = 88;
Vari[20][3] = 111;
Vari[20][4] = 88;
Vari[20][5] = 141;
Vari[20][6] = -105;
Vari[20][7] = 77;
Vari[20][8] = false;
Vari[20][9] = false;
Vari[20][10] = false;
}
instance Guy of movieClip 409 {
onClipEvent (load) {
if (this._name == 'Guy') {
_x = -500;
_visible = false;
}
}
}
}
movieClip 510 {
instance TColor of movieClip 182 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
frame 30 {
stop();
}
frame 61 {
_parent._parent.gotoAndStop(3);
stop();
}
}
movieClip 512 {
}
movieClip 514 {
}
movieClip 515 {
}
movieClip 517 {
}
movieClip 519 {
}
movieClip 521 {
}
movieClip 523 {
}
movieClip 525 {
}
movieClip 527 {
frame 1 {
function ReCreate(Vname, Vinfos, Vplace) {
(eval('Guy' + Vname)).removeMovieClip();
Guy.duplicateMovieClip('Guy' + Vname, getNextHighestDepth());
(eval('Guy' + Vname)).VitemPos = new Array();
(eval('Guy' + Vname)).uGuy.uubob._visible = false;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
(eval('Guy' + Vname)).uGuy.uuGuy._visible = false;
(eval('Guy' + Vname)).uGuy.uubob._visible = true;
}
(eval('Guy' + Vname)).VitemAnz = 0;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = false;
(eval('Guy' + Vname)).Horse._visible = false;
(eval('Guy' + Vname)).Ball._visible = false;
(eval('Guy' + Vname)).Items.Shield._visible = false;
(eval('Guy' + Vname)).Items.Axe._visible = false;
(eval('Guy' + Vname)).Items.Rollers._visible = false;
(eval('Guy' + Vname)).Items.Fox1._visible = false;
(eval('Guy' + Vname)).Items.Fox2._visible = false;
(eval('Guy' + Vname)).Items.Fox3._visible = false;
(eval('Guy' + Vname)).Items.Dynamite._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = false;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.Horse._visible = false;
(eval('Guy' + Vname)).Items.Ball._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Vlook = Vinfos[6];
(eval('Guy' + Vname)).VspeedNorm = 0.7;
(eval('Guy' + Vname)).Vname = Vname;
(eval('Guy' + Vname)).Vcode = NIGuy[Vname];
(eval('Guy' + Vname)).VcodeArray = Vinfos;
(eval('Guy' + Vname)).Vatk = 0.7;
(eval('Guy' + Vname)).Vdef = 0.2;
(eval('Guy' + Vname))._x = (Vplace + 1) * 40;
if (Vinfos[0] == 1 || Vinfos[0] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).VBow = true;
(eval('Guy' + Vname)).Items.Bow._visible = true;
(eval('Guy' + Vname)).Items.Bow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
if (Vinfos[0] == 2) {
(eval('Guy' + Vname)).Vfire = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = true;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = true;
(eval('Guy' + Vname)).Items.FireBow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'FireBow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Fire Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[1] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = true;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Axe._visible = true;
(eval('Guy' + Vname)).Items.Axe._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[2] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = true;
(eval('Guy' + Vname)).Vdef = 0.1;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Shield._visible = true;
(eval('Guy' + Vname)).Items.Shield._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 1) {
(eval('Guy' + Vname)).VspeedNorm = 0.3;
(eval('Guy' + Vname)).Ball._visible = true;
(eval('Guy' + Vname)).VBall = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Ball._visible = true;
(eval('Guy' + Vname)).Items.Ball._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Iron Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = true;
(eval('Guy' + Vname)).VspeedNorm = 1.3;
(eval('Guy' + Vname))._y -= 3;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Rollers._visible = true;
(eval('Guy' + Vname)).Items.Rollers._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Rollers';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Roller Blades';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 3) {
(eval('Guy' + Vname)).Horse._visible = true;
(eval('Guy' + Vname))._y -= 28;
(eval('Guy' + Vname)).VspeedNorm = 1.5;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Horse._visible = true;
(eval('Guy' + Vname)).Items.Horse._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[4] == 1) {
(eval('Guy' + Vname)).Vatk = 0;
(eval('Guy' + Vname)).Vdef = 5;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = true;
(eval('Guy' + Vname)).Vdynamite = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Dynamite._visible = true;
(eval('Guy' + Vname)).Items.Dynamite._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Dynamite';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Dynamite Belt';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 4;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] != 0) {
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = true;
(eval('Guy' + Vname)).Vmagic = 1;
(eval('Guy' + Vname)).VitemAnz += 1;
if (Vinfos[7] == 1) {
(eval('Guy' + Vname)).Items.Fox1._visible = true;
(eval('Guy' + Vname)).Items.Fox1._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox1';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Fire Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 2) {
(eval('Guy' + Vname)).Items.Fox2._visible = true;
(eval('Guy' + Vname)).Items.Fox2._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox2';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Plant Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[7] == 3) {
(eval('Guy' + Vname)).Items.Fox3._visible = true;
(eval('Guy' + Vname)).Items.Fox3._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox3';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Rebirth Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
}
if (Vinfos[8] == 1) {
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = true;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 8;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
(eval('Guy' + Vname)).Items.Box._height += 36 * (eval('Guy' + Vname)).VitemAnz * 1.2;
(eval('Guy' + Vname)).Items._visible = false;
trace((eval('Guy' + Vname))._yscale);
}
var Vposi = new Array();
var VposiClear = new Array();
Vactive = 0;
VsetItems = 0;
Vanz1Ins = 0;
VIanz1Ins = 0;
Vagigo = true;
var Feat = new Array();
var NItem = new Array();
var NIGuy = new Array();
NItem = _root.Items.split('.');
NIGuy = _root.ATeam;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0] - 1) {
ReCreate(Vanz1Ins, [0, 0, 0, 0, 0, 1, 1, 0], Vanz1Ins);
Vanz1Ins += 1;
++i;
}
} else {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0].length - 1) {
if (_root.Enemys[_root.Vbattles][0][i][5] == 1) {
ReCreate(Vanz1Ins, _root.Enemys[_root.Vbattles][0][i], Vanz1Ins);
Vanz1Ins += 1;
}
++i;
}
}
Vbelong = this._x;
if (_root.Vfirst == true) {
this._x -= Vanz1Ins * 50 + 100;
}
stop();
onEnterFrame = function () {
if (_root.Vfirst == false) {
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
_x = _parent.Xer._x;
if (_root.Vfirst == true) {
if (this._x < Vbelong && Vagigo == true) {
_x = _x + 5;
} else {
Vagigo = false;
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
}
};
var Vari = new Array();
i = 1;
while (i <= 20) {
Vari[i] = new Array();
++i;
}
Vari[1][0] = 124;
Vari[1][1] = 114;
Vari[1][2] = 101;
Vari[1][3] = 116;
Vari[1][4] = 85;
Vari[1][5] = 63;
Vari[1][6] = -111;
Vari[1][7] = 55;
Vari[1][8] = false;
Vari[1][9] = false;
Vari[1][10] = false;
Vari[2][0] = 110;
Vari[2][1] = 82;
Vari[2][2] = 115;
Vari[2][3] = 101;
Vari[2][4] = 108;
Vari[2][5] = 65;
Vari[2][6] = -105;
Vari[2][7] = 68;
Vari[2][8] = false;
Vari[2][9] = true;
Vari[2][10] = true;
Vari[3][0] = 103;
Vari[3][1] = 95;
Vari[3][2] = 105;
Vari[3][3] = 115;
Vari[3][4] = 108;
Vari[3][5] = 104;
Vari[3][6] = -130;
Vari[3][7] = 99;
Vari[3][8] = false;
Vari[3][9] = false;
Vari[3][10] = false;
Vari[4][0] = 132;
Vari[4][1] = 116;
Vari[4][2] = 120;
Vari[4][3] = 100;
Vari[4][4] = 86;
Vari[4][5] = 143;
Vari[4][6] = -137;
Vari[4][7] = 81;
Vari[4][8] = false;
Vari[4][9] = false;
Vari[4][10] = false;
Vari[5][0] = 108;
Vari[5][1] = 114;
Vari[5][2] = 119;
Vari[5][3] = 122;
Vari[5][4] = 120;
Vari[5][5] = 123;
Vari[5][6] = -130;
Vari[5][7] = 115;
Vari[5][8] = true;
Vari[5][9] = false;
Vari[5][10] = false;
Vari[6][0] = 116;
Vari[6][1] = 91;
Vari[6][2] = 87;
Vari[6][3] = 116;
Vari[6][4] = 116;
Vari[6][5] = 53;
Vari[6][6] = -117;
Vari[6][7] = 135;
Vari[6][8] = false;
Vari[6][9] = false;
Vari[6][10] = false;
Vari[7][0] = 88;
Vari[7][1] = 95;
Vari[7][2] = 100;
Vari[7][3] = 117;
Vari[7][4] = 102;
Vari[7][5] = 79;
Vari[7][6] = -103;
Vari[7][7] = 53;
Vari[7][8] = false;
Vari[7][9] = true;
Vari[7][10] = false;
Vari[8][0] = 72;
Vari[8][1] = 120;
Vari[8][2] = 100;
Vari[8][3] = 101;
Vari[8][4] = 110;
Vari[8][5] = 133;
Vari[8][6] = -112;
Vari[8][7] = 98;
Vari[8][8] = false;
Vari[8][9] = true;
Vari[8][10] = false;
Vari[9][0] = 107;
Vari[9][1] = 109;
Vari[9][2] = 83;
Vari[9][3] = 100;
Vari[9][4] = 100;
Vari[9][5] = 100;
Vari[9][6] = -138;
Vari[9][7] = 67;
Vari[9][8] = true;
Vari[9][9] = false;
Vari[9][10] = false;
Vari[10][0] = 68;
Vari[10][1] = 105;
Vari[10][2] = 112;
Vari[10][3] = 95;
Vari[10][4] = 82;
Vari[10][5] = 82;
Vari[10][6] = -86;
Vari[10][7] = 55;
Vari[10][8] = true;
Vari[10][9] = false;
Vari[10][10] = false;
Vari[11][0] = 138;
Vari[11][1] = 109;
Vari[11][2] = 115;
Vari[11][3] = 82;
Vari[11][4] = 118;
Vari[11][5] = 111;
Vari[11][6] = -150;
Vari[11][7] = 56;
Vari[11][8] = true;
Vari[11][9] = true;
Vari[11][10] = false;
Vari[12][0] = 141;
Vari[12][1] = 100;
Vari[12][2] = 105;
Vari[12][3] = 81;
Vari[12][4] = 107;
Vari[12][5] = 122;
Vari[12][6] = -145;
Vari[12][7] = 124;
Vari[12][8] = true;
Vari[12][9] = true;
Vari[12][10] = true;
Vari[13][0] = 116;
Vari[13][1] = 117;
Vari[13][2] = 80;
Vari[13][3] = 81;
Vari[13][4] = 124;
Vari[13][5] = 119;
Vari[13][6] = -106;
Vari[13][7] = 59;
Vari[13][8] = true;
Vari[13][9] = true;
Vari[13][10] = false;
Vari[14][0] = 60;
Vari[14][1] = 82;
Vari[14][2] = 91;
Vari[14][3] = 124;
Vari[14][4] = 95;
Vari[14][5] = 119;
Vari[14][6] = -87;
Vari[14][7] = 64;
Vari[14][8] = false;
Vari[14][9] = false;
Vari[14][10] = false;
Vari[15][0] = 106;
Vari[15][1] = 83;
Vari[15][2] = 94;
Vari[15][3] = 119;
Vari[15][4] = 91;
Vari[15][5] = 139;
Vari[15][6] = -122;
Vari[15][7] = 89;
Vari[15][8] = true;
Vari[15][9] = false;
Vari[15][10] = false;
Vari[16][0] = 137;
Vari[16][1] = 121;
Vari[16][2] = 103;
Vari[16][3] = 104;
Vari[16][4] = 91;
Vari[16][5] = 94;
Vari[16][6] = -158;
Vari[16][7] = 63;
Vari[16][8] = true;
Vari[16][9] = false;
Vari[16][10] = false;
Vari[17][0] = 129;
Vari[17][1] = 76;
Vari[17][2] = 84;
Vari[17][3] = 112;
Vari[17][4] = 110;
Vari[17][5] = 104;
Vari[17][6] = -91;
Vari[17][7] = 138;
Vari[17][8] = false;
Vari[17][9] = true;
Vari[17][10] = false;
Vari[18][0] = 146;
Vari[18][1] = 123;
Vari[18][2] = 77;
Vari[18][3] = 77;
Vari[18][4] = 95;
Vari[18][5] = 121;
Vari[18][6] = -161;
Vari[18][7] = 60;
Vari[18][8] = true;
Vari[18][9] = true;
Vari[18][10] = true;
Vari[19][0] = 99;
Vari[19][1] = 81;
Vari[19][2] = 86;
Vari[19][3] = 81;
Vari[19][4] = 119;
Vari[19][5] = 67;
Vari[19][6] = -84;
Vari[19][7] = 73;
Vari[19][8] = true;
Vari[19][9] = false;
Vari[19][10] = false;
Vari[20][0] = 72;
Vari[20][1] = 80;
Vari[20][2] = 88;
Vari[20][3] = 111;
Vari[20][4] = 88;
Vari[20][5] = 141;
Vari[20][6] = -105;
Vari[20][7] = 77;
Vari[20][8] = false;
Vari[20][9] = false;
Vari[20][10] = false;
}
instance Guy of movieClip 487 {
onClipEvent (load) {
if (this._name == 'Guy') {
_x = -500;
_visible = false;
}
}
}
}
movieClip 528 {
frame 1 {
Busch._visible = false;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
i = 1;
while (i <= 6) {
(eval('Tentp' + i))._visible = false;
++i;
}
Busch._visible = true;
}
}
frame 30 {
stop();
}
frame 61 {
_parent._parent.gotoAndStop(3);
stop();
}
}
movieClip 529 {
}
movieClip 533 {
}
movieClip 534 {
}
movieClip 536 {
}
movieClip 537 {
instance of movieClip 536 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 538 {
}
movieClip 539 {
instance of movieClip 538 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
}
movieClip 540 {
}
movieClip 541 {
}
movieClip 542 {
}
movieClip 543 {
}
movieClip 544 {
}
movieClip 545 {
}
movieClip 546 {
}
movieClip 547 {
}
movieClip 548 {
frame 1 {
Leg1._x = 0;
Leg1._y = 0;
Leg1._yscale = _root.Vari[Vlook][0];
Body._yscale = _root.Vari[Vlook][1];
Body._xscale = _root.Vari[Vlook][2];
Body._x = Leg1._x - Leg1._width / 2 + Body._width / 2.4;
Body._y = Leg1._y - Leg1._height - Body._height / 2.4;
Fox._x = Body._x + 10;
Fox._y = Body._y - Body._height / 1.5;
Leg2._y = Leg1._y;
Leg2._height = Leg1._height;
Leg2._x = Leg1._x + Body._width / 2;
Face._x = Body._x + Body._width / 20;
Face._y = Body._y - Body._height / 10;
Face._yscale = _root.Vari[Vlook][3];
Face._xscale = _root.Vari[Vlook][4];
Hair._yscale = _root.Vari[Vlook][5];
Hair._x = Body._x;
Hair._y = Body._y - Body._height / 2.5;
Arm1._y = _root.Vari[Vlook][6];
Arm1._x = Leg1._x - Leg1._width / 2;
Arm1._xscale = _root.Vari[Vlook][7];
Arm2._y = Arm1._y;
Arm2._x = Arm1._x + Body._width / 1.2;
Arm2._xscale = Arm1._xscale;
Body.Band._visible = _root.Vari[Vlook][8];
Body.Painting._visible = _root.Vari[Vlook][9];
Hair.Feder._visible = _root.Vari[Vlook][10];
trace(_root.Vari[Vlook][5]);
this._x = -(Body._width / 3);
}
instance RollerBlades1 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg1._x;
this._y = _parent.Leg1._y;
}
}
instance RollerBlades2 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg2._x;
this._y = _parent.Leg2._y;
}
}
}
movieClip 549 {
}
movieClip 552 {
frame 20 {
if (VBall == true || Vcaught == true) {
gotoAndPlay(1);
}
if (Math.random() >= 0.1) {
gotoAndPlay(1);
}
}
}
movieClip 554 {
}
movieClip 555 {
}
movieClip 557 {
instance of movieClip 536 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 558 {
instance of movieClip 538 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 560 {
instance TColor of movieClip 342 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 561 {
}
movieClip 562 {
}
movieClip 563 {
instance TColor of movieClip 286 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 564 {
}
movieClip 565 {
}
movieClip 566 {
}
movieClip 567 {
}
movieClip 568 {
instance TColor of movieClip 382 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 569 {
}
movieClip 570 {
}
movieClip 571 {
}
movieClip 572 {
}
movieClip 574 {
}
movieClip 575 {
frame 1 {
Leg1._x = 0;
Leg1._y = 0;
Body._yscale = _root.Vari[Vlook][1];
Body._xscale = _root.Vari[Vlook][2];
Body._x = Leg1._x - Leg1._width / 2 + Body._width / 3.1;
Body._y = Leg1._y - Leg1._height - Body._height / 2.4;
Fox._x = Body._x + 10;
Fox._y = Body._y - Body._height / 1.5;
Leg2._y = Leg1._y;
Leg2._height = Leg1._height;
Leg2._x = Leg1._x + Body._width / 2;
Face._x = Body._x + Body._width / 20;
Face._y = Body._y - Body._height / 10;
Face._yscale = _root.Vari[Vlook][3];
Face._xscale = _root.Vari[Vlook][4];
Hair._yscale = _root.Vari[Vlook][5];
Hair._x = Body._x;
Hair._y = Body._y - Body._height / 2.5;
Arm1._x = Leg1._x - Leg1._width / 2;
Arm2._x = Arm1._x + Body._width / 1.45;
Body.Band._visible = _root.Vari[Vlook][8];
Body.Painting._visible = _root.Vari[Vlook][9];
Hair.Feder._visible = _root.Vari[Vlook][10];
trace(_root.Vari[Vlook][5]);
this._x = -(Body._width / 3);
}
instance RollerBlades1 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg1._x;
this._y = _parent.Leg1._y;
}
}
instance RollerBlades2 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg2._x;
this._y = _parent.Leg2._y;
}
}
}
movieClip 576 {
}
movieClip 578 {
frame 21 {
if (VBall == true || Vcaught == true) {
gotoAndPlay(1);
}
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (Math.random() >= 0.1) {
gotoAndPlay(1);
}
}
}
}
movieClip 580 {
frame 20 {
if (VBall == true || Vcaught == true) {
gotoAndPlay(1);
}
if (Math.random() >= 0.1) {
gotoAndPlay(1);
}
}
}
movieClip 581 {
}
movieClip 587 {
frame 12 {
stop();
}
}
movieClip 588 {
}
movieClip 589 {
}
movieClip 592 {
instance TColor of movieClip 342 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 593 {
}
movieClip 594 {
instance TColor of movieClip 349 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 595 {
instance TColor of movieClip 352 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 596 {
}
movieClip 597 {
instance TColor of movieClip 286 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 598 {
}
movieClip 599 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(1);
}
frame 44 {
_parent._parent._parent._parent.shootarrow1(_parent._parent._parent._x, 2, _parent._parent._parent.Vfire, _parent._parent._parent.Vglasses);
}
}
movieClip 600 {
instance TColor of movieClip 382 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.Enemys[_root.Vbattles][1]);
}
}
}
movieClip 601 {
}
movieClip 602 {
frame 1 {
Leg1._x = 0;
Leg1._y = 0;
Body._yscale = _root.Vari[Vlook][1];
Body._xscale = _root.Vari[Vlook][2];
Body._x = Leg1._x - Leg1._width / 2 + Body._width / 3.1;
Body._y = Leg1._y - Leg1._height - Body._height / 2.4;
Fox._x = Body._x + 10;
Fox._y = Body._y - Body._height / 1.5;
Leg2._y = Leg1._y;
Leg2._height = Leg1._height;
Leg2._x = Leg1._x + Body._width / 2;
Face._x = Body._x + Body._width / 20;
Face._y = Body._y - Body._height / 10;
Face._yscale = _root.Vari[Vlook][3];
Face._xscale = _root.Vari[Vlook][4];
Hair._yscale = _root.Vari[Vlook][5];
Hair._x = Body._x;
Hair._y = Body._y - Body._height / 2.5;
Arm1._x = Leg1._x - Leg1._width / 2;
Arm2._x = Arm1._x + Body._width / 1.45 - 7;
Body.Band._visible = _root.Vari[Vlook][8];
Body.Painting._visible = _root.Vari[Vlook][9];
Hair.Feder._visible = _root.Vari[Vlook][10];
trace(_root.Vari[Vlook][5]);
this._x = -(Body._width / 3);
}
instance RollerBlades1 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg1._x;
this._y = _parent.Leg1._y;
}
}
instance RollerBlades2 of movieClip 391 {
onClipEvent (enterFrame) {
this._x = _parent.Leg2._x;
this._y = _parent.Leg2._y;
}
}
}
movieClip 603 {
}
movieClip 605 {
frame 20 {
if (VBall == true || Vcaught == true) {
gotoAndPlay(1);
}
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (Math.random() >= 0.1) {
gotoAndPlay(1);
}
}
}
}
movieClip 606 {
}
movieClip 607 {
}
movieClip 618 {
frame 1 {
if (_name != 'Explosion') {
_root.ExploSound.start(0.07000000000000001, 0);
}
}
frame 11 {
_parent.removeMovieClip();
stop();
}
}
movieClip 620 {
frame 10 {
this.removeMovieClip();
}
}
movieClip 624 {
frame 13 {
this.removeMovieClip();
}
}
movieClip 628 {
}
movieClip 633 {
}
movieClip 636 {
frame 1 {
Vnum = 0;
if (_name != 'GoMagic') {
_root.Magic1.start(0.07000000000000001);
}
onEnterFrame = function () {
switch (Math.round(Math.random() * 1)) {
case 0:
Spark1.duplicateMovieClip('Spark' + Vnum, getNextHighestDepth());
break;
case 1:
Spark2.duplicateMovieClip('Spark' + Vnum, getNextHighestDepth());
}
(eval('Spark' + Vnum))._x = 0;
(eval('Spark' + Vnum))._y = -20;
(eval('Spark' + Vnum)).Vtargetx = Math.random() * 100 - 50;
(eval('Spark' + Vnum)).Vtargety = Math.random() * 50 - 25 - 20;
Vnum += 1;
};
}
instance Spark1 of movieClip 620 {
onClipEvent (load) {
this._rotation = Math.random() * 360;
if (this._name == 'Spark1') {
this._visible = false;
}
}
onClipEvent (enterFrame) {
this._x += (Vtargetx - this._x) / 3;
this._y += (Vtargety - this._y) / 3;
}
}
instance Spark2 of movieClip 624 {
onClipEvent (load) {
this._rotation = Math.random() * 360;
if (this._name == 'Spark2') {
this._visible = false;
}
}
onClipEvent (enterFrame) {
this._x += (Vtargetx - this._x) / 3;
this._y += (Vtargety - this._y) / 3;
}
}
frame 80 {
if (_name != 'GoMagic') {
_root.Magic2.start(0.07000000000000001);
}
}
frame 84 {
if (_name != 'GoMagic') {
trace('Vdelete' + Vdelete);
}
}
frame 108 {
if (_name != 'GoMagic') {
if (VmagicArt == 1) {
if (Vtype == 0) {
_parent.Comet.duplicateMovieClip('Comet2' + Vdelete, _parent.getNextHighestDepth());
(eval('_parent.Comet2' + Vdelete)).gotoAndPlay(2);
(eval('_parent.Comet2' + Vdelete))._x = _parent.VbowNum * 20 + 400;
}
if (Vtype == 1) {
_parent.Comet.duplicateMovieClip('Comet2' + Vdelete, _parent.getNextHighestDepth());
(eval('_parent.Comet2' + Vdelete))._xscale /= -1;
(eval('_parent.Comet2' + Vdelete))._x = _parent.VbowNum * 20 + 200;
(eval('_parent.Comet2' + Vdelete)).gotoAndPlay(2);
}
}
if (VmagicArt == 2) {
if (Vtype == 1) {
_parent.Catch('1', 'N');
}
if (Vtype == 0) {
_parent.Catch('2', 'B');
}
}
if (VmagicArt == 3) {
if (Vtype == 1) {
_parent.ReCreate('B', '2');
}
if (Vtype == 0) {
_parent.ReCreate('N', '1');
}
}
trace('_parent.Comet2' + Vdelete);
}
stop();
}
}
movieClip 640 {
}
movieClip 641 {
frame 1 {
if (_name == 'Comet') {
stop();
}
}
frame 100 {
_parent.Explo(_x);
}
frame 101 {
stop();
}
}
movieClip 645 {
}
movieClip 647 {
}
movieClip 649 {
}
movieClip 667 {
frame 200 {
_parent.Free(Vplant, Vteam2);
stop();
}
}
movieClip 670 {
}
movieClip 672 {
frame 1 {
stop();
}
instance of movieClip 670 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
instance of movieClip 196 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 50;
VflameRadi = 10;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 400;
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(16724736, 100 * Vtrans);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
}
movieClip 674 {
}
movieClip 675 {
}
movieClip 676 {
frame 1 {
function CameraXY(Cx, Cy) {
_x = _x + ((Cx / 800) * (800 - (_xscale / 100) * 800) - _x);
_y = _y + ((Cy / 480) * (480 - (_yscale / 100) * 480) - _y);
}
function CameraZ(Cz) {
_xscale = _xscale + (Cz - _xscale);
_yscale = _yscale + (Cz - _yscale);
}
function SetCross(Name, Ort, Art) {
_root.Blub.start(0.07000000000000001);
Kreuz.duplicateMovieClip('Kreuz' + Art + '_' + Name + VkreuzNUM, getNextHighestDepth());
(eval('Kreuz' + Art + '_' + Name + VkreuzNUM))._x = Ort;
var c = new Color(eval('Kreuz' + Art + '_' + Name + VkreuzNUM));
var trans = {'ra': '100', 'rb': '-300', 'ga': '100', 'gb': '-300', 'ba': '100', 'bb': '-300'};
if (Art == 2) {
c.setRGB(0);
}
VkreuzNUM += 1;
}
function shootarrow1(von, art, fire, glasses) {
VArrownum += 1;
if (VAlive1 == true && VAlive2 == true) {
if (art == 1) {
VbowNum += _root.Vboworder0[2];
if (VbowNum >= 10) {
VbowNum = 0;
}
if (VbowNum <= -1) {
VbowNum = 9;
}
trace('_root.Vboworder[' + _root.Vboworder0[0] + '][' + VbowNum + ']');
trace('neger:' + _root.Vboworder[_root.Vboworder0[0]][VbowNum]);
i = _root.Vboworder[_root.Vboworder0[0]][VbowNum];
i = Math.floor(Math.random() * Vanz2Ins);
if (glasses == true) {
k = 0;
while (k <= _root.BIGuy.length - 1) {
if (_root.BIGuy[k][4] == 1 && Valive2[k] == true) {
i = k;
}
++k;
}
}
if (Valive2[i] == true) {
Arrow.duplicateMovieClip('Arrow' + VArrownum, getNextHighestDepth());
(eval('Arrow' + VArrownum)).Vnum = VArrownum;
(eval('Arrow' + VArrownum)).Vstart = von;
(eval('Arrow' + VArrownum)).Vtarget = i;
(eval('Arrow' + VArrownum)).Vtime = Math.round((((eval('BGuy' + i))._x - von) / 800) * 80);
(eval('Arrow' + VArrownum)).Vend = (eval('BGuy' + i))._x - (eval('BGuy' + i)).Vspeed * (eval('Arrow' + VArrownum)).Vtime;
(eval('Arrow' + VArrownum)).Vfire = false;
if (fire == true) {
Flame.duplicateMovieClip('Flame' + VArrownum, getNextHighestDepth());
(eval('Flame' + VArrownum))._visible = false;
(eval('Arrow' + VArrownum)).Vfire = true;
}
} else {
shootarrow1(von, art, fire, false);
}
} else {
VbowNum += _root.Vboworder0[2];
if (VbowNum >= 10) {
VbowNum = 0;
}
if (VbowNum <= -1) {
VbowNum = 9;
}
i = _root.Vboworder[_root.Vboworder0[0]][VbowNum];
i = Math.floor(Math.random() * Vanz1Ins);
if (glasses == true) {
k = 0;
while (k <= _root.NIGuy.length - 1) {
if (_root.NIGuy[k][4] == 1 && Valive1[k] == true) {
i = k;
}
++k;
}
}
if (Valive1[i] == true) {
ArrowB.duplicateMovieClip('Arrow' + VArrownum, getNextHighestDepth());
(eval('Arrow' + VArrownum)).Vnum = VArrownum;
(eval('Arrow' + VArrownum)).Vstart = von;
(eval('Arrow' + VArrownum)).Vtarget = i;
(eval('Arrow' + VArrownum)).Vtime = Math.round(((von - (eval('NGuy' + i))._x) / 800) * 80);
(eval('Arrow' + VArrownum)).Vend = (eval('NGuy' + i))._x + (eval('NGuy' + i)).Vspeed * (eval('Arrow' + VArrownum)).Vtime;
(eval('Arrow' + VArrownum)).Vfire = false;
if (fire == true) {
Flame.duplicateMovieClip('Flame' + VArrownum, getNextHighestDepth());
(eval('Flame' + VArrownum))._visible = false;
(eval('Arrow' + VArrownum)).Vfire = true;
}
} else {
shootarrow1(von, art, fire, false);
}
}
}
}
function arrowhit(i, art, fire) {
Vdam = 50;
if (fire == true) {
Vdam = 100;
}
if (art == 1) {
(eval('BGuy' + i))._alpha -= Vdam * (eval('BGuy' + i)).Vdef;
trace((eval('BGuy' + i))._name + ':' + (eval('BGuy' + i)).Vdef);
_root.Vscore += 1;
} else {
(eval('NGuy' + i))._alpha -= Vdam * (eval('NGuy' + i)).Vdef;
_root.Vscore -= 1;
}
}
function FlameOn(fx, fy, num) {
(eval('Flame' + num)).flames._x = fx;
(eval('Flame' + num)).flames._y = fy;
}
function RemoveFlame(num) {
(eval('Flame' + num)).removeMovieClip();
}
function Explo(ex) {
Explosion.duplicateMovieClip('Explosion' + VExplonum, getNextHighestDepth());
(eval('Explosion' + VExplonum))._x = ex;
VExplonum += 1;
i = 0;
while (i <= Vanz1Ins - 1) {
if (Valive1[i] == true && Math.abs(ex - (eval('NGuy' + i))._x) <= 40) {
(eval('NGuy' + i))._alpha -= 500 * (eval('NGuy' + i)).Vdef;
_root.Vscore -= 10;
}
++i;
}
i = 0;
while (i <= Vanz2Ins - 1) {
if (Valive2[i] == true && Math.abs(ex - (eval('BGuy' + i))._x) <= 40) {
(eval('BGuy' + i))._alpha -= 500 * (eval('BGuy' + i)).Vdef;
_root.Vscore += 10;
}
++i;
}
}
function DuplicateMagic(SetX, Vname2, VmagicArt, Vtype) {
GoMagic.duplicateMovieClip('GoMagic' + SetX, getNextHighestDepth());
(eval('GoMagic' + SetX))._x = SetX;
(eval('GoMagic' + SetX)).Vdelete = Vname2;
(eval('GoMagic' + SetX)).Vtype = Vtype;
(eval('GoMagic' + SetX)).VmagicArt = VmagicArt;
trace('LOOOOOOOOOOOOOOOOOOOOL' + SetX);
}
function Catch(Vteam, Vteam2) {
i = 0;
while (i <= eval('Vanz' + Vteam + 'Ins') - 1) {
Vplant += 1;
(eval(Vteam2 + 'Guy' + i)).Vspeed = 0;
(eval(Vteam2 + 'Guy' + i)).Vcaught = true;
Weed.duplicateMovieClip('Weed' + Vteam + '_' + i + '_' + Vplant, getNextHighestDepth());
(eval('Weed' + Vteam + '_' + i + '_' + Vplant))._x = (eval(Vteam2 + 'Guy' + i))._x;
if (Vteam == 2) {
(eval('Weed' + Vteam + '_' + i + '_' + Vplant))._x += 1;
}
(eval('Weed' + Vteam + '_' + i + '_' + Vplant)).Vplant = i;
(eval('Weed' + Vteam + '_' + i + '_' + Vplant)).Vteam2 = Vteam2;
++i;
}
}
function Free(Vplant, Vteam2) {
(eval(Vteam2 + 'Guy' + Vplant)).Vspeed = (eval(Vteam2 + 'Guy' + Vplant)).VspeedNorm;
(eval(Vteam2 + 'Guy' + Vplant)).Vcaught = false;
}
function ReCreate(Vart, Vart2) {
i = 1;
while (i <= eval('Vanz' + Vart2 + 'Ins')) {
if ((eval('Valive' + Vart2))[i] == false) {
if ((eval('_root.' + Vart + 'IGuy'))[i][7] != 3) {
Create(i, Vart, (eval('_root.' + Vart + 'IGuy'))[i], Vart2);
}
}
++i;
}
}
function TellObjNum(VName) {
trace('VName:' + VName);
(eval(VName)).VObjNum = VobjAnz;
trace('VobjAnz' + (eval(VName)).VObjNum);
trace('VObjNum' + VobjAnz);
Vobj[VobjAnz] = new Object();
VobjAnz += 1;
}
function Create(Vnumber, Vart, CFeat, Vart2) {
(eval('Valive' + Vart2))[Vnumber] = true;
if (CFeat[0] == 0) {
(eval(Vart + 'Guy')).duplicateMovieClip(Vart + 'Guy' + Vnumber, getNextHighestDepth());
}
if (CFeat[0] == 1 || CFeat[0] == 2) {
(eval(Vart + 'GuyBow')).duplicateMovieClip(Vart + 'Guy' + Vnumber, getNextHighestDepth());
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Body.Fire._visible = false;
(eval(Vart + 'Guy' + Vnumber)).Vfire = false;
(eval(Vart + 'Guy' + Vnumber)).Vcount = 0;
if (CFeat[0] == 2) {
(eval(Vart + 'Guy' + Vnumber)).Vfire = true;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Body.Fire._visible = true;
}
}
(eval(Vart + 'Guy' + Vnumber)).uGuy.uubob._visible = false;
if (_root.Enemys[_root.Vbattles][0][0] == undefined && Vart2 == 2) {
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uubob._visible = true;
}
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Arm1.uArm.Shield._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Arm2.uArm.Axe._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.RollerBlades1._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.RollerBlades2._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Fox._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Body.Dynamite._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Body.Glasses._visible = false;
(eval(Vart + 'Guy' + Vnumber)).Horse._visible = false;
(eval(Vart + 'Guy' + Vnumber)).Ball._visible = false;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Vlook = CFeat[6];
(eval(Vart + 'Guy' + Vnumber)).VCFeat = new Array();
(eval(Vart + 'Guy' + Vnumber)).VCFeat = CFeat;
trace('CFeat' + (eval(Vart + 'Guy' + Vnumber)).VCFeat);
(eval(Vart + 'Guy' + Vnumber)).VspeedNorm = 0.7;
(eval(Vart + 'Guy' + Vnumber)).Vname = Vnumber;
(eval(Vart + 'Guy' + Vnumber)).Vglasses = false;
(eval(Vart + 'Guy' + Vnumber)).Vtype = Vart;
(eval(Vart + 'Guy' + Vnumber)).VcountMagic = 200;
(eval(Vart + 'Guy' + Vnumber)).VatkNorm = 1;
(eval(Vart + 'Guy' + Vnumber)).VdefNorm = 1;
(eval(Vart + 'Guy' + Vnumber)).Vcaught = false;
if (Vart == 'N') {
(eval(Vart + 'Guy' + Vnumber))._x = Vnumber * 15 + Vabspercent;
} else {
(eval(Vart + 'Guy' + Vnumber))._x = 800 - Vnumber * 15 - Vabspercent;
}
trace('Vabspercent=' + Vabspercent);
(eval(Vart + 'Guy' + Vnumber)).gotoAndPlay(Math.random() * 20);
if (CFeat[0] == 2) {
(eval(Vart + 'Guy' + Vnumber)).VatkNorm -= 0.3;
}
if (CFeat[1] == 1) {
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Arm2.uArm.Axe._visible = true;
(eval(Vart + 'Guy' + Vnumber)).VatkNorm += 4;
}
if (CFeat[2] == 1) {
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Arm1.uArm.Shield._visible = true;
(eval(Vart + 'Guy' + Vnumber)).VdefNorm -= 0.5;
}
if (CFeat[3] == 1) {
(eval(Vart + 'Guy' + Vnumber)).VspeedNorm -= 0.4;
(eval(Vart + 'Guy' + Vnumber)).Ball._visible = true;
(eval(Vart + 'Guy' + Vnumber)).VBall = true;
(eval(Vart + 'Guy' + Vnumber)).VcountMagic = 300;
}
if (CFeat[3] == 2) {
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.RollerBlades1._visible = true;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.RollerBlades2._visible = true;
(eval(Vart + 'Guy' + Vnumber)).VspeedNorm += 0.6;
(eval(Vart + 'Guy' + Vnumber))._y -= 0.5;
(eval(Vart + 'Guy' + Vnumber)).VcountMagic = 100;
}
if (CFeat[3] == 3) {
(eval(Vart + 'Guy' + Vnumber)).Horse._visible = true;
(eval(Vart + 'Guy' + Vnumber))._y -= 9;
(eval(Vart + 'Guy' + Vnumber)).VspeedNorm += 0.8;
(eval(Vart + 'Guy' + Vnumber)).VatkNorm += 4;
}
if (CFeat[4] == 1) {
(eval(Vart + 'Guy' + Vnumber)).VdefNorm += 1;
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Body.Dynamite._visible = true;
(eval(Vart + 'Guy' + Vnumber)).Vdynamite = true;
(eval(Vart + 'Guy' + Vnumber)).VcountMagic = -1;
}
if (CFeat[7] != 0) {
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Fox._visible = true;
(eval(Vart + 'Guy' + Vnumber)).Vmagic = 1;
if (CFeat[7] == 1) {
(eval(Vart + 'Guy' + Vnumber)).VmagicArt = 1;
}
if (CFeat[7] == 2) {
(eval(Vart + 'Guy' + Vnumber)).VmagicArt = 2;
}
if (CFeat[7] == 3) {
(eval(Vart + 'Guy' + Vnumber)).VmagicArt = 3;
}
}
if (CFeat[8] == 1) {
(eval(Vart + 'Guy' + Vnumber)).uGuy.uuGuy.Body.Glasses._visible = true;
(eval(Vart + 'Guy' + Vnumber)).Vglasses = true;
}
if (_root.Enemys[_root.Vbattles][0][0] == undefined && Vart2 == 2) {
(eval(Vart + 'Guy' + Vnumber)).VatkNorm = 0.5;
(eval(Vart + 'Guy' + Vnumber)).VdefNorm = 2;
}
}
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
Vabspercent = 250 * (1 - (_root.NIGuy.length + (_root.Enemys[_root.Vbattles][0] - 1)) / 20);
} else {
Vabspercent = 250 * (1 - (_root.NIGuy.length + _root.Enemys[_root.Vbattles][0].length - 1) / 20);
}
TentB.Busch._visible = false;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
TentB.Busch._visible = true;
TentB.Tent._visible = false;
}
TentN._x = Vabspercent + 3;
TentB._x = 800 - Vabspercent - 3;
VreadyZoom = 0;
VkreuzNUM = 0;
Vanz1Ins = 0;
Vanz2Ins = 0;
Vanz1 = 0;
Vanz2 = 0;
Valive1 = new Array();
Valive2 = new Array();
VbowNum = _root.Vboworder0[1];
VobjAnz = 0;
var Vobj = new Array();
VreFocus = 0;
VFocus = 1;
Vscale = 100;
Vscalenow = 100;
VautoCam = false;
VlockCam = true;
Vplant = 0;
VArrownum = 0;
VExplonum = 0;
var Text = new String();
var Text2 = new String();
var Feat = new Array();
var Feat2 = new Array();
var NItem = _root.NItem;
var NIGuy = _root.NIGuy;
i = 0;
while (i <= _root.NIGuy.length - 1) {
if (_root.NIGuy[i][5] == 1) {
Create(Vanz1Ins, 'N', _root.NIGuy[i], '1');
Vanz1Ins += 1;
}
++i;
}
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0] - 1) {
Feat2 = [0, 0, 0, 0, 0, 1, 10, 0, 0];
if (Feat2[5] == 1) {
Create(Vanz2Ins, 'B', Feat2, '2');
Vanz2Ins += 1;
}
++i;
}
} else {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0].length - 1) {
if (_root.Enemys[_root.Vbattles][0][i][5] == 1) {
Create(Vanz2Ins, 'B', _root.Enemys[_root.Vbattles][0][i], '2');
Vanz2Ins += 1;
}
++i;
}
}
Vscale = (1 + Vabspercent / 250) * 97 + 50;
Vscalenow = (1 + Vabspercent / 250) * 97 + 50;
CameraZ(Vscale);
CameraXY(400, 328.5);
Vcamx = 400;
Vcamy = 328.5;
Vcamxfriction = (Vcamx - 400) / 72;
Vcamyfriction = (Vcamy - 300) / 72;
Vframecount = 0;
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
_parent.WHEELtozoom._visible = false;
VlockCam = false;
if (VreadyZoom == 1) {
if (delta > 0) {
Vscale += 20;
} else {
Vscale -= 20;
}
}
trace(Vscale);
if (Vscale <= 100) {
Vscale = 100;
}
};
Mouse.addListener(mouseListener);
Vstep = 0;
Vstep2 = 0;
Vnono = false;
onEnterFrame = function () {
Vscalenow += (Vscale - Vscalenow) * 0.1;
CameraZ(Vscalenow);
if (Math.round(Vscale) == (1 + Vabspercent / 250) * 97) {
Vcamx = 400;
Vcamy = 300;
}
if (VAlive1 == false) {
++Vstep2;
if (Vstep2 >= 1) {
Vscale += (360 - Vscale) * 0.02;
CameraZ(Vscale);
Vcamx += (VlowX - Vcamx) * 0.1;
Vcamy += (320 - Vcamy) * 0.1;
CameraXY(Vcamx, Vcamy);
if (_parent.Black._alpha >= 99) {
_parent.gotoAndStop(9);
}
if (Vnono == false) {
i = 0;
while (i <= Vanz2Ins) {
(eval('BGuy' + i)).Vspeed = 1;
if ((eval('BGuy' + i))._x <= TentN._x + 20 && (eval('BGuy' + i))._x != undefined) {
trace('BGuy' + i + '_' + (eval('BGuy' + i))._x);
Vnono = true;
_root.Vfade = 2;
TentN._visible = false;
Explosion.duplicateMovieClip('lololol', getNextHighestDepth());
lololol._x = TentN._x;
(eval('BGuy' + i)).Vspeed = 0.001;
break;
}
++i;
}
}
}
}
if (VAlive2 == false) {
++Vstep;
if (Vstep == 1) {
_root.Vfade = 2;
VlowX = Vabspercent + 70;
i = 0;
while (i <= Vanz1Ins - 1) {
if (Valive1[i] == true) {
(eval('NGuy' + i))._xscale = -5.1;
if ((eval('NGuy' + i))._x <= VlowX) {
}
}
++i;
}
VcountChars = 0;
i = 0;
while (i <= Vanz1Ins - 1) {
if (Valive1[i] == true) {
_root.Vscore -= 2;
(eval('NGuy' + i)).Vspeed = (VlowX + (eval('NGuy' + i))._x + 15 * VcountChars) / -Math.round(Math.random() * 144 + 144);
(eval('NGuy' + i)).Vbel = VlowX + 15 * VcountChars;
++VcountChars;
}
++i;
}
_root.ATeam = new Array();
Vcc = 0;
Vac = 0;
i = 0;
while (i <= _root.NIGuy.length - 1) {
trace('Valive1[Vcc]:' + Valive1[Vcc]);
trace('_root.NIGuy[i][5]:' + _root.NIGuy[i][5]);
if (Valive1[Vcc] == true && _root.NIGuy[i][5] == 1) {
_root.ATeam[Vac] = new Array();
_root.ATeam[Vac] = _root.NIGuy[i];
++Vcc;
++Vac;
}
if (_root.NIGuy[i][5] == 0) {
_root.ATeam[Vac] = _root.NIGuy[i];
++Vac;
}
if (Valive1[Vcc] == false && _root.NIGuy[i][5] == 1) {
++Vcc;
}
++i;
}
}
i = 0;
while (i <= Vanz1Ins - 1) {
if ((eval('NGuy' + i)).Vbel > (eval('NGuy' + i))._x) {
(eval('NGuy' + i))._xscale = 5.1;
(eval('NGuy' + i)).Vspeed = 0;
(eval('NGuy' + i)).VspeedNorm = 0;
}
++i;
}
trace('_____________________');
Vscale += (360 - Vscale) * 0.02;
CameraZ(Vscale);
Vcamx += (VlowX - 15 * VcountChars - Vcamx) * 0.1;
Vcamy += (320 - Vcamy) * 0.1;
CameraXY(Vcamx, Vcamy);
if (Vstep >= 50) {
_parent.gotoAndPlay(8);
}
}
Vframecount += 1;
if (Vframecount <= 72) {
Vscale -= (Vscale - (1 + Vabspercent / 250) * 97) * 0.1;
CameraZ(Vscale);
CameraXY(Vcamx, Vcamy);
}
if (Vframecount >= 72) {
VreadyZoom = 1;
}
VAlive1 = false;
VAlive2 = false;
Vanz1 = 0;
Vanz2 = 0;
i = 0;
while (i <= Vanz1Ins - 1) {
if (Valive1[i] == true) {
Vanz1 += 1;
VAlive1 = true;
}
++i;
}
i = 0;
while (i <= Vanz2Ins - 1) {
if (Valive2[i] == true) {
Vanz2 += 1;
VAlive2 = true;
}
++i;
}
o = 0;
while (o <= Vanz1Ins - 1) {
p = 0;
while (p <= Vanz2Ins - 1) {
if (Valive1[(eval('BGuy' + p)).Venemy] == false && VAlive1 == true) {
(eval('BGuy' + p)).Vspeed = (eval('BGuy' + p)).VspeedNorm;
}
if (Valive2[(eval('NGuy' + o)).Venemy] == false && VAlive2 == true) {
(eval('NGuy' + o)).Vspeed = (eval('NGuy' + o)).VspeedNorm;
}
if (Valive2[(eval('NGuy' + o)).Venemy] == true) {
(eval('NGuy' + o))._alpha -= (eval('BGuy' + (eval('NGuy' + o)).Venemy)).Vatk * (eval('NGuy' + o)).Vdef;
trace('NGuy:' + o + '; dam:' + (eval('NGuy' + o)).VdefNorm);
}
if (Valive1[(eval('BGuy' + p)).Venemy] == true) {
(eval('BGuy' + p))._alpha -= (eval('NGuy' + (eval('BGuy' + p)).Venemy)).Vatk * (eval('BGuy' + p)).Vdef;
trace('BGuy:' + p + '; dam:' + (eval('BGuy' + p)).Vdef);
}
if ((eval('NGuy' + o)).Venemy != false && (eval('BGuy' + p)).Venemy != false) {
if (Valive1[o] == true && Valive2[p] == true) {
if ((eval('NGuy' + o))._x >= (eval('BGuy' + p))._x - 5 && (eval('NGuy' + o))._x <= (eval('BGuy' + p))._x + 5) {
(eval('NGuy' + o)).Vspeed = 0;
(eval('BGuy' + p)).Vspeed = 0;
(eval('NGuy' + o)).Venemy = p;
(eval('BGuy' + p)).Venemy = o;
}
}
}
++p;
}
++o;
}
if (VreadyZoom == 1) {
if (VlockCam == false) {
if (VAlive2 == true) {
if (VautoCam == false && _root.Loader._xmouse >= 0) {
CameraXY(_root.Loader._xmouse, _root.Loader._ymouse);
}
Vcamx = _root.Loader._xmouse;
Vcamy = _root.Loader._ymouse;
}
}
}
if (VautoCam == false) {
}
if (VautoCam == false) {
}
};
var Vari = new Array();
i = 1;
while (i <= 20) {
Vari[i] = new Array();
++i;
}
var Vboworder = new Array();
i = 0;
while (i <= 4) {
Vboworder[i] = new Array();
++i;
}
stop();
}
instance NGuy of movieClip 552 {
onClipEvent (load) {
if (this._name == 'NGuy') {
this._visible = false;
}
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
VcountMagic2 = 0;
Vspeed = VspeedNorm;
Vdef = VdefNorm;
Vatk = VatkNorm;
}
onClipEvent (enterFrame) {
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
++Vcount;
VcountMagic2 += 1;
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (VcountMagic2 == VcountMagic) {
if (Vmagic == 1) {
Vmagic = 0;
Vspeed = 0;
_alpha = 50;
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 0);
}
}
}
_x = _x + Vspeed;
if (this._alpha <= 5) {
_parent.SetCross(Vname, _x, 1);
_parent.Valive1[Vname] = false;
_parent.Vobj[VObjNum].z = false;
if (Vdynamite == true) {
if (Vmagic == 1) {
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 0);
}
_parent.Explo(this._x);
}
this.removeMovieClip();
}
}
}
instance BGuy of movieClip 578 {
onClipEvent (load) {
if (this._name == 'BGuy') {
this._visible = false;
}
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
VcountMagic2 = 0;
Vspeed = VspeedNorm;
Vdef = VdefNorm;
Vatk = VatkNorm;
}
onClipEvent (enterFrame) {
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
Vtrace = Vname;
VcountMagic2 += 1;
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (VcountMagic2 == VcountMagic) {
if (Vmagic == 1) {
Vmagic = 0;
Vspeed = 0;
_alpha = 50;
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 1);
}
}
}
_x = _x - Vspeed;
if (this._alpha <= 5) {
_parent.SetCross(Vname, _x, 2);
_parent.Valive2[Vname] = false;
_parent.Vobj[VObjNum].z = false;
if (Vdynamite == true) {
if (Vmagic == 1) {
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 0);
}
_parent.Explo(this._x);
}
this.removeMovieClip();
}
}
}
instance NGuyBow of movieClip 580 {
onClipEvent (load) {
if (this._name == 'NGuyBow') {
this._visible = false;
}
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
VcountMagic2 = 0;
Vspeed = VspeedNorm;
Vdef = VdefNorm;
Vatk = VatkNorm;
}
onClipEvent (enterFrame) {
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
if (this._name != 'NGuyBow') {
Vcount += 1;
VcountMagic2 += 1;
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (VcountMagic2 == VcountMagic) {
if (Vmagic == 1) {
Vmagic = 0;
Vspeed = 0;
_alpha = 50;
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 0);
}
}
}
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (Vcount >= 75) {
Vcount = 0;
if (Vcaught == false) {
uGuy.uuGuy.Arm1.gotoAndPlay(11);
uGuy.uuGuy.Arm2.gotoAndPlay(11);
}
}
}
this._x += Vspeed;
if (this._alpha <= 5) {
_parent.SetCross(Vname, _x, 1);
_parent.Valive1[Vname] = false;
_parent.Vobj[VObjNum].z = false;
if (Vdynamite == true) {
if (Vmagic == 1) {
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 0);
}
_parent.Explo(this._x);
}
this.removeMovieClip();
}
}
}
}
instance Arrow of movieClip 581 {
onClipEvent (load) {
_parent.TellObjNum(_name);
trace('OBJ NR LOL: ' + VObjNum);
Vlol = 0;
Vframe = 0;
}
onClipEvent (enterFrame) {
if (_name != 'Arrow') {
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
Vlol += 1;
if (Vlol == 1) {
if (Vfire == true) {
_root.FireBurn.start(0.07000000000000001, 0);
}
Vcenterx = (Vend - Vstart) / 2 + Vstart;
Vcentery = Math.random() * 400 + 375;
Vradi = Math.sqrt((Vcenterx - Vstart) * (Vcenterx - Vstart) + (Vcentery - 345) * (Vcentery - 345));
Vangle = Math.abs((Math.atan2(Vcentery - 345, Vcenterx - Vstart) / Math.PI) * 180 - 90) * 2;
Vangle2 = Math.abs((Math.atan2(Vcentery - 345, Vcenterx - Vstart) / Math.PI) * 180 - 90) * 2;
Vstep = Vangle2 / Vtime;
this._x = Vstart;
}
if (Vframe == Math.round(Vtime * 0.9)) {
_root.ArrowHit.start(0.07000000000000001, 0);
if (Vfire == true) {
_root.FireBurn.stop();
}
}
if (Vframe <= Vtime) {
Vframe += 1;
this._x = Vcenterx + Math.cos((-90 - Vangle2 / 2 + Vframe * Vstep) * Math.PI / 180) * Vradi;
this._y = Vcentery + Math.sin((-90 - Vangle2 / 2 + Vframe * Vstep) * Math.PI / 180) * Vradi;
this._rotation = -360 - Vangle2 / 2 + Vframe * Vstep;
_root.FireBurn.setPan((this._x / 800) * 200 - 100);
} else {
_parent.arrowhit(Vtarget, 1, Vfire);
_parent.RemoveFlame(Vnum);
_parent.Vobj[VObjNum].z = false;
this.removeMovieClip();
}
}
if (Vfire == true) {
_parent.FlameOn(this._x + Math.cos(this._rotation * Math.PI / 180) * (this._width / 2) - 5, this._y + Math.sin(this._rotation * Math.PI / 180) * (this._width / 2) + 1, Vnum);
}
}
}
instance Kreuz of movieClip 589 {
onClipEvent (load) {
if (this._name == 'Kreuz') {
this._visible = false;
}
_yscale = Math.random() * 50 + 50;
_rotation = Math.random() * 60 - 30;
}
}
instance ArrowB of movieClip 581 {
onClipEvent (load) {
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
Vlol = 0;
Vframe = 0;
}
onClipEvent (enterFrame) {
if (_name != 'Arrow2') {
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
Vlol += 1;
if (Vlol == 1) {
if (Vfire == true) {
_root.FireBurn.start(0.07000000000000001, 0);
}
Vcenterx = (Vend - Vstart) / 2 + Vstart;
Vcentery = Math.random() * 400 + 375;
Vradi = Math.sqrt((Vcenterx - Vstart) * (Vcenterx - Vstart) + (Vcentery - 345) * (Vcentery - 345));
Vangle = Math.abs((Math.atan2(Vcentery - 345, Vcenterx - Vstart) / Math.PI) * 180 - 90) * 2;
Vangle2 = Math.abs((Math.atan2(Vcentery - 345, Vcenterx - Vstart) / Math.PI) * 180 - 90) * 2;
Vstep = Vangle2 / Vtime;
this._x = Vstart;
}
if (Vframe == Math.round(Vtime * 0.9)) {
_root.ArrowHit.start(0.07000000000000001, 0);
if (Vfire == true) {
_root.FireBurn.stop();
}
}
if (Vframe <= Vtime) {
Vframe += 1;
this._x = Vcenterx - Math.cos((-90 - Vangle2 / 2 + Vframe * Vstep) * Math.PI / 180) * Vradi;
this._y = Vcentery + Math.sin((-90 - Vangle2 / 2 + Vframe * Vstep) * Math.PI / 180) * Vradi;
this._rotation = 180 + (Vangle2 - (Vangle2 / 2 + Vframe * Vstep));
_root.FireBurn.setPan((this._x / 800) * 200 - 100);
} else {
_parent.arrowhit(Vtarget, 2, Vfire);
_parent.RemoveFlame(Vnum);
_parent.Vobj[VObjNum].z = false;
this.removeMovieClip();
}
}
if (Vfire == true) {
_parent.FlameOn(this._x + Math.cos(this._rotation * Math.PI / 180) * (this._width / 2) - 5, this._y + Math.sin(this._rotation * Math.PI / 180) * (this._width / 2) + 1, Vnum);
}
}
}
instance BGuyBow of movieClip 605 {
onClipEvent (load) {
if (this._name == 'BGuyBow') {
this._visible = false;
}
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
VcountMagic2 = 0;
Vspeed = VspeedNorm;
Vdef = VdefNorm;
Vatk = VatkNorm;
}
onClipEvent (enterFrame) {
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
Vtrace = Vname;
if (this._name != 'BGuyBow') {
Vcount += 1;
VcountMagic2 += 1;
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (VcountMagic2 == VcountMagic) {
if (Vmagic == 1) {
Vmagic = 0;
Vspeed = 0;
_alpha = 50;
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 1);
}
}
}
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (Vcount >= 75) {
Vcount = 0;
if (Vcaught == false) {
uGuy.uuGuy.Arm1.gotoAndPlay(11);
uGuy.uuGuy.Arm2.gotoAndPlay(11);
}
}
}
this._x -= Vspeed;
if (this._alpha <= 5) {
_parent.SetCross(Vname, _x, 2);
_parent.Valive2[Vname] = false;
_parent.Vobj[VObjNum].z = false;
if (Vdynamite == true) {
if (Vmagic == 1) {
_parent.DuplicateMagic(Math.round(_x), _name, VmagicArt, 0);
}
_parent.Explo(this._x);
}
this.removeMovieClip();
}
}
}
}
instance Flame of movieClip 607 {
onClipEvent (load) {
Vcount = 0;
Vco = new Array();
Vco2 = new Array();
VflameHeight = 30;
VflameRadi = 5;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
}
onClipEvent (enterFrame) {
Vcount += 1;
if (Vcount >= 3) {
this._visible = true;
}
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 200;
Vnum += 1;
h = Math.random() * 10;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(16724736, 100 * Vtrans);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
draw_mc.endFill();
}
}
instance Explosion of movieClip 618 {
onClipEvent (load) {
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
}
}
instance GoMagic of movieClip 636 {
onClipEvent (load) {
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
_parent.Vobj[VObjNum].x = _x;
_parent.Vobj[VObjNum].y = _y;
}
}
instance Comet of movieClip 641 {
onClipEvent (load) {
_parent.TellObjNum(_name);
trace('OBJ NR: ' + VObjNum);
_parent.Vobj[VObjNum].x = _x + Comet._x;
_parent.Vobj[VObjNum].y = _y + Comet._y;
}
}
}
movieClip 678 {
}
movieClip 680 {
}
movieClip 682 {
}
movieClip 683 {
}
movieClip 685 {
}
movieClip 686 {
}
movieClip 687 {
}
button 694 {
on (release) {
_root.local.data.Vname = Field.text;
_x = 0;
_y = 0;
_visible = false;
_parent.p += 2;
}
}
movieClip 695 {
frame 1 {
NameNO._visible = false;
NameOK._visible = false;
Field.restrict = '\\-\\A-Z 0-9 a-z ._^ ';
onEnterFrame = function () {
NameNO._text = Username;
NameOK._text = Username;
};
}
}
movieClip 696 {
frame 1 {
shop._visible = false;
ShopBack._visible = false;
Vaction1 = false;
Vaction2 = false;
Vaction3 = false;
q = 1;
p = 0;
t = 0;
Background._alpha = 0;
text1 = new Array();
text1 = ['no saved data found.', 'creating game...', 'Hello,', 'I\'m Jan, the developer of this game.', 'I\'ll explain briefly how it works.', 'First you should choose a name.', 'Just enter your name here and click confirm!', 'Schade, dieser Name wird bereits verwendet. Versuch es nochmal.', 'Wonderful.', 'Now choose a color!', 'Good.', 'This is your first fighter.', 'Here you see a menu:', 'You can open, close and move it', 'Give it a try!', 'Good.', 'So you know the basics.', 'Have fun.'];
gaps = new Array();
gaps = [2, 3, 2, 2, 2, 1, -1, 1, 1, -2, 1, 3, 3, 2, -3, 1, 2, -4];
positions = new Array();
i = 1;
while (i <= 18) {
positions[i] = new Array();
++i;
}
positions = [[290, 200], [330, 200], [360, 200], [250, 200], [280, 200], [250, 200], [200, 175], [380, 200], [350, 200], [200, 100], [380, 225], [200, 300], [300, 50], [200, 50], [300, 50], [200, 250], [200, 250], [380, 200]];
var Data = new flash.display.BitmapData(800, 450, false, 16711680);
Data.draw(ColorMC);
stop();
onEnterFrame = function () {
if (q < text1[p].length) {
Text._x = positions[p][0];
Text._y = positions[p][1];
Output = text1[p].substring(0, q);
Text.autoSize = autoSize;
Blackback._x = positions[p][0];
Blackback._y = positions[p][1];
Blackback._width = Text.textWidth + 5;
q += 0.5;
} else {
Output = text1[p];
Text.autoSize = autoSize;
Blackback._width = Text.textWidth + 5;
if (gaps[p] == -1) {
NameChooser._visible = true;
NameChooser._x = 230;
NameChooser._y = 200;
}
if (gaps[p] == -2) {
++t;
Black._alpha -= 1;
color = (new Color(Color2)).setRGB(Vlol);
Vlol = Data.getPixel(_root._xmouse, _root._ymouse);
onMouseDown = function () {
_root.local.data.Vcolor = Vlol;
trace('Vlol');
gaps[p] = -1.5;
t = 0;
Black._alpha = 0;
delete onMouseDown;
};
}
if (p == 12) {
ShopBack._visible = true;
}
if (gaps[p] == -1.5) {
++t;
Output = '...';
if (All2._y >= 900) {
All2._y -= 2;
} else {
++p;
}
++Background._alpha;
}
if (gaps[p] == -3) {
if (Vaction1 == true && Vaction2 == true && Vaction3 == true) {
trace('AAAAANUS');
++p;
q = 1;
t = 0;
}
}
if (gaps[p] == -4) {
++t;
Black._alpha += 5;
Text._alpha -= 1;
if (Text._alpha <= 0) {
_parent.gotoAndStop(2);
_root.Vfade = 2;
}
}
if (gaps[p] >= 0) {
++t;
s = gaps[p] * 36;
if (t >= gaps[p] * 36) {
q = 1;
t = 0;
++p;
}
}
}
};
}
instance Shadow of movieClip 682 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
instance Color2 of movieClip 683 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
instance ShopBack of movieClip 685 {
onClipEvent (load) {
function ONOFF(s) {
if (s == 1) {
_parent.shop._visible = false;
sBack._height = 20;
sBack._x = 32;
sBack._width = 116;
_parent.DesBox._visible = false;
} else {
_parent.shop._visible = true;
sBack._height = 120;
sBack._x = 0;
sBack._width = 180;
_parent.DesBox._visible = true;
}
}
xbef = _x;
Vcount = 0;
if (Vcount <= 5) {
_parent.shop._visible = false;
sBack._height = 20;
sBack._x = 32;
sBack._width = 116;
}
onPress = function () {
xbef = _x;
Vcount = 0;
startDrag(this, false);
};
onRelease = function () {
if (xbef != _x) {
_parent.Vaction3 = true;
trace('SHIIIIIIT');
}
if (_parent.shop._visible == true) {
if (Vcount <= 5) {
_parent.Vaction1 = true;
trace('SHIIIIIIT');
ONOFF(1);
}
} else {
if (Vcount <= 5) {
_parent.Vaction2 = true;
trace('SHIIIIIIT');
ONOFF(0);
}
}
Vcount = 0;
stopDrag();
};
onReleaseOutside = function () {
if (xbef != _x) {
_parent.Vaction3 = true;
}
stopDrag();
};
}
onClipEvent (enterFrame) {
++Vcount;
}
}
instance shop of movieClip 144 List {
onClipEvent (construct) {
labels = [];
labels[0] = 'Awesome :D';
multipleSelection = false;
rowHeight = 20;
}
onClipEvent (load) {
Vcount = 0;
(getItemAt(0)).x = 1;
(getItemAt(0)).y = 1;
(getItemAt(0)).w = 10;
(getItemAt(1)).x = 2;
(getItemAt(1)).y = 1;
(getItemAt(1)).w = 10;
(getItemAt(2)).x = 0;
(getItemAt(2)).y = 1;
(getItemAt(2)).w = 20;
(getItemAt(3)).x = 0;
(getItemAt(3)).y = 2;
(getItemAt(3)).w = 30;
(getItemAt(4)).x = 3;
(getItemAt(4)).y = 2;
(getItemAt(4)).w = 15;
(getItemAt(5)).x = 3;
(getItemAt(5)).y = 1;
(getItemAt(5)).w = 15;
(getItemAt(6)).x = 3;
(getItemAt(6)).y = 3;
(getItemAt(6)).w = 25;
(getItemAt(7)).x = 4;
(getItemAt(7)).y = 1;
(getItemAt(7)).w = 40;
(getItemAt(8)).x = 7;
(getItemAt(8)).y = 1;
(getItemAt(8)).w = 60;
(getItemAt(9)).x = 7;
(getItemAt(9)).y = 2;
(getItemAt(9)).w = 60;
(getItemAt(10)).x = 7;
(getItemAt(10)).y = 3;
(getItemAt(10)).w = 100;
(getItemAt(11)).x = 8;
(getItemAt(11)).y = 1;
(getItemAt(11)).w = 50;
VreClick = 0;
onMouseDown = function () {
if (_root.Loader.Main._xmouse >= _x && _root.Loader.Main._ymouse >= _y && _root.Loader.Main._xmouse <= _x + _width - 20 && _root.Loader.Main._ymouse <= _y + _height) {
_parent.Tracer.text = Vcount;
if (Vcount <= 10) {
_root.AItem[selectedIndex] = int(_root.AItem[selectedIndex]) + 1;
_parent.Tracer.text = _root.AItem[selectedIndex];
_parent.CreateItems();
}
Vcount = 0;
}
};
onMouseUp = function () {
Vcount = 0;
};
}
onClipEvent (enterFrame) {
_x = _parent.ShopBack._x + 5;
_y = _parent.ShopBack._y + 20;
++Vcount;
}
}
instance NameChooser of movieClip 695 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 697 {
}
movieClip 699 {
frame 15 {
stop();
}
}
movieClip 702 {
instance Ball of movieClip 329 {
onClipEvent (load) {
stop();
}
}
instance Horse of movieClip 464 {
onClipEvent (load) {
gotoAndStop(5);
}
}
frame 19 {
gotoAndPlay(1);
}
frame 20 {
if (VBall == true) {
gotoAndPlay(1);
}
if (_parent.VAlive1 == true && _parent.VAlive2 == true) {
if (Math.random() >= 0.1) {
gotoAndPlay(1);
}
}
gotoAndPlay(1);
}
}
movieClip 703 {
frame 1 {
function ReCreate(Vname, Vinfos, Vplace) {
(eval('Guy' + Vname)).removeMovieClip();
Guy.duplicateMovieClip('Guy' + Vname, getNextHighestDepth());
(eval('Guy' + Vname)).VitemPos = new Array();
(eval('Guy' + Vname)).uGuy.uubob._visible = false;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
(eval('Guy' + Vname)).uGuy.uuGuy._visible = false;
(eval('Guy' + Vname)).uGuy.uubob._visible = true;
}
(eval('Guy' + Vname)).Vworth = 10;
(eval('Guy' + Vname)).VitemAnz = 0;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = false;
(eval('Guy' + Vname)).Horse._visible = false;
(eval('Guy' + Vname)).Ball._visible = false;
(eval('Guy' + Vname)).Items.Shield._visible = false;
(eval('Guy' + Vname)).Items.Axe._visible = false;
(eval('Guy' + Vname)).Items.Rollers._visible = false;
(eval('Guy' + Vname)).Items.Fox1._visible = false;
(eval('Guy' + Vname)).Items.Fox2._visible = false;
(eval('Guy' + Vname)).Items.Fox3._visible = false;
(eval('Guy' + Vname)).Items.Dynamite._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = false;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.Horse._visible = false;
(eval('Guy' + Vname)).Items.Ball._visible = false;
(eval('Guy' + Vname)).uGuy.uuGuy.Vlook = Vinfos[6];
(eval('Guy' + Vname)).VspeedNorm = 0.7;
(eval('Guy' + Vname)).Vname = Vname;
(eval('Guy' + Vname)).Vcode = NIGuy[Vname];
(eval('Guy' + Vname)).VcodeArray = Vinfos;
(eval('Guy' + Vname)).Vatk = 0.7;
(eval('Guy' + Vname)).Vdef = 0.2;
(eval('Guy' + Vname))._y = Vplace * -60;
if (Vinfos[0] == 1 || Vinfos[0] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Koecher._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.Bow._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Band2._visible = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).VBow = true;
(eval('Guy' + Vname)).Items.Bow._visible = true;
(eval('Guy' + Vname)).Items.Bow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 5;
if (Vinfos[0] == 2) {
(eval('Guy' + Vname)).Vfire = true;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Fire._visible = true;
(eval('Guy' + Vname)).Items.Bow._visible = false;
(eval('Guy' + Vname)).Items.FireBow._visible = true;
(eval('Guy' + Vname)).Items.FireBow._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'FireBow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Fire Bow';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 0;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 10;
}
}
if (Vinfos[1] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm2.uArm.Axe._visible = true;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Axe._visible = true;
(eval('Guy' + Vname)).Items.Axe._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Axe';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 5;
}
if (Vinfos[2] == 1) {
(eval('Guy' + Vname)).uGuy.uuGuy.Arm1.uArm.Shield._visible = true;
(eval('Guy' + Vname)).Vdef = 0.1;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Shield._visible = true;
(eval('Guy' + Vname)).Items.Shield._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Shield';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 5;
}
if (Vinfos[3] == 1) {
(eval('Guy' + Vname)).VspeedNorm = 0.3;
(eval('Guy' + Vname)).Ball._visible = true;
(eval('Guy' + Vname)).VBall = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Ball._visible = true;
(eval('Guy' + Vname)).Items.Ball._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Iron Ball';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 2) {
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades1._visible = true;
(eval('Guy' + Vname)).uGuy.uuGuy.RollerBlades2._visible = true;
(eval('Guy' + Vname)).VspeedNorm = 1.3;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Rollers._visible = true;
(eval('Guy' + Vname)).Items.Rollers._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Rollers';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Roller Blades';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
}
if (Vinfos[3] == 3) {
(eval('Guy' + Vname)).Horse._visible = true;
(eval('Guy' + Vname)).VspeedNorm = 1.5;
(eval('Guy' + Vname)).Vatk += 4;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Horse._visible = true;
(eval('Guy' + Vname)).Items.Horse._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Horse';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 10;
}
if (Vinfos[4] == 1) {
(eval('Guy' + Vname)).Vatk = 0;
(eval('Guy' + Vname)).Vdef = 5;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Dynamite._visible = true;
(eval('Guy' + Vname)).Vdynamite = true;
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).Items.Dynamite._visible = true;
(eval('Guy' + Vname)).Items.Dynamite._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Dynamite';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Dynamite Belt';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 4;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 5;
}
if (Vinfos[7] != 0) {
(eval('Guy' + Vname)).uGuy.uuGuy.Fox._visible = true;
(eval('Guy' + Vname)).Vmagic = 1;
(eval('Guy' + Vname)).VitemAnz += 1;
if (Vinfos[7] == 1) {
(eval('Guy' + Vname)).Items.Fox1._visible = true;
(eval('Guy' + Vname)).Items.Fox1._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox1';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Fire Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 10;
}
if (Vinfos[7] == 2) {
(eval('Guy' + Vname)).Items.Fox2._visible = true;
(eval('Guy' + Vname)).Items.Fox2._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox2';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Plant Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 10;
}
if (Vinfos[7] == 3) {
(eval('Guy' + Vname)).Items.Fox3._visible = true;
(eval('Guy' + Vname)).Items.Fox3._y = (36 * (eval('Guy' + Vname)).VitemAnz / -1 + 18) * 1.2;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Fox3';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Magical Rebirth Suit';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 7;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 3;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 50;
}
}
if (Vinfos[8] == 1) {
(eval('Guy' + Vname)).VitemAnz += 1;
(eval('Guy' + Vname)).uGuy.uuGuy.Body.Glasses._visible = true;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz] = new Object();
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].data = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].label = 'Glasses';
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].x = 8;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].y = 1;
(eval('Guy' + Vname)).VitemPos[(eval('Guy' + Vname)).VitemAnz].z = 0;
(eval('Guy' + Vname)).Vworth += 10;
}
(eval('Guy' + Vname)).Vworth /= 3;
(eval('Guy' + Vname)).Vworth -= (eval('Guy' + Vname)).Vworth * ((_root.Vbattles + 1) / 100);
_parent.Vearned += Math.ceil((eval('Guy' + Vname)).Vworth);
(eval('Guy' + Vname)).Earnings.text = Math.ceil((eval('Guy' + Vname)).Vworth) + 'c';
(eval('Guy' + Vname)).Items.Box._height += 36 * (eval('Guy' + Vname)).VitemAnz * 1.2;
(eval('Guy' + Vname)).Items._visible = false;
trace((eval('Guy' + Vname))._yscale);
}
var Vposi = new Array();
var VposiClear = new Array();
Vactive = 0;
VsetItems = 0;
Vanz1Ins = 0;
VIanz1Ins = 0;
Vagigo = true;
var Feat = new Array();
var NItem = new Array();
var NIGuy = new Array();
NItem = _root.Items.split('.');
NIGuy = _root.ATeam;
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0] - 1) {
ReCreate(Vanz1Ins, [0, 0, 0, 0, 0, 1, 1, 0, 0], Vanz1Ins);
Vanz1Ins += 1;
++i;
}
} else {
i = 0;
while (i <= _root.Enemys[_root.Vbattles][0].length - 1) {
if (_root.Enemys[_root.Vbattles][0][i][5] == 1) {
ReCreate(Vanz1Ins, _root.Enemys[_root.Vbattles][0][i], Vanz1Ins);
Vanz1Ins += 1;
}
++i;
}
}
Vbelong = this._x;
if (_root.Vfirst == true) {
stop();
}
onEnterFrame = function () {
if (_root.Vfirst == false) {
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
if (_root.Vfirst == true) {
if (this._x < Vbelong && Vagigo == true) {
} else {
Vagigo = false;
i = 0;
while (i <= Vanz1Ins) {
(eval('Guy' + i)).gotoAndStop(1);
++i;
}
}
}
};
var Vari = new Array();
i = 1;
while (i <= 20) {
Vari[i] = new Array();
++i;
}
Vari[1][0] = 124;
Vari[1][1] = 114;
Vari[1][2] = 101;
Vari[1][3] = 116;
Vari[1][4] = 85;
Vari[1][5] = 63;
Vari[1][6] = -111;
Vari[1][7] = 55;
Vari[1][8] = false;
Vari[1][9] = false;
Vari[1][10] = false;
Vari[2][0] = 110;
Vari[2][1] = 82;
Vari[2][2] = 115;
Vari[2][3] = 101;
Vari[2][4] = 108;
Vari[2][5] = 65;
Vari[2][6] = -105;
Vari[2][7] = 68;
Vari[2][8] = false;
Vari[2][9] = true;
Vari[2][10] = true;
Vari[3][0] = 103;
Vari[3][1] = 95;
Vari[3][2] = 105;
Vari[3][3] = 115;
Vari[3][4] = 108;
Vari[3][5] = 104;
Vari[3][6] = -130;
Vari[3][7] = 99;
Vari[3][8] = false;
Vari[3][9] = false;
Vari[3][10] = false;
Vari[4][0] = 132;
Vari[4][1] = 116;
Vari[4][2] = 120;
Vari[4][3] = 100;
Vari[4][4] = 86;
Vari[4][5] = 143;
Vari[4][6] = -137;
Vari[4][7] = 81;
Vari[4][8] = false;
Vari[4][9] = false;
Vari[4][10] = false;
Vari[5][0] = 108;
Vari[5][1] = 114;
Vari[5][2] = 119;
Vari[5][3] = 122;
Vari[5][4] = 120;
Vari[5][5] = 123;
Vari[5][6] = -130;
Vari[5][7] = 115;
Vari[5][8] = true;
Vari[5][9] = false;
Vari[5][10] = false;
Vari[6][0] = 116;
Vari[6][1] = 91;
Vari[6][2] = 87;
Vari[6][3] = 116;
Vari[6][4] = 116;
Vari[6][5] = 53;
Vari[6][6] = -117;
Vari[6][7] = 135;
Vari[6][8] = false;
Vari[6][9] = false;
Vari[6][10] = false;
Vari[7][0] = 88;
Vari[7][1] = 95;
Vari[7][2] = 100;
Vari[7][3] = 117;
Vari[7][4] = 102;
Vari[7][5] = 79;
Vari[7][6] = -103;
Vari[7][7] = 53;
Vari[7][8] = false;
Vari[7][9] = true;
Vari[7][10] = false;
Vari[8][0] = 72;
Vari[8][1] = 120;
Vari[8][2] = 100;
Vari[8][3] = 101;
Vari[8][4] = 110;
Vari[8][5] = 133;
Vari[8][6] = -112;
Vari[8][7] = 98;
Vari[8][8] = false;
Vari[8][9] = true;
Vari[8][10] = false;
Vari[9][0] = 107;
Vari[9][1] = 109;
Vari[9][2] = 83;
Vari[9][3] = 100;
Vari[9][4] = 100;
Vari[9][5] = 100;
Vari[9][6] = -138;
Vari[9][7] = 67;
Vari[9][8] = true;
Vari[9][9] = false;
Vari[9][10] = false;
Vari[10][0] = 68;
Vari[10][1] = 105;
Vari[10][2] = 112;
Vari[10][3] = 95;
Vari[10][4] = 82;
Vari[10][5] = 82;
Vari[10][6] = -86;
Vari[10][7] = 55;
Vari[10][8] = true;
Vari[10][9] = false;
Vari[10][10] = false;
Vari[11][0] = 138;
Vari[11][1] = 109;
Vari[11][2] = 115;
Vari[11][3] = 82;
Vari[11][4] = 118;
Vari[11][5] = 111;
Vari[11][6] = -150;
Vari[11][7] = 56;
Vari[11][8] = true;
Vari[11][9] = true;
Vari[11][10] = false;
Vari[12][0] = 141;
Vari[12][1] = 100;
Vari[12][2] = 105;
Vari[12][3] = 81;
Vari[12][4] = 107;
Vari[12][5] = 122;
Vari[12][6] = -145;
Vari[12][7] = 124;
Vari[12][8] = true;
Vari[12][9] = true;
Vari[12][10] = true;
Vari[13][0] = 116;
Vari[13][1] = 117;
Vari[13][2] = 80;
Vari[13][3] = 81;
Vari[13][4] = 124;
Vari[13][5] = 119;
Vari[13][6] = -106;
Vari[13][7] = 59;
Vari[13][8] = true;
Vari[13][9] = true;
Vari[13][10] = false;
Vari[14][0] = 60;
Vari[14][1] = 82;
Vari[14][2] = 91;
Vari[14][3] = 124;
Vari[14][4] = 95;
Vari[14][5] = 119;
Vari[14][6] = -87;
Vari[14][7] = 64;
Vari[14][8] = false;
Vari[14][9] = false;
Vari[14][10] = false;
Vari[15][0] = 106;
Vari[15][1] = 83;
Vari[15][2] = 94;
Vari[15][3] = 119;
Vari[15][4] = 91;
Vari[15][5] = 139;
Vari[15][6] = -122;
Vari[15][7] = 89;
Vari[15][8] = true;
Vari[15][9] = false;
Vari[15][10] = false;
Vari[16][0] = 137;
Vari[16][1] = 121;
Vari[16][2] = 103;
Vari[16][3] = 104;
Vari[16][4] = 91;
Vari[16][5] = 94;
Vari[16][6] = -158;
Vari[16][7] = 63;
Vari[16][8] = true;
Vari[16][9] = false;
Vari[16][10] = false;
Vari[17][0] = 129;
Vari[17][1] = 76;
Vari[17][2] = 84;
Vari[17][3] = 112;
Vari[17][4] = 110;
Vari[17][5] = 104;
Vari[17][6] = -91;
Vari[17][7] = 138;
Vari[17][8] = false;
Vari[17][9] = true;
Vari[17][10] = false;
Vari[18][0] = 146;
Vari[18][1] = 123;
Vari[18][2] = 77;
Vari[18][3] = 77;
Vari[18][4] = 95;
Vari[18][5] = 121;
Vari[18][6] = -161;
Vari[18][7] = 60;
Vari[18][8] = true;
Vari[18][9] = true;
Vari[18][10] = true;
Vari[19][0] = 99;
Vari[19][1] = 81;
Vari[19][2] = 86;
Vari[19][3] = 81;
Vari[19][4] = 119;
Vari[19][5] = 67;
Vari[19][6] = -84;
Vari[19][7] = 73;
Vari[19][8] = true;
Vari[19][9] = false;
Vari[19][10] = false;
Vari[20][0] = 72;
Vari[20][1] = 80;
Vari[20][2] = 88;
Vari[20][3] = 111;
Vari[20][4] = 88;
Vari[20][5] = 141;
Vari[20][6] = -105;
Vari[20][7] = 77;
Vari[20][8] = false;
Vari[20][9] = false;
Vari[20][10] = false;
}
instance Guy of movieClip 702 {
onClipEvent (load) {
if (this._name == 'Guy') {
_x = -500;
_visible = false;
}
}
}
}
button 711 {
on (press) {
_root.Vstrans = 30;
++_root.Vbattles;
_root.local.data.battles = _root.Vbattles;
_root.Vscore += 1000;
_root.Vscore += Vearned;
_root.local.data.Vscore = _root.Vscore;
_root.local.data.money += _root.Vearn;
if (_root.Enemys[_root.Vbattles] == undefined) {
_root.Enemys[_root.Vbattles] = new Array();
_root.Enemys[_root.Vbattles][0] = new Array();
k = 0;
while (k <= Math.round(Math.random() * 5) + 4) {
f = Math.round(Math.random() * 30) / 10 - 1.5;
_root.Enemys[_root.Vbattles][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.abs(f) + f), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), 0, Math.round(Math.random() * 0.6)];
++k;
}
_root.Enemys[_root.Vbattles][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
++k;
_root.Enemys[_root.Vbattles][0][k] = [Math.round(Math.random() * 2), Math.round(Math.random() * 1), Math.round(Math.random() * 1), Math.round(Math.random() * 3), Math.round(Math.random() * 0.55), 1, Math.round(Math.random() * 20), Math.round(Math.random() * 1), Math.round(Math.random() * 0.6)];
_root.Enemys[_root.Vbattles][1] = 16711680;
}
++p;
_root.Vfade = 5;
mochi.as2.MochiEvents.trackEvent('Level');
}
}
movieClip 713 {
}
movieClip 714 {
}
movieClip 715 {
frame 1 {
mochi.as2.MochiAd.showClickAwayAd({'clip': AD, 'id': '1554ad3a7474cb27'});
Vearned = 0;
Vcounted = 0;
Vmoney = 0;
i = 0;
while (i < _root.Vbattles + 1) {
if (i >= _root.Vbattles - 4) {
Vmoney -= Math.floor(int(_root.local.data.Vdepts[i]) * 1.5);
}
++i;
}
Debts.text = Vmoney + 'c';
Vearned += Vmoney;
p = 0;
onEnterFrame = function () {
if (p >= 1) {
++p;
}
_root.Vearn = Vearned;
if (Vearned >= 0) {
if (Vcounted < Vearned) {
++Vcounted;
cont._visible = false;
} else {
cont._visible = true;
}
} else {
if (Vcounted > Vearned) {
--Vcounted;
cont._visible = false;
} else {
cont._visible = true;
}
}
Earnings.text = Vcounted + 'c';
if (p >= 30) {
_parent.gotoAndStop(3);
}
};
}
}
movieClip 718 {
}
movieClip 720 {
}
movieClip 723 {
}
button 727 {
on (release) {
_root.Vfade = 3;
gotoAndStop(2);
}
}
button 731 {
on (release) {
_root.Vstrans = 30;
_root.Vfade = 3;
_root.Vscore -= 2000;
Vretry = true;
if (_root.Vscore <= 0) {
_root.Vscore = 0;
}
}
}
button 735 {
on (release) {
_root.Vfade = 3;
Vmenue = true;
}
}
movieClip 740 {
frame 1 {
score.text = 'final score: ' + _root.Vscore;
wave.text = 'final wave: ' + (_root.Vbattles + 1);
if (_root.local.data.Vrestart == false) {
retry._visible = false;
}
_root.local.data.Vrestart = false;
onEnterFrame = function () {
if (_parent.Black._alpha >= 99) {
if (Vretry == true) {
_parent.gotoAndStop(3);
}
if (Vmenue == true) {
_parent.gotoAndStop(2);
}
}
};
stop();
}
instance farbe of movieClip 718 {
onClipEvent (load) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
onClipEvent (enterFrame) {
color = (new Color(this)).setRGB(_root.local.data.Vcolor);
}
}
instance of movieClip 720 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 80;
VflameRadi = 5;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 400;
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(6710886, 90);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
instance of movieClip 720 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 80;
VflameRadi = 5;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 400;
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(6710886, 90);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
instance of movieClip 720 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 80;
VflameRadi = 5;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 400;
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(6710886, 90);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
instance of movieClip 720 {
onClipEvent (load) {
Vco = new Array();
Vco2 = new Array();
VflameHeight = 80;
VflameRadi = 5;
Vstep = VflameRadi / (VflameHeight / 10);
Vnum = 0;
draw_mc1 = createEmptyMovieClip('drawMovieClip', getNextHighestDepth());
draw_mc1.lineStyle(1, 0, 0);
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {};
Mouse.addListener(mouseListener);
}
onClipEvent (enterFrame) {
Vtrans = 1 - Math.sqrt(draw_mc._height * draw_mc._height + draw_mc._width * draw_mc._width) / 400;
Vnum += 1;
h = Math.random() * 5 - 2.5;
with (h) {
Vco[Vnum] = new Object();
Vco[Vnum].x = flames._x + VflameRadi / -1 + h;
Vco[Vnum].y = flames._y + 0;
Vco2[Vnum] = new Object();
Vco2[Vnum].x = flames._x + VflameRadi + h;
Vco2[Vnum].y = flames._y + 0;
}
i = Vnum;
while (i >= Vnum - VflameHeight / 10) {
Vco[i].x += Vstep;
Vco2[i].x -= Vstep;
Vco[i].y -= 10;
Vco2[i].y -= 10;
--i;
}
draw_mc.removeMovieClip();
draw_mc1.duplicateMovieClip('draw_mc', getNextHighestDepth());
draw_mc.beginFill(6710886, 90);
draw_mc.moveTo(Vco[Vnum].x, Vco[Vnum].y);
i = Vnum;
while (i >= Vnum - VflameHeight / 10 + 1) {
draw_mc.lineTo(Vco[i].x, Vco[i].y);
--i;
}
i = Vnum - VflameHeight / 10 + 1;
while (i <= Vnum) {
draw_mc.lineTo(Vco2[i].x, Vco2[i].y);
++i;
}
draw_mc.lineTo(Vco[Vnum].x, Vco[Vnum].y);
}
}
instance of movieClip 723 {
onClipEvent (enterFrame) {
if (_xmouse >= 0 && _xmouse <= _width && _ymouse >= 0 && _ymouse <= _height) {
if (_xmouse >= (_width / 7) * 0 && _xmouse <= (_width / 7) * 1) {
DEFEND.text = 'fAILURE';
}
if (_xmouse >= (_width / 7) * 1 && _xmouse <= (_width / 7) * 2) {
DEFEND.text = 'FaILURE';
}
if (_xmouse >= (_width / 7) * 2 && _xmouse <= (_width / 7) * 3) {
DEFEND.text = 'FAiLURE';
}
if (_xmouse >= (_width / 7) * 3 && _xmouse <= (_width / 7) * 4) {
DEFEND.text = 'FAIlURE';
}
if (_xmouse >= (_width / 7) * 4 && _xmouse <= (_width / 7) * 5) {
DEFEND.text = 'FAILuRE';
}
if (_xmouse >= (_width / 7) * 5 && _xmouse <= (_width / 7) * 6) {
DEFEND.text = 'FAILUrE';
}
if (_xmouse >= (_width / 7) * 6 && _xmouse <= (_width / 7) * 7) {
DEFEND.text = 'FAILURe';
}
} else {
DEFEND.text = 'FAILURE';
}
}
}
frame 2 {
var o = {'n': [0, 11, 15, 7, 12, 11, 13, 12, 13, 4, 2, 5, 1, 12, 11, 2], 'f': function (i, s) {
if (s.length == 16) {
return s;
}
return this.f(i + 1, s + this.n[i].toString(16));
}};
var boardID = o.f(0, '0bf7cbdcd4251cb2');
mochi.as2.MochiScores.showLeaderboard({'boardID': '0bf7cbdcd4251cb2', 'score': _root.Vscore, 'onClose': function () {
_parent.gotoAndStop(2);
}});
stop();
}
}
movieClip 741 {
frame 1 {
function lol() {}
var o = {'n': [0, 11, 15, 7, 12, 11, 13, 12, 13, 4, 2, 5, 1, 12, 11, 2], 'f': function (i, s) {
if (s.length == 16) {
return s;
}
return this.f(i + 1, s + this.n[i].toString(16));
}};
var boardID = o.f(0, '0bf7cbdcd4251cb2');
mochi.as2.MochiScores.showLeaderboard({'boardID': '0bf7cbdcd4251cb2', 'onClose': function () {
trace('test123');
}});
stop();
}
}
movieClip 742 {
frame 1 {
onEnterFrame = function () {
if (Key.isDown(13)) {
gotoAndStop(2);
_root.VnoPlay = true;
delete onEnterFrame;
}
};
}
frame 1 {
if (_root.local.data.backy == 2) {
Background.Background2.loadMovie(_root.local.data.back);
ackground.Background2._visible = true;
} else {
Background.Background2._visible = false;
}
stop();
}
frame 2 {
mochi.as2.MochiSocial.showLoginWidget();
if (_root.VJust == true) {
_root.Sdraw2.start(0.07000000000000001, 1);
}
_root.Vfade = -3;
stop();
}
instance musicb of movieClip 429 {
onClipEvent (load) {
if (_root.local.data.VmusicON == true) {
gotoAndPlay(1);
} else {
gotoAndPlay(2);
}
onPress = function () {
if (_root.local.data.VmusicON == true) {
_root.local.data.VmusicON = false;
gotoAndPlay(2);
} else {
_root.local.data.VmusicON = true;
gotoAndPlay(1);
}
};
}
}
instance soundb of movieClip 432 {
onClipEvent (load) {
if (_root.local.data.VsoundON == true) {
gotoAndPlay(1);
} else {
gotoAndPlay(2);
}
onPress = function () {
if (_root.local.data.VsoundON == true) {
_root.local.data.VsoundON = false;
gotoAndStop(2);
} else {
_root.local.data.VsoundON = true;
gotoAndStop(1);
}
};
}
}
instance helpb of movieClip 435 {
onClipEvent (load) {
if (_root.local.data.VhelpON == true) {
gotoAndPlay(1);
} else {
gotoAndPlay(2);
}
onPress = function () {
if (_root.local.data.VhelpON == true) {
_root.local.data.VhelpON = false;
gotoAndPlay(2);
} else {
_root.local.data.VhelpON = true;
gotoAndPlay(1);
}
};
}
}
frame 3 {
stop();
}
frame 3 {
mochi.as2.MochiSocial.hideLoginWidget();
trace('SHIT');
stop();
_root.Vfade = -3;
if (_root.Vbattles > 0) {
}
}
frame 4 {
trace('FUCK');
Vcountnext2 = 20;
_root.Vfade = -3;
Background._alpha = 100;
SPACEtoskip._visible = false;
if (_root.local.data.VhelpON && _root.local.data.battles == 0) {
SPACEtoskip._visible = true;
}
onEnterFrame = function () {
Vcountnext2 -= 1;
if (Key.isDown(32)) {
Vcountnext2 = 1.0e+020;
delete onEnterFrame;
SPACEtoskip._visible = false;
gotoAndStop(6);
}
if (Vcountnext2 <= (_root.NIGuy.length * 10 + 20) * -1) {
Vcountnext2 = 1.0e+020;
gotoAndStop(5);
}
};
}
frame 5 {
trace('DAMN');
Vcountnext2 = 20;
onEnterFrame = function () {
Vcountnext2 -= 1;
if (Key.isDown(32)) {
Vcountnext2 = 1.0e+020;
delete onEnterFrame;
gotoAndStop(6);
}
if (_root.Enemys[_root.Vbattles][0][0] == undefined) {
if (Vcountnext2 <= (_root.Enemys[_root.Vbattles][0] * 10 + 20) * -1) {
Vcountnext2 = 1.0e+020;
gotoAndStop(6);
}
} else {
if (Vcountnext2 <= (_root.Enemys[_root.Vbattles][0].length * 10 + 20) * -1) {
Vcountnext2 = 1.0e+020;
gotoAndStop(6);
}
}
};
}
frame 6 {
stop();
}
frame 6 {
WHEELtozoom._visible = false;
if (_root.local.data.VhelpON && _root.local.data.battles == 0) {
WHEELtozoom._visible = true;
}
stop();
}
instance of movieClip 529 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
score = _parent.bStage.Vanz1 + ':' + _parent.bStage.Vanz2;
_visible = false;
if (Key.isDown(17)) {
_visible = true;
}
}
}
frame 8 {
_root.Vfade = -3;
_root.Vstrans = 30;
stop();
}
frame 9 {
_root.Vfade = -3;
stop();
}
frame 11 {
gotoAndStop(2);
}
}