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

  1. function LayoutFrame()
  2. {
  3.    _level0.SetText("Title0",_root.PleaseWaitWhileInvestigating_main_title,_root.PleaseWaitWhileInvestigating_Identifier);
  4.    _level0.SetText("Text0",_root.PleaseWaitWhileInvestigating_main_p_default,_root.PleaseWaitWhileInvestigating_Identifier);
  5.    _level0.RequestGraphic("CommTesting",232.8,311.8,_root.PleaseWaitWhileInvestigating_Identifier);
  6.    _level0.SetHintText(_root.PleaseWaitWhileInvestigating_hint_p_default,_root.PleaseWaitWhileInvestigating_Identifier);
  7.    _level0.SetHelpText(_root.PleaseWaitWhileInvestigating_help_p_default,_root.PleaseWaitWhileInvestigating_Identifier);
  8.    var CancelButton = _level0.RequestButton("CancelBtn","CancelButtonPlacement",_root.PleaseWaitWhileInvestigating_Identifier);
  9.    var MoreButton = _level0.RequestButton("MoreBtn","MoreButtonPlacement",_root.PleaseWaitWhileInvestigating_Identifier);
  10.    CancelButton.TextBox.Text = _root.PleaseWaitWhileInvestigating_nav_button_cancel;
  11.    MoreButton.TextBox.Text = _root.PleaseWaitWhileInvestigating_nav_button_more;
  12.    CancelButton.OnRelease = function()
  13.    {
  14.       fscommand("cancel","cancel");
  15.       _level0.FireSignal(_root.PleaseWaitWhileInvestigating_Identifier);
  16.    };
  17.    MoreButton.OnRelease = function()
  18.    {
  19.       _level0.ToggleHelp(_root.PleaseWaitWhileInvestigating_Identifier);
  20.    };
  21.    _level0.AddTabOrder("CancelBtn",_root.PleaseWaitWhileInvestigating_Identifier);
  22. }
  23. function LoadPleaseWaitWhileInvestigatingVars()
  24. {
  25.    _root.PleaseWaitWhileInvestigating_Identifier = _level0.SetLayoutObject("StdLayout",_target,"LayoutFrame",_root.PleaseWaitWhileInvestigating_Identifier);
  26. }
  27.