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

swfchan turned sixteen years old today! (5may2024)

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

1364.swf

This is the info page for
Flash #32005

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


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

<P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">PushButton</FONT></P>

ActionScript [AS1/AS2]

Symbol 1 MovieClip [LSuperClass] Frame 1
#initclip 3 _global.LToolBox = function () { this.interaction_id = undefined; this.interaction_type = undefined; this.correct_response = undefined; this.student_response = undefined; this.result = undefined; this.feedback = undefined; this.numOfTries = 1; this.feedback_list = undefined; this.tracking = undefined; this.weighting = undefined; this.objective_id = undefined; this.latency = undefined; this.navigation = undefined; }; _global.LToolBox.prototype = new Object(); LToolBox.prototype.setTextField = function (fieldName, val) { eval (fieldName).text = val; }; LToolBox.prototype.setCompLabel = function (UIComponent, val) { eval (UIComponent).setLabel(val); }; LToolBox.prototype.setCompCallBack = function (UIComponent, val) { if (eval (UIComponent).setClickHandler) { eval (UIComponent).setClickHandler(val); } else if (eval (UIComponent).setChangeHandler) { eval (UIComponent).setChangeHandler(val); } }; LToolBox.prototype.setCompState = function (UIComponent, val) { eval (UIComponent).setEnabled(val); }; LToolBox.prototype.getCompLabel = function (UIComponent) { return(eval (UIComponent).getLabel()); }; LToolBox.prototype.initControlButton = function (callBack) { var initial_state; if (this.feedback == true) { initial_state = "Check Answer"; if (this.navigation == "Auto GoTo Next Frame") { trace("WARNING: Feedback must be false and Tracking turned true \rto use Auto GoTo Next Frame. Navigation reset to Next Button."); this.navigation = "Next Button"; } } else if (this.tracking == true) { initial_state = "Submit"; } else if (this.navigation != "Off") { initial_state = "Next Question"; if (this.navigation == "Auto GoTo Next Frame") { trace("WARNING: Feedback must be false and Tracking turned true \rto use Auto GoTo Next Frame. Navigation reset to Next Button."); this.navigation = "Next Button"; } } else { initial_state = ""; } this.label_state = initial_state; this.setCompLabel(this.Assets.ControlButton, initial_state); this.setCompState(this.Assets.ControlButton, false); this.setCompCallBack(this.Assets.ControlButton, callBack); }; LToolBox.prototype.setFeedback = function (val) { if (this.feedback == true) { if (val.toLowerCase() == "init") { this.setTextField(this.Assets.FeedbackField, this.feedback_list[0]); } else if (val.toLowerCase() == "button") { var buttonState = this.getCompLabel(this.Assets.ControlButton); this.setTextField(this.Assets.FeedbackField, ("Click the " + buttonState) + " button."); } else if (val.toLowerCase() == "c") { this.setTextField(this.Assets.FeedbackField, this.feedback_list[1]); } else if (val.toLowerCase() == "w") { if (this.numOfTries > 1) { this.setTextField(this.Assets.FeedbackField, this.feedback_list[3]); } else { this.setTextField(this.Assets.FeedbackField, this.feedback_list[2]); } } } else { this.setTextField(this.Assets.FeedbackField, ""); } }; LToolBox.prototype.setNavigation = function () { if (this.navigation == "Off") { this.setCompState(this.Assets.ControlButton, false); } else if (this.navigation == "Next Button") { if ((!this.buttonFlag) || (this.buttonFlag == false)) { this.setCompLabel(this.Assets.ControlButton, "Next Question"); this.buttonFlag = true; } else if (this.navAction == "Stop") { if (this.navLabel == "") { eval (this.assets_path.nextFrame()); } else { eval (this.assets_path.gotoAndStop(this.navLabel)); } } else if (this.navAction == "Play") { if (this.navLabel == "") { eval (this.assets_path.gotoAndPlay(this._currentframe + 1)); } else { eval (this.assets_path.gotoAndPlay(this.navLabel)); } } } else if (this.navigation == "Auto GoTo Next Frame") { eval (this.assets_path.nextFrame()); } }; LToolBox.prototype.sessionStart = function () { this.dateStamp = this.getDateStamp(); this.timeStamp = this.getTimeStamp(); this.sessionTimer("start"); }; LToolBox.prototype.sessionStop = function () { this.latency = this.getLatency(this.sessionTimer("stop")); }; LToolBox.prototype.submitScore = function () { if ((this.weighting <= 0) || (this.weighting == undefined)) { this.weighting = 1; } var weight; if (this.result == "C") { weight = this.weighting; } else if (this.result == "W") { weight = -1 * this.weighting; } if (this.tracking == true) { var intData = ((((((((((((((((((this.dateStamp + ";") + this.timeStamp) + ";") + this.interaction_ID) + ";") + this.objective_ID) + ";") + this.interaction_type) + ";") + this.correct_response) + ";") + this.student_response) + ";") + this.result) + ";") + this.weighting) + ";") + this.latency); fscommand ("MM_cmiSendInteractionInfo", intData); } _root.QuizTrack.countScore(weight); }; LToolBox.prototype.getDateStamp = function () { var dateObj = new Date(); var year = dateObj.getFullYear(); var month = this.formatNum(dateObj.getMonth() + 1); var day = this.formatNum(dateObj.getDate()); var dateString = ((((year + "/") + month) + "/") + day); return(dateString); }; LToolBox.prototype.getTimeStamp = function () { var timeObj = new Date(); var hours = this.formatNum(timeObj.getHours()); var minutes = this.formatNum(timeObj.getMinutes()); var seconds = this.formatNum(timeObj.getSeconds()); var timeString = ((((hours + ":") + minutes) + ":") + seconds); return(timeString); }; LToolBox.prototype.sessionTimer = function (action) { if (action.toLowerCase() == "start") { this.startTime = int(getTimer() / 1000); } else if (action.toLowerCase() == "stop") { this.stopTime = int(getTimer() / 1000); var elapsedSec = (this.stopTime - this.startTime); return(elapsedSec); } }; LToolBox.prototype.getLatency = function (timeInSec) { var l_seconds; var l_minutes; var l_hours; var timeInHours; if (timeInSec <= 9) { l_seconds = "0" + timeInSec; l_minutes = "00"; l_hours = "00"; } else { l_seconds = timeInSec; l_minutes = "00"; l_hours = "00"; } if (l_seconds > 59) { l_minutes = int(l_seconds / 60); l_minutes = this.formatNum(l_minutes); l_seconds = l_seconds - (l_minutes * 60); l_seconds = this.formatNum(l_seconds); l_hours = "00"; } if (l_minutes > 59) { l_hours = int(l_minutes / 60); l_hours = this.formatNum(l_hours); l_minutes = l_minutes - (l_hours * 60); l_minutes = this.formatNum(l_minutes); } timeInHours = (((l_hours + ":") + l_minutes) + ":") + l_seconds; return(timeInHours); }; LToolBox.prototype.formatNum = function (num) { if (num <= 9) { num = "0" + num; } return(num); }; LToolBox.prototype.getObjProp = function (objName, Trace) { var objNameArray = new Array(); var i = 0; for (x in objName) { objNameArray[i] = objName[x]; if (arguments[1] == true) { trace((x + " : ") + objName[x]); } i++; } return(objNameArray.reverse()); }; LToolBox.prototype.reportToOutput = function (defined) { var x; var y; for (prop in this) { x = this[prop]; y = typeof(this[prop]); if (defined == true) { if (((x != undefined) && (y != "function")) && (y != "object")) { trace((("this." + prop) + " : ") + this[prop]); } } else if ((defined == false) || (eval (defined) == undefined)) { trace((("this." + prop) + " : ") + this[prop]); } else if (defined.toLowerCase() == "object") { if (y == "object") { trace("this." + prop); } } else if (defined.toLowerCase() == "function") { if (y == "function") { trace("this." + prop); } } } trace("-------------------"); trace(""); }; #endinitclip
Symbol 4 MovieClip [FLabelSymbol] Frame 1
#initclip 1 _global.FLabelClass = function () { if (this.hostComponent == undefined) { this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller)); } 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) { this.labelField.embedFonts = this.hostComponent.styleTable.embedFonts.value; this.labelField.setNewTextFormat(this.hostComponent.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 13 MovieClip 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");
Symbol 19 MovieClip 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");
Symbol 25 MovieClip 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");
Symbol 31 MovieClip 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");
Symbol 32 MovieClip [fpb_states] Frame 1
stop();
Symbol 32 MovieClip [fpb_states] Frame 2
stop();
Symbol 32 MovieClip [fpb_states] Frame 3
stop();
Symbol 32 MovieClip [fpb_states] Frame 4
stop();
Symbol 33 MovieClip [FUIComponentSymbol] Frame 1
#initclip 2 function FUIComponentClass() { this.init(); } FUIComponentClass.prototype = new MovieClip(); Object.registerClass("FUIComponentSymbol", FUIComponentClass); 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.hasOwnProperty("hostStyle")) { globalStyleFormat.addListener(this); } else { this.styleTable = this.hostStyle; } this.deadPreview._visible = false; this.deadPreview._width = (this.deadPreview._height = 1); this.methodTable = new Object(); this.onUnload = function () { if (this.focused) { Selection.setFocus(_root); } }; this.keyListener = new Object(); this.keyListener.controller = this; this.keyListener.onKeyDown = function () { this.controller.myOnKeyDown(); }; this.keyListener.onKeyUp = function () { this.controller.myOnKeyUp(); }; } }; FUIComponentClass.prototype.setEnabled = function (enabledFlag) { this.enable = ((arguments.length > 0) ? (enabledFlag) : true); this.tabEnabled = (this.focusEnabled = enabledFlag); }; FUIComponentClass.prototype.getEnabled = function () { return(this.enable); }; FUIComponentClass.prototype.setSize = function (w, h) { this.width = w; this.height = h; if (this.focused) { this.myOnSetFocus(); } }; 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 { if (this.methodTable.initScrollBar) { this.initScrollBar(); } if (this.methodTable.updateControl) { this.updateControl(); } } this.methodTable = new Object(); delete this.onEnterFrame; }; 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; with (this.focusRect) { lineStyle(1, outer); moveTo(x, y); lineTo(x + w, y); lineTo(x + w, y + h); lineTo(x, y + h); lineTo(x, y); lineStyle(1, inner); moveTo(x + 1, y + 1); lineTo((x + w) - 1, y + 1); lineTo((x + w) - 1, (y + h) - 1); lineTo(x + 1, (y + h) - 1); lineTo(x + 1, y + 1); } }; FUIComponentClass.prototype.pressFocus = function () { this.tabFocused = false; 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._parent.localToGlobal({x:this._x, y:this._y}); this.drawFocusRect(); } this.tabFocused = true; }; FUIComponentClass.prototype.myOnKillFocus = function () { 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) { 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 (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
Symbol 37 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent; component.registerSkinElement(boundingBox, "background"); stop();
Symbol 37 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled"); stop();
Symbol 40 MovieClip [FPushButtonSymbol] Frame 1
#initclip 4 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.setClickHandler(this.clickHandler); if (this.label != undefined) { this.setLabel(this.label); } this.setSize(this.width, this.height); if (Accessibility.isActive()) { 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; if (arguments.length > 1) { hit._height = h; } }; FPushButtonClass.prototype.setSize = function (w, h) { this._xscale = 100; this._yscale = 100; this.setLabel(this.getLabel()); if (arguments.length > 1) { if (h <= this.fLabel_mc.labelField._height) { super.setSize(w, this.fLabel_mc.labelField._height); } else { super.setSize(w, h); } } else { super.setSize(w, this.height); } this.setHitArea(w, h); this.arrangeLabel(); this.drawFrame(); if (this.focused) { super.myOnSetFocus(); } }; FPushButtonClass.prototype.arrangeLabel = function () { var label = this.fLabel_mc; var labelField = this.fLabel_mc.labelField; var h = this.height; var w = (this.width - 8); var b = 1; this.fLabel_mc.setSize(w - (b * 4)); label._x = b * 2; label._y = (h / 2) - (label._height / 2); }; FPushButtonClass.prototype.txtFormat = function () { var txtS = this.textStyle; var sTbl = this.styleTable; txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = "center")) : undefined); txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 5)) : undefined); txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 5)) : 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"; i = 0; while (i < 6) { x1 = x1 + ((i % 2) * b); y1 = y1 + ((i % 2) * b); x2 = x2 - (((i + 1) % 2) * b); y2 = 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.onPress = function () { this.pressFocus(); this.labelPosX = this.fLabel_mc._x; this.labelPosY = this.fLabel_mc._y; this.fLabel_mc._x = this.labelPosX + 1; this.fLabel_mc._y = this.labelPosY + 1; this.fpbState_mc.gotoAndStop(3); this.drawFrame(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE); } }; FPushButtonClass.prototype.onRelease = function () { this.fLabel_mc._x = this.labelPosX; this.fLabel_mc._y = this.labelPosY; this.fpbState_mc.gotoAndStop(2); this.drawFrame(); this.executeCallBack(); }; 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.fLabel_mc._x = this.labelPosX; this.fLabel_mc._y = this.labelPosY; this.fpbState_mc.gotoAndStop(1); this.drawFrame(); }; FPushButtonClass.prototype.onDragOut = function () { this.fLabel_mc._x = this.labelPosX; this.fLabel_mc._y = this.labelPosY; this.fpbState_mc.gotoAndStop(1); this.drawFrame(); }; FPushButtonClass.prototype.onDragOver = function () { this.fLabel_mc._x = this.labelPosX + 1; this.fLabel_mc._y = this.labelPosY + 1; this.fpbState_mc.gotoAndStop(3); this.drawFrame(); }; 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.getLabel = function () { return(this.fLabel_mc.labelField.text); }; FPushButtonClass.prototype.setLabel = function (label) { this.fLabel_mc.setLabel(label); this.txtFormat(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE); } }; 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.myOnSetFocus = function () { this.focused = true; super.myOnSetFocus(); }; 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) { 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

