home *** CD-ROM | disk | FTP | other *** search
/ Adephia Powerlink / AdephiaPowerlink-030102.iso / pc / Install / WorkFlow / Gui / AboutBox.swf / scripts / frame_3 / DoAction_3.as < prev    next >
Encoding:
Text File  |  2002-04-02  |  1.2 KB  |  47 lines

  1. function SetHelpText(strText)
  2. {
  3.    if(!HelpControlInstance.SetDisplayText(strText))
  4.    {
  5.       HelpControlInstance.defaultText = strText;
  6.    }
  7. }
  8. function SetHintText(strText)
  9. {
  10.    if(!HintBoxInstance.SetDisplayText(strText))
  11.    {
  12.       HintBoxInstance.defaultText = strText;
  13.    }
  14. }
  15. function ToggleHelp()
  16. {
  17.    HelpControlInstance.ToggleVisibility();
  18. }
  19. function ShowGraphic(mName, XPos, YPos)
  20. {
  21.    fscommand("SHOWGRAPHIC",mName);
  22.    var TempName;
  23.    TempName = mName add "_EXPORT";
  24.    this.attachMovie(mName,TempName,CurrentStackingOrder);
  25.    CurrentStackingOrder++;
  26.    this[TempName]._x = XPos;
  27.    this[TempName]._y = YPos;
  28. }
  29. function ShowTextScroller(ScrollerName, PlaceNumber)
  30. {
  31.    var NewMClip;
  32.    var TempPlaceHolder;
  33.    NewMClip = ScrollerName add "_EXPORT";
  34.    TempPlaceHolder = ScrollerName add PlaceNumber;
  35.    this.attachMovie(ScrollerName,NewMclip,CurrentStackingOrder);
  36.    CurrentStackingOrder++;
  37.    this.NewMClip._x = TempPlaceHolder._x;
  38.    this.NewMClip._y = TempPlaceHolder._y;
  39. }
  40. function SetText(strTextID, strText)
  41. {
  42.    this[strTextID] = strText;
  43.    return true;
  44. }
  45. _level0.BackgroundCreationCallback(_target);
  46. CurrentStackingOrder = 100;
  47.