ࡱ> CRoot Entryp|YrRASHWA]WContents.Page 1!Symbol 19xSH  !"#$%&'()*+,-./023456789:;<=>?@ABjJLINOSQR}TUVpEYZ[\]^_`abcdefghiGlmnoqrsuw~yz{|PRoot Entryp|YrRASHA qqWContents.Page 1!Symbol 19xSHt  !"#$%&'()*+,-./023456789:;<=>?@ABIjNOSQR}TUVpEYZ[\]^_`abcdefghiGlmnoqrsuw~yz{|Px   Symbol 1k{Symbol 254Symbol 26 PSymbol 27t8lpx}wXc44M3Ř511;VT,(({o" A{[z=-i[klI8<9s^k͚w{9#################################################################################################################8i}yC~##mmtw ;RhPʥDP " *__X?O߿?I}Xk+r!$ƩB<ܺu}) Oze0/K5.sK1.uM2:$,]m\H4.^Tؾ9=naS Fp#䒜[rL9nV~DGf{ǜ s5JH`kYqdƙVL7Ngck9)8|bqFq(c|qBi Qx\hH|!. 9"WܑCrIN-9&S5qR#:CZq@5F%)ƹF۩+-7c58}`}-05(:2a '޺/|ؙiM kgϟ,a#ccW7m;{meJߨ+9=mP[rL9jڠFsEG4AС6'ch:Rtىq;C 4C#]_y?s_w .^>G'/%Z399e&G8_]4nO䚜{jZ& jZf{}ÿ 0xg8'خ2k7z`SuxLk؎_6OO}ǿmouvCwv ;x9ͯ}_@\^9QWu>\7֞,(9jڀFjڹwϜ{9C&3FGlF}, d1+=D_8ؾ{>'v)i_s|_./k;/wQ Vn1_f{z1 $7_jy|Vy >u˾/ݲk|0* P AP+ [-xm0FoFe6# }/}b|w}͏Wa-gNz D$]%Oܖ!<XH.j{Ն ||?g朿ud#]| jVhmZ,\kVҥYF>#Waj-hS>OX}#&CS]M>t=,Ѝ#""F@qLm qFT^ <LG+ycb_F[(o[[{Sy$S Òb@-& jDhv!j7Ϧ{- 6MCMw0-[kjf;|;Q=BLojt;LXqgk>z=<\׊=sv~#M8pMDk%xoBÁ\׆{)b@<~31%ƾZ] 8ܐϽ׼W۫hWݢwt.4!VjZ{,z:܁FW'}|7g4 Թ_aǺk+^W(l;"zQ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3<;9\Tkx]6ǝwȼ:hx]o1V85J&/ XkGKv{\ីf7}GGz4HOx'.c2-iOKh\hKh8:4~mi>-1RBMHL-1&Z9!7\3r'y$Q%@MPԈJAϠ4559>kʩIkyh2s+r=O¼z98?&CY6x4jOlxkwI5ZrhBEM^πxm440Ҵ㐥'Uj[׆3A2ܛ1BD7F#>EƂ&/]~ 56}¦/_ m-70YGlqSWFGlQۗX1$S`+q $_nM^䒜[r<\srO P AP+ qo'CgQgPsԞW6D5no;uA^sB'eCIyWkt9'#?o^Z!6OwyUy z΄v6?ab'<ߋ1 M_쭍M_h1v}X[O.$/'rOKr:ܪ^ѕk2_P5!% 5CPCayiXϟHs; }Usѐw\9'#vGDZqq ]{:M.G`S&<ݍlmS~_,k~gP5sMꈿ1ngFY;mxo͓1xSy8'loM` Mԇ1[-0G䊜;rH.)UMrNj6jv!ږڢƴy:ZSӐw J7kJߗ9.vQ^)p=Xߑ܁ coQogPCm6mPyݚhm6OsjŁ}SXC8򸂻䀜H~9KrJn1&m_P# 5CPCԒ j9.5'=ZϗACJnuo^/Fہ \cʺ(!=Zy6ͣj16[k{o[~Cxi1mw'7\19$jS(~ jZfjH5A^~! jG=ȻI`:5S+h_܋P;\-uŠƤWi@V&y$ksQjB/ncPsݍ(C4a!֨sz#0ȠjRzyy>AUh!_T͑qVcw٢zk$Ce}:5xHFQz "u>N^ 8ařUSk BԌ jIZo?ɱlɻԁ!ל#2$"m0 @p$%y!}BWPE_Hs4'|5!d_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bSelectedWhenPressed = false; this.bStopped = false; this.lastState_str = ""; } GenericBCPicPage CPicLayer CPicFrame?! #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.bStopped = false; this.lastState_str = ""; } GenericButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button this.GotoAndStopFrame(1); this.bStopped = true; // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButton.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.GotoDefaultState(); } GenericButtonClass.prototype.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = false; if ((this.selected) || (this.bStopped)) { this.selected = false; this.GotoDefaultState(); } } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress = function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); // Note that we were just pressed this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.hitTest = function() { var bHit = false; if (this._parent.hitTest(_xmouse, _ymouse, true)) { bHit = true; } return bHit; } GenericButtonClass.prototype.onRollOut = function() { // See if the mouse has moved out over to one of the other movie clips // If so, don't go back to normal. Also, for some reason we get a onRollOut // call when a button is pressed and we don't want to go to the default state automatically // in that case. We will wait for the container to set our state. if ((!this.hitTest()) && (!this.bJustPressed)) { this.GotoDefaultState(); } } /////////////////////////////////////////////////////////////////////////// // // Handle mouse messages for the movie // /////////////////////////////////////////////////////////////////////////// function onRollOver() { fhgeneric_comp.onRollOver(); } function onPress() { fhgeneric_comp.onPress(); } function onRelease() { fhgeneric_comp.onRelease(); } function onDragOut() { fhgeneric_comp.onDragOut(); } function onDragOver() { fhgeneric_comp.onDragOver(); } function onRollOut() { fhgeneric_comp.onRollOut(); } button_mc.onRollOver = onRollOver; button_mc.onPress = onPress; button_mc.onRelease = onRelease; button_mc.onDragOut = onDragOut; button_mc.onDragOver = onDragOver; button_mc.onRollOut = onRollOut; left_mc.onRollOver = onRollOver; left_mc.onPress = onPress; left_mc.onRelease = onRelease; left_mc.onDragOut = onDragOut; left_mc.onDragOver = onDragOver; left_mc.onRollOut = onRollOut; right_mc.onRollOver = onRollOver; right_mc.onPress = onPress; right_mc.onRelease = onRelease; right_mc.onDragOut = onDragOut; right_mc.onDragOver = onDragOver; right_mc.onRollOut = onRollOut; icon_mc.onRollOver = onRollOver; icon_mc.onPress = onPress; icon_mc.onRelease = onRelease; icon_mc.onDragOut = onDragOut; icon_mc.onDragOver = onDragOver; icon_mc.onRollOut = onRollOut; // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOOextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bSelectedWhenPressed = false; this.bStopped = false; this.lastState_str = ""; } GenericB  "#$%&'()*+,-./01234567abcdefgijklmopqrtuvwyz{|}xCPicPage CPicLayer CPicFrame CPicShape @ 6 6 7@ 6 6 اs4r44X@1s 4dV4GGV4crT4G<? Layer 1Ohis.userlabel_txt.textWidth;  000?W Layer 1Oprototype.EnableItem = function () { this.enablCPicPage CPicLayer CPicFrame 0``EE0$0Y?+Symbol 16s4Symbol 17 n9Symbol 18h~Symbol 8`Symbol 1k{Symbol 254Symbol 26 PSymbol 27t  "#$%&'()*+,-./01234567abcdefgijklmopqrtuvwyz{|}Symbol 28 Symbol 29Symbol 30 1"Media 1RCPicPage CPicLayer CPicFrame?I" #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.lastState_str = ""; } GenericButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button unless we // are in test mode. In that case, go to the "normal" state. if (this._parent == _level0) { tCPicPage CPicLayer CPicFrame CPicSymbol ?nf BGO?H  XOO]stop();CPicPage CPicLayer CPicFrame CPicShape fQN#2O64(030.35?Ik Layer 1OCPicPage CPicLayer CPicFrame fJ̀2O64(030.35#? Layer 1OZCPicPage CPicLayer CPicFrame f#QzEOO)E)Mv?= Layer 1O CPicSymhis.GotoDefaultState(); } else { this.GotoAndStopFrame(1); } // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButton.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototyCPicPage CPicLayer CPicFrameXXA8B@4_}A^Ј/=&03w%4\O=8zF:ހ0$=] m<)0\Y ހ4 ]F8 τ% 03"ˆ4y}48/Ѐm?: Layer 1Obutton appropriately var oldLabelX = this.userlabCPicPage CPicLayer CPicFrame??A" #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.lastState_str = ""; } GenericButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button unless we // are in test mode. In that case, go to the "normal" state. if (this._parent == _level0) { this.GotoDefaultState(); } else { this.GotoAndStopFrame(1); } // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButton.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = false; this.selected = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress = function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); } // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } else { // Note that we were just pressed in case we get the extra "RollOut" call (see onRollOut) this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.hitTest = function() { var bHit = false; if (this._parent.hitTest(_xmouse, _ymouse, true)) { bHit = true; } return bHit; } GenericButtonClass.prototype.onRollOut = function() { // See if the mouse has moved out over to one of the other movie clips // If so, don't go back to normal. Also, for some reason we get a onRollOut // call when a button is pressed and we don't want to go to the default state automatically // in that case. We will wait for the container to set our state. if ((!this.hitTest()) && (!this.bJustPressed)) { this.GotoDefaultState(); } } /////////////////////////////////////////////////////////////////////////// // // Handle mouse messages for the movie // /////////////////////////////////////////////////////////////////////////// function onRollOver() { fhgeneric_comp.onRollOver(); } function onPress() { fhgeneric_comp.onPress(); } function onRelease() { fhgeneric_comp.onRelease(); } function onDragOut() { fhgeneric_comp.onDragOut(); } function onDragOver() { fhgeneric_comp.onDragOver(); } function onRollOut() { fhgeneric_comp.onRollOut(); } button_mc.onRollOver = onRollOver; button_mc.onPress = onPress; button_mc.onRelease = onRelease; button_mc.onDragOut = onDragOut; button_mc.onDragOver = onDragOver; button_mc.onRollOut = onRollOut; left_mc.onRollOver = onRollOver; left_mc.onPress = onPress; left_mc.onRelease = onRelease; left_mc.onDragOut = onDragOut; left_mc.onDragOver = onDragOver; left_mc.onRollOut = onRollOut; right_mc.onRollOver = onRollOver; right_mc.onPress = onPress; right_mc.onRelease = onRelease; right_mc.onDragOut = onDragOut; right_mc.onDragOver = onDragOver; right_mc.onRollOut = onRollOut; icon_mc.onRollOver = onRollOver; icon_mc.onPress = onPress; icon_mc.onRelease = onRelease; icon_mc.onDragOut = onDragOut; icon_mc.onDragOver = onDragOver; icon_mc.onRollOut = onRollOut; // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOO03f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`fCPicPage CPicLayer CPicFrame CPicSpritei <<id/S? Layer 2OOx - oldRightCPicPage CPicLayer CPicFrame CPicShape..qCPicPage CPicLayer CPicFrame?$  CPicSymbol  ?' V?n  ? !?S ' ?R  2?* Layer 1  ?.@ ?= / ?F :f(?o  Layer 7O '?}mpe.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = false; this.selected = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { Symbol 28 Symbol 29Symbol 30 1"Media 1R if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress CPicPage CPicLayer CPicFrame?FA" #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.lastState_str = ""; } Gene ?(b ?+O Layer 7O '?Kg HotSpotO d'?" image3??Wstop();?}stop(); ?@stop(); ?Nstop();? stop(); ActionsOO?d?normal?over8?downe ?selected@ ?disabledw" LabelsO ?wCPicPage CPicLayer CPicFrame CPicShapeqs0f0d??% Layer 3OO actionsOOCPicPage CPicLayer CPicFrame CPicSprite& ff&ricButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button unless we // are in test mode. In that case, go to the "normal" state. if (this._parent == _level0) { this.GotoDefaultState(); } else { this.GotoAndStopFrame(1); } // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButton.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = false; this.selected = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress = function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); } // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } else { // Note that we were just pressed in case we get the extra "RollOut" call (see onRollOut) this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.hitTest = function() { var bHit = false; if (this._parent.hitTest(_xmouse, _ymouse, true)) { bHit = true; } return bHit; } GenericButtonClass.prototype.onRollOut = function() { // See if the mouse has moved out over to one of the other movie clips // If so, don't go back to normal. Also, for some reason we get a onRollOut // call when a button is pressed and we don't want to go to the default state automatically // in that case. We will wait for the container to set our state. if ((!this.hitTest()) && (!this.bJustPressed)) { this.GotoDefaultState(); } } /////////////////////////////////////////////////////////////////////////// // // Handle mouse messages for the movie // /////////////////////////////////////////////////////////////////////////// function onRollOver() { fhgeneric_comp.onRollOver(); } function onPress() { fhgeneric_comp.onPress(); } function onRelease() { fhgeneric_comp.onRelease(); } function onDragOut() { fhgeneric_comp.onDragOut(); } function onDragOver() { fhgeneric_comp.onDragOver(); } function onRollOut() { fhgeneric_comp.onRollOut(); } button_mc.onRollOver = onRollOver; button_mc.onPress = onPress; button_mc.onRelease = onRelease; button_mc.onDragOut = onDragOut; button_mc.onDragOver = onDragOver; button_mc.onRollOut = onRollOut; left_mc.onRollOver = onRollOver; left_mc.onPress = onPress; left_mc.onRelease = onRelease; left_mc.onDragOut = onDragOut; left_mc.onDragOver = onDragOver; left_mc.onRollOut = onRollOut; right_mc.onRollOver = onRollOver; right_mc.onPress = onPress; right_mc.onRelease = onRelease; right_mc.onDragOut = onDragOut; right_mc.onDragOver = onDragOver; right_mc.onRollOut = onRollOut; icon_mc.onRollOver = onRollOver; icon_mc.onPress = onPress; icon_mc.onRelease = onRelease; icon_mc.onDragOut = onDragOut; icon_mc.onDragOver = onDragOver; icon_mc.onRollOut = onRollOut; // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOOnits0$PublishPNGProperties::OptimizeColors1PublishQTProperties::Width550&PublishRNWKProperties::singleRateAudio0&PublishRNWKProperties::speedSingleISDN0%PublishFormatProperties::projectorMac0&PublishForm= function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); } // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } else { // Note that we were just pressed in case we get the extra "RollOut" call (see onRollOut) this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.onRollOut = function() { // For some reason we get a onRollOut call when a button is pressed and // we don't want to go to the default state automatically in that case. // We will wait for the container to set our state. if (!this.bJustPressed) { this.GotoDefaultState(); } } /////////////////////////////////////////////////////////////////////////// // // Handle mouse messages for the movie // /////////////////////////////////////////////////////////////////////////// function onRollOver() { fhgeneric_comp.onRollOver(); } function onPress() { fhgeneric_comp.onPress(); } function onRelease() { fhgeneric_comp.onRelease(); } function onDragOut() { fhgeneric_comp.onDragOut(); } function onDragOver() { fhgeneric_comp.onDragOver(); } function onRollOut() { fhgeneric_comp.onRollOut(); } // Add effects for testing if (this == _level0) { left_mc.onRollOver = onRollOver; left_mc.onPress = onPress; left_mc.onRelease = onRelease; left_mc.onDragOut = onDragOut; left_mc.onDragOver = onDragOver; left_mc.onRollOut = onRollOut; button_mc.onRollOver = onRollOver; button_mc.onPress = onPress; button_mc.onRelease = onRelease; button_mc.onDragOut = onDragOut; button_mc.onDragOver = onDragOver; button_mc.onRollOut = onRollOut; right_mc.onRollOver = onRollOver; right_mc.onPress = onPress; right_mc.onRelease = onRelease; right_mc.onDragOut = onDragOut; right_mc.onDragOver = onDragOver; right_mc.onRollOut = onRollOut; icon_mc.onRollOver = onRollOver; icon_mc.onPress = onPress; icon_mc.onRelease = onRelease; icon_mc.onDragOut = onDragOut; icon_mc.onDragOver = onDragOver; icon_mc.onRollOut = onRollOut; textfield_mc.onRollOver = onRollOver; textfield_mc.onPress = onPress; textfield_mc.onRelease = onRelease; textfield_mc.onDragOut = onDragOut; textfield_mc.onDragOver = onDragOver; textfield_mc.onRollOut = onRollOut; } // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOO Symbol 25IconSearchStillL>{.\skin_textField.flaIconSearchStill >L>{ >Symbol 356#Symbol 367' HotSpotO d?S? d ?i  f(?/ image3? stop();?ISstop();?1Qstop(); ?gstop(); ?(stop();?ystop(); ActionsOO?;)?normal_`?over6$?down ?selected$ ?disabled'9 LabelsO Quality4(PublishHtmlProperties::VerticalAlignment1$PublishFormatProperties::pngFileNameBlankButton.pngPublishFormatProperties::htCPicPage CPicLayer CPicFrame?JI" #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.lastState_str = ""; } GenericButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button unless we // are in test mode. In that case, go to the "normal" state. if (this._parent == _level0) { this.GotoDefaultState(); } else { this.GotoAndStopFrame(1); } // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButton.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = false; this.selected = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress = function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); } // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } else { // Note that we were just pressed in case we get the extra "RollOut" call (see onRollOut) this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.onRollOut = function() { // For some reason we get a onRollOut call when a button is pressed and // we don't want to go to the default state automatically in that case. // We will wait for the container to set our state. if (!this.bJustPressed) { this.GotoDefaultState(); } } /////////////////////////////////////////////////////////////////////////// // // Handle mouse messages for the movie // /////////////////////////////////////////////////////////////////////////// function onRollOver() { fhgeneric_comp.onRollOver(); } function onPress() { fhgeneric_comp.onPress(); } function onRelease() { fhgeneric_comp.onRelease(); } function onDragOut() { fhgeneric_comp.onDragOut(); } function onDragOver() { fhgeneric_comp.onDragOver(); } function onRollOut() { fhgeneric_comp.onRollOut(); } // Add effects for testing if (this == _level0) { left_mc.onRollOver = onRollOver; left_mc.onPress = onPress; left_mc.onRelease = onRelease; left_mc.onDragOut = onDragOut; left_mc.onDragOver = onDragOver; left_mc.onRollOut = onRollOut; button_mc.onRollOver = onRollOver; button_mc.onPress = onPress; button_mc.onRelease = onRelease; button_mc.onDragOut = onDragOut; button_mc.onDragOver = onDragOver; button_mc.onRollOut =Symbol 31X.#Symbol 32v.#Symbol 33M6#Symbol 346#CPicPage CPicLayer CPicFrame?J& #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { // Setup the mouse event handling if (this._parent != _level0) { this._parent.onRollOver = function (mc) { mc.fhgeneric_comp.onRollOver(); } this._parent.onRollOut = function (mc) { mc.fhgeneric_comp.onRollOut(); } this._parent.onPress = function () { this.fhgeneric_comp.onPress(); } this._parent.onRelease = function () { this.fhgeneric_comp.onRelease(); } this._parent.onDragOut = function () { this.fhgeneric_comp.onDragOut(); } this._parent.onDragOver = function () { this.fhgeneric_comp.onDragOver(); } } this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.lastState_str = ""; } GenericButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button unless we // are in test mode. In that case, go to the "normal" state. if (this._parent == _level0) { this.GotoDefaultState(); } else { this.GotoAndStopFrame(1); } // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButton.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = false; this.selected = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress = function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); } // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } else { // Note that we were just pressed in case we get the extra "RollOut" call (see onRollOut) this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.onRollOut = function() { // For some reason we get a onRollOut call when a button is pressed and // we don't want to go to the default state automatically in that case. // We will wait for the container to set our state. if (!this.bJustPressed) { this.GotoDefaultState(); } } // Add effects for testing if (this == _level0) { left_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } left_mc.onPress = function () { fhgeneric_comp.onPress(); } left_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; left_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; left_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; left_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; button_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } button_mc.onPress = function () { fhgeneric_comp.onPress(); } button_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; button_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; button_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; button_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; right_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } right_mc.onPress = function () { fhgeneric_comp.onPress(); } right_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; right_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; right_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; right_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; icon_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } icon_mc.onPress = function () { fhgeneric_comp.onPress(); } icon_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; icon_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; icon_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; icon_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; textfield_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } textfield_mc.onPress = function () { fhgeneric_comp.onPress(); } textfield_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; textfield_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; textfield_mc.onDragOver = f onRollOut; right_mc.onRollOver = onRollOver; right_mc.onPress = onPress; right_mc.onRelease = onRelease; right_mc.onDragOut = onDragOut; right_mc.onDragOver = onDragOver; right_mc.onRollOut = onRollOut; icon_mc.onRollOver = onRollOver; icon_mc.onPress = onPress; icon_mc.onRelease = onRelease; icon_mc.onDragOut = onDragOut; icon_mc.onDragOver = onDragOver; icon_mc.onRollOut = onRollOut; textfield_mc.onRollOver = onRollOver; textfield_mc.onPress = onPress; textfield_mc.onRelease = onRelease; textfield_mc.onDragOut = onDragOut; textfield_mc.onDragOver = onDragOver; textfield_mc.onRollOut = onRollOut; } // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOOefaultNames1PropSheet::ActiveTab1599 CColorDef3PfP0PHP`Px3Symbol 356#Symbol 367'Symbol 377'CPicPage CPicLayer CPicFrame?ycI" #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.lastState_str = ""; } GenericButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button unless we // are in test mode. In that case, go to the "normal" state. if (this._parent == _level0) { this.GotoDefaultState(); } else { this.GotoAndStopFrame(1); } // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButton.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = falunction () { fhgeneric_comp.onDragOver(); }; textfield_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; } // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOO?_ LabelO Layer 1Oessed = trueCPicPage CPicLayer CPicFrame CPicSprite& ff&$f fhgeneric_compLabelLABELlabelJsE (J?6 ComponentO< ff<dWF button_mc?u ButtonOO?$ IconOO? + Left3? RightO?] LabelO) CDocumentPagePage 1Scene 1&>2? Symbol 19syncǰ> Symbol 198> Symbol 16xRŰ> Symbol 16ư> Symbol 17prevǰ>x copySǰ> Symbol 18Nextjǰ> prev copyxǰ>Symbol 8Button Placeholderse; this.selected = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress = function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); } // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } else { // Note that we were just pressed in case we get the extra "RollOut" call (see onRollOut) this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.onRollOut = function() { // For some reason we get a onRollOut call when a button is pressed and // we don't want to go to the default state automatically in that case. // We will wait for the container to set our state. if (!this.bJustPressed) { this.GotoDefaultState(); } } /////////////////////////////////////////////////////////////////////////// // // Handle mouse messages for the movie // /////////////////////////////////////////////////////////////////////////// function onRollOver() { fhgeneric_comp.onRollOver(); } function onPress() { fhgeneric_comp.onPress(); } function onRelease() { fhgeneric_comp.onRelease(); } function onDragOut() { fhgeneric_comp.onDragOut(); } function onDragOver() { fhgeneric_comp.onDragOver(); } function onRollOut() { fhgeneric_comp.onRollOut(); } // Add effects for testing if (this == _level0) { left_mc.onRollOver = onRollOver; left_mc.onPress = onPress; left_mc.onRelease = onRelease; left_mc.onDragOut = onDragOut; left_mc.onDragOver = onDragOver; left_mc.onRollOut = onRollOut; button_mc.onRollOver = onRollOver; button_mc.onPress = onPress; button_mc.onRelease = onRelease; button_mc.onDragOut = onDragOut; button_mc.onDragOver = onDragOver; button_mc.onRollOut = onRollOut; right_mc.onRollOver = onRollOver; right_mc.onPress = onPress; right_mc.onRelease = onRelease; right_mc.onDragOut = onDragOut; right_mc.onDragOver = onDragOver; right_mc.onRollOut = onRollOut; icon_mc.onRollOver = onRollOver; icon_mc.onPress = onPress; icon_mc.onRelease = onRelease; icon_mc.onDragOut = onDragOut; icon_mc.onDragOver = onDragOver; icon_mc.onRollOut = onRollOut; textfield_mc.onRollOver = onRollOver; textfield_mc.onPress = onPress; textfield_mc.onRelease = onRelease; textfield_mc.onDragOut = onDragOut; textfield_mc.onDragOver = onDragOver; textfield_mc.onRollOut = onRollOut; } // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOO33303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`Symbol 31X.#Symbol 32v.#Symbol 33M6#Symbol 346#CPicPage CPicLayer CPicFrame?5J& #initclip // This is from commands.as and should be updated in both places if it updated here. var CmdItemInvoked = "CmdItemInvoked"; function DisplayAttribute(attribute, value) { this.attrib_str = attribute; this.value = value; } function GenericButtonClass() { // Setup the mouse event handling if (this._parent != _level0) { this._parent.onRollOver = function (mc) { mc.fhgeneric_comp.onRollOver(); } this._parent.onRollOut = function (mc) { mc.fhgeneric_comp.onRollOut(); } this._parent.onPress = function () { this.fhgeneric_comp.onPress(); } this._parent.onRelease = function () { this.fhgeneric_comp.onRelease(); } this._parent.onDragOut = function () { this.fhgeneric_comp.onDragOut(); } this._parent.onDragOver = function () { this.fhgeneric_comp.onDragOver(); } } this.enabled = true; this.selected = false; this.userbutton_mc = this._parent.button_mc; this.userleft_mc = this._parent.left_mc; this.userright_mc = this._parent.right_mc; this.usericon_mc = this._parent.icon_mc; this.usertextfield_mc = this._parent.textfield_mc; if (this.usertextfield_mc.label_mc != undefined) { this.userlabel_txt = this.usertextfield_mc.label_mc.label_txt; } else { this.userlabel_txt = this._parent.label_txt; } this.attribute_array = new array(); this.bJustSelected = false; this.bJustPressed = false; this.bSelectedWhenPressed = false; this.lastState_str = ""; } GenericButtonClass.prototype = new MovieClip(); // Handles initialization of the button features GenericButtonClass.prototype.onLoad = function () { // Set special values for the fields this.userlabel_txt.autoSize = true; this._parent._focusrect = true; this._parent.focusEnabled = true; this._parent.tabChildren = false; // Goto the first frame because this represents the proper size of the button unless we // are in test mode. In that case, go to the "normal" state. if (this._parent == _level0) { this.GotoDefaultState(); } else { this.GotoAndStopFrame(1); } // Let the container know we are loaded this._parent._parent.ItemLoaded(this._parent); } /////////////////////////////////////////////////////////////////////////// // // Handle calls to set the state of the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.SetItemLabel = function (newlabel) { // First make sure there is a label to set if (this.userlabel_txt != undefined) { // Save the old widths of the label and button so we can scale the button appropriately var oldLabelX = this.userlabel_txt._x; var oldButtonX = this.userbutton_mc._x; var oldButtonWidth = this.userbutton_mc._width; var oldLabelTextWidth = this.userlabel_txt.textWidth; var oldIconCenterX = this.usericon_mc._x + (this.usericon_mc._width / 2); var coordButton = this.userbutton_mc.getBounds(this._parent); var oldRightOffset = coordButton.xMax - this.userright_mc._x; // Set the new label this.userlabel_txt.text = newlabel; // Get the new label width var newLabelTextWidth = this.userlabel_txt.textWidth; // Scale the button based on how much the label scaled var widthDiff = oldButtonWidth - oldLabelTextWidth; var newButtonWidth = newLabelTextWidth + widthDiff; this.userbutton_mc._width = newButtonWidth; // Move the right_mc the appropriate distance right coordButton = this.userbutton_mc.getBounds(this._parent); this.userright_mc._x = coordButto> L>Symbol 8>Symbol 1Button&>Symbol 1? Symbol 25IconSearchStillL>{.\skin_textField.flaIconSearchStill >L>{ > Symbol 26HotSpot<>.\skin_textField.flaHotSpot<><><> Symbol 27 Button BGİ>.\skin_textField.fla Button BG>İ>? Symbol 28search%$>U.\skin_textField.flasearch>%$>U> Symbol 29Tween 3>B.\skin_textField.flaTween 3>>B? Symbol 36Generic FH button$Oy_>FGenericFHbuttonFlashHelp_Components.swf+C:\FlashComponents\FlashHelp_Components.flaGeneric FH buttonC2?Oy_>C2?LabelLABELlabelJsE (J% CMediaBitsMedia 1bt.png*..\..\..\..\..\..\..\..\..\jonathan\bt.pngC <> 2phhhhz PublishRNWKProperties::speed256K0!PublishGifProperties::PaletteName"PublishHtmlProperties::StartPaused0%PublishFormatProperties::htmlFileNameBlankButton.html PublishQTProperties::LayerOption PublishQTProperties::AlphaOption"PublishQTProperties::MatchMovieDim1PublishHtmlProperties::Loop1Vector::Debugging Permitted0PublishFormatProperties::jpeg0&PublishRNWKProperties::speedSingleISDN0&PublishRNWKProperties::singleRateAudio0PublishQTProperties::Width550$PublishPNGProperties::OptimizeColors1PublishHtmlProperties::Units0%PublishRNWKProperties::mediaCopyright(c) 2000#PublishRNWKProperties::flashBitRate1200PublishGifProperties::Smooth1Vector::Compress Movie1&PublishFormatProperties::flashFileNameBlankButton.swf%PublishFormatProperties::projectorMac0!PublishRNWKProperties::exportSMIL1 PublishRNWKProperties::speed384K0"PublishRNWKProperties::exportAudio1"PublishGifProperties::DitherOptionPublishHtmlProperties::Quality4(PublishHtmlProperties::VerticalAlignment1$PublishFormatProperties::pngFileNameBlankButton.pngPublishFormatProperties::html0'PublishRNWKProperties::mediaDescription"PublishPNGProperties::FilterOption!PublishHtmlProperties::DeviceFont0Vector::Override Sounds0PublishQTProperties::Flatten1PublishJpegProperties::DPI4718592PublishPNGProperties::BitDepth24-bit with AlphaPublishPNGProperties::Smooth1"PublishGifProperties::DitherSolids0PublishGifProperties::Interlace0"PublishHtmlProperties::DisplayMenu1*PublishHtmlProperties::HorizontalAlignment1Vector::Quality80Vector::Protect0Vector::Template0*PublishFormatProperties::generatorFileNameBlankButton.swtPublishFormatProperties::gif0$PublishRNWKProperties::mediaKeywords!PublishRNWKProperties::mediaTitlePublishRNWKProperties::speed28K1PublishGifProperties::Loop1PublishGifProperties::Width550#PublishFormatProperties::qtFileNameBlankButton.mov$PublishRNWKProperties::speedDualISDN0$PublishRNWKProperties::realVideoRate100000PublishJpegProperties::Quality80"PublishPNGProperties::DitherOption#PublishGifProperties::PaletteOption#PublishGifProperties::MatchMovieDim1PublishFormatProperties::flash1$PublishJpegProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption#PublishPNGProperties::MatchMovieDim1PublishHtmlProperties::Align0-PublishFormatProperties::projectorWinFileNameBlankButton.exe#PublishQTProperties::PlayEveryFrame0"PublishJpegProperties::Progressive0"PublishPNGProperties::DitherSolids0PublishHtmlProperties::Height400PublishHtmlProperties::Width550Vector::Debugging PasswordVector::Omit Trace Actions0%PublishFormatProperties::jpegFileNameBlankButton.jpgPublishJpegProperties::Size0PublishPNGProperties::Interlace0PublishGifProperties::Height400'PublishHtmlProperties::TemplateFileNameeC:\Documents and Settings\edigre\Application Data\Macromedia\Flash MX\Configuration\Html\Default.html!PublishHtmlProperties::WindowMode0Vector::TopDown0-PublishFormatProperties::projectorMacFileNameBlankButton.hqxPublishFormatProperties::rnwk0PublishFormatProperties::png0PublishRNWKProperties::speed56K1PublishQTProperties::Height400%PublishPNGProperties::RemoveGradients0PublishGifProperties::MaxColors255'PublishGifProperties::TransparentOptionPublishGifProperties::LoopCountVector::Report0"PublishFormatProperties::generator0"PublishRNWKProperties::audioFormat0$PublishGifProperties::OptimizeColors1Vector::Version6Vector::Event Format0Vector::Stream Compress7PublishFormatProperties::qt0 PublishRNWKProperties::speed512K0PublishJpegProperties::Height400PublishPNGProperties::Height400PublishPNGProperties::Width550%PublishGifProperties::RemoveGradients0PublishHtmlProperties::Scale0Vector::Event Compress7"PublishRNWKProperties::mediaAuthor(PublishRNWKProperties::speedCorporateLAN0&PublishRNWKProperties::showBitrateDlog1"PublishRNWKProperties::exportFlash1PublishQTProperties::Looping0*PublishQTProperties::UseQTSoundCompression0PublishJpegProperties::Width550!PublishPNGProperties::PaletteName!PublishPNGProperties::Transparent0&PublishGifProperties::TransparentAlpha128PublishGifProperties::Animated0Vector::Stream Format0$PublishFormatProperties::gifFileNameBlankButton.gif"PublishQTProperties::PausedAtStart0%PublishQTProperties::ControllerOption0PublishPNGProperties::MaxColors255%PublishFormatProperties::rnwkFileNameBlankButton.smil%PublishFormatProperties::projectorWin0%PublishFormatProperties::defaultNames1PropSheet::ActiveTab1599 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xxn.xMax - oldRightOffset; // Move the icon_mc to the same position relative to the button_mc var oldIconPercent = (oldIconCenterX - oldButtonX) / oldButtonWidth; var newIconCenterX = coordButton.xMin + (newButtonWidth * oldIconPercent); this.usericon_mc._x = newIconCenterX - (this.usericon_mc._width / 2); } return; } GenericButtonClass.prototype.EnableItem = function () { this.enabled = true; this._parent.useHandCursor = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisableItem = function () { this.enabled = false; this._parent.useHandCursor = false; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SelectedWhenPressed = function () { this.bSelectedWhenPressed = true; return; } GenericButtonClass.prototype.DisplaySelected = function () { this.selected = true; this.bJustSelected = true; this.bJustPressed = false; this.GotoDefaultState(); } GenericButtonClass.prototype.DisplayNormal = function () { this.bJustPressed = false; this.selected = false; this.GotoDefaultState(); } GenericButtonClass.prototype.SetAttribute = function (attribute, value) { var newattrib = new DisplayAttribute(attribute, value); this.attribute_array.push(newattrib); } GenericButtonClass.prototype.GetAttribute = function (attribute) { var value = undefined; for (var iAttrib in this.attribute_array) { if (this.attribute_array[iAttrib].attrib_str == attribute) { value = this.attribute_array[iAttrib].value; break; } } return value; } GenericButtonClass.prototype.GotoAndStopFrame = function(frame) { this.userbutton_mc.gotoAndStop(frame); this.userleft_mc.gotoAndStop(frame); this.userright_mc.gotoAndStop(frame); this.usericon_mc.gotoAndStop(frame); } /////////////////////////////////////////////////////////////////////////// // // Handle all of the mouse movements from the button // /////////////////////////////////////////////////////////////////////////// GenericButtonClass.prototype.GotoButtonState = function(state) { if ((this.bJustSelected) || (state != "selected")) { this.bJustSelected = false; // Only perform the action if this is a change of state if (state != this.lastState_str) { this.userbutton_mc.gotoAndPlay(state); this.userleft_mc.gotoAndPlay(state); this.userright_mc.gotoAndPlay(state); this.usericon_mc.gotoAndPlay(state); this.usertextfield_mc.gotoAndPlay(state); this.lastState_str = state; } } } GenericButtonClass.prototype.GotoDefaultState = function () { if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("normal"); } } else { this.GotoButtonState("disabled"); } return; } GenericButtonClass.prototype.onRollOver = function () { this._parent._parent.ItemRolledOver(this._parent); if (this.enabled == true) { if (this.selected == true) { this.GotoButtonState("selected"); } else { this.GotoButtonState("over"); } } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onPress = function() { if ((this.enabled) && (!this.selected)) { this.GotoButtonState("down"); } else { this.GotoDefaultState(); } } GenericButtonClass.prototype.onRelease = function() { // Send notification to the owner if ((this.enabled == true) && (!this.selected)) { _parent.DoCommand(CmdItemInvoked, this._parent, 0); } // Return the button to the default state if it is not going // to be shown as selected. if (!this.bSelectedWhenPressed) { this.GotoDefaultState(); } else { // Note that we were just pressed in case we get the extra "RollOut" call (see onRollOut) this.bJustPressed = true; } } GenericButtonClass.prototype.onDragOut = function() { this.GotoDefaultState(); } GenericButtonClass.prototype.onDragOver = function() { this.onPress(); } GenericButtonClass.prototype.onRollOut = function() { // For some reason we get a onRollOut call when a button is pressed and // we don't want to go to the default state automatically in that case. // We will wait for the container to set our state. if (!this.bJustPressed) { this.GotoDefaultState(); } } // Add effects for testing if (this == _level0) { left_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } left_mc.onPress = function () { fhgeneric_comp.onPress(); } left_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; left_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; left_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; left_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; button_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } button_mc.onPress = function () { fhgeneric_comp.onPress(); } button_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; button_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; button_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; button_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; right_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } right_mc.onPress = function () { fhgeneric_comp.onPress(); } right_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; right_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; right_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; right_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; icon_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } icon_mc.onPress = function () { fhgeneric_comp.onPress(); } icon_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; icon_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; icon_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; icon_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; textfield_mc.onRollOver = function () { fhgeneric_comp.onRollOver(); } textfield_mc.onPress = function () { fhgeneric_comp.onPress(); } textfield_mc.onRelease = function () { fhgeneric_comp.onRelease(); }; textfield_mc.onDragOut = function () { fhgeneric_comp.onDragOut(); }; textfield_mc.onDragOver = function () { fhgeneric_comp.onDragOver(); }; textfield_mc.onRollOut = function () { fhgeneric_comp.onRollOut(); }; } // Register the class Object.registerClass("FGenericFHButton", GenericButtonClass); #endinitclip  actionsOOH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3 Layer 1Oessed = trueCPicPage CPicLayer CPicFrame CPicSprite& ff&%ufhgeneric_compLabelLABELlabelJsE (J?y ComponentO< ff<da< button_mc?I, ButtonOO? IconOO?] Left3?j RightO?Z LabelO) CDocumentPagePage 1Scene 1&>T? Symbol 19syncǰ> Symbol 198> Symbol 16xRŰ> Symbol 16ư> Symbol 17prevǰ>x copySǰ> Symbol 18Nextjǰ> prev copyxǰ>Symbol 8Button Placeholder> L>Symbol 8>Symbol 1Button&>Symbol 1? Symbol 25IconSearchStillL>{.\skin_textField.flaIconSearchStill >L>{ > Symbol 26HotSpot<>.\skin_textField.flaHotSpot<><><> Symbol 27 Button BGİ>.\skin_textField.fla Button BG>İ>? Symbol 28search`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]h:Placeholder Graphics> "PublishQTProperties::QTSndSettingsCQTAudioSettings%$>U.\skin_textField.flasearch>%$>U> Symbol 29Tween 3>B.\skin_textField.flaTween 3>>B? Symbol 37Generic FH button%Oy_>FGenericFHbuttonflashhelp_components.swf+C:\FlashComponents\FlashHelp_Components.flaGeneric FH buttonHT?Oy_>HT?LabelLABELlabelJsE (J& CMediaBitsMedia 1bt.png*..\..\..\..\..\..\..\..\..\jonathan\bt.pngC <> 2phhhhz%PublishFormatProperties::htmlFileNameBlankButton.html"PublishHtmlProperties::StartPaused0!PublishGifProperties::PaletteName PublishRNWKProperties::speed256K0PublishFormatProperties::jpeg0Vector::Debugging Permitted0PublishHtmlProperties::Loop1"PublishQTProperties::MatchMovieDim1 PublishQTProperties::AlphaOption PublishQTProperties::LayerOptionPublishHtmlProperties::Units0$PublishPNGProperties::OptimizeColors1PublishQTProperties::Width550&PublishRNWKProperties::singleRateAudio0&PublishRNWKProperties::speedSingleISDN0%PublishFormatProperties::projectorMac0&PublishFormatProperties::flashFileNameBlankButton.swfVector::Compress Movie1PublishGifProperties::Smooth1#PublishRNWKProperties::flashBitRate1200%PublishRNWKProperties::mediaCopyright(c) 2000PublishFormatProperties::html0$PublishFormatProperties::pngFileNameBlankButton.png(PublishHtmlProperties::VerticalAlignment1PublishHtmlProperties::Quality4"PublishGifProperties::DitherOption"PublishRNWKProperties::exportAudio1 PublishRNWKProperties::speed384K0!PublishRNWKProperties::exportSMIL1Vector::Override Sounds0!PublishHtmlProperties::DeviceFont0"PublishPNGProperties::FilterOption'PublishRNWKProperties::mediaDescriptionPublishFormatProperties::gif0*PublishFormatProperties::generatorFileNameBlankButton.swtVector::Template0Vector::Protect0Vector::Quality80*PublishHtmlProperties::HorizontalAlignment1"PublishHtmlProperties::DisplayMenu1PublishGifProperties::Interlace0"PublishGifProperties::DitherSolids0PublishPNGProperties::Smooth1PublishPNGProperties::BitDepth24-bit with AlphaPublishJpegProperties::DPI4718592PublishQTProperties::Flatten1#PublishFormatProperties::qtFileNameBlankButton.movPublishGifProperties::Width550PublishGifProperties::Loop1PublishRNWKProperties::speed28K1!PublishRNWKProperties::mediaTitle$PublishRNWKProperties::mediaKeywordsPublishFormatProperties::flash1#PublishGifProperties::MatchMovieDim1#PublishGifProperties::PaletteOption"PublishPNGProperties::DitherOptionPublishJpegProperties::Quality80$PublishRNWKProperties::realVideoRate100000$PublishRNWKProperties::speedDualISDN0-PublishFormatProperties::projectorWinFileNameBlankButton.exePublishHtmlProperties::Align0#PublishPNGProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption$PublishJpegProperties::MatchMovieDim1%PublishFormatProperties::jpegFileNameBlankButton.jpgVector::Omit Trace Actions0Vector::Debugging PasswordPublishHtmlProperties::Width550PublishHtmlProperties::Height400"PublishPNGProperties::DitherSolids0"PublishJpegProperties::Progressive0#PublishQTProperties::PlayEveryFrame0PublishFormatProperties::png0PublishFormatProperties::rnwk0-PublishFormatProperties::projectorMacFileNameBlankButton.hqxVector::TopDown0!PublishHtmlProperties::WindowMode0'PublishHtmlProperties::TemplateFileNameeC:\Documents and Settings\edigre\Application Data\Macromedia\Flash MX\Configuration\Html\Default.htmlPublishGifProperties::Height400PublishPNGProperties::Interlace0PublishJpegProperties::Size0"PublishFormatProperties::generator0Vector::Report0PublishGifProperties::LoopCount'PublishGifProperties::TransparentOptionPublishGifProperties::MaxColors255%PublishPNGProperties::RemoveGradients0PublishQTProperties::Height400PublishRNWKProperties::speed56K1PublishFormatProperties::qt0Vector::Stream Compress7Vector::Event Format0Vector::Version6$PublishGifProperties::OptimizeColors1"PublishRNWKProperties::audioFormat0Vector::Event Compress7PublishHtmlProperties::Scale0%PublishGifProperties::RemoveGradients0PublishPNGProperties::Width550PublishPNGProperties::Height400PublishJpegProperties::Height400 PublishRNWKProperties::speed512K0$PublishFormatProperties::gifFileNameBlankButton.gifVector::Stream Format0PublishGifProperties::Animated0&PublishGifProperties::TransparentAlpha128!PublishPNGProperties::Transparent0!PublishPNGProperties::PaletteNamePublishJpegProperties::Width550*PublishQTProperties::UseQTSoundCompression0PublishQTProperties::Looping0"PublishRNWKProperties::exportFlash1&PublishRNWKProperties::showBitrateDlog1(PublishRNWKProperties::speedCorporateLAN0"PublishRNWKProperties::mediaAuthorPropSheet::ActiveTab1599%PublishFormatProperties::defaultNames1%PublishFormatProperties::projectorWin0%PublishFormatProperties::rnwkFileNameBlankButton.smilPublishPNGProperties::MaxColors255%PublishQTProperties::ControllerOption0"PublishQTProperties::PausedAtStart0 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]k:Placeholder Graphics> "PublishQTProperties::QTSndSettingsCQTAudioSettings