Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

????>?? ????? ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Root Entry????????p?|Y?r??RASH`'????Contents????l?MPage 1????????????]Symbol 3????*?????????????????c????????e
&-????U4?3# !" $%'()7,5./012+I96?8A=;<*T?@NBCDEFGH:JKLMYOPQRS????????VWX[Z????\]^_????????b?????Pf`?ijklmnopqrs????uvwx~z{|}g?Root Entry????????p?|Y?r??RASH 2?O?????Contents?????LPage 1??????????????Symbol 3????*??????????????????????????????????
&-????U4?3# !" $%'()7,5./012+I96?8A=;<*T?@NBCDEFGH:JKLMYOPQRS????????VWX[Z????\]^_??????????????????????????????ijklmnopqrs????uvwx~z{|}??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Symbol 1????????????m
Symbol 5????????C{Symbol 4????????????$]Symbol 6
????Vo ????
  
????????/????????????????????????????????????????????????????????????????????????????????0123A????????????????????????????????????????????????????BCDEFGHIJKLMN????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????I??
#initclip

#include "commands.as"

function GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
_root.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.input_txt.text = newlabel;
return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
////////////////////////////////////////????????????????????????????????????????????????????????????????????????????????????????????????b??????????????????????????????????????????????????????????????????????????????????????????????????????????????????Symbol 32????????hSymbol 33?????????????wSymbol 34????t*&Symbol 35??????????????'??
Layer 1????O???????CPicPage?? CPicLayer?? CPicFrame????????2_??
#initclip

#include "commands.as"

function GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
_root.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.golabel_txt.text = newlabel;
return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter ke??CPicPage?? CPicLayer?? CPicFrame?? CPicShape?????????? ?Eh???w?????;??(4St4;;v0p4S??4;?v???4?????4??????0??4???t????????e??? ?Eh???w???????????0??4???t4?;??(4St4;;v0p4S??4;?v???4????????????'??
Layer 1????O??????3y) for the input field
//
//////////////////////////////////////??CPicPage?? CPicLayer?? CPicFrame????????///////////////////////////////////

// Register the class
Object.registerClass("FGenericWFSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???s only gets calle/////////////////////////////////////

// Register the class
Object.registerClass("FGenericWFSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO?????????d??????y????????????????????????????????????????????a????????????????O????????????????????????????????????????????????????????????????????????CPicPage?? CPicLayer?? CPicFrame?????????f?1
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this.u??CPicPage?? CPicLayer?? CPicFrame??????????8
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.button_mc = this.useri??CPicPage?? 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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.button_mc = this.userinput_mc.button_mc;
this.attribute_array = new array();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this._parent._parent.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.buttonlabel_txt.text = newlabel;

// Adjust the size of the button based on the label size
// Set the button to the proper size based on the text width
var size = Math.max(50, this.userinput_mc.buttonlabel_txt.textWidth);
this.button_mc._width = size;

// Move the location of the text box to center it
var newLoc = -(this.button_mc.buttonlabel_txt.textWidth / 2);
this.button_mc.buttonlabel_txt._x = newLoc;

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.button_mc.gotoAndPlay("selected");
} else {
this.button_mc.gotoAndPlay("normal");
}
} else {
thserinput_mc.button_mc;
this.userbuttonlabel_txt = this.userinput_mc.label_txt;
this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

 !"#$%&'()????+,-./01????3456789:;<=>?@ABUDEFGHIJKLMNOPQRST????lWXYZ[\]^_`abcdefghijk????mno????qrstuvwxyz{|}~?////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(but??
actions?????OO???ttings\RLinyard\Application Data\Ma??CPicPage?? CPicLayer?? CPicFrame???????? ?!
#initclip

#include "commands.as"

function GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.button_mc = this.userinput_mc.button_mc;
}

GenericSearchInputClass.prototype = new MovieClip()??CPicPage?? CPicLayer?? CPicFrame?? ?Eh???s??X0?R?4???t4?;??0?4St4;;v0?4S??4;?v??0??4?????4?????? ??????normal?S??? CPicShape?? ?????s??X0?R?4???t4?;??0?4St4;;v0?4S??4;?v??0??4?????4????????
??????over?E???????? ??????w??r????????0R?4???t4?;??0?4St4;;v0?4S??4;?v??0??4???????
??????down? ???????? ?????s??XX?R?4???t4?;??0?4St4;;v0?4S??4;?v??0??4?????4????????
??????selected?E??? ??????r????????0R?4???t4?;??0?4St4;;v0?4S??4;?v??0??4?????
??????disabledZ??

Background????O???????CPicText?? ???W????R?Tahoma?"(PLABEL label_txt??1???????|??
Label????O?O????? ??????e;b// Have the button resize automatically if the caption is set
label_txt.autoSize = true;

stop();
???
??????'|stop();
???
??????*]stop();
???
???????Cstop();
???
??????Wstop();
??
Actions?????OO?????CPicPage?? CPicLayer?? CPicFrame???????? ??? ?????w??r????????0R?4???t4?;??0?4St4;;v0?4S??4;?v??0??4??????????? !;

GenericSearchInputClass.prototype.onLoad = function () {
_root.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.buttonlabel_txt.text = newlabel;


// Adjust the size of the button based on the label size
// Set the button to the proper size based on the text width
var size = Math.max(50, this.userinput_mc.buttonlabel_txt.textWidth);
this.userinput_mc._width = size;

// Move the location of the text box to center it
var newLoc = -(this.userinput_mc.buttonlabel_txt.textWidth / 2);
this.userinput_mc.buttonlabel_txt._x = newLoc;

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}


///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.button_mc.gotoAndPlay("selected");
} else {
this.button_mc.gotoAndPlay("normal");
}
} else {
this.button_mc.gotoAndPlay("disabled");
}
return;
}

GenericS??? ????????????????0??4???t4?;??(4St4;;v0p4S??4;?v???4??????????????? ????????H???4???t4?;??(4St4;;v0p4S??4;?v???4?????4?????????????earchInputClass.prototype.onRollOver = function () {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("over");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease =////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.button_mc.gotoAndPlay("selected");
} else {
this.button_mc.gotoAndPlay("normal");
}
} else {
this.button_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputCovie
//
///////////////////////////////////////////////////////////////////////////
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.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHButton", GenericButtonClass);

#endinitclip
lass.prototype.onRollOver = function () {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("over");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._pa??CPicPage?? CPicLayer?? CPicFrame????????@.?p
#initclip

#include "commands.as"

function GenericButtonClass() {
this.enabled = true;
this.selected = false;
this.userbutton_mc = this._parent.button_mc;
}
GenericButtonClass.prototype = new MovieClip();

// Lets the container know we are loaded.
GenericButtonClass.prototype.onLoad = function () {
_root.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the button
//
///////////////////////////////////////////////////////////////////////////
GenericButtonClass.prototype.SetItemLabel = function (newlabel) {
// Set the label
this.userbutton_mc.label_txt.text = newlabel;

// Adjust the size of the button based on the label size
// Set the button to the proper size based on the text width
var size = Math.max(50, this.userbutton_mc.label_txt.textWidth);
this.userbutton_mc._width = size;

// Move the location of the text box to center it
var newLoc = -(this.userbutton_mc.label_txt.textWidth / 2);
this.userbutton_mc.label_txt._x = newLoc;

return;
}

GenericButtonClass.prototype.EnableItem = function () {
this.enabled = true;
this.userbutton_mc.useHandCursor = true;
this.GotoDefaultState();
}

GenericButtonClass.prototype.DisableItem = function () {
this.enabled = false;
this.userbutton_mc.useHandCursor = false;
this.GotoDefaultState();
}

GenericButtonClass.prototype.DisplaySelected = function () {
this.selected = true;
this.GotoDefaultState();
}

GenericButtonClass.prototype.DisplayNormal = function () {
this.selected = false;
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericButtonClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericButtonClass.prototype.onRollOver = function () {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("over");
} else {
this.GotoDefaultState();
}
}

GenericButtonClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericButtonClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, 0);
}
}

GenericButtonClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericButtonClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the mtonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label wis.button_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("over");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
rent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???CPicPage?? CPicLayer?? CPicFrame????????}y?
#initclip

#include "commands.as"

function GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.button_mc = this.userinput_mc.button_mc;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
_root.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
/////////////////////////////////////////////////////////////////??
Actions????O?O????f???x??
??
????CPicPage?? CPicLayer?? CPicFrame?????????B?
#initclip

#include "commands.as"

function GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.button_mc = this.userinput_mc.button_mc;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
_root.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.buttonlabel_txt.text = newlabel;

// Adjust the size of the button based on the label size
// Set the button to the proper size based on the text width
var size = Math.max(50, this.userinput_mc.buttonlabel_txt.textWidth);
this.button_mc._width = size;

// Move the location of the text box to center it
var newLoc = -(this.button_mc.buttonlabel_txt.textWidth / 2);
this.button_mc.buttonlabel_txt._x = newLoc;

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}


/////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() ??CPicPage?? CPicLayer?? CPicFrame?????????6??
#initclip

#include "commands.as"

function DisplayAttribute(attribute, value) {
this.attrib_str = attribute;
this.value_str = value;
}

function GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.button_mc = this.userinput_mc.button_mc;
this.attribute_array = new array();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this._parent._parent.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.buttonlabel_txt.text = newlabel;

// Adjust the size of the button based on the label size
// Set the button to the proper size based on the text width
var size = Math.max(50, this.userinput_mc.buttonlabel_txt.textWidth);
this.button_mc._width = size;

// Move the location of the text box to center it
var newLoc = -(this.button_mc.buttonlabel_txt.textWidth / 2);
this.button_mc.buttonlabel_txt._x = newLoc;

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enab////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.buttonlabel_txt.text = newlabel;


// Adjust the size of the button based on the label size
// Set t???CPicLayer?? CPicFrame??
CPicSprhe button to the proper size based on the text width
var size = Math.max(50, this.userinput_mc.buttonlabel_txt.textWidth);
this.button_mc._width = size;

// Move the location of the text box to center it
var newLoc = -(this.button_mc.buttonlabel_txt.textWidth / 2);
this.button_mc.buttonlabel_txt._x = newLoc;

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}


