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

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

sonic_and_roxy.swf

This is the info page for
Flash #92230

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


Text
<P ALIGN="LEFT"><FONT COLOR="#000000" FACE="Arial" SIZE="12"> </FONT></P>

ActionScript [AS1/AS2]

Symbol 1 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1 function FUIComponentClass() { this.init(); } FUIComponentClass.prototype = new MovieClip(); FUIComponentClass.prototype.init = function () { this.enable = true; this.focused = false; this.useHandCursor = false; this._accImpl = new Object(); this._accImpl.stub = true; this.styleTable = new Array(); if (_global.globalStyleFormat == undefined) { _global.globalStyleFormat = new FStyleFormat(); globalStyleFormat.isGlobal = true; _global._focusControl = new Object(); _global._focusControl.onSetFocus = function (oldFocus, newFocus) { oldFocus.myOnKillFocus(); newFocus.myOnSetFocus(); }; Selection.addListener(_global._focusControl); } if (this._name != undefined) { this._focusrect = false; this.tabEnabled = true; this.focusEnabled = true; this.tabChildren = false; this.tabFocused = true; if (this.hostStyle != undefined) { this.styleTable = this.hostStyle; } else { globalStyleFormat.addListener(this); } this.deadPreview._visible = false; this.deadPreview._width = (this.deadPreview._height = 1); this.methodTable = new Object(); this.keyListener = new Object(); this.keyListener.controller = this; this.keyListener.onKeyDown = function () { this.controller.myOnKeyDown(); }; this.keyListener.onKeyUp = function () { this.controller.myOnKeyUp(); }; for (var i in this.styleFormat_prm) { this.setStyleProperty(i, this.styleFormat_prm[i]); } } }; FUIComponentClass.prototype.setEnabled = function (enabledFlag) { this.enable = ((arguments.length > 0) ? (enabledFlag) : true); this.tabEnabled = (this.focusEnabled = enabledFlag); if ((!this.enable) && (this.focused)) { Selection.setFocus(undefined); } }; FUIComponentClass.prototype.getEnabled = function () { return(this.enable); }; FUIComponentClass.prototype.setSize = function (w, h) { this.width = w; this.height = h; this.focusRect.removeMovieClip(); }; FUIComponentClass.prototype.setChangeHandler = function (chng, obj) { this.handlerObj = ((obj == undefined) ? (this._parent) : (obj)); this.changeHandler = chng; }; FUIComponentClass.prototype.invalidate = function (methodName) { this.methodTable[methodName] = true; this.onEnterFrame = this.cleanUI; }; FUIComponentClass.prototype.cleanUI = function () { if (!this.methodTable.setSize) { this.cleanUINotSize(); } else { this.setSize(this.width, this.height); } this.methodTable = new Object(); delete this.onEnterFrame; }; FUIComponentClass.prototype.cleanUINotSize = function () { for (var funct in this.methodTable) { this[funct](); } }; FUIComponentClass.prototype.drawRect = function (x, y, w, h) { var inner = this.styleTable.focusRectInner.value; var outer = this.styleTable.focusRectOuter.value; if (inner == undefined) { inner = 16777215 /* 0xFFFFFF */; } if (outer == undefined) { outer = 0; } this.createEmptyMovieClip("focusRect", 1000); this.focusRect.controller = this; this.focusRect.lineStyle(1, outer); this.focusRect.moveTo(x, y); this.focusRect.lineTo(x + w, y); this.focusRect.lineTo(x + w, y + h); this.focusRect.lineTo(x, y + h); this.focusRect.lineTo(x, y); this.focusRect.lineStyle(1, inner); this.focusRect.moveTo(x + 1, y + 1); this.focusRect.lineTo((x + w) - 1, y + 1); this.focusRect.lineTo((x + w) - 1, (y + h) - 1); this.focusRect.lineTo(x + 1, (y + h) - 1); this.focusRect.lineTo(x + 1, y + 1); }; FUIComponentClass.prototype.pressFocus = function () { this.tabFocused = false; this.focusRect.removeMovieClip(); Selection.setFocus(this); }; FUIComponentClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this.width + 4, this.height + 4); }; FUIComponentClass.prototype.myOnSetFocus = function () { this.focused = true; Key.addListener(this.keyListener); if (this.tabFocused) { this.drawFocusRect(); } }; FUIComponentClass.prototype.myOnKillFocus = function () { this.tabFocused = true; this.focused = false; this.focusRect.removeMovieClip(); Key.removeListener(this.keyListener); }; FUIComponentClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this); }; FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) { this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal); }; FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) { if (value == "") { return(undefined); } var tmpValue = parseInt(value); if (!isNaN(tmpValue)) { value = tmpValue; } var global = ((arguments.length > 2) ? (isGlobal) : false); if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].useGlobal || (!global)) { this.styleTable[propName].value = value; if (!this.setCustomStyleProperty(propName, value)) { if (propName != "embedFonts") { if (propName.subString(0, 4) != "text") { for (var j in this.styleTable[propName].coloredMCs) { var myColor = new Color(this.styleTable[propName].coloredMCs[j]); if (this.styleTable[propName].value == undefined) { var myTObj = {ab:"0", aa:"100", bb:"0", ba:"100", gb:"0", ga:"100", rb:"0", ra:"100"}; myColor.setTransform(myTObj); } else { myColor.setRGB(value); } } } else { if (this.textStyle == undefined) { this.textStyle = new TextFormat(); } var textProp = propName.subString(4, propName.length); this.textStyle[textProp] = value; this.invalidate("setSize"); } } else { this.invalidate("setSize"); } } this.styleTable[propName].useGlobal = global; } }; FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) { if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].coloredMCs == undefined) { this.styleTable[propName].coloredMCs = new Object(); } this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef; if (this.styleTable[propName].value != undefined) { var myColor = new Color(skinMCRef); myColor.setRGB(this.styleTable[propName].value); } }; _global.FStyleFormat = function () { this.nonStyles = {applyChanges:true, nonStyles:true, removeListener:true, addListener:true, isAStyle:true, isGlobal:true, listeners:true}; this.listeners = new Object(); this.isGlobal = false; if (arguments.length > 0) { for (var i in arguments[0]) { this[i] = arguments[0][i]; } } }; _global.FStyleFormat.prototype = new Object(); FStyleFormat.prototype.addListener = function () { var arg = 0; while (arg < arguments.length) { var mcRef = arguments[arg]; this.listeners[arguments[arg]] = mcRef; for (var i in this) { if (this.isAStyle(i)) { mcRef.updateStyleProperty(this, i.toString()); } } arg++; } }; FStyleFormat.prototype.removeListener = function (component) { this.listeners[component] = undefined; for (var prop in this) { if (this.isAStyle(prop)) { if (component.styleTable[prop].useGlobal == this.isGlobal) { component.styleTable[prop].useGlobal = true; var value = (this.isGlobal ? undefined : (globalStyleFormat[prop])); component.setStyleProperty(prop, value, true); } } } }; FStyleFormat.prototype.applyChanges = function () { var count = 0; for (var i in this.listeners) { var component = this.listeners[i]; if (arguments.length > 0) { var j = 0; while (j < arguments.length) { if (this.isAStyle(arguments[j])) { component.updateStyleProperty(this, arguments[j]); } j++; } } else { for (var j in this) { if (this.isAStyle(j)) { component.updateStyleProperty(this, j.toString()); } } } } }; FStyleFormat.prototype.isAStyle = function (name) { return((this.nonStyles[name] ? false : true)); }; #endinitclip
Symbol 3 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 16 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 26 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "foregroundDisabled"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 2 MovieClip [UpArrow] Frame 1
stop();
Symbol 2 MovieClip [UpArrow] Frame 2
stop();
Symbol 2 MovieClip [UpArrow] Frame 3
stop();
Symbol 36 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 43 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 50 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(highlight3D_mc, "highlight3D"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight");
Symbol 35 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 56 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 64 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 72 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "foregroundDisabled"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 55 MovieClip [DownArrow] Frame 1
stop();
Symbol 55 MovieClip [DownArrow] Frame 2
stop();
Symbol 55 MovieClip [DownArrow] Frame 3
stop();
Symbol 80 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller; component.registerSkinElement(highlight_mc, "selection"); stop();
Symbol 80 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled"); stop();
Symbol 80 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused"); stop();
Symbol 83 MovieClip [FLabelSymbol] Frame 1
#initclip 2 _global.FLabelClass = function () { if (this.hostComponent == undefined) { this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller)); } if (this.customTextStyle == undefined) { if (this.hostComponent.textStyle == undefined) { this.hostComponent.textStyle = new TextFormat(); } this.textStyle = this.hostComponent.textStyle; this.enable = true; } }; FLabelClass.prototype = new MovieClip(); Object.registerClass("FLabelSymbol", FLabelClass); FLabelClass.prototype.setLabel = function (label) { var val = this.hostComponent.styleTable.embedFonts.value; if (val != undefined) { this.labelField.embedFonts = val; } this.labelField.setNewTextFormat(this.textStyle); this.labelField.text = label; this.labelField._height = this.labelField.textHeight + 2; }; FLabelClass.prototype.setSize = function (width) { this.labelField._width = width; }; FLabelClass.prototype.setEnabled = function (enable) { this.enable = enable; var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value; if (tmpColor == undefined) { tmpColor = (enable ? 0 : 8947848); } this.setColor(tmpColor); }; FLabelClass.prototype.getLabel = function () { return(this.labelField.text); }; FLabelClass.prototype.setColor = function (col) { this.labelField.textColor = col; }; #endinitclip
Symbol 87 MovieClip Frame 1
var component = _parent; component.registerSkinElement(track_mc, "scrollTrack");
Symbol 86 MovieClip [FScrollBarSymbol] Frame 1
#initclip 3 FScrollBarClass = function () { if (this._height == 4) { return(undefined); } this.init(); this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0))); this.smallScroll = 1; this.width = (this.horizontal ? (this._width) : (this._height)); this._xscale = (this._yscale = 100); this.setScrollPosition(0); this.tabEnabled = false; if (this._targetInstanceName.length > 0) { this.setScrollTarget(this._parent[this._targetInstanceName]); } this.tabChildren = false; this.setSize(this.width); }; FScrollBarClass.prototype = new FUIComponentClass(); FScrollBarClass.prototype.setHorizontal = function (flag) { if (!(this.horizontal && (!flag))) { if (flag && (!this.horizontal)) { this._xscale = -100; this._rotation = -90; } } else { this._xscale = 100; this._rotation = 0; } this.horizontal = flag; }; FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) { if (!this.enable) { return(undefined); } this.pageSize = pSize; this.minPos = Math.max(mnPos, 0); this.maxPos = Math.max(mxPos, 0); this.scrollPosition = Math.max(this.minPos, this.scrollPosition); this.scrollPosition = Math.min(this.maxPos, this.scrollPosition); if ((this.maxPos - this.minPos) > 0) { var tmp = this.getScrollPosition(); this.upArrow_mc.gotoAndStop(1); this.downArrow_mc.gotoAndStop(1); this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller); this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling); this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller); this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling); this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller); this.scrollTrack_mc.onRelease = this.stopScrolling; this.scrollTrack_mc.onDragOut = this.stopScrolling; this.scrollTrack_mc.onRollOut = this.stopScrolling; this.scrollTrack_mc.useHandCursor = false; this.attachMovie("ScrollThumb", "scrollThumb_mc", 3); this.scrollThumb_mc._x = 0; this.scrollThumb_mc._y = this.upArrow_mc._height; this.scrollThumb_mc.onPress = this.startDragThumb; this.scrollThumb_mc.controller = this; this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb); this.scrollThumb_mc.useHandCursor = false; this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize; this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid; this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop; this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot; this.thumbHeight = Math.max(this.thumbHeight, 6); this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height; this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height; this.thumbMid_mc._y = this.thumbTop_mc._height; this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight; this.scrollTop = this.scrollThumb_mc._y; this.trackHeight = this.trackSize - this.thumbHeight; this.scrollBot = this.trackHeight + this.scrollTop; tmp = Math.min(tmp, this.maxPos); this.setScrollPosition(Math.max(tmp, this.minPos)); } else { this.scrollThumb_mc.removeMovieClip(); this.upArrow_mc.gotoAndStop(3); this.downArrow_mc.gotoAndStop(3); this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null)); this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null)); this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null); this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null); this.scrollTrack_mc.useHandCursor = false; } }; FScrollBarClass.prototype.getScrollPosition = function () { return(this.scrollPosition); }; FScrollBarClass.prototype.setScrollPosition = function (pos) { this.scrollPosition = pos; if (this.scrollThumb_mc != undefined) { pos = Math.min(pos, this.maxPos); pos = Math.max(pos, this.minPos); } this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop; this.executeCallBack(); }; FScrollBarClass.prototype.setLargeScroll = function (lScroll) { this.largeScroll = lScroll; }; FScrollBarClass.prototype.setSmallScroll = function (sScroll) { this.smallScroll = sScroll; }; FScrollBarClass.prototype.setEnabled = function (enabledFlag) { var wasEnabled = this.enable; if (!(enabledFlag && (!wasEnabled))) { if ((!enabledFlag) && (wasEnabled)) { this.textField.removeListener(this); this.cachedPos = this.getScrollPosition(); this.cachedMinPos = this.minPos; this.cachedMaxPos = this.maxPos; if (this.clickFilter != undefined) { this.clickFilter = true; } else { this.setScrollProperties(this.pageSize, 0, 0); } this.enable = enabledFlag; } } else { this.enable = enabledFlag; if (this.textField == undefined) { this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos); this.setScrollPosition(this.cachedPos); } else { this.setScrollTarget(this.textField); } this.clickFilter = undefined; } }; FScrollBarClass.prototype.setSize = function (hgt) { if (this._height == 1) { return(undefined); } this.width = hgt; this.scrollTrack_mc._yscale = 100; this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height; if (this.upArrow_mc == undefined) { this.attachMovie("UpArrow", "upArrow_mc", 1); this.attachMovie("DownArrow", "downArrow_mc", 2); this.downArrow_mc.controller = (this.upArrow_mc.controller = this); this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false); this.upArrow_mc._x = (this.upArrow_mc._y = 0); this.downArrow_mc._x = 0; } this.scrollTrack_mc.controller = this; this.downArrow_mc._y = this.width - this.downArrow_mc._height; this.trackSize = this.width - (2 * this.downArrow_mc._height); if (this.textField == undefined) { this.setScrollProperties(this.pageSize, this.minPos, this.maxPos); } else { this.onTextChanged(); } }; FScrollBarClass.prototype.scrollIt = function (inc, mode) { var delt = this.smallScroll; if (inc != "one") { delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll)); } var newPos = (this.getScrollPosition() + (mode * delt)); if (newPos <= this.maxPos) { if (newPos < this.minPos) { newPos = this.minPos; } } else { newPos = this.maxPos; } this.setScrollPosition(newPos); }; FScrollBarClass.prototype.startDragThumb = function () { this.lastY = this._ymouse; this.onMouseMove = this.controller.dragThumb; }; FScrollBarClass.prototype.dragThumb = function () { this.scrollMove = this._ymouse - this.lastY; this.scrollMove = this.scrollMove + this._y; if (this.scrollMove >= this.controller.scrollTop) { if (this.scrollMove > this.controller.scrollBot) { this.scrollMove = this.controller.scrollBot; } } else { this.scrollMove = this.controller.scrollTop; } this._y = this.scrollMove; var c = this.controller; c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos; this.controller.isScrolling = true; updateAfterEvent(); this.controller.executeCallBack(); }; FScrollBarClass.prototype.stopDragThumb = function () { this.controller.isScrolling = false; this.onMouseMove = null; }; FScrollBarClass.prototype.startTrackScroller = function () { this.controller.trackScroller(); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1); }; FScrollBarClass.prototype.scrollInterval = function (inc, mode) { clearInterval(this.scrolling); if (inc != "page") { this.scrollIt(inc, mode); } else { this.trackScroller(); } this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode); }; FScrollBarClass.prototype.trackScroller = function () { if ((this.scrollThumb_mc._y + this.thumbHeight) >= this._ymouse) { if (this.scrollThumb_mc._y > this._ymouse) { this.scrollIt("page", -1); } } else { this.scrollIt("page", 1); } }; FScrollBarClass.prototype.stopScrolling = function () { this.controller.downArrow_mc.gotoAndStop(1); this.controller.upArrow_mc.gotoAndStop(1); clearInterval(this.controller.scrolling); }; FScrollBarClass.prototype.startUpScroller = function () { this.controller.upArrow_mc.gotoAndStop(2); this.controller.scrollIt("one", -1); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1); }; FScrollBarClass.prototype.startDownScroller = function () { this.controller.downArrow_mc.gotoAndStop(2); this.controller.scrollIt("one", 1); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1); }; FScrollBarClass.prototype.setScrollTarget = function (tF) { if (tF == undefined) { this.textField.removeListener(this); delete this.textField[(this.horizontal ? "hScroller" : "vScroller")]; if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) { this.textField.unwatch("text"); this.textField.unwatch("htmltext"); } } this.textField = undefined; if (!(tF instanceof TextField)) { return(undefined); } this.textField = tF; this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this; this.onTextChanged(); this.onChanged = function () { this.onTextChanged(); }; this.onScroller = function () { if (!this.isScrolling) { if (this.horizontal) { this.setScrollPosition(this.textField.hscroll); } else { this.setScrollPosition(this.textField.scroll); } } }; this.textField.addListener(this); this.textField.watch("text", this.callback); this.textField.watch("htmlText", this.callback); }; FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) { clearInterval(this.hScroller.synchScroll); clearInterval(this.vScroller.synchScroll); this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50); this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50); return(newVal); }; FScrollBarClass.prototype.onTextChanged = function () { if ((!this.enable) || (this.textField == undefined)) { return(undefined); } clearInterval(this.synchScroll); if (!this.horizontal) { var pos = this.textField.scroll; var pageSize = (this.textField.bottomScroll - this.textField.scroll); this.setScrollProperties(pageSize, 1, this.textField.maxscroll); this.setScrollPosition(Math.min(pos, this.textField.maxscroll)); } else { var pos = this.textField.hscroll; this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll); this.setScrollPosition(Math.min(pos, this.textField.maxhscroll)); } }; FScrollBarClass.prototype.executeCallBack = function () { if (this.textField != undefined) { if (!this.horizontal) { this.textField.scroll = this.getScrollPosition(); } else { this.textField.hscroll = this.getScrollPosition(); } } else { super.executeCallBack(); } }; Object.registerClass("FScrollBarSymbol", FScrollBarClass); #endinitclip
Symbol 90 MovieClip [FListItemSymbol] Frame 1
#initclip 4 function FListItemClass() { this.init(); } FListItemClass.prototype = new FSelectableItemClass(); Object.registerClass("FListItemSymbol", FListItemClass); #endinitclip
Symbol 91 MovieClip [DataProviderSymbol] Frame 1
#initclip 5 _global.DataProviderClass = function () { this.init(); }; DataProviderClass.prototype.init = function () { this.items = new Array(); this.uniqueID = 0; this.views = new Array(); }; DataProviderClass.prototype.addView = function (viewRef) { this.views.push(viewRef); var eventObj = {event:"updateAll"}; viewRef.modelChanged(eventObj); }; DataProviderClass.prototype.addItemAt = function (index, value) { if (index < this.getLength()) { this.items.splice(index, 0, "tmp"); } this.items[index] = new Object(); if (typeof(value) != "object") { this.items[index].label = value; } else { this.items[index] = value; } this.items[index].__ID__ = this.uniqueID++; var eventObj = {lastRow:index, firstRow:index, event:"addRows"}; this.updateViews(eventObj); }; DataProviderClass.prototype.addItem = function (value) { this.addItemAt(this.getLength(), value); }; DataProviderClass.prototype.removeItemAt = function (index) { var tmpItm = this.items[index]; this.items.splice(index, 1); var eventObj = {lastRow:index, firstRow:index, event:"deleteRows"}; this.updateViews(eventObj); return(tmpItm); }; DataProviderClass.prototype.removeAll = function () { this.items = new Array(); this.updateViews({lastRow:this.getLength() - 1, firstRow:0, event:"deleteRows"}); }; DataProviderClass.prototype.replaceItemAt = function (index, itemObj) { if ((index < 0) || (index >= this.getLength())) { return(undefined); } var tmpID = this.getItemID(index); if (typeof(itemObj) != "object") { this.items[index].label = itemObj; } else { this.items[index] = itemObj; } this.items[index].__ID__ = tmpID; this.updateViews({lastRow:index, firstRow:index, event:"updateRows"}); }; DataProviderClass.prototype.getLength = function () { return(this.items.length); }; DataProviderClass.prototype.getItemAt = function (index) { return(this.items[index]); }; DataProviderClass.prototype.getItemID = function (index) { return(this.items[index].__ID__); }; DataProviderClass.prototype.sortItemsBy = function (fieldName, order) { this.items.sortOn(fieldName); if (order == "DESC") { this.items.reverse(); } this.updateViews({event:"sort"}); }; DataProviderClass.prototype.updateViews = function (eventObj) { var i = 0; while (i < this.views.length) { this.views[i].modelChanged(eventObj); i++; } }; #endinitclip
Symbol 92 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 6 function FSelectableItemClass() { this.init(); } FSelectableItemClass.prototype = new FUIComponentClass(); FSelectableItemClass.prototype.init = function () { if (this._name != "itemAsset") { this.highlighted = false; this.layoutContent(100); } }; FSelectableItemClass.prototype.drawItem = function (itmObj, selected) { this.displayContent(itmObj, selected); if (((this.highlighted != selected) || (this.controller.focused != this.oldFocus)) && (selected)) { this.setHighlighted(selected); } this.oldFocus = this.controller.focused; }; FSelectableItemClass.prototype.setSize = function (width, height) { var LOWEST_DEPTH = -16384; this.width = width; this.layoutContent(width); this.attachMovie("FHighlightSymbol", "highlight_mc", LOWEST_DEPTH); this.highlight_mc._x = 0.5; this.highlight_mc._width = width - 0.5; this.highlight_mc._height = height; this.highlight_mc.controller = this; this.highlight_mc._alpha = 0; this.highlight_mc.trackAsMenu = true; this.highlight_mc.onPress = function () { if (this.controller.enable) { this.controller.controller.clickHandler(this.controller.itemNum); } }; this.highlight_mc.onDragOver = function () { if (this.controller.controller.focused) { this.onPress(); } }; this.highlight_mc.useHandCursor = false; this.highlight_mc.trackAsMenu = true; }; FSelectableItemClass.prototype.setEnabled = function (enabledFlag) { this.enable = enabledFlag; this.fLabel_mc.setEnabled(enabledFlag); this.highlight_mc.gotoAndStop((enabledFlag ? "unfocused" : "disabled")); }; FSelectableItemClass.prototype.layoutContent = function (width) { this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller}); this.fLabel_mc._x = 2; this.fLabel_mc._y = 0; this.fLabel_mc.setSize(width - 2); this.fLabel_mc.labelField.selectable = false; }; FSelectableItemClass.prototype.displayContent = function (itmObj, selected) { var tmpLabel = ""; if (itmObj.label == undefined) { if (typeof(itmObj) != "object") { tmpLabel = itmObj; } else { for (var i in itmObj) { if (i != "__ID__") { tmpLabel = (itmObj[i] + ", ") + tmpLabel; } } tmpLabel = tmpLabel.substring(0, tmpLabel.length - 2); } } else { tmpLabel = itmObj.label; } if (this.fLabel_mc.labelField.text != tmpLabel) { this.fLabel_mc.setLabel(tmpLabel); } var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value)); if (clr == undefined) { clr = (selected ? 16777215 : 0); } this.fLabel_mc.setColor(clr); }; FSelectableItemClass.prototype.getItemIndex = function () { return(this.controller.getScrollPosition() + this.itemNum); }; FSelectableItemClass.prototype.getItemModel = function () { return(this.controller.getItemAt(this.getItemIndex())); }; FSelectableItemClass.prototype.getHostDataProvider = function () { return(this.controller.dataProvider); }; FSelectableItemClass.prototype.setHighlighted = function (flag) { fade = this.controller.styleTable.fadeRate.value; if (!(((fade == undefined) || (fade == 0)) || (!flag))) { this.fadeN = fade; this.fadeX = 1; this.highLight_mc._alpha = 20; this.onEnterFrame = function () { this.highLight_mc._alpha = (60 * Math.sqrt((this.fadeX++) / this.fadeN)) + 40; if (this.fadeX > this.fadeN) { delete this.onEnterFrame; } }; } else { this.highlight_mc._alpha = (flag ? 100 : 0); delete this.onEnterFrame; } this.highlighted = flag; }; #endinitclip
Symbol 93 MovieClip [FSelectableListSymbol] Frame 1
#initclip 7 function FSelectableListClass() { this.init(); } FSelectableListClass.prototype = new FUIComponentClass(); FSelectableListClass.prototype.init = function () { super.init(); this.enable = true; this.selected = new Array(); this.topDisplayed = (this.numDisplayed = 0); this.lastSelected = 0; this.tabChildren = false; if (this._name != undefined) { this.dataProvider = new DataProviderClass(); this.dataProvider.addView(this); } }; FSelectableListClass.prototype.addItemAt = function (index, label, data) { if ((index < 0) || (!this.enable)) { return(undefined); } this.dataProvider.addItemAt(index, {data:data, label:label}); }; FSelectableListClass.prototype.addItem = function (label, data) { if (!this.enable) { return(undefined); } this.dataProvider.addItem({data:data, label:label}); }; FSelectableListClass.prototype.removeItemAt = function (index) { this.selectHolder = this.getSelectedIndex(); var item = this.getItemAt(index); this.dataProvider.removeItemAt(index); return(item); }; FSelectableListClass.prototype.removeAll = function () { this.dataProvider.removeAll(); }; FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) { this.dataProvider.replaceItemAt(index, {data:newData, label:newLabel}); }; FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) { this.lastSelID = this.dataProvider.getItemID(this.lastSelected); this.dataProvider.sortItemsBy(fieldName, order); }; FSelectableListClass.prototype.getLength = function () { return(this.dataProvider.getLength()); }; FSelectableListClass.prototype.getSelectedIndex = function () { for (var uniqueID in this.selected) { var tmpInd = this.selected[uniqueID].sIndex; if (tmpInd != undefined) { return(tmpInd); } } }; FSelectableListClass.prototype.getSelectedItem = function () { return(this.getItemAt(this.getSelectedIndex())); }; FSelectableListClass.prototype.getItemAt = function (index) { return(this.dataProvider.getItemAt(index)); }; FSelectableListClass.prototype.getEnabled = function () { return(this.enable); }; FSelectableListClass.prototype.getValue = function () { var item = this.getSelectedItem(); return(((item.data == undefined) ? (item.label) : (item.data))); }; FSelectableListClass.prototype.setSelectedIndex = function (index, flag) { if (((index >= 0) && (index < this.getLength())) && (this.enable)) { this.clearSelected(); this.selectItem(index, true); this.lastSelected = index; this.invalidate("updateControl"); if (flag != false) { this.executeCallBack(); } } }; FSelectableListClass.prototype.setDataProvider = function (obj) { this.setScrollPosition(0); this.clearSelected(); if (!(obj instanceof Array)) { this.dataProvider = obj; } else { this.dataProvider = new DataProviderClass(); var i = 0; while (i < obj.length) { var value = ((typeof(obj[i]) == "string") ? ({label:obj[i]}) : (obj[i])); this.dataProvider.addItem(value); i++; } } this.dataProvider.addView(this); }; FSelectableListClass.prototype.setItemSymbol = function (linkID) { this.tmpPos = this.getScrollPosition(); this.itemSymbol = linkID; this.invalidate("setSize"); this.setScrollPosition(this.tmpPos); }; FSelectableListClass.prototype.setEnabled = function (enabledFlag) { this.cleanUI(); super.setEnabled(enabledFlag); this.enable = enabledFlag; this.boundingBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled")); var limit = Math.min(this.numDisplayed, this.getLength()); var i = 0; while (i < limit) { this.container_mc[("fListItem" + i) + "_mc"].setEnabled(this.enable); i++; } if (this.enable) { this.invalidate("updateControl"); } }; FSelectableListClass.prototype.updateControl = function () { var i = 0; while (i < this.numDisplayed) { this.container_mc[("fListItem" + i) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + i), this.isSelected(this.topDisplayed + i)); i++; } }; FSelectableListClass.prototype.setSize = function (w, h) { super.setSize(w, h); this.boundingBox_mc._xscale = (this.boundingBox_mc._yscale = 100); this.boundingBox_mc._xscale = (this.width * 100) / this.boundingBox_mc._width; this.boundingBox_mc._yscale = (this.height * 100) / this.boundingBox_mc._height; var i = 0; while (i < this.numDisplayed) { this.container_mc.attachMovie(this.itemSymbol, ("fListItem" + i) + "_mc", 10 + i, {itemNum:i, controller:this}); var item_mc = this.container_mc[("fListItem" + i) + "_mc"]; var offset = ((this.scrollOffset == undefined) ? 0 : (this.scrollOffset)); item_mc.setSize(this.width - offset, this.itmHgt); item_mc._y = (this.itmHgt - 2) * i; i++; } this.updateControl(); }; FSelectableListClass.prototype.modelChanged = function (eventObj) { var firstRow = eventObj.firstRow; var lastRow = eventObj.lastRow; var event = eventObj.event; if (event != "addRows") { if (event != "deleteRows") { if (event == "sort") { var len = this.getLength(); var i = 0; while (i < len) { if (this.isSelected(i)) { var id = this.dataProvider.getItemID(i); if (id == this.lastSelID) { this.lastSelected = i; } this.selected[String(id)].sIndex = i; } i++; } } } else if (firstRow != lastRow) { this.clearSelected(); this.topDisplayed = 0; } else { var index = firstRow; if (this.selectHolder == index) { this.selectionDeleted = true; } if (!(((this.topDisplayed + this.numDisplayed) >= this.getLength()) && (this.topDisplayed > 0))) { if (this.selectionDeleted) { var len = this.getLength(); if (!(((index == (len - 1)) && (len > 1)) || (index > (len / 2)))) { this.setSelectedIndex(index, false); } else { this.setSelectedIndex(index - 1, false); } } } else { this.topDisplayed--; if (this.selectionDeleted && ((index - 1) >= 0)) { this.setSelectedIndex(index - 1, false); } } for (var i in this.selected) { if (this.selected[i].sIndex > firstRow) { this.selected[i].sIndex--; } } } } else { for (var i in this.selected) { if ((this.selected[i].sIndex != undefined) && (this.selected[i].sIndex >= firstRow)) { this.selected[i].sIndex = this.selected[i].sIndex + ((lastRow - firstRow) + 1); this.setSelectedIndex(this.selected[i].sIndex, false); } } } this.invalidate("updateControl"); }; FSelectableListClass.prototype.measureItmHgt = function () { this.attachMovie(this.itemSymbol, "tmpItem_mc", 0, {controller:this}); this.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false); this.itmHgt = this.tmpItem_mc._height; this.tmpItem_mc.removeMovieClip(); }; FSelectableListClass.prototype.selectItem = function (index, selectedFlag) { if (!(selectedFlag && (!this.isSelected(index)))) { if (!selectedFlag) { delete this.selected[String(this.dataProvider.getItemID(index))]; } } else { this.selected[String(this.dataProvider.getItemID(index))] = {sIndex:index}; } }; FSelectableListClass.prototype.isSelected = function (index) { return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined); }; FSelectableListClass.prototype.clearSelected = function () { for (var uniqueID in this.selected) { var index = this.selected[uniqueID].sIndex; if (((index != undefined) && (this.topDisplayed <= index)) && (index < (this.topDisplayed + this.numDisplayed))) { this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), false); } } delete this.selected; this.selected = new Array(); }; FSelectableListClass.prototype.selectionHandler = function (itemNum) { var tmpInd = (this.topDisplayed + itemNum); if (!this.getItemAt(tmpInd == undefined)) { this.changeFlag = true; } else { this.changeFlag = false; return(undefined); } this.clearSelected(); this.selectItem(tmpInd, true); this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(tmpInd), this.isSelected(tmpInd)); }; FSelectableListClass.prototype.moveSelBy = function (incr) { var itmNum = this.getSelectedIndex(); var newItm = (itmNum + incr); newItm = Math.max(0, newItm); newItm = Math.min(this.getLength() - 1, newItm); if (newItm == itmNum) { return(undefined); } if ((itmNum < this.topDisplayed) || (itmNum >= (this.topDisplayed + this.numDisplayed))) { this.setScrollPosition(itmNum); } if ((newItm >= (this.topDisplayed + this.numDisplayed)) || (newItm < this.topDisplayed)) { this.setScrollPosition(this.topDisplayed + incr); } this.selectionHandler(newItm - this.topDisplayed); }; FSelectableListClass.prototype.clickHandler = function (itmNum) { this.focusRect.removeMovieClip(); if (!this.focused) { this.pressFocus(); } this.selectionHandler(itmNum); this.onMouseUp = this.releaseHandler; }; FSelectableListClass.prototype.releaseHandler = function () { if (this.changeFlag) { this.executeCallBack(); } this.changeFlag = false; this.onMouseUp = undefined; }; FSelectableListClass.prototype.myOnSetFocus = function () { super.myOnSetFocus(); var i = 0; while (i < this.numDisplayed) { this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("enabled"); i++; } }; FSelectableListClass.prototype.myOnKillFocus = function () { super.myOnKillFocus(); var i = 0; while (i < this.numDisplayed) { this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("unfocused"); i++; } }; #endinitclip
Instance of Symbol 91 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 93 MovieClip [FSelectableListSymbol] Frame 1
//component parameters onClipEvent (initialize) { }
Instance of Symbol 92 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 93 MovieClip [FSelectableListSymbol] Frame 1
//component parameters onClipEvent (initialize) { }
Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 8 function FScrollSelectListClass() { this.init(); } FScrollSelectListClass.prototype = new FSelectableListClass(); FScrollSelectListClass.prototype.getScrollPosition = function () { return(this.topDisplayed); }; FScrollSelectListClass.prototype.setScrollPosition = function (pos) { if (this.enable) { pos = Math.min(pos, this.getLength() - this.numDisplayed); pos = Math.max(pos, 0); this.scrollBar_mc.setScrollPosition(pos); } }; FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) { this.permaScrollBar = !flag; this.setSize(this.width, this.height); }; FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) { super.setEnabled(enabledFlag); this.scrollBar_mc.setEnabled(this.enable); }; FScrollSelectListClass.prototype.setSize = function (w, h) { var pos = this.getScrollPosition(); super.setSize(w, h); if (this.scrollBar_mc != undefined) { this.removed = true; } this.scrollBar_mc = undefined; this.initScrollBar(); this.setScrollPosition(pos); }; FScrollSelectListClass.prototype.modelChanged = function (eventObj) { super.modelChanged(eventObj); this.invalidate("initScrollBar"); }; FScrollSelectListClass.prototype.initScrollBar = function () { if (!((!this.permaScrollBar) && (this.getLength() <= this.numDisplayed))) { if (this.scrollBar_mc == undefined) { this.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:this.styleTable}); this.scrollBar_mc = this.container_mc.scrollBar_mc; this.scrollBar_mc.setChangeHandler("scrollHandler", this); this.scrollBar_mc.setSize(this.height); this.scrollBar_mc._x = this.width - this.scrollBar_mc._width; this.scrollBar_mc._y = 0; this.scrollBar_mc.setLargeScroll(this.numDisplayed - 1); this.scrollOffset = this.scrollBar_mc._width; this.invalidate("setSize"); } this.scrollBar_mc.setScrollProperties(this.numDisplayed, 0, this.getLength() - this.numDisplayed); } else if (this.removed) { this.scrollBar_mc.removeMovieClip(); this.scrollBar_mc = undefined; this.scrollOffset = undefined; this.invalidate("setSize"); } }; FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) { var pos = scrollBar.getScrollPosition(); this.topDisplayed = pos; if (this.lastPosition != pos) { this.updateControl(); } this.lastPosition = pos; }; FScrollSelectListClass.prototype.clickHandler = function (itmNum) { super.clickHandler(itmNum); if ((this.dragScrolling == undefined) && (this.scrollBar_mc != undefined)) { this.dragScrolling = setInterval(this, "dragScroll", 15); } }; FScrollSelectListClass.prototype.releaseHandler = function () { clearInterval(this.dragScrolling); this.dragScrolling = undefined; super.releaseHandler(); }; FScrollSelectListClass.prototype.dragScroll = function () { clearInterval(this.dragScrolling); if (this.container_mc._ymouse >= 0) { if (this.container_mc._ymouse <= ((this.itmHgt - 2) * this.numDisplayed)) { this.dragScrolling = setInterval(this, "dragScroll", 15); } else { this.setScrollPosition(this.getScrollPosition() + 1); this.selectionHandler(this.numDisplayed - 1); this.scrollInterval = Math.max(25, (-23.7999992370605 * Math.abs((this.container_mc._ymouse - ((this.itmHgt - 2) * this.numDisplayed)) - 2)) + 500); this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval); } } else { this.setScrollPosition(this.getScrollPosition() - 1); this.selectionHandler(0); this.scrollInterval = Math.max(25, (-23.7999992370605 * (-this.container_mc._ymouse)) + 500); this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval); } }; FScrollSelectListClass.prototype.myOnKeyDown = function () { if (this.focused) { this.keyCodes = new Array(40, 38, 34, 33, 36, 35); this.keyIncrs = new Array(1, -1, this.numDisplayed - 1, -(this.numDisplayed - 1), -this.getLength(), this.getLength()); var i = 0; while (i < this.keyCodes.length) { if (Key.isDown(this.keyCodes[i])) { this.moveSelBy(this.keyIncrs[i]); return(undefined); } i++; } this.findInputText(); } }; FScrollSelectListClass.prototype.findInputText = function () { var tmpCode = Key.getAscii(); if ((tmpCode >= 33) && (tmpCode <= 126)) { this.findString(String.fromCharCode(tmpCode)); } }; FScrollSelectListClass.prototype.findString = function (str) { if (this.getLength() == 0) { return(undefined); } var itemNum = this.getSelectedIndex(); var jump = 0; var i = (itemNum + 1); while (i != itemNum) { var itmStr = this.getItemAt(i).label.substring(0, str.length); if ((str == itmStr) || (str.toUpperCase() == itmStr.toUpperCase())) { var jump = (i - itemNum); break; } if (i >= (this.getLength() - 1)) { i = -1; } i++; } if (jump != 0) { this.moveSelBy(jump); } }; #endinitclip
Instance of Symbol 86 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters onClipEvent (initialize) { _targetInstanceName = ""; horizontal = false; } onClipEvent (load) { this._width = (this._height = 1); }
Instance of Symbol 93 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters onClipEvent (initialize) { }
Symbol 95 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent; component.registerSkinElement(boundingBox, "background"); stop();
Symbol 95 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled"); stop();
Symbol 99 MovieClip [FListBoxSymbol] Frame 1
#initclip 9 function FListBoxClass() { this.itemSymbol = "FListItemSymbol"; this.init(); this.permaScrollBar = true; var i = 0; while (i < this.labels.length) { this.addItem(this.labels[i], this.data[i]); i++; } this.boundingBox_mc.gotoAndStop(1); this.width = this._width; this.height = this._height; this._yscale = (this._xscale = 100); this.setSize(this.width, this.height); if (this.changeHandler.length > 0) { this.setChangeHandler(this.changeHandler); } } FListBoxClass.prototype = new FScrollSelectListClass(); Object.registerClass("FListBoxSymbol", FListBoxClass); FListBoxClass.prototype.getSelectedIndices = function () { var tmpArray = new Array(); for (var i in this.selected) { tmpArray.push(this.selected[i].sIndex); } return(((tmpArray.length > 0) ? (tmpArray) : undefined)); }; FListBoxClass.prototype.getSelectedItems = function () { var indices = this.getSelectedIndices(); var tmpArray = new Array(); var i = 0; while (i < indices.length) { tmpArray.push(this.getItemAt(indices[i])); i++; } return(((tmpArray.length > 0) ? (tmpArray) : undefined)); }; FListBoxClass.prototype.getSelectMultiple = function () { return(this.selectMultiple); }; FListBoxClass.prototype.getRowCount = function () { return(this.numDisplayed); }; FListBoxClass.prototype.setSelectedIndices = function (indexArray) { this.clearSelected(); var i = 0; while (i < indexArray.length) { this.selectItem(indexArray[i], true); i++; } this.updateControl(); }; FListBoxClass.prototype.setSelectMultiple = function (flag) { this.selectMultiple = flag; }; FListBoxClass.prototype.setRowCount = function (count) { var hgt = ((count * (this.itmHgt - 2)) + 2); this.setSize(this.width, hgt); }; FListBoxClass.prototype.setWidth = function (wdt) { this.setSize(wdt, this.height); }; FListBoxClass.prototype.setSize = function (w, h) { if (!this.enable) { return(undefined); } w = Math.max(w, 20); h = Math.max(h, 40); this.container_mc.removeMovieClip(); this.container_mc = this.createEmptyMovieClip("container", 3); this.measureItmHgt(); this.numDisplayed = Math.floor(h / (this.itmHgt - 2)); this.height = (this.numDisplayed * (this.itmHgt - 2)) + 2; super.setSize(w, this.height); }; FListBoxClass.prototype.removeItemAt = function (index) { this.selectHolder = this.getSelectedIndices(); return(super.removeItemAt(index)); }; FListBoxClass.prototype.selectionHandler = function (itemNum) { if (!this.clickFilter) { this.clickFilter = true; } else { var index = (this.topDisplayed + itemNum); if (this.getItemAt(index) != undefined) { this.changeFlag = true; } else { this.changeFlag = false; return(undefined); } if (!((((!this.selectMultiple) && (!Key.isDown(17))) || (!Key.isDown(16))) && (!Key.isDown(17)))) { if (!(Key.isDown(16) && (this.selectMultiple))) { if (key.isDown(17)) { var selectedFlag = this.isSelected(index); if (!this.selectMultiple) { this.clearSelected(); } if (!((!this.selectMultiple) && (selectedFlag))) { this.selectItem(index, !selectedFlag); this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + itemNum), this.isSelected(this.topDisplayed + itemNum)); } this.lastSelected = index; } } else { if (this.lastSelected == -1) { this.lastSelected = index; } var incr = ((this.lastSelected < index) ? 1 : -1); this.clearSelected(); var i = this.lastSelected; while (i != index) { this.selectItem(i, true); if ((i >= this.topDisplayed) && (i < (this.topDisplayed + this.numDisplayed))) { this.container_mc[("fListItem" + (i - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(i), this.isSelected(i)); } i = i + incr; } this.selectItem(index, true); this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), this.isSelected(index)); } } else { this.clearSelected(); this.selectItem(index, true); this.lastSelected = index; this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(index), this.isSelected(index)); } } }; FListBoxClass.prototype.moveSelBy = function (itemNum) { super.moveSelBy(itemNum); this.releaseHandler(); }; #endinitclip this.deadPreview._visible = false;
Instance of Symbol 94 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 99 MovieClip [FListBoxSymbol] Frame 1
//component parameters onClipEvent (initialize) { }

