home *** CD-ROM | disk | FTP | other *** search
- function LayoutFrameRecommended()
- {
- _level0.SetText("Title0",_root.generalError_main_title_recommended,_root.GeneralError_identifier);
- _level0.SetText("Text0",_root.generalError_main_p_recommended,_root.GeneralError_identifier);
- _level0.SetHintText(_root.generalError_hint_p_recommended,_root.GeneralError_identifier);
- _level0.SetHelpText(_root.generalError_help_p_recommended,_root.GeneralError_identifier);
- var CancelButton = _level0.RequestButton("CancelButton","CancelButtonPlacement",_root.GeneralError_identifier);
- var MoreButton = _level0.RequestButton("MoreButton","MoreButtonPlacement",_root.GeneralError_identifier);
- var DetailsBtn = _level0.RequestButton("DetailsBtn","DetailsButtonPlacement",_root.GeneralError_identifier);
- var NextBtn = _level0.RequestButton("NextBtn","NextButtonPlacement",_root.GeneralError_identifier);
- CancelButton.TextBox.Text = _root.generalError_nav_button_cancel;
- MoreButton.TextBox.Text = _root.generalError_nav_button_more;
- DetailsBtn.TextBox.Text = _root.generalError_nav_button_details;
- NextBtn.TextBox.Text = _root.generalError_nav_button_next;
- CancelButton.OnRelease = function()
- {
- fscommand("cancel","cancel");
- _level0.FireSignal(_root.GeneralError_identifier);
- };
- DetailsBtn.OnRelease = function()
- {
- JumpToDetails(RecommendedGeneralRequirementsNotMet);
- };
- MoreButton.OnRelease = function()
- {
- _level0.ToggleHelp(_root.GeneralError_identifier);
- };
- NextBtn.OnRelease = function()
- {
- fscommand("continue","continue");
- _level0.FireSignal(_root.GeneralError_identifier);
- };
- _level0.AddTabOrder("NextBtn",_root.GeneralError_identifier,true);
- _level0.AddTabOrder("DetailsBtn",_root.GeneralError_identifier);
- _level0.AddTabOrder("CancelButton",_root.GeneralError_identifier);
- _root.ErrorStringRamRequirementMet = _root.generalError_main_error_required_p_RAM;
- _root.ErrorStringRamRecommendationMet = _root.generalError_main_error_recommended_p_RAM;
- _root.ErrorStringCpuSpeedRequirementMet = _root.generalError_main_error_required_p_CpuSpeed;
- _root.ErrorStringCpuSpeedRecommendationMet = _root.generalError_main_error_recommended_p_CpuSpeed;
- _root.ErrorStringCpuVendorRequirementMet = _root.generalError_main_error_required_p_CpuVendor;
- _root.ErrorStringCpuVendorRecommendationMet = _root.generalError_main_error_recommended_p_CpuVendor;
- _root.ErrorStringDiskSpaceRequirementMet = _root.generalError_main_error_required_p_DiskSpace;
- _root.ErrorStringDiskSpaceRecommendationMet = _root.generalError_main_error_recommended_p_DiskSpace;
- _root.ErrorStringDiskSpaceOnSystemRequirementMet = _root.generalError_main_error_required_p_DiskSpaceOnSystem;
- _root.ErrorStringDiskSpaceOnSystemRecommendationMet = _root.generalError_main_error_recommended_p_DiskSpaceOnSystem;
- _root.ErrorStringOsRequirementMet = _root.generalError_main_error_required_p_Os;
- _root.ErrorStringOsRecommendationMet = _root.generalError_main_error_recommended_p_Os;
- _root.TransformedErrorString = CreateGeneralErrorString(undefined,_root.generalError_main_p_append);
- _level0.Transform("TransformedErrorString");
- _level0.SetShowSwf(false);
- }
- function LayoutFrameRequired()
- {
- _level0.SetText("Title0",_root.generalError_main_title_required,_root.GeneralError_identifier);
- _level0.SetText("Text0",_root.generalError_main_p_required,_root.GeneralError_identifier);
- _level0.SetHintText(_root.generalError_hint_p_required,_root.GeneralError_identifier);
- _level0.SetHelpText(_root.generalError_help_p_required,_root.GeneralError_identifier);
- var CancelButton = _level0.RequestButton("CancelButton","CancelButtonPlacement",_root.GeneralError_identifier);
- var MoreButton = _level0.RequestButton("MoreButton","MoreButtonPlacement",_root.GeneralError_identifier);
- var DetailsBtn = _level0.RequestButton("DetailsBtn","DetailsButtonPlacement",_root.GeneralError_identifier);
- CancelButton.TextBox.Text = _root.generalError_nav_button_cancel;
- MoreButton.TextBox.Text = _root.generalError_nav_button_more;
- DetailsBtn.TextBox.Text = _root.generalError_nav_button_details;
- CancelButton.OnRelease = function()
- {
- fscommand("cancel","cancel");
- _level0.FireSignal(_root.GeneralError_identifier);
- };
- DetailsBtn.OnRelease = function()
- {
- JumpToDetails(GeneralError);
- };
- MoreButton.OnRelease = function()
- {
- _level0.ToggleHelp(_root.GeneralError_identifier);
- };
- _level0.AddTabOrder("DetailsBtn",_root.GeneralError_identifier,true);
- _level0.AddTabOrder("CancelButton",_root.GeneralError_identifier);
- _root.ErrorStringRamRequirementMet = _root.generalError_main_error_required_p_RAM;
- _root.ErrorStringRamRecommendationMet = _root.generalError_main_error_recommended_p_RAM;
- _root.ErrorStringCpuSpeedRequirementMet = _root.generalError_main_error_required_p_CpuSpeed;
- _root.ErrorStringCpuSpeedRecommendationMet = _root.generalError_main_error_recommended_p_CpuSpeed;
- _root.ErrorStringCpuVendorRequirementMet = _root.generalError_main_error_required_p_CpuVendor;
- _root.ErrorStringCpuVendorRecommendationMet = _root.generalError_main_error_recommended_p_CpuVendor;
- _root.ErrorStringDiskSpaceRequirementMet = _root.generalError_main_error_required_p_DiskSpace;
- _root.ErrorStringDiskSpaceRecommendationMet = _root.generalError_main_error_recommended_p_DiskSpace;
- _root.ErrorStringDiskSpaceOnSystemRequirementMet = _root.generalError_main_error_required_p_DiskSpaceOnSystem;
- _root.ErrorStringDiskSpaceOnSystemRecommendationMet = _root.generalError_main_error_recommended_p_DiskSpaceOnSystem;
- _root.ErrorStringOsRequirementMet = _root.generalError_main_error_required_p_Os;
- _root.ErrorStringOsRecommendationMet = _root.generalError_main_error_recommended_p_Os;
- _root.TransformedErrorString = CreateGeneralErrorString(undefined,_root.generalError_main_p_append);
- _level0.Transform("TransformedErrorString");
- _level0.SetShowSwf(false);
- }
- function TransformedErrorStringCB()
- {
- _level0.ShowTextScroller("ScrollerMedium",1,_root.TransformedErrorString,false,_root.GeneralError_identifier);
- _level0.SetShowSwf(true);
- }
- function LoadGeneralErrorVars()
- {
- if(_root.GeneralErrorType == 1)
- {
- _root.GeneralError_identifier = _level0.SetLayoutObject("StdLayout",_target,"LayoutFrameRequired",_root.GeneralError_identifier);
- }
- else
- {
- _root.GeneralError_identifier = _level0.SetLayoutObject("StdLayout",_target,"LayoutFrameRecommended",_root.GeneralError_identifier);
- }
- }
- function CreateGeneralErrorString(strErrorTextHeader, strErrorTextFooter)
- {
- var tempErrorText;
- tempErrorText = strErrorTextHeader;
- if(RamRequirementMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringRamRequirementMet;
- }
- else if(RamRecommendationMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringRamRecommendationMet;
- }
- if(CpuSpeedRequirementMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringCpuSpeedRequirementMet;
- }
- else if(CpuSpeedRecommendationMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringCpuSpeedRecommendationMet;
- }
- if(CpuVendorRequirementMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringCpuVendorRequirementMet;
- }
- else if(CpuVendorRecommendationMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringCpuVendorRecommendationMet;
- }
- if(DiskSpaceRequirementMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringDiskSpaceRequirementMet;
- }
- else if(DiskSpaceRecommendationMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringDiskSpaceRecommendationMet;
- }
- if(DiskSpaceOnSystemRequirementMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringDiskSpaceOnSystemRequirementMet;
- }
- else if(DiskSpaceOnSystemRecommendationMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringDiskSpaceOnSystemRecommendationMet;
- }
- if(OsRequirementMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringOsRequirementMet;
- }
- else if(OsRecommendationMet == "false")
- {
- tempErrorText = tempErrorText add _root.ErrorStringOsRecommendationMet;
- }
- return tempErrorText add strErrorTextFooter;
- }
-