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

  1. function LayoutFrame()
  2. {
  3.    _level0.SetText("Title0",_root.WaitForDhcpReleaseRenew_main_title,_root.WaitForDhcpRRIdentifier);
  4.    _level0.SetText("Text0",_root.WaitForDhcpReleaseRenew_main_p_default,_root.WaitForDhcpRRIdentifier);
  5.    _level0.RequestGraphic("CommTesting",232.8,311.8,_root.WaitForDhcpRRIdentifier);
  6.    _level0.SetHintText(_root.WaitForDhcpReleaseRenew_hint_p_default,_root.WaitForDhcpRRIdentifier);
  7.    _level0.SetHelpText(_root.WaitForDhcpReleaseRenew_help_p_default,_root.WaitForDhcpRRIdentifier);
  8.    var CancelButton = _level0.RequestButton("CancelBtn","CancelButtonPlacement",_root.WaitForDhcpRRIdentifier);
  9.    var MoreButton = _level0.RequestButton("MoreBtn","MoreButtonPlacement",_root.WaitForDhcpRRIdentifier);
  10.    CancelButton.TextBox.Text = _root.WaitForDhcpReleaseRenew_nav_button_cancel;
  11.    MoreButton.TextBox.Text = _root.WaitForDhcpReleaseRenew_nav_button_more;
  12.    CancelButton.OnRelease = function()
  13.    {
  14.       _level0.FireSignal(_root.WaitForDhcpRRIdentifier,"exit");
  15.    };
  16.    MoreButton.OnRelease = function()
  17.    {
  18.       _level0.ToggleHelp(_root.WaitForDhcpRRIdentifier);
  19.    };
  20.    _level0.AddTabOrder("CancelBtn",_root.WaitForDhcpRRIdentifier);
  21. }
  22. function LoadWaitForDhcpReleaseRenewVars()
  23. {
  24.    _root.WaitForDhcpRRIdentifier = _level0.SetLayoutObject("StdLayout",_target,"LayoutFrame",_root.WaitForDhcpRRIdentifier);
  25. }
  26.