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

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

bear_market.swf

This is the info page for
Flash #1826

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


Text
Dow

00.00

+0.00

www.weebls-stuff.com

%

loading...

Weebl's Stuff Ltd Financial Division

lo

ActionScript [AS1/AS2]

Frame 1
amount = 1; amount2 = 1;
Frame 2
var total = _root.getBytesTotal(); var loaded = _root.getBytesLoaded(); var perc = ((loaded / total) * 100); percent = Math.round(perc) + "%"; setProperty("progress", _xscale , perc); if (loaded == total) { percent = "complete"; gotoAndPlay ("Done"); } _root.spinnermov._rotation = amount; amount = amount + perc; _root.spinnermov2._rotation = amount2; amount2 = amount2 - perc;
Frame 3
gotoAndPlay ("Nope");
Frame 12
timer = 0; stop();
Instance of Symbol 35 MovieClip [StockTicker] in Frame 12
//component parameters onClipEvent (construct) { alwaysUseFontStyles = true; border = false; changeColor_down = 14483456 /* 0xDD0000 */; changeColor_up = 6750003 /* 0x66FF33 */; direction = "horizontal"; embed_Fonts = false; font_Color = 16777215 /* 0xFFFFFF */; font_Family = "Arial"; font_Size = 20; font_Weight = "bold"; pauseOnClick = true; quoteDisplay = ""; roundDecimals = false; scrollSpeed = 1; separationDistance = 4; separator = " "; showChangeColors = true; symbols = []; symbols[0] = "BKC"; symbols[1] = "GOOG"; symbols[2] = "WEE"; symbols[3] = "KO"; symbols[4] = "PEP"; symbols[5] = "TWX"; symbols[6] = "^DJI"; symbols[7] = "^IXIC"; symbols[8] = "^GSPC"; symbols[9] = "QQQQ"; symbols[10] = "MSFT"; symbols[11] = "POO"; symbols[12] = "ADBE"; updateInterval = 30; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 20 MovieClip [Defaults] Frame 1
#initclip 63 Object.registerClass("Defaults", mx.skins.halo.Defaults); #endinitclip
Symbol 21 MovieClip [UIObjectExtensions] Frame 1
#initclip 64 Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions); #endinitclip
Symbol 22 MovieClip [UIObject] Frame 1
#initclip 65 Object.registerClass("UIObject", mx.core.UIObject); #endinitclip stop();
Symbol 25 Button
on (keyPress "<Tab>") { this.tabHandler(); }
Symbol 26 MovieClip Frame 1
#initclip 66 Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } #endinitclip
Symbol 27 MovieClip [FocusRect] Frame 1
#initclip 67 Object.registerClass("FocusRect", mx.skins.halo.FocusRect); #endinitclip
Symbol 28 MovieClip [FocusManager] Frame 1
#initclip 68 Object.registerClass("FocusManager", mx.managers.FocusManager); #endinitclip stop();
Symbol 29 MovieClip [UIComponentExtensions] Frame 1
#initclip 69 Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions); #endinitclip
Symbol 30 MovieClip [UIComponent] Frame 1
#initclip 70 Object.registerClass("UIComponent", mx.core.UIComponent); #endinitclip stop();
Symbol 34 MovieClip [WebServiceConnector] Frame 1
#initclip 71 Object.registerClass("WebServiceConnector", mx.data.components.WebServiceConnector); #endinitclip preview._visible = false; stop();
Symbol 35 MovieClip [StockTicker] Frame 1
#initclip 72 Object.registerClass("StockTicker", flextnet.components.StockTicker); #endinitclip stop();
Instance of Symbol 34 MovieClip [WebServiceConnector] in Symbol 35 MovieClip [StockTicker] Frame 2
//component parameters onClipEvent (construct) { WSDLURL = ""; operation = ""; multipleSimultaneousAllowed = true; suppressInvalidCalls = false; }
Symbol 1 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip { var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled; function UIObject () { super(); constructObject(); } function get width() { return(_width); } function get height() { return(_height); } function get left() { return(_x); } function get x() { return(_x); } function get top() { return(_y); } function get y() { return(_y); } function get right() { return(_parent.width - (_x + width)); } function get bottom() { return(_parent.height - (_y + height)); } function getMinHeight(Void) { return(_minHeight); } function setMinHeight(h) { _minHeight = h; } function get minHeight() { return(getMinHeight()); } function set minHeight(h) { setMinHeight(h); //return(minHeight); } function getMinWidth(Void) { return(_minWidth); } function setMinWidth(w) { _minWidth = w; } function get minWidth() { return(getMinWidth()); } function set minWidth(w) { setMinWidth(w); //return(minWidth); } function setVisible(x, noEvent) { if (x != _visible) { _visible = x; if (noEvent != true) { dispatchEvent({type:(x ? "reveal" : "hide")}); } } } function get visible() { return(_visible); } function set visible(x) { setVisible(x, false); //return(visible); } function get scaleX() { return(_xscale); } function set scaleX(x) { _xscale = x; //return(scaleX); } function get scaleY() { return(_yscale); } function set scaleY(y) { _yscale = y; //return(scaleY); } function doLater(obj, fn) { if (methodTable == undefined) { methodTable = new Array(); } methodTable.push({obj:obj, fn:fn}); onEnterFrame = doLaterDispatcher; } function doLaterDispatcher(Void) { delete onEnterFrame; if (invalidateFlag) { redraw(); } var _local3 = methodTable; methodTable = new Array(); if (_local3.length > 0) { var _local2; while (_local2 = _local3.shift() , _local2 != undefined) { _local2.obj[_local2.fn](); } } } function cancelAllDoLaters(Void) { delete onEnterFrame; methodTable = new Array(); } function invalidate(Void) { invalidateFlag = true; onEnterFrame = doLaterDispatcher; } function invalidateStyle(Void) { invalidate(); } function redraw(bAlways) { if (invalidateFlag || (bAlways)) { invalidateFlag = false; var _local2; for (_local2 in tfList) { tfList[_local2].draw(); } draw(); dispatchEvent({type:"draw"}); } } function draw(Void) { } function move(x, y, noEvent) { var _local3 = _x; var _local2 = _y; _x = x; _y = y; if (noEvent != true) { dispatchEvent({type:"move", oldX:_local3, oldY:_local2}); } } function setSize(w, h, noEvent) { var _local3 = __width; var _local2 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2}); } } function size(Void) { _width = __width; _height = __height; } function drawRect(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } function createLabel(name, depth, text) { createTextField(name, depth, 0, 0, 0, 0); var _local2 = this[name]; _local2._color = textColorList; _local2._visible = false; _local2.__text = text; if (tfList == undefined) { tfList = new Object(); } tfList[name] = _local2; _local2.invalidateStyle(); invalidate(); _local2.styleName = this; return(_local2); } function createObject(linkageName, id, depth, initobj) { return(attachMovie(linkageName, id, depth, initobj)); } function createClassObject(className, id, depth, initobj) { var _local3 = className.symbolName == undefined; if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className); } var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj)); if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return(_local4); } function createEmptyObject(id, depth) { return(createClassObject(mx.core.UIObject, id, depth)); } function destroyObject(id) { var _local2 = this[id]; if (_local2.getDepth() < 0) { var _local4 = buildDepthTable(); var _local5 = findNextAvailableDepth(0, _local4, "up"); var _local3 = _local5; _local2.swapDepths(_local3); } _local2.removeMovieClip(); delete this[id]; } function getSkinIDName(tag) { return(idNames[tag]); } function setSkin(tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return(createObject(linkageName, getSkinIDName(tag), tag, initObj)); } function createSkin(tag) { var _local2 = getSkinIDName(tag); createEmptyObject(_local2, tag); return(this[_local2]); } function createChildren(Void) { } function _createChildren(Void) { createChildren(); childrenCreated = true; } function constructObject(Void) { if (_name == undefined) { return(undefined); } init(); _createChildren(); createAccessibilityImplementation(); _endInit(); if (validateNow) { redraw(true); } else { invalidate(); } } function initFromClipParameters(Void) { var _local4 = false; var _local2; for (_local2 in clipParameters) { if (hasOwnProperty(_local2)) { _local4 = true; this["def_" + _local2] = this[_local2]; delete this[_local2]; } } if (_local4) { for (_local2 in clipParameters) { var _local3 = this["def_" + _local2]; if (_local3 != undefined) { this[_local2] = _local3; } } } } function init(Void) { __width = _width; __height = _height; if (initProperties == undefined) { initFromClipParameters(); } else { initProperties(); } if (_global.cascadingStyles == true) { stylecache = new Object(); } } function getClassStyleDeclaration(Void) { var _local4 = this; var _local3 = className; while (_local3 != undefined) { if (ignoreClassStyleDeclaration[_local3] == undefined) { if (_global.styles[_local3] != undefined) { return(_global.styles[_local3]); } } _local4 = _local4.__proto__; _local3 = _local4.className; } } function setColor(color) { } function __getTextFormat(tf, bAll) { var _local8 = stylecache.tf; if (_local8 != undefined) { var _local3; for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { tf[_local3] = _local8[_local3]; } } } return(false); } var _local6 = false; for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { var _local5 = _tf[_local3]; if (_local5 != undefined) { tf[_local3] = _local5; } else if ((_local3 == "font") && (fontFamily != undefined)) { tf[_local3] = fontFamily; } else if ((_local3 == "size") && (fontSize != undefined)) { tf[_local3] = fontSize; } else if ((_local3 == "color") && (color != undefined)) { tf[_local3] = color; } else if ((_local3 == "leftMargin") && (marginLeft != undefined)) { tf[_local3] = marginLeft; } else if ((_local3 == "rightMargin") && (marginRight != undefined)) { tf[_local3] = marginRight; } else if ((_local3 == "italic") && (fontStyle != undefined)) { tf[_local3] = fontStyle == _local3; } else if ((_local3 == "bold") && (fontWeight != undefined)) { tf[_local3] = fontWeight == _local3; } else if ((_local3 == "align") && (textAlign != undefined)) { tf[_local3] = textAlign; } else if ((_local3 == "indent") && (textIndent != undefined)) { tf[_local3] = textIndent; } else if ((_local3 == "underline") && (textDecoration != undefined)) { tf[_local3] = textDecoration == _local3; } else if ((_local3 == "embedFonts") && (embedFonts != undefined)) { tf[_local3] = embedFonts; } else { _local6 = true; } } } } if (_local6) { var _local9 = styleName; if (_local9 != undefined) { if (typeof(_local9) != "string") { _local6 = _local9.__getTextFormat(tf, true, this); } else if (_global.styles[_local9] != undefined) { _local6 = _global.styles[_local9].__getTextFormat(tf, true, this); } } } if (_local6) { var _local10 = getClassStyleDeclaration(); if (_local10 != undefined) { _local6 = _local10.__getTextFormat(tf, true, this); } } if (_local6) { if (_global.cascadingStyles) { if (_parent != undefined) { _local6 = _parent.__getTextFormat(tf, false); } } } if (_local6) { _local6 = _global.style.__getTextFormat(tf, true, this); } return(_local6); } function _getTextFormat(Void) { var _local2 = stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); __getTextFormat(_local2, true); stylecache.tf = _local2; if (enabled == false) { var _local3 = getStyle("disabledColor"); _local2.color = _local3; } return(_local2); } function getStyleName(Void) { var _local2 = styleName; if (_local2 != undefined) { if (typeof(_local2) != "string") { return(_local2.getStyleName()); } return(_local2); } if (_parent != undefined) { return(_parent.getStyleName()); } return(undefined); } function getStyle(styleProp) { var _local3; _global.getStyleCounter++; if (this[styleProp] != undefined) { return(this[styleProp]); } var _local6 = styleName; if (_local6 != undefined) { if (typeof(_local6) != "string") { _local3 = _local6.getStyle(styleProp); } else { var _local7 = _global.styles[_local6]; _local3 = _local7.getStyle(styleProp); } } if (_local3 != undefined) { return(_local3); } var _local7 = getClassStyleDeclaration(); if (_local7 != undefined) { _local3 = _local7[styleProp]; } if (_local3 != undefined) { return(_local3); } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) { var _local5 = stylecache; if (_local5 != undefined) { if (_local5[styleProp] != undefined) { return(_local5[styleProp]); } } if (_parent != undefined) { _local3 = _parent.getStyle(styleProp); } else { _local3 = _global.style[styleProp]; } if (_local5 != undefined) { _local5[styleProp] = _local3; } return(_local3); } } if (_local3 == undefined) { _local3 = _global.style[styleProp]; } return(_local3); } static function mergeClipParameters(o, p) { for (var _local3 in p) { o[_local3] = p[_local3]; } return(true); } static var symbolName = "UIObject"; static var symbolOwner = mx.core.UIObject; static var version = "2.0.2.126"; static var textColorList = {color:1, disabledColor:1}; var invalidateFlag = false; var lineWidth = 1; var lineColor = 0; var tabEnabled = false; var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1}; }
Symbol 2 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject { var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled; function UIComponent () { super(); } function get width() { return(__width); } function get height() { return(__height); } function setVisible(x, noEvent) { super.setVisible(x, noEvent); } function enabledChanged(id, oldValue, newValue) { setEnabled(newValue); invalidate(); delete stylecache.tf; return(newValue); } function setEnabled(enabled) { invalidate(); } function getFocus() { var selFocus = Selection.getFocus(); return(((selFocus === null) ? null : (eval (selFocus)))); } function setFocus() { Selection.setFocus(this); } function getFocusManager() { var _local2 = this; while (_local2 != undefined) { if (_local2.focusManager != undefined) { return(_local2.focusManager); } _local2 = _local2._parent; } return(undefined); } function onKillFocus(newFocus) { removeEventListener("keyDown", this); removeEventListener("keyUp", this); dispatchEvent({type:"focusOut"}); drawFocus(false); } function onSetFocus(oldFocus) { addEventListener("keyDown", this); addEventListener("keyUp", this); dispatchEvent({type:"focusIn"}); if (getFocusManager().bDrawFocus != false) { drawFocus(true); } } function findFocusInChildren(o) { if (o.focusTextField != undefined) { return(o.focusTextField); } if (o.tabEnabled == true) { return(o); } return(undefined); } function findFocusFromObject(o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return(undefined); } if (o._parent.tabEnabled == true) { o = o._parent; } else if (o._parent.tabChildren) { o = findFocusInChildren(o._parent); } else { o = findFocusFromObject(o._parent); } } return(o); } function pressFocus() { var _local3 = findFocusFromObject(this); var _local2 = getFocus(); if (_local3 != _local2) { _local2.drawFocus(false); if (getFocusManager().bDrawFocus != false) { _local3.drawFocus(true); } } } function releaseFocus() { var _local2 = findFocusFromObject(this); if (_local2 != getFocus()) { _local2.setFocus(); } } function isParent(o) { while (o != undefined) { if (o == this) { return(true); } o = o._parent; } return(false); } function size() { } function init() { super.init(); _xscale = 100; _yscale = 100; _focusrect = _global.useFocusRect == false; watch("enabled", enabledChanged); if (enabled == false) { setEnabled(false); } } function dispatchValueChangedEvent(value) { dispatchEvent({type:"valueChanged", value:value}); } static var symbolName = "UIComponent"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.126"; static var kStretch = 5000; var focusEnabled = true; var tabEnabled = true; var origBorderStyles = {themeColor:16711680}; var clipParameters = {}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); }
Symbol 3 MovieClip [__Packages.flextnet.components.StockTicker] Frame 0
class flextnet.components.StockTicker extends mx.core.UIComponent { var symbolTransOut, primaryConn, backupConn, conn, boundingBox_mc, __symbols, onMouseDown, tfChange, border_mc, createObject, container, createEmptyMovieClip, _parent, mask, setMask, startTimeMs, displayText, symbolToTf, fieldSort, __quoteDisplay, tfList, __separator, invalidate, __get__width, __get__height, dispatchEvent, setStyle, getStyle; function StockTicker () { super(); symbolTransOut = new Object(); symbolTransOut["^DJI"] = {display_name:"Dow"}; symbolTransOut["^IXIC"] = {display_name:"Nasdaq"}; symbolTransOut["^GSPC"] = {display_name:"S&P500"}; symbolTransOut["^NYA"] = {display_name:"NYSE"}; } function createQuoteRetriever() { if (primaryConn == undefined) { System.security.loadPolicyFile("http://www.newpixel.com/services/crossdomain.xml"); primaryConn = new flextnet.utility.StockQuoteRetriever(PRIMARY_WSDL); primaryConn.addEventListener("stockUpdate", this); backupConn = new flextnet.utility.StockQuoteRetriever(SECONDARY_WSDL); backupConn.addEventListener("stockUpdate", this); conn = primaryConn; } } function init() { super.init(); boundingBox_mc._visible = false; boundingBox_mc._width = 0; boundingBox_mc._height = 0; createQuoteRetriever(); removeDupeSymbols(); conn.__set__symbolList(__symbols); onMouseDown = function () { if ((((this.__pauseOnClick && (this._xmouse > 0)) && (this._xmouse < this.width)) && (this._ymouse > 0)) && (this._ymouse < this.height)) { if (this.paused) { this.playTicker(); } else { this.pauseTicker(); } } }; } function createChildren() { createTextBoxes(); tfChange = new TextFormat(); border_mc = createObject("borderBox", "b", 256, {_x:0, _y:0}); border_mc._visible = __border; container = createEmptyMovieClip("cnter", 258); container.cmp = this; container.onEnterFrame = function () { this.cmp.updateScene(); }; if (_parent != _root.contents) { mask = createObject("maskRct", "m", 257, {_x:0, _y:0}); setMask(mask); } size(); startTimeMs = -1; } function createTextBoxes() { var _local3 = 0; while (_local3 < displayText.length) { displayText[_local3].removeMovieClip(); this["s" + _local3].removeMovieClip(); _local3++; } displayText = new Array(); symbolToTf = new Object(); fieldSort = new Array(); var _local8 = (__quoteDisplay != "") && (__quoteDisplay != undefined); var _local13 = (_local8 ? (__quoteDisplay) : "stockInfoDefault_mc"); var _local5 = createObject(_local13, "dum" + _local3, 0); for (var _local11 in _local5) { var _local7 = false; var _local6 = 0; while (_local6 < fieldSort.length) { if (_local5[_local11]._x < _local5[fieldSort[_local6].tfProp]._x) { fieldSort.splice(_local6, 0, {tfProp:_local11}); _local7 = true; break; } _local6++; } if (!_local7) { fieldSort.push({tfProp:_local11}); } } var _local6 = 1; while (_local6 < fieldSort.length) { fieldSort[_local6].dist = _local5[fieldSort[_local6].tfProp]._x - (_local5[fieldSort[_local6 - 1].tfProp]._x + _local5[fieldSort[_local6 - 1].tfProp]._width); _local6++; } _local5.removeMovieClip(); var _local9 = 0; _local3 = 0; while (_local3 < symbols.length) { var _local2 = createObject(_local13, "infoDisp" + _local3, _local9++); for (var _local11 in _local2) { if (_local2[_local11] instanceof TextField) { var _local4 = _local2[_local11].getTextFormat(); _local2[_local11].autoSize = (((_local4.align == "right") || (_local4.align == "center")) ? (_local4.align) : "left"); _local2[_local11].selectable = false; if ((!_local8) || (__alwaysUseFontStyles)) { if (tfList == undefined) { tfList = new Object(); } tfList[(("d" + _local3) + "_") + _local11] = _local2[_local11]; _local2.invalidateStyle = function () { this._parent.invalidateStyle(); }; _local2[_local11]._color = mx.core.UIObject.textColorList; _local2[_local11].invalidateStyle(); _local2[_local11].styleName = this; } } } displayText.push(_local2); symbolToTf[__symbols[_local3]] = _local2; _local2.Link_btn.enabled = false; if (symbolTransOut[__symbols[_local3]].link_url != undefined) { updateLinkInfo(__symbols[_local3]); } if ((__separator != "") && (__separator != undefined)) { var _local12 = createObject(__separator, "s" + _local3, _local9++); } _local3++; } leadBox = ((__scrollSpeed >= 0) ? 0 : (displayText.length - 1)); positionText(); invalidate(); } function updateScene() { if (paused) { return(undefined); } var _local2 = getTimer(); if ((startTimeMs == -1) || ((_local2 - startTimeMs) > (__updateInterval * 1000))) { var _local3 = dataTries == retries; if ((--dataTries) <= 0) { if ((primaryConn != undefined) && (backupConn != undefined)) { conn = ((conn == primaryConn) ? (backupConn) : (primaryConn)); trace("StockTicker-> switched to alternate service."); } conn.__set__symbolList(__symbols); dataTries = retries; _local3 = true; } if (_local3) { conn.retrieve(); startTimeMs = _local2; } } positionText(); } function draw() { super.draw(); var _local4 = 0; while (_local4 < displayText.length) { var _local3 = displayText[_local4]; for (var _local5 in _local3) { if (_local3[_local5] instanceof TextField) { _local3[_local5].draw(); } } _local4++; } updateTextFields(); positionText(); } function size() { super.size(); var _local4 = __get__width(); var _local3 = __get__height(); mask._width = __get__width() - 1; mask._height = __get__height() - 1; border_mc._width = ((mask != undefined) ? (mask._width - 0.5) : (__get__width() - 0.5)); border_mc._height = ((mask != undefined) ? (mask._height - 0.5) : (__get__height() - 0.5)); invalidate(); } function getStockInfo(symbol) { return(conn.retrieveStockInfo(symbol)); } function getStockTextDisplay(symbol) { return(symbolToTf[symbol]); } function getSymbolProperties(symbol) { var _local3 = new Object(); for (var _local4 in symbolTransOut[symbol]) { _local3[_local4] = symbolTransOut[symbol][_local4]; } return(_local3); } function setSymbolProperties(symbol, props) { if (symbolTransOut[symbol] == undefined) { symbolTransOut[symbol] = new Object(); } for (var _local4 in props) { symbolTransOut[symbol][_local4] = props[_local4]; } updateLinkInfo(symbol); } function playTicker() { paused = false; } function pauseTicker() { paused = true; } function stockUpdate(evt) { if (evt.valid && (evt.valid != undefined)) { updateTextFields(); dataTries = retries; } dispatchEvent({type:"stockUpdate", target:this, info:evt.info}); if ((__scrollSpeed == 0) || (paused)) { positionText(); } } function updateLinkInfo(symbol) { var o = symbolToTf[symbol]; o.symbol_info = symbolTransOut[symbol]; o.followLink = function () { if (o.symbol_info.link_url != undefined) { (this.getURL(o.symbol_info.link_url, ((o.symbol_info.browser_target != undefined) ? (o.symbol_info.browser_target) : "_blank")));// not popped } }; if (o.Link_btn.onPress == undefined) { o.Link_btn.onPress = function () { this._parent.followLink(); }; } if (o.symbol_info.link_url != undefined) { if (o.Link_btn.onRollOver == undefined) { o.Link_btn.onRollOver = function () { var _local2 = this._parent.Symbol.getTextFormat(); _local2.underline = true; this._parent.Symbol.setTextFormat(_local2); }; } if (o.Link_btn.onRollOut == undefined) { o.Link_btn.onRollOut = function () { var _local2 = this._parent.Symbol.getTextFormat(); _local2.underline = false; this._parent.Symbol.setTextFormat(_local2); }; } o.Link_btn.enabled = true; } else { o.Link_btn.enabled = false; } } function updateTextFields() { var _local7 = conn.__get__symbolList(); var _local6 = 0; while (_local6 < _local7.length) { var _local3 = getStockInfo(_local7[_local6]); var _local2 = symbolToTf[_local7[_local6]]; if (_local2 != undefined) { var _local8 = symbolTransOut[_local7[_local6]].display_name; if (_local8 == undefined) { _local8 = _local7[_local6]; } var _local9 = _local3.Last; if (_local9 == undefined) { _local9 = "..."; } var _local4 = _local3.Change; if (_local2.change_mc != undefined) { var _local10 = "unch"; if (_local4.charAt(0) == "+") { _local10 = "up"; } else if (_local4.charAt(0) == "-") { _local10 = "down"; } _local2.change_mc.gotoAndStop(_local10); _local4 = _local4.substr(1); } if (_local4 == undefined) { _local4 = "+/-"; } _local2.Symbol.text = _local8; _local2.Last.text = _local9; _local2.Change.text = _local4; for (var _local12 in _local3) { if (((_local12 != "Symbol") && (_local12 != "Last")) && (_local12 != "Change")) { _local2[_local12].text = ((_local3[_local12] != undefined) ? (_local3[_local12]) : ""); } if ((((((_local12 == "Last") || (_local12 == "Open")) || (_local12 == "PreviousClose")) || (_local12 == "High")) || (_local12 == "Low")) || (_local12 == "Change")) { if (__roundDecimals) { _local2[_local12].text = roundOffFractions(_local2[_local12].text); } } if ((_local12 == "Change") && (_local2.change_mc == undefined)) { var _local5 = _local2[_local12].text; if ((_local4.charAt(0) == "+") && (_local5.charAt(0) != "+")) { _local2[_local12].text = "+" + _local5; } } } if (__showChangeColors) { tfChange.color = ((_local3.Change >= 0) ? (__upChangeColor) : (__downChangeColor)); _local2.Change.setTextFormat(tfChange); _local2.PercentageChange.setTextFormat(tfChange); var _local11 = new Color(_local2.change_mc); _local11.setRGB(tfChange.color); } } _local6++; } } function positionText() { var _local16 = 0; var _local5 = leadBox; var _local13 = __symbols.length - 1; var _local3 = ((__direction == "horizontal") ? "_x" : "_y"); var _local9 = ((__direction == "horizontal") ? "_width" : "_height"); var _local17 = ((__direction == "horizontal") ? "width" : "height"); var _local18 = 0; while (_local16 < __symbols.length) { var _local2 = displayText[_local5]; var _local11 = this["s" + _local5]; if (!__tabMode) { var _local4 = 1; while (_local4 < fieldSort.length) { _local2[fieldSort[_local4].tfProp]._x = (_local2[fieldSort[_local4 - 1].tfProp]._x + _local2[fieldSort[_local4 - 1].tfProp]._width) + fieldSort[_local4].dist; _local4++; } } if (__direction == "vertical") { _local2._x = 0; } else { _local2._y = (__get__height() - _local2._height) / 2; } if (!__tabMode) { var _local12 = _local2.change_mc; if (_local12 != undefined) { _local12._y = (_local2._height - _local12._height) / 2; } } var _local10 = _local2[_local9] + ((_local11 != undefined) ? ((4 + _local11[_local9]) + 4) : (__separationDist)); if (_local5 == leadBox) { _local2[_local3] = _local2[_local3] - __scrollSpeed; if (((_local2[_local3] + _local10) < 0) && (__scrollSpeed > 0)) { var _local7 = this[_local17]; var _local4 = 0; while (_local4 < displayText.length) { var _local8 = displayText[_local4]; var _local6 = _local8[_local3] + _local8[_local9]; if (_local6 > _local7) { _local7 = _local6; } _local2[_local3] = _local7; _local4++; } if ((++leadBox) > _local13) { leadBox = 0; } } } else { var _local14 = ((_local5 > 0) ? (_local5 - 1) : (_local13)); var _local15 = displayText[_local14]; var _local19 = this["s" + _local14]; _local2[_local3] = _local15[_local3] + _local18; if (((__scrollSpeed < 0) && (_local5 == ((leadBox == 0) ? (_local13) : (leadBox - 1)))) && (_local2[_local3] > this[_local17])) { _local2[_local3] = displayText[leadBox][_local3] - _local10; leadBox = _local5; } } _local11[_local3] = (_local2[_local3] + _local2[_local9]) + 4; _local5++; if (_local5 > _local13) { _local5 = 0; } _local18 = _local10; _local16++; } } function removeDupeSymbols() { var _local4 = new Array(); var _local3 = 0; while (_local3 < __symbols.length) { var _local5 = true; var _local2 = 0; while (_local2 < _local4.length) { if (_local4[_local2] == __symbols[_local3]) { _local5 = false; break; } _local2++; } if (_local5) { _local4.push(__symbols[_local3]); } _local3++; } __symbols = _local4; } function roundOffFractions(num) { var _local2 = parseFloat(num); if (isNaN(_local2)) { return(num); } _local2 = Math.round(num * 100) / 100; var _local1 = _local2.toString(); var _local3 = _local1.indexOf("."); if (_local3 == -1) { _local1 = _local1 + ".00"; } else if (_local3 == (_local1.length - 2)) { _local1 = _local1 + "0"; } _local2 = _local1; return(_local2); } function set symbols(val) { __symbols = val; if ((val != undefined) && (val != "")) { removeDupeSymbols(); createQuoteRetriever(); conn.__set__symbolList(__symbols); if (displayText != undefined) { createTextBoxes(); } startTimeMs = -1; } //return(symbols); } function get symbols() { return(__symbols); } function set scrollSpeed(val) { var _local2 = __scrollSpeed; __scrollSpeed = val; //return(scrollSpeed); } function get scrollSpeed() { return(__scrollSpeed); } function set separationDistance(val) { __separationDist = val; positionText(); //return(separationDistance); } function get separationDistance() { return(__separationDist); } function set border(val) { __border = val; border_mc._visible = val; //return(border); } function get border() { return(__border); } function set showChangeColors(val) { __showChangeColors = val; //return(showChangeColors); } function get showChangeColors() { return(__showChangeColors); } function set changeColor_up(val) { __upChangeColor = val; //return(changeColor_up); } function get changeColor_up() { return(__upChangeColor); } function set changeColor_down(val) { __downChangeColor = val; //return(changeColor_down); } function get changeColor_down() { return(__downChangeColor); } function set alwaysUseFontStyles(val) { __alwaysUseFontStyles = val; if (val != undefined) { createTextBoxes(); } //return(alwaysUseFontStyles); } function get alwaysUseFontStyles() { return(__alwaysUseFontStyles); } function set pauseOnClick(val) { __pauseOnClick = val; //return(pauseOnClick); } function get pauseOnClick() { return(__pauseOnClick); } function set roundDecimals(val) { __roundDecimals = val; //return(roundDecimals); } function get roundDecimals() { return(__roundDecimals); } function set direction(val) { __direction = val; invalidate(); //return(direction); } function get direction() { return(__direction); } function set separator(val) { __separator = val; if (val != undefined) { createTextBoxes(); } //return(separator); } function get separator() { return(__separator); } function set quoteDisplay(val) { __quoteDisplay = val; __tabMode = (val != undefined) && (val != ""); if (val != undefined) { createTextBoxes(); } //return(quoteDisplay); } function get quoteDisplay() { return(__quoteDisplay); } function set updateInterval(val) { __updateInterval = Math.round(10, val); retries = Math.max(1, Math.floor(30 / __updateInterval)); dataTries = retries; //return(updateInterval); } function get updateInterval() { return(__updateInterval); } function set font_Size(val) { if ((val >= 8) && (val <= 96)) { setStyle("fontSize", val); } //return(font_Size); } function get font_Size() { return(getStyle("fontSize")); } function set font_Color(val) { setStyle("color", val); //return(font_Color); } function get font_Color() { return(getStyle("color")); } function set font_Family(val) { setStyle("fontFamily", val); //return(font_Family); } function get font_Family() { return(getStyle("fontFamily")); } function set font_Weight(val) { setStyle("fontWeight", val); //return(font_Weight); } function get font_Weight() { return(getStyle("fontWeight")); } function set embed_Fonts(val) { if (_parent != _root.contents) { setStyle("embedFonts", val); } //return(embed_Fonts); } function get embed_Fonts() { return(getStyle("embedFonts")); } function set changeFormat(val) { tfChange = val; updateTextFields(); //return(changeFormat); } function get changeFormat() { return(tfChange); } function set quoteRetriever(val) { if (val != undefined) { conn = val; primaryConn = val; primaryConn.addEventListener("stockUpdate", this); conn.__set__symbolList(__symbols); delete backupConn; backupConn = undefined; } //return(quoteRetriever); } function get quoteRetriever() { return(conn); } static var symbolName = "StockTicker"; static var symbolOwner = flextnet.components.StockTicker; static var version = "1.6.0.0"; var className = "StockTicker"; var paused = false; var leadBox = 0; var dataTries = 1; var retries = 5; static var PRIMARY_WSDL = "http://www.webservicex.net/stockquote.asmx?WSDL"; static var SECONDARY_WSDL = "http://www.newpixel.com/services/stockquote.php?WSDL"; var __scrollSpeed = 1; var __border = true; var __direction = "horizontal"; var __tabMode = false; var __pauseOnClick = true; var __separationDist = 4; var __alwaysUseFontStyles = false; var __showChangeColors = false; var __upChangeColor = 65280; var __downChangeColor = 16711680; var __updateInterval = 30; var __roundDecimals = false; }
Symbol 36 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip { var _visible, _x, _y, _width, _height; function SkinElement () { super(); } static function registerElement(name, className) { Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className))); _global.skinRegistry[name] = true; } function __set__visible(visible) { _visible = visible; } function move(x, y) { _x = x; _y = y; } function setSize(w, h) { _width = w; _height = h; } }
Symbol 37 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles { function CSSTextStyles () { } static function addTextStyles(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; }); } }
Symbol 38 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager { function StyleManager () { } static function registerInheritingStyle(styleName) { inheritingStyles[styleName] = true; } static function isInheritingStyle(styleName) { return(inheritingStyles[styleName] == true); } static function registerColorStyle(styleName) { colorStyles[styleName] = true; } static function isColorStyle(styleName) { return(colorStyles[styleName] == true); } static function registerColorName(colorName, colorValue) { colorNames[colorName] = colorValue; } static function isColorName(colorName) { return(colorNames[colorName] != undefined); } static function getColorName(colorName) { return(colorNames[colorName]); } static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true}; static var 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}; static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344}; static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false}; static var 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}; }
Symbol 39 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration { var _tf; function CSSStyleDeclaration () { } function __getTextFormat(tf, bAll) { var _local5 = false; if (_tf != undefined) { var _local2; for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) { if (tf[_local2] == undefined) { var _local3 = _tf[_local2]; if (_local3 != undefined) { tf[_local2] = _local3; } else { _local5 = true; } } } } } else { _local5 = true; } return(_local5); } function getStyle(styleProp) { var _local2 = this[styleProp]; var _local3 = mx.styles.StyleManager.getColorName(_local2); return(((_local3 == undefined) ? (_local2) : (_local3))); } static function classConstruct() { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return(true); } static var classConstructed = classConstruct(); static var CSSTextStylesDependency = mx.styles.CSSTextStyles; }
Symbol 40 MovieClip [__Packages.mx.services.WebService] Frame 0
class mx.services.WebService { var _name, _portName, _description, _proxyURI, _endpointReplacementURI, _timeout, gotWSDL, stub, __resolve; function WebService (wsdlLocation, logObj, proxyURI, endpointProxyURI, serviceName, portName) { mx.services.Namespace.setup(); _name = serviceName; _portName = portName; _description = null; _proxyURI = proxyURI; _endpointReplacementURI = endpointProxyURI; _timeout = -1; gotWSDL = false; stub = new mx.services.WebServiceProxy(this, wsdlLocation, logObj); __resolve = function (methodName) { return(function () { return(this.stub.invokeOperation(methodName, arguments)); }); }; } function getCall(operationName) { return(stub.getCall(operationName)); } function onLoad(wsdl) { } function onFault(fault) { } }
Symbol 41 MovieClip [__Packages.mx.services.Log] Frame 0
class mx.services.Log { var level, name; function Log (logLevel, name) { level = ((logLevel == undefined) ? (BRIEF) : (logLevel)); this.name = ((name == undefined) ? "" : (name)); } function logInfo(msg, level) { if (level == undefined) { level = BRIEF; } if (level <= this.level) { if (level == DEBUG) { onLog((((getDateString() + " [DEBUG] ") + name) + ": ") + msg); } else { onLog((((getDateString() + " [INFO] ") + name) + ": ") + msg); } } } function logDebug(msg) { logInfo(msg, DEBUG); } function getDateString() { var _local1 = new Date(); return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds()); } function onLog(message) { trace(message); } static var NONE = -1; static var BRIEF = 0; static var VERBOSE = 1; static var DEBUG = 2; }
Symbol 42 MovieClip [__Packages.mx.services.WebServiceProxy] Frame 0
class mx.services.WebServiceProxy { var log, service, wsdlURI, wsdl, _servicePortMappings, activePort, waitingOps, callQueue; function WebServiceProxy (webservice, wsdlLocation, logObj) { log = logObj; log.logInfo("Creating stub for " + wsdlLocation, mx.services.Log.VERBOSE); service = webservice; var _local3; if (_local3 == undefined) { _local3 = service._proxyURI; } if (_local3 != undefined) { wsdlLocation = (buildURL(_local3) + "?target=") + escape(wsdlLocation); } wsdlURI = buildURL(wsdlLocation); var _local2 = new mx.services.Log(log.level, "WSDL"); _local2._parentLog = log; _local2.onLog = function (txt) { this._parentLog.onLog(txt); }; wsdl = new mx.services.WSDL(wsdlURI, this, _local2); wsdl.onLoad = function () { this.serviceProxy.onWSDL(); }; log.logInfo("Created stub for " + wsdlURI, mx.services.Log.VERBOSE); } function buildURL(url) { var _local2 = url; if ((url.indexOf("http://") == -1) && (url.indexOf("https://") == -1)) { var _local4 = _root._url.indexOf("/", 8); if (_local4 != -1) { _local2 = _root._url.substring(0, _local4) + url; } } return(_local2); } function onWSDL() { var _local12 = wsdl.fault; if (_local12 == undefined) { var _local8 = new Object(); var _local10 = wsdl.services; var _local7 = 0; var _local5 = null; var _local6 = null; for (var _local9 in _local10) { var _local4 = new Object(); var _local3 = wsdl.services[_local9].ports; for (var _local11 in _local3) { var _local2 = createCallsFromPort(_local3[_local11]); _local4[_local11] = _local2; if (_local5 == undefined) { _local5 = _local11; _local6 = _local9; } _local7++; } _local8[_local9] = _local4; } _servicePortMappings = _local8; var _local9 = service._name; var _local11 = service._portName; if ((_local9 == undefined) && (_local11 == undefined)) { if (_local7 == 1) { _local9 = _local6; _local11 = _local5; } else if (_local7 == 0) { _local12 = new mx.services.SOAPFault("WSDL.NoPorts", "There are no valid services/ports in the WSDL file!"); } else { _local12 = new mx.services.SOAPFault("WSDL.MultiplePorts", "There are multiple possible ports in the WSDL file; please specify a service name and port name!"); } } if (_local12 == undefined) { if (_local9 == undefined) { _local9 = _local6; } if (_local11 == undefined) { _local11 = _local5; } var _local13 = setPort(_local11, _local9); if (_local13 == undefined) { return(undefined); } log.logInfo((("Set active port in service stub: " + _local9) + " : ") + _local11, mx.services.Log.VERBOSE); service.gotWSDL = true; service.onLoad.call(service, wsdl.document); } } if (_local12 != undefined) { service.onFault.call(service, _local12); log.logDebug("Service stub found fault upon receiving WSDL: " + _local12.faultstring); } service.__resolve = function (operationName) { var callback = (new mx.services.PendingCall()); callback.genSingleConcurrencyFault = function () { clearInterval(this.timerID); var _local2 = new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + operationName) + "' in service!"); this.__handleFault(_local2); this.onFault(_local2); }; callback.timerID = setInterval(function () { callback.genSingleConcurrencyFault(); }, 50); return(callback); }; unEnqueueCalls(_local12); } function setPort(portName, serviceName) { var _local4 = ((serviceName == undefined) ? (service._name) : (serviceName)); var service = _servicePortMappings[_local4]; if (service == undefined) { service.onFault(new mx.services.SOAPFault("Client.NoSuchService", ("Couldn't find service '" + _local4) + "'")); return(undefined); } var _local3 = _servicePortMappings[_local4][portName]; if (_local3 == undefined) { service.onFault(new mx.services.SOAPFault("Client.NoSuchPort", ((("Couldn't find a matching port (service = '" + _local4) + "', port = '") + portName) + "')")); return(undefined); } for (var _local5 in activePort) { service[_local5] = undefined; } for (var _local5 in _local3) { service[_local5] = function () { return(this.stub.invokeOperation(arguments.callee.name, arguments)); }; service[_local5].name = _local5; } activePort = _local3; service._name = _local4; service._description = _servicePortMappings[_local4].description; return(activePort); } function createCallsFromPort(wsdlPort) { var _local17 = new Object(); var _local20 = wsdlPort.binding; var _local19 = _local20.portType; var _local16 = _local19.operations; var _local13 = wsdlPort.endpointURI; if (service._endpointReplacementURI != undefined) { var _local21 = _local13.indexOf("/", 7); _local13 = service._endpointReplacementURI + _local13.substring(_local21); } var _local23; var _local18 = wsdl.schemas; var _local14 = service._proxyURI; if (_local14 != undefined) { _local14 = buildURL(_local14); } var _local15 = waitingOps; var _local4; for (_local4 in _local16) { var _local3 = _local16[_local4]; var _local8 = _local3.actionURI; var _local12 = _local3.style; var _local6 = _local3.inputEncoding; var _local9 = _local6.use; var _local10 = _local6.namespaceURI; var _local11 = _local6.encodingStyle; var _local5 = new mx.services.Log(log.level, "SOAP"); _local5._parentLog = log; _local5.onLog = function (txt) { this._parentLog.onLog(txt); }; var _local7 = _local13; if (_local14 != undefined) { _local7 = (((_local14 + "?transport=SoapHttp&action=") + escape(_local8)) + "&target=") + escape(_local13); } var _local2 = _local15[_local4]; if (_local2 != undefined) { delete _local15[_local4]; } else { _local2 = new mx.services.SOAPCall(_local4); } _local2.targetNamespace = _local10; _local2.endpointURI = _local7; _local2.log = _local5; _local2.operationStyle = _local12; _local2.useStyle = _local9; _local2.encodingStyle = _local11; _local2.actionURI = _local8; _local2.schemaContext = _local18; _local2.wsdlOperation = _local3; if (_local3.description != undefined) { _local2.description = _local3.description; } _local17[_local4] = _local2; log.logInfo("Made SOAPCall for operation " + _local4, mx.services.Log.BRIEF); } return(_local17); } function invokeOperation(operationName, args) { var _local2; if (wsdl.fault != undefined) { if (wsdl.fault.faultcode == mx.services.SOAPConstants.DISCONNECTED_FAULT_CODE) { _local2 = enqueueCall(operationName, args); } else { service.onFault.call(service, wsdl.fault); } } else if ((wsdl.rootWSDL.xmlDoc == undefined) || (!wsdl.rootWSDL.xmlDoc.loaded)) { _local2 = enqueueCall(operationName, args); log.logInfo("Queing call " + operationName); } else { _local2 = invokeCall(operationName, args); if (_local2 == undefined) { var _local5 = new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + operationName) + "' in service!"); service.onFault.call(service, _local5); return(undefined); } log.logInfo("Invoking call " + operationName); } return(_local2); } function getCall(operationName) { if ((wsdl.rootWSDL.xmlDoc != undefined) && (wsdl.rootWSDL.xmlDoc.loaded)) { return(activePort[operationName]); } var _local2 = waitingOps; if (_local2 == undefined) { _local2 = new Object(); waitingOps = _local2; } var _local3 = _local2[operationName]; if (_local3 == undefined) { _local3 = new mx.services.SOAPCall(operationName); _local2[operationName] = _local3; } return(_local3); } function invokeCall(operationName, parameters) { var _local2 = activePort[operationName]; if (_local2 == undefined) { return(undefined); } if (service._timeout != -1) { _local2.timeout = service._timeout; } var _local3 = _local2.asyncInvoke(parameters, "onLoad"); return(_local3); } function enqueueCall(operationName, args) { if (callQueue == undefined) { callQueue = new Array(); } var _local2 = new Object(); _local2.operationName = operationName; _local2.args = args; _local2.cancel = function () { this.cancelled = true; }; callQueue.push(_local2); return(_local2); } function unEnqueueCalls(fault) { var _local7 = waitingOps; if (_local7 != undefined) { for (var _local10 in _local7) { var _local6 = _local7[_local10]; if (fault != undefined) { _local6.onFault(fault); continue; } var _local3 = activePort[_local10]; if (_local3 == undefined) { _local6.onFault(new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + _local10) + "' in service!")); continue; } } } var _local8 = callQueue; if (_local8 != undefined) { var _local9 = _local8.length; var _local4 = 0; while (_local4 < _local9) { var _local2 = _local8[_local4]; if (_local2.cancelled) { } else if (fault != undefined) { log.logInfo("Faulting previously queued call " + _local2.operationName); _local2.onFault(fault); } else { log.logInfo("Invoking previously queued call " + _local2.operationName); var _local3 = invokeCall(_local2.operationName, _local2.args); if (_local3 == undefined) { fault = new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + _local2.operationName) + "' in service!"); _local2.onFault(fault); return(undefined); } _local3.originalPromise = _local2; _local2.myCall = _local3.myCall; _local3.timerObj = _local2.timerObj; _local3.onResult = function (result, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onResult(result, response); }; _local3.onFault = function (fault) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onFault(fault); }; _local3.__handleResult = function (result, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.__handleResult(result, response); }; _local3.__handleFault = function (fault) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.__handleFault(fault); }; _local3.onHeaders = function (headers, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onHeaders(headers, response); }; } _local4++; } } } }
Symbol 43 MovieClip [__Packages.mx.services.QName] Frame 0
class mx.services.QName { var localPart, namespaceURI; function QName (localPart, namespaceURI) { this.localPart = ((localPart == undefined) ? "" : (localPart)); this.namespaceURI = ((namespaceURI == undefined) ? "" : (namespaceURI)); } function equals(qname) { return((namespaceURI == qname.namespaceURI) && (localPart == qname.localPart)); } }
Symbol 44 MovieClip [__Packages.mx.services.WSDLConstants] Frame 0
class mx.services.WSDLConstants { function WSDLConstants () { } static function getConstants(versionNumber) { var _local1 = new Object(); _local1.definitionsQName = new mx.services.QName("definitions", WSDL_URI); _local1.typesQName = new mx.services.QName("types", WSDL_URI); _local1.messageQName = new mx.services.QName("message", WSDL_URI); _local1.portTypeQName = new mx.services.QName("portType", WSDL_URI); _local1.bindingQName = new mx.services.QName("binding", WSDL_URI); _local1.serviceQName = new mx.services.QName("service", WSDL_URI); _local1.importQName = new mx.services.QName("import", WSDL_URI); _local1.documentationQName = new mx.services.QName("documentation", WSDL_URI); _local1.portQName = new mx.services.QName("port", WSDL_URI); _local1.soapAddressQName = new mx.services.QName("address", WSDL_SOAP_URI); _local1.bindingQName = new mx.services.QName("binding", WSDL_URI); _local1.soapBindingQName = new mx.services.QName("binding", WSDL_SOAP_URI); _local1.operationQName = new mx.services.QName("operation", WSDL_URI); _local1.soapOperationQName = new mx.services.QName("operation", WSDL_SOAP_URI); _local1.documentationQName = new mx.services.QName("documentation", WSDL_URI); _local1.soapBodyQName = new mx.services.QName("body", WSDL_SOAP_URI); _local1.inputQName = new mx.services.QName("input", WSDL_URI); _local1.outputQName = new mx.services.QName("output", WSDL_URI); _local1.parameterQName = new mx.services.QName("part", WSDL_URI); return(_local1); } static var WSDL_URI = "http://schemas.xmlsoap.org/wsdl/"; static var WSDL_SOAP_URI = "http://schemas.xmlsoap.org/wsdl/soap/"; static var SOAP_ENVELOPE_URI = "http://schemas.xmlsoap.org/soap/envelope/"; static var SOAP_ENCODING_URI = "http://schemas.xmlsoap.org/wsdl/soap/encoding/"; static var HTTP_WSDL_URI = "http://schemas.xmlsoap.org/wsdl/http/"; static var HTTP_SOAP_URI = "http://schemas.xmlsoap.org/soap/http"; static var MACROMEDIA_SOAP_URI = "http://www.macromedia.com/soap/"; static var DEFAULT_STYLE = "document"; }
Symbol 45 MovieClip [__Packages.mx.services.SchemaVersion] Frame 0
class mx.services.SchemaVersion { static var version2001, version2000, version1999; var xsdURI, xsiURI, schemaQName, allQName, complexTypeQName, elementTypeQName, importQName, simpleTypeQName, complexContentQName, sequenceQName, simpleContentQName, restrictionQName, attributeQName, extensionQName, nilQName; function SchemaVersion (xsdURI, xsiURI) { this.xsdURI = xsdURI; this.xsiURI = xsiURI; schemaQName = new mx.services.QName("schema", xsdURI); allQName = new mx.services.QName("all", xsdURI); complexTypeQName = new mx.services.QName("complexType", xsdURI); elementTypeQName = new mx.services.QName("element", xsdURI); importQName = new mx.services.QName("import", xsdURI); simpleTypeQName = new mx.services.QName("simpleType", xsdURI); complexContentQName = new mx.services.QName("complexContent", xsdURI); sequenceQName = new mx.services.QName("sequence", xsdURI); simpleContentQName = new mx.services.QName("simpleContent", xsdURI); restrictionQName = new mx.services.QName("restriction", xsdURI); attributeQName = new mx.services.QName("attribute", xsdURI); extensionQName = new mx.services.QName("extension", xsdURI); var _local3 = "nil"; if (xsdURI == XSD_URI_1999) { _local3 = "null"; } nilQName = new mx.services.QName(_local3, xsiURI); } static function getSchemaVersion(xsdURI) { if (xsdURI == XSD_URI_2001) { if (version2001 == undefined) { version2001 = new mx.services.SchemaVersion(XSD_URI_2001, XSI_URI_2001); } return(version2001); } if (xsdURI == XSD_URI_2000) { if (version2000 == undefined) { version2000 = new mx.services.SchemaVersion(XSD_URI_2000, XSI_URI_2000); } return(version2000); } if (xsdURI == XSD_URI_1999) { if (version1999 == undefined) { version1999 = new mx.services.SchemaVersion(XSD_URI_1999, XSI_URI_1999); } return(version1999); } } static var XML_SCHEMA_URI = "http://www.w3.org/2001/XMLSchema"; static var SOAP_ENCODING_URI = "http://schemas.xmlsoap.org/soap/encoding/"; static var XSD_URI_1999 = "http://www.w3.org/1999/XMLSchema"; static var XSD_URI_2000 = "http://www.w3.org/2000/10/XMLSchema"; static var XSD_URI_2001 = "http://www.w3.org/2001/XMLSchema"; static var XSI_URI_1999 = "http://www.w3.org/1999/XMLSchema-instance"; static var XSI_URI_2000 = "http://www.w3.org/2000/10/XMLSchema-instance"; static var XSI_URI_2001 = "http://www.w3.org/2001/XMLSchema-instance"; static var APACHESOAP_URI = "http://xml.apache.org/xml-soap"; static var CF_RPC_URI = "http://rpc.xml.coldfusion"; }
Symbol 46 MovieClip [__Packages.mx.services.DataType] Frame 0
class mx.services.DataType { var name, typeType, namespaceURI, qname, isAnonymous, deserializer; function DataType (name, typeType, xmlns, deserializer) { this.name = name; this.typeType = ((typeType == undefined) ? (OBJECT_TYPE) : (typeType)); namespaceURI = ((xmlns == undefined) ? (mx.services.SchemaVersion.XML_SCHEMA_URI) : (xmlns)); qname = new mx.services.QName(this.name, namespaceURI); isAnonymous = false; this.deserializer = deserializer; } static var NUMBER_TYPE = 0; static var STRING_TYPE = 1; static var OBJECT_TYPE = 2; static var DATE_TYPE = 3; static var BOOLEAN_TYPE = 4; static var XML_TYPE = 5; static var ARRAY_TYPE = 6; static var MAP_TYPE = 7; static var ANY_TYPE = 8; static var COLL_TYPE = 10; static var ROWSET_TYPE = 11; static var QBEAN_TYPE = 12; static var objectType = new mx.services.DataType("", OBJECT_TYPE, ""); }
Symbol 47 MovieClip [__Packages.mx.services.SOAPFault] Frame 0
class mx.services.SOAPFault { var faultcode, faultstring, detail, element, faultNamespaceURI, faultactor; function SOAPFault (fcode, fstring, detail, element, faultNS, faultactor) { faultcode = fcode; faultstring = fstring; this.detail = detail; this.element = element; faultNamespaceURI = faultNS; this.faultactor = faultactor; } }
Symbol 48 MovieClip [__Packages.mx.services.SOAPConstants] Frame 0
class mx.services.SOAPConstants { static var soap11Constants, soap12Constants; var contentType, ENVELOPE_URI, ENCODING_URI, envelopeQName, headerQName, bodyQName, faultQName, actorQName, soapencArrayQName, soapencArrayTypeQName, soapencRefQName; function SOAPConstants () { } static function getConstants(versionNumber) { if (versionNumber < 2) { if (soap11Constants == undefined) { soap11Constants = new mx.services.SOAPConstants(); soap11Constants.setSOAP11(); } return(soap11Constants); } if (soap12Constants == undefined) { soap12Constants = new mx.services.SOAPConstants(); soap12Constants.setSOAP12(); } return(soap12Constants); } function setSOAP11() { contentType = "text/xml; charset=utf-8"; ENVELOPE_URI = "http://schemas.xmlsoap.org/soap/envelope/"; ENCODING_URI = "http://schemas.xmlsoap.org/soap/encoding/"; setupConstants(); } function setSOAP12() { contentType = "application/soap+xml; charset=utf-8"; ENVELOPE_URI = "http://www.w3.org/2002/12/soap-envelope"; ENCODING_URI = "http://www.w3.org/2002/12/soap-encoding"; setupConstants(); } function setupConstants() { envelopeQName = new mx.services.QName("Envelope", ENVELOPE_URI); headerQName = new mx.services.QName("Header", ENVELOPE_URI); bodyQName = new mx.services.QName("Body", ENVELOPE_URI); faultQName = new mx.services.QName("Fault", ENVELOPE_URI); actorQName = new mx.services.QName("Actor", ENVELOPE_URI); soapencArrayQName = new mx.services.QName("Array", ENCODING_URI); soapencArrayTypeQName = new mx.services.QName("arrayType", ENCODING_URI); soapencRefQName = new mx.services.QName("multiRef", ENCODING_URI); } static var DEFAULT_VERSION = 0; static var XML_DECLARATION = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r"; static var RPC_STYLE = "rpc"; static var DOC_STYLE = "document"; static var WRAPPED_STYLE = "wrapped"; static var USE_ENCODED = "encoded"; static var USE_LITERAL = "literal"; static var DEFAULT_OPERATION_STYLE = RPC_STYLE; static var DEFAULT_USE = USE_ENCODED; static var SOAP_ENV_PREFIX = "SOAP-ENV"; static var SOAP_ENC_PREFIX = "soapenc"; static var XML_SCHEMA_PREFIX = "xsd"; static var XML_SCHEMA_INSTANCE_PREFIX = "xsi"; static var XML_SCHEMA_URI = "http://www.w3.org/2001/XMLSchema"; static var XML_SCHEMA_INSTANCE_URI = "http://www.w3.org/2001/XMLSchema-instance"; static var SCHEMA_INSTANCE_TYPE = XML_SCHEMA_INSTANCE_PREFIX + ":type"; static var ARRAY_PQNAME = SOAP_ENC_PREFIX + ":Array"; static var ARRAY_TYPE_PQNAME = SOAP_ENC_PREFIX + ":arrayType"; static var MODE_IN = 0; static var MODE_OUT = 1; static var MODE_INOUT = 2; static var DISCONNECTED_FAULT_CODE = "Client.Disconnected"; }
Symbol 49 MovieClip [__Packages.mx.services.SchemaContext] Frame 0
class mx.services.SchemaContext { var log, schemas, schemaVersion, unresolvedImports; function SchemaContext (logObj) { log = logObj; schemas = new Object(); } static function RegisterSchemaTypes(schemaObj, schemaVersion) { var _local1 = schemaVersion.xsdURI; schemaObj.registerType(new mx.services.DataType("boolean", mx.services.DataType.BOOLEAN_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("string", mx.services.DataType.STRING_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("decimal", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("integer", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("negativeInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("nonNegativeInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("positiveInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("nonPositiveInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("long", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("int", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("short", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("byte", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedLong", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedInt", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedShort", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedByte", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("float", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("double", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("date", mx.services.DataType.DATE_TYPE, _local1)); var _local3 = new mx.services.DataType("dateTime", mx.services.DataType.DATE_TYPE, _local1); schemaVersion.dateTimeType = _local3; schemaObj.registerType(_local3); schemaObj.registerType(new mx.services.DataType("time", mx.services.DataType.DATE_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("base64Binary", mx.services.DataType.OBJECT_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("hexBinary", mx.services.DataType.OBJECT_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("token", mx.services.DataType.STRING_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("normalizedString", mx.services.DataType.STRING_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("anyType", mx.services.DataType.ANY_TYPE, _local1)); if (_local1 == mx.services.SchemaVersion.XSD_URI_1999) { schemaObj.registerType(new mx.services.DataType("timeInstant", mx.services.DataType.DATE_TYPE, _local1)); } } static function RegisterStandardTypes(schemaObj) { RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_1999)); RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2000)); 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 _local2 = new mx.services.DataType("Array", mx.services.DataType.ARRAY_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI); _local2.arrayType = new mx.services.DataType("any", mx.services.DataType.ANY_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI); _local2.arrayDimensions = 1; _local2.isEncodedArray = true; _local2.itemElement = new mx.services.QName("item"); schemaObj.registerType(_local2); 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)); } function registerSchemaNode(rootElement, document) { var _local4 = rootElement.getQName(); if (_local4.localPart != "schema") { return(undefined); } var _local2 = mx.services.SchemaVersion.getSchemaVersion(_local4.namespaceURI); if (_local2 == undefined) { return(undefined); } schemaVersion = _local2; if (rootElement.getQName().equals(_local2.schemaQName)) { var _local5 = rootElement.attributes.targetNamespace; processImports(rootElement, _local2, document); return(registerNamespace(_local5, rootElement)); } } function processImports(rootElement, schemaVersion, document) { var _local4 = rootElement.getElementsByQName(schemaVersion.importQName); if (_local4 != undefined) { var _local3 = 0; while (_local3 < _local4.length) { var _local2 = _local4[_local3].attributes.schemaLocation; if (_local2 != undefined) { _local2 = buildURL(_local2, document.location); var _local5 = _local4[_local3].attributes.namespace; importDocument(_local2, _local5); } _local3++; } } } function importDocument(location, namespaceURI) { var _local2 = new XML(); _local2.ignoreWhite = true; _local2.schemaContext = this; _local2.namespace = namespaceURI; _local2.location = location; unresolvedImports++; fetchDocument(_local2); } function fetchDocument(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"); } function buildURL(locationURL, contextURL) { if ((locationURL.substr(0, 7) == "http://") || (locationURL.substr(0, 8) == "https://")) { return(locationURL); } var _local3 = contextURL.lastIndexOf("/"); contextURL = contextURL.substr(0, _local3 + 1); return(contextURL + locationURL); } function registerNamespace(namespaceURI, rootElement) { log.logInfo("Registering schema namespace: " + namespaceURI, mx.services.Log.VERBOSE); if (schemas[namespaceURI] != undefined) { log.logInfo("Duplicate namespace!"); return(undefined); } var _local2 = new mx.services.Schema(namespaceURI, rootElement, this); schemas[namespaceURI] = _local2; var _local4 = rootElement.attributes.elementFormDefault; if ((_local4 != undefined) && (_local4 == "qualified")) { _local2.elementFormDefault = "qualified"; } return(_local2); } function registerType(dtype) { var _local4 = dtype.namespaceURI; var _local2 = schemas[_local4]; if (_local2 == undefined) { _local2 = registerNamespace(_local4); } if (_local2.types[dtype.name] == undefined) { _local2.types[dtype.name] = dtype; } } function registerElement(elemObj) { var _local4 = elemObj.namespaceURI; var _local2 = schemas[_local4]; if (_local2 == undefined) { _local2 = registerNamespace(_local4); } if (elemObj.form == undefined) { elemObj.form = _local2.elementFormDefault; } _local2.elements[elemObj.name] = elemObj; } function getElementByQName(elQName) { var _local3 = schemas[elQName.namespaceURI]; if (_local3 != undefined) { var _local2 = _local3.elements[elQName.localPart]; if (_local2 == undefined) { _local2 = _local3.parseElement(elQName.localPart); if (_local2 == undefined) { } } return(_local2); } } function getTypeByQName(typeQName) { var _local13 = schemas[typeQName.namespaceURI]; if (_local13 != undefined) { var _local11 = typeQName.localPart; var _local14 = _local11.indexOf("["); if (_local14 != -1) { var _local15 = _local11.substring(0, _local14); var _local9 = getTypeByQName(new mx.services.QName(_local15, typeQName.namespaceURI)); var _local4 = _local11.substring(_local14); var _local2 = 0; while (_local2 != -1) { var _local6 = new Array(); _local2++; var _local3 = _local4.indexOf(",", _local2); while (_local3 != -1) { var _local8 = Number(_local4.substring(_local2, _local3)); _local6.push(_local8); _local2 = _local3 + 1; _local3 = _local4.indexOf(",", _local2); } var _local7 = _local4.indexOf("]", _local2); if (_local7 == -1) { } if (_local7 == _local2) { _local6.push(-1); } else { var _local10 = Number(_local4.substring(_local2, _local7)); _local6.push(_local10); } var _local5 = new mx.services.DataType(_local9.name, mx.services.DataType.ARRAY_TYPE, _local9.namespaceURI); _local5.isEncodedArray = true; _local5.arrayType = _local9; _local5.itemElement = new mx.services.QName("item"); _local5.dimensions = _local6; _local9 = _local5; _local2 = _local4.indexOf("[", _local7); } return(_local9); } var _local12 = _local13.types[_local11]; if (_local12 != undefined) { return(_local12); } _local12 = _local13.parseType(_local11); if (_local12 == undefined) { } return(_local12); } } function getType(qualifiedName, node) { var _local4 = ""; var _local5 = qualifiedName; var _local2 = qualifiedName.indexOf(":"); if (_local2 != -1) { _local4 = qualifiedName.substring(0, _local2); _local5 = qualifiedName.substring(_local2 + 1); } var _local6 = node.getNamespaceForPrefix(_local4); return(getTypeByQName(_local5, _local6, node)); } }
Symbol 50 MovieClip [__Packages.mx.services.ElementDecl] Frame 0
class mx.services.ElementDecl { function ElementDecl () { } }
Symbol 51 MovieClip [__Packages.mx.services.Schema] Frame 0
class mx.services.Schema { var targetNamespace, rootElement, context, schemaVersion, types, elements, elementFormDefault; function Schema (targetNamespace, rootElement, schemaContext) { this.targetNamespace = targetNamespace; this.rootElement = rootElement; context = schemaContext; schemaVersion = schemaContext.schemaVersion; types = new Object(); elements = new Object(); } static function getSchemas(xmlDocument) { var _local1 = new Array(); return(_local1); } function registerType(dtype) { if (types[dtype.name] == undefined) { types[dtype.name] = dtype; } } function registerElement(elementObj) { elements[elementObj.name] = elementObj; } function parseType(localPart) { var _local2 = rootElement.getElementsByReferencedName(localPart, schemaVersion.complexTypeQName)[0]; if (_local2 != undefined) { return(parseComplexType(_local2)); } _local2 = rootElement.getElementsByReferencedName(localPart, schemaVersion.simpleTypeQName)[0]; if (_local2 != undefined) { return(parseSimpleType(_local2)); } } function parseElement(name) { var _local3 = rootElement.getElementsByReferencedName(name, schemaVersion.elementTypeQName)[0]; if (_local3 != undefined) { var _local2 = parseElementDecl(_local3); registerElement(_local2); return(_local2); } } function parseComplexType(typeNode, isAnonymous) { var _local4 = new mx.services.DataType(); var _local8 = typeNode.attributes.name; if (!isAnonymous) { _local4.name = _local8; _local4.namespaceURI = targetNamespace; _local4.qname = new mx.services.QName(_local8, targetNamespace); registerType(_local4); } else { _local4.isAnonymous = true; } var _local6 = typeNode.childNodes; var _local7 = _local6.length; var _local5 = 0; while ((_local5 < _local7) && (context.fault == undefined)) { var _local2 = _local6[_local5]; var _local3 = _local2.getQName(); if (_local3.equals(schemaVersion.allQName)) { parseAll(_local2, _local4); } else if (_local3.equals(schemaVersion.complexContentQName)) { parseComplexContent(_local2, _local4); } else if (_local3.equals(schemaVersion.simpleContentQName)) { parseSimpleContent(_local2, _local4); } else if (_local3.equals(schemaVersion.sequenceQName)) { parseSequence(_local2, _local4); } else if (_local3.equals(schemaVersion.attributeQName)) { parseAttribute(_local2, _local4); } _local5++; } typeNode.parsed = 1; return(_local4); } function parseSimpleType(typeNode, isAnonymous) { var _local8 = new mx.services.DataType(); var _local11 = typeNode.attributes.name; if (!isAnonymous) { _local8.name = _local11; _local8.namespaceURI = targetNamespace; _local8.qname = new mx.services.QName(_local11, targetNamespace); registerType(_local8); } else { _local8.isAnonymous = true; } var _local9 = typeNode.childNodes; var _local10 = _local9.length; var _local3 = 0; while (_local3 < _local10) { var _local2 = _local9[_local3]; var _local4 = _local2.getQName(); if (_local4.equals(schemaVersion.restrictionQName)) { var _local5 = _local2.attributes.base; var _local6 = _local2.getQNameFromString(_local5); var _local7 = context.getTypeByQName(_local6); _local8.typeType = _local7.typeType; } _local3++; } typeNode.parsed = 1; return(_local8); } function parseAll(allNode, typeObj) { return(parseSequence(allNode, typeObj)); } function parseElementDecl(elementNode) { var _local2 = new mx.services.ElementDecl(); var _local6; if (elementNode.attributes.ref != undefined) { var _local11 = elementNode.attributes.ref; var _local9 = elementNode.getQNameFromString(_local11); var _local5 = context.getElementByQName(_local9); _local2.name = _local5.name; _local2.schemaType = _local5.schemaType; _local2.form = _local5.form; _local2.namespace = _local5.namespace; _local2.minOccurs = elementNode.attributes.minOccurs; _local2.maxOccurs = elementNode.attributes.maxOccurs; return(_local2); } var _local12 = elementNode.attributes.name; _local2.name = _local12; if (elementNode.attributes.type != undefined) { var _local10 = elementNode.getQNameFromString(elementNode.attributes.type, true); _local6 = context.getTypeByQName(_local10); } else { var _local8 = elementNode.getElementsByQName(schemaVersion.complexTypeQName)[0]; if (_local8 != null) { _local6 = parseComplexType(_local8, true); } else { var _local7 = elementNode.getElementsByQName(schemaVersion.simpleTypeQName)[0]; if (_local7 != null) { _local6 = parseSimpleType(_local7, true); } } } _local2.schemaType = _local6; _local2.minOccurs = elementNode.attributes.minOccurs; _local2.maxOccurs = elementNode.attributes.maxOccurs; var _local4 = elementNode.attributes.form; if (_local4 == undefined) { _local4 = elementFormDefault; } _local2.form = _local4; if (_local4 == "qualified") { _local2.namespace = targetNamespace; } else { _local2.namespace = ""; } return(_local2); } function parseAttribute(attrNode, typeObj) { var _local3 = attrNode.attributes.name; var _local6 = new Object(); _local6.name = _local3; var _local4 = attrNode.attributes.type; if (_local4 != undefined) { var _local7 = attrNode.getQNameFromString(_local4, true); var _local5 = context.getTypeByQName(_local7); if (_local5 != undefined) { if (typeObj.partTypes == undefined) { typeObj.partTypes = new Object(); } var _local2 = new Object(); _local2.isAttribute = true; _local2.schemaType = _local5; typeObj.partTypes[_local3] = _local2; } } } function parseSequence(sequenceNode, dtype) { var _local9 = sequenceNode.childNodes; var _local8 = _local9.length; var _local5 = _local8 - 1; while (_local5 > -1) { var _local7 = _local9[_local5]; var _local2 = parseElementDecl(_local7); var _local4 = _local2; if ((_local8 == 1) && (_local2.maxOccurs == "unbounded")) { dtype.name = "array"; dtype.typeType = mx.services.DataType.ARRAY_TYPE; dtype.arrayType = _local4.schemaType; dtype.itemElement = new mx.services.QName(_local2.name, _local2.namespace); } else { if (_local2.maxOccurs == "unbounded") { var _local6 = new mx.services.DataType("array", mx.services.DataType.ARRAY_TYPE); _local6.arrayType = _local4.schemaType; _local4 = _local6; _local4.itemElement = new mx.services.QName(_local2.name, _local2.namespace); } if (dtype.partTypes == undefined) { dtype.partTypes = new Object(); } dtype.partTypes[_local2.name] = _local4; } _local5--; } return(dtype); } function parseSimpleContent(contentNode, typeObj) { var _local5 = contentNode.firstChild; if (!_local5.getQName().equals(schemaVersion.extensionQName)) { return(undefined); } var _local6 = _local5.attributes.base; var _local7 = _local5.getQNameFromString(_local6, true); var _local8 = context.getTypeByQName(_local7); if (typeObj.partTypes == undefined) { typeObj.partTypes = new Object(); } typeObj.simpleValue = _local8; var _local3 = _local5.childNodes; var _local2 = 0; while (_local2 < _local3.length) { parseAttribute(_local3[_local2], typeObj); _local2++; } } function parseComplexContent(contentNode, typeObj) { var _local6 = contentNode.childNodes; var _local7 = _local6.length; var _local3 = 0; while ((_local3 < _local7) && (context.fault == undefined)) { var _local2 = _local6[_local3]; var _local4 = _local2.getQName(); if (_local4.equals(schemaVersion.restrictionQName)) { return(parseRestriction(_local2, typeObj)); } if (_local4.equals(schemaVersion.extensionQName)) { return(parseExtension(_local2, typeObj)); } _local3++; } } function parseExtension(extensionNode, typeObj) { var _local11 = extensionNode.attributes.base; var _local12 = extensionNode.getQNameFromString(_local11); var _local5 = context.getTypeByQName(_local12); typeObj.typeType = _local5.typeType; typeObj.partTypes = new Object(); for (var _local9 in _local5.partTypes) { typeObj.partTypes[_local9] = _local5.partTypes[_local9]; } var _local7 = extensionNode.childNodes; var _local8 = _local7.length; var _local2 = 0; while ((_local2 < _local8) && (context.fault == undefined)) { var _local3 = _local7[_local2]; var _local4 = _local3.getQName(); if (_local4.equals(schemaVersion.sequenceQName)) { return(parseSequence(_local3, typeObj)); } _local2++; } } function parseRestriction(restrictionNode, derivedType) { var _local13 = restrictionNode.attributes.base; var _local14 = restrictionNode.getQNameFromString(_local13); var _local12 = context.getTypeByQName(_local14); derivedType.name = "derived" + _local12.name; derivedType.typeType = _local12.typeType; derivedType.namespaceURI = _local12.namespaceURI; if (_local12.typeType == mx.services.DataType.ARRAY_TYPE) { derivedType.isEncodedArray = _local12.isEncodedArray; derivedType.itemElement = _local12.itemElement; } var _local10 = restrictionNode.getElementsByQName(schemaVersion.attributeQName); var _local9 = 0; while (_local9 < _local10.length) { var _local5 = _local10[_local9]; var _local7 = _local5.attributes.ref; if (_local7.indexOf(":") != -1) { _local7 = _local7.substring(_local7.indexOf(":") + 1); } for (var _local11 in _local5.attributes) { var _local2 = _local11; if (_local2.indexOf(":") != -1) { _local2 = _local2.substring(_local2.indexOf(":") + 1); } if (_local2 == _local7) { var _local6 = _local5.attributes[_local11]; var _local8 = _local5.getQNameFromString(_local6, true); var _local3 = context.getTypeByQName(_local8); if (_local3 != undefined) { derivedType[_local2] = _local3[_local2]; derivedType.name = _local3.name; derivedType.qname = _local3.qname; derivedType.namespaceURI = _local3.namespaceURI; } else { derivedType[_local2] = _local6; } } } _local9++; } return(derivedType); } }
Symbol 52 MovieClip [__Packages.mx.services.WSDL] Frame 0
class mx.services.WSDL { var log, serviceProxy, wsdlURI, wsdlDocs, constants, schemas, unresolvedImports, document, startTime, fault, targetNamespace, rootWSDL, onLoad, services; function WSDL (wsdlURI, serviceProxy, logObj, wsdlVersion) { log = logObj; log.logInfo("Creating WSDL object for " + wsdlURI, mx.services.Log.VERBOSE); this.serviceProxy = serviceProxy; this.wsdlURI = wsdlURI; wsdlDocs = new Object(); var _local4 = ((wsdlVersion == undefined) ? 0 : (wsdlVersion)); constants = mx.services.WSDLConstants.getConstants(_local4); var _local3 = new mx.services.Log(log.level, "XMLSchema"); _local3._parentLog = log; _local3.onLog = function (txt) { this._parentLog.onLog(txt); }; schemas = new mx.services.SchemaContext(_local3); mx.services.SchemaContext.RegisterStandardTypes(schemas); unresolvedImports = 1; var _local2 = new XML(); _local2.ignoreWhite = true; _local2.wsdl = this; _local2.location = wsdlURI; _local2.isRootWSDL = true; document = _local2; startTime = new Date(); fetchDocument(_local2); log.logInfo("Successfully created WSDL object", mx.services.Log.VERBOSE); } function fetchDocument(document) { document.onData = function (src) { if (src != undefined) { var _local3 = new Date(); this.wsdl.log.logInfo("Received WSDL document from the remote service", mx.services.Log.VERBOSE); this.parseXML(src); this.loaded = true; var _local2 = Math.round(new Date() - _local3); this.wsdl.log.logInfo(("Parsed WSDL XML [" + _local2) + " millis]", mx.services.Log.VERBOSE); } this.wsdl.parseDocument(this); delete this.wsdl; }; document.load(document.location, "GET"); } function parseDocument(document) { if (!document.loaded) { 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 (" + wsdlURI) + ")"); log.logDebug("Unable to receive WSDL file"); } else { unresolvedImports--; processImports(document); } if ((unresolvedImports == 0) || (fault != undefined)) { parseCompleted(); } } function buildURL(locationURL, contextURL) { if ((locationURL.substr(0, 7) == "http://") || (locationURL.substr(0, 8) == "https://")) { return(locationURL); } var _local3 = contextURL.lastIndexOf("/"); contextURL = contextURL.substr(0, _local3 + 1); return(contextURL + locationURL); } function processImports(document) { var _local12 = document.firstChild; var _local13 = constants; var _local15 = _local12.getQName(); if (!_local15.equals(_local13.definitionsQName)) { if (_local15.localPart == "schema") { schemas.registerSchemaNode(_local12); return(undefined); } fault = new mx.services.SOAPFault("Server", "Faulty WSDL format", "Definitions must be the first element in a WSDL document"); var _local7 = document.firstChild; if (_local7.nodeName == "soapenv:Envelope") { _local7 = _local7.firstChild; if (_local7.nodeName == "soapenv:Body") { _local7 = _local7.firstChild; if (_local7.nodeName == "soapenv:Fault") { var _local11; var _local10; var _local9; var _local2 = _local7.firstChild; while (_local2 != null) { if (_local2.nodeName == "faultcode") { _local11 = _local2.firstChild; } else if (_local2.nodeName == "faultstring") { _local10 = _local2.firstChild; } else if (_local2.nodeName == "detail") { _local9 = _local2.firstChild; } _local2 = _local2.nextSibling; } fault = new mx.services.SOAPFault(_local11, _local10, _local9); } } } return(undefined); } var _local16 = _local12.attributes.targetNamespace; var _local14 = new mx.services.WSDLDocument(document, this); wsdlDocs[_local16] = _local14; if (document.isRootWSDL) { targetNamespace = _local16; rootWSDL = _local14; } var _local5 = _local12.getElementsByQName(_local13.importQName); if (_local5 != undefined) { var _local3 = 0; while (_local3 < _local5.length) { var _local4 = _local5[_local3].attributes.location; _local4 = buildURL(_local4, document.location); var _local6 = _local5[_local3].attributes.namespace; importDocument(_local4, _local6); _local3++; } } } function importDocument(location, namespaceURI) { var _local2 = new XML(); _local2.ignoreWhite = true; _local2.wsdl = this; _local2.namespace = namespaceURI; _local2.location = location; unresolvedImports++; fetchDocument(_local2); } function parseCompleted() { if (fault == undefined) { parseServices(); } if (fault == undefined) { var _local2 = Math.floor(new Date() - startTime); } onLoad(); } function parseServices() { log.logDebug("Parsing definitions"); var _local6 = constants; var _local3 = rootWSDL.serviceElements; if (_local3 == undefined) { fault = new mx.services.SOAPFault("Server.NoServicesInWSDL", "Could not load WSDL", ("No <wsdl:service> elements found in WSDL at " + wsdlURI) + "."); log.logDebug("No <service> elements in WSDL file"); return(undefined); } var _local4 = new Object(); for (var _local5 in _local3) { var _local2 = parseService(_local3[_local5]); _local4[_local2.name] = _local2; } services = _local4; log.logDebug("Completed WSDL parsing"); } function parseSchemas(typesNode) { log.logDebug("Parsing schemas"); var _local3 = typesNode.childNodes; var _local4 = _local3.length; var _local2 = 0; while (_local2 < _local4) { schemas.registerSchemaNode(_local3[_local2]); _local2++; } log.logDebug("Done parsing schemas."); } function parseService(serviceElement) { log.logDebug("Parsing service: " + serviceElement.nodeName); var _local11 = new Object(); _local11.ports = new Object(); var _local8 = constants; _local11.name = serviceElement.attributes.name; var _local12 = serviceElement.childNodes; var _local13 = _local12.length; var _local7 = 0; while ((_local7 < _local13) && (fault == undefined)) { var _local2 = _local12[_local7]; var _local9 = _local2.getQName(); if (_local9.equals(_local8.documentationQName)) { _local11.description = _local2.firstChild; } else if (_local9.equals(_local8.portQName)) { var _local4 = new Object(); var _local3 = 0; while (_local3 < _local2.childNodes.length) { var _local5 = _local2.childNodes[_local3]; var _local6 = _local5.getQName(); if (_local6.equals(_local8.soapAddressQName)) { _local4.endpointURI = _local5.attributes.location; break; } _local3++; } if (_local4.endpointURI != undefined) { _local4.name = _local2.attributes.name; var _local10 = _local2.getQNameFromString(_local2.attributes.binding); _local4.binding = parseBinding(_local10); _local11.ports[_local4.name] = _local4; } } _local7++; } return(_local11); } function parseBinding(bindingName) { log.logDebug("Parsing binding: " + bindingName); var _local10 = new Object(); var _local4 = constants; var _local25 = wsdlDocs[bindingName.namespaceURI]; if (_local25 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedNamespace", ("The WSDL parser had no registered document for the namespace '" + bindingName.namespaceURI) + "'"); return(undefined); } var _local19 = _local25.getBindingElement(bindingName.localPart); if (_local19 == undefined) { 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 _local26 = _local19.getQNameFromString(_local19.attributes.type); _local10.portType = parsePortType(_local26); if (fault != undefined) { return(undefined); } var _local23 = _local19.childNodes; var _local24 = _local23.length; var _local13 = 0; while (_local13 < _local24) { var _local11 = _local23[_local13]; var _local17 = _local11.getQName(); if (_local17.equals(_local4.soapBindingQName)) { _local10.style = _local11.attributes.style; if (_local10.style == undefined) { _local10.style = mx.services.WSDLConstants.DEFAULT_STYLE; } _local10.transport = _local11.attributes.transport; } else if (_local17.equals(_local4.operationQName)) { var _local20 = _local11.attributes.name; var _local6 = _local10.portType.operations[_local20]; var _local14 = _local11.childNodes; var _local18 = _local14.length; var _local5 = 0; while (_local5 < _local18) { var _local3 = _local14[_local5]; var _local7 = _local3.getQName(); if (_local7.equals(_local4.soapOperationQName)) { var _local12 = _local3.attributes.soapAction; _local6.actionURI = _local12; var _local9 = _local3.attributes.style; if (_local9 == undefined) { _local9 = _local10.style; } _local6.style = _local9; } else if (_local7.equals(_local4.inputQName)) { var _local8 = _local3.getElementsByQName(_local4.soapBodyQName)[0]; var _local2 = new Object(); _local2.use = _local8.attributes.use; _local2.namespaceURI = _local8.attributes.namespace; if (_local2.namespaceURI == undefined) { _local2.namespaceURI = targetNamespace; } _local2.encodingStyle = _local8.attributes.encodingStyle; _local6.inputEncoding = _local2; } else if (_local7.equals(_local4.outputQName)) { var _local8 = _local3.getElementsByQName(_local4.soapBodyQName)[0]; var _local2 = new Object(); _local2.use = _local8.attributes.use; _local2.namespaceURI = _local8.attributes.namespace; if (_local2.namespaceURI == undefined) { _local2.namespaceURI = targetNamespace; } _local2.encodingStyle = _local8.attributes.encodingStyle; _local6.outputEncoding = _local2; } _local5++; } } _local13++; } var _local21 = document.getElementsByQName(_local4.bindingQName); var _local15 = 0; while (_local15 < _local21.length) { _local19 = _local21[_local15]; var _local16 = _local19.attributes.name; if (bindingName != _local16) { } else { _local10.name = _local16; } _local15++; } return(_local10); } function parsePortType(portTypeName, document) { log.logDebug("Parsing portType: " + portTypeName); var _local19 = wsdlDocs[portTypeName.namespaceURI]; if (_local19 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedNamespace", ("The WSDL parser had no registered document for the namespace '" + portTypeName.namespaceURI) + "'"); return(undefined); } var _local18 = _local19.getPortTypeElement(portTypeName.localPart); if (_local18 == undefined) { 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 _local13 = new Object(); var _local7 = constants; _local13.name = _local18.attributes.name; _local13.operations = new Object(); var _local14 = _local18.getElementsByQName(_local7.operationQName); var _local15 = _local14.length; var _local9 = 0; while (_local9 < _local15) { var _local11 = _local14[_local9]; var _local2 = new mx.services.WSDLOperation(_local11.attributes.name, this, document); var _local10 = _local11.childNodes; var _local12 = _local10.length; var _local5 = 0; while (_local5 < _local12) { var _local3 = _local10[_local5]; var _local4 = _local3.getQName(); if (_local4.equals(_local7.documentationQName)) { _local2.documentation = _local3.childNodes[0]; } else { var _local8 = _local3.attributes.message; var _local6 = _local3.getQNameFromString(_local8); if (_local4.equals(_local7.inputQName)) { _local2.inputMessage = _local6; } else if (_local4.equals(_local7.outputQName)) { _local2.outputMessage = _local6; } } _local5++; } if (_local13.operations[_local2.name] != undefined) { fault = new mx.services.SOAPFault("WSDL.OverloadedOperation", ("The WSDL contains an overloaded operation (" + _local2.name) + ") - we do not currently support this usage."); return(undefined); } _local13.operations[_local2.name] = _local2; _local9++; } return(_local13); } function parseMessage(messageName, operationName, mode, document) { log.logDebug("Parsing message: " + messageName); var _local22 = wsdlDocs[messageName.namespaceURI]; if (_local22 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedNamespace", ("The WSDL parser had no registered document for the namespace '" + messageName.namespaceURI) + "'"); return(undefined); } var _local21 = _local22.getMessageElement(messageName.localPart); if (_local21 == undefined) { 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 _local23 = constants; var _local3 = new Object(); _local3.name = _local21.attributes.name; if (_local3.name == undefined) { if (mode == mx.services.SOAPConstants.MODE_IN) { _local3.name = operationName + "Request"; } else { _local3.name == (operationName + "Response"); } } log.logDebug("Message name is " + _local3.name); var _local18 = _local21.getElementsByQName(_local23.parameterQName); var _local16 = _local18.length; _local3.parameters = new Array(); var _local8 = 0; while (_local8 < _local16) { var _local5 = _local18[_local8]; var _local14 = _local5.attributes.name; var _local2; var _local12; if (_local5.attributes.element != undefined) { var _local10 = _local5.attributes.element; var _local13 = _local5.getQNameFromString(_local10); var _local7 = schemas.getElementByQName(_local13); if (schemas.fault != undefined) { fault = schemas.fault; return(undefined); } if (_local7 == undefined) { fault = new mx.services.SOAPFault("WSDL.BadElement", ("Element " + _local10) + " not resolvable"); return(undefined); } _local2 = _local7.schemaType; _local12 = _local13; if ((_local16 == 1) && (operationName == _local13.localPart)) { for (var _local17 in _local2.partTypes) { var _local4 = _local2.partTypes[_local17]; var _local6 = new mx.services.QName(_local17, _local4.namespace); var _local15 = new mx.services.SOAPParameter(_local17, _local4.schemaType, mode, _local6); _local3.parameters.push(_local15); _local3.targetNamespace = _local13.namespaceURI; } _local3.isWrapped = true; if (_local7.form == "qualified") { _local3.isQualified = true; } break; } } else { var _local9 = _local5.attributes.type; var _local13 = _local5.getQNameFromString(_local9); _local2 = schemas.getTypeByQName(_local13); if (schemas.fault != undefined) { fault = schemas.fault; return(undefined); } if (_local2 == undefined) { fault = new mx.services.SOAPFault("WSDL.BadType", ("Type " + _local9) + " not resolvable"); return(undefined); } } var _local15 = new mx.services.SOAPParameter(_local14, _local2, mode, _local12); _local3.parameters.push(_local15); _local8++; } return(_local3); } }
Symbol 53 MovieClip [__Packages.mx.services.WSDLDocument] Frame 0
class mx.services.WSDLDocument { var xmlDoc, targetNamespace, bindingElements, portTypeElements, messageElements, serviceElements; function WSDLDocument (document, wsdl) { xmlDoc = document; var _local8 = document.firstChild; var _local6 = wsdl.constants; var _local9 = _local8.getQName(); if (!_local9.equals(_local6.definitionsQName)) { wsdl.fault = new mx.services.SOAPFault("Server", "Faulty WSDL format", "Definitions must be the first element in a WSDL document"); return; } targetNamespace = _local8.attributes.targetNamespace; bindingElements = new Object(); portTypeElements = new Object(); messageElements = new Object(); serviceElements = new Object(); var _local3 = _local8.childNodes; var _local2 = 0; while (_local2 < _local3.length) { var _local4 = _local3[_local2].getQName(); var _local5 = _local3[_local2].attributes.name; if (_local4.equals(_local6.bindingQName)) { bindingElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.portTypeQName)) { portTypeElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.messageQName)) { messageElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.serviceQName)) { serviceElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.typesQName)) { wsdl.parseSchemas(_local3[_local2]); } _local2++; } } function getBindingElement(name) { return(bindingElements[name]); } function getMessageElement(name) { return(messageElements[name]); } function getPortTypeElement(name) { return(portTypeElements[name]); } function getServiceElement(name) { return(serviceElements[name]); } }
Symbol 54 MovieClip [__Packages.mx.services.WSDLOperation] Frame 0
class mx.services.WSDLOperation { var name, wsdl, document, input, inputMessage, output, outputMessage; function WSDLOperation (name, wsdl, document) { this.name = name; this.wsdl = wsdl; this.document = document; } function parseMessages() { var _local2 = wsdl; input = _local2.parseMessage(inputMessage, name, mx.services.SOAPConstants.MODE_IN, document); output = _local2.parseMessage(outputMessage, name, mx.services.SOAPConstants.MODE_OUT, document); } }
Symbol 55 MovieClip [__Packages.mx.services.SOAPParameter] Frame 0
class mx.services.SOAPParameter { var name, schemaType, mode, qname; function SOAPParameter (name, schemaType, mode, qname) { this.name = name; this.schemaType = schemaType; this.mode = ((mode == undefined) ? (mx.services.SOAPConstants.MODE_IN) : (mode)); this.qname = qname; } }
Symbol 56 MovieClip [__Packages.mx.services.PendingCall] Frame 0
class mx.services.PendingCall { var myCall, soapConstants, log, timeoutFunc, timerID, request, requestHeaders, _multiRefs, fault, response, __handleFault, onFault, responseHeaders, onHeaders, onResult, __handleResult, bodyNode, onHeader; function PendingCall (myCall) { this.myCall = myCall; soapConstants = myCall.soapConstants; log = myCall.log; doLazyDecoding = myCall.doLazyDecoding; doDecoding = myCall.doDecoding; } function setTimeout(timeoutMS) { timeoutFunc = function () { clearInterval(this.timerID); this.timerID = undefined; var _local2 = new mx.services.SOAPFault("Timeout", ("Timeout while calling method " + this.myCall.operationName) + "!"); this.onFault(_local2); }; timerID = setInterval(this, "timeoutFunc", timeoutMS); } function cancel() { if (timerID != undefined) { clearInterval(timerID); } cancelled = true; } function encode() { log.logInfo("Encoding SOAPCall request", mx.services.Log.VERBOSE); encodeHTTPRequest(); encodeSOAPEnvelope(); } function encodeHTTPRequest() { log.logDebug("Creating HTTP request object"); var _local2 = new XML(); _local2.ignoreWhite = true; _local2.contentType = soapConstants.contentType; _local2.xmlDecl = mx.services.SOAPConstants.XML_DECLARATION; _local2.addRequestHeader("SOAPAction", ("\"" + myCall.actionURI) + "\""); request = _local2; } function encodeSOAPEnvelope() { log.logDebug("Encoding SOAP request envelope"); var _local3 = request; var _local4 = myCall.schemaVersion; var _local5 = soapConstants.envelopeQName; var _local2 = _local3.createElement((mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":") + _local5.localPart); _local2.attributes["xmlns:" + mx.services.SOAPConstants.SOAP_ENV_PREFIX] = soapConstants.ENVELOPE_URI; _local2.attributes["xmlns:" + mx.services.SOAPConstants.XML_SCHEMA_PREFIX] = _local4.xsdURI; _local2.attributes["xmlns:" + mx.services.SOAPConstants.XML_SCHEMA_INSTANCE_PREFIX] = _local4.xsiURI; _local3.appendChild(_local2); _local3.soapEnvelope = _local2; encodeSOAPHeader(); encodeSOAPBody(); } function encodeSOAPHeader() { var _local7 = request; var _local6 = request.soapEnvelope; var _local3 = requestHeaders; if (_local3.length > 0) { var _local4 = _local7.createElement((mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":") + soapConstants.headerQName.localPart); _local6.appendChild(_local4); var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { _local4.appendChild(_local3[_local2].element); _local2++; } } } function encodeSOAPBody() { log.logDebug("Encoding SOAP request body"); var _local2 = request; var _local3 = myCall; var _local5 = _local3.operationName; var _local7 = _local3.targetNamespace; var _local6 = _local3.soapConstants; var _local9 = _local2.soapEnvelope; _local2.soapEnvelope = null; var _local8 = _local6.bodyQName; var _local4 = _local2.createElement((mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":") + _local8.localPart); _local9.appendChild(_local4); if (!_local3.useLiteralBody) { if (_local3.operationStyle != mx.services.SOAPConstants.DOC_STYLE) { if ((_local3.operationStyle == mx.services.SOAPConstants.WRAPPED_STYLE) && (_local3.elementFormQualified)) { _local2.soapOperation = _local2.createElement(_local5); _local2.soapOperation.attributes.xmlns = _local7; } else { var _local10 = getStringFromQName(_local4, new mx.services.QName(_local5, _local7)); _local2.soapOperation = _local2.createElement(_local10); if (_local3.useStyle == mx.services.SOAPConstants.USE_ENCODED) { _local2.soapOperation.attributes[mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":encodingStyle"] = _local6.ENCODING_URI; } } _local4.appendChild(_local2.soapOperation); } else { _local2.soapOperation = _local4; } } } function addHeader(headerElement) { log.logDebug("Adding header: " + headerElement.nodeName); if (requestHeaders == undefined) { requestHeaders = new Array(); } requestHeaders.push(new mx.services.SOAPHeader(headerElement)); } function getOrCreatePrefix(node, namespaceURI, preferredPrefix) { if ((namespaceURI == undefined) || (namespaceURI == "")) { var _local5 = node.getNamespaceForPrefix(""); if ((_local5 != undefined) && (_local5 != "")) { node.attributes.xmlns = ""; node.registerNamespace("", ""); } return(""); } var _local2 = node.getPrefixForNamespace(namespaceURI); var _local6 = false; if (_local2 == undefined) { if (preferredPrefix == undefined) { request.nscount++; _local2 = "ns" + request.nscount; } else { _local2 = preferredPrefix; } _local6 = true; } if (_local6) { if (_local2 != "") { node.attributes["xmlns:" + _local2] = namespaceURI; } else { node.attributes.xmlns = namespaceURI; } node.registerPrefix(_local2, namespaceURI); } return(_local2); } function getStringFromQName(node, qname) { var _local2 = getOrCreatePrefix(node, qname.namespaceURI); if (_local2 != "") { return((_local2 + ":") + qname.localPart); } return(qname.localPart); } function encodeParam(paramName, paramType, parentNode, qname) { var _local2; var _local4 = request; var _local12 = mx.services.SOAPConstants.SCHEMA_INSTANCE_TYPE; if (paramType.typeType == mx.services.DataType.ARRAY_TYPE) { if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { _local2 = _local4.createElement((mx.services.SOAPConstants.SOAP_ENC_PREFIX + ":") + paramName); _local2.attributes["xmlns:" + mx.services.SOAPConstants.SOAP_ENC_PREFIX] = soapConstants.ENCODING_URI; parentNode.appendChild(_local2); _local2.nodeName = paramName; var _local6 = paramType.arrayType; var _local8 = mx.services.SOAPConstants.ARRAY_TYPE_PQNAME; var _local11 = getOrCreatePrefix(_local2, _local6.namespaceURI); _local2.attributes[_local8] = (_local11 + ":") + _local6.name; } else { _local2 = _local4.createElement(paramName); parentNode.appendChild(_local2); if (qname != undefined) { _local2.nodeName = getStringFromQName(_local2, qname); } } } else if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var _local9 = getStringFromQName(parentNode, new mx.services.QName(paramName, paramType.namespaceURI)); _local2 = _local4.createElement(_local9); parentNode.appendChild(_local2); _local2.nodeName = paramName; } else { _local2 = _local4.createElement(paramName); parentNode.appendChild(_local2); if (qname != undefined) { _local2.nodeName = getStringFromQName(_local2, qname); } } return(_local2); } function encodeParamValue(valueObj, valueType, elementNode, document) { var _local28 = mx.services.SOAPConstants.SCHEMA_INSTANCE_TYPE; if (valueType.typeType == mx.services.DataType.ARRAY_TYPE) { var _local20 = valueType.arrayType; var _local19 = valueObj.length; if ((myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) && (valueType.isEncodedArray == true)) { var _local11 = valueType; var _local4 = ""; var _local21 = true; while (_local11.typeType == mx.services.DataType.ARRAY_TYPE) { var _local3 = _local11.dimensions; if (_local3.length > 1) { var _local9 = 0; while (_local9 < _local3.length) { if (_local9 > 0) { _local4 = _local4 + ","; } _local4 = _local4 + _local3[_local9]; _local9++; } } else if (_local21) { _local4 = _local4 + (("[" + _local19) + "]"); _local21 = false; } else { _local4 = _local4 + "[]"; } _local11 = _local11.arrayType; } elementNode.attributes[mx.services.SOAPConstants.ARRAY_TYPE_PQNAME] = getStringFromQName(elementNode, valueType.qname) + _local4; elementNode.attributes[_local28] = mx.services.SOAPConstants.ARRAY_PQNAME; } var _local9 = 0; while (_local9 < _local19) { var _local18 = getStringFromQName(elementNode, valueType.itemElement); var _local13 = document.createElement(_local18); var _local22 = elementNode.getPrefixForNamespace(_local20.namespaceURI); elementNode.appendChild(_local13); encodeParamValue(valueObj[_local9], _local20, _local13, document); _local9++; } return(undefined); } if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var _local26; var _local29 = true; if (valueType == undefined) { valueType = valueObj.__dataType; } if ((valueType == undefined) || (valueType.typeType == mx.services.DataType.ANY_TYPE)) { var _local27 = typeof(valueObj); var _local25; if (_local27 == "number") { _local25 = "double"; } else if (_local27 == "object") { if (valueObj instanceof Date) { _local25 = "dateTime"; valueType = myCall.schemaVersion.dateTimeType; } else { valueType = mx.services.DataType.objectType; _local29 = false; } } else { _local25 = "string"; } var _local30 = getOrCreatePrefix(elementNode, myCall.schemaVersion.xsdURI); _local26 = (_local30 + ":") + _local25; } else if (!valueType.isAnonymous) { var _local30 = getOrCreatePrefix(elementNode, valueType.namespaceURI); _local26 = (_local30 + ":") + valueType.name; } if (_local29 && (_local26 != undefined)) { elementNode.attributes[_local28] = _local26; } } if (valueType.typeType == mx.services.DataType.MAP_TYPE) { encodeMap(valueObj, elementNode, document); } else { if (valueType.partTypes != undefined) { for (var _local24 in valueType.partTypes) { var _local6 = valueType.partTypes[_local24]; var _local8 = valueObj[_local24]; var _local17 = new mx.services.QName(_local24, _local6.namespace); if (_local6.isAttribute) { elementNode.attributes[_local24] = _local8; } else { var _local16 = encodeParam(_local24, _local6.schemaType, elementNode, _local17); if (_local8 != undefined) { encodeParamValue(_local8, _local6.schemaType, _local16, document); } } } if (valueType.simpleValue != undefined) { var _local33 = document.createTextNode(valueObj._value); elementNode.appendChild(_local33); } return(undefined); } if (valueType.typeType == mx.services.DataType.DATE_TYPE) { var _local34 = encodeDate(valueObj, valueType); var _local31 = document.createTextNode(_local34); elementNode.appendChild(_local31); return(undefined); } if (valueType.typeType == mx.services.DataType.OBJECT_TYPE) { for (var _local23 in valueObj) { var _local14 = valueObj[_local23]; var _local12 = _local14.__dataType; var _local15 = encodeParam(_local23, _local12, elementNode); encodeParamValue(_local14, _local12, _local15, document); } return(undefined); } var _local32 = document.createTextNode(valueObj.toString()); elementNode.appendChild(_local32); } } function setupBodyXML(bodyXML) { request.appendChild(bodyXML); } function setupParams(inputParams) { var _local9 = myCall.parameters; var _local10 = _local9.length; var _local3 = 0; while (_local3 < _local10) { var _local2 = _local9[_local3]; var _local4 = _local2.schemaType; var _local6; if (_local2.mode != mx.services.SOAPConstants.MODE_OUT) { var _local8 = encodeParam(_local2.name, _local4, request.soapOperation, _local2.qname); if (inputParams instanceof Array) { _local6 = inputParams[_local3]; } else { _local6 = inputParams[_local2.name]; } var _local5 = _local4.schemaType; if (_local5 == undefined) { _local5 = _local4; } encodeParamValue(_local6, _local5, _local8, request); } _local3++; } request.soapOperation = null; _multiRefs = null; } function encodeMap(obj, mapNode, document) { for (var _local8 in obj) { var _local2 = document.createElement("item"); var _local4 = document.createElement("key"); _local2.appendChild(_local4); encodeParamValue(_local8, undefined, _local4, document); var _local5 = document.createElement("value"); _local2.appendChild(_local5); encodeParamValue(obj[_local8], undefined, _local5, document); mapNode.appendChild(_local2); } } function encodeDate(rawDate, dateType) { var _local1 = new String(); if ((dateType.name == "dateTime") || (dateType.name == "date")) { _local1 = _local1.concat(rawDate.getUTCFullYear(), "-"); var _local2 = rawDate.getUTCMonth() + 1; if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, "-"); _local2 = rawDate.getUTCDate(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2); } if (dateType.name == "dateTime") { _local1 = _local1.concat("T"); } if ((dateType.name == "dateTime") || (dateType.name == "time")) { var _local2 = rawDate.getUTCHours(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, ":"); _local2 = rawDate.getUTCMinutes(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, ":"); _local2 = rawDate.getUTCSeconds(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, "."); _local2 = rawDate.getUTCMilliseconds(); if (_local2 < 10) { _local1 = _local1.concat("00"); } else if (_local2 < 100) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2); } _local1 = _local1.concat("Z"); return(_local1); } function decode(assert, response, callbackMethod) { log.logInfo("Decoding SOAPCall response", mx.services.Log.VERBOSE); var _local4; if (!assert) { var _local3 = new mx.services.SOAPFault(); _local3.faultcode = "Server.Connection"; _local3.faultstring = "Unable to connect to endpoint: " + myCall.endpointURI; _local3.faultactor = myCall.targetNamespace; fault = _local3; log.logDebug("No response received from remote service"); } else { _local4 = decodeSOAPEnvelope(response); if (log.level > mx.services.Log.BRIEF) { this.response._decodeTimeMark = new Date(); this.response._decodeTime = Math.round(this.response._decodeTimeMark - this.response._parseTimeMark); log.logInfo(("Decoded SOAP response into result [" + this.response._decodeTime) + " millis]"); } } if (fault != undefined) { __handleFault(fault); onFault(fault, response); myCall.onFault(fault, response); } else { if (responseHeaders != undefined) { onHeaders(responseHeaders, response); } onResult(_local4, response); myCall.onResult(_local4, response); __handleResult(_local4); } this[callbackMethod](_local4, response); } function decodeSOAPEnvelope(response) { log.logDebug("Decoding SOAP response envelope"); var _local4; var _local11 = soapConstants; var _local7 = response.firstChild; if (_local7.getNamespaceURI() != soapConstants.ENVELOPE_URI) { var _local12 = new mx.services.SOAPFault(); _local12.faultcode = "VersionMismatch"; _local12.faultstring = (("Request implements version: " + soapConstants.ENVELOPE_URI) + " Response implements version ") + _local7.getNamespaceURI(); fault = _local12; } else { var _local13 = _local7.getPrefixForNamespace(_local11.ENVELOPE_URI); var _local10 = _local7.getPrefixForNamespace(myCall.schemaVersion.xsiURI); var _local14 = _local7.getPrefixForNamespace(myCall.schemaVersion.xsdURI); var _local6 = new mx.services.PrefixedQName(_local13, _local11.headerQName); var _local8 = new mx.services.PrefixedQName(_local13, _local11.bodyQName); var _local15 = new mx.services.PrefixedQName(_local13, _local11.faultQName); var _local5 = _local7.childNodes; var _local9 = _local5.length; var _local3 = 0; while (_local3 < _local9) { var _local2 = _local5[_local3]; if (_local2.nodeName == _local6.qualifiedName) { responseHeaders = decodeSOAPHeaders(_local2); } else if ((fault == undefined) && (_local2.nodeName == _local8.qualifiedName)) { bodyNode = _local2; if (doDecoding) { _local4 = decodeSOAPBody(_local2, _local10); } else { _local4 = _local2.childNodes; } } _local3++; } } return(_local4); } function decodeSOAPHeaders(headerNode) { log.logDebug("Decoding SOAP response headers"); var _local6 = new Array(); var _local7 = headerNode.childNodes; var _local8 = _local7.length; var _local4 = 0; while (_local4 < _local8) { var _local2 = _local7[_local4]; var _local5 = _local2.attributes.mustUnderstand; if (_local5 == "1") { if (typeof(onHeader) != "function") { var _local3 = new mx.services.SOAPFault(); _local3.faultcode = "MustUnderstand"; _local3.faultstring = "No callback for header " + _local2.nodeName; fault = _local3; break; } } _local6.push(_local2); _local4++; } return(_local6); } function decodeSOAPBody(bodyNode, xsiPrefix) { log.logDebug("Decoding SOAP response body"); var _local6; var _local8 = bodyNode.childNodes[0]; if (_local8.getLocalName() == soapConstants.faultQName.localPart) { fault = decodeSOAPFault(_local8); } else if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var _local9 = _local8.childNodes; var _local10 = _local9.length; var _local2 = 0; while (_local2 < _local10) { var _local3 = _local9[_local2]; var _local7 = getOutputParameter(_local2); var _local4 = decodeResultNode(_local3, _local7.schemaType); _local7.value = _local4; if (_local2 == 0) { _local6 = _local4; } _local2++; } } else { var _local7 = getOutputParameterByQName(_local8.getQName()); if (myCall.operationStyle == mx.services.SOAPConstants.WRAPPED_STYLE) { for (var _local11 in _local7.schemaType.partTypes) { var _local5 = _local7.schemaType.partTypes[_local11]; var _local4 = decodeResultNode(_local8.childNodes[0], _local5.schemaType); _local6 = _local4; } } else { _local6 = decodeResultNode(_local8, _local7.schemaType); _local7.value = _local6; } } return(_local6); } function decodeResultNode(resultNode, schemaType, preExistingResult) { var _local5; var _local17 = resultNode.attributes.href; if (_local17 != undefined) { resultNode = decodeRef(bodyNode, _local17); if (resultNode == undefined) { } } var _local13 = myCall.schemaVersion; for (var _local15 in resultNode.attributes) { var _local10 = resultNode.getQNameFromString(_local15); if (_local13.nilQName.equals(_local10)) { var _local7 = resultNode.attributes[_local15]; if ((_local7 == "true") || (_local7 == "1")) { return(null); } } } if ((schemaType == undefined) || (schemaType.typeType == mx.services.DataType.ANY_TYPE)) { schemaType = getTypeFromNode(resultNode); } if (schemaType.typeType == mx.services.DataType.ARRAY_TYPE) { _local5 = decodeArrayNode(resultNode, schemaType.arrayType); } else if (schemaType.typeType == mx.services.DataType.COLL_TYPE) { _local5 = decodeCollectionNode(resultNode, schemaType.arrayType, preExistingResult); } else if (schemaType.typeType == mx.services.DataType.XML_TYPE) { _local5 = resultNode; } else if (schemaType.typeType == mx.services.DataType.MAP_TYPE) { _local5 = decodeMap(resultNode); } else if (schemaType.typeType == mx.services.DataType.ROWSET_TYPE) { _local5 = decodeRowSet(resultNode); } else if (schemaType.typeType == mx.services.DataType.QBEAN_TYPE) { _local5 = decodeQueryBean(resultNode); } else if (schemaType.partTypes != undefined) { _local5 = new Object(); var _local2; for (_local2 in schemaType.partTypes) { if (schemaType.partTypes[_local2].isAttribute) { _local5[_local2] = resultNode.attributes[_local2]; } } if (schemaType.simpleValue == undefined) { var _local12 = resultNode.childNodes; _local2 = 0; while (_local2 < _local12.length) { var _local8 = _local12[_local2]; var _local6 = _local8.getLocalName(); var _local9 = schemaType.partTypes[_local6]; if (_local9 == undefined) { } var _local11 = _local5[_local6]; _local5[_local6] = decodeResultNode(_local8, _local9.schemaType, _local11); _local2++; } } else { _local5._value = decodeResultNode(resultNode, schemaType.simpleValue); } } else if (resultNode.childNodes.length == 0) { if (schemaType.typeType == mx.services.DataType.STRING_TYPE) { _local5 = ""; } else { _local5 = null; } } else if ((resultNode.childNodes.length == 1) && (resultNode.childNodes[0].nodeType == 3)) { var _local14 = resultNode.childNodes[0]; var _local18 = schemaType.typeType; if (schemaType.typeType == mx.services.DataType.BOOLEAN_TYPE) { var _local16 = _local14.nodeValue; if ((_local16.toLowerCase() == "true") || (_local16 == "1")) { _local5 = true; } else { _local5 = false; } } else if (schemaType.typeType == mx.services.DataType.DATE_TYPE) { _local5 = decodeDate(_local14.nodeValue); } else if (schemaType.typeType == mx.services.DataType.NUMBER_TYPE) { _local5 = Number(_local14.nodeValue); } else { _local5 = _local14.nodeValue; } } else { _local5 = resultNode; } return(_local5); } function decodeRef(rootNode, id) { id = id.substring(1); if (_multiRefs == null) { _multiRefs = new Object(); var _local5 = rootNode.childNodes; var _local6 = _local5.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local5[_local2]; var _local4 = _local3.attributes.id; if (_local4 != undefined) { _multiRefs[_local4] = _local3; } _local2++; } } return(_multiRefs[id]); } function decodeArrayNode(node, arrayType) { return(((myCall.useStyle == mx.services.SOAPConstants.USE_LITERAL) ? (decodeLiteralArrayNode(node, arrayType)) : (decodeSOAPArrayNode(node, arrayType)))); } function decodeLiteralArrayNode(node, arrayType) { if (doLazyDecoding) { return(new mx.services.ArrayProxy(node.childNodes, this, arrayType)); } var _local4 = new Array(); var _local3 = node.childNodes; var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { _local4.push(decodeResultNode(_local3[_local2], arrayType)); _local2++; } return(_local4); } function decodeCollectionNode(node, arrayType, arrayObj) { if (arrayObj == undefined) { arrayObj = new Array(); } arrayObj.push(decodeResultNode(node, arrayType)); return(arrayObj); } function decodeSOAPArrayNode(node, arrayType) { var _local9 = new Array(); var _local4 = node.getAttributeByQName(soapConstants.soapencArrayTypeQName); if (_local4 == undefined) { var _local7 = decodeLiteralArrayNode(node, arrayType); return(_local7); } var _local2 = myCall.schemaContext.getTypeByQName(node.getQNameFromString(_local4)); if (_local2 != undefined) { arrayType = _local2; } var _local6 = new Array(1); _local6[0] = 0; var _local8 = decodeArrayContents(node.childNodes, _local6, arrayType.dimensions, 0, arrayType); return(_local8); } function decodeArrayContents(arrayMemberNodes, linearIdxHolder, dimensions, dimensionIdx, arrayType) { var _local4 = dimensions[dimensionIdx]; var _local3 = new Array(); if (dimensionIdx == (dimensions.length - 1)) { var _local2 = 0; while (_local2 < _local4) { _local3[_local2] = decodeResultNode(arrayMemberNodes[linearIdxHolder[0]++], arrayType.arrayType); _local2++; } } else { var _local2 = 0; while (_local2 < _local4) { _local3[_local2] = decodeArrayContents(arrayMemberNodes, linearIdxHolder, dimensions, dimensionIdx + 1, arrayType.arrayType); _local2++; } } return(_local3); } function decodeRowSet(rowSetNode) { var _local10 = new Array(); var _local7 = new Array(); var _local6 = new Array(); var _local9 = rowSetNode.childNodes[0].childNodes; var _local12 = _local9.length; var _local2 = 0; while (_local2 < _local12) { var _local3 = _local9[_local2]; var _local5 = _local3.attributes.type; if (_local5 == undefined) { return(undefined); } var _local4 = _local3.getQNameFromString(_local5); if (_local4 == undefined) { return(undefined); } _local7[_local2] = myCall.schemaContext.getTypeByQName(_local4); _local6[_local2] = _local3.childNodes[0].nodeValue; _local2++; } var _local8 = rowSetNode.childNodes[1].childNodes; var _local11 = _local8.length; if (doLazyDecoding) { return(new mx.services.RowSetProxy(this, _local8, _local7, _local6)); } _local2 = 0; while (_local2 < _local11) { _local10[_local2] = decodeRowSetItem(_local8[_local2], _local7, _local6); _local2++; } return(_local10); } function decodeQueryBean(beanNode) { var _local10 = new Array(); var _local4 = new Array(); var _local9 = beanNode.getElementsByLocalName("columnList")[0]; if (_local9 == undefined) { return(undefined); } var _local11 = _local9.childNodes.length; var _local3 = 0; while (_local3 < _local11) { var _local7 = _local9.childNodes[_local3]; _local4[_local3] = _local7.childNodes[0].nodeValue; _local3++; } var _local12 = beanNode.getElementsByLocalName("data")[0]; if (_local12 == undefined) { return(undefined); } var _local8 = decodeSOAPArrayNode(_local12); _local3 = 0; while (_local3 < _local8.length) { var _local6 = _local8[_local3]; var _local5 = new Object(); var _local2 = 0; while (_local2 < _local4.length) { _local5[_local4[_local2]] = _local6[_local2]; _local2++; } _local10[_local3] = _local5; _local3++; } return(_local10); } function decodeRowSetItem(itemNode, types, fields) { var _local6 = itemNode.childNodes; var _local4 = new Object(); var _local5 = types.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = _local6[_local2]; _local4[fields[_local2]] = decodeResultNode(_local3, types[_local2]); _local2++; } return(_local4); } function decodeMap(node) { var _local9 = new Object(); var _local8 = node.childNodes; var _local5 = 0; while (_local5 < _local8.length) { var _local4 = _local8[_local5].childNodes; var _local6; var _local7; var _local3 = 0; while (_local3 < _local4.length) { var _local2 = _local4[_local3]; if (_local2.nodeName == "key") { _local6 = decodeResultNode(_local2); } else if (_local2.nodeName == "value") { _local7 = decodeResultNode(_local2); } _local3++; } _local9[_local6] = _local7; _local5++; } return(_local9); } function getTypeFromNode(node) { var _local3 = node.attributes["xsi:type"]; if (_local3 == undefined) { return(undefined); } var _local2 = node.getQNameFromString(_local3); if (_local2 == undefined) { return(undefined); } return(myCall.schemaContext.getTypeByQName(_local2)); } function decodeDate(rawValue) { var _local4; var _local2; var _local1; var _local8 = rawValue.indexOf("T"); var _local14 = rawValue.indexOf(":"); var _local15 = rawValue.indexOf("-"); if (_local8 != -1) { _local2 = rawValue.substring(0, _local8); _local1 = rawValue.substring(_local8 + 1); } else if (_local14 != -1) { _local1 = rawValue; } else if (_local15 != -1) { _local2 = rawValue; } if (_local2 != undefined) { var _local13 = _local2.substring(0, _local2.indexOf("-")); var _local12 = _local2.substring(5, _local2.indexOf("-", 5)); var _local9 = _local2.substring(8, 10); _local4 = new Date(Date.UTC(_local13, _local12 - 1, _local9)); } else { _local4 = new Date(); } if (_local1 != undefined) { var _local3 = "Z"; var _local6 = 0; if (_local2.length > 10) { _local3 = _local2.substring(10); } else if (_local1.length > 12) { _local3 = _local1.substring(12); } if (_local3 != "Z") { var _local7 = _local3.length; _local6 = _local3.substring(_local7 - 5, _local7 - 3); if (_local3.charAt(_local7 - 6) == "+") { _local6 = -_local6; } } var _local16 = Number(_local1.substring(0, _local1.indexOf(":"))); var _local17 = _local1.substring(3, _local1.indexOf(":", 3)); var _local10 = _local1.substring(6, _local1.indexOf(".", 6)); var _local11 = _local1.substr(9, 3); _local4.setUTCHours(_local16, _local17, _local10, _local11); _local4 = new Date(_local4.getTime() + (_local6 * 3600000)); } return(_local4); } function decodeSOAPFault(faultNode) { log.logDebug("SOAP: Decoding SOAP response fault"); var _local4 = new mx.services.SOAPFault(); _local4.element = faultNode; var _local5 = faultNode.childNodes; var _local6 = _local5.length; var _local3 = 0; while (_local3 < _local6) { var _local2 = _local5[_local3]; if (_local2.nodeName == "faultcode") { _local4.faultcode = _local2.childNodes[0].toString(); } else if (_local2.nodeName == "faultstring") { _local4.faultstring = _local2.childNodes[0].toString(); } else if (_local2.nodeName == "faultactor") { _local4.faultactor = _local2.childNodes[0].toString(); } else if (_local2.nodeName == "detail") { _local4.detail = _local2; } _local3++; } return(_local4); } function getOutputParameter(index) { return(getOutputParameters()[index]); } function getOutputParameterByName(localName) { var _local4 = getOutputParameters(); var _local5 = _local4.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = _local4[_local2]; if (_local3.name == localName) { return(_local3); } _local2++; } } function getOutputParameterByQName(qname) { var _local4 = getOutputParameters(); var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2].qname; if (_local3 != undefined) { if ((_local3.localPart == qname.localPart) && (_local3.namespaceURI == qname.namespaceURI)) { return(_local4[_local2]); } } _local2++; } } function getOutputParameters() { var _local5 = new Array(); var _local4 = myCall.parameters; var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2]; if (_local3.mode != mx.services.SOAPConstants.MODE_IN) { _local5.push(_local3); } _local2++; } return(_local5); } function getOutputValue(index) { return(getOutputValues()[index]); } function getOutputValues() { var _local5 = new Array(); var _local4 = myCall.parameters; var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2]; if (_local3.mode != mx.services.SOAPConstants.MODE_IN) { _local5.push(_local3.value); } _local2++; } return(_local5); } function getInputParameter(index) { return(getInputParameters()[index]); } function getInputParameters() { var _local5 = new Array(); var _local4 = myCall.parameters; var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2]; if (_local3.mode != mx.services.SOAPConstants.MODE_OUT) { _local5.push(_local3); } _local2++; } return(_local5); } var doLazyDecoding = true; var doDecoding = true; var cancelled = false; }
Symbol 57 MovieClip [__Packages.mx.services.SOAPCall] Frame 0
class mx.services.SOAPCall { var log, operationName, targetNamespace, endpointURI, parameters, concurrency, timeout, version, schemaContext, schemaVersion, soapConstants, doLazyDecoding, doDecoding, operationStyle, useStyle, encodingStyle, actionURI, request, wsdlOperation, elementFormQualified, currentlyActive; function SOAPCall (operationName, targetNamespace, endpointURI, logObj, operationStyle, useStyle, encodingStyle, soapAction, soapVersion, schemaContext) { log = logObj; log.logInfo("Creating SOAPCall for " + operationName, mx.services.Log.VERBOSE); log.logDebug("SOAPCall endpoint URI: " + endpointURI); this.operationName = operationName; this.targetNamespace = targetNamespace; this.endpointURI = endpointURI; parameters = new Array(); concurrency = MULTIPLE_CONCURRENCY; timeout = undefined; version = ((soapVersion == undefined) ? (mx.services.SOAPConstants.DEFAULT_VERSION) : (soapVersion)); this.schemaContext = schemaContext; var _local2 = schemaContext.schemaVersion; schemaVersion = ((_local2 == undefined) ? (mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2001)) : (_local2)); soapConstants = mx.services.SOAPConstants.getConstants(version); doLazyDecoding = true; 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) ? (soapConstants.ENCODING_URI) : (encodingStyle)); actionURI = (((soapAction == undefined) || (soapAction == "")) ? ((this.targetNamespace + "/") + this.operationName) : (soapAction)); log.logInfo("Successfully created SOAPCall", mx.services.Log.VERBOSE); } function addParameter(soapParam) { parameters.push(soapParam); } function invoke() { if (request == undefined) { return(undefined); } return(asyncInvoke(request, "onLoad")); } function asyncInvoke(args, callbackMethod) { var callback = (new mx.services.PendingCall(this)); if (!initialized) { wsdlOperation.parseMessages(); if (wsdlOperation.input.isWrapped) { operationStyle = mx.services.SOAPConstants.WRAPPED_STYLE; targetNamespace = wsdlOperation.input.targetNamespace; elementFormQualified = wsdlOperation.input.isQualified; } if (wsdlOperation.wsdl.fault != undefined) { triggerDelayedFault(callback, wsdlOperation.wsdl.fault); return(callback); } var _local4 = wsdlOperation.input.parameters; var _local7 = _local4.length; var _local2 = 0; while (_local2 < _local7) { addParameter(_local4[_local2]); _local2++; } var _local5 = wsdlOperation.output.parameters; var _local8 = _local5.length; _local2 = 0; while (_local2 < _local8) { addParameter(_local5[_local2]); _local2++; } initialized = true; } log.logInfo("Asynchronously invoking SOAPCall: " + operationName); var _local10; if (log.level > mx.services.Log.BRIEF) { _local10 = new Date(); } if ((concurrency != MULTIPLE_CONCURRENCY) && (currentlyActive != undefined)) { if (concurrency == SINGLE_CONCURRENCY) { var _local11 = new mx.services.SOAPFault("ConcurrencyError", ("Attempt to call method " + operationName) + " while another call is pending. Either change concurrency options or avoid multiple calls."); triggerDelayedFault(callback, _local11); return(callback); } currentlyActive.cancel(); } currentlyActive = callback; if (concurrency == SINGLE_CONCURRENCY) { callback.isSingleCall = true; } callback.encode(); callback.callbackMethod = callbackMethod; callback.setupParams(args); var _local6 = new XML(); _local6.ignoreWhite = true; _local6.callback = callback; _local6._startTimeMark = _local10; _local6.onData = function (src) { var _local2 = this.callback; delete this.callback; if (_local2.isSingleCall) { _local2.myCall.currentlyActive = undefined; } if (_local2.timerID != undefined) { clearInterval(_local2.timerID); _local2.timerID = undefined; } if (_local2.cancelled) { return(undefined); } var _local3 = _local2.log.level; if (_local3 > mx.services.Log.BRIEF) { this._networkTimeMark = new Date(); this._networkTime = Math.round(this._networkTimeMark - this._startTimeMark); _local2.log.logInfo(("Received SOAP response from network [" + this._networkTime) + " millis]"); } if (src != undefined) { this.parseXML(src); this.loaded = true; if (_local3 > mx.services.Log.BRIEF) { this._parseTimeMark = new Date(); this._parseTime = Math.round(this._parseTimeMark - this._networkTimeMark); _local2.log.logInfo(("Parsed SOAP response XML [" + this._parseTime) + " millis]"); } } else { this.loaded = false; } _local2.decode.call(_local2, this.loaded, this, _local2.callbackMethod); }; callback.response = _local6; if (timeout != undefined) { callback.setTimeout(timeout); } callback.request.sendAndLoad(endpointURI, _local6, "POST"); log.logInfo("Sent SOAP Request Message", mx.services.Log.VERBOSE); return(callback); } function triggerDelayedFault(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); } static var MULTIPLE_CONCURRENCY = 0; static var SINGLE_CONCURRENCY = 1; static var LAST_CONCURRENCY = 2; var initialized = false; var useLiteralBody = false; }
Symbol 58 MovieClip [__Packages.mx.services.SOAPHeader] Frame 0
class mx.services.SOAPHeader { var element; function SOAPHeader (element) { this.element = element; } }
Symbol 59 MovieClip [__Packages.mx.services.PrefixedQName] Frame 0
class mx.services.PrefixedQName { var prefix, qname, qualifiedName; function PrefixedQName (prefix, qname) { this.prefix = prefix; this.qname = qname; qualifiedName = prefix; if (prefix != "") { qualifiedName = qualifiedName + ":"; } qualifiedName = qualifiedName + qname.localPart; } }
Symbol 60 MovieClip [__Packages.mx.services.ArrayProxy] Frame 0
class mx.services.ArrayProxy extends Array { var xmlNodes, sCall, arrayType, length; function ArrayProxy (xmlNodes, sCall, arrayType) { super(); this.xmlNodes = xmlNodes; this.sCall = sCall; this.arrayType = arrayType; length = xmlNodes.length; } function __resolve(index) { index = Number(index); var _local2 = sCall.decodeResultNode(xmlNodes[index], arrayType); this[index] = _local2; return(_local2); } }
Symbol 61 MovieClip [__Packages.mx.services.RowSetProxy] Frame 0
class mx.services.RowSetProxy extends Array { var sCall, xmlNodes, types, fields, length, views; function RowSetProxy (sCall, xmlNodes, types, fields) { super(); this.sCall = sCall; this.xmlNodes = xmlNodes; this.types = types; this.fields = fields; length = xmlNodes.length; views = new Array(); } function __resolve(index) { index = Number(index); if ((index < 0) || (index > length)) { return(undefined); } var _local3 = sCall.decodeRowSetItem(xmlNodes[index], types, fields); this[index] = _local3; return(_local3); } function getColumnNames() { return(fields); } }
Symbol 62 MovieClip [__Packages.mx.services.Namespace] Frame 0
class mx.services.Namespace { function Namespace () { } static function setup() { if (alreadySetup) { return(undefined); } alreadySetup = true; var _local15 = XMLNode.prototype; if (_local15.getQName == undefined) { _local15.getQName = function () { if (this.prefixedQName != undefined) { return(this.prefixedQName.qname); } var _local2 = this.nodeName; var _local3 = ""; var _local4 = _local2.indexOf(":"); if (_local4 != -1) { _local3 = _local2.substring(0, _local4); _local2 = _local2.substring(_local4 + 1); } var _local6 = this.getNamespaceForPrefix(_local3); var _local5 = new mx.services.QName(_local2, _local6); this.prefixedQName = new mx.services.PrefixedQName(_local3, _local5); return(_local5); }; } if (_local15.setChildValue == undefined) { _local15.setChildValue = function (name, value) { var _local5 = this.attributes[name]; if (_local5 != undefined) { this.attributes[name] = value; return(undefined); } var _local2 = this.getElementsByLocalName(name)[0]; if (_local2 != undefined) { _local2.firstChild.removeNode(); var _local4 = mx.services.Namespace._doc.createTextNode(value); _local2.appendChild(_local4); } }; } if (_local15.setValue == undefined) { _local15.setValue = function (value) { trace("setting value to " + value); this.firstChild.removeNode(); var _local2 = mx.services.Namespace._doc.createTextNode(value); this.appendChild(_local2); }; } if (_local15.getQualifiedName == undefined) { _local15.getQualifiedName = function () { return(this.nodeName); }; } if (_local15.getPrefix == undefined) { _local15.getPrefix = function () { if (this.prefixedQName != undefined) { return(this.prefixedQName.prefix); } var _local2 = this.nodeName; var _local3 = ""; var _local4 = _local2.indexOf(":"); if (_local4 != -1) { _local3 = _local2.substring(0, _local4); } return(_local3); }; } if (_local15.getLocalName == undefined) { _local15.getLocalName = function () { if (this.prefixedQName != undefined) { return(this.prefixedQName.qname.localPart); } var _local2 = this.nodeName; var _local3 = _local2.indexOf(":"); if (_local3 != -1) { _local2 = _local2.substring(_local3 + 1); } return(_local2); }; } if (_local15.getNamespaceURI == undefined) { _local15.getNamespaceURI = function () { return(this.getQName().namespaceURI); }; } if (_local15.loadNSMappings == undefined) { _local15.loadNSMappings = function () { if (this.mappings == undefined) { this.mappings = new Object(); } for (var _local4 in this.attributes) { var _local2 = true; if (_local4.indexOf("xmlns") == 0) { if (_local4.charAt(5) == ":") { _local2 = false; } else if (_local4.length != 5) { continue; } var _local3 = this.attributes[_local4]; if (_local2) { this.mappings["<>defaultNamespace<>"] = _local3; } else { this.mappings[_local4.substring(6)] = _local3; } } } }; } if (_local15.getPrefixForNamespace == undefined) { _local15.getPrefixForNamespace = function (namespaceURI) { var _local3; if ((namespaceURI == undefined) || (namespaceURI == "")) { return(undefined); } if (this.mappings == undefined) { this.loadNSMappings(); } for (var _local5 in this.mappings) { var _local2 = this.mappings[_local5]; if (_local2 == namespaceURI) { _local3 = _local5; break; } } if ((_local3 == undefined) && (this.parentNode != undefined)) { _local3 = this.parentNode.getPrefixForNamespace(namespaceURI); } if (_local3 == "<>defaultNamespace<>") { _local3 = ""; } return(_local3); }; } if (_local15.getNamespaceForPrefix == undefined) { _local15.getNamespaceForPrefix = function (prefix) { if (prefix == "") { prefix = "<>defaultNamespace<>"; } if (this.mappings == undefined) { this.loadNSMappings(); } var _local2 = this.mappings[prefix]; if ((_local2 == undefined) && (this.parentNode != undefined)) { _local2 = this.parentNode.getNamespaceForPrefix(prefix); } return(_local2); }; } if (_local15.getElementsByQName == undefined) { _local15.getElementsByQName = function (qname) { var _local4 = new Array(); if (this.getQName().equals(qname)) { _local4.push(this); } var _local5 = this.childNodes.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = this.childNodes[_local2]; if (_local3.getQName().equals(qname)) { _local4.push(_local3); } _local2++; } return(_local4); }; } if (_local15.getElementsByLocalName == undefined) { _local15.getElementsByLocalName = function (lname) { var _local4 = new Array(); if (this.getLocalName() == lname) { _local4.push(this); } var _local5 = this.childNodes.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = this.childNodes[_local2]; if (_local3.getLocalName() == lname) { _local4.push(_local3); } _local2++; } return(_local4); }; } if (_local15.getElementsByReferencedName == undefined) { _local15.getElementsByReferencedName = function (nameValue, qname) { var _local6 = new Array(); var _local12 = this.attributes.name; if (_local12 == nameValue) { var _local10 = false; if (qname != undefined) { var _local11 = this.getQName(); if ((_local11.namespaceURI == qname.namespaceURI) && (_local11.localPart == qname.localPart)) { _local10 = true; } } else { _local10 = true; } if (_local10) { _local6.push(this); } } else { var _local8 = this.childNodes.length; var _local4 = 0; while (_local4 < _local8) { var _local3 = this.childNodes[_local4].getElementsByReferencedName(nameValue, qname); var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { _local6.push(_local3[_local2]); _local2++; } _local4++; } } return(_local6); }; } if (_local15.getAttributeByQName == undefined) { _local15.getAttributeByQName = function (qn) { for (var _local8 in this.attributes) { var _local5 = ""; var _local2 = _local8; var _local3 = _local8.indexOf(":"); if (_local3 != -1) { _local5 = _local8.substring(0, _local3); _local2 = _local8.substring(_local3 + 1); } var _local4 = this.getNamespaceForPrefix(_local5); var _local7 = new mx.services.QName(_local4, _local2); if ((_local2 == qn.localPart) && (_local4 == qn.namespaceURI)) { return(this.attributes[_local8]); } } }; } if (_local15.getQNameFromString == undefined) { _local15.getQNameFromString = function (prefixedName, useDefault) { var _local3 = prefixedName.indexOf(":"); var _local4 = ""; if ((_local3 == -1) && (!useDefault)) { return(new mx.services.QName(prefixedName)); } _local4 = prefixedName.substring(0, _local3); prefixedName = prefixedName.substring(_local3 + 1); return(new mx.services.QName(prefixedName, this.getNamespaceForPrefix(_local4))); }; } if (_local15.registerNamespace == undefined) { _local15.registerNamespace = function (prefix, namespaceURI) { if (this.mappings == undefined) { this.loadNSMappings(); } if (prefix == "") { prefix = "<>defaultNamespace<>"; } if (this.mappings[prefix] == undefined) { this.mappings[prefix] = namespaceURI; } }; } if (_local15.unregisterNamespace == undefined) { _local15.unregisterNamespace = function (prefix) { if (this.mappings != undefined) { if (prefix == "") { prefix = "<>defaultNamespace<>"; } this.mappings[prefix] = undefined; } }; } _local15 = XML.prototype; _local15.nscount = 0; _local15.getElementsByQName = function (qname) { return(this.firstChild.getElementsByQName(qname)); }; _local15.getElementsByReferencedName = function (tname, qname) { var _local2 = tname.indexOf(":"); var _local3 = ((_local2 != -1) ? (tname.substring(_local2 + 1)) : (tname)); return(this.firstChild.getElementsByReferencedName(_local3, qname)); }; _local15.getElementsByLocalName = function (lname) { return(this.firstChild.getElementsByLocalName(lname)); }; } static var alreadySetup = false; static var _doc = new XML(); }
Symbol 63 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 64 MovieClip [__Packages.mx.data.binding.ComponentMixins] Frame 0
class mx.data.binding.ComponentMixins { var __refreshing, __bindings, __schema, __fieldCache, _eventDispatcher; function ComponentMixins () { } function refreshFromSources() { if (__refreshing != null) { return(undefined); } __refreshing = true; _global.__dataLogger.logData(this, "Refreshing from sources"); _global.__dataLogger.nestLevel++; mx.data.binding.Binding.refreshFromSources(this, null, __bindings); _global.__dataLogger.nestLevel--; __refreshing = null; } function refreshDestinations() { _global.__dataLogger.logData(this, "Refreshing Destinations"); _global.__dataLogger.nestLevel++; mx.data.binding.Binding.refreshDestinations(this, __bindings); _global.__dataLogger.nestLevel--; } function validateProperty(property, initialMessages) { var _local4 = null; var _local3 = getField(property); if (_local3 != null) { _local4 = _local3.validateAndNotify(null, null, initialMessages); } else { _global.__dataLogger.logData(this, "Can't validate property '<property>' because it doesn't exist", {property:property}); } return(_local4); } function addBinding(binding) { if (__bindings == undefined) { __bindings = new Array(); } __bindings.push(binding); var _local3 = false; if (binding.source.component == this) { getField(binding.source.property, binding.source.location); _local3 = true; } if (binding.dest.component == this) { getField(binding.dest.property, binding.dest.location); _local3 = _local3 | Object(binding).is2way; } if (_local3) { var _local4 = binding.dest.component.findSchema(binding.dest.property, binding.dest.location); if (_local4.readonly) { binding.source.component.__setReadOnly(true); } } } static function initComponent(component) { var _local2 = mx.data.binding.ComponentMixins.prototype; if (component.refreshFromSources == undefined) { component.refreshFromSources = _local2.refreshFromSources; } if (component.refreshDestinations == undefined) { component.refreshDestinations = _local2.refreshDestinations; } if (component.validateProperty == undefined) { component.validateProperty = _local2.validateProperty; } if (component.createFieldAccessor == undefined) { component.createFieldAccessor = _local2.createFieldAccessor; } if (component.createField == undefined) { component.createField = _local2.createField; } if (component.addBinding == undefined) { component.addBinding = _local2.addBinding; } if (component.findSchema == undefined) { component.findSchema = _local2.findSchema; } if (component.getField == undefined) { component.getField = _local2.getField; } if (component.refreshAndValidate == undefined) { component.refreshAndValidate = _local2.refreshAndValidate; } if (component.getFieldFromCache == undefined) { component.getFieldFromCache = _local2.getFieldFromCache; } if (component.getBindingMetaData == undefined) { component.getBindingMetaData = _local2.getBindingMetaData; } if (component.__setReadOnly == undefined) { component.__setReadOnly = _local2.__setReadOnly; } if (component.__addHighPrioEventListener == undefined) { component.__addHighPrioEventListener = _local2.__addHighPrioEventListener; } } function createFieldAccessor(property, location, mustExist) { return(mx.data.binding.FieldAccessor.createFieldAccessor(this, property, location, mx.data.binding.FieldAccessor.findElementType(__schema, property), mustExist)); } function findSchema(property, location) { if (typeof(location) == "string") { if (mx.data.binding.FieldAccessor.isActionScriptPath(String(location))) { location = location.split("."); } else { return(null); } } var _local5 = mx.data.binding.FieldAccessor.findElementType(__schema, property); if (location != null) { if (location.path != null) { location = location.path; } if (!(location instanceof Array)) { return(null); } var _local2 = 0; while (_local2 < location.length) { var _local4 = location[_local2]; _local5 = mx.data.binding.FieldAccessor.findElementType(_local5, _local4); _local2++; } } return(_local5); } function createField(property, location) { var _local3 = findSchema(property, location); var _local2; if (_local3.validation != null) { _local2 = mx.data.binding.Binding.getRuntimeObject(_local3.validation); } else { _local2 = new mx.data.binding.DataType(); } _local2.setupDataAccessor(this, property, location); return(_local2); } static function deepEqual(a, b) { if (a == b) { return(true); } if (typeof(a) != typeof(b)) { return(false); } if (typeof(a) != "object") { return(false); } var _local3 = new Object(); for (var _local4 in a) { if (!deepEqual(a[_local4], b[_local4])) { return(false); } _local3[_local4] = 1; } for (var _local4 in b) { if (_local3[_local4] != 1) { return(false); } } return(true); } function getFieldFromCache(property, location) { for (var _local5 in __fieldCache) { var _local2 = __fieldCache[_local5]; if ((_local2.property == property) && (deepEqual(_local2.location, location))) { return(_local2); } } return(null); } function getField(property, location) { var _local2 = getFieldFromCache(property, location); if (_local2 != null) { return(_local2); } _local2 = createField(property, location); if (__fieldCache == null) { __fieldCache = new Array(); } __fieldCache.push(_local2); return(_local2); } function refreshAndValidate(property) { _global.__dataLogger.logData(this, "Refreshing and validating " + property); _global.__dataLogger.nestLevel++; var _local3 = mx.data.binding.Binding.refreshFromSources(this, property, __bindings); _local3 = validateProperty(property, _local3); _global.__dataLogger.nestLevel--; return(_local3 == null); } function getBindingMetaData(name) { return(this["__" + name]); } function __setReadOnly(setting) { if (Object(this).editable != undefined) { Object(this).editable = !setting; } } function __addHighPrioEventListener(event, handler) { var _local3 = ((_eventDispatcher != undefined) ? (_eventDispatcher) : this); if (_local3.__highPrioEvents == undefined) { _local3.__highPrioEvents = new Object(); } var _local4 = "__q_" + event; if (_local3.__highPrioEvents[_local4] == undefined) { _local3.__highPrioEvents[_local4] = new Array(); } _global.ASSetPropFlags(_local3.__highPrioEvents, _local4, 1); mx.events.EventDispatcher._removeEventListener(_local3.__highPrioEvents[_local4], event, handler); _local3.__highPrioEvents[_local4].push(handler); if (_local3._databinding_original_dispatchEvent == undefined) { _local3._databinding_original_dispatchEvent = _local3.dispatchEvent; _local3.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this.dispatchQueue(this.__highPrioEvents, eventObj); this._databinding_original_dispatchEvent(eventObj); }; } } }
Symbol 65 MovieClip [__Packages.mx.data.binding.EndPoint] Frame 0
class mx.data.binding.EndPoint { function EndPoint () { } }
Symbol 66 MovieClip [__Packages.mx.data.binding.ObjectDumper] Frame 0
class mx.data.binding.ObjectDumper { var inProgress; function ObjectDumper () { inProgress = new Array(); } static function toString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local3 = new mx.data.binding.ObjectDumper(); if (maxLineLength == undefined) { maxLineLength = 100; } if (indent == undefined) { indent = 0; } return(_local3.realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent)); } function realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local8 = 0; while (_local8 < inProgress.length) { if (inProgress[_local8] == obj) { return("***"); } _local8++; } inProgress.push(obj); indent++; var _local16 = typeof(obj); var _local5; if ((obj instanceof XMLNode) && (showXMLstructures != true)) { _local5 = obj.toString(); } else if (obj instanceof Date) { _local5 = obj.toString(); } else if (_local16 == "object") { var _local4 = new Array(); if (obj instanceof Array) { _local5 = "["; var _local15 = 0; while (_local15 < obj.length) { _local4.push(_local15); _local15++; } } else { _local5 = "{"; for (var _local15 in obj) { _local4.push(_local15); } _local4.sort(); } var _local9 = ""; var _local3 = 0; while (_local3 < _local4.length) { var _local6 = obj[_local4[_local3]]; var _local7 = true; if (typeof(_local6) == "function") { _local7 = showFunctions == true; } if (typeof(_local6) == "undefined") { _local7 = showUndefined == true; } if (_local7) { _local5 = _local5 + _local9; if (!(obj instanceof Array)) { _local5 = _local5 + (_local4[_local3] + ": "); } _local5 = _local5 + realToString(_local6, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent); _local9 = ", `"; } _local3++; } if (obj instanceof Array) { _local5 = _local5 + "]"; } else { _local5 = _local5 + "}"; } } else if (_local16 == "function") { _local5 = "function"; } else if (_local16 == "string") { _local5 = ("\"" + obj) + "\""; } else { _local5 = String(obj); } if (_local5 == "undefined") { _local5 = "-"; } inProgress.pop(); return(replaceAll(_local5, "`", ((_local5.length < maxLineLength) ? "" : (newline + doIndent(indent))))); } static function replaceAll(str, from, to) { var _local3 = str.split(from); var _local4 = ""; var _local2 = ""; var _local1 = 0; while (_local1 < _local3.length) { _local4 = _local4 + (_local2 + _local3[_local1]); _local2 = to; _local1++; } return(_local4); } function doIndent(indent) { var _local2 = ""; var _local1 = 0; while (_local1 < indent) { _local2 = _local2 + " "; _local1++; } return(_local2); } }
Symbol 67 MovieClip [__Packages.mx.data.binding.TypedValue] Frame 0
class mx.data.binding.TypedValue { var value, typeName, type; function TypedValue (value, typeName, type) { this.value = value; this.typeName = typeName; this.type = type; } }
Symbol 68 MovieClip [__Packages.mx.xpath.NodePathInfo] Frame 0
class mx.xpath.NodePathInfo { function NodePathInfo (nodeName, filter) { __nodeName = nodeName; __filter = filter; } function get nodeName() { return(__nodeName); } function get filter() { return(__filter); } var __nodeName = null; var __filter = null; }
Symbol 69 MovieClip [__Packages.mx.utils.StringTokenParser] Frame 0
class mx.utils.StringTokenParser { var _source, _skipChars; function StringTokenParser (source, skipChars) { _source = source; _skipChars = ((skipChars == undefined) ? null : (skipChars)); } function get token() { return(_token); } function getPos() { return(_index); } function nextToken() { var _local4; var _local2; var _local3 = _source.length; skipBlanks(); if (_index >= _local3) { return(tkEOF); } _local2 = _source.charCodeAt(_index); if (((((_local2 >= 65) && (_local2 <= 90)) || ((_local2 >= 97) && (_local2 <= 122))) || ((_local2 >= 192) && (_local2 <= Number.POSITIVE_INFINITY))) || (_local2 == 95)) { _local4 = _index; _index++; _local2 = _source.charCodeAt(_index); while (((((((_local2 >= 65) && (_local2 <= 90)) || ((_local2 >= 97) && (_local2 <= 122))) || ((_local2 >= 48) && (_local2 <= 57))) || ((_local2 >= 192) && (_local2 <= Number.POSITIVE_INFINITY))) || (_local2 == 95)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } _token = _source.substring(_local4, _index); return(tkSymbol); } if ((_local2 == 34) || (_local2 == 39)) { _index++; _local4 = _index; _local2 = _source.charCodeAt(_local4); while (((_local2 != 34) && (_local2 != 39)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } _token = _source.substring(_local4, _index); _index++; return(tkString); } if ((_local2 == 45) || ((_local2 >= 48) && (_local2 <= 57))) { var _local5 = tkInteger; _local4 = _index; _index++; _local2 = _source.charCodeAt(_index); while (((_local2 >= 48) && (_local2 <= 57)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } if (_index < _local3) { if (((((((_local2 >= 48) && (_local2 <= 57)) || (_local2 == 46)) || (_local2 == 43)) || (_local2 == 45)) || (_local2 == 101)) || (_local2 == 69)) { _local5 = tkFloat; } while ((((((((_local2 >= 48) && (_local2 <= 57)) || (_local2 == 46)) || (_local2 == 43)) || (_local2 == 45)) || (_local2 == 101)) || (_local2 == 69)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } } _token = _source.substring(_local4, _index); return(_local5); } _token = _source.charAt(_index); _index++; return(tkSymbol); } function skipBlanks() { if (_index < _source.length) { var _local2 = _source.charAt(_index); while ((_local2 == " ") || ((_skipChars != null) && (skipChar(_local2)))) { _index++; _local2 = _source.charAt(_index); } } } function skipChar(ch) { var _local2 = 0; while (_local2 < _skipChars.length) { if (ch == _skipChars[_local2]) { return(true); } _local2++; } return(false); } static var tkEOF = -1; static var tkSymbol = 0; static var tkString = 1; static var tkInteger = 2; static var tkFloat = 3; var _index = 0; var _token = ""; }
Symbol 70 MovieClip [__Packages.mx.xpath.FilterExpr] Frame 0
class mx.xpath.FilterExpr { function FilterExpr (attrInit, nameInit, valueInit) { __attr = attrInit; __name = nameInit; __value = valueInit; } function get attr() { return(__attr); } function set attr(newVal) { __attr = newVal; //return(attr); } function get name() { return(__name); } function set name(newVal) { __name = newVal; //return(name); } function get value() { return(__value); } function set value(newVal) { __value = newVal; //return(value); } var __attr = false; var __value = null; var __name = null; }
Symbol 71 MovieClip [__Packages.mx.xpath.FilterStack] Frame 0
class mx.xpath.FilterStack { var __expr, __ops; function FilterStack (filterVal) { __expr = new Array(); __ops = new Array(); var _local2 = new mx.utils.StringTokenParser(filterVal); var _local5 = _local2.nextToken(); var _local4; var _local3 = _local2.__get__token(); while (_local5 != mx.utils.StringTokenParser.tkEOF) { if (_local3 == "@") { _local5 = _local2.nextToken(); _local3 = _local2.token; _local4 = new mx.xpath.FilterExpr(true, _local3, null); __expr.splice(0, 0, _local4); if (_local2.nextToken() == mx.utils.StringTokenParser.tkSymbol) { if (_local2.__get__token() == "=") { _local5 = _local2.nextToken(); _local4.__set__value(_local2.token); } } } else if ((_local3 == "and") || (_local3 == "or")) { __ops.splice(0, 0, _local3); } else if ((_local3 != ")") && (_local3 != "(")) { _local4 = new mx.xpath.FilterExpr(false, _local3, null); __expr.splice(0, 0, _local4); if (_local2.nextToken() == mx.utils.StringTokenParser.tkSymbol) { if (_local2.__get__token() == "=") { _local5 = _local2.nextToken(); _local4.__set__value(_local2.token); } } } _local5 = _local2.nextToken(); _local3 = _local2.token; } } function get exprs() { return(__expr); } function get ops() { return(__ops); } }
Symbol 72 MovieClip [__Packages.mx.xpath.XPathAPI] Frame 0
class mx.xpath.XPathAPI { function XPathAPI () { } static function getEvalString(node, path) { var _local7 = ""; var _local4 = null; var _local9 = getPathSet(path); var _local3 = _local9[0].nodeName; var _local8; var _local2 = node; var _local5 = false; if ((_local3 != undefined) && ((_local3 == "*") || (node.nodeName == _local3))) { var _local6 = 1; while (_local6 < _local9.length) { _local3 = _local9[_local6].nodeName; _local8 = _local3.indexOf("@"); if (_local8 >= 0) { _local3 = _local3.substring(_local8 + 1); _local5 = _local2.attributes[_local3] != undefined; _local7 = _local7 + (".attributes." + _local3); } else { _local5 = false; var _local1 = 0; while (_local1 < _local2.childNodes.length) { _local4 = _local2.childNodes[_local1]; if (_local4.nodeName == _local3) { _local7 = _local7 + (".childNodes." + _local1); _local1 = _local2.childNodes.length; _local2 = _local4; _local5 = true; } _local1++; } } if (!_local5) { return(""); } _local6++; } if (!_local5) { _local7 = ""; } else if (_local8 == -1) { _local7 = _local7 + ".firstChild.nodeValue"; } } else { _local7 = ""; } return(_local7); } static function selectNodeList(node, path) { var _local2 = new Array(node); var _local5 = getPathSet(path); var _local4 = _local5[0]; var _local6 = _local4.__get__nodeName(); var _local1 = null; if ((_local6 != undefined) && ((_local6 == "*") || (node.nodeName == _local6))) { if (_local4.__get__filter().length > 0) { _local1 = new mx.xpath.FilterStack(_local4.__get__filter()); _local2 = filterNodes(_local2, _local1); } if (_local2.length > 0) { var _local3 = 1; while (_local3 < _local5.length) { _local4 = _local5[_local3]; _local2 = getAllChildNodesByName(_local2, _local4.__get__nodeName()); if (_local4.__get__filter().length > 0) { _local1 = new mx.xpath.FilterStack(_local4.__get__filter()); } else { _local1 = null; } if ((_local1 != null) && (_local1.__get__exprs().length > 0)) { _local2 = filterNodes(_local2, _local1); } _local3++; } } } else { _local2 = new Array(); } return(_local2); } static function selectSingleNode(node, path) { var _local1 = selectNodeList(node, path); if (_local1.length > 0) { return(_local1[0]); } return(null); } static function setNodeValue(node, path, newValue) { var _local1 = new Array(node); var _local9 = getPathSet(path); var _local7 = _local9[_local9.length - 1].nodeName; if (_local7.charAt(0) == "@") { _local7 = _local7.substring(1, _local7.length); _local9.pop(); } else { _local7 = null; } var _local5 = _local9[0]; var _local11 = _local5.__get__nodeName(); var _local3 = null; if ((_local11 != undefined) && ((_local11 == "*") || (node.nodeName == _local11))) { if (_local5.__get__filter().length > 0) { _local3 = new mx.xpath.FilterStack(_local5.__get__filter()); _local1 = filterNodes(_local1, _local3); } if (_local1.length > 0) { var _local2 = 1; while (_local2 < _local9.length) { _local5 = _local9[_local2]; _local1 = getAllChildNodesByName(_local1, _local5.__get__nodeName()); if (_local5.__get__filter().length > 0) { _local3 = new mx.xpath.FilterStack(_local5.__get__filter()); } else { _local3 = null; } if ((_local3 != null) && (_local3.__get__exprs().length > 0)) { _local1 = filterNodes(_local1, _local3); } _local2++; } } } else { _local1 = new Array(); } var _local4 = null; var _local6 = null; var _local10 = new XML(); var _local2 = 0; while (_local2 < _local1.length) { if (_local7 != null) { _local1[_local2].attributes[_local7] = newValue; } else { _local4 = _local1[_local2]; if ((_local4.firstChild == null) || (_local4.firstChild.nodeType != 3)) { _local6 = _local10.createTextNode(newValue); _local4.appendChild(_local6); } else { _local6 = _local4.firstChild; _local6.nodeValue = newValue; } } _local2++; } return(_local1.length); } static function copyStack(toStk, fromStk) { var _local1 = 0; while (_local1 < fromStk.length) { toStk.splice(_local1, 0, fromStk[_local1]); _local1++; } } static function evalExpr(expr, node) { var _local2 = true; if (expr.__get__attr()) { _local2 = ((expr.__get__value() != null) ? (node.attributes[expr.__get__name()] == expr.__get__value()) : (node.attributes[expr.__get__name()] != null)); } else { var _local3 = getChildNodeByName(node, expr.__get__name()); if (_local3 != null) { _local2 = ((expr.__get__value() != null) ? (_local3.firstChild.nodeValue == expr.__get__value()) : true); } else { _local2 = false; } } return(_local2); } static function filterNodes(nodeList, stack) { var _local13 = new Array(); var _local2; var _local3; var _local9; var _local6; var _local10; var _local1 = true; var _local4; var _local5; var _local8 = 0; while (_local8 < nodeList.length) { _local5 = true; _local2 = new Array(); _local3 = new Array(); copyStack(_local2, stack.__get__exprs()); copyStack(_local3, stack.__get__ops()); _local4 = nodeList[_local8]; while ((_local2.length > 0) && (_local5)) { if (typeof(_local2[_local2.length - 1]) == "object") { _local9 = mx.xpath.FilterExpr(_local2.pop()); _local1 = evalExpr(_local9, _local4); } else { _local10 = Boolean(_local2.pop()); _local1 = _local10; } if (_local3.length > 0) { var _local7 = _local2.pop(); _local6 = _local7; switch (_local3[_local3.length - 1]) { case "and" : _local1 = _local1 && (evalExpr(_local6, _local4)); _local5 = _local1; break; case "or" : _local1 = _local1 || (evalExpr(_local6, _local4)); _local5 = !_local1; } _local3.pop(); _local2.push(_local1); } } if (_local1) { _local13.push(_local4); } _local8++; } return(_local13); } static function getAllChildNodesByName(nodeList, name) { var _local5 = new Array(); var _local2; var _local3 = 0; while (_local3 < nodeList.length) { _local2 = nodeList[_local3].childNodes; if (_local2 != null) { var _local1 = 0; while (_local1 < _local2.length) { if ((name == "*") || (_local2[_local1].nodeName == name)) { _local5.push(_local2[_local1]); } _local1++; } } _local3++; } return(_local5); } static function getChildNodeByName(node, nodeName) { var _local2; var _local3 = node.childNodes; var _local1 = 0; while (_local1 < _local3.length) { _local2 = _local3[_local1]; if (_local2.nodeName == nodeName) { return(_local2); } _local1++; } return(null); } static function getKeyValues(node, keySpec) { var _local5 = ""; var _local3 = new mx.utils.StringTokenParser(keySpec); var _local2 = _local3.nextToken(); var _local1; var _local6; while (_local2 != mx.utils.StringTokenParser.tkEOF) { _local1 = _local3.token; _local5 = _local5 + (" " + _local1); if (_local2 == mx.utils.StringTokenParser.tkSymbol) { if (_local1 == "@") { _local2 = _local3.nextToken(); _local1 = _local3.token; if (_local2 == mx.utils.StringTokenParser.tkSymbol) { _local5 = _local5 + (((_local1 + "='") + node.attributes[_local1]) + "'"); } } else if (_local1 == "/") { _local2 = _local3.nextToken(); if (_local2 == mx.utils.StringTokenParser.tkSymbol) { _local1 = _local3.token; node = getChildNodeByName(node, _local1); if (node != null) { _local5 = _local5 + _local1; } } } else if ((((_local1 != "and") && (_local1 != "or")) && (_local1 != "[")) && (_local1 != "]")) { _local6 = getChildNodeByName(node, _local1); if (_local6 != null) { _local5 = _local5 + (("='" + _local6.firstChild.nodeValue) + "'"); } } } if (node == null) { trace(("Invalid keySpec specified. '" + keySpec) + "' Error."); return("ERR"); } _local2 = _local3.nextToken(); } return(_local5.slice(1)); } static function getPath(node, keySpecs) { var _local2 = ""; var _local5 = keySpecs[node.nodeName]; if (_local5 == undefined) { var _local8 = ""; var _local10; for (_local10 in node.attributes) { _local8 = _local8 + (((("@" + _local10) + "='") + node.attributes[_local10]) + "' and "); } var _local7 = ""; var _local1; var _local6; var _local4 = 0; while (_local4 < node.childNodes.length) { _local1 = node.childNodes[_local4]; _local6 = _local1.firstChild.nodeValue; if (_local6 != undefined) { _local7 = _local7 + (((_local1.nodeName + "='") + _local6) + "' and "); } _local4++; } if (_local8.length > 0) { if (_local7.length > 0) { _local2 = (((("/" + node.nodeName) + "[") + _local8) + _local7.substring(0, _local7.length - 4)) + "]"; } else { _local2 = ((("/" + node.nodeName) + "[") + _local8.substring(0, _local8.length - 4)) + "]"; } } else { _local2 = ((("/" + node.nodeName) + "[") + _local7.substring(0, _local7.length - 4)) + "]"; } } else { _local2 = _local2 + (("/" + node.nodeName) + getKeyValues(node, _local5)); } var _local1 = node.parentNode; while (_local1.parentNode != null) { _local5 = keySpecs[_local1.nodeName]; if (_local5 != undefined) { _local2 = (("/" + _local1.nodeName) + getKeyValues(_local1, _local5)) + _local2; } else { _local2 = ("/" + _local1.nodeName) + _local2; } _local1 = _local1.parentNode; } return(_local2); } static function getPathSet(path) { var _local6 = new Array(); var _local4; var _local1; var _local2; var _local5; while (path.length > 0) { _local4 = path.lastIndexOf("/"); _local1 = path.substring(_local4 + 1); _local2 = _local1.indexOf("[", 0); _local5 = ((_local2 >= 0) ? (_local1.substring(_local2 + 1, _local1.length - 1)) : ""); _local1 = ((_local2 >= 0) ? (_local1.substring(0, _local2)) : (_local1)); _local6.splice(0, 0, new mx.xpath.NodePathInfo(_local1, _local5)); path = path.substring(0, _local4); } return(_local6); } }
Symbol 73 MovieClip [__Packages.mx.data.binding.DataAccessor] Frame 0
class mx.data.binding.DataAccessor { var dataAccessor, component, property, location, type; function DataAccessor () { } function getAnyTypedValue(suggestedTypes) { var _local3 = 0; while (_local3 < suggestedTypes.length) { var _local5 = getTypedValue(suggestedTypes[_local3]); if (_local5 != null) { return(_local5); } _local3++; } var _local5 = getTypedValue(); _local3 = 0; while (_local3 < suggestedTypes.length) { var _local2 = suggestedTypes[_local3]; if (_local2 == "String") { return(new mx.data.binding.TypedValue(String(_local5.value), _local2)); } if (_local2 == "Number") { return(new mx.data.binding.TypedValue(Number(_local5.value), _local2)); } if (_local2 == "Boolean") { return(new mx.data.binding.TypedValue(Boolean(_local5.value), _local2)); } _local3++; } return(_local5); } function setAnyTypedValue(newValue) { var _local7 = getSettableTypes(); if ((_local7 == null) || (-1 != findString(newValue.typeName, _local7))) { return(setTypedValue(newValue)); } var _local3 = 0; while (_local3 < _local7.length) { var _local2 = _local7[_local3]; if (_local2 == "String") { return(setTypedValue(new mx.data.binding.TypedValue(String(newValue.value), _local2))); } if (_local2 == "Number") { var _local5 = Number(newValue.value); var _local6 = setTypedValue(new mx.data.binding.TypedValue(_local5, _local2)); if (_local5.toString() == "NaN") { return([("Failed to convert '" + newValue.value) + "' to a number"]); } return(_local6); } if (_local2 == "Boolean") { return(setTypedValue(new mx.data.binding.TypedValue(Boolean(newValue.value), _local2))); } _local3++; } return(dataAccessor.setTypedValue(newValue)); } function getTypedValue(requestedType) { var _local2 = dataAccessor.getTypedValue(requestedType); return(_local2); } function getGettableTypes() { return(null); } function setTypedValue(newValue) { return(dataAccessor.setTypedValue(newValue)); } function getSettableTypes() { return(null); } function findLastAccessor() { return(((dataAccessor == null) ? this : (dataAccessor.findLastAccessor()))); } function setupDataAccessor(component, property, location) { this.component = component; this.property = property; this.location = location; type = component.findSchema(property, location); } static function findString(str, arr) { var _local3 = str.toLowerCase(); var _local1 = 0; while (_local1 < arr.length) { if (arr[_local1].toLowerCase() == _local3) { return(_local1); } _local1++; } return(-1); } static function conversionFailed(newValue, target) { return(((("Failed to convert to " + target) + ": '") + newValue.value) + "'"); } }
Symbol 74 MovieClip [__Packages.mx.data.binding.FieldAccessor] Frame 0
class mx.data.binding.FieldAccessor { var component, property, parentObj, fieldName, m_location, type, index, xpath; function FieldAccessor (component, property, parentObj, fieldName, type, index, parentField) { this.component = component; this.property = property; this.parentObj = parentObj; this.fieldName = fieldName; if (component == parentObj) { m_location = undefined; } else if (parentField.m_location == undefined) { m_location = fieldName; } else { m_location = (parentField.m_location + ".") + fieldName; } this.type = type; this.index = index; } function getValue() { var _local2 = getFieldData(); if ((_local2 == null) && (type.value != undefined)) { var _local3 = new mx.data.binding.TypedValue(type.value, "String"); _local3.getDefault = true; component.getField(fieldName).setAnyTypedValue(_local3); _local2 = _local3.value; } if ((isXML(_local2) && (_local2.childNodes.length == 1)) && (_local2.firstChild.nodeType == 3)) { return(_local2.firstChild.nodeValue); } return(_local2); } function setValue(newValue, newTypedValue) { if (newTypedValue.getDefault) { newTypedValue.value = newValue; } else { if (xpath != null) { var _local4 = getFieldData(); if (_local4 != null) { setXMLData(_local4, newValue); } else { _global.__dataLogger.logData(component, "Can't assign to '<property>:<xpath>' because there is no element at the given path", this); } } else if (isXML(parentObj)) { if (type.category == "attribute") { parentObj.attributes[fieldName] = newValue; } else if (type.category == "array") { } else { var _local4 = getOrCreateFieldData(); setXMLData(_local4, newValue); } } else { if (parentObj == null) { _global.__dataLogger.logData(component, "Can't set field '<property>/<location>' because the field doesn't exist", this); } parentObj[fieldName] = newValue; } component.propertyModified(property, (xpath == null) && (parentObj == component), newTypedValue.type); } } static function isActionScriptPath(str) { var _local2 = str.toLowerCase(); var _local3 = "0123456789abcdefghijklmnopqrstuvwxyz_."; var _local1 = 0; while (_local1 < _local2.length) { if (-1 == _local3.indexOf(_local2.charAt(_local1))) { return(false); } _local1++; } return(true); } static function createFieldAccessor(component, property, location, type, mustExist) { if (mustExist && (component[property] == null)) { _global.__dataLogger.logData(component, "Warning: property '<property>' does not exist", {property:property}); return(null); } var _local5 = new mx.data.binding.FieldAccessor(component, property, component, property, type, null, null); if (location == null) { return(_local5); } var _local7 = null; if (location.indices != null) { _local7 = location.indices; location = location.path; } if (typeof(location) == "string") { if (_local7 != null) { _global.__dataLogger.logData(component, "Warning: ignoring index values for property '<property>', path '<location>'", {property:property, location:location}); } if (isActionScriptPath(String(location))) { location = location.split("."); } else { _local5.xpath = location; return(_local5); } } if (location instanceof Array) { var _local3; var _local10 = 0; _local3 = 0; while (_local3 < location.length) { var _local2 = null; var _local4 = location[_local3]; if (_local4 == "[n]") { if (_local7 == null) { _global.__dataLogger.logData(component, "Error: indices for <property>:<location> are null, but [n] appears in the location.", {property:property, location:location}); return(null); } _local2 = _local7[_local10++]; if (_local2 == null) { _global.__dataLogger.logData(component, "Error: not enough index values for <property>:<location>", {property:property, location:location}); return(null); } } _local5 = _local5.getChild(_local4, _local2, mustExist); _local3++; } if (mustExist && (_local5.getValue() == null)) { _global.__dataLogger.logData(component, "Warning: field <property>:<m_location> does not exist, or is null", _local5); } return(_local5); } trace("unrecognized location: " + mx.data.binding.ObjectDumper.toString(location)); return(null); } function getFieldAccessor() { return(this); } function getChild(childName, index, mustExist) { if (childName == ".") { return(this); } var _local2 = getOrCreateFieldData(mustExist); if (_local2 == null) { return(null); } var _local4 = findElementType(type, childName); return(new mx.data.binding.FieldAccessor(component, property, _local2, childName, _local4, index, this)); } function getOrCreateFieldData(mustExist) { var _local3 = getFieldData(); if (_local3 == null) { if (mustExist) { _global.__dataLogger.logData(component, "Warning: field <property>:<m_location> does not exist", this); } else { setupComplexField(); _local3 = getFieldData(); } } return(_local3); } function evaluateSubPath(obj, type) { var path = type.path; if (isActionScriptPath(path)) { var tokens = path.split("."); var i = 0; while (i < tokens.length) { var token = tokens[i]; if (isXML(obj)) { obj = obj.firstChild; while (obj != null) { if (toLocalName(obj.nodeName) == token) { break; } obj = obj.nextSibling; } } else { obj = obj[token]; } if (obj == null) { _global.__dataLogger.logData(component, "Warning: path '<path>' evaluates to null, at '<token>' in <t.property>:<t.m_location>", {path:path, token:token, t:this}); break; } i++; } } else if (isXML(obj)) { if (path.charAt(0) != "/") { path = "/" + path; } if (obj.nodeName == null) { obj = obj.firstChild; } else { path = toLocalName(obj.nodeName) + path; } var category = ((type.category != null) ? (type.category) : (((type.elements.length > 0) ? "complex" : "simple"))); if ((category == "simple") || (category == "attribute")) { obj = eval ("obj" + mx.xpath.XPathAPI.getEvalString(obj, path)); } else if (category == "complex") { obj = mx.xpath.XPathAPI.selectSingleNode(obj, path); } else if (category == "array") { obj = mx.xpath.XPathAPI.selectNodeList(obj, path); } } else { _global.__dataLogger.logData(component, "Error: path '<path>' is an XPath. It cannot be applied to non-XML data <t.property>:<t.m_location>", {path:path, t:this}); } return(obj); } function getFieldData() { if (xpath != null) { var _local4 = parentObj[fieldName].firstChild; while ((_local4 != null) && (_local4.nodeType != 1)) { _local4 = _local4.nextSibling; } var _local10 = mx.xpath.XPathAPI.selectSingleNode(_local4, xpath); return(_local10); } if (isXML(parentObj)) { if (type.path != null) { return(evaluateSubPath(parentObj, type)); } if (type.category == "attribute") { var _local5 = parentObj.attributes; for (var _local8 in _local5) { if (toLocalName(_local8) == fieldName) { return(_local5[_local8]); } } return(undefined); } var _local3 = parentObj.firstChild; if (type.category == "array") { var _local6 = new Array(); while (_local3 != null) { if (toLocalName(_local3.nodeName) == fieldName) { _local6.push(_local3); } _local3 = _local3.nextSibling; } return(_local6); } while (_local3 != null) { if (toLocalName(_local3.nodeName) == fieldName) { return(_local3); } _local3 = _local3.nextSibling; } return(null); } if (fieldName == "[n]") { var _local7; if (index.component != null) { var _local9 = index.component.getField(index.property, index.location); _local7 = _local9.getAnyTypedValue(["Number"]); _local7 = _local7.value; } else { _local7 = index.constant; } var index = Number(_local7); if (typeof(_local7) == "undefined") { _global.__dataLogger.logData(component, "Error: index specification '<index>' was not supplied, or incorrect, for <t.property>:<t.m_location>", {index:index, t:this}); return(null); } if (index.toString() == "NaN") { _global.__dataLogger.logData(component, "Error: index value '<index>' for <t.property>:<t.m_location> is not a number", {index:index, t:this}); return(null); } if (!(parentObj instanceof Array)) { _global.__dataLogger.logData(component, "Error: indexed field <property>:<m_location> is not an array", this); return(null); } if ((index < 0) || (index >= parentObj.length)) { _global.__dataLogger.logData(component, "Error: index '<index>' for <t.property>:<t.m_location> is out of bounds", {index:index, t:this}); return(null); } _global.__dataLogger.logData(component, "Accessing item [<index>] of <t.property>:<t.m_location>", {index:index, t:this}); return(parentObj[index]); } if (type.path != null) { return(evaluateSubPath(parentObj, type)); } return(parentObj[fieldName]); } static function setXMLData(obj, newValue) { while (obj.hasChildNodes()) { obj.firstChild.removeNode(); } var _local2 = xmlNodeFactory.createTextNode(newValue); obj.appendChild(_local2); } function setupComplexField() { var _local2; if (isXML(parentObj)) { _local2 = xmlNodeFactory.createElement(fieldName); parentObj.appendChild(_local2); } else if (dataIsXML()) { parentObj[fieldName] = new XML(); } else { parentObj[fieldName] = new Object(); } } static function findElementType(type, name) { var _local1 = 0; while (_local1 < type.elements.length) { if (type.elements[_local1].name == name) { return(type.elements[_local1].type); } _local1++; } return(null); } function isXML(obj) { return(obj instanceof XMLNode); } function dataIsXML() { return(type.name == "XML"); } static function accessField(component, fieldName, desiredTypes) { var _local1; _local1 = desiredTypes[fieldName]; if (_local1 == null) { _local1 = desiredTypes.dflt; } if (_local1 == null) { _local1 = desiredTypes; } var _local4 = component.createField("data", [fieldName]); var _local2 = _local4.getAnyTypedValue([_local1]); return(_local2.value); } static function ExpandRecord(obj, objectType, desiredTypes) { var _local4 = new Object(); mx.data.binding.ComponentMixins.initComponent(_local4); _local4.data = obj; _local4.__schema = {elements:[{name:"data", type:objectType}]}; var _local2 = new Object(); if (objectType.elements.length > 0) { var _local3 = 0; while (_local3 < objectType.elements.length) { var _local10 = objectType.elements[_local3].name; _local2[_local10] = accessField(_local4, _local10, desiredTypes); _local3++; } } else if ((obj instanceof XML) || (obj instanceof XMLNode)) { if ((obj.childNodes.length == 1) && (obj.firstChild.nodeType == 3)) { return(obj.firstChild.nodeValue); } var _local5 = obj.lastChild; while (_local5 != null) { var _local10 = toLocalName(_local5.nodeName); if ((_local10 != null) && (_local2[_local10] == null)) { _local2[_local10] = accessField(_local4, _local10, desiredTypes); } _local5 = _local5.previousSibling; } for (var _local10 in obj.attributes) { if (_local2[_local10] != null) { _global.__dataLogger.logData(null, "Warning: attribute '<name>' has same name as an element, in XML object <obj>", {name:_local10, obj:obj}); } _local2[_local10] = accessField(_local4, _local10, desiredTypes); } } else { if (typeof(obj) != "object") { return(obj); } for (var _local10 in obj) { _local2[_local10] = accessField(_local4, _local10, desiredTypes); } } return(_local2); } static function wrapArray(theArray, itemType, desiredTypes) { var _local4 = {getItemAt:function (index) { if ((index < 0) || (index >= this.data.length)) { return(undefined); } var _local2 = this.data[index]; if (_local2 == undefined) { return(undefined); } var _local3 = mx.data.binding.FieldAccessor.ExpandRecord(_local2, this.type, desiredTypes); return(_local3); }, getItemID:function (index) { return(index); }, data:theArray, type:itemType, length:theArray.length}; return(_local4); } static function toLocalName(nodeName) { var _local1 = nodeName.split(":"); var _local2 = _local1[_local1.length - 1]; return(_local2); } static var xmlNodeFactory = new XML(); }
Symbol 75 MovieClip [__Packages.mx.data.binding.Log] Frame 0
class mx.data.binding.Log { var level, name; function Log (logLevel, logName) { level = ((logLevel == undefined) ? (BRIEF) : (logLevel)); name = ((name == undefined) ? "" : (name)); } function logInfo(msg, level) { if (level == undefined) { level = BRIEF; } onLog((((getDateString() + " ") + name) + ": ") + mx.data.binding.ObjectDumper.toString(msg)); } function logData(target, message, info, level) { if (level == undefined) { level = VERBOSE; } var _local6 = ((name.length > 0) ? ((" " + name) + ": ") : " "); var _local4 = ((target == null) ? "" : (target + ": ")); if (_local4.indexOf("_level0.") == 0) { _local4 = _local4.substr(8); } var _local3 = ((getDateString() + _local6) + _local4) + substituteIntoString(message, info, 50); if (showDetails && (info != null)) { _local3 = _local3 + ("\n " + mx.data.binding.ObjectDumper.toString(info)); } else { var _local2 = 0; while (_local2 < nestLevel) { _local3 = " " + _local3; _local2++; } } onLog(_local3); } function onLog(message) { trace(message); } function getDateString() { var _local1 = new Date(); return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds()); } static function substituteIntoString(message, info, maxlen, rawDataType) { var _local9 = ""; if (info == null) { return(message); } var _local11 = message.split("<"); if (_local11 == null) { return(message); } _local9 = _local9 + _local11[0]; var _local7 = 1; while (_local7 < _local11.length) { var _local8 = _local11[_local7].split(">"); var _local5 = _local8[0].split("."); var _local1 = info; var _local4 = rawDataType; var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2]; if (_local3 != "") { _local4 = mx.data.binding.FieldAccessor.findElementType(_local4, _local3); var _local6 = new mx.data.binding.FieldAccessor(null, null, _local1, _local3, _local4, null, null); _local1 = _local6.getValue(); } _local2++; } if (typeof(_local1) != "string") { _local1 = mx.data.binding.ObjectDumper.toString(_local1); } if (_local1.indexOf("_level0.") == 0) { _local1 = _local1.substr(8); } if ((maxlen != null) && (_local1.length > maxlen)) { _local1 = _local1.substr(0, maxlen) + "..."; } _local9 = _local9 + _local1; _local9 = _local9 + _local8[1]; _local7++; } var _local14 = _local9.split("&gt;"); _local9 = _local14.join(">"); _local14 = _local9.split("&lt;"); _local9 = _local14.join("<"); return(_local9); } static var NONE = -1; static var BRIEF = 0; static var VERBOSE = 1; static var DEBUG = 2; static var INFO = 2; static var WARNING = 1; static var ERROR = 0; var showDetails = false; var nestLevel = 0; }
Symbol 76 MovieClip [__Packages.mx.data.binding.Binding] Frame 0
class mx.data.binding.Binding { var is2way, dest, source, format; function Binding (source, dest, format, is2way) { mx.events.EventDispatcher.initialize(this); var _local5 = this; _local5.source = source; _local5.dest = dest; _local5.format = format; _local5.is2way = is2way; registerBinding(this); calcShortLoc(source); calcShortLoc(dest); _global.__dataLogger.logData(null, ("Creating binding " + summaryString()) + (is2way ? ", 2-way" : ""), {binding:this}); _global.__dataLogger.nestLevel++; mx.data.binding.ComponentMixins.initComponent(dest.component); if (source.component != undefined) { mx.data.binding.ComponentMixins.initComponent(source.component); } dest.component.addBinding(this); if (source.component != undefined) { source.component.addBinding(this); setUpListener(source, false); if (this.is2way) { setUpListener(dest, true); setUpIndexListeners(source, false); setUpIndexListeners(dest, true); } else { setUpIndexListeners(source, false); setUpIndexListeners(dest, false); } } else { execute(); } _global.__dataLogger.nestLevel--; } function execute(reverse) { var _local3; var _local4; if (reverse) { if (!is2way) { _global.__dataLogger.logData(null, ("Warning: Can't execute binding " + summaryString(false)) + " in reverse, because it's not a 2 way binding", {binding:this}, mx.data.binding.Log.BRIEF); return(["error"]); } _local3 = dest; _local4 = source; } else { _local3 = source; _local4 = dest; } _global.__dataLogger.logData(null, "Executing binding " + summaryString(reverse), {binding:this}); _global.__dataLogger.nestLevel++; var _local10; if (_local3.constant != undefined) { _local10 = {value:new mx.data.binding.TypedValue(_local3.constant, "String"), getAnyTypedValue:function () { return(this.value); }, getTypedValue:function () { return(this.value); }, getGettableTypes:function () { return(["String"]); }}; } else { _local10 = _local3.component.getField(_local3.property, _local3.location, true); } var _local18; var _local20; var _local12 = ""; var _local8 = _local4.component.getField(_local4.property, _local4.location); if (format != null) { var _local5 = getRuntimeObject(format); if (_local5 != null) { if (reverse) { _local5.setupDataAccessor(_local4.component, _local4.property, _local4.location); _local5.dataAccessor = _local8; _local8 = _local5; } else { _local5.setupDataAccessor(_local3.component, _local3.property, _local3.location); _local5.dataAccessor = _local10; _local10 = _local5; } } } var _local14 = ((format == null) ? (_local8.getSettableTypes()) : null); var value = _local10.getAnyTypedValue(_local14); var _local9 = new Object(); if (_local8.type.readonly == true) { _global.__dataLogger.logData(null, "Not executing binding because the destination is read-only", null, mx.data.binding.Log.BRIEF); var _local6 = new Object(); _local6.type = "invalid"; _local6.property = _local4.property; _local6.location = _local4.location; _local6.messages = [{message:"Cannot assign to a read-only data field."}]; _local4.component.dispatchEvent(_local6); _local9.event = _local6; } else { _global.__dataLogger.logData(null, "Assigning new value '<value>' (<typeName>) " + _local12, {value:value.value, typeName:value.typeName, unformattedValue:_local18, formatterFrom:_local20}); var _local13 = _local8.setAnyTypedValue(value); _local8.validateAndNotify(_local9, false, _local13); _local4.component.dispatchEvent({type:"bindingExecuted", binding:this}); } if (_local9.event != null) { if (_local3.component != null) { var _local7 = new Object(); _local7.type = _local9.event.type; _local7.property = _local3.property; _local7.location = _local3.location; _local7.messages = _local9.event.messages; _local7.to = _local4.component; _local3.component.dispatchEvent(_local7); } } _global.__dataLogger.nestLevel--; return(_local9.event.messages); } function queueForExecute(reverse) { if (!queued) { if (_global.__databind_executeQueue == null) { _global.__databind_executeQueue = new Array(); } if (_root.__databind_dispatch == undefined) { _root.createEmptyMovieClip("__databind_dispatch", -8888); } _global.__databind_executeQueue.push(this); queued = true; this.reverse = reverse; _root.__databind_dispatch.onEnterFrame = dispatchEnterFrame; } } static function dispatchEnterFrame() { _root.__databind_dispatch.onEnterFrame = null; var _local4 = 0; while (_local4 < _global.__databind_executeQueue.length) { var _local3 = _global.__databind_executeQueue[_local4]; _local3.execute(_local3.reverse); _local4++; } var _local5; while (_local5 = _global.__databind_executeQueue.pop() , _local5 != null) { _local5.queued = false; _local5.reverse = false; } } function calcShortLoc(endpoint) { var _local1 = endpoint.location; if (_local1.path != null) { _local1 = _local1.path; } endpoint.loc = ((_local1 instanceof Array) ? (_local1.join(".")) : (_local1)); } function summaryString(reverse) { var _local2 = "<binding.dest.component>:<binding.dest.property>:<binding.dest.loc>"; var _local3 = "<binding.source.component>:<binding.source.property>:<binding.source.loc>"; if (source.constant == null) { if (reverse == true) { return((("from " + _local2) + " to ") + _local3); } return((("from " + _local3) + " to ") + _local2); } return("from constant '<binding.source.constant>' to " + _local2); } static function getRuntimeObject(info, constructorParameter) { if (info.cls == undefined) { info.cls = mx.utils.ClassFinder.findClass(info.className); } var _local3 = new info.cls(constructorParameter); if (_local3 == null) { _global.__dataLogger.logData(null, "Could not construct a formatter or validator - new <info.className>(<params>)", {info:info, params:constructorParameter}, mx.data.binding.Log.BRIEF); } for (var _local4 in info.settings) { _local3[_local4] = info.settings[_local4]; } return(_local3); } static function refreshFromSources(component, property, bindings) { var _local5 = null; var _local3; _local3 = 0; while (_local3 < bindings.length) { var _local1 = bindings[_local3]; var _local2 = null; if ((_local1.dest.component == component) && ((property == null) || (property == _local1.dest.property))) { _local2 = _local1.execute(); } else if ((_local1.is2way && (_local1.source.component == component)) && ((property == null) || (property == _local1.source.property))) { _local2 = _local1.execute(true); } if (_local2 != null) { _local5 = ((_local5 == null) ? (_local2) : (_local5.concat(_local2))); } _local3++; } return(_local5); } static function refreshDestinations(component, bindings) { var _local1; _local1 = 0; while (_local1 < bindings.length) { var _local2 = bindings[_local1]; if (_local2.source.component == component) { _local2.execute(); } else if (_local2.is2way && (_local2.dest.component == component)) { _local2.execute(true); } _local1++; } _local1 = 0; while (_local1 < component.__indexBindings.length) { var _local3 = component.__indexBindings[_local1]; _local3.binding.execute(_local3.reverse); _local1++; } } static function okToCallGetterFromSetter() { function setter(val) { this.value2 = this.value; } function getter() { return(5); } var _local2 = new Object(); _local2.addProperty("value", getter, setter); _local2.value = 0; var _local3 = _local2.value2 == _local2.value; return(_local3); } function setUpListener(endpoint, reverse) { var _local4 = new Object(); _local4.binding = this; _local4.property = endpoint.property; _local4.reverse = reverse; _local4.immediate = okToCallGetterFromSetter(); _local4.handleEvent = function (event) { _global.__dataLogger.logData(event.target, "Data of property '<property>' has changed. <immediate>.", this); if (this.immediate) { if (this.binding.executing != true) { this.binding.executing = true; this.binding.execute(this.reverse); this.binding.executing = false; } } else { this.binding.queueForExecute(this.reverse); } }; if (endpoint.event instanceof Array) { for (var _local5 in endpoint.event) { endpoint.component.__addHighPrioEventListener(endpoint.event[_local5], _local4); } } else { endpoint.component.__addHighPrioEventListener(endpoint.event, _local4); } mx.data.binding.ComponentMixins.initComponent(endpoint.component); } function setUpIndexListeners(endpoint, reverse) { if (endpoint.location.indices != undefined) { var _local3 = 0; while (_local3 < endpoint.location.indices.length) { var _local2 = endpoint.location.indices[_local3]; if (_local2.component != undefined) { setUpListener(_local2, reverse); if (_local2.component.__indexBindings == undefined) { _local2.component.__indexBindings = new Array(); } _local2.component.__indexBindings.push({binding:this, reverse:reverse}); } _local3++; } } } static function copyBinding(b) { var _local1 = new Object(); _local1.source = copyEndPoint(b.source); _local1.dest = copyEndPoint(b.dest); _local1.format = b.format; _local1.is2way = b.is2way; return(_local1); } static function copyEndPoint(e) { var _local1 = new Object(); _local1.constant = e.constant; _local1.component = String(e.component); _local1.event = e.event; _local1.location = e.location; _local1.property = e.property; return(_local1); } static function registerScreen(screen, id) { var symbol = screenRegistry[id]; if (symbol == null) { screenRegistry[id] = {symbolPath:String(screen), bindings:[], id:id}; return(undefined); } if (symbol.symbolPath == String(screen)) { return(undefined); } var instancePath = String(screen); var i = 0; while (i < bindingRegistry.length) { var b = bindingRegistry[i]; var src = copyEndPoint(b.source); var dst = copyEndPoint(b.dest); var prefix = (symbol.symbolPath + "."); var symbolContainsSource = (prefix == b.source.component.substr(0, prefix.length)); var symbolContainsDest = (prefix == b.dest.component.substr(0, prefix.length)); if (symbolContainsSource) { if (symbolContainsDest) { src.component = eval (instancePath + src.component.substr(symbol.symbolPath.length)); dst.component = eval (instancePath + dst.component.substr(symbol.symbolPath.length)); new mx.data.binding.Binding(src, dst, b.format, b.is2way); } else { src.component = eval (instancePath + src.component.substr(symbol.symbolPath.length)); dst.component = eval (dst.component); new mx.data.binding.Binding(src, dst, b.format, b.is2way); } } else if (symbolContainsDest) { src.component = eval (src.component); dst.component = eval (instancePath + dst.component.substr(symbol.symbolPath.length)); new mx.data.binding.Binding(src, dst, b.format, b.is2way); } i++; } } static function registerBinding(binding) { var _local1 = copyBinding(binding); bindingRegistry.push(_local1); } static function getLocalRoot(clip) { var _local2; var _local3 = clip._url; while (clip != null) { if (clip._url != _local3) { break; } _local2 = clip; clip = clip._parent; } return(_local2); } var queued = false; var reverse = false; static var counter = 0; static var screenRegistry = new Object(); static var bindingRegistry = new Array(); }
Symbol 77 MovieClip [__Packages.mx.data.kinds.Data] Frame 0
class mx.data.kinds.Data extends mx.data.binding.DataAccessor { var component, property, location; function Data () { super(); } function getTypedValue(requestedType) { var _local5; var _local2 = getFieldAccessor().getValue(); var _local3 = null; if (_local2 != null) { if (_local2 instanceof Array) { _local3 = "Array"; } else if ((_local2 instanceof XMLNode) || (_local2 instanceof XMLNode)) { _local3 = "XML"; } else { var _local4 = typeof(_local2); _local3 = _local4.charAt(0).toUpperCase() + _local4.slice(1); } } else { _local2 = null; } _local5 = new mx.data.binding.TypedValue(_local2, _local3, null); return(_local5); } function getGettableTypes() { return(null); } function setTypedValue(newValue) { getFieldAccessor().setValue(newValue.value, newValue); return(null); } function getSettableTypes() { return(null); } function getFieldAccessor() { return(component.createFieldAccessor(property, location, false)); } }
Symbol 78 MovieClip [__Packages.mx.data.binding.Formatter] Frame 0
class mx.data.binding.Formatter extends mx.data.binding.DataAccessor { function Formatter () { super(); } }
Symbol 79 MovieClip [__Packages.mx.data.binding.DataType] Frame 0
class mx.data.binding.DataType extends mx.data.binding.DataAccessor { var errorArray, type, kind, dataAccessor, encoder, formatter, getAnyTypedValue, setAnyTypedValue, component, location, property; function DataType () { super(); errorArray = null; } function setupDataAccessor(component, property, location) { super.setupDataAccessor(component, property, location); type = component.findSchema(property, location); if (type.kind != undefined) { kind = mx.data.binding.Binding.getRuntimeObject(type.kind); } else { kind = new mx.data.kinds.Data(); } kind.setupDataAccessor(component, property, location); dataAccessor = kind; if (type.encoder != undefined) { encoder = mx.data.binding.Binding.getRuntimeObject(type.encoder); encoder.setupDataAccessor(component, property, location); encoder.dataAccessor = dataAccessor; dataAccessor = encoder; } if (type.formatter != undefined) { formatter = mx.data.binding.Binding.getRuntimeObject(type.formatter); formatter.setupDataAccessor(component, property, location); formatter.dataAccessor = dataAccessor; } } function getAsBoolean() { var _local2 = getAnyTypedValue(["Boolean"]); return(_local2.value); } function getAsNumber() { var _local2 = getAnyTypedValue(["Number"]); return(_local2.value); } function getAsString() { var _local2 = getAnyTypedValue(["String"]); return(_local2.value); } function setAsBoolean(newValue) { setAnyTypedValue(new mx.data.binding.TypedValue(newValue, "Boolean")); } function setAsNumber(newValue) { setAnyTypedValue(new mx.data.binding.TypedValue(newValue, "Number")); } function setAsString(newValue) { setAnyTypedValue(new mx.data.binding.TypedValue(newValue, "String")); } function validationError(errorMessage) { if (errorArray == null) { errorArray = new Array(); } errorArray.push(errorMessage); } function validate(value) { } function getTypedValue(requestedType) { var _local2; if ((requestedType == "String") && (formatter != null)) { _local2 = formatter.getTypedValue(requestedType); } else { _local2 = dataAccessor.getTypedValue(requestedType); if (_local2.type == null) { _local2.type = type; } if (_local2.typeName == null) { _local2.typeName = type.name; } } if ((_local2.typeName != requestedType) && (requestedType != null)) { _local2 = null; } else if (((!requestedType) && (_local2.typeName == "XML")) && (_local2.type.name == "String")) { _local2 = null; } return(_local2); } function getGettableTypes() { var _local2 = new Array(); var _local3 = gettableTypes(); if (_local3 != null) { _local2 = _local2.concat(_local3); } if (type.name != null) { _local2 = _local2.concat(type.name); } if (formatter != null) { _local2 = _local2.concat(formatter.getGettableTypes()); } if (_local2.length == 0) { return(null); } return(_local2); } function setTypedValue(newValue) { if ((newValue.typeName == "String") && (formatter != null)) { return(formatter.setTypedValue(newValue)); } var _local3 = dataAccessor.getSettableTypes(); if ((_local3 == null) || (-1 != mx.data.binding.DataAccessor.findString(newValue.typeName, _local3))) { return(dataAccessor.setTypedValue(newValue)); } return(["Can't set a value of type " + newValue.typeName]); } function getSettableTypes() { var _local2 = new Array(); var _local3 = settableTypes(); if (_local3 != null) { _local2 = _local2.concat(_local3); } if (type.name != null) { _local2 = _local2.concat(type.name); } if (formatter != null) { _local2 = _local2.concat(formatter.getSettableTypes()); } if (_local2.length == 0) { return(null); } return(_local2); } function gettableTypes() { return(dataAccessor.getGettableTypes()); } function settableTypes() { return(dataAccessor.getSettableTypes()); } function validateAndNotify(returnData, noEvent, initialMessages) { var _local4 = false; errorArray = null; for (var _local6 in initialMessages) { validationError(initialMessages[_local6]); _local4 = true; } var _local7 = getTypedValue(); if ((_local7.value == null) || (_local7.value == "")) { if (type.required == false) { _global.__dataLogger.logData(component, "Validation of null value succeeded because field '<property>/<m_location>' is not required", this); } else { var _local8 = ((location == null) ? "" : (":" + String(location))); validationError((("Required item '" + property) + _local8) + "' is missing"); _local4 = true; } } else { validate(_local7.value); _local4 = true; } if (_local4 && (noEvent != true)) { var _local5 = new Object(); _local5.type = ((errorArray == null) ? "valid" : "invalid"); _local5.property = property; _local5.location = location; _local5.messages = errorArray; component.dispatchEvent(_local5); returnData.event = _local5; } return(errorArray); } }
Symbol 80 MovieClip [__Packages.mx.utils.ClassFinder] Frame 0
class mx.utils.ClassFinder { function ClassFinder () { } static function findClass(fullClassName) { if (fullClassName == null) { return(null); } var _local3 = _global; var _local4 = fullClassName.split("."); var _local2 = 0; while (_local2 < _local4.length) { _local3 = _local3[_local4[_local2]]; _local2++; } if (_local3 == null) { _global.__dataLogger.logData(null, "Could not find class '<classname>'", {classname:fullClassName}, mx.data.binding.Log.BRIEF); } return(_local3); } }
Symbol 81 MovieClip [__Packages.mx.data.components.WebServiceConnector] Frame 0
class mx.data.components.WebServiceConnector extends MovieClip { var WSDLURL, addProperty, _visible, realWSDLURL, service, dispatchEvent, results, operation, multipleSimultaneousAllowed, refreshAndValidate, suppressInvalidCalls, params; function WebServiceConnector () { super(); mx.events.EventDispatcher.initialize(this); mx.data.binding.ComponentMixins.initComponent(this); if ((WSDLURL.length > 0) == true) { setWSDLURL(WSDLURL); } addProperty("WSDLURL", getWSDLURL, setWSDLURL); _visible = false; } function setWSDLURL(url) { realWSDLURL = url; service = allServices[realWSDLURL]; if (service == null) { _global.__dataLogger.logData(this, "Creating WebService object for <WSDLURL>", {WSDLURL:WSDLURL}); service = new mx.services.WebService(realWSDLURL); allServices[realWSDLURL] = service; var _local3 = function (fault) { this.lastFault = fault; }; service.onFault = _local3; service.lastFault = null; } else { _global.__dataLogger.logData(this, "Will use already-created WebService object for <WSDLURL>", {WSDLURL:WSDLURL}); } } function getWSDLURL() { return(realWSDLURL); } function notifyInfo() { notifyStatus("StatusChange", {callsInProgress:callsInProgress}); } function bumpCallsInProgress(amount) { callsInProgress = callsInProgress + amount; notifyInfo(); } function notifyStatus(code, data) { var _local2 = new Object(); _local2.type = "status"; _local2.code = code; _local2.data = data; dispatchEvent(_local2); } function setResult(r, pendingCall) { if (Object(this).__schema.multiPartResult) { if (typeof(pendingCall.getOutputParameters) != "function") { pendingCall.getOutputParameters = mx.services.PendingCall.prototype.getOutputParameters; } var _local8 = mx.data.binding.FieldAccessor.findElementType(Object(this).__schema, "results"); var _local5 = pendingCall.getOutputParameters(); var _local4 = new Object(); var _local6 = _local5.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local5[_local2]; _local4[_local3.name] = _local3.value; _local2++; } results = _local4; } else { results = r; } dispatchEvent({type:"result"}); } function trigger() { _global.__dataLogger.logData(this, "WebService Triggered, <WSDLURL>, <operation>", {WSDLURL:WSDLURL, operation:operation}); _global.__dataLogger.nestLevel++; if (service == null) { notifyStatus("WebServiceFault", {faultcode:"No.WSDLURL.Defined", faultstring:"the WebServiceConnector component had no WSDL URL defined"}); _global.__dataLogger.nestLevel--; return(undefined); } if (service.lastFault != null) { notifyStatus("WebServiceFault", service.lastFault); _global.__dataLogger.nestLevel--; return(undefined); } if ((!multipleSimultaneousAllowed) && (callsInProgress > 0)) { notifyStatus("CallAlreadyInProgress", callsInProgress); _global.__dataLogger.nestLevel--; return(undefined); } dispatchEvent({type:"send"}); if ((!refreshAndValidate("params")) && (suppressInvalidCalls)) { notifyStatus("InvalidParams"); _global.__dataLogger.nestLevel--; return(undefined); } var _local3 = new Array(); if (params instanceof Array) { var _local7 = 0; while (_local7 < params.length) { _local3.push(params[_local7]); _local7++; } _global.__dataLogger.logData(this, "Parameters to <operation> will be sent in the order you've provided", {WSDLURL:WSDLURL, operation:operation}); } else { var _local5 = mx.data.binding.FieldAccessor.findElementType(Object(this).__schema, "params"); if (_local5 != null) { var _local7 = 0; while (_local7 < _local5.elements.length) { var _local4 = _local5.elements[_local7].name; _local3.push(params[_local4]); _local7++; } _global.__dataLogger.logData(this, "Parameters to <operation> will be sent in the order defined in the schema", {WSDLURL:WSDLURL, operation:operation}); } else { for (var _local7 in params) { _local3.push(params[_local7]); } _global.__dataLogger.logData(this, "No schema information available - parameters to <operation> will be sent in a unknown order", {WSDLURL:WSDLURL, operation:operation}); } } _global.__dataLogger.logData(this, "Invoking <operation>(<params>)", {WSDLURL:WSDLURL, operation:operation, params:_local3}); var _local6 = service.stub.invokeOperation(operation, _local3); if (_local6 == null) { if (service.lastFault != null) { notifyStatus("WebServiceFault", service.lastFault); service.lastFault = null; } else { notifyStatus("WebServiceFault", {faultcode:"Unknown.Call.Failure", faultstring:"WebService invocation failed for unknown reasons"}); } } else { bumpCallsInProgress(1); _local6.WebServiceConnector = this; _local6.onResult = function (result) { this.WebServiceConnector.setResult(result, this); this.WebServiceConnector.bumpCallsInProgress(-1); }; _local6.onFault = function (fault) { this.WebServiceConnector.notifyStatus("WebServiceFault", fault); this.WebServiceConnector.bumpCallsInProgress(-1); }; } _global.__dataLogger.nestLevel--; } function onUpdate() { _visible = true; } static var allServices = new Array(); var callsInProgress = 0; }
Symbol 82 MovieClip [__Packages.flextnet.utility.StockQuoteRetriever] Frame 0
class flextnet.utility.StockQuoteRetriever { var __wsdlURL, wsConn, symbolHash, dispatchEvent, __symbolList; function StockQuoteRetriever (wsURL) { var _local2 = ((wsURL != undefined) ? (wsURL) : "http://www.webservicex.net/stockquote.asmx?WSDL"); __wsdlURL = _local2; createWsConn(_local2); mx.events.EventDispatcher.initialize(this); } function createWsConn(wsdlURL) { if (wsConn != undefined) { delete wsConn; } wsConn = new mx.data.components.WebServiceConnector(); wsConn.WSDLURL = wsdlURL; wsConn.operation = "GetQuote"; wsConn.suppressInvalidCalls = true; wsConn.multipleSimultaneousAllowed = false; wsConn.addEventListener("result", this); wsConn.addEventListener("status", this); } function retrieve() { wsConn.trigger(); } function retrieveStockInfo(symbol) { return(symbolHash[symbol]); } function status(evt) { _root.txt.text = _root.txt.text + ((((((((" status: " + __wsdlURL) + ", fault: ") + evt.data.faultcode) + ", code: ") + evt.code) + ", string: ") + evt.data.faultstring) + newline); } function result(evt) { var _local11 = new XML(evt.target.results); var _local10 = false; var _local8 = _local11.firstChild.childNodes; var _local5 = 0; while (_local5 < _local8.length) { var _local3 = new Object(); var _local2 = _local8[_local5].firstChild; while (_local2 != null) { var _local4 = _local2.nodeName; var _local6 = _local2.firstChild.nodeValue; _local3[_local4] = _local6; _local2 = _local2.nextSibling; } var _local7 = symbolHash[_local3.Symbol]; for (var _local9 in _local3) { _local7[_local9] = _local3[_local9]; } _local10 = true; _local5++; } dispatchEvent({type:"stockUpdate", target:this, info:symbolHash, valid:_local10}); } function set symbolList(val) { __symbolList = val; var _local3 = __symbolList.join(", "); wsConn.params = [_local3]; symbolHash = new Object(); var _local2 = 0; while (_local2 < __symbolList.length) { symbolHash[__symbolList[_local2]] = new Object(); _local2++; } //return(symbolList); } function get symbolList() { return(__symbolList); } function get wsConnection() { return(wsConn); } }
Symbol 83 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher { var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener; function UIEventDispatcher () { super(); } static function addKeyEvents(obj) { if (obj.keyHandler == undefined) { var _local1 = (obj.keyHandler = new Object()); _local1.owner = obj; _local1.onKeyDown = _fEventDispatcher.onKeyDown; _local1.onKeyUp = _fEventDispatcher.onKeyUp; } Key.addListener(obj.keyHandler); } static function removeKeyEvents(obj) { Key.removeListener(obj.keyHandler); } static function addLoadEvents(obj) { if (obj.onLoad == undefined) { obj.onLoad = _fEventDispatcher.onLoad; obj.onUnload = _fEventDispatcher.onUnload; if (obj.getBytesTotal() == obj.getBytesLoaded()) { obj.doLater(obj, "onLoad"); } } } static function removeLoadEvents(obj) { delete obj.onLoad; delete obj.onUnload; } static function initialize(obj) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.UIEventDispatcher(); } obj.addEventListener = _fEventDispatcher.__addEventListener; obj.__origAddEventListener = _fEventDispatcher.addEventListener; obj.removeEventListener = _fEventDispatcher.removeEventListener; obj.dispatchEvent = _fEventDispatcher.dispatchEvent; obj.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(mx.events.EventDispatcher, eventObj); dispatchQueue(this, eventObj); } function onKeyDown(Void) { owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onKeyUp(Void) { owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onLoad(Void) { if (__sentLoadEvent != true) { dispatchEvent({type:"load"}); } __sentLoadEvent = true; } function onUnload(Void) { dispatchEvent({type:"unload"}); } function __addEventListener(event, handler) { __origAddEventListener(event, handler); var _local3 = lowLevelEvents; for (var _local5 in _local3) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local2 = _local3[_local5][0]; mx.events.UIEventDispatcher[_local2](this); } } } function removeEventListener(event, handler) { var _local6 = "__q_" + event; mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler); if (this[_local6].length == 0) { var _local2 = lowLevelEvents; for (var _local5 in _local2) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local3 = _local2[_local5][1]; mx.events.UIEventDispatcher[_local2[_local5][1]](this); } } } } static var keyEvents = {keyDown:1, keyUp:1}; static var loadEvents = {load:1, unload:1}; static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]}; static var _fEventDispatcher = undefined; }
Symbol 84 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement { var getStyle, _color, onEnterFrame; function ColoredSkinElement () { } function setColor(c) { if (c != undefined) { var _local2 = new Color(this); _local2.setRGB(c); } } function draw(Void) { setColor(getStyle(_color)); onEnterFrame = undefined; } function invalidateStyle(Void) { onEnterFrame = draw; } static function setColorStyle(p, colorStyle) { if (p._color == undefined) { p._color = colorStyle; } p.setColor = mixins.setColor; p.invalidateStyle = mixins.invalidateStyle; p.draw = mixins.draw; p.setColor(p.getStyle(colorStyle)); } static var mixins = new mx.skins.ColoredSkinElement(); }
Symbol 85 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions { function UIObjectExtensions () { } static function addGeometry(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); } static function Extensions() { if (bExtended == true) { return(true); } bExtended = true; var _local6 = mx.core.UIObject.prototype; var _local9 = mx.skins.SkinElement.prototype; addGeometry(_local9, _local6); mx.events.UIEventDispatcher.initialize(_local6); var _local13 = mx.skins.ColoredSkinElement; mx.styles.CSSTextStyles.addTextStyles(_local6); var _local5 = MovieClip.prototype; _local5.getTopLevel = _local6.getTopLevel; _local5.createLabel = _local6.createLabel; _local5.createObject = _local6.createObject; _local5.createClassObject = _local6.createClassObject; _local5.createEmptyObject = _local6.createEmptyObject; _local5.destroyObject = _local6.destroyObject; _global.ASSetPropFlags(_local5, "getTopLevel", 1); _global.ASSetPropFlags(_local5, "createLabel", 1); _global.ASSetPropFlags(_local5, "createObject", 1); _global.ASSetPropFlags(_local5, "createClassObject", 1); _global.ASSetPropFlags(_local5, "createEmptyObject", 1); _global.ASSetPropFlags(_local5, "destroyObject", 1); _local5.__getTextFormat = _local6.__getTextFormat; _local5._getTextFormat = _local6._getTextFormat; _local5.getStyleName = _local6.getStyleName; _local5.getStyle = _local6.getStyle; _global.ASSetPropFlags(_local5, "__getTextFormat", 1); _global.ASSetPropFlags(_local5, "_getTextFormat", 1); _global.ASSetPropFlags(_local5, "getStyleName", 1); _global.ASSetPropFlags(_local5, "getStyle", 1); var _local7 = TextField.prototype; addGeometry(_local7, _local6); _local7.addProperty("enabled", function () { return(this.__enabled); }, function (x) { this.__enabled = x; this.invalidateStyle(); }); _local7.move = _local9.move; _local7.setSize = _local9.setSize; _local7.invalidateStyle = function () { this.invalidateFlag = true; }; _local7.draw = function () { if (this.invalidateFlag) { this.invalidateFlag = false; var _local2 = this._getTextFormat(); this.setTextFormat(_local2); this.setNewTextFormat(_local2); this.embedFonts = _local2.embedFonts == true; if (this.__text != undefined) { if (this.text == "") { this.text = this.__text; } delete this.__text; } this._visible = true; } }; _local7.setColor = function (color) { this.textColor = color; }; _local7.getStyle = _local5.getStyle; _local7.__getTextFormat = _local6.__getTextFormat; _local7.setValue = function (v) { this.text = v; }; _local7.getValue = function () { return(this.text); }; _local7.addProperty("value", function () { return(this.getValue()); }, function (v) { this.setValue(v); }); _local7._getTextFormat = function () { var _local2 = this.stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); this.__getTextFormat(_local2); this.stylecache.tf = _local2; if (this.__enabled == false) { if (this.enabledColor == undefined) { var _local4 = this.getTextFormat(); this.enabledColor = _local4.color; } var _local3 = this.getStyle("disabledColor"); _local2.color = _local3; } else if (this.enabledColor != undefined) { if (_local2.color == undefined) { _local2.color = this.enabledColor; } } return(_local2); }; _local7.getPreferredWidth = function () { this.draw(); return(this.textWidth + 4); }; _local7.getPreferredHeight = function () { this.draw(); return(this.textHeight + 4); }; TextFormat.prototype.getTextExtent2 = function (s) { var _local3 = _root._getTextExtent; if (_local3 == undefined) { _root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100); _local3 = _root._getTextExtent; _local3._visible = false; } _root._getTextExtent.text = s; var _local4 = this.align; this.align = "left"; _root._getTextExtent.setTextFormat(this); this.align = _local4; return({width:_local3.textWidth, height:_local3.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 _local4 = _root; while (_local4._parent != undefined) { _local4 = _local4._parent; } _local4.addProperty("width", function () { return(Stage.width); }, null); _local4.addProperty("height", function () { return(Stage.height); }, null); _global.ASSetPropFlags(_local4, "width", 1); _global.ASSetPropFlags(_local4, "height", 1); return(true); } static var bExtended = false; static var UIObjectExtended = Extensions(); static var UIObjectDependency = mx.core.UIObject; static var SkinElementDependency = mx.skins.SkinElement; static var CSSTextStylesDependency = mx.styles.CSSTextStyles; static var UIEventDispatcherDependency = mx.events.UIEventDispatcher; }
Symbol 86 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults { var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill; function Defaults () { } static function setThemeDefaults() { var _local2 = _global.style; _local2.themeColor = 8453965 /* 0x80FF4D */; _local2.disabledColor = 8684164 /* 0x848284 */; _local2.modalTransparency = 0; _local2.filled = true; _local2.stroked = true; _local2.strokeWidth = 1; _local2.strokeColor = 0; _local2.fillColor = 16777215 /* 0xFFFFFF */; _local2.repeatInterval = 35; _local2.repeatDelay = 500; _local2.fontFamily = "_sans"; _local2.fontSize = 12; _local2.selectionColor = 13500353 /* 0xCDFFC1 */; _local2.rollOverColor = 14942166 /* 0xE3FFD6 */; _local2.useRollOver = true; _local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDuration = 200; _local2.openDuration = 250; _local2.borderStyle = "inset"; _local2.color = 734012 /* 0x0B333C */; _local2.textSelectedColor = 24371; _local2.textRollOverColor = 2831164 /* 0x2B333C */; _local2.textDisabledColor = 16777215 /* 0xFFFFFF */; _local2.vGridLines = true; _local2.hGridLines = false; _local2.vGridLineColor = 6710886 /* 0x666666 */; _local2.hGridLineColor = 6710886 /* 0x666666 */; _local2.headerColor = 15395562 /* 0xEAEAEA */; _local2.indentation = 17; _local2.folderOpenIcon = "TreeFolderOpen"; _local2.folderClosedIcon = "TreeFolderClosed"; _local2.defaultLeafIcon = "TreeNodeIcon"; _local2.disclosureOpenIcon = "TreeDisclosureOpen"; _local2.disclosureClosedIcon = "TreeDisclosureClosed"; _local2.popupDuration = 150; _local2.todayColor = 6710886 /* 0x666666 */; _local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration()); _local2.backgroundColor = 16777215 /* 0xFFFFFF */; _local2.borderColor = 13290186 /* 0xCACACA */; _local2.borderStyle = "inset"; _local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration()); _local2.borderStyle = "inset"; _local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration()); _local2.textAlign = "center"; _local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration()); _local2.borderColor = 14015965 /* 0xD5DDDD */; _local2.buttonColor = 7305079 /* 0x6F7777 */; _local2.shadowColor = 15658734 /* 0xEEEEEE */; _local2.highlightColor = 12897484 /* 0xC4CCCC */; _local2.shadowCapColor = 14015965 /* 0xD5DDDD */; _local2.borderCapColor = 9542041 /* 0x919999 */; var _local4 = new Object(); _local4.borderColor = 16711680 /* 0xFF0000 */; _local4.buttonColor = 16711680 /* 0xFF0000 */; _local4.shadowColor = 16711680 /* 0xFF0000 */; _local4.highlightColor = 16711680 /* 0xFF0000 */; _local4.shadowCapColor = 16711680 /* 0xFF0000 */; _local4.borderCapColor = 16711680 /* 0xFF0000 */; mx.core.UIComponent.prototype.origBorderStyles = _local4; var _local3; _local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration()); _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderStyle = "inset"; _global.styles.TextArea = _global.styles.TextInput; _local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "default"; _local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "alert"; _local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "inset"; _local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "none"; _local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration()); _local3.color = 11187123 /* 0xAAB3B3 */; _local3.fontWeight = "bold"; _local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = "11"; _local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "solid"; _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderColor = 9081738 /* 0x8A938A */; _local3.headerHeight = 22; _local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1))); _local3.verticalGap = -1; _local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration()); _local3.borderColor = 9542041 /* 0x919999 */; _local3.headerColor = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 10; _local3.textAlign = "right"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = 11; _local3.textAlign = "center"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration()); _local3.color = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 12; _local3.fontWeight = "bold"; _local3.textAlign = "center"; } function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) { if (typeof(r) == "object") { var _local18 = r.br; var _local16 = r.bl; var _local15 = r.tl; var _local10 = r.tr; } else { var _local10 = r; var _local15 = _local10; var _local16 = _local15; var _local18 = _local16; } if (typeof(c) == "object") { if (typeof(alpha) != "object") { var _local9 = [alpha, alpha]; } else { var _local9 = alpha; } if (ratios == undefined) { ratios = [0, 255]; } var _local14 = h * 0.7; if (typeof(rot) != "object") { var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */}; } else { var _local11 = rot; } if (gradient == "radial") { beginGradientFill("radial", c, _local9, ratios, _local11); } else { beginGradientFill("linear", c, _local9, ratios, _local11); } } else if (c != undefined) { beginFill(c, alpha); } r = _local18; var _local13 = r - (r * 0.707106781186547); var _local12 = r - (r * 0.414213562373095); moveTo(x + w, (y + h) - r); lineTo(x + w, (y + h) - r); curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13); curveTo((x + w) - _local12, y + h, (x + w) - r, y + h); r = _local16; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x + r, y + h); curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13); curveTo(x, (y + h) - _local12, x, (y + h) - r); r = _local15; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x, y + r); curveTo(x, y + _local12, x + _local13, y + _local13); curveTo(x + _local12, y, x + r, y); r = _local10; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo((x + w) - r, y); curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13); curveTo(x + w, y + _local12, x + w, y + r); lineTo(x + w, (y + h) - r); if (c != undefined) { endFill(); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); setThemeDefaults(); mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; static var UIObjectDependency = mx.core.UIObject; }
Symbol 87 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager { var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth; function DepthManager () { MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth; MovieClip.prototype.createChildAtDepth = createChildAtDepth; MovieClip.prototype.setDepthTo = setDepthTo; MovieClip.prototype.setDepthAbove = setDepthAbove; MovieClip.prototype.setDepthBelow = setDepthBelow; MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth; MovieClip.prototype.shuffleDepths = shuffleDepths; MovieClip.prototype.getDepthByFlag = getDepthByFlag; MovieClip.prototype.buildDepthTable = 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); } static function sortFunction(a, b) { if (a.getDepth() > b.getDepth()) { return(1); } return(-1); } static function test(depth) { if (depth == reservedDepth) { return(false); } return(true); } static function createClassObjectAtDepth(className, depthSpace, initObj) { var _local1; switch (depthSpace) { case kCursor : _local1 = holder.createClassChildAtDepth(className, kTopmost, initObj); break; case kTooltip : _local1 = holder.createClassChildAtDepth(className, kTop, initObj); break; } return(_local1); } static function createObjectAtDepth(linkageName, depthSpace, initObj) { var _local1; switch (depthSpace) { case kCursor : _local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj); break; case kTooltip : _local1 = holder.createChildAtDepth(linkageName, kTop, initObj); break; } return(_local1); } function createClassChildAtDepth(className, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local5 = "down"; if (depthFlag == kBottom) { _local5 = "up"; } var _local6; if (_local3[_local2] != undefined) { _local6 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local5); } var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj); if (_local6 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local6, _local3, _local5); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function createChildAtDepth(linkageName, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local5 = "down"; if (depthFlag == kBottom) { _local5 = "up"; } var _local6; if (_local3[_local2] != undefined) { _local6 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local5); } var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj); if (_local6 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local6, _local3, _local5); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function setDepthTo(depthFlag) { var _local2 = _parent.buildDepthTable(); var _local3 = _parent.getDepthByFlag(depthFlag, _local2); if (_local2[_local3] != undefined) { shuffleDepths(MovieClip(this), _local3, _local2, undefined); } else { swapDepths(_local3); } if (depthFlag == kTopmost) { _topmost = true; } else { delete _topmost; } } function setDepthAbove(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local2 = targetInstance.getDepth() + 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local2] != undefined) && (getDepth() < _local2)) { _local2 = _local2 - 1; } if (_local2 > highestDepth) { _local2 = highestDepth; } if (_local2 == highestDepth) { _parent.shuffleDepths(this, _local2, _local3, "down"); } else if (_local3[_local2] != undefined) { _parent.shuffleDepths(this, _local2, _local3, undefined); } else { swapDepths(_local2); } } function setDepthBelow(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local6 = targetInstance.getDepth() - 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local6] != undefined) && (getDepth() > _local6)) { _local6 = _local6 + 1; } var _local4 = lowestDepth + numberOfAuthortimeLayers; var _local5; for (_local5 in _local3) { var _local2 = _local3[_local5]; if (_local2._parent != undefined) { _local4 = Math.min(_local4, _local2.getDepth()); } } if (_local6 < _local4) { _local6 = _local4; } if (_local6 == _local4) { _parent.shuffleDepths(this, _local6, _local3, "up"); } else if (_local3[_local6] != undefined) { _parent.shuffleDepths(this, _local6, _local3, undefined); } else { swapDepths(_local6); } } function findNextAvailableDepth(targetDepth, depthTable, direction) { var _local5 = lowestDepth + numberOfAuthortimeLayers; if (targetDepth < _local5) { targetDepth = _local5; } if (depthTable[targetDepth] == undefined) { return(targetDepth); } var _local1 = targetDepth; var _local2 = targetDepth; if (direction == "down") { while (depthTable[_local2] != undefined) { _local2--; } return(_local2); } while (depthTable[_local1] != undefined) { _local1++; } return(_local1); } function shuffleDepths(subject, targetDepth, depthTable, direction) { var _local9 = lowestDepth + numberOfAuthortimeLayers; var _local8 = _local9; var _local5; for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local9 = Math.min(_local9, _local7.getDepth()); } } if (direction == undefined) { if (subject.getDepth() > targetDepth) { direction = "up"; } else { direction = "down"; } } var _local1 = new Array(); for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local1.push(_local7); } } _local1.sort(sortFunction); if (direction == "up") { var _local3; var _local11; do { if (_local1.length <= 0) { break; } _local3 = _local1.pop(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } _local11 = subject.getDepth(); _local3 = _local1.pop(); var _local4 = _local3.getDepth(); if (_local11 > (_local4 + 1)) { if (_local4 >= 0) { subject.swapDepths(_local4 + 1); } else if ((_local11 > _local8) && (_local4 < _local8)) { subject.swapDepths(_local8); } } subject.swapDepths(_local3); } while (_local4 != targetDepth); } else if (direction == "down") { var _local3; do { if (_local1.length <= 0) { break; } _local3 = _local1.shift(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } var _local11 = _local3.getDepth(); _local3 = _local1.shift(); var _local4 = _local3.getDepth(); if ((_local11 < (_local4 - 1)) && (_local4 > 0)) { subject.swapDepths(_local4 - 1); } subject.swapDepths(_local3); } while (_local4 != targetDepth); } } function getDepthByFlag(depthFlag, depthTable) { var _local2 = 0; if ((depthFlag == kTop) || (depthFlag == kNotopmost)) { var _local5 = 0; var _local7 = false; var _local8; for (_local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { if (!_local9._topmost) { _local2 = Math.max(_local2, _local9.getDepth()); } else if (!_local7) { _local5 = _local9.getDepth(); _local7 = true; } else { _local5 = Math.min(_local5, _local9.getDepth()); } } } } _local2 = _local2 + 20; if (_local7) { if (_local2 >= _local5) { _local2 = _local5 - 1; } } } else if (depthFlag == kBottom) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.min(_local2, _local9.getDepth()); } } } _local2 = _local2 - 20; } else if (depthFlag == kTopmost) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.max(_local2, _local9.getDepth()); } } } _local2 = _local2 + 100; } if (_local2 >= highestDepth) { _local2 = highestDepth; } var _local6 = lowestDepth + numberOfAuthortimeLayers; for (var _local9 in depthTable) { var _local4 = depthTable[_local9]; if (_local4._parent != undefined) { _local6 = Math.min(_local6, _local4.getDepth()); } } if (_local2 <= _local6) { _local2 = _local6; } return(_local2); } function buildDepthTable(Void) { var _local5 = new Array(); var _local4; for (_local4 in this) { var _local2 = this[_local4]; var _local3 = typeof(_local2); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) { if (_local2._parent == this) { _local5[_local2.getDepth()] = _local2; } } } return(_local5); } static var reservedDepth = 1048575; static var highestDepth = 1048574; static var lowestDepth = -16383; static var numberOfAuthortimeLayers = 383; static var kCursor = 101; static var kTooltip = 102; static var kTop = 201; static var kBottom = 202; static var kTopmost = 203; static var kNotopmost = 204; static var holder = _root.createEmptyMovieClip("reserved", reservedDepth); static var __depthManager = new mx.managers.DepthManager(); }
Symbol 88 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent { static var emphasizedStyleDeclaration; var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle; function SimpleButton () { super(); } function init(Void) { super.init(); if (preset == undefined) { boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } useHandCursor = false; } function createChildren(Void) { if (preset != undefined) { var _local2 = this[idNames[preset]]; this[refNames[preset]] = _local2; skinName = _local2; if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } initializing = false; } else if (__state == true) { setStateVar(true); } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } } } function setIcon(tag, linkageName) { return(setSkin(tag + 8, linkageName)); } function changeIcon(tag, linkageName) { linkLength = linkageName.length; var _local2 = stateNames[tag] + "Icon"; this[_local2] = linkageName; this[idNames[tag + 8]] = _local2; setStateVar(getState()); } function changeSkin(tag, linkageName) { var _local2 = stateNames[tag] + "Skin"; this[_local2] = linkageName; this[idNames[tag]] = _local2; setStateVar(getState()); } function viewIcon(varName) { var _local4 = varName + "Icon"; var _local3 = this[_local4]; if (typeof(_local3) == "string") { var _local5 = _local3; if (__emphasized) { if (this[_local3 + "Emphasized"].length > 0) { _local3 = _local3 + "Emphasized"; } } if (this[_local3].length == 0) { return(undefined); } _local3 = setIcon(tagMap[_local5], this[_local3]); if ((_local3 == undefined) && (_global.isLivePreview)) { _local3 = setIcon(0, "ButtonIcon"); } this[_local4] = _local3; } iconName._visible = false; iconName = _local3; iconName._visible = true; } function removeIcons() { var _local3 = 0; while (_local3 < 2) { var _local2 = 8; while (_local2 < 16) { destroyObject(idNames[_local2]); this[stateNames[_local2 - 8] + "Icon"] = ""; _local2++; } _local3++; } refresh(); } function setSkin(tag, linkageName, initobj) { var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this}))); calcSize(tag, _local3); return(_local3); } function calcSize(Void) { __width = _width; __height = _height; } function viewSkin(varName, initObj) { var _local3 = varName + "Skin"; var _local2 = this[_local3]; if (typeof(_local2) == "string") { var _local4 = _local2; if (__emphasized) { if (this[_local2 + "Emphasized"].length > 0) { _local2 = _local2 + "Emphasized"; } } if (this[_local2].length == 0) { return(undefined); } _local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this}))); this[_local3] = _local2; } skinName._visible = false; skinName = _local2; skinName._visible = true; } function showEmphasized(e) { if (e && (!__emphatic)) { if (emphasizedStyleDeclaration != undefined) { __emphaticStyleName = styleName; styleName = emphasizedStyleDeclaration; } __emphatic = true; } else { if (__emphatic) { styleName = __emphaticStyleName; } __emphatic = false; } } function refresh(Void) { var _local2 = getState(); if (enabled == false) { viewIcon("disabled"); viewSkin("disabled"); } else { viewSkin(phase); viewIcon(phase); } setView(phase == "down"); iconName.enabled = enabled; } function setView(offset) { if (iconName == undefined) { return(undefined); } var _local2 = (offset ? (btnOffset) : 0); iconName._x = ((__width - iconName._width) / 2) + _local2; iconName._y = ((__height - iconName._height) / 2) + _local2; } function setStateVar(state) { if (state) { if (trueOverSkin.length == 0) { rolloverSkin = tus; } else { rolloverSkin = trs; } if (trueOverIcon.length == 0) { rolloverIcon = tui; } else { rolloverIcon = tri; } upSkin = tus; downSkin = tds; disabledSkin = dts; upIcon = tui; downIcon = tdi; disabledIcon = dti; } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } else { rolloverSkin = frs; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } else { rolloverIcon = fri; } upSkin = fus; downSkin = fds; disabledSkin = dfs; upIcon = fui; downIcon = fdi; disabledIcon = dfi; } __state = state; } function setState(state) { if (state != __state) { setStateVar(state); invalidate(); } } function size(Void) { refresh(); } function draw(Void) { if (initializing) { initializing = false; skinName.visible = true; iconName.visible = true; } size(); } function getState(Void) { return(__state); } function setToggle(val) { __toggle = val; if (__toggle == false) { setState(false); } } function getToggle(Void) { return(__toggle); } function set toggle(val) { setToggle(val); //return(toggle); } function get toggle() { return(getToggle()); } function set value(val) { setSelected(val); //return(value); } function get value() { return(getSelected()); } function set selected(val) { setSelected(val); //return(selected); } function get selected() { return(getSelected()); } function setSelected(val) { if (__toggle) { setState(val); } else { setState((initializing ? (val) : (__state))); } } function getSelected() { return(__state); } function setEnabled(val) { if (enabled != val) { super.setEnabled(val); invalidate(); } } function onPress(Void) { pressFocus(); phase = "down"; refresh(); dispatchEvent({type:"buttonDown"}); if (autoRepeat) { interval = setInterval(this, "onPressDelay", getStyle("repeatDelay")); } } function onPressDelay(Void) { dispatchEvent({type:"buttonDown"}); if (autoRepeat) { clearInterval(interval); interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval")); } } function onPressRepeat(Void) { dispatchEvent({type:"buttonDown"}); updateAfterEvent(); } function onRelease(Void) { releaseFocus(); phase = "rollover"; if (interval != undefined) { clearInterval(interval); delete interval; } if (getToggle()) { setState(!getState()); } else { refresh(); } dispatchEvent({type:"click"}); } function onDragOut(Void) { phase = "up"; refresh(); dispatchEvent({type:"buttonDragOut"}); } function onDragOver(Void) { if (phase != "up") { onPress(); return(undefined); } phase = "down"; refresh(); } function onReleaseOutside(Void) { releaseFocus(); phase = "up"; if (interval != undefined) { clearInterval(interval); delete interval; } } function onRollOver(Void) { phase = "rollover"; refresh(); } function onRollOut(Void) { phase = "up"; refresh(); } function getLabel(Void) { return(fui.text); } function setLabel(val) { if (typeof(fui) == "string") { createLabel("fui", 8, val); fui.styleName = this; } else { fui.text = val; } var _local4 = fui._getTextFormat(); var _local2 = _local4.getTextExtent2(val); fui._width = _local2.width + 5; fui._height = _local2.height + 5; iconName = fui; setView(__state); } function get emphasized() { return(__emphasized); } function set emphasized(val) { __emphasized = val; var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]] = stateNames[_local2] + "Skin"; if (typeof(this[idNames[_local2 + 8]]) == "movieclip") { this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon"; } _local2++; } showEmphasized(__emphasized); setStateVar(__state); invalidateStyle(); //return(emphasized); } function keyDown(e) { if (e.code == 32) { onPress(); } } function keyUp(e) { if (e.code == 32) { onRelease(); } } function onKillFocus(newFocus) { super.onKillFocus(); if (phase != "up") { phase = "up"; refresh(); } } static var symbolName = "SimpleButton"; static var symbolOwner = mx.controls.SimpleButton; static var version = "2.0.2.126"; var className = "SimpleButton"; var style3dInset = 4; var btnOffset = 1; var __toggle = false; var __state = false; var __emphasized = false; var __emphatic = false; static var falseUp = 0; static var falseDown = 1; static var falseOver = 2; static var falseDisabled = 3; static var trueUp = 4; static var trueDown = 5; static var trueOver = 6; static var trueDisabled = 7; var falseUpSkin = "SimpleButtonUp"; var falseDownSkin = "SimpleButtonIn"; var falseOverSkin = ""; var falseDisabledSkin = "SimpleButtonUp"; var trueUpSkin = "SimpleButtonIn"; var trueDownSkin = ""; var trueOverSkin = ""; var trueDisabledSkin = "SimpleButtonIn"; var falseUpIcon = ""; var falseDownIcon = ""; var falseOverIcon = ""; var falseDisabledIcon = ""; var trueUpIcon = ""; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = ""; var phase = "up"; var fui = "falseUpIcon"; var fus = "falseUpSkin"; var fdi = "falseDownIcon"; var fds = "falseDownSkin"; var frs = "falseOverSkin"; var fri = "falseOverIcon"; var dfi = "falseDisabledIcon"; var dfs = "falseDisabledSkin"; var tui = "trueUpIcon"; var tus = "trueUpSkin"; var tdi = "trueDownIcon"; var tds = "trueDownSkin"; var trs = "trueOverSkin"; var tri = "trueOverIcon"; var dts = "trueDisabledSkin"; var dti = "trueDisabledIcon"; var rolloverSkin = mx.controls.SimpleButton.prototype.frs; var rolloverIcon = mx.controls.SimpleButton.prototype.fri; var upSkin = mx.controls.SimpleButton.prototype.fus; var downSkin = mx.controls.SimpleButton.prototype.fds; var disabledSkin = mx.controls.SimpleButton.prototype.dfs; var upIcon = mx.controls.SimpleButton.prototype.fui; var downIcon = mx.controls.SimpleButton.prototype.fdi; var disabledIcon = mx.controls.SimpleButton.prototype.dfi; var initializing = true; var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"]; var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"]; var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"]; var 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}; }
Symbol 89 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager { static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent; function SystemManager () { } static function init(Void) { if (_initialized == false) { _initialized = true; mx.events.EventDispatcher.initialize(mx.managers.SystemManager); Mouse.addListener(mx.managers.SystemManager); Stage.addListener(mx.managers.SystemManager); _xAddEventListener = addEventListener; addEventListener = __addEventListener; _xRemoveEventListener = removeEventListener; removeEventListener = __removeEventListener; } } static function addFocusManager(f) { form = f; f.focusManager.activate(); } static function removeFocusManager(f) { } static function onMouseDown(Void) { var _local1 = form; _local1.focusManager._onMouseDown(); } static function onResize(Void) { var _local7 = Stage.width; var _local6 = Stage.height; var _local9 = _global.origWidth; var _local8 = _global.origHeight; var _local3 = Stage.align; var _local5 = (_local9 - _local7) / 2; var _local4 = (_local8 - _local6) / 2; if (_local3 == "T") { _local4 = 0; } else if (_local3 == "B") { _local4 = _local8 - _local6; } else if (_local3 == "L") { _local5 = 0; } else if (_local3 == "R") { _local5 = _local9 - _local7; } else if (_local3 == "LT") { _local4 = 0; _local5 = 0; } else if (_local3 == "TR") { _local4 = 0; _local5 = _local9 - _local7; } else if (_local3 == "LB") { _local4 = _local8 - _local6; _local5 = 0; } else if (_local3 == "RB") { _local4 = _local8 - _local6; _local5 = _local9 - _local7; } if (__screen == undefined) { __screen = new Object(); } __screen.x = _local5; __screen.y = _local4; __screen.width = _local7; __screen.height = _local6; _root.focusManager.relocate(); dispatchEvent({type:"resize"}); } static function get screen() { init(); if (__screen == undefined) { onResize(); } return(__screen); } static var _initialized = false; static var idleFrames = 0; static var isMouseDown = false; static var forms = new Array(); }
Symbol 90 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent { var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, lastMouse, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, findFocusFromObject; function FocusManager () { super(); } function get defaultPushButton() { return(__defaultPushButton); } function set defaultPushButton(x) { if (x != __defaultPushButton) { __defaultPushButton.__set__emphasized(false); __defaultPushButton = x; defPushButton = x; x.__set__emphasized(true); } //return(defaultPushButton); } function getMaxTabIndex(o) { var _local3 = 0; var _local6; for (_local6 in o) { var _local2 = o[_local6]; if (_local2._parent == o) { if (_local2.tabIndex != undefined) { if (_local2.tabIndex > _local3) { _local3 = _local2.tabIndex; } } if (_local2.tabChildren == true) { var _local4 = getMaxTabIndex(_local2); if (_local4 > _local3) { _local3 = _local4; } } } } return(_local3); } function getNextTabIndex(Void) { return(getMaxTabIndex(form) + 1); } function get nextTabIndex() { return(getNextTabIndex()); } function relocate(Void) { var _local2 = mx.managers.SystemManager.__get__screen(); move(_local2.x - 1, _local2.y - 1); } function init(Void) { super.init(); tabEnabled = false; _width = (_height = 1); _x = (_y = -1); _alpha = 0; _parent.focusManager = this; _parent.tabChildren = true; _parent.tabEnabled = false; form = _parent; _parent.addEventListener("hide", this); _parent.addEventListener("reveal", this); mx.managers.SystemManager.init(); mx.managers.SystemManager.addFocusManager(form); tabCapture.tabIndex = 0; watch("enabled", enabledChanged); Selection.addListener(this); lastMouse = new Object(); _global.ASSetPropFlags(_parent, "focusManager", 1); _global.ASSetPropFlags(_parent, "tabChildren", 1); _global.ASSetPropFlags(_parent, "tabEnabled", 1); } function enabledChanged(id, oldValue, newValue) { _visible = newValue; return(newValue); } function activate(Void) { Key.addListener(this); activated = (_visible = true); if (lastFocus != undefined) { bNeedFocus = true; if (!mx.managers.SystemManager.isMouseDown) { doLater(this, "restoreFocus"); } } } function deactivate(Void) { Key.removeListener(this); activated = (_visible = false); var _local2 = getSelectionFocus(); var _local3 = getActualFocus(_local2); if (isOurFocus(_local3)) { lastSelFocus = _local2; lastFocus = _local3; } cancelAllDoLaters(); } function isOurFocus(o) { if (o.focusManager == this) { return(true); } while (o != undefined) { if (o.focusManager != undefined) { return(false); } if (o._parent == _parent) { return(true); } o = o._parent; } return(false); } function onSetFocus(o, n) { if (n == null) { if (activated) { bNeedFocus = true; } } else { var _local2 = getFocus(); if (isOurFocus(_local2)) { bNeedFocus = false; lastFocus = _local2; lastSelFocus = n; } } } function restoreFocus(Void) { var _local2 = lastSelFocus.hscroll; if (_local2 != undefined) { var _local5 = lastSelFocus.scroll; var _local4 = lastSelFocus.background; } lastFocus.setFocus(); var _local3 = Selection; Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex); if (_local2 != undefined) { lastSelFocus.scroll = _local5; lastSelFocus.hscroll = _local2; lastSelFocus.background = _local4; } } function onUnload(Void) { mx.managers.SystemManager.removeFocusManager(form); } function setFocus(o) { if (o == null) { Selection.setFocus(null); } else if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } function getActualFocus(o) { var _local1 = o._parent; while (_local1 != undefined) { if (_local1.focusTextField != undefined) { while (_local1.focusTextField != undefined) { o = _local1; _local1 = _local1._parent; if (_local1 == undefined) { return(undefined); } if (_local1.focusTextField == undefined) { return(o); } } } if (_local1.tabEnabled != true) { return(o); } o = _local1; _local1 = o._parent; } return(undefined); } function getSelectionFocus() { var m = Selection.getFocus(); var o = eval (m); return(o); } function getFocus(Void) { var _local2 = getSelectionFocus(); return(getActualFocus(_local2)); } function walkTree(p, index, groupName, dir, lookup, firstChild) { var _local5 = true; var _local11; for (_local11 in p) { var _local2 = p[_local11]; if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_local2 != _lastTarget) { if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) { continue; } if ((_local2 instanceof TextField) && (_local2.selectable == false)) { continue; } if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) { if (firstChild) { _firstNode = _local2; firstChild = false; } } if (_nextIsNext == true) { if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) { _nextNode = _local2; } } if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) { if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) { } else { _lastx = _local2; } } } else { _prevNode = _lastx; _needPrev = false; _nextIsNext = true; } if (_local2.tabIndex != undefined) { if (_local2.tabIndex == index) { if (_foundList[_local2._name] == undefined) { if (_needPrev) { _prevObj = _local2; _needPrev = false; } _nextObj = _local2; } } if (dir && (_local2.tabIndex > index)) { if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) { _nextObj = _local2; } } else if ((!dir) && (_local2.tabIndex < index)) { if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) { _prevObj = _local2; } } if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) { _firstObj = _local2; } if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) { _lastObj = _local2; } } if (_local2.tabChildren) { getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) { if (_local2 == _lastTarget) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_prevNode == undefined) { var _local3 = _lastx; var _local7 = false; while (_local3 != undefined) { if (_local3 == _local2) { _local7 = true; break; } _local3 = _local3._parent; } if (_local7 == false) { _prevNode = _lastx; } } _needPrev = false; if (_nextNode == undefined) { _nextIsNext = true; } } else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } } _lastNode = _lastx; if (lookup) { if (p._parent != undefined) { if (p != _parent) { if ((_prevNode == undefined) && (dir)) { _needPrev = true; } else if ((_nextNode == undefined) && (!dir)) { _nextIsNext = false; } _lastTarget = _lastTarget._parent; getTabCandidate(p._parent, index, groupName, dir, true); } } } } function getTabCandidate(o, index, groupName, dir, firstChild) { var _local2; var _local3 = true; if (o == _parent) { _local2 = o; _local3 = false; } else { _local2 = o._parent; if (_local2 == undefined) { _local2 = o; _local3 = false; } } walkTree(_local2, index, groupName, dir, _local3, firstChild); } function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) { walkTree(o, index, groupName, dir, false, firstChild); } function getFocusManagerFromObject(o) { while (o != undefined) { if (o.focusManager != undefined) { return(o.focusManager); } o = o._parent; } return(undefined); } function tabHandler(Void) { bDrawFocus = true; var _local5 = getSelectionFocus(); var _local4 = getActualFocus(_local5); if (_local4 != _local5) { _local5 = _local4; } if (getFocusManagerFromObject(_local5) != this) { _local5 == undefined; } if (_local5 == undefined) { _local5 = form; } else if (_local5.tabIndex != undefined) { if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) { _foundList = new Object(); _foundList.tabIndex = _local5.tabIndex; } _foundList[_local5._name] = _local5; } var _local3 = Key.isDown(16) != true; _searchKey = getTimer(); _needPrev = true; _nextIsNext = false; _lastx = undefined; _firstNode = undefined; _lastNode = undefined; _nextNode = undefined; _prevNode = undefined; _firstObj = undefined; _lastObj = undefined; _nextObj = undefined; _prevObj = undefined; _lastTarget = _local5; var _local6 = _local5; getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true); var _local2; if (_local3) { if (_nextObj != undefined) { _local2 = _nextObj; } else { _local2 = _firstObj; } } else if (_prevObj != undefined) { _local2 = _prevObj; } else { _local2 = _lastObj; } if (_local2.tabIndex != _local5.tabIndex) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; _foundList[_local2._name] = _local2; } else { if (_foundList == undefined) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; } _foundList[_local2._name] = _local2; } if (_local2 == undefined) { if (_local3 == false) { if (_nextNode != undefined) { _local2 = _nextNode; } else { _local2 = _firstNode; } } else if ((_prevNode == undefined) || (_local5 == form)) { _local2 = _lastNode; } else { _local2 = _prevNode; } } if (_local2 == undefined) { return(undefined); } lastTabFocus = _local2; setFocus(_local2); if (_local2.emphasized != undefined) { if (defPushButton != undefined) { _local5 = defPushButton; defPushButton = mx.controls.SimpleButton(_local2); _local5.emphasized = false; _local2.emphasized = true; } } else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) { _local5 = defPushButton; defPushButton = __defaultPushButton; _local5.emphasized = false; __defaultPushButton.__set__emphasized(true); } } function onKeyDown(Void) { mx.managers.SystemManager.idleFrames = 0; if (defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (defaultPushButton != undefined) { doLater(this, "sendDefaultPushButtonEvent"); } } } } function sendDefaultPushButtonEvent(Void) { defPushButton.dispatchEvent({type:"click"}); } function getMousedComponentFromChildren(x, y, o) { for (var _local7 in o) { var _local2 = o[_local7]; if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) { _local2._searchKey = _searchKey; if (_local2.hitTest(x, y, true)) { if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) { return(_local2); } var _local3 = getMousedComponentFromChildren(x, y, _local2); if (_local3 != undefined) { return(_local3); } return(_local2); } } } return(undefined); } function mouseActivate(Void) { if (!bNeedFocus) { return(undefined); } _searchKey = getTimer(); var _local2 = getMousedComponentFromChildren(lastMouse.x, lastMouse.y, form); if (_local2 instanceof mx.core.UIComponent) { return(undefined); } _local2 = findFocusFromObject(_local2); if (_local2 == lastFocus) { return(undefined); } if (_local2 == undefined) { doLater(this, "restoreFocus"); return(undefined); } var _local3 = _local2.hscroll; if (_local3 != undefined) { var _local6 = _local2.scroll; var _local5 = _local2.background; } setFocus(_local2); var _local4 = Selection; Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex); if (_local3 != undefined) { _local2.scroll = _local6; _local2.hscroll = _local3; _local2.background = _local5; } } function _onMouseDown(Void) { bDrawFocus = false; if (lastFocus != undefined) { lastFocus.drawFocus(false); } mx.managers.SystemManager.idleFrames = 0; var _local3 = Selection; _local3.lastBeginIndex = Selection.getBeginIndex(); _local3.lastEndIndex = Selection.getEndIndex(); lastMouse.x = _root._xmouse; lastMouse.y = _root._ymouse; _root.localToGlobal(lastMouse); } function onMouseUp(Void) { if (_visible) { doLater(this, "mouseActivate"); } } function handleEvent(e) { if (e.type == "reveal") { mx.managers.SystemManager.activate(form); } else { mx.managers.SystemManager.deactivate(form); } } static function enableFocusManagement() { if (!initialized) { initialized = true; Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } } } static var symbolName = "FocusManager"; static var symbolOwner = mx.managers.FocusManager; static var version = "2.0.2.126"; var className = "FocusManager"; var bNeedFocus = false; var bDrawFocus = false; var defaultPushButtonEnabled = true; var activated = true; static var initialized = false; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 91 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement { var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible; function FocusRect () { super(); boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function draw(o) { o.adjustFocusRect(); } function setSize(w, h, r, a, rectCol) { _xscale = (_yscale = 100); 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); beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, r); 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); beginFill(rectCol, a * 0.3); 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); drawRoundRect(2, 2, w - 4, h - 4, r); endFill(); } else { var _local5; if (r != 0) { _local5 = r - 2; } else { _local5 = 0; } beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); beginFill(rectCol, a * 0.3); if (r != 0) { _local5 = r - 2; r = r - 1; } else { _local5 = 0; r = 0; } drawRoundRect(1, 1, w - 2, h - 2, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); } } function handleEvent(e) { if (e.type == "unload") { _visible = true; } else if (e.type == "resize") { e.target.adjustFocusRect(); } else if (e.type == "move") { e.target.adjustFocusRect(); } } static function classConstruct() { mx.core.UIComponent.prototype.drawFocus = function (focused) { var _local2 = this._parent.focus_mc; if (!focused) { _local2._visible = false; this.removeEventListener("unload", _local2); this.removeEventListener("move", _local2); this.removeEventListener("resize", _local2); } else { if (_local2 == undefined) { _local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop); _local2.tabEnabled = false; this._parent.focus_mc = _local2; } else { _local2._visible = true; } _local2.draw(this); if (_local2.getDepth() < this.getDepth()) { _local2.setDepthAbove(this); } this.addEventListener("unload", _local2); this.addEventListener("move", _local2); this.addEventListener("resize", _local2); } }; mx.core.UIComponent.prototype.adjustFocusRect = function () { var _local2 = this.getStyle("themeColor"); if (_local2 == undefined) { _local2 = 8453965 /* 0x80FF4D */; } var _local3 = this._parent.focus_mc; _local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2); _local3.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); } static var classConstructed = classConstruct(); static var DefaultsDependency = mx.skins.halo.Defaults; static var UIComponentDependency = mx.core.UIComponent; }
Symbol 92 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows { function OverlappedWindows () { } static function checkIdle(Void) { if (mx.managers.SystemManager.idleFrames > 10) { mx.managers.SystemManager.dispatchEvent({type:"idle"}); } else { mx.managers.SystemManager.idleFrames++; } } static function __addEventListener(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); } static function __removeEventListener(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); } } static function onMouseDown(Void) { mx.managers.SystemManager.idleFrames = 0; mx.managers.SystemManager.isMouseDown = true; var _local5 = _root; var _local3; var _local8 = _root._xmouse; var _local7 = _root._ymouse; if (mx.managers.SystemManager.form.modalWindow == undefined) { if (mx.managers.SystemManager.forms.length > 1) { var _local6 = mx.managers.SystemManager.forms.length; var _local4; _local4 = 0; while (_local4 < _local6) { var _local2 = mx.managers.SystemManager.forms[_local4]; if (_local2._visible) { if (_local2.hitTest(_local8, _local7)) { if (_local3 == undefined) { _local3 = _local2.getDepth(); _local5 = _local2; } else if (_local3 < _local2.getDepth()) { _local3 = _local2.getDepth(); _local5 = _local2; } } } _local4++; } if (_local5 != mx.managers.SystemManager.form) { mx.managers.SystemManager.activate(_local5); } } } var _local9 = mx.managers.SystemManager.form; _local9.focusManager._onMouseDown(); } static function onMouseMove(Void) { mx.managers.SystemManager.idleFrames = 0; } static function onMouseUp(Void) { mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.idleFrames = 0; } static function activate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) { var _local1 = mx.managers.SystemManager.form; _local1.focusManager.deactivate(); } } mx.managers.SystemManager.form = f; f.focusManager.activate(); } static function deactivate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) { var _local5 = mx.managers.SystemManager.form; _local5.focusManager.deactivate(); var _local3 = mx.managers.SystemManager.forms.length; var _local1; var _local2; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { _local1 = _local1 + 1; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } mx.managers.SystemManager.form = _local2; break; } if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } _local5 = mx.managers.SystemManager.form; _local5.focusManager.activate(); } } } static function addFocusManager(f) { mx.managers.SystemManager.forms.push(f); mx.managers.SystemManager.activate(f); } static function removeFocusManager(f) { var _local3 = mx.managers.SystemManager.forms.length; var _local1; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { if (mx.managers.SystemManager.form == f) { mx.managers.SystemManager.deactivate(f); } mx.managers.SystemManager.forms.splice(_local1, 1); return(undefined); } _local1++; } } static function enableOverlappedWindows() { if (!initialized) { initialized = true; mx.managers.SystemManager.checkIdle = checkIdle; mx.managers.SystemManager.__addEventListener = __addEventListener; mx.managers.SystemManager.__removeEventListener = __removeEventListener; mx.managers.SystemManager.onMouseDown = onMouseDown; mx.managers.SystemManager.onMouseMove = onMouseMove; mx.managers.SystemManager.onMouseUp = onMouseUp; mx.managers.SystemManager.activate = activate; mx.managers.SystemManager.deactivate = deactivate; mx.managers.SystemManager.addFocusManager = addFocusManager; mx.managers.SystemManager.removeFocusManager = removeFocusManager; } } static var initialized = false; static var SystemManagerDependency = mx.managers.SystemManager; }
Symbol 93 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle { var styleName, stylecache, _color, setColor, invalidateStyle; function CSSSetStyle () { } function _setStyle(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 _local7 = mx.styles.StyleManager.colorNames.haloBlue; var _local6 = mx.styles.StyleManager.colorNames.haloGreen; var _local8 = mx.styles.StyleManager.colorNames.haloOrange; var _local4 = {}; _local4[_local7] = 12188666 /* 0xB9FBFA */; _local4[_local6] = 13500353 /* 0xCDFFC1 */; _local4[_local8] = 16766319 /* 0xFFD56F */; var _local5 = {}; _local5[_local7] = 13958653 /* 0xD4FDFD */; _local5[_local6] = 14942166 /* 0xE3FFD6 */; _local5[_local8] = 16772787 /* 0xFFEEB3 */; var _local9 = _local4[newValue]; var _local10 = _local5[newValue]; if (_local9 == undefined) { _local9 = newValue; } if (_local10 == undefined) { _local10 = newValue; } setStyle("selectionColor", _local9); setStyle("rollOverColor", _local10); } _level0.changeColorStyleInChildren(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(styleName, styleProp, newValue); } } function changeTextStyleInChildren(styleProp) { var _local4 = getTimer(); var _local5; for (_local5 in this) { var _local2 = this[_local5]; if (_local2._parent == this) { if (_local2.searchKey != _local4) { if (_local2.stylecache != undefined) { delete _local2.stylecache.tf; delete _local2.stylecache[styleProp]; } _local2.invalidateStyle(styleProp); _local2.changeTextStyleInChildren(styleProp); _local2.searchKey = _local4; } } } } function changeColorStyleInChildren(sheetName, colorStyle, newValue) { var _local6 = getTimer(); var _local7; for (_local7 in this) { var _local2 = this[_local7]; if (_local2._parent == this) { if (_local2.searchKey != _local6) { if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) { if (_local2.stylecache != undefined) { delete _local2.stylecache[colorStyle]; } if (typeof(_local2._color) == "string") { if (_local2._color == colorStyle) { var _local4 = _local2.getStyle(colorStyle); if (colorStyle == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = _local4; } } _local2.setColor(_local4); } } else if (_local2._color[colorStyle] != undefined) { if (typeof(_local2) != "movieclip") { _local2._parent.invalidateStyle(); } else { _local2.invalidateStyle(colorStyle); } } } _local2.changeColorStyleInChildren(sheetName, colorStyle, newValue); _local2.searchKey = _local6; } } } } function notifyStyleChangeInChildren(sheetName, styleProp, newValue) { var _local5 = getTimer(); var _local6; for (_local6 in this) { var _local2 = this[_local6]; if (_local2._parent == this) { if (_local2.searchKey != _local5) { if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) { if (_local2.stylecache != undefined) { delete _local2.stylecache[styleProp]; delete _local2.stylecache.tf; } delete _local2.enabledColor; _local2.invalidateStyle(styleProp); } _local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue); _local2.searchKey = _local5; } } } } function setStyle(styleProp, newValue) { if (stylecache != undefined) { delete stylecache[styleProp]; delete 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 _local10 = mx.styles.StyleManager.colorNames.haloBlue; var _local9 = mx.styles.StyleManager.colorNames.haloGreen; var _local11 = mx.styles.StyleManager.colorNames.haloOrange; var _local6 = {}; _local6[_local10] = 12188666 /* 0xB9FBFA */; _local6[_local9] = 13500353 /* 0xCDFFC1 */; _local6[_local11] = 16766319 /* 0xFFD56F */; var _local7 = {}; _local7[_local10] = 13958653 /* 0xD4FDFD */; _local7[_local9] = 14942166 /* 0xE3FFD6 */; _local7[_local11] = 16772787 /* 0xFFEEB3 */; var _local12 = _local6[newValue]; var _local13 = _local7[newValue]; if (_local12 == undefined) { _local12 = newValue; } if (_local13 == undefined) { _local13 = newValue; } setStyle("selectionColor", _local12); setStyle("rollOverColor", _local13); } if (typeof(_color) == "string") { if (_color == styleProp) { if (styleProp == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = newValue; } } setColor(newValue); } } else if (_color[styleProp] != undefined) { invalidateStyle(styleProp); } changeColorStyleInChildren(undefined, styleProp, newValue); } else { if ((styleProp == "backgroundColor") && (isNaN(newValue))) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } invalidateStyle(styleProp); } if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) { var _local8; var _local5 = newValue; if (styleProp == "styleName") { _local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5)); _local5 = _local8.themeColor; if (_local5 != undefined) { _local8.rollOverColor = (_local8.selectionColor = _local5); } } notifyStyleChangeInChildren(undefined, styleProp, newValue); } } static function enableRunTimeCSS() { } static function classConstruct() { var _local2 = MovieClip.prototype; var _local3 = mx.styles.CSSSetStyle.prototype; mx.styles.CSSStyleDeclaration.prototype.setStyle = _local3._setStyle; _local2.changeTextStyleInChildren = _local3.changeTextStyleInChildren; _local2.changeColorStyleInChildren = _local3.changeColorStyleInChildren; _local2.notifyStyleChangeInChildren = _local3.notifyStyleChangeInChildren; _local2.setStyle = _local3.setStyle; _global.ASSetPropFlags(_local2, "changeTextStyleInChildren", 1); _global.ASSetPropFlags(_local2, "changeColorStyleInChildren", 1); _global.ASSetPropFlags(_local2, "notifyStyleChangeInChildren", 1); _global.ASSetPropFlags(_local2, "setStyle", 1); var _local4 = TextField.prototype; _local4.setStyle = _local2.setStyle; _local4.changeTextStyleInChildren = _local3.changeTextStyleInChildren; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; }
Symbol 94 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions { function UIComponentExtensions () { } static function Extensions() { if (bExtended == true) { return(true); } 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(); } static var bExtended = false; static var UIComponentExtended = Extensions(); static var UIComponentDependency = mx.core.UIComponent; static var FocusManagerDependency = mx.managers.FocusManager; static var OverlappedWindowsDependency = mx.managers.OverlappedWindows; }
Symbol 99 Button
on (release) { getURL ("http://www.weebls-stuff.com", "_blank"); }
Symbol 144 MovieClip Frame 25
_root.timer = _root.timer + 1;

