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 ShowGraphic(mName, XPos, YPos)
- {
- var TempName;
- TempName = mName add "_EXPORT";
- this.attachMovie(mName,TempName,CurrentStackingOrder);
- CurrentStackingOrder++;
- this[TempName]._x = XPos;
- this[TempName]._y = YPos;
- return this[TempName];
- }
- function ShowGraphicFromFile(strFilename, PlaceNumber)
- {
- var TempName;
- var bounds;
- TempName = "GraphicPlacement" add PlaceNumber;
- bounds = this[TempName].getBounds(_root);
- loadMovie(strFilename,this[TempName]);
- this[TempName]._x = bounds.xMin;
- this[TempName]._y = bounds.yMin;
- this[TempName]._height = bounds.yMax - bounds.yMin;
- this[TempName]._width = bound.xMax - bounds.xMin;
- this[TempName]._xscale = 100;
- this[TempName]._yscale = 100;
- return this[TempName];
- }
- function ShowTextScroller(ScrollerName, PlaceNumber, strText)
- {
- var NewMClip;
- var TempPlaceHolder;
- NewMClip = ScrollerName add "_EXPORT";
- TempPlaceHolder = eval(ScrollerName add PlaceNumber);
- this.attachMovie(ScrollerName,NewMclip,CurrentStackingOrder);
- CurrentStackingOrder++;
- this[NewMClip]._x = TempPlaceHolder._x;
- this[NewMClip]._y = TempPlaceHolder._y;
- this[NewMClip].Scroller.url = strText;
- }
- function SetText(strTextID, strText)
- {
- this[strTextID] = strText;
- return true;
- }
- function ShowListBox(nPlacementLocation, arListItems)
- {
- var NewMClip;
- var TempPlaceHolder;
- var Bounds;
- fscommand("SHOWLISTBOX",arListItems[0].Item);
- fscommand("SHOWLISTBOX",arListItems[1].Item);
- NewMClip = "ListBox" add nPlacementLocation;
- TempPlaceHolder = eval("LBPlacement" add nPlacementLocation);
- this.attachMovie("LISTBOX_CONTROL_WRAPPER",NewMClip,CurrentStackingOrder);
- CurrentStackingOrder++;
- Bounds = TempPlaceHolder.getBounds(_root);
- this[NewMClip]._x = Bounds.xMin;
- this[NewMClip]._y = Bounds.yMin;
- this[NewMClip].LBControl.arItems = arListItems;
- this[NewMClip].LBControl.RowSize = Math.round(TempPlaceHolder._height / 25) + 1;
- return nPlacementLocation;
- }
- function OnSelectionChange(strSelection)
- {
- ChildSWF.OnSelectionChange(strSelection);
- }
- _level0.BackgroundCreationCallback(_target);
- CurrentStackingOrder = 100;
-