home *** CD-ROM | disk | FTP | other *** search
/ Adephia Powerlink / AdephiaPowerlink-030102.iso / pc / Install / WorkFlow / Gui / MinLyt.swf / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2002-04-02  |  836 b   |  36 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.    var TempName;
  22.    TempName = mName add "_EXPORT" add CurrentStackingOrder;
  23.    this.attachMovie(mName,TempName,CurrentStackingOrder);
  24.    CurrentStackingOrder++;
  25.    this[TempName]._x = XPos;
  26.    this[TempName]._y = YPos;
  27.    return this[TempName];
  28. }
  29. function SetText(strTextID, strText)
  30. {
  31.    this[strTextID] = strText;
  32.    return true;
  33. }
  34. _level0.BackgroundCreationCallback(_target);
  35. CurrentStackingOrder = 100;
  36.