Library Items

Symbol 1 MovieClip [LSuperClass]
Symbol 2 FontUsed by:3 38
Symbol 3 EditableTextUses:2Used by:4
Symbol 4 MovieClip [FLabelSymbol]Uses:3
Symbol 5 GraphicUsed by:6 7 14 15 20 21 22 23 26 27
Symbol 6 MovieClipUses:5Used by:13
Symbol 7 MovieClipUses:5Used by:13
Symbol 8 GraphicUsed by:9 10 16 17 28 29
Symbol 9 MovieClipUses:8Used by:13
Symbol 10 MovieClipUses:8Used by:13
Symbol 11 GraphicUsed by:12 18 24 30
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClipUses:6 7 9 10 12Used by:32
Symbol 14 MovieClipUses:5Used by:19
Symbol 15 MovieClipUses:5Used by:19
Symbol 16 MovieClipUses:8Used by:19
Symbol 17 MovieClipUses:8Used by:19
Symbol 18 MovieClipUses:11Used by:19
Symbol 19 MovieClipUses:14 15 16 17 18Used by:32
Symbol 20 MovieClipUses:5Used by:25
Symbol 21 MovieClipUses:5Used by:25
Symbol 22 MovieClipUses:5Used by:25
Symbol 23 MovieClipUses:5Used by:25
Symbol 24 MovieClipUses:11Used by:25
Symbol 25 MovieClipUses:20 21 22 23 24Used by:32
Symbol 26 MovieClipUses:5Used by:31
Symbol 27 MovieClipUses:5Used by:31
Symbol 28 MovieClipUses:8Used by:31
Symbol 29 MovieClipUses:8Used by:31
Symbol 30 MovieClipUses:11Used by:31
Symbol 31 MovieClipUses:26 27 28 29 30Used by:32
Symbol 32 MovieClip [fpb_states]Uses:13 19 25 31
Symbol 33 MovieClip [FUIComponentSymbol]
Symbol 34 GraphicUsed by:35  Timeline
Symbol 35 MovieClipUses:34Used by:37
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip [FBoundingBoxSymbol]Uses:35 36Used by:40
Symbol 38 EditableTextUses:2Used by:39
Symbol 39 MovieClipUses:38Used by:40
Symbol 40 MovieClip [FPushButtonSymbol]Uses:37 39
Symbol 41 GraphicUsed by:Timeline
Symbol 42 GraphicUsed by:Timeline
Symbol 43 GraphicUsed by:Timeline
Symbol 44 GraphicUsed by:Timeline
Symbol 45 GraphicUsed by:Timeline
Symbol 46 GraphicUsed by:Timeline
Symbol 47 GraphicUsed by:Timeline
Symbol 48 GraphicUsed by:Timeline
Symbol 49 GraphicUsed by:Timeline
Symbol 50 GraphicUsed by:Timeline
Symbol 51 GraphicUsed by:Timeline
Symbol 52 SoundUsed by:Timeline
Symbol 53 GraphicUsed by:Timeline
Symbol 54 GraphicUsed by:Timeline
Symbol 55 GraphicUsed by:Timeline
Symbol 56 GraphicUsed by:Timeline
Symbol 57 GraphicUsed by:Timeline
Symbol 58 GraphicUsed by:Timeline
Symbol 59 GraphicUsed by:Timeline
Symbol 60 GraphicUsed by:Timeline
Symbol 61 GraphicUsed by:Timeline