Library Items

Symbol 1 MovieClip [FUIComponentSymbol]
Symbol 5 GraphicUsed by:4 23 41 42 48 49 51 57 69
Symbol 4 MovieClipUses:5Used by:3
Symbol 7 GraphicUsed by:6
Symbol 6 MovieClipUses:7Used by:3
Symbol 9 GraphicUsed by:8 29 60 75
Symbol 8 MovieClipUses:9Used by:3
Symbol 11 GraphicUsed by:10 30 61 76
Symbol 10 MovieClipUses:11Used by:3
Symbol 13 GraphicUsed by:12 18 28 62 66 74
Symbol 12 MovieClipUses:13Used by:3
Symbol 15 GraphicUsed by:14 17 27 63 65 73
Symbol 14 MovieClipUses:15Used by:3
Symbol 3 MovieClipUses:4 6 8 10 12 14Used by:2
Symbol 17 MovieClipUses:15Used by:16
Symbol 18 MovieClipUses:13Used by:16
Symbol 20 GraphicUsed by:19 67
Symbol 19 MovieClipUses:20Used by:16
Symbol 22 GraphicUsed by:21 68
Symbol 21 MovieClipUses:22Used by:16
Symbol 23 MovieClipUses:5Used by:16
Symbol 25 GraphicUsed by:24
Symbol 24 MovieClipUses:25Used by:16
Symbol 16 MovieClipUses:17 18 19 21 23 24Used by:2
Symbol 27 MovieClipUses:15Used by:26
Symbol 28 MovieClipUses:13Used by:26
Symbol 29 MovieClipUses:9Used by:26
Symbol 30 MovieClipUses:11Used by:26
Symbol 32 GraphicUsed by:31 77
Symbol 31 MovieClipUses:32Used by:26
Symbol 34 GraphicUsed by:33
Symbol 33 MovieClipUses:34Used by:26
Symbol 26 MovieClipUses:27 28 29 30 31 33Used by:2
Symbol 2 MovieClip [UpArrow]Uses:3 16 26
Symbol 38 GraphicUsed by:37
Symbol 37 MovieClipUses:38Used by:36
Symbol 40 GraphicUsed by:39 44 45 54
Symbol 39 MovieClipUses:40Used by:36
Symbol 41 MovieClipUses:5Used by:36
Symbol 42 MovieClipUses:5Used by:36
Symbol 36 MovieClipUses:37 39 41 42Used by:35
Symbol 44 MovieClipUses:40Used by:43
Symbol 45 MovieClipUses:40Used by:43
Symbol 47 GraphicUsed by:46
Symbol 46 MovieClipUses:47Used by:43
Symbol 48 MovieClipUses:5Used by:43
Symbol 49 MovieClipUses:5Used by:43
Symbol 43 MovieClipUses:44 45 46 48 49Used by:35
Symbol 51 MovieClipUses:5Used by:50
Symbol 53 GraphicUsed by:52
Symbol 52 MovieClipUses:53Used by:50
Symbol 54 MovieClipUses:40Used by:50
Symbol 50 MovieClipUses:51 52 54Used by:35
Symbol 35 MovieClip [ScrollThumb]Uses:36 43 50
Symbol 57 MovieClipUses:5Used by:56
Symbol 59 GraphicUsed by:58
Symbol 58 MovieClipUses:59Used by:56
Symbol 60 MovieClipUses:9Used by:56
Symbol 61 MovieClipUses:11Used by:56
Symbol 62 MovieClipUses:13Used by:56
Symbol 63 MovieClipUses:15Used by:56
Symbol 56 MovieClipUses:57 58 60 61 62 63Used by:55
Symbol 65 MovieClipUses:15Used by:64
Symbol 66 MovieClipUses:13Used by:64
Symbol 67 MovieClipUses:20Used by:64
Symbol 68 MovieClipUses:22Used by:64
Symbol 69 MovieClipUses:5Used by:64
Symbol 71 GraphicUsed by:70
Symbol 70 MovieClipUses:71Used by:64
Symbol 64 MovieClipUses:65 66 67 68 69 70Used by:55
Symbol 73 MovieClipUses:15Used by:72
Symbol 74 MovieClipUses:13Used by:72
Symbol 75 MovieClipUses:9Used by:72
Symbol 76 MovieClipUses:11Used by:72
Symbol 77 MovieClipUses:32Used by:72
Symbol 79 GraphicUsed by:78
Symbol 78 MovieClipUses:79Used by:72
Symbol 72 MovieClipUses:73 74 75 76 77 78Used by:55
Symbol 55 MovieClip [DownArrow]Uses:56 64 72
Symbol 82 GraphicUsed by:81
Symbol 81 MovieClipUses:82Used by:80
Symbol 80 MovieClip [FHighlightSymbol]Uses:81
Symbol 84 FontUsed by:85
Symbol 85 EditableTextUses:84Used by:83
Symbol 83 MovieClip [FLabelSymbol]Uses:85
Symbol 89 GraphicUsed by:88
Symbol 88 MovieClipUses:89Used by:87
Symbol 87 MovieClipUses:88Used by:86
Symbol 86 MovieClip [FScrollBarSymbol]Uses:87Used by:94
Symbol 90 MovieClip [FListItemSymbol]Used by:99
Symbol 91 MovieClip [DataProviderSymbol]Used by:93
Symbol 92 MovieClip [FSelectableItemSymbol]Used by:93
Symbol 93 MovieClip [FSelectableListSymbol]Uses:91 92Used by:94
Symbol 94 MovieClip [FScrollSelectListSymbol]Uses:86 93Used by:99
Symbol 97 GraphicUsed by:96
Symbol 96 MovieClipUses:97Used by:95
Symbol 98 GraphicUsed by:95
Symbol 95 MovieClip [FBoundingBoxSymbol]Uses:96 98Used by:99
Symbol 101 GraphicUsed by:100
Symbol 100 MovieClipUses:101Used by:99
Symbol 99 MovieClip [FListBoxSymbol]Uses:90 94 95 100
Symbol 102 GraphicUsed by:Timeline
Symbol 103 GraphicUsed by:Timeline
Symbol 104 GraphicUsed by:Timeline
Symbol 108 GraphicUsed by:107
Symbol 107 MovieClipUses:108Used by:106
Symbol 106 MovieClipUses:107Used by:105
Symbol 109 GraphicUsed by:105
Symbol 105 MovieClipUses:106 109Used by:Timeline
Symbol 110 GraphicUsed by:Timeline
Symbol 111 GraphicUsed by:Timeline
Symbol 112 GraphicUsed by:Timeline
Symbol 113 GraphicUsed by:Timeline
Symbol 114 GraphicUsed by:Timeline
Symbol 115 GraphicUsed by:Timeline
Symbol 116 GraphicUsed by:Timeline
Symbol 117 GraphicUsed by:Timeline
Symbol 118 GraphicUsed by:Timeline
Symbol 119 GraphicUsed by:Timeline
Symbol 120 GraphicUsed by:Timeline
Symbol 121 GraphicUsed by:Timeline
Symbol 122 GraphicUsed by:Timeline
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:123
Symbol 123 MovieClipUses:125Used by:Timeline

