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

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

Windows Magi SP3 BETA.swf

This is the info page for
Flash #66178

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


ActionScript [AS1/AS2]
Combined Code
movieClip 4 { } movieClip 6 { } movieClip 7 { } movieClip 9 { } // unknown tag 88 length 138 movieClip 13 infobox { frame 1 { onEnterFrame = function () { _x = _root._xmouse + _width > 750 ? _root._xmouse - _width : _root._xmouse + 15; _y = _root._ymouse + _height > 600 ? _root._ymouse - _height : _root._ymouse; }; if (i != undefined) { var loader = new MovieClipLoader(); loader.addListener(this); loader.loadClip('http://www.newgrounds.com/icon/' + Math.floor(i / 1000) + '000/portal_' + i, Icon.Icon); onLoadError = function (loader) { Icon.attachMovie('nopic', 'np', Icon.getNextHighestDepth()); }; } tmpTxt = _parent.createTextField('txt', _parent.getNextHighestDepth(), 0, 0, 0, 0); tmpTxt.html = true; tmpTxt.htmlText = desc; txtAuthor.htmlText = '<font color=\'##D1D5D8\'>Author(s): </font><font color=\'#FFFFFF\'>' + author + '</font><br><font color=\'##D1D5D8\'>Origin: </font><font color=\'#FFFFFF\'>' + origin + '</font>'; txtDesc.autoSize = true; txtDesc.htmlText = '<font color=\'##D1D5D8\'>Description: </font><font color=\'#FFFFFF\'>\r' + tmpTxt.text + '</font>'; descbg._height = txtDesc._height + 5; delete tmpText; } instance Icon of movieClip 9 { onClipEvent (release) { getURL(_parent.link, '_blank'); } } } movieClip 15 infobox desc { frame 1 { onEnterFrame = function () { _x = _root._xmouse + _width > 750 ? _root._xmouse - _width : _root._xmouse + 15; _y = _root._ymouse + _height > 600 ? _root._ymouse - _height : _root._ymouse; }; tmpTxt = _parent.createTextField('txt', _parent.getNextHighestDepth(), 0, 0, 0, 0); tmpTxt.html = true; tmpTxt.htmlText = desc; txtDesc.autoSize = true; txtDesc.htmlText = '<font color=\'##D1D5D8\'>Description: </font><font color=\'#FFFFFF\'>\r' + tmpTxt.text + '</font><br><br><font color=\'##D1D5D8\'>Origin: </font><font color=\'#FFFFFF\'>' + origin + '</font>'; descbg._height = txtDesc._height + 5; delete tmpText; } } movieClip 20 noaudiopic { } movieClip 21 { } movieClip 23 { } movieClip 24 infobox audio { frame 1 { onEnterFrame = function () { _x = _root._xmouse + _width > 750 ? _root._xmouse - _width : _root._xmouse + 15; _y = _root._ymouse + _height > 600 ? _root._ymouse - _height : _root._ymouse; }; if (i != undefined) { var loader = new MovieClipLoader(); loader.addListener(this); loader.loadClip('http://aicon.ngfiles.com/' + Math.floor(i / 1000) + '000/' + i + '.gif', Icon.Icon); } tmpTxt = _parent.createTextField('txt', _parent.getNextHighestDepth(), 0, 0, 0, 0); tmpTxt.html = true; tmpTxt.htmlText = desc; txtDesc.autoSize = true; txtDesc.htmlText = '<font color=\'##D1D5D8\'>Description: </font><font color=\'#FFFFFF\'>\r' + tmpTxt.text + '</font>'; descbg._height = txtDesc._height + 5; delete tmpText; } } // unknown tag 88 length 143 movieClip 40 { } movieClip 42 info hover { frame 1 { _alpha = 0; onPress = function () { getURL(link, '_blank'); _root.ib.removeMovieClip(); }; onRollOver = function () { t = _root.attachMovie(daily ? 'infobox desc' : (audio ? 'infobox audio' : 'infobox'), 'ib', _root.getNextHighestDepth()); t._y = -200; t.i = i; t.author = author; t.desc = desc; t.link = link; t.origin = origin; }; onRollOut = function () { _root.ib.removeMovieClip(); }; onMouseDown = function () { _root.ib.removeMovieClip(); }; } } movieClip 43 top 5 slot { frame 1 { if (i != undefined) { var loader = new MovieClipLoader(); loader.addListener(this); loader.loadClip('http://www.newgrounds.com/icon/' + Math.floor(i / 1000) + '000/portal_' + i, Icon.Icon); onLoadError = function (loader) { Icon.attachMovie('nopic', 'np', Icon.getNextHighestDepth()); }; } } instance Icon of movieClip 9 { onClipEvent (release) { getURL(_parent.h.link, '_blank'); } } instance of movieClip 40 { onClipEvent (load) { gotoAndStop(_parent.rank); } } instance h of movieClip 42 info hover { onClipEvent (load) { daily = true; } } } movieClip 55 { } button 56 { on (release) { getURL('http://www.newgrounds.com/portal/list.php?which=top10', '_blank'); } } movieClip 59 { frame 1 { x = new XML(); x.ignoreWhite = true; _root.load ? x.load('http://rss.ngfiles.com/weeklytop10.xml') : null; x.onLoad = function (success) { if (success) { d = String(this.childNodes[0].childNodes[0].childNodes[2].firstChild); day = d.substring(d.indexOf(',') + 2, d.indexOf(' ', 6)); month = d.substr(d.indexOf(' ', 6) + 1, 3); year = d.substr(d.indexOf(' ', 10) + 3, 2); date.htmlText = '<b>For week ending: ' + (day + '/' + month + '/' + year) + '</b>'; f = true; i = 1; var v4 = this.childNodes[0].childNodes[0].childNodes[0]; while (v4 != null) { if (v4.nodeName == 'item') { var v3 = v4.firstChild; while (v3 != null) { this[v3.nodeName] = v3.firstChild; v3 = v3.nextSibling; } title = String(v4.firstChild.firstChild); title = title.substr(title.indexOf('.') + 2); tmpTxt = _parent.createTextField('txt', _parent.getNextHighestDepth(), 0, 0, 0, 0); tmpTxt.html = true; tmpTxt.htmlText = title; title = (i < 10 ? '0' + i : i) + '. <b><font color=\'#FF9900\'>' + tmpTxt.text + '</font></b><br>'; tmpText.removeTextField(); d = String(this.pubDate); day = d.substring(d.indexOf(',') + 2, d.indexOf(' ', 6)); month = d.substr(d.indexOf(' ', 6) + 1, 3); year = d.substr(d.indexOf(' ', 10) + 3, 2); h = attachMovie('info hover', 'ih' + i, getNextHighestDepth()); h.i = (String(this.link)).substr(-6, 6); h.author = this.source; h.desc = this.description; h.link = this.link; h.origin = day + '/' + month + '/' + year + ', ' + d.substring(d.indexOf(':') - 1, d.indexOf('-')); h._x = 18; h._y = 53 + (i - 1) * 16; if (f) { t.htmlText = title; f = false; } else { t.htmlText += title; } ++i; } v4 = v4.nextSibling; } } else { t.text = ''; } }; } } button 62 { on (release) { getURL('http://www.newgrounds.com/portal/list.php?which=yest&type=A&order=vote', '_blank'); } } movieClip 68 { frame 1 { x = new XML(); x.ignoreWhite = true; _root.load ? x.load('http://rss.ngfiles.com/dailytop5.xml') : null; x.onLoad = function (success) { if (success) { loading.text = ''; loading.unloadMovie(); d = String(this.childNodes[0].childNodes[0].childNodes[2].firstChild); day = d.substring(d.indexOf(',') + 2, d.indexOf(' ', 6)) - 1; month = d.substr(d.indexOf(' ', 6) + 1, 3); year = d.substr(d.indexOf(' ', 10) + 3, 2); _parent.date.htmlText = '<b>For yesterday, ' + (day + '/' + month + '/' + year) + '</b>'; i = 1; var v4 = this.childNodes[0].childNodes[0].childNodes[0]; while (v4 != null) { if (v4.nodeName == 'item') { slot = _parent.slots.attachMovie('top 5 slot', 'slot' + i, _parent.slots.getNextHighestDepth()); slot._y = (i - 1) * (slot._height + 0); var v3 = v4.firstChild; while (v3 != null) { this[v3.nodeName] = v3.firstChild; v3 = v3.nextSibling; } title = String(v4.firstChild.firstChild); title = title.substr(title.indexOf('.') + 2); tmpTxt = _parent.createTextField('txt', _parent.getNextHighestDepth(), 0, 0, 0, 0); tmpTxt.html = true; tmpTxt.htmlText = title; slot.title = '<b>' + tmpTxt.text + '</b>'; tmpText.removeTextField(); d = String(this.pubDate); day = d.substring(d.indexOf(',') + 2, d.indexOf(' ', 6)); month = d.substr(d.indexOf(' ', 6) + 1, 3); year = d.substr(d.indexOf(' ', 10) + 3, 2); slot.author = '<a href=\'http://' + this.source + '.newgrounds.com/\' target=\'_blank\'>' + this.source + '</a>'; slot.i = (String(this.link)).substr(-6, 6); slot.rank = i; slot.h.link = this.link; slot.h.desc = this.description; slot.h.origin = day + '/' + month + '/' + year + ', ' + d.substring(d.indexOf(':') - 1, d.indexOf('-')); ++i; } v4 = v4.nextSibling; } } else { loading.text = ''; } }; } } movieClip 69 { } button 71 { on (release) { getURL('http://www.newgrounds.com/portal/list.php?which=mr&order=date', '_blank'); } } movieClip 77 { frame 1 { x = new XML(); x.ignoreWhite = true; _root.load ? x.load('http://rss.ngfiles.com/latestsubmissions.xml') : null; x.onLoad = function (success) { if (success) { f = true; i = 1; var v4 = this.childNodes[0].childNodes[0].childNodes[0]; while (v4 != null) { if (v4.nodeName == 'item') { var v3 = v4.firstChild; while (v3 != null) { this[v3.nodeName] = v3.firstChild; v3 = v3.nextSibling; } title = String(v4.firstChild.firstChild); title = title.substr(title.indexOf('.') + 1); tmpTxt = _parent.createTextField('txt', _parent.getNextHighestDepth(), 0, 0, 0, 0); tmpTxt.html = true; tmpTxt.htmlText = title; title = (i < 10 ? '0' + i : i) + '. <b><font color=\'#FF9900\'>' + tmpTxt.text + '</font></b><br>'; tmpText.removeTextField(); d = String(this.pubDate); day = d.substring(d.indexOf(',') + 2, d.indexOf(' ', 6)); month = d.substr(d.indexOf(' ', 6) + 1, 3); year = d.substr(d.indexOf(' ', 10) + 3, 2); h = attachMovie('info hover', 'ih' + i, getNextHighestDepth()); h.i = (String(this.link)).substr(-6, 6); h.author = this.dc.creator; h.desc = this.description; h.link = this.link; h.origin = day + '/' + month + '/' + year + ', ' + d.substring(d.indexOf(':') - 1, d.indexOf('-')); h._x = 18; h._y = 53 + (i - 1) * 16; if (f) { t.htmlText = title; f = false; } else { t.htmlText += title; } ++i; } v4 = v4.nextSibling; } } else { t.text = ''; } }; } } movieClip 85 { } button 86 { on (release) { preview(1, this); } } movieClip 93 { frame 12 { stop(); } } movieClip 96 { frame 12 { stop(); } } movieClip 97 { frame 1 { stop(); } } button 98 { on (release) { preview(2, this); } } button 99 { on (release) { preview(3, this); } } button 100 { on (release) { preview(4, this); } } button 101 { on (release) { preview(5, this); } } movieClip 106 { } movieClip 107 { frame 1 { stop(); onPress = function () { _root.SO.data[v] = val; }; } instance of movieClip 106 { onClipEvent (enterFrame) { _visible = _root.SO.data[_parent.v] == _parent.val; } } } movieClip 114 { instance s1 of movieClip 107 { onClipEvent (load) { v = 'aStart'; val = '1st'; } } instance s2 of movieClip 107 { onClipEvent (load) { v = 'aStart'; val = 'rnd'; } } instance s3 of movieClip 107 { onClipEvent (load) { v = 'aStart'; val = 'nothing'; } } instance of movieClip 107 { onClipEvent (load) { v = 'aEnd'; val = 'next'; } } instance of movieClip 107 { onClipEvent (load) { v = 'aEnd'; val = 'rnd'; } } instance of movieClip 107 { onClipEvent (load) { v = 'aEnd'; val = 'nothing'; } } instance of movieClip 107 { onClipEvent (load) { v = 'vis'; val = true; } } instance of movieClip 107 { onClipEvent (load) { v = 'vis'; val = false; } } } movieClip 115 { frame 1 { stop(); _root.config = false; i = 1; while (i <= 5) { _parent._parent['b' + i].enabled = true; ++i; } i = 1; while (i <= 5) { _parent._parent['ih' + i]._visible = true; ++i; } } frame 2 { _root.config = true; i = 1; while (i <= 5) { _parent._parent['b' + i].enabled = false; ++i; } i = 1; while (i <= 5) { _parent._parent['ih' + i]._visible = false; ++i; } } frame 9 { stop(); } } movieClip 117 { } movieClip 120 { } movieClip 121 { instance of movieClip 117 { onClipEvent (enterFrame) { if (_yscale > 0) { _yscale = _yscale - 300 / _yscale; } r = random(50) + 50; if (_parent._parent.beat && random(3) < 2 && r > _yscale && _root.playing && _parent._parent._parent.s.position > 0 && _root.SO.data.vis) { _yscale = r; } if (_yscale <= 100) { } else { _yscale = 100; undefined; } null; } onClipEvent (load) { _yscale = 0; } } } movieClip 122 { frame 1 { i = 0; onEnterFrame = function () { ++i; beat = i % 2 == 0; }; } } movieClip 125 { } movieClip 128 { } movieClip 131 { } movieClip 132 { frame 1 { stop(); } } movieClip 133 { instance of movieClip 132 { onClipEvent (press) { dragging = true; this.startDrag(false, 0, _y, _parent.bg._width - _width, _y); } onClipEvent (enterFrame) { if (dragging) { _parent._parent.s.setVolume(Math.round(100 * (_x / (_parent.bg._width - _width)))); _parent._parent.txtInfo._visible = true; _parent._parent.txtTime._visible = false; _parent._parent.txtInfo.text = 'Volume: ' + _parent._parent.s.getVolume(); _parent.h._x = _x; } } onClipEvent (release, releaseOutside) { dragging = false; this.stopDrag(); } onClipEvent (rollOver, dragOver) { gotoAndStop(2); _parent._parent.txtInfo._visible = true; _parent._parent.txtTime._visible = false; _parent._parent.txtInfo.text = 'Volume: ' + _parent._parent.s.getVolume(); } onClipEvent (rollOut) { gotoAndStop(1); _parent._parent.txtInfo._visible = false; _parent._parent.txtTime._visible = true; } onClipEvent (dragOut) { gotoAndStop(1); } onClipEvent (releaseOutside) { _parent._parent.txtInfo._visible = false; _parent._parent.txtTime._visible = true; } } } movieClip 135 { frame 1 { function startSong() { if (_root.pos == 0) { s.loadSound('http://newgrounds.com/audio/download.php?which=single&id=' + _root.tracks[_root.track].trackID, true); title.htmlText = _root.tracks[_root.track].title; } s.start(_root.pos / 1000); ps.gotoAndStop(2); } s = new Sound(this); onEnterFrame = function () { if (s.position == undefined) { Time = '0:00 / 0:00'; } else { minutes = Math.floor(s.position / 60000); _root.minutes2 = Math.floor(s.duration / 60000); if (Math.floor(s.position / 1000) % 60 < 10) { seconds = '0' + Math.floor(s.position / 1000) % 60; } else { seconds = Math.floor(s.position / 1000) % 60; } Time = minutes + ':' + seconds + ' / ' + _root.minutes2 + ':' + seconds2; if (Math.floor(s.duration / 1000) % 60 < 10) { seconds2 = '0' + Math.floor(s.duration / 1000) % 60; } else { seconds2 = Math.floor(s.duration / 1000) % 60; } } }; s.onSoundComplete = function () { _root.pos = 0; s.start(); s.stop(); if (_root.loop) { s.start(); } else { _parent['ps' + _root.track].gotoAndStop(1); if (_root.SO.data.aEnd == 'next') { ++_root.track; if (_root.track > 5) { _root.track = 1; } } else { if (_root.SO.data.aEnd == 'rnd') { _root.track = random(5) + 1; } } if (_root.SO.data.aEnd != 'nothing') { _parent['ps' + _root.track].gotoAndStop(2); startSong(); } } }; txtInfo._visible = false; } } movieClip 136 { frame 1 { function preview(ID, targ) { if (_root.track != ID) { _root.pos = 0; audio.s.start(); audio.s.stop(); _root.track = ID; _root.playing = false; _root.trackID = _root.tracks[_root.track].trackID; } if (!_root.playing) { audio.startSong(); this['ps' + ID].gotoAndStop(2); i = 1; while (i <= 5) { if (i != ID) { this['ps' + i].gotoAndStop(1); } ++i; } } else { _root.pos = audio.s.position; audio.s.stop(); this['ps' + ID].gotoAndStop(1); } _root.playing = !_root.playing; } x = new XML(); x.ignoreWhite = true; _root.load ? x.load('http://rss.ngfiles.com/weeklyaudiotop5.xml') : null; x.onLoad = function (success) { if (success) { d = String(this.childNodes[0].childNodes[0].childNodes[2].firstChild); day = d.substring(d.indexOf(',') + 2, d.indexOf(' ', 6)); month = d.substr(d.indexOf(' ', 6) + 1, 3); year = d.substr(d.indexOf(' ', 10) + 3, 2); date.htmlText = '<b>For week ending: ' + (day + '/' + month + '/' + year) + '</b>'; f = true; i = 1; _root.tracks = new Array(); var v5 = this.childNodes[0].childNodes[0].childNodes[0]; while (v5 != null) { if (v5.nodeName == 'item') { var v4 = v5.firstChild; while (v4 != null) { this[v4.nodeName] = v4.firstChild; v4 = v4.nextSibling; } title = String(v5.firstChild.firstChild); title = title.substr(title.indexOf('.') + 1); tmpTxt = _parent.createTextField('txt', _parent.getNextHighestDepth(), 0, 0, 0, 0); tmpTxt.html = true; tmpTxt.htmlText = title; title = i + '. <b><font color=\'#FF9900\'>' + tmpTxt.text + '</font></b><br>'; h = attachMovie('info hover', 'ih' + i, getNextHighestDepth()); h.i = (String(this.link)).substr(39); h.audio = true; h.desc = this.description; h.link = this.link; h._x = 54; h._y = 54 + (i - 1) * 16; h._width = 170; if (f) { t.htmlText = title; f = false; } else { t.htmlText += title; } if (i == 1) { _root.trackID = (String(this.link)).substr(39); } _root.tracks[i] = new Object(); _root.tracks[i].trackID = (String(this.link)).substr(39); _root.tracks[i].title = tmpTxt.text; tmpText.removeTextField(); ++i; } v5 = v5.nextSibling; } if (_root.SO.data.aStart == '1st') { preview(1, this); } else { if (_root.SO.data.aStart == 'rnd') { _root.track = random(5) + 1; preview(_root.track, this); } } } else { t.text = ''; } }; } instance ps1 of movieClip 97 { onClipEvent (load) { z.gotoAndStop(z._totalframes); } } instance ps2 of movieClip 97 { onClipEvent (load) { z.gotoAndStop(z._totalframes); } } instance ps3 of movieClip 97 { onClipEvent (load) { z.gotoAndStop(z._totalframes); } } instance ps4 of movieClip 97 { onClipEvent (load) { z.gotoAndStop(z._totalframes); } } instance ps5 of movieClip 97 { onClipEvent (load) { z.gotoAndStop(z._totalframes); } } } button 137 { on (release) { getURL('http://www.megaupload.com/?d=VG4SS6EA', '_blank'); } } movieClip 139 nglol { } movieClip 141 { } movieClip 143 { } movieClip 145 { } movieClip 147 { } movieClip 149 { } movieClip 151 cursors { frame 1 { stop(); Mouse.show(); _root.c1._visible = false; _root.c2._visible = false; _root.c3._visible = false; _root.c4._visible = false; _root.c5._visible = false; } frame 2 { stop(); Mouse.hide(); _root.c2._visible = false; _root.c3._visible = false; _root.c4._visible = false; _root.c5._visible = false; } frame 3 { stop(); Mouse.hide(); _root.c1._visible = false; _root.c3._visible = false; _root.c4._visible = false; _root.c5._visible = false; } frame 4 { stop(); Mouse.hide(); _root.c1._visible = false; _root.c2._visible = false; _root.c4._visible = false; _root.c5._visible = false; } frame 5 { stop(); Mouse.hide(); _root.c1._visible = false; _root.c2._visible = false; _root.c3._visible = false; _root.c5._visible = false; } frame 6 { stop(); Mouse.hide(); _root.c1._visible = false; _root.c2._visible = false; _root.c3._visible = false; _root.c4._visible = false; } frame 7 { gotoAndStop(1); _root.c.swapDepths(1000000); Mouse.hide(); _root.removeMovieClip(c5); } } movieClip 156 rectangle { } button 164 { on (release) { getURL('http://www.microsoft.com/', '_blank'); } } movieClip 169 { } movieClip 175 { } movieClip 182 { } movieClip 186 { } movieClip 190 { } movieClip 193 { } movieClip 195 { } movieClip 196 { } button 201 { on (release) { gotoAndStop(1); } } button 203 { on (release) { gotoAndStop(2); } } button 205 { on (release) { gotoAndPlay(3); } } button 207 { on (release) { gotoAndStop(4); } } button 209 { on (release) { gotoAndStop(5); } } button 211 { on (release) { gotoAndStop(6); } } movieClip 217 BoundingBox { } movieClip 219 BrdrShdw { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor'); } } movieClip 221 BrdrFace { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor'); } } movieClip 222 SimpleButtonDown { } movieClip 224 BrdrBlk { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor'); } } movieClip 226 BrdrHilght { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor'); } } movieClip 227 SimpleButtonIn { } movieClip 228 SimpleButtonUp { } movieClip 229 Defaults { #initclip Object.registerClass('Defaults', mx.skins.halo.Defaults); #endinitclip } movieClip 230 UIObjectExtensions { #initclip Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions); #endinitclip } movieClip 231 UIObject { #initclip Object.registerClass('UIObject', mx.core.UIObject); #endinitclip frame 1 { stop(); } } button 234 { on (keyPress '<Tab>') { this.tabHandler(); } } movieClip 235 { #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 236 FocusRect { #initclip Object.registerClass('FocusRect', mx.skins.halo.FocusRect); #endinitclip } movieClip 237 FocusManager { #initclip Object.registerClass('FocusManager', mx.managers.FocusManager); #endinitclip frame 1 { stop(); } } movieClip 238 UIComponentExtensions { #initclip Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions); #endinitclip } movieClip 239 UIComponent { #initclip Object.registerClass('UIComponent', mx.core.UIComponent); #endinitclip frame 1 { stop(); } } movieClip 240 SimpleButton { #initclip Object.registerClass('SimpleButton', mx.controls.SimpleButton); #endinitclip frame 1 { stop(); } } movieClip 241 Border { #initclip Object.registerClass('Border', mx.skins.Border); #endinitclip frame 1 { stop(); } } movieClip 242 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 243 ButtonSkin { #initclip Object.registerClass('ButtonSkin', mx.skins.halo.ButtonSkin); #endinitclip } movieClip 244 Button { #initclip Object.registerClass('Button', mx.controls.Button); #endinitclip frame 1 { stop(); } instance of movieClip 240 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 245 CustomBorder { #initclip Object.registerClass('CustomBorder', mx.skins.CustomBorder); mx.skins.SkinElement.registerElement('CustomBorder', mx.skins.CustomBorder); #endinitclip frame 1 { } } movieClip 248 ScrollTrack { } movieClip 255 ScrollDownArrowDisabled { } movieClip 257 ScrollThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 259 ScrollThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 260 ScrollDownArrowDown { } movieClip 261 ScrollDownArrowOver { } movieClip 262 ScrollDownArrowUp { } movieClip 268 ScrollThumbBottomDisabled { } movieClip 270 ThumbThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 272 ThumbThemeColor3 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 273 ScrollThumbBottomDown { } movieClip 274 ScrollThumbBottomOver { } movieClip 275 ScrollThumbBottomUp { } movieClip 277 ScrollThumbGripDisabled { } movieClip 279 ThumbThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 280 ScrollThumbGripDown { } movieClip 281 ScrollThumbGripOver { } movieClip 282 ScrollThumbGripUp { } movieClip 284 ScrollThumbMiddleDisabled { } movieClip 285 ScrollThumbMiddleDown { } movieClip 286 { } movieClip 288 { } movieClip 289 ScrollThumbMiddleOver { } movieClip 290 ScrollThumbMiddleUp { } movieClip 291 ScrollThumbTopDisabled { } movieClip 292 ScrollThumbTopDown { } movieClip 293 ScrollThumbTopOver { } movieClip 294 ScrollThumbTopUp { } movieClip 295 ScrollTrackDisabled { } movieClip 296 ScrollUpArrowDisabled { } movieClip 297 ScrollUpArrowDown { } movieClip 298 ScrollUpArrowOver { } movieClip 299 ScrollUpArrowUp { } movieClip 300 BtnDownArrow { #initclip Object.registerClass('BtnDownArrow', mx.controls.SimpleButton); #endinitclip } movieClip 301 BtnUpArrow { #initclip Object.registerClass('BtnUpArrow', mx.controls.SimpleButton); #endinitclip } movieClip 302 ScrollBarAssets { } movieClip 303 VScrollBar { #initclip Object.registerClass('VScrollBar', mx.controls.VScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 244 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 240 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 304 HScrollBar { #initclip Object.registerClass('HScrollBar', mx.controls.HScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 244 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 240 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 305 UIScrollBar { #initclip Object.registerClass('UIScrollBar', mx.controls.UIScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 303 VScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 304 HScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 340 { frame 1 { a.useHandCursor = false; } frame 1 { stop(); } instance of movieClip 305 UIScrollBar { onClipEvent (construct) { _targetInstanceName = 's'; horizontal = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } } button 341 { on (press) { startDrag('', false); } on (release) { stopDrag(); } on (releaseOutside) { stopDrag(); } } movieClip 344 { } movieClip 345 { } movieClip 346 { frame 7 { stop(); } } movieClip 348 { } movieClip 353 { } movieClip 355 { } movieClip 357 { } movieClip 358 { frame 7 { stop(); } } movieClip 360 { } button 362 { on (press) { this.swapDepths(1000); startDrag(this, false); } on (release) { stopDrag(); } } button 363 { on (release) { _visible = false; } on (release) { gotoAndStop(1); } } movieClip 364 ms { frame 1 { stop(); } frame 2 { stop(); ye.useHandCursor = false; n.useHandCursor = false; d.useHandCursor = false; a.useHandCursor = false; } frame 3 { d.useHandCursor = false; a.useHandCursor = false; c.useHandCursor = false; min.useHandCursor = false; } frame 11 { stop(); d.useHandCursor = false; a.useHandCursor = false; c.useHandCursor = false; min.useHandCursor = false; } } movieClip 366 { } movieClip 368 { } movieClip 370 { } movieClip 375 { } movieClip 377 { } movieClip 380 { } movieClip 382 { } movieClip 384 { } movieClip 386 { } movieClip 388 { } movieClip 390 { } movieClip 392 { } movieClip 394 { } movieClip 396 { } movieClip 398 { } // unknown tag 88 length 140 movieClip 402 { } // unknown tag 88 length 4 movieClip 406 { } movieClip 408 { } movieClip 410 { } movieClip 412 { } movieClip 414 { } movieClip 416 { frame 1 { function addNumber(number) { if (type == '') { display += number; op1 = Number(display); } else { temp += number; op2 = Number(temp); } } function clear() { display = ''; op1 = 0; temp = ''; op2 = ''; type = ''; decimal = false; } function getAnswer() { if (type == '+') { display = op1 + op2; op1 = Number(display); op2 = ''; temp = ''; decimal = false; } else { if (type == '-') { display = op1 - op2; op1 = Number(display); op2 = ''; type = ''; temp = ''; decimal = false; } else { if (type == '/') { display = op1 / op2; op1 = Number(display); op2 = ''; type = ''; temp = ''; decimal = false; } else { if (type == 'x') { display = op1 * op2; op1 = Number(display); op2 = ''; type = ''; temp = ''; decimal = false; } else { display = op1; op1 = Number(display); decimal = false; } } } } } b1.useHandCursor = false; b2.useHandCursor = false; b3.useHandCursor = false; b4.useHandCursor = false; b5.useHandCursor = false; b6.useHandCursor = false; b7.useHandCursor = false; b8.useHandCursor = false; b9.useHandCursor = false; b0.useHandCursor = false; b_divide.useHandCursor = false; b_subtract.useHandCursor = false; b_multiply.useHandCursor = false; bdot.useHandCursor = false; b_add.useHandCursor = false; be.useHandCursor = false; sqrt.useHandCursor = false; bc.useHandCursor = false; stop(); var op1 = 0; var display = ''; var type = ''; var temp = ''; decimal = false; op2 = ''; bdot.onPress = function () { if (decimal == true) { addNumber(''); } else { addNumber('.'); decimal = true; } }; b0.onPress = function () { addNumber(0); }; b1.onPress = function () { addNumber(1); }; b2.onPress = function () { addNumber(2); }; b3.onPress = function () { addNumber(3); }; b4.onPress = function () { addNumber(4); }; b5.onPress = function () { addNumber(5); }; b6.onPress = function () { addNumber(6); }; b7.onPress = function () { addNumber(7); }; b8.onPress = function () { addNumber(8); }; b9.onPress = function () { addNumber(9); }; bc.onPress = clear; b_add.onPress = function () { type = '+'; decimal = false; }; b_subtract.onPress = function () { type = '-'; decimal = false; }; b_divide.onPress = function () { type = '/'; decimal = false; }; b_multiply.onPress = function () { type = 'x'; decimal = false; }; sqrt.onPress = function () { display = Math.sqrt(op1); op1 = Number(display); op2 = ''; type = ''; temp = ''; }; be.onPress = function () { getAnswer(); }; csc.useHandCursor = false; b1.useHandCursor = false; b2.useHandCursor = false; b3.useHandCursor = false; b4.useHandCursor = false; b5.useHandCursor = false; b6.useHandCursor = false; b7.useHandCursor = false; b8.useHandCursor = false; b9.useHandCursor = false; b0.useHandCursor = false; b_divide.useHandCursor = false; b_subtract.useHandCursor = false; b_multiply.useHandCursor = false; bdot.useHandCursor = false; b_add.useHandCursor = false; be.useHandCursor = false; sqrt.useHandCursor = false; bc.useHandCursor = false; mmmmm.useHandCursor = false; } } button 417 { on (press) { startDrag('', false); } on (release) { stopDrag(); } } button 419 { on (press) { this.swapDepths(1000); startDrag(this, false); } on (release) { stopDrag(); } } button 420 { on (release) { _visible = false; } on (release) { gotoAndStop(1); } } movieClip 421 cal { frame 1 { stop(); } frame 2 { c.useHandCursor = false; a.useHandCursor = false; min.useHandCursor = false; } frame 10 { stop(); c.useHandCursor = false; a.useHandCursor = false; a2.useHandCursor = false; min.useHandCursor = false; } } button 428 { on (release) { prevFrame(); } } movieClip 432 WebServiceClasses { #initclip Object.registerClass('WebServiceClasses', mx.data.components.WebServices); #endinitclip frame 1 { stop(); } } button 457 { on (release) { nextFrame(); } } button 465 { on (release) { getURL('http://www.newgrounds.com/portal/', '_blank'); } } button 466 { on (release) { getURL('http://www.newgrounds.com/game/', '_blank'); } } button 467 { on (release) { getURL('http://www.newgrounds.com/toon/', '_blank'); } } button 468 { on (release) { getURL('http://www.newgrounds.com/collection/', '_blank'); } } button 469 { on (release) { getURL('http://www.newgrounds.com/collection/series', '_blank'); } } button 470 { on (release) { getURL('http://www.newgrounds.com/bbs/', '_blank'); } } button 471 { on (release) { getURL('http://www.newgrounds.com/audio/', '_blank'); } } button 475 { on (release) { getURL('http://www.newgrounds.com/collection/flashportalhistory', '_blank'); } } button 479 { on (release) { getURL('http://www.newgrounds.com/lit/faq', '_blank'); } } button 483 { on (release) { getURL('http://www.newgrounds.com/portal/stats', '_blank'); } } button 487 { on (release) { getURL('http://www.newgrounds.com/downloads/preloaders/', '_blank'); } } button 488 { on (release) { getURL('http://www.newgrounds.com/portal/list.php?which=mr&order=date', '_blank'); } } button 489 { on (release) { getURL('http://www.newgrounds.com/portal/list.php?which=top10', '_blank'); } } button 490 { on (release) { getURL('http://www.newgrounds.com/portal/list.php?which=top50', '_blank'); } } // unknown tag 88 length 217 button 495 { on (release) { getURL('http://www.newgrounds.com/portal/obituaries.php', '_blank'); } } button 497 { on (release) { getURL('http://www.newgrounds.com/portal/list.php?which=yest&type=A', '_blank'); } } button 499 { on (release) { getURL('http://www.newgrounds.com/privacy', '_blank'); } } button 501 { on (release) { getURL('http://www.newgrounds.com/legal', '_blank'); } } button 503 { on (release) { getURL('http://www.newgrounds.com/bbs/forum/5', '_blank'); } } button 505 { on (release) { getURL('http://www.newgrounds.com/news/', '_blank'); } } button 507 { on (release) { getURL('http://www.newgrounds.com/collection/flashtutorials', '_blank'); } } button 511 { on (release) { getURL('http://www.newgrounds.com/ngmag/alphas/', '_blank'); } } button 518 { on (release) { getURL('http://www.megaupload.com/?d=D12SYARC', '_blank'); } } button 519 { on (release) { getURL('http://matty2-and-a-half.newgrounds.com/', '_blank'); } } button 529 { on (release) { getURL('http://www.newgrounds.com/', '_blank'); } } button 532 { on (release) { getURL('http://www.newgrounds.com/portal/search/title/' + searchTextfeild.text, 'GET'); } } movieClip 537 { } button 539 { on (release) { nextFrame(); } } button 541 { on (release, releaseOutside) { gotoAndStop(1); } } button 544 { on (release) { gotoAndStop(1); } } button 547 { on (release) { gotoAndStop(1); } } button 551 { on (release) { nextFrame(); } } button 554 { on (release) { getURL('http://www.newgrounds.com/portal/search/author/' + searchTextfeild.text, 'GET'); } } button 556 { on (release, releaseOutside) { gotoAndStop(3); } } button 559 { on (release) { prevFrame(); } } button 560 { on (release) { prevFrame(); } } movieClip 561 { frame 1 { stop(); } frame 1 { s.useHandCursor = false; } frame 2 { stop(); } frame 2 { s.useHandCursor = false; sa.useHandCursor = false; t.useHandCursor = false; a.useHandCursor = false; } frame 3 { stop(); } frame 3 { s.useHandCursor = false; } frame 4 { stop(); } frame 4 { s.useHandCursor = false; sa.useHandCursor = false; t.useHandCursor = false; a.useHandCursor = false; } } button 568 { on (release) { getURL('http://www.newgrounds.com/account/', '_blank'); } } button 569 { on (release) { getURL('http://www.newgrounds.com/pm/', '_blank'); } } button 570 { on (release) { getURL('http://www.newgrounds.com/account/', '_blank'); } } button 571 { on (release) { getURL('http://www.newgrounds.com/account/logout', ''); } } movieClip 575 { frame 1 { function convertXML() { if (this.loaded) { content_feed_display = 'Done.'; } mainTag = new XML(); elementTag = new XML(); articleList = new Array(); elementList = new Array(); mainTag = this.firstChild.nextSibling; if (mainTag.nodeName.toLowerCase() == 'http://rss.ngfiles.com/latestsubmissions.xml') { articleList = mainTag.childNodes; content_feed_display = ''; i = 0; while (i <= articleList.length) { document_url = ''; headline_text = ''; if (articleList[i].nodeName.toLowerCase() == 'http://rss.ngfiles.com/latestsubmissions.xml') { elementList = articleList[i].childNodes; j = 0; while (j <= elementList.length) { elementTag = elementList[j]; elementType = elementTag.nodeName.toLowerCase(); if (elementType == 'headline_text') { headline_text = elementTag.firstChild.nodeValue; } else { if (elementType == 'url') { url = elementTag.firstChild.nodeValue; } } ++j; } content_feed_display += '<p><font size="+2"><a href="' + url + '" target="_new">' + headline_text + '</a></font></p>'; } ++i; } } } urlXML = new XML(); urlXML.onLoad = convertXML; content_feed_display = 'Please Wait!'; urlXML.load('http://rss.ngfiles.com/latestsubmissions.xml'); } } button 577 { on (release) { gotoAndPlay(2); } } button 580 { on (release) { gotoAndPlay(101); } } movieClip 581 { frame 1 { stop(); } frame 100 { stop(); } frame 200 { gotoAndStop(1); } } button 591 { on (release) { getURL('http://www.google.com/mgyhp.html', '_blank'); } } button 597 { on (release) { getURL('http://www.google.com/search?hl=en&q=' + g.text, 'GET'); } } movieClip 599 { frame 1 { d.useHandCursor = false; } instance of movieClip 244 Button { onClipEvent (construct) { icon = ''; label = 'I\'m Feeling Unlucky'; labelPlacement = 'right'; selected = false; toggle = true; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_click(eventObj) { getURL('http://www.google.com/search?hl=en&q=&btnI=I%27m+Feeling+Lucky', '_blank'); } this.addEventListener('click', __f_click); } } } movieClip 601 { frame 1 { stop(); } frame 2 { stop(); } } button 602 { on (press) { this.swapDepths(1000); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); } } button 604 { on (release) { _visible = false; } on (release) { gotoAndStop(1); } } movieClip 605 I_E { frame 1 { stop(); } frame 2 { c.useHandCursor = false; min.useHandCursor = false; } frame 6 { stop(); } frame 6 { c.useHandCursor = false; f.useHandCursor = false; min.useHandCursor = false; } frame 6 { stop(); } frame 6 { a.useHandCursor = false; ab.useHandCursor = false; abc.useHandCursor = false; abcd.useHandCursor = false; } } // unknown tag 88 length 63 movieClip 612 bama { frame 1 { d.useHandCursor = false; } } movieClip 614 seconds { } movieClip 617 { } movieClip 619 { } movieClip 620 clock { } movieClip 622 flake { } movieClip 624 CalendarLayout { #initclip Object.registerClass('CalendarLayout', mx.controls.CalendarLayout); #endinitclip frame 1 { stop(); } } movieClip 626 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'symbolColor'); } } movieClip 627 backMonthDown { } movieClip 628 backMonthUp { } movieClip 630 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'symbolColor'); } } movieClip 631 fwdMonthDown { } movieClip 632 fwdMonthUp { } movieClip 634 cal_todayIndicator { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor'); } } movieClip 636 cal_disabledArrow { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'symbolDisabledColor'); } } movieClip 637 backMonthDisabled { } movieClip 638 fwdMonthDisabled { } movieClip 639 DateChooserAssets { } movieClip 640 DateChooser { #initclip Object.registerClass('DateChooser', mx.controls.DateChooser); #endinitclip frame 1 { stop(); } instance of movieClip 240 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 624 CalendarLayout { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } frame 1 { function menuChoiceOne() { getURL('http://www.newgrounds.org', '_blank'); } function menuChoiceTwo() { getURL('http://muhamed29.newgrounds.com/', '_blank'); } function menuChoiceThree() { getURL('http://www.freewebs.com/mischeifboy/', '_blank'); } function menuChoiceFour() { getURL('http://www.newgrounds.com/collection/flashtutorials.html', '_blank'); } function menuChoiceFive() { getURL('http://www.newgrounds.com/collection/windows.html', '_blank'); } b.useHandCursor = false; h.useHandCursor = false; m.useHandCursor = false; l.useHandCursor = false; this.menu = NewMenu; _root.menu = myMenu; removeMovieClip(wingame); removeMovieClip(ship); removeMovieClip(starfield); removeMovieClip(star); removeMovieClip(showlevel); removeMovieClip(poweruptrishot); removeMovieClip(poweruplevelup); removeMovieClip(newgame); removeMovieClip(mainscreen); removeMovieClip(losegame); removeMovieClip(lazerright); removeMovieClip(lazerleft); removeMovieClip(lazer); removeMovieClip(hitarea); removeMovieClip(enemyship4explosion); removeMovieClip(enemyship4); removeMovieClip(enemyship3explosion); removeMovieClip(enemyship3); removeMovieClip(enemyship2explosion); removeMovieClip(enemyship2); removeMovieClip(enemyship1explosion); removeMovieClip(enemyship1); removeMovieClip(enemylazer4); removeMovieClip(enemylazer3); removeMovieClip(enemylazer2); removeMovieClip(enemylazer1); removeMovieClip(enemyboulder2); removeMovieClip(enemyboulder1); removeMovieClip(enemybosslevel2); removeMovieClip(enemybosslevel1explosion); removeMovieClip(enemybosslevel1); removeMovieClip(enemyboss2segment); removeMovieClip(enemyship3); NewMenu = new ContextMenu(); NewMenu.hideBuiltInItems(); NewMenu.customItems.push(new ContextMenuItem('Do you know:-Everybody love this site!', menuChoiceOne)); NewMenu.customItems.push(new ContextMenuItem('Visit my Profile!', menuChoiceTwo)); NewMenu.customItems.push(new ContextMenuItem('Look at My Site!', menuChoiceThree)); NewMenu.customItems.push(new ContextMenuItem('More Macromedia Flash Tutorials', menuChoiceFour)); NewMenu.customItems.push(new ContextMenuItem('Windows Collection on NG!', menuChoiceFive)); this.menu = NewMenu; } frame 1 { NewgroundsAPI.connectMovie(1528); } movieClip 644 { } movieClip 648 { } movieClip 658 { frame 40 { stop(); } } movieClip 671 { } button 672 { on (press) { tellTarget ('_root') { nextFrame(); } } } button 673 { on (press) { gotoAndStop('end'); _root.play(); } } movieClip 674 { instance of movieClip 648 { onClipEvent (load) { _root.stop(); PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndStop('lastframe'); } } onClipEvent (enterFrame) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndPlay('loaded'); } } } frame 101 { play(); } frame 165 { stop(); } } button 680 { on (release) { NewgroundsAPI.loadNewgrounds(); } } button 685 { on (release) { NewgroundsAPI.loadNewgrounds(); } } movieClip 686 { } movieClip 687 { frame 1 { function startAd(ngad_url) { trace('opening ' + ngad_url); System.security.allowDomain('70.87.128.99'); System.security.allowInsecureDomain('70.87.128.99'); System.security.allowDomain('ads.shizmoo.com'); System.security.allowInsecureDomain('ads.shizmoo.com'); System.security.allowDomain('www.cpmstar.com'); System.security.allowInsecureDomain('www.cpmstar.com'); System.security.allowDomain('server.cpmstar.com'); System.security.allowInsecureDomain('server.cpmstar.com'); var ngads_redirect = new XML(); ngads_redirect.ignoreWhite = true; ngads_redirect.onLoad = function (success) { trace('[NEWGROUNDS FLASH ADS] :: You may get a \'Security Sandbox Violation\' ... this is normal, do not freak out!'); if (success) { ng_ad.loadMovie(ngads_redirect.toString(), 'GET'); } else {} }; ngads_redirect.load(ngad_url); } if (NewgroundsAPI.getAdURL()) { startAd(NewgroundsAPI.getAdURL()); } NewgroundsAPI.onAdsApproved = function (ad_url) { startAd(ad_url); }; stop(); } } // unknown tag 88 length 132 button 694 { on (release) { getURL('http://www.newgrounds.com/portal/view/413260', '_blank'); } } button 699 { on (release) { getURL('http://www.newgrounds.com/portal/view/417524', '_blank'); } } button 704 { on (release) { _quality = 'LOW'; if ('LOW') { } } } button 708 { on (release) { _quality = 'medium'; if ('medium') { } } } button 712 { on (release) { _quality = 'HIGH'; if ('HIGH') { } } } button 716 { on (release) { _quality = 'BEST'; if ('BEST') { } } } movieClip 719 { } // unknown tag 88 length 179 // unknown tag 88 length 75 // unknown tag 88 length 4 // unknown tag 88 length 223 movieClip 736 { } movieClip 738 { } movieClip 742 { } movieClip 743 { } movieClip 744 { } movieClip 746 { } movieClip 748 { } movieClip 750 { } movieClip 752 { } movieClip 753 { } instance of movieClip 622 flake { onClipEvent (load) { amount = 100; mWidth = Stage.width; mHeight = Stage.height; var i = 0; while (i < amount) { thisFlake = this.attachMovie('flake', 'flake' + i, i); with (thisFlake) { _x = Math.random() * mWidth; _y = Math.random() * mHeight; _alpha = 40 + Math.random() * 60; _yscale = _alpha; _xscale = _yscale; } thisFlake.yspeed = Math.random() * 2 + 0.1; thisFlake.increment = -0.025 + Math.random() * 0.05; thisFlake.onEnterFrame = function () { this.radians += this.increment; this._y += this.yspeed; this._x += Math.sin(this.radians); if (this._y >= mHeight) { this._y = -10; this._x = -10 + Math.random() * mWidth; } if (this._x >= mWidth || this._x <= 0) { this._y = -10; this._x = -10 + Math.random() * mWidth; } }; ++i; } } } movieClip 2004 __Packages.NewgroundsAPI { #initclip if (!_global.NewgroundsAPI) { var v1 = function () {}; _global.NewgroundsAPI = v1; var v2 = v1.prototype; v1.connectMovie = function (id) { if (!id) { NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.connectMovie(id:Number)'); } else { if (!NewgroundsAPI.tracker_id) { NewgroundsAPI.SendMessage('Connecting to API gateway...'); NewgroundsAPI.tracker_id = id; NewgroundsAPI.host = (_url.split('/'))[2].toLowerCase(); if (NewgroundsAPI.host.length < 1) { NewgroundsAPI.host = 'localhost'; } var v2 = new Object(); NewgroundsAPI.SendEvent(NewgroundsAPI.MOVIE_VIEWS); } } }; v1.setMovieVersion = function (movie_version) { if (!movie_version) { NewgroundsAPI.SendError('Missing required \'version\' in NewgroundsAPI.setMovieVersion(version:String)'); } else { NewgroundsAPI.version = movie_version; } }; v1.debugMode = function () { NewgroundsAPI.debug = true; }; v1.addCustomEvent = function (stat_id, stat_name) { if (!stat_id) { NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)'); } else { if (!stat_name) { NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)'); } else { NewgroundsAPI.custom_events[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id; NewgroundsAPI.SendMessage('Created custom event: ' + stat_name); } } }; v1.addCustomLink = function (stat_id, stat_name) { if (!stat_id) { NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)'); } else { if (!stat_name) { NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)'); } else { NewgroundsAPI.custom_links[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id; NewgroundsAPI.SendMessage('Created custom link ' + stat_id + ': ' + stat_name); } } }; v1.loadMySite = function () { NewgroundsAPI.SendLink(NewgroundsAPI.AUTHOR_SITE); }; v1.loadNewgrounds = function (special) { if (special) { var v1 = {'page': special}; } NewgroundsAPI.SendLink(NewgroundsAPI.NEWGROUNDS, v1); }; v1.logCustomEvent = function (event_name) { if (!event_name) { NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.logCustomEvent(event_name:String)'); } else { if (!NewgroundsAPI.custom_events[event_name]) { NewgroundsAPI.SendError('Attempted to log undefined custom event: ' + event_name); } else { NewgroundsAPI.SendEvent(NewgroundsAPI.custom_events[event_name]); } } }; v1.loadCustomLink = function (link_name) { if (!link_name) { NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.loadCustomLink(link_name:String)'); } else { if (!NewgroundsAPI.custom_links[link_name]) { NewgroundsAPI.SendError('Attempted to open undefined custom link: ' + link_name); } else { NewgroundsAPI.SendLink(NewgroundsAPI.custom_links[link_name]); } } }; v1.getAdURL = function () { return NewgroundsAPI.movie_options.ad_url; }; v1.getMovieURL = function () { if (NewgroundsAPI.movie_options.movie_url) { return NewgroundsAPI.movie_options.movie_url; } else { return 'Newgrounds.com'; } }; v1.getNewVersionURL = function () { return NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + NewgroundsAPI.NEW_VERSION; }; v1.SendEvent = function (id) { NewgroundsAPI.SendStat(id, false); }; v1.SendLink = function (id, extra) { NewgroundsAPI.SendStat(id, true, extra); }; v1.ReadGatewayData = function (params) { for (var v2 in params) { params[v2] = unescape(params[v2]); NewgroundsAPI.movie_options[v2] = params[v2]; } if (params.settings_loaded) { NewgroundsAPI.SendMessage('You have successfully connected to the Newgrounds API gateway!'); NewgroundsAPI.SendMessage('Movie Identified as \'' + NewgroundsAPI.movie_options.movie_name + '\''); if (NewgroundsAPI.movie_options.message) { NewgroundsAPI.SendMessage(NewgroundsAPI.movie_options.message); } if (NewgroundsAPI.movie_options.ad_url) { NewgroundsAPI.SendMessage('Your movie has been approved to run Flash Ads'); NewgroundsAPI.onAdsApproved(NewgroundsAPI.movie_options.ad_url); } if (NewgroundsAPI.movie_options.movie_version and NewgroundsAPI.movie_options.movie_version.toString() != NewgroundsAPI.version.toString()) { NewgroundsAPI.SendMessage('WARNING: The movie version configured in your API settings does not match this movie\'s version!'); NewgroundsAPI.onNewVersionAvailable(NewgroundsAPI.movie_options.movie_version, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL()); } if (NewgroundsAPI.movie_options.deny_host) { NewgroundsAPI.SendMessage('You have blocked \'localHost\' in your API settings.'); NewgroundsAPI.SendMessage('If you wish to test your movie you will need to remove this block.'); NewgroundsAPI.onDenyHost(NewgroundsAPI.host, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL()); } if (NewgroundsAPI.movie_options.request_portal_url == 1) { var v4 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&portal_url=' + escape(_url); var v3 = new XML(); v3.ignoreWhite = true; v3.load(v4); } } else { if (!NewgroundsAPI.movie_options.settings_loaded) { NewgroundsAPI.SendError('Could not establish connection to the API gateway.'); } } }; v1.SendStat = function (stat_id, open_in_browser, extra) { if (!NewgroundsAPI.tracker_id) { NewgroundsAPI.SendError('API calls cannot be made without a valid movie id.'); NewgroundsAPI.SendError('Did you remember to add the "NewgroundsAPI.connectMovie()" code?'); } else { var v7 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + stat_id; for (var v9 in extra) { v7 += '&' + escape(v9) + '=' + escape(extra[v9]); } trace(v7); if (NewgroundsAPI.debug) { v7 += '&debug=1'; } if (open_in_browser) { getURL(v7, '_blank'); } else { var v10 = new XML(); v10.ignoreWhite = true; v10.onLoad = function (success) { var v6 = new Object(); var v3 = 0; while (v3 < this.firstChild.childNodes.length) { var v4 = this.firstChild.childNodes[v3]; var v5 = v4.nodeName; var v2 = v4.attributes.value; if (v2 == Number(v2)) { v2 = Number(v2); } v6[v5] = v2; ++v3; } NewgroundsAPI.ReadGatewayData(v6); }; v10.load(v7); } } }; v1.SendError = function (msg) { trace('[NEWGROUNDS API ERROR] :: ' + msg); }; v1.SendMessage = function (msg) { trace('[NEWGROUNDS API] :: ' + msg); }; v1.InitTextFormats = function () { if (!NewgroundsAPI.error_format) { NewgroundsAPI.error_format = new TextFormat(); NewgroundsAPI.error_format.font = 'Arial Black'; NewgroundsAPI.error_format.size = 48; NewgroundsAPI.error_format.color = 16711680; } if (!NewgroundsAPI.header_format) { NewgroundsAPI.header_format = new TextFormat(); NewgroundsAPI.header_format.font = 'Arial Black'; NewgroundsAPI.header_format.size = 24; NewgroundsAPI.header_format.color = 16777215; } if (!NewgroundsAPI.normal_format) { NewgroundsAPI.normal_format = new TextFormat(); NewgroundsAPI.normal_format.font = 'Arial'; NewgroundsAPI.normal_format.bold = true; NewgroundsAPI.normal_format.size = 12; NewgroundsAPI.normal_format.color = 16777215; } if (!NewgroundsAPI.link_format) { NewgroundsAPI.link_format = new TextFormat(); NewgroundsAPI.link_format.color = 16776960; NewgroundsAPI.link_format.underline = true; } }; v1.onNewVersionAvailable = function (version, movie_url, redirect_url) { NewgroundsAPI.InitTextFormats(); var v2 = new Object(); v2.x = Stage.width / 2; v2.y = Stage.height / 2; _root.createEmptyMovieClip('NGAPI_new_version_overlay', _root.getNextHighestDepth()); _root.NGAPI_new_version_overlay.lineStyle(1, 0, 100); _root.NGAPI_new_version_overlay.beginFill(0, 70); _root.NGAPI_new_version_overlay.moveTo(-10, -10); _root.NGAPI_new_version_overlay.lineTo(-10, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, -10); _root.NGAPI_new_version_overlay.lineTo(-10, -10); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.lineStyle(10, 0, 100); _root.NGAPI_new_version_overlay.beginFill(51); _root.NGAPI_new_version_overlay.moveTo(v2.x - 240, v2.y - 120); _root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y - 120); _root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y + 80); _root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y + 80); _root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y - 120); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.createEmptyMovieClip('exit', 1000); _root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100); _root.NGAPI_new_version_overlay.exit.beginFill(0, 50); _root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 210, v2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 110); _root.NGAPI_new_version_overlay.exit.endFill(); _root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 214, v2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 226, v2.y - 94); _root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 226, v2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 214, v2.y - 94); _root.NGAPI_new_version_overlay.exit.onMouseUp = function () { if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) { _root.NGAPI_new_version_overlay.removeMovieClip(); } }; var v3 = 'Version ' + version + ' is now available at:' + '\n'; var v5 = v3.length; v3 += movie_url; var v4 = v3.length; _root.NGAPI_new_version_overlay.createTextField('mouseblocker', 99, -10, -10, 1000, 1000); _root.NGAPI_new_version_overlay.createTextField('newversion', 100, v2.x - 210, v2.y - 90, 400, 80); _root.NGAPI_new_version_overlay.newversion.text = 'New Version Available!'; _root.NGAPI_new_version_overlay.newversion.setTextFormat(NewgroundsAPI.header_format); _root.NGAPI_new_version_overlay.createTextField('message', 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40); _root.NGAPI_new_version_overlay.message.text = v3; _root.NGAPI_new_version_overlay.message.multiline = true; _root.NGAPI_new_version_overlay.message.wordWrap = true; _root.NGAPI_new_version_overlay.message.html = true; _root.NGAPI_new_version_overlay.message.setTextFormat(NewgroundsAPI.normal_format); NewgroundsAPI.link_format.url = redirect_url; _root.NGAPI_new_version_overlay.message.setTextFormat(v5, v4, NewgroundsAPI.link_format); }; v1.onDenyHost = function (hostname, movie_url, redirect_url) { NewgroundsAPI.InitTextFormats(); _root.createEmptyMovieClip('NGAPI_deny_host_overlay', _root.getNextHighestDepth()); _root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100); _root.NGAPI_deny_host_overlay.beginFill(6684672); _root.NGAPI_deny_host_overlay.moveTo(0, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, 0); _root.NGAPI_deny_host_overlay.endFill(); var v2 = 'This movie has not been approved for use on ' + hostname + '.'; v2 += '\r\rFor an aproved copy, please visit:\r'; var v4 = v2.length; v2 += movie_url; var v3 = v2.length; _root.NGAPI_deny_host_overlay.createTextField('mousekill', 100, 0, 0, Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.createTextField('error', 101, (Stage.width - 400) / 2, Stage.height / 2 - 100, 400, 200); _root.NGAPI_deny_host_overlay.error.text = 'ERROR!'; _root.NGAPI_deny_host_overlay.error.setTextFormat(NewgroundsAPI.error_format); _root.NGAPI_deny_host_overlay.createTextField('message', 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200); _root.NGAPI_deny_host_overlay.message.text = v2; _root.NGAPI_deny_host_overlay.message.multiline = true; _root.NGAPI_deny_host_overlay.message.wordWrap = true; _root.NGAPI_deny_host_overlay.message.html = true; _root.NGAPI_deny_host_overlay.message.setTextFormat(NewgroundsAPI.normal_format); NewgroundsAPI.link_format.url = redirect_url; _root.NGAPI_deny_host_overlay.message.setTextFormat(v4, v3, NewgroundsAPI.link_format); }; v1.isInstalled = function () { return true; }; v1.onAdsApproved = function (ad_url) {}; v1.movie_options = new Object(); v1.custom_events = new Object(); v1.custom_links = new Object(); v1.MOVIE_VIEWS = 1; v1.AUTHOR_SITE = 2; v1.NEWGROUNDS = 3; v1.NEW_VERSION = 4; v1.CUSTOM_STATS = 50; v1.GATEWAY_URL = 'http://www.ngads.com/gateway.php'; ASSetPropFlags(_global.NewgroundsAPI.prototype, null, 1); } #endinitclip } movieClip 212 __Packages.mx.core.UIObject { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.UIObject) { var v1 = function () { super(); this.constructObject(); }; mx.core.UIObject = v1; var v2 = new MovieClip(); mx.core.UIObject.prototype = v2; v2.__get__width = function () { return this._width; }; v2.__get__height = function () { return this._height; }; v2.__get__left = function () { return this._x; }; v2.__get__x = function () { return this._x; }; v2.__get__top = function () { return this._y; }; v2.__get__y = function () { return this._y; }; v2.__get__right = function () { return this._parent.width - (this._x + this.__get__width()); }; v2.__get__bottom = function () { return this._parent.height - (this._y + this.__get__height()); }; v2.getMinHeight = function (Void) { return this._minHeight; }; v2.setMinHeight = function (h) { this._minHeight = h; }; v2.__get__minHeight = function () { return this.getMinHeight(); }; v2.__set__minHeight = function (h) { this.setMinHeight(h); return this.__get__minHeight(); }; v2.getMinWidth = function (Void) { return this._minWidth; }; v2.setMinWidth = function (w) { this._minWidth = w; }; v2.__get__minWidth = function () { return this.getMinWidth(); }; v2.__set__minWidth = function (w) { this.setMinWidth(w); return this.__get__minWidth(); }; v2.setVisible = function (x, noEvent) { if (x != this._visible) { this._visible = x; if (noEvent != true) { this.dispatchEvent({'type': x ? 'reveal' : 'hide'}); } } }; v2.__get__visible = function () { return this._visible; }; v2.__set__visible = function (x) { this.setVisible(x, false); return this.__get__visible(); }; v2.__get__scaleX = function () { return this._xscale; }; v2.__set__scaleX = function (x) { this._xscale = x; return this.__get__scaleX(); }; v2.__get__scaleY = function () { return this._yscale; }; v2.__set__scaleY = function (y) { this._yscale = y; return this.__get__scaleY(); }; v2.doLater = function (obj, fn) { if (this.methodTable == undefined) { this.methodTable = new Array(); } this.methodTable.push({'obj': obj, 'fn': fn}); this.onEnterFrame = this.doLaterDispatcher; }; v2.doLaterDispatcher = function (Void) { delete this.onEnterFrame; if (this.invalidateFlag) { this.redraw(); } var v3 = this.methodTable; this.methodTable = new Array(); if (v3.length > 0) { var v2; v2 = v3.shift(); while (v2 != undefined) { v2.obj[v2.fn](); } } }; v2.cancelAllDoLaters = function (Void) { delete this.onEnterFrame; this.methodTable = new Array(); }; v2.invalidate = function (Void) { this.invalidateFlag = true; this.onEnterFrame = this.doLaterDispatcher; }; v2.invalidateStyle = function (Void) { this.invalidate(); }; v2.redraw = function (bAlways) { if (this.invalidateFlag || bAlways) { this.invalidateFlag = false; var v2; for (v2 in this.tfList) { this.tfList[v2].draw(); } this.draw(); this.dispatchEvent({'type': 'draw'}); } }; v2.draw = function (Void) {}; v2.move = function (x, y, noEvent) { var v3 = this._x; var v2 = this._y; this._x = x; this._y = y; if (noEvent != true) { this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2}); } }; v2.setSize = function (w, h, noEvent) { var v2 = this.__width; var v3 = this.__height; this.__width = w; this.__height = h; this.size(); if (noEvent != true) { this.dispatchEvent({'type': 'resize', 'oldWidth': v2, 'oldHeight': v3}); } }; v2.size = function (Void) { this._width = this.__width; this._height = this.__height; }; v2.drawRect = function (x1, y1, x2, y2) { this.moveTo(x1, y1); this.lineTo(x2, y1); this.lineTo(x2, y2); this.lineTo(x1, y2); this.lineTo(x1, y1); }; v2.createLabel = function (name, depth, text) { this.createTextField(name, depth, 0, 0, 0, 0); var v2 = this[name]; v2._color = mx.core.UIObject.textColorList; v2._visible = false; v2.__text = text; if (this.tfList == undefined) { this.tfList = new Object(); } this.tfList[name] = v2; v2.invalidateStyle(); this.invalidate(); v2.styleName = this; return v2; }; v2.createObject = function (linkageName, id, depth, initobj) { return this.attachMovie(linkageName, id, depth, initobj); }; v2.createClassObject = function (className, id, depth, initobj) { var v3 = className.symbolName == undefined; if (v3) { Object.registerClass(className.symbolOwner.symbolName, className); } var v4 = this.createObject(className.symbolOwner.symbolName, id, depth, initobj); if (v3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return v4; }; v2.createEmptyObject = function (id, depth) { return this.createClassObject(mx.core.UIObject, id, depth); }; v2.destroyObject = function (id) { var v2 = this[id]; if (v2.getDepth() < 0) { var v4 = this.buildDepthTable(); var v5 = this.findNextAvailableDepth(0, v4, 'up'); var v3 = v5; v2.swapDepths(v3); } v2.removeMovieClip(); delete this[id]; }; v2.getSkinIDName = function (tag) { return this.idNames[tag]; }; v2.setSkin = function (tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj); }; v2.createSkin = function (tag) { var v2 = this.getSkinIDName(tag); this.createEmptyObject(v2, tag); return this[v2]; }; v2.createChildren = function (Void) {}; v2._createChildren = function (Void) { this.createChildren(); this.childrenCreated = true; }; v2.constructObject = function (Void) { if (this._name == undefined) { return undefined; } this.init(); this._createChildren(); this.createAccessibilityImplementation(); this._endInit(); if (this.validateNow) { this.redraw(true); } else { this.invalidate(); } }; v2.initFromClipParameters = function (Void) { var v4 = false; var v2; for (v2 in this.clipParameters) { if (this.hasOwnProperty(v2)) { v4 = true; this['def_' + v2] = this[v2]; delete this[v2]; } } if (v4) { for (v2 in this.clipParameters) { var v3 = this['def_' + v2]; if (v3 != undefined) { this[v2] = v3; } } } }; v2.init = function (Void) { this.__width = this._width; this.__height = this._height; if (this.initProperties == undefined) { this.initFromClipParameters(); } else { this.initProperties(); } if (_global.cascadingStyles == true) { this.stylecache = new Object(); } }; v2.getClassStyleDeclaration = function (Void) { var v4 = this; var v3 = this.className; while (v3 != undefined) { if (this.ignoreClassStyleDeclaration[v3] == undefined) { if (_global.styles[v3] != undefined) { return _global.styles[v3]; } } v4 = v4.__proto__; v3 = v4.className; } }; v2.setColor = function (color) {}; v2.__getTextFormat = function (tf, bAll) { var v8 = this.stylecache.tf; if (v8 != undefined) { var v3; for (v3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) { if (tf[v3] == undefined) { tf[v3] = v8[v3]; } } } return false; } var v6 = false; for (v3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) { if (tf[v3] == undefined) { var v5 = this._tf[v3]; if (v5 != undefined) { tf[v3] = v5; } else { if (v3 == 'font' && this.fontFamily != undefined) { tf[v3] = this.fontFamily; } else { if (v3 == 'size' && this.fontSize != undefined) { tf[v3] = this.fontSize; } else { if (v3 == 'color' && this.color != undefined) { tf[v3] = this.color; } else { if (v3 == 'leftMargin' && this.marginLeft != undefined) { tf[v3] = this.marginLeft; } else { if (v3 == 'rightMargin' && this.marginRight != undefined) { tf[v3] = this.marginRight; } else { if (v3 == 'italic' && this.fontStyle != undefined) { tf[v3] = this.fontStyle == v3; } else { if (v3 == 'bold' && this.fontWeight != undefined) { tf[v3] = this.fontWeight == v3; } else { if (v3 == 'align' && this.textAlign != undefined) { tf[v3] = this.textAlign; } else { if (v3 == 'indent' && this.textIndent != undefined) { tf[v3] = this.textIndent; } else { if (v3 == 'underline' && this.textDecoration != undefined) { tf[v3] = this.textDecoration == v3; } else { if (v3 == 'embedFonts' && this.embedFonts != undefined) { tf[v3] = this.embedFonts; } else { v6 = true; } } } } } } } } } } } } } } } if (v6) { var v9 = this.styleName; if (v9 != undefined) { if (typeof v9 != 'string') { v6 = v9.__getTextFormat(tf, true, this); } else { if (_global.styles[v9] != undefined) { v6 = _global.styles[v9].__getTextFormat(tf, true, this); } } } } if (v6) { var v10 = this.getClassStyleDeclaration(); if (v10 != undefined) { v6 = v10.__getTextFormat(tf, true, this); } } if (v6) { if (_global.cascadingStyles) { if (this._parent != undefined) { v6 = this._parent.__getTextFormat(tf, false); } } } if (v6) { v6 = _global.style.__getTextFormat(tf, true, this); } return v6; }; v2._getTextFormat = function (Void) { var v2 = this.stylecache.tf; if (v2 != undefined) { return v2; } v2 = new TextFormat(); this.__getTextFormat(v2, true); this.stylecache.tf = v2; if (this.enabled == false) { var v3 = this.getStyle('disabledColor'); v2.color = v3; } return v2; }; v2.getStyleName = function (Void) { var v2 = this.styleName; if (v2 != undefined) { if (typeof v2 != 'string') { return v2.getStyleName(); } else { return v2; } } if (this._parent != undefined) { return this._parent.getStyleName(); } else { return undefined; } }; v2.getStyle = function (styleProp) { var v3; ++_global.getStyleCounter; if (this[styleProp] != undefined) { return this[styleProp]; } var v6 = this.styleName; if (v6 != undefined) { if (typeof v6 != 'string') { v3 = v6.getStyle(styleProp); } else { var v7 = _global.styles[v6]; v3 = v7.getStyle(styleProp); } } if (v3 != undefined) { return v3; } v7 = this.getClassStyleDeclaration(); if (v7 != undefined) { v3 = v7[styleProp]; } if (v3 != undefined) { return v3; } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) { var v5 = this.stylecache; if (v5 != undefined) { if (v5[styleProp] != undefined) { return v5[styleProp]; } } if (this._parent != undefined) { v3 = this._parent.getStyle(styleProp); } else { v3 = _global.style[styleProp]; } if (v5 != undefined) { v5[styleProp] = v3; } return v3; } } if (v3 == undefined) { v3 = _global.style[styleProp]; } return v3; }; v1.mergeClipParameters = function (o, p) { for (var v3 in p) { o[v3] = p[v3]; } return true; }; v1.symbolName = 'UIObject'; v1.symbolOwner = mx.core.UIObject; v1.version = '2.0.2.127'; v1.textColorList = {'color': 1, 'disabledColor': 1}; v2.invalidateFlag = false; v2.lineWidth = 1; v2.lineColor = 0; v2.tabEnabled = false; v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1}; v2.addProperty('bottom', v2.__get__bottom, function () {}); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('left', v2.__get__left, function () {}); v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight); v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth); v2.addProperty('right', v2.__get__right, function () {}); v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX); v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY); v2.addProperty('top', v2.__get__top, function () {}); v2.addProperty('visible', v2.__get__visible, v2.__set__visible); v2.addProperty('width', v2.__get__width, function () {}); v2.addProperty('x', v2.__get__x, function () {}); v2.addProperty('y', v2.__get__y, function () {}); ASSetPropFlags(mx.core.UIObject.prototype, null, 1); } #endinitclip } movieClip 213 __Packages.mx.core.UIComponent { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.UIComponent) { var v1 = function () { super(); }; mx.core.UIComponent = v1; var v2 = new mx.core.UIObject(); mx.core.UIComponent.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.setVisible = function (x, noEvent) { super.setVisible(x, noEvent); }; v2.enabledChanged = function (id, oldValue, newValue) { this.setEnabled(newValue); this.invalidate(); delete this.stylecache.tf; return newValue; }; v2.setEnabled = function (enabled) { this.invalidate(); }; v2.getFocus = function () { var selFocus = Selection.getFocus(); return (selFocus === null) ? null : eval(selFocus); }; v2.setFocus = function () { Selection.setFocus(this); }; v2.getFocusManager = function () { var v2 = this; while (v2 != undefined) { if (v2.focusManager != undefined) { return v2.focusManager; } v2 = v2._parent; } return undefined; }; v2.onKillFocus = function (newFocus) { this.removeEventListener('keyDown', this); this.removeEventListener('keyUp', this); this.dispatchEvent({'type': 'focusOut'}); this.drawFocus(false); }; v2.onSetFocus = function (oldFocus) { this.addEventListener('keyDown', this); this.addEventListener('keyUp', this); this.dispatchEvent({'type': 'focusIn'}); if ((this.getFocusManager()).bDrawFocus != false) { this.drawFocus(true); } }; v2.findFocusInChildren = function (o) { if (o.focusTextField != undefined) { return o.focusTextField; } if (o.tabEnabled == true) { return o; } return undefined; }; v2.findFocusFromObject = function (o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return undefined; } if (o._parent.tabEnabled == true) { o = o._parent; return o; } if (o._parent.tabChildren) { o = this.findFocusInChildren(o._parent); return o; } o = this.findFocusFromObject(o._parent); } return o; }; v2.pressFocus = function () { var v3 = this.findFocusFromObject(this); var v2 = this.getFocus(); if (v3 != v2) { v2.drawFocus(false); if ((this.getFocusManager()).bDrawFocus != false) { v3.drawFocus(true); } } }; v2.releaseFocus = function () { var v2 = this.findFocusFromObject(this); if (v2 != this.getFocus()) { v2.setFocus(); } }; v2.isParent = function (o) { while (o != undefined) { if (o == this) { return true; } o = o._parent; } return false; }; v2.size = function () {}; v2.init = function () { super.init(); this._xscale = 100; this._yscale = 100; this._focusrect = _global.useFocusRect == false; this.watch('enabled', this.enabledChanged); if (this.enabled == false) { this.setEnabled(false); } }; v2.dispatchValueChangedEvent = function (value) { this.dispatchEvent({'type': 'valueChanged', 'value': value}); }; v1.symbolName = 'UIComponent'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.127'; v1.kStretch = 5000; v2.focusEnabled = true; v2.tabEnabled = true; v2.origBorderStyles = {'themeColor': 16711680}; v2.clipParameters = {}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.core.UIComponent.prototype, null, 1); } #endinitclip } movieClip 214 __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 215 __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 306 __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 307 __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 308 __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 309 __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 310 __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 311 __Packages.mx.skins.CustomBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.CustomBorder) { var v1 = function () { super(); }; mx.skins.CustomBorder = v1; var v2 = new mx.skins.Border(); mx.skins.CustomBorder.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.init = function (Void) { super.init(); }; v2.createChildren = function (Void) {}; v2.draw = function (Void) { if (this.l_mc == undefined) { var v2 = this.setSkin(mx.skins.CustomBorder.tagL, this.leftSkin); if (this.horizontal) { this.minHeight = this.l_mc._height; this.minWidth = this.l_mc._width; } else { this.minHeight = this.l_mc._height; this.minWidth = this.l_mc._width; } } if (this.m_mc == undefined) { this.setSkin(mx.skins.CustomBorder.tagM, this.middleSkin); if (this.horizontal) { this.minHeight = this.m_mc._height; this.minWidth += this.m_mc._width; } else { this.minHeight += this.m_mc._height; this.minWidth = this.m_mc._width; } } if (this.r_mc == undefined) { this.setSkin(mx.skins.CustomBorder.tagR, this.rightSkin); if (this.horizontal) { this.minHeight = this.r_mc._height; this.minWidth += this.r_mc._width; } else { this.minHeight += this.r_mc._height; this.minWidth = this.r_mc._width; } } this.size(); }; v2.size = function (Void) { this.l_mc.move(0, 0); if (this.horizontal) { this.r_mc.move(this.__get__width() - this.r_mc.width, 0); this.m_mc.move(this.l_mc.width, 0); this.m_mc.setSize(this.r_mc.x - this.m_mc.x, this.m_mc.height); } else { this.r_mc.move(0, this.__get__height() - this.r_mc.height, 0); this.m_mc.move(0, this.l_mc.height); this.m_mc.setSize(this.m_mc.width, this.r_mc.y - this.m_mc.y); } }; v1.symbolName = 'CustomBorder'; v1.symbolOwner = mx.skins.CustomBorder; v1.version = '2.0.2.127'; v2.className = 'CustomBorder'; v1.tagL = 0; v1.tagM = 1; v1.tagR = 2; v2.idNames = new Array('l_mc', 'm_mc', 'r_mc'); v2.leftSkin = 'F3PieceLeft'; v2.middleSkin = 'F3PieceMiddle'; v2.rightSkin = 'F3PieceRight'; v2.horizontal = true; v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.skins.CustomBorder.prototype, null, 1); } #endinitclip } movieClip 312 __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 313 __Packages.mx.controls.SimpleButton { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.SimpleButton) { var v1 = function () { super(); }; mx.controls.SimpleButton = v1; var v2 = new mx.core.UIComponent(); mx.controls.SimpleButton.prototype = v2; v2.init = function (Void) { super.init(); if (this.preset == undefined) { this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; } this.useHandCursor = false; }; v2.createChildren = function (Void) { if (this.preset != undefined) { var v2 = this[this.idNames[this.preset]]; this[this.refNames[this.preset]] = v2; this.skinName = v2; if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } this.initializing = false; } else { if (this.__state == true) { this.setStateVar(true); } else { if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } } } }; v2.setIcon = function (tag, linkageName) { return this.setSkin(tag + 8, linkageName); }; v2.changeIcon = function (tag, linkageName) { this.linkLength = linkageName.length; var v2 = this.stateNames[tag] + 'Icon'; this[v2] = linkageName; this[this.idNames[tag + 8]] = v2; this.setStateVar(this.getState()); }; v2.changeSkin = function (tag, linkageName) { var v2 = this.stateNames[tag] + 'Skin'; this[v2] = linkageName; this[this.idNames[tag]] = v2; this.setStateVar(this.getState()); }; v2.viewIcon = function (varName) { var v4 = varName + 'Icon'; var v3 = this[v4]; if (typeof v3 == 'string') { var v5 = v3; if (this.__emphasized) { if (this[v3 + 'Emphasized'].length > 0) { v3 += 'Emphasized'; } } if (this[v3].length == 0) { return undefined; } v3 = this.setIcon(this.tagMap[v5], this[v3]); if (v3 == undefined && _global.isLivePreview) { v3 = this.setIcon(0, 'ButtonIcon'); } this[v4] = v3; } this.iconName._visible = false; this.iconName = v3; this.iconName._visible = true; }; v2.removeIcons = function () { var v3 = 0; while (v3 < 2) { var v2 = 8; while (v2 < 16) { this.destroyObject(this.idNames[v2]); this[this.stateNames[v2 - 8] + 'Icon'] = ''; ++v2; } ++v3; } this.refresh(); }; v2.setSkin = function (tag, linkageName, initobj) { if (initobj == undefined) { var v3 = super.setSkin(tag, linkageName, {'styleName': this}); this.calcSize(tag, v3); return v3; } var v3 = super.setSkin(tag, linkageName, initobj); this.calcSize(tag, v3); return v3; }; v2.calcSize = function (Void) { this.__width = this._width; this.__height = this._height; }; v2.viewSkin = function (varName, initObj) { var v3 = varName + 'Skin'; var v2 = this[v3]; if (typeof v2 == 'string') { var v4 = v2; if (this.__emphasized) { if (this[v2 + 'Emphasized'].length > 0) { v2 += 'Emphasized'; } } if (this[v2].length == 0) { return undefined; } v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this}); this[v3] = v2; } this.skinName._visible = false; this.skinName = v2; this.skinName._visible = true; }; v2.showEmphasized = function (e) { if (e && !this.__emphatic) { if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) { this.__emphaticStyleName = this.styleName; this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration; } this.__emphatic = true; } else { if (this.__emphatic) { this.styleName = this.__emphaticStyleName; } this.__emphatic = false; } }; v2.refresh = function (Void) { var v2 = this.getState(); if (this.enabled == false) { this.viewIcon('disabled'); this.viewSkin('disabled'); } else { this.viewSkin(this.phase); this.viewIcon(this.phase); } this.setView(this.phase == 'down'); this.iconName.enabled = this.enabled; }; v2.setView = function (offset) { if (this.iconName == undefined) { return undefined; } var v2 = offset ? this.btnOffset : 0; this.iconName._x = (this.__width - this.iconName._width) / 2 + v2; this.iconName._y = (this.__height - this.iconName._height) / 2 + v2; }; v2.setStateVar = function (state) { if (state) { if (this.trueOverSkin.length == 0) { this.rolloverSkin = this.tus; } else { this.rolloverSkin = this.trs; } if (this.trueOverIcon.length == 0) { this.rolloverIcon = this.tui; } else { this.rolloverIcon = this.tri; } this.upSkin = this.tus; this.downSkin = this.tds; this.disabledSkin = this.dts; this.upIcon = this.tui; this.downIcon = this.tdi; this.disabledIcon = this.dti; } else { if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } else { this.rolloverSkin = this.frs; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } else { this.rolloverIcon = this.fri; } this.upSkin = this.fus; this.downSkin = this.fds; this.disabledSkin = this.dfs; this.upIcon = this.fui; this.downIcon = this.fdi; this.disabledIcon = this.dfi; } this.__state = state; }; v2.setState = function (state) { if (state != this.__state) { this.setStateVar(state); this.invalidate(); } }; v2.size = function (Void) { this.refresh(); }; v2.draw = function (Void) { if (this.initializing) { this.initializing = false; this.skinName.visible = true; this.iconName.visible = true; } this.size(); }; v2.getState = function (Void) { return this.__state; }; v2.setToggle = function (val) { this.__toggle = val; if (this.__toggle == false) { this.setState(false); } }; v2.getToggle = function (Void) { return this.__toggle; }; v2.__set__toggle = function (val) { this.setToggle(val); return this.__get__toggle(); }; v2.__get__toggle = function () { return this.getToggle(); }; v2.__set__value = function (val) { this.setSelected(val); return this.__get__value(); }; v2.__get__value = function () { return this.getSelected(); }; v2.__set__selected = function (val) { this.setSelected(val); return this.__get__selected(); }; v2.__get__selected = function () { return this.getSelected(); }; v2.setSelected = function (val) { if (this.__toggle) { this.setState(val); } else { this.setState(this.initializing ? val : this.__state); } }; v2.getSelected = function () { return this.__state; }; v2.setEnabled = function (val) { if (this.enabled != val) { super.setEnabled(val); this.invalidate(); } }; v2.onPress = function (Void) { this.pressFocus(); this.phase = 'down'; this.refresh(); this.dispatchEvent({'type': 'buttonDown'}); if (this.autoRepeat) { this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay')); } }; v2.onPressDelay = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); if (this.autoRepeat) { clearInterval(this.interval); this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval')); } }; v2.onPressRepeat = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); updateAfterEvent(); }; v2.onRelease = function (Void) { this.releaseFocus(); this.phase = 'rollover'; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } if (this.getToggle()) { this.setState(!this.getState()); } else { this.refresh(); } this.dispatchEvent({'type': 'click'}); }; v2.onDragOut = function (Void) { this.phase = 'up'; this.refresh(); this.dispatchEvent({'type': 'buttonDragOut'}); }; v2.onDragOver = function (Void) { if (this.phase != 'up') { this.onPress(); return undefined; } else { this.phase = 'down'; this.refresh(); } }; v2.onReleaseOutside = function (Void) { this.releaseFocus(); this.phase = 'up'; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } }; v2.onRollOver = function (Void) { this.phase = 'rollover'; this.refresh(); }; v2.onRollOut = function (Void) { this.phase = 'up'; this.refresh(); }; v2.getLabel = function (Void) { return this.fui.text; }; v2.setLabel = function (val) { if (typeof this.fui == 'string') { this.createLabel('fui', 8, val); this.fui.styleName = this; } else { this.fui.text = val; } var v4 = this.fui._getTextFormat(); var v2 = v4.getTextExtent2(val); this.fui._width = v2.width + 5; this.fui._height = v2.height + 5; this.iconName = this.fui; this.setView(this.__state); }; v2.__get__emphasized = function () { return this.__emphasized; }; v2.__set__emphasized = function (val) { this.__emphasized = val; var v2 = 0; while (v2 < 8) { this[this.idNames[v2]] = this.stateNames[v2] + 'Skin'; if (typeof this[this.idNames[v2 + 8]] == 'movieclip') { this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon'; } ++v2; } this.showEmphasized(this.__emphasized); this.setStateVar(this.__state); this.invalidateStyle(); return this.__get__emphasized(); }; v2.keyDown = function (e) { if (e.code == 32) { this.onPress(); } }; v2.keyUp = function (e) { if (e.code == 32) { this.onRelease(); } }; v2.onKillFocus = function (newFocus) { super.onKillFocus(); if (this.phase != 'up') { this.phase = 'up'; this.refresh(); } }; v1.symbolName = 'SimpleButton'; v1.symbolOwner = mx.controls.SimpleButton; v1.version = '2.0.2.127'; v2.className = 'SimpleButton'; v2.style3dInset = 4; v2.btnOffset = 1; v2.__toggle = false; v2.__state = false; v2.__emphasized = false; v2.__emphatic = false; v1.falseUp = 0; v1.falseDown = 1; v1.falseOver = 2; v1.falseDisabled = 3; v1.trueUp = 4; v1.trueDown = 5; v1.trueOver = 6; v1.trueDisabled = 7; v2.falseUpSkin = 'SimpleButtonUp'; v2.falseDownSkin = 'SimpleButtonIn'; v2.falseOverSkin = ''; v2.falseDisabledSkin = 'SimpleButtonUp'; v2.trueUpSkin = 'SimpleButtonIn'; v2.trueDownSkin = ''; v2.trueOverSkin = ''; v2.trueDisabledSkin = 'SimpleButtonIn'; v2.falseUpIcon = ''; v2.falseDownIcon = ''; v2.falseOverIcon = ''; v2.falseDisabledIcon = ''; v2.trueUpIcon = ''; v2.trueDownIcon = ''; v2.trueOverIcon = ''; v2.trueDisabledIcon = ''; v2.phase = 'up'; v2.fui = 'falseUpIcon'; v2.fus = 'falseUpSkin'; v2.fdi = 'falseDownIcon'; v2.fds = 'falseDownSkin'; v2.frs = 'falseOverSkin'; v2.fri = 'falseOverIcon'; v2.dfi = 'falseDisabledIcon'; v2.dfs = 'falseDisabledSkin'; v2.tui = 'trueUpIcon'; v2.tus = 'trueUpSkin'; v2.tdi = 'trueDownIcon'; v2.tds = 'trueDownSkin'; v2.trs = 'trueOverSkin'; v2.tri = 'trueOverIcon'; v2.dts = 'trueDisabledSkin'; v2.dti = 'trueDisabledIcon'; v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs; v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri; v2.upSkin = mx.controls.SimpleButton.prototype.fus; v2.downSkin = mx.controls.SimpleButton.prototype.fds; v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs; v2.upIcon = mx.controls.SimpleButton.prototype.fui; v2.downIcon = mx.controls.SimpleButton.prototype.fdi; v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi; v2.initializing = true; v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti']; v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled']; v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin']; v2.tagMap = {'falseUpSkin': 0, 'falseDownSkin': 1, 'falseOverSkin': 2, 'falseDisabledSkin': 3, 'trueUpSkin': 4, 'trueDownSkin': 5, 'trueOverSkin': 6, 'trueDisabledSkin': 7, 'falseUpIcon': 0, 'falseDownIcon': 1, 'falseOverIcon': 2, 'falseDisabledIcon': 3, 'trueUpIcon': 4, 'trueDownIcon': 5, 'trueOverIcon': 6, 'trueDisabledIcon': 7}; v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized); v2.addProperty('selected', v2.__get__selected, v2.__set__selected); v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle); v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1); } #endinitclip } movieClip 314 __Packages.mx.controls.VScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.VScrollBar) { var v1 = function () { super(); }; mx.controls.VScrollBar = v1; var v2 = new mx.controls.scrollClasses.ScrollBar(); mx.controls.VScrollBar.prototype = v2; v2.init = function (Void) { super.init(); }; v2.isScrollBarKey = function (k) { if (k == 38) { this.scrollIt('Line', -1); return true; return super.isScrollBarKey(k); } if (k == 40) { this.scrollIt('Line', 1); return true; return super.isScrollBarKey(k); } if (k == 33) { this.scrollIt('Page', -1); return true; return super.isScrollBarKey(k); } if (k == 34) { this.scrollIt('Page', 1); return true; } return super.isScrollBarKey(k); }; v1.symbolName = 'VScrollBar'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.127'; v2.className = 'VScrollBar'; v2.minusMode = 'Up'; v2.plusMode = 'Down'; v2.minMode = 'AtTop'; v2.maxMode = 'AtBottom'; ASSetPropFlags(mx.controls.VScrollBar.prototype, null, 1); } #endinitclip } movieClip 315 __Packages.mx.controls.Button { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.Button) { var v1 = function () { super(); }; mx.controls.Button = v1; var v2 = new mx.controls.SimpleButton(); mx.controls.Button.prototype = v2; v2.init = function (Void) { super.init(); }; v2.draw = function () { if (this.initializing) { this.labelPath.visible = true; } super.draw(); if (this.initIcon != undefined) { this._setIcon(this.initIcon); } delete this.initIcon; }; v2.onRelease = function (Void) { super.onRelease(); }; v2.createChildren = function (Void) { super.createChildren(); }; v2.setSkin = function (tag, linkageName, initobj) { return super.setSkin(tag, linkageName, initobj); }; v2.viewSkin = function (varName) { var v3 = this.getState() ? 'true' : 'false'; v3 += this.enabled ? this.phase : 'disabled'; super.viewSkin(varName, {'styleName': this, 'borderStyle': v3}); }; v2.invalidateStyle = function (c) { this.labelPath.invalidateStyle(c); super.invalidateStyle(c); }; v2.setColor = function (c) { var v2 = 0; while (v2 < 8) { this[this.idNames[v2]].redraw(true); ++v2; } }; v2.setEnabled = function (enable) { this.labelPath.enabled = enable; super.setEnabled(enable); }; v2.calcSize = function (tag, ref) { if (this.__width == undefined || this.__height == undefined) { return undefined; } if (tag < 7) { ref.setSize(this.__width, this.__height, true); } }; v2.size = function (Void) { this.setState(this.getState()); this.setHitArea(this.__width, this.__height); var v3 = 0; while (v3 < 8) { var v4 = this.idNames[v3]; if (typeof this[v4] == 'movieclip') { this[v4].setSize(this.__width, this.__height, true); } ++v3; } super.size(); }; v2.__set__labelPlacement = function (val) { this.__labelPlacement = val; this.invalidate(); return this.__get__labelPlacement(); }; v2.__get__labelPlacement = function () { return this.__labelPlacement; }; v2.getLabelPlacement = function (Void) { return this.__labelPlacement; }; v2.setLabelPlacement = function (val) { this.__labelPlacement = val; this.invalidate(); }; v2.getBtnOffset = function (Void) { if (this.getState()) { var v2 = this.btnOffset; return v2; } if (this.phase == 'down') { v2 = this.btnOffset; return v2; } v2 = 0; return v2; }; v2.setView = function (offset) { var v16 = offset ? this.btnOffset : 0; var v12 = this.getLabelPlacement(); var v7 = 0; var v6 = 0; var v9 = 0; var v8 = 0; var v5 = 0; var v4 = 0; var v3 = this.labelPath; var v2 = this.iconName; var v15 = v3.textWidth; var v14 = v3.textHeight; var v10 = this.__width - this.borderW - this.borderW; var v11 = this.__height - this.borderW - this.borderW; if (v2 != undefined) { v7 = v2._width; v6 = v2._height; } if (v12 == 'left' || v12 == 'right') { if (v3 != undefined) { v9 = Math.min(v10 - v7, v15 + 5); v3._width = v9; v8 = Math.min(v11, v14 + 5); v3._height = v8; } if (v12 == 'right') { v5 = v7; if (this.centerContent) { v5 += (v10 - v9 - v7) / 2; } v2._x = v5 - v7; } else { v5 = v10 - v9 - v7; if (this.centerContent) { v5 /= 2; } v2._x = v5 + v9; } v4 = 0; v2._y = v4; if (this.centerContent) { v2._y = (v11 - v6) / 2; v4 = (v11 - v8) / 2; } if (!this.centerContent) { v2._y += Math.max(0, (v8 - v6) / 2); } } else { if (v3 != undefined) { v9 = Math.min(v10, v15 + 5); v3._width = v9; v8 = Math.min(v11 - v6, v14 + 5); v3._height = v8; } v5 = (v10 - v9) / 2; v2._x = (v10 - v7) / 2; if (v12 == 'top') { v4 = v11 - v8 - v6; if (this.centerContent) { v4 /= 2; } v2._y = v4 + v8; } else { v4 = v6; if (this.centerContent) { v4 += (v11 - v8 - v6) / 2; } v2._y = v4 - v6; } } var v13 = this.borderW + v16; v3._x = v5 + v13; v3._y = v4 + v13; v2._x += v13; v2._y += v13; }; v2.__set__label = function (lbl) { this.setLabel(lbl); return this.__get__label(); }; v2.setLabel = function (label) { if (label == '') { this.labelPath.removeTextField(); this.refresh(); return undefined; } if (this.labelPath == undefined) { var v2 = this.createLabel('labelPath', 200, label); v2._width = v2.textWidth + 5; v2._height = v2.textHeight + 5; if (this.initializing) { v2.visible = false; } } else { delete this.labelPath.__text; this.labelPath.text = label; this.refresh(); } }; v2.getLabel = function (Void) { return (this.labelPath.__text != undefined) ? this.labelPath.__text : this.labelPath.text; }; v2.__get__label = function () { return this.getLabel(); }; v2._getIcon = function (Void) { return this._iconLinkageName; }; v2.__get__icon = function () { if (this.initializing) { return this.initIcon; } return this._iconLinkageName; }; v2._setIcon = function (linkage) { if (this.initializing) { if (linkage == '') { return undefined; } this.initIcon = linkage; } else { if (linkage == '') { this.removeIcons(); return undefined; } super.changeIcon(0, linkage); super.changeIcon(1, linkage); super.changeIcon(3, linkage); super.changeIcon(4, linkage); super.changeIcon(5, linkage); this._iconLinkageName = linkage; this.refresh(); } }; v2.__set__icon = function (linkage) { this._setIcon(linkage); return this.__get__icon(); }; v2.setHitArea = function (w, h) { if (this.hitArea_mc == undefined) { this.createEmptyObject('hitArea_mc', 100); } var v2 = this.hitArea_mc; v2.clear(); v2.beginFill(16711680); v2.drawRect(0, 0, w, h); v2.endFill(); v2.setVisible(false); }; v1.symbolName = 'Button'; v1.symbolOwner = mx.controls.Button; v2.className = 'Button'; v1.version = '2.0.2.127'; v2.btnOffset = 0; v2._color = 'buttonColor'; v2.__label = 'default value'; v2.__labelPlacement = 'right'; v2.falseUpSkin = 'ButtonSkin'; v2.falseDownSkin = 'ButtonSkin'; v2.falseOverSkin = 'ButtonSkin'; v2.falseDisabledSkin = 'ButtonSkin'; v2.trueUpSkin = 'ButtonSkin'; v2.trueDownSkin = 'ButtonSkin'; v2.trueOverSkin = 'ButtonSkin'; v2.trueDisabledSkin = 'ButtonSkin'; v2.falseUpIcon = ''; v2.falseDownIcon = ''; v2.falseOverIcon = ''; v2.falseDisabledIcon = ''; v2.trueUpIcon = ''; v2.trueDownIcon = ''; v2.trueOverIcon = ''; v2.trueDisabledIcon = ''; v2.clipParameters = {'labelPlacement': 1, 'icon': 1, 'toggle': 1, 'selected': 1, 'label': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters); v2.centerContent = true; v2.borderW = 1; v2.addProperty('icon', v2.__get__icon, v2.__set__icon); v2.addProperty('label', v2.__get__label, v2.__set__label); v2.addProperty('labelPlacement', v2.__get__labelPlacement, v2.__set__labelPlacement); ASSetPropFlags(mx.controls.Button.prototype, null, 1); } #endinitclip } movieClip 316 __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 317 __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 318 __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 319 __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 320 __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 321 __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 322 __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 323 __Packages.mx.managers.FocusManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.FocusManager) { var v1 = function () { super(); }; mx.managers.FocusManager = v1; var v2 = new mx.core.UIComponent(); mx.managers.FocusManager.prototype = v2; v2.__get__defaultPushButton = function () { return this.__defaultPushButton; }; v2.__set__defaultPushButton = function (x) { if (x != this.__defaultPushButton) { this.__defaultPushButton.__set__emphasized(false); this.__defaultPushButton = x; this.defPushButton = x; x.__set__emphasized(true); } return this.__get__defaultPushButton(); }; v2.getMaxTabIndex = function (o) { var v3 = 0; var v6; for (v6 in o) { var v2 = o[v6]; if (v2._parent == o) { if (v2.tabIndex != undefined) { if (v2.tabIndex > v3) { v3 = v2.tabIndex; } } if (v2.tabChildren == true) { var v4 = this.getMaxTabIndex(v2); if (v4 > v3) { v3 = v4; } } } } return v3; }; v2.getNextTabIndex = function (Void) { return this.getMaxTabIndex(this.form) + 1; }; v2.__get__nextTabIndex = function () { return this.getNextTabIndex(); }; v2.relocate = function (Void) { var v2 = mx.managers.SystemManager.__get__screen(); this.move(v2.x - 1, v2.y - 1); }; v2.init = function (Void) { super.init(); this.tabEnabled = false; this._height = 1; this._width = 1; this._y = -1; this._x = -1; this._alpha = 0; this._parent.focusManager = this; this._parent.tabChildren = true; this._parent.tabEnabled = false; this.form = this._parent; this._parent.addEventListener('hide', this); this._parent.addEventListener('reveal', this); mx.managers.SystemManager.init(); mx.managers.SystemManager.addFocusManager(this.form); this.tabCapture.tabIndex = 0; this.watch('enabled', this.enabledChanged); Selection.addListener(this); this.lastMouse = new Object(); _global.ASSetPropFlags(this._parent, 'focusManager', 1); _global.ASSetPropFlags(this._parent, 'tabChildren', 1); _global.ASSetPropFlags(this._parent, 'tabEnabled', 1); }; v2.enabledChanged = function (id, oldValue, newValue) { this._visible = newValue; return newValue; }; v2.activate = function (Void) { Key.addListener(this); this._visible = true; this.activated = this._visible; if (this.lastFocus != undefined) { this.bNeedFocus = true; if (!mx.managers.SystemManager.isMouseDown) { this.doLater(this, 'restoreFocus'); } } }; v2.deactivate = function (Void) { Key.removeListener(this); this._visible = false; this.activated = this._visible; var v2 = this.getSelectionFocus(); var v3 = this.getActualFocus(v2); if (this.isOurFocus(v3)) { this.lastSelFocus = v2; this.lastFocus = v3; } this.cancelAllDoLaters(); }; v2.isOurFocus = function (o) { if (o.focusManager == this) { return true; } while (o != undefined) { if (o.focusManager != undefined) { return false; } if (o._parent == this._parent) { return true; } o = o._parent; } return false; }; v2.onSetFocus = function (o, n) { if (n == null) { if (this.activated) { this.bNeedFocus = true; } } else { var v2 = this.getFocus(); if (this.isOurFocus(v2)) { this.bNeedFocus = false; this.lastFocus = v2; this.lastSelFocus = n; } } }; v2.restoreFocus = function (Void) { var v2 = this.lastSelFocus.hscroll; if (v2 != undefined) { var v5 = this.lastSelFocus.scroll; var v4 = this.lastSelFocus.background; } this.lastFocus.setFocus(); var v3 = Selection; Selection.setSelection(v3.lastBeginIndex, v3.lastEndIndex); if (v2 != undefined) { this.lastSelFocus.scroll = v5; this.lastSelFocus.hscroll = v2; this.lastSelFocus.background = v4; } }; v2.onUnload = function (Void) { mx.managers.SystemManager.removeFocusManager(this.form); }; v2.setFocus = function (o) { if (o == null) { Selection.setFocus(null); } else { if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } }; v2.getActualFocus = function (o) { var v1 = o._parent; while (v1 != undefined) { if (v1.focusTextField != undefined) { while (v1.focusTextField != undefined) { o = v1; v1 = v1._parent; if (v1 == undefined) { return undefined; } if (v1.focusTextField == undefined) { return o; } } } if (v1.tabEnabled != true) { return o; } o = v1; v1 = o._parent; } return undefined; }; v2.getSelectionFocus = function () { var m = Selection.getFocus(); var o = eval(m); return o; }; v2.getFocus = function (Void) { var v2 = this.getSelectionFocus(); return this.getActualFocus(v2); }; v2.walkTree = function (p, index, groupName, dir, lookup, firstChild) { var v5 = true; var v11; for (v11 in p) { var v2 = p[v11]; if (v2._parent == p && v2.enabled != false && v2._visible != false && (v2.tabEnabled == true || v2.tabEnabled != false && (v2.onPress != undefined || v2.onRelease != undefined || v2.onReleaseOutside != undefined || v2.onDragOut != undefined || v2.onDragOver != undefined || v2.onRollOver != undefined || v2.onRollOut != undefined || v2 instanceof TextField))) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; if (v2 != this._lastTarget) { if ((v2.groupName != undefined || groupName != undefined) && v2.groupName == groupName) { continue; } if (v2 instanceof TextField && v2.selectable == false) { continue; } if (v5 || v2.groupName != undefined && v2.groupName == this._firstNode.groupName && v2.selected == true) { if (firstChild) { this._firstNode = v2; firstChild = false; } } if (this._nextIsNext == true) { if (v2.groupName != undefined && v2.groupName == this._nextNode.groupName && v2.selected == true || this._nextNode == undefined && (v2.groupName == undefined || v2.groupName != undefined && v2.groupName != groupName)) { this._nextNode = v2; } } if (v2.groupName == undefined || groupName != v2.groupName) { if (this._lastx.groupName != undefined && v2.groupName == this._lastx.groupName && this._lastx.selected == true) { } else { this._lastx = v2; } } } else { this._prevNode = this._lastx; this._needPrev = false; this._nextIsNext = true; } if (v2.tabIndex != undefined) { if (v2.tabIndex == index) { if (this._foundList[v2._name] == undefined) { if (this._needPrev) { this._prevObj = v2; this._needPrev = false; } this._nextObj = v2; } } if (dir && v2.tabIndex > index) { if (this._nextObj == undefined || this._nextObj.tabIndex > v2.tabIndex && (v2.groupName == undefined || this._nextObj.groupName == undefined || v2.groupName != this._nextObj.groupName) || this._nextObj.groupName != undefined && this._nextObj.groupName == v2.groupName && this._nextObj.selected != true && (v2.selected == true || this._nextObj.tabIndex > v2.tabIndex)) { this._nextObj = v2; } } else { if (!dir && v2.tabIndex < index) { if (this._prevObj == undefined || this._prevObj.tabIndex < v2.tabIndex && (v2.groupName == undefined || this._prevObj.groupName == undefined || v2.groupName != this._prevObj.groupName) || this._prevObj.groupName != undefined && this._prevObj.groupName == v2.groupName && this._prevObj.selected != true && (v2.selected == true || this._prevObj.tabIndex < v2.tabIndex)) { this._prevObj = v2; } } } if (this._firstObj == undefined || v2.tabIndex < this._firstObj.tabIndex && (v2.groupName == undefined || this._firstObj.groupName == undefined || v2.groupName != this._firstObj.groupName) || this._firstObj.groupName != undefined && this._firstObj.groupName == v2.groupName && this._firstObj.selected != true && (v2.selected == true || v2.tabIndex < this._firstObj.tabIndex)) { this._firstObj = v2; } if (this._lastObj == undefined || v2.tabIndex > this._lastObj.tabIndex && (v2.groupName == undefined || this._lastObj.groupName == undefined || v2.groupName != this._lastObj.groupName) || this._lastObj.groupName != undefined && this._lastObj.groupName == v2.groupName && this._lastObj.selected != true && (v2.selected == true || v2.tabIndex > this._lastObj.tabIndex)) { this._lastObj = v2; } } if (v2.tabChildren) { this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild); } v5 = false; } else { if (v2._parent == p && v2.tabChildren == true && v2._visible != false) { if (v2 == this._lastTarget) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; if (this._prevNode == undefined) { var v3 = this._lastx; var v7 = false; while (v3 != undefined) { if (v3 == v2) { v7 = true; break; } v3 = v3._parent; } if (v7 == false) { this._prevNode = this._lastx; } } this._needPrev = false; if (this._nextNode == undefined) { this._nextIsNext = true; } } else { if (!(v2.focusManager != undefined && v2.focusManager._parent == v2)) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild); } } v5 = false; } } } this._lastNode = this._lastx; if (lookup) { if (p._parent != undefined) { if (p != this._parent) { if (this._prevNode == undefined && dir) { this._needPrev = true; } else { if (this._nextNode == undefined && !dir) { this._nextIsNext = false; } } this._lastTarget = this._lastTarget._parent; this.getTabCandidate(p._parent, index, groupName, dir, true); } } } }; v2.getTabCandidate = function (o, index, groupName, dir, firstChild) { var v2; var v3 = true; if (o == this._parent) { v2 = o; v3 = false; } else { v2 = o._parent; if (v2 == undefined) { v2 = o; v3 = false; } } this.walkTree(v2, index, groupName, dir, v3, firstChild); }; v2.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) { this.walkTree(o, index, groupName, dir, false, firstChild); }; v2.getFocusManagerFromObject = function (o) { while (o != undefined) { if (o.focusManager != undefined) { return o.focusManager; } o = o._parent; } return undefined; }; v2.tabHandler = function (Void) { this.bDrawFocus = true; var v5 = this.getSelectionFocus(); var v4 = this.getActualFocus(v5); if (v4 != v5) { v5 = v4; } if (this.getFocusManagerFromObject(v5) != this) { v5 == undefined; } if (v5 == undefined) { v5 = this.form; } else { if (v5.tabIndex != undefined) { if (this._foundList != undefined || this._foundList.tabIndex != v5.tabIndex) { this._foundList = new Object(); this._foundList.tabIndex = v5.tabIndex; } this._foundList[v5._name] = v5; } } var v3 = Key.isDown(16) != true; this._searchKey = getTimer(); this._needPrev = true; this._nextIsNext = false; this._lastx = undefined; this._firstNode = undefined; this._lastNode = undefined; this._nextNode = undefined; this._prevNode = undefined; this._firstObj = undefined; this._lastObj = undefined; this._nextObj = undefined; this._prevObj = undefined; this._lastTarget = v5; var v6 = v5; this.getTabCandidate(v6, (v5.tabIndex == undefined) ? 0 : v5.tabIndex, v5.groupName, v3, true); var v2; if (v3) { if (this._nextObj != undefined) { v2 = this._nextObj; } else { v2 = this._firstObj; } } else { if (this._prevObj != undefined) { v2 = this._prevObj; } else { v2 = this._lastObj; } } if (v2.tabIndex != v5.tabIndex) { this._foundList = new Object(); this._foundList.tabIndex = v2.tabIndex; this._foundList[v2._name] = v2; } else { if (this._foundList == undefined) { this._foundList = new Object(); this._foundList.tabIndex = v2.tabIndex; } this._foundList[v2._name] = v2; } if (v2 == undefined) { if (v3 == false) { if (this._nextNode != undefined) { v2 = this._nextNode; } else { v2 = this._firstNode; } } else { if (this._prevNode == undefined || v5 == this.form) { v2 = this._lastNode; } else { v2 = this._prevNode; } } } if (v2 == undefined) { return undefined; } this.lastTabFocus = v2; this.setFocus(v2); if (v2.emphasized != undefined) { if (this.defPushButton != undefined) { v5 = this.defPushButton; this.defPushButton = v2; v5.emphasized = false; v2.emphasized = true; } } else { if (this.defPushButton != undefined && this.defPushButton != this.__defaultPushButton) { v5 = this.defPushButton; this.defPushButton = this.__defaultPushButton; v5.emphasized = false; this.__defaultPushButton.__set__emphasized(true); } } }; v2.onKeyDown = function (Void) { mx.managers.SystemManager.idleFrames = 0; if (this.defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (this.__get__defaultPushButton() != undefined) { this.doLater(this, 'sendDefaultPushButtonEvent'); } } } }; v2.sendDefaultPushButtonEvent = function (Void) { this.defPushButton.dispatchEvent({'type': 'click'}); }; v2.getMousedComponentFromChildren = function (x, y, o) { for (var v7 in o) { var v2 = o[v7]; if (v2._visible && v2.enabled && v2._parent == o && v2._searchKey != this._searchKey) { v2._searchKey = this._searchKey; if (v2.hitTest(x, y, true)) { if (v2.onPress != undefined || v2.onRelease != undefined) { return v2; } var v3 = this.getMousedComponentFromChildren(x, y, v2); if (v3 != undefined) { return v3; } return v2; } } } return undefined; }; v2.mouseActivate = function (Void) { if (!this.bNeedFocus) { return undefined; } this._searchKey = getTimer(); var v2 = this.getMousedComponentFromChildren(this.lastMouse.x, this.lastMouse.y, this.form); if (v2 instanceof mx.core.UIComponent) { return undefined; } v2 = this.findFocusFromObject(v2); if (v2 == this.lastFocus) { return undefined; } if (v2 == undefined) { this.doLater(this, 'restoreFocus'); return undefined; } var v3 = v2.hscroll; if (v3 != undefined) { var v6 = v2.scroll; var v5 = v2.background; } this.setFocus(v2); var v4 = Selection; Selection.setSelection(v4.lastBeginIndex, v4.lastEndIndex); if (v3 != undefined) { v2.scroll = v6; v2.hscroll = v3; v2.background = v5; } }; v2._onMouseDown = function (Void) { this.bDrawFocus = false; if (this.lastFocus != undefined) { this.lastFocus.drawFocus(false); } mx.managers.SystemManager.idleFrames = 0; var v3 = Selection; v3.lastBeginIndex = Selection.getBeginIndex(); v3.lastEndIndex = Selection.getEndIndex(); this.lastMouse.x = _root._xmouse; this.lastMouse.y = _root._ymouse; _root.localToGlobal(this.lastMouse); }; v2.onMouseUp = function (Void) { if (this._visible) { this.doLater(this, 'mouseActivate'); } }; v2.handleEvent = function (e) { if (e.type == 'reveal') { mx.managers.SystemManager.activate(this.form); } else { mx.managers.SystemManager.deactivate(this.form); } }; v1.enableFocusManagement = function () { if (!mx.managers.FocusManager.initialized) { mx.managers.FocusManager.initialized = true; Object.registerClass('FocusManager', mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--); } } }; v1.symbolName = 'FocusManager'; v1.symbolOwner = mx.managers.FocusManager; v1.version = '2.0.2.127'; v2.className = 'FocusManager'; v2.bNeedFocus = false; v2.bDrawFocus = false; v2.defaultPushButtonEnabled = true; v2.activated = true; v1.initialized = false; v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; v2.addProperty('defaultPushButton', v2.__get__defaultPushButton, v2.__set__defaultPushButton); v2.addProperty('nextTabIndex', v2.__get__nextTabIndex, function () {}); ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1); } #endinitclip } movieClip 324 __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 325 __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 326 __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 327 __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 328 __Packages.mx.skins.RectBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.RectBorder) { var v1 = function () { super(); }; mx.skins.RectBorder = v1; var v2 = new mx.skins.Border(); mx.skins.RectBorder.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.init = function (Void) { super.init(); }; v2.draw = function (Void) { this.size(); }; v2.getBorderMetrics = function (Void) { var v2 = this.offset; if (this.__borderMetrics == undefined) { this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2}; return this.__borderMetrics; } this.__borderMetrics.left = v2; this.__borderMetrics.top = v2; this.__borderMetrics.right = v2; this.__borderMetrics.bottom = v2; return this.__borderMetrics; }; v2.__get__borderMetrics = function () { return this.getBorderMetrics(); }; v2.drawBorder = function (Void) {}; v2.size = function (Void) { this.drawBorder(); }; v2.setColor = function (Void) { this.drawBorder(); }; v1.symbolName = 'RectBorder'; v1.symbolOwner = mx.skins.RectBorder; v1.version = '2.0.2.127'; v2.className = 'RectBorder'; v2.borderStyleName = 'borderStyle'; v2.borderColorName = 'borderColor'; v2.shadowColorName = 'shadowColor'; v2.highlightColorName = 'highlightColor'; v2.buttonColorName = 'buttonColor'; v2.backgroundColorName = 'backgroundColor'; v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {}); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1); } #endinitclip } movieClip 329 __Packages.mx.skins.halo.RectBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.RectBorder) { var v1 = function () { super(); }; mx.skins.halo.RectBorder = v1; var v2 = new mx.skins.RectBorder(); mx.skins.halo.RectBorder.prototype = v2; v2.init = function (Void) { this.borderWidths.default = 3; super.init(); }; v2.getBorderMetrics = function (Void) { if (this.offset == undefined) { var v3 = this.getStyle(this.borderStyleName); this.offset = this.borderWidths[v3]; } if (this.getStyle(this.borderStyleName) == 'default' || this.getStyle(this.borderStyleName) == 'alert') { this.__borderMetrics = {'left': 3, 'top': 1, 'right': 3, 'bottom': 3}; return this.__borderMetrics; } return super.getBorderMetrics(); }; v2.drawBorder = function (Void) { var v6 = _global.styles[this.className]; if (v6 == undefined) { v6 = _global.styles.RectBorder; } var v5 = this.getStyle(this.borderStyleName); var v7 = this.getStyle(this.borderColorName); if (v7 == undefined) { v7 = v6[this.borderColorName]; } var v8 = this.getStyle(this.backgroundColorName); if (v8 == undefined) { v8 = v6[this.backgroundColorName]; } var v16 = this.getStyle('backgroundImage'); if (v5 != 'none') { var v14 = this.getStyle(this.shadowColorName); if (v14 == undefined) { v14 = v6[this.shadowColorName]; } var v13 = this.getStyle(this.highlightColorName); if (v13 == undefined) { v13 = v6[this.highlightColorName]; } var v12 = this.getStyle(this.buttonColorName); if (v12 == undefined) { v12 = v6[this.buttonColorName]; } var v11 = this.getStyle(this.borderCapColorName); if (v11 == undefined) { v11 = v6[this.borderCapColorName]; } var v10 = this.getStyle(this.shadowCapColorName); if (v10 == undefined) { v10 = v6[this.shadowCapColorName]; } } this.offset = this.borderWidths[v5]; var v9 = this.offset; var v3 = this.__get__width(); var v4 = this.__get__height(); this.clear(); this._color = undefined; if (v5 == 'none') { } else { if (v5 == 'inset') { this._color = this.colorList; this.draw3dBorder(v11, v12, v7, v13, v14, v10); } else { if (v5 == 'outset') { this._color = this.colorList; this.draw3dBorder(v11, v7, v12, v14, v13, v10); } else { if (v5 == 'alert') { var v15 = this.getStyle('themeColor'); this.drawRoundRect(0, 5, v3, v4 - 5, 5, 6184542, 10); this.drawRoundRect(1, 4, v3 - 2, v4 - 5, 4, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, v15, 50); this.drawRoundRect(3, 1, v3 - 6, v4 - 4, 2, 16777215, 100); } else { if (v5 == 'default') { this.drawRoundRect(0, 5, v3, v4 - 5, {'tl': 5, 'tr': 5, 'br': 0, 'bl': 0}, 6184542, 10); this.drawRoundRect(1, 4, v3 - 2, v4 - 5, {'tl': 4, 'tr': 4, 'br': 0, 'bl': 0}, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, {'tl': 3, 'tr': 3, 'br': 0, 'bl': 0}, [12897484, 11844796], 100, 0, 'radial'); this.drawRoundRect(3, 1, v3 - 6, v4 - 4, {'tl': 2, 'tr': 2, 'br': 0, 'bl': 0}, 16777215, 100); } else { if (v5 == 'dropDown') { this.drawRoundRect(0, 0, v3 + 1, v4, {'tl': 4, 'tr': 0, 'br': 0, 'bl': 4}, [13290186, 7895160], 100, -10, 'linear'); this.drawRoundRect(1, 1, v3 - 1, v4 - 2, {'tl': 3, 'tr': 0, 'br': 0, 'bl': 3}, 16777215, 100); } else { if (v5 == 'menuBorder') { var v15 = this.getStyle('themeColor'); this.drawRoundRect(4, 4, v3 - 2, v4 - 3, 0, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(4, 4, v3 - 1, v4 - 2, 0, 6184542, 10); this.drawRoundRect(0, 0, v3 + 1, v4, 0, [0, 14342874], 100, 250, 'linear'); this.drawRoundRect(0, 0, v3 + 1, v4, 0, v15, 50); this.drawRoundRect(2, 2, v3 - 3, v4 - 4, 0, 16777215, 100); } else { if (v5 == 'comboNonEdit') { } else { this.beginFill(v7); this.drawRect(0, 0, v3, v4); this.drawRect(1, 1, v3 - 1, v4 - 1); this.endFill(); this._color = this.borderColorName; } } } } } } } } if (v8 != undefined) { this.beginFill(v8); this.drawRect(v9, v9, this.__get__width() - v9, this.__get__height() - v9); this.endFill(); } }; v2.draw3dBorder = function (c1, c2, c3, c4, c5, c6) { var v3 = this.__get__width(); var v2 = this.__get__height(); this.beginFill(c1); this.drawRect(0, 0, v3, v2); this.drawRect(1, 0, v3 - 1, v2); this.endFill(); this.beginFill(c2); this.drawRect(1, 0, v3 - 1, 1); this.endFill(); this.beginFill(c3); this.drawRect(1, v2 - 1, v3 - 1, v2); this.endFill(); this.beginFill(c4); this.drawRect(1, 1, v3 - 1, 2); this.endFill(); this.beginFill(c5); this.drawRect(1, v2 - 2, v3 - 1, v2 - 1); this.endFill(); this.beginFill(c6); this.drawRect(1, 2, v3 - 1, v2 - 2); this.drawRect(2, 2, v3 - 2, v2 - 2); this.endFill(); }; v1.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = mx.skins.halo.RectBorder; _global.skinRegistry.RectBorder = true; return true; }; v1.symbolName = 'RectBorder'; v1.symbolOwner = mx.skins.halo.RectBorder; v1.version = '2.0.2.127'; v2.borderCapColorName = 'borderCapColor'; v2.shadowCapColorName = 'shadowCapColor'; v2.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0}; v2.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2}; v1.classConstructed = mx.skins.halo.RectBorder.classConstruct(); v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1); } #endinitclip } movieClip 330 __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 331 __Packages.mx.controls.HScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.HScrollBar) { var v1 = function () { super(); }; mx.controls.HScrollBar = v1; var v2 = new mx.controls.scrollClasses.ScrollBar(); mx.controls.HScrollBar.prototype = v2; v2.getMinWidth = function (Void) { return this._minHeight; }; v2.getMinHeight = function (Void) { return this._minWidth; }; v2.init = function (Void) { super.init(); this._xscale = -100; this._rotation = -90; }; v2.__get__virtualHeight = function () { return this.__width; }; v2.isScrollBarKey = function (k) { if (k == 37) { this.scrollIt('Line', -1); return true; return super.isScrollBarKey(k); } if (k == 39) { this.scrollIt('Line', 1); return true; } return super.isScrollBarKey(k); }; v1.symbolName = 'HScrollBar'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.127'; v2.className = 'HScrollBar'; v2.minusMode = 'Left'; v2.plusMode = 'Right'; v2.minMode = 'AtLeft'; v2.maxMode = 'AtRight'; v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {}); ASSetPropFlags(mx.controls.HScrollBar.prototype, null, 1); } #endinitclip } movieClip 429 __Packages.mx.data.components.WebServices { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.data) { _global.mx.data = new Object(); } if (!_global.mx.data.components) { _global.mx.data.components = new Object(); } if (!_global.mx.data.components.WebServices) { var v1 = function () { super(); }; mx.data.components.WebServices = v1; var v2 = new MovieClip(); mx.data.components.WebServices.prototype = v2; v2.Dummy = function () { new mx.services.ArrayProxy(); new mx.services.DataType(); new mx.services.ElementDecl(); new mx.services.Log(); new mx.services.Namespace(); new mx.services.PendingCall(); new mx.services.PrefixedQName(); new mx.services.QName(); new mx.services.RowSetProxy(); new mx.services.Schema(); new mx.services.SchemaContext(); new mx.services.SOAPCall(); new mx.services.SOAPConstants(); new mx.services.SOAPFault(); new mx.services.SOAPHeader(); new mx.services.SOAPParameter(); new mx.services.WebService(); new mx.services.WebServiceProxy(); new mx.services.WSDL(); new mx.services.WSDLConstants(); new mx.services.WSDLDocument(); new mx.services.WSDLOperation(); }; ASSetPropFlags(mx.data.components.WebServices.prototype, null, 1); } #endinitclip } movieClip 433 __Packages.mx.services.ArrayProxy { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.ArrayProxy) { var v1 = function (xmlNodes, sCall, arrayType) { super(); this.xmlNodes = xmlNodes; this.sCall = sCall; this.arrayType = arrayType; this.length = xmlNodes.length; }; mx.services.ArrayProxy = v1; var v2 = new Array(); mx.services.ArrayProxy.prototype = v2; v2.__resolve = function (index) { index = Number(index); var v2 = this.sCall.decodeResultNode(this.xmlNodes[index], this.arrayType); this[index] = v2; return v2; }; ASSetPropFlags(mx.services.ArrayProxy.prototype, null, 1); } #endinitclip } movieClip 434 __Packages.mx.services.QName { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.QName) { var v1 = function (localPart, namespaceURI) { this.localPart = (localPart == undefined) ? '' : localPart; this.namespaceURI = (namespaceURI == undefined) ? '' : namespaceURI; }; mx.services.QName = v1; var v2 = v1.prototype; v2.equals = function (qname) { return this.namespaceURI == qname.namespaceURI && this.localPart == qname.localPart; }; ASSetPropFlags(mx.services.QName.prototype, null, 1); } #endinitclip } movieClip 435 __Packages.mx.services.SchemaVersion { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.SchemaVersion) { var v1 = function (xsdURI, xsiURI) { this.xsdURI = xsdURI; this.xsiURI = xsiURI; this.schemaQName = new mx.services.QName('schema', xsdURI); this.allQName = new mx.services.QName('all', xsdURI); this.complexTypeQName = new mx.services.QName('complexType', xsdURI); this.elementTypeQName = new mx.services.QName('element', xsdURI); this.importQName = new mx.services.QName('import', xsdURI); this.simpleTypeQName = new mx.services.QName('simpleType', xsdURI); this.complexContentQName = new mx.services.QName('complexContent', xsdURI); this.sequenceQName = new mx.services.QName('sequence', xsdURI); this.simpleContentQName = new mx.services.QName('simpleContent', xsdURI); this.restrictionQName = new mx.services.QName('restriction', xsdURI); this.attributeQName = new mx.services.QName('attribute', xsdURI); this.extensionQName = new mx.services.QName('extension', xsdURI); var v3 = 'nil'; if (xsdURI == mx.services.SchemaVersion.XSD_URI_1999) { v3 = 'null'; } this.nilQName = new mx.services.QName(v3, xsiURI); }; mx.services.SchemaVersion = v1; var v2 = v1.prototype; v1.getSchemaVersion = function (xsdURI) { if (xsdURI == mx.services.SchemaVersion.XSD_URI_2001) { if (mx.services.SchemaVersion.version2001 == undefined) { mx.services.SchemaVersion.version2001 = new mx.services.SchemaVersion(mx.services.SchemaVersion.XSD_URI_2001, mx.services.SchemaVersion.XSI_URI_2001); } return mx.services.SchemaVersion.version2001; } if (xsdURI == mx.services.SchemaVersion.XSD_URI_2000) { if (mx.services.SchemaVersion.version2000 == undefined) { mx.services.SchemaVersion.version2000 = new mx.services.SchemaVersion(mx.services.SchemaVersion.XSD_URI_2000, mx.services.SchemaVersion.XSI_URI_2000); } return mx.services.SchemaVersion.version2000; } if (xsdURI == mx.services.SchemaVersion.XSD_URI_1999) { if (mx.services.SchemaVersion.version1999 == undefined) { mx.services.SchemaVersion.version1999 = new mx.services.SchemaVersion(mx.services.SchemaVersion.XSD_URI_1999, mx.services.SchemaVersion.XSI_URI_1999); } return mx.services.SchemaVersion.version1999; } }; v1.XML_SCHEMA_URI = 'http://www.w3.org/2001/XMLSchema'; v1.SOAP_ENCODING_URI = 'http://schemas.xmlsoap.org/soap/encoding/'; v1.XSD_URI_1999 = 'http://www.w3.org/1999/XMLSchema'; v1.XSD_URI_2000 = 'http://www.w3.org/2000/10/XMLSchema'; v1.XSD_URI_2001 = 'http://www.w3.org/2001/XMLSchema'; v1.XSI_URI_1999 = 'http://www.w3.org/1999/XMLSchema-instance'; v1.XSI_URI_2000 = 'http://www.w3.org/2000/10/XMLSchema-instance'; v1.XSI_URI_2001 = 'http://www.w3.org/2001/XMLSchema-instance'; v1.APACHESOAP_URI = 'http://xml.apache.org/xml-soap'; v1.CF_RPC_URI = 'http://rpc.xml.coldfusion'; ASSetPropFlags(mx.services.SchemaVersion.prototype, null, 1); } #endinitclip } movieClip 436 __Packages.mx.services.DataType { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.DataType) { var v1 = function (name, typeType, xmlns, deserializer) { this.name = name; this.typeType = (typeType == undefined) ? mx.services.DataType.OBJECT_TYPE : typeType; this.namespaceURI = (xmlns == undefined) ? mx.services.SchemaVersion.XML_SCHEMA_URI : xmlns; this.qname = new mx.services.QName(this.name, this.namespaceURI); this.isAnonymous = false; this.deserializer = deserializer; }; mx.services.DataType = v1; var v2 = v1.prototype; v1.NUMBER_TYPE = 0; v1.STRING_TYPE = 1; v1.OBJECT_TYPE = 2; v1.DATE_TYPE = 3; v1.BOOLEAN_TYPE = 4; v1.XML_TYPE = 5; v1.ARRAY_TYPE = 6; v1.MAP_TYPE = 7; v1.ANY_TYPE = 8; v1.COLL_TYPE = 10; v1.ROWSET_TYPE = 11; v1.QBEAN_TYPE = 12; v1.objectType = new mx.services.DataType('', mx.services.DataType.OBJECT_TYPE, ''); ASSetPropFlags(mx.services.DataType.prototype, null, 1); } #endinitclip } movieClip 437 __Packages.mx.services.ElementDecl { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.ElementDecl) { var v1 = function () {}; mx.services.ElementDecl = v1; var v2 = v1.prototype; ASSetPropFlags(mx.services.ElementDecl.prototype, null, 1); } #endinitclip } movieClip 438 __Packages.mx.services.Log { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.Log) { var v1 = function (logLevel, name) { this.level = (logLevel == undefined) ? mx.services.Log.BRIEF : logLevel; this.name = (name == undefined) ? '' : name; }; mx.services.Log = v1; var v2 = v1.prototype; v2.logInfo = function (msg, level) { if (level == undefined) { level = mx.services.Log.BRIEF; } if (level <= this.level) { if (level == mx.services.Log.DEBUG) { this.onLog(this.getDateString() + ' [DEBUG] ' + this.name + ': ' + msg); } else { this.onLog(this.getDateString() + ' [INFO] ' + this.name + ': ' + msg); } } }; v2.logDebug = function (msg) { this.logInfo(msg, mx.services.Log.DEBUG); }; v2.getDateString = function () { var v1 = new Date(); return v1.getMonth() + 1 + '/' + v1.getDate() + ' ' + v1.getHours() + ':' + v1.getMinutes() + ':' + v1.getSeconds(); }; v2.onLog = function (message) { trace(message); }; v1.NONE = -1; v1.BRIEF = 0; v1.VERBOSE = 1; v1.DEBUG = 2; ASSetPropFlags(mx.services.Log.prototype, null, 1); } #endinitclip } movieClip 439 __Packages.mx.services.PrefixedQName { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.PrefixedQName) { var v1 = function (prefix, qname) { this.prefix = prefix; this.qname = qname; this.qualifiedName = prefix; if (prefix != '') { this.qualifiedName += ':'; } this.qualifiedName += qname.localPart; }; mx.services.PrefixedQName = v1; var v2 = v1.prototype; ASSetPropFlags(mx.services.PrefixedQName.prototype, null, 1); } #endinitclip } movieClip 440 __Packages.mx.services.Namespace { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.Namespace) { var v1 = function () {}; mx.services.Namespace = v1; var v2 = v1.prototype; v1.setup = function () { if (mx.services.Namespace.alreadySetup) { return undefined; } mx.services.Namespace.alreadySetup = true; var v15 = XMLNode.prototype; if (v15.getQName == undefined) { v15.getQName = function () { if (this.prefixedQName != undefined) { return this.prefixedQName.qname; } else { var v2 = this.nodeName; var v3 = ''; var v4 = v2.indexOf(':'); if (v4 != -1) { v3 = v2.substring(0, v4); v2 = v2.substring(v4 + 1); } var v6 = this.getNamespaceForPrefix(v3); var v5 = new mx.services.QName(v2, v6); this.prefixedQName = new mx.services.PrefixedQName(v3, v5); return v5; } }; } if (v15.setChildValue == undefined) { v15.setChildValue = function (name, value) { var v5 = this.attributes[name]; if (v5 != undefined) { this.attributes[name] = value; return undefined; } var v2 = (this.getElementsByLocalName(name))[0]; if (v2 != undefined) { v2.firstChild.removeNode(); var v4 = mx.services.Namespace._doc.createTextNode(value); v2.appendChild(v4); } }; } if (v15.setValue == undefined) { v15.setValue = function (value) { trace('setting value to ' + value); this.firstChild.removeNode(); var v2 = mx.services.Namespace._doc.createTextNode(value); this.appendChild(v2); }; } if (v15.getQualifiedName == undefined) { v15.getQualifiedName = function () { return this.nodeName; }; } if (v15.getPrefix == undefined) { v15.getPrefix = function () { if (this.prefixedQName != undefined) { return this.prefixedQName.prefix; } else { var v2 = this.nodeName; var v3 = ''; var v4 = v2.indexOf(':'); if (v4 != -1) { v3 = v2.substring(0, v4); } return v3; } }; } if (v15.getLocalName == undefined) { v15.getLocalName = function () { if (this.prefixedQName != undefined) { return this.prefixedQName.qname.localPart; } else { var v2 = this.nodeName; var v3 = v2.indexOf(':'); if (v3 != -1) { v2 = v2.substring(v3 + 1); } return v2; } }; } if (v15.getNamespaceURI == undefined) { v15.getNamespaceURI = function () { return (this.getQName()).namespaceURI; }; } if (v15.loadNSMappings == undefined) { v15.loadNSMappings = function () { if (this.mappings == undefined) { this.mappings = new Object(); } for (var v4 in this.attributes) { var v2 = true; if (v4.indexOf('xmlns') == 0) { if (v4.charAt(5) == ':') { v2 = false; } else { if (v4.length != 5) { continue; } } var v3 = this.attributes[v4]; if (v2) { this.mappings.<>defaultNamespace<> = v3; } else { this.mappings[v4.substring(6)] = v3; } } } }; } if (v15.getPrefixForNamespace == undefined) { v15.getPrefixForNamespace = function (namespaceURI) { var v3; if (namespaceURI == undefined || namespaceURI == '') { return undefined; } if (this.mappings == undefined) { this.loadNSMappings(); } for (var v5 in this.mappings) { var v2 = this.mappings[v5]; if (v2 == namespaceURI) { v3 = v5; break; } } if (v3 == undefined && this.parentNode != undefined) { v3 = this.parentNode.getPrefixForNamespace(namespaceURI); } if (v3 == '<>defaultNamespace<>') { v3 = ''; } return v3; }; } if (v15.getNamespaceForPrefix == undefined) { v15.getNamespaceForPrefix = function (prefix) { if (prefix == '') { prefix = '<>defaultNamespace<>'; } if (this.mappings == undefined) { this.loadNSMappings(); } var v2 = this.mappings[prefix]; if (v2 == undefined && this.parentNode != undefined) { v2 = this.parentNode.getNamespaceForPrefix(prefix); } return v2; }; } if (v15.getElementsByQName == undefined) { v15.getElementsByQName = function (qname) { var v4 = new Array(); if ((this.getQName()).equals(qname)) { v4.push(this); } var v5 = this.childNodes.length; var v2 = 0; while (v2 < v5) { var v3 = this.childNodes[v2]; if ((v3.getQName()).equals(qname)) { v4.push(v3); } ++v2; } return v4; }; } if (v15.getElementsByLocalName == undefined) { v15.getElementsByLocalName = function (lname) { var v4 = new Array(); if (this.getLocalName() == lname) { v4.push(this); } var v5 = this.childNodes.length; var v2 = 0; while (v2 < v5) { var v3 = this.childNodes[v2]; if (v3.getLocalName() == lname) { v4.push(v3); } ++v2; } return v4; }; } if (v15.getElementsByReferencedName == undefined) { v15.getElementsByReferencedName = function (nameValue, qname) { var v6 = new Array(); var v12 = this.attributes.name; if (v12 == nameValue) { var v10 = false; if (qname != undefined) { var v11 = this.getQName(); if (v11.namespaceURI == qname.namespaceURI && v11.localPart == qname.localPart) { v10 = true; } } else { v10 = true; } if (v10) { v6.push(this); } return v6; } var v8 = this.childNodes.length; var v4 = 0; while (v4 < v8) { var v3 = this.childNodes[v4].getElementsByReferencedName(nameValue, qname); var v5 = v3.length; var v2 = 0; while (v2 < v5) { v6.push(v3[v2]); ++v2; } ++v4; } return v6; }; } if (v15.getAttributeByQName == undefined) { v15.getAttributeByQName = function (qn) { for (var v8 in this.attributes) { var v5 = ''; var v2 = v8; var v3 = v8.indexOf(':'); if (v3 != -1) { v5 = v8.substring(0, v3); v2 = v8.substring(v3 + 1); } var v4 = this.getNamespaceForPrefix(v5); var v7 = new mx.services.QName(v4, v2); if (v2 == qn.localPart && v4 == qn.namespaceURI) { return this.attributes[v8]; } } }; } if (v15.getQNameFromString == undefined) { v15.getQNameFromString = function (prefixedName, useDefault) { var v3 = prefixedName.indexOf(':'); var v4 = ''; if (v3 == -1 && !useDefault) { return new mx.services.QName(prefixedName); return new mx.services.QName(prefixedName, this.getNamespaceForPrefix(v4)); } v4 = prefixedName.substring(0, v3); prefixedName = prefixedName.substring(v3 + 1); return new mx.services.QName(prefixedName, this.getNamespaceForPrefix(v4)); }; } if (v15.registerNamespace == undefined) { v15.registerNamespace = function (prefix, namespaceURI) { if (this.mappings == undefined) { this.loadNSMappings(); } if (prefix == '') { prefix = '<>defaultNamespace<>'; } if (this.mappings[prefix] == undefined) { this.mappings[prefix] = namespaceURI; } }; } if (v15.unregisterNamespace == undefined) { v15.unregisterNamespace = function (prefix) { if (this.mappings != undefined) { if (prefix == '') { prefix = '<>defaultNamespace<>'; } this.mappings[prefix] = undefined; } }; } v15 = XML.prototype; v15.nscount = 0; v15.getElementsByQName = function (qname) { return this.firstChild.getElementsByQName(qname); }; v15.getElementsByReferencedName = function (tname, qname) { var v2 = tname.indexOf(':'); if (v2 == -1) { var v3 = tname; return this.firstChild.getElementsByReferencedName(v3, qname); } var v3 = tname.substring(v2 + 1); return this.firstChild.getElementsByReferencedName(v3, qname); }; v15.getElementsByLocalName = function (lname) { return this.firstChild.getElementsByLocalName(lname); }; }; v1.alreadySetup = false; v1._doc = new XML(); ASSetPropFlags(mx.services.Namespace.prototype, null, 1); } #endinitclip } movieClip 441 __Packages.mx.services.PendingCall { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.PendingCall) { var v1 = function (myCall) { this.myCall = myCall; this.soapConstants = myCall.soapConstants; this.log = myCall.log; this.doLazyDecoding = myCall.doLazyDecoding; this.doDecoding = myCall.doDecoding; }; mx.services.PendingCall = v1; var v2 = v1.prototype; v2.setTimeout = function (timeoutMS) { this.timeoutFunc = function () { clearInterval(this.timerID); this.timerID = undefined; var v2 = new mx.services.SOAPFault('Timeout', 'Timeout while calling method ' + this.myCall.operationName + '!'); this.onFault(v2); }; this.timerID = setInterval(this, 'timeoutFunc', timeoutMS); }; v2.cancel = function () { if (this.timerID != undefined) { clearInterval(this.timerID); } this.cancelled = true; }; v2.encode = function () { this.log.logInfo('Encoding SOAPCall request', mx.services.Log.VERBOSE); this.encodeHTTPRequest(); this.encodeSOAPEnvelope(); }; v2.encodeHTTPRequest = function () { this.log.logDebug('Creating HTTP request object'); var v2 = new XML(); v2.ignoreWhite = true; v2.contentType = this.soapConstants.contentType; v2.xmlDecl = mx.services.SOAPConstants.XML_DECLARATION; v2.addRequestHeader('SOAPAction', '"' + this.myCall.actionURI + '"'); this.request = v2; }; v2.encodeSOAPEnvelope = function () { this.log.logDebug('Encoding SOAP request envelope'); var v3 = this.request; var v4 = this.myCall.schemaVersion; var v5 = this.soapConstants.envelopeQName; var v2 = v3.createElement(mx.services.SOAPConstants.SOAP_ENV_PREFIX + ':' + v5.localPart); v2.attributes['xmlns:' + mx.services.SOAPConstants.SOAP_ENV_PREFIX] = this.soapConstants.ENVELOPE_URI; v2.attributes['xmlns:' + mx.services.SOAPConstants.XML_SCHEMA_PREFIX] = v4.xsdURI; v2.attributes['xmlns:' + mx.services.SOAPConstants.XML_SCHEMA_INSTANCE_PREFIX] = v4.xsiURI; v3.appendChild(v2); v3.soapEnvelope = v2; this.encodeSOAPHeader(); this.encodeSOAPBody(); }; v2.encodeSOAPHeader = function () { var v7 = this.request; var v6 = this.request.soapEnvelope; var v3 = this.requestHeaders; if (v3.length > 0) { var v4 = v7.createElement(mx.services.SOAPConstants.SOAP_ENV_PREFIX + ':' + this.soapConstants.headerQName.localPart); v6.appendChild(v4); var v5 = v3.length; var v2 = 0; while (v2 < v5) { v4.appendChild(v3[v2].element); ++v2; } } }; v2.encodeSOAPBody = function () { this.log.logDebug('Encoding SOAP request body'); var v2 = this.request; var v3 = this.myCall; var v5 = v3.operationName; var v6 = v3.targetNamespace; var v7 = v3.soapConstants; var v10 = v2.soapEnvelope; v2.soapEnvelope = null; var v8 = v7.bodyQName; var v4 = v2.createElement(mx.services.SOAPConstants.SOAP_ENV_PREFIX + ':' + v8.localPart); v10.appendChild(v4); if (!v3.useLiteralBody) { if (v3.operationStyle != mx.services.SOAPConstants.DOC_STYLE) { if (v3.operationStyle == mx.services.SOAPConstants.WRAPPED_STYLE && v3.elementFormQualified) { v2.soapOperation = v2.createElement(v5); v2.soapOperation.attributes.xmlns = v6; } else { var v9 = this.getStringFromQName(v4, new mx.services.QName(v5, v6)); v2.soapOperation = v2.createElement(v9); if (v3.useStyle == mx.services.SOAPConstants.USE_ENCODED) { v2.soapOperation.attributes[mx.services.SOAPConstants.SOAP_ENV_PREFIX + ':encodingStyle'] = v7.ENCODING_URI; } } v4.appendChild(v2.soapOperation); } else { v2.soapOperation = v4; } } }; v2.addHeader = function (headerElement) { this.log.logDebug('Adding header: ' + headerElement.nodeName); if (this.requestHeaders == undefined) { this.requestHeaders = new Array(); } this.requestHeaders.push(new mx.services.SOAPHeader(headerElement)); }; v2.getOrCreatePrefix = function (node, namespaceURI, preferredPrefix) { if (namespaceURI == undefined || namespaceURI == '') { var v5 = node.getNamespaceForPrefix(''); if (v5 != undefined && v5 != '') { node.attributes.xmlns = ''; node.registerNamespace('', ''); } return ''; } var v2 = node.getPrefixForNamespace(namespaceURI); var v6 = false; if (v2 == undefined) { if (preferredPrefix == undefined) { ++this.request.nscount; v2 = 'ns' + this.request.nscount; } else { v2 = preferredPrefix; } v6 = true; } if (v6) { if (v2 != '') { node.attributes['xmlns:' + v2] = namespaceURI; } else { node.attributes.xmlns = namespaceURI; } node.registerPrefix(v2, namespaceURI); } return v2; }; v2.getStringFromQName = function (node, qname) { var v2 = this.getOrCreatePrefix(node, qname.namespaceURI); if (v2 != '') { return v2 + ':' + qname.localPart; } else { return qname.localPart; } }; v2.encodeParam = function (paramName, paramType, parentNode, qname) { var v2; var v4 = this.request; var v12 = mx.services.SOAPConstants.SCHEMA_INSTANCE_TYPE; if (paramType.typeType == mx.services.DataType.ARRAY_TYPE) { if (this.myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { v2 = v4.createElement(mx.services.SOAPConstants.SOAP_ENC_PREFIX + ':' + paramName); v2.attributes['xmlns:' + mx.services.SOAPConstants.SOAP_ENC_PREFIX] = this.soapConstants.ENCODING_URI; parentNode.appendChild(v2); v2.nodeName = paramName; var v7 = paramType.arrayType; var v8 = mx.services.SOAPConstants.ARRAY_TYPE_PQNAME; var v11 = this.getOrCreatePrefix(v2, v7.namespaceURI); v2.attributes[v8] = v11 + ':' + v7.name; } else { v2 = v4.createElement(paramName); parentNode.appendChild(v2); if (qname != undefined) { v2.nodeName = this.getStringFromQName(v2, qname); } } return v2; } if (this.myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var v9 = this.getStringFromQName(parentNode, new mx.services.QName(paramName, paramType.namespaceURI)); v2 = v4.createElement(v9); parentNode.appendChild(v2); v2.nodeName = paramName; return v2; } v2 = v4.createElement(paramName); parentNode.appendChild(v2); if (qname != undefined) { v2.nodeName = this.getStringFromQName(v2, qname); } return v2; }; v2.encodeParamValue = function (valueObj, valueType, elementNode, document) { var v29 = mx.services.SOAPConstants.SCHEMA_INSTANCE_TYPE; if (valueType.typeType == mx.services.DataType.ARRAY_TYPE) { var v19 = valueType.arrayType; var v20 = valueObj.length; if (this.myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED && valueType.isEncodedArray == true) { var v11 = valueType; var v4 = ''; var v21 = true; while (v11.typeType == mx.services.DataType.ARRAY_TYPE) { var v3 = v11.dimensions; if (v3.length > 1) { var v9 = 0; while (v9 < v3.length) { if (v9 > 0) { v4 += ','; } v4 += v3[v9]; ++v9; } } else { if (v21) { v4 += '[' + v20 + ']'; v21 = false; } else { v4 += '[]'; } } v11 = v11.arrayType; } elementNode.attributes[mx.services.SOAPConstants.ARRAY_TYPE_PQNAME] = this.getStringFromQName(elementNode, valueType.qname) + v4; elementNode.attributes[v29] = mx.services.SOAPConstants.ARRAY_PQNAME; } var v9 = 0; while (v9 < v20) { var v18 = this.getStringFromQName(elementNode, valueType.itemElement); var v13 = document.createElement(v18); var v22 = elementNode.getPrefixForNamespace(v19.namespaceURI); elementNode.appendChild(v13); this.encodeParamValue(valueObj[v9], v19, v13, document); ++v9; } return undefined; } if (this.myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var v26; var v28 = true; if (valueType == undefined) { valueType = valueObj.__dataType; } if (valueType == undefined || valueType.typeType == mx.services.DataType.ANY_TYPE) { var v27 = typeof valueObj; var v25; if (v27 == 'number') { v25 = 'double'; } else { if (v27 == 'object') { if (valueObj instanceof Date) { v25 = 'dateTime'; valueType = this.myCall.schemaVersion.dateTimeType; } else { valueType = mx.services.DataType.objectType; v28 = false; } } else { v25 = 'string'; } } var v30 = this.getOrCreatePrefix(elementNode, this.myCall.schemaVersion.xsdURI); v26 = v30 + ':' + v25; } else { if (!valueType.isAnonymous) { var v30 = this.getOrCreatePrefix(elementNode, valueType.namespaceURI); v26 = v30 + ':' + valueType.name; } } if (v28 && v26 != undefined) { elementNode.attributes[v29] = v26; } } if (valueType.typeType == mx.services.DataType.MAP_TYPE) { this.encodeMap(valueObj, elementNode, document); } else { if (valueType.partTypes != undefined) { for (var v24 in valueType.partTypes) { var v6 = valueType.partTypes[v24]; var v8 = valueObj[v24]; var v17 = new mx.services.QName(v24, v6.namespace); if (v6.isAttribute) { elementNode.attributes[v24] = v8; } else { var v16 = this.encodeParam(v24, v6.schemaType, elementNode, v17); if (v8 != undefined) { this.encodeParamValue(v8, v6.schemaType, v16, document); } } } if (valueType.simpleValue != undefined) { var v33 = document.createTextNode(valueObj._value); elementNode.appendChild(v33); } return undefined; } if (valueType.typeType == mx.services.DataType.DATE_TYPE) { var v34 = this.encodeDate(valueObj, valueType); var v31 = document.createTextNode(v34); elementNode.appendChild(v31); return undefined; } if (valueType.typeType == mx.services.DataType.OBJECT_TYPE) { for (var v23 in valueObj) { var v14 = valueObj[v23]; var v12 = v14.__dataType; var v15 = this.encodeParam(v23, v12, elementNode); this.encodeParamValue(v14, v12, v15, document); } return undefined; } else { var v32 = document.createTextNode(valueObj.toString()); elementNode.appendChild(v32); } } }; v2.setupBodyXML = function (bodyXML) { this.request.appendChild(bodyXML); }; v2.setupParams = function (inputParams) { var v9 = this.myCall.parameters; var v10 = v9.length; var v3 = 0; while (v3 < v10) { var v2 = v9[v3]; var v4 = v2.schemaType; var v6; if (v2.mode != mx.services.SOAPConstants.MODE_OUT) { var v8 = this.encodeParam(v2.name, v4, this.request.soapOperation, v2.qname); if (inputParams instanceof Array) { v6 = inputParams[v3]; } else { v6 = inputParams[v2.name]; } var v5 = v4.schemaType; if (v5 == undefined) { v5 = v4; } this.encodeParamValue(v6, v5, v8, this.request); } ++v3; } this.request.soapOperation = null; this._multiRefs = null; }; v2.encodeMap = function (obj, mapNode, document) { for (var v8 in obj) { var v2 = document.createElement('item'); var v4 = document.createElement('key'); v2.appendChild(v4); this.encodeParamValue(v8, undefined, v4, document); var v5 = document.createElement('value'); v2.appendChild(v5); this.encodeParamValue(obj[v8], undefined, v5, document); mapNode.appendChild(v2); } }; v2.encodeDate = function (rawDate, dateType) { var v1 = new String(); if (dateType.name == 'dateTime' || dateType.name == 'date') { v1 = v1.concat(rawDate.getUTCFullYear(), '-'); var v2 = rawDate.getUTCMonth() + 1; if (v2 < 10) { v1 = v1.concat('0'); } v1 = v1.concat(v2, '-'); v2 = rawDate.getUTCDate(); if (v2 < 10) { v1 = v1.concat('0'); } v1 = v1.concat(v2); } if (dateType.name == 'dateTime') { v1 = v1.concat('T'); } if (dateType.name == 'dateTime' || dateType.name == 'time') { v2 = rawDate.getUTCHours(); if (v2 < 10) { v1 = v1.concat('0'); } v1 = v1.concat(v2, ':'); v2 = rawDate.getUTCMinutes(); if (v2 < 10) { v1 = v1.concat('0'); } v1 = v1.concat(v2, ':'); v2 = rawDate.getUTCSeconds(); if (v2 < 10) { v1 = v1.concat('0'); } v1 = v1.concat(v2, '.'); v2 = rawDate.getUTCMilliseconds(); if (v2 < 10) { v1 = v1.concat('00'); } else { if (v2 < 100) { v1 = v1.concat('0'); } } v1 = v1.concat(v2); } v1 = v1.concat('Z'); return v1; }; v2.decode = function (assert, response, callbackMethod) { this.log.logInfo('Decoding SOAPCall response', mx.services.Log.VERBOSE); var v3; if (!assert) { var v4 = new mx.services.SOAPFault(); v4.faultcode = 'Server.Connection'; v4.faultstring = 'Unable to connect to endpoint: ' + this.myCall.endpointURI; v4.faultactor = this.myCall.targetNamespace; this.fault = v4; this.log.logDebug('No response received from remote service'); } else { v3 = this.decodeSOAPEnvelope(response); if (this.log.level > mx.services.Log.BRIEF) { this.response._decodeTimeMark = new Date(); this.response._decodeTime = Math.round(this.response._decodeTimeMark - this.response._parseTimeMark); this.log.logInfo('Decoded SOAP response into result [' + this.response._decodeTime + ' millis]'); } } if (this.fault != undefined) { this.__handleFault(this.fault); this.onFault(this.fault, response); this.myCall.onFault(this.fault, response); } else { if (this.responseHeaders != undefined) { this.onHeaders(this.responseHeaders, response); } this.onResult(v3, response); this.myCall.onResult(v3, response); this.__handleResult(v3); } this[callbackMethod](v3, response); }; v2.decodeSOAPEnvelope = function (response) { this.log.logDebug('Decoding SOAP response envelope'); var v4; var v11 = this.soapConstants; var v8 = response.firstChild; if (v8.getNamespaceURI() != this.soapConstants.ENVELOPE_URI) { var v12 = new mx.services.SOAPFault(); v12.faultcode = 'VersionMismatch'; v12.faultstring = 'Request implements version: ' + this.soapConstants.ENVELOPE_URI + ' Response implements version ' + v8.getNamespaceURI(); this.fault = v12; return v4; } var v13 = v8.getPrefixForNamespace(v11.ENVELOPE_URI); var v6 = v8.getPrefixForNamespace(this.myCall.schemaVersion.xsiURI); var v14 = v8.getPrefixForNamespace(this.myCall.schemaVersion.xsdURI); var v9 = new mx.services.PrefixedQName(v13, v11.headerQName); var v10 = new mx.services.PrefixedQName(v13, v11.bodyQName); var v15 = new mx.services.PrefixedQName(v13, v11.faultQName); var v5 = v8.childNodes; var v7 = v5.length; var v3 = 0; while (v3 < v7) { var v2 = v5[v3]; if (v2.nodeName == v9.qualifiedName) { this.responseHeaders = this.decodeSOAPHeaders(v2); } else { if (this.fault == undefined && v2.nodeName == v10.qualifiedName) { this.bodyNode = v2; if (this.doDecoding) { v4 = this.decodeSOAPBody(v2, v6); } else { v4 = v2.childNodes; } } } ++v3; } return v4; }; v2.decodeSOAPHeaders = function (headerNode) { this.log.logDebug('Decoding SOAP response headers'); var v6 = new Array(); var v7 = headerNode.childNodes; var v8 = v7.length; var v4 = 0; while (v4 < v8) { var v2 = v7[v4]; var v5 = v2.attributes.mustUnderstand; if (v5 == '1') { if (typeof this.onHeader != 'function') { var v3 = new mx.services.SOAPFault(); v3.faultcode = 'MustUnderstand'; v3.faultstring = 'No callback for header ' + v2.nodeName; this.fault = v3; break; } } v6.push(v2); ++v4; } return v6; }; v2.decodeSOAPBody = function (bodyNode, xsiPrefix) { this.log.logDebug('Decoding SOAP response body'); var v7; var v8 = bodyNode.childNodes[0]; if (v8.getLocalName() == this.soapConstants.faultQName.localPart) { this.fault = this.decodeSOAPFault(v8); return v7; } if (this.myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var v9 = v8.childNodes; var v10 = v9.length; var v2 = 0; while (v2 < v10) { var v3 = v9[v2]; var v6 = this.getOutputParameter(v2); var v4 = this.decodeResultNode(v3, v6.schemaType); v6.value = v4; if (v2 == 0) { v7 = v4; } ++v2; } return v7; } v6 = this.getOutputParameterByQName(v8.getQName()); if (this.myCall.operationStyle == mx.services.SOAPConstants.WRAPPED_STYLE) { for (var v11 in v6.schemaType.partTypes) { var v5 = v6.schemaType.partTypes[v11]; v4 = this.decodeResultNode(v8.childNodes[0], v5.schemaType); v7 = v4; } return v7; } v7 = this.decodeResultNode(v8, v6.schemaType); v6.value = v7; return v7; }; v2.decodeResultNode = function (resultNode, schemaType, preExistingResult) { var v5; var v17 = resultNode.attributes.href; if (v17 != undefined) { resultNode = this.decodeRef(this.bodyNode, v17); if (resultNode == undefined) { } } var v13 = this.myCall.schemaVersion; for (var v15 in resultNode.attributes) { var v10 = resultNode.getQNameFromString(v15); if (v13.nilQName.equals(v10)) { var v9 = resultNode.attributes[v15]; if (v9 == 'true' || v9 == '1') { return null; } } } if (schemaType == undefined || schemaType.typeType == mx.services.DataType.ANY_TYPE) { schemaType = this.getTypeFromNode(resultNode); } if (schemaType.typeType == mx.services.DataType.ARRAY_TYPE) { v5 = this.decodeArrayNode(resultNode, schemaType.arrayType); return v5; } if (schemaType.typeType == mx.services.DataType.COLL_TYPE) { v5 = this.decodeCollectionNode(resultNode, schemaType.arrayType, preExistingResult); return v5; } if (schemaType.typeType == mx.services.DataType.XML_TYPE) { v5 = resultNode; return v5; } if (schemaType.typeType == mx.services.DataType.MAP_TYPE) { v5 = this.decodeMap(resultNode); return v5; } if (schemaType.typeType == mx.services.DataType.ROWSET_TYPE) { v5 = this.decodeRowSet(resultNode); return v5; } if (schemaType.typeType == mx.services.DataType.QBEAN_TYPE) { v5 = this.decodeQueryBean(resultNode); return v5; } if (schemaType.partTypes != undefined) { v5 = new Object(); var v2; for (v2 in schemaType.partTypes) { if (schemaType.partTypes[v2].isAttribute) { v5[v2] = resultNode.attributes[v2]; } } if (schemaType.simpleValue == undefined) { var v12 = resultNode.childNodes; v2 = 0; while (v2 < v12.length) { var v7 = v12[v2]; var v6 = v7.getLocalName(); var v8 = schemaType.partTypes[v6]; if (v8 == undefined) { } var v11 = v5[v6]; v5[v6] = this.decodeResultNode(v7, v8.schemaType, v11); ++v2; } } else { v5._value = this.decodeResultNode(resultNode, schemaType.simpleValue); } return v5; } if (resultNode.childNodes.length == 0) { if (schemaType.typeType == mx.services.DataType.STRING_TYPE) { v5 = ''; } else { v5 = null; } return v5; } if (resultNode.childNodes.length == 1 && resultNode.childNodes[0].nodeType == 3) { var v14 = resultNode.childNodes[0]; var v18 = schemaType.typeType; if (schemaType.typeType == mx.services.DataType.BOOLEAN_TYPE) { var v16 = v14.nodeValue; if (v16.toLowerCase() == 'true' || v16 == '1') { v5 = true; } else { v5 = false; } } else { if (schemaType.typeType == mx.services.DataType.DATE_TYPE) { v5 = this.decodeDate(v14.nodeValue); } else { if (schemaType.typeType == mx.services.DataType.NUMBER_TYPE) { v5 = Number(v14.nodeValue); } else { v5 = v14.nodeValue; } } } return v5; } v5 = resultNode; return v5; }; v2.decodeRef = function (rootNode, id) { id = id.substring(1); if (this._multiRefs == null) { this._multiRefs = new Object(); var v5 = rootNode.childNodes; var v6 = v5.length; var v2 = 0; while (v2 < v6) { var v3 = v5[v2]; var v4 = v3.attributes.id; if (v4 != undefined) { this._multiRefs[v4] = v3; } ++v2; } } return this._multiRefs[id]; }; v2.decodeArrayNode = function (node, arrayType) { return (this.myCall.useStyle == mx.services.SOAPConstants.USE_LITERAL) ? this.decodeLiteralArrayNode(node, arrayType) : this.decodeSOAPArrayNode(node, arrayType); }; v2.decodeLiteralArrayNode = function (node, arrayType) { if (this.doLazyDecoding) { return new mx.services.ArrayProxy(node.childNodes, this, arrayType); } var v4 = new Array(); var v3 = node.childNodes; var v5 = v3.length; var v2 = 0; while (v2 < v5) { v4.push(this.decodeResultNode(v3[v2], arrayType)); ++v2; } return v4; }; v2.decodeCollectionNode = function (node, arrayType, arrayObj) { if (arrayObj == undefined) { arrayObj = new Array(); } arrayObj.push(this.decodeResultNode(node, arrayType)); return arrayObj; }; v2.decodeSOAPArrayNode = function (node, arrayType) { var v9 = new Array(); var v4 = node.getAttributeByQName(this.soapConstants.soapencArrayTypeQName); if (v4 == undefined) { var v7 = this.decodeLiteralArrayNode(node, arrayType); return v7; } var v2 = this.myCall.schemaContext.getTypeByQName(node.getQNameFromString(v4)); if (v2 != undefined) { arrayType = v2; } var v6 = new Array(1); v6[0] = 0; var v8 = this.decodeArrayContents(node.childNodes, v6, arrayType.dimensions, 0, arrayType); return v8; }; v2.decodeArrayContents = function (arrayMemberNodes, linearIdxHolder, dimensions, dimensionIdx, arrayType) { var v4 = dimensions[dimensionIdx]; var v3 = new Array(); if (dimensionIdx == dimensions.length - 1) { var v2 = 0; while (v2 < v4) { v3[v2] = this.decodeResultNode(arrayMemberNodes[linearIdxHolder[0]++], arrayType.arrayType); ++v2; } return v3; } v2 = 0; while (v2 < v4) { v3[v2] = this.decodeArrayContents(arrayMemberNodes, linearIdxHolder, dimensions, dimensionIdx + 1, arrayType.arrayType); ++v2; } return v3; }; v2.decodeRowSet = function (rowSetNode) { var v10 = new Array(); var v7 = new Array(); var v6 = new Array(); var v9 = rowSetNode.childNodes[0].childNodes; var v12 = v9.length; var v2 = 0; while (v2 < v12) { var v3 = v9[v2]; var v4 = v3.attributes.type; if (v4 == undefined) { return undefined; } var v5 = v3.getQNameFromString(v4); if (v5 == undefined) { return undefined; } v7[v2] = this.myCall.schemaContext.getTypeByQName(v5); v6[v2] = v3.childNodes[0].nodeValue; ++v2; } var v8 = rowSetNode.childNodes[1].childNodes; var v11 = v8.length; if (this.doLazyDecoding) { return new mx.services.RowSetProxy(this, v8, v7, v6); } v2 = 0; while (v2 < v11) { v10[v2] = this.decodeRowSetItem(v8[v2], v7, v6); ++v2; } return v10; }; v2.decodeQueryBean = function (beanNode) { var v10 = new Array(); var v4 = new Array(); var v9 = (beanNode.getElementsByLocalName('columnList'))[0]; if (v9 == undefined) { return undefined; } var v11 = v9.childNodes.length; var v3 = 0; while (v3 < v11) { var v7 = v9.childNodes[v3]; v4[v3] = v7.childNodes[0].nodeValue; ++v3; } var v12 = (beanNode.getElementsByLocalName('data'))[0]; if (v12 == undefined) { return undefined; } var v8 = this.decodeSOAPArrayNode(v12); v3 = 0; while (v3 < v8.length) { var v6 = v8[v3]; var v5 = new Object(); var v2 = 0; while (v2 < v4.length) { v5[v4[v2]] = v6[v2]; ++v2; } v10[v3] = v5; ++v3; } return v10; }; v2.decodeRowSetItem = function (itemNode, types, fields) { var v5 = itemNode.childNodes; var v4 = new Object(); var v6 = types.length; var v2 = 0; while (v2 < v6) { var v3 = v5[v2]; v4[fields[v2]] = this.decodeResultNode(v3, types[v2]); ++v2; } return v4; }; v2.decodeMap = function (node) { var v9 = new Object(); var v8 = node.childNodes; var v5 = 0; while (v5 < v8.length) { var v4 = v8[v5].childNodes; var v6; var v7; var v3 = 0; while (v3 < v4.length) { var v2 = v4[v3]; if (v2.nodeName == 'key') { v6 = this.decodeResultNode(v2); } else { if (v2.nodeName == 'value') { v7 = this.decodeResultNode(v2); } else {} } ++v3; } v9[v6] = v7; ++v5; } return v9; }; v2.getTypeFromNode = function (node) { var v2 = node.attributes.xsi:type; if (v2 == undefined) { return undefined; } var v3 = node.getQNameFromString(v2); if (v3 == undefined) { return undefined; } return this.myCall.schemaContext.getTypeByQName(v3); }; v2.decodeDate = function (rawValue) { var v4; var v2; var v1; var v8 = rawValue.indexOf('T'); var v14 = rawValue.indexOf(':'); var v15 = rawValue.indexOf('-'); if (v8 != -1) { v2 = rawValue.substring(0, v8); v1 = rawValue.substring(v8 + 1); } else { if (v14 != -1) { v1 = rawValue; } else { if (v15 != -1) { v2 = rawValue; } } } if (v2 != undefined) { var v13 = v2.substring(0, v2.indexOf('-')); var v12 = v2.substring(5, v2.indexOf('-', 5)); var v9 = v2.substring(8, 10); v4 = new Date(Date.UTC(v13, v12 - 1, v9)); } else { v4 = new Date(); } if (v1 != undefined) { var v3 = 'Z'; var v6 = 0; if (v2.length > 10) { v3 = v2.substring(10); } else { if (v1.length > 12) { v3 = v1.substring(12); } } if (v3 != 'Z') { var v7 = v3.length; v6 = v3.substring(v7 - 5, v7 - 3); if (v3.charAt(v7 - 6) == '+') { v6 = -v6; } } var v16 = Number(v1.substring(0, v1.indexOf(':'))); var v17 = v1.substring(3, v1.indexOf(':', 3)); var v10 = v1.substring(6, v1.indexOf('.', 6)); var v11 = v1.substr(9, 3); v4.setUTCHours(v16, v17, v10, v11); v4 = new Date(v4.getTime() + v6 * 3600000); } return v4; }; v2.decodeSOAPFault = function (faultNode) { this.log.logDebug('SOAP: Decoding SOAP response fault'); var v4 = new mx.services.SOAPFault(); v4.element = faultNode; var v5 = faultNode.childNodes; var v6 = v5.length; var v3 = 0; while (v3 < v6) { var v2 = v5[v3]; if (v2.nodeName == 'faultcode') { v4.faultcode = v2.childNodes[0].toString(); } else { if (v2.nodeName == 'faultstring') { v4.faultstring = v2.childNodes[0].toString(); } else { if (v2.nodeName == 'faultactor') { v4.faultactor = v2.childNodes[0].toString(); } else { if (v2.nodeName == 'detail') { v4.detail = v2; } } } } ++v3; } return v4; }; v2.getOutputParameter = function (index) { return (this.getOutputParameters())[index]; }; v2.getOutputParameterByName = function (localName) { var v4 = this.getOutputParameters(); var v5 = v4.length; var v2 = 0; while (v2 < v5) { var v3 = v4[v2]; if (v3.name == localName) { return v3; } ++v2; } }; v2.getOutputParameterByQName = function (qname) { var v4 = this.getOutputParameters(); var v6 = v4.length; var v2 = 0; while (v2 < v6) { var v3 = v4[v2].qname; if (v3 != undefined) { if (v3.localPart == qname.localPart && v3.namespaceURI == qname.namespaceURI) { return v4[v2]; } } ++v2; } }; v2.getOutputParameters = function () { var v5 = new Array(); var v4 = this.myCall.parameters; var v6 = v4.length; var v2 = 0; while (v2 < v6) { var v3 = v4[v2]; if (v3.mode != mx.services.SOAPConstants.MODE_IN) { v5.push(v3); } ++v2; } return v5; }; v2.getOutputValue = function (index) { return (this.getOutputValues())[index]; }; v2.getOutputValues = function () { var v5 = new Array(); var v4 = this.myCall.parameters; var v6 = v4.length; var v2 = 0; while (v2 < v6) { var v3 = v4[v2]; if (v3.mode != mx.services.SOAPConstants.MODE_IN) { v5.push(v3.value); } ++v2; } return v5; }; v2.getInputParameter = function (index) { return (this.getInputParameters())[index]; }; v2.getInputParameters = function () { var v5 = new Array(); var v4 = this.myCall.parameters; var v6 = v4.length; var v2 = 0; while (v2 < v6) { var v3 = v4[v2]; if (v3.mode != mx.services.SOAPConstants.MODE_OUT) { v5.push(v3); } ++v2; } return v5; }; v2.doLazyDecoding = true; v2.doDecoding = true; v2.cancelled = false; ASSetPropFlags(mx.services.PendingCall.prototype, null, 1); } #endinitclip } movieClip 442 __Packages.mx.services.SOAPConstants { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.SOAPConstants) { var v1 = function () {}; mx.services.SOAPConstants = v1; var v2 = v1.prototype; v1.getConstants = function (versionNumber) { if (versionNumber < 2) { if (mx.services.SOAPConstants.soap11Constants == undefined) { mx.services.SOAPConstants.soap11Constants = new mx.services.SOAPConstants(); mx.services.SOAPConstants.soap11Constants.setSOAP11(); } return mx.services.SOAPConstants.soap11Constants; } else { if (mx.services.SOAPConstants.soap12Constants == undefined) { mx.services.SOAPConstants.soap12Constants = new mx.services.SOAPConstants(); mx.services.SOAPConstants.soap12Constants.setSOAP12(); } return mx.services.SOAPConstants.soap12Constants; } }; v2.setSOAP11 = function () { this.contentType = 'text/xml; charset=utf-8'; this.ENVELOPE_URI = 'http://schemas.xmlsoap.org/soap/envelope/'; this.ENCODING_URI = 'http://schemas.xmlsoap.org/soap/encoding/'; this.setupConstants(); }; v2.setSOAP12 = function () { this.contentType = 'application/soap+xml; charset=utf-8'; this.ENVELOPE_URI = 'http://www.w3.org/2002/12/soap-envelope'; this.ENCODING_URI = 'http://www.w3.org/2002/12/soap-encoding'; this.setupConstants(); }; v2.setupConstants = function () { this.envelopeQName = new mx.services.QName('Envelope', this.ENVELOPE_URI); this.headerQName = new mx.services.QName('Header', this.ENVELOPE_URI); this.bodyQName = new mx.services.QName('Body', this.ENVELOPE_URI); this.faultQName = new mx.services.QName('Fault', this.ENVELOPE_URI); this.actorQName = new mx.services.QName('Actor', this.ENVELOPE_URI); this.soapencArrayQName = new mx.services.QName('Array', this.ENCODING_URI); this.soapencArrayTypeQName = new mx.services.QName('arrayType', this.ENCODING_URI); this.soapencRefQName = new mx.services.QName('multiRef', this.ENCODING_URI); }; v1.DEFAULT_VERSION = 0; v1.XML_DECLARATION = '<?xml version="1.0" encoding="utf-8"?>\r'; v1.RPC_STYLE = 'rpc'; v1.DOC_STYLE = 'document'; v1.WRAPPED_STYLE = 'wrapped'; v1.USE_ENCODED = 'encoded'; v1.USE_LITERAL = 'literal'; v1.DEFAULT_OPERATION_STYLE = mx.services.SOAPConstants.RPC_STYLE; v1.DEFAULT_USE = mx.services.SOAPConstants.USE_ENCODED; v1.SOAP_ENV_PREFIX = 'SOAP-ENV'; v1.SOAP_ENC_PREFIX = 'soapenc'; v1.XML_SCHEMA_PREFIX = 'xsd'; v1.XML_SCHEMA_INSTANCE_PREFIX = 'xsi'; v1.XML_SCHEMA_URI = 'http://www.w3.org/2001/XMLSchema'; v1.XML_SCHEMA_INSTANCE_URI = 'http://www.w3.org/2001/XMLSchema-instance'; v1.SCHEMA_INSTANCE_TYPE = mx.services.SOAPConstants.XML_SCHEMA_INSTANCE_PREFIX + ':type'; v1.ARRAY_PQNAME = mx.services.SOAPConstants.SOAP_ENC_PREFIX + ':Array'; v1.ARRAY_TYPE_PQNAME = mx.services.SOAPConstants.SOAP_ENC_PREFIX + ':arrayType'; v1.MODE_IN = 0; v1.MODE_OUT = 1; v1.MODE_INOUT = 2; v1.DISCONNECTED_FAULT_CODE = 'Client.Disconnected'; ASSetPropFlags(mx.services.SOAPConstants.prototype, null, 1); } #endinitclip } movieClip 443 __Packages.mx.services.SOAPFault { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.SOAPFault) { var v1 = function (fcode, fstring, detail, element, faultNS, faultactor) { this.faultcode = fcode; this.faultstring = fstring; this.detail = detail; this.element = element; this.faultNamespaceURI = faultNS; this.faultactor = faultactor; }; mx.services.SOAPFault = v1; var v2 = v1.prototype; ASSetPropFlags(mx.services.SOAPFault.prototype, null, 1); } #endinitclip } movieClip 444 __Packages.mx.services.SOAPCall { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.SOAPCall) { var v1 = function (operationName, targetNamespace, endpointURI, logObj, operationStyle, useStyle, encodingStyle, soapAction, soapVersion, schemaContext) { this.log = logObj; this.log.logInfo('Creating SOAPCall for ' + operationName, mx.services.Log.VERBOSE); this.log.logDebug('SOAPCall endpoint URI: ' + endpointURI); this.operationName = operationName; this.targetNamespace = targetNamespace; this.endpointURI = endpointURI; this.parameters = new Array(); this.concurrency = mx.services.SOAPCall.MULTIPLE_CONCURRENCY; this.timeout = undefined; this.version = (soapVersion == undefined) ? mx.services.SOAPConstants.DEFAULT_VERSION : soapVersion; this.schemaContext = schemaContext; var v2 = schemaContext.schemaVersion; this.schemaVersion = (v2 == undefined) ? mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2001) : v2; this.soapConstants = mx.services.SOAPConstants.getConstants(this.version); this.doLazyDecoding = true; this.doDecoding = true; this.operationStyle = (operationStyle == undefined) ? mx.services.SOAPConstants.DEFAULT_OPERATION_STYLE : operationStyle; this.useStyle = (useStyle == undefined) ? mx.services.SOAPConstants.DEFAULT_USE : useStyle; this.encodingStyle = (encodingStyle == undefined) ? this.soapConstants.ENCODING_URI : encodingStyle; this.actionURI = (soapAction == undefined || soapAction == '') ? this.targetNamespace + '/' + this.operationName : soapAction; this.log.logInfo('Successfully created SOAPCall', mx.services.Log.VERBOSE); }; mx.services.SOAPCall = v1; var v2 = v1.prototype; v2.addParameter = function (soapParam) { this.parameters.push(soapParam); }; v2.invoke = function () { if (this.request == undefined) { return undefined; } return this.asyncInvoke(this.request, 'onLoad'); }; v2.asyncInvoke = function (args, callbackMethod) { var callback = new mx.services.PendingCall(this); if (!this.initialized) { this.wsdlOperation.parseMessages(); if (this.wsdlOperation.input.isWrapped) { this.operationStyle = mx.services.SOAPConstants.WRAPPED_STYLE; this.targetNamespace = this.wsdlOperation.input.targetNamespace; this.elementFormQualified = this.wsdlOperation.input.isQualified; } if (this.wsdlOperation.wsdl.fault != undefined) { this.triggerDelayedFault(callback, this.wsdlOperation.wsdl.fault); return callback; } var v4 = this.wsdlOperation.input.parameters; var v8 = v4.length; var v2 = 0; while (v2 < v8) { this.addParameter(v4[v2]); ++v2; } var v5 = this.wsdlOperation.output.parameters; var v6 = v5.length; v2 = 0; while (v2 < v6) { this.addParameter(v5[v2]); ++v2; } this.initialized = true; } this.log.logInfo('Asynchronously invoking SOAPCall: ' + this.operationName); var v10; if (this.log.level > mx.services.Log.BRIEF) { v10 = new Date(); } if (this.concurrency != mx.services.SOAPCall.MULTIPLE_CONCURRENCY && this.currentlyActive != undefined) { if (this.concurrency == mx.services.SOAPCall.SINGLE_CONCURRENCY) { var v11 = new mx.services.SOAPFault('ConcurrencyError', 'Attempt to call method ' + this.operationName + ' while another call is pending. Either change concurrency options or avoid multiple calls.'); this.triggerDelayedFault(callback, v11); return callback; } else { this.currentlyActive.cancel(); } } this.currentlyActive = callback; if (this.concurrency == mx.services.SOAPCall.SINGLE_CONCURRENCY) { callback.isSingleCall = true; } callback.encode(); callback.callbackMethod = callbackMethod; callback.setupParams(args); var v7 = new XML(); v7.ignoreWhite = true; v7.callback = callback; v7._startTimeMark = v10; v7.onData = function (src) { var v2 = this.callback; delete this.callback; if (v2.isSingleCall) { v2.myCall.currentlyActive = undefined; } if (v2.timerID != undefined) { clearInterval(v2.timerID); v2.timerID = undefined; } if (v2.cancelled) { return undefined; } var v3 = v2.log.level; if (v3 > mx.services.Log.BRIEF) { this._networkTimeMark = new Date(); this._networkTime = Math.round(this._networkTimeMark - this._startTimeMark); v2.log.logInfo('Received SOAP response from network [' + this._networkTime + ' millis]'); } if (src != undefined) { this.parseXML(src); this.loaded = true; if (v3 > mx.services.Log.BRIEF) { this._parseTimeMark = new Date(); this._parseTime = Math.round(this._parseTimeMark - this._networkTimeMark); v2.log.logInfo('Parsed SOAP response XML [' + this._parseTime + ' millis]'); } } else { this.loaded = false; } v2.decode.call(v2, this.loaded, this, v2.callbackMethod); }; callback.response = v7; if (this.timeout != undefined) { callback.setTimeout(this.timeout); } callback.request.sendAndLoad(this.endpointURI, v7, 'POST'); this.log.logInfo('Sent SOAP Request Message', mx.services.Log.VERBOSE); return callback; }; v2.triggerDelayedFault = function (callback, fault) { callback.fault = fault; callback.handleDelayedFault = function () { clearInterval(this.timerID); this.timerID = undefined; this.__handleFault(this.fault); this.onFault(this.fault); }; callback.timerID = setInterval(function () { callback.handleDelayedFault(); }, 50); }; v1.MULTIPLE_CONCURRENCY = 0; v1.SINGLE_CONCURRENCY = 1; v1.LAST_CONCURRENCY = 2; v2.initialized = false; v2.useLiteralBody = false; ASSetPropFlags(mx.services.SOAPCall.prototype, null, 1); } #endinitclip } movieClip 445 __Packages.mx.services.SOAPHeader { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.SOAPHeader) { var v1 = function (element) { this.element = element; }; mx.services.SOAPHeader = v1; var v2 = v1.prototype; ASSetPropFlags(mx.services.SOAPHeader.prototype, null, 1); } #endinitclip } movieClip 446 __Packages.mx.services.RowSetProxy { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.RowSetProxy) { var v1 = function (sCall, xmlNodes, types, fields) { super(); this.sCall = sCall; this.xmlNodes = xmlNodes; this.types = types; this.fields = fields; this.length = xmlNodes.length; this.views = new Array(); }; mx.services.RowSetProxy = v1; var v2 = new Array(); mx.services.RowSetProxy.prototype = v2; v2.__resolve = function (index) { index = Number(index); if (index < 0 || index > this.length) { return undefined; } var v3 = this.sCall.decodeRowSetItem(this.xmlNodes[index], this.types, this.fields); this[index] = v3; return v3; }; v2.getColumnNames = function () { return this.fields; }; ASSetPropFlags(mx.services.RowSetProxy.prototype, null, 1); } #endinitclip } movieClip 447 __Packages.mx.services.Schema { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.Schema) { var v1 = function (targetNamespace, rootElement, schemaContext) { this.targetNamespace = targetNamespace; this.rootElement = rootElement; this.context = schemaContext; this.schemaVersion = schemaContext.schemaVersion; this.types = new Object(); this.elements = new Object(); }; mx.services.Schema = v1; var v2 = v1.prototype; v1.getSchemas = function (xmlDocument) { var v1 = new Array(); return v1; }; v2.registerType = function (dtype) { if (this.types[dtype.name] == undefined) { this.types[dtype.name] = dtype; } }; v2.registerElement = function (elementObj) { this.elements[elementObj.name] = elementObj; }; v2.parseType = function (localPart) { var v2 = (this.rootElement.getElementsByReferencedName(localPart, this.schemaVersion.complexTypeQName))[0]; if (v2 != undefined) { return this.parseComplexType(v2); } v2 = (this.rootElement.getElementsByReferencedName(localPart, this.schemaVersion.simpleTypeQName))[0]; if (v2 != undefined) { return this.parseSimpleType(v2); } }; v2.parseElement = function (name) { var v3 = (this.rootElement.getElementsByReferencedName(name, this.schemaVersion.elementTypeQName))[0]; if (v3 != undefined) { var v2 = this.parseElementDecl(v3); this.registerElement(v2); return v2; } }; v2.parseComplexType = function (typeNode, isAnonymous) { var v4 = new mx.services.DataType(); var v8 = typeNode.attributes.name; if (!isAnonymous) { v4.name = v8; v4.namespaceURI = this.targetNamespace; v4.qname = new mx.services.QName(v8, this.targetNamespace); this.registerType(v4); } else { v4.isAnonymous = true; } var v6 = typeNode.childNodes; var v7 = v6.length; var v5 = 0; for (;;) { if (!(v5 < v7 && this.context.fault == undefined)) break; var v2 = v6[v5]; var v3 = v2.getQName(); if (v3.equals(this.schemaVersion.allQName)) { this.parseAll(v2, v4); } else { if (v3.equals(this.schemaVersion.complexContentQName)) { this.parseComplexContent(v2, v4); } else { if (v3.equals(this.schemaVersion.simpleContentQName)) { this.parseSimpleContent(v2, v4); } else { if (v3.equals(this.schemaVersion.sequenceQName)) { this.parseSequence(v2, v4); } else { if (v3.equals(this.schemaVersion.attributeQName)) { this.parseAttribute(v2, v4); } } } } } ++v5; } typeNode.parsed = 1; return v4; }; v2.parseSimpleType = function (typeNode, isAnonymous) { var v8 = new mx.services.DataType(); var v11 = typeNode.attributes.name; if (!isAnonymous) { v8.name = v11; v8.namespaceURI = this.targetNamespace; v8.qname = new mx.services.QName(v11, this.targetNamespace); this.registerType(v8); } else { v8.isAnonymous = true; } var v9 = typeNode.childNodes; var v10 = v9.length; var v3 = 0; while (v3 < v10) { var v2 = v9[v3]; var v4 = v2.getQName(); if (v4.equals(this.schemaVersion.restrictionQName)) { var v5 = v2.attributes.base; var v6 = v2.getQNameFromString(v5); var v7 = this.context.getTypeByQName(v6); v8.typeType = v7.typeType; } ++v3; } typeNode.parsed = 1; return v8; }; v2.parseAll = function (allNode, typeObj) { return this.parseSequence(allNode, typeObj); }; v2.parseElementDecl = function (elementNode) { var v2 = new mx.services.ElementDecl(); var v6; if (elementNode.attributes.ref != undefined) { var v10 = elementNode.attributes.ref; var v9 = elementNode.getQNameFromString(v10); var v5 = this.context.getElementByQName(v9); v2.name = v5.name; v2.schemaType = v5.schemaType; v2.form = v5.form; v2.namespace = v5.namespace; v2.minOccurs = elementNode.attributes.minOccurs; v2.maxOccurs = elementNode.attributes.maxOccurs; return v2; } var v12 = elementNode.attributes.name; v2.name = v12; if (elementNode.attributes.type != undefined) { var v11 = elementNode.getQNameFromString(elementNode.attributes.type, true); v6 = this.context.getTypeByQName(v11); } else { var v8 = (elementNode.getElementsByQName(this.schemaVersion.complexTypeQName))[0]; if (v8 != null) { v6 = this.parseComplexType(v8, true); } else { var v7 = (elementNode.getElementsByQName(this.schemaVersion.simpleTypeQName))[0]; if (v7 != null) { v6 = this.parseSimpleType(v7, true); } } } v2.schemaType = v6; v2.minOccurs = elementNode.attributes.minOccurs; v2.maxOccurs = elementNode.attributes.maxOccurs; var v4 = elementNode.attributes.form; if (v4 == undefined) { v4 = this.elementFormDefault; } v2.form = v4; if (v4 == 'qualified') { v2.namespace = this.targetNamespace; return v2; } v2.namespace = ''; return v2; }; v2.parseAttribute = function (attrNode, typeObj) { var v4 = attrNode.attributes.name; var v6 = new Object(); v6.name = v4; var v5 = attrNode.attributes.type; if (v5 != undefined) { var v7 = attrNode.getQNameFromString(v5, true); var v3 = this.context.getTypeByQName(v7); if (v3 != undefined) { if (typeObj.partTypes == undefined) { typeObj.partTypes = new Object(); } var v2 = new Object(); v2.isAttribute = true; v2.schemaType = v3; typeObj.partTypes[v4] = v2; } } }; v2.parseSequence = function (sequenceNode, dtype) { var v9 = sequenceNode.childNodes; var v8 = v9.length; var v5 = v8 - 1; while (v5 > -1) { var v7 = v9[v5]; var v2 = this.parseElementDecl(v7); var v4 = v2; if (v8 == 1 && v2.maxOccurs == 'unbounded') { dtype.name = 'array'; dtype.typeType = mx.services.DataType.ARRAY_TYPE; dtype.arrayType = v4.schemaType; dtype.itemElement = new mx.services.QName(v2.name, v2.namespace); } else { if (v2.maxOccurs == 'unbounded') { var v6 = new mx.services.DataType('array', mx.services.DataType.ARRAY_TYPE); v6.arrayType = v4.schemaType; v4 = v6; v4.itemElement = new mx.services.QName(v2.name, v2.namespace); } if (dtype.partTypes == undefined) { dtype.partTypes = new Object(); } dtype.partTypes[v2.name] = v4; } --v5; } return dtype; }; v2.parseSimpleContent = function (contentNode, typeObj) { var v5 = contentNode.firstChild; if (!(v5.getQName()).equals(this.schemaVersion.extensionQName)) { return undefined; } var v6 = v5.attributes.base; var v7 = v5.getQNameFromString(v6, true); var v8 = this.context.getTypeByQName(v7); if (typeObj.partTypes == undefined) { typeObj.partTypes = new Object(); } typeObj.simpleValue = v8; var v3 = v5.childNodes; var v2 = 0; while (v2 < v3.length) { this.parseAttribute(v3[v2], typeObj); ++v2; } }; v2.parseComplexContent = function (contentNode, typeObj) { var v6 = contentNode.childNodes; var v7 = v6.length; var v3 = 0; for (;;) { if (!(v3 < v7 && this.context.fault == undefined)) break; var v2 = v6[v3]; var v4 = v2.getQName(); if (v4.equals(this.schemaVersion.restrictionQName)) { return this.parseRestriction(v2, typeObj); } if (v4.equals(this.schemaVersion.extensionQName)) { return this.parseExtension(v2, typeObj); } ++v3; } }; v2.parseExtension = function (extensionNode, typeObj) { var v11 = extensionNode.attributes.base; var v12 = extensionNode.getQNameFromString(v11); var v5 = this.context.getTypeByQName(v12); typeObj.typeType = v5.typeType; typeObj.partTypes = new Object(); for (var v9 in v5.partTypes) { typeObj.partTypes[v9] = v5.partTypes[v9]; } var v7 = extensionNode.childNodes; var v8 = v7.length; var v2 = 0; for (;;) { if (!(v2 < v8 && this.context.fault == undefined)) break; var v3 = v7[v2]; var v4 = v3.getQName(); if (v4.equals(this.schemaVersion.sequenceQName)) { return this.parseSequence(v3, typeObj); } ++v2; } }; v2.parseRestriction = function (restrictionNode, derivedType) { var v13 = restrictionNode.attributes.base; var v14 = restrictionNode.getQNameFromString(v13); var v12 = this.context.getTypeByQName(v14); derivedType.name = 'derived' + v12.name; derivedType.typeType = v12.typeType; derivedType.namespaceURI = v12.namespaceURI; if (v12.typeType == mx.services.DataType.ARRAY_TYPE) { derivedType.isEncodedArray = v12.isEncodedArray; derivedType.itemElement = v12.itemElement; } var v10 = restrictionNode.getElementsByQName(this.schemaVersion.attributeQName); var v9 = 0; while (v9 < v10.length) { var v5 = v10[v9]; var v7 = v5.attributes.ref; if (v7.indexOf(':') != -1) { v7 = v7.substring(v7.indexOf(':') + 1); } for (var v11 in v5.attributes) { var v2 = v11; if (v2.indexOf(':') != -1) { v2 = v2.substring(v2.indexOf(':') + 1); } if (v2 == v7) { var v6 = v5.attributes[v11]; var v8 = v5.getQNameFromString(v6, true); var v3 = this.context.getTypeByQName(v8); if (v3 != undefined) { derivedType[v2] = v3[v2]; derivedType.name = v3.name; derivedType.qname = v3.qname; derivedType.namespaceURI = v3.namespaceURI; } else { derivedType[v2] = v6; } } } ++v9; } return derivedType; }; ASSetPropFlags(mx.services.Schema.prototype, null, 1); } #endinitclip } movieClip 448 __Packages.mx.services.SchemaContext { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.SchemaContext) { var v1 = function (logObj) { this.log = logObj; this.schemas = new Object(); }; mx.services.SchemaContext = v1; var v2 = v1.prototype; v1.RegisterSchemaTypes = function (schemaObj, schemaVersion) { var v1 = schemaVersion.xsdURI; schemaObj.registerType(new mx.services.DataType('boolean', mx.services.DataType.BOOLEAN_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('string', mx.services.DataType.STRING_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('decimal', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('integer', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('negativeInteger', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('nonNegativeInteger', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('positiveInteger', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('nonPositiveInteger', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('long', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('int', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('short', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('byte', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('unsignedLong', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('unsignedInt', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('unsignedShort', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('unsignedByte', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('float', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('double', mx.services.DataType.NUMBER_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('date', mx.services.DataType.DATE_TYPE, v1)); var v3 = new mx.services.DataType('dateTime', mx.services.DataType.DATE_TYPE, v1); schemaVersion.dateTimeType = v3; schemaObj.registerType(v3); schemaObj.registerType(new mx.services.DataType('time', mx.services.DataType.DATE_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('base64Binary', mx.services.DataType.OBJECT_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('hexBinary', mx.services.DataType.OBJECT_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('token', mx.services.DataType.STRING_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('normalizedString', mx.services.DataType.STRING_TYPE, v1)); schemaObj.registerType(new mx.services.DataType('anyType', mx.services.DataType.ANY_TYPE, v1)); if (v1 == mx.services.SchemaVersion.XSD_URI_1999) { schemaObj.registerType(new mx.services.DataType('timeInstant', mx.services.DataType.DATE_TYPE, v1)); } }; v1.RegisterStandardTypes = function (schemaObj) { mx.services.SchemaContext.RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_1999)); mx.services.SchemaContext.RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2000)); mx.services.SchemaContext.RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2001)); schemaObj.registerType(new mx.services.DataType('string', mx.services.DataType.STRING_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('int', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('integer', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('long', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('short', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('byte', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('decimal', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('float', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('base64', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('double', mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType('boolean', mx.services.DataType.BOOLEAN_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); var v2 = new mx.services.DataType('Array', mx.services.DataType.ARRAY_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI); v2.arrayType = new mx.services.DataType('any', mx.services.DataType.ANY_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI); v2.arrayDimensions = 1; v2.isEncodedArray = true; v2.itemElement = new mx.services.QName('item'); schemaObj.registerType(v2); schemaObj.registerType(new mx.services.DataType('Map', mx.services.DataType.MAP_TYPE, mx.services.SchemaVersion.APACHESOAP_URI)); schemaObj.registerType(new mx.services.DataType('RowSet', mx.services.DataType.ROWSET_TYPE, mx.services.SchemaVersion.APACHESOAP_URI)); schemaObj.registerType(new mx.services.DataType('QueryBean', mx.services.DataType.QBEAN_TYPE, mx.services.SchemaVersion.CF_RPC_URI)); }; v2.registerSchemaNode = function (rootElement, document) { var v4 = rootElement.getQName(); if (v4.localPart != 'schema') { return undefined; } var v2 = mx.services.SchemaVersion.getSchemaVersion(v4.namespaceURI); if (v2 == undefined) { return undefined; } this.schemaVersion = v2; if ((rootElement.getQName()).equals(v2.schemaQName)) { var v5 = rootElement.attributes.targetNamespace; this.processImports(rootElement, v2, document); return this.registerNamespace(v5, rootElement); } else {} }; v2.processImports = function (rootElement, schemaVersion, document) { var v4 = rootElement.getElementsByQName(schemaVersion.importQName); if (v4 != undefined) { var v3 = 0; while (v3 < v4.length) { var v2 = v4[v3].attributes.schemaLocation; if (v2 != undefined) { v2 = this.buildURL(v2, document.location); var v5 = v4[v3].attributes.namespace; this.importDocument(v2, v5); } ++v3; } } }; v2.importDocument = function (location, namespaceURI) { var v2 = new XML(); v2.ignoreWhite = true; v2.schemaContext = this; v2.namespace = namespaceURI; v2.location = location; ++this.unresolvedImports; this.fetchDocument(v2); }; v2.fetchDocument = function (document) { document.onData = function (src) { if (src == undefined) { this.fault = new mx.services.SOAPFault(mx.services.SOAPConstants.DISCONNECTED_FAULT_CODE, 'Could not load imported schema', 'Unable to load schema, if currently online, please verify the URI and/or format of the schema at (' + this.schemaURI + ')'); this.log.logDebug('Unable to receive WSDL file'); } else { --this.unresolvedImports; this.registerSchemaNode(document.firstChild, document); } }; document.load(document.location, 'GET'); }; v2.buildURL = function (locationURL, contextURL) { if (locationURL.substr(0, 7) == 'http://' || locationURL.substr(0, 8) == 'https://') { return locationURL; } var v3 = contextURL.lastIndexOf('/'); contextURL = contextURL.substr(0, v3 + 1); return contextURL + locationURL; }; v2.registerNamespace = function (namespaceURI, rootElement) { this.log.logInfo('Registering schema namespace: ' + namespaceURI, mx.services.Log.VERBOSE); if (this.schemas[namespaceURI] != undefined) { this.log.logInfo('Duplicate namespace!'); return undefined; } var v2 = new mx.services.Schema(namespaceURI, rootElement, this); this.schemas[namespaceURI] = v2; var v4 = rootElement.attributes.elementFormDefault; if (v4 != undefined && v4 == 'qualified') { v2.elementFormDefault = 'qualified'; } return v2; }; v2.registerType = function (dtype) { var v4 = dtype.namespaceURI; var v2 = this.schemas[v4]; if (v2 == undefined) { v2 = this.registerNamespace(v4); } if (v2.types[dtype.name] == undefined) { v2.types[dtype.name] = dtype; } }; v2.registerElement = function (elemObj) { var v4 = elemObj.namespaceURI; var v2 = this.schemas[v4]; if (v2 == undefined) { v2 = this.registerNamespace(v4); } if (elemObj.form == undefined) { elemObj.form = v2.elementFormDefault; } v2.elements[elemObj.name] = elemObj; }; v2.getElementByQName = function (elQName) { var v3 = this.schemas[elQName.namespaceURI]; if (v3 != undefined) { var v2 = v3.elements[elQName.localPart]; if (v2 == undefined) { v2 = v3.parseElement(elQName.localPart); if (v2 == undefined) { } } return v2; } }; v2.getTypeByQName = function (typeQName) { var v13 = this.schemas[typeQName.namespaceURI]; if (v13 != undefined) { var v12 = typeQName.localPart; var v14 = v12.indexOf('['); if (v14 != -1) { var v15 = v12.substring(0, v14); var v9 = this.getTypeByQName(new mx.services.QName(v15, typeQName.namespaceURI)); var v4 = v12.substring(v14); var v2 = 0; while (v2 != -1) { var v6 = new Array(); ++v2; var v3 = v4.indexOf(',', v2); while (v3 != -1) { var v8 = Number(v4.substring(v2, v3)); v6.push(v8); v2 = v3 + 1; v3 = v4.indexOf(',', v2); } var v7 = v4.indexOf(']', v2); if (v7 == -1) { } if (v7 == v2) { v6.push(-1); } else { var v10 = Number(v4.substring(v2, v7)); v6.push(v10); } var v5 = new mx.services.DataType(v9.name, mx.services.DataType.ARRAY_TYPE, v9.namespaceURI); v5.isEncodedArray = true; v5.arrayType = v9; v5.itemElement = new mx.services.QName('item'); v5.dimensions = v6; v9 = v5; v2 = v4.indexOf('[', v7); } return v9; } var v11 = v13.types[v12]; if (v11 != undefined) { return v11; } v11 = v13.parseType(v12); if (v11 == undefined) { } return v11; } }; v2.getType = function (qualifiedName, node) { var v3 = ''; var v4 = qualifiedName; var v2 = qualifiedName.indexOf(':'); if (v2 != -1) { v3 = qualifiedName.substring(0, v2); v4 = qualifiedName.substring(v2 + 1); } var v6 = node.getNamespaceForPrefix(v3); return this.getTypeByQName(v4, v6, node); }; ASSetPropFlags(mx.services.SchemaContext.prototype, null, 1); } #endinitclip } movieClip 449 __Packages.mx.services.SOAPParameter { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.SOAPParameter) { var v1 = function (name, schemaType, mode, qname) { this.name = name; this.schemaType = schemaType; this.mode = (mode == undefined) ? mx.services.SOAPConstants.MODE_IN : mode; this.qname = qname; }; mx.services.SOAPParameter = v1; var v2 = v1.prototype; ASSetPropFlags(mx.services.SOAPParameter.prototype, null, 1); } #endinitclip } movieClip 450 __Packages.mx.services.WebService { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.WebService) { var v1 = function (wsdlLocation, logObj, proxyURI, endpointProxyURI, serviceName, portName) { mx.services.Namespace.setup(); this._name = serviceName; this._portName = portName; this._description = null; this._proxyURI = proxyURI; this._endpointReplacementURI = endpointProxyURI; this._timeout = -1; this.gotWSDL = false; this.stub = new mx.services.WebServiceProxy(this, wsdlLocation, logObj); this.__resolve = function (methodName) { return function () { return this.stub.invokeOperation(methodName, arguments); }; }; }; mx.services.WebService = v1; var v2 = v1.prototype; v2.getCall = function (operationName) { return this.stub.getCall(operationName); }; v2.onLoad = function (wsdl) {}; v2.onFault = function (fault) {}; ASSetPropFlags(mx.services.WebService.prototype, null, 1); } #endinitclip } movieClip 451 __Packages.mx.services.WebServiceProxy { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.WebServiceProxy) { var v1 = function (webservice, wsdlLocation, logObj) { this.log = logObj; this.log.logInfo('Creating stub for ' + wsdlLocation, mx.services.Log.VERBOSE); this.service = webservice; var v3; if (v3 == undefined) { v3 = this.service._proxyURI; } if (v3 != undefined) { wsdlLocation = this.buildURL(v3) + '?target=' + escape(wsdlLocation); } this.wsdlURI = this.buildURL(wsdlLocation); var v2 = new mx.services.Log(this.log.level, 'WSDL'); v2._parentLog = this.log; v2.onLog = function (txt) { this._parentLog.onLog(txt); }; this.wsdl = new mx.services.WSDL(this.wsdlURI, this, v2); this.wsdl.onLoad = function () { this.serviceProxy.onWSDL(); }; this.log.logInfo('Created stub for ' + this.wsdlURI, mx.services.Log.VERBOSE); }; mx.services.WebServiceProxy = v1; var v2 = v1.prototype; v2.buildURL = function (url) { var v2 = url; if (url.indexOf('http://') == -1 && url.indexOf('https://') == -1) { var v3 = _root._url.indexOf('/', 8); if (v3 != -1) { v2 = _root._url.substring(0, v3) + url; } } return v2; }; v2.onWSDL = function () { var v12 = this.wsdl.fault; if (v12 == undefined) { var v8 = new Object(); var v10 = this.wsdl.services; var v7 = 0; var v5 = null; var v6 = null; for (var v9 in v10) { var v4 = new Object(); var v3 = this.wsdl.services[v9].ports; for (var v11 in v3) { var v2 = this.createCallsFromPort(v3[v11]); v4[v11] = v2; if (v5 == undefined) { v5 = v11; v6 = v9; } ++v7; } v8[v9] = v4; } this._servicePortMappings = v8; v9 = this.service._name; v11 = this.service._portName; if (v9 == undefined && v11 == undefined) { if (v7 == 1) { v9 = v6; v11 = v5; } else { if (v7 == 0) { v12 = new mx.services.SOAPFault('WSDL.NoPorts', 'There are no valid services/ports in the WSDL file!'); } else { v12 = new mx.services.SOAPFault('WSDL.MultiplePorts', 'There are multiple possible ports in the WSDL file; please specify a service name and port name!'); } } } if (v12 == undefined) { if (v9 == undefined) { v9 = v6; } if (v11 == undefined) { v11 = v5; } var v13 = this.setPort(v11, v9); if (v13 == undefined) { return undefined; } this.log.logInfo('Set active port in service stub: ' + v9 + ' : ' + v11, mx.services.Log.VERBOSE); this.service.gotWSDL = true; this.service.onLoad.call(this.service, this.wsdl.document); } } if (v12 != undefined) { this.service.onFault.call(this.service, v12); this.log.logDebug('Service stub found fault upon receiving WSDL: ' + v12.faultstring); } this.service.__resolve = function (operationName) { var callback = new mx.services.PendingCall(); callback.genSingleConcurrencyFault = function () { clearInterval(this.timerID); var v2 = new mx.services.SOAPFault('Client.NoSuchMethod', 'Couldn\'t find method \'' + operationName + '\' in service!'); this.__handleFault(v2); this.onFault(v2); }; callback.timerID = setInterval(function () { callback.genSingleConcurrencyFault(); }, 50); return callback; }; this.unEnqueueCalls(v12); }; v2.setPort = function (portName, serviceName) { var v4 = (serviceName == undefined) ? this.service._name : serviceName; var service = this._servicePortMappings[v4]; if (service == undefined) { this.service.onFault(new mx.services.SOAPFault('Client.NoSuchService', 'Couldn\'t find service \'' + v4 + '\'')); return undefined; } var v3 = this._servicePortMappings[v4][portName]; if (v3 == undefined) { this.service.onFault(new mx.services.SOAPFault('Client.NoSuchPort', 'Couldn\'t find a matching port (service = \'' + v4 + '\', port = \'' + portName + '\')')); return undefined; } for (var v5 in this.activePort) { this.service[v5] = undefined; } for (v5 in v3) { this.service[v5] = function () { return this.stub.invokeOperation(arguments.callee.name, arguments); }; this.service[v5].name = v5; } this.activePort = v3; this.service._name = v4; this.service._description = this._servicePortMappings[v4].description; return this.activePort; }; v2.createCallsFromPort = function (wsdlPort) { var v17 = new Object(); var v20 = wsdlPort.binding; var v19 = v20.portType; var v16 = v19.operations; var v13 = wsdlPort.endpointURI; if (this.service._endpointReplacementURI != undefined) { var v21 = v13.indexOf('/', 7); v13 = this.service._endpointReplacementURI + v13.substring(v21); } var v23; var v18 = this.wsdl.schemas; var v14 = this.service._proxyURI; if (v14 != undefined) { v14 = this.buildURL(v14); } var v15 = this.waitingOps; var v4; for (v4 in v16) { var v3 = v16[v4]; var v7 = v3.actionURI; var v12 = v3.style; var v6 = v3.inputEncoding; var v10 = v6.use; var v9 = v6.namespaceURI; var v11 = v6.encodingStyle; var v5 = new mx.services.Log(this.log.level, 'SOAP'); v5._parentLog = this.log; v5.onLog = function (txt) { this._parentLog.onLog(txt); }; var v8 = v13; if (v14 != undefined) { v8 = v14 + '?transport=SoapHttp&action=' + escape(v7) + '&target=' + escape(v13); } var v2 = v15[v4]; if (v2 != undefined) { delete v15[v4]; } else { v2 = new mx.services.SOAPCall(v4); } v2.targetNamespace = v9; v2.endpointURI = v8; v2.log = v5; v2.operationStyle = v12; v2.useStyle = v10; v2.encodingStyle = v11; v2.actionURI = v7; v2.schemaContext = v18; v2.wsdlOperation = v3; if (v3.description != undefined) { v2.description = v3.description; } v17[v4] = v2; this.log.logInfo('Made SOAPCall for operation ' + v4, mx.services.Log.BRIEF); } return v17; }; v2.invokeOperation = function (operationName, args) { var v2; if (this.wsdl.fault != undefined) { if (this.wsdl.fault.faultcode == mx.services.SOAPConstants.DISCONNECTED_FAULT_CODE) { v2 = this.enqueueCall(operationName, args); } else { this.service.onFault.call(this.service, this.wsdl.fault); } return v2; } if (this.wsdl.rootWSDL.xmlDoc == undefined || !this.wsdl.rootWSDL.xmlDoc.loaded) { v2 = this.enqueueCall(operationName, args); this.log.logInfo('Queing call ' + operationName); return v2; } v2 = this.invokeCall(operationName, args); if (v2 == undefined) { var v5 = new mx.services.SOAPFault('Client.NoSuchMethod', 'Couldn\'t find method \'' + operationName + '\' in service!'); this.service.onFault.call(this.service, v5); return undefined; } this.log.logInfo('Invoking call ' + operationName); return v2; }; v2.getCall = function (operationName) { if (this.wsdl.rootWSDL.xmlDoc != undefined && this.wsdl.rootWSDL.xmlDoc.loaded) { return this.activePort[operationName]; } var v2 = this.waitingOps; if (v2 == undefined) { v2 = new Object(); this.waitingOps = v2; } var v3 = v2[operationName]; if (v3 == undefined) { v3 = new mx.services.SOAPCall(operationName); v2[operationName] = v3; } return v3; }; v2.invokeCall = function (operationName, parameters) { var v2 = this.activePort[operationName]; if (v2 == undefined) { return undefined; } if (this.service._timeout != -1) { v2.timeout = this.service._timeout; } var v3 = v2.asyncInvoke(parameters, 'onLoad'); return v3; }; v2.enqueueCall = function (operationName, args) { if (this.callQueue == undefined) { this.callQueue = new Array(); } var v2 = new Object(); v2.operationName = operationName; v2.args = args; v2.cancel = function () { this.cancelled = true; }; this.callQueue.push(v2); return v2; }; v2.unEnqueueCalls = function (fault) { var v7 = this.waitingOps; if (v7 != undefined) { for (var v10 in v7) { var v6 = v7[v10]; if (fault != undefined) { v6.onFault(fault); continue; } var v3 = this.activePort[v10]; if (v3 == undefined) { v6.onFault(new mx.services.SOAPFault('Client.NoSuchMethod', 'Couldn\'t find method \'' + v10 + '\' in service!')); continue; } } } var v8 = this.callQueue; if (v8 != undefined) { var v9 = v8.length; var v4 = 0; while (v4 < v9) { var v2 = v8[v4]; if (v2.cancelled) { } else { if (fault != undefined) { this.log.logInfo('Faulting previously queued call ' + v2.operationName); v2.onFault(fault); } else { this.log.logInfo('Invoking previously queued call ' + v2.operationName); v3 = this.invokeCall(v2.operationName, v2.args); if (v3 == undefined) { fault = new mx.services.SOAPFault('Client.NoSuchMethod', 'Couldn\'t find method \'' + v2.operationName + '\' in service!'); v2.onFault(fault); return undefined; } v3.originalPromise = v2; v2.myCall = v3.myCall; v3.timerObj = v2.timerObj; v3.onResult = function (result, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onResult(result, response); }; v3.onFault = function (fault) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onFault(fault); }; v3.__handleResult = function (result, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.__handleResult(result, response); }; v3.__handleFault = function (fault) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.__handleFault(fault); }; v3.onHeaders = function (headers, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onHeaders(headers, response); }; } } ++v4; } } }; ASSetPropFlags(mx.services.WebServiceProxy.prototype, null, 1); } #endinitclip } movieClip 452 __Packages.mx.services.WSDLConstants { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.WSDLConstants) { var v1 = function () {}; mx.services.WSDLConstants = v1; var v2 = v1.prototype; v1.getConstants = function (versionNumber) { var v1 = new Object(); v1.definitionsQName = new mx.services.QName('definitions', mx.services.WSDLConstants.WSDL_URI); v1.typesQName = new mx.services.QName('types', mx.services.WSDLConstants.WSDL_URI); v1.messageQName = new mx.services.QName('message', mx.services.WSDLConstants.WSDL_URI); v1.portTypeQName = new mx.services.QName('portType', mx.services.WSDLConstants.WSDL_URI); v1.bindingQName = new mx.services.QName('binding', mx.services.WSDLConstants.WSDL_URI); v1.serviceQName = new mx.services.QName('service', mx.services.WSDLConstants.WSDL_URI); v1.importQName = new mx.services.QName('import', mx.services.WSDLConstants.WSDL_URI); v1.documentationQName = new mx.services.QName('documentation', mx.services.WSDLConstants.WSDL_URI); v1.portQName = new mx.services.QName('port', mx.services.WSDLConstants.WSDL_URI); v1.soapAddressQName = new mx.services.QName('address', mx.services.WSDLConstants.WSDL_SOAP_URI); v1.bindingQName = new mx.services.QName('binding', mx.services.WSDLConstants.WSDL_URI); v1.soapBindingQName = new mx.services.QName('binding', mx.services.WSDLConstants.WSDL_SOAP_URI); v1.operationQName = new mx.services.QName('operation', mx.services.WSDLConstants.WSDL_URI); v1.soapOperationQName = new mx.services.QName('operation', mx.services.WSDLConstants.WSDL_SOAP_URI); v1.documentationQName = new mx.services.QName('documentation', mx.services.WSDLConstants.WSDL_URI); v1.soapBodyQName = new mx.services.QName('body', mx.services.WSDLConstants.WSDL_SOAP_URI); v1.inputQName = new mx.services.QName('input', mx.services.WSDLConstants.WSDL_URI); v1.outputQName = new mx.services.QName('output', mx.services.WSDLConstants.WSDL_URI); v1.parameterQName = new mx.services.QName('part', mx.services.WSDLConstants.WSDL_URI); return v1; }; v1.WSDL_URI = 'http://schemas.xmlsoap.org/wsdl/'; v1.WSDL_SOAP_URI = 'http://schemas.xmlsoap.org/wsdl/soap/'; v1.SOAP_ENVELOPE_URI = 'http://schemas.xmlsoap.org/soap/envelope/'; v1.SOAP_ENCODING_URI = 'http://schemas.xmlsoap.org/wsdl/soap/encoding/'; v1.HTTP_WSDL_URI = 'http://schemas.xmlsoap.org/wsdl/http/'; v1.HTTP_SOAP_URI = 'http://schemas.xmlsoap.org/soap/http'; v1.MACROMEDIA_SOAP_URI = 'http://www.macromedia.com/soap/'; v1.DEFAULT_STYLE = 'document'; ASSetPropFlags(mx.services.WSDLConstants.prototype, null, 1); } #endinitclip } movieClip 453 __Packages.mx.services.WSDL { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.WSDL) { var v1 = function (wsdlURI, serviceProxy, logObj, wsdlVersion) { this.log = logObj; this.log.logInfo('Creating WSDL object for ' + wsdlURI, mx.services.Log.VERBOSE); this.serviceProxy = serviceProxy; this.wsdlURI = wsdlURI; this.wsdlDocs = new Object(); var v4 = (wsdlVersion == undefined) ? 0 : wsdlVersion; this.constants = mx.services.WSDLConstants.getConstants(v4); var v3 = new mx.services.Log(this.log.level, 'XMLSchema'); v3._parentLog = this.log; v3.onLog = function (txt) { this._parentLog.onLog(txt); }; this.schemas = new mx.services.SchemaContext(v3); mx.services.SchemaContext.RegisterStandardTypes(this.schemas); this.unresolvedImports = 1; var v2 = new XML(); v2.ignoreWhite = true; v2.wsdl = this; v2.location = wsdlURI; v2.isRootWSDL = true; this.document = v2; this.startTime = new Date(); this.fetchDocument(v2); this.log.logInfo('Successfully created WSDL object', mx.services.Log.VERBOSE); }; mx.services.WSDL = v1; var v2 = v1.prototype; v2.fetchDocument = function (document) { document.onData = function (src) { if (src != undefined) { var v2 = new Date(); this.wsdl.log.logInfo('Received WSDL document from the remote service', mx.services.Log.VERBOSE); this.parseXML(src); this.loaded = true; var v3 = Math.round(new Date() - v2); this.wsdl.log.logInfo('Parsed WSDL XML [' + v3 + ' millis]', mx.services.Log.VERBOSE); } this.wsdl.parseDocument(this); delete this.wsdl; }; document.load(document.location, 'GET'); }; v2.parseDocument = function (document) { if (!document.loaded) { this.fault = new mx.services.SOAPFault(mx.services.SOAPConstants.DISCONNECTED_FAULT_CODE, 'Could not load WSDL', 'Unable to load WSDL, if currently online, please verify the URI and/or format of the WSDL (' + this.wsdlURI + ')'); this.log.logDebug('Unable to receive WSDL file'); } else { --this.unresolvedImports; this.processImports(document); } if (this.unresolvedImports == 0 || this.fault != undefined) { this.parseCompleted(); } }; v2.buildURL = function (locationURL, contextURL) { if (locationURL.substr(0, 7) == 'http://' || locationURL.substr(0, 8) == 'https://') { return locationURL; } var v3 = contextURL.lastIndexOf('/'); contextURL = contextURL.substr(0, v3 + 1); return contextURL + locationURL; }; v2.processImports = function (document) { var v12 = document.firstChild; var v14 = this.constants; var v13 = v12.getQName(); if (!v13.equals(v14.definitionsQName)) { if (v13.localPart == 'schema') { this.schemas.registerSchemaNode(v12); return undefined; } else { this.fault = new mx.services.SOAPFault('Server', 'Faulty WSDL format', 'Definitions must be the first element in a WSDL document'); var v7 = document.firstChild; if (v7.nodeName == 'soapenv:Envelope') { v7 = v7.firstChild; if (v7.nodeName == 'soapenv:Body') { v7 = v7.firstChild; if (v7.nodeName == 'soapenv:Fault') { var v11; var v10; var v9; var v2 = v7.firstChild; while (v2 != null) { if (v2.nodeName == 'faultcode') { v11 = v2.firstChild; } else { if (v2.nodeName == 'faultstring') { v10 = v2.firstChild; } else { if (v2.nodeName == 'detail') { v9 = v2.firstChild; } } } v2 = v2.nextSibling; } this.fault = new mx.services.SOAPFault(v11, v10, v9); } } } return undefined; } } var v16 = v12.attributes.targetNamespace; var v15 = new mx.services.WSDLDocument(document, this); this.wsdlDocs[v16] = v15; if (document.isRootWSDL) { this.targetNamespace = v16; this.rootWSDL = v15; } var v5 = v12.getElementsByQName(v14.importQName); if (v5 != undefined) { var v3 = 0; while (v3 < v5.length) { var v4 = v5[v3].attributes.location; v4 = this.buildURL(v4, document.location); var v6 = v5[v3].attributes.namespace; this.importDocument(v4, v6); ++v3; } } }; v2.importDocument = function (location, namespaceURI) { var v2 = new XML(); v2.ignoreWhite = true; v2.wsdl = this; v2.namespace = namespaceURI; v2.location = location; ++this.unresolvedImports; this.fetchDocument(v2); }; v2.parseCompleted = function () { if (this.fault == undefined) { this.parseServices(); } if (this.fault == undefined) { var v2 = Math.floor(new Date() - this.startTime); } this.onLoad(); }; v2.parseServices = function () { this.log.logDebug('Parsing definitions'); var v6 = this.constants; var v3 = this.rootWSDL.serviceElements; if (v3 == undefined) { this.fault = new mx.services.SOAPFault('Server.NoServicesInWSDL', 'Could not load WSDL', 'No <wsdl:service> elements found in WSDL at ' + this.wsdlURI + '.'); this.log.logDebug('No <service> elements in WSDL file'); return undefined; } var v4 = new Object(); for (var v5 in v3) { var v2 = this.parseService(v3[v5]); v4[v2.name] = v2; } this.services = v4; this.log.logDebug('Completed WSDL parsing'); }; v2.parseSchemas = function (typesNode) { this.log.logDebug('Parsing schemas'); var v3 = typesNode.childNodes; var v4 = v3.length; var v2 = 0; while (v2 < v4) { this.schemas.registerSchemaNode(v3[v2]); ++v2; } this.log.logDebug('Done parsing schemas.'); }; v2.parseService = function (serviceElement) { this.log.logDebug('Parsing service: ' + serviceElement.nodeName); var v11 = new Object(); v11.ports = new Object(); var v8 = this.constants; v11.name = serviceElement.attributes.name; var v12 = serviceElement.childNodes; var v13 = v12.length; var v7 = 0; for (;;) { if (!(v7 < v13 && this.fault == undefined)) break; var v2 = v12[v7]; var v9 = v2.getQName(); if (v9.equals(v8.documentationQName)) { v11.description = v2.firstChild; } else { if (v9.equals(v8.portQName)) { var v4 = new Object(); var v3 = 0; while (v3 < v2.childNodes.length) { var v5 = v2.childNodes[v3]; var v6 = v5.getQName(); if (v6.equals(v8.soapAddressQName)) { v4.endpointURI = v5.attributes.location; break; } ++v3; } if (v4.endpointURI != undefined) { v4.name = v2.attributes.name; var v10 = v2.getQNameFromString(v2.attributes.binding); v4.binding = this.parseBinding(v10); v11.ports[v4.name] = v4; } } } ++v7; } return v11; }; v2.parseBinding = function (bindingName) { this.log.logDebug('Parsing binding: ' + bindingName); var v10 = new Object(); var v4 = this.constants; var v25 = this.wsdlDocs[bindingName.namespaceURI]; if (v25 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.UnrecognizedNamespace', 'The WSDL parser had no registered document for the namespace \'' + bindingName.namespaceURI + '\''); return undefined; } var v19 = v25.getBindingElement(bindingName.localPart); if (v19 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.UnrecognizedBindingName', 'The WSDL parser couldn\'t find a binding named \'' + bindingName.localPart + '\' in namespace \'' + bindingName.namespaceURI + '\''); return undefined; } var v26 = v19.getQNameFromString(v19.attributes.type); v10.portType = this.parsePortType(v26); if (this.fault != undefined) { return undefined; } var v23 = v19.childNodes; var v24 = v23.length; var v13 = 0; while (v13 < v24) { var v11 = v23[v13]; var v17 = v11.getQName(); if (v17.equals(v4.soapBindingQName)) { v10.style = v11.attributes.style; if (v10.style == undefined) { v10.style = mx.services.WSDLConstants.DEFAULT_STYLE; } v10.transport = v11.attributes.transport; } else { if (v17.equals(v4.operationQName)) { var v20 = v11.attributes.name; var v7 = v10.portType.operations[v20]; var v14 = v11.childNodes; var v18 = v14.length; var v6 = 0; while (v6 < v18) { var v3 = v14[v6]; var v5 = v3.getQName(); if (v5.equals(v4.soapOperationQName)) { var v12 = v3.attributes.soapAction; v7.actionURI = v12; var v9 = v3.attributes.style; if (v9 == undefined) { v9 = v10.style; } v7.style = v9; } else { if (v5.equals(v4.inputQName)) { var v8 = (v3.getElementsByQName(v4.soapBodyQName))[0]; var v2 = new Object(); v2.use = v8.attributes.use; v2.namespaceURI = v8.attributes.namespace; if (v2.namespaceURI == undefined) { v2.namespaceURI = this.targetNamespace; } v2.encodingStyle = v8.attributes.encodingStyle; v7.inputEncoding = v2; } else { if (v5.equals(v4.outputQName)) { var v8 = (v3.getElementsByQName(v4.soapBodyQName))[0]; var v2 = new Object(); v2.use = v8.attributes.use; v2.namespaceURI = v8.attributes.namespace; if (v2.namespaceURI == undefined) { v2.namespaceURI = this.targetNamespace; } v2.encodingStyle = v8.attributes.encodingStyle; v7.outputEncoding = v2; } } } ++v6; } } } ++v13; } var v21 = this.document.getElementsByQName(v4.bindingQName); var v15 = 0; while (v15 < v21.length) { v19 = v21[v15]; var v16 = v19.attributes.name; if (bindingName != v16) { } else { v10.name = v16; } ++v15; } return v10; }; v2.parsePortType = function (portTypeName, document) { this.log.logDebug('Parsing portType: ' + portTypeName); var v19 = this.wsdlDocs[portTypeName.namespaceURI]; if (v19 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.UnrecognizedNamespace', 'The WSDL parser had no registered document for the namespace \'' + portTypeName.namespaceURI + '\''); return undefined; } var v18 = v19.getPortTypeElement(portTypeName.localPart); if (v18 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.UnrecognizedPortTypeName', 'The WSDL parser couldn\'t find a portType named \'' + portTypeName.localPart + '\' in namespace \'' + portTypeName.namespaceURI + '\''); return undefined; } var v13 = new Object(); var v7 = this.constants; v13.name = v18.attributes.name; v13.operations = new Object(); var v14 = v18.getElementsByQName(v7.operationQName); var v15 = v14.length; var v9 = 0; while (v9 < v15) { var v11 = v14[v9]; var v2 = new mx.services.WSDLOperation(v11.attributes.name, this, document); var v10 = v11.childNodes; var v12 = v10.length; var v5 = 0; while (v5 < v12) { var v3 = v10[v5]; var v4 = v3.getQName(); if (v4.equals(v7.documentationQName)) { v2.documentation = v3.childNodes[0]; } else { var v8 = v3.attributes.message; var v6 = v3.getQNameFromString(v8); if (v4.equals(v7.inputQName)) { v2.inputMessage = v6; } else { if (v4.equals(v7.outputQName)) { v2.outputMessage = v6; } } } ++v5; } if (v13.operations[v2.name] != undefined) { this.fault = new mx.services.SOAPFault('WSDL.OverloadedOperation', 'The WSDL contains an overloaded operation (' + v2.name + ') - we do not currently support this usage.'); return undefined; } v13.operations[v2.name] = v2; ++v9; } return v13; }; v2.parseMessage = function (messageName, operationName, mode, document) { this.log.logDebug('Parsing message: ' + messageName); var v22 = this.wsdlDocs[messageName.namespaceURI]; if (v22 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.UnrecognizedNamespace', 'The WSDL parser had no registered document for the namespace \'' + messageName.namespaceURI + '\''); return undefined; } var v21 = v22.getMessageElement(messageName.localPart); if (v21 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.UnrecognizedMessageName', 'The WSDL parser couldn\'t find a message named \'' + messageName.localPart + '\' in namespace \'' + messageName.namespaceURI + '\''); return undefined; } var v23 = this.constants; var v3 = new Object(); v3.name = v21.attributes.name; if (v3.name == undefined) { if (mode == mx.services.SOAPConstants.MODE_IN) { v3.name = operationName + 'Request'; } else { v3.name == operationName + 'Response'; } } this.log.logDebug('Message name is ' + v3.name); var v18 = v21.getElementsByQName(v23.parameterQName); var v16 = v18.length; v3.parameters = new Array(); var v8 = 0; while (v8 < v16) { var v5 = v18[v8]; var v14 = v5.attributes.name; var v2; var v12; if (v5.attributes.element != undefined) { var v10 = v5.attributes.element; var v13 = v5.getQNameFromString(v10); var v7 = this.schemas.getElementByQName(v13); if (this.schemas.fault != undefined) { this.fault = this.schemas.fault; return undefined; } if (v7 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.BadElement', 'Element ' + v10 + ' not resolvable'); return undefined; } v2 = v7.schemaType; v12 = v13; if (v16 == 1 && operationName == v13.localPart) { for (var v17 in v2.partTypes) { var v4 = v2.partTypes[v17]; var v6 = new mx.services.QName(v17, v4.namespace); var v15 = new mx.services.SOAPParameter(v17, v4.schemaType, mode, v6); v3.parameters.push(v15); v3.targetNamespace = v13.namespaceURI; } v3.isWrapped = true; if (v7.form == 'qualified') { v3.isQualified = true; } break; } } else { var v9 = v5.attributes.type; var v13 = v5.getQNameFromString(v9); v2 = this.schemas.getTypeByQName(v13); if (this.schemas.fault != undefined) { this.fault = this.schemas.fault; return undefined; } if (v2 == undefined) { this.fault = new mx.services.SOAPFault('WSDL.BadType', 'Type ' + v9 + ' not resolvable'); return undefined; } } var v15 = new mx.services.SOAPParameter(v14, v2, mode, v12); v3.parameters.push(v15); ++v8; } return v3; }; ASSetPropFlags(mx.services.WSDL.prototype, null, 1); } #endinitclip } movieClip 454 __Packages.mx.services.WSDLDocument { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.WSDLDocument) { var v1 = function (document, wsdl) { this.xmlDoc = document; var v8 = document.firstChild; var v6 = wsdl.constants; var v9 = v8.getQName(); if (!v9.equals(v6.definitionsQName)) { wsdl.fault = new mx.services.SOAPFault('Server', 'Faulty WSDL format', 'Definitions must be the first element in a WSDL document'); return undefined; } this.targetNamespace = v8.attributes.targetNamespace; this.bindingElements = new Object(); this.portTypeElements = new Object(); this.messageElements = new Object(); this.serviceElements = new Object(); var v3 = v8.childNodes; var v2 = 0; while (v2 < v3.length) { var v4 = v3[v2].getQName(); var v5 = v3[v2].attributes.name; if (v4.equals(v6.bindingQName)) { this.bindingElements[v5] = v3[v2]; } else { if (v4.equals(v6.portTypeQName)) { this.portTypeElements[v5] = v3[v2]; } else { if (v4.equals(v6.messageQName)) { this.messageElements[v5] = v3[v2]; } else { if (v4.equals(v6.serviceQName)) { this.serviceElements[v5] = v3[v2]; } else { if (v4.equals(v6.typesQName)) { wsdl.parseSchemas(v3[v2]); } } } } } ++v2; } }; mx.services.WSDLDocument = v1; var v2 = v1.prototype; v2.getBindingElement = function (name) { return this.bindingElements[name]; }; v2.getMessageElement = function (name) { return this.messageElements[name]; }; v2.getPortTypeElement = function (name) { return this.portTypeElements[name]; }; v2.getServiceElement = function (name) { return this.serviceElements[name]; }; ASSetPropFlags(mx.services.WSDLDocument.prototype, null, 1); } #endinitclip } movieClip 455 __Packages.mx.services.WSDLOperation { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.services) { _global.mx.services = new Object(); } if (!_global.mx.services.WSDLOperation) { var v1 = function (name, wsdl, document) { this.name = name; this.wsdl = wsdl; this.document = document; }; mx.services.WSDLOperation = v1; var v2 = v1.prototype; v2.parseMessages = function () { var v2 = this.wsdl; this.input = v2.parseMessage(this.inputMessage, this.name, mx.services.SOAPConstants.MODE_IN, this.document); this.output = v2.parseMessage(this.outputMessage, this.name, mx.services.SOAPConstants.MODE_OUT, this.document); }; ASSetPropFlags(mx.services.WSDLOperation.prototype, null, 1); } #endinitclip } movieClip 623 __Packages.mx.controls.DateChooser { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.DateChooser) { var v1 = function () { super(); }; mx.controls.DateChooser = v1; var v2 = new mx.core.UIComponent(); mx.controls.DateChooser.prototype = v2; v2.init = function () { super.init(); this.tabEnabled = false; this.boundingBox._visible = false; this.boundingBox._height = 0; this.boundingBox._width = 0; }; v2.createChildren = function () { var v5 = this.__get__width(); var v11 = this.__get__height(); this.createEmptyMovieClip('background_mc', this.backgroundDepth); var v3 = this.background_mc; v3.onPress = function () {}; v3.useHandCursor = false; this.createEmptyMovieClip('border_mc', this.borderDepth); var v10 = this.border_mc; this.sizeXRatio = v5 / this.defaultWidth; this.sizeYRatio = v11 / this.defaultHeight; v3.beginFill(16777215, 100); v3.lineTo(v5, 0); v3.lineTo(v5, v11); v3.lineTo(0, v11); v3.lineTo(0, 0); v3.endFill(); v3.styleName = this; mx.skins.ColoredSkinElement.setColorStyle(v3, 'backgroundColor'); v10.lineStyle(0, 0, 100); v10.lineTo(v5, 0); v10.lineTo(v5, v11); v10.lineTo(0, v11); v10.lineTo(0, 0); mx.skins.ColoredSkinElement.setColorStyle(v10, 'borderColor'); if (_global.styles.CalendarLayout != undefined) { this.styleName = _global.styles.CalendarLayout; } this.createClassObject(mx.controls.CalendarLayout, 'dateGrid', this.dateGridDepth, {'styleName': this}); for (var v12 in this.uninitializer) { this.dateGrid[v12] = this.uninitializer[v12]; } this.dateGrid.move(0, 41 * this.sizeYRatio); this.createEmptyMovieClip('calHeader', this.headerDepth); var v4 = this.calHeader; v4.beginFill(3708547, 100); v4.moveTo(1, 1); v4.lineTo(v5 - 1, 1); v4.lineTo(v5 - 1, 30 * this.sizeYRatio); v4.lineTo(1, 30 * this.sizeYRatio); v4.lineTo(1, 1); v4.endFill(); v4.styleName = this; mx.skins.ColoredSkinElement.setColorStyle(v4, 'headerColor'); this.createLabel('dateDisplay', this.headerDisplayDepth); this.dateDisplay._width = 120 * this.sizeXRatio; this.dateDisplay._height = 20 * this.sizeYRatio; this.dateDisplay._x = 45 * this.sizeXRatio; this.dateDisplay._y = 5 * this.sizeYRatio; this.dateDisplay.readOnly = true; this.dateDisplay.selectable = false; this.dateDisplay.setStyle('styleName', 'HeaderDateText'); this.dateDisplay.text = (this.__get__monthNames())[this.__get__displayedMonth()] + ' ' + this.__get__displayedYear(); this.createClassObject(mx.controls.SimpleButton, 'fwdMonthButton', this.fwdMonthButtonSkinID); var v9 = this.fwdMonthButton; v9.autoRepeat = false; v9.tabEnabled = false; v9.move(v5 - 12 * this.sizeXRatio - 6 * this.sizeXRatio, 8 * this.sizeYRatio); v9.falseUpSkin = this.fwdMonthButtonUpSymbolName; v9.falseDownSkin = this.fwdMonthButtonDownSymbolName; v9.falseDisabledSkin = this.fwdMonthButtonDisabledSymbolName; v9.buttonDownHandler = this.fwdMonthButtonDownHandler; this.createClassObject(mx.controls.SimpleButton, 'backMonthButton', this.backMonthButtonSkinID); var v8 = this.backMonthButton; v8.tabEnabled = false; v8.autoRepeat = false; v8.move(12 * this.sizeXRatio, 8 * this.sizeYRatio); v8.falseUpSkin = this.backMonthButtonUpSymbolName; v8.falseDownSkin = this.backMonthButtonDownSymbolName; v8.falseDisabledSkin = this.backMonthButtonDisabledSymbolName; v8.buttonDownHandler = this.backMonthButtonDownHandler; var v7 = this.fwdMonthButton._x; var v6 = this.fwdMonthButton._y; this.createEmptyMovieClip('fwdMonthHit', this.buttonHitAreaDepth); this.fwdMonthHit.beginFill(13369344, 50); this.fwdMonthHit.moveTo(v7 - 6.2 * this.sizeXRatio, v6 - 2.3 * this.sizeYRatio); this.fwdMonthHit.lineTo(v7 + 12 * this.sizeXRatio, v6 - 2.3 * this.sizeYRatio); this.fwdMonthHit.lineTo(v7 + 12 * this.sizeXRatio, v6 + 16 * this.sizeYRatio); this.fwdMonthHit.lineTo(v7 - 6.2 * this.sizeXRatio, v6 + 16 * this.sizeYRatio); this.fwdMonthHit.lineTo(v7 - 6.2 * this.sizeXRatio, v6 - 2.3 * this.sizeYRatio); this.fwdMonthHit.endFill(); this.fwdMonthHit._visible = false; this.fwdMonthButton.hitArea = this.fwdMonthHit; v7 = this.backMonthButton._x; v6 = this.backMonthButton._y; this.createEmptyMovieClip('backMonthHit', this.buttonHitAreaDepth + 1); this.backMonthHit.beginFill(13369344, 50); this.backMonthHit.lineTo(this.fwdMonthHit._width, 0); this.backMonthHit.lineTo(this.fwdMonthHit._width, this.fwdMonthHit._height); this.backMonthHit.lineTo(0, this.fwdMonthHit._height); this.backMonthHit.lineTo(0, 0); this.backMonthHit.endFill(); this.backMonthHit._x = v7 - 6 * this.sizeXRatio; this.backMonthHit._y = v6 - 2.3 * this.sizeYRatio; this.backMonthHit._visible = false; this.backMonthButton.hitArea = this.backMonthHit; }; v2.invalidateStyle = function () { this.dateGrid.invalidateStyle(); this.calHeader.invalidateStyle(); this.background_mc.invalidateStyle(); this.border_mc.invalidateStyle(); }; v2.setStyle = function (n, val) { var v4 = (val == ' ') ? undefined : val; this.dateDisplay[n] = v4; this.dateGrid.setStyle(n, val); super.setStyle(n, val); }; v2.setSize = function (w, h, noEvent) { if (w <= 1 || h <= 1) { return undefined; } var v10 = this.__get__width(); var v9 = this.__get__height(); this.sizeXRatio = w / v10; this.sizeYRatio = h / v9; this.background_mc._width = w; this.background_mc._height = h; this.border_mc._width = w; this.border_mc._height = h; this.calHeader._xscale = this.background_mc._xscale; this.calHeader._yscale = this.background_mc._yscale; var v5 = buttonWidth._width * this.sizeXRatio; var v6 = v5._height * this.sizeYRatio; this.backMonthButton.setSize(v5, v6); this.fwdMonthButton.setSize(v5, v6); var v8 = this.backMonthButton._x * this.sizeXRatio; var v7 = this.backMonthButton._y * this.sizeYRatio; var v16 = this.fwdMonthButton._x * this.sizeXRatio; var v15 = this.fwdMonthButton._y * this.sizeYRatio; this.backMonthButton._x = v8; this.backMonthButton._y = v7; this.fwdMonthButton._x = v16; this.fwdMonthButton._y = v15; this.backMonthHit._x *= this.sizeXRatio; this.backMonthHit._y *= this.sizeYRatio; this.backMonthHit._width *= this.sizeXRatio; this.backMonthHit._height *= this.sizeYRatio; this.fwdMonthHit._x *= this.sizeXRatio; this.fwdMonthHit._y *= this.sizeYRatio; this.fwdMonthHit._width *= this.sizeXRatio; this.fwdMonthHit._height *= this.sizeYRatio; this.dateDisplay._width *= this.sizeXRatio; this.dateDisplay._height *= this.sizeYRatio; var v13 = this.dateDisplay._x * this.sizeXRatio; var v11 = this.dateDisplay._y * this.sizeYRatio; this.dateDisplay._x = v13; this.dateDisplay._y = v11; if (this.dateGrid.__get__autoScale()) { var v14 = this.dateGrid._x * this.sizeXRatio; this.dateGrid._x = v14; var v12 = this.dateGrid._y * this.sizeYRatio; this.dateGrid._y = v12; } this.dateGrid.setSize(w, h, noEvent); super.setSize(w, h, noEvent); this.__width = w; this.__height = h; }; v2.getInitializer = function () { if (this.uninitializer == undefined) { this.uninitializer = new Object(); } return true; }; v2.__get__showToday = function () { if (this.__enabled) { return this.dateGrid.__get__showToday(); } }; v2.__set__showToday = function (n) { if (!this.__enabled) { return undefined; } if (this.dateGrid == undefined && this.getInitializer()) { this.uninitializer.showToday = n; } else { this.dateGrid.__set__showToday(n); } return this.__get__showToday(); }; v2.__get__enabled = function () { return this.getEnabled(); }; v2.getEnabled = function () { return this.__enabled; }; v2.__set__enabled = function (b) { this.setEnabled(b); return this.__get__enabled(); }; v2.setEnabled = function (b) { if (b == this.__enabled) { return undefined; } this.__enabled = b; super.setEnabled(b); this.fwdMonthButton.enabled = b; this.backMonthButton.enabled = b; this.dateDisplay.enabled = b; this.dateGrid.__set__enabled(b); }; v2.__get__firstDayOfWeek = function () { if (this.__enabled) { return this.dateGrid.__get__firstDayOfWeek(); } }; v2.__set__firstDayOfWeek = function (n) { if (!this.__enabled) { return undefined; } if (this.dateGrid == undefined && this.getInitializer()) { this.uninitializer.firstDayOfWeek = n; } else { this.dateGrid.__set__firstDayOfWeek(n); } return this.__get__firstDayOfWeek(); }; v2.__get__displayedMonth = function () { if (this.__enabled) { return this.dateGrid.__get__displayedMonth(); } }; v2.__set__displayedMonth = function (m) { if (!this.__enabled) { return undefined; } this.dateGrid.__set__displayedMonth(m); this.dateDisplay.text = (this.__get__monthNames())[this.dateGrid.__get__displayedMonth()] + ' ' + this.__get__displayedYear(); return this.__get__displayedMonth(); }; v2.__get__displayedYear = function () { if (this.__enabled) { return this.dateGrid.__get__displayedYear(); } }; v2.__set__displayedYear = function (y) { if (!this.__enabled) { return undefined; } this.dateGrid.__set__displayedYear(y); this.dateDisplay.text = (this.__get__monthNames())[this.__get__displayedMonth()] + ' ' + this.__get__displayedYear(); return this.__get__displayedYear(); }; v2.__get__dayNames = function () { if (this.__enabled) { if (this.dateGrid == undefined && this.getInitializer()) { return this.uninitializer.dayNames; } else { return this.dateGrid.__get__dayNames(); } } }; v2.__set__dayNames = function (d) { if (!this.__enabled) { return undefined; } if (this.dateGrid == undefined && this.getInitializer()) { this.uninitializer.dayNames = d; } else { this.dateGrid.__set__dayNames(d); } return this.__get__dayNames(); }; v2.__get__disabledDays = function () { if (this.__enabled) { if (this.dateGrid == undefined && this.getInitializer()) { return this.uninitializer.disabledDays; } else { return this.dateGrid.__get__disabledDays(); } } }; v2.__set__disabledDays = function (dd) { if (!this.__enabled) { return undefined; } if (this.dateGrid == undefined && this.getInitializer()) { this.uninitializer.disabledDays = dd; } else { this.dateGrid.__set__disabledDays(dd); } return this.__get__disabledDays(); }; v2.__get__selectableRange = function () { if (this.__enabled) { return this.dateGrid.__get__selectableRange(); } }; v2.__set__selectableRange = function (sRange) { if (!this.__enabled) { return undefined; } this.dateGrid.__set__selectableRange(sRange); return this.__get__selectableRange(); }; v2.__get__disabledRanges = function () { if (this.__enabled) { return this.dateGrid.__get__disabledRanges(); } }; v2.__set__disabledRanges = function (r) { if (!this.__enabled) { return undefined; } this.dateGrid.__set__disabledRanges(r.slice(0)); return this.__get__disabledRanges(); }; v2.__get__selectedDate = function () { if (this.__enabled) { return this.dateGrid.__get__selectedDate(); } }; v2.__set__selectedDate = function (s) { if (!this.__enabled) { return undefined; } this.dateGrid.__set__selectedDate(s); this.dateDisplay.text = (this.__get__monthNames())[this.__get__displayedMonth()] + ' ' + this.__get__displayedYear(); return this.__get__selectedDate(); }; v2.__get__monthNames = function () { if (this.__enabled) { return this.getMonthNames(); } }; v2.getMonthNames = function () { return this.__monthNames; }; v2.__set__monthNames = function (a) { if (!this.__enabled) { return undefined; } this.setMonthNames(a); return this.__get__monthNames(); }; v2.setMonthNames = function (a) { this.__monthNames = new Array(); var v2 = 0; while (v2 < a.length) { this.__monthNames[v2] = a[v2]; ++v2; } if (this.dateGrid != undefined) { this.dateDisplay.text = this.__monthNames[this.__get__displayedMonth()] + ' ' + this.__get__displayedYear(); } }; v2.fwdMonthButtonDownHandler = function () { var v2 = this._parent; var v3 = new Date(v2.displayedYear, v2.displayedMonth, v2.selectableRange.rangeEnd.getDate()); if (v2.selectableRange != undefined && (v2.dateGrid.selRangeMode == 1 || v2.dateGrid.selRangeMode == 3)) { if (v2.selectableRange.rangeEnd > v3) { v2.dateGrid.stepDate(0, 1); v2.dateDisplay.text = v2.monthNames[v2.displayedMonth] + ' ' + v2.displayedYear; } } else { if (v2.dateGrid.selRangeMode != 4 || v2.selectableRange == undefined) { v2.dateGrid.stepDate(0, 1); v2.dateDisplay.text = v2.monthNames[v2.displayedMonth] + ' ' + v2.displayedYear; } } }; v2.backMonthButtonDownHandler = function () { var v2 = this._parent; var v3 = new Date(v2.displayedYear, v2.displayedMonth, v2.selectableRange.rangeStart.getDate()); if (v2.selectableRange != undefined && (v2.dateGrid.selRangeMode == 1 || v2.dateGrid.selRangeMode == 2)) { if (v2.selectableRange.rangeStart < v3) { v2.dateGrid.stepDate(0, -1); v2.dateDisplay.text = v2.monthNames[v2.displayedMonth] + ' ' + v2.displayedYear; } } else { if (v2.dateGrid.selRangeMode != 4 || v2.selectableRange == undefined) { v2.dateGrid.stepDate(0, -1); v2.dateDisplay.text = v2.monthNames[v2.displayedMonth] + ' ' + v2.displayedYear; } } }; v2.dispatchScrollEvent = function (detail) { this.dispatchEvent({'type': 'scroll', 'detail': detail}); }; v2.dispatchChangeEvent = function () { this.dispatchEvent({'type': 'change'}); }; v1.symbolName = 'DateChooser'; v1.symbolOwner = mx.controls.DateChooser; v2.className = 'DateChooser'; v1.version = '2.0.2.126'; v2.__enabled = true; v2.__monthNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; v2.uninitializer = undefined; v2._color = {'headerColor': 1, 'backgroundColor': 1}; v2.clipParameters = {'showToday': 1, 'firstDayOfWeek': 1, 'monthNames': 1, 'dayNames': 1, 'disabledDays': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.DateChooser.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); v2.distance = 1; v2.gridY = 41; v2.defaultWidth = 205; v2.defaultHeight = 214; v2.dateGridDepth = 5; v2.backgroundDepth = 1; v2.borderDepth = 2; v2.headerDepth = 3; v2.headerDisplayDepth = 4; v2.buttonHitAreaDepth = 8; v2.fwdMonthButtonSkinID = 6; v2.fwdMonthButtonUpSymbolName = 'fwdMonthUp'; v2.fwdMonthButtonDownSymbolName = 'fwdMonthDown'; v2.fwdMonthButtonDisabledSymbolName = 'fwdMonthDisabled'; v2.backMonthButtonSkinID = 7; v2.backMonthButtonUpSymbolName = 'backMonthUp'; v2.backMonthButtonDownSymbolName = 'backMonthDown'; v2.backMonthButtonDisabledSymbolName = 'backMonthDisabled'; v2.previousSelectedCellIndex = undefined; v2.addProperty('dayNames', v2.__get__dayNames, v2.__set__dayNames); v2.addProperty('disabledDays', v2.__get__disabledDays, v2.__set__disabledDays); v2.addProperty('disabledRanges', v2.__get__disabledRanges, v2.__set__disabledRanges); v2.addProperty('displayedMonth', v2.__get__displayedMonth, v2.__set__displayedMonth); v2.addProperty('displayedYear', v2.__get__displayedYear, v2.__set__displayedYear); v2.addProperty('enabled', v2.__get__enabled, v2.__set__enabled); v2.addProperty('firstDayOfWeek', v2.__get__firstDayOfWeek, v2.__set__firstDayOfWeek); v2.addProperty('monthNames', v2.__get__monthNames, v2.__set__monthNames); v2.addProperty('selectableRange', v2.__get__selectableRange, v2.__set__selectableRange); v2.addProperty('selectedDate', v2.__get__selectedDate, v2.__set__selectedDate); v2.addProperty('showToday', v2.__get__showToday, v2.__set__showToday); ASSetPropFlags(mx.controls.DateChooser.prototype, null, 1); } #endinitclip } movieClip 641 __Packages.mx.controls.CalendarLayout { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.CalendarLayout) { var v1 = function () { super(); }; mx.controls.CalendarLayout = v1; var v2 = new mx.core.UIComponent(); mx.controls.CalendarLayout.prototype = v2; v2.init = function (Void) { super.init(); this.tabEnabled = false; if (this.__displayedMonth == undefined) { this.__displayedMonth = (new Date()).getMonth(); } if (this.__displayedYear == undefined) { this.__displayedYear = (new Date()).getFullYear(); } this.boundingBox._visible = false; }; v2.createChildren = function () { var v11 = this._parent.sizeXRatio; var v12 = this._parent.sizeYRatio; var v15 = this.__get__width() * v11; var v14 = this.__get__height() * v12; var v4 = 0; var v13 = 0; this.__cellHeight *= v12; this.__cellWidth *= v11; this.__leftMargin *= v11; this.__dateMargin *= v12; this.__dayToDateMargin *= v12; this.__colMargin *= v11; var v8 = this.__leftMargin; var v10 = this.createEmptyMovieClip('selectedIndicator', this.selectedDateDepth); v10.lineStyle(0, 39168, 30); v10.beginFill(65331, 100); v10.lineTo(this.__cellWidth, 0); v10.lineTo(this.__cellWidth, this.__cellHeight); v10.lineTo(0, this.__cellHeight); v10.lineTo(0, 0); v10.styleName = this.styleName; mx.skins.ColoredSkinElement.setColorStyle(v10, 'selectionColor'); v10._visible = false; var v9 = this.createEmptyMovieClip('rollOverIndicator', this.rollOverDateDepth); v9.lineStyle(0, 39168, 20); v9.beginFill(65280, 100); v9.lineTo(this.__cellWidth, 0); v9.lineTo(this.__cellWidth, this.__cellHeight); v9.lineTo(0, this.__cellHeight); v9.lineTo(0, 0); v9.styleName = this.styleName; mx.skins.ColoredSkinElement.setColorStyle(v9, 'rollOverColor'); v9._visible = false; this.createEmptyMovieClip('hitAreaClip', 300); v9.hitArea = this.hitAreaClip; var v6 = 0; while (v6 < 7) { var v5 = false; var v2 = 0; while (v2 < 7) { var v7 = 'dayBlock' + v6 + 'label' + v2; var v3 = this.createLabel(v7, this.labelBaseDepth++, ''); v3.selectable = false; if (v2 == 0) { v4 = 0; v3.styleName = 'WeekDayStyle'; } else { if (v2 == 1 && v5 == false) { v4 = v2 * this.__cellHeight + this.__dayToDateMargin; v5 = true; } else { if (v2 > 1 && v5 == true) { v4 = v2 * this.__cellHeight + v2 * this.__dateMargin; } } } v3._width = this.__cellWidth; v3._height = this.__cellHeight; v3._x = v8; v3._y = v4; ++v2; } this['dayBlock' + v6 + 'label0'].disabledArray = new Array(7); v8 += this.__cellWidth + this.__colMargin; ++v6; } this.useHandCursor = false; this.onRelease = this.dayBlockReleaseHandler; this.onRollOver = this.dayBlockRollOverHandler; this.onRollOut = this.dayBlockRollOutHandler; this.onReleaseOutside = this.dayBlockRollOutHandler; this.drawDayNames(); this.setSelectedMonthAndYear(); }; v2.drawDayNames = function () { var v2 = 0; while (v2 < 7) { var v3 = (v2 + this.__firstDayOfWeek) % 7; this['dayBlock' + v2 + 'label' + 0].text = this.__dayNames[v3]; ++v2; } }; v2.dayBlockRollOverHandler = function () { this.onMouseMove = this.dayBlockMouseMoveHandler; }; v2.dayBlockRollOutHandler = function () { delete this.onMouseMove; this.rollOverIndicator._visible = false; if (this.selectedIndicator._x != this.todayIndicator._x || this.selectedIndicator._y != this.todayIndicator._y) { this.todayIndicator._alpha = 100; } }; v2.dayBlockMouseMoveHandler = function () { var v5 = this.dayBlock0label0._x; var v6 = this.dayBlock6label0._x; var v4 = this.dayBlock6label0._y + this.__cellHeight + this.__dayToDateMargin; var v7 = this._parent.sizeXRatio; var v8 = this._parent.sizeYRatio; if (this._xmouse < v5 && this._xmouse > v6 + this.__get__cellWidth() || this._ymouse < v4) { return undefined; } var v9; var v2 = Math.floor(this._ymouse / (this.__cellHeight + this.__dateMargin)); var v3 = Math.floor(this._xmouse / (this.__cellWidth + this.__colMargin)); this.selCell = this['dayBlock' + v3 + 'label' + v2]; if (this['dayBlock' + v3 + 'label0'].disabledArray[v2] || v2 == 0) { return undefined; } if (this._ymouse >= this.selCell._y && this._ymouse <= this.selCell._y + this.__cellHeight && this._xmouse >= this.selCell._x && this._xmouse <= this.selCell._x + this.__cellWidth) { this.rollOverIndicator._x = this.selCell._x; this.rollOverIndicator._y = this.selCell._y; this.rollOverIndicator._visible = true; if (this.rollOverIndicator._x == this.todayIndicator._x && this.rollOverIndicator._y == this.todayIndicator._y) { this.todayIndicator._alpha = 60; } else { if (this.selectedIndicator._x != this.todayIndicator._x || this.selectedIndicator._y != this.todayIndicator._y) { this.todayIndicator._alpha = 100; } } } }; v2.dayBlockReleaseHandler = function () { var v5 = this.dayBlock0label0._x; var v6 = this.dayBlock6label0._x; var v4 = this.dayBlock6label0._y + this.__cellHeight + this.__dayToDateMargin; var v7 = this._parent.sizeXRatio; var v8 = this._parent.sizeYRatio; if (this._xmouse < v5 && this._xmouse > v6 + this.__cellWidth || this._ymouse < v4) { return undefined; } var v2 = Math.floor(this._ymouse / (this.__cellHeight + this.__dateMargin)); if (v2 <= 0) { return undefined; } var v3 = Math.floor(this._xmouse / (this.__cellWidth + this.__colMargin)); this.selCell = this['dayBlock' + v3 + 'label' + v2]; if (this['dayBlock' + v3 + 'label0'].disabledArray[v2]) { return undefined; } if (this._ymouse >= this.selCell._y && this._ymouse <= this.selCell._y + this.__cellHeight && this._xmouse >= this.selCell._x && this._xmouse <= this.selCell._x + this.__cellWidth) { if (this.selectedCell == v3 + '.' + v2) { this.selectedIndicator._visible = false; this.selectedCell = undefined; this.__selectedDate = undefined; this._parent.dispatchChangeEvent(); } else { this.selectedIndicator._x = this.selCell._x; this.selectedIndicator._y = this.selCell._y; this.selectedIndicator._visible = true; this.selectedCell = v3 + '.' + v2; this.__selectedDate = new Date(this.__displayedYear, this.__displayedMonth, Number(this.selCell.text)); this._parent.dispatchChangeEvent(); if (this.selectedIndicator._x == this.todayIndicator._x && this.selectedIndicator._y == this.todayIndicator._y) { this.todayIndicator._alpha = 60; } else { this.todayIndicator._alpha = 100; } } } }; v2.setSize = function (w, h, noEvent) { var v5; var v6; var v8; var v7; var v14; var v9; var v10; var v13 = this._parent; var v11 = v13.sizeXRatio; var v12 = v13.sizeYRatio; if (!this.__get__autoScale()) { if (this.__cellWidth == undefined || this.__cellWidth == NaN || (this.__cellHeight == undefined || this.__cellHeight == NaN) || (this.__leftMargin == undefined || this.__leftMargin == NaN) || (this.__rightMargin == undefined || this.__rightMargin == NaN) || (this.__colMargin == undefined || this.__colMargin == NaN) || (this.__dayToDateMargin == undefined || this.__dayToDateMargin == NaN) || (this.__dateMargin == undefined || this.__dateMargin == NaN)) { v5 = this.__defaultCellHeight; v6 = this.__defaultCellWidth; v8 = this.__defaultColMargin; v7 = this.__defaultLeftMargin; v14 = this.__defaultRightMargin; v9 = this.__defaultDayToDateMargin; v10 = this.__defaultDateMargin; } else { v5 = this.__cellHeight; v6 = this.__cellWidth; v8 = this.__colMargin; v7 = this.__leftMargin; v14 = this.__rightMargin; v9 = this.__dayToDateMargin; v10 = this.__dateMargin; } } else { this.__cellHeight *= v12; v5 = this.__cellHeight; this.__cellWidth *= v11; v6 = this.__cellWidth; this.__colMargin *= v11; v8 = this.__colMargin; this.__leftMargin *= v11; v7 = this.__leftMargin; this.__rightMargin *= v11; v14 = this.__rightMargin; this.__dayToDateMargin *= v12; v9 = this.__dayToDateMargin; this.__dateMargin *= v12; v10 = this.__dateMargin; } var v3 = 0; while (v3 < 7) { var v2 = 0; while (v2 < 7) { var v4 = this['dayBlock' + v3 + 'label' + v2]; v4._width = v6; v4._height = v5; v4._x = (v3 == 0) ? v7 : ((v3 == 1) ? v8 + v6 + v7 : v8 * v3 + v6 * v3 + v7); v4._y = (v2 == 0) ? 0 : ((v2 == 1) ? v9 + v5 : v2 * v10 + v5 * v2); ++v2; } ++v3; } this.todayIndicator._x *= v11; this.todayIndicator._y *= v12; this.todayIndicator._width = v6; this.todayIndicator._height = v5; this.selectedIndicator._x *= v11; this.selectedIndicator._y *= v12; this.selectedIndicator._width = v6; this.selectedIndicator._height = v5; this.rollOverIndicator._x *= v11; this.rollOverIndicator._y *= v12; this.rollOverIndicator._width = v6; this.rollOverIndicator._height = v5; }; v2.setStyle = function (n, val) { val = (val == '') ? undefined : val; var v6 = (n == 'disabledColor') ? true : false; var v7 = v6 ? val : undefined; var v3 = 0; while (v3 < 7) { this['dayBlock' + v3 + 'label0'][n] = !v6 ? val : undefined; var v2 = 1; while (v2 < 7) { if (this['dayBlock' + v3 + 'label' + v2].enabled && !v6) { this['dayBlock' + v3 + 'label' + v2][n] = val; } else { if (!v6) { this['dayBlock' + v3 + 'label' + v2][n] = val; } else { this['dayBlock' + v3 + 'label' + v2][n] = v7; } } ++v2; } ++v3; } }; v2.setSelectedMonthAndYear = function (newMonth, newYear) { var v8; var v2; var v6; var v7; var v24; var v29; var v30; var v18 = false; var v21 = false; var v26 = this._parent; var v25; var v19; if (newMonth == undefined) { newMonth = this.__displayedMonth; } if (newYear == undefined) { newYear = this.__displayedYear; } var v12 = this.getOffsetOfMonth(newYear, newMonth); var v20 = this.getNumberOfDaysInMonth(newYear, newMonth); var v22 = new Date(); var v23 = v22.getFullYear() == newYear && v22.getMonth() == newMonth; var v16 = newMonth == this.__selectedDate.getMonth() && newYear == this.__selectedDate.getFullYear(); var v28 = newMonth - 1; var v27 = new Date(newYear, v28, 1); v8 = this.getNumberOfDaysInMonth(v27.getFullYear(), v27.getMonth()); v6 = 1; v12 = v12 < 0 ? 0 : v12; v2 = v12 - 1; while (v2 >= 0) { this['dayBlock' + v2 + 'label' + v6].text = ''; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; --v2; } v8 = 1; while (v8 <= v20) { var v4 = new Date(newYear, newMonth, v8); v7 = v12 + v8 - 1; v2 = v7 % 7; v6 = 1 + Math.floor(v7 / 7); v24 = this['dayBlock' + v2]; var v3 = this['dayBlock' + v2 + 'label' + v6]; v3.text = v8; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = false; v3.enabled = true; v3.styleName = undefined; if (v23 && v4.getDate() == v22.getDate() && this.__showToday) { v18 = true; if (this.todayIndicator == undefined) { this.createObject('cal_todayIndicator', 'todayIndicator', this.showTodayDepth); this.todayIndicator._width = v3._width; this.todayIndicator._height = v3._height; this.todayIndicator.styleName = this.styleName; mx.skins.ColoredSkinElement.setColorStyle(this.todayIndicator, 'todayColor'); } else { this.todayIndicator._visible = this.__showToday; } v3.styleName = 'TodayStyle'; v3.draw(); this.todayIndicator._y = v3._y; this.todayIndicator._x = v3._x; this.todaysLabelReference = v3; } else { if (!v18) { this.todaysLabelReference.styleName = undefined; this.todaysLabelReference.draw(); this.todayIndicator._visible = false; v3.styleName = undefined; } } if (v4.getDate() == this.__selectedDate.getDate() && v16 && !v21 && !this['dayBlock' + v2 + 'label0'].disabledArray[v6]) { this.selectedIndicator._x = v3._x; this.selectedIndicator._y = v3._y; this.selectedIndicator._visible = true; this.selectedLabel = v3; this.selectedCell = v2 + '.' + v6; v19 = v2; v21 = true; } else { if (!v16) { this.selectedCell = undefined; v19 = undefined; this.selectedIndicator._visible = false; } } if (this.__selectableRange != undefined) { var v13 = this.selRangeMode; switch (v13) { case 1: if (v4 < this.__selectableRange.rangeStart || v4 > this.__selectableRange.rangeEnd) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; case 2: if (v4 < this.__selectableRange.rangeStart) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; case 3: if (v4 > this.__selectableRange.rangeEnd) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; case 4: var v9 = v4.getFullYear() + '.' + v4.getMonth() + '.' + v4.getDate(); var v14 = this.__selectableRange.getFullYear() + '.' + this.__selectableRange.getMonth() + '.' + this.__selectableRange.getDate(); if (v9 != v14) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; default: } } if (this.__disabledRanges.length > 0) { var v5 = 0; while (v5 < this.__disabledRanges.length) { var v10 = this.disRangeMode[v5]; switch (v10) { case 1: if (v4 >= this.__disabledRanges[v5].rangeStart && v4 <= this.__disabledRanges[v5].rangeEnd) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; case 2: if (v4 >= this.__disabledRanges[v5].rangeStart) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; case 3: if (v4 <= this.__disabledRanges[v5].rangeEnd) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; case 4: var v9 = v4.getFullYear() + '.' + v4.getMonth() + '.' + v4.getDate(); var v11 = this.__disabledRanges[v5].getFullYear() + '.' + this.__disabledRanges[v5].getMonth() + '.' + this.__disabledRanges[v5].getDate(); if (v9 == v11) { v3.enabled = false; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; } break; default: } ++v5; } } ++v8; } v8 = 1; v7 = v12 + v20; while (v7 < 42) { v2 = v7 % 7; v6 = 1 + Math.floor(v7 / 7); this['dayBlock' + v2 + 'label' + v6].text = ''; this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; ++v7; } if (this.__disabledDays.length > 0) { v7 = 0; while (v7 < this.__disabledDays.length) { if (this.__disabledDays[v7] >= 0 && this.__disabledDays[v7] <= 6 && !isNaN(this.__disabledDays[v7])) { v2 = (7 + this.__disabledDays[v7] - this.__firstDayOfWeek) % 7; v6 = 1; while (v6 < 7) { this['dayBlock' + v2 + 'label0'].disabledArray[v6] = true; this.selectedCell = undefined; this['dayBlock' + v2 + 'label' + v6].enabled = false; ++v6; } } ++v7; } } this.checkSelectedIndicator(v19, v16); this.__displayedMonth = newMonth; this.__displayedYear = newYear; v25 = new Date(newYear, newMonth, 1); v26.dateDisplay.text = v26.__monthNames[v25.getMonth()] + ' ' + v25.getFullYear(); this.todayIndicator._alpha = (this.todaysLabelReference != undefined) ? ((this.todaysLabelReference.enabled == false) ? 30 : 100) : 100; this.invalidate(); }; v2.checkSelectedIndicator = function (columnIndex, selectCheck) { if (!this.selectedLabel.enabled) { if (selectCheck) { this.__selectedDate = undefined; this.selectedCell = undefined; } this.selectedIndicator._visible = false; return undefined; } else { if (this.__selectedDate != undefined && selectCheck) { this.selectedIndicator._visible = true; } } }; v2.getOffsetOfMonth = function (year, month) { var v3 = new Date(year, month, 1); var v2 = v3.getDay() - this.__firstDayOfWeek; return v2 < 0 ? v2 + 7 : v2; }; v2.getNumberOfDaysInMonth = function (year, month) { var v1; if (month == 1) { if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) { v1 = 29; } else { v1 = 28; } return v1; } if (month == 3 || month == 5 || month == 8 || month == 10) { v1 = 30; return v1; } v1 = 31; return v1; }; v2.stepDate = function (deltaY, deltaM) { var v4 = this._parent; var v5 = this.__displayedYear; var v6 = this.__displayedMonth; var v3 = v5 + deltaY; var v2 = v6 + deltaM; while (v2 < 0) { --v3; v2 += 12; } while (v2 > 11) { ++v3; v2 -= 12; } this.setSelectedMonthAndYear(v2, v3); if (v3 > v5) { v4.dispatchScrollEvent('nextYear'); } else { if (v3 < v5) { v4.dispatchScrollEvent('previousYear'); } else { if (v2 > v6) { v4.dispatchScrollEvent('nextMonth'); } else { if (v2 < v6) { v4.dispatchScrollEvent('previousMonth'); } } } } }; v2.__get__showToday = function () { return this.__showToday; }; v2.__set__showToday = function (b) { this.setShowToday(b); return this.__get__showToday(); }; v2.setShowToday = function (n) { if (this.__showToday != n) { this.__showToday = n; } this.setSelectedMonthAndYear(this.__displayedMonth, this.__displayedYear); }; v2.__get__enabled = function () { return this.__enabled; }; v2.__set__enabled = function (e) { this.setEnabled(e); return this.__get__enabled(); }; v2.setEnabled = function (f) { this.__enabled = f; var v3 = 0; while (v3 < 7) { var v2 = 0; while (v2 < 7) { this['dayBlock' + v3 + 'label' + v2].enabled = f; this['dayBlock' + v3 + 'label0'].disabledArray[v2] = f; ++v2; } ++v3; } if (!this.__enabled) { this.selectedIndicator._visible = false; this.todayIndicator._alpha = 30; } else { this.todayIndicator._alpha = 100; this.setSelectedMonthAndYear(this.__displayedMonth, this.__displayedYear); } }; v2.__get__firstDayOfWeek = function () { return this.__firstDayOfWeek; }; v2.__set__firstDayOfWeek = function (n) { this.setFirstDayOfWeek(n); return this.__get__firstDayOfWeek(); }; v2.setFirstDayOfWeek = function (b) { if (b < 0 || b > 6) { return undefined; } if (b == this.__firstDayOfWeek) { return undefined; } this.__firstDayOfWeek = b; this.drawDayNames(); this.setSelectedMonthAndYear(this.__displayedMonth, this.__displayedYear); }; v2.__get__displayedMonth = function () { return this.__displayedMonth; }; v2.__set__displayedMonth = function (m) { this.setDisplayedMonth(m); return this.__get__displayedMonth(); }; v2.setDisplayedMonth = function (mo) { if (mo < 0 || mo > 11) { return undefined; } if (mo == this.__displayedMonth) { return undefined; } if (!this.checkMonthValidity(mo)) { this.__displayedMonth = mo; this.setSelectedMonthAndYear(mo, this.__displayedYear); } }; v2.__get__displayedYear = function () { return this.__displayedYear; }; v2.__set__displayedYear = function (y) { this.setDisplayedYear(y); return this.__get__displayedYear(); }; v2.setDisplayedYear = function (ye) { if (ye <= 0) { return undefined; } if (ye == this.__displayedYear) { return undefined; } if (!this.checkYearValidity(ye)) { this.__displayedYear = ye; this.setSelectedMonthAndYear(this.__displayedMonth, ye); } }; v2.__get__dayNames = function () { return this.getDayNames(); }; v2.getDayNames = function () { return this.__dayNames.slice(0); }; v2.__set__dayNames = function (d) { this.setDayNames(d); return this.__get__dayNames(); }; v2.setDayNames = function (dn) { if (dn.length < 7) { var v2 = 0; while (v2 < dn.length) { this.__dayNames[v2] = dn[v2]; ++v2; } } else { this.__dayNames = dn.slice(0); } this.drawDayNames(); }; v2.__get__disabledDays = function () { return this.getDisabledDays(); }; v2.getDisabledDays = function () { var v4 = new Array(); var v2 = 0; var v3 = 0; while (v2 < this.__disabledDays.length) { if (this.__disabledDays[v2] > 0 && this.__disabledDays[v2] < 6) { v4[v3] = this.__disabledDays[v2]; ++v3; } ++v2; } return v4; }; v2.__set__disabledDays = function (dd) { this.setDisabledDays(dd); return this.__get__disabledDays(); }; v2.setDisabledDays = function (d) { this.__disabledDays = d.slice(0); this.setSelectedMonthAndYear(this.__displayedMonth, this.__displayedYear); }; v2.__get__autoScale = function () { return this.__autoScale; }; v2.__set__autoScale = function (a) { this.setAutoScale(a); return this.__get__autoScale(); }; v2.setAutoScale = function (au) { if (au != this.__autoScale) { this.__autoScale = au; } }; v2.__get__cellHeight = function () { return this.__cellHeight; }; v2.__set__cellHeight = function (c) { this.setCellHeight(c); return this.__get__cellHeight(); }; v2.setCellHeight = function (ce) { this.__cellHeight = ce; }; v2.__get__cellWidth = function () { return this.__cellWidth; }; v2.__set__cellWidth = function (c) { this.setCellWidth(c); return this.__get__cellWidth(); }; v2.setCellWidth = function (cw) { this.__cellWidth = cw; }; v2.__get__colMargin = function () { return this.__colMargin; }; v2.__set__colMargin = function (m) { this.setColMargin(m); return this.__get__colMargin(); }; v2.setColMargin = function (cm) { this.__colMargin = cm; }; v2.__get__leftMargin = function () { return this.__leftMargin; }; v2.__set__leftMargin = function (l) { this.setLeftMargin(l); return this.__get__leftMargin(); }; v2.setLeftMargin = function (lm) { this.__leftMargin = lm; }; v2.__get__rightMargin = function () { return this.__rightMargin; }; v2.__set__rightMargin = function (r) { this.setRightMargin(r); return this.__get__rightMargin(); }; v2.setRightMargin = function (rm) { this.__rightMargin = rm; }; v2.__get__dayToDateMargin = function () { return this.__dayToDateMargin; }; v2.__set__dayToDateMargin = function (dtd) { this.setDayToDateMargin(dtd); return this.__get__dayToDateMargin(); }; v2.setDayToDateMargin = function (dm) { this.__dayToDateMargin = dm; }; v2.__get__dateMargin = function () { return this.__dateMargin; }; v2.__set__dateMargin = function (dm) { this.setDateMargin(dm); return this.__get__dateMargin(); }; v2.setDateMargin = function (dtm) { this.__dateMargin = dtm; }; v2.__get__selectableRange = function () { return this.__selectableRange; }; v2.__set__selectableRange = function (sr) { this.setSelectableRange(sr); return this.__get__selectableRange(); }; v2.setSelectableRange = function (srn) { if (srn == undefined) { this.__selectableRange = undefined; this.setSelectedMonthAndYear(this.__displayedMonth, this.__displayedYear); } var v7 = new Date(); var v5 = v7.getMonth(); var v6 = v7.getFullYear(); var v3; var v4; var v8; if (srn instanceof Date) { this.selRangeMode = 4; this.__selectableRange = new Date(srn.getFullYear(), srn.getMonth(), srn.getDate()); v3 = srn.getMonth(); v4 = srn.getFullYear(); } else { if (srn instanceof Object) { this.__selectableRange = new Object(); if (srn.rangeStart == undefined && srn.rangeEnd != undefined) { this.selRangeMode = 3; this.__selectableRange.rangeEnd = srn.rangeEnd; if (v6 <= this.__selectableRange.rangeEnd.getFullYear()) { if (v5 >= this.__selectableRange.rangeEnd.getMonth()) { v3 = this.__selectableRange.rangeEnd.getMonth(); v4 = this.__selectableRange.rangeEnd.getFullYear(); } else { if (v5 <= this.__selectableRange.rangeEnd.getMonth()) { v3 = v5; v4 = v6; } } } else { if (v6 > this.__selectableRange.rangeEnd.getFullYear()) { v3 = this.__selectableRange.rangeEnd.getMonth(); v4 = this.__selectableRange.rangeEnd.getFullYear(); } } v8 = (this.__selectedDate != undefined) ? (this.__selectedDate <= this.__selectableRange.rangeEnd ? true : false) : false; } else { if (srn.rangeEnd == undefined && srn.rangeStart != undefined) { this.selRangeMode = 2; this.__selectableRange.rangeStart = srn.rangeStart; if (v6 >= this.__selectableRange.rangeStart.getFullYear()) { if (v5 <= this.__selectableRange.rangeStart.getMonth()) { v3 = this.__selectableRange.rangeStart.getMonth(); v4 = this.__selectableRange.rangeStart.getFullYear(); } else { if (v5 >= this.__selectableRange.rangeStart.getMonth()) { v3 = v5; v4 = v6; } } } else { if (v6 < this.__selectableRange.rangeStart.getFullYear()) { v3 = this.__selectableRange.rangeStart.getMonth(); v4 = this.__selectableRange.rangeStart.getFullYear(); } } v8 = (this.__selectedDate != undefined) ? (this.__selectedDate >= this.__selectableRange.rangeStart ? true : false) : false; } else { if (srn.rangeStart != undefined && srn.rangeEnd != undefined) { this.selRangeMode = 1; this.__selectableRange.rangeStart = srn.rangeStart; this.__selectableRange.rangeEnd = srn.rangeEnd; if (v7 >= this.__selectableRange.rangeStart && v7 <= this.__selectableRange.rangeEnd) { v3 = v5; v4 = v6; } else { if (v7 < this.__selectableRange.rangeStart) { v3 = this.__selectableRange.rangeStart.getMonth(); v4 = this.__selectableRange.rangeStart.getFullYear(); } else { if (v7 > this.__selectableRange.rangeEnd) { v3 = this.__selectableRange.rangeEnd.getMonth(); v4 = this.__selectableRange.rangeEnd.getFullYear(); } } } if (this.__selectedDate != undefined) { v8 = !this.checkDateValidity(this.__selectedDate); } } } } } } if (v8) { this.setSelectedMonthAndYear(this.__selectedDate.getMonth(), this.__selectedDate.getFullYear()); } else { this.__selectedDate = undefined; this.setSelectedMonthAndYear(v3, v4); } }; v2.__get__disabledRanges = function () { return this.__disabledRanges.slice(0); }; v2.__set__disabledRanges = function (dr) { this.setDisabledRanges(dr); return this.__get__disabledRanges(); }; v2.setDisabledRanges = function (drn) { this.__disabledRanges = drn.slice(0); var v2 = 0; while (v2 < this.__disabledRanges.length) { if (this.__disabledRanges[v2] instanceof Date) { this.disRangeMode[v2] = 4; this.__disabledRanges[v2] = new Date(drn[v2].getFullYear(), drn[v2].getMonth(), drn[v2].getDate()); } else { if (this.__disabledRanges[v2] instanceof Object) { this.__disabledRanges[v2] = new Object(); this.__disabledRanges[v2] = drn[v2]; if (this.__disabledRanges[v2].rangeStart == undefined && this.__disabledRanges[v2].rangeEnd != undefined) { this.disRangeMode[v2] = 3; } else { if (this.__disabledRanges[v2].rangeStart != undefined && this.__disabledRanges[v2].rangeEnd == undefined) { this.disRangeMode[v2] = 2; } else { if (this.__disabledRanges[v2].rangeStart != undefined && this.__disabledRanges[v2].rangeEnd != undefined) { this.disRangeMode[v2] = 1; } } } } } ++v2; } this.setSelectedMonthAndYear(this.__displayedMonth, this.__displayedYear); }; v2.__get__selectedDate = function () { return this.__selectedDate; }; v2.__set__selectedDate = function (d) { this.setSelectedDate(d); return this.__get__selectedDate(); }; v2.setSelectedDate = function (sd) { if (!this.checkDateValidity(sd)) { this.__selectedDate = sd; this.setSelectedMonthAndYear(this.__selectedDate.getMonth(), this.__selectedDate.getFullYear()); } }; v2.__get__dragSelectMode = function () { return this.__dragSelectMode; }; v2.__set__dragSelectMode = function (b) { this.setDragSelectMode(b); return this.__get__dragSelectMode(); }; v2.setDragSelectMode = function (ds) { this.__dragSelectMode = ds; }; v2.checkDateValidity = function (dt) { var v4 = false; if (this.__selectableRange != undefined) { var v9 = this.selRangeMode; switch (v9) { case 1: if (dt < this.__selectableRange.rangeStart || dt > this.__selectableRange.rangeEnd) { v4 = true; } break; case 2: if (dt < this.__selectableRange.rangeStart) { v4 = true; } break; case 3: if (dt > this.__selectableRange.rangeEnd) { v4 = true; } break; case 4: if (dt > this.__selectableRange || dt < this.__selectableRange) { v4 = true; } break; default: } } if (this.__disabledRanges.length > 0) { var v2 = 0; while (v2 < this.__disabledRanges.length) { var v6 = this.disRangeMode[v2]; switch (v6) { case 1: if (dt >= this.__disabledRanges[v2].rangeStart && dt <= this.__disabledRanges[v2].rangeEnd) { v4 = true; } break; case 2: if (dt >= this.__disabledRanges[v2].rangeStart) { v4 = true; } break; case 3: if (dt <= this.__disabledRanges[v2].rangeEnd) { v4 = true; } break; case 4: var v7 = dt.getFullYear() + '.' + dt.getMonth() + '.' + dt.getDate(); var v8 = this.__disabledRanges[v2].getFullYear() + '.' + this.__disabledRanges[v2].getMonth() + '.' + this.__disabledRanges[v2].getDate(); if (v7 == v8) { v4 = true; } break; default: } ++v2; } } if (this.__disabledDays.length > 0) { var v5 = 0; while (v5 < this.__disabledDays.length) { if (dt.getDay() == this.__disabledDays[v5]) { v4 = true; } ++v5; } } return v4; }; v2.checkMonthValidity = function (m) { var v2 = false; if (this.__selectableRange != undefined) { var v4 = this.selRangeMode; switch (v4) { case 1: if (m < this.__selectableRange.rangeStart.getMonth() || m > this.__selectableRange.rangeEnd.getMonth()) { v2 = true; } return v2; case 2: if (m < this.__selectableRange.rangeStart.getMonth()) { v2 = true; } return v2; case 3: if (m > this.__selectableRange.rangeEnd.getMonth()) { v2 = true; } return v2; case 4: if (m > this.__selectableRange.getMonth() || m < this.__selectableRange.getMonth()) { v2 = true; } return v2; } return v2; } return v2; }; v2.checkYearValidity = function (y) { var v2 = false; if (this.__selectableRange != undefined) { var v4 = this.selRangeMode; switch (v4) { case 1: if (y < this.__selectableRange.rangeStart.getFullYear() || y > this.__selectableRange.rangeEnd.getFullYear()) { v2 = true; } return v2; case 2: if (y < this.__selectableRange.rangeStart.getFullYear()) { v2 = true; } return v2; case 3: if (y > this.__selectableRange.rangeEnd.getFullYear()) { v2 = true; } return v2; case 4: if (y > this.__selectableRange.getFullYear() || y < this.__selectableRange.getFullYear()) { v2 = true; } return v2; } return v2; } return v2; }; v2.invalidateStyle = function () { this.selectedIndicator.invalidateStyle(); this.rollOverIndicator.invalidateStyle(); this.todayIndicator.invalidateStyle(); }; v1.symbolName = 'CalendarLayout'; v1.symbolOwner = mx.controls.CalendarLayout; v2.className = 'CalendarLayout'; v2.defaultWidth = 205; v2.defaultHeight = 165; v2.dayBlockBaseDepth = 2; v2.showTodayDepth = 200; v2.selectedDateDepth = 198; v2.rollOverDateDepth = 199; v2.labelBaseDepth = 900; v2.backgroundDepth = 1; v2.selRangeMode = 1; v2.disRangeMode = []; v2._color = {'themeColor': 1, 'rollOverColor': 1, 'selectionColor': 1, 'todayColor': 1}; v2.__showToday = true; v2.__disabledRanges = []; v2.__enabled = true; v2.__firstDayOfWeek = 0; v2.__selectableRange = undefined; v2.__selectedDate = undefined; v2.__displayedMonth = undefined; v2.__displayedYear = undefined; v2.__dayNames = ['S', 'M', 'T', 'W', 'T', 'F', 'S']; v2.__disabledDays = []; v2.__autoScale = true; v2.__cellHeight = 20; v2.__cellWidth = 20; v2.__colMargin = 8; v2.__leftMargin = 8.5; v2.__rightMargin = 8.5; v2.__dayToDateMargin = 5; v2.__dateMargin = 4; v2.__dragSelectMode = false; v2.__defaultCellHeight = mx.controls.CalendarLayout.prototype.__cellHeight; v2.__defaultCellWidth = mx.controls.CalendarLayout.prototype.__cellWidth; v2.__defaultColMargin = mx.controls.CalendarLayout.prototype.__colMargin; v2.__defaultLeftMargin = mx.controls.CalendarLayout.prototype.__leftMargin; v2.__defaultRightMargin = mx.controls.CalendarLayout.prototype.__rightMargin; v2.__defaultDayToDateMargin = mx.controls.CalendarLayout.prototype.__dayToDateMargin; v2.__defaultDateMargin = mx.controls.CalendarLayout.prototype.__dateMargin; v2.addProperty('autoScale', v2.__get__autoScale, v2.__set__autoScale); v2.addProperty('cellHeight', v2.__get__cellHeight, v2.__set__cellHeight); v2.addProperty('cellWidth', v2.__get__cellWidth, v2.__set__cellWidth); v2.addProperty('colMargin', v2.__get__colMargin, v2.__set__colMargin); v2.addProperty('dateMargin', v2.__get__dateMargin, v2.__set__dateMargin); v2.addProperty('dayNames', v2.__get__dayNames, v2.__set__dayNames); v2.addProperty('dayToDateMargin', v2.__get__dayToDateMargin, v2.__set__dayToDateMargin); v2.addProperty('disabledDays', v2.__get__disabledDays, v2.__set__disabledDays); v2.addProperty('disabledRanges', v2.__get__disabledRanges, v2.__set__disabledRanges); v2.addProperty('displayedMonth', v2.__get__displayedMonth, v2.__set__displayedMonth); v2.addProperty('displayedYear', v2.__get__displayedYear, v2.__set__displayedYear); v2.addProperty('dragSelectMode', v2.__get__dragSelectMode, v2.__set__dragSelectMode); v2.addProperty('enabled', v2.__get__enabled, v2.__set__enabled); v2.addProperty('firstDayOfWeek', v2.__get__firstDayOfWeek, v2.__set__firstDayOfWeek); v2.addProperty('leftMargin', v2.__get__leftMargin, v2.__set__leftMargin); v2.addProperty('rightMargin', v2.__get__rightMargin, v2.__set__rightMargin); v2.addProperty('selectableRange', v2.__get__selectableRange, v2.__set__selectableRange); v2.addProperty('selectedDate', v2.__get__selectedDate, v2.__set__selectedDate); v2.addProperty('showToday', v2.__get__showToday, v2.__set__showToday); ASSetPropFlags(mx.controls.CalendarLayout.prototype, null, 1); } #endinitclip } movieClip 1984 __Packages.mx.core.View { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.View) { var v1 = function () { super(); }; mx.core.View = v1; var v2 = new mx.core.UIComponent(); mx.core.View.prototype = v2; v2.init = function () { super.init(); this.tabChildren = true; this.tabEnabled = false; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v2.size = function () { this.border_mc.move(0, 0); this.border_mc.setSize(this.__get__width(), this.__get__height()); this.doLayout(); }; v2.draw = function () { this.size(); }; v2.__get__numChildren = function () { var v3 = mx.core.View.childNameBase; var v2 = 0; while (!false) { if (this[v3 + v2] == undefined) { return v2; } ++v2; } return -1; }; v2.__get__tabIndex = function () { return this.tabEnabled ? this.__tabIndex : undefined; }; v2.__set__tabIndex = function (n) { this.__tabIndex = n; return this.__get__tabIndex(); }; v2.addLayoutObject = function (object) {}; v2.createChild = function (className, instanceName, initProps) { if (this.depth == undefined) { this.depth = 1; } var v2; if (typeof className == 'string') { v2 = this.createObject(className, instanceName, this.depth++, initProps); } else { v2 = this.createClassObject(className, instanceName, this.depth++, initProps); } if (v2 == undefined) { v2 = this.loadExternal(className, this._loadExternalClass, instanceName, this.depth++, initProps); this.addLayoutObject(v2); return v2; } this[mx.core.View.childNameBase + this.__get__numChildren()] = v2; v2._complete = true; this.childLoaded(v2); this.addLayoutObject(v2); return v2; }; v2.getChildAt = function (childIndex) { return this[mx.core.View.childNameBase + childIndex]; }; v2.destroyChildAt = function (childIndex) { if (!(childIndex >= 0 && childIndex < this.__get__numChildren())) { return undefined; } var v4 = mx.core.View.childNameBase + childIndex; var v6 = this.__get__numChildren(); var v3; for (v3 in this) { if (v3 == v4) { v4 = ''; this.destroyObject(v3); break; } } var v2 = Number(childIndex); while (v2 < v6 - 1) { this[mx.core.View.childNameBase + v2] = this[mx.core.View.childNameBase + (v2 + 1)]; ++v2; } delete this[mx.core.View.childNameBase + (v6 - 1)]; --this.depth; }; v2.initLayout = function () { if (!this.hasBeenLayedOut) { this.doLayout(); } }; v2.doLayout = function () { this.hasBeenLayedOut = true; }; v2.createChildren = function () { if (this.border_mc == undefined) { this.border_mc = this.createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {'styleName': this}); } this.doLater(this, 'initLayout'); }; v2.convertToUIObject = function (obj) {}; v2.childLoaded = function (obj) { this.convertToUIObject(obj); }; v1.extension = function () { mx.core.ExternalContent.enableExternalContent(); }; v1.symbolName = 'View'; v1.symbolOwner = mx.core.View; v1.version = '2.0.2.127'; v2.className = 'View'; v1.childNameBase = '_child'; v2.hasBeenLayedOut = false; v2._loadExternalClass = 'UIComponent'; v2.addProperty('numChildren', v2.__get__numChildren, function () {}); v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex); ASSetPropFlags(mx.core.View.prototype, null, 1); } #endinitclip } movieClip 1985 __Packages.mx.core.ScrollView { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ScrollView) { var v1 = function () { super(); }; mx.core.ScrollView = v1; var v2 = new mx.core.View(); mx.core.ScrollView.prototype = v2; v2.getHScrollPolicy = function (Void) { return this.__hScrollPolicy; }; v2.setHScrollPolicy = function (policy) { this.__hScrollPolicy = policy.toLowerCase(); if (this.__width == undefined) { return undefined; } this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding); }; v2.__get__hScrollPolicy = function () { return this.getHScrollPolicy(); }; v2.__set__hScrollPolicy = function (policy) { this.setHScrollPolicy(policy); return this.__get__hScrollPolicy(); }; v2.getVScrollPolicy = function (Void) { return this.__vScrollPolicy; }; v2.setVScrollPolicy = function (policy) { this.__vScrollPolicy = policy.toLowerCase(); if (this.__width == undefined) { return undefined; } this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding); }; v2.__get__vScrollPolicy = function () { return this.getVScrollPolicy(); }; v2.__set__vScrollPolicy = function (policy) { this.setVScrollPolicy(policy); return this.__get__vScrollPolicy(); }; v2.__get__hPosition = function () { return this.getHPosition(); }; v2.__set__hPosition = function (pos) { this.setHPosition(pos); return this.__get__hPosition(); }; v2.getHPosition = function (Void) { return this.__hPosition; }; v2.setHPosition = function (pos) { this.hScroller.__set__scrollPosition(pos); this.__hPosition = pos; }; v2.__get__vPosition = function () { return this.getVPosition(); }; v2.__set__vPosition = function (pos) { this.setVPosition(pos); return this.__get__vPosition(); }; v2.getVPosition = function (Void) { return this.__vPosition; }; v2.setVPosition = function (pos) { this.vScroller.__set__scrollPosition(pos); this.__vPosition = pos; }; v2.__get__maxVPosition = function () { var v2 = this.vScroller.maxPos; return (v2 == undefined) ? 0 : v2; }; v2.__get__maxHPosition = function () { return this.getMaxHPosition(); }; v2.__set__maxHPosition = function (pos) { this.setMaxHPosition(pos); return this.__get__maxHPosition(); }; v2.getMaxHPosition = function (Void) { if (this.__maxHPosition != undefined) { return this.__maxHPosition; } var v2 = this.hScroller.maxPos; return (v2 == undefined) ? 0 : v2; }; v2.setMaxHPosition = function (pos) { this.__maxHPosition = pos; }; v2.setScrollProperties = function (colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) { var v3 = this.getViewMetrics(); if (hPadding == undefined) { hPadding = 0; } if (wPadding == undefined) { wPadding = 0; } this.propsInited = true; delete this.scrollAreaChanged; this.heightPadding = hPadding; this.widthPadding = wPadding; if (colWidth == 0) { colWidth = 1; } if (rwHeight == 0) { rwHeight = 1; } var v5 = Math.ceil((this.__width - v3.left - v3.right - this.widthPadding) / colWidth); if (this.__hScrollPolicy == 'on' || v5 < colCount && this.__hScrollPolicy == 'auto') { if (this.hScroller == undefined || this.specialHScrollCase) { delete this.specialHScrollCase; this.hScroller = this.createObject('HScrollBar', 'hSB', 1001); this.hScroller.__set__lineScrollSize(20); this.hScroller.scrollHandler = this.scrollProxy; this.hScroller.__set__scrollPosition(this.__hPosition); this.scrollAreaChanged = true; } if (this.numberOfCols != colCount || this.columnWidth != colWidth || this.viewableColumns != v5 || this.scrollAreaChanged) { this.hScroller.setScrollProperties(v5, 0, colCount - v5); this.viewableColumns = v5; this.numberOfCols = colCount; this.columnWidth = colWidth; } } else { if ((this.__hScrollPolicy == 'auto' || this.__hScrollPolicy == 'off') && this.hScroller != undefined) { this.hScroller.removeMovieClip(); delete this.hScroller; this.scrollAreaChanged = true; } } if (this.heightPadding == undefined) { this.heightPadding = 0; } var v4 = Math.ceil((this.__height - v3.top - v3.bottom - this.heightPadding) / rwHeight); var v8 = (this.__height - v3.top - v3.bottom) % rwHeight != 0; if (this.__vScrollPolicy == 'on' || v4 < rwCount + v8 && this.__vScrollPolicy == 'auto') { if (this.vScroller == undefined) { this.vScroller = this.createObject('VScrollBar', 'vSB', 1002); this.vScroller.scrollHandler = this.scrollProxy; this.vScroller.__set__scrollPosition(this.__vPosition); this.scrollAreaChanged = true; this.rowH = 0; } if (this.rowC != rwCount || this.rowH != rwHeight || this.viewableRows + v8 != v4 + this.oldRndUp || this.scrollAreaChanged) { this.vScroller.setScrollProperties(v4, 0, rwCount - v4 + v8); this.viewableRows = v4; this.rowC = rwCount; this.rowH = rwHeight; this.oldRndUp = v8; } } else { if ((this.__vScrollPolicy == 'auto' || this.__vScrollPolicy == 'off') && this.vScroller != undefined) { this.vScroller.removeMovieClip(); delete this.vScroller; this.scrollAreaChanged = true; } } this.numberOfCols = colCount; this.columnWidth = colWidth; if (this.scrollAreaChanged) { this.doLayout(); var v2 = this.__viewMetrics; var v12 = (this.owner != undefined) ? this.owner : this; v12.layoutContent(v2.left, v2.top, this.columnWidth * this.numberOfCols - v2.left - v2.right, this.rowC * this.rowH, this.__width - v2.left - v2.right, this.__height - v2.top - v2.bottom); } if (!this.enabled) { this.setEnabled(false); } }; v2.getViewMetrics = function (Void) { var v2 = this.__viewMetrics; var v3 = this.border_mc.__get__borderMetrics(); v2.left = v3.left; v2.right = v3.right; if (this.vScroller != undefined) { v2.right += this.vScroller.minWidth; } v2.top = v3.top; if (this.hScroller == undefined && (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == true)) { this.hScroller = this.createObject('FHScrollBar', 'hSB', 1001); this.specialHScrollCase = true; } v2.bottom = v3.bottom; if (this.hScroller != undefined) { v2.bottom += this.hScroller.minHeight; } return v2; }; v2.doLayout = function (Void) { var v10 = this.__get__width(); var v8 = this.__get__height(); delete this.invLayout; this.__viewMetrics = this.getViewMetrics(); var v3 = this.__viewMetrics; var v2 = v3.left; var v9 = v3.right; var v5 = v3.top; var v11 = v3.bottom; var v7 = this.hScroller; var v6 = this.vScroller; v7.setSize(v10 - v2 - v9, v7.minHeight + 0); v7.move(v2, v8 - v11); v6.setSize(v6.minWidth + 0, v8 - v5 - v11); v6.move(v10 - v9, v5); var v4 = this.mask_mc; v4._width = v10 - v2 - v9; v4._height = v8 - v5 - v11; v4._x = v2; v4._y = v5; }; v2.createChild = function (id, name, props) { var v2 = super.createChild(id, name, props); return v2; }; v2.init = function (Void) { super.init(); this.__viewMetrics = new Object(); if (_global.__SVMouseWheelManager == undefined) { _global.__SVMouseWheelManager = new Object(); var v4 = _global.__SVMouseWheelManager; v4.onMouseWheel = this.__onMouseWheel; Mouse.addListener(v4); } }; v2.__onMouseWheel = function (delta, scrollTarget) { var v4 = scrollTarget; var v1; while (v4 != undefined) { if (v4 instanceof mx.core.ScrollView) { v1 = v4; false; } v4 = v4._parent; } if (v1 != undefined) { v4 = delta <= 0 ? 1 : -1; var v2 = v1.vScroller.lineScrollSize; if (v2 == undefined) { v2 = 0; } v2 = Math.max(Math.abs(delta), v2); var v3 = v1.vPosition + v2 * v4; v1.vPosition = Math.max(0, Math.min(v3, v1.maxVPosition)); v1.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': v1.vPosition}); } }; v2.createChildren = function (Void) { super.createChildren(); if (this.mask_mc == undefined) { this.mask_mc = this.createObject('BoundingBox', 'mask_mc', this.MASK_DEPTH); } this.mask_mc._visible = false; }; v2.invalidate = function (Void) { super.invalidate(); }; v2.draw = function (Void) { this.size(); }; v2.size = function (Void) { super.size(); }; v2.scrollProxy = function (docObj) { this._parent.onScroll(docObj); }; v2.onScroll = function (docObj) { var v3 = docObj.target; var v2 = v3.scrollPosition; if (v3 == this.vScroller) { var v4 = 'vertical'; var v5 = '__vPosition'; } else { var v4 = 'horizontal'; var v5 = '__hPosition'; } this[v5] = v2; this.dispatchEvent({'type': 'scroll', 'direction': v4, 'position': v2}); }; v2.setEnabled = function (v) { this.hScroller.enabled = v; this.vScroller.enabled = this.hScroller.enabled; }; v2.childLoaded = function (obj) { super.childLoaded(obj); obj.setMask(this.mask_mc); }; v1.symbolName = 'ScrollView'; v1.symbolOwner = mx.core.ScrollView; v1.version = '2.0.2.127'; v2.className = 'ScrollView'; v2.__vScrollPolicy = 'auto'; v2.__hScrollPolicy = 'off'; v2.__vPosition = 0; v2.__hPosition = 0; v2.numberOfCols = 0; v2.rowC = 0; v2.columnWidth = 1; v2.rowH = 0; v2.heightPadding = 0; v2.widthPadding = 0; v2.MASK_DEPTH = 10000; v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition); v2.addProperty('hScrollPolicy', v2.__get__hScrollPolicy, v2.__set__hScrollPolicy); v2.addProperty('maxHPosition', v2.__get__maxHPosition, v2.__set__maxHPosition); v2.addProperty('maxVPosition', v2.__get__maxVPosition, function () {}); v2.addProperty('vPosition', v2.__get__vPosition, v2.__set__vPosition); v2.addProperty('vScrollPolicy', v2.__get__vScrollPolicy, v2.__set__vScrollPolicy); ASSetPropFlags(mx.core.ScrollView.prototype, null, 1); } #endinitclip } movieClip 1986 __Packages.mx.containers.ScrollPane { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.containers) { _global.mx.containers = new Object(); } if (!_global.mx.containers.ScrollPane) { var v1 = function () { super(); }; mx.containers.ScrollPane = v1; var v2 = new mx.core.ScrollView(); mx.containers.ScrollPane.prototype = v2; v2.getBytesTotal = function () { return this._total; }; v2.getBytesLoaded = function () { return this._loaded; }; v2.__set__contentPath = function (scrollableContent) { if (!this.initializing) { if (scrollableContent == undefined) { this.destroyChildAt(0); } else { if (this[mx.core.View.childNameBase + 0] != undefined) { this.destroyChildAt(0); } this.createChild(scrollableContent, 'spContentHolder'); } } this.__scrollContent = scrollableContent; return this.__get__contentPath(); }; v2.__get__contentPath = function () { return this.__scrollContent; }; v2.__get__content = function () { return this.spContentHolder; }; v2.setHPosition = function (position) { if (position <= this.hScroller.maxPos && position >= this.hScroller.minPos) { super.setHPosition(position); this.spContentHolder._x = -position; } }; v2.setVPosition = function (position) { if (position <= this.vScroller.maxPos && position >= this.vScroller.minPos) { super.setVPosition(position); this.spContentHolder._y = -position; } }; v2.__get__vLineScrollSize = function () { return this.__vLineScrollSize; }; v2.__set__vLineScrollSize = function (vLineSize) { this.__vLineScrollSize = vLineSize; this.vScroller.__set__lineScrollSize(vLineSize); return this.__get__vLineScrollSize(); }; v2.__get__hLineScrollSize = function () { return this.__hLineScrollSize; }; v2.__set__hLineScrollSize = function (hLineSize) { this.__hLineScrollSize = hLineSize; this.hScroller.__set__lineScrollSize(hLineSize); return this.__get__hLineScrollSize(); }; v2.__get__vPageScrollSize = function () { return this.__vPageScrollSize; }; v2.__set__vPageScrollSize = function (vPageSize) { this.__vPageScrollSize = vPageSize; this.vScroller.__set__pageScrollSize(vPageSize); return this.__get__vPageScrollSize(); }; v2.__get__hPageScrollSize = function () { return this.__hPageScrollSize; }; v2.__set__hPageScrollSize = function (hPageSize) { this.__hPageScrollSize = hPageSize; this.hScroller.__set__pageScrollSize(hPageSize); return this.__get__hPageScrollSize(); }; v2.__set__hScrollPolicy = function (policy) { this.__hScrollPolicy = policy.toLowerCase(); this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1); return this.__get__hScrollPolicy(); }; v2.__set__vScrollPolicy = function (policy) { this.__vScrollPolicy = policy.toLowerCase(); this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1); return this.__get__vScrollPolicy(); }; v2.__get__scrollDrag = function () { return this.__scrollDrag; }; v2.__set__scrollDrag = function (s) { this.__scrollDrag = s; if (this.__scrollDrag) { this.spContentHolder.useHandCursor = true; this.spContentHolder.onPress = function () { this._parent.startDragLoop(); }; this.spContentHolder.tabEnabled = false; this.spContentHolder.onReleaseOutside = function () { delete this.onMouseMove; }; this.spContentHolder.onRelease = this.spContentHolder.onReleaseOutside; this.__scrollDrag = true; } else { delete this.spContentHolder.onPress; this.spContentHolder.tabEnabled = false; this.spContentHolder.tabChildren = true; this.spContentHolder.useHandCursor = false; this.__scrollDrag = false; } return this.__get__scrollDrag(); }; v2.init = function (Void) { super.init(); this.tabEnabled = true; this.keyDown = this._onKeyDown; }; v2.createChildren = function (Void) { super.createChildren(); this.mask_mc._visible = false; this.initializing = false; if (this.__scrollContent != undefined && this.__scrollContent != '') { this.__set__contentPath(this.__scrollContent); } }; v2.size = function (Void) { super.size(); this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1); this.hPosition = Math.min(this.hPosition, this.__get__maxHPosition()); this.vPosition = Math.min(this.vPosition, this.__get__maxVPosition()); }; v2.setScrollProperties = function (columnCount, columnWidth, rowCount, rowHeight) { super.setScrollProperties(columnCount, columnWidth, rowCount, rowHeight); this.hScroller.__set__lineScrollSize(this.__hLineScrollSize); this.hScroller.__set__pageScrollSize(this.__hPageScrollSize); this.vScroller.__set__lineScrollSize(this.__vLineScrollSize); this.vScroller.__set__pageScrollSize(this.__vPageScrollSize); }; v2.onScroll = function (scrollEvent) { this.spContentHolder._x = -this.__hPosition; this.spContentHolder._y = -this.__vPosition; super.onScroll(scrollEvent); }; v2.childLoaded = function (obj) { super.childLoaded(obj); this.onComplete(); }; v2.onComplete = function (Void) { this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1); this.hPosition = 0; this.vPosition = 0; this.__set__scrollDrag(this.__scrollDrag); this.invalidate(); }; v2.startDragLoop = function (Void) { this.spContentHolder.lastX = this.spContentHolder._xmouse; this.spContentHolder.lastY = this.spContentHolder._ymouse; this.spContentHolder.onMouseMove = function () { var v5 = this.lastX - this._xmouse; var v4 = this.lastY - this._ymouse; v5 += this._parent.hPosition; v4 += this._parent.vPosition; var v3 = this._parent.getViewMetrics(); var v7 = this._parent.__height - v3.top - v3.bottom; var v6 = this._parent.__width - v3.left - v3.right; this._parent.__hPosition = Math.max(0, Math.min(v5, this._width - v6)); this._parent.__vPosition = Math.max(0, Math.min(v4, this._height - v7)); this._parent.hScroller.scrollPosition = this._parent.__hPosition; this._x = -this._parent.hPosition; this._parent.vScroller.scrollPosition = this._parent.__vPosition; this._y = -this._parent.vPosition; super.dispatchEvent({'type': 'scroll'}); }; }; v2.dispatchEvent = function (o) { o.target = this; this._total = o.total; this._loaded = o.current; super.dispatchEvent(o); }; v2.refreshPane = function (Void) { this.__set__contentPath(this.__scrollContent); }; v2._onKeyDown = function (e) { if (this.hScroller != undefined && this.__hPosition <= this.hScroller.maxPos && this.__hPosition >= this.hScroller.minPos) { if (e.code == 37) { this.hPosition -= this.hLineScrollSize; } else { if (e.code == 39) { this.hPosition += this.hLineScrollSize; } } } if (this.vScroller != undefined && this.__vPosition <= this.vScroller.maxPos && this.__vPosition >= this.vScroller.minPos) { if (e.code == 33) { this.vPosition -= this.vPageScrollSize; } else { if (e.code == 34) { this.vPosition += this.vPageScrollSize; } } if (e.code == 40) { this.vPosition += this.vLineScrollSize; } else { if (e.code == 38) { this.vPosition -= this.vLineScrollSize; } } } if (e.code == 36) { this.vPosition = this.vScroller.minPos; } else { if (e.code == 35) { this.vPosition = this.vScroller.maxPos; } } }; v1.symbolName = 'ScrollPane'; v1.symbolOwner = mx.containers.ScrollPane; v2.className = 'ScrollPane'; v1.version = '2.0.2.127'; v2.__hScrollPolicy = 'auto'; v2.__scrollDrag = false; v2.__vLineScrollSize = 5; v2.__hLineScrollSize = 5; v2.__vPageScrollSize = 20; v2.__hPageScrollSize = 20; v2.clipParameters = {'contentPath': 1, 'scrollDrag': 1, 'hScrollPolicy': 1, 'vScrollPolicy': 1, 'vLineScrollSize': 1, 'hLineScrollSize': 1, 'vPageScrollSize': 1, 'hPageScrollSize': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.containers.ScrollPane.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters); v2.initializing = true; v2.addProperty('content', v2.__get__content, function () {}); v2.addProperty('contentPath', v2.__get__contentPath, v2.__set__contentPath); v2.addProperty('hLineScrollSize', v2.__get__hLineScrollSize, v2.__set__hLineScrollSize); v2.addProperty('hPageScrollSize', v2.__get__hPageScrollSize, v2.__set__hPageScrollSize); v2.addProperty('hScrollPolicy', function () {}, v2.__set__hScrollPolicy); v2.addProperty('scrollDrag', v2.__get__scrollDrag, v2.__set__scrollDrag); v2.addProperty('vLineScrollSize', v2.__get__vLineScrollSize, v2.__set__vLineScrollSize); v2.addProperty('vPageScrollSize', v2.__get__vPageScrollSize, v2.__set__vPageScrollSize); v2.addProperty('vScrollPolicy', function () {}, v2.__set__vScrollPolicy); ASSetPropFlags(mx.containers.ScrollPane.prototype, null, 1); } #endinitclip } movieClip 1990 __Packages.mx.core.ExternalContent { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ExternalContent) { var v1 = function () {}; mx.core.ExternalContent = v1; var v2 = v1.prototype; v2.loadExternal = function (url, placeholderClassName, instanceName, depth, initProps) { var v2; v2 = this.createObject(placeholderClassName, instanceName, depth, initProps); this[mx.core.View.childNameBase + this.numChildren] = v2; if (this.prepList == undefined) { this.prepList = new Object(); } this.prepList[instanceName] = {'obj': v2, 'url': url, 'complete': false, 'initProps': initProps}; this.prepareToLoadMovie(v2); return v2; }; v2.prepareToLoadMovie = function (obj) { obj.unloadMovie(); this.doLater(this, 'waitForUnload'); }; v2.waitForUnload = function () { var v3; for (v3 in this.prepList) { var v2 = this.prepList[v3]; if (v2.obj.getBytesTotal() == 0) { if (this.loadList == undefined) { this.loadList = new Object(); } this.loadList[v3] = v2; v2.obj.loadMovie(v2.url); delete this.prepList[v3]; this.doLater(this, 'checkLoadProgress'); } else { this.doLater(this, 'waitForUnload'); } } }; v2.checkLoadProgress = function () { var v8 = false; var v3; for (v3 in this.loadList) { var v2 = this.loadList[v3]; v2.loaded = v2.obj.getBytesLoaded(); v2.total = v2.obj.getBytesTotal(); if (v2.total > 0) { v2.obj._visible = false; this.dispatchEvent({'type': 'progress', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); if (v2.loaded == v2.total) { if (this.loadedList == undefined) { this.loadedList = new Object(); } this.loadedList[v3] = v2; delete this.loadList[v3]; this.doLater(this, 'contentLoaded'); } } else { if (v2.total == -1) { if (v2.failedOnce != undefined) { ++v2.failedOnce; if (v2.failedOnce > 3) { this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); delete this.loadList[v3]; false; } } else { v2.failedOnce = 0; } } } v8 = true; } if (v8) { this.doLater(this, 'checkLoadProgress'); } }; v2.contentLoaded = function () { var v4; for (v4 in this.loadedList) { var v2 = this.loadedList[v4]; v2.obj._visible = true; v2.obj._complete = true; var v3; for (v3 in v2.initProps) { v2.obj[v3] = v2.initProps[v3]; } this.childLoaded(v2.obj); this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); delete this.loadedList[v4]; false; } }; v2.convertToUIObject = function (obj) { if (obj.setSize == undefined) { var v2 = mx.core.UIObject.prototype; obj.addProperty('width', v2.__get__width, null); obj.addProperty('height', v2.__get__height, null); obj.addProperty('left', v2.__get__left, null); obj.addProperty('x', v2.__get__x, null); obj.addProperty('top', v2.__get__top, null); obj.addProperty('y', v2.__get__y, null); obj.addProperty('right', v2.__get__right, null); obj.addProperty('bottom', v2.__get__bottom, null); obj.addProperty('visible', v2.__get__visible, v2.__set__visible); obj.move = mx.core.UIObject.prototype.move; obj.setSize = mx.core.UIObject.prototype.setSize; obj.size = mx.core.UIObject.prototype.size; mx.events.UIEventDispatcher.initialize(obj); } }; v1.enableExternalContent = function () {}; v1.classConstruct = function () { var v1 = mx.core.View.prototype; var v2 = mx.core.ExternalContent.prototype; v1.loadExternal = v2.loadExternal; v1.prepareToLoadMovie = v2.prepareToLoadMovie; v1.waitForUnload = v2.waitForUnload; v1.checkLoadProgress = v2.checkLoadProgress; v1.contentLoaded = v2.contentLoaded; v1.convertToUIObject = v2.convertToUIObject; return true; }; v1.classConstructed = mx.core.ExternalContent.classConstruct(); v1.ViewDependency = mx.core.View; ASSetPropFlags(mx.core.ExternalContent.prototype, null, 1); } #endinitclip } frame 576 { Mouse.hide(); } frame 577 { Mouse.hide(); } movieClip 902 { frame 160 { stop(); } } // unknown tag 88 length 70 frame 752 { Mouse.show(); } movieClip 912 { } button 913 { on (press) { play(); } } movieClip 917 { frame 1 { function howlong(arg) { if (length(arg) == 1) { arg = '0' + arg; return arg; } else { arg = arg; return arg; } } myDate = new Date(); hr = howlong(String(myDate.getHours())); mnt = howlong(String(myDate.getMinutes())); daytext = myDate.getDay(); dd = myDate.getDate(); mm = myDate.getMonth(); yyyy = myDate.getFullYear(); switch (daytext) { case 0: daytext = 'Sun'; break; case 1: daytext = 'Mon'; break; case 2: daytext = 'Tue'; break; case 3: daytext = 'Wed'; break; case 4: daytext = 'Thur'; break; case 5: daytext = 'Fri'; break; case 6: daytext = 'Sat'; } switch (mm) { case 0: mm = 'Jan'; break; case 1: mm = 'Feb'; break; case 2: mm = 'Mar'; break; case 3: mm = 'Apr'; break; case 4: mm = 'May'; break; case 5: mm = 'Jun'; break; case 6: mm = 'Jul'; break; case 7: mm = 'Aug'; break; case 8: mm = 'Sep'; break; case 9: mm = 'Oct'; break; case 10: mm = 'Nov'; break; case 11: mm = 'Dec'; } textdate = daytext + ',' + dd + ' ' + mm + ' ' + yyyy; } frame 1 { s.useHandCursor = false; } frame 2 { gotoAndPlay(1); } } button 921 { on (release) { getURL('http://www.megaupload.com/?d=2HX4KCOA', '_blank'); } } button 925 { on (release) { getURL('http://www.megaupload.com/?d=PUGQG8XV', '_blank'); } } button 932 { on (release) { if (password eq 'Macrosoft') { getURL('http://www.megaupload.com/?d=CFDV375W', '_blank'); } else { gotoAndStop(1); } } } button 939 { on (release) { delete _root.b; } } button 946 { on (release) { nextFrame(); } } movieClip 949 { } movieClip 951 { } movieClip 952 { } movieClip 953 { } button 954 { on (release) { delete b; } } movieClip 957 { instance of movieClip 305 UIScrollBar { onClipEvent (construct) { _targetInstanceName = 5; horizontal = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } button 962 { on (press) { prevFrame(); } on (press) { _root.displace_mc._visible = false; } } movieClip 963 { frame 1 { stop(); _root.image_mc._visible = true; } frame 1 { gm.useHandCursor = false; cl.useHandCursor = false; } instance of movieClip 305 UIScrollBar { onClipEvent (construct) { _targetInstanceName = 5; horizontal = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } frame 2 { Stage.scaleMode = 'noScale'; var colorX = 1; var colorY = 2; var powerX = 75; var powerY = 75; var mode = 'ignore'; var offset = new flash.geom.Point(0, 0); var bmp = new flash.display.BitmapData(image_mc._width, image_mc._height); var displaceFilter = new flash.filters.DisplacementMapFilter(bmp, offset, colorX, colorY, powerX, powerY, mode); onMouseMove = function () { displace_mc.displacer._x = displace_mc._xmouse; displace_mc.displacer._y = displace_mc._ymouse; bmp.draw(displace_mc); image_mc.filters = [displaceFilter]; }; onMouseDown = function () { displace_mc._visible = true; image_mc._visible = false; }; onMouseUp = function () { displace_mc._visible = false; image_mc._visible = true; }; onMouseUp(); onMouseMove(); stop(); } frame 2 { gm.useHandCursor = false; cl.useHandCursor = false; } } movieClip 964 { frame 1 { cl.useHandCursor = false; gm.useHandCursor = false; } instance clock of movieClip 620 clock { onClipEvent (enterFrame) { var time = new Date(); this.seconds._rotation = time.getSeconds() * 6 - 90; this.minutes._rotation = time.getMinutes() * 6 - 90; this.hours._rotation = (time.getHours() % 12) * 30 - 90; } } } button 965 { on (rollOver) { play(); } } button 967 { on (release) { gotoAndPlay(3); } } movieClip 968 { frame 1 { sa.useHandCursor = false; stop(); } frame 2 { sa.useHandCursor = false; } frame 52 { sa.useHandCursor = false; stop(); } frame 53 { sa.useHandCursor = false; } frame 101 { sa.useHandCursor = false; } } movieClip 995 { frame 1 { time = new Date(); var seconds = time.getSeconds(); var minutes = time.getMinutes(); var hours = time.getHours(); if (hours < 12) { ampm = 'AM'; } else { ampm = 'PM'; } while (hours > 12) { hours -= 12; } if (hours < 10) { hours = '' + hours; } if (minutes < 10) { minutes = '0' + minutes; } if (seconds < 10) { seconds = '0' + seconds; } Clock_text.text = hours + ':' + minutes + ' ' + ampm; } frame 2 { gotoAndPlay(1); } } movieClip 996 { frame 1 { ji.useHandCursor = false; } } movieClip 999 { } frame 850 { var savefile = SharedObject.getLocal('Windows Magi SP3'); savefile.data.score = _root.score; savefile.data.level = _root.level; savefile.flush(); if (savefile.data.score == undefined) { _root.score = 0; } else { _root.score = savefile.data.score; } if (savefile.data.level == undefined) { _root.level = 0; } else { _root.level = savefile.data.level; } } frame 850 { stop(); } frame 850 { _root.createEmptyMovieClip('myLine', 0); _root.onMouseDown = function () { myLine.moveTo(_xmouse, _ymouse); _root.onMouseMove = function () { myLine.lineTo(_xmouse, _ymouse); }; }; _root.onMouseUp = function () { _root.onMouseMove = noLine; }; } movieClip 1007 { } movieClip 1026 { frame 1 { stop(); } frame 1 { s.useHandCursor = false; } } button 1030 { on (release) { _root.ms.gotoAndPlay(3); _root.las.gotoAndStop(1); } } button 1032 { on (release) { tellTarget ('_level0') { gotoAndStop('l'); } } } movieClip 1033 { frame 2 { c.useHandCursor = false; } frame 7 { s.useHandCursor = false; } frame 7 { c.useHandCursor = false; } frame 7 { stop(); } } frame 851 { cursors._visible = true; _root.cursors.swapDepths(1000000); var savefile = SharedObject.getLocal('Windows Magi SP3'); savefile.data.score = _root.score; savefile.data.level = _root.level; savefile.flush(); if (savefile.data.score == undefined) { _root.score = 0; } else { _root.score = savefile.data.score; } if (savefile.data.level == undefined) { _root.level = 0; } else { _root.level = savefile.data.level; } } frame 851 { blah._visible = false; } frame 851 { stop(); _root.createEmptyMovieClip('myLine', 0); _root.onMouseDown = function () { myLine.moveTo(_xmouse, _ymouse); _root.onMouseMove = function () { myLine.lineTo(_xmouse, _ymouse); }; }; _root.onMouseUp = function () { _root.onMouseMove = noLine; }; game.useHandCursor = false; removeMovieClip(wingame); removeMovieClip(ship); removeMovieClip(starfield); removeMovieClip(star); removeMovieClip(showlevel); removeMovieClip(poweruptrishot); removeMovieClip(poweruplevelup); removeMovieClip(newgame); removeMovieClip(mainscreen); removeMovieClip(losegame); removeMovieClip(lazerright); removeMovieClip(lazerleft); removeMovieClip(lazer); removeMovieClip(hitarea); removeMovieClip(enemyship4explosion); removeMovieClip(enemyship4); removeMovieClip(enemyship3explosion); removeMovieClip(enemyship3); removeMovieClip(enemyship2explosion); removeMovieClip(enemyship2); removeMovieClip(enemyship1explosion); removeMovieClip(enemyship1); removeMovieClip(enemylazer4); removeMovieClip(enemylazer3); removeMovieClip(enemylazer2); removeMovieClip(enemylazer1); removeMovieClip(enemyboulder2); removeMovieClip(enemyboulder1); removeMovieClip(enemybosslevel2); removeMovieClip(enemybosslevel1explosion); removeMovieClip(enemybosslevel1); removeMovieClip(enemyboss2segment); removeMovieClip(enemyship3); removeMovieClip(wingame); removeMovieClip(ship); removeMovieClip(starfield); removeMovieClip(star); removeMovieClip(showlevel); removeMovieClip(poweruptrishot); removeMovieClip(poweruplevelup); removeMovieClip(newgame); removeMovieClip(mainscreen); removeMovieClip(losegame); removeMovieClip(lazerright); removeMovieClip(lazerleft); removeMovieClip(lazer); removeMovieClip(hitarea); removeMovieClip(enemyship4explosion); removeMovieClip(enemyship4); removeMovieClip(enemyship3explosion); removeMovieClip(enemyship3); removeMovieClip(enemyship2explosion); removeMovieClip(enemyship2); removeMovieClip(enemyship1explosion); removeMovieClip(enemyship1); removeMovieClip(enemylazer4); removeMovieClip(enemylazer3); removeMovieClip(enemylazer2); removeMovieClip(enemylazer1); removeMovieClip(enemyboulder2); removeMovieClip(enemyboulder1); removeMovieClip(enemybosslevel2); removeMovieClip(enemybosslevel1explosion); removeMovieClip(enemybosslevel1); removeMovieClip(enemyboss2segment); removeMovieClip(enemyship3); _root.swe._visible = false; } frame 851 { secret.useHandCursor = false; } movieClip 1044 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { gotoAndStop(1); } } button 1047 { on (press) { _root.sss.gotoAndStop(1); _root.swe._visible = false; } } button 1053 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1054 { on (release) { if (Number(getTimer() - lastclick) < 500) { tellTarget ('_level0') { gotoAndPlay('Games'); } } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1055 { frame 1 { f.useHandCursor = false; stop(); } frame 2 { stop(); f.useHandCursor = false; } } button 1060 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1061 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.play(); _root.cursors.gotoAndStop(1); } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1062 { frame 1 { stop(); } frame 1 { p.useHandCursor = false; } frame 2 { stop(); p.useHandCursor = false; } } button 1067 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1068 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(3); } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1069 { frame 1 { my.useHandCursor = false; stop(); } frame 2 { my.useHandCursor = false; stop(); } } button 1073 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1074 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(2); } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1075 { frame 1 { my.useHandCursor = false; stop(); } frame 2 { my.useHandCursor = false; stop(); } } button 1079 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1080 { on (release) { if (Number(getTimer() - lastclick) < 500) { tellTarget ('_level0') { gotoAndStop('newgroundsssss'); } } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1081 { frame 1 { stop(); ie.useHandCursor = false; } frame 2 { stop(); ie0.useHandCursor = false; } } button 1083 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1084 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.wma._visible = true; _root.wma.gotoAndPlay(2); } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1085 { frame 1 { stop(); ie.useHandCursor = false; } frame 2 { stop(); ie.useHandCursor = false; } } button 1087 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1088 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.ms._visible = true; _root.las.gotoAndStop(2); } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1089 { frame 1 { stop(); ie.useHandCursor = false; } frame 2 { stop(); ie.useHandCursor = false; } } button 1093 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1094 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.vas._visible = true; _root.vas.gotoAndStop(2); } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1095 { frame 1 { stop(); ie.useHandCursor = false; } frame 2 { stop(); ie.useHandCursor = false; } } button 1096 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } button 1097 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.credits._visible = true; _root.credits.gotoAndPlay(2); } gotoAndPlay(1); } on (press) { startDrag(this, false); } on (release) { stopDrag(); } } movieClip 1098 { frame 1 { stop(); ie.useHandCursor = false; } frame 2 { stop(); ie.useHandCursor = false; } } button 1104 { on (press) { gotoAndPlay(2); this.swapDepths(1000); _root.swe._visible = true; } } movieClip 1108 { } movieClip 1109 { frame 5 { stop(); } } movieClip 1110 { frame 5 { stop(); } } movieClip 1113 { } button 1114 { on (release) { gotoAndStop(1); } } button 1116 { on (release, keyPress 's') { gotoAndStop(1); this.swapDepths(1000); _root.swe._visible = false; } } movieClip 1121 { } button 1123 { on (release) { _root.las.gotoAndStop(3); _root.sss.gotoAndStop(1); _root.swe._visible = false; } } movieClip 1124 { frame 1 { c.useHandCursor = false; stop(); } } button 1130 { on (release) { _root.play(); _root.swe._visible = false; } } button 1135 { on (release) { tellTarget ('_level0') { gotoAndStop('newgroundsssss'); } _root.sss.gotoAndStop(1); _root.swe._visible = false; } } movieClip 1136 { frame 1 { stop(); ie.useHandCursor = false; } } button 1140 { on (release) { _root.wma._visible = true; _root.wma.gotoAndPlay(2); _root.sss.gotoAndStop(1); _root.swe._visible = false; } } movieClip 1141 { frame 1 { stop(); wma.useHandCursor = false; } } button 1146 { on (release) { _root.ms._visible = true; _root.las.gotoAndStop(2); _root.sss.gotoAndStop(1); _root.swe._visible = false; } } movieClip 1147 { frame 1 { msa.useHandCursor = false; } } button 1151 { on (release) { _root.vas._visible = true; _root.vas.gotoAndStop(2); _root.sss.gotoAndStop(1); _root.swe._visible = false; } } button 1156 { on (release) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(2); _root.sss.gotoAndStop(1); _root.swe._visible = false; } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndStop(1); } } movieClip 1158 { frame 1 { stop(); } frame 1 { c.useHandCursor = false; } frame 7 { stop(); } } button 1162 { on (release) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(3); _root.sss.gotoAndStop(1); _root.swe._visible = false; } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndPlay(1); } } movieClip 1164 { frame 1 { stop(); } frame 1 { c.useHandCursor = false; } frame 7 { stop(); } } button 1166 { on (release) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(4); _root.sss.gotoAndStop(1); _root.swe._visible = false; } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndStop(1); } } movieClip 1169 { } movieClip 1170 { frame 1 { stop(); } frame 1 { c.useHandCursor = false; } frame 7 { stop(); } } button 1175 { on (release) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(5); _root.sss.gotoAndStop(1); _root.swe._visible = false; } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndStop(1); } } movieClip 1177 { frame 1 { stop(); } frame 1 { c.useHandCursor = false; } frame 7 { stop(); } } button 1180 { on (release) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(6); _root.sss.gotoAndStop(1); _root.swe._visible = false; } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndStop(1); } } movieClip 1183 { frame 1 { stop(); } frame 1 { c.useHandCursor = false; } frame 7 { stop(); } } button 1187 { on (release) { _root.mycomputer._visible = true; _root.mycomputer.gotoAndStop(8); _root.sss.gotoAndStop(1); _root.swe._visible = false; } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndStop(1); } } movieClip 1189 { frame 1 { stop(); } frame 1 { v.useHandCursor = false; } frame 7 { stop(); } } button 1192 { on (release) { tellTarget ('_level0') { gotoAndPlay('Games'); _root.swe._visible = false; } } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndStop(1); } } movieClip 1193 { frame 1 { stop(); } frame 1 { g.useHandCursor = false; } frame 7 { stop(); } } button 1196 { on (release) { _root.credits._visible = true; _root.credits.gotoAndPlay(2); _root.sss.gotoAndStop(1); _root.swe._visible = false; } on (rollOver) { gotoAndPlay(2); } on (rollOut) { gotoAndStop(1); } } movieClip 1197 { frame 1 { stop(); } frame 1 { v.useHandCursor = false; } frame 7 { stop(); } } button 1198 { on (release) { tellTarget ('_level0') { gotoAndPlay('shut'); } } } movieClip 1200 { frame 1 { starticon.useHandCursor = false; stop(); } frame 2 { si.useHandCursor = false; Paint.useHandCursor = false; l.useHandCursor = false; } frame 5 { si.useHandCursor = false; Paint.useHandCursor = false; l.useHandCursor = false; } frame 5 { shut.useHandCursor = false; } frame 5 { stop(); } } movieClip 1205 { } movieClip 1206 { frame 5 { stop(); } } movieClip 1207 { frame 5 { stop(); } } button 1208 { on (release) { play(); } } button 1213 { on (press) { stop(); } } button 1217 { on (release) { gotoAndStop(1); } } button 1224 { on (release) { gotoAndPlay(1775); } } button 1225 { on (release) { gotoAndPlay(1); } } movieClip 1228 { } movieClip 1229 { } movieClip 1242 { } movieClip 1246 { } movieClip 1251 { } button 1253 { on (release) { gotoAndPlay(1); } } button 1254 { on (release) { gotoAndPlay(2); } } button 1255 { on (release) { gotoAndPlay(3); } } movieClip 1268 { } movieClip 1272 { } movieClip 1274 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); localcam = Camera.get(); darrencam.attachVideo(localcam); darrencam.smoothing = 10; } } button 1277 { on (release) { gotoAndPlay(1775); } } button 1278 { on (release) { gotoAndPlay(1775); gotoAndPlay('h'); } } movieClip 1281 { frame 1 { p.useHandCursor = false; s.useHandCursor = false; pl.useHandCursor = false; b.useHandCursor = false; f.useHandCursor = false; fr.useHandCursor = false; br.useHandCursor = false; br.onPress = function () { onEnterFrame = function () { prevFrame(); prevFrame(); prevFrame(); }; }; br.onRelease = function () { delete onEnterFrame; play(); }; fr.onPress = function () { onEnterFrame = function () { nextFrame(); nextFrame(); nextFrame(); }; }; fr.onRelease = function () { delete onEnterFrame; play(); }; } frame 1 { sec.useHandCursor = false; } frame 1775 { p.useHandCursor = false; s.useHandCursor = false; pl.useHandCursor = false; b.useHandCursor = false; f.useHandCursor = false; fr.useHandCursor = false; br.useHandCursor = false; br.onPress = function () { onEnterFrame = function () { prevFrame(); prevFrame(); }; }; br.onRelease = function () { delete onEnterFrame; play(); }; fr.onPress = function () { onEnterFrame = function () { nextFrame(); nextFrame(); }; }; fr.onRelease = function () { delete onEnterFrame; play(); }; } frame 1776 { p.useHandCursor = false; s.useHandCursor = false; pl.useHandCursor = false; b.useHandCursor = false; f.useHandCursor = false; fr.useHandCursor = false; br.useHandCursor = false; br.onPress = function () { onEnterFrame = function () { prevFrame(); prevFrame(); }; }; br.onRelease = function () { delete onEnterFrame; play(); }; fr.onPress = function () { onEnterFrame = function () { nextFrame(); nextFrame(); }; }; fr.onRelease = function () { delete onEnterFrame; play(); }; } frame 3310 { p.useHandCursor = false; s.useHandCursor = false; pl.useHandCursor = false; b.useHandCursor = false; f.useHandCursor = false; fr.useHandCursor = false; br.useHandCursor = false; br.onPress = function () { onEnterFrame = function () { prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); prevFrame(); }; }; br.onRelease = function () { delete onEnterFrame; play(); }; fr.onPress = function () { onEnterFrame = function () { nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); nextFrame(); }; }; fr.onRelease = function () { delete onEnterFrame; play(); }; } } movieClip 1283 { } movieClip 1284 { } movieClip 1285 { frame 5 { stop(); } } button 1286 { on (release) { _visible = false; } on (release) { gotoAndStop(1); } } movieClip 1287 { frame 1 { stop(); } frame 2 { sa.useHandCursor = false; a.useHandCursor = false; } frame 10 { s.useHandCursor = false; } frame 10 { sa.useHandCursor = false; stop(); a.useHandCursor = false; sas.useHandCursor = false; } } button 1293 { on (release) { gotoAndStop(2); } } button 1294 { on (release) { gotoAndStop(3); } } button 1296 { on (release) { gotoAndPlay(5); } } button 1297 { on (release) { gotoAndPlay(4); } } button 1299 { on (release) { gotoAndStop(6); } } button 1300 { on (release) { gotoAndStop(7); } } button 1305 { on (release) { gotoAndStop(1); } } button 1306 { on (release) { gotoAndStop(8); } } button 1307 { on (release) { gotoAndStop(9); } } button 1308 { on (release) { gotoAndStop(11); } } button 1309 { on (release) { gotoAndStop(10); } } button 1310 { on (release) { gotoAndStop(12); } } button 1311 { on (release) { gotoAndStop(13); } } button 1312 { on (release) { gotoAndStop(15); } } button 1313 { on (release) { gotoAndStop(14); } } button 1316 { on (release) { nextFrame(); } } movieClip 1318 { } button 1319 { on (release) { prevFrame(); } } movieClip 1320 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 1322 { } movieClip 1324 { } movieClip 1326 { } movieClip 1328 { } movieClip 1330 { } movieClip 1332 { } movieClip 1334 { } movieClip 1335 { frame 1 { stop(); } frame 1 { q.useHandCursor = false; w.useHandCursor = false; e.useHandCursor = false; r.useHandCursor = false; t.useHandCursor = false; ye.useHandCursor = false; u.useHandCursor = false; i.useHandCursor = false; o.useHandCursor = false; p.useHandCursor = false; a.useHandCursor = false; s.useHandCursor = false; d.useHandCursor = false; f.useHandCursor = false; h.useHandCursor = false; g.useHandCursor = false; } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } button 1337 { on (press) { startDrag(sh, false); } on (release, releaseOutside) { stopDrag(); } } button 1339 { on (press) { startDrag(no, false); } on (release, releaseOutside) { stopDrag(); } } button 1341 { on (press) { startDrag(eye, false); } on (release, releaseOutside) { stopDrag(); } } button 1342 { on (press) { startDrag(eye2, false); } on (release, releaseOutside) { stopDrag(); } } button 1344 { on (press) { startDrag(teeth, false); } on (release, releaseOutside) { stopDrag(); } } movieClip 1346 { frame 1 { eye.useHandCursor = false; eye2.useHandCursor = false; teeth.useHandCursor = false; no.useHandCursor = false; sh.useHandCursor = false; } frame 1 { secret.useHandCursor = false; } frame 1 { localcam = Camera.get(); darrencam.attachVideo(localcam); darrencam.smoothing = 10; } instance rectangle of movieClip 156 rectangle { onClipEvent (enterFrame) { mic = Microphone.get(); attachAudio(mic); mic.setUseEchoSuppression(true); _root.rectangle._xscale = mic.activityLevel; _root.activityPercent = mic.activityLevel + '%'; } } } button 1348 { on (release) { _visible = false; } on (release) { gotoAndStop(1); } } movieClip 1349 { frame 1 { stop(); } frame 2 { c.useHandCursor = false; f.useHandCursor = false; p.useHandCursor = false; p2.useHandCursor = false; min.useHandCursor = false; } } movieClip 1351 { } movieClip 1354 { } movieClip 1358 { } movieClip 1359 { } movieClip 1360 { frame 1 { a.useHandCursor = false; aa.useHandCursor = false; } } button 1366 { on (release) { _root.cal.gotoAndPlay(2); _root.cal._visible = true; _root.las.gotoAndStop(1); } } movieClip 1367 { frame 1 { stop(); } frame 2 { ye.useHandCursor = false; n.useHandCursor = false; d.useHandCursor = false; a.useHandCursor = false; } frame 3 { ye.useHandCursor = false; n.useHandCursor = false; d.useHandCursor = false; a.useHandCursor = false; } } movieClip 1369 { frame 1 { f.useHandCursor = false; } } movieClip 1375 { } // unknown tag 88 length 68 // unknown tag 88 length 66 // unknown tag 88 length 61 movieClip 1391 { } movieClip 1393 { } button 1403 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } } button 1404 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.flo.gotoAndPlay(2); } gotoAndPlay(1); } } movieClip 1405 { frame 1 { stop(); } frame 1 { fd.useHandCursor = false; } frame 2 { stop(); } frame 2 { fd.useHandCursor = false; } } button 1410 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } } button 1411 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.cdd.gotoAndPlay(2); } gotoAndPlay(1); } } movieClip 1412 { frame 1 { stop(); } frame 1 { cd.useHandCursor = false; } frame 2 { stop(); } frame 2 { cd.useHandCursor = false; } } movieClip 1414 { } button 1420 { on (release) { gotoAndStop(2); } } button 1422 { on (release) { gotoAndStop(1); } } button 1427 { on (release) { _root.mycomputer.gotoAndStop(3); gotoAndStop(1); } } button 1429 { on (release) { _root.mycomputer.gotoAndStop(4); gotoAndStop(1); } } button 1431 { on (release) { _root.mycomputer.gotoAndStop(5); gotoAndStop(1); } } button 1434 { on (release) { _root.mycomputer.gotoAndStop(6); gotoAndStop(1); } } button 1437 { on (release) { _root.mycomputer.gotoAndStop(2); gotoAndStop(1); } } movieClip 1438 { frame 1 { m.useHandCursor = false; } frame 1 { stop(); } frame 1 { secret.useHandCursor = false; } frame 2 { c.useHandCursor = false; d.useHandCursor = false; p.useHandCursor = false; o.useHandCursor = false; u.useHandCursor = false; m.useHandCursor = false; } frame 2 { stop(); } frame 2 { secret.useHandCursor = false; } } button 1440 { on (release) { _visible = false; } on (release) { gotoAndStop(1); } } button 1447 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } } button 1448 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.mycomputer.gotoAndStop(4); } gotoAndPlay(1); } } movieClip 1449 { frame 1 { stop(); u.useHandCursor = false; } frame 2 { stop(); u.useHandCursor = false; } } button 1453 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } } button 1454 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.mycomputer.gotoAndStop(7); } gotoAndPlay(1); } } movieClip 1455 { frame 1 { stop(); u.useHandCursor = false; } frame 2 { stop(); u.useHandCursor = false; } } button 1458 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } } button 1459 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.mycomputer.gotoAndStop(8); } gotoAndPlay(1); } } movieClip 1460 { frame 1 { stop(); u.useHandCursor = false; } frame 2 { stop(); u.useHandCursor = false; } } button 1464 { on (release) { lastclick = getTimer(); gotoAndPlay(2); } } button 1465 { on (release) { if (Number(getTimer() - lastclick) < 500) { _root.wma._visible = true; _root.wma.gotoAndPlay(2); } gotoAndPlay(1); } } movieClip 1466 { frame 1 { stop(); u.useHandCursor = false; } frame 2 { stop(); u.useHandCursor = false; } } button 1472 { on (release) { nextFrame(); } } button 1479 { on (release) { prevFrame(); } } movieClip 1491 { } movieClip 1501 { frame 1 { stop(); } frame 1 { b.useHandCursor = false; n.useHandCursor = false; } frame 2 { stop(); } frame 2 { b.useHandCursor = false; n.useHandCursor = false; } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 5 { b.useHandCursor = false; n.useHandCursor = false; } } button 1522 { on (release) { _root.application.gotoAndPlay(2); } } button 1532 { on (release) { _root.wallpaper.nextFrame(); } } button 1536 { on (release) { _root.cursors.nextFrame(); _root.cursors._visible = true; } } movieClip 1540 { } movieClip 1543 { } movieClip 1544 { frame 1 { this.ratio = 0; dragger.onPress = function () { this.startDrag(true, 0, 0, line._width, 0); this.onEnterFrame = function () { ratio = Math.round(this._x * 100 / line._width); }; }; dragger.onreleaseOutside = stopDrag; dragger.onRelease = dragger.onreleaseOutside; dragger.useHandCursor = false; } } button 1554 { on (release) { getURL('http://www.newgrounds.com/', '_blank'); } } button 1555 { on (release) { getURL('http://muhamed29.newgrounds.com/', '_blank'); } } button 1556 { on (release) { getURL('http://www.newgrounds.com/portal/view/413260', '_blank'); } } button 1557 { on (release) { getURL('http://www.newgrounds.com/portal/view/417524', '_blank'); } } button 1562 { on (release) { getURL('http://www.newgrounds.com/portal/view/418959', '_blank'); } } button 1563 { on (release) { getURL('http://www.newgrounds.com/portal/view/420293', '_blank'); } } button 1570 { on (release) { root.st.gotoAndStop(1); } } button 1571 { on (release) { gotoAndStop(1); } } button 1572 { on (release) { stop(); } } // unknown tag 88 length 79 movieClip 1708 { frame 1 { p.useHandCursor = false; s.useHandCursor = false; pa.useHandCursor = false; } } movieClip 1709 { frame 1 { p.useHandCursor = false; s.useHandCursor = false; pa.useHandCursor = false; } } movieClip 1711 { frame 1 { stop(); } frame 2 { min.useHandCursor = false; } frame 2 { f.useHandCursor = false; c.useHandCursor = false; fu.useHandCursor = false; fd.useHandCursor = false; cd.useHandCursor = false; } frame 2 { stop(); } frame 2 { fu1.useHandCursor = false; fu2.useHandCursor = false; fu.useHandCursor = false; } frame 3 { stop(); min.useHandCursor = false; } frame 3 { f.useHandCursor = false; c.useHandCursor = false; fu.useHandCursor = false; } frame 3 { stop(); } frame 3 { fu1.useHandCursor = false; fu2.useHandCursor = false; fu.useHandCursor = false; } frame 4 { stop(); min.useHandCursor = false; } frame 4 { f.useHandCursor = false; c.useHandCursor = false; fu.useHandCursor = false; } frame 4 { stop(); } frame 4 { fu1.useHandCursor = false; fu2.useHandCursor = false; fu.useHandCursor = false; } frame 5 { stop(); min.useHandCursor = false; } frame 5 { f.useHandCursor = false; c.useHandCursor = false; fu.useHandCursor = false; } frame 5 { stop(); } frame 5 { edit.useHandCursor = false; } frame 5 { fu1.useHandCursor = false; fu2.useHandCursor = false; fu.useHandCursor = false; } frame 6 { stop(); min.useHandCursor = false; } frame 6 { f.useHandCursor = false; c.useHandCursor = false; fu.useHandCursor = false; } frame 6 { stop(); } frame 6 { h.useHandCursor = false; curbut.useHandCursor = false; myDate = new Date(); } frame 6 { fu1.useHandCursor = false; fu2.useHandCursor = false; fu.useHandCursor = false; } frame 7 { stop(); min.useHandCursor = false; } frame 7 { f.useHandCursor = false; c.useHandCursor = false; fu.useHandCursor = false; } frame 7 { stop(); } frame 7 { fu1.useHandCursor = false; fu2.useHandCursor = false; fu.useHandCursor = false; } frame 8 { stop(); min.useHandCursor = false; } frame 8 { f.useHandCursor = false; c.useHandCursor = false; } frame 8 { stop(); } frame 8 { fu1.useHandCursor = false; fu2.useHandCursor = false; fu.useHandCursor = false; } } instance cursors of movieClip 151 cursors { onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; this.swapDepths(100000); } } button 1712 { on (release) { gotoAndStop(1); } } movieClip 1713 { frame 1 { stop(); } frame 2 { c.useHandCursor = false; } frame 7 { s.useHandCursor = false; } frame 7 { c.useHandCursor = false; } frame 7 { stop(); } } movieClip 1716 { } button 1717 { on (release) { gotoAndPlay(7); } } movieClip 1719 { frame 1 { stop(); } frame 2 { ye.useHandCursor = false; } frame 6 { a.useHandCursor = false; ye.useHandCursor = false; } frame 6 { stop(); } frame 7 { ye.useHandCursor = false; } frame 11 { gotoAndStop(1); ye.useHandCursor = false; } } movieClip 1722 { } button 1723 { on (release) { gotoAndPlay(7); } } movieClip 1724 { frame 1 { stop(); } frame 2 { ye.useHandCursor = false; } frame 6 { a.useHandCursor = false; ye.useHandCursor = false; } frame 6 { stop(); } frame 7 { ye.useHandCursor = false; } frame 10 { gotoAndStop(1); ye.useHandCursor = false; } } movieClip 1726 { frame 1 { f.useHandCursor = false; } } button 1731 { on (release) { getURL('http://muhamed29.newgrounds.com/', '_blank'); } } movieClip 1732 { } button 1733 { on (release) { _visible = false; } on (release) { gotoAndStop(1); } } button 1734 { on (release) { _visible = false; } on (release) { gotoAndPlay(8); } } movieClip 1735 { frame 1 { stop(); } frame 2 { c.useHandCursor = false; min.useHandCursor = false; } frame 7 { f.useHandCursor = false; c.useHandCursor = false; min.useHandCursor = false; } frame 7 { stop(); } frame 8 { c.useHandCursor = false; min.useHandCursor = false; } frame 12 { c.useHandCursor = false; min.useHandCursor = false; gotoAndStop(1); } frame 12 { gotoAndStop(1); } } frame 852 { removeMovieClip(wingame); removeMovieClip(ship); removeMovieClip(starfield); removeMovieClip(star); removeMovieClip(showlevel); removeMovieClip(poweruptrishot); removeMovieClip(poweruplevelup); removeMovieClip(newgame); removeMovieClip(mainscreen); removeMovieClip(losegame); removeMovieClip(lazerright); removeMovieClip(lazerleft); removeMovieClip(lazer); removeMovieClip(hitarea); removeMovieClip(enemyship4explosion); removeMovieClip(enemyship4); removeMovieClip(enemyship3explosion); removeMovieClip(enemyship3); removeMovieClip(enemyship2explosion); removeMovieClip(enemyship2); removeMovieClip(enemyship1explosion); removeMovieClip(enemyship1); removeMovieClip(enemylazer4); removeMovieClip(enemylazer3); removeMovieClip(enemylazer2); removeMovieClip(enemylazer1); removeMovieClip(enemyboulder2); removeMovieClip(enemyboulder1); removeMovieClip(enemybosslevel2); removeMovieClip(enemybosslevel1explosion); removeMovieClip(enemybosslevel1); removeMovieClip(sss); removeMovieClip(asssssss); } frame 855 { _root.createEmptyMovieClip('myLine', 0); _root.onMouseDown = function () { myLine.moveTo(_xmouse, _ymouse); _root.onMouseMove = function () { myLine.lineTo(_xmouse, _ymouse); }; }; _root.onMouseUp = function () { _root.onMouseMove = noLine; }; myLine.onEnterFrame = function (draww) { myLine.lineStyle(thickness, clr); }; clr = '0x000000'; thickness = 5; stop(); csc.useHandCursor = false; co.useHandCursor = false; co1.useHandCursor = false; co2.useHandCursor = false; co3.useHandCursor = false; co4.useHandCursor = false; co5.useHandCursor = false; co6.useHandCursor = false; co7.useHandCursor = false; co8.useHandCursor = false; dra.useHandCursor = false; stop(); c.useHandCursor = false; c1.useHandCursor = false; c2.useHandCursor = false; c3.useHandCursor = false; c4.useHandCursor = false; c5.useHandCursor = false; c6.useHandCursor = false; c7.useHandCursor = false; c8.useHandCursor = false; c9.useHandCursor = false; c10.useHandCursor = false; removeMovieClip(wingame); removeMovieClip(ship); removeMovieClip(starfield); removeMovieClip(star); removeMovieClip(showlevel); removeMovieClip(poweruptrishot); removeMovieClip(poweruplevelup); removeMovieClip(newgame); removeMovieClip(mainscreen); removeMovieClip(losegame); removeMovieClip(lazerright); removeMovieClip(lazerleft); removeMovieClip(lazer); removeMovieClip(hitarea); removeMovieClip(enemyship4explosion); removeMovieClip(enemyship4); removeMovieClip(enemyship3explosion); removeMovieClip(enemyship3); removeMovieClip(enemyship2explosion); removeMovieClip(enemyship2); removeMovieClip(enemyship1explosion); removeMovieClip(enemyship1); removeMovieClip(enemylazer4); removeMovieClip(enemylazer3); removeMovieClip(enemylazer2); removeMovieClip(enemylazer1); removeMovieClip(enemyboulder2); removeMovieClip(enemyboulder1); removeMovieClip(enemybosslevel2); removeMovieClip(enemybosslevel1explosion); removeMovieClip(enemybosslevel1); removeMovieClip(enemyboss2segment); removeMovieClip(enemyship3); printJob.useHandCursor = false; Mouse.show(); Mouse.show(); _root.removeMovieClip(cursors); _root.cursors._visible = false; removeMovieClip(mycomputer); } frame 855 { c.useHandCursor = false; } button 1736 { on (release) { nextFrame(); } } button 1737 { on (release) { prevFrame(); } } button 1744 { on (release) { gotoAndStop(1); } } movieClip 1745 { frame 1 { stop(); } frame 1 { b.useHandCursor = false; n.useHandCursor = false; } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 9 { b.useHandCursor = false; n.useHandCursor = false; } } button 1747 { on (press) { clr = '0x000000'; draww(); } } button 1749 { on (press) { clr = '0xFF0000'; draww(); } } button 1751 { on (press) { clr = '0x0000FF'; draww(); } } button 1753 { on (press) { clr = '0x00CC00'; draww(); } } button 1755 { on (press) { clr = '0xFFFF00'; draww(); } } button 1757 { on (press) { clr = '0xFF9900'; draww(); } } button 1759 { on (press) { clr = '0xcccc00'; draww(); } } button 1761 { on (press) { clr = '0x6633CC'; draww(); } } button 1763 { on (press) { clr = '0x996600'; draww(); } } button 1765 { on (press) { clr = '0xFFFFFF'; draww(); } } button 1767 { on (press) { clr = '0x999999'; draww(); } } button 1769 { on (press) { clr = '0x990000'; draww(); } } button 1771 { on (press) { clr = '0x00CCFF'; draww(); } } button 1773 { on (press) { clr = '0x009900'; draww(); } } button 1775 { on (press) { clr = '0xFFFF66'; draww(); } } button 1777 { on (press) { clr = '0xCCCCCC'; draww(); } } button 1779 { on (press) { clr = '0xFF6600'; draww(); } } button 1781 { on (press) { clr = '0x660099'; draww(); } } button 1783 { on (press) { clr = '0x663300'; draww(); } } button 1785 { on (press) { clr = '0xFFCC99'; draww(); } } button 1788 { on (release) { myLine.clear(); } } button 1793 { on (press) { thickness = 25; draww(); } } button 1797 { on (press) { thickness = 15; draww(); } } button 1801 { on (press) { thickness = 13; draww(); } } button 1805 { on (press) { thickness = 10; draww(); } } button 1809 { on (press) { thickness = 7; draww(); } } button 1813 { on (press) { thickness = 5; draww(); } } button 1814 { on (press) { thickness = 3; draww(); } } button 1815 { on (press) { thickness = 2; draww(); } } button 1816 { on (release) { gotoAndStop(851); } } button 1817 { on (release) { printJob = new PrintJob(); var rootFrame = _root._currentframe; if (printJob.start()) { printJob.addPage(_level0, {'xMin': 0, 'xMax': 1000, 'yMin': 0, 'yMax': 1000}); printJob.paperWidth = 725; printJob.paperHeight = 600; printJob.send(); } else { trace('print start failed'); } } } frame 856 { Mouse.show(); Mouse.show(); _root.removeMovieClip(cursors); _root.cursors._visible = false; removeMovieClip(mycomputer); } frame 856 { removeMovieClip(sss); removeMovieClip(asssssss); } movieClip 1821 { } frame 1100 { stop(); } button 1826 { on (release) { gotoAndStop(1102); } } button 1831 { on (release) { nextFrame(); } } frame 1101 { c.useHandCursor = false; } movieClip 1839 { } button 1849 { on (release) { gotoAndPlay(2); } } movieClip 1851 { frame 8 { stop(); } } movieClip 1852 { frame 1 { stop(); } frame 3 { stop(); } frame 5 { stop(); } frame 7 { stop(); } frame 9 { stop(); } frame 11 { stop(); } } movieClip 1854 { } movieClip 1858 { } movieClip 1861 { frame 1 { stop(); } frame 4 { gotoAndStop(1); } frame 5 { tellTarget ('_parent') { gotoAndStop(5); } } } movieClip 1863 { } movieClip 1865 { } movieClip 1871 { } // unknown tag 88 length 214 button 1882 { on (release) { gotoAndStop(1); } } movieClip 1883 { frame 1 { Mouse.show(); stop(); } frame 2 { _root.numx = 12; _root.numy = 6; _root.score = 0; _root.hit = 5; } frame 3 { if (_root.player.score == 4) { gotoAndStop('wind'); } } instance of movieClip 1858 { onClipEvent (enterFrame) { if (this.hitTest(_parent.ball)) { _root.numy = 12; _root.go = 1; } } } instance of movieClip 1858 { onClipEvent (enterFrame) { if (this.hitTest(_parent.ball)) { _root.numx = -random(10); _root.go = 1; } } } instance of movieClip 1858 { onClipEvent (enterFrame) { if (this.hitTest(_parent.ball)) { _root.numx = random(10); _root.go = 1; } } } instance of movieClip 1861 { onClipEvent (enterFrame) { if (this.hitTest(_parent.ball)) { --_root.hit; _root.go = 2; _parent.life.play(); _root.numy = -12; gotoAndPlay(2); } if (_root.hit == 0) { gotoAndStop(5); } } } instance bat of movieClip 1863 { onClipEvent (load) { startDrag('', true, -67, 120, 25, 120); } onClipEvent (enterFrame) { if (this.hitTest(_parent.ball) && _root.go == 1) { _root.numy = -12; ++_root.score; } } } instance ball of movieClip 1865 { onClipEvent (enterFrame) { eval(this)._x = (eval(this))._x + _root.numx; eval(this)._y = (eval(this))._y + _root.numy; } } frame 4 { gotoAndPlay(3); } frame 5 { Mouse.show(); _root.prevscore = _root.score; if (_root.prevscore > _root.highscore) { _root.highscore = _root.prevscore; } stop(); } } frame 1102 { c.useHandCursor = false; s.useHandCursor = false; removeMovieClip(sss); removeMovieClip(asssssss); Mouse.show(); Mouse.show(); _root.removeMovieClip(cursors); _root.cursors._visible = false; } frame 1102 { stop(); } // unknown tag 88 length 99 button 1888 { on (release) { _global.cpuspeed = 3; _global.playerspeed = 15; gotoAndStop('play'); } } button 1891 { on (release) { _global.cpuspeed = 5; _global.playerspeed = 10; gotoAndStop('play'); } } button 1894 { on (release) { _global.cpuspeed = 8; _global.playerspeed = 20; gotoAndStop('play'); } } frame 1103 { removeMovieClip(sss); removeMovieClip(asssssss); } frame 1103 { function lose() { ++_root.cpu.score; _root.cputxt = 'CPU: ' + _root.cpu.score; if (_root.cpu.score == 25) { gotoAndStop('lose'); } reset(); } function win() { ++_root.player.score; _root.playertxt = 'Player: ' + _root.player.score; if (_root.player.score == 25) { gotoAndStop('win'); } reset(); } function reset() { _root.ball._x = 362; _root.ball._y = 300; _root.ball.xspeed = 0; } function timer() { ++_root.timesec; secs = _root.timesec % 60; mins = _root.timesec; mins -= secs; mins /= 60; if (isNaN(mins)) { mins = 0; } if (length(mins) == 1) { mins = '0' + mins; } if (length(secs) == 1) { secs = '0' + secs; } _root.timetxt = mins + ':' + secs; } stop(); beep = new Sound(); beep.attachSound('Sound'); _root.ball.yspeed = 8; _root.ball.xspeed = 8; _root.cpu.score = 0; _root.player.score = 0; _root.cpu.speed = _global.cpuspeed; _root.timesec = 0; reset(); timerint = setInterval(timer, 1000); } instance ball of movieClip 1865 { onClipEvent (enterFrame) { this._y += this.yspeed; this._x += this.xspeed; if (this._x > 725 || this._x < 0) { this.xspeed *= -1; } if (this.hitTest(_root.player)) { ang = (this._x - _root.player._x) / 10; this.xspeed += ang; this.yspeed *= -1; _root.beep.start(); } if (this.hitTest(_root.cpu)) { ang = (this._x - _root.cpu._x) / 10; this.xspeed += ang; this.yspeed *= -1; _root.beep.start(); } if (this._y > 600) { _root.lose(); } if (this._y < 28) { _root.win(); } } } movieClip 1898 { } instance player of movieClip 1898 { onClipEvent (enterFrame) { if (Key.isDown(37) && this._x > 28) { this._x -= 5; } if (Key.isDown(39) && this._x < 725) { this._x += 5; } } } instance cpu of movieClip 1898 { onClipEvent (enterFrame) { if (this._x > _root.ball._x) { this._x -= speed; } if (this._x < _root.ball._x) { this._x += speed; } } } // unknown tag 88 length 130 // unknown tag 88 length 130 frame 1104 { clearInterval(timerint); _root.cpu.score = 0; _root.player.score = 0; _root.playertxt = 'Player: 0'; _root.cputxt = 'CPU: 0'; PA.useHandCursor = false; stop(); } button 1912 { on (release) { gotoAndStop(1102); } } // unknown tag 88 length 120 frame 1105 { clearInterval(timerint); _root.cpu.score = 0; _root.player.score = 0; _root.playertxt = 'Player: 0'; _root.cputxt = 'CPU: 0'; PA.useHandCursor = false; stop(); } frame 1106 { Mouse.show(); removeMovieClip(cursors); _root.cursors._visible = false; removeMovieClip(sss); removeMovieClip(mycomputer); } frame 1275 { stop(); removeMovieClip(wingame); removeMovieClip(ship); removeMovieClip(starfield); removeMovieClip(star); removeMovieClip(showlevel); removeMovieClip(poweruptrishot); removeMovieClip(poweruplevelup); removeMovieClip(newgame); removeMovieClip(mainscreen); removeMovieClip(losegame); removeMovieClip(lazerright); removeMovieClip(lazerleft); removeMovieClip(lazer); removeMovieClip(hitarea); removeMovieClip(enemyship4explosion); removeMovieClip(enemyship4); removeMovieClip(enemyship3explosion); removeMovieClip(enemyship3); removeMovieClip(enemyship2explosion); removeMovieClip(enemyship2); removeMovieClip(enemyship1explosion); removeMovieClip(enemyship1); removeMovieClip(enemylazer4); removeMovieClip(enemylazer3); removeMovieClip(enemylazer2); removeMovieClip(enemylazer1); removeMovieClip(enemyboulder2); removeMovieClip(enemyboulder1); removeMovieClip(enemybosslevel2); removeMovieClip(enemybosslevel1explosion); removeMovieClip(enemybosslevel1); removeMovieClip(enemyboss2segment); removeMovieClip(enemyship3); printJob.useHandCursor = false; Mouse.show(); Mouse.show(); _root.removeMovieClip(cursors); _root.cursors._visible = false; } // unknown tag 88 length 79 button 1966 { on (release, keyPress '<Enter>') { gotoAndPlay(2); } } frame 1276 { function dpweb() { getURL('about_blank', '_blank'); } function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = 'http://' + mbc + '/my/core.swf?mv=7&fv=' + fv + '&v=' + escape(/:$version) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } my_sp.contentPath = 'nglol'; searchType = 'Title'; playing = false; loop = false; pos = 0; track = random(5) + 1; load = true; SO = SharedObject.getLocal('NG_box'); if (SO.data.aStart == undefined) { SO.data.aStart = '1st'; SO.data.aEnd = 'next'; SO.data.vis = true; } __com_mochibot__('b053a5d7', this, 10301, true); stop(); c.useHandCursor = false; csc.useHandCursor = false; co.useHandCursor = false; co1.useHandCursor = false; co2.useHandCursor = false; co3.useHandCursor = false; co4.useHandCursor = false; co5.useHandCursor = false; co6.useHandCursor = false; co7.useHandCursor = false; co8.useHandCursor = false; dra.useHandCursor = false; stop(); c.useHandCursor = false; c1.useHandCursor = false; c2.useHandCursor = false; c3.useHandCursor = false; c4.useHandCursor = false; c5.useHandCursor = false; c6.useHandCursor = false; c7.useHandCursor = false; c8.useHandCursor = false; c9.useHandCursor = false; c10.useHandCursor = false; removeMovieClip(wingame); removeMovieClip(ship); removeMovieClip(starfield); removeMovieClip(star); removeMovieClip(showlevel); removeMovieClip(poweruptrishot); removeMovieClip(poweruplevelup); removeMovieClip(newgame); removeMovieClip(mainscreen); removeMovieClip(losegame); removeMovieClip(lazerright); removeMovieClip(lazerleft); removeMovieClip(lazer); removeMovieClip(hitarea); removeMovieClip(enemyship4explosion); removeMovieClip(enemyship4); removeMovieClip(enemyship3explosion); removeMovieClip(enemyship3); removeMovieClip(enemyship2explosion); removeMovieClip(enemyship2); removeMovieClip(enemyship1explosion); removeMovieClip(enemyship1); removeMovieClip(enemylazer4); removeMovieClip(enemylazer3); removeMovieClip(enemylazer2); removeMovieClip(enemylazer1); removeMovieClip(enemyboulder2); removeMovieClip(enemyboulder1); removeMovieClip(enemybosslevel2); removeMovieClip(enemybosslevel1explosion); removeMovieClip(enemybosslevel1); removeMovieClip(enemyboss2segment); removeMovieClip(enemyship3); printJob.useHandCursor = false; Mouse.show(); Mouse.show(); _root.removeMovieClip(cursors); _root.cursors._visible = false; removeMovieClip(mycomputer); removeMovieClip(sss); } movieClip 1971 { } button 1972 { on (release, keyPress '<Enter>') { getURL('http://www.newgrounds.com/portal/search/' + _root.searchType.toLowerCase() + '/' + searchString.text, '_blank'); } } movieClip 1979 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 1982 { frame 1 { stop(); } instance a of movieClip 1979 { onClipEvent (enterFrame) { gotoAndStop(this.hitTest(_root._xmouse, _root._ymouse) ? 2 : 1); } onClipEvent (press) { _root.searchType = 'Author'; _parent.gotoAndStop(1); } onClipEvent (load) { t = 'Author'; } } instance t of movieClip 1979 { onClipEvent (enterFrame) { gotoAndStop(this.hitTest(_root._xmouse, _root._ymouse) ? 2 : 1); } onClipEvent (press) { _root.searchType = 'Title'; _parent.gotoAndStop(1); } onClipEvent (load) { t = 'Title'; } } } movieClip 1983 { instance search of movieClip 1982 { onClipEvent (press) { gotoAndStop(2); } onClipEvent (load) { onMouseDown = function () { if (!t.hitTest(_root._xmouse, _root._ymouse) && !a.hitTest(_root._xmouse, _root._ymouse)) { gotoAndStop(1); } }; onMouseUp = function () { if (t.hitTest(_root._xmouse, _root._ymouse)) { _root.searchType = 'Title'; gotoAndStop(1); } if (a.hitTest(_root._xmouse, _root._ymouse)) { _root.searchType = 'Author'; gotoAndStop(1); } }; } } } movieClip 1987 View { #initclip Object.registerClass('View', mx.core.View); #endinitclip frame 1 { stop(); } } movieClip 1988 ScrollView { #initclip Object.registerClass('ScrollView', mx.core.ScrollView); #endinitclip frame 1 { stop(); } instance of movieClip 304 HScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 303 VScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 1989 ScrollPane { #initclip Object.registerClass('ScrollPane', mx.containers.ScrollPane); #endinitclip frame 1 { stop(); } } instance my_sp of movieClip 1989 ScrollPane { onClipEvent (construct) { contentPath = ''; hLineScrollSize = 5; hPageScrollSize = 20; hScrollPolicy = 'off'; scrollDrag = false; vLineScrollSize = 5; vPageScrollSize = 20; vScrollPolicy = 'auto'; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } button 1994 { on (release) { getURL('http://www.newgrounds.com/portal/', '_blank'); } } button 1995 { on (release) { getURL('http://www.newgrounds.com/game/', '_blank'); } } button 1996 { on (release) { getURL('http://www.newgrounds.com/toon/', '_blank'); } } button 1997 { on (release) { getURL('http://www.newgrounds.com/collection/', '_blank'); } } button 1998 { on (release) { getURL('http://www.newgrounds.com/collection/series', '_blank'); } } button 1999 { on (release) { getURL('http://www.newgrounds.com/bbs/', '_blank'); } } button 2000 { on (release) { getURL('http://www.newgrounds.com/audio/', '_blank'); } } movieClip 2001 { } movieClip 2003 { }




http://swfchan.com/14/66178/info.shtml
Created: 12/4 -2019 05:01:52 Last modified: 12/4 -2019 05:01:52 Server time: 12/05 -2024 12:19:40