///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.button_mc.gotoAndPlay("selected");
} else {
this.button_mc.gotoAndPlay("normal");
}
} else {
this.button_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("over");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???ch (Key.getCode()) {
case 13: // enter
fhgeneric_comp??CPicPage?? CPicLayer?? CPicFrame??CPicText?? ????`????RATahoma?"(Psearch input_txt?????????L??
Input field????O???????
CPicSprite?
^C9??d?
^ button_mc????????O1??
Button?????3?????????????Xidth
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClassled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.prototype.GetAttribute = function (attribute) {
var value = undefined;
for (var iAttrib = 0; iAttrib < attribute_array.length; iAttrib++) {
if (attribute_array[iAttrib].attribute_str == attribute) {
value = attribute_array[iAttrib].value_str;
break;
}
}
return value;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.button_mc.gotoAndPlay("selected");
} else {
this.button_mc.gotoAndPlay("normal");
}
} else {
this.button_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("over");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???f????x
??????x
??????x
????x?x
?3????x
?33?????
?3f?????
?3??????
?3?????{
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???Page?? CPicLayer?? CPicFrame??
CPicSprnput_mc.button_mc;
this.attribute_array = new array();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this._parent._parent.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function (newlabel) {

// Set the label
this.userinput_mc.buttonlabel_txt.text = newlabel;

// Adjust the size of the button based on the label size
// Set the button to the proper size based on the text width
var size = Math.max(50, this.userinput_mc.buttonlabel_txt.textWidth);
this.button_mc._width = size;

// Move the location of the text box to center it
var newLoc = -(this.button_mc.buttonlabel_txt.textWidth / 2);
this.button_mc.buttonlabel_txt._x = newLoc;

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.button_mc.gotoAndPlay("selected");
} else {
this.button_mc.gotoAndPlay("normal");
}
} else {
th);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
trace("rollover");
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???lover");
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = functionis.button_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.button_mc.gotoAndPlay("selected");
} else {
this.button_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.button_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???ut_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???e.onPress = function() {
if (this.enabled == true) {
this.??CPicPage?? CPicLayer?? CPicFrame??CPicTexS 47 1183158487 ????'????4?S 46 1183157916 #$?????M 1 1183158423?????????????oS 48 1183158590 ????????????
? ????  
 !"#$%&'()*+,????????????????????????????????56D89:;<=>?@ABC????EFGHIJK????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Symbol 7???? ????2qSymbol 8?????????????Symbol 9????????p]Symbol 18?????????????X Symbol 15?????????Symbol 16 ????????%Symbol 17 ????Symbol 19?????????Symbol 36"?????|(Symbol 37?????????????T+Symbol 38 ?????Symbol 44%?????}2Symbol 39??????????????Symbol 41??????????Symbol 42!??????'Symbol 45????&?????8??CPicPage?? CPicLayer?? CPicFrame??
CPicSymbol
???
???)????????<??
?2?)?? ?????? 9??
&??CPicPage?? CPicLayer?? CPicFrame?????????M?&
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
this.setFocusIntervalID = -1;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
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();
}
input_mc.input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???FHSearchInput\..\..\Application Data\Macromedia\Flash MX\Configuration\Components\FlashHelp Components.flaGeneric FH Search Input?-?>Uy_>3??>LabelLABELlabel??J???sE?? (J????CPicPage?? 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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;

this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// variables to store the inital position of each item
this.inputYPos = this.userinput_mc._y;
this.buttonYPos = this.userbutton_mc._y;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.textFieldYPos = this.userTextField_txt._y;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItems();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
if (this.userTextField_txt != undefined && !this.bDisplayTextField)
{
_parent.debug_trace("Hide Text field");
this.userinput_mc._y = this.userTextField_txt._y;
var deltaY = this.userinput_mc._y - this.inputYPos;
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
_parent.debug_trace("Show Text Field");
this.userinput_mc._y = this.inputYPos;
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userb???????????c??
d???
?????????
????2????
?????????
????2????
??????EN??
&???M23???? ??????;2??
?f?f?f2????????????"??
Button Placeholder?????O????????????
&???
???????kstop();???
??????
stop();???
??????0stop();??? ??????? stop();??????????Vstop();??
Actions????O?O????? ??????normal2???
??????over ???
??????down?u???
??????selectedP#uttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
var oldXPos = this.userbutton_mc._x;
if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinput_mc._x + nWidth) - this.userbutton_mc._width;
var deltaX = this.userbutton_mc._x - oldXPos;
this.userbuttonlabel_txt._x += deltaX;
this.userinput_txt._width += deltaX;
}
else
{
this.userinput_txt._width = nWidth;
}
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

/////??CPicPage?? CPicLayer?? CPicFrame????????m_??&
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// variables to store the inital position of each item
this.inputYPos = this.userinput_mc._y;
this.inputXPos = this.userinput_mc._x;
this.inputWidth = this.userinput_mc._width;
this.buttonYPos =//////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
////////////////////////////////////////////////////////////////Symbol 11
?????Symbol 12????????2Symbol 13????????>?Symbol 14????????????y3 
  
 !"#????%&'()*+,-./01????3456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmn????pqrstuvwx????z{|}~??OO???????????CPicPage?? CPicLayer?? CPicFrame??
CPicSprited
???dd?8 textbg_mc???????? E??
Text BG????O???????CPicText:  (??RTahoma?"(PSearch input_txt????????%;??

Input Text????O???????P
?Pd?]n button_mc??????????
Button?????OO? this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItems??CPicPage?? CPicLayer?? CPicFrame????????^0?1
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this.userinput_mc.button_mc;
this.userbuttonlabel_txt = this.userinput_mc.label_txt;
this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////????????????input_txt.onSetFocus = function(oldFocus)
{
trace("focus");
textbg_mc.gotoAndPlay("focus")
}

input_txt.onKillFocus = function(newFocus)
{
textbg_mc.gotoAndPlay("normal");
}??
Actions?????O??????CPicPage?? CPicLayer?? CPicFrame??
CPicSymbol
????2();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
if (this.use///////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (trTextField_txt != undefined && !this.bDisplayTextField)
{
_parent.debug_trace("Hide Text field");
this.userinput_mc._y = this.userTextField_txt._y;
var deltaY = this.userinput_mc._y - this.inputYPos;
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
_parent.debug_trace("Show Text Field");
this.userinput_mc._y = this.inputYPos;
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
fhgeneric_comp.onRelease();
break;
}
}
Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
input_mc.button_mc.onRollOver = function() {
trace("rollover");
fhgeneric_comp.onRollOver();
}
input_mc.button_mc.onPress = function() {
fhgeneric_comp.onPress();
}
input_mc.button_mc.onRelease = function() {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???operties::PaletteOption"PublishPNGProperties::DitherOptionPublishJpegProperties::Quality80$PublishRNWKProperties::realVideoRate100000$PublishRNWKProperties::speedDualISDN0-PublishFormatProperties::projectorWinFileNamete//////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinput_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
this.userinput_mc._width = this.userbutton_mc._x - (this.userinput_mc._x+nSpace);
}
else
{
this.userinput_mc._width = nWidth;
}
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.us {
fhgeneric_comp.onRelease();
}
input_mc.button_mc.onDragOut = function() {
fhgeneric_comp.onDragOut();
}
input_mc.button_mc.onRollOut = function() {
fhgeneric_comp.onRollOut();
}

// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???e.onPress = function() {
if (this.enabled == true) {
this.??CPicPage?? CPicLayer?? CPicFrame?? ???? ????????À?0???? ?À$?$?X0??3X?$?<%0Y?#???<?d??????????k??
BG????O??????? ????????Y??????0??????!???!??Q0?%?/?Qs?!?8"0 !??8?????04??????????
FG????erbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
fhgeneric_comp.onRelease();
}
}


Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
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();
}
input_mc.input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}
input_mc.input_txt.onKillFocus = function() {
fhgeneric_comp.onKillFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???ta\Macromedia\Flash MX\Configuration\Html\Default.html!PublishHtmlProperties::WindowMode0Vector::TopDown0-PublisSymbol 1????????????m
Symbol 5????????C{Symbol 4????????????$]Symbol 6
????Vo????d??????y???????????????????????????????????c????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????CPicPage?? CPicLayer?? CPicFrame??
CPicSymbol$d????'???????????? ????????,???????'??
??????????0?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????7??????????????????????????6d????'??
??????????d????????@d????'??
??????????F???????????
???)????????>??
Text Foreground????O????????????????? ??????$stop();???Jd????'?? ??????????-????????3????'???????????Tz???????? ??? Button BG????O?O?his.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
fhgeneric_comp.onRelease();
}
}


Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
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();
}
input_mc.input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}
input_mc.input_txt.onKillFocus = function() {
fhgeneric_comp.onKillFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO????` ????8?x ????` ??3?
?` ??f??` ????` ????(?` ????0?x ????x ??3??x ??f??x ?????x ???? ?x ????(?x ?? ???P?x ?? ??3???H ??33?x` ??f3?x` ???3?(x` ???3?5?x ???3?<?? ??3???` ??33??x ??f3?
?x ??3??x ???3?(?x ???3?2?? ??3???x ??33??? ??f3?
?? ??????^0stop();??
Actions?????3?????? ??????normal
D???
??????focusI?????????M????
CPicSprite???????????/???????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='glassAnimated' oldCopiedComponentPath=''>
</component>
?? ?????????CPicPage?? CPicLayer?? CPicFrame????????D??&
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// variables to store the inital position of each item
this.inputYPos = this.userinput_mc._y;
this.inputXPos = this.userinput_mc._x;
this.inputWidth = this.userinput_mc._width;
this.buttonYPos =??CPicPage?? CPicLayer?? CPicFrame???????????1
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinputbg_mc = this._parent.inputbg_mc;
this.userbutton_mc = th,h3?????????????????????????????????????????zU?????????nR?????sG??e??a?????????????????????????tL?????????????????{b'?????{a$?????}W??????????????g*?????????????????????????????¿???????] ?????t[(xU???0 ?0?[qO????CPicPage?? CPicLayer?? CPicFrame?? CPicShape???s?@???0P?0@0??????????@??
Layer 1????O????????????-????x?µl?a????}K?r' ?s??p?????r?]???B??d???CPicPage?? CPicLayer?? CPicFrame?? CPicShape??U?3?8?????+???? ????w?????????d????8?e??j ??+???? ????w??????????8????????+???? ????w??????????86?"?+???? ????w???????????CPicPage?? CPicLayer?? CPicFrame????????6:?g*
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// variables to store the inital position of each item
this.inputYPos = this.userinput_mc._y;
this.inputXPos = this.userinput_mc._x;
this.inputWidth = this.userinput_mc._width;
this.buttonYPos = this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItems();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
if (this.use this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItemsrTextField_txt != undefined && !this.bDisplayTextField)
{
_parent.debug_trace("Hide Text field");
this.userinput_mc._y = this.userTextField_txt._y;
var deltaY = this.userinput_mc._y - this.inputYPos;
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
_parent.debug_trace("Show Text Field");
this.userinput_mc._y = this.inputYPos;
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
/////////////////////////////////////??CPicPage?? CPicLayer?? CPicFrame?????????d??'
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// variables to store the inital position of each item
this.inputYPos = this.userinput_mc._y;
this.inputXPos = this.userinput_mc._x;
this.inputWidth = this.userinput_mc._width;
this.buttonYPos = this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItems();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
if (this.userTextField_txt != undefined && !this.bDisplayTextField)
{
_parent.debug_trace("Hide Text field");
this.userinput_mc._y = this.userTextField_txt._y;
var deltaY = this.userinput_mc._y - this.inputYPos;
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
_parent.debug_trace("Show Text Field");
this.userinput_mc._y = this.inputYPos;
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinput_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
this.userinput_mc._width = this.userbutton_mc._x - (this.userinput_mc._x+nSpace);
}
else
{
this.userinput_mc._width = nWidth;
}
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
if (fhgeneric_comp.bHasFocus)
{
switch (Key.getCode())
{
case 33: //PageUp
case 34: //PageDown
case 35: //End
case 36: //Home
case 38: //Up
case 40: //Down
break;
default:
fhgeneric_comp.onRelease();
break;
}
}
}
}


Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
button_mc.onRollOver = function() {
fhgeneric_comp.onRollOver();
}
button_mc.onPress = function() {
fhgeneric_comp.onP//////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////ress();
}
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();
}
input_mc.input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}
input_mc.input_txt.onKillFocus = function() {
fhgeneric_comp.onKillFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO????f?3?C?x ?f?3?F?? ?? ?fff?` ?? ?f???0 ?3f???0 ?ff?x?0 ??f?k?H ??f?d?` ??f?`?x ?3f???0 ?33f??PH ?3ff?xPH ?3?f?dx` ?3?f?]?x ?3?f?Z?? ?ff???0 ?f3f??PH ?fff?` ?f?f?P0x ?f?f?Px? ?f?f?P?? ?? ?????? ??();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
if (this.userTextField_txt != undefined && !this.bDisplayTextField)
{
_parent.debug_trace("Hide Text field");
this.userinput_mc._y = this.userTextField_txt._y;
var deltaY = this.userinput_mc._y - this.inputYPos;
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
_parent.debug_trace("Show Text Field");
this.userinput_mc._y = this.inputYPos;
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
/////////////////////////////////////??CPicPage?? CPicLayer?? CPicFrame???????? ?g*
#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 GenericSearchInputClass() {
this.enabled = true;
this.userinput_mc = this._parent.input_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this.userinput_mc.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// variables to store the inital position of each item
this.inputYPos = this.userinput_mc._y;
this.inputXPos = this.userinput_mc._x;
this.inputWidth = this.userinput_mc._width;
this.buttonYPos = this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItems();
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
if (this.use////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinput_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
this.userinput_mc._width = this.userbutton_mc._x - (this.userinput_mc._x+nSpace);
}
else
{
this.userinput_mc._width = nWidth;
}
}


///////////////////////////////////////////////////////////////////////////
//
// Used to set the focus of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetFocus = function ()
{
Selection.setFocus(this.userinput_txt);
Selection.setSelection(0,0);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to check to see if we hav focus
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.HasFocus = function ()
{
return this.bHasFocus;
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}

GenericSearchInputClass.prototype.GetSearchInputText = function() {
return this.userinput_txt.text;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
if (fhgeneric_comp.bHasFocus)
{
switch (Key.getCode())
{
case 33: //PageUp
case 34: //PageDown
case 35: //End
case 36: //Home
case 38: //Up
case 40: //Down
break;
default:
fhgeneric_comp.onRelease();
break;
}
}
}
}


Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
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();
}
input_mc.input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}
input_mc.input_txt.onKillFocus = function() {
fhgeneric_comp.onKillFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO?????? ?3?????? ?3???x?? ?f????x ?f3????? ?ff????? ?f?????? ?f?????? ?f???x?? ?? ????x ?? is._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this._parent.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// variables to store the inital position of each item
this.inputYPos = this.userinputbg_mc._y;
this.inputXPos = this.userinputbg_mc._x;
this.inputWidth = this.userinputbg_mc._width;
this.buttonYrTextField_txt != undefined && !this.bDisplayTextField)
{
_parent.debug_trace("Hide Text field");
this.userinput_mc._y = this.userTextField_txt._y;
var deltaY = this.userinput_mc._y - this.inputYPos;
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
_parent.debug_trace("Show Text Field");
this.userinput_mc._y = this.inputYPos;
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinput_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
this.userinput_mc._width = this.userbutton_mc._x - (this.userinput_mc._x+nSpace);
}
else
{
this.userinput_mc._width = nWidth;
}
}


