home *** CD-ROM | disk | FTP | other *** search
/ Adephia Powerlink / AdephiaPowerlink-030102.iso / pc / Install / WorkFlow / Gui / AboutBox.swf / scripts / frame_3 / DoAction.as < prev   
Encoding:
Text File  |  2002-04-02  |  878 b   |  26 lines

  1. function LoadAboutLegalFrameVars()
  2. {
  3.    _root.LegalTitle = _root.AboutLegal_main_title_1;
  4.    _root.VersionBtn.TextBox.Text = _root.AboutVersion_nav_button_version;
  5.    _root.LegalBtn.TextBox.Text = _root.AboutVersion_nav_button_Legal;
  6.    var TempXML = new XML();
  7.    _root.AboutFile = _root.AboutLegal_control_aboutLegal_file_1;
  8.    TempXML.load(_root.AboutFile);
  9.    TempXML.onLoad = GrabAboutContent;
  10. }
  11. function GrabAboutContent()
  12. {
  13.    _root.AboutText = this.lastChild.toString();
  14.    about.Message.message = _root.AboutText;
  15.    RefreshAboutWindow();
  16. }
  17. function RefreshAboutWindow()
  18. {
  19.    var uTop = getProperty("about.Message", _height) / -2 + getProperty("about.Up", _height) / 2;
  20.    var tTop = uTop + getProperty("about.Up", _height) + 1;
  21.    setProperty("about.Thumb", _Y, tTop);
  22.    about.Message.message.scroll = 1;
  23. }
  24. LoadAboutLegalFrameVars();
  25. stop();
  26.