Add exported Settings menu ActionScript assets
Adds the generated Settings UI export under `Interface/exported/scripts/Settings`, including embedded symbol wrappers for main menu panels, list components, and option entries. This introduces the new `SettingsOptionItem`, `SettingsList`, and category list entry classes, plus the corresponding `assets.swf` bundle needed to back these symbols at runtime.
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import flash.display.MovieClip;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol64")]
|
||||
public dynamic class BSButtonHint_IconHolder_56 extends MovieClip
|
||||
{
|
||||
|
||||
public var IconAnimInstance:MovieClip;
|
||||
|
||||
public function BSButtonHint_IconHolder_56()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,59,this.frame60);
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame60() : *
|
||||
{
|
||||
gotoAndPlay("Flashing");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol135")]
|
||||
public dynamic class ControlsFader_38 extends MovieClip
|
||||
{
|
||||
|
||||
public var List_mc:InputMappingList;
|
||||
|
||||
public function ControlsFader_38()
|
||||
{
|
||||
super();
|
||||
this.__setProp_List_mc_ControlsFader_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_List_mc_ControlsFader_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.List_mc.disableSelection = false;
|
||||
this.List_mc.listEntryClass = "InputMappingListEntry";
|
||||
this.List_mc.numListItems = 8;
|
||||
this.List_mc.restoreListIndex = true;
|
||||
this.List_mc.textOption = "None";
|
||||
this.List_mc.verticalSpacing = 1.2;
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import flash.display.MovieClip;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol136")]
|
||||
public dynamic class ControlsPanel_37 extends MovieClip
|
||||
{
|
||||
|
||||
public var Fader_mc:MovieClip;
|
||||
|
||||
public function ControlsPanel_37()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol117")]
|
||||
public dynamic class DLCPanel_16 extends MovieClip
|
||||
{
|
||||
|
||||
public var DLCInstalledText_tf:TextField;
|
||||
|
||||
public var EmptyWarning_mc:MovieClip;
|
||||
|
||||
public var List_mc:DLCList;
|
||||
|
||||
public function DLCPanel_16()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,3,this.frame4,5,this.frame6);
|
||||
this.__setProp_List_mc_DLCPanel_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_List_mc_DLCPanel_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.List_mc.disableSelection = true;
|
||||
this.List_mc.listEntryClass = "DLCListEntry";
|
||||
this.List_mc.numListItems = 8;
|
||||
this.List_mc.restoreListIndex = true;
|
||||
this.List_mc.textOption = "Shrink To Fit";
|
||||
this.List_mc.verticalSpacing = 0;
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame4() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame6() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import flash.display.MovieClip;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol28")]
|
||||
public dynamic class EquippedIcon_87 extends MovieClip
|
||||
{
|
||||
|
||||
public function EquippedIcon_87()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1);
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol134")]
|
||||
public dynamic class HelpPanel_mc_34 extends MovieClip
|
||||
{
|
||||
|
||||
public var HelpListBrackets_mc:MovieClip;
|
||||
|
||||
public var HelpList_mc:HelpList;
|
||||
|
||||
public var background_mc:MovieClip;
|
||||
|
||||
public function HelpPanel_mc_34()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
this.__setProp_HelpList_mc_HelpPanel_mc_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_HelpList_mc_HelpPanel_mc_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.HelpList_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.HelpList_mc.disableSelection = false;
|
||||
this.HelpList_mc.listEntryClass = "MainMenuHelpListEntry";
|
||||
this.HelpList_mc.numListItems = 12;
|
||||
this.HelpList_mc.restoreListIndex = true;
|
||||
this.HelpList_mc.textOption = "None";
|
||||
this.HelpList_mc.verticalSpacing = 0;
|
||||
try
|
||||
{
|
||||
this.HelpList_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+88
@@ -0,0 +1,88 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol128")]
|
||||
public dynamic class InstalledContentPanel_mc_30 extends MovieClip
|
||||
{
|
||||
|
||||
public var InstalledContentListBrackets_mc:MovieClip;
|
||||
|
||||
public var InstalledContentList_mc:InstalledContentList;
|
||||
|
||||
public var background_mc:MovieClip;
|
||||
|
||||
public function InstalledContentPanel_mc_30()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
this.__setProp_InstalledContentList_mc_InstalledContentPanel_mc_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_InstalledContentList_mc_InstalledContentPanel_mc_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.InstalledContentList_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.InstalledContentList_mc.disableSelection = false;
|
||||
this.InstalledContentList_mc.listEntryClass = "MainMenuInstalledContentListEntry";
|
||||
this.InstalledContentList_mc.numListItems = 12;
|
||||
this.InstalledContentList_mc.restoreListIndex = true;
|
||||
this.InstalledContentList_mc.textOption = "None";
|
||||
this.InstalledContentList_mc.verticalSpacing = 0;
|
||||
try
|
||||
{
|
||||
this.InstalledContentList_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol148")]
|
||||
public dynamic class MainListPanel_49 extends MovieClip
|
||||
{
|
||||
|
||||
public var List_mc:MainMenuList;
|
||||
|
||||
public var MainPanelBackground_mc:MovieClip;
|
||||
|
||||
public function MainListPanel_49()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
this.__setProp_List_mc_MainListPanel_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_List_mc_MainListPanel_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.List_mc.disableSelection = false;
|
||||
this.List_mc.listEntryClass = "MainMenuListEntry";
|
||||
this.List_mc.numListItems = 9;
|
||||
this.List_mc.restoreListIndex = true;
|
||||
this.List_mc.textOption = "None";
|
||||
this.List_mc.verticalSpacing = 1.2;
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
gotoAndPlay("start");
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol138")]
|
||||
public dynamic class OptionsListFader_41 extends MovieClip
|
||||
{
|
||||
|
||||
public var List_mc:OptionsList;
|
||||
|
||||
public function OptionsListFader_41()
|
||||
{
|
||||
super();
|
||||
this.__setProp_List_mc_OptionsListFader_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_List_mc_OptionsListFader_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.List_mc.disableSelection = false;
|
||||
this.List_mc.listEntryClass = "SettingsOptionItem";
|
||||
this.List_mc.numListItems = 8;
|
||||
this.List_mc.restoreListIndex = true;
|
||||
this.List_mc.textOption = "None";
|
||||
this.List_mc.verticalSpacing = 0.6;
|
||||
try
|
||||
{
|
||||
this.List_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import flash.display.MovieClip;
|
||||
import flash.text.TextField;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol139")]
|
||||
public dynamic class OptionsListPanel_40 extends MovieClip
|
||||
{
|
||||
|
||||
public var Fader_mc:MovieClip;
|
||||
|
||||
public var GuideText_tf:TextField;
|
||||
|
||||
public function OptionsListPanel_40()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import flash.display.MovieClip;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol140")]
|
||||
public dynamic class SaveLoadPanelHolder_43 extends MovieClip
|
||||
{
|
||||
|
||||
public var Panel_mc:SaveLoadPanel;
|
||||
|
||||
public var icsaveLoadList_mc:MovieClip;
|
||||
|
||||
public function SaveLoadPanelHolder_43()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol118")]
|
||||
public dynamic class SettingsListPanel_25 extends MovieClip
|
||||
{
|
||||
|
||||
public var SettingsList_mc:SettingsList;
|
||||
|
||||
public function SettingsListPanel_25()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
this.__setProp_SettingsList_mc_SettingsListPanel_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_SettingsList_mc_SettingsListPanel_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.SettingsList_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.SettingsList_mc.disableSelection = false;
|
||||
this.SettingsList_mc.listEntryClass = "SettingsCategoryListEntry";
|
||||
this.SettingsList_mc.numListItems = 4;
|
||||
this.SettingsList_mc.restoreListIndex = true;
|
||||
this.SettingsList_mc.textOption = "None";
|
||||
this.SettingsList_mc.verticalSpacing = 0;
|
||||
try
|
||||
{
|
||||
this.SettingsList_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import adobe.utils.*;
|
||||
import flash.accessibility.*;
|
||||
import flash.desktop.*;
|
||||
import flash.display.*;
|
||||
import flash.errors.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.filters.*;
|
||||
import flash.geom.*;
|
||||
import flash.globalization.*;
|
||||
import flash.media.*;
|
||||
import flash.net.*;
|
||||
import flash.net.drm.*;
|
||||
import flash.printing.*;
|
||||
import flash.profiler.*;
|
||||
import flash.sampler.*;
|
||||
import flash.sensors.*;
|
||||
import flash.system.*;
|
||||
import flash.text.*;
|
||||
import flash.text.engine.*;
|
||||
import flash.text.ime.*;
|
||||
import flash.ui.*;
|
||||
import flash.utils.*;
|
||||
import flash.xml.*;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol118")]
|
||||
public dynamic class SettingsListPanel_25 extends MovieClip
|
||||
{
|
||||
|
||||
public var SettingsList_mc:SettingsList;
|
||||
|
||||
public function SettingsListPanel_25()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
this.__setProp_SettingsList_mc_SettingsListPanel_List_0();
|
||||
}
|
||||
|
||||
internal function __setProp_SettingsList_mc_SettingsListPanel_List_0() : *
|
||||
{
|
||||
try
|
||||
{
|
||||
this.SettingsList_mc["componentInspectorSetting"] = true;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
this.SettingsList_mc.disableSelection = false;
|
||||
this.SettingsList_mc.listEntryClass = "SettingsCategoryListEntry";
|
||||
this.SettingsList_mc.numListItems = 4;
|
||||
this.SettingsList_mc.restoreListIndex = true;
|
||||
this.SettingsList_mc.textOption = "None";
|
||||
this.SettingsList_mc.verticalSpacing = 0;
|
||||
try
|
||||
{
|
||||
this.SettingsList_mc["componentInspectorSetting"] = false;
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
visible = true;
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
visible = false;
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
package MainMenu_fla
|
||||
{
|
||||
import Shared.AS3.BSButtonHint;
|
||||
import flash.display.MovieClip;
|
||||
import flash.text.TextField;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol152")]
|
||||
public dynamic class Upsell_53 extends MovieClip
|
||||
{
|
||||
|
||||
public var MainPanelBackground_mc:MovieClip;
|
||||
|
||||
public var Upsell_Button_mc:BSButtonHint;
|
||||
|
||||
public var Upsell_tf:TextField;
|
||||
|
||||
public function Upsell_53()
|
||||
{
|
||||
super();
|
||||
addFrameScript(0,this.frame1,2,this.frame3,4,this.frame5);
|
||||
}
|
||||
|
||||
internal function frame1() : *
|
||||
{
|
||||
gotoAndPlay("start");
|
||||
}
|
||||
|
||||
internal function frame3() : *
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
internal function frame5() : *
|
||||
{
|
||||
stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package
|
||||
{
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol26")]
|
||||
public dynamic class SettingsCategoryListEntry extends MainMenuListEntry
|
||||
{
|
||||
|
||||
public function SettingsCategoryListEntry()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package
|
||||
{
|
||||
import Shared.AS3.BSScrollingList;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol84")]
|
||||
public dynamic class SettingsList extends BSScrollingList
|
||||
{
|
||||
|
||||
public function SettingsList()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,213 @@
|
||||
package
|
||||
{
|
||||
import Shared.AS3.BSScrollingListEntry;
|
||||
import Shared.GlobalFunc;
|
||||
import flash.display.MovieClip;
|
||||
import flash.events.Event;
|
||||
import flash.events.KeyboardEvent;
|
||||
import flash.geom.ColorTransform;
|
||||
import scaleform.gfx.Extensions;
|
||||
import scaleform.gfx.TextFieldEx;
|
||||
|
||||
[Embed(source="/_assets/assets.swf", symbol="symbol41")]
|
||||
public class SettingsOptionItem extends BSScrollingListEntry
|
||||
{
|
||||
|
||||
public static const VALUE_CHANGE:String = "SettingsOptionItem::value_change";
|
||||
|
||||
private var OptionItem:MovieClip;
|
||||
|
||||
private var uiMovieType:uint;
|
||||
|
||||
private var uiID:uint;
|
||||
|
||||
private var bHUDColorUpdate:Boolean;
|
||||
|
||||
private var bPipboyColorUpdate:Boolean;
|
||||
|
||||
private var bDifficultyUpdate:Boolean;
|
||||
|
||||
public function SettingsOptionItem()
|
||||
{
|
||||
super();
|
||||
this.uiID = uint.MAX_VALUE;
|
||||
this.bHUDColorUpdate = false;
|
||||
this.bPipboyColorUpdate = false;
|
||||
addEventListener(Option_Checkbox.VALUE_CHANGE,this.onValueChange);
|
||||
addEventListener(Option_OptionStepper.VALUE_CHANGE,this.onValueChange);
|
||||
addEventListener(Option_Scrollbar.VALUE_CHANGE,this.onValueChange);
|
||||
Extensions.enabled = true;
|
||||
TextFieldEx.setTextAutoSize(textField,"shrink");
|
||||
}
|
||||
|
||||
public function get movieType() : uint
|
||||
{
|
||||
return this.uiMovieType;
|
||||
}
|
||||
|
||||
public function set movieType(param1:uint) : *
|
||||
{
|
||||
this.uiMovieType = param1;
|
||||
if(this.OptionItem != null)
|
||||
{
|
||||
removeChild(this.OptionItem);
|
||||
this.OptionItem = null;
|
||||
}
|
||||
switch(this.uiMovieType)
|
||||
{
|
||||
case 0:
|
||||
this.OptionItem = new Option_Scrollbar();
|
||||
break;
|
||||
case 1:
|
||||
this.OptionItem = new Option_OptionStepper();
|
||||
break;
|
||||
case 2:
|
||||
this.OptionItem = new Option_Checkbox();
|
||||
}
|
||||
addChild(this.OptionItem);
|
||||
this.OptionItem.x = 210;
|
||||
this.OptionItem.y = -1;
|
||||
}
|
||||
|
||||
public function get ID() : uint
|
||||
{
|
||||
return this.uiID;
|
||||
}
|
||||
|
||||
public function set ID(param1:uint) : *
|
||||
{
|
||||
this.uiID = param1;
|
||||
}
|
||||
|
||||
public function get hudColorUpdate() : Boolean
|
||||
{
|
||||
return this.bHUDColorUpdate;
|
||||
}
|
||||
|
||||
public function set hudColorUpdate(param1:Boolean) : *
|
||||
{
|
||||
this.bHUDColorUpdate = param1;
|
||||
}
|
||||
|
||||
public function get pipboyColorUpdate() : Boolean
|
||||
{
|
||||
return this.bPipboyColorUpdate;
|
||||
}
|
||||
|
||||
public function set pipboyColorUpdate(param1:Boolean) : *
|
||||
{
|
||||
this.bPipboyColorUpdate = param1;
|
||||
}
|
||||
|
||||
public function get difficultyUpdate() : Boolean
|
||||
{
|
||||
return this.bDifficultyUpdate;
|
||||
}
|
||||
|
||||
public function set difficultyUpdate(param1:Boolean) : void
|
||||
{
|
||||
this.bDifficultyUpdate = param1;
|
||||
}
|
||||
|
||||
public function get value() : Number
|
||||
{
|
||||
var _loc1_:Number = NaN;
|
||||
switch(this.uiMovieType)
|
||||
{
|
||||
case 0:
|
||||
_loc1_ = (this.OptionItem as Option_Scrollbar).value;
|
||||
break;
|
||||
case 1:
|
||||
_loc1_ = (this.OptionItem as Option_OptionStepper).index;
|
||||
break;
|
||||
case 2:
|
||||
_loc1_ = (this.OptionItem as Option_Checkbox).checked ? 1 : 0;
|
||||
}
|
||||
return _loc1_;
|
||||
}
|
||||
|
||||
public function set value(param1:Number) : *
|
||||
{
|
||||
switch(this.uiMovieType)
|
||||
{
|
||||
case 0:
|
||||
(this.OptionItem as Option_Scrollbar).value = param1;
|
||||
break;
|
||||
case 1:
|
||||
(this.OptionItem as Option_OptionStepper).index = param1;
|
||||
break;
|
||||
case 2:
|
||||
(this.OptionItem as Option_Checkbox).checked = param1 == 1 ? true : false;
|
||||
}
|
||||
}
|
||||
|
||||
public function SetOptionStepperOptions(param1:Array) : *
|
||||
{
|
||||
if(this.uiMovieType == 1)
|
||||
{
|
||||
(this.OptionItem as Option_OptionStepper).options = param1;
|
||||
}
|
||||
}
|
||||
|
||||
override public function SetEntryText(param1:Object, param2:String) : *
|
||||
{
|
||||
var _loc3_:ColorTransform = null;
|
||||
super.SetEntryText(param1,param2);
|
||||
if(this.border != null)
|
||||
{
|
||||
this.border.alpha = this.selected ? GlobalFunc.SELECTED_RECT_ALPHA : 0;
|
||||
}
|
||||
if(this.textField != null)
|
||||
{
|
||||
this.textField.textColor = this.selected ? 0 : 16777215;
|
||||
}
|
||||
if(this.OptionItem != null)
|
||||
{
|
||||
_loc3_ = this.OptionItem.transform.colorTransform;
|
||||
_loc3_.redOffset = this.selected ? -255 : 0;
|
||||
_loc3_.greenOffset = this.selected ? -255 : 0;
|
||||
_loc3_.blueOffset = this.selected ? -255 : 0;
|
||||
this.OptionItem.transform.colorTransform = _loc3_;
|
||||
}
|
||||
}
|
||||
|
||||
public function onItemPressed() : *
|
||||
{
|
||||
if(this.OptionItem != null)
|
||||
{
|
||||
switch(this.uiMovieType)
|
||||
{
|
||||
case 1:
|
||||
(this.OptionItem as Option_OptionStepper).onItemPressed();
|
||||
break;
|
||||
case 2:
|
||||
(this.OptionItem as Option_Checkbox).onItemPressed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function HandleKeyboardInput(param1:KeyboardEvent) : *
|
||||
{
|
||||
if(this.OptionItem != null)
|
||||
{
|
||||
switch(this.uiMovieType)
|
||||
{
|
||||
case 0:
|
||||
(this.OptionItem as Option_Scrollbar).HandleKeyboardInput(param1);
|
||||
break;
|
||||
case 1:
|
||||
(this.OptionItem as Option_OptionStepper).HandleKeyboardInput(param1);
|
||||
break;
|
||||
case 2:
|
||||
(this.OptionItem as Option_Checkbox).HandleKeyboardInput(param1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private function onValueChange(param1:Event) : *
|
||||
{
|
||||
dispatchEvent(new Event(VALUE_CHANGE,true,true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user