///////////////////////////////////////////////////////////////////////////
//
// Used to set the focus of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetFocus = function ()
{
Selection.setFocus(this.userinput_txt);
Selection.setSelection(0,0);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to check to see if we hav focus
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.HasFocus = function ()
{
return this.bHasFocus;
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}

GenericSearchInputClass.prototype.GetSearchInputText = function() {
return this.userinput_txt.text;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
th//////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////is.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
if (fhgeneric_comp.bHasFocus)
{
switch (Key.getCode())
{
case 33: //PageUp
case 34: //PageDown
case 35: //End
case 36: //Home
case 38: //Up
case 40: //Down
break;
default:
fhgeneric_comp.onRelease();
break;
}
}
}
}


Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
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();
}
input_mc.input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}
input_mc.input_txt.onKillFocus = function() {
fhgeneric_comp.onKillFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???Pos = this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.Position////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinput_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
this.userinput_mc._width = this.userbutton_mc._x - (this.userinput_mc._x+nSpace);
}
else
{
this.userinput_mc._width = nWidth;
}
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_mc.input_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
fhgeneric_comp.onRelease();
}
}


Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
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();
}
input_mc.input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}
input_mc.input_txt.onKillFocus = function() {
fhgeneric_comp.onKillFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???lishRNWKProperties::speedSingleISDN0&PublishRNWKProperties::singleRateAudio0PublishQTProperties::Width300$PubliItems();
// text format
this.m_cTextFormat = undefined;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
var oldTxtOffset = this.userinput_txt._y - this.userinputbg_mc._y;
if (this.userTextField_txt != undefined && !this.bDisplayTextField)
{
this.userinputbg_mc._y = this.userTextField_txt._y;
var deltaY = this.userinputbg_mc._y - this.inputYPos;
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
this.userinputbg_mc._y = this.inputYPos;
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}
this.userinput_txt._y = this.userinputbg_mc._y + oldTxtOffset;

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These command?/????4??'??? ??À????K???p??5{?i??B?
?d??B??s3?/???10x?K?=???????????8?|????????/??.|?n??0?????n?1?-?/?/s?W??????@?????p??5T??? ?W????????????8?_??P??????8????'t?p??8x???c?????8z????????B?"W??V??????B???????[???p??2T??.b?\?)? ?,??Zp????W??|? ????+???*?g?4@v???(</?h )x%_?*{???
??????w??s are used to disable or enable certain aspects of the search input
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used t??? ??????disabled?"??
Labels?????OO?????8??w?+???? ????w??????????8??0m???s????^
~og5??'??f?|?SFw?]_o????.$me????CPicPage?? CPicLayer?? CPicFrame??
CPicSprite???$?$????CPicPage?? CPicLayer?? CPicFrame????????
f??7
#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 MakeLindowsTextVisible(textfield_txt)
{
// This is a hack for Lindows, Lindows will not display a
// textfield unless the text field is bold
var textFormatObj = textfield_txt.getTextFormat();
if (textFormatObj.getTextExtent("TestString").width == 0)
{
textFormatObj.bold = true;
textfield_txt.setTextFormat(textFormatObj);
textfield_txt.setNewTextFormat(textFormatObj);
}
}

function GenericSearchInputClass() {

this.enabled = true;
this.userinputbg_mc = this._parent.inputbg_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this._parent.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// Setup the event handling
this.userbutton_mc.onRollOver = function (mc) { mc._parent.fhgeneric_comp.onRollOver(); }
this.userbutton_mc.onRollOut = function (mc) { mc._parent.fhgeneric_comp.onRollOut(); }
this.userbutton_mc.onPress = function () { this._parent.fhgeneric_comp.onPress(); }
this.userbutton_mc.???P???????????????????0#_?????? animation_mc????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='glassAnimated' oldCopiedComponentPath=''>
</component>
 ????
  
?????/[!'????"#$%&(*)4+,-.Q0123A56789:;<=>?@SBCDEFGHIJKLMN?????
????WTUVsXYZ?\j^_`abcdefghikR????mnopqrt????uvwxyz{|}~?onRelease = function () { this._parent.fhgeneric_comp.onRelease(); }
this.userbutton_mc.onDragOut = function () { this._parent.fhgeneric_comp.onDragOut(); }
this.userbutton_mc.onDragOver = function () { this._parent.fhgeneric_comp.onDragOver(); }

this.userinput_txt.onSetFocus = function() { this._parent.fhgeneric_comp.onSetFocus(); }
this.userinput_txt.onKillFocus = function() { this._parent.fhgeneric_comp.onKillFocus(); }

MakeLindowsTextVisible(this.userTextField_txt)
MakeLindowsTextVisible(this.userinput_txt)

// variables to store the inital position of each item
if (this.userinputbg_mc) {
this.inputYPos = this.userinputbg_mc._y;
this.inputXPos = this.userinputbg_mc._x;
this.inputWidth = this.userinputbg_mc._width;
} else {
this.inputYPos = this.userinput_txt._y;
this.inputXPos = this.userinput_txt._x;
this.inputWidth = this.userinput_txt._width;
}
this.buttonYPos = this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItems();
// text format
this.m_cTextFormat = undefined;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
var oldTxtOffset = this.userinput_txt._y - this.userinputbg_mc._y;
if (this.userTextField_txt != undefined && !this.bDisplayTextField)
{
var deltaY = 0;
if (this.userinputbg_mc) {
this.userinputbg_mc._y = this.userTextField_txt._y;
this.userinput_txt._y = this.userinputbg_mc._y + oldTxtOffset;
deltaY = this.userinputbg_mc._y - this.inputYPos;
} else {
this.userinput_txt._y = this.userTextField_txt._y;
deltaY = this.userinput_txt._y - this.inputYPos;
}
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
if (this.userinputbg_mc) {
this.userinputbg_mc._y = this.inputYPos;
this.userinput_txt._y = this.userinputbg_mc._y + oldTxtOffset;
} else {
this.userinput_txt._y = this.inputYPos;
}
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = fal??
?????????????????????????????/???????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='glassAnimated' oldCopiedCompse;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
// Calculate the current size and location of the input_txt field as a
// percentage of it's background
var percentWidth = thonentPath=''>
</component>
????????????Q???????? ???Layer 5????O????????????????ll???stop();????????????????n???stop();?????? ?????????fL???animation_mc.play();??????
?????????^\???stop();

trace("wthefuck?");??????
?????????Nm???stop();?????? ?????????????stop();???????????????0???stop();????? ???Actions?????OO???????????????Z??????????????????normal?N?????????
?????????over??????????
?????????downq?????????
?????????selected?????????? ?????????disabled?O???????? ???Labels????O???o change the width of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
// Calculate the current size and location of the input_txt field as a
// percentage of it's background
var percentWidth = this.userinput_txt._width / this.userinputbg_mc._width;
var percentX = (this.userinput_txt._x - this.userinputbg_mc._x) / this.userinputbg_mc._width;

if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinputbg_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
var nInputWidth = this.userbutton_mc._x - (this.userinputbg_mc._x + nSpace);

// Resize the background
this.userinputbg_mc._width = nInputWidth;

// Resize the input field to take the same percentage space and set it's location
this.userinput_txt._width = nInputWidth * percentWidth;
this.userinput_txt._x = this.userinputbg_mc._x + (nInputWidth * percentX);
}
else
{
// Resize the background to take up the full space
this.userinputbg_mc._width = nWidth;

// Resize the input field to take the same percentage space and set it's location
this.userinput_txt._width = nWidth * percentWidth;
this.userinput_txt._x = this.userinputbg_mc._x + (nWidth * percentX);
}
}


///////////////////////////////////////////////////////////////////////////
//
// Used to set the focus of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetFocus = function ()
{
Selection.setFocus(this.userinput_txt);
Selection.setSelection(0,0);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to check to see if we hav focus
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.HasFocus = function ()
{
return this.bHasFocus;
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystris.userinput_txt._width / this.userinputbg_mc._width;
var percentX = (this.userinput_txt._x - this.userinputbg_mc._x) / this.userinputbg_mc._width;

if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinputbg_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
var nInputWidth = this.userbutton_mc._x - (this.userinputbg_mc._x + nSpace);

// Resize the background
if (this.userinputbg_mc) {
this.userinputbg_mc._width = nInputWidth;

// Resize the input field to take the same percentage space and set it's location
this.userinput_txt._width = nInputWidth * percentWidth;
this.userinput_txt._x = this.userinputbg_mc._x + (nInputWidth * percentX);
} else {
this.userinput_txt._width = nInputWidth;
}
}
else
{
// Resize the background to take up the full space
if (this.userinputbg_mc) {
this.userinputbg_mc._width = nWidth;

// Resize the input field to take the same percentage space and set it's location
this.userinput_txt._width = nWidth * percentWidth;
this.userinput_txt._x = this.userinputbg_mc._x + (nWidth * percentX);
} else {
this.userinput_txt._width = nWidth;
}
}
}


///////////////////////////////////////////////////////////////////////////
//
// Used to set the focus of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetFocus = function ()
{
Selection.setFocus(this.userinput_txt);
Selection.setSelection(0,0);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to check to see if we hav focus
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.HasFocus = function ()
{
return this.bHasFocus;
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}

GenericSearchInputClass.prototype.GetSearchInputText = function() {
return this.userinput_txt.text;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

// set the text format to search input box
GenericSearchInputClass.prototype.SetTextFormat = function (cTextFormat)
{
this.m_cTextFormat = this.userinput_txt.getTextFormat();
for( cItem in cTextFormat )
{
if(cTextFormat[cItem]!=undefined)
this.m_cTextFormat[cItem]=cTextFormat[cItem];
}

// try to keep the orignal width but change the height according the text format
var nTxtWidth = this.userinput_txt._width;
var nTxtHeight = this.userinput_txt._height;
var nTxtTop = this.userinput_txt._y;
var nTxtLeft = this.userinput_txt._x;
var cAutoSize = this.userinput_txt.autoSize;
this.userinput_txt.setTextFormat(this.m_cTextFormat);
this.userinput_txt.setNewTextFormat(this.m_cTextFormat);

MakeLindowsTextVisible(this.userinput_txt)

this.userinput_txt.autoSize = "left";
this.userinput_txt.autoSize = cAutoSize;
this.userinput_txt._width = nTxtWidth;
this.userinput_txt._height = this.m_cTextFormat.size + 6;
this.userinput_txt._x = nTxtLeft;

// Vertically enter the textfield relative to where it was before
this.userinput_txt._y = nTxtTop + ((nTxtHeight - this.userinput_txt._height) / 2);

// Adjust the background to match the changes in the text field
this.userinputbg_mc._height += this.userinput_txt._height - nTxtHeight;
this.userinputbg_mc._y += this.userinput_txt._y - nTxtTop;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndoke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}

GenericSearchInputClass.prototype.GetSearchInputText = function() {
return this.userinput_txt.text;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

// set the text format to search input box
GenericSearchInputClass.prototype.SetTextFormat = function (cTextFormat)
{
this.m_cTextFormat = this.userinput_txt.getTextFormat();
for( cItem in cTextFormat )
{
if(cTextFormat[cItem]!=undefined)
this.m_cTextFormat[cItem]=cTextFormat[cItem];
}
// try to keep the orignal width but change the height according the text format
var nWidth = this.userinput_txt._width;
var nTop = this.userinput_txt._y;
var nLeft = this.userinput_txt._x;
var cAutoSize = this.userinput_txt.autoSize;
this.userinput_txt.setTextFormat(this.m_cTextFormat);
this.userinput_txt.setNewTextFormat(this.m_cTextFormat);
this.userinput_txt.autoSize = "left";
var nHeight = this.userinput_txt._height;
this.userinput_txt.autoSize = cAutoSize;
this.userinput_txt._x = nLeft;
this.userinput_txt._y = nTop;
this.userinput_txt._width = nWidth;
this.userinput_txt._height = nHeight;
}
///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
if (fhgeneric_comp.bHasFocus)
{
switch (Key.getCode())
{
case 33: //PageUp
case 34: //PageDown
case 35: //End
case 36: //Home
case 38: //Up
case 40: //Down
break;
default:
fhgeneric_comp.onRelease();
break;
}
}
}
}


Key.addListener(GenericSearchInputClass);


///////////////////////////////////////////////////////////////////////////
//
// Handle mouse messages for the movie
//
///////////////////////////////////////////////////////////////////////////
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();
}
input_txt.onSetFocus = function() {
fhgeneric_comp.onSetFocus();
}
input_txt.onKillFocus = function() {
fhgeneric_comp.onKillFocus();
}


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO???PublishRNWKProperties::speed512K0PublishJpegProperties::Height100PublishPNGProperties::Height100PublishPNGProperties::Width300%PublishGifProperties::RemoveGradients0PublishHtmlProperties::Scale0Vector::Event Compress7"PublishRNWKProperties::mediaAuthor(PublishRNWKProperties::speedCorporateLAN0&PublishRNWKProperties::showBitrateDlog1"PublishRNWKProperties::exportFlash1??
Labels????O?O??? ?????CPicPage?? CPicLayer?? CPicFrame??
CPicSprite
???d?? textbg_mc?????????D??
text background????O?????cTextSymbol 21????obSymbol 43?????????????T+Symbol 30?????PSymbol 28?????????????R??????Symbol 1?????????F??????????????????????????????????????????????????????????????????S 48 1183158590???
glassAnimated0???>??F????????????????
glass copy?????????F???????? ???stroke??????O??????'????CPicPage?? CPicLayer?? CPicFrame??
CPicSprite???????/UN??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='glassAniPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
if (fhgeneric_comp.bHasFocus)
{
switch (Key.getCode())
{
case 33: //PageUp
case 34: //PageDown
case 35: //End
case 36: //Home
case 38: //Up
case 40: //Down
break;
default:
fhgeneric_comp.onRelease();
break;
}
}
}
}


Key.addListener(GenericSearchInputClass);


// Register the clasmated' oldCopiedComponentPath='1'>
</component>
????????????y????????/????/???????????/8*??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='glassAnimated' oldCopiedComponentPath='1'>
</component>
???????????????????? ???Layer 1????O?O????? 0a??0a???!???? ? 6??????????????K?K.??M??K??"?????"}??? L????e????t????x????L????r????x????????????????4????L????????????(????L???????????????????????????????????????????????????????????????? ???????? ???????? !b????U????D????0????b????O????0?????!!!W!x????|????u????b????x????????b?????x????b????????????????????????????????????????????????????????????,???? ???????????????????????? ????????????????? ?????????????????(???????? ???Guide: Layer 1?????3?? ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????#00???????.?[??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath=''>
</component>
???????????xF???????? ???Button?????OO??????CPicPage?? CPicLayer?? CPicFrame???????=????????-\???U????(??>>|*4W??(4?>??|4?????4?Æ???4?z??4>?*??4W(z??????????_???????? ???base????O?O?????v?????????????????CPicPage?? CPicLayer?? CPicFrame??CPicText??
$)?(?C??? ?_sans?(HINT:
The textfield is used in the toolbar and by the Index and search panes where users can input text.

textfield_txt: This field displays the label for the input field. This is not displayed when the textField is used in the toolbar (search field in toolbar has no label), but displays text in the Index and Search panes. Text is loaded dynamically at runtime.

button_mc: This movie clip is the button users click to submit the input text. It contains labeled frames so you can react to the various button e ?_sans?(vents.

fhgeneric_comp: This component is required for the text field to function at runtime.

[Optional]
inputbg_mc: This movie clip is the background for the textfield. It will scale along with the textfield when the navigation pane is resized.

NOTE: This sample contains a movie clip called textbg_mc (inside inputbg_mc), which has labeled frames for normal and focus state. The actionscript to control this is located in the Actions layer of the root. You can remove this code and this clip if you do not w- ?_sans?(ant the input field to react to focus.

label_txt: This is the label that will display on the button. The button will be stretched to fit the text loaded into this field (if the text is longer than "Go" which is the default for English projects). If there is no label_txt, the button will not stretch.????????????????????/A???????? ???Hint????????????
CPicSprite???????????-X??????fhgeneric_comp???Label???LABEL???label??J???sE?? (J?????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='glassAnimated' oldCopiedComponentPath=''>
</component>
????????????0???????? ??? Component????O?????????????????M???????? ???Input Background????O?O????LX
 d?
"A??? ?Tahoma?"(PSearch??? input_txt??????????????????2???????? ???
Input Text????O?O??? ?i ?i ?d????&?Z?????? button_mc????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='glassAnimated' oldCopiedComponentPath=''>
</component>
???????????????????? ???Button?????OO???????????????+???????? ??? label_txt????O????????
?(V ???? ?_sans?(TextField (label):???
textfield_txt??????????????????(???????? ???
textfield_txt?????OO?????????????? /????0

input_txt.onSetFocus = function(oldFocus)

{

inputbg_mc.textbg_mc.gotoAndPlay("focus");

// Tell the component that focus was received.

fhgeneric_comp.onSetFocus();

}



input_txt.onKillFocus = function(newFocus)

{

inputbg_mc.textbg_mc.gotoAndPlay("normal");

fhgeneric_comp.onKillFocus();

}????? ???Actions????O????4a???v????U???(??>>|*4W??(4?>??|4?????4?Æ???4?z??4>?*??4W(z?????????!???????? ???Sheen?????3??????0a??0a???(??>>|*4W??(4?>??|4?????4?Æ???4?z??4>?*??4W(z?????????????????aDescription??????"PublishPNGProperties::FilterOption??????!PublishHtmlProperties::DeviceFont???0???Vector::Override Sounds???0???PublishQTProperties::Flatten???1???PublishJpegProperties::DPI???4718592???PublishPNGProperties::BitDepth???24-bit with Alpha???PC??
CDocumentPagePage 1???Scene 1???0?[>B???????????????????????[?F??????????????????????????????????????????????????????????????????S 47 1183158487???glass/?????F????????????????Symbol 1?????????F??????????????????????????????????????????????????????????????????S 48 1183158590???
glassAnimated0???>??F????????????????
glass copy????????[?F??????????????????????????????????????????????????????????????????S 46 1183157916??? jellybean.??????F????????????????Symbol 1??????????F?????????????????????????????????????????????????????????????????? Symbol 41???
Background)?????>
Z??>Y??????????????? Symbol 41???????$??>?????????????????????????????????????????????????????????????????? Symbol 33???Input!???b??>L|?>??????????????? Symbol 33???????M
??????????????????????????????????????????????????????????????????? Symbol 28???Text BG???b??>L??> ??????????????? Symbol 28???????$??>?????????????????????????????????????????????????????????????????? Symbol 38???Button&???b??>L?&?>????????????.\skin_button_nav_close.fla???MovieClips/Button???>?&?>???~?F?????????????????????????????????????????????????????????????????? Symbol 39???
ButtonGraphic'?????>
 ??>%????????????.\skin_button_nav_close.fla???"Placeholder Graphics/ButtonGraphic ??> ??>%?????F??????s
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
??
actions?????OO??????????????????????????????????????????????????????????????? Symbol 45???Generic FH Search Input-???Uy_>???FGenericFHSearchInput???flashhelp_components.swf??????4..\..\..\..\FlashComponents\flashhelp_components.fla???Generic FH Search Input >)?Uy_>??? >)??????????Label???LABEL???label??J???sE?? (J????????????????????????????????????????????????Label???LABEL???label??J???sE?? (J????????????????????????1??
CMediaBitsM 1 1183158423???searchBox_icon.png???_..\..\..\..\_projects\RoboHelpSkins\production\Beautiful Vistas\Flash\images\searchBox_icon.png???F???F???????????????????????2p???hhhh???????? ????Vector::Template???0???legacyLineSpacing???0???PropSheet::ActiveTab???1599|???%PublishFormatProperties::htmlFileName???skin_textField.html???"PublishHtmlProperties::StartPaused???0???!PublishGifProperties::PaletteName?????? PublishRNWKProperties::speed256K???0???PublishProfileProperties::name???Flash CS3 Settings???PublishFormatProperties::jpeg???0???Vector::Debugging Permitted???0???PublishHtmlProperties::Loop???1???"PublishQTProperties::MatchMovieDim???1??? PublishQTProperties::AlphaOption?????? PublishQTProperties::LayerOption??????PublishHtmlProperties::Units???0???$PublishPNGProperties::OptimizeColors???1???PublishQTProperties::Width???300???&PublishRNWKProperties::singleRateAudio???0???&PublishRNWKProperties::speedSingleISDN???0???%PublishFormatProperties::projectorMac???0???&PublishFormatProperties::flashFileName???skin_textField.swf???Vector::Compress Movie???1???PublishGifProperties::Smooth???1???#PublishRNWKProperties::flashBitRate???1200???%PublishRNWKProperties::mediaCopyright???(c) 2000???PublishFormatProperties::html???0???$PublishFormatProperties::pngFileName???skin_textField.png???(PublishHtmlProperties::VerticalAlignment???1???PublishHtmlProperties::Quality???4???"PublishGifProperties::DitherOption??????"PublishRNWKProperties::exportAudio???1??? PublishRNWKProperties::speed384K???0???!PublishRNWKProperties::exportSMIL???1???Vector::Override Sounds???0???!PublishHtmlProperties::DeviceFont???0???"PublishPNGProperties::FilterOption??????'PublishRNWKProperties::mediaDescription??????PublishFormatProperties::gif???0???*PublishFormatProperties::generatorFileName???skin_textField.swt???Vector::Protect???0???Vector::Quality???80???*PublishHtmlProperties::HorizontalAlignment???1???"PublishHtmlProperties::DisplayMenu???1???PublishGifProperties::Interlace???0???"PublishGifProperties::DitherSolids???0???PublishPNGProperties::Smooth???1???PublishPNGProperties::BitDepth???24-bit with Alpha???PublishJpegProperties::DPI???4718592???PublishQTProperties::Flatten???1???#PublishFormatProperties::qtFileName???skin_textField.mov???PublishGifProperties::Width???300???PublishGifProperties::Loop???1???PublishRNWKProperties::speed28K???1???!PublishRNWKProperties::mediaTitle??????$PublishRNWKProperties::mediaKeywords??????PublishFormatProperties::flash???1???#PublishGifProperties::MatchMovieDim???1???#PublishGifProperties::PaletteOption??????"PublishPNGProperties::DitherOption??????PublishJpegProperties::Quality???80???$PublishRNWKProperties::realVideoRate???100000???$PublishRNWKProperties::speedDualISDN???0???-PublishFormatProperties::projectorWinFileName???skin_textField.exe???PublishHtmlProperties::Align???0???#PublishPNGProperties::MatchMovieDim???1???#PublishPNGProperties::PaletteOption??????$PublishJpegProperties::MatchMovieDim???1???%PublishFormatProperties::jpegFileName???skin_textField.jpg???Vector::Omit Trace Actions???0???Vector::Debugging Password??????PublishHtmlProperties::Width???300???PublishHtmlProperties::Height???100???"PublishPNGProperties::DitherSolids???0???"PublishJpegProperties::Progressive???0???#PublishQTProperties::PlayEveryFrame???0???Vector::AS3AutoDeclare???0???PublishFormatProperties::png???0???PublishFormatProperties::rnwk???0???-PublishFormatProperties::projectorMacFileName???skin_textField.hqx???Vector::TopDown???0???!PublishHtmlProperties::WindowMode???0???'PublishHtmlProperties::TemplateFileName???eC:\Documents and Settings\edigre\Application Data\Macromedia\Flash MX\Configuration\Html\Default.html???PublishGifProperties::Height???100???PublishPNGProperties::Interlace???0???PublishJpegProperties::Size???0???"PublishFormatProperties::generator???0???Vector::Report???0???PublishGifProperties::LoopCount??????'PublishGifProperties::TransparentOption??????PublishGifProperties::MaxColors???255???%PublishPNGProperties::RemoveGradients???0???PublishQTProperties::Height???100???PublishRNWKProperties::speed56K???1???Vector::AS3Strict???0???PublishFormatProperties::qt???0???Vector::Stream Compress???7???Vector::Event Format???0???Vector::Version???6???$PublishGifProperties::OptimizeColors???1???"PublishRNWKProperties::audioFormat???0???Vector::ActionScriptVersion???1???Vector::Event Compress???7???PublishHtmlProperties::Scale???0???%PublishGifProperties::RemoveGradients???0???PublishPNGProperties::Width???300???PublishPNGProperties::Height???100???PublishJpegProperties::Height???100??? PublishRNWKProperties::speed512K???0???$PublishFormatProperties::gifFileName???skin_textField.gif???Vector::Stream Format???0???PublishGifProperties::Animated???0???&PublishGifProperties::TransparentAlpha???128???!PublishPNGProperties::Transparent???0???!PublishPNGProperties::PaletteName??????PublishJpegProperties::Width???300???*PublishQTProperties::UseQTSoundCompression???0???PublishQTProperties::Looping???0???"PublishRNWKProperties::exportFlash???1???&PublishRNWKProperties::showBitrateDlog???1???(PublishRNWKProperties::speedCorporateLAN???0???"PublishRNWKProperties::mediaAuthor??????%PublishFormatProperties::defaultNames???1???%PublishFormatProperties::projectorWin???0???%PublishFormatProperties::rnwkFileName???skin_textField.smil???PublishPNGProperties::MaxColors???255???%PublishQTProperties::ControllerOption???0???"PublishQTProperties::PausedAtStart???0????????????? CColorDef??????3?P??f?P?0???P?H???P?`???P?x?3???33?(??3f?<?0?3??C?H?3??F?`?3??H?x?f??0?f3??0?ff?(?0?f??5?H?f??<?`?f??@?x???333?0???3????33?x??f3?d?0??3?]?H??3?Z?`??3?X?x?33????333?0?3f3?PPH?3?3?Px`?3?3?P?x?3?3?P???f3???0?f33?PH?ff3?(PH?f?3?<x`?f?3?C?x?f?3?F?????fff?`???f???0?3f???0?ff?x?0??f?k?H??f?d?`??f?`?x?3f???0?33f??PH?3ff?xPH?3?f?dx`?3?f?]?x?3?f?Z???ff???0?f3f??PH?fff?`?f?f?P0x?f?f?Px??f?f?P?????????????????H?3????H?f????H????x?H???n?`????h?x?3????H?33???x`?3f???x`?3???xx`?3??k?x?3???d???f????H?f3???x`?ff???0x?f???x0x?f??dx??f???]?????????????????`?3????`?f????`??????`????x?`????p?x?3????`?33????x?3f????x?3?????x?3???x?x?3???n???f????`?f3????x?ff???x??f????x??f???xx??f???k?????????????????x?3????x?f????x??????x??????x????x?x?3????x?33??????3f??????3???????3???????3???x???f????x?f3??????ff??????f???????f???????f???x????????x??????H??3?
?H??f??H????(?H????2?`????8?x????`??3?
?`??f??`????`????(?`????0?x????x??3??x??f??x?????x???? ?x????(?x?????P?x????3???H??33?x`??f3?x`???3?(x`???3?5?x???3?<????3???`??33??x??f3?
?x??3??x???3?(?x???3?2????3???x??33?????f3?
?????3??????3??????3?(?????????x????f???H??3f??x`??ff?0x???f?(0x???f?<x????f?C????f???`??3f???x??ff?x???f?x????f?(x????f?5????f???x??3f??????ff??????f?
?????f??????f?(????????(?x????????H??3???x`??f???0x??????????PP??????P????????`??3????x??f???x?????P?????(P??????<????????x??3???????f???????????????????????(????????x?x????????`??3????x??f???x???????P??????xP??????d????????`??3????x??f???x??????P????????????P????????x??3???????f?????????????????????????(??????????x????????x??3???????f??????????????????????????x????????x??3???????f?????????????????????????x????????x??3???????f?????????????????????????????????????????????????????????????????f??`????z??????f??????????????*???]????????????????c?????Placeholder Graphics??>
?????????????????????????
MovieClipsS 47 1183158487 &'????@}S 46 1183157916 ????????????M 1 1183158423#%?????oS 48 1183158590 ????????????"Mb??>L?????????????????????????"PublishQTProperties::QTSndSettings??CQTAudioSettings???????????????????????????????????? ?BSaved by Adobe Flash Windows 9.0 build 494 timecount = 1183407026???????????????????????????????????????????????#00????00u??????????????T???????? ???Guide: Layer 1?????3?? ??
?????????????????CPicPage?? CPicLayer?? CPicFrame??$????33?"sG???A?A???????
??
??????????G?)Fp?+???? ????w?????????W???s|9O??d???-??????????????c???????? ???Layer 2?????3??????J???sE?? (J????????????????????????????????????????????????Label???LABEL???label??J???sE?? (J??????????????????????;5?CX ????????"&??
Layer 1????O?????ublishGifProperties::Height100'PublishHtmlPropertG)?F ??xG??? I|? ???????????????????6?46?4??????????????????????? 
  
???? !????#$%&'()*+,-./0123456789:;<=>?????ABCDEFGHI????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Symbol 36"?????|(Symbol 37?????????????T+Symbol 38 ??????Symbol 44$?????}2Symbol 39??????????????Symbol 41??????????Symbol 42!??????'Symbol 45??????????????pSymbol 32????????hSymbol 33??????????????Symbol 34????t*&Symbol 35??????????????'Symbol 21????obSymbol 43?????????????T+Symbol 30?????PSymbol 28?????????????m,h3?????????????????????????????????????????zU?????????nR?????sG??e??a?????????????????????????tL?????????????????{b'?????{a$?????}W??????????????g*?????????????????????????????¿???????] ?????t[(xU???0 ?0?[qO?????????-????x?µl?a????}K?r' ?s??p?????r?]???B??d???0m???s????^
~og5??'??f?|?SFw?]_o????.$??CPicPage?? CPicLayer?? CPicFrame??
CPicSprite???$?$????CPicPage?? CPicLayer?? CPicFrame???????????S5?????7
#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 MakeLindowsTextVisible(textfield_txt)
{
// This is a hack for Lindows, Lindows will not display a
// textfield unless the text field is bold
var textFormatObj = textfield_txt.getTextFormat();
if (textFormatObj.getTextExtent("TestString").width == 0)
{
textFormatObj.bold = true;
textfield_txt.setTextFormat(textFormatObj);
textfield_txt.setNewTextFormat(textFormatObj);
}
}

function GenericSearchInputClass() {

this.enabled = true;
this.userinputbg_mc = this._parent.inputbg_mc;
this.userbutton_mc = this._parent.button_mc;
this.userbuttonlabel_txt = this._parent.label_txt;
this.userTextField_txt = this._parent.textfield_txt;
this.userTextField_txt.autoSize = true;

this.userinput_txt = this._parent.input_txt;
this.attribute_array = new array();
this.bHasFocus = false;
this.setFocusIntervalID = -1;

// Setup the event handling
this.userbutton_mc.onRollOver = function (mc) { mc._parent.fhgeneric_comp.onRollOver(); }
this.userbutton_mc.onRollOut = function (mc) { mc._parent.fhgeneric_comp.onRollOut(); }
this.userbutton_mc.onPress = function () { this._parent.fhgeneric_comp.onPress(); }
this.userbutton_mc.onRelease = function () { this._parent.fhgeneric_comp.onRelease(); }
this.userbutton_mc.onDragOut = function () { this._parent.fhgeneric_comp.onDragOut(); }
this.userbutton_mc.onDragOver = function () { this._parent.fhgeneric_comp.onDragOver(); }

this.userinput_txt.onSetFocus = function() { this._parent.fhgeneric_comp.onSetFocus(); }
this.userinput_txt.onKillFocus = function() { this._parent.fhgeneric_comp.onKillFocus(); }

MakeLindowsTextVisible(this.userTextField_txt)
MakeLindowsTextVisible(this.userinput_txt)

// variables to store the inital position of each item
if (this.userinputbg_mc) {
this.inputYPos = this.userinputbg_mc._y;
this.inputXPos = this.userinputbg_mc._x;
this.inputWidth = this.userinputbg_mc._width;
} else {
this.inputYPos = this.userinput_txt._y;
this.inputXPos = this.userinput_txt._x;
this.inputWidth = this.userinput_txt._width;
}
this.buttonYPos = this.userbutton_mc._y;
this.buttonXPos = this.userbutton_mc._x;
this.buttonlabelYPos = this.userbuttonlabel_txt._y;
this.buttonlabelXPos = this.userbuttonlabel_txt._x;
this.textFieldYPos = this.userTextField_txt._y;
this.textFieldXPos = this.userTextField_txt._x;

// should the button and textfield be displayed?
this.bDisplayButton = true;
this.bDisplayTextField = false;

// Should we send the contents of the input field everytime a key is pressed
this.bKeystroke = false;

this.PositionItems();
// text format
this.m_cTextFormat = undefined;
}

GenericSearchInputClass.prototype = new MovieClip();

GenericSearchInputClass.prototype.onLoad = function () {
this.userbuttonlabel_txt.autoSize = true;
this._parent._parent.ItemLoaded(this._parent);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to position the items based on what is to be displayed
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.PositionItems = function ()
{
var oldTxtOffset = this.userinput_txt._y - this.userinputbg_mc._y;
if (this.userTextField_txt != undefined && !this.bDisplayTextField)
{
var deltaY = 0;
if (this.userinputbg_mc) {
this.userinputbg_mc._y = this.userTextField_txt._y;
this.userinput_txt._y = this.userinputbg_mc._y + oldTxtOffset;
deltaY = this.userinputbg_mc._y - this.inputYPos;
} else {
this.userinput_txt._y = this.userTextField_txt._y;
deltaY = this.userinput_txt._y - this.inputYPos;
}
this.userbutton_mc._y = this.buttonYPos + deltaY;
this.userbuttonlabel_txt._y = this.buttonlabelYPos + deltaY;
this.userTextField_txt._visible = false;
}
else
{
if (this.userinputbg_mc) {
this.userinputbg_mc._y = this.inputYPos;
this.userinput_txt._y = this.userinputbg_mc._y + oldTxtOffset;
} else {
this.userinput_txt._y = this.inputYPos;
}
this.userbutton_mc._y = this.buttonYPos;
this.userbuttonlabel_txt._y = this.buttonlabelYPos;
this.userTextField_txt._visible = true;
}

if (!this.bDisplayButton)
{
this.userbutton_mc._visible = false;
this.userbuttonlabel_txt._visible = false;
}
else
{
this.userbutton_mc._visible = true;
this.userbuttonlabel_txt._visible = true;
}
}


///////////////////////////////////////////////////////////////////////////
//
// These commands are used to disable or enable certain aspects of the search input
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetTextFieldVisible = function (bVisible)
{
this.bDisplayTextField = bVisible;
this.PositionItems();
}

GenericSearchInputClass.prototype.SetButtonVisible = function (bVisible)
{
this.bDisplayButton = bVisible;
this.PositionItems();
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the width of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetWidth = function (nWidth)
{
// Calculate the current size and location of the input_txt field as a
// percentage of it's background
var percentWidth = this.userinput_txt._width / this.userinputbg_mc._width;
var percentX = (this.userinput_txt._x - this.userinputbg_mc._x) / this.userinputbg_mc._width;

if (this.bDisplayButton && this.userbutton_mc != undefined)
{
this.userbutton_mc._x = (this.userinputbg_mc._x + nWidth) - this.userbutton_mc._width;

this.userbuttonlabel_txt._x = this.userbutton_mc._x + (this.buttonlabelXPos - this.buttonXPos);
var nSpace = this.buttonXPos - (this.inputXPos + this.inputWidth);
var nInputWidth = this.userbutton_mc._x - (this.userinputbg_mc._x + nSpace);

// Resize the background
if (this.userinputbg_mc) {
this.userinputbg_mc._width = nInputWidth;

// Resize the input field to take the same percentage space and set it's location
this.userinput_txt._width = nInputWidth * percentWidth;
this.userinput_txt._x = this.userinputbg_mc._x + (nInputWidth * percentX);
} else {
this.userinput_txt._width = nInputWidth;
}
}
else
{
// Resize the background to take up the full space
if (this.userinputbg_mc) {
this.userinputbg_mc._width = nWidth;

// Resize the input field to take the same percentage space and set it's location
this.userinput_txt._width = nWidth * percentWidth;
this.userinput_txt._x = this.userinputbg_mc._x + (nWidth * percentX);
} else {
this.userinput_txt._width = nWidth;
}
}
}


///////////////////////////////////////////////////////////////////////////
//
// Used to set the focus of the input field
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetFocus = function ()
{
Selection.setFocus(this.userinput_txt);
Selection.setSelection(0,0);
}

///////////////////////////////////////////////////////////////////////////
//
// Used to check to see if we hav focus
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.HasFocus = function ()
{
return this.bHasFocus;
}

///////////////////////////////////////////////////////////////////////////
//
// Used to change the decription in the textfield
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SetDescriptionText = function(newText)
{
this.userTextField_txt.text = newText;
}

///////////////////////////////////////////////////////////////////////////
//
// Make the search send a command on every keystroke
//
///////////////////////////////////////////////////////////////////////////

GenericSearchInputClass.prototype.SendReplyOnEveryKey = function(bKeystroke)
{
this.bKeystroke = bKeystroke;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle calls to set the state of the field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.SetItemLabel = function(newlabel) {

// This is the same as setting the input text field
this.SetInputField(newlabel);
}

GenericSearchInputClass.prototype.SetSearchInputField = function(newtext) {
// First make sure there is a label to set
if (this.userinput_txt != undefined) {
this.userinput_txt.text = newtext;
}

return;
}

GenericSearchInputClass.prototype.GetSearchInputText = function() {
return this.userinput_txt.text;
}



GenericSearchInputClass.prototype.SetSearchButtonLabel = function(buttonlabel) {

// Make sure we have a button to set
if (this.userbutton_mc != undefined) {

// Save the old widths of the label and button so we can scale the button appropriately
var oldButtonWidth = this.userbutton_mc._width;
var oldLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Set the button label
this.userbuttonlabel_txt.text = buttonlabel;

// Get the new label width
var newLabelTextWidth = this.userbuttonlabel_txt.textWidth;

// Stretch the button for the extra label width
this.userbutton_mc._width += newLabelTextWidth - oldLabelTextWidth;
}

return;
}

GenericSearchInputClass.prototype.EnableItem = function () {
this.enabled = true;
}

GenericSearchInputClass.prototype.DisableItem = function () {
this.enabled = false;
}

GenericSearchInputClass.prototype.SetAttribute = function (attribute, value) {
var newattrib = new DisplayAttribute(attribute, value);
attribute_array.push(newattrib);
}

GenericSearchInputClass.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;
}

// set the text format to search input box
GenericSearchInputClass.prototype.SetTextFormat = function (cTextFormat)
{
this.m_cTextFormat = this.userinput_txt.getTextFormat();
for( cItem in cTextFormat )
{
if(cTextFormat[cItem]!=undefined)
this.m_cTextFormat[cItem]=cTextFormat[cItem];
}

// try to keep the orignal width but change the height according the text format
var nTxtWidth = this.userinput_txt._width;
var nTxtHeight = this.userinput_txt._height;
var nTxtTop = this.userinput_txt._y;
var nTxtLeft = this.userinput_txt._x;
var cAutoSize = this.userinput_txt.autoSize;
this.userinput_txt.setTextFormat(this.m_cTextFormat);
this.userinput_txt.setNewTextFormat(this.m_cTextFormat);

MakeLindowsTextVisible(this.userinput_txt)

this.userinput_txt.autoSize = "left";
this.userinput_txt.autoSize = cAutoSize;
this.userinput_txt._width = nTxtWidth;
this.userinput_txt._height = this.m_cTextFormat.size + 6;
this.userinput_txt._x = nTxtLeft;

// Vertically enter the textfield relative to where it was before
this.userinput_txt._y = nTxtTop + ((nTxtHeight - this.userinput_txt._height) / 2);

// Adjust the background to match the changes in the text field
this.userinputbg_mc._height += this.userinput_txt._height - nTxtHeight;
this.userinputbg_mc._y += this.userinput_txt._y - nTxtTop;
}

///////////////////////////////////////////////////////////////////////////
//
// Handle all of the mouse movements from the button
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.prototype.GotoDefaultState = function () {
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("normal");
}
} else {
this.userbutton_mc.gotoAndPlay("disabled");
}
return;
}

GenericSearchInputClass.prototype.onRollOver = function () {
this._parent._parent.ItemRolledOver(this._parent);
if (this.enabled == true) {
if (this.selected == true) {
this.userbutton_mc.gotoAndPlay("selected");
} else {
this.userbutton_mc.gotoAndPlay("over");
}
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onPress = function() {
if (this.enabled == true) {
this.userbutton_mc.gotoAndPlay("down");
} else {
this.GotoDefaultState();
}
}

GenericSearchInputClass.prototype.onRelease = function() {
this.GotoDefaultState();
// Send notification to the owner
if (this.enabled == true) {
_parent.DoCommand(CmdItemInvoked, this._parent, this.userinput_txt.text);
}
}

GenericSearchInputClass.prototype.onDragOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onDragOver = function() {
this.onPress();
}

GenericSearchInputClass.prototype.onRollOut = function() {
this.GotoDefaultState();
}

GenericSearchInputClass.prototype.onSetFocus = function() {
this.setFocusIntervalID = setInterval(this.setSelection, 100, this);
this.bHasFocus = true;
}

GenericSearchInputClass.prototype.onKillFocus = function() {
this.bHasFocus = false;
}

GenericSearchInputClass.prototype.setSelection = function(component) {
clearInterval(component.setFocusIntervalID);
Selection.setSelection(0, component.userinput_txt.text.length);
}


///////////////////////////////////////////////////////////////////////////
//
// Handle special keystrokes (like the enter key) for the input field
//
///////////////////////////////////////////////////////////////////////////
GenericSearchInputClass.onKeyDown = function () {
switch (Key.getCode()) {
case 13: // enter
if (fhgeneric_comp.bHasFocus) {
fhgeneric_comp.onRelease();
}
break;
}
}

GenericSearchInputClass.onKeyUp = function ()
{
if (fhgeneric_comp.bKeystroke)
{
if (fhgeneric_comp.bHasFocus)
{
switch (Key.getCode())
{
case 33: //PageUp
case 34: //PageDown
case 35: //End
case 36: //Home
case 38: //Up
case 40: //Down
break;
default:
fhgeneric_comp.onRelease();
break;
}
}
}
}


Key.addListener(GenericSearchInputClass);


// Register the class
Object.registerClass("FGenericFHSearchInput", GenericSearchInputClass);

#endinitclip
????? ???actions?????OO??????????.?;??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath=''>
</component>
????????????z???????? ???Button?????OO???^0stop();??CPicPage?? CPicLayer?? CPicFrame??
CPicSymbol???
??????)???????????ID?????????2????)?? ??CPicPage?? CPicLayer?? CPicFrame??
CPicSymbol$d????'????????????I????????,???????'??
??????????(????????6d????'??
?????????p????????@d????'??
?????????6q????????Jd????'?? ?????????R
????????3????'????????????+???????? ??? Button BG????O?O?????
CPicSprite???????????/?u??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='1.2'>
</component>
?? ?????????#E???????????????????0??????? animation_mc????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='1.3'>
</component>
??
??????????2???????????????????/?0??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='1.4'>
</component>
????????????P???????? ???Layer 5????O?????????????????a???stop();????????????????M???stop();?????? ??????????{???animation_mc.play();??????
?????????????stop();

trace("wthefuck?");??????
?????????A???stop();?????? ?????????????stop();???????????????????stop();????? ???Actions?????OO???????????????]??????????????????normal?o?????????
?????????over?b?????????
?????????down??????????
?????????selected"|????????? ?????????disabled1???????? ???Labels????O????????O?O??? ??CPicPage?? CPicLayer?? CPicFrame??
CPicSprite???d?????M?????? textbg_mc????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='?????????x????????&???
??????)???????????u8???????? ???Text Foreground????O?????????????????????????? ?????????m???stop();???????????CPicPage?? CPicLayer?? CPicFrame?? CPicShape???s?@???0P?0@0??????????@??
Layer 1????O????????????{???stop();????? ???Actions?????3?????? ?????????normal?)?????????
??????????? ??????disabled?"??
Labels?????OO?????focus??????????????????P~???????? ???Labels?'>
</component>
???????????+???????? ???text background????O???????CPicPage?? CPicLayer?? CPicFrame?? CPicShape??U?3?8?????+???? ????w?????????d????8?e??j ??+???? ????w??????????8????????+???? ????w??????????86?"?+???? ????w??????????8??w?+???? ????w??????????8p?+???? ????w?????????{??PB?
?d??B??s3?/???10x?K?=???????????8?|????????/??.|?n??0?????n?1?-?/?/s?W????#|9O??d???-??/????4??'??? ??À????K???T??@?????T????????8?_??P??????8????'t?x??????w??p??5T???????B?)????b????p????T??.???\?????? ?,Z{??X 6?c?????8z????????B?"T??? ?p????q????5s??????8x??????????????W??|??? ????+???*?g?4@v???(</?h )x%_?*???????????T???????? ???Layer 1????O???????CPicPage?? CPicLayer?? CPicFrame???????=????????-\???U????(??>>|*4W??(4?>??|4?????4?Æ???4?z??4>?*??4W(z?????????2S???????? ???base????O?O?????v????????????????4a???v????U???(??>>|*4W??(4?>??|4?????4?Æ???4?z??4>?*??4W(z?????????s9???????? ???Sheen?????3??????0a??0a???(??>>|*4W??(4?>??|4?????4?Æ???4?z??4>?*??4W(z?????????? ???????? ???stroke??????O?????CPicPage?? CPicLayer?? CPicFrame??
CPicSprite???????/7??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='1.3.1'>
</component>
????????????z????????/????/???????????/;??????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='1.3.1'>
</component>
???????????`v???????? ???Layer 1????O?O????? 0a??0a???!???? ? 6??????????????K?K.??M??K??"?????"}??? L????e????t????x????????????????4????L???????????????????????????????????????? ???????? b????U????D????0????!!x????|????u????b???????????????????????????????????????? ?????????????????????????????WG???????? ???Guide: Layer 1?????3?? ????CPicPage?? CPicLayer?? CPicFrame??$????33?"sG??????46?4????????????6??\NA?A???????
??
??????????G?)FG)?F ??xG??? I|? ???????????????????????????????????????????????????? ???Layer 2?????3???????? 
  
 !"#$%&'()??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????CPicPage?? CPicLayer?? CPicFrame??CPicText??
$)?(?C??? ?_sans?(HINT:
The textfield is used in the toolbar and by the Index and search panes where users can input text.

textfield_txt: This field displays the label for the input field. This is not displayed when the textField is used in the toolbar (search field in toolbar has no label), but displays text in the Index and Search panes. Text is loaded dynamically at runtime.

button_mc: This movie clip is the button users click to submit the input text. It contains labeled frames so you can react to the various button e ?_sans?(vents.

fhgeneric_comp: This component is required for the text field to function at runtime.

[Optional]
inputbg_mc: This movie clip is the background for the textfield. It will scale along with the textfield when the navigation pane is resized.

NOTE: This sample contains a movie clip called textbg_mc (inside inputbg_mc), which has labeled frames for normal and focus state. The actionscript to control this is located in the Actions layer of the root. You can remove this code and this clip if you do not w- ?_sans?(ant the input field to react to focus.

label_txt: This is the label that will display on the button. The button will be stretched to fit the text loaded into this field (if the text is longer than "Go" which is the default for English projects). If there is no label_txt, the button will not stretch.?????????????????????"???????? ???Hint????????????
CPicSprite???????????-??????fhgeneric_comp???Label???LABEL???label??J???sE?? (J?????????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='2'>
</component>
??????????????????? ??? Component????O?????????????????A???????? ???Input Background????O?O????LX
 d?
"A??? ?Tahoma?"(PSearch??? input_txt?????????????????@;???????? ???
Input Text????O?O??? ?i ?i ?d????&?{?????? button_mc????<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='1'>
</component>
???????????)G???????? ???Button?????OO???????????????h???????? ??? label_txt????O????????
?(V ???? ?_sans?(TextField (label):???
textfield_txt?????????????????????????? ???
textfield_txt?????OO???????????????K????0

input_txt.onSetFocus = function(oldFocus)

{

inputbg_mc.textbg_mc.gotoAndPlay("focus");

// Tell the component that focus was received.

fhgeneric_comp.onSetFocus();

}



input_txt.onKillFocus = function(newFocus)

{

inputbg_mc.textbg_mc.gotoAndPlay("normal");

fhgeneric_comp.onKillFocus();

}????? ???Actions????O????????
CDocumentPagePage 1???Scene 1???0?[>B???????????????????????[?F???????????????????????????????????????????????????????????????S 47 1183158487???glass/?????F????????????????Symbol 1?????????F???????????????????????????????????????????????????????????????S 48 1183158590???
glassAnimated0???>??F????????????????
glass copy????????[?F???????????????????????????????????????????????????????????????S 46 1183157916??? jellybean.??????F????????????????Symbol 1??????????F??????????????????????????????????????????????????????????????? Symbol 41???
Background)?????>
Z??>Y??????????????? Symbol 41???????$??>??????????????????????????????????????????????????????????????? Symbol 33???Input!???b??>L|?>??????????????? Symbol 33???????M
???????????????????????????????????????????????????????????????? Symbol 28???Text BG???b??>L??> ??????????????? Symbol 28???????$??>??????????????????????????????????????????????????????????????? Symbol 38???Button&???b??>L?&?>????????????.\skin_button_nav_close.fla???MovieClips/Button???>?&?>???~?F??????????????????????????????????????????????????????????????? Symbol 39???
ButtonGraphic'?????>
 ??>%????????????.\skin_button_nav_close.fla???"Placeholder Graphics/ButtonGraphic ??> ??>%?????F??????????????????????????????????????????????????????????????? Symbol 45???Generic FH Search Input-???Uy_>???FGenericFHSearchInput???flashhelp_components.swf??????4..\..\..\..\FlashComponents\flashhelp_components.fla???Generic FH Search Input >)?Uy_>??? >)??????????Label???LABEL???label??J???sE?? (J????????????????????????????????????????????????Label???LABEL???label??J???sE?? (J?????????????????????1??
CMediaBitsM 1 1183158423???searchBox_icon.png???_..\..\..\..\_projects\RoboHelpSkins\production\Beautiful Vistas\Flash\images\searchBox_icon.png???F???F???????????????????????2p???hhhh???????? ????Vector::Template???0???legacyLineSpacing???0???PropSheet::ActiveTab???1599|??? PublishRNWKProperties::speed256K???0???!PublishGifProperties::PaletteName??????"PublishHtmlProperties::StartPaused???0???%PublishFormatProperties::htmlFileName???skin_textField.html??? PublishQTProperties::LayerOption?????? PublishQTProperties::AlphaOption??????"PublishQTProperties::MatchMovieDim???1???PublishHtmlProperties::Loop???1???Vector::Debugging Permitted???0???PublishFormatProperties::jpeg???0???PublishProfileProperties::name???Flash CS3 Settings???&PublishRNWKProperties::speedSingleISDN???0???&PublishRNWKProperties::singleRateAudio???0???PublishQTProperties::Width???300???$PublishPNGProperties::OptimizeColors???1???PublishHtmlProperties::Units???0???%PublishRNWKProperties::mediaCopyright???(c) 2000???#PublishRNWKProperties::flashBitRate???1200???PublishGifProperties::Smooth???1???Vector::Compress Movie???1???&PublishFormatProperties::flashFileName???skin_textField.swf???%PublishFormatProperties::projectorMac???0???!PublishRNWKProperties::exportSMIL???1??? PublishRNWKProperties::speed384K???0???"PublishRNWKProperties::exportAudio???1???"PublishGifProperties::DitherOption??????PublishHtmlProperties::Quality???4???(PublishHtmlProperties::VerticalAlignment???1???$PublishFormatProperties::pngFileName???skin_textField.png???PublishFormatProperties::html???0???'PublishRNWKProperties::mediaDescription??????"PublishPNGProperties::FilterOption??????!PublishHtmlProperties::DeviceFont???0???Vector::Override Sounds???0???PublishQTProperties::Flatten???1???PublishJpegProperties::DPI???4718592???PublishPNGProperties::BitDepth???24-bit with Alpha???PublishPNGProperties::Smooth???1???"PublishGifProperties::DitherSolids???0???PublishGifProperties::Interlace???0???"PublishHtmlProperties::DisplayMenu???1???*PublishHtmlProperties::HorizontalAlignment???1???Vector::Quality???80???Vector::Protect???0???*PublishFormatProperties::generatorFileName???skin_textField.swt???PublishFormatProperties::gif???0???$PublishRNWKProperties::mediaKeywords??????!PublishRNWKProperties::mediaTitle??????PublishRNWKProperties::speed28K???1???PublishGifProperties::Loop???1???PublishGifProperties::Width???300???#PublishFormatProperties::qtFileName???skin_textField.mov???$PublishRNWKProperties::speedDualISDN???0???$PublishRNWKProperties::realVideoRate???100000???PublishJpegProperties::Quality???80???"PublishPNGProperties::DitherOption??????#PublishGifProperties::PaletteOption??????#PublishGifProperties::MatchMovieDim???1???PublishFormatProperties::flash???1???$PublishJpegProperties::MatchMovieDim???1???#PublishPNGProperties::PaletteOption??????#PublishPNGProperties::MatchMovieDim???1???PublishHtmlProperties::Align???0???-PublishFormatProperties::projectorWinFileName???skin_textField.exe???#PublishQTProperties::PlayEveryFrame???0???"PublishJpegProperties::Progressive???0???"PublishPNGProperties::DitherSolids???0???PublishHtmlProperties::Height???100???PublishHtmlProperties::Width???300???Vector::Debugging Password??????Vector::Omit Trace Actions???0???%PublishFormatProperties::jpegFileName???skin_textField.jpg???PublishJpegProperties::Size???0???PublishPNGProperties::Interlace???0???PublishGifProperties::Height???100???'PublishHtmlProperties::TemplateFileName???eC:\Documents and Settings\edigre\Application Data\Macromedia\Flash MX\Configuration\Html\Default.html???!PublishHtmlProperties::WindowMode???0???Vector::TopDown???0???-PublishFormatProperties::projectorMacFileName???skin_textField.hqx???PublishFormatProperties::rnwk???0???PublishFormatProperties::png???0???Vector::AS3AutoDeclare???0???PublishRNWKProperties::speed56K???1???PublishQTProperties::Height???100???%PublishPNGProperties::RemoveGradients???0???PublishGifProperties::MaxColors???255???'PublishGifProperties::TransparentOption??????PublishGifProperties::LoopCount??????Vector::Report???0???"PublishFormatProperties::generator???0???"PublishRNWKProperties::audioFormat???0???$PublishGifProperties::OptimizeColors???1???Vector::Version???6???Vector::Event Format???0???Vector::Stream Compress???7???PublishFormatProperties::qt???0???Vector::AS3Strict???0??? PublishRNWKProperties::speed512K???0???PublishJpegProperties::Height???100???PublishPNGProperties::Height???100???PublishPNGProperties::Width???300???%PublishGifProperties::RemoveGradients???0???PublishHtmlProperties::Scale???0???Vector::Event Compress???7???Vector::ActionScriptVersion???1???"PublishRNWKProperties::mediaAuthor??????(PublishRNWKProperties::speedCorporateLAN???0???&PublishRNWKProperties::showBitrateDlog???1???"PublishRNWKProperties::exportFlash???1???PublishQTProperties::Looping???0???*PublishQTProperties::UseQTSoundCompression???0???PublishJpegProperties::Width???300???!PublishPNGProperties::PaletteName??????!PublishPNGProperties::Transparent???0???&PublishGifProperties::TransparentAlpha???128???PublishGifProperties::Animated???0???Vector::Stream Format???0???$PublishFormatProperties::gifFileName???skin_textField.gif???"PublishQTProperties::PausedAtStart???0???%PublishQTProperties::ControllerOption???0???PublishPNGProperties::MaxColors???255???%PublishFormatProperties::rnwkFileName???skin_textField.smil???%PublishFormatProperties::projectorWin???0???%PublishFormatProperties::defaultNames???1????????????? CColorDef??????3?P??f?P?0???P?H???P?`???P?x?3???33?(??3f?<?0?3??C?H?3??F?`?3??H?x?f??0?f3??0?ff?(?0?f??5?H?f??<?`?f??@?x???333?0???3????33?x??f3?d?0??3?]?H??3?Z?`??3?X?x?33????333?0?3f3?PPH?3?3?Px`?3?3?P?x?3?3?P???f3???0?f33?PH?ff3?(PH?f?3?<x`?f?3?C?x?f?3?F?????fff?`???f???0?3f???0?ff?x?0??f?k?H??f?d?`??f?`?x?3f???0?33f??PH?3ff?xPH?3?f?dx`?3?f?]?x?3?f?Z???ff???0?f3f??PH?fff?`?f?f?P0x?f?f?Px??f?f?P?????????????????H?3????H?f????H????x?H???n?`????h?x?3????H?33???x`?3f???x`?3???xx`?3??k?x?3???d???f????H?f3???x`?ff???0x?f???x0x?f??dx??f???]?????????????????`?3????`?f????`??????`????x?`????p?x?3????`?33????x?3f????x?3?????x?3???x?x?3???n???f????`?f3????x?ff???x??f????x??f???xx??f???k?????????????????x?3????x?f????x??????x??????x????x?x?3????x?33??????3f??????3???????3???????3???x???f????x?f3??????ff??????f???????f???????f???x????????x??????H??3?
?H??f??H????(?H????2?`????8?x????`??3?
?`??f??`????`????(?`????0?x????x??3??x??f??x?????x???? ?x????(?x?????P?x????3???H??33?x`??f3?x`???3?(x`???3?5?x???3?<????3???`??33??x??f3?
?x??3??x???3?(?x???3?2????3???x??33?????f3?
?????3??????3??????3?(?????????x????f???H??3f??x`??ff?0x???f?(0x???f?<x????f?C????f???`??3f???x??ff?x???f?x????f?(x????f?5????f???x??3f??????ff??????f?
?????f??????f?(????????(?x????????H??3???x`??f???0x??????????PP??????P????????`??3????x??f???x?????P?????(P??????<????????x??3???????f???????????????????????(????????x?x????????`??3????x??f???x???????P??????xP??????d????????`??3????x??f???x??????P????????????P????????x??3???????f?????????????????????????(??????????x????????x??3???????f??????????????????????????x????????x??3???????f?????????????????????????x????????x??3???????f?????????????????????????????????????????????????????????????????f??`????z??????f??????????????*???]???????????????+c?????Placeholder Graphics??>
?????????????????????????
MovieClipsb??>L?????????????????????????"PublishQTProperties::QTSndSettings??CQTAudioSettings???????????????????????????????????? ?BSaved by Adobe Flash Windows 9.0 build 494 timecount = 1185895651