Library Items

Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [BoundingBox]Uses:4Used by:27 35
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [maskRct]Uses:6Used by:35
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip [borderBox]Uses:8Used by:35
Symbol 10 FontUsed by:11 12 13
Symbol 11 EditableTextUses:10Used by:19
Symbol 12 EditableTextUses:10Used by:19
Symbol 13 EditableTextUses:10Used by:19
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:14 15Used by:19
Symbol 17 GraphicUsed by:18
Symbol 18 ButtonUses:17Used by:19
Symbol 19 MovieClip [stockInfoDefault_mc]Uses:11 12 13 16 18Used by:35
Symbol 20 MovieClip [Defaults]Used by:22
Symbol 21 MovieClip [UIObjectExtensions]Used by:22
Symbol 22 MovieClip [UIObject]Uses:20 21Used by:28 30
Symbol 23 GraphicUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 ButtonUses:23 24Used by:28
Symbol 26 MovieClipUsed by:28
Symbol 27 MovieClip [FocusRect]Uses:5Used by:28
Symbol 28 MovieClip [FocusManager]Uses:25 26 27 22Used by:30
Symbol 29 MovieClip [UIComponentExtensions]Used by:30
Symbol 30 MovieClip [UIComponent]Uses:22 28 29Used by:35
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:33
Symbol 33 MovieClipUses:32Used by:34
Symbol 34 MovieClip [WebServiceConnector]Uses:33Used by:35
Symbol 35 MovieClip [StockTicker]Uses:5 7 9 19 30 34Used by:Timeline
Symbol 1 MovieClip [__Packages.mx.core.UIObject]
Symbol 2 MovieClip [__Packages.mx.core.UIComponent]
Symbol 3 MovieClip [__Packages.flextnet.components.StockTicker]
Symbol 36 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 37 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 38 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 39 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 40 MovieClip [__Packages.mx.services.WebService]
Symbol 41 MovieClip [__Packages.mx.services.Log]
Symbol 42 MovieClip [__Packages.mx.services.WebServiceProxy]
Symbol 43 MovieClip [__Packages.mx.services.QName]
Symbol 44 MovieClip [__Packages.mx.services.WSDLConstants]
Symbol 45 MovieClip [__Packages.mx.services.SchemaVersion]
Symbol 46 MovieClip [__Packages.mx.services.DataType]
Symbol 47 MovieClip [__Packages.mx.services.SOAPFault]
Symbol 48 MovieClip [__Packages.mx.services.SOAPConstants]
Symbol 49 MovieClip [__Packages.mx.services.SchemaContext]
Symbol 50 MovieClip [__Packages.mx.services.ElementDecl]
Symbol 51 MovieClip [__Packages.mx.services.Schema]
Symbol 52 MovieClip [__Packages.mx.services.WSDL]
Symbol 53 MovieClip [__Packages.mx.services.WSDLDocument]
Symbol 54 MovieClip [__Packages.mx.services.WSDLOperation]
Symbol 55 MovieClip [__Packages.mx.services.SOAPParameter]
Symbol 56 MovieClip [__Packages.mx.services.PendingCall]
Symbol 57 MovieClip [__Packages.mx.services.SOAPCall]
Symbol 58 MovieClip [__Packages.mx.services.SOAPHeader]
Symbol 59 MovieClip [__Packages.mx.services.PrefixedQName]
Symbol 60 MovieClip [__Packages.mx.services.ArrayProxy]
Symbol 61 MovieClip [__Packages.mx.services.RowSetProxy]
Symbol 62 MovieClip [__Packages.mx.services.Namespace]
Symbol 63 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 64 MovieClip [__Packages.mx.data.binding.ComponentMixins]
Symbol 65 MovieClip [__Packages.mx.data.binding.EndPoint]
Symbol 66 MovieClip [__Packages.mx.data.binding.ObjectDumper]
Symbol 67 MovieClip [__Packages.mx.data.binding.TypedValue]
Symbol 68 MovieClip [__Packages.mx.xpath.NodePathInfo]
Symbol 69 MovieClip [__Packages.mx.utils.StringTokenParser]
Symbol 70 MovieClip [__Packages.mx.xpath.FilterExpr]
Symbol 71 MovieClip [__Packages.mx.xpath.FilterStack]
Symbol 72 MovieClip [__Packages.mx.xpath.XPathAPI]
Symbol 73 MovieClip [__Packages.mx.data.binding.DataAccessor]
Symbol 74 MovieClip [__Packages.mx.data.binding.FieldAccessor]
Symbol 75 MovieClip [__Packages.mx.data.binding.Log]
Symbol 76 MovieClip [__Packages.mx.data.binding.Binding]
Symbol 77 MovieClip [__Packages.mx.data.kinds.Data]
Symbol 78 MovieClip [__Packages.mx.data.binding.Formatter]
Symbol 79 MovieClip [__Packages.mx.data.binding.DataType]
Symbol 80 MovieClip [__Packages.mx.utils.ClassFinder]
Symbol 81 MovieClip [__Packages.mx.data.components.WebServiceConnector]
Symbol 82 MovieClip [__Packages.flextnet.utility.StockQuoteRetriever]
Symbol 83 MovieClip [__Packages.mx.events.UIEventDispatcher]
Symbol 84 MovieClip [__Packages.mx.skins.ColoredSkinElement]
Symbol 85 MovieClip [__Packages.mx.core.ext.UIObjectExtensions]
Symbol 86 MovieClip [__Packages.mx.skins.halo.Defaults]
Symbol 87 MovieClip [__Packages.mx.managers.DepthManager]
Symbol 88 MovieClip [__Packages.mx.controls.SimpleButton]
Symbol 89 MovieClip [__Packages.mx.managers.SystemManager]
Symbol 90 MovieClip [__Packages.mx.managers.FocusManager]
Symbol 91 MovieClip [__Packages.mx.skins.halo.FocusRect]
Symbol 92 MovieClip [__Packages.mx.managers.OverlappedWindows]
Symbol 93 MovieClip [__Packages.mx.styles.CSSSetStyle]
Symbol 94 MovieClip [__Packages.mx.core.ext.UIComponentExtensions]
Symbol 95 GraphicUsed by:Timeline
Symbol 96 FontUsed by:97
Symbol 97 TextUses:96Used by:99
Symbol 98 GraphicUsed by:99
Symbol 99 ButtonUses:97 98Used by:Timeline
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:Timeline
Symbol 102 FontUsed by:103
Symbol 103 EditableTextUses:102Used by:Timeline
Symbol 104 GraphicUsed by:Timeline
Symbol 105 FontUsed by:106
Symbol 106 TextUses:105Used by:Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:Timeline
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:Timeline
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:135
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:135
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:135
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:135
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:135
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:135
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:135
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:135
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:135
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:135
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:135
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:135
Symbol 135 MovieClipUses:112 114 116 118 120 122 124 126 128 130 132 134Used by:Timeline
Symbol 136 GraphicUsed by:Timeline
Symbol 137 FontUsed by:139
Symbol 138 FontUsed by:139
Symbol 139 TextUses:137 138Used by:Timeline
Symbol 140 FontUsed by:141 142
Symbol 141 EditableTextUses:140Used by:Timeline
Symbol 142 EditableTextUses:140Used by:Timeline
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:Timeline
Symbol 145 SoundUsed by:Timeline

