home *** CD-ROM | disk | FTP | other *** search
- function SetHelpText(strText)
- {
- if(!HelpControlInstance.SetDisplayText(strText))
- {
- HelpControlInstance.defaultText = strText;
- }
- }
- function SetHintText(strText)
- {
- if(!HintBoxInstance.SetDisplayText(strText))
- {
- HintBoxInstance.defaultText = strText;
- }
- }
- function ToggleHelp()
- {
- HelpControlInstance.ToggleVisibility();
- }
- function SetGraphicBoxVars(pGraphicTextBox, title, hintEnter, hintExit, Graphic)
- {
- pGraphicTextBox.GraphicTextControl.title = title;
- pGraphicTextBox.GraphicTextControl.hintEnter = hintEnter;
- pGraphicTextBox.GraphicTextControl.hintExit = hintExit;
- pGraphicTextBox.GraphicTextControl.Graphic = Graphic;
- }
- function ShowGraphicTextBox(BoxTitle, OnEnter, OnLeave, GraphicChoice)
- {
- var TempInputName;
- if(this.GTextBoxNumber == undefined)
- {
- this.GTextBoxNumber = 0;
- }
- TempInputName = "GTextControl" add this.GTextBoxNumber;
- this.attachMovie("GRAPHIC_TEXT_BOX_EXPORT",TempInputName,CurrentStackingOrder);
- CurrentStackingOrder++;
- var tempObject = eval("this." add TempInputName);
- tempObject._x = 205.3;
- tempObject._y = 118 + 49 * this.GTextBoxNumber;
- SetGraphicBoxVars(tempObject,BoxTitle,OnEnter,OnLeave,GraphicChoice);
- this.GTextBoxNumber = this.GTextBoxNumber + 1;
- }
- function ShowTextScroller(ScrollerName, PlaceNumber)
- {
- var NewMClip;
- var TempPlaceHolder;
- NewMClip = ScrollerName add "_EXPORT";
- TempPlaceHolder = ScrollerName add PlaceNumber;
- this.attachMovie(ScrollerName,NewMclip,CurrentStackingOrder);
- CurrentStackingOrder++;
- this[NewMClip]._x = TempPlaceHolder._x;
- this[NewMClip]._y = TempPlaceHolder._y;
- }
- function SetText(strTextID, strText)
- {
- this[strTextID] = strText;
- return true;
- }
- _level0.BackgroundCreationCallback(_target);
- CurrentStackingOrder = 100;
-