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

  1. function LayoutFrame()
  2. {
  3.    _level0.SetText("Title0",_root.MoreThanOneGatewayStaticAndDhcp_main_title,_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  4.    _level0.SetText("Text0",_root.MoreThanOneGatewayStaticAndDhcp_main_p_default,_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  5.    _level0.SetHintText(_root.MoreThanOneGatewayStaticAndDhcp_hint_p_default,_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  6.    _level0.SetHelpText(_root.MoreThanOneGatewayStaticAndDhcp_help_p_default,_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  7.    var CancelButton = _level0.RequestButton("CancelButton","CancelButtonPlacement",_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  8.    var MoreButton = _level0.RequestButton("MoreButton","MoreButtonPlacement",_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  9.    var FixBtn = _level0.RequestButton("FixBtn","FixButtonPlacement",_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  10.    CancelButton.TextBox.Text = _root.MoreThanOneGatewayStaticAndDhcp_nav_button_cancel;
  11.    MoreButton.TextBox.Text = _root.MoreThanOneGatewayStaticAndDhcp_nav_button_more;
  12.    FixBtn.TextBox.Text = _root.MoreThanOneGatewayStaticAndDhcp_nav_button_fix;
  13.    CancelButton.OnRelease = function()
  14.    {
  15.       _level0.FireSignal(_root.MoreThanOneGatewayStaticAndDhcp_identifier,"exit");
  16.    };
  17.    MoreButton.OnRelease = function()
  18.    {
  19.       _level0.ToggleHelp(_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  20.    };
  21.    FixBtn.OnRelease = function()
  22.    {
  23.       fscommand("Fix","button_click");
  24.       WaitForStaticGatewayFix();
  25.    };
  26.    _level0.AddTabOrder("FixBtn",_root.MoreThanOneGatewayStaticAndDhcp_identifier,true);
  27.    _level0.AddTabOrder("CancelButton",_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  28. }
  29. function LoadMoreThanOneGatewayStaticAndDhcpVars()
  30. {
  31.    _root.MoreThanOneGatewayStaticAndDhcp_identifier = _level0.SetLayoutObject("StdLayout",_target,"LayoutFrame",_root.MoreThanOneGatewayStaticAndDhcp_identifier);
  32. }
  33.