home *** CD-ROM | disk | FTP | other *** search
/ Adephia Powerlink / AdephiaPowerlink-030102.iso / pc / Install / WorkFlow / Gui / MinReq.swf / scripts / frame_2 / DoAction.as
Encoding:
Text File  |  2002-04-02  |  3.6 KB  |  55 lines

  1. function LayoutFrame()
  2. {
  3.    _level0.SetText("Title0",_root.inProgress_main_title,_root.InProgress_identifier);
  4.    _level0.SetText("Text0",_root.inProgress_main_p_item1,_root.InProgress_identifier);
  5.    _level0.SetText("Text1",_root.inProgress_main_p_item2,_root.InProgress_identifier);
  6.    _level0.SetText("Text2",_root.inProgress_main_p_item3,_root.InProgress_identifier);
  7.    _level0.SetText("Text3",_root.inProgress_main_p_item4,_root.InProgress_identifier);
  8.    _level0.SetText("Text4",_root.inProgress_main_p_item5,_root.InProgress_identifier);
  9.    _level0.SetText("Text5",_root.inProgress_main_p_item6,_root.InProgress_identifier);
  10.    _level0.SetText("Text6",_root.inProgress_main_p_item7,_root.InProgress_identifier);
  11.    _level0.SetText("Text7",_root.inProgress_main_p_item8,_root.InProgress_identifier);
  12.    _level0.SetText("Text8",_root.inProgress_main_p_item9,_root.InProgress_identifier);
  13.    _level0.RequestGraphic("Analyzing",283.4,174.1,_root.InProgress_identifier);
  14.    _root.OsStatus = _level0.RequestGraphic("CheckingRequirements",34.8,126.3,_root.InProgress_identifier);
  15.    _root.CpuSpeedStatus = _level0.RequestGraphic("CheckingRequirements",34.8,170.1,_root.InProgress_identifier);
  16.    _root.CpuVendorStatus = _level0.RequestGraphic("CheckingRequirements",34.8,213.9,_root.InProgress_identifier);
  17.    _root.RamStatus = _level0.RequestGraphic("CheckingRequirements",34.8,257.8,_root.InProgress_identifier);
  18.    _root.DiskSpaceStatus = _level0.RequestGraphic("CheckingRequirements",34.8,301.6,_root.InProgress_identifier);
  19.    _root.DiskSpaceOnSystemDriveStatus = _level0.RequestGraphic("CheckingRequirements",34.8,345.5,_root.InProgress_identifier);
  20.    _root.TcpipInstalledStatus = _level0.RequestGraphic("CheckingRequirements",219,257.8,_root.InProgress_identifier);
  21.    _root.NicPresentStatus = _level0.RequestGraphic("CheckingRequirements",219,301.6,_root.InProgress_identifier);
  22.    _root.NoStaticDialupStatus = _level0.RequestGraphic("CheckingRequirements",219,345.5,_root.InProgress_identifier);
  23.    _root.InProgressDefaultHint = _root.inProgress_hint_p_default;
  24.    _root.InProgressStep1Hint = _root.inProgress_hint_p_item1;
  25.    _root.InProgressStep2Hint = _root.inProgress_hint_p_item2;
  26.    _root.InProgressStep3Hint = _root.inProgress_hint_p_item3;
  27.    _root.InProgressStep4Hint = _root.inProgress_hint_p_item4;
  28.    _root.InProgressStep5Hint = _root.inProgress_hint_p_item5;
  29.    _root.InProgressStep6Hint = _root.inProgress_hint_p_item6;
  30.    _root.InProgressStep7Hint = _root.inProgress_hint_p_item7;
  31.    _root.InProgressStep8Hint = _root.inProgress_hint_p_item8;
  32.    _root.InProgressStep9Hint = _root.inProgress_hint_p_item9;
  33.    _level0.SetHintText(_root.InProgressDefaultHint,_root.InProgress_identifier);
  34.    _level0.SetHelpText(_root.inProgress_help_p_default,_root.InProgress_identifier);
  35.    var CancelButton = _level0.RequestButton("CancelButton","CancelButtonPlacement",_root.InProgress_identifier);
  36.    var MoreButton = _level0.RequestButton("MoreButton","MoreButtonPlacement",_root.InProgress_identifier);
  37.    CancelButton.TextBox.Text = _root.inProgress_nav_button_cancel;
  38.    MoreButton.TextBox.Text = _root.inProgress_nav_button_more;
  39.    CancelButton.OnRelease = function()
  40.    {
  41.       fscommand("cancel","cancel");
  42.       _level0.FireSignal(_root.InProgress_identifier);
  43.    };
  44.    MoreButton.OnRelease = function()
  45.    {
  46.       _level0.ToggleHelp(_root.InProgress_identifier);
  47.    };
  48.    _level0.AddTabOrder("CancelButton",_root.InProgress_identifier);
  49.    PerformInProgressUpdate();
  50. }
  51. function LoadInProgressVars()
  52. {
  53.    _root.InProgress_identifier = _level0.SetLayoutObject("MinLayout",_target,"LayoutFrame",_root.InProgress_identifier);
  54. }
  55.