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

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

StarCraft Flash RPG.swf

This is the info page for
Flash #41030

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


ActionScript [AS1/AS2]
Combined Code
movieClip 48 BoundingBox { } movieClip 50 BrdrShdw { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor'); } } movieClip 52 BrdrFace { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor'); } } movieClip 53 SimpleButtonDown { } movieClip 55 BrdrBlk { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor'); } } movieClip 57 BrdrHilght { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor'); } } movieClip 58 SimpleButtonIn { } movieClip 59 SimpleButtonUp { } movieClip 60 Defaults { #initclip Object.registerClass('Defaults', mx.skins.halo.Defaults); #endinitclip } movieClip 61 UIObjectExtensions { #initclip Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions); #endinitclip } movieClip 62 UIObject { #initclip Object.registerClass('UIObject', mx.core.UIObject); #endinitclip frame 1 { stop(); } } button 65 { on (keyPress '<Tab>') { this.tabHandler(); } } movieClip 66 { #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 67 FocusRect { #initclip Object.registerClass('FocusRect', mx.skins.halo.FocusRect); #endinitclip } movieClip 68 FocusManager { #initclip Object.registerClass('FocusManager', mx.managers.FocusManager); #endinitclip frame 1 { stop(); } } movieClip 69 UIComponentExtensions { #initclip Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions); #endinitclip } movieClip 70 UIComponent { #initclip Object.registerClass('UIComponent', mx.core.UIComponent); #endinitclip frame 1 { stop(); } } movieClip 71 SimpleButton { #initclip Object.registerClass('SimpleButton', mx.controls.SimpleButton); #endinitclip frame 1 { stop(); } } movieClip 72 Border { #initclip Object.registerClass('Border', mx.skins.Border); #endinitclip frame 1 { stop(); } } movieClip 73 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 74 ButtonSkin { #initclip Object.registerClass('ButtonSkin', mx.skins.halo.ButtonSkin); #endinitclip } movieClip 75 Button { #initclip Object.registerClass('Button', mx.controls.Button); #endinitclip frame 1 { stop(); } instance of movieClip 71 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 76 CustomBorder { #initclip Object.registerClass('CustomBorder', mx.skins.CustomBorder); mx.skins.SkinElement.registerElement('CustomBorder', mx.skins.CustomBorder); #endinitclip frame 1 { } } movieClip 79 ScrollTrack { } movieClip 86 ScrollDownArrowDisabled { } movieClip 88 ScrollThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 90 ScrollThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 91 ScrollDownArrowDown { } movieClip 92 ScrollDownArrowOver { } movieClip 93 ScrollDownArrowUp { } movieClip 99 ScrollThumbBottomDisabled { } movieClip 101 ThumbThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 103 ThumbThemeColor3 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 104 ScrollThumbBottomDown { } movieClip 105 ScrollThumbBottomOver { } movieClip 106 ScrollThumbBottomUp { } movieClip 108 ScrollThumbGripDisabled { } movieClip 110 ThumbThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 111 ScrollThumbGripDown { } movieClip 112 ScrollThumbGripOver { } movieClip 113 ScrollThumbGripUp { } movieClip 115 ScrollThumbMiddleDisabled { } movieClip 116 ScrollThumbMiddleDown { } movieClip 117 { } movieClip 119 { } movieClip 120 ScrollThumbMiddleOver { } movieClip 121 ScrollThumbMiddleUp { } movieClip 122 ScrollThumbTopDisabled { } movieClip 123 ScrollThumbTopDown { } movieClip 124 ScrollThumbTopOver { } movieClip 125 ScrollThumbTopUp { } movieClip 126 ScrollTrackDisabled { } movieClip 127 ScrollUpArrowDisabled { } movieClip 128 ScrollUpArrowDown { } movieClip 129 ScrollUpArrowOver { } movieClip 130 ScrollUpArrowUp { } movieClip 131 BtnDownArrow { #initclip Object.registerClass('BtnDownArrow', mx.controls.SimpleButton); #endinitclip } movieClip 132 BtnUpArrow { #initclip Object.registerClass('BtnUpArrow', mx.controls.SimpleButton); #endinitclip } movieClip 133 ScrollBarAssets { } movieClip 134 VScrollBar { #initclip Object.registerClass('VScrollBar', mx.controls.VScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 75 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 71 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 135 HScrollBar { #initclip Object.registerClass('HScrollBar', mx.controls.HScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 75 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 71 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 136 UIScrollBar { #initclip Object.registerClass('UIScrollBar', mx.controls.UIScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 134 VScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 135 HScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } frame 1 { function cursor(zmena) { if (_root.kurzor._currentframe != zmena) { _root.kurzor.gotoAndPlay(zmena); } } function select(koho) { if (select_lock) { _root.hud.gotoAndPlay('hero'); _root.hud.select = 'hero'; _root.hud.anim.gotoAndPlay('select'); } else { _root.hud.gotoAndPlay(koho); _root.hud.select = koho; _root.hud.anim.gotoAndPlay('select'); } } function pohni() { speedx = Math.cos(_root.map.hero.angle * 0.0174532925199433) * _root.map.hero.speed * -1; speedy = Math.sin(_root.map.hero.angle * 0.0174532925199433) * _root.map.hero.speed; _root.map._x += Math.round(speedx * _root.map._xscale / 100); _root.map._y += Math.round(speedy * _root.map._yscale / 100); _root.map.hero._x -= Math.round(speedx); _root.map.hero._y -= Math.round(speedy); if (_root.bojova_lokacia == true) { if (random(100) == random(10)) { if (_root.map.hero.hitTest(_root.map.nonfight_area1) or _root.map.hero.hitTest(_root.map.nonfight_area2) or _root.letim == true) { } else { if (mam_radar_on) { if (random(5) == 1) { _root.zvuk('fight', 'fight_start'); _root.boss = false; _root.fight(); } } else { _root.zvuk('fight', 'fight_start'); _root.boss = false; _root.fight(); } } } } } function pohni_s5() { nasobic = 4; speedx = nasobic * Math.cos(_root.map.hero.angle * 0.0174532925199433) * _root.map.hero.speed * -1; speedy = nasobic * Math.sin(_root.map.hero.angle * 0.0174532925199433) * _root.map.hero.speed; _root.map._x -= Math.round(speedx * _root.map._xscale / 100); _root.map._y -= Math.round(speedy * _root.map._yscale / 100); _root.map.hero._x += Math.round(speedx); _root.map.hero._y += Math.round(speedy); } function checkstop(kto) { if (_root.map.hero.hit.hitTest(_root.map[kto]) and letim == false) { speed = _root.map.hero.speed; sx = _root.map[kto]._x + _root.map[kto]._width / 2; sy = _root.map[kto]._y + _root.map[kto]._height / 2; hx = _root.map.hero._x; hy = _root.map.hero._y; if (sx > hx) { _root.map._x += Math.round(speed); _root.map.hero._x -= Math.round(speed); } if (sx < hx) { _root.map._x -= Math.round(speed); _root.map.hero._x += Math.round(speed); } if (sy > hy) { _root.map._y += Math.round(speed); _root.map.hero._y -= Math.round(speed); } if (sy < hy) { _root.map._y -= Math.round(speed); _root.map.hero._y += Math.round(speed); } naburani += Number(1); if (naburani >= 10) { naburani = 0; _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targeting = false; _root.targetin = false; _root.map.hero.anim = 1; } } } function checkstop_old(kto) { if (_root.map.hero.hit.hitTest(_root.map[kto]) and letim == false) { _root.pohni_s5(); naburani += Number(1); if (naburani >= 10) { naburani = 0; _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targeting = false; _root.targetin = false; _root.map.hero.anim = 1; } } } function checkloc(od, kam) { Mouse.hide(); if (select_lock) { _root.hud.gotoAndPlay('hero'); _root.hud.select = 'hero'; _root.hud.anim.gotoAndPlay('select'); } else { _root.hud.select = 'none'; } _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targetin = false; _root.map.hero.anim = 1; _root.cursor('normal'); if (kam == 'town1') { _root.room = 'town1'; _root.letim = false; _root.map.hero.gotoAndStop('marine'); _root.hud.overlay.gotoAndStop('none'); bojova_lokacia = false; if (od == 'nature1') { _root.zvuk('nature', 'down'); } if (od == 'barracks1') { pohni_s5(); pohni_s5(); } if (od == 'townhall') { pohni_s5(); pohni_s5(); } if (od == 'disco') { pohni_s5(); pohni_s5(); } } if (kam == 'barracks') { _root.hud.overlay.gotoAndStop('barracks'); } if (kam == 'factory') { _root.hud.overlay.gotoAndStop('factory'); } if (kam == 'disco') { _root.hud.overlay.gotoAndStop('disco'); _root.room = 'disco'; } if (kam == 'townhall') { _root.hud.overlay.gotoAndStop('townhall'); } if (kam == 'rooster') { _root.hud.overlay.gotoAndStop('rooster'); } if (kam == 'worldmap') { _root.hud.overlay.gotoAndStop('worldmap'); } if (kam == 'shop') { _root.hud.overlay.gotoAndStop('shop'); } if (kam == 'info') { _root.hud.overlay.gotoAndStop('info'); } if (kam == 'starbase') { _root.hud.overlay.gotoAndStop('starbase'); } if (kam == 'lab') { _root.hud.overlay.gotoAndStop('lab'); } if (kam == 'nature1') { _root.room = 'nature1'; _root.hud.overlay.gotoAndStop('none'); bojova_lokacia = true; if (od == 'town1') { _root.zvuk('nature', 'up'); } if (od == 'miningcamp') { _root.map._x -= 1300; _root.map._y += 3000; _root.map.hero._x += 1300; _root.map.hero._y -= 3000; } } if (kam == 'miningcamp') { _root.room = 'miningcamp'; _root.hud.overlay.gotoAndStop('none'); bojova_lokacia = true; if (od == 'nature1') { _root.map._x += 1300; _root.map._y -= 3000; _root.map.hero._x -= 1300; _root.map.hero._y += 3000; } if (od == 'spawning') { _root.map._y += 2400; _root.map.hero._y -= 2400; } } if (kam == 'spawning') { _root.room = 'spawning'; _root.hud.overlay.gotoAndStop('none'); bojova_lokacia = true; if (od == 'miningcamp') { _root.map._y -= 2400; _root.map.hero._y += 2400; } } if (kam == 'underground') { _root.room = 'underground'; _root.boss1_dead = false; _root.hud.overlay.gotoAndStop('none'); bojova_lokacia = true; _root.letim = false; _root.map.hero.gotoAndStop('marine'); } _root.map.gotoAndPlay(_root.room); _root.hud.mapa.gotoAndStop(_root.room); } function buyunit(co, kam) { if (_root['post' + kam].jednotka == 'none') { if (co == 'marine' and ore >= 50 and supplya < supplym) { ore -= Number(50); supplya += Number(1); _root['post' + kam].unit.gotoAndStop('marine'); _root['post' + kam].jednotka = 'marine'; _root['post' + kam].hpm = 40; _root['post' + kam].hp = 40; _root['post' + kam].dmg = 6; _root['post' + kam].armor = 0; _root['post' + kam].special = 'stimpack'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 25; _root['post' + kam].dmg += _root.infantry_dmg; _root['post' + kam].armor += _root.infantry_armor; if (mam_stimpack) { _root['post' + kam].spdm -= Number(7); } if (mam_u238k) { _root['post' + kam].dmg += Number(2); } } if (co == 'firebat' and ore >= 50 and gas >= 25 and supplya < supplym) { ore -= Number(50); gas -= Number(25); supplya += Number(1); _root['post' + kam].unit.gotoAndStop('firebat'); _root['post' + kam].jednotka = 'firebat'; _root['post' + kam].hpm = 50; _root['post' + kam].hp = 50; _root['post' + kam].dmg = 16; _root['post' + kam].armor = 1; _root['post' + kam].special = 'stimpack'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 40; _root['post' + kam].dmg += _root.infantry_dmg; _root['post' + kam].armor += _root.infantry_armor; if (mam_stimpack) { _root['post' + kam].spdm -= Number(15); } } if (co == 'medic' and ore >= 50 and gas >= 25 and supplya < supplym) { ore -= Number(50); gas -= Number(25); supplya += Number(1); _root['post' + kam].unit.gotoAndStop('medic'); _root['post' + kam].jednotka = 'medic'; _root['post' + kam].hpm = 60; _root['post' + kam].hp = 60; _root['post' + kam].mp = 200; _root['post' + kam].mpm = 200; _root['post' + kam].dmg = 0; _root['post' + kam].armor = 1; _root['post' + kam].special = 'heal'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 14; _root['post' + kam].armor += _root.infantry_armor; l = 1; while (l <= 6) { if (_root['post' + l].jednotka != 'tank' and _root['post' + l].jednotka != 'goliat') { _root['post' + l].hp = _root['post' + l].hpm; } ++l; } } if (co == 'jim') { supplya += Number(0); _root['post' + kam].unit.gotoAndStop('marine'); _root['post' + kam].jednotka = 'hero'; _root['post' + kam].hpm = 40; _root['post' + kam].hp = 40; _root['post' + kam].dmg = 6; _root['post' + kam].armor = 0; _root['post' + kam].special = 'stimpack'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 20; _root['post' + kam].lvl = 1; _root['post' + kam].xp = 0; _root['post' + kam].xpm = 8; _root['post' + kam].dmg += _root.infantry_dmg; _root['post' + kam].armor += _root.infantry_armor; if (mam_stimpack) { _root['post' + kam].spdm -= Number(6); } if (mam_u238k) { _root['post' + kam].dmg += Number(2); } } if (co == 'tank' and ore >= 150 and gas >= 100 and supplya + Number(3) <= supplym) { ore -= Number(150); gas -= Number(100); supplya += Number(3); _root['post' + kam].unit.gotoAndStop('tank'); _root['post' + kam].jednotka = 'tank'; _root['post' + kam].hpm = 150; _root['post' + kam].hp = 150; _root['post' + kam].mp = 0; _root['post' + kam].mpm = 0; _root['post' + kam].dmg = 35; _root['post' + kam].armor = 1; _root['post' + kam].special = 'siege'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 60; _root['post' + kam].dmg += _root.vehicle_dmg; _root['post' + kam].armor += _root.vehicle_armor; } if (co == 'ghost' and ore >= 75 and gas >= 50 and supplya < supplym and _root.mam_covert == true) { supplya += Number(1); ore -= Number(75); gas -= Number(50); _root['post' + kam].unit.gotoAndStop('ghost'); _root['post' + kam].jednotka = 'ghost'; _root['post' + kam].hpm = 75; _root['post' + kam].hp = 75; _root['post' + kam].mp = 100; _root['post' + kam].mpm = 100; _root['post' + kam].dmg = 15; _root['post' + kam].armor = 1; _root['post' + kam].special = 'none'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 30; _root['post' + kam].dmg += _root.infantry_dmg; _root['post' + kam].armor += _root.infantry_armor; } if (co == 'ghost_free' and supplya < supplym) { supplya += Number(1); _root['post' + kam].unit.gotoAndStop('ghost'); _root['post' + kam].jednotka = 'ghost'; _root['post' + kam].hpm = 80; _root['post' + kam].hp = 80; _root['post' + kam].dmg = 25; _root['post' + kam].armor = 1; _root['post' + kam].special = 'none'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 25; _root['post' + kam].dmg += _root.infantry_dmg; _root['post' + kam].armor += _root.infantry_armor; } trace(co); if (co == 'goliat' and ore >= 100 and gas >= 50 and supplya + Number(2) <= supplym) { trace('goliaaaat'); ore -= Number(100); gas -= Number(50); supplya += Number(2); _root['post' + kam].unit.gotoAndStop('goliat'); _root['post' + kam].jednotka = 'goliat'; _root['post' + kam].hpm = 100; _root['post' + kam].hp = 100; _root['post' + kam].mp = 0; _root['post' + kam].mpm = 0; _root['post' + kam].dmg = 12; _root['post' + kam].armor = 1; _root['post' + kam].special = 'none'; _root['post' + kam].spd = 0; _root['post' + kam].spdm = 28; _root['post' + kam].dmg += _root.vehicle_dmg; _root['post' + kam].armor += _root.vehicle_armor; } _root.hud.overlay['post' + kam].reload(); supply = supplya + ' / ' + supplym; } } function swap_units() { if (_root.swap_unit_1 != '' and _root.swap_unit_1 != ' ' and _root.swap_unit_1 < 7 and _root.swap_unit_2 != '' and _root.swap_unit_2 != ' ' and _root.swap_unit_2 < 7) { od = 'post' + _root.swap_unit_1; kam = 'post' + _root.swap_unit_2; jednotka = _root[od].jednotka; hp = _root[od].hp; hpm = _root[od].hpm; mp = _root[od].mp; mpm = _root[od].mpm; sp = _root[od].sp; spm = _root[od].spm; dmg = _root[od].dmg; armor = _root[od].armor; special = _root[od].special; spd = _root[od].spd; spdm = _root[od].spdm; xp = _root[od].xp; xpm = _root[od].xpm; lvl = _root[od].lvl; _root[od].jednotka = _root[kam].jednotka; _root[od].hp = _root[kam].hp; _root[od].hpm = _root[kam].hpm; _root[od].mp = _root[kam].mp; _root[od].mpm = _root[kam].mpm; _root[od].sp = _root[kam].sp; _root[od].spm = _root[kam].spm; _root[od].dmg = _root[kam].dmg; _root[od].armor = _root[kam].armor; _root[od].special = _root[kam].special; _root[od].spd = _root[kam].spd; _root[od].spdm = _root[kam].spdm; _root[od].xp = _root[kam].xp; _root[od].xpm = _root[kam].xpm; _root[od].lvl = _root[kam].lvl; if (_root[od].jednotka == 'hero') { _root[od].unit.gotoAndStop('marine'); } else { _root[od].unit.gotoAndStop(_root[od].jednotka); } _root[kam].jednotka = jednotka; _root[kam].hp = hp; _root[kam].hpm = hpm; _root[kam].mp = mp; _root[kam].mpm = mpm; _root[kam].sp = sp; _root[kam].spm = spm; _root[kam].dmg = dmg; _root[kam].armor = armor; _root[kam].special = special; _root[kam].spd = spd; _root[kam].spdm = spdm; _root[kam].xp = xp; _root[kam].xpm = xpm; _root[kam].lvl = lvl; if (_root[kam].jednotka == 'hero') { _root[kam].unit.gotoAndStop('marine'); } else { _root[kam].unit.gotoAndStop(_root[kam].jednotka); } _root.hud.overlay[kam].reload(); _root.hud.overlay[od].reload(); } _root.swap_unit_1 = ''; _root.swap_unit_2 = ''; } function remove_unit() { kam = 'post' + _root.del_unit_num; if (_root[kam].jednotka == 'hero') { } else { _root[kam].jednotka = 'none'; _root[kam].hp = 0; _root[kam].hpm = 0; _root[kam].mp = 0; _root[kam].mpm = 0; _root[kam].sp = 0; _root[kam].spm = 0; _root[kam].dmg = 0; _root[kam].armor = 0; _root[kam].special = 'none'; _root[kam].spd = 0; _root[kam].spdm = 0; _root.hud.overlay[kam].reload(); _root.supplya -= 1; _root.supply = supplya + ' / ' + supplym; } } function fight() { _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targetin = false; _root.map.hero.anim = 1; _root.hud.overlay.gotoAndStop('fight1'); _root.cursor('normal'); _root.map.light.stopDrag(); } function attack(kto) { if (_root.hud.overlay[kto].hp > 0 and _root.hud.overlay[kto].hp < 10000) { _root.hud.overlay[kto].spd = 0; if (kto == 'postz1' or kto == 'postz2' or kto == 'postz3' or kto == 'postz4' or kto == 'postz5' or kto == 'postz6') { striel = Number(2); i = 1; while (i <= 6) { if (_root.hud.overlay['post' + i].jednotka != 'none' and _root.hud.overlay['post' + i].hp > 0 and _root.hud.overlay['post' + i].invis != true and _root.hud.overlay[kto].jednotka != 'lurker') { _root.hud.overlay[kto].unit[_root.hud.overlay[kto].jednotka].gotoAndPlay('attack'); if (striel == 2) { if (_root.hud.overlay[kto].dmg - _root.hud.overlay['post' + i].armor <= 0) { dmg = 1; } else { dmg = _root.hud.overlay[kto].dmg - _root.hud.overlay['post' + i].armor; } } else { if (striel == 1 and _root.hud.overlay[kto].jednotka == 'mutalisk' or striel == 1 and _root.hud.overlay[kto].jednotka == 'boss1') { if (_root.hud.overlay[kto].dmg / 2 - _root.hud.overlay['post' + i].armor <= 0) { dmg = 1; } else { dmg = _root.hud.overlay[kto].dmg / 2 - _root.hud.overlay['post' + i].armor; } } else { if (striel == 0 and _root.hud.overlay[kto].jednotka == 'mutalisk' or striel == 0 and _root.hud.overlay[kto].jednotka == 'boss1') { if (_root.hud.overlay[kto].dmg / 4 - _root.hud.overlay['post' + i].armor <= 0) { dmg = 1; } else { dmg = _root.hud.overlay[kto].dmg / 4 - _root.hud.overlay['post' + i].armor; } } } } _root.hud.overlay['post' + i].hp -= dmg; _root.zvuk('fire', _root.hud.overlay[kto].jednotka); if (_root.hud.overlay['post' + i].hp <= 0) { _root.hud.overlay['post' + i].hp = 0; _root.hud.overlay['post' + i].unit[_root.hud.overlay['post' + i].jednotka].gotoAndPlay('dead'); _root.kill(['post' + i]); _root.zvuk('dead', _root.hud.overlay['post' + i].jednotka); if (_root.hud.overlay['post' + i].jednotka == 'hero') { _root.hud.overlay['post' + i].unit.marine.gotoAndPlay('dead'); hero_dead = true; } } if (_root.hud.overlay['post' + i].jednotka == 'ghost' and _root.hud.overlay['post' + i].hp <= 30 and _root.mam_cloak) { _root.invis('post' + i); } if (_root.hud.overlay[kto].jednotka == 'mutalisk' and striel > 0 or _root.hud.overlay[kto].jednotka == 'boss1' and striel > 0) { striel -= Number(1); if (_root.hud.overlay[kto].jednotka == 'boss1') { if (_root.hud.overlay[kto].mp > 50) { _root.hud.overlay[kto].mp -= 50; } else { _root.hud.overlay[kto].mp += Number(1); break; } } } else { break; } } ++i; } } if (_root.hud.overlay[kto].jednotka == 'lurker') { _root.hud.overlay[kto].unit[_root.hud.overlay[kto].jednotka].gotoAndPlay('attack'); _root.hud.overlay['spike_' + kto].gotoAndPlay(2); } if (kto == 'post1' or kto == 'post2' or kto == 'post3' or kto == 'post4' or kto == 'post5' or kto == 'post6') { if (_root.hud.overlay[kto].jednotka == 'medic') { injured_id = 0; injured_hp = 1000; m = 1; while (m <= 6) { if (_root.hud.overlay['post' + m].jednotka != 'none' and _root.hud.overlay['post' + m].hp > 0 and _root.hud.overlay['post' + m].hp < _root.hud.overlay['post' + m].hpm) { if (_root.hud.overlay['post' + m].jednotka != 'tank' and 'post' + m != kto and _root.hud.overlay['post' + m].jednotka != 'goliat') { if (_root.hud.overlay['post' + m].hp < injured_hp) { injured_id = m; injured_hp = _root.hud.overlay['post' + m].hp; } } } ++m; } if (injured_id > 0) { if (_root.hud.overlay[kto].mp >= 5) { _root.hud.overlay[kto].unit.medic.gotoAndPlay('attack'); _root.hud.overlay['post' + injured_id].unit.heal.gotoAndPlay(2); _root.hud.overlay['post' + injured_id].hp += Number(4); if (_root.hud.overlay['post' + injured_id].hp > _root.hud.overlay['post' + injured_id].hpm) { _root.hud.overlay['post' + injured_id].hp = _root.hud.overlay['post' + injured_id].hpm; } _root.hud.overlay[kto].mp -= 5; if (_root.mam_heal) { _root.hud.overlay['post' + injured_id].hp += Number(4); if (_root.hud.overlay['post' + injured_id].hp > _root.hud.overlay['post' + injured_id].hpm) { _root.hud.overlay['post' + injured_id].hp = _root.hud.overlay['post' + injured_id].hpm; } } _root.zvuk('fire', _root.hud.overlay[kto].jednotka); } else { _root.hud.overlay[kto].mp += Number(1); } } } else { if (_root.hud.overlay[kto].jednotka == 'tank') { if (_root[kto].special == 'siege') { j = 1; while (j <= 6) { if (_root.hud.overlay['postz' + j].jednotka != 'none' and _root.hud.overlay['postz' + j].hp > 0 and _root.hud.overlay['postz' + j].jednotka != 'mutalisk' and _root.hud.overlay['postz' + j].invis != true) { _root.hud.overlay[kto].unit[_root.hud.overlay[kto].jednotka].gotoAndPlay('attack'); _root.zvuk('fire', _root.hud.overlay[kto].jednotka); if (_root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor <= 0) { dmg = 1; } else { dmg = _root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor; } _root.hud.overlay['postz' + j].hp -= dmg; if (_root.hud.overlay['postz' + j].hp <= 0) { _root.hud.overlay['postz' + j].hp = 0; _root.hud.overlay['postz' + j].unit[_root.hud.overlay['postz' + j].jednotka].gotoAndPlay('dead'); _root.odmena(_root.hud.overlay['postz' + j].jednotka); _root.zvuk('dead', _root.hud.overlay['postz' + j].jednotka); k = 1; while (k <= 6) { if (_root.hud.overlay['post' + k].jednotka == 'hero') { _root['post' + k].xp += Number(1); if (_root['post' + k].xp >= _root['post' + k].xpm) { _root['post' + k].xp = 0; _root['post' + k].lvl += Number(1); _root['post' + k].xpm = Number(_root['post' + k].lvl) * 8; _root['post' + k].hpm += Number(10); _root['post' + k].hp += Number(10); _root['post' + k].dmg += Number(1); _root.hud.overlay['post' + k].unit.lvlup.gotoAndPlay(2); _root.hud.rank.gotoAndStop(_root['post' + k].lvl); _root.zvuk('fight', 'lvlup'); } } ++k; } } break; } ++j; } } else { if (_root[kto].special == 'normal') { j = 1; while (j <= 6) { if (_root.hud.overlay['postz' + j].jednotka != 'none' and _root.hud.overlay['postz' + j].hp > 0) { _root.hud.overlay['boom' + kto].gotoAndPlay('boom'); break; } ++j; } } else { trace('no normal no siege tank mode on tank ' + kto); } } } else { j = 1; while (j <= 6) { if (_root.hud.overlay['postz' + j].jednotka != 'none' and _root.hud.overlay['postz' + j].hp > 0 and _root.hud.overlay['postz' + j].invis != true) { if (_root.hud.overlay[kto].jednotka == 'firebat' and _root.hud.overlay['postz' + j].jednotka == 'mutalisk') { break; } _root.hud.overlay[kto].unit[_root.hud.overlay[kto].jednotka].gotoAndPlay('attack'); _root.zvuk('fire', _root.hud.overlay[kto].jednotka); if (_root.hud.overlay[kto].jednotka == 'hero') { _root.hud.overlay[kto].unit.marine.gotoAndPlay('attack'); } if (_root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor <= 0) { dmg = 1; } else { dmg = _root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor; } _root.hud.overlay['postz' + j].hp -= dmg; if (_root.hud.overlay[kto].jednotka == 'firebat') { if (j == 1 or j == 3 or j == 5) { if (_root.hud.overlay['postz' + (j + Number(1))].jednotka != 'none' and _root.hud.overlay['postz' + (j + Number(1))].hp > 0 and _root.hud.overlay['postz' + (j + Number(1))].jednotka != 'mutalisk' and _root.hud.overlay['postz' + j].invis != true) { if (_root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + (j + Number(1))].armor <= 0) { dmg2 = 1; } else { dmg2 = _root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + (j + Number(1))].armor; } _root.hud.overlay['postz' + (j + Number(1))].hp -= dmg2; if (_root.hud.overlay['postz' + (j + Number(1))].hp <= 0) { _root.hud.overlay['postz' + (j + Number(1))].hp = 0; _root.hud.overlay['postz' + (j + Number(1))].unit[_root.hud.overlay['postz' + (j + Number(1))].jednotka].gotoAndPlay('dead'); _root.odmena(_root.hud.overlay['postz' + (j + Number(1))].jednotka); _root.zvuk('dead', _root.hud.overlay['postz' + (j + Number(1))].jednotka); k = 1; while (k <= 6) { if (_root.hud.overlay['post' + k].jednotka == 'hero') { _root['post' + k].xp += Number(1); if (_root['post' + k].xp >= _root['post' + k].xpm) { _root['post' + k].xp = 0; _root['post' + k].lvl += Number(1); _root['post' + k].xpm = Number(_root['post' + k].lvl) * 8; _root['post' + k].hpm += Number(10); _root['post' + k].hp += Number(10); _root['post' + k].dmg += Number(1); _root.hud.overlay['post' + k].unit.lvlup.gotoAndPlay(2); _root.hud.rank.gotoAndStop(_root['post' + k].lvl); _root.zvuk('fight', 'lvlup'); } } ++k; } } } } else { if (_root.hud.overlay['postz' + (j - Number(1))].jednotka != 'none' and _root.hud.overlay['postz' + (j - Number(1))].hp > 0 and _root.hud.overlay['postz' + (j - Number(1))].jednotka != 'mutalisk' and _root.hud.overlay['postz' + j].invis != true) { if (_root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + (j - Number(1))].armor <= 0) { dmg2 = 1; } else { dmg2 = _root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + (j - Number(1))].armor; } _root.hud.overlay['postz' + (j - Number(1))].hp -= dmg2; if (_root.hud.overlay['postz' + (j - Number(1))].hp <= 0) { _root.hud.overlay['postz' + (j - Number(1))].hp = 0; _root.hud.overlay['postz' + (j - Number(1))].unit[_root.hud.overlay['postz' + (j - Number(1))].jednotka].gotoAndPlay('dead'); _root.odmena(_root.hud.overlay['postz' + (j - Number(1))].jednotka); _root.zvuk('dead', _root.hud.overlay['postz' + (j - Number(1))].jednotka); k = 1; while (k <= 6) { if (_root.hud.overlay['post' + k].jednotka == 'hero') { _root['post' + k].xp += Number(1); if (_root['post' + k].xp >= _root['post' + k].xpm) { _root['post' + k].xp = 0; _root['post' + k].lvl += Number(1); _root['post' + k].xpm = Number(_root['post' + k].lvl) * 8; _root['post' + k].hpm += Number(10); _root['post' + k].hp += Number(10); _root['post' + k].dmg += Number(1); _root.hud.overlay['post' + k].unit.lvlup.gotoAndPlay(2); _root.hud.rank.gotoAndStop(_root['post' + k].lvl); _root.zvuk('fight', 'lvlup'); } } ++k; } } } } } if (_root.hud.overlay['postz' + j].hp <= 0) { _root.hud.overlay['postz' + j].hp = 0; _root.hud.overlay['postz' + j].unit[_root.hud.overlay['postz' + j].jednotka].gotoAndPlay('dead'); _root.odmena(_root.hud.overlay['postz' + j].jednotka); _root.zvuk('dead', _root.hud.overlay['postz' + j].jednotka); k = 1; while (k <= 6) { if (_root.hud.overlay['post' + k].jednotka == 'hero') { _root['post' + k].xp += Number(1); if (_root['post' + k].xp >= _root['post' + k].xpm) { _root['post' + k].xp = 0; _root['post' + k].lvl += Number(1); _root['post' + k].xpm = Number(_root['post' + k].lvl) * 8; _root['post' + k].hpm += Number(10); _root['post' + k].hp += Number(10); _root['post' + k].dmg += Number(1); _root.hud.overlay['post' + k].unit.lvlup.gotoAndPlay(2); _root.hud.rank.gotoAndStop(_root['post' + k].lvl); _root.zvuk('fight', 'lvlup'); } } ++k; } } break; } ++j; } } } } } win = true; i = 1; while (i <= 6) { if (_root.hud.overlay['postz' + i].hp < 10000 and _root.hud.overlay['postz' + i].unit[_root.hud.overlay['postz' + i].jednotka]._currentframe < _root.hud.overlay['postz' + i].unit[_root.hud.overlay['postz' + i].jednotka]._totalframes) { win = false; break; } if (_root.hud.overlay['post' + i].unit.lvlup._currentframe > 1) { win = false; break; } ++i; } if (hero_dead) { _root.fight_loose(); } if (win) { _root.fight_win(); } } function fight_win() { mam_medica = false; k = 1; while (k <= 6) { if (_root['post' + k].jednotka == 'medic') { mam_medica = true; break; } ++k; } if (mam_medica) { l = 1; while (l <= 6) { if (_root['post' + l].jednotka != 'tank' and _root['post' + l].jednotka != 'goliat') { _root['post' + l].hp = _root['post' + l].hpm; _root.hud.overlay['post' + l].hp = _root['post' + l].hpm; } ++l; } } else { l = 1; while (l <= 6) { if (_root['post' + l].jednotka != 'tank' and _root['post' + l].jednotka != 'goliat') { _root['post' + l].hp = _root.hud.overlay['post' + l].hp; } ++l; } } if (mam_scv) { l = 1; while (l <= 6) { if (_root['post' + l].jednotka == 'tank' or _root['post' + l].jednotka == 'goliat') { _root['post' + l].hp = _root['post' + l].hpm; _root.hud.overlay['post' + l].hp = _root['post' + l].hpm; } ++l; } } else { m = 1; while (m <= 6) { if (_root['post' + m].jednotka == 'tank' or _root['post' + l].jednotka != 'goliat') { _root['post' + m].hp = _root.hud.overlay['post' + m].hp; } ++m; } } _root.hud.overlay.gotoAndStop('none'); _root.infight = false; if (select_lock) { _root.hud.gotoAndPlay('hero'); _root.hud.select = 'hero'; _root.hud.anim.gotoAndPlay('select'); } else { _root.hud.select = 'none'; } _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targetin = false; _root.map.hero.anim = 1; _root.cursor('normal'); _root.zvuk('fight', 'win_sound'); _root.savegame('autosave'); } function fight_loose() { _root.hud.overlay.gotoAndStop('loose'); _root.cursor('normal'); } function kill(koho) { if (_root[koho].jednotka == 'tank') { _root.supplya -= 3; } else { if (_root[koho].jednotka == 'goliat') { _root.supplya -= 2; } else { _root.supplya -= 1; } } _root[koho].jednotka = 'none'; _root[koho].hp = Number(0); _root[koho].hpm = Number(0); _root[koho].sp = Number(0); _root[koho].spm = Number(0); _root[koho].mp = Number(0); _root[koho].mpm = Number(0); _root[koho].dmg = Number(0); _root[koho].armor = Number(0); _root[koho].special = 'none'; _root[koho].spd = 0; _root[koho].spdm = 0; _root.supply = supplya + ' / ' + supplym; } function zvuk(druh, unit) { if (zvuky) { if (druh == 'dead') { if (unit == 'marine') { _root.marineDeath.start(0, 1); } if (unit == 'hero') { _root.marineDeath.start(0, 1); } if (unit == 'firebat') { _root.firebatDeath.start(0, 1); } if (unit == 'medic') { _root.medicDeath.start(0, 1); } if (unit == 'tank') { _root.tankBoom.start(0, 1); } if (unit == 'ghost') { _root.ghostDead.start(0, 1); } if (unit == 'zergling') { _root.zerglingDeath.start(0, 1); } if (unit == 'hydralisk') { _root.hydraliskDeath.start(0, 1); } if (unit == 'ultralisk') { _root.ultraDead.start(0, 1); } if (unit == 'boss1') { _root.boss1D.start(0, 1); } if (unit == 'boss1e') { _root.boss1E.start(0, 1); } if (unit == 'boss1f') { _root.boss1F.start(0, 1); } } if (druh == 'fire') { if (unit == 'marine') { _root.marineFire2.start(0, 1); } if (unit == 'hero') { _root.marineFire1.start(0, 1); } if (unit == 'firebat') { if (random(2) == 1) { _root.firebatFire1.start(0, 1); } else { _root.firebatFire2.start(0, 1); } } if (unit == 'medic') { _root.medicHeal.start(0, 1); } if (unit == 'tank') { _root.tankFire.start(0, 1); } if (unit == 'tankboom') { _root.tankBoom.start(0, 1); } if (unit == 'ghost') { _root.ghostFire.start(0, 1); } if (unit == 'zergling') { _root.zerglingFire.start(0, 1); } if (unit == 'hydralisk') { _root.hydraFire.start(0, 1); } if (unit == 'mutalisk') { _root.mutaFire.start(0, 1); } if (unit == 'ultralisk') { _root.ultraFire.start(0, 1); } if (unit == 'boss1') { if (random(2) == 1) { _root.boss1A1.start(0, 1); _root.boss1A1.start(0, 1); _root.boss1A1.start(0, 1); } else { _root.boss1A2.start(0, 1); _root.boss1A2.start(0, 1); _root.boss1A2.start(0, 1); } } } if (druh == 'fight') { if (unit == 'fight_start') { _root.fight_start.start(0, 1); } if (unit == 'win_sound') { _root.win_sound.start(0, 1); } if (unit == 'lvlup') { _root.lvlup.start(0, 1); } if (unit == 'cloak') { _root.cloak.start(0, 1); } if (unit == 'nuke') { _root.nuke.start(0, 1); } } if (druh == 'nature') { if (unit == 'up') { _root.up.start(0, 1); } if (unit == 'down') { _root.down.start(0, 1); } if (unit == 'button') { _root.button.start(0, 1); } if (unit == 'tankpack') { _root.tankpack.start(0, 1); } if (unit == 'tankunpack') { _root.tankunpack.start(0, 1); } if (unit == 'buzz') { _root.buzz.start(0, 1); } } } } function odmena(za) { if (za == 'zergling') { _root.ore += Number(4); _root.gas += Number(3); } if (za == 'hydralisk') { _root.ore += Number(8); _root.gas += Number(6); } if (za == 'mutalisk') { _root.ore += Number(12); _root.gas += Number(12); } if (za == 'ultralisk') { _root.ore += Number(20); _root.gas += Number(16); } if (za == 'lurker') { _root.ore += Number(16); _root.gas += Number(20); } if (za == 'boss1') { _root.ore += Number(1000); _root.gas += Number(1000); } } function invis(koho) { if (_root.hud.overlay[koho].mp >= 25 and _root.hud.overlay[koho].jednotka == 'ghost') { _root.hud.overlay[koho].invis = true; _root.hud.overlay[koho].unit.ghost.cloak._visible = true; _root.hud.overlay['post' + i].mp -= 25; _root.zvuk('fight', 'cloak'); } } function vis(koho) { _root.hud.overlay[koho].invis = undefined; _root.hud.overlay[koho].unit.ghost.cloak._visible = false; } Mouse.hide(); targeting = false; targetin = false; bojova_lokacia = false; infight = false; zvuky = true; hudba = false; _root.swap_unit_1 = ''; _root.swap_unit_2 = ''; hero_dead = false; letim = false; boss = false; naburani = 0; difficulty = 'medium'; var marine_rdy1 = new Sound(); marine_rdy1.attachSound('sound_marine_rdy1'); var marine_rdy2 = new Sound(); marine_rdy2.attachSound('sound_marine_rdy2'); var marine_rdy3 = new Sound(); marine_rdy3.attachSound('sound_marine_rdy3'); var marine_rdy4 = new Sound(); marine_rdy4.attachSound('sound_marine_rdy4'); var marine_go1 = new Sound(); marine_go1.attachSound('sound_marine_go1'); var marine_go2 = new Sound(); marine_go2.attachSound('sound_marine_go2'); var marine_go3 = new Sound(); marine_go3.attachSound('sound_marine_go3'); var marine_go4 = new Sound(); marine_go4.attachSound('sound_marine_go4'); var firebatDeath = new Sound(); firebatDeath.attachSound('firebatDeath'); var firebatFire1 = new Sound(); firebatFire1.attachSound('firebatFire1'); var firebatFire2 = new Sound(); firebatFire2.attachSound('firebatFire2'); var medicDeath = new Sound(); medicDeath.attachSound('medicDeath'); var medicHeal = new Sound(); medicHeal.attachSound('medicHeal'); var marineDeath = new Sound(); marineDeath.attachSound('marineDeath'); var marineFire1 = new Sound(); marineFire1.attachSound('marineFire1'); var marineFire2 = new Sound(); marineFire2.attachSound('marineFire2'); var zerglingDeath = new Sound(); zerglingDeath.attachSound('zerglingDeath'); var tankFire = new Sound(); tankFire.attachSound('tankfire'); var tankBoom = new Sound(); tankBoom.attachSound('tankboom'); var hydraFire = new Sound(); hydraFire.attachSound('hydrafire'); var ghostFire = new Sound(); ghostFire.attachSound('ghostfire'); var mutaFire = new Sound(); mutaFire.attachSound('mutafire'); var ultraFire = new Sound(); ultraFire.attachSound('ultrafire'); var ghostDead = new Sound(); ghostDead.attachSound('ghostDead'); var ultraDead = new Sound(); ultraDead.attachSound('ultraDead'); var cloak = new Sound(); cloak.attachSound('cloak'); var nuke = new Sound(); nuke.attachSound('nuke'); var boss1A1 = new Sound(); boss1A1.attachSound('boss1A1'); var boss1A2 = new Sound(); boss1A2.attachSound('boss1A2'); var boss1D = new Sound(); boss1D.attachSound('boss1D'); var boss1E = new Sound(); boss1E.attachSound('boss1E'); var boss1F = new Sound(); boss1F.attachSound('boss1F'); var fight_start = new Sound(); fight_start.attachSound('fight_start'); var button = new Sound(); button.attachSound('button'); var down = new Sound(); down.attachSound('down'); var buzz = new Sound(); buzz.attachSound('buzz'); var lvlup = new Sound(); lvlup.attachSound('lvlup'); var up = new Sound(); up.attachSound('up'); var win_sound = new Sound(); win_sound.attachSound('win_sound'); var tankbuy = new Sound(); tankbuy.attachSound('tankbuy'); var tankpack = new Sound(); tankpack.attachSound('tankpack'); var tankunpack = new Sound(); tankunpack.attachSound('tankunpack'); } frame 1 { function savegame(aky) { if (aky == 'autosave') { save = SharedObject.getLocal('autosave'); } if (aky == '1') { save = SharedObject.getLocal('save1'); } if (aky == '2') { save = SharedObject.getLocal('save2'); } if (aky == '3') { save = SharedObject.getLocal('save3'); } save.data.ore = ore; save.data.gas = gas; save.data.supplya = supplya; save.data.supplym = supplym; save.data.zvuky = zvuky; save.data.hudba = hudba; save.data.quest1 = quest1; save.data.quest2 = quest2; save.data.quest3 = quest3; save.data.quest4 = quest4; save.data.quest5 = quest5; save.data.quest6 = quest6; save.data.quest7 = quest7; save.data.siegemode = siegemode; save.data.boompost6x = boompost6x; save.data.boompost6y = boompost6y; save.data.boompost5x = boompost5x; save.data.boompost5y = boompost5y; save.data.mam_scv = mam_scv; save.data.mam_supply = mam_supply; save.data.select_lock = select_lock; save.data.mam_u238 = _root.mam_u238; save.data.mam_heal = _root.mam_heal; save.data.mam_stimpack = _root.mam_stimpack; save.data.infantry_dmg = _root.infantry_dmg; save.data.infantry_armor = _root.infantry_armor; save.data.vehicle_dmg = _root.vehicle_dmg; save.data.vehicle_armor = _root.vehicle_armor; save.data.mam_atom = mam_atom; save.data.mam_nuclear = mam_nuclear; save.data.mam_emp = mam_emp; save.data.mam_matrix = mam_matrix; save.data.mam_radar = mam_radar; save.data.mam_cloak = mam_cloak; save.data.mam_covert = mam_covert; save.data.mam_vessel = mam_vessel; save.data.mam_crystal = mam_crystal; save.data.mam_banshee = mam_banshee; save.data.mam_phoenix = mam_phoenix; save.data.post1_jednotka = _root.post1.jednotka; save.data.post2_jednotka = _root.post2.jednotka; save.data.post3_jednotka = _root.post3.jednotka; save.data.post4_jednotka = _root.post4.jednotka; save.data.post5_jednotka = _root.post5.jednotka; save.data.post6_jednotka = _root.post6.jednotka; save.data.post1_hpm = _root.post1.hpm; save.data.post2_hpm = _root.post2.hpm; save.data.post3_hpm = _root.post3.hpm; save.data.post4_hpm = _root.post4.hpm; save.data.post5_hpm = _root.post5.hpm; save.data.post6_hpm = _root.post6.hpm; save.data.post1_hp = _root.post1.hp; save.data.post2_hp = _root.post2.hp; save.data.post3_hp = _root.post3.hp; save.data.post4_hp = _root.post4.hp; save.data.post5_hp = _root.post5.hp; save.data.post6_hp = _root.post6.hp; save.data.post1_mpm = _root.post1.mpm; save.data.post2_mpm = _root.post2.mpm; save.data.post3_mpm = _root.post3.mpm; save.data.post4_mpm = _root.post4.mpm; save.data.post5_mpm = _root.post5.mpm; save.data.post6_mpm = _root.post6.mpm; save.data.post1_mp = _root.post1.mp; save.data.post2_mp = _root.post2.mp; save.data.post3_mp = _root.post3.mp; save.data.post4_mp = _root.post4.mp; save.data.post5_mp = _root.post5.mp; save.data.post6_mp = _root.post6.mp; save.data.post1_dmg = _root.post1.dmg; save.data.post2_dmg = _root.post2.dmg; save.data.post3_dmg = _root.post3.dmg; save.data.post4_dmg = _root.post4.dmg; save.data.post5_dmg = _root.post5.dmg; save.data.post6_dmg = _root.post6.dmg; save.data.post1_armor = _root.post1.armor; save.data.post2_armor = _root.post2.armor; save.data.post3_armor = _root.post3.armor; save.data.post4_armor = _root.post4.armor; save.data.post5_armor = _root.post5.armor; save.data.post6_armor = _root.post6.armor; save.data.post1_spd = _root.post1.spd; save.data.post2_spd = _root.post2.spd; save.data.post3_spd = _root.post3.spd; save.data.post4_spd = _root.post4.spd; save.data.post5_spd = _root.post5.spd; save.data.post6_spd = _root.post6.spd; save.data.post1_spdm = _root.post1.spdm; save.data.post2_spdm = _root.post2.spdm; save.data.post3_spdm = _root.post3.spdm; save.data.post4_spdm = _root.post4.spdm; save.data.post5_spdm = _root.post5.spdm; save.data.post6_spdm = _root.post6.spdm; save.data.post1_lvl = _root.post1.lvl; save.data.post2_lvl = _root.post2.lvl; save.data.post3_lvl = _root.post3.lvl; save.data.post4_lvl = _root.post4.lvl; save.data.post5_lvl = _root.post5.lvl; save.data.post6_lvl = _root.post6.lvl; save.data.post1_xp = _root.post1.xp; save.data.post2_xp = _root.post2.xp; save.data.post3_xp = _root.post3.xp; save.data.post4_xp = _root.post4.xp; save.data.post5_xp = _root.post5.xp; save.data.post6_xp = _root.post6.xp; save.data.post1_xpm = _root.post1.xpm; save.data.post2_xpm = _root.post2.xpm; save.data.post3_xpm = _root.post3.xpm; save.data.post4_xpm = _root.post4.xpm; save.data.post5_xpm = _root.post5.xpm; save.data.post6_xpm = _root.post6.xpm; save.data.post1_special = _root.post1.special; save.data.post2_special = _root.post2.special; save.data.post3_special = _root.post3.special; save.data.post4_special = _root.post4.special; save.data.post5_special = _root.post5.special; save.data.post6_special = _root.post6.special; save.flush(); } stop(); } frame 1 { function defaultsquad() { ore = Number(130); gas = Number(35); supplya = Number(1); supplym = Number(6); supply = supplya + ' / ' + supplym; quest1 = 1; quest2 = 1; quest3 = 1; quest4 = 1; quest5 = 1; quest6 = 1; quest7 = 1; siegemode = false; boompost6x = 106; boompost6y = 172; boompost5x = 225; boompost5y = 172; mam_scv = false; mam_supply = false; select_lock = false; mam_u238 = false; mam_heal = false; mam_stimpack = false; infantry_dmg = Number(0); infantry_armor = Number(0); vehicle_dmg = Number(0); vehicle_armor = Number(0); mam_atom = false; mam_nuclear = false; mam_emp = false; mam_matrix = false; mam_radar = false; mam_cloak = false; mam_covert = false; mam_vessel = false; mam_crystal = false; mam_banshee = false; mam_phoenix = false; post1.jednotka = 'none'; post1.hp = Number(0); post1.hpm = Number(0); post1.sp = Number(0); post1.spm = Number(0); post1.mp = Number(0); post1.mpm = Number(0); post1.dmg = Number(0); post1.armor = Number(0); post1.special = 'none'; post1.spd = 0; post1.spdm = 0; post2.jednotka = 'none'; post2.hp = Number(0); post2.hpm = Number(0); post2.sp = Number(0); post2.spm = Number(0); post2.mp = Number(0); post2.mpm = Number(0); post2.dmg = Number(0); post2.armor = Number(0); post2.special = 'none'; post2.spd = 0; post2.spdm = 0; post3.jednotka = 'none'; post3.hp = Number(0); post3.hpm = Number(0); post3.sp = Number(0); post3.spm = Number(0); post3.mp = Number(0); post3.mpm = Number(0); post3.dmg = Number(0); post3.armor = Number(0); post3.special = 'none'; post3.spd = 0; post3.spdm = 0; post4.jednotka = 'none'; post4.hp = Number(0); post4.hpm = Number(0); post4.sp = Number(0); post4.spm = Number(0); post4.mp = Number(0); post4.mpm = Number(0); post4.dmg = Number(0); post4.armor = Number(0); post4.special = 'none'; post4.spd = 0; post4.spdm = 0; post5.jednotka = 'none'; post5.hp = Number(0); post5.hpm = Number(0); post5.sp = Number(0); post5.spm = Number(0); post5.mp = Number(0); post5.mpm = Number(0); post5.dmg = Number(0); post5.armor = Number(0); post5.special = 'none'; post5.spd = 0; post5.spdm = 0; post6.jednotka = 'none'; post6.hp = Number(0); post6.hpm = Number(0); post6.sp = Number(0); post6.spm = Number(0); post6.mp = Number(0); post6.mpm = Number(0); post6.dmg = Number(0); post6.armor = Number(0); post6.special = 'none'; post6.spd = 0; post6.spdm = 0; _root.buyunit('jim', 6); _root.infantry_dmg_cost = 100 + Number(50 * _root.infantry_dmg); _root.infantry_armor_cost = 100 + Number(50 * _root.infantry_armor); _root.vehicle_dmg_cost = 150 + Number(50 * _root.vehicle_dmg); _root.vehicle_armor_cost = 150 + Number(50 * _root.vehicle_armor); } function quest(meno, portrait, kto, rank, info, txt) { _root.active_quest = meno; _root.talk_name = kto; _root.talk_rank = rank; _root.talk_info = info; _root.talk_txt = txt; _root.talk_portrait = portrait; _root.hud.overlay.gotoAndStop('talk'); _root.map.hero.herostop(); _root.pohni_s5(); } function rescue(koho) { i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'none') { _root.buyunit('ghost_free', i); break; } ++i; } } news = '-fixed quest\n-fixed ghost\n-fixed factory\n-difficulty: changes enemy strenght\n-balance changes\n-quest updated\n-added boss\n-reworked wall hitting\n-fly / land button\n-added banshee\n-fixed medic\n-flahs menu disabled\n-surrender button\n-minimal damage per attack is 1\n-fixed mutalisk attack\n-different enemys in different areas\n-victory screen\n-goliat\n-nuclear bomb\n-EMP shockwave\n-Defensive Matrix\n-science vessel\n-lurker\n-cloak for ghost\n-added control crystal\n-zerg attack sounds\n-medic can\'t heal herself\n-radar,-80% random fights\n-added upgrades to lab\n-added laboratory\n-starbase\n-cosmetic changes\n-medic heal most wounded\n-npc talk/quest\n-fixed location change bug - need testing\n-removed screen border\n-added ad. for NG\n-changed title to starcraft flash rpg\n-unit info for tank & ghost\n-unit info shows upgrades\n-upgrade costs improved\n-sounds on/off\n-music\n-new location:Disco bar\n-overall balance\n-resources exchange\n-new location: zerg spawning camp\n-improved kill reward\n-improved selectlock\n-ghost\n-upgrades\n-ultralisk\n-mutalisk\n-neutral scvs\n-supply depot\n-scv\n-autosave + 3 slots\n-upgrade: siege mode\n-siege tank\n-tank\n-save / load\n-selection lock\n-removed login\n-neutral marines\n-few sounds\n-mining camp map\n-hydralisk\n-firebat\n-world map\n-exp & lvl-up\n-intro\n-medic\n-first battle\n-zergling\n-swap/del units\n-redone barracks\n-rooster\n-nature1 map\n-upgraded barracks \n-added news,login\n-town map\n-marine\n-beginng'; bugs = '-map marker\n-enemy upgrades / testing\n-difficulty variants / testing\n-boss neutral\n-unit hit effects\n-hydralisk attack anim\n-tutorial\n-disco pub dancers\n-wallhack / testing'; defaultsquad(); } movieClip 215 { } instance of movieClip 215 { onClipEvent (enterFrame) { l = _root.getBytesLoaded(); t = _root.getBytesTotal(); loading_txt = Math.round((l / t) * 100); gotoAndStop(Math.round(loading_txt / 5) + 1); loadingtxt = loading_txt + ' %'; if (Math.round(loading_txt) >= 1 and Math.round(loading_txt) < 15) { loadingtxt2 = 'Textures'; } if (Math.round(loading_txt) == 15) { loadingtxt2 = 'Sounds'; } if (Math.round(loading_txt) == 25) { loadingtxt2 = 'User Interface'; } if (Math.round(loading_txt) == 30) { loadingtxt2 = 'Units'; } if (Math.round(loading_txt) == 40) { loadingtxt2 = 'NPC'; } if (Math.round(loading_txt) == 50) { loadingtxt2 = 'Hero'; } if (Math.round(loading_txt) == 60) { loadingtxt2 = 'Barracks,shops etc'; } if (Math.round(loading_txt) == 70) { loadingtxt2 = 'Functions'; } if (Math.round(loading_txt) == 85) { loadingtxt2 = 'Triggers'; } if (Math.round(loading_txt) == 95) { loadingtxt2 = 'Almost done'; } if (Math.round(loading_txt) == 99) { loadingtxt2 = 'Done'; } if (Math.round(loading_txt) == 100) { loadingtxt2 = ''; } if (l >= t) { _root.gotoAndPlay(2); } } } movieClip 232 { } movieClip 234 { } movieClip 263 { } movieClip 268 { } movieClip 269 { instance hit of movieClip 234 { onClipEvent (load) { _visible = false; } } frame 9 { gotoAndPlay(_currentframe - 5); } frame 19 { gotoAndPlay(_currentframe - 5); } frame 28 { gotoAndPlay(_currentframe - 5); } } instance kurzor of movieClip 269 { onClipEvent (enterFrame) { _x = _root._xmouse - 63; _y = _root._ymouse - 63; if (_root.targetin) { _root.map.herotarget._x = _root.map._xmouse; _root.map.herotarget._y = _root.map._ymouse; } } } movieClip 274 { } movieClip 276 { } movieClip 278 { } movieClip 293 { frame 1 { stop(); } frame 7 { gotoAndPlay(2); } } movieClip 297 { frame 1 { stop(); } frame 9 { gotoAndStop(1); } } movieClip 337 { frame 1 { stop(); } frame 69 { gotoAndStop(1); } } movieClip 348 { frame 1 { stop(); } frame 7 { gotoAndPlay(2); } } movieClip 350 { } movieClip 373 { frame 1 { stop(); } frame 7 { gotoAndPlay('stop'); } frame 52 { if (_root.hero_dead) { _root.fight_loose(); } stop(); } } movieClip 400 { frame 1 { stop(); } frame 8 { gotoAndStop('stop'); } frame 9 { play(); } frame 10 { play(); } frame 11 { play(); } frame 12 { play(); } frame 13 { play(); } frame 14 { play(); } frame 77 { stop(); } } movieClip 425 { frame 1 { stop(); } frame 14 { gotoAndStop('stop'); } frame 34 { stop(); } } movieClip 468 { frame 11 { stop(); } } movieClip 469 { frame 1 { stop(); } frame 13 { gotoAndStop('stop'); } frame 25 { stop(); } } movieClip 498 { frame 1 { stop(); } frame 8 { gotoAndStop('stop'); } frame 9 { play(); } frame 10 { play(); } frame 11 { play(); } frame 76 { stop(); } } movieClip 529 { frame 1 { stop(); } frame 28 { gotoAndStop('stop'); } frame 90 { stop(); } } movieClip 607 { frame 1 { stop(); } frame 9 { stop(); } frame 24 { if (_parent.special == 'normal') { gotoAndPlay('attack1'); } if (_parent.special == 'siege') { gotoAndPlay('attack2'); } } frame 42 { gotoAndStop('stop'); } frame 50 { gotoAndStop('stop2'); } frame 88 { gotoAndStop('stop2'); } frame 118 { gotoAndStop('stop'); } frame 165 { stop(); } } movieClip 638 { } movieClip 657 { frame 40 { stop(); } } movieClip 658 { frame 11 { gotoAndPlay('stop'); } frame 26 { gotoAndPlay('stop'); } frame 68 { stop(); } } movieClip 664 { frame 16 { stop(); } } movieClip 687 { instance cloak of movieClip 664 { onClipEvent (load) { _visible = false; } } frame 7 { gotoAndPlay(1); } frame 19 { gotoAndPlay('stop'); } frame 72 { stop(); } } movieClip 690 { } movieClip 709 { frame 1 { stop(); } instance of movieClip 690 { onClipEvent (load) { if (_root.mam_vessel) { _visible = true; } else { _visible = false; this._parent._parent._parent.invis = true; } } } frame 17 { gotoAndStop('stop'); } frame 92 { stop(); } } movieClip 717 { frame 1 { stop(); } frame 18 { gotoAndStop(1); } frame 76 { stop(); } } movieClip 820 { frame 1 { stop(); } frame 17 { gotoAndPlay('boom'); } frame 18 { play(); } frame 19 { play(); } frame 20 { play(); } frame 21 { play(); } frame 30 { gotoAndPlay('blood1'); } frame 43 { gotoAndPlay('blood2'); } frame 55 { gotoAndPlay('blood3'); } } movieClip 826 { } movieClip 827 { frame 1 { stop(); } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 3500 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood3'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 4000 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood3'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 2000 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood1'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 4250 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood2'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 2500 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood1'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 3750 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood2'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 2750 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood1'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 3000 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood2'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 4500 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood3'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 500 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('boom'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 1500 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('boom'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 1750 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood1'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 1000 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('boom'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { tecie = false; } if (_root.bosshp < 3000 and tecie == false) { tecie = true; gotoAndPlay('blood3'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 2150 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('blood2'); } } } instance of movieClip 820 { onClipEvent (enterFrame) { if (_root.bosshp > 5000) { _visible = false; tecie = false; } if (_root.bosshp < 750 and tecie == false) { tecie = true; _visible = true; gotoAndPlay('boom'); } } } frame 30 { gotoAndStop('stop'); } frame 53 { _root.zvuk('dead', 'boss1e'); _root.zvuk('dead', 'boss1f'); _root.zvuk('dead', 'boss1e'); _root.zvuk('dead', 'boss1e'); } frame 79 { _root.zvuk('dead', 'boss1f'); _root.zvuk('dead', 'boss1e'); _root.zvuk('dead', 'boss1f'); _root.zvuk('dead', 'boss1f'); } frame 154 { stop(); } } movieClip 828 { frame 1 { stop(); } } movieClip 829 { frame 1 { stop(); } instance mpbar of movieClip 274 { onClipEvent (enterFrame) { _width = (_parent.mp / _parent.mpm) * 40; } } instance spbar of movieClip 276 { onClipEvent (enterFrame) { _width = (_parent.sp / _parent.spm) * 40; } } instance hpbar of movieClip 278 { onClipEvent (enterFrame) { _width = (_parent.hp / _parent.hpm) * 40; } } } instance post4 of movieClip 829 { onClipEvent (enterFrame) { if (jednotka == 'hero') { _root.hero_exptxt = 'exp ' + xp + ' / ' + xpm; _root.hero_lvltxt = lvl; _root.hero_hptxt = hp + ' / ' + hpm; _root.hero_dmgtxt = dmg; _root.hero_armortxt = armor; } } } instance post1 of movieClip 829 { onClipEvent (enterFrame) { if (jednotka == 'hero') { _root.hero_exptxt = 'exp ' + xp + ' / ' + xpm; _root.hero_lvltxt = lvl; _root.hero_hptxt = hp + ' / ' + hpm; _root.hero_dmgtxt = dmg; _root.hero_armortxt = armor; } } } instance post2 of movieClip 829 { onClipEvent (enterFrame) { if (jednotka == 'hero') { _root.hero_exptxt = 'exp ' + xp + ' / ' + xpm; _root.hero_lvltxt = lvl; _root.hero_hptxt = hp + ' / ' + hpm; _root.hero_dmgtxt = dmg; _root.hero_armortxt = armor; } } } instance post5 of movieClip 829 { onClipEvent (enterFrame) { if (jednotka == 'hero') { _root.hero_exptxt = 'exp ' + xp + ' / ' + xpm; _root.hero_lvltxt = lvl; _root.hero_hptxt = hp + ' / ' + hpm; _root.hero_dmgtxt = dmg; _root.hero_armortxt = armor; } } } instance post6 of movieClip 829 { onClipEvent (enterFrame) { if (jednotka == 'hero') { _root.hero_exptxt = 'exp ' + xp + ' / ' + xpm; _root.hero_lvltxt = lvl; _root.hero_hptxt = hp + ' / ' + hpm; _root.hero_dmgtxt = dmg; _root.hero_armortxt = armor; } } } instance post3 of movieClip 829 { onClipEvent (enterFrame) { if (jednotka == 'hero') { _root.hero_exptxt = 'exp ' + xp + ' / ' + xpm; _root.hero_lvltxt = lvl; _root.hero_hptxt = hp + ' / ' + hpm; _root.hero_dmgtxt = dmg; _root.hero_armortxt = armor; } } } movieClip 43 __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.126'; 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 44 __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.126'; 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 45 __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 46 __Packages.mx.controls.UIScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.UIScrollBar) { var v1 = function () { super(); }; mx.controls.UIScrollBar = v1; var v2 = new mx.controls.scrollClasses.ScrollBar(); mx.controls.UIScrollBar.prototype = v2; v2.init = function (Void) { super.init(); this.textField.owner = this; this.__set__horizontal(this.wasHorizontal); if (this.__get__horizontal()) { (this.textField != undefined) ? super.setSize(this.textField._width, 16) : super.setSize(this.__width, this.__height); } else { (this.textField != undefined) ? super.setSize(16, this.textField._height) : super.setSize(this.__width, this.__height); } if (this.__get__horizontal()) { var v3 = this.__width; this.__height = this.__width; this.width = v3; this.__width = 16; } this.textField.onScroller = function () { this.hPosition = this.hscroll; this.vPosition = this.scroll - 1; }; if (this.__get___targetInstanceName() != undefined) { this.setScrollTarget(this.__get___targetInstanceName()); (this.__get___targetInstanceName()).addListener(this); } }; v2.__get___targetInstanceName = function () { return this.textField; }; v2.__get__height = function () { if (this.wasHorizontal) { return this.__width; } else { return this.__height; } }; v2.__get__width = function () { if (this.wasHorizontal) { return this.__height; } else { return this.__width; } }; v2.size = function (Void) { super.size(); this.onTextChanged(); }; v2.draw = function () { super.draw(); }; v2.__set___targetInstanceName = function (t) { if (t == undefined) { this.textField.removeListener(this); delete this.textField[this.__get__horizontal() ? 'hScroller' : 'vScroller']; if (this.textField.hScroller != undefined && this.textField.vScroller != undefined) { this.textField.unwatch('text'); this.textField.unwatch('htmltext'); } } var v3 = this._parent[t]; this.textField = this._parent[t]; this.onTextChanged(); return this.__get___targetInstanceName(); }; v2.setSize = function (w, h) { if (this.__get__horizontal()) { super.setSize(h, w); } else { super.setSize(w, h); } }; v2.onTextChanged = function (Void) { if (this.textField == undefined) { return undefined; } clearInterval(this.synchScroll); if (this.__get__horizontal()) { var v2 = this.textField.hscroll; this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll); this.__set__scrollPosition(Math.min(v2, this.textField.maxhscroll)); } else { var v2 = this.textField.scroll; var v3 = this.textField.bottomScroll - this.textField.scroll; this.setScrollProperties(v3, 1, this.textField.maxscroll); this.__set__scrollPosition(Math.min(v2, this.textField.maxscroll)); } }; v2.__get__horizontal = function () { return this.wasHorizontal; }; v2.__set__horizontal = function (v) { this.wasHorizontal = v; if (v and this.initializing) { if (this._rotation == 90) { return undefined; } this._xscale = -100; this._rotation = -90; } if (!this.initializing) { if (v) { if (this._rotation == 0) { this._rotation = -90; this._xscale = -100; } } else { if (this._rotation == -90) { this._rotation = 0; this._xscale = 100; } } } return this.__get__horizontal(); }; v2.callback = function (prop, oldval, newval) { clearInterval(this.hScroller.synchScroll); clearInterval(this.vScroller.synchScroll); this.hScroller.synchScroll = setInterval(this.hScroller, 'onTextChanged', 50); this.vScroller.synchScroll = setInterval(this.vScroller, 'onTextChanged', 50); return newval; }; v2.setScrollTarget = function (tF) { if (tF == undefined) { this.textField.removeListener(this); delete this.textField[this.__get__horizontal() ? 'hScroller' : 'vScroller']; if (this.textField.hScroller != undefined && this.textField.vScroller != undefined) { this.textField.unwatch('text'); this.textField.unwatch('htmltext'); } } this.textField = undefined; if (!(tF instanceof TextField)) { return undefined; } this.textField = tF; if (this.__get__horizontal()) { this.textField.hScroller = this; this.textField.hScroller.lineScrollSize = 5; } else { this.textField.vScroller = this; this.textField.vScroller.lineScrollSize = 1; } this.onTextChanged(); this.onChanged = function (Void) { this.onTextChanged(); }; this.onScroller = function (Void) { if (!this.isScrolling) { if (!this.horizontal) { this.scrollPosition = this.textField.scroll; } else { this.scrollPosition = this.textField.hscroll; } } }; this.textField.addListener(this); this.textField.watch('text', this.callback); this.textField.watch('htmlText', this.callback); }; v2.scrollHandler = function (Void) { if (this.__get__horizontal()) { var v2 = this.textField.background; this.textField.hscroll = this.scrollPosition; this.textField.background = v2; } else { this.textField.scroll = this.scrollPosition; } }; v2.setEnabled = function (enable) { super.setEnabled(enable); if (enable) { this.textField.addListener(this); } else { this.textField.removeListener(); } }; v2.dispatchScrollEvent = function (detail) { this.dispatchEvent({'type': 'scroll'}); }; v1.symbolName = 'UIScrollBar'; v1.symbolOwner = mx.controls.UIScrollBar; v2.className = 'UIScrollBar'; v2.clipParameters = {'_targetInstanceName': 1, 'horizontal': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.UIScrollBar.prototype.clipParameters); v1.version = '2.0.2.126'; v2.addProperty('_targetInstanceName', v2.__get___targetInstanceName, v2.__set___targetInstanceName); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('horizontal', v2.__get__horizontal, v2.__set__horizontal); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.controls.UIScrollBar.prototype, null, 1); } #endinitclip } movieClip 137 __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 138 __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 139 __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 140 __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 141 __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 142 __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.126'; 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 143 __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 144 __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.126'; 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 145 __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.126'; v2.className = 'VScrollBar'; v2.minusMode = 'Up'; v2.plusMode = 'Down'; v2.minMode = 'AtTop'; v2.maxMode = 'AtBottom'; ASSetPropFlags(mx.controls.VScrollBar.prototype, null, 1); } #endinitclip } movieClip 146 __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.126'; 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 147 __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 148 __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 149 __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 150 __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 151 __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 152 __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 153 __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 154 __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.126'; 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 155 __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 156 __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 157 __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 158 __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 159 __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.126'; 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 160 __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.126'; 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 161 __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 162 __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.126'; 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 } frame 2 { function loadgame(slot) { if (slot == '1') { save = SharedObject.getLocal('save1'); } if (slot == '2') { save = SharedObject.getLocal('save2'); } if (slot == '3') { save = SharedObject.getLocal('save3'); } if (slot == 'autosave') { save = SharedObject.getLocal('autosave'); } if (save.data.ore == null) { } else { ore = save.data.ore; gas = save.data.gas; supplya = save.data.supplya; supplym = save.data.supplym; zvuky = save.data.zvuky; hudba = save.data.hudba; quest1 = save.data.quest1; quest2 = save.data.quest2; quest3 = save.data.quest3; quest4 = save.data.quest4; quest5 = save.data.quest5; quest6 = save.data.quest6; quest7 = save.data.quest7; _root.supply = supplya + ' / ' + supplym; siegemode = save.data.siegemode; boompost6x = save.data.boompost6x; boompost6y = save.data.boompost6y; boompost5x = save.data.boompost5x; boompost5y = save.data.boompost5y; mam_scv = save.data.mam_scv; mam_supply = save.data.mam_supply; select_lock = save.data.select_lock; _root.mam_u238 = save.data.mam_u238; _root.mam_heal = save.data.mam_heal; _root.mam_stimpack = save.data.mam_stimpack; _root.infantry_dmg = save.data.infantry_dmg; _root.infantry_armor = save.data.infantry_armor; _root.vehicle_dmg = save.data.vehicle_dmg; _root.vehicle_armor = save.data.vehicle_armor; mam_atom = save.data.mam_atom; mam_nuclear = save.data.mam_nuclear; mam_emp = save.data.mam_emp; mam_matrix = save.data.mam_matrix; mam_radar = save.data.mam_radar; mam_cloak = save.data.mam_cloak; mam_covert = save.data.mam_covert; mam_vessel = save.data.mam_vessel; mam_crystal = save.data.mam_crystal; mam_banshee = save.data.mam_banshee; mam_phoenix = save.data.mam_phoenix; _root.post1.jednotka = save.data.post1_jednotka; _root.post2.jednotka = save.data.post2_jednotka; _root.post3.jednotka = save.data.post3_jednotka; _root.post4.jednotka = save.data.post4_jednotka; _root.post5.jednotka = save.data.post5_jednotka; _root.post6.jednotka = save.data.post6_jednotka; i = 1; while (i <= 6) { _root['post' + i].unit.gotoAndStop(_root['post' + i].jednotka); if (_root['post' + i].jednotka == 'hero') { _root['post' + i].unit.gotoAndStop('marine'); } ++i; } _root.post1.hpm = save.data.post1_hpm; _root.post2.hpm = save.data.post2_hpm; _root.post3.hpm = save.data.post3_hpm; _root.post4.hpm = save.data.post4_hpm; _root.post5.hpm = save.data.post5_hpm; _root.post6.hpm = save.data.post6_hpm; _root.post1.hp = save.data.post1_hp; _root.post2.hp = save.data.post2_hp; _root.post3.hp = save.data.post3_hp; _root.post4.hp = save.data.post4_hp; _root.post5.hp = save.data.post5_hp; _root.post6.hp = save.data.post6_hp; _root.post1.mpm = save.data.post1_mpm; _root.post2.mpm = save.data.post2_mpm; _root.post3.mpm = save.data.post3_mpm; _root.post4.mpm = save.data.post4_mpm; _root.post5.mpm = save.data.post5_mpm; _root.post6.mpm = save.data.post6_mpm; _root.post1.mp = save.data.post1_mp; _root.post2.mp = save.data.post2_mp; _root.post3.mp = save.data.post3_mp; _root.post4.mp = save.data.post4_mp; _root.post5.mp = save.data.post5_mp; _root.post6.mp = save.data.post6_mp; _root.post1.dmg = save.data.post1_dmg; _root.post2.dmg = save.data.post2_dmg; _root.post3.dmg = save.data.post3_dmg; _root.post4.dmg = save.data.post4_dmg; _root.post5.dmg = save.data.post5_dmg; _root.post6.dmg = save.data.post6_dmg; _root.post1.armor = save.data.post1_armor; _root.post2.armor = save.data.post2_armor; _root.post3.armor = save.data.post3_armor; _root.post4.armor = save.data.post4_armor; _root.post5.armor = save.data.post5_armor; _root.post6.armor = save.data.post6_armor; _root.post1.spd = save.data.post1_spd; _root.post2.spd = save.data.post2_spd; _root.post3.spd = save.data.post3_spd; _root.post4.spd = save.data.post4_spd; _root.post5.spd = save.data.post5_spd; _root.post6.spd = save.data.post6_spd; _root.post1.spdm = save.data.post1_spdm; _root.post2.spdm = save.data.post2_spdm; _root.post3.spdm = save.data.post3_spdm; _root.post4.spdm = save.data.post4_spdm; _root.post5.spdm = save.data.post5_spdm; _root.post6.spdm = save.data.post6_spdm; _root.post1.lvl = save.data.post1_lvl; _root.post2.lvl = save.data.post2_lvl; _root.post3.lvl = save.data.post3_lvl; _root.post4.lvl = save.data.post4_lvl; _root.post5.lvl = save.data.post5_lvl; _root.post6.lvl = save.data.post6_lvl; _root.post1.xp = save.data.post1_xp; _root.post2.xp = save.data.post2_xp; _root.post3.xp = save.data.post3_xp; _root.post4.xp = save.data.post4_xp; _root.post5.xp = save.data.post5_xp; _root.post6.xp = save.data.post6_xp; _root.post1.xpm = save.data.post1_xpm; _root.post2.xpm = save.data.post2_xpm; _root.post3.xpm = save.data.post3_xpm; _root.post4.xpm = save.data.post4_xpm; _root.post5.xpm = save.data.post5_xpm; _root.post6.xpm = save.data.post6_xpm; _root.post1.special = save.data.post1_special; _root.post2.special = save.data.post2_special; _root.post3.special = save.data.post3_special; _root.post4.special = save.data.post4_special; _root.post5.special = save.data.post5_special; _root.post6.special = save.data.post6_special; _root.infantry_dmg_cost = 100 + Number(50 * _root.infantry_dmg); _root.infantry_armor_cost = 100 + Number(50 * _root.infantry_armor); _root.vehicle_dmg_cost = 150 + Number(50 * _root.vehicle_dmg); _root.vehicle_armor_cost = 150 + Number(50 * _root.vehicle_armor); } } save_test = SharedObject.getLocal('autosave'); if (save_test.data.ore == null) { mamsave_auto = false; } else { mamsave_auto = true; } save_test = SharedObject.getLocal('save1'); if (save_test.data.ore == null) { mamsave_1 = false; } else { mamsave_1 = true; } save_test = SharedObject.getLocal('save2'); if (save_test.data.ore == null) { mamsave_2 = false; } else { mamsave_2 = true; } save_test = SharedObject.getLocal('save3'); if (save_test.data.ore == null) { mamsave_3 = false; } else { mamsave_3 = true; } } button 835 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.gotoAndPlay('login'); } } frame 3 { function nepriatel(i, co) { if (_root.difficulty == 'medium') { if (co == 'zergling') { _root.hud.overlay['postz' + i].jednotka = 'zergling'; _root.hud.overlay['postz' + i].hp = 50; _root.hud.overlay['postz' + i].hpm = 50; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('zergling'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 30; _root.hud.overlay['postz' + i].dmg = 5; _root.hud.overlay['postz' + i].armor = 0; } if (co == 'hydralisk') { _root.hud.overlay['postz' + i].jednotka = 'hydralisk'; _root.hud.overlay['postz' + i].hp = 80; _root.hud.overlay['postz' + i].hpm = 80; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('hydralisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 40; _root.hud.overlay['postz' + i].dmg = 10; _root.hud.overlay['postz' + i].armor = 1; } if (co == 'lurker') { _root.hud.overlay['postz' + i].jednotka = 'lurker'; _root.hud.overlay['postz' + i].hp = 125; _root.hud.overlay['postz' + i].hpm = 125; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('lurker'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 85; _root.hud.overlay['postz' + i].dmg = 0; _root.hud.overlay['postz' + i].armor = 2; } if (co == 'mutalisk') { _root.hud.overlay['postz' + i].jednotka = 'mutalisk'; _root.hud.overlay['postz' + i].hp = 100; _root.hud.overlay['postz' + i].hpm = 100; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('mutalisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 50; _root.hud.overlay['postz' + i].dmg = 16; _root.hud.overlay['postz' + i].armor = 1; } if (co == 'ultralisk') { _root.hud.overlay['postz' + i].jednotka = 'ultralisk'; _root.hud.overlay['postz' + i].hp = 300; _root.hud.overlay['postz' + i].hpm = 300; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('ultralisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 50; _root.hud.overlay['postz' + i].dmg = 20; _root.hud.overlay['postz' + i].armor = 3; } if (co == 'boss1') { _root.hud.overlay['postz' + i].jednotka = 'boss1'; _root.hud.overlay['postz' + i].hp = 6000; _root.hud.overlay['postz' + i].hpm = 6000; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 1000; _root.hud.overlay['postz' + i].mpm = 1000; _root.hud.overlay['postz' + i].unit.gotoAndPlay('boss1'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 60; _root.hud.overlay['postz' + i].dmg = 140; _root.hud.overlay['postz' + i].armor = 20; } } else { if (_root.difficulty == 'low') { if (co == 'zergling') { _root.hud.overlay['postz' + i].jednotka = 'zergling'; _root.hud.overlay['postz' + i].hp = 30; _root.hud.overlay['postz' + i].hpm = 30; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('zergling'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 40; _root.hud.overlay['postz' + i].dmg = 4; _root.hud.overlay['postz' + i].armor = 0; } if (co == 'hydralisk') { _root.hud.overlay['postz' + i].jednotka = 'hydralisk'; _root.hud.overlay['postz' + i].hp = 60; _root.hud.overlay['postz' + i].hpm = 60; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('hydralisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 50; _root.hud.overlay['postz' + i].dmg = 8; _root.hud.overlay['postz' + i].armor = 1; } if (co == 'lurker') { _root.hud.overlay['postz' + i].jednotka = 'lurker'; _root.hud.overlay['postz' + i].hp = 100; _root.hud.overlay['postz' + i].hpm = 100; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('lurker'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 85; _root.hud.overlay['postz' + i].dmg = 0; _root.hud.overlay['postz' + i].armor = 1; } if (co == 'mutalisk') { _root.hud.overlay['postz' + i].jednotka = 'mutalisk'; _root.hud.overlay['postz' + i].hp = 80; _root.hud.overlay['postz' + i].hpm = 80; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('mutalisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 60; _root.hud.overlay['postz' + i].dmg = 12; _root.hud.overlay['postz' + i].armor = 1; } if (co == 'ultralisk') { _root.hud.overlay['postz' + i].jednotka = 'ultralisk'; _root.hud.overlay['postz' + i].hp = 200; _root.hud.overlay['postz' + i].hpm = 200; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('ultralisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 60; _root.hud.overlay['postz' + i].dmg = 15; _root.hud.overlay['postz' + i].armor = 2; } if (co == 'boss1') { _root.hud.overlay['postz' + i].jednotka = 'boss1'; _root.hud.overlay['postz' + i].hp = 5000; _root.hud.overlay['postz' + i].hpm = 5000; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 100; _root.hud.overlay['postz' + i].mpm = 100; _root.hud.overlay['postz' + i].unit.gotoAndPlay('boss1'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 80; _root.hud.overlay['postz' + i].dmg = 100; _root.hud.overlay['postz' + i].armor = 10; } } else { if (_root.difficulty == 'high') { if (co == 'zergling') { _root.hud.overlay['postz' + i].jednotka = 'zergling'; _root.hud.overlay['postz' + i].hp = 60; _root.hud.overlay['postz' + i].hpm = 60; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('zergling'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 25; _root.hud.overlay['postz' + i].dmg = 6; _root.hud.overlay['postz' + i].armor = 2; } if (co == 'hydralisk') { _root.hud.overlay['postz' + i].jednotka = 'hydralisk'; _root.hud.overlay['postz' + i].hp = 100; _root.hud.overlay['postz' + i].hpm = 100; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('hydralisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 35; _root.hud.overlay['postz' + i].dmg = 12; _root.hud.overlay['postz' + i].armor = 3; } if (co == 'lurker') { _root.hud.overlay['postz' + i].jednotka = 'lurker'; _root.hud.overlay['postz' + i].hp = 150; _root.hud.overlay['postz' + i].hpm = 150; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('lurker'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 85; _root.hud.overlay['postz' + i].dmg = 0; _root.hud.overlay['postz' + i].armor = 4; } if (co == 'mutalisk') { _root.hud.overlay['postz' + i].jednotka = 'mutalisk'; _root.hud.overlay['postz' + i].hp = 200; _root.hud.overlay['postz' + i].hpm = 200; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('mutalisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 40; _root.hud.overlay['postz' + i].dmg = 16; _root.hud.overlay['postz' + i].armor = 3; } if (co == 'ultralisk') { _root.hud.overlay['postz' + i].jednotka = 'ultralisk'; _root.hud.overlay['postz' + i].hp = 600; _root.hud.overlay['postz' + i].hpm = 600; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 0; _root.hud.overlay['postz' + i].mpm = 0; _root.hud.overlay['postz' + i].unit.gotoAndPlay('ultralisk'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 50; _root.hud.overlay['postz' + i].dmg = 40; _root.hud.overlay['postz' + i].armor = 8; } if (co == 'boss1') { _root.hud.overlay['postz' + i].jednotka = 'boss1'; _root.hud.overlay['postz' + i].hp = 9000; _root.hud.overlay['postz' + i].hpm = 9000; _root.hud.overlay['postz' + i].sp = 0; _root.hud.overlay['postz' + i].spm = 0; _root.hud.overlay['postz' + i].mp = 1000; _root.hud.overlay['postz' + i].mpm = 1000; _root.hud.overlay['postz' + i].unit.gotoAndPlay('boss1'); _root.hud.overlay['postz' + i].spd = 0; _root.hud.overlay['postz' + i].spdm = 60; _root.hud.overlay['postz' + i].dmg = 160; _root.hud.overlay['postz' + i].armor = 40; } } } } } stop(); } movieClip 845 { frame 1 { stop(); } } instance of movieClip 845 { onClipEvent (load) { if (_root.mamsave_1) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (release) { if (_root.mamsave_1) { _root.loadgame('1'); _root.supply = _root.supplya + ' / ' + _root.supplym; _root.room = 'town1'; _root.cursor('normal'); _root.gotoAndPlay('world'); _root.checkloc('start', 'town1'); } } } button 852 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.defaultsquad(); _root.cursor('normal'); _root.gotoAndPlay('world'); _root.checkloc('start', 'town1'); } } button 858 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.gotoAndPlay('intro'); } } button 864 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.gotoAndPlay('menu'); } } instance of movieClip 136 UIScrollBar { onClipEvent (construct) { _targetInstanceName = 'newsy'; horizontal = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 845 { onClipEvent (load) { if (_root.mamsave_3) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (release) { if (_root.mamsave_3) { _root.loadgame('3'); _root.supply = _root.supplya + ' / ' + _root.supplym; _root.room = 'town1'; _root.cursor('normal'); _root.gotoAndPlay('world'); _root.checkloc('start', 'town1'); } } } instance of movieClip 845 { onClipEvent (load) { if (_root.mamsave_2) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (release) { if (_root.mamsave_2) { _root.loadgame('2'); _root.supply = _root.supplya + ' / ' + _root.supplym; _root.room = 'town1'; _root.cursor('normal'); _root.gotoAndPlay('world'); _root.checkloc('start', 'town1'); } } } instance of movieClip 845 { onClipEvent (load) { if (_root.mamsave_auto) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (release) { if (_root.mamsave_auto) { _root.loadgame('autosave'); _root.supply = _root.supplya + ' / ' + _root.supplym; _root.room = 'town1'; _root.cursor('normal'); _root.gotoAndPlay('world'); _root.checkloc('start', 'town1'); } } } instance of movieClip 136 UIScrollBar { onClipEvent (construct) { _targetInstanceName = 'bugsy'; horizontal = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } button 878 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.defaultsquad(); _root.cursor('normal'); _root.difficulty = 'high'; } } button 883 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.defaultsquad(); _root.cursor('normal'); _root.difficulty = 'medium'; } } button 888 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.defaultsquad(); _root.cursor('normal'); _root.difficulty = 'low'; } } frame 12 { gotoAndPlay('login'); } movieClip 893 { } movieClip 896 { } movieClip 906 { frame 1 { gotoAndPlay(random(55)); } frame 8 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 15 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 22 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 29 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 35 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 42 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 49 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 55 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 63 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 70 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 77 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 78 { gotoAndPlay(2); } } movieClip 916 { frame 1 { gotoAndPlay(random(55)); } frame 8 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 15 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 22 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 29 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 35 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 42 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 49 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 55 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 63 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 70 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 77 { if (random(10) == 1) { play(); } else { gotoAndPlay(_currentframe - 4); } } frame 78 { gotoAndPlay(2); } } movieClip 927 { frame 14 { gotoAndPlay(random(5) * 15); } frame 29 { gotoAndPlay(random(5) * 15); } frame 44 { gotoAndPlay(random(5) * 15); } frame 59 { gotoAndPlay(random(5) * 15); } frame 79 { gotoAndPlay(random(5) * 15); } } movieClip 929 { } movieClip 931 { } movieClip 933 { } movieClip 940 { } movieClip 942 { } movieClip 951 { frame 1 { stop(); } } movieClip 953 { } movieClip 979 { } movieClip 1005 { } movieClip 1031 { } movieClip 1057 { } movieClip 1083 { } movieClip 1109 { } movieClip 1135 { } movieClip 1161 { } movieClip 1164 { } movieClip 1166 { } movieClip 1167 { frame 1 { stand.gotoAndStop(smer); walk1.gotoAndStop(smer); walk2.gotoAndStop(smer); walk3.gotoAndStop(smer); walk4.gotoAndStop(smer); walk5.gotoAndStop(smer); walk6.gotoAndStop(smer); walk7.gotoAndStop(smer); walk8.gotoAndStop(smer); walk9.gotoAndStop(smer); walk10.gotoAndStop(smer); walk11.gotoAndStop(smer); walk12.gotoAndStop(smer); walk13.gotoAndStop(smer); stop(); } instance select_ring of movieClip 942 { onClipEvent (enterFrame) { if (_root.hud.select == 'hero') { _visible = true; } else { _visible = false; } } } instance hit of movieClip 953 { onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (release) { _root.select('hero'); cislo = random(4) + Number(1); if (_root.zvuky) { switch (cislo) { case 1: _root.marine_rdy1.start(0, 1); break; case 2: _root.marine_rdy2.start(0, 1); break; case 3: _root.marine_rdy3.start(0, 1); break; case 4: _root.marine_rdy4.start(0, 1); } } } } frame 25 { gotoAndPlay('walk1'); stand.gotoAndStop(smer); walk1.gotoAndStop(smer); walk2.gotoAndStop(smer); walk3.gotoAndStop(smer); walk4.gotoAndStop(smer); walk5.gotoAndStop(smer); walk6.gotoAndStop(smer); walk7.gotoAndStop(smer); walk8.gotoAndStop(smer); walk9.gotoAndStop(smer); walk10.gotoAndStop(smer); walk11.gotoAndStop(smer); walk12.gotoAndStop(smer); walk13.gotoAndStop(smer); } frame 26 { stop(); } instance of movieClip 1166 { onClipEvent (enterFrame) { _rotation = _rotation + 30; } } instance of movieClip 1166 { onClipEvent (enterFrame) { _rotation = _rotation + 30; } } } movieClip 1170 { } movieClip 1172 { } movieClip 1174 { } movieClip 1176 { } movieClip 1178 { } movieClip 1180 { } movieClip 1182 { } movieClip 1184 { } movieClip 1186 { } movieClip 1188 { } movieClip 1190 { } movieClip 1192 { } movieClip 1194 { } movieClip 1196 { } movieClip 1198 { } movieClip 1208 { frame 1 { _visible = false; } } movieClip 1209 { frame 1 { _visible = false; } } movieClip 1212 { } movieClip 1214 { } movieClip 1219 { } movieClip 1243 { frame 11 { gotoAndPlay(1); } } movieClip 1246 { instance of movieClip 1243 { onClipEvent (load) { play(); } } frame 188 { gotoAndPlay(1); } } movieClip 1263 { } movieClip 1266 { } movieClip 1273 { } movieClip 1276 { instance blood of movieClip 820 { onClipEvent (load) { this.gotoAndPlay('blood1'); } } } movieClip 1330 { frame 1 { stop(); } frame 2 { j = 1; while (j <= 6) { if (_root.hud.overlay['postz' + j].jednotka != 'none' and _root.hud.overlay['postz' + j].hp > 0) { _root.zvuk('fire', 'atom'); if (1000 - _root.hud.overlay['postz' + j].armor <= 0) { dmg = 0; } else { dmg = 1000 - _root.hud.overlay['postz' + j].armor; } _root.hud.overlay['postz' + j].hp -= dmg; if (_root.hud.overlay['postz' + j].hp <= 0) { _root.hud.overlay['postz' + j].hp = 0; _root.hud.overlay['postz' + j].unit[_root.hud.overlay['postz' + j].jednotka].gotoAndPlay('dead'); _root.odmena(_root.hud.overlay['postz' + j].jednotka); _root.zvuk('dead', _root.hud.overlay['postz' + j].jednotka); k = 1; while (k <= 6) { if (_root.hud.overlay['post' + k].jednotka == 'hero') { _root['post' + k].xp += Number(1); if (_root['post' + k].xp >= _root['post' + k].xpm) { _root['post' + k].xp = 0; _root['post' + k].lvl += Number(1); _root['post' + k].xpm = Number(_root['post' + k].lvl) * 8; _root['post' + k].hpm += Number(10); _root['post' + k].hp += Number(10); _root['post' + k].dmg += Number(1); _root.hud.overlay['post' + k].unit.lvlup.gotoAndPlay(2); _root.hud.rank.gotoAndStop(_root['post' + k].lvl); _root.zvuk('fight', 'lvlup'); } } ++k; } } } ++j; } } frame 52 { gotoAndStop(1); } } movieClip 1333 { } movieClip 1338 { frame 1 { play(); } } movieClip 1343 { } movieClip 1348 { } movieClip 1353 { } movieClip 1356 { } movieClip 1359 { } movieClip 1367 { frame 1 { _alpha = 30; } } movieClip 1375 { } movieClip 1376 { } movieClip 1378 { } movieClip 1381 { } movieClip 1392 { } movieClip 1394 { frame 1 { _root.map.gotoAndStop(_root.room); } instance bg of movieClip 893 { onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('none'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); if (_root.zvuky) { switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } if (_root.select_lock) { _root.targeting = true; } } } instance of movieClip 927 { onClipEvent (enterFrame) { if (_root.quest1 == 1) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest1', 'medic', 'Lucy', 'medic', 'Quite cute & friendly girl', 'Hello Jimmy,\nI heard that many Zergs are burrowed under surface, just waiting for their pray to come over and then they attack.\nBe sure to buy some units in Barracks or you won\'t survive a single attack!!\n\nBy the way, have you tried to click on this little \'i\' right next to map? It will show you some info & options. \n\nAnd remember, your main objective is to get out of this planet asap \n\nHave a nice day :-) '); } } } } instance of movieClip 940 { onClipEvent (enterFrame) { if (_root.quest5 == 1) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest5', 'ghost', 'Edmund', 'ghost', 'Local commander', 'Our ventialtion is working on 40%,\nScouts reported a group of 4 zerglings and 2 hydralisk\nare on a top of our ventilation tunnel.\nThey must have been blocking it somehow.\nGo and eliminate them !\nWhen the ventilation is back to normal I\'ll give you 100 ore & gas,\nbut be careful, you\'ll need more men to kill \'em.'); } } if (_root.quest5 == 3) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest5', 'ghost', 'Edmund', 'ghost', 'Local commander', 'Our ventialtion is fully operational !\nGood job out there.\nAs I promised: +100 ore +100 gas'); } } } onClipEvent (load) { stop(); } } instance hero of movieClip 1167 { onClipEvent (load) { function otoc() { xDistance = _root._xmouse - _x; yDistance = _root._ymouse - _y; normalise = Math.abs(xDistance) + Math.abs(yDistance); if (xDistance >= 0 & yDistance >= 0) { mouseDirection = 90 * (xDistance / normalise) + 270; } else { if (xDistance <= 0 && yDistance >= 0) { mouseDirection = 90 * (yDistance / normalise) + 180; } else { if (xDistance <= 0 && yDistance <= 0) { mouseDirection = -90 * (xDistance / normalise) + 90; } else { mouseDirection = -90 * (yDistance / normalise); } } } angle = mouseDirection; smer = Math.round(angle / 22.5) + Number(1); } function otoc_herotarget() { xDistance = _root.map.herotarget._x - _x; yDistance = _root.map.herotarget._y - _y; normalise = Math.abs(xDistance) + Math.abs(yDistance); if (xDistance >= 0 & yDistance >= 0) { mouseDirection = 90 * (xDistance / normalise) + 270; } else { if (xDistance <= 0 && yDistance >= 0) { mouseDirection = 90 * (yDistance / normalise) + 180; } else { if (xDistance <= 0 && yDistance <= 0) { mouseDirection = -90 * (xDistance / normalise) + 90; } else { mouseDirection = -90 * (yDistance / normalise); } } } angle = mouseDirection; smer = Math.round(angle / 22.5) + Number(1); stand.gotoAndStop(smer); walk1.gotoAndStop(smer); walk2.gotoAndStop(smer); walk3.gotoAndStop(smer); walk4.gotoAndStop(smer); walk5.gotoAndStop(smer); walk6.gotoAndStop(smer); walk7.gotoAndStop(smer); walk8.gotoAndStop(smer); walk9.gotoAndStop(smer); walk10.gotoAndStop(smer); walk11.gotoAndStop(smer); walk12.gotoAndStop(smer); walk13.gotoAndStop(smer); } function herostop() { _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targeting = false; _root.targetin = false; anim = 1; } stop(); smer = 1; anim = 1; frame = 1; if (_root.mam_banshee and _root.letim == true) { gotoAndStop('banshe'); } else { gotoAndStop('marine'); } otoc(); } onClipEvent (enterFrame) { if (_root.hud.select != 'hero') { _root.hud.select = 'hero'; } if (_root.mam_banshee and _root.letim == true) { gotoAndStop('banshe'); speed = 15; if (_root.map.herotarget.placed) { _root.pohni(); otoc_herotarget(); } _rotation = angle * -1 + Number(90); if (_root.map.hero.hit.hitTest(_root.map.herotarget)) { _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targetin = false; } } else { speed = 5; _rotation = 0; if (anim == 1) { gotoAndStop('stand'); anim = 2; } if (anim == 6) { gotoAndPlay('walk1'); anim = 7; } if (_root.map.herotarget.placed) { _root.pohni(); otoc_herotarget(); if (anim != 6 and anim != 7) { anim = 6; } } if (_root.map.hero.hitTest(_root.map.herotarget)) { _root.map.herotarget.placed = false; _root.map.herotarget._x = -5000; _root.targetin = false; anim = 1; } } } } instance herotarget of movieClip 1170 { onClipEvent (load) { placed = false; } } instance of movieClip 1188 { onClipEvent (rollOver) { if (_root.kurzor._currentframe < 10) { _root.cursor('select'); } } onClipEvent (rollOut) { if (_root.kurzor._currentframe < 20) { _root.cursor('normal'); } } onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('barracks'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('town1', 'barracks'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('town1', 'shop'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('town1', 'townhall'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('town1', 'nature1'); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.hud.overlay.gotoAndStop('disco'); _root.checkloc('town1', 'disco'); _root.cursor('normal'); _root.map.hero.herostop(); _root.hud.overlay.gotoAndStop('disco'); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('town1', 'lab'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('town1', 'factory'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } frame 5 { gotoAndPlay(_currentframe - 4); } frame 6 { _root.map.gotoAndStop(_root.room); } instance of movieClip 1212 { onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('none'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); if (_root.zvuky) { switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } if (_root.select_lock) { _root.targeting = true; } } } instance nonfight_area1 of movieClip 1214 { onClipEvent (load) { _alpha = 0; } } instance of movieClip 498 { onClipEvent (enterFrame) { if (_root.quest5 == 2) { _visible = true; } else { _visible = false; } if (this.hitTest(_root.map.hero) and _root.quest5 == 2) { _root.zvuk('fight', 'fight_start'); _root.boss = 1; _root.quest5 = 3; _root.pohni_s5(); _root.fight(); _visible = false; } } } instance of movieClip 658 { onClipEvent (enterFrame) { if (_root.quest6 == 1) { _visible = true; } else { _visible = false; } if (this.hitTest(_root.map.hero) and _root.quest6 == 1) { _root.zvuk('fight', 'fight_start'); _root.boss = 2; _root.fight(); _root.quest6 = 2; } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('nature1', 'town1'); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('nature1', 'miningcamp'); } } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } frame 10 { gotoAndPlay(_currentframe - 4); } frame 11 { _root.map.gotoAndStop(_root.room); } instance of movieClip 1219 { onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('none'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); if (_root.zvuky) { switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } if (_root.select_lock) { _root.targeting = true; } } } instance nonfight_area2 of movieClip 1214 { onClipEvent (load) { _alpha = 0; } } instance of movieClip 1246 { onClipEvent (load) { gotoAndPlay(random(180)); } } instance of movieClip 1246 { onClipEvent (load) { gotoAndPlay(random(180)); } } instance of movieClip 1246 { onClipEvent (load) { gotoAndPlay(random(180)); } } instance of movieClip 1246 { onClipEvent (load) { gotoAndPlay(random(180)); } } instance of movieClip 1246 { onClipEvent (load) { gotoAndPlay(random(180)); } } instance of movieClip 940 { onClipEvent (enterFrame) { if (_root.quest3 == 1) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest3', 'ghost', 'Ace', 'ghost', 'Local commander', 'Here\'s the offer:\n\nYou slay that new Zerg mutation to the north,\n\nI give you 1000 minerals.\n\n Deal?'); } } if (_root.quest3 == 3) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest3', 'ghost', 'Ace', 'ghost', 'Local commander', 'Excellent work, here\'s +1000 ore as I told you.\n\nSo now the way to Zerg spawning camp is free,\nYour new objective is to eliminate the Zerg main Lair in this base.\nThis will significantly lower their capability to attack us.\nYou will need a Nucler bomb to blow up this Lair !\n\nGood luck as always ;)\nAnd remember, the revard is +1000 ore and +1000 gas. '); } } if (_root.quest3 == 5) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest3', 'ghost', 'Ace', 'ghost', 'Local commander', 'Great work, here is your revard +1000 ore and +1000 gas.\nAll the Terran people on this planet are saved thanks to you.\nWell I guess there\'s no more work for you now.\nIn my opinion, your destiny lies beyond this world..\n\n.. on distant planets in far space'); } } } onClipEvent (load) { stop(); } } instance of movieClip 1188 { onClipEvent (rollOver) { if (_root.kurzor._currentframe < 10) { _root.cursor('select'); } } onClipEvent (rollOut) { if (_root.kurzor._currentframe < 20) { _root.cursor('normal'); } } onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('barracks'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } } instance of movieClip 529 { onClipEvent (enterFrame) { if (_root.quest7 == 1) { _visible = true; } else { _visible = false; } if (this.hitTest(_root.map.hero) and _root.quest7 == 1) { _root.zvuk('fight', 'fight_start'); _root.boss = 3; _root.fight(); _root.quest7 = 2; } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('miningcamp', 'nature1'); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc(_root.room, 'barracks'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('miningcamp', 'spawning'); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc(_root.room, 'starbase'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('miningcamp', 'underground'); } } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } frame 15 { gotoAndPlay(_currentframe - 4); } frame 16 { _root.map.gotoAndStop(_root.room); } instance of movieClip 1273 { onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('none'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); if (_root.zvuky) { switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } if (_root.select_lock) { _root.targeting = true; } } } instance lair of movieClip 1276 { onClipEvent (enterFrame) { if (_root.quest3 < 5) { _visible = false; } else { _visible = true; } } } instance of movieClip 827 { onClipEvent (enterFrame) { if (_root.quest3 == 2) { _visible = true; } else { _visible = false; } if (this.hitTest(_root.map.hero) and _root.quest3 == 2) { _root.zvuk('fight', 'fight_start'); _root.boss = 4; _root.quest3 = 3; _root.pohni_s5(); _root.fight(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('spawning', 'miningcamp'); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit) and _root.quest3 == 4 and _root.mam_atom == true) { _root.mam_atom = false; _root.quest3 = 5; _root.map.atomka.gotoAndPlay(2); _root.map.lair.blood.gotoAndPlay('blood1'); } } } frame 20 { gotoAndPlay(_currentframe - 4); } frame 21 { _root.map.gotoAndStop(_root.room); } instance of movieClip 1333 { onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('none'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); if (_root.zvuky) { switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } if (_root.select_lock) { _root.targeting = true; } } } instance of movieClip 1343 { onClipEvent (load) { gotoAndPlay(2); } } instance of movieClip 1353 { onClipEvent (enterFrame) { _rotation = _rotation + random(5); } } instance of movieClip 1356 { onClipEvent (enterFrame) { _rotation = _rotation - random(7); } } instance of movieClip 1359 { onClipEvent (enterFrame) { _rotation = _rotation + random(8); } } instance gabriel of movieClip 940 { onClipEvent (enterFrame) { if (_root.quest2 == 1) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest2', 'ghost', 'Gabriel', 'ghost', 'Ex-special-ops member, good old friend', 'Ahh there you are, wassup bro\n\nWell I heard that you are freelancing now and uhmm.. I was thinking, how about I join you?\nIt will be like good old times eh.\n\nPress OK to accept (be sure you have free slot)\nPress Exit to come later.'); } } } onClipEvent (load) { if (_root.quest2 == 2) { _visible = false; } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('disco', 'town1'); _root.cursor('normal'); _root.map.hero.herostop(); _root.pohni_s5(); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(50) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(10) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(10) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(10) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(70) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(300) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(100) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(400) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(500) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(200) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(40) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(400) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(500) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(200) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(150) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(100) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(30) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(20) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(10) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(200) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (random(200) == 1) { gotoAndStop(random(6) + Number(1)); } if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance of movieClip 1375 { onClipEvent (load) { gotoAndStop(random(7) + Number(1)); } onClipEvent (enterFrame) { if (_alpha > 50) { _alpha = _alpha + (random(9) - 5); } else { _alpha = _alpha + (random(12) - 5); } _rotation = _rotation + (random(31) - 15); } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(10) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance light of movieClip 1367 { onClipEvent (load) { gotoAndStop(random(6) + Number(1)); _width = random(400) + Number(200); _height = _width / 2; spd = random(5); } onClipEvent (enterFrame) { if (random(10) == 1) { gotoAndStop(random(6) + Number(1)); } if (random(10) == 1) { a = 1; } else { if (random(10) == 2) { a = -1; } else { a = 0; } } if (random(10) == 1) { b = 1; } else { if (random(10) == 2) { b = -1; } else { b = 0; } } _x = _x + spd * a; _y = _y + spd * b; if (random(100) == 1) { spd = random(5); } } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } frame 25 { gotoAndPlay(_currentframe - 4); } frame 26 { _root.map.gotoAndStop(_root.room); } instance light of movieClip 1378 { onClipEvent (load) { this.startDrag(true); } onClipEvent (enterFrame) { if (_root.hud.overlay._currentframe < 5) { this.startDrag(true); } } } instance of movieClip 1381 { onClipEvent (press) { if (_root.targeting) { _root.targetin = true; _root.map.herotarget.placed = true; } else { _root.select('none'); } } onClipEvent (release) { if (_root.targeting) { _root.targeting = false; _root.targetin = false; _root.cursor('normal'); _root.hud.anim.gotoAndPlay('move'); cislo = random(4) + Number(1); if (_root.zvuky) { switch (cislo) { case 1: _root.marine_go1.start(0, 1); break; case 2: _root.marine_go2.start(0, 1); break; case 3: _root.marine_go3.start(0, 1); break; case 4: _root.marine_go4.start(0, 1); } } } if (_root.select_lock) { _root.targeting = true; } } } instance stargate of movieClip 1392 { onClipEvent (load) { _alpha = 20; } } instance of movieClip 827 { onClipEvent (enterFrame) { if (_root.boss1_dead == false) { _visible = true; } else { _visible = false; } if (this.hitTest(_root.map.hero) and _root.boss1_dead == false) { _root.zvuk('fight', 'fight_start'); _root.boss = 4; _root.boss1_dead = true; _root.pohni_s5(); _root.fight(); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (this.hitTest(_root.map.hero.hit)) { _root.checkloc('underground', 'miningcamp'); } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (_root.quest4 == 3) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest4', 'crystal', 'Star Gate', 'Protoss origin', 'Old Protoss special building used for transportation between planets', 'Well you have turned this Star Gate on, but you could never know where it will lead you.\n\nIf you press OK you will step in, in hope that you will step out on a new planet.'); } } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (_root.quest4 == 1 and _root.mam_radar == true and _root.mam_scv == true and _root.mam_vessel == true and _root.hero_lvltxt >= 12) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest4', 'crystal', 'Control Crystal', 'crystal', 'Strange crystal', 'You found a Control Crystal in this old Protoss vehicle !\n\nPress OK to grab it or exit to leave it be.'); } } } } instance of movieClip 1208 { onClipEvent (enterFrame) { if (_root.quest4 == 2) { if (_root.map.hero.hit.hitTest(this)) { _root.quest('quest4', 'crystal', 'Control Crystal', 'crystal', 'Strange crystal', 'Suddenly, the Control Crystal started to glow, It seems you can use it to operate this statue and so to turn on this Star Gate.\n\nBut if you do so, you will loose your Control Crystal.'); } } } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } instance of movieClip 1209 { onClipEvent (enterFrame) { _root.checkstop(_name); } } frame 30 { gotoAndPlay(_currentframe - 4); } } instance map of movieClip 1394 { onClipEvent (load) { } } movieClip 1395 { } movieClip 1397 { } movieClip 1417 { } button 1425 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.checkloc('barracks1', _root.room); } } movieClip 1426 { } movieClip 1427 { } movieClip 1428 { } movieClip 1461 { } movieClip 1472 { } movieClip 1475 { } movieClip 1492 { } button 1496 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.checkloc('rooster', _root.room); } } button 1511 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.swap_units(); } } button 1512 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.remove_unit(); _root.del_unit_num = ''; } } movieClip 1514 { } movieClip 1519 { } movieClip 1526 { frame 1 { stop(); } } movieClip 1527 { instance of movieClip 1526 { onClipEvent (load) { if (_root.mam_radar_on) { gotoAndStop(2); } else { stop(); } } onClipEvent (press) { if (_currentframe == 1) { gotoAndStop(2); _root.mam_radar_on = true; } else { gotoAndStop(1); _root.mam_radar_on = false; } } onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (release) { _root.cursor('normal'); } } } movieClip 1531 { } movieClip 1536 { } movieClip 1540 { } button 1542 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); if (_root.change_ore > 0 and _root.change_ore < 10000) { if (_root.ore >= _root.change_ore) { _root.ore -= _root.change_ore; _root.gas += Math.round(_root.change_ore / 3); } } if (_root.change_gas > 0 and _root.change_gas < 10000) { if (_root.gas >= _root.change_gas) { _root.gas -= _root.change_gas; _root.ore += Math.round(_root.change_gas * 2); } } } } button 1546 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.checkloc('townhall', _root.room); } } movieClip 1553 { frame 1 { stop(); } } movieClip 1570 { frame 1 { stop(); } instance mpbar of movieClip 274 { onClipEvent (enterFrame) { _width = (_parent.mp / _parent.mpm) * 40; } } instance hpbar of movieClip 278 { onClipEvent (enterFrame) { _width = (_parent.hp / _parent.hpm) * 40; } } } movieClip 1575 { frame 1 { stop(); } frame 16 { _root.zvuk('fire', 'tankboom'); } frame 30 { gotoAndStop(1); } frame 31 { stop(); } } movieClip 1576 { frame 1 { stop(); } frame 16 { _root.zvuk('fire', 'tankboom'); } frame 30 { gotoAndStop(1); } frame 31 { stop(); } } movieClip 1591 { frame 20 { stop(); } } movieClip 1592 { frame 1 { stop(); } } movieClip 1628 { } movieClip 1631 { } movieClip 1634 { } movieClip 1649 { frame 1 { stop(); } } button 1651 { on (press) { _root.fight_loose(); } } movieClip 1682 { } button 1699 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.checkloc('worldmap', _root.room); } } button 1706 { on (press) { if (_root.ore >= 150 and _root.gas >= 150 and _root.siegemode == false) { _root.ore -= 150; _root.gas -= 150; _root.siegemode = true; siegemode_bought._visible = true; } } } movieClip 1710 { } button 1712 { on (press) { if (_root.ore >= 50 and _root.supplya < _root.supplym and _root.mam_scv == false) { _root.ore -= 50; _root.supplya += Number(1); _root.supply = _root.supplya + ' / ' + _root.supplym; _root.mam_scv = true; scv_bought._visible = true; l = 1; while (l <= 6) { if (_root['post' + l].jednotka == 'tank') { _root['post' + l].hp = _root['post' + l].hpm; } ++l; } } } } button 1720 { on (press) { if (_root.ore >= 100 and _root.mam_supply == false) { _root.ore -= 100; _root.supplym += Number(8); _root.supply = _root.supplya + ' / ' + _root.supplym; _root.mam_supply = true; supply_bought._visible = true; } } } button 1729 { on (press) { if (_root.ore >= 100 and _root.gas >= 100 and _root.mam_heal == false) { _root.ore -= 100; _root.gas -= 100; _root.mam_heal = true; heal_bought._visible = true; } } } button 1732 { on (press) { if (_root.ore >= 100 and _root.gas >= 100 and _root.mam_stimpack == false) { _root.ore -= 100; _root.gas -= 100; _root.mam_stimpack = true; stimpack_bought._visible = true; i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'firebat') { _root['post' + i].spd -= Number(15); } if (_root['post' + i].jednotka == 'marine') { _root['post' + i].spd -= Number(7); } if (_root['post' + i].jednotka == 'hero') { _root['post' + i].spd -= Number(6); } ++i; } } } } button 1734 { on (press) { if (_root.ore >= 150 and _root.gas >= 150 and _root.mam_u238 == false) { _root.ore -= 150; _root.gas -= 150; _root.mam_u238 = true; u238_bought._visible = true; i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'marine' or _root['post' + i].jednotka == 'hero') { _root['post' + i].dmg += Number(2); } ++i; } } } } button 1736 { on (press) { if (_root.ore >= _root.infantry_dmg_cost and _root.gas >= _root.infantry_dmg_cost) { _root.ore -= _root.infantry_dmg_cost; _root.gas -= _root.infantry_dmg_cost; _root.infantry_dmg += Number(1); _root.infantry_dmg_cost = 100 + Number(50 * _root.infantry_dmg); i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'marine' or _root['post' + i].jednotka == 'hero' or _root['post' + i].jednotka == 'firebat' or _root['post' + i].jednotka == 'ghost') { _root['post' + i].dmg += Number(1); } ++i; } } } } button 1741 { on (press) { if (_root.ore >= _root.infantry_armor_cost and _root.gas >= _root.infantry_armor_cost) { _root.ore -= _root.infantry_armor_cost; _root.gas -= _root.infantry_armor_cost; _root.infantry_armor += Number(1); _root.infantry_armor_cost = 100 + Number(50 * _root.infantry_armor); i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'marine' or _root['post' + i].jednotka == 'hero' or _root['post' + i].jednotka == 'firebat' or _root['post' + i].jednotka == 'ghost' or _root['post' + i].jednotka == 'medic') { _root['post' + i].armor += Number(1); } ++i; } } } } button 1745 { on (press) { if (_root.ore >= _root.vehicle_dmg_cost and _root.gas >= _root.vehicle_dmg_cost) { _root.ore -= _root.vehicle_dmg_cost; _root.gas -= _root.vehicle_dmg_cost; _root.vehicle_dmg += Number(1); _root.vehicle_dmg_cost = 150 + Number(50 * _root.vehicle_dmg); i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'tank' or _root['post' + i].jednotka == 'goliath' or _root['post' + i].jednotka == 'vulture') { _root['post' + i].dmg += Number(2); } ++i; } } } } button 1749 { on (press) { if (_root.ore >= _root.vehicle_armor_cost and _root.gas >= _root.vehicle_armor_cost) { _root.ore -= _root.vehicle_armor_cost; _root.gas -= _root.vehicle_armor_cost; _root.vehicle_armor += Number(1); _root.vehicle_armor_cost = 150 + Number(50 * _root.vehicle_armor); i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'tank' or _root['post' + i].jednotka == 'goliath' or _root['post' + i].jednotka == 'vulture') { _root['post' + i].armor += Number(1); } ++i; } } } } button 1773 { on (press) { _root.zvuky = true; } } button 1779 { on (press) { _root.zvuky = false; } } button 1780 { on (press) { _root.hudba = false; musica.stop(); } } button 1781 { on (press) { _root.hudba = true; musica.start(0, 100); } } button 1782 { on (press) { _root._quality = 'low'; } } button 1783 { on (press) { _root._quality = 'medium'; } } button 1784 { on (press) { _root._quality = 'high'; } } button 1789 { on (press) { var musica = new Sound(); musica.loadSound('song1.mp3', true); musica.start(0, 100); } } button 1790 { on (press) { var musica = new Sound(); musica.loadSound('song2.mp3', true); musica.start(0, 100); } } button 1791 { on (press) { var musica = new Sound(); musica.loadSound('song3.mp3', true); musica.start(0, 100); } } button 1803 { on (press) { trace(_root.save_slot); _root.savegame(_root.save_slot); } } button 1811 { on (press) { if (_root.ore >= 150 and _root.gas >= 150 and _root.mam_radar == false) { _root.ore -= 150; _root.gas -= 150; _root.mam_radar = true; radar_bought._visible = true; } } } button 1813 { on (press) { if (_root.ore >= 100 and _root.gas >= 100 and _root.mam_matrix == false) { _root.ore -= 100; _root.gas -= 100; _root.mam_matrix = true; matrix_bought._visible = true; } } } button 1815 { on (press) { if (_root.ore >= 100 and _root.gas >= 100 and _root.mam_emp == false) { _root.ore -= 100; _root.gas -= 100; _root.mam_emp = true; emp_bought._visible = true; } } } button 1817 { on (press) { if (_root.ore >= 200 and _root.gas >= 200 and _root.mam_nuclear == false) { _root.ore -= 200; _root.gas -= 200; _root.mam_nuclear = true; nuclear_bought._visible = true; } } } button 1821 { on (press) { if (_root.ore >= 400 and _root.gas >= 400 and _root.mam_atom == false and _root.mam_nuclear) { _root.ore -= 400; _root.gas -= 400; _root.mam_atom = true; atom_bought._visible = true; } } } button 1825 { on (press) { if (_root.ore >= 100 and _root.gas >= 100 and _root.mam_cloak == false) { _root.ore -= 100; _root.gas -= 100; _root.mam_cloak = true; cloak_bought._visible = true; } } } button 1829 { on (press) { if (_root.ore >= 500 and _root.gas >= 450 and _root.mam_covert == false) { _root.ore -= 500; _root.gas -= 450; _root.mam_covert = true; covert_bought._visible = true; } } } button 1833 { on (press) { if (_root.ore >= 150 and _root.gas >= 250 and _root.mam_vessel == false) { _root.ore -= 150; _root.gas -= 250; _root.mam_vessel = true; vessel_bought._visible = true; } } } button 1837 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.hud.overlay.gotoAndStop('none'); } } button 1839 { on (press) { var musica = new Sound(); musica.loadSound('songdisco.mp3', true); musica.start(0, 1000); } on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.hud.overlay.gotoAndStop('none'); } } movieClip 1893 { } movieClip 1894 { } button 1895 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.pohni_s5(); _root.pohni_s5(); _root.cursor('normal'); _root.hud.overlay.gotoAndStop('none'); } } button 1896 { on (press) { if (_root.active_quest == 'quest1') { _root.quest1 = 2; } if (_root.active_quest == 'quest2') { _root.quest2 = 2; _root.rescue('ghost'); _root.map.gabriel._visible = false; } if (_root.active_quest == 'quest3') { if (_root.quest3 == 1) { _root.quest3 = 2; } if (_root.quest3 == 3) { _root.quest3 = 4; _root.ore += Number(1000); } if (_root.quest3 == 5) { _root.quest3 = 6; _root.ore += Number(1000); _root.gas += Number(1000); } } if (_root.active_quest == 'quest4') { if (_root.quest4 == 3) { _root.quest4 = 4; _root.gotoAndPlay('victory'); } if (_root.quest4 == 2) { _root.quest4 = 3; _root.map.stargate._alpha = 100; _root.mam_crystal = false; } if (_root.quest4 == 1) { _root.quest4 = 2; _root.mam_crystal = true; } } if (_root.active_quest == 'quest5') { if (_root.quest5 == 1) { _root.quest5 = 2; } if (_root.quest5 == 3) { _root.quest5 = 4; _root.ore += Number(100); _root.gas += Number(100); } } } on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release, releaseOutside) { _root.cursor('normal'); _root.hud.overlay.gotoAndStop('none'); } } button 1907 { on (press) { if (_root.ore >= 6000 and _root.gas >= 4000) { _root.mam_banshee = true; _root.ore -= 6000; _root.gas -= 4000; } else { _root.zvuk('nature', 'buzz'); } } on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); } } button 1908 { on (press) { if (_root.ore >= 12000 and _root.gas >= 10000 and _root.mam_crystal) { _root.mam_phoenix = true; _root.gotoAndPlay('victory'); } else { _root.zvuk('nature', 'buzz'); } } on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); } } movieClip 1909 { frame 1 { stop(); } instance of movieClip 1395 { onClipEvent (load) { _visible = false; } } instance of movieClip 1397 { onClipEvent (press) { } } instance post4 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } } reload(); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; } onClipEvent (press) { _root.select(jednotka); } } instance post1 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } } reload(); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; } onClipEvent (press) { _root.select(jednotka); } } instance post2 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } } reload(); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; } onClipEvent (press) { _root.select(jednotka); } } instance post5 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; special = _root[_name].special; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } if (jednotka == 'tank' and special == 'normal') { unit.tank.gotoAndStop('stop2'); } } reload(); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; } onClipEvent (press) { _root.select(jednotka); } } instance post6 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; special = _root[_name].special; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } if (jednotka == 'tank' and special == 'normal') { unit.tank.gotoAndStop('stop2'); } } reload(); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; } onClipEvent (press) { _root.select(jednotka); } } instance post3 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } } reload(); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; } onClipEvent (press) { _root.select(jednotka); } } instance marine_ico of movieClip 1426 { onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (press) { _root.hud.gotoAndStop('marine'); this.startDrag(false); _root.Drag = 'marine'; } onClipEvent (release) { if (this.hitTest(_root.hud.overlay.post1)) { _root.buyunit('marine', '1'); } if (this.hitTest(_root.hud.overlay.post2)) { _root.buyunit('marine', '2'); } if (this.hitTest(_root.hud.overlay.post3)) { _root.buyunit('marine', '3'); } if (this.hitTest(_root.hud.overlay.post4)) { _root.buyunit('marine', '4'); } if (this.hitTest(_root.hud.overlay.post5)) { _root.buyunit('marine', '5'); } if (this.hitTest(_root.hud.overlay.post6)) { _root.buyunit('marine', '6'); } stopDrag(); _x = 451.6; _y = 42.3; } } instance firebat_ico of movieClip 1427 { onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (press) { _root.hud.gotoAndStop('firebat'); this.startDrag(false); _root.Drag = 'firebat'; } onClipEvent (release) { if (this.hitTest(_root.hud.overlay.post1)) { _root.buyunit('firebat', '1'); } if (this.hitTest(_root.hud.overlay.post2)) { _root.buyunit('firebat', '2'); } if (this.hitTest(_root.hud.overlay.post3)) { _root.buyunit('firebat', '3'); } if (this.hitTest(_root.hud.overlay.post4)) { _root.buyunit('firebat', '4'); } if (this.hitTest(_root.hud.overlay.post5)) { _root.buyunit('firebat', '5'); } if (this.hitTest(_root.hud.overlay.post6)) { _root.buyunit('firebat', '6'); } stopDrag(); _x = 451.6; _y = 106.2; } } instance medic_ico of movieClip 1428 { onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (press) { _root.hud.gotoAndStop('medic'); this.startDrag(false); _root.Drag = 'medic'; } onClipEvent (release) { if (this.hitTest(_root.hud.overlay.post1)) { _root.buyunit('medic', '1'); } if (this.hitTest(_root.hud.overlay.post2)) { _root.buyunit('medic', '2'); } if (this.hitTest(_root.hud.overlay.post3)) { _root.buyunit('medic', '3'); } if (this.hitTest(_root.hud.overlay.post4)) { _root.buyunit('medic', '4'); } if (this.hitTest(_root.hud.overlay.post5)) { _root.buyunit('medic', '5'); } if (this.hitTest(_root.hud.overlay.post6)) { _root.buyunit('medic', '6'); } stopDrag(); _x = 451.6; _y = 175.9; } } instance ghost_ico of movieClip 1461 { onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (press) { _root.hud.gotoAndStop('ghost'); this.startDrag(false); _root.Drag = 'ghost'; } onClipEvent (release) { if (this.hitTest(_root.hud.overlay.post1)) { _root.buyunit('ghost', '1'); } if (this.hitTest(_root.hud.overlay.post2)) { _root.buyunit('ghost', '2'); } if (this.hitTest(_root.hud.overlay.post3)) { _root.buyunit('ghost', '3'); } if (this.hitTest(_root.hud.overlay.post4)) { _root.buyunit('ghost', '4'); } if (this.hitTest(_root.hud.overlay.post5)) { _root.buyunit('ghost', '5'); } if (this.hitTest(_root.hud.overlay.post6)) { _root.buyunit('ghost', '6'); } stopDrag(); _x = 451.6; _y = 250; } } instance tank_ico of movieClip 1472 { onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (press) { _root.hud.gotoAndStop('tank'); this.startDrag(false); _root.Drag = 'tank'; } onClipEvent (release) { if (this.hitTest(_root.hud.overlay.post1)) { _root.buyunit('tank', '1'); } if (this.hitTest(_root.hud.overlay.post2)) { _root.buyunit('tank', '2'); } if (this.hitTest(_root.hud.overlay.post3)) { _root.buyunit('tank', '3'); } if (this.hitTest(_root.hud.overlay.post4)) { _root.buyunit('tank', '4'); } if (this.hitTest(_root.hud.overlay.post5)) { _root.buyunit('tank', '5'); } if (this.hitTest(_root.hud.overlay.post6)) { _root.buyunit('tank', '6'); } stopDrag(); _x = 450.3; _y = 215.3; } } instance goliat_ico of movieClip 1475 { onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (press) { _root.hud.gotoAndStop('goliat'); this.startDrag(false); _root.Drag = 'goliat'; } onClipEvent (release) { if (this.hitTest(_root.hud.overlay.post1)) { _root.buyunit('goliat', '1'); trace('x'); } if (this.hitTest(_root.hud.overlay.post2)) { _root.buyunit('goliat', '2'); } if (this.hitTest(_root.hud.overlay.post3)) { _root.buyunit('goliat', '3'); } if (this.hitTest(_root.hud.overlay.post4)) { _root.buyunit('goliat', '4'); } if (this.hitTest(_root.hud.overlay.post5)) { _root.buyunit('goliat', '5'); } if (this.hitTest(_root.hud.overlay.post6)) { _root.buyunit('goliat', '6'); } stopDrag(); _x = 450.3; _y = 143.5; } } instance of movieClip 1514 { onClipEvent (load) { if (_parent.post6.jednotka == 'tank' and _root.siegemode == true) { _visible = true; } else { _visible = false; } } onClipEvent (press) { if (_parent.post6.unit.tank._currentframe == 9) { _parent.post6.unit.tank.gotoAndPlay('pack'); _root.post6.dmg = 35; _root.post6.special = 'siege'; _root.zvuk('nature', 'tankpack'); } if (_parent.post6.unit.tank._currentframe == 1) { _parent.post6.unit.tank.gotoAndPlay('unpack'); _root.post6.dmg = 70; _root.post6.special = 'normal'; _root.zvuk('nature', 'tankunpack'); } } } instance siege5 of movieClip 1514 { onClipEvent (load) { if (_parent.post5.jednotka == 'tank' and _root.siegemode == true) { _visible = true; } else { _visible = false; } } onClipEvent (press) { if (_parent.post5.unit.tank._currentframe == 9) { _parent.post5.unit.tank.gotoAndPlay('pack'); _root.post5.dmg = 35; _root.post5.special = 'siege'; _root.zvuk('nature', 'tankpack'); } if (_parent.post5.unit.tank._currentframe == 1) { _parent.post5.unit.tank.gotoAndPlay('unpack'); _root.post5.dmg = 70; _root.post5.special = 'normal'; _root.zvuk('nature', 'tankunpack'); } } } instance of movieClip 1519 { onClipEvent (load) { if (_root.mam_scv) { _visible = true; } else { _visible = false; } } } instance of movieClip 1527 { onClipEvent (load) { _visible = false; if (_root.mam_radar) { _visible = true; } } } instance of movieClip 1531 { onClipEvent (load) { if (_root.mam_crystal) { _visible = true; } else { _visible = false; } } } instance of movieClip 1536 { onClipEvent (load) { if (_root.mam_atom) { _visible = true; } else { _visible = false; } } } instance of movieClip 1540 { onClipEvent (load) { if (_root.mam_vessel == true) { _visible = true; } else { _visible = false; } } } frame 37 { function dajslot() { k = random(6) + Number(1); if (_root.hud.overlay['postz' + k].hp > 0 and _root.hud.overlay['postz' + k].hp < 10000) { dajslot(); } else { if (k > 6 or k <= 0) { dajslot(); } else { return k; } } } _root.infight = true; if (_root.boss == false) { i = 1; while (i <= 6) { if (_root['post' + i].jednotka == 'hero') { pocet = random(_root['post' + i].lvl + Number(1)) + Number(1); if (pocet > 6) { pocet = 6; } if (_root.room == 'nature1') { if (_root['post' + i].lvl <= 2) { nepriatel = 1; } else { if (_root['post' + i].lvl >= 3 and _root['post' + i].lvl <= 4) { nepriatel = 2; } else { nepriatel = 3; } } } if (_root.room == 'miningcamp') { if (_root['post' + i].lvl <= 5) { nepriatel = 2; } else { if (_root['post' + i].lvl >= 6 and _root['post' + i].lvl <= 8) { nepriatel = 3; } else { nepriatel = random(3) + 3; } } } if (_root.room == 'spawning') { if (_root['post' + i].lvl <= 7) { nepriatel = 5; } else { if (_root['post' + i].lvl >= 8 and _root['post' + i].lvl <= 9) { nepriatel = random(3) + 4; } else { nepriatel = random(3) + 5; } } } if (_root.room == 'underground') { if (_root['post' + i].lvl <= 9) { nepriatel = 7; } else { if (_root['post' + i].lvl >= 10 and _root['post' + i].lvl <= 11) { nepriatel = 8; } else { nepriatel = 9; } } } break; } ++i; } j = 1; while (j <= pocet) { i = dajslot(); while (i == undefined) { i = dajslot(); } if (nepriatel == 1) { _root.nepriatel(i, 'zergling'); } else { if (nepriatel == 2) { if (random(3) == 1) { _root.nepriatel(i, 'hydralisk'); } else { _root.nepriatel(i, 'zergling'); } } else { if (nepriatel == 3) { if (random(3) == 1) { _root.nepriatel(i, 'zergling'); } else { _root.nepriatel(i, 'hydralisk'); } } else { if (nepriatel == 4) { if (random(3) == 1) { _root.nepriatel(i, 'hydralisk'); } else { _root.nepriatel(i, 'mutalisk'); } } else { if (nepriatel == 5) { if (random(3) == 1) { _root.nepriatel(i, 'mutalisk'); } else { if (random(3) > 1) { _root.nepriatel(i, 'hydralisk'); } else { _root.nepriatel(i, 'lurker'); } } } else { if (nepriatel == 6) { if (random(3) == 1) { _root.nepriatel(i, 'mutalisk'); } else { if (random(3) > 1) { _root.nepriatel(i, 'hydralisk'); } else { _root.nepriatel(i, 'ultralisk'); } } } else { if (nepriatel == 7) { if (random(3) == 1) { _root.nepriatel(i, 'mutalisk'); } else { if (random(3) > 1) { _root.nepriatel(i, 'lurker'); } else { _root.nepriatel(i, 'ultralisk'); } } } else { if (nepriatel == 8) { if (random(3) == 1) { _root.nepriatel(i, 'hydralisk'); } else { if (random(3) > 1) { _root.nepriatel(i, 'lurker'); } else { _root.nepriatel(i, 'ultralisk'); } } } else { if (nepriatel == 9) { if (random(3) == 1) { _root.nepriatel(i, 'ultralisk'); } else { if (random(3) > 1) { _root.nepriatel(i, 'lurker'); } else { _root.nepriatel(i, 'ultralisk'); } } } } } } } } } } } ++j; } } if (_root.boss != false) { if (_root.boss == 1) { _root.nepriatel(1, 'zergling'); _root.nepriatel(2, 'zergling'); _root.nepriatel(3, 'zergling'); _root.nepriatel(4, 'zergling'); _root.nepriatel(5, 'hydralisk'); _root.nepriatel(6, 'hydralisk'); } if (_root.boss == 2) { _root.nepriatel(1, 'mutalisk'); _root.nepriatel(2, 'mutalisk'); _root.nepriatel(3, 'mutalisk'); } if (_root.boss == 3) { _root.nepriatel(1, 'ultralisk'); _root.nepriatel(2, 'ultralisk'); _root.nepriatel(3, 'lurker'); _root.nepriatel(4, 'lurker'); _root.nepriatel(5, 'lurker'); _root.nepriatel(6, 'lurker'); } if (_root.boss == 4) { _root.nepriatel(1, 'ultralisk'); _root.nepriatel(2, 'ultralisk'); _root.nepriatel(3, 'boss1'); _root.nepriatel(4, 'mutalisk'); _root.nepriatel(5, 'lurker'); _root.nepriatel(6, 'lurker'); } } i = 1; while (i <= 6) { _root.hud.overlay['postz' + i].spd = random(_root.hud.overlay['postz' + i].spdm); _root.hud.overlay['post' + i].spd = random(_root.hud.overlay['post' + i].spdm); ++i; } } instance post4 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } spd = _root[_name].spd; spdm = _root[_name].spdm; dmg = _root[_name].dmg; armor = _root[_name].armor; } reload(); unit._xscale = -100; if (jednotka == 'none') { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = Math.round(mp) + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } if (invis == true and jednotka == 'ghost') { mp -= 0.2; if (mp <= 0) { mp = 0; _root.vis(_name); } } } onClipEvent (press) { _root.select(jednotka); } } instance post1 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } spd = _root[_name].spd; spdm = _root[_name].spdm; dmg = _root[_name].dmg; armor = _root[_name].armor; } reload(); unit._xscale = -100; if (jednotka == 'none') { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = Math.round(mp) + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } if (invis == true and jednotka == 'ghost') { mp -= 0.2; if (mp <= 0) { mp = 0; _root.vis(_name); } } } onClipEvent (press) { _root.select(jednotka); } } instance post2 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } spd = _root[_name].spd; spdm = _root[_name].spdm; dmg = _root[_name].dmg; armor = _root[_name].armor; } reload(); unit._xscale = -100; if (jednotka == 'none') { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = Math.round(mp) + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } if (invis == true and jednotka == 'ghost') { mp -= 0.2; if (mp <= 0) { mp = 0; _root.vis(_name); } } } onClipEvent (press) { _root.select(jednotka); } } instance post5 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; special = _root[_name].special; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } if (jednotka == 'tank' and special == 'normal') { unit.tank.gotoAndStop('stop2'); } spd = _root[_name].spd; spdm = _root[_name].spdm; dmg = _root[_name].dmg; armor = _root[_name].armor; } reload(); unit._xscale = -100; if (jednotka == 'none') { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = Math.round(mp) + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } if (invis == true and jednotka == 'ghost') { mp -= 0.2; if (mp <= 0) { mp = 0; _root.vis(_name); } } } onClipEvent (press) { _root.select(jednotka); } } instance post6 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; special = _root[_name].special; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } if (jednotka == 'tank' and special == 'normal') { unit.tank.gotoAndStop('stop2'); } spd = _root[_name].spd; spdm = _root[_name].spdm; dmg = _root[_name].dmg; armor = _root[_name].armor; } reload(); unit._xscale = -100; if (jednotka == 'none') { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = Math.round(mp) + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } if (invis == true and jednotka == 'ghost') { mp -= 0.2; if (mp <= 0) { mp = 0; _root.vis(_name); } } } onClipEvent (press) { _root.select(jednotka); } } instance post3 of movieClip 829 { onClipEvent (load) { function reload() { jednotka = _root[_name].jednotka; hp = _root[_name].hp; hpm = _root[_name].hpm; sp = _root[_name].sp; spm = _root[_name].spm; mp = _root[_name].mp; mpm = _root[_name].mpm; if (jednotka == 'hero') { unit.gotoAndStop('marine'); } else { unit.gotoAndStop(jednotka); } spd = _root[_name].spd; spdm = _root[_name].spdm; dmg = _root[_name].dmg; armor = _root[_name].armor; } reload(); unit._xscale = -100; if (jednotka == 'none') { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = Math.round(mp) + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } if (invis == true and jednotka == 'ghost') { mp -= 0.2; if (mp <= 0) { mp = 0; _root.vis(_name); } } } onClipEvent (press) { _root.select(jednotka); } } instance postz1 of movieClip 1570 { onClipEvent (load) { if (jednotka == undefined) { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } } onClipEvent (press) { _root.select(jednotka); } } instance postz2 of movieClip 1570 { onClipEvent (load) { if (jednotka == undefined) { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } } onClipEvent (press) { _root.select(jednotka); } } instance postz4 of movieClip 1570 { onClipEvent (load) { if (jednotka == undefined) { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } } onClipEvent (press) { _root.select(jednotka); } } instance postz6 of movieClip 1570 { onClipEvent (load) { if (jednotka == undefined) { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } } onClipEvent (press) { _root.select(jednotka); } } instance postz5 of movieClip 1570 { onClipEvent (load) { if (jednotka == undefined) { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } } onClipEvent (press) { _root.select(jednotka); } } instance boompost5 of movieClip 1575 { onClipEvent (load) { kto = 'post5'; _x = _root.boompost5x; _y = _root.boompost5y; if (_root.post5.jednotka == 'tank' and _root.post5.special == 'normal') { _visible = true; } else { _visible = false; } } onClipEvent (press) { if (_currentframe < 6) { this.startDrag(false); } } onClipEvent (release) { this.stopDrag(); _root.boompost5x = _x; _root.boompost5y = _y; } onClipEvent (enterFrame) { if (_currentframe > 5) { stopDrag(); } if (_currentframe == 17) { _root.zvuk('fire', 'boom'); } if (_currentframe == 21) { j = 1; while (j <= 6) { if (this.hitTest(_root.hud.overlay['postz' + j]) and _root.hud.overlay['postz' + j].jednotka != 'mutalisk') { if (_root.hud.overlay['postz' + j].jednotka != 'none' and _root.hud.overlay['postz' + j].hp > 0) { if (_root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor <= 0) { dmg = 0; } else { dmg = _root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor; } _root.hud.overlay['postz' + j].hp -= dmg; if (_root.hud.overlay['postz' + j].hp <= 0) { _root.hud.overlay['postz' + j].hp = 0; _root.hud.overlay['postz' + j].unit[_root.hud.overlay['postz' + j].jednotka].gotoAndPlay('dead'); _root.odmena(_root.hud.overlay['postz' + j].jednotka); _root.zvuk('dead', _root.hud.overlay['postz' + j].jednotka); k = 1; while (k <= 6) { if (_root.hud.overlay['post' + k].jednotka == 'hero') { _root['post' + k].xp += Number(1); if (_root['post' + k].xp >= _root['post' + k].xpm) { _root['post' + k].xp = 0; _root['post' + k].lvl += Number(1); _root['post' + k].xpm = Number(_root['post' + k].lvl) * 8; _root['post' + k].hpm += Number(10); _root['post' + k].hp += Number(10); _root['post' + k].dmg += Number(1); _root.hud.overlay['post' + k].unit.lvlup.gotoAndPlay(2); _root.hud.rank.gotoAndStop(_root['post' + k].lvl); _root.zvuk('fight', 'lvlup'); } } ++k; } } } } ++j; } } } } instance boompost6 of movieClip 1576 { onClipEvent (load) { kto = 'post6'; _x = _root.boompost6x; _y = _root.boompost6y; if (_root.post6.jednotka == 'tank' and _root.post6.special == 'normal') { _visible = true; } else { _visible = false; } } onClipEvent (press) { if (_currentframe < 6) { this.startDrag(false); } } onClipEvent (release) { this.stopDrag(); _root.boompost6x = _x; _root.boompost6y = _y; } onClipEvent (enterFrame) { if (_currentframe > 5) { stopDrag(); } if (_currentframe == 17) { _root.zvuk('fire', 'boom'); } if (_currentframe == 21) { j = 1; while (j <= 6) { if (this.hitTest(_root.hud.overlay['postz' + j])) { if (_root.hud.overlay['postz' + j].jednotka != 'none' and _root.hud.overlay['postz' + j].hp > 0 and _root.hud.overlay['postz' + j].jednotka != 'mutalisk') { if (_root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor <= 0) { dmg = 0; } else { dmg = _root.hud.overlay[kto].dmg - _root.hud.overlay['postz' + j].armor; } _root.hud.overlay['postz' + j].hp -= dmg; if (_root.hud.overlay['postz' + j].hp <= 0) { _root.hud.overlay['postz' + j].hp = 0; _root.hud.overlay['postz' + j].unit[_root.hud.overlay['postz' + j].jednotka].gotoAndPlay('dead'); _root.odmena(_root.hud.overlay['postz' + j].jednotka); _root.zvuk('dead', _root.hud.overlay['postz' + j].jednotka); k = 1; while (k <= 6) { if (_root.hud.overlay['post' + k].jednotka == 'hero') { _root['post' + k].xp += Number(1); if (_root['post' + k].xp >= _root['post' + k].xpm) { _root['post' + k].xp = 0; _root['post' + k].lvl += Number(1); _root['post' + k].xpm = Number(_root['post' + k].lvl) * 8; _root['post' + k].hpm += Number(10); _root['post' + k].hp += Number(10); _root['post' + k].dmg += Number(1); _root.hud.overlay['post' + k].unit.lvlup.gotoAndPlay(2); _root.hud.rank.gotoAndStop(_root['post' + k].lvl); _root.zvuk('fight', 'lvlup'); } } ++k; } } } } ++j; } } } } instance spike_postz5 of movieClip 1592 { onClipEvent (enterFrame) { dmg = 20; if (_currentframe == 20) { if (_root.hud.overlay.post1.hp > 0) { if (dmg - _root.hud.overlay.post1.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post1.armor; } _root.hud.overlay.post1.hp -= dmga; if (_root.hud.overlay.post1.hp <= 0) { _root.hud.overlay.post1.hp = 0; _root.hud.overlay.post1.unit[_root.hud.overlay.post1.jednotka].gotoAndPlay('dead'); _root.kill(['post1']); _root.zvuk('dead', _root.hud.overlay.post1.jednotka); if (_root.hud.overlay.post1.jednotka == 'hero') { _root.hud.overlay.post1.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 35) { if (_root.hud.overlay.post3.hp > 0) { if (dmg - _root.hud.overlay.post3.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post3.armor; } _root.hud.overlay.post3.hp -= dmga; if (_root.hud.overlay.post3.hp <= 0) { _root.hud.overlay.post3.hp = 0; _root.hud.overlay.post3.unit[_root.hud.overlay.post3.jednotka].gotoAndPlay('dead'); _root.kill(['post3']); _root.zvuk('dead', _root.hud.overlay.post3.jednotka); if (_root.hud.overlay.post3.jednotka == 'hero') { _root.hud.overlay.post3.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 50) { if (_root.hud.overlay.post5.hp > 0) { if (dmg - _root.hud.overlay.post5.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post5.armor; } _root.hud.overlay.post5.hp -= dmga; if (_root.hud.overlay.post5.hp <= 0) { _root.hud.overlay.post5.hp = 0; _root.hud.overlay.post5.unit[_root.hud.overlay.post5.jednotka].gotoAndPlay('dead'); _root.kill(['post5']); _root.zvuk('dead', _root.hud.overlay.post5.jednotka); if (_root.hud.overlay.post5.jednotka == 'hero') { _root.hud.overlay.post5.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } } } instance spike_postz3 of movieClip 1592 { onClipEvent (enterFrame) { dmg = 20; if (_currentframe == 20) { if (_root.hud.overlay.post1.hp > 0) { if (dmg - _root.hud.overlay.post1.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post1.armor; } _root.hud.overlay.post1.hp -= dmga; if (_root.hud.overlay.post1.hp <= 0) { _root.hud.overlay.post1.hp = 0; _root.hud.overlay.post1.unit[_root.hud.overlay.post1.jednotka].gotoAndPlay('dead'); _root.kill(['post1']); _root.zvuk('dead', _root.hud.overlay.post1.jednotka); if (_root.hud.overlay.post1.jednotka == 'hero') { _root.hud.overlay.post1.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 35) { if (_root.hud.overlay.post3.hp > 0) { if (dmg - _root.hud.overlay.post3.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post3.armor; } _root.hud.overlay.post3.hp -= dmga; if (_root.hud.overlay.post3.hp <= 0) { _root.hud.overlay.post3.hp = 0; _root.hud.overlay.post3.unit[_root.hud.overlay.post3.jednotka].gotoAndPlay('dead'); _root.kill(['post3']); _root.zvuk('dead', _root.hud.overlay.post3.jednotka); if (_root.hud.overlay.post3.jednotka == 'hero') { _root.hud.overlay.post3.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 50) { if (_root.hud.overlay.post5.hp > 0) { if (dmg - _root.hud.overlay.post5.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post5.armor; } _root.hud.overlay.post5.hp -= dmga; if (_root.hud.overlay.post5.hp <= 0) { _root.hud.overlay.post5.hp = 0; _root.hud.overlay.post5.unit[_root.hud.overlay.post5.jednotka].gotoAndPlay('dead'); _root.kill(['post5']); _root.zvuk('dead', _root.hud.overlay.post5.jednotka); if (_root.hud.overlay.post5.jednotka == 'hero') { _root.hud.overlay.post5.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } } } instance spike_postz1 of movieClip 1592 { onClipEvent (enterFrame) { dmg = 20; if (_currentframe == 20) { if (_root.hud.overlay.post1.hp > 0) { if (dmg - _root.hud.overlay.post1.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post1.armor; } _root.hud.overlay.post1.hp -= dmga; if (_root.hud.overlay.post1.hp <= 0) { _root.hud.overlay.post1.hp = 0; _root.hud.overlay.post1.unit[_root.hud.overlay.post1.jednotka].gotoAndPlay('dead'); _root.kill(['post1']); _root.zvuk('dead', _root.hud.overlay.post1.jednotka); if (_root.hud.overlay.post1.jednotka == 'hero') { _root.hud.overlay.post1.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 35) { if (_root.hud.overlay.post3.hp > 0) { if (dmg - _root.hud.overlay.post3.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post3.armor; } _root.hud.overlay.post3.hp -= dmga; if (_root.hud.overlay.post3.hp <= 0) { _root.hud.overlay.post3.hp = 0; _root.hud.overlay.post3.unit[_root.hud.overlay.post3.jednotka].gotoAndPlay('dead'); _root.kill(['post3']); _root.zvuk('dead', _root.hud.overlay.post3.jednotka); if (_root.hud.overlay.post3.jednotka == 'hero') { _root.hud.overlay.post3.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 50) { if (_root.hud.overlay.post5.hp > 0) { if (dmg - _root.hud.overlay.post5.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post5.armor; } _root.hud.overlay.post5.hp -= dmga; if (_root.hud.overlay.post5.hp <= 0) { _root.hud.overlay.post5.hp = 0; _root.hud.overlay.post5.unit[_root.hud.overlay.post5.jednotka].gotoAndPlay('dead'); _root.kill(['post5']); _root.zvuk('dead', _root.hud.overlay.post5.jednotka); if (_root.hud.overlay.post5.jednotka == 'hero') { _root.hud.overlay.post5.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } } } instance spike_postz6 of movieClip 1592 { onClipEvent (enterFrame) { dmg = 20; if (_currentframe == 20) { if (_root.hud.overlay.post2.hp > 0) { if (dmg - _root.hud.overlay.post2.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post2.armor; } _root.hud.overlay.post2.hp -= dmga; if (_root.hud.overlay.post2.hp <= 0) { _root.hud.overlay.post2.hp = 0; _root.hud.overlay.post2.unit[_root.hud.overlay.post2.jednotka].gotoAndPlay('dead'); _root.kill(['post2']); _root.zvuk('dead', _root.hud.overlay.post2.jednotka); if (_root.hud.overlay.post2.jednotka == 'hero') { _root.hud.overlay.post2.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 35) { if (_root.hud.overlay.post4.hp > 0) { if (dmg - _root.hud.overlay.post4.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post4.armor; } _root.hud.overlay.post4.hp -= dmga; if (_root.hud.overlay.post4.hp <= 0) { _root.hud.overlay.post4.hp = 0; _root.hud.overlay.post4.unit[_root.hud.overlay.post4.jednotka].gotoAndPlay('dead'); _root.kill(['post4']); _root.zvuk('dead', _root.hud.overlay.post4.jednotka); if (_root.hud.overlay.post4.jednotka == 'hero') { _root.hud.overlay.post4.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 50) { if (_root.hud.overlay.post6.hp > 0) { if (dmg - _root.hud.overlay.post6.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post6.armor; } _root.hud.overlay.post6.hp -= dmga; if (_root.hud.overlay.post6.hp <= 0) { _root.hud.overlay.post6.hp = 0; _root.hud.overlay.post6.unit[_root.hud.overlay.post6.jednotka].gotoAndPlay('dead'); _root.kill(['post6']); _root.zvuk('dead', _root.hud.overlay.post6.jednotka); if (_root.hud.overlay.post6.jednotka == 'hero') { _root.hud.overlay.post6.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } } } instance spike_postz4 of movieClip 1592 { onClipEvent (enterFrame) { dmg = 20; if (_currentframe == 20) { if (_root.hud.overlay.post2.hp > 0) { if (dmg - _root.hud.overlay.post2.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post2.armor; } _root.hud.overlay.post2.hp -= dmga; if (_root.hud.overlay.post2.hp <= 0) { _root.hud.overlay.post2.hp = 0; _root.hud.overlay.post2.unit[_root.hud.overlay.post2.jednotka].gotoAndPlay('dead'); _root.kill(['post2']); _root.zvuk('dead', _root.hud.overlay.post2.jednotka); if (_root.hud.overlay.post2.jednotka == 'hero') { _root.hud.overlay.post2.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 35) { if (_root.hud.overlay.post4.hp > 0) { if (dmg - _root.hud.overlay.post4.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post4.armor; } _root.hud.overlay.post4.hp -= dmga; if (_root.hud.overlay.post4.hp <= 0) { _root.hud.overlay.post4.hp = 0; _root.hud.overlay.post4.unit[_root.hud.overlay.post4.jednotka].gotoAndPlay('dead'); _root.kill(['post4']); _root.zvuk('dead', _root.hud.overlay.post4.jednotka); if (_root.hud.overlay.post4.jednotka == 'hero') { _root.hud.overlay.post4.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 50) { if (_root.hud.overlay.post6.hp > 0) { if (dmg - _root.hud.overlay.post6.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post6.armor; } _root.hud.overlay.post6.hp -= dmga; if (_root.hud.overlay.post6.hp <= 0) { _root.hud.overlay.post6.hp = 0; _root.hud.overlay.post6.unit[_root.hud.overlay.post6.jednotka].gotoAndPlay('dead'); _root.kill(['post6']); _root.zvuk('dead', _root.hud.overlay.post6.jednotka); if (_root.hud.overlay.post6.jednotka == 'hero') { _root.hud.overlay.post6.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } } } instance spike_postz2 of movieClip 1592 { onClipEvent (enterFrame) { dmg = 20; if (_currentframe == 20) { if (_root.hud.overlay.post2.hp > 0) { if (dmg - _root.hud.overlay.post2.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post2.armor; } _root.hud.overlay.post2.hp -= dmga; if (_root.hud.overlay.post2.hp <= 0) { _root.hud.overlay.post2.hp = 0; _root.hud.overlay.post2.unit[_root.hud.overlay.post2.jednotka].gotoAndPlay('dead'); _root.kill(['post2']); _root.zvuk('dead', _root.hud.overlay.post2.jednotka); if (_root.hud.overlay.post2.jednotka == 'hero') { _root.hud.overlay.post2.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 35) { if (_root.hud.overlay.post4.hp > 0) { if (dmg - _root.hud.overlay.post4.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post4.armor; } _root.hud.overlay.post4.hp -= dmga; if (_root.hud.overlay.post4.hp <= 0) { _root.hud.overlay.post4.hp = 0; _root.hud.overlay.post4.unit[_root.hud.overlay.post4.jednotka].gotoAndPlay('dead'); _root.kill(['post4']); _root.zvuk('dead', _root.hud.overlay.post4.jednotka); if (_root.hud.overlay.post4.jednotka == 'hero') { _root.hud.overlay.post4.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } if (_currentframe == 50) { if (_root.hud.overlay.post6.hp > 0) { if (dmg - _root.hud.overlay.post6.armor <= 0) { dmga = 0; } else { dmga = dmg - _root.hud.overlay.post6.armor; } _root.hud.overlay.post6.hp -= dmga; if (_root.hud.overlay.post6.hp <= 0) { _root.hud.overlay.post6.hp = 0; _root.hud.overlay.post6.unit[_root.hud.overlay.post6.jednotka].gotoAndPlay('dead'); _root.kill(['post6']); _root.zvuk('dead', _root.hud.overlay.post6.jednotka); if (_root.hud.overlay.post6.jednotka == 'hero') { _root.hud.overlay.post6.unit.marine.gotoAndPlay('dead'); _root.hero_dead = true; } } } else {} } } } instance postz3 of movieClip 1570 { onClipEvent (load) { if (jednotka == undefined) { _visible = false; } hpnum._visible = false; mpnum._visible = false; spnum._visible = false; } onClipEvent (rollOver) { _root.cursor('select'); hpnum._visible = true; mpnum._visible = true; spnum._visible = true; hpbar._visible = false; mpbar._visible = false; spbar._visible = false; } onClipEvent (rollOut) { _root.cursor('normal'); hpnum._visible = false; mpnum._visible = false; spnum._visible = false; hpbar._visible = true; mpbar._visible = true; spbar._visible = true; } onClipEvent (enterFrame) { hpnum.text = hp + ' / ' + hpm; mpnum.text = mp + ' / ' + mpm; spnum.text = sp + ' / ' + spm; if (spd == spdm) { spd = 0; _root.attack(_name); } else { ++spd; } if (jednotka == 'boss1') { _root.bosshp = hp; _root.bossmp = mp; } } onClipEvent (press) { _root.select(jednotka); } } instance of movieClip 1628 { onClipEvent (load) { if (_root.mam_vessel) { _visible = true; } else { _visible = false; } } } instance of movieClip 1631 { onClipEvent (press) { this.startDrag(true); } onClipEvent (release) { i = 1; while (i <= 6) { if (this.hitTest(_root.hud.overlay['post' + i])) { this._visible = false; pouzity = true; _root.hud.overlay['post' + i].unit.matrix1.gotoAndPlay(2); _root.hud.overlay['post' + i].unit.matrix2.gotoAndPlay(2); _root.hud.overlay['post' + i].armor += Number(100); break; } ++i; } if (pouzity) { _x = _x + 5000; _y = _y + 5000; } else { _x = xx; _y = yy; } stopDrag(); } onClipEvent (load) { xx = _x; yy = _y; pouzity = false; if (_root.mam_matrix) { _visible = true; } else { _visible = false; } } } instance of movieClip 1634 { onClipEvent (press) { this._parent.empwave.gotoAndPlay(2); i = 1; while (i <= 6) { if (_root.hud.overlay['postz' + i].mp > 0) { _root.hud.overlay['postz' + i].mp = 0; } if (_root.hud.overlay['postz' + i].sp > 0) { _root.hud.overlay['postz' + i].sp = 0; } ++i; } _visible = false; } onClipEvent (load) { if (_root.mam_emp) { _visible = true; } else { _visible = false; } } } instance of movieClip 1536 { onClipEvent (load) { if (_root.mam_atom) { _visible = true; } else { _visible = false; } } onClipEvent (press) { this._parent.atom.gotoAndPlay(2); _visible = false; _root.mam_atom = false; _root.zvuk('fight', 'nuke'); } } instance siegemode_bought of movieClip 1710 { onClipEvent (load) { if (_root.siegemode) { _visible = true; } else { _visible = false; } } } instance scv_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_scv) { _visible = true; } else { _visible = false; } } } instance supply_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_supply) { _visible = true; } else { _visible = false; } } } instance heal_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_heal) { _visible = true; } else { _visible = false; } } } instance stimpack_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_stimpack) { _visible = true; } else { _visible = false; } } } instance u238_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_u238) { _visible = true; } else { _visible = false; } } } instance radar_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_radar) { _visible = true; } else { _visible = false; } } } instance matrix_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_matrix) { _visible = true; } else { _visible = false; } } } instance emp_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_emp) { _visible = true; } else { _visible = false; } } } instance nuclear_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_nuclear) { _visible = true; } else { _visible = false; } } } instance atom_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_atom) { _visible = true; } else { _visible = false; } } } instance cloak_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_cloak) { _visible = true; } else { _visible = false; } } } instance covert_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_covert) { _visible = true; } else { _visible = false; } } } instance vessel_bought of movieClip 1710 { onClipEvent (load) { if (_root.mam_vessel) { _visible = true; } else { _visible = false; } } } instance of movieClip 1397 { onClipEvent (press) { } } instance of movieClip 1894 { onClipEvent (load) { gotoAndStop(_root.talk_portrait); } } } movieClip 1913 { } movieClip 1915 { } movieClip 1917 { } movieClip 1929 { frame 1 { stop(); } } movieClip 1936 { } button 1938 { on (press) { if (_root.infight == false) { _root.checkloc(_root.room, 'rooster'); } } } button 1940 { on (press) { if (_root.infight == false) { _root.checkloc(_root.room, 'worldmap'); } } } button 1942 { on (press) { if (_root.infight == false and _root.mam_banshee and _root.room != 'town1' and _root.room != 'underground') { if (_root.letim) { _root.letim = false; _root.map.hero.gotoAndStop('marine'); } else { _root.letim = true; _root.map.hero.gotoAndStop('banshe'); } } } } button 1947 { on (press) { if (_root.infight == false) { _root.checkloc(_root.room, 'info'); } } } button 1952 { on (rollOver) { if (_root.targeting) { } else { _root.cursor('select'); } } on (rollOut) { if (_root.targeting) { } else { _root.cursor('normal'); } } on (releaseOutside) { if (_root.targeting) { } else { _root.cursor('normal'); } } on (release) { if (_root.targeting) { } else { _root.cursor('target'); _root.targeting = true; } } } button 1955 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.map.hero.herostop(); } } movieClip 2106 { frame 34 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 55 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 89 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 135 { gotoAndPlay(1); } frame 165 { gotoAndPlay(1); } } movieClip 2144 { } movieClip 2285 { frame 27 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 60 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 105 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 135 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } } movieClip 2423 { frame 30 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 57 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 90 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 129 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } } movieClip 2570 { frame 30 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 57 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 90 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } } movieClip 2681 { frame 30 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 57 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 90 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } } movieClip 2790 { frame 30 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 57 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } frame 90 { if (random(10) > 5) { play(); } else { gotoAndPlay(1); } } } movieClip 2791 { instance of movieClip 1913 { onClipEvent (press) { } } instance of movieClip 1915 { onClipEvent (press) { } } instance of movieClip 1917 { onClipEvent (press) { } } instance mapa of movieClip 1929 { onClipEvent (load) { gotoAndStop(_root.room); } } frame 9 { gotoAndPlay('none'); } instance rank of movieClip 2144 { onClipEvent (load) { stop(); gotoAndStop(_root.hero_lvltxt); } } instance of movieClip 1526 { onClipEvent (load) { if (_root.select_lock) { gotoAndStop(2); } else { stop(); } } onClipEvent (press) { if (_currentframe == 1) { gotoAndStop(2); _root.select_lock = true; _root.targeting = true; } else { gotoAndStop(1); _root.select_lock = false; _root.targeting = false; } } onClipEvent (rollOver) { _root.cursor('select'); } onClipEvent (rollOut) { _root.cursor('normal'); } onClipEvent (release) { _root.cursor('normal'); } } frame 14 { gotoAndPlay(_currentframe - 4); } frame 20 { gotoAndPlay(_currentframe - 4); } frame 26 { gotoAndPlay(_currentframe - 4); } frame 32 { gotoAndPlay(_currentframe - 4); } frame 40 { gotoAndPlay(_currentframe - 5); } frame 46 { gotoAndPlay(_currentframe - 4); } frame 52 { gotoAndPlay(_currentframe - 4); } frame 58 { gotoAndPlay(_currentframe - 4); } } frame 23 { gotoAndPlay(_currentframe - 1); } frame 29 { stop(); } button 2806 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.gotoAndStop('login'); } } frame 38 { stop(); } movieClip 2809 { } movieClip 2831 { frame 136 { _root.introo.tank.gotoAndPlay('unpack'); } instance tank of movieClip 607 { onClipEvent (load) { gotoAndPlay('unpack'); } } frame 253 { _root.zvuk('fire', 'boss1'); } frame 267 { _root.zvuk('fire', 'boss1'); } frame 381 { _root.gotoAndStop('login'); } } frame 49 { stop(); } button 2834 { on (rollOver) { _root.cursor('select'); } on (rollOut) { _root.cursor('normal'); } on (release) { _root.cursor('normal'); _root.gotoAndStop('victory'); } } movieClip 2835 { } frame 60 { stop(); } movieClip 2839 { } frame 70 { stop(); }




http://swfchan.com/9/41030/info.shtml
Created: 10/5 -2019 14:45:47 Last modified: 10/5 -2019 14:45:47 Server time: 22/12 -2024 20:30:05