Instance Names

"progress"Frame 2Symbol 101 MovieClip
"spinnermov"Frame 2Symbol 108 MovieClip
"spinnermov2"Frame 2Symbol 110 MovieClip
"Symbol"Symbol 19 MovieClip [stockInfoDefault_mc] Frame 1Symbol 11 EditableText
"Last"Symbol 19 MovieClip [stockInfoDefault_mc] Frame 1Symbol 12 EditableText
"Change"Symbol 19 MovieClip [stockInfoDefault_mc] Frame 1Symbol 13 EditableText
"change_mc"Symbol 19 MovieClip [stockInfoDefault_mc] Frame 1Symbol 16 MovieClip
"Link_btn"Symbol 19 MovieClip [stockInfoDefault_mc] Frame 1Symbol 18 Button
"boundingBox_mc"Symbol 27 MovieClip [FocusRect] Frame 1Symbol 5 MovieClip [BoundingBox]
"tabCapture"Symbol 28 MovieClip [FocusManager] Frame 1Symbol 25 Button
"preview"Symbol 34 MovieClip [WebServiceConnector] Frame 1Symbol 33 MovieClip
"boundingBox_mc"Symbol 35 MovieClip [StockTicker] Frame 1Symbol 5 MovieClip [BoundingBox]

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 5 as "BoundingBox"
ExportAssets (56)Timeline Frame 1Symbol 7 as "maskRct"
ExportAssets (56)Timeline Frame 1Symbol 9 as "borderBox"
ExportAssets (56)Timeline Frame 1Symbol 19 as "stockInfoDefault_mc"
ExportAssets (56)Timeline Frame 1Symbol 20 as "Defaults"
ExportAssets (56)Timeline Frame 1Symbol 21 as "UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 22 as "UIObject"
ExportAssets (56)Timeline Frame 1Symbol 27 as "FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 28 as "FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 29 as "UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 30 as "UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 34 as "WebServiceConnector"
ExportAssets (56)Timeline Frame 1Symbol 35 as "StockTicker"
ExportAssets (56)Timeline Frame 1Symbol 35 as "StockTicker"
ExportAssets (56)Timeline Frame 1Symbol 1 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 2 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 3 as "__Packages.flextnet.components.StockTicker"
ExportAssets (56)Timeline Frame 1Symbol 36 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 37 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 38 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 39 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 40 as "__Packages.mx.services.WebService"
ExportAssets (56)Timeline Frame 1Symbol 41 as "__Packages.mx.services.Log"
ExportAssets (56)Timeline Frame 1Symbol 42 as "__Packages.mx.services.WebServiceProxy"
ExportAssets (56)Timeline Frame 1Symbol 43 as "__Packages.mx.services.QName"
ExportAssets (56)Timeline Frame 1Symbol 44 as "__Packages.mx.services.WSDLConstants"
ExportAssets (56)Timeline Frame 1Symbol 45 as "__Packages.mx.services.SchemaVersion"
ExportAssets (56)Timeline Frame 1Symbol 46 as "__Packages.mx.services.DataType"
ExportAssets (56)Timeline Frame 1Symbol 47 as "__Packages.mx.services.SOAPFault"
ExportAssets (56)Timeline Frame 1Symbol 48 as "__Packages.mx.services.SOAPConstants"
ExportAssets (56)Timeline Frame 1Symbol 49 as "__Packages.mx.services.SchemaContext"
ExportAssets (56)Timeline Frame 1Symbol 50 as "__Packages.mx.services.ElementDecl"
ExportAssets (56)Timeline Frame 1Symbol 51 as "__Packages.mx.services.Schema"
ExportAssets (56)Timeline Frame 1Symbol 52 as "__Packages.mx.services.WSDL"
ExportAssets (56)Timeline Frame 1Symbol 53 as "__Packages.mx.services.WSDLDocument"
ExportAssets (56)Timeline Frame 1Symbol 54 as "__Packages.mx.services.WSDLOperation"
ExportAssets (56)Timeline Frame 1Symbol 55 as "__Packages.mx.services.SOAPParameter"
ExportAssets (56)Timeline Frame 1Symbol 56 as "__Packages.mx.services.PendingCall"
ExportAssets (56)Timeline Frame 1Symbol 57 as "__Packages.mx.services.SOAPCall"
ExportAssets (56)Timeline Frame 1Symbol 58 as "__Packages.mx.services.SOAPHeader"
ExportAssets (56)Timeline Frame 1Symbol 59 as "__Packages.mx.services.PrefixedQName"
ExportAssets (56)Timeline Frame 1Symbol 60 as "__Packages.mx.services.ArrayProxy"
ExportAssets (56)Timeline Frame 1Symbol 61 as "__Packages.mx.services.RowSetProxy"
ExportAssets (56)Timeline Frame 1Symbol 62 as "__Packages.mx.services.Namespace"
ExportAssets (56)Timeline Frame 1Symbol 63 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 64 as "__Packages.mx.data.binding.ComponentMixins"
ExportAssets (56)Timeline Frame 1Symbol 65 as "__Packages.mx.data.binding.EndPoint"
ExportAssets (56)Timeline Frame 1Symbol 66 as "__Packages.mx.data.binding.ObjectDumper"
ExportAssets (56)Timeline Frame 1Symbol 67 as "__Packages.mx.data.binding.TypedValue"
ExportAssets (56)Timeline Frame 1Symbol 68 as "__Packages.mx.xpath.NodePathInfo"
ExportAssets (56)Timeline Frame 1Symbol 69 as "__Packages.mx.utils.StringTokenParser"
ExportAssets (56)Timeline Frame 1Symbol 70 as "__Packages.mx.xpath.FilterExpr"
ExportAssets (56)Timeline Frame 1Symbol 71 as "__Packages.mx.xpath.FilterStack"
ExportAssets (56)Timeline Frame 1Symbol 72 as "__Packages.mx.xpath.XPathAPI"
ExportAssets (56)Timeline Frame 1Symbol 73 as "__Packages.mx.data.binding.DataAccessor"
ExportAssets (56)Timeline Frame 1Symbol 74 as "__Packages.mx.data.binding.FieldAccessor"
ExportAssets (56)Timeline Frame 1Symbol 75 as "__Packages.mx.data.binding.Log"
ExportAssets (56)Timeline Frame 1Symbol 76 as "__Packages.mx.data.binding.Binding"
ExportAssets (56)Timeline Frame 1Symbol 77 as "__Packages.mx.data.kinds.Data"
ExportAssets (56)Timeline Frame 1Symbol 78 as "__Packages.mx.data.binding.Formatter"
ExportAssets (56)Timeline Frame 1Symbol 79 as "__Packages.mx.data.binding.DataType"
ExportAssets (56)Timeline Frame 1Symbol 80 as "__Packages.mx.utils.ClassFinder"
ExportAssets (56)Timeline Frame 1Symbol 81 as "__Packages.mx.data.components.WebServiceConnector"
ExportAssets (56)Timeline Frame 1Symbol 82 as "__Packages.flextnet.utility.StockQuoteRetriever"
ExportAssets (56)Timeline Frame 1Symbol 83 as "__Packages.mx.events.UIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 84 as "__Packages.mx.skins.ColoredSkinElement"
ExportAssets (56)Timeline Frame 1Symbol 85 as "__Packages.mx.core.ext.UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 86 as "__Packages.mx.skins.halo.Defaults"
ExportAssets (56)Timeline Frame 1Symbol 87 as "__Packages.mx.managers.DepthManager"
ExportAssets (56)Timeline Frame 1Symbol 88 as "__Packages.mx.controls.SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 89 as "__Packages.mx.managers.SystemManager"
ExportAssets (56)Timeline Frame 1Symbol 90 as "__Packages.mx.managers.FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 91 as "__Packages.mx.skins.halo.FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 92 as "__Packages.mx.managers.OverlappedWindows"
ExportAssets (56)Timeline Frame 1Symbol 93 as "__Packages.mx.styles.CSSSetStyle"
ExportAssets (56)Timeline Frame 1Symbol 94 as "__Packages.mx.core.ext.UIComponentExtensions"
ExportAssets (56)Timeline Frame 12Symbol 35 as "StockTicker"

Labels

"nope"Frame 2
"done"Frame 4
"up"Symbol 16 MovieClip Frame 1
"down"Symbol 16 MovieClip Frame 2
"unch"Symbol 16 MovieClip Frame 3

Dynamic Text Variables

percentSymbol 103 EditableText"%"
timerSymbol 142 EditableText"lo"




http://swfchan.com/1/1826/info.shtml
Created: 17/6 -2019 20:06:56 Last modified: 17/6 -2019 20:06:56 Server time: 22/12 -2024 04:56:05