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

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

mizuki-uhuh.swf

This is the info page for
Flash #189642

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 { } movieClip 3 { frame 1 { var component = _parent; component.registerSkinElement(track_mc, 'scrollTrack'); } } movieClip 4 FScrollBarSymbol { #initclip FScrollBarClass = function () { if (this._height == 4) { return undefined; } this.init(); this.largeScroll = 0; this.pageSize = 0; this.maxPos = 0; this.minPos = 0; this.smallScroll = 1; this.width = this.horizontal ? this._width : this._height; this._yscale = 100; this._xscale = 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) { this._xscale = 100; this._rotation = 0; } else { if (flag && !this.horizontal) { this._xscale = -100; this._rotation = -90; } } 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) { this.scrollThumb_mc.removeMovieClip(); this.upArrow_mc.gotoAndStop(3); this.downArrow_mc.gotoAndStop(3); this.downArrow_mc.onDragOut = null; this.downArrow_mc.onRelease = this.downArrow_mc.onDragOut; this.downArrow_mc.onPress = this.downArrow_mc.onDragOut; this.upArrow_mc.onDragOut = null; this.upArrow_mc.onRelease = this.upArrow_mc.onDragOut; this.upArrow_mc.onPress = this.upArrow_mc.onDragOut; this.scrollTrack_mc.onRelease = null; this.scrollTrack_mc.onPress = this.scrollTrack_mc.onRelease; this.scrollTrack_mc.onRollOut = null; this.scrollTrack_mc.onDragOut = this.scrollTrack_mc.onRollOut; this.scrollTrack_mc.useHandCursor = false; } else { var tmp = this.getScrollPosition(); this.upArrow_mc.gotoAndStop(1); this.downArrow_mc.gotoAndStop(1); this.upArrow_mc.onDragOver = this.startUpScroller; this.upArrow_mc.onPress = this.upArrow_mc.onDragOver; this.upArrow_mc.onDragOut = this.stopScrolling; this.upArrow_mc.onRelease = this.upArrow_mc.onDragOut; this.downArrow_mc.onDragOver = this.startDownScroller; this.downArrow_mc.onPress = this.downArrow_mc.onDragOver; this.downArrow_mc.onDragOut = this.stopScrolling; this.downArrow_mc.onRelease = this.downArrow_mc.onDragOut; this.scrollTrack_mc.onDragOver = this.startTrackScroller; this.scrollTrack_mc.onPress = this.scrollTrack_mc.onDragOver; 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.onReleaseOutside = this.stopDragThumb; this.scrollThumb_mc.onRelease = this.scrollThumb_mc.onReleaseOutside; 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)); } }; 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) { this.enable = enabledFlag; if (this.textField != undefined) { this.setScrollTarget(this.textField); } else { this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos); this.setScrollPosition(this.cachedPos); } this.clickFilter = undefined; } else { if (!enabledFlag && wasEnabled) { this.textField.removeListener(this); this.cachedPos = this.getScrollPosition(); this.cachedMinPos = this.minPos; this.cachedMaxPos = this.maxPos; if (this.clickFilter == undefined) { this.setScrollProperties(this.pageSize, 0, 0); } else { this.clickFilter = true; } this.enable = enabledFlag; } } }; 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.upArrow_mc.controller = this; this.downArrow_mc.controller = this.upArrow_mc.controller; this.downArrow_mc.useHandCursor = false; this.upArrow_mc.useHandCursor = this.downArrow_mc.useHandCursor; this.upArrow_mc._y = 0; this.upArrow_mc._x = 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.onTextChanged(); } else { this.setScrollProperties(this.pageSize, this.minPos, this.maxPos); } }; 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) { newPos = this.maxPos; } else { if (newPos < this.minPos) { newPos = this.minPos; } } 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._y; if (this.scrollMove < this.controller.scrollTop) { this.scrollMove = this.controller.scrollTop; } else { if (this.scrollMove > this.controller.scrollBot) { this.scrollMove = this.controller.scrollBot; } } 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.trackScroller(); } else { this.scrollIt(inc, mode); } this.scrolling = setInterval(this, 'scrollInterval', 35, inc, mode); }; FScrollBarClass.prototype.trackScroller = function () { if (this.scrollThumb_mc._y + this.thumbHeight < this._ymouse) { this.scrollIt('page', 1); } else { if (this.scrollThumb_mc._y > this._ymouse) { 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.scroll); } else { this.setScrollPosition(this.textField.hscroll); } } }; 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.hscroll; this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll); this.setScrollPosition(Math.min(pos, this.textField.maxhscroll)); } else { 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)); } }; FScrollBarClass.prototype.executeCallBack = function () { if (this.textField == undefined) { super.executeCallBack(); } else { if (this.horizontal) { this.textField.hscroll = this.getScrollPosition(); } else { this.textField.scroll = this.getScrollPosition(); } } }; Object.registerClass('FScrollBarSymbol', FScrollBarClass); #endinitclip frame 1 { } } movieClip 6 { } movieClip 8 FBoundingBoxSymbol { frame 1 { var component = _parent; component.registerSkinElement(boundingBox, 'background'); stop(); } frame 2 { component.registerSkinElement(boundingBox2, 'backgroundDisabled'); stop(); } } movieClip 9 { } movieClip 11 { } movieClip 12 FScrollPaneSymbol { #initclip function FScrollPaneClass() { function boolToString(str) { if (str == 'false') { return false; } if (str == 'true') { return true; } else { return str; } } this.init(); this.width = this._width; this.height = this._height; this._yscale = 100; this._xscale = 100; this.contentHeight = 0; this.contentWidth = 0; if (this.hScroll == undefined) { this.vScroll = 'auto'; this.hScroll = 'auto'; this.dragContent = false; } this.offset = new Object(); this.vScroll = boolToString(this.vScroll); this.hScroll = boolToString(this.hScroll); this.attachMovie('FScrollBarSymbol', 'hScrollBar_mc', 100, {'hostStyle': this.styleTable}); this.hScrollBar_mc.setHorizontal(true); this.hScrollBar_mc.setSmallScroll(5); this.hScrollBar_mc.setChangeHandler('onScroll', this); this.attachMovie('FScrollBarSymbol', 'vScrollBar_mc', 99, {'hostStyle': this.styleTable}); this.vScrollBar_mc.setSmallScroll(5); this.vScrollBar_mc.setChangeHandler('onScroll', this); this.setSize(this.width, this.height); if (this.scrollContent != '') { this.setScrollContent(this.scrollContent); } this.setDragContent(this.dragContent); } FScrollPaneClass.prototype = new FUIComponentClass(); Object.registerClass('FScrollPaneSymbol', FScrollPaneClass); FScrollPaneClass.prototype.getScrollContent = function () { return this.content_mc; }; FScrollPaneClass.prototype.getPaneWidth = function () { return this.width; }; FScrollPaneClass.prototype.getPaneHeight = function () { return this.height; }; FScrollPaneClass.prototype.getScrollPosition = function () { var xPos = (this.hScrollBar_mc == undefined) ? 0 : this.hScrollBar_mc.getScrollPosition(); if (this.vScrollBar_mc != undefined) { var yPos = this.vScrollBar_mc.getScrollPosition(); return {'x': xPos, 'y': yPos}; } var yPos = 0; return {'x': xPos, 'y': yPos}; }; FScrollPaneClass.prototype.setScrollContent = function (target) { this.offset.x = 0; this.offset.y = 0; if (this.content_mc != undefined) { if (target != this.content_mc) { this.content_mc._visible = false; this.content_mc.removeMovieClip(); this.content_mc.unloadMovie(); } } if (typeof target == 'string') { this.attachMovie(target, 'tmp_mc', 3); this.content_mc = this.tmp_mc; } else { if (target == undefined) { this.content_mc.unloadMovie(); } else { this.content_mc = target; } } this.localToGlobal(this.offset); this.content_mc._parent.globalToLocal(this.offset); this.content_mc._x = this.offset.x; this.content_mc._y = this.offset.y; var contentBounds = this.content_mc.getBounds(this); this.offset.x = -contentBounds.xMin; this.offset.y = -contentBounds.yMin; this.localToGlobal(this.offset); this.content_mc._parent.globalToLocal(this.offset); this.content_mc._x = this.offset.x; this.content_mc._y = this.offset.y; this.contentWidth = this.content_mc._width; this.contentHeight = this.content_mc._height; this.content_mc.setMask(this.mask_mc); this.setSize(this.width, this.height); }; FScrollPaneClass.prototype.setSize = function (w, h) { if (arguments.length < 2 || isNaN(w) || isNaN(h)) { return undefined; } super.setSize(w, h); this.width = Math.max(w, 60); this.height = Math.max(h, 60); this.boundingBox_mc._xscale = 100; this.boundingBox_mc._yscale = 100; this.boundingBox_mc._width = this.width; this.boundingBox_mc._height = this.height; this.setHandV(); this.initScrollBars(); if (this.mask_mc == undefined) { this.attachMovie('FBoundingBoxSymbol', 'mask_mc', 3000); } this.mask_mc._xscale = 100; this.mask_mc._yscale = 100; this.mask_mc._width = this.hWidth; this.mask_mc._height = this.vHeight; this.mask_mc._alpha = 0; }; FScrollPaneClass.prototype.setScrollPosition = function (x, y) { x = Math.max(this.hScrollBar_mc.minPos, x); x = Math.min(this.hScrollBar_mc.maxPos, x); y = Math.max(this.vScrollBar_mc.minPos, y); y = Math.min(this.vScrollBar_mc.maxPos, y); this.hScrollBar_mc.setScrollPosition(x); this.vScrollBar_mc.setScrollPosition(y); }; FScrollPaneClass.prototype.refreshPane = function () { this.setScrollContent(this.content_mc); }; FScrollPaneClass.prototype.loadScrollContent = function (url, handler, location) { this.content_mc.removeMovieClip(); this.content_mc.unloadMovie(); this.content_mc._visible = 0; this.loadContent.duplicateMovieClip('loadTemp', 3); this.dupeFlag = true; this.contentLoaded = function () { this.loadReady = false; this.content_mc = this.loadTemp; this.refreshPane(); this.executeCallBack(); }; this.setChangeHandler(handler, location); this.loadTemp.loadMovie(url); }; FScrollPaneClass.prototype.setHScroll = function (prop) { this.hScroll = prop; this.setSize(this.width, this.height); }; FScrollPaneClass.prototype.setVScroll = function (prop) { this.vScroll = prop; this.setSize(this.width, this.height); }; FScrollPaneClass.prototype.setDragContent = function (dragFlag) { if (dragFlag) { this.boundingBox_mc.useHandCursor = true; this.boundingBox_mc.onPress = function () { this._parent.startDragLoop(); }; this.boundingBox_mc.tabEnabled = false; this.boundingBox_mc.onReleaseOutside = function () { this._parent.pressFocus(); this._parent.onMouseMove = null; }; this.boundingBox_mc.onRelease = this.boundingBox_mc.onReleaseOutside; } else { delete this.boundingBox_mc.onPress; this.boundingBox_mc.useHandCursor = false; } }; FScrollPaneClass.prototype.setSmallScroll = function (x, y) { this.hScrollBar_mc.setSmallScroll(x); this.vScrollBar_mc.setSmallScroll(y); }; FScrollPaneClass.prototype.setHandV = function () { if (this.contentHeight - this.height > 2 && this.vScroll != false || this.vScroll == true) { this.hWidth = this.width - this.vScrollBar_mc._width; } else { this.hWidth = this.width; } if (this.contentWidth - this.width > 2 && this.hScroll != false || this.hScroll == true) { this.vHeight = this.height - this.hScrollBar_mc._height; } else { this.vHeight = this.height; } }; FScrollPaneClass.prototype.startDragLoop = function () { this.tabFocused = false; this.myOnSetFocus(); this.lastX = this._xmouse; this.lastY = this._ymouse; this.onMouseMove = function () { this.scrollXMove = this.lastX - this._xmouse; this.scrollYMove = this.lastY - this._ymouse; this.scrollXMove += this.hScrollBar_mc.getScrollPosition(); this.scrollYMove += this.vScrollBar_mc.getScrollPosition(); this.setScrollPosition(this.scrollXMove, this.scrollYMove); if (this.scrollXMove < this.hScrollBar_mc.maxPos && this.scrollXMove > this.hScrollBar_mc.minPos) { this.lastX = this._xmouse; } if (this.scrollYMove < this.vScrollBar_mc.maxPos && this.scrollYMove > this.vScrollBar_mc.minPos) { this.lastY = this._ymouse; } this.updateAfterEvent(); }; }; FScrollPaneClass.prototype.initScrollBars = function () { this.hScrollBar_mc._y = this.height - this.hScrollBar_mc._height; this.hScrollBar_mc.setSize(this.hWidth); this.hScrollBar_mc.setScrollProperties(this.hWidth, 0, this.contentWidth - this.hWidth); this.vScrollBar_mc._visible = (this.hWidth == this.width) ? false : true; this.vScrollBar_mc._x = this.width - this.vScrollBar_mc._width; this.vScrollBar_mc.setSize(this.vHeight); this.vScrollBar_mc.setScrollProperties(this.vHeight, 0, this.contentHeight - this.vHeight); this.hScrollBar_mc._visible = (this.vHeight == this.height) ? false : true; }; FScrollPaneClass.prototype.onScroll = function (component) { var pos = component.getScrollPosition(); var XorY = (component._name == 'hScrollBar_mc') ? 'x' : 'y'; if (component._name == 'hScrollBar_mc') { this.content_mc._x = -pos + this.offset.x; } else { this.content_mc._y = -pos + this.offset.y; } }; FScrollPaneClass.prototype.myOnKeyDown = function () { var posX = this.hScrollBar_mc.getScrollPosition(); var posY = this.vScrollBar_mc.getScrollPosition(); if (this.hScrollBar_mc.maxPos > this.hScrollBar_mc.minPos) { if (Key.isDown(37)) { this.setScrollPosition(posX - 3, posY); } else { if (Key.isDown(39)) { this.setScrollPosition(posX + 3, posY); } } } if (this.vScrollBar_mc.maxPos > this.vScrollBar_mc.minPos) { if (Key.isDown(38)) { this.setScrollPosition(posX, posY - 3); } else { if (Key.isDown(40)) { this.setScrollPosition(posX, posY + 3); } else { if (Key.isDown(34)) { this.setScrollPosition(posX, posY + this.vScrollBar_mc.pageSize); } else { if (Key.isDown(33)) { this.setScrollPosition(posX, posY - this.vScrollBar_mc.pageSize); } } } } } }; #endinitclip frame 1 { this.deadPreview._visible = false; } instance scrollBarAsset of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = ''; horizontal = false; } } instance loadContent of movieClip 9 { onClipEvent (load) { if (this._parent.loadReady) { this._parent.contentLoaded(); delete this._parent.loadReady; } else { if (this._name != 'loadContent') { this._parent.loadReady = true; } } } } } movieClip 14 frb_hitArea { } movieClip 16 { } movieClip 18 { } movieClip 20 { } movieClip 22 { } movieClip 23 { 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'); } } movieClip 25 { } movieClip 26 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'background'); } } movieClip 28 { } movieClip 29 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'backgroundDisabled'); } } movieClip 30 { } movieClip 31 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'backgroundDisabled'); } } movieClip 33 { } movieClip 34 { frame 1 { var component = _parent._parent; component.registerSkinElement(disabled_mc, 'foregroundDisabled'); } } movieClip 36 { } movieClip 37 { frame 1 { var component = _parent._parent; component.registerSkinElement(dot_mc, 'radioDot'); } } movieClip 38 frb_states { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 40 { } movieClip 41 FRadioButtonSymbol { #initclip function FRadioButtonClass() { this.init(); } function FRadioButtonGroupClass() { this.radioInstances = new Array(); } FRadioButtonClass.prototype = new FUIComponentClass(); FRadioButtonGroupClass.prototype = new FUIComponentClass(); Object.registerClass('FRadioButtonSymbol', FRadioButtonClass); FRadioButtonClass.prototype.init = function () { if (this.initialState == undefined) { this.selected = false; } else { this.selected = this.initialState; } super.setSize(this._width, this._height); this.boundingBox_mc.unloadMovie(); this.boundingBox_mc._width = 0; this.boundingBox_mc._height = 0; this.attachMovie('frb_hitArea', 'frb_hitArea_mc', 1); this.attachMovie('frb_states', 'frb_states_mc', 2); this.attachMovie('FLabelSymbol', 'fLabel_mc', 3); super.init(); this._xscale = 100; this._yscale = 100; this.setSize(this.width, this.height); this.setChangeHandler(this.changeHandler); if (this.label != undefined) { this.setLabel(this.label); } if (this.initialState == undefined) { this.setValue(false); } else { this.setValue(this.initialState); } if (this.data == '') { this.data = undefined; } else { this.setData(this.data); } this.addToRadioGroup(); this.ROLE_SYSTEM_RADIOBUTTON = 45; this.STATE_SYSTEM_SELECTED = 16; this.EVENT_OBJECT_STATECHANGE = 32778; this.EVENT_OBJECT_NAMECHANGE = 32780; this._accImpl.master = this; this._accImpl.stub = false; this._accImpl.get_accRole = this.get_accRole; this._accImpl.get_accName = this.get_accName; this._accImpl.get_accState = this.get_accState; this._accImpl.get_accDefaultAction = this.get_accDefaultAction; this._accImpl.accDoDefaultAction = this.accDoDefaultAction; }; FRadioButtonClass.prototype.setHitArea = function (w, h) { var hit = this.frb_hitArea_mc; this.hitArea = hit; if (this.frb_states_mc._width > w) { hit._width = this.frb_states_mc._width; } else { hit._width = w; } hit._visible = false; if (arguments.length > 1) { hit._height = h; } }; FRadioButtonClass.prototype.txtFormat = function (pos) { var txtS = this.textStyle; var sTbl = this.styleTable; txtS.align = (sTbl.textAlign.value == undefined) ? txtS.align : undefined; txtS.leftMargin = (sTbl.textLeftMargin.value == undefined) ? 0 : undefined; txtS.rightMargin = (sTbl.textRightMargin.value == undefined) ? 0 : undefined; if (this.flabel_mc._height > this.height) { super.setSize(this.width, this.flabel_mc._height); } else { super.setSize(this.width, this.height); } this.setEnabled(this.enable); }; FRadioButtonClass.prototype.setSize = function (w, h) { this.setLabel(this.getLabel()); this.setLabelPlacement(this.labelPlacement); if (this.frb_states_mc._height < this.flabel_mc.labelField._height) { super.setSize(w, this.flabel_mc.labelField._height); } this.setHitArea(this.width, this.height); this.setLabelPlacement(this.labelPlacement); }; FRadioButtonClass.prototype.setLabelPlacement = function (pos) { this.setLabel(this.getLabel()); this.txtFormat(pos); var halfLabelH = this.fLabel_mc._height / 2; var halfFrameH = this.frb_states_mc._height / 2; var vertCenter = halfFrameH - halfLabelH; var radioWidth = this.frb_states_mc._width; var frame = this.frb_states_mc; var label = this.fLabel_mc; var w = this.width - frame._width; if (frame._width > this.width) { w = 0; } else { w = this.width - frame._width; } this.fLabel_mc.setSize(w); if (pos == 'right' || pos == undefined) { this.labelPlacement = 'right'; this.frb_states_mc._x = 0; this.fLabel_mc._x = radioWidth; this.txtFormat('left'); } else { if (pos == 'left') { this.labelPlacement = 'left'; this.fLabel_mc._x = 0; this.frb_states_mc._x = this.width - radioWidth; this.txtFormat('right'); } } this.fLabel_mc._y = vertCenter; this.frb_hitArea_mc._y = vertCenter; this.setLabel(this.getLabel()); }; FRadioButtonClass.prototype.setData = function (dataValue) { this.data = dataValue; }; FRadioButtonClass.prototype.getData = function () { return this.data; }; FRadioButtonClass.prototype.getState = function () { return this.selected; }; FRadioButtonClass.prototype.getSize = function () { return this.width; }; FRadioButtonClass.prototype.getGroupName = function () { return this.groupName; }; FRadioButtonClass.prototype.setGroupName = function (groupName) { var i = 0; while (i < this._parent[this.groupName].radioInstances.length) { if (this._parent[this.groupName].radioInstances[i] == this) { delete this._parent[this.groupName].radioInstances[i]; } ++i; } this.groupName = groupName; this.addToRadioGroup(); }; FRadioButtonClass.prototype.addToRadioGroup = function () { if (this._parent[this.groupName] == undefined) { this._parent[this.groupName] = new FRadioButtonGroupClass(); } this._parent[this.groupName].addRadioInstance(this); }; FRadioButtonClass.prototype.setValue = function (selected) { if (selected || selected == undefined) { this.setState(true); this.focusRect.removeMovieClip(); this.executeCallBack(); } else { if (selected == false) { this.setState(false); } } }; FRadioButtonClass.prototype.setTabState = function (selected) { Selection.setFocus(this); this.setState(selected); this.drawFocusRect(); this.executeCallBack(); }; FRadioButtonClass.prototype.setState = function (selected) { if (selected || selected == undefined) { this.tabEnabled = true; for (var i in this._parent) { if (this != this._parent[i] && this._parent[i].groupName == this.groupName) { this._parent[i].setState(false); this._parent[i].tabEnabled = false; } } } if (this.enable) { this.flabel_mc.setEnabled(true); if (selected || selected == undefined) { this.frb_states_mc.gotoAndStop('selectedEnabled'); this.enabled = false; this.selected = true; this.tabEnabled = true; this.tabFocused = true; } else { this.frb_states_mc.gotoAndStop('unselectedEnabled'); this.enabled = true; this.selected = false; this.tabEnabled = false; var enabTrue = this._parent[this.groupName].getEnabled(); var noneSelect = this._parent[this.groupName].getValue() == undefined; if (enabTrue && noneSelect) { this._parent[this.groupName].radioInstances[0].tabEnabled = true; } } } else { this.flabel_mc.setEnabled(false); if (selected || selected == undefined) { this.frb_states_mc.gotoAndStop('selectedDisabled'); this.enabled = false; this.selected = true; this.tabEnabled = false; } else { this.frb_states_mc.gotoAndStop('unselectedDisabled'); this.enabled = false; this.selected = false; this.tabEnabled = false; } } if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true); } }; FRadioButtonClass.prototype.getValue = function () { if (this.selected) { if (this.data == '' || this.data == undefined) { return this.getLabel(); } else { return this.data; } } }; FRadioButtonClass.prototype.setEnabled = function (enable) { if (enable == true || enable == undefined) { this.enable = true; super.setEnabled(true); } else { this.enable = false; super.setEnabled(false); } this.setState(this.selected); var cgn = this._parent[this.groupName].getEnabled() == undefined; var cgnez = this._parent[this.groupName].radioInstances[0].getEnabled() == false; if (cgn && cgnez) { var i = 0; while (i < this._parent[this.groupName].radioInstances.length) { if (this._parent[this.groupName].radioInstances[i].getEnabled() == true) { this._parent[this.groupName].radioInstances[i].tabEnabled = true; return undefined; } ++i; } } }; FRadioButtonClass.prototype.getEnabled = function () { return this.enable; }; FRadioButtonClass.prototype.setLabel = function (label) { this.fLabel_mc.setLabel(label); this.txtFormat(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE); } }; FRadioButtonClass.prototype.getLabel = function () { return this.fLabel_mc.getLabel(); }; FRadioButtonClass.prototype.onPress = function () { this.pressFocus(); this.frb_states_mc.gotoAndStop('press'); }; FRadioButtonClass.prototype.onRelease = function () { this.frb_states_mc.gotoAndStop('unselectedDisabled'); this.setValue(!this.selected); }; FRadioButtonClass.prototype.onReleaseOutside = function () { this.frb_states_mc.gotoAndStop('unselectedEnabled'); }; FRadioButtonClass.prototype.onDragOut = function () { this.frb_states_mc.gotoAndStop('unselectedEnabled'); }; FRadioButtonClass.prototype.onDragOver = function () { this.frb_states_mc.gotoAndStop('press'); }; FRadioButtonClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this._parent[this.groupName]); }; FRadioButtonGroupClass.prototype.addRadioInstance = function (instance) { this.radioInstances.push(instance); this.radioInstances[0].tabEnabled = true; }; FRadioButtonGroupClass.prototype.setEnabled = function (enableFlag) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setEnabled(enableFlag); ++i; } }; FRadioButtonGroupClass.prototype.getEnabled = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].getEnabled() != this.radioInstances[0].getEnabled()) { return undefined; } ++i; } return this.radioInstances[0].getEnabled(); }; FRadioButtonGroupClass.prototype.setChangeHandler = function (changeHandler, obj) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setChangeHandler(changeHandler, obj); ++i; } }; FRadioButtonGroupClass.prototype.getValue = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected == true) { if (this.radioInstances[i].data == '' || this.radioInstances[i].data == undefined) { return this.radioInstances[i].getLabel(); } else { return this.radioInstances[i].data; } } ++i; } }; FRadioButtonGroupClass.prototype.getData = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected) { return this.radioInstances[i].getData(); } ++i; } }; FRadioButtonGroupClass.prototype.getInstance = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected == true) { return i; } else { undefined; } ++i; } }; FRadioButtonGroupClass.prototype.setValue = function (dataValue) { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].data == dataValue) { this.radioInstances[i].setValue(true); return undefined; } ++i; } var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].getLabel() == dataValue) { this.radioInstances[i].setValue(true); } ++i; } }; FRadioButtonGroupClass.prototype.setSize = function (w) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setSize(w); ++i; } }; FRadioButtonGroupClass.prototype.getSize = function () { var widestRadio = 0; var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].width >= widestRadio) { widestRadio = this.radioInstances[i].width; } ++i; } return widestRadio; }; FRadioButtonGroupClass.prototype.setGroupName = function (groupName) { this.oldGroupName = this.radioInstances[0].groupName; var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].groupName = groupName; this.radioInstances[i].addToRadioGroup(); ++i; } delete this._parent[this.oldGroupName]; }; FRadioButtonGroupClass.prototype.getGroupName = function () { return this.radioInstances[0].groupName; }; FRadioButtonGroupClass.prototype.setLabelPlacement = function (pos) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setLabelPlacement(pos); ++i; } }; FRadioButtonGroupClass.prototype.setStyleProperty = function (propName, value, isGlobal) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setStyleProperty(propName, value, isGlobal); ++i; } }; FRadioButtonGroupClass.prototype.addListener = function () { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].addListener(); ++i; } }; FRadioButtonGroupClass.prototype.applyChanges = function () { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].applyChanges(); ++i; } }; FRadioButtonGroupClass.prototype.removeListener = function (component) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].removeListener(component); ++i; } }; FRadioButtonClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this._width + 6, this._height - 3); }; FRadioButtonClass.prototype.myOnKillFocus = function () { Key.removeListener(this.keyListener); this.focused = false; this.focusRect.removeMovieClip(); this._parent[this.groupName].foobar = 0; }; FRadioButtonClass.prototype.myOnKeyDown = function () { if (Key.getCode() == 32 && this._parent[this.groupName].getValue() == undefined) { if (this._parent[this.groupName].radioInstances[0] == this) { this.setTabState(true); } } if (Key.getCode() == 40 && this.pressOnce == undefined) { this.foobar = this._parent[this.groupName].getInstance(); var i = this.foobar; while (i < this._parent[this.groupName].radioInstances.length) { var inc = i + 1; if (this._parent[this.groupName].radioInstances[inc].getEnabled()) { this._parent[this.groupName].radioInstances[inc].setTabState(true); return undefined; } ++i; } } if (Key.getCode() == 38 && this.pressOnce == undefined) { this.foobar = this._parent[this.groupName].getInstance(); var i = this.foobar; while (i >= 0) { var inc = i - 1; if (this._parent[this.groupName].radioInstances[inc].getEnabled()) { this._parent[this.groupName].radioInstances[inc].setTabState(true); return undefined; } --i; } } }; FRadioButtonClass.prototype.get_accRole = function (childId) { return this.master.ROLE_SYSTEM_RADIOBUTTON; }; FRadioButtonClass.prototype.get_accName = function (childId) { return this.master.getLabel(); }; FRadioButtonClass.prototype.get_accState = function (childId) { if (this.master.getState()) { return this.master.STATE_SYSTEM_SELECTED; } else { return 0; } }; FRadioButtonClass.prototype.get_accDefaultAction = function (childId) { if (this.master.getState()) { return 'UnCheck'; } else { return 'Check'; } }; FRadioButtonClass.prototype.accDoDefaultAction = function (childId) { this.master.setValue(!this.master.getValue()); }; #endinitclip frame 1 { boundingBox_mc._visible = false; deadPreview._visible = false; } } movieClip 42 fpb_hitArea { } movieClip 45 FLabelSymbol { #initclip _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 frame 1 { } } movieClip 47 { } movieClip 48 { } movieClip 49 { } movieClip 50 { } movieClip 52 { } movieClip 53 { frame 1 { var component = _parent._parent; component.registerSkinElement(frame5, 'face'); component.registerSkinElement(frame3, 'shadow'); component.registerSkinElement(frame1, 'darkshadow'); component.registerSkinElement(frame4, 'highlight'); component.registerSkinElement(frame2, 'highlight3D'); } } movieClip 54 { } movieClip 55 { } movieClip 56 { } movieClip 57 { } movieClip 58 { } movieClip 59 { frame 1 { var component = _parent._parent; component.registerSkinElement(frame5, 'face'); component.registerSkinElement(frame3, 'shadow'); component.registerSkinElement(frame1, 'darkshadow'); component.registerSkinElement(frame4, 'highlight'); component.registerSkinElement(frame2, 'highlight3D'); } } movieClip 60 { } movieClip 61 { } movieClip 62 { } movieClip 63 { } movieClip 64 { } movieClip 65 { frame 1 { var component = _parent._parent; component.registerSkinElement(frame5, 'face'); component.registerSkinElement(frame4, 'shadow'); component.registerSkinElement(frame2, 'darkshadow'); component.registerSkinElement(frame3, 'highlight'); component.registerSkinElement(frame1, 'highlight3D'); } } movieClip 66 { } movieClip 67 { } movieClip 68 { } movieClip 69 { } movieClip 70 { } movieClip 71 { frame 1 { var component = _parent._parent; component.registerSkinElement(frame5, 'face'); component.registerSkinElement(frame3, 'shadow'); component.registerSkinElement(frame1, 'darkshadow'); component.registerSkinElement(frame4, 'highlight'); component.registerSkinElement(frame2, 'highlight3D'); } } movieClip 72 fpb_states { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 74 { } movieClip 75 FPushButtonSymbol { #initclip function FPushButtonClass() { this.init(); } FPushButtonClass.prototype = new FUIComponentClass(); Object.registerClass('FPushButtonSymbol', FPushButtonClass); FPushButtonClass.prototype.init = function () { super.setSize(this._width, this._height); this.boundingBox_mc.unloadMovie(); this.attachMovie('fpb_states', 'fpbState_mc', 1); this.attachMovie('FLabelSymbol', 'fLabel_mc', 2); this.attachMovie('fpb_hitArea', 'fpb_hitArea_mc', 3); super.init(); this.btnState = false; this.setClickHandler(this.clickHandler); this._xscale = 100; this._yscale = 100; this.setSize(this.width, this.height); if (this.label != undefined) { this.setLabel(this.label); } this.ROLE_SYSTEM_PUSHBUTTON = 43; this.STATE_SYSTEM_PRESSED = 8; this.EVENT_OBJECT_STATECHANGE = 32778; this.EVENT_OBJECT_NAMECHANGE = 32780; this._accImpl.master = this; this._accImpl.stub = false; this._accImpl.get_accRole = this.get_accRole; this._accImpl.get_accName = this.get_accName; this._accImpl.get_accState = this.get_accState; this._accImpl.get_accDefaultAction = this.get_accDefaultAction; this._accImpl.accDoDefaultAction = this.accDoDefaultAction; }; FPushButtonClass.prototype.setHitArea = function (w, h) { var hit = this.fpb_hitArea_mc; this.hitArea = hit; hit._visible = false; hit._width = w; hit._height = arguments.length > 1 ? h : hit._height; }; FPushButtonClass.prototype.setSize = function (w, h) { w = w < 6 ? 6 : w; if (arguments.length > 1) { if (h < 6) { h = 6; } } super.setSize(w, h); this.setLabel(this.getLabel()); this.arrangeLabel(); this.setHitArea(w, h); this.boundingBox_mc._width = w; this.boundingBox_mc._height = h; this.drawFrame(); if (this.focused) { super.myOnSetFocus(); } this.initContentPos('fLabel_mc'); }; FPushButtonClass.prototype.arrangeLabel = function () { var label = this.fLabel_mc; var h = this.height; var w = this.width - 2; var b = 1; this.fLabel_mc.setSize(w - b * 4); label._x = b * 3; label._y = h / 2 - label._height / 2; }; FPushButtonClass.prototype.getLabel = function () { return this.fLabel_mc.labelField.text; }; FPushButtonClass.prototype.setLabel = function (label) { this.fLabel_mc.setLabel(label); this.txtFormat(); this.arrangeLabel(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE); } }; FPushButtonClass.prototype.getEnabled = function () { return this.enabled; }; FPushButtonClass.prototype.setEnabled = function (enable) { if (enable || enable == undefined) { this.gotoFrame(1); this.drawFrame(); this.flabel_mc.setEnabled(true); this.enabled = true; super.setEnabled(true); } else { this.gotoFrame(4); this.drawFrame(); this.flabel_mc.setEnabled(false); this.enabled = false; super.setEnabled(false); } }; FPushButtonClass.prototype.txtFormat = function () { var txtS = this.textStyle; var sTbl = this.styleTable; txtS.align = (sTbl.textAlign.value == undefined) ? 'center' : undefined; txtS.leftMargin = (sTbl.textLeftMargin.value == undefined) ? 1 : undefined; txtS.rightMargin = (sTbl.textRightMargin.value == undefined) ? 1 : undefined; if (this.fLabel_mc._height > this.height) { super.setSize(this.width, this.fLabel_mc._height); } else { super.setSize(this.width, this.height); } this.fLabel_mc.labelField.setTextFormat(this.textStyle); this.setEnabled(this.enable); }; FPushButtonClass.prototype.drawFrame = function () { var b = 1; var x1 = 0; var y1 = 0; var x2 = this.width; var y2 = this.height; var mc_array = ['up_mc', 'over_mc', 'down_mc', 'disabled_mc']; var frame = mc_array[this.fpbState_mc._currentframe - 1]; var mc = 'frame'; var i = 0; while (i < 6) { x1 += (i % 2) * b; y1 += (i % 2) * b; x2 -= ((i + 1) % 2) * b; y2 -= ((i + 1) % 2) * b; var w = Math.abs(x1 - x2) + 2 * b; var h = Math.abs(y1 - y2) + 2 * b; this.fpbState_mc[frame][mc + i]._width = w; this.fpbState_mc[frame][mc + i]._height = h; this.fpbState_mc[frame][mc + i]._x = x1 - b; this.fpbState_mc[frame][mc + i]._y = y1 - b; ++i; } }; FPushButtonClass.prototype.setClickHandler = function (chng, obj) { this.handlerObj = arguments.length < 2 ? this._parent : obj; this.clickHandler = chng; }; FPushButtonClass.prototype.executeCallBack = function () { this.handlerObj[this.clickHandler](this); }; FPushButtonClass.prototype.initContentPos = function (mc) { this.incrVal = 1; this.initx = this[mc]._x - this.getBtnState() * this.incrVal; this.inity = this[mc]._y - this.getBtnState() * this.incrVal; this.togx = this.initx + this.incrVal; this.togy = this.inity + this.incrVal; }; FPushButtonClass.prototype.setBtnState = function (state) { this.btnState = state; if (state) { this.fLabel_mc._x = this.togx; this.fLabel_mc._y = this.togy; } else { this.fLabel_mc._x = this.initx; this.fLabel_mc._y = this.inity; } }; FPushButtonClass.prototype.getBtnState = function () { return this.btnState; }; FPushButtonClass.prototype.myOnSetFocus = function () { this.focused = true; super.myOnSetFocus(); }; FPushButtonClass.prototype.onPress = function () { this.pressFocus(); this.fpbState_mc.gotoAndStop(3); this.drawFrame(); this.setBtnState(true); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true); } }; FPushButtonClass.prototype.onRelease = function () { this.fpbState_mc.gotoAndStop(2); this.drawFrame(); this.executeCallBack(); this.setBtnState(false); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true); } }; FPushButtonClass.prototype.onRollOver = function () { this.fpbState_mc.gotoAndStop(2); this.drawFrame(); }; FPushButtonClass.prototype.onRollOut = function () { this.fpbState_mc.gotoAndStop(1); this.drawFrame(); }; FPushButtonClass.prototype.onReleaseOutside = function () { this.setBtnState(false); this.fpbState_mc.gotoAndStop(1); this.drawFrame(); }; FPushButtonClass.prototype.onDragOut = function () { this.setBtnState(false); this.fpbState_mc.gotoAndStop(1); this.drawFrame(); }; FPushButtonClass.prototype.onDragOver = function () { this.setBtnState(true); this.fpbState_mc.gotoAndStop(3); this.drawFrame(); }; FPushButtonClass.prototype.myOnKeyDown = function () { if (Key.getCode() == 32 && this.pressOnce == undefined) { this.onPress(); this.pressOnce = 1; } }; FPushButtonClass.prototype.myOnKeyUp = function () { if (Key.getCode() == 32) { this.onRelease(); this.pressOnce = undefined; } }; FPushButtonClass.prototype.get_accRole = function (childId) { return this.master.ROLE_SYSTEM_PUSHBUTTON; }; FPushButtonClass.prototype.get_accName = function (childId) { return this.master.getLabel(); }; FPushButtonClass.prototype.get_accState = function (childId) { if (this.pressOnce) { return this.master.STATE_SYSTEM_PRESSED; } else { return this.master.STATE_SYSTEM_DEFAULT; } }; FPushButtonClass.prototype.get_accDefaultAction = function (childId) { return 'Press'; }; FPushButtonClass.prototype.accDoDefaultAction = function (childId) { this.master.onPress(); this.master.onRelease(); }; #endinitclip frame 1 { boundingBox_mc._visible = false; deadPreview._visible = false; } } movieClip 76 FUIComponentSymbol { #initclip 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) { globalStyleFormat.addListener(this); } else { this.styleTable = this.hostStyle; } this.deadPreview._visible = false; this.deadPreview._height = 1; this.deadPreview._width = 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.focusEnabled = enabledFlag; this.tabEnabled = this.focusEnabled; 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.setSize(this.width, this.height); } else { this.cleanUINotSize(); } 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; } 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)) { } else { if (propName == 'embedFonts') { this.invalidate('setSize'); } else { if (propName.subString(0, 4) == 'text') { if (this.textStyle == undefined) { this.textStyle = new TextFormat(); } var textProp = propName.subString(4, propName.length); this.textStyle[textProp] = value; this.invalidate('setSize'); } else { 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 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '0'}; myColor.setTransform(myTObj); } else { myColor.setRGB(value); } } } } } 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 = {'listeners': true, 'isGlobal': true, 'isAStyle': true, 'addListener': true, 'removeListener': true, 'nonStyles': true, 'applyChanges': 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 frame 1 { } } movieClip 77 { } movieClip 79 { } movieClip 81 { } movieClip 83 { } movieClip 85 { } movieClip 87 { } movieClip 88 { 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'); } } movieClip 89 { } movieClip 90 { } movieClip 92 { } movieClip 94 { } movieClip 95 { } movieClip 97 { } movieClip 98 { 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'); } } movieClip 99 { } movieClip 100 { } movieClip 101 { } movieClip 102 { } movieClip 104 { } movieClip 106 { } movieClip 107 { 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'); } } movieClip 108 UpArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 110 { } movieClip 111 { } movieClip 112 { } movieClip 113 { } movieClip 114 { 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'); } } movieClip 115 { } movieClip 116 { } movieClip 118 { } movieClip 119 { } movieClip 120 { } movieClip 121 { 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'); } } movieClip 122 { } movieClip 124 { } movieClip 125 { } movieClip 126 { 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'); } } movieClip 127 ScrollThumb { frame 1 { stop(); } } movieClip 128 { } movieClip 130 { } movieClip 131 { } movieClip 132 { } movieClip 133 { } movieClip 134 { } movieClip 135 { 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'); } } movieClip 136 { } movieClip 137 { } movieClip 138 { } movieClip 139 { } movieClip 140 { } movieClip 142 { } movieClip 143 { 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'); } } movieClip 144 { } movieClip 145 { } movieClip 146 { } movieClip 147 { } movieClip 148 { } movieClip 150 { } movieClip 151 { 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'); } } movieClip 152 DownArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } frame 1 { stop(); } button 165 { on (release) { gotoAndPlay(2); } } button 168 { on (release) { gotoAndPlay(25); } } button 171 { on (release) { gotoAndPlay(21); } } button 173 { on (release) { gotoAndPlay(38); } } frame 2 { stop(); } button 177 { on (press) { startDrag('', false, 0, -510, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 178 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels01'; horizontal = false; } } button 185 { on (release) { gotoAndPlay(4); } } button 188 { on (release) { gotoAndPlay(3); } on (release) { gotoAndPlay(3); } } frame 3 { stop(); } button 190 { on (release) { gotoAndPlay(2); } } frame 4 { stop(); } button 193 { on (press) { startDrag('', false, 0, 640, 0, -120); } on (release, releaseOutside) { stopDrag(); } } movieClip 194 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels02'; horizontal = false; } } button 196 { on (release) { gotoAndPlay(6); } } button 197 { on (release) { gotoAndPlay(5); } } frame 5 { stop(); } button 199 { on (release) { gotoAndPlay(4); } } frame 6 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels03a'; horizontal = false; } } button 203 { on (release) { gotoAndPlay(6); } on (release) { gotoAndPlay(7); } } frame 7 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels03b'; horizontal = false; } } button 207 { on (press) { gotoAndPlay(8); } } frame 8 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels04'; horizontal = false; } } button 211 { on (press) { gotoAndPlay(9); } } frame 9 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels05'; horizontal = false; } } button 215 { on (press) { gotoAndPlay(10); } } frame 10 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels06'; horizontal = false; } } button 219 { on (press) { gotoAndPlay(11); } } frame 11 { stop(); } button 222 { on (press) { startDrag('', false, 0, -520, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 223 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels07'; horizontal = false; } } button 225 { on (press) { gotoAndPlay(13); } } button 226 { on (release) { gotoAndPlay(12); } } frame 12 { stop(); } button 227 { on (release) { gotoAndPlay(11); } } frame 13 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels08'; horizontal = false; } } button 231 { on (press) { gotoAndPlay(14); } } frame 14 { stop(); } button 234 { on (press) { startDrag('', false, 0, -150, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 235 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels09'; horizontal = false; } } button 237 { on (press) { gotoAndPlay(15); } } frame 15 { stop(); } button 240 { on (press) { startDrag('', false, 0, -520, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 241 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels10'; horizontal = false; } } button 243 { on (press) { gotoAndPlay(17); } } button 244 { on (release) { gotoAndPlay(16); } } frame 16 { stop(); } button 245 { on (release) { gotoAndPlay(15); } } frame 17 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels11'; horizontal = false; } } button 249 { on (press) { gotoAndPlay(18); } } frame 18 { stop(); } button 252 { on (press) { startDrag('', false, 0, -60, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 253 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels12'; horizontal = false; } } button 255 { on (press) { gotoAndPlay(19); } } frame 19 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels13'; horizontal = false; } } button 259 { on (press) { gotoAndPlay(20); } } frame 20 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'hels14'; horizontal = false; } } button 265 { on (release) { gotoAndPlay(1); } } frame 21 { stop(); } button 268 { on (press) { startDrag('', false, 0, -70, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 269 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mka01'; horizontal = false; } } button 271 { on (press) { gotoAndPlay(22); } } frame 22 { stop(); } button 274 { on (press) { startDrag('', false, 0, -85, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 275 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mka02'; horizontal = false; } } button 277 { on (press) { gotoAndPlay(23); } } frame 23 { stop(); } button 280 { on (press) { startDrag('', false, 0, -520, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 281 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mka03'; horizontal = false; } } button 283 { on (release) { gotoAndPlay(24); } } frame 24 { stop(); } button 284 { on (release) { gotoAndPlay(23); } } frame 25 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn01'; horizontal = false; } } button 288 { on (press) { gotoAndPlay(26); } } frame 26 { stop(); } button 291 { on (press) { startDrag('', false, 0, -511, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 292 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn02'; horizontal = false; } } button 294 { on (press) { gotoAndPlay(28); } } button 295 { on (release) { gotoAndPlay(27); } } frame 27 { stop(); } button 296 { on (release) { gotoAndPlay(26); } } frame 28 { stop(); } button 299 { on (press) { startDrag('', false, 0, -70, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 300 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn03'; horizontal = false; } } button 302 { on (press) { gotoAndPlay(29); } } frame 29 { stop(); } button 305 { on (press) { startDrag('', false, 0, -511, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 306 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn04'; horizontal = false; } } button 308 { on (press) { gotoAndPlay(31); } } button 309 { on (release) { gotoAndPlay(30); } } frame 30 { stop(); } button 310 { on (release) { gotoAndPlay(29); } } frame 31 { stop(); } button 313 { on (press) { startDrag('', false, 0, -511, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 314 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn05'; horizontal = false; } } button 316 { on (press) { gotoAndPlay(33); } } button 317 { on (release) { gotoAndPlay(32); } } frame 32 { stop(); } button 318 { on (release) { gotoAndPlay(31); } } frame 33 { stop(); } button 321 { on (press) { startDrag('', false, 0, -611, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 322 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn06'; horizontal = false; } } button 324 { on (release) { gotoAndPlay(35); } } button 325 { on (release) { gotoAndPlay(34); } } frame 34 { stop(); } button 326 { on (release) { gotoAndPlay(33); } } frame 35 { stop(); } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn07'; horizontal = false; } } button 330 { on (press) { gotoAndPlay(36); } } frame 36 { stop(); } button 333 { on (press) { startDrag('', false, 0, -511, 0, 0); } on (release, releaseOutside) { stopDrag(); } } movieClip 334 { } instance of movieClip 4 FScrollBarSymbol { onClipEvent (initialize) { _targetInstanceName = 'mgn08'; horizontal = false; } } button 336 { on (release) { gotoAndPlay(37); } } frame 37 { stop(); } button 337 { on (release) { gotoAndPlay(36); } } frame 38 { stop(); } button 339 { on (press) { gotoAndPlay(61); } } frame 61 { stop(); } button 342 { on (press) { gotoAndPlay(62); } } frame 62 { stop(); } button 345 { on (press) { gotoAndPlay(63); } } frame 63 { stop(); } button 348 { on (press) { gotoAndPlay(64); } } frame 64 { stop(); }




http://swfchan.com/38/189642/info.shtml
Created: 5/8 -2019 23:19:40 Last modified: 5/8 -2019 23:19:40 Server time: 28/04 -2024 14:08:11