home *** CD-ROM | disk | FTP | other *** search
/ Adephia Powerlink / AdephiaPowerlink-030102.iso / pc / Install / WorkFlow / Gui / FrameLoaderFunctions.txt < prev    next >
Encoding:
Text File  |  2002-04-02  |  13.9 KB  |  430 lines

  1. function LoadInProgressVars()
  2. {
  3.     //Node Text
  4.     _root.InProgressTitle = _root.inProgress_main_title;
  5.     _root.InProgressStep1 = _root.inProgress_main_p_item1;
  6.     _root.InProgressStep2 = _root.inProgress_main_p_item2;
  7.     _root.InProgressStep3 = _root.inProgress_main_p_item3;
  8.     _root.InProgressStep4 = _root.inProgress_main_p_item4;
  9.     _root.InProgressStep5 = _root.inProgress_main_p_item5;
  10.     _root.InProgressStep6 = _root.inProgress_main_p_item6;
  11.     _root.InProgressStep7 = _root.inProgress_main_p_item7;
  12.     _root.InProgressStep8 = _root.inProgress_main_p_item8;
  13.     _root.InProgressStep9 = _root.inProgress_main_p_item9;
  14.     _root.InProgressStep10 = _root.inProgress_main_p_item10;
  15.  
  16.     //Standard Button Text
  17.     _root.CancelBtnText = _root.inProgress_nav_button_cancel;
  18.     _root.MoreBtnText = _root.inProgress_nav_button_more;
  19.  
  20.     //Hint text
  21.     _root.InProgressDefaultHint = _root.inProgress_hint_p_default;
  22.     _root.InProgressStep1Hint = _root.inProgress_hint_p_item1;
  23.     _root.InProgressStep2Hint = _root.inProgress_hint_p_item2;
  24.     _root.InProgressStep3Hint = _root.inProgress_hint_p_item3;
  25.     _root.InProgressStep4Hint = _root.inProgress_hint_p_item4;
  26.     _root.InProgressStep5Hint = _root.inProgress_hint_p_item5;
  27.     _root.InProgressStep6Hint = _root.inProgress_hint_p_item6;
  28.     _root.InProgressStep7Hint = _root.inProgress_hint_p_item7;
  29.     _root.InProgressStep8Hint = _root.inProgress_hint_p_item8;
  30.     _root.InProgressStep9Hint = _root.inProgress_hint_p_item9;
  31.     _root.InProgressStep10Hint = _root.inProgress_hint_p_item10;
  32.     HintBoxInstance.SetDisplayText(_root.InProgressDefaultHint);
  33.  
  34.     
  35.     //Help Field Text
  36.     HelpControlInstance.SetDisplayText(_root.inProgress_help_p_default);
  37.  
  38.     _level0.ShowSWF();
  39. }
  40.  
  41. function LoadGeneralErrorVars()
  42. {
  43.     //Text
  44.     _root.GeneralErrorTitle = _root.generalError_main_title;
  45.     _root.GeneralErrorDefaultText = _root.generalError_main_p_default;
  46.  
  47.     //Buttons
  48.     _root.MoreBtnText = _root.generalError_nav_button_more;
  49.     _root.CancelBtnText = _root.generalError_nav_button_cancel;
  50.  
  51.     //Help Box
  52.     _root.GeneralErrorDefaultHelp = _root.generalError_help_p_default;
  53.  
  54.     //Hint Box
  55.     _root.GeneralErrorDefaultHint = _root.generalError_hint_p_default;
  56.  
  57.     error_text = _root.GeneralErrorDefaultText;
  58.  
  59.     HelpControlInstance.SetDisplayText(_root.GeneralErrorDefaultHelp);
  60.     HintBoxInstance.SetDisplayText(_root.GeneralErrorDefaultHint);
  61.  
  62.     //ErrorStrings
  63.     _root.ErrorStringRamRequirementMet = _root.generalError_main_error_required_p_RAM;
  64.     _root.ErrorStringRamRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_RAM;
  65.     _root.ErrorStringCpuSpeedRequirementMet = _root.generalError_main_error_required_p_CpuSpeed;
  66.     _root.ErrorStringCpuSpeedRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_CpuSpeed;
  67.     _root.ErrorStringCpuVendorRequirementMet = _root.generalError_main_error_required_p_CpuVendor;
  68.     _root.ErrorStringCpuVendorRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_CpuVendor;
  69.     _root.ErrorStringDiskSpaceRequirementMet = _root.generalError_main_error_required_p_DiskSpace;
  70.     _root.ErrorStringDiskSpaceRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_DiskSpace;
  71.     _root.ErrorStringDiskSpaceOnSystemRequirementMet = _root.generalError_main_error_required_p_DiskSpaceOnSystem;
  72.     _root.ErrorStringDiskSpaceOnSystemRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_DiskSpaceOnSystem;
  73.     _root.ErrorStringOsRequirementMet = _root.generalError_main_error_required_p_Os;
  74.     _root.ErrorStringOsRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_Os;
  75.  
  76.     _root.ErrorStringAppendage = _root.generalError_main_p_append;
  77.  
  78.     _level0.ShowSWF();
  79. }
  80.  
  81. function LoadNICDriversNotFoundVars()
  82. {
  83.     //Text
  84.     _root.NicDriversNotFoundTitle = _root.NICDriverNotFound_main_title;
  85.     _root.NicDriversNotFoundText = _root.NICDriverNotFound_main_p_default;
  86.  
  87.     //NonStandard Buttons
  88.     _root.NICDriverNotFoundShutdownBtnText = _root.NICDriverNotFound_nav_button_shutdown;
  89.  
  90.     //Buttons
  91.     _root.MoreBtnText = _root.NICDriverNotFound_nav_button_more;
  92.     _root.CancelBtnText = _root.NICDriverNotFound_nav_button_cancel;
  93.  
  94.     //Help Box
  95.     _root.NICDriversNotFoundDefaultHelp = _root.NICDriverNotFound_help_p_default;
  96.  
  97.     //Hint Box
  98.     _root.NICDriversNotFoundDefaultHint = _root.NICDriverNotFound_hint_p_default;
  99.  
  100.     HelpControlInstance.SetDisplayText(_root.NICDriversNotFoundDefaultHelp);
  101.     HintBoxInstance.SetDisplayText(_root.NICDriversNotFoundDefaultHint);
  102.  
  103.  
  104.     _root.FixVarsSwfFile = _root.NICDriverNotFound_nav_swf;
  105.  
  106.  
  107.     _level0.ShowSWF();
  108. }
  109.  
  110. function LoadNoPhysiscalNicsVars()
  111. {
  112.     //Text
  113.     _root.NoPhysicalNicsTitle = _root.NoPhysicalNICs_main_title;
  114.     _root.NoPhysicalNicsText = _root.NoPhysicalNICs_main_p_default;
  115.  
  116.     //NonStandard Buttons
  117.     _root.NoPhysiscalNicsShutdownBtn = _root.NoPhysicalNICs_nav_button_shutdown;
  118.  
  119.     //Buttons
  120.     _root.MoreBtnText = _root.NoPhysicalNICs_nav_button_more;
  121.     _root.CancelBtnText = _root.NoPhysicalNICs_nav_button_cancel;
  122.  
  123.  
  124.     //Help Box
  125.     _root.NoPhysicalNicsDefaultHelp = _root.NoPhysicalNICs_help_p_default;
  126.  
  127.     //Hint Box
  128.     _root.NoPhysicalNicsDefaultHint = _root.NoPhysicalNICs_hint_p_default;
  129.  
  130.     HelpControlInstance.SetDisplayText(_root.NoPhysicalNicsDefaultHelp);
  131.     HintBoxInstance.SetDisplayText(_root.NoPhysicalNicsDefaultHint);
  132.  
  133.  
  134.     _root.FixVarsSwfFile = _root.NoPhysicalNICs_nav_swf;
  135.  
  136.     _level0.ShowSWF();
  137. }
  138.  
  139. function LoadNoFunctionNICSVars()
  140. {
  141.     //Text
  142.     _root.NoFunctionNICSTitle = _root.NoFunctioningNICs_main_title;
  143.     _root.NoFunctionNICSText = _root.NoFunctioningNICs_main_p_default;
  144.  
  145.     //NonStandard Buttons
  146.     _root.NoFunctionNICSFixBtn = _root.NoFunctioningNICs_nav_button_fix;
  147.  
  148.     //Buttons
  149.     _root.MoreBtnText = _root.NoFunctioningNICs_nav_button_more;
  150.     _root.CancelBtnText = _root.NoFunctioningNICs_nav_button_cancel;
  151.  
  152.     //Help Box
  153.     _root.NoFunctionNICSDefaultHelp = _root.NoFunctioningNICs_help_p_default;
  154.  
  155.     //Hint Box
  156.     _root.NoFunctionNICSDefaultHint = _root.NoFunctioningNICs_hint_p_default;
  157.  
  158.     HelpControlInstance.SetDisplayText(_root.NoFunctionNICSDefaultHelp);
  159.     HintBoxInstance.SetDisplayText(_root.NoFunctionNICSDefaultHint);
  160.  
  161.  
  162.     _root.FixVarsSwfFile = _root.NoFunctioningNICs_nav_swf;
  163.  
  164.     _level0.ShowSWF();
  165. }
  166.  
  167. function LoadTCPIPNotInstalledVars()
  168. {
  169.     //Text
  170.     _root.TCPIPNotInstalledTitle = _root.TCPIPNotInstalled_main_title;
  171.     _root.TCPIPNotInstalledText = _root.TCPIPNotInstalled_main_p_default;
  172.  
  173.     //NonStandard Buttons
  174.     _root.TCPIPNotInstalledFixBtn = _root.TCPIPNotInstalled_nav_button_fix;
  175.  
  176.     //Buttons
  177.     _root.MoreBtnText = _root.TCPIPNotInstalled_nav_button_more;
  178.     _root.CancelBtnText = _root.TCPIPNotInstalled_nav_button_cancel;
  179.  
  180.     //Help Box
  181.     _root.TCPIPNotInstalledDefaultHelp = _root.TCPIPNotInstalled_help_p_default;
  182.  
  183.     //Hint Box
  184.     _root.TCPIPNotInstalledDefaultHint = _root.TCPIPNotInstalled_hint_p_default;
  185.  
  186.     HelpControlInstance.SetDisplayText(_root.TCPIPNotInstalledDefaultHelp);
  187.     HintBoxInstance.SetDisplayText(_root.TCPIPNotInstalledDefaultHint);
  188.  
  189.  
  190.     _root.FixVarsSwfFile = _root.TCPIPNotInstalled_nav_swf;
  191.  
  192.     _level0.ShowSWF();
  193. }
  194.  
  195. function LoadRequiredNicsNotFoundVars()
  196. {
  197.     //Text
  198.     _root.RequiredNicsNotFoundTitle = _root.RequiredNICAbsent_main_title;
  199.     _root.RequiredNicsNotFoundText = _root.RequiredNICAbsent_main_p_default;
  200.  
  201.     //NonStandard Buttons
  202.     _root.RequiredNicsNotFoundShutdownBtn = _root.RequiredNICAbsent_nav_button_shutdown;
  203.  
  204.     //Buttons
  205.     _root.MoreBtnText = _root.RequiredNICAbsent_nav_button_more;
  206.     _root.CancelBtnText = _root.RequiredNICAbsent_nav_button_cancel;
  207.  
  208.     //Help Box
  209.     _root.RequiredNicsNotFoundDefaultHelp = _root.RequiredNICAbsent_help_p_default;
  210.  
  211.     //Hint Box
  212.     _root.RequiredNicsNotFoundDefaultHint = _root.RequiredNICAbsent_hint_p_default;
  213.  
  214.     HelpControlInstance.SetDisplayText(_root.RequiredNicsNotFoundDefaultHelp);
  215.     HintBoxInstance.SetDisplayText(_root.RequiredNicsNotFoundDefaultHint);
  216.  
  217.  
  218.     _root.FixVarsSwfFile = _root.RequiredNICAbsent_nav_swf;
  219.  
  220.     _level0.ShowSWF();
  221. }
  222.  
  223. function LoadRequiredNicGhostVars()
  224. {
  225.     //Text
  226.     _root.RequiredNicGhostTitle = _root.RequiredNICGhost_main_title;
  227.     _root.RequiredNicGhostText = _root.RequiredNICGhost_main_p_default;
  228.  
  229.     //NonStandard Buttons
  230.     _root.RequiredNicGhostShutdownBtn = _root.RequiredNICGhost_nav_button_shutdown;
  231.  
  232.     //Buttons
  233.     _root.MoreBtnText = _root.RequiredNICGhost_nav_button_more;
  234.     _root.CancelBtnText = _root.RequiredNICGhost_nav_button_cancel;
  235.  
  236.     //Help Box
  237.     _root.RequiredNicGhostDefaultHelp = _root.RequiredNICGhost_help_p_default;
  238.  
  239.     //Hint Box
  240.     _root.RequiredNicGhostDefaultHint = _root.RequiredNICGhost_hint_p_default;
  241.  
  242.     HelpControlInstance.SetDisplayText(_root.RequiredNicGhostDefaultHelp);
  243.     HintBoxInstance.SetDisplayText(_root.RequiredNicGhostDefaultHint);
  244.  
  245.  
  246.     _root.FixVarsSwfFile = _root.RequiredNICGhost_nav_swf;
  247.  
  248.     _level0.ShowSWF();
  249. }
  250.  
  251. function LoadRequiredNicDisabledVars()
  252. {
  253.     //Text
  254.     _root.RequiredNicDisabledTitle = _root.RequiredNICDisabled_main_title;
  255.     _root.RequiredNicDisabledText = _root.RequiredNICDisabled_main_p_default;
  256.  
  257.     //NonStandard Buttons
  258.     _root.RequiredNicDisabledFixBtn = _root.RequiredNICDisabled_nav_button_fix;
  259.  
  260.     //Buttons
  261.     _root.MoreBtnText = _root.RequiredNICDisabled_nav_button_more;
  262.     _root.CancelBtnText = _root.RequiredNICDisabled_nav_button_cancel;
  263.  
  264.     //Help Box
  265.     _root.RequiredNicDisabledDefaultHelp = _root.RequiredNICDisabled_help_p_default;
  266.  
  267.     //Hint Box
  268.     _root.RequiredNicDisabledDefaultHint = _root.RequiredNICDisabled_hint_p_default;
  269.  
  270.     HelpControlInstance.SetDisplayText(_root.RequiredNicDisabledDefaultHelp);
  271.     HintBoxInstance.SetDisplayText(_root.RequiredNicDisabledDefaultHint);
  272.  
  273.  
  274.     _root.FixVarsSwfFile = _root.RequiredNICDisabled_nav_swf;
  275.  
  276.     _level0.ShowSWF();
  277. }
  278.  
  279. function LoadRequiredNicNoTcpipVars()
  280. {
  281.     PerformStandardCreations("RequiredNicNoTcpip", "RequiredNICNotTCPIP", "1", "0");
  282.  
  283.  
  284.     _root.FixVarsSwfFile = _root.RequiredNICNotTCPIP_nav_swf;
  285.  
  286.     _level0.ShowSWF();
  287. }
  288.  
  289.  
  290. function LoadMustBindTcpipVars()
  291. {
  292.     PerformStandardCreations("MustBindTcpip", "MustBindTCPIP", "1", "0");
  293.  
  294.     
  295.     _root.FixVarsSwfFile = _root.MustBindTCPIP_nav_swf;
  296.  
  297.     _level0.ShowSWF();
  298. }
  299.  
  300. function LoadMustEnableNicVars()
  301. {
  302.     PerformStandardCreations("MustEnableNic", "MustEnableNIC", "1", "0");
  303.  
  304.  
  305.     _root.FixVarsSwfFile = _root.MustEnableNIC_nav_swf;
  306.  
  307.     _level0.ShowSWF();
  308. }
  309.  
  310. function LoadRequiredNicMalfunctioningVars()
  311. {
  312.     PerformStandardCreations("RequiredNicMalfunctioning", "RequiredNICMalfunctioning", "1", "0");
  313.  
  314.  
  315.     _root.FixVarsSwfFile = _root.RequiredNICMalfunctioning_nav_swf;
  316.  
  317.     _level0.ShowSWF();
  318. }
  319.  
  320.  
  321. function LoadRecommendedGeneralRequirementNotMetVars()
  322. {
  323.     PerformStandardCreations("RecommendedGeneralRequirementNotMet", "RecommendedGeneralRequirementsNotMet", "1", "0", 1);
  324.  
  325.  
  326.     //ErrorStrings
  327.     _root.ErrorStringRamRequirementMet = _root.generalError_main_error_required_p_RAM;
  328.     _root.ErrorStringRamRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_RAM;
  329.     _root.ErrorStringCpuSpeedRequirementMet = _root.generalError_main_error_required_p_CpuSpeed;
  330.     _root.ErrorStringCpuSpeedRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_CpuSpeed;
  331.     _root.ErrorStringCpuVendorRequirementMet = _root.generalError_main_error_required_p_CpuVendor;
  332.     _root.ErrorStringCpuVendorRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_CpuVendor;
  333.     _root.ErrorStringDiskSpaceRequirementMet = _root.generalError_main_error_required_p_DiskSpace;
  334.     _root.ErrorStringDiskSpaceRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_DiskSpace;
  335.     _root.ErrorStringDiskSpaceOnSystemRequirementMet = _root.generalError_main_error_required_p_DiskSpaceOnSystem;
  336.     _root.ErrorStringDiskSpaceOnSystemRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_DiskSpaceOnSystem;
  337.     _root.ErrorStringOsRequirementMet = _root.generalError_main_error_required_p_Os;
  338.     _root.ErrorStringOsRecommendationMet = _root.RecommendedGeneralRequirementsNotMet_main_error_recommended_p_Os;
  339.  
  340.     _root.ErrorStringAppendage = _root.RecommendedGeneralRequirementsNotMet_main_p_append;
  341.  
  342.     _level0.ShowSWF();
  343. }
  344.  
  345. function LoadRestartRequiredVars()
  346. {
  347.     PerformStandardCreations("RestartRequired", "RebootPrompt", "2", "0");
  348.  
  349.     _level0.ShowSWF();
  350. }
  351.  
  352. function LoadStatDialUpFoundVars()
  353. {
  354.     PerformStandardCreations("StatDialUpFound", "StaticDialupAdapterFound", "2", "0");
  355.  
  356.  
  357.     _root.FixVarsSwfFile = _root.StaticDialupAdapterFound_nav_swf;
  358.  
  359.     _level0.ShowSWF();
  360. }
  361.  
  362. function LoadMinReqCompleteVars()
  363. {
  364.     if (_root.MinReqComplete_control_minreq_show eq "no")
  365.     {
  366.         fscommand ("continue", "continue");
  367.     }
  368.  
  369.     PerformStandardCreations("MinReqComplete", "MinReqComplete", "2", "0", 1);
  370.  
  371.     _level0.ShowSWF();
  372. }
  373.  
  374.  
  375. function LoadRequiredNicUnknownVars()
  376. {
  377.     PerformStandardCreations("RequiredNicUnknown", "RequiredNICUnknown", "2", "0");
  378.  
  379.  
  380.     _root.FixVarsSwfFile = _root.RequiredNICUnknown_nav_swf;
  381.  
  382.     _level0.ShowSWF();
  383. }
  384.  
  385.  
  386. function LoadNoKnownNicsVars()
  387. {
  388.     PerformStandardCreations("NoKnownNics", "NoKnownNICs", "2", "0");
  389.  
  390.  
  391.     _root.FixVarsSwfFile = _root.NoKnownNICs_nav_swf;
  392.  
  393.     _level0.ShowSWF();
  394. }
  395.  
  396. function LoadDetailsVars()
  397. {
  398.     _root.ActualOs_friendly = GetFriendlyOS(_root.ActualOs);
  399.  
  400.     if (_level0.MstrSwfEnabled != undefined)
  401.     {
  402.         _root.DetailsText = _level0.Transform(_root.Details_main_p_default);
  403.     }
  404.     else
  405.     {
  406.         _root.DetailsText = XMLParserInstance.Transform(_root.Details_main_p_default);
  407.     }
  408.  
  409.     //Text
  410.     _root.DetailsTitle = _root.Details_main_title;
  411.  
  412.     //NonStandard Buttons
  413.     _root.BackBtnText = _root.Details_nav_button_back
  414.     _root.PrintBtnText = _root.Details_nav_button_print
  415.  
  416.     //Buttons
  417.     _root.MoreBtnText = _root.Details_nav_button_more;
  418.     _root.CancelBtnText = _root.Details_nav_button_cancel;
  419.  
  420.     //Help Box
  421.     _root.DetailsDefaultHelp = _root.Details_help_p_default;
  422.  
  423.     //Hint Box
  424.     _root.DetailsDefaultHint = _root.Details_hint_p_default;
  425.  
  426.     HelpControlInstance.SetDisplayText(_root.DetailsDefaultHelp);
  427.     HintBoxInstance.SetDisplayText(_root.DetailsDefaultHint);
  428.  
  429.     _level0.ShowSWF();
  430. }