Instance Names

"face_mc"Symbol 3 MovieClip Frame 1Symbol 4 MovieClip
"arrow_mc"Symbol 3 MovieClip Frame 1Symbol 6 MovieClip
"highlight_mc"Symbol 3 MovieClip Frame 1Symbol 8 MovieClip
"shadow_mc"Symbol 3 MovieClip Frame 1Symbol 10 MovieClip
"darkshadow_mc"Symbol 3 MovieClip Frame 1Symbol 12 MovieClip
"highlight3D_mc"Symbol 3 MovieClip Frame 1Symbol 14 MovieClip
"darkshadow_mc"Symbol 16 MovieClip Frame 1Symbol 17 MovieClip
"highlight3D_mc"Symbol 16 MovieClip Frame 1Symbol 18 MovieClip
"highlight_mc"Symbol 16 MovieClip Frame 1Symbol 19 MovieClip
"shadow_mc"Symbol 16 MovieClip Frame 1Symbol 21 MovieClip
"face_mc"Symbol 16 MovieClip Frame 1Symbol 23 MovieClip
"arrow_mc"Symbol 16 MovieClip Frame 1Symbol 24 MovieClip
"highlight3D_mc"Symbol 26 MovieClip Frame 1Symbol 27 MovieClip
"darkshadow_mc"Symbol 26 MovieClip Frame 1Symbol 28 MovieClip
"highlight_mc"Symbol 26 MovieClip Frame 1Symbol 29 MovieClip
"shadow_mc"Symbol 26 MovieClip Frame 1Symbol 30 MovieClip
"face_mc"Symbol 26 MovieClip Frame 1Symbol 31 MovieClip
"arrow_mc"Symbol 26 MovieClip Frame 1Symbol 33 MovieClip
"up"Symbol 2 MovieClip [UpArrow] Frame 1Symbol 3 MovieClip
"down"Symbol 2 MovieClip [UpArrow] Frame 2Symbol 16 MovieClip
"disabled"Symbol 2 MovieClip [UpArrow] Frame 3Symbol 26 MovieClip
"highlight3D_mc"Symbol 36 MovieClip Frame 1Symbol 37 MovieClip
"darkshadow_mc"Symbol 36 MovieClip Frame 1Symbol 39 MovieClip
"highlight_mc"Symbol 36 MovieClip Frame 1Symbol 41 MovieClip
"shadow_mc"Symbol 36 MovieClip Frame 1Symbol 42 MovieClip
"highlight3D_mc"Symbol 43 MovieClip Frame 1Symbol 44 MovieClip
"darkshadow_mc"Symbol 43 MovieClip Frame 1Symbol 45 MovieClip
"shadow_mc"Symbol 43 MovieClip Frame 1Symbol 46 MovieClip
"face_mc"Symbol 43 MovieClip Frame 1Symbol 48 MovieClip
"highlight_mc"Symbol 43 MovieClip Frame 1Symbol 49 MovieClip
"shadow_mc"Symbol 50 MovieClip Frame 1Symbol 51 MovieClip
"darkshadow_mc"Symbol 50 MovieClip Frame 1Symbol 52 MovieClip
"highlight3D_mc"Symbol 50 MovieClip Frame 1Symbol 54 MovieClip
"mc_sliderTop"Symbol 35 MovieClip [ScrollThumb] Frame 1Symbol 36 MovieClip
"mc_sliderMid"Symbol 35 MovieClip [ScrollThumb] Frame 1Symbol 43 MovieClip
"mc_sliderBot"Symbol 35 MovieClip [ScrollThumb] Frame 1Symbol 50 MovieClip
"face_mc"Symbol 56 MovieClip Frame 1Symbol 57 MovieClip
"arrow_mc"Symbol 56 MovieClip Frame 1Symbol 58 MovieClip
"highlight_mc"Symbol 56 MovieClip Frame 1Symbol 60 MovieClip
"shadow_mc"Symbol 56 MovieClip Frame 1Symbol 61 MovieClip
"darkshadow_mc"Symbol 56 MovieClip Frame 1Symbol 62 MovieClip
"highlight3D_mc"Symbol 56 MovieClip Frame 1Symbol 63 MovieClip
"darkshadow_mc"Symbol 64 MovieClip Frame 1Symbol 65 MovieClip
"highlight3D_mc"Symbol 64 MovieClip Frame 1Symbol 66 MovieClip
"highlight_mc"Symbol 64 MovieClip Frame 1Symbol 67 MovieClip
"shadow_mc"Symbol 64 MovieClip Frame 1Symbol 68 MovieClip
"face_mc"Symbol 64 MovieClip Frame 1Symbol 69 MovieClip
"arrow_mc"Symbol 64 MovieClip Frame 1Symbol 70 MovieClip
"highlight3D_mc"Symbol 72 MovieClip Frame 1Symbol 73 MovieClip
"darkshadow_mc"Symbol 72 MovieClip Frame 1Symbol 74 MovieClip
"highlight_mc"Symbol 72 MovieClip Frame 1Symbol 75 MovieClip
"shadow_mc"Symbol 72 MovieClip Frame 1Symbol 76 MovieClip
"face_mc"Symbol 72 MovieClip Frame 1Symbol 77 MovieClip
"arrow_mc"Symbol 72 MovieClip Frame 1Symbol 78 MovieClip
"up"Symbol 55 MovieClip [DownArrow] Frame 1Symbol 56 MovieClip
"down"Symbol 55 MovieClip [DownArrow] Frame 2Symbol 64 MovieClip
"disabled"Symbol 55 MovieClip [DownArrow] Frame 3Symbol 72 MovieClip
"highlight_mc"Symbol 80 MovieClip [FHighlightSymbol] Frame 1Symbol 81 MovieClip
"highlight_mc2"Symbol 80 MovieClip [FHighlightSymbol] Frame 2Symbol 81 MovieClip
"highlight_mc3"Symbol 80 MovieClip [FHighlightSymbol] Frame 3Symbol 81 MovieClip
"labelField"Symbol 83 MovieClip [FLabelSymbol] Frame 1Symbol 85 EditableText
"track_mc"Symbol 87 MovieClip Frame 1Symbol 88 MovieClip
"scrollTrack_mc"Symbol 86 MovieClip [FScrollBarSymbol] Frame 1Symbol 87 MovieClip
"dPAsset"Symbol 93 MovieClip [FSelectableListSymbol] Frame 1Symbol 91 MovieClip [DataProviderSymbol]
"ItemAsset"Symbol 93 MovieClip [FSelectableListSymbol] Frame 1Symbol 92 MovieClip [FSelectableItemSymbol]
"scrollBarAsset"Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1Symbol 86 MovieClip [FScrollBarSymbol]
"superClassAsset"Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1Symbol 93 MovieClip [FSelectableListSymbol]
"boundingBox"Symbol 95 MovieClip [FBoundingBoxSymbol] Frame 1Symbol 96 MovieClip
"boundingBox2"Symbol 95 MovieClip [FBoundingBoxSymbol] Frame 2Symbol 96 MovieClip
"itemAsset"Symbol 99 MovieClip [FListBoxSymbol] Frame 1Symbol 90 MovieClip [FListItemSymbol]
"superClassAsset"Symbol 99 MovieClip [FListBoxSymbol] Frame 1Symbol 94 MovieClip [FScrollSelectListSymbol]
"boundingBox_mc"Symbol 99 MovieClip [FListBoxSymbol] Frame 1Symbol 95 MovieClip [FBoundingBoxSymbol]
"deadPreview"Symbol 99 MovieClip [FListBoxSymbol] Frame 1Symbol 100 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "FUIComponentSymbol"
ExportAssets (56)Timeline Frame 1Symbol 2 as "UpArrow"
ExportAssets (56)Timeline Frame 1Symbol 35 as "ScrollThumb"
ExportAssets (56)Timeline Frame 1Symbol 55 as "DownArrow"
ExportAssets (56)Timeline Frame 1Symbol 80 as "FHighlightSymbol"
ExportAssets (56)Timeline Frame 1Symbol 83 as "FLabelSymbol"
ExportAssets (56)Timeline Frame 1Symbol 86 as "FScrollBarSymbol"
ExportAssets (56)Timeline Frame 1Symbol 90 as "FListItemSymbol"
ExportAssets (56)Timeline Frame 1Symbol 91 as "DataProviderSymbol"
ExportAssets (56)Timeline Frame 1Symbol 92 as "FSelectableItemSymbol"
ExportAssets (56)Timeline Frame 1Symbol 93 as "FSelectableListSymbol"
ExportAssets (56)Timeline Frame 1Symbol 94 as "FScrollSelectListSymbol"
ExportAssets (56)Timeline Frame 1Symbol 95 as "FBoundingBoxSymbol"
ExportAssets (56)Timeline Frame 1Symbol 99 as "FListBoxSymbol"

Labels

"Symbol_36"Symbol 1 MovieClip [FUIComponentSymbol] Frame 1
"enabled"Symbol 80 MovieClip [FHighlightSymbol] Frame 1
"disabled"Symbol 80 MovieClip [FHighlightSymbol] Frame 2
"unfocused"Symbol 80 MovieClip [FHighlightSymbol] Frame 3
"Symbol_32"Symbol 83 MovieClip [FLabelSymbol] Frame 1
"Symbol_354"Symbol 91 MovieClip [DataProviderSymbol] Frame 1
"enabled"Symbol 95 MovieClip [FBoundingBoxSymbol] Frame 1
"disabled"Symbol 95 MovieClip [FBoundingBoxSymbol] Frame 2




http://swfchan.com/19/92230/info.shtml
Created: 27/3 -2019 13:03:32 Last modified: 27/3 -2019 13:03:32 Server time: 28/04 -2024 17:37:33