Instance Names

"labelField"Symbol 4 MovieClip [FLabelSymbol] Frame 1Symbol 3 EditableText
"frame1"Symbol 13 MovieClip Frame 1Symbol 6 MovieClip
"frame2"Symbol 13 MovieClip Frame 1Symbol 7 MovieClip
"frame3"Symbol 13 MovieClip Frame 1Symbol 9 MovieClip
"frame4"Symbol 13 MovieClip Frame 1Symbol 10 MovieClip
"frame5"Symbol 13 MovieClip Frame 1Symbol 12 MovieClip
"frame1"Symbol 19 MovieClip Frame 1Symbol 14 MovieClip
"frame2"Symbol 19 MovieClip Frame 1Symbol 15 MovieClip
"frame3"Symbol 19 MovieClip Frame 1Symbol 16 MovieClip
"frame4"Symbol 19 MovieClip Frame 1Symbol 17 MovieClip
"frame5"Symbol 19 MovieClip Frame 1Symbol 18 MovieClip
"frame1"Symbol 25 MovieClip Frame 1Symbol 20 MovieClip
"frame2"Symbol 25 MovieClip Frame 1Symbol 21 MovieClip
"frame3"Symbol 25 MovieClip Frame 1Symbol 22 MovieClip
"frame4"Symbol 25 MovieClip Frame 1Symbol 23 MovieClip
"frame5"Symbol 25 MovieClip Frame 1Symbol 24 MovieClip
"frame1"Symbol 31 MovieClip Frame 1Symbol 26 MovieClip
"frame2"Symbol 31 MovieClip Frame 1Symbol 27 MovieClip
"frame3"Symbol 31 MovieClip Frame 1Symbol 28 MovieClip
"frame4"Symbol 31 MovieClip Frame 1Symbol 29 MovieClip
"frame5"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"up_mc"Symbol 32 MovieClip [fpb_states] Frame 1Symbol 13 MovieClip
"over_mc"Symbol 32 MovieClip [fpb_states] Frame 2Symbol 19 MovieClip
"down_mc"Symbol 32 MovieClip [fpb_states] Frame 3Symbol 25 MovieClip
"disabled_mc"Symbol 32 MovieClip [fpb_states] Frame 4Symbol 31 MovieClip
"boundingBox"Symbol 37 MovieClip [FBoundingBoxSymbol] Frame 1Symbol 35 MovieClip
"boundingBox2"Symbol 37 MovieClip [FBoundingBoxSymbol] Frame 2Symbol 35 MovieClip
"boundingBox_mc"Symbol 40 MovieClip [FPushButtonSymbol] Frame 1Symbol 37 MovieClip [FBoundingBoxSymbol]
"deadPreview"Symbol 40 MovieClip [FPushButtonSymbol] Frame 1Symbol 39 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "LSuperClass"
ExportAssets (56)Timeline Frame 1Symbol 4 as "FLabelSymbol"
ExportAssets (56)Timeline Frame 1Symbol 32 as "fpb_states"
ExportAssets (56)Timeline Frame 1Symbol 33 as "FUIComponentSymbol"
ExportAssets (56)Timeline Frame 1Symbol 37 as "FBoundingBoxSymbol"
ExportAssets (56)Timeline Frame 1Symbol 37 as "FBoundingBoxSymbol"
ExportAssets (56)Timeline Frame 1Symbol 40 as "FPushButtonSymbol"

Labels

"Symbol_36"Symbol 1 MovieClip [LSuperClass] Frame 1
"Symbol_32"Symbol 4 MovieClip [FLabelSymbol] Frame 1
"up"Symbol 32 MovieClip [fpb_states] Frame 1
"over"Symbol 32 MovieClip [fpb_states] Frame 2
"down"Symbol 32 MovieClip [fpb_states] Frame 3
"disabled"Symbol 32 MovieClip [fpb_states] Frame 4
"Symbol_36"Symbol 33 MovieClip [FUIComponentSymbol] Frame 1
#"Symbol_654"Symbol 35 MovieClip Frame 1
"enabled"Symbol 37 MovieClip [FBoundingBoxSymbol] Frame 1
"disabled"Symbol 37 MovieClip [FBoundingBoxSymbol] Frame 2
"Symbol_94"Symbol 40 MovieClip [FPushButtonSymbol] Frame 1




http://swfchan.com/7/32005/info.shtml
Created: 10/3 -2019 11:56:14 Last modified: 10/3 -2019 11:56:14 Server time: 06/05 -2024 03:51:38