Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //----------------------------------------------------------------------
- //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 20
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Instance of Symbol 19 MovieClip [DLCScrollBar] "scrollbar" in Symbol 21 MovieClip [ItemList] Frame 1
- //----------------------------------------------------------------------
- //component parameters
- onClipEvent (construct) {
- disabled = false;
- enableInitCallback = true;
- inspectableScrollTarget = "\"\"";
- offsetBottom = 0;
- offsetTop = 0;
- soundMap = {};
- soundMap.theme = "default";
- soundMap.scroll = "scroll";
- trackMode = "scrollPage";
- visible = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 12 MovieClip [ScrollBar_thumb] Frame 20
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 40
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 41 MovieClip [__Packages.skyui.components.list.BSList] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.BSList extends MovieClip
- {
- var _entryList, _selectedIndex;
- function BSList () {
- super();
- _entryList = new Array();
- _selectedIndex = -1;
- }
- function get entryList() {
- return(_entryList);
- }
- function get selectedIndex() {
- return(_selectedIndex);
- }
- function set selectedIndex(a_newIndex) {
- _selectedIndex = a_newIndex;
- //return(selectedIndex);
- }
- function get selectedEntry() {
- return(_entryList[_selectedIndex]);
- }
- function InvalidateData() {
- }
- function UpdateList() {
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 30
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 38 MovieClip [__Packages.Shared.GlobalFunc] Frame 0
- //----------------------------------------------------------------------
- class Shared.GlobalFunc
- {
- function GlobalFunc () {
- }
- static function Lerp(aTargetMin, aTargetMax, aSourceMin, aSourceMax, aSource, abClamp) {
- var _local1 = aTargetMin + (((aSource - aSourceMin) / (aSourceMax - aSourceMin)) * (aTargetMax - aTargetMin));
- if (abClamp) {
- _local1 = Math.min(Math.max(_local1, aTargetMin), aTargetMax);
- }
- return(_local1);
- }
- static function IsKeyPressed(aInputInfo, abProcessKeyHeldDown) {
- if (abProcessKeyHeldDown == undefined) {
- abProcessKeyHeldDown = true;
- }
- return((aInputInfo.value == "keyDown") || (abProcessKeyHeldDown && (aInputInfo.value == "keyHold")));
- }
- static function RoundDecimal(aNumber, aPrecision) {
- var _local1 = Math.pow(10, aPrecision);
- return(Math.round(_local1 * aNumber) / _local1);
- }
- static function MaintainTextFormat() {
- TextField.prototype.SetText = function (aText, abHTMLText) {
- if ((aText == undefined) || (aText == "")) {
- aText = " ";
- }
- var _local2 = this.getTextFormat();
- if (abHTMLText) {
- var _local4 = _local2.letterSpacing;
- var _local5 = _local2.kerning;
- this.htmlText = aText;
- _local2 = this.getTextFormat();
- _local2.letterSpacing = _local4;
- _local2.kerning = _local5;
- this.setTextFormat(_local2);
- return(undefined);
- }
- this.text = aText;
- this.setTextFormat(_local2);
- return(undefined);
- };
- _global.ASSetPropFlags(TextField.prototype, "SetText", 1, 0);
- }
- static function SetLockFunction() {
- MovieClip.prototype.Lock = function (aPosition) {
- var _local3 = {x:Stage.visibleRect.x + Stage.safeRect.x, y:Stage.visibleRect.y + Stage.safeRect.y};
- var _local4 = {x:(Stage.visibleRect.x + Stage.visibleRect.width) - Stage.safeRect.x, y:(Stage.visibleRect.y + Stage.visibleRect.height) - Stage.safeRect.y};
- this._parent.globalToLocal(_local3);
- this._parent.globalToLocal(_local4);
- if (((aPosition == "T") || (aPosition == "TL")) || (aPosition == "TR")) {
- this._y = _local3.y;
- }
- if (((aPosition == "B") || (aPosition == "BL")) || (aPosition == "BR")) {
- this._y = _local4.y;
- }
- if (((aPosition == "L") || (aPosition == "TL")) || (aPosition == "BL")) {
- this._x = _local3.x;
- }
- if (((aPosition == "R") || (aPosition == "TR")) || (aPosition == "BR")) {
- this._x = _local4.x;
- }
- };
- _global.ASSetPropFlags(MovieClip.prototype, "Lock", 1, 0);
- }
- static function AddMovieExploreFunctions() {
- MovieClip.prototype.getMovieClips = function () {
- var _local3 = new Array();
- var _local2 = 0;
- while (_local2 < this.length) {
- if ((this[_local2] instanceof MovieClip) && (this[_local2] != this)) {
- _local3.push(this[_local2]);
- }
- _local2++;
- }
- return(_local3);
- };
- MovieClip.prototype.showMovieClips = function () {
- var _local2 = 0;
- while (_local2 < this.length) {
- if ((this[_local2] instanceof MovieClip) && (this[_local2] != this)) {
- trace(this[_local2]);
- this[_local2].showMovieClips();
- }
- _local2++;
- }
- };
- _global.ASSetPropFlags(MovieClip.prototype, ["getMovieClips", "showMovieClips"], 1, 0);
- }
- static function AddReverseFunctions() {
- MovieClip.prototype.PlayReverse = function () {
- if (this._currentframe > 1) {
- this.gotoAndStop(this._currentframe - 1);
- this.onEnterFrame = function () {
- if (this._currentframe > 1) {
- this.gotoAndStop(this._currentframe - 1);
- return(undefined);
- }
- delete this.onEnterFrame;
- };
- return(undefined);
- }
- this.gotoAndStop(1);
- };
- MovieClip.prototype.PlayForward = function (aFrameLabel) {
- delete this.onEnterFrame;
- this.gotoAndPlay(aFrameLabel);
- };
- MovieClip.prototype.PlayForward = function (aFrame) {
- delete this.onEnterFrame;
- this.gotoAndPlay(aFrame);
- };
- _global.ASSetPropFlags(MovieClip.prototype, ["PlayReverse", "PlayForward"], 1, 0);
- }
- static function GetTextField(aParentClip, aName) {
- if (RegisteredTextFields[aName + aParentClip._name] != undefined) {
- return(RegisteredTextFields[aName + aParentClip._name]);
- }
- trace(aName + " is not registered a TextField name.");
- }
- static function GetMovieClip(aParentClip, aName) {
- if (RegisteredMovieClips[aName + aParentClip._name] != undefined) {
- return(RegisteredMovieClips[aName + aParentClip._name]);
- }
- trace(aName + " is not registered a MovieClip name.");
- }
- static function AddRegisterTextFields() {
- TextField.prototype.RegisterTextField = function (aStartingClip) {
- if (Shared.GlobalFunc.RegisteredTextFields[this._name + aStartingClip._name] == undefined) {
- Shared.GlobalFunc.RegisteredTextFields[this._name + aStartingClip._name] = this;
- }
- };
- _global.ASSetPropFlags(TextField.prototype, "RegisterTextField", 1, 0);
- }
- static function RegisterTextFields(aStartingClip) {
- var _local1 = 0;
- while (_local1 < aStartingClip.length) {
- if (aStartingClip[_local1] instanceof TextField) {
- aStartingClip[_local1].RegisterTextField(aStartingClip);
- }
- _local1++;
- }
- }
- static function RegisterAllTextFieldsInTimeline(aStartingClip) {
- var _local1 = 1;
- while (aStartingClip._totalFrames && (_local1 <= aStartingClip._totalFrames)) {
- aStartingClip.gotoAndStop(_local1);
- RegisterTextFields(aStartingClip);
- _local1++;
- }
- }
- static function AddRegisterMovieClips() {
- MovieClip.prototype.RegisterMovieClip = function (aStartingClip) {
- if (Shared.GlobalFunc.RegisteredMovieClips[this._name + aStartingClip._name] == undefined) {
- Shared.GlobalFunc.RegisteredMovieClips[this._name + aStartingClip._name] = this;
- }
- };
- _global.ASSetPropFlags(MovieClip.prototype, "RegisterMovieClip", 1, 0);
- }
- static function RegisterMovieClips(aStartingClip) {
- var _local1 = 0;
- while (_local1 < aStartingClip.length) {
- if (aStartingClip[_local1] instanceof MovieClip) {
- aStartingClip[_local1].RegisterMovieClip(aStartingClip);
- }
- _local1++;
- }
- }
- static function RecursiveRegisterMovieClips(aStartingClip, aRootClip) {
- var _local1 = 0;
- while (_local1 < aStartingClip.length) {
- if (aStartingClip[_local1] instanceof MovieClip) {
- if (aStartingClip[_local1] != aStartingClip) {
- RecursiveRegisterMovieClips(aStartingClip[_local1], aRootClip);
- }
- aStartingClip[_local1].RegisterMovieClip(aRootClip);
- }
- _local1++;
- }
- }
- static function RegisterAllMovieClipsInTimeline(aStartingClip) {
- var _local1 = 0;
- while (aStartingClip._totalFrames && (_local1 <= aStartingClip._totalFrames)) {
- aStartingClip.gotoAndStop(_local1);
- RegisterMovieClips(aStartingClip);
- _local1++;
- }
- }
- static function StringTrim(astrText) {
- var _local2 = 0;
- var _local1 = 0;
- var _local5 = astrText.length;
- var _local3;
- while ((((astrText.charAt(_local2) == " ") || (astrText.charAt(_local2) == newline)) || (astrText.charAt(_local2) == "\r")) || (astrText.charAt(_local2) == "\t")) {
- _local2++;
- }
- _local3 = astrText.substring(_local2);
- _local1 = _local3.length - 1;
- while ((((_local3.charAt(_local1) == " ") || (_local3.charAt(_local1) == newline)) || (_local3.charAt(_local1) == "\r")) || (_local3.charAt(_local1) == "\t")) {
- _local1--;
- }
- _local3 = _local3.substring(0, _local1 + 1);
- return(_local3);
- }
- static var RegisteredTextFields = new Object();
- static var RegisteredMovieClips = new Object();
- }
-
- //----------------------------------------------------------------------
- //Symbol 35 MovieClip [__Packages.gfx.utils.Locale] Frame 0
- //----------------------------------------------------------------------
- class gfx.utils.Locale
- {
- function Locale () {
- }
- static function getTranslatedString(value) {
- return(value);
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 47 MovieClip [__Packages.skyui.components.list.ScrollingList] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.ScrollingList extends skyui.components.list.BasicList
- {
- var _listHeight, bottomBorder, topBorder, background, _maxListIndex, scrollbar, disableInput, __get__selectedIndex, disableSelection, _platform, onItemPress, _bSuspended, _bRequestUpdate, setClipCount, leftBorder, getListEnumSize, getListEnumEntry, listState, isMouseDrivenNav, scrollUpButton, scrollDownButton, _bRequestInvalidate, _entryList, _dataProcessors, listEnumeration, _selectedIndex, onInvalidate, getSelectedListEnumIndex, getListEnumRelativeIndex, getListEnumIndex, __get__selectedEntry, dispatchEvent, _entryClipManager;
- function ScrollingList () {
- super();
- _listHeight = (background._height - topBorder) - bottomBorder;
- _maxListIndex = Math.floor(_listHeight / entryHeight);
- }
- function get scrollPosition() {
- return(_scrollPosition);
- }
- function set scrollPosition(a_newPosition) {
- if (((a_newPosition == _scrollPosition) || (a_newPosition < 0)) || (a_newPosition > _maxScrollPosition)) {
- return;
- }
- if (scrollbar != undefined) {
- scrollbar.position = a_newPosition;
- } else {
- updateScrollPosition(a_newPosition);
- }
- //return(scrollPosition);
- }
- function get maxScrollPosition() {
- return(_maxScrollPosition);
- }
- function get listHeight() {
- return(_listHeight);
- }
- function set listHeight(a_height) {
- _listHeight = (background._height = a_height);
- if (scrollbar != undefined) {
- scrollbar.height = _listHeight;
- }
- //return(listHeight);
- }
- function onLoad() {
- if (scrollbar != undefined) {
- scrollbar.position = 0;
- scrollbar.addEventListener("scroll", this, "onScroll");
- scrollbar._y = background._x + topBorder;
- scrollbar.height = _listHeight;
- }
- }
- function setPlatform(a_platform, a_bPS3Switch) {
- super.setPlatform(a_platform, a_bPS3Switch);
- }
- function handleInput(details, pathToFocus) {
- if (disableInput) {
- return(false);
- }
- var _local3 = getClipByIndex(__get__selectedIndex());
- var _local4 = ((_local3 != undefined) && (_local3.handleInput != undefined)) && (_local3.handleInput(details, pathToFocus.slice(1)));
- if (_local4) {
- return(true);
- }
- if (Shared.GlobalFunc.IsKeyPressed(details)) {
- if ((details.navEquivalent == gfx.ui.NavigationCode.UP) || (details.navEquivalent == gfx.ui.NavigationCode.PAGE_UP)) {
- moveSelectionUp(details.navEquivalent == gfx.ui.NavigationCode.PAGE_UP);
- return(true);
- }
- if ((details.navEquivalent == gfx.ui.NavigationCode.DOWN) || (details.navEquivalent == gfx.ui.NavigationCode.PAGE_DOWN)) {
- moveSelectionDown(details.navEquivalent == gfx.ui.NavigationCode.PAGE_DOWN);
- return(true);
- }
- if ((!disableSelection) && (details.navEquivalent == gfx.ui.NavigationCode.ENTER)) {
- if ((details.code == 96) && (_platform == skyui.components.list.BasicList.PLATFORM_PC)) {
- return(false);
- }
- onItemPress();
- return(true);
- }
- }
- return(false);
- }
- function UpdateList() {
- if (_bSuspended) {
- _bRequestUpdate = true;
- return(undefined);
- }
- setClipCount(_maxListIndex);
- var _local8 = background._x + leftBorder;
- var _local7 = background._y + topBorder;
- var _local6 = 0;
- var _local5 = 0;
- while ((_local5 < getListEnumSize()) && (_local5 < _scrollPosition)) {
- getListEnumEntry(_local5).clipIndex = undefined;
- _local5++;
- }
- _listIndex = 0;
- _local5 = _scrollPosition;
- while ((_local5 < getListEnumSize()) && (_listIndex < _maxListIndex)) {
- var _local3 = getClipByIndex(_listIndex);
- var _local4 = getListEnumEntry(_local5);
- _local3.itemIndex = _local4.itemIndex;
- _local4.clipIndex = _listIndex;
- _local3.setEntry(_local4, listState);
- _local3._x = _local8;
- _local3._y = _local7 + _local6;
- _local3._visible = true;
- _local6 = _local6 + entryHeight;
- _listIndex++;
- _local5++;
- }
- _local5 = _scrollPosition + _listIndex;
- while (_local5 < getListEnumSize()) {
- getListEnumEntry(_local5).clipIndex = undefined;
- _local5++;
- }
- if (isMouseDrivenNav) {
- var _local2 = Mouse.getTopMostEntity();
- while (_local2 != undefined) {
- if (((_local2._parent == this) && (_local2._visible)) && (_local2.itemIndex != undefined)) {
- doSetSelectedIndex(_local2.itemIndex, skyui.components.list.BasicList.SELECT_MOUSE);
- }
- _local2 = _local2._parent;
- }
- }
- if (scrollUpButton != undefined) {
- scrollUpButton._visible = _scrollPosition > 0;
- }
- if (scrollDownButton != undefined) {
- scrollDownButton._visible = _scrollPosition < _maxScrollPosition;
- }
- }
- function InvalidateData() {
- if (_bSuspended) {
- _bRequestInvalidate = true;
- return(undefined);
- }
- var _local2 = 0;
- while (_local2 < _entryList.length) {
- _entryList[_local2].itemIndex = _local2;
- _entryList[_local2].clipIndex = undefined;
- _local2++;
- }
- _local2 = 0;
- while (_local2 < _dataProcessors.length) {
- _dataProcessors[_local2].processList(this);
- _local2++;
- }
- listEnumeration.invalidate();
- if (_selectedIndex >= listEnumeration.size()) {
- _selectedIndex = listEnumeration.size() - 1;
- }
- if (listEnumeration.lookupEnumIndex(_selectedIndex) == null) {
- _selectedIndex = -1;
- }
- calculateMaxScrollPosition();
- UpdateList();
- if (((_curClipIndex != undefined) && (_curClipIndex != -1)) && (_listIndex > 0)) {
- if (_curClipIndex >= _listIndex) {
- _curClipIndex = _listIndex - 1;
- }
- var _local3 = getClipByIndex(_curClipIndex);
- doSetSelectedIndex(_local3.itemIndex, skyui.components.list.BasicList.SELECT_MOUSE);
- }
- if (onInvalidate) {
- onInvalidate();
- }
- }
- function moveSelectionUp(a_bScrollPage) {
- if ((!disableSelection) && (!a_bScrollPage)) {
- if (_selectedIndex == -1) {
- selectDefaultIndex(false);
- } else if (getSelectedListEnumIndex() >= scrollDelta) {
- doSetSelectedIndex(getListEnumRelativeIndex(-scrollDelta), skyui.components.list.BasicList.SELECT_KEYBOARD);
- isMouseDrivenNav = false;
- }
- } else if (a_bScrollPage) {
- var _local2 = scrollPosition - _listIndex;
- scrollPosition = (((_local2 > 0) ? (_local2) : 0));
- doSetSelectedIndex(-1, skyui.components.list.BasicList.SELECT_MOUSE);
- } else {
- scrollPosition = (scrollPosition - scrollDelta);
- }
- }
- function moveSelectionDown(a_bScrollPage) {
- if ((!disableSelection) && (!a_bScrollPage)) {
- if (_selectedIndex == -1) {
- selectDefaultIndex(true);
- } else if (getSelectedListEnumIndex() < (getListEnumSize() - scrollDelta)) {
- doSetSelectedIndex(getListEnumRelativeIndex(scrollDelta), skyui.components.list.BasicList.SELECT_KEYBOARD);
- isMouseDrivenNav = false;
- }
- } else if (a_bScrollPage) {
- var _local2 = scrollPosition + _listIndex;
- scrollPosition = (((_local2 < _maxScrollPosition) ? (_local2) : (_maxScrollPosition)));
- doSetSelectedIndex(-1, skyui.components.list.BasicList.SELECT_MOUSE);
- } else {
- scrollPosition = (scrollPosition + scrollDelta);
- }
- }
- function selectDefaultIndex(a_bTop) {
- if (_listIndex <= 0) {
- return(undefined);
- }
- if (a_bTop) {
- var _local3 = getClipByIndex(0);
- if (_local3.itemIndex != undefined) {
- doSetSelectedIndex(_local3.itemIndex, skyui.components.list.BasicList.SELECT_KEYBOARD);
- }
- } else {
- var _local2 = getClipByIndex(_listIndex - 1);
- if (_local2.itemIndex != undefined) {
- doSetSelectedIndex(_local2.itemIndex, skyui.components.list.BasicList.SELECT_KEYBOARD);
- }
- }
- }
- function onMouseWheel(a_delta) {
- if (disableInput) {
- return(undefined);
- }
- var _local2 = Mouse.getTopMostEntity();
- while (_local2 && (_local2 != undefined)) {
- if (_local2 == this) {
- if (a_delta < 0) {
- scrollPosition = (scrollPosition + scrollDelta);
- } else if (a_delta > 0) {
- scrollPosition = (scrollPosition - scrollDelta);
- }
- }
- _local2 = _local2._parent;
- }
- isMouseDrivenNav = true;
- }
- function onScroll(event) {
- updateScrollPosition(Math.floor(event.position + 0.5));
- }
- function doSetSelectedIndex(a_newIndex, a_keyboardOrMouse) {
- if (disableSelection || (a_newIndex == _selectedIndex)) {
- return(undefined);
- }
- if ((a_newIndex != -1) && (getListEnumIndex(a_newIndex) == undefined)) {
- return(undefined);
- }
- var _local3 = __get__selectedEntry();
- _selectedIndex = a_newIndex;
- if (_local3.clipIndex != undefined) {
- var _local5 = getClipByIndex(_local3.clipIndex);
- _local5.setEntry(_local3, listState);
- }
- if (_selectedIndex != -1) {
- var _local2 = getSelectedListEnumIndex();
- if (_local2 < _scrollPosition) {
- scrollPosition = (_local2);
- } else if (_local2 >= (_scrollPosition + _listIndex)) {
- scrollPosition = (Math.min((_local2 - _listIndex) + scrollDelta, _maxScrollPosition));
- } else {
- var _local5 = getClipByIndex(__get__selectedEntry().clipIndex);
- _local5.setEntry(__get__selectedEntry(), listState);
- }
- _curClipIndex = __get__selectedEntry().clipIndex;
- } else {
- _curClipIndex = -1;
- }
- dispatchEvent({type:"selectionChange", index:_selectedIndex, keyboardOrMouse:a_keyboardOrMouse});
- }
- function calculateMaxScrollPosition() {
- var _local2 = getListEnumSize() - _maxListIndex;
- _maxScrollPosition = ((_local2 > 0) ? (_local2) : 0);
- updateScrollbar();
- if (_scrollPosition > _maxScrollPosition) {
- scrollPosition = (_maxScrollPosition);
- }
- }
- function updateScrollPosition(a_position) {
- _scrollPosition = a_position;
- UpdateList();
- }
- function updateScrollbar() {
- if (scrollbar != undefined) {
- scrollbar._visible = _maxScrollPosition > 0;
- scrollbar.setScrollProperties(_maxListIndex, 0, _maxScrollPosition);
- }
- }
- function getClipByIndex(a_index) {
- if ((a_index < 0) || (a_index >= _maxListIndex)) {
- return(undefined);
- }
- return(_entryClipManager.getClip(a_index));
- }
- var _listIndex = 0;
- var _curClipIndex = -1;
- var entryHeight = 28;
- var scrollDelta = 1;
- var _scrollPosition = 0;
- var _maxScrollPosition = 0;
- }
-
- //----------------------------------------------------------------------
- //Symbol 31 MovieClip [__Packages.skyui.defines.Input] Frame 0
- //----------------------------------------------------------------------
- class skyui.defines.Input
- {
- function Input () {
- }
- static var DEVICE_KEYBOARD = 0;
- static var DEVICE_MOUSE = 1;
- static var DEVICE_GAMEPAD = 2;
- static var CONTEXT_GAMEPLAY = 0;
- static var CONTEXT_MENUMODE = 1;
- static var CONTEXT_CONSOLE = 2;
- static var CONTEXT_ITEMMENU = 3;
- static var CONTEXT_INVENTORY = 4;
- static var CONTEXT_DEBUGTEXT = 5;
- static var CONTEXT_FAVORITES = 6;
- static var CONTEXT_MAP = 7;
- static var CONTEXT_STATS = 8;
- static var CONTEXT_CURSOR = 9;
- static var CONTEXT_BOOK = 10;
- static var CONTEXT_DEBUGOVERLAY = 11;
- static var CONTEXT_JOURNAL = 12;
- static var CONTEXT_TFCMODE = 13;
- static var CONTEXT_MAPDEBUG = 14;
- static var CONTEXT_LOCKPICKING = 15;
- static var CONTEXT_FAVOR = 16;
- static var ChargeItem = {name:"ChargeItem", context:CONTEXT_INVENTORY};
- static var XButton = {name:"XButton", context:CONTEXT_ITEMMENU};
- static var YButton = {name:"YButton", context:CONTEXT_ITEMMENU};
- static var Wait = {name:"Wait", context:CONTEXT_GAMEPLAY};
- static var Jump = {name:"Jump", context:CONTEXT_GAMEPLAY};
- static var Sprint = {name:"Sprint", context:CONTEXT_GAMEPLAY};
- static var Shout = {name:"Shout", context:CONTEXT_GAMEPLAY};
- static var Activate = {name:"Activate", context:CONTEXT_GAMEPLAY};
- static var ReadyWeapon = {name:"Ready Weapon", context:CONTEXT_GAMEPLAY};
- static var TogglePOV = {name:"Toggle POV", context:CONTEXT_GAMEPLAY};
- static var Accept = {name:"Accept", context:CONTEXT_MENUMODE};
- static var Cancel = {name:"Cancel", context:CONTEXT_MENUMODE};
- static var JournalXButton = {name:"XButton", context:CONTEXT_JOURNAL};
- static var JournalYButton = {name:"YButton", context:CONTEXT_JOURNAL};
- static var LeftRight = [{name:"Left", context:CONTEXT_MENUMODE}, {name:"Right", context:CONTEXT_MENUMODE}];
- static var Equip = [{name:"RightEquip", context:CONTEXT_ITEMMENU}, {name:"LeftEquip", context:CONTEXT_ITEMMENU}];
- static var SortColumn = [{keyCode:274}, {keyCode:275}];
- static var SortOrder = {keyCode:272};
- static var GamepadBack = {keyCode:271};
- static var Enter = {keyCode:28};
- static var Tab = {keyCode:15};
- static var Shift = {keyCode:42};
- static var Space = {keyCode:57};
- static var Alt = {keyCode:56};
- }
-
- //----------------------------------------------------------------------
- //Symbol 49 MovieClip [__Packages.ItemView] Frame 0
- //----------------------------------------------------------------------
- class ItemView extends MovieClip
- {
- var _sortFilter, itemList, dispatchEvent, background;
- function ItemView () {
- super();
- gfx.events.EventDispatcher.initialize(this);
- _sortFilter = new skyui.filter.SortFilter();
- }
- function onLoad() {
- itemList.listEnumeration = new skyui.components.list.BasicEnumeration(itemList.__get__entryList());
- itemList.addEventListener("invalidateHeight", this, "onInvalidateHeight");
- dispatchEvent({type:"onLoad", view:this});
- }
- function get entryList() {
- return(itemList.__get__entryList());
- }
- function get sortEnabled() {
- return(_sortEnabled);
- }
- function set sortEnabled(a_sort) {
- _sortEnabled = a_sort;
- if (a_sort) {
- var _local2 = (itemList.listEnumeration = new skyui.components.list.FilteredEnumeration(itemList.__get__entryList()));
- _local2.addFilter(_sortFilter);
- itemList.listEnumeration = _local2;
- } else {
- itemList.listEnumeration = new skyui.components.list.BasicEnumeration(itemList.__get__entryList());
- }
- //return(sortEnabled);
- }
- function set entryList(a_newArray) {
- itemList.__set__entryList(a_newArray);
- sortEnabled = (sortEnabled);
- //return(entryList);
- }
- function handleInput(details, pathToFocus) {
- return(itemList.handleInput(details, pathToFocus));
- }
- function get listHeight() {
- return(itemList.__get__listHeight());
- }
- function setMinViewport(a_minEntries, a_update) {
- itemList.minViewport = a_minEntries;
- if (a_update) {
- itemList.requestInvalidate();
- }
- }
- function setMaxViewport(a_maxEntries, a_update) {
- itemList.maxViewport = a_maxEntries;
- if (a_update) {
- itemList.requestInvalidate();
- }
- }
- function set listHeight(a_height) {
- itemList.__set__listHeight(a_height);
- background._y = -paddingTop;
- background._height = (a_height + paddingTop) + paddingBottom;
- //return(listHeight);
- }
- function onInvalidateHeight(event) {
- listHeight = (event.height);
- }
- var paddingBottom = 2;
- var paddingTop = 0;
- var _sortEnabled = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 56 MovieClip [__Packages.com.greensock.core.SimpleTimeline] Frame 0
- //----------------------------------------------------------------------
- class com.greensock.core.SimpleTimeline extends com.greensock.core.TweenCore
- {
- var _lastChild, _firstChild, cachedTotalTime, cachedTime;
- function SimpleTimeline (vars) {
- super(0, vars);
- }
- function insert(tween, time) {
- if (time == undefined) {
- time = 0;
- }
- var _local3 = tween.timeline;
- if ((!tween.cachedOrphan) && (_local3)) {
- _local3.remove(tween, true);
- }
- tween.timeline = this;
- tween.cachedStartTime = Number(time) + tween.__get__delay();
- if (tween.gc) {
- tween.setEnabled(true, true);
- }
- if (tween.cachedPaused && (_local3 != this)) {
- tween.cachedPauseTime = tween.cachedStartTime + ((rawTime - tween.cachedStartTime) / tween.cachedTimeScale);
- }
- if (_lastChild) {
- _lastChild.nextNode = tween;
- } else {
- _firstChild = tween;
- }
- tween.prevNode = _lastChild;
- _lastChild = tween;
- tween.nextNode = undefined;
- tween.cachedOrphan = false;
- return(tween);
- }
- function remove(tween, skipDisable) {
- if (tween.cachedOrphan) {
- return(undefined);
- }
- if (skipDisable != true) {
- tween.setEnabled(false, true);
- }
- if (tween.nextNode) {
- tween.nextNode.prevNode = tween.prevNode;
- } else if (_lastChild == tween) {
- _lastChild = tween.prevNode;
- }
- if (tween.prevNode) {
- tween.prevNode.nextNode = tween.nextNode;
- } else if (_firstChild == tween) {
- _firstChild = tween.nextNode;
- }
- tween.cachedOrphan = true;
- }
- function renderTime(time, suppressEvents, force) {
- var _local2 = _firstChild;
- var _local4;
- var _local5;
- cachedTotalTime = time;
- cachedTime = time;
- while (_local2) {
- _local5 = _local2.nextNode;
- if (_local2.active || (((time >= _local2.cachedStartTime) && (!_local2.cachedPaused)) && (!_local2.gc))) {
- if (!_local2.cachedReversed) {
- _local2.renderTime((time - _local2.cachedStartTime) * _local2.cachedTimeScale, suppressEvents, false);
- } else {
- _local4 = (_local2.cacheIsDirty ? (_local2.__get__totalDuration()) : (_local2.cachedTotalDuration));
- _local2.renderTime(_local4 - ((time - _local2.cachedStartTime) * _local2.cachedTimeScale), suppressEvents, false);
- }
- }
- _local2 = _local5;
- }
- }
- function get rawTime() {
- return(cachedTotalTime);
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 12 MovieClip [ScrollBar_thumb] Frame 30
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 18 MovieClip [ScrollBar_track] Frame 30
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 26 MovieClip [__Packages.gfx.core.UIComponent] Frame 0
- //----------------------------------------------------------------------
- class gfx.core.UIComponent extends MovieClip
- {
- var _width, _height, _name, useHandCursor, _visible, dispatchEvent, invalidationIntervalID, _xscale, _yscale, hitTest;
- function UIComponent () {
- super();
- gfx.events.EventDispatcher.initialize(this);
- }
- function onLoad() {
- onLoadImpl();
- }
- function onLoadImpl() {
- if (initialized) {
- return(undefined);
- }
- if (isNaN(__width)) {
- __width = _width;
- }
- if (isNaN(__height)) {
- __height = _height;
- }
- initialized = true;
- configUI();
- validateNow();
- if (enableInitCallback && (_global.CLIK_loadCallback)) {
- _global.CLIK_loadCallback(_name, targetPath(this), this);
- }
- if ((_focused != 0) && (Selection.getFocusBitmask(this) == 0)) {
- var _local4 = 0;
- for(;;){
- if (_local4 >= Selection.numFocusGroups) {
- return(undefined);
- }
- var _local6 = ((_focused >> _local4) & 1) != 0;
- if (_local6) {
- var _local5 = Selection.getControllerMaskByFocusGroup(_local4);
- var _local3 = 0;
- while (_local3 < System.capabilities.numControllers) {
- if ((_local5 >> _local3) & true) {
- gfx.managers.FocusHandler.__get__instance().onSetFocus(null, this, _local3);
- }
- _local3++;
- }
- }
- _local4++;
- };
- }
- }
- function onUnload() {
- if (enableInitCallback && (_global.CLIK_unloadCallback)) {
- _global.CLIK_unloadCallback(_name, targetPath(this), this);
- }
- }
- function get disabled() {
- return(_disabled);
- }
- function set disabled(value) {
- _disabled = value;
- super.enabled = !value;
- useHandCursor = !value;
- invalidate();
- //return(disabled);
- }
- function get visible() {
- return(_visible);
- }
- function set visible(value) {
- if (_visible != value) {
- _visible = value;
- if (initialized) {
- var _local3 = (value ? "show" : "hide");
- dispatchEvent({type:_local3});
- return;
- }
- }
- //return(visible);
- }
- function get width() {
- return(__width);
- }
- function set width(value) {
- setSize(value, __height || (_height));
- //return(width);
- }
- function get height() {
- return(__height);
- }
- function set height(value) {
- setSize(__width || (_width), value);
- //return(height);
- }
- function setSize(width, height) {
- if ((__width == width) && (__height == height)) {
- return(undefined);
- }
- __width = width;
- __height = height;
- sizeIsInvalid = true;
- invalidate();
- }
- function get focused() {
- return(_focused);
- }
- function set focused(value) {
- if (value != _focused) {
- _focused = value;
- var _local2 = 0;
- while (_local2 < Selection.numFocusGroups) {
- var _local3 = ((_focused >> _local2) & 1) != 0;
- if (_local3) {
- __reg5 = Selection.getControllerMaskByFocusGroup(_local2);
- __reg2 = 0;
- while (__reg2 < System.capabilities.numControllers) {
- __reg4 = ((__reg5 >> __reg2) & 1) != 0;
- if (__reg4 && (Selection.getFocus(__reg2) != targetPath(this))) {
- Selection.setFocus(this, __reg2);
- }
- __reg2++;
- }
- } else {
- var __reg5 = Selection.getControllerMaskByFocusGroup(_local2);
- var __reg2 = 0;
- while (__reg2 < System.capabilities.numControllers) {
- var __reg4 = (((__reg5 >> __reg2) & 1) != 0);
- if (__reg4 && (Selection.getFocus(__reg2) == targetPath(this))) {
- Selection.setFocus(null, __reg2);
- }
- __reg2++;
- }
- }
- _local2++;
- }
- changeFocus();
- var _local5 = (value ? "focusIn" : "focusOut");
- dispatchEventAndSound({type:_local5});
- return;
- }
- //return(focused);
- }
- function get displayFocus() {
- return(_displayFocus);
- }
- function set displayFocus(value) {
- if (value != _displayFocus) {
- _displayFocus = value;
- changeFocus();
- return;
- }
- //return(displayFocus);
- }
- function handleInput(details, pathToFocus) {
- if (pathToFocus && (pathToFocus.length > 0)) {
- var _local3 = pathToFocus[0];
- if (_local3.handleInput) {
- var _local2 = _local3.handleInput(details, pathToFocus.slice(1));
- if (_local2) {
- return(_local2);
- }
- }
- }
- return(false);
- }
- function invalidate() {
- if (invalidationIntervalID) {
- return(undefined);
- }
- invalidationIntervalID = setInterval(this, "validateNow", 1);
- }
- function validateNow() {
- clearInterval(invalidationIntervalID);
- delete invalidationIntervalID;
- draw();
- sizeIsInvalid = false;
- }
- function toString() {
- return(("[Scaleform UIComponent " + _name) + "]");
- }
- function dispatchEventToGame(event) {
- flash.external.ExternalInterface.call("__handleEvent", _name, event);
- }
- function configUI() {
- }
- function initSize() {
- var _local2 = ((__width == 0) ? (_width) : (__width));
- var _local3 = ((__height == 0) ? (_height) : (__height));
- _xscale = (_yscale = 100);
- setSize(_local2, _local3);
- }
- function draw() {
- }
- function changeFocus() {
- }
- function onMouseWheel(delta, target) {
- if (visible && (hitTest(_root._xmouse, _root._ymouse, true))) {
- var _local3 = Mouse.getTopMostEntity();
- for(;;){
- if (!_local3) {
- return(undefined);
- }
- if (_local3 == this) {
- scrollWheel(((delta <= 0) ? -1 : 1));
- return(undefined);
- }
- _local3 = _local3._parent;
- };
- }
- }
- function scrollWheel(delta) {
- }
- function dispatchEventAndSound(event) {
- dispatchEvent(event);
- dispatchSound(event);
- }
- function dispatchSound(event) {
- var _local3 = soundMap.theme;
- var _local2 = soundMap[event.type];
- if (_local3 && (_local2)) {
- playSound(_local2, _local3);
- }
- }
- function playSound(soundEventName, soundTheme) {
- if (_global.gfxProcessSound) {
- if (soundTheme == undefined) {
- soundTheme = "default";
- }
- _global.gfxProcessSound(this, soundTheme, soundEventName);
- }
- }
- var initialized = false;
- var enableInitCallback = true;
- var soundMap = {theme:"default", focusIn:"focusIn", focusOut:"focusOut"};
- var __width = Number.NaN;
- var __height = Number.NaN;
- var _disabled = false;
- var _focused = 0;
- var _displayFocus = false;
- var sizeIsInvalid = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 62 MovieClip [__Packages.ItemListEntry] Frame 0
- //----------------------------------------------------------------------
- class ItemListEntry extends skyui.components.list.BasicListEntry
- {
- var childIndicator, selectIndicator, textField;
- function ItemListEntry () {
- super();
- }
- function setEntry(a_entryObject, a_state) {
- var _local4 = a_entryObject == a_state.list.__get__selectedEntry();
- var _local3 = a_entryObject.hasChildren == 1;
- if (childIndicator != undefined) {
- childIndicator._visible = _local3;
- }
- if (selectIndicator != undefined) {
- selectIndicator._visible = _local4;
- }
- textField.text = a_entryObject.text;
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 12 MovieClip [ScrollBar_thumb] Frame 10
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 18 MovieClip [ScrollBar_track] Frame 10
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 51 MovieClip [__Packages.skyui.filter.SortFilter] Frame 0
- //----------------------------------------------------------------------
- class skyui.filter.SortFilter implements skyui.filter.IFilter
- {
- var _sortAttributes, _sortOptions, dispatchEvent;
- function SortFilter () {
- gfx.events.EventDispatcher.initialize(this);
- }
- function setSortBy(a_sortAttributes, a_sortOptions) {
- if ((_sortAttributes == a_sortAttributes) && (_sortOptions == a_sortOptions)) {
- return(undefined);
- }
- _sortAttributes = a_sortAttributes;
- _sortOptions = a_sortOptions;
- dispatchEvent({type:"filterChange"});
- }
- function applyFilter(a_filteredList) {
- var _local5 = _sortAttributes[0];
- var _local2 = 0;
- while (_local2 < a_filteredList.length) {
- var _local4 = a_filteredList[_local2][_local5];
- if (_local4 == null) {
- a_filteredList[_local2]._sortFlag = 1;
- } else {
- a_filteredList[_local2]._sortFlag = 0;
- }
- _local2++;
- }
- _sortAttributes.unshift("_sortFlag");
- _sortOptions.unshift(Array.NUMERIC);
- a_filteredList.sortOn(_sortAttributes, _sortOptions);
- _sortAttributes.shift();
- _sortOptions.shift();
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 29 MovieClip [__Packages.gfx.managers.InputDelegate] Frame 0
- //----------------------------------------------------------------------
- class gfx.managers.InputDelegate extends gfx.events.EventDispatcher
- {
- static var _instance;
- var _keyRepeatSuppressLookup, _keyRepeatStateLookup, dispatchEvent;
- function InputDelegate () {
- super();
- Key.addListener(this);
- _keyRepeatSuppressLookup = {};
- _keyRepeatStateLookup = {};
- }
- static function get instance() {
- if (_instance == null) {
- _instance = new gfx.managers.InputDelegate();
- }
- return(_instance);
- }
- function enableControlFixup(a_bEnabled) {
- if (a_bEnabled) {
- _acceptKeycode = skyui.util.GlobalFunctions.getMappedKey("Accept", skyui.defines.Input.CONTEXT_MENUMODE, isGamepad);
- }
- _bEnableControlFixup = a_bEnabled;
- }
- function setKeyRepeat(a_code, a_value, a_controllerIdx) {
- var _local2 = getKeyRepeatSuppress(a_controllerIdx);
- _local2[a_code] = !a_value;
- }
- function readInput(type, code, scope, callBack) {
- return(null);
- }
- function onKeyDown(a_controllerIdx) {
- var _local2 = Key.getCode(a_controllerIdx);
- var _local4 = getKeyRepeatState(a_controllerIdx);
- if (!_local4[_local2]) {
- handleKeyPress("keyDown", _local2, a_controllerIdx, skse.GetLastControl(true), skse.GetLastKeycode(true));
- _local4[_local2] = true;
- } else {
- var _local5 = getKeyRepeatSuppress(a_controllerIdx);
- if (!_local5[_local2]) {
- handleKeyPress("keyHold", _local2, a_controllerIdx, skse.GetLastControl(true), skse.GetLastKeycode(true));
- }
- }
- }
- function onKeyUp(a_controllerIdx) {
- var _local2 = Key.getCode(a_controllerIdx);
- var _local4 = getKeyRepeatState(a_controllerIdx);
- _local4[_local2] = false;
- handleKeyPress("keyUp", _local2, a_controllerIdx, skse.GetLastControl(false), skse.GetLastKeycode(false));
- }
- function handleKeyPress(a_type, a_code, a_controllerIdx, a_control, a_skseKeycode) {
- var _local2 = inputToNav(a_code);
- if (_local2 != null) {
- switch (_local2) {
- case gfx.ui.NavigationCode.UP :
- case gfx.ui.NavigationCode.DOWN :
- case gfx.ui.NavigationCode.LEFT :
- case gfx.ui.NavigationCode.RIGHT :
- a_control = null;
- a_skseKeycode = null;
- }
- } else if (_bEnableControlFixup) {
- if (a_skseKeycode == _acceptKeycode) {
- _local2 = gfx.ui.NavigationCode.ENTER;
- }
- }
- var _local4 = new gfx.ui.InputDetails("key", a_code, a_type, _local2, a_controllerIdx, a_control, a_skseKeycode);
- dispatchEvent({type:"input", details:_local4});
- }
- function getKeyRepeatState(a_controllerIdx) {
- var _local2 = _keyRepeatStateLookup[a_controllerIdx];
- if (!_local2) {
- _local2 = new Object();
- _keyRepeatStateLookup[a_controllerIdx] = _local2;
- }
- return(_local2);
- }
- function getKeyRepeatSuppress(a_controllerIdx) {
- var _local2 = _keyRepeatSuppressLookup[a_controllerIdx];
- if (!_local2) {
- _local2 = new Object();
- _keyRepeatSuppressLookup[a_controllerIdx] = _local2;
- }
- return(_local2);
- }
- function inputToNav(a_code) {
- switch (a_code) {
- case 38 :
- return(gfx.ui.NavigationCode.UP);
- case 40 :
- return(gfx.ui.NavigationCode.DOWN);
- case 37 :
- return(gfx.ui.NavigationCode.LEFT);
- case 39 :
- return(gfx.ui.NavigationCode.RIGHT);
- case 13 :
- return(gfx.ui.NavigationCode.ENTER);
- case 8 :
- return(gfx.ui.NavigationCode.BACK);
- case 9 :
- return((Key.isDown(16) ? (gfx.ui.NavigationCode.SHIFT_TAB) : (gfx.ui.NavigationCode.TAB)));
- case 36 :
- return(gfx.ui.NavigationCode.HOME);
- case 35 :
- return(gfx.ui.NavigationCode.END);
- case 34 :
- return(gfx.ui.NavigationCode.PAGE_DOWN);
- case 33 :
- return(gfx.ui.NavigationCode.PAGE_UP);
- case 27 :
- return(gfx.ui.NavigationCode.ESCAPE);
- case 96 :
- return(gfx.ui.NavigationCode.GAMEPAD_A);
- case 97 :
- return(gfx.ui.NavigationCode.GAMEPAD_B);
- case 98 :
- return(gfx.ui.NavigationCode.GAMEPAD_X);
- case 99 :
- return(gfx.ui.NavigationCode.GAMEPAD_Y);
- case 100 :
- return(gfx.ui.NavigationCode.GAMEPAD_L1);
- case 101 :
- return(gfx.ui.NavigationCode.GAMEPAD_L2);
- case 102 :
- return(gfx.ui.NavigationCode.GAMEPAD_L3);
- case 103 :
- return(gfx.ui.NavigationCode.GAMEPAD_R1);
- case 104 :
- return(gfx.ui.NavigationCode.GAMEPAD_R2);
- case 105 :
- return(gfx.ui.NavigationCode.GAMEPAD_R3);
- case 106 :
- return(gfx.ui.NavigationCode.GAMEPAD_START);
- case 107 :
- return(gfx.ui.NavigationCode.GAMEPAD_BACK);
- }
- return(null);
- }
- var _bEnableControlFixup = false;
- var _acceptKeycode = -1;
- var isGamepad = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 27 MovieClip [__Packages.gfx.events.EventDispatcher] Frame 0
- //----------------------------------------------------------------------
- class gfx.events.EventDispatcher
- {
- static var _instance;
- var _listeners;
- function EventDispatcher () {
- }
- static function initialize(target) {
- if (_instance == undefined) {
- _instance = new gfx.events.EventDispatcher();
- }
- target.dispatchEvent = _instance.dispatchEvent;
- target.dispatchQueue = _instance.dispatchQueue;
- target.hasEventListener = _instance.hasEventListener;
- target.addEventListener = _instance.addEventListener;
- target.removeEventListener = _instance.removeEventListener;
- target.removeAllEventListeners = _instance.removeAllEventListeners;
- target.cleanUpEvents = _instance.cleanUpEvents;
- _global.ASSetPropFlags(target, "dispatchQueue", 1);
- }
- static function indexOfListener(listeners, scope, callBack) {
- var _local3 = listeners.length;
- var _local2 = -1;
- while (_local2++ , _local2 < _local3) {
- var _local1 = listeners[_local2];
- if ((_local1.listenerObject == scope) && (_local1.listenerFunction == callBack)) {
- return(_local2);
- }
- }
- return(-1);
- }
- function addEventListener(event, scope, callBack) {
- if (_listeners == undefined) {
- _listeners = {};
- _global.ASSetPropFlags(this, "_listeners", 1);
- }
- var _local3 = _listeners[event];
- if (_local3 == undefined) {
- _local3 = [];
- _listeners[event] = _local3;
- }
- if (indexOfListener(_local3, scope, callBack) == -1) {
- _local3.push({listenerObject:scope, listenerFunction:callBack});
- }
- }
- function removeEventListener(event, scope, callBack) {
- var _local2 = _listeners[event];
- if (_local2 != undefined) {
- var _local3 = indexOfListener(_local2, scope, callBack);
- if (_local3 != -1) {
- _local2.splice(_local3, 1);
- }
- }
- }
- function dispatchEvent(event) {
- if (event.type != "all") {
- if (event.target == undefined) {
- event.target = this;
- }
- dispatchQueue(this, event);
- }
- }
- function hasEventListener(event) {
- return((_listeners[event] != null) && (_listeners[event].length > 0));
- }
- function removeAllEventListeners(event) {
- if (event == undefined) {
- delete _listeners;
- return(undefined);
- }
- delete _listeners[event];
- }
- function dispatchQueue(dispatch, event) {
- var _local1 = dispatch._listeners[event.type];
- if (_local1 != undefined) {
- $dispatchEvent(dispatch, _local1, event);
- }
- _local1 = dispatch._listeners.all;
- if (_local1 != undefined) {
- $dispatchEvent(dispatch, _local1, event);
- }
- }
- static function $dispatchEvent(dispatch, listeners, event) {
- var _local7 = listeners.length;
- var _local4 = 0;
- for(;;){
- if (_local4 >= _local7) {
- return(undefined);
- }
- var _local1 = listeners[_local4].listenerObject;
- var _local5 = typeof(_local1);
- var _local2 = listeners[_local4].listenerFunction;
- if (_local2 == undefined) {
- _local2 = event.type;
- }
- if (_local5 == "function") {
- if (_local1[_local2] == null) {
- _local1.apply(dispatch, [event]);
- } else {
- _local1[_local2](event);
- }
- } else if ((_local1.handleEvent != undefined) && (_local2 == undefined)) {
- _local1.handleEvent(event);
- } else {
- _local1[_local2](event);
- }
- _local4++;
- };
- }
- function cleanUp() {
- cleanUpEvents();
- }
- function cleanUpEvents() {
- removeAllEventListeners();
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 25 MovieClip [ListMenu] Frame 1
- //----------------------------------------------------------------------
- #initclip 45
- Object.registerClass("ListMenu", ListMenu);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 30 MovieClip [__Packages.skyui.util.GlobalFunctions] Frame 0
- //----------------------------------------------------------------------
- class skyui.util.GlobalFunctions
- {
- function GlobalFunctions () {
- }
- static function extract(a_str, a_startChar, a_endChar) {
- return(a_str.slice(a_str.indexOf(a_startChar) + 1, a_str.lastIndexOf(a_endChar)));
- }
- static function clean(a_str) {
- if (a_str.indexOf(";") > 0) {
- a_str = a_str.slice(0, a_str.indexOf(";"));
- }
- var _local3 = 0;
- while ((a_str.charAt(_local3) == " ") || (a_str.charAt(_local3) == "\t")) {
- _local3++;
- }
- var _local2 = a_str.length - 1;
- while ((a_str.charAt(_local2) == " ") || (a_str.charAt(_local2) == "\t")) {
- _local2--;
- }
- return(a_str.slice(_local3, _local2 + 1));
- }
- static function unescape(a_str) {
- a_str = a_str.split("\\n").join(newline);
- a_str = a_str.split("\\t").join("\t");
- return(a_str);
- }
- static function addArrayFunctions() {
- if (_arrayExtended) {
- return(undefined);
- }
- _arrayExtended = true;
- Array.prototype.indexOf = function (a_element) {
- var _local2 = 0;
- while (_local2 < this.length) {
- if (this[_local2] == a_element) {
- return(_local2);
- }
- _local2++;
- }
- return(undefined);
- };
- Array.prototype.equals = function (a) {
- if (a == undefined) {
- return(false);
- }
- if (this.length != a.length) {
- return(false);
- }
- var _local2 = 0;
- while (_local2 < a.length) {
- if (!(a[_local2] === this[_local2])) {
- return(false);
- }
- _local2++;
- }
- return(true);
- };
- Array.prototype.contains = function (a_element) {
- var _local2 = 0;
- while (_local2 < this.length) {
- if (this[_local2] == a_element) {
- return(true);
- }
- _local2++;
- }
- return(false);
- };
- _global.ASSetPropFlags(Array.prototype, ["indexOf", "equals", "contains"], 1, 0);
- }
- static function mapUnicodeChar(a_charCode) {
- if (a_charCode == 8470) {
- return(185);
- }
- if ((1025 <= a_charCode) && (a_charCode <= 1169)) {
- switch (a_charCode) {
- case 1025 :
- return(168);
- case 1028 :
- return(170);
- case 1029 :
- return(189);
- case 1030 :
- return(178);
- case 1031 :
- return(175);
- case 1032 :
- return(163);
- case 1038 :
- return(161);
- case 1105 :
- return(184);
- case 1108 :
- return(186);
- case 1109 :
- return(190);
- case 1110 :
- return(179);
- case 1111 :
- return(191);
- case 1112 :
- return(188);
- case 1118 :
- return(162);
- case 1168 :
- return(165);
- case 1169 :
- return(164);
- }
- if ((1039 <= a_charCode) && (a_charCode <= 1103)) {
- return(a_charCode - 848);
- }
- }
- return(a_charCode);
- }
- static function formatString(a_str) {
- if (arguments.length < 2) {
- return(a_str);
- }
- var _local12 = "";
- var _local8 = 0;
- var _local6 = 1;
- while (_local6 < arguments.length) {
- var _local7 = a_str.indexOf("{", _local8);
- if (_local7 == -1) {
- return(a_str);
- }
- var _local5 = a_str.indexOf("}", _local8);
- if (_local5 == -1) {
- return(a_str);
- }
- _local12 = _local12 + a_str.slice(_local8, _local7);
- var _local4 = Number(a_str.slice(_local7 + 1, _local5));
- var _local10 = Math.pow(10, _local4);
- var _local2 = (Math.round(arguments[_local6] * _local10) / _local10).toString();
- if (_local4 > 0) {
- if (_local2.indexOf(".") == -1) {
- _local2 = _local2 + ".";
- }
- var _local11 = _local2.split(".");
- var _local9 = _local11[1].length;
- while ((_local9++) < _local4) {
- _local2 = _local2 + "0";
- }
- }
- _local12 = _local12 + _local2;
- _local8 = _local5 + 1;
- _local6++;
- }
- _local12 = _local12 + a_str.slice(_local8);
- return(_local12);
- }
- static function formatNumber(a_number, a_decimal) {
- var _local2 = a_number.toString().toLowerCase();
- var _local6 = _local2.split("e", 2);
- var _local7 = Math.pow(10, a_decimal);
- _local2 = String(Math.round(parseFloat(_local6[0]) * _local7) / _local7);
- if (a_decimal > 0) {
- var _local5 = _local2.indexOf(".");
- if (_local5 == -1) {
- _local5 = _local2.length;
- _local2 = _local2 + ".";
- }
- var _local4 = _local2.length - (_local5 + 1);
- var _local1 = 0;
- while ((_local4 + _local1) < a_decimal) {
- _local2 = _local2 + "0";
- _local1++;
- }
- }
- if (_local6[1] != undefined) {
- _local2 = _local2 + ("E" + _local6[1]);
- }
- return(_local2);
- }
- static function getMappedKey(a_control, a_context, a_bGamepad) {
- if (_global.skse == undefined) {
- return(-1);
- }
- if (a_bGamepad == true) {
- return(skse.GetMappedKey(a_control, skyui.defines.Input.DEVICE_GAMEPAD, a_context));
- }
- var _local2 = skse.GetMappedKey(a_control, skyui.defines.Input.DEVICE_KEYBOARD, a_context);
- if (_local2 == -1) {
- _local2 = skse.GetMappedKey(a_control, skyui.defines.Input.DEVICE_MOUSE, a_context);
- }
- return(_local2);
- }
- static function hookFunction(a_scope, a_memberFn, a_hookScope, a_hookFn) {
- var memberFn = a_scope[a_memberFn];
- if ((memberFn == null) || (a_scope[a_memberFn] == null)) {
- return(false);
- }
- a_scope[a_memberFn] = function () {
- memberFn.apply(a_scope, arguments);
- a_hookScope[a_hookFn].apply(a_hookScope, arguments);
- };
- return(true);
- }
- static var _arrayExtended = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 30
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 44 MovieClip [__Packages.skyui.components.list.IEntryEnumeration] Frame 0
- //----------------------------------------------------------------------
- interface skyui.components.list.IEntryEnumeration
- {
- }
-
- //----------------------------------------------------------------------
- //Symbol 45 MovieClip [__Packages.skyui.components.list.ListState] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.ListState
- {
- var list;
- function ListState (a_list) {
- list = a_list;
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 9 MovieClip [ItemListEntry] Frame 1
- //----------------------------------------------------------------------
- #initclip 46
- Object.registerClass("ItemListEntry", ItemListEntry);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 12 MovieClip [ScrollBar_thumb] Frame 40
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 50 MovieClip [__Packages.skyui.filter.IFilter] Frame 0
- //----------------------------------------------------------------------
- interface skyui.filter.IFilter
- {
- }
-
- //----------------------------------------------------------------------
- //Symbol 21 MovieClip [ItemList] Frame 1
- //----------------------------------------------------------------------
- #initclip 43
- Object.registerClass("ItemList", ItemList);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 18 MovieClip [ScrollBar_track] Frame 1
- //----------------------------------------------------------------------
- #initclip 41
- Object.registerClass("ScrollBar_track", gfx.controls.Button);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 60 MovieClip [__Packages.com.greensock.easing.Linear] Frame 0
- //----------------------------------------------------------------------
- class com.greensock.easing.Linear
- {
- function Linear () {
- }
- static function easeNone(t, b, c, d) {
- return(((c * t) / d) + b);
- }
- static function easeIn(t, b, c, d) {
- return(((c * t) / d) + b);
- }
- static function easeOut(t, b, c, d) {
- return(((c * t) / d) + b);
- }
- static function easeInOut(t, b, c, d) {
- return(((c * t) / d) + b);
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 42 MovieClip [__Packages.skyui.components.list.BasicList] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.BasicList extends skyui.components.list.BSList
- {
- var _entryClipManager, _dataProcessors, listState, background, _selectedIndex, __get__selectedEntry, onUnsuspend, _entryList, _updateRequestID, _invalidateRequestID, listEnumeration, onInvalidate, dispatchEvent;
- function BasicList () {
- super();
- _entryClipManager = new skyui.components.list.EntryClipManager(this);
- _dataProcessors = [];
- listState = new skyui.components.list.ListState(this);
- gfx.events.EventDispatcher.initialize(this);
- Mouse.addListener(this);
- }
- function get width() {
- return(background._width);
- }
- function set width(a_val) {
- background._width = a_val;
- //return(width);
- }
- function get height() {
- return(background._height);
- }
- function set height(a_val) {
- background._height = a_val;
- //return(height);
- }
- function get platform() {
- return(_platform);
- }
- function get selectedIndex() {
- return(_selectedIndex);
- }
- function set selectedIndex(a_newIndex) {
- doSetSelectedIndex(a_newIndex, SELECT_MOUSE);
- //return(selectedIndex);
- }
- function get itemCount() {
- return(getListEnumSize());
- }
- function get selectedClip() {
- return(_entryClipManager.getClip(__get__selectedEntry().clipIndex));
- }
- function get suspended() {
- return(_bSuspended);
- }
- function set suspended(a_flag) {
- if (_bSuspended == a_flag) {
- return;
- }
- if (a_flag) {
- _bSuspended = true;
- } else {
- _bSuspended = false;
- if (_bRequestInvalidate) {
- InvalidateData();
- } else if (_bRequestUpdate) {
- UpdateList();
- }
- _bRequestInvalidate = false;
- _bRequestUpdate = false;
- if (onUnsuspend != undefined) {
- onUnsuspend();
- }
- }
- //return(suspended);
- }
- function setPlatform(a_platform, a_bPS3Switch) {
- _platform = a_platform;
- isMouseDrivenNav = _platform == PLATFORM_PC;
- }
- function addDataProcessor(a_dataProcessor) {
- _dataProcessors.push(a_dataProcessor);
- }
- function clearList() {
- _entryList.splice(0);
- }
- function requestInvalidate() {
- _bRequestInvalidate = true;
- if (_updateRequestID) {
- _bRequestUpdate = false;
- clearInterval(_updateRequestID);
- delete _updateRequestID;
- }
- if ((!_bSuspended) && (!_invalidateRequestID)) {
- _invalidateRequestID = setInterval(this, "commitInvalidate", 1);
- }
- }
- function requestUpdate() {
- _bRequestUpdate = true;
- if (_invalidateRequestID) {
- return(undefined);
- }
- if ((!_bSuspended) && (!_invalidateRequestID)) {
- _updateRequestID = setInterval(this, "commitUpdate", 1);
- }
- }
- function commitInvalidate() {
- clearInterval(_invalidateRequestID);
- delete _invalidateRequestID;
- if (_updateRequestID) {
- _bRequestUpdate = false;
- clearInterval(_updateRequestID);
- delete _updateRequestID;
- }
- _bRequestInvalidate = false;
- InvalidateData();
- }
- function commitUpdate() {
- clearInterval(_updateRequestID);
- delete _updateRequestID;
- _bRequestUpdate = false;
- UpdateList();
- }
- function InvalidateData() {
- if (_bSuspended) {
- _bRequestInvalidate = true;
- return(undefined);
- }
- var _local2 = 0;
- while (_local2 < _entryList.length) {
- _entryList[_local2].itemIndex = _local2;
- _entryList[_local2].clipIndex = undefined;
- _local2++;
- }
- _local2 = 0;
- while (_local2 < _dataProcessors.length) {
- _dataProcessors[_local2].processList(this);
- _local2++;
- }
- listEnumeration.invalidate();
- if (_selectedIndex >= listEnumeration.size()) {
- _selectedIndex = listEnumeration.size() - 1;
- }
- UpdateList();
- if (onInvalidate) {
- onInvalidate();
- }
- }
- function UpdateList() {
- }
- function onItemPress(a_index, a_keyboardOrMouse) {
- if ((disableInput || (disableSelection)) || (_selectedIndex == -1)) {
- return(undefined);
- }
- if (a_keyboardOrMouse == undefined) {
- a_keyboardOrMouse = SELECT_KEYBOARD;
- }
- dispatchEvent({type:"itemPress", index:_selectedIndex, entry:__get__selectedEntry(), clip:selectedClip, keyboardOrMouse:a_keyboardOrMouse});
- }
- function onItemPressAux(a_index, a_keyboardOrMouse, a_buttonIndex) {
- if (((disableInput || (disableSelection)) || (_selectedIndex == -1)) || (a_buttonIndex != 1)) {
- return(undefined);
- }
- if (a_keyboardOrMouse == undefined) {
- a_keyboardOrMouse = SELECT_KEYBOARD;
- }
- dispatchEvent({type:"itemPressAux", index:_selectedIndex, entry:__get__selectedEntry(), clip:selectedClip, keyboardOrMouse:a_keyboardOrMouse});
- }
- function onItemRollOver(a_index) {
- if ((isListAnimating || (disableSelection)) || (disableInput)) {
- return(undefined);
- }
- doSetSelectedIndex(a_index, SELECT_MOUSE);
- isMouseDrivenNav = true;
- }
- function onItemRollOut(a_index) {
- if (!isAutoUnselect) {
- return(undefined);
- }
- if ((isListAnimating || (disableSelection)) || (disableInput)) {
- return(undefined);
- }
- doSetSelectedIndex(-1, SELECT_MOUSE);
- isMouseDrivenNav = true;
- }
- function doSetSelectedIndex(a_newIndex, a_keyboardOrMouse) {
- if (disableSelection || (a_newIndex == _selectedIndex)) {
- return(undefined);
- }
- if ((a_newIndex != -1) && (getListEnumIndex(a_newIndex) == undefined)) {
- return(undefined);
- }
- var _local2 = _selectedIndex;
- _selectedIndex = a_newIndex;
- if (_local2 != -1) {
- var _local4 = _entryClipManager.getClip(_entryList[_local2].clipIndex);
- _local4.setEntry(_entryList[_local2], listState);
- }
- if (_selectedIndex != -1) {
- var _local4 = _entryClipManager.getClip(_entryList[_selectedIndex].clipIndex);
- _local4.setEntry(_entryList[_selectedIndex], listState);
- }
- dispatchEvent({type:"selectionChange", index:_selectedIndex, keyboardOrMouse:a_keyboardOrMouse});
- }
- function getClipByIndex(a_index) {
- return(_entryClipManager.getClip(a_index));
- }
- function setClipCount(a_count) {
- _entryClipManager.__set__clipCount(a_count);
- }
- function getSelectedListEnumIndex() {
- return(listEnumeration.lookupEnumIndex(_selectedIndex));
- }
- function getListEnumIndex(a_index) {
- return(listEnumeration.lookupEnumIndex(a_index));
- }
- function getListEntryIndex(a_index) {
- return(listEnumeration.lookupEntryIndex(a_index));
- }
- function getListEnumSize() {
- return(listEnumeration.size());
- }
- function getListEnumEntry(a_index) {
- return(listEnumeration.at(a_index));
- }
- function getListEnumFirstIndex() {
- return(listEnumeration.lookupEntryIndex(0));
- }
- function getListEnumLastIndex() {
- return(listEnumeration.lookupEntryIndex(getListEnumSize() - 1));
- }
- function getListEnumRelativeIndex(a_offset) {
- return(listEnumeration.lookupEntryIndex(getSelectedListEnumIndex() + a_offset));
- }
- static var PLATFORM_PC = 0;
- static var SELECT_MOUSE = 0;
- static var SELECT_KEYBOARD = 1;
- var _bRequestInvalidate = false;
- var _bRequestUpdate = false;
- var topBorder = 0;
- var bottomBorder = 0;
- var leftBorder = 0;
- var rightBorder = 0;
- var _platform = PLATFORM_PC;
- var isMouseDrivenNav = false;
- var isListAnimating = false;
- var disableInput = false;
- var disableSelection = false;
- var isAutoUnselect = false;
- var _bSuspended = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 20
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 39 MovieClip [__Packages.gfx.controls.ScrollIndicator] Frame 0
- //----------------------------------------------------------------------
- class gfx.controls.ScrollIndicator extends gfx.core.UIComponent
- {
- var tabChildren, focusEnabled, tabEnabled, _disabled, _scrollTarget, initialized, thumb, pageSize, dispatchEventAndSound, invalidate, focusTarget, __height, __width, _name, track, onRelease, useHandCursor, initSize, _rotation, inspectableScrollTarget, _parent, lastVScrollPos, scrollerIntervalID;
- function ScrollIndicator () {
- super();
- tabChildren = false;
- focusEnabled = (tabEnabled = !_disabled);
- }
- function get disabled() {
- return(_disabled);
- }
- function set disabled(value) {
- if (_disabled != value) {
- super.__set__disabled(value);
- focusEnabled = (tabEnabled = !_disabled);
- if (_scrollTarget) {
- tabEnabled = false;
- }
- if (initialized) {
- thumb.disabled = _disabled;
- }
- return;
- }
- //return(disabled);
- }
- function setScrollProperties(pageSize, minPosition, maxPosition, pageScrollSize) {
- this.pageSize = pageSize;
- if (pageScrollSize != undefined) {
- this.pageScrollSize = pageScrollSize;
- }
- this.minPosition = minPosition;
- this.maxPosition = maxPosition;
- updateThumb();
- }
- function get position() {
- return(_position);
- }
- function set position(value) {
- if (value != _position) {
- _position = Math.max(minPosition, Math.min(maxPosition, value));
- dispatchEventAndSound({type:"scroll", position:_position});
- invalidate();
- return;
- }
- //return(position);
- }
- function update() {
- }
- function get scrollTarget() {
- return(_scrollTarget);
- }
- function set scrollTarget(value) {
- var _local2 = _scrollTarget;
- _scrollTarget = value;
- if (_local2 && (value._parent != _local2)) {
- _local2.removeListener(this);
- if (_local2.scrollBar != null) {
- _local2.scrollBar = null;
- }
- focusTarget = null;
- _local2.noAutoSelection = false;
- }
- if ((value instanceof gfx.core.UIComponent) && (!(value.scrollBar === null))) {
- value.scrollBar = this;
- return;
- }
- if (_scrollTarget == null) {
- tabEnabled = true;
- return;
- }
- _scrollTarget.addListener(this);
- _scrollTarget.noAutoSelection = true;
- focusTarget = _scrollTarget;
- tabEnabled = false;
- onScroller();
- //return(scrollTarget);
- }
- function get availableHeight() {
- return(((((direction == "horizontal") ? (__width) : (__height)) - thumb.height) + offsetBottom) + offsetTop);
- }
- function toString() {
- return(("[Scaleform ScrollIndicator " + _name) + "]");
- }
- function configUI() {
- super.configUI();
- if (track == null) {
- track = new gfx.controls.Button();
- }
- thumb.focusTarget = this;
- track.focusTarget = this;
- thumb.disabled = _disabled;
- onRelease = function () {
- };
- useHandCursor = false;
- initSize();
- direction = ((_rotation == 0) ? "vertical" : "horizontal");
- if (inspectableScrollTarget != null) {
- var _local3 = _parent[inspectableScrollTarget];
- if (_local3 != null) {
- scrollTarget = (_local3);
- }
- inspectableScrollTarget = null;
- }
- }
- function draw() {
- track._height = ((direction == "horizontal") ? (__width) : (__height));
- if (_scrollTarget instanceof TextField) {
- setScrollProperties(_scrollTarget.bottomScroll - _scrollTarget.scroll, 1, _scrollTarget.maxscroll);
- return(undefined);
- }
- updateThumb();
- }
- function updateThumb() {
- if (!thumb.initialized) {
- invalidate();
- return(undefined);
- }
- if (_disabled) {
- return(undefined);
- }
- var _local6 = Math.max(1, (maxPosition - minPosition) + pageSize);
- var _local2 = (((direction == "horizontal") ? (__width) : (__height)) + offsetTop) + offsetBottom;
- thumb.height = Math.max(10, (pageSize / _local6) * _local2);
- var _local4 = (position - minPosition) / (maxPosition - minPosition);
- var _local3 = -offsetTop;
- var _local5 = (_local4 * availableHeight) + _local3;
- thumb._y = Math.max(_local3, Math.min(_local2 - offsetTop, _local5));
- thumb.visible = !(isNaN(_local4) || (maxPosition == 0));
- }
- function onScroller() {
- if (isDragging) {
- return(undefined);
- }
- if (lastVScrollPos == _scrollTarget.scroll) {
- delete lastVScrollPos;
- return(undefined);
- }
- setScrollProperties(_scrollTarget.bottomScroll - _scrollTarget.scroll, 1, _scrollTarget.maxscroll);
- position = (_scrollTarget.scroll);
- lastVScrollPos = _scrollTarget.scroll;
- if (scrollerIntervalID == undefined) {
- scrollerIntervalID = setInterval(this, "scrollerDelayUpdate", 10);
- }
- }
- function scrollerDelayUpdate() {
- onScroller();
- clearInterval(scrollerIntervalID);
- delete scrollerIntervalID;
- }
- var direction = "vertical";
- var soundMap = {theme:"default", scroll:"scroll"};
- var pageScrollSize = 1;
- var minPosition = 0;
- var maxPosition = 10;
- var _position = 5;
- var offsetTop = 0;
- var offsetBottom = 0;
- var isDragging = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 53 MovieClip [__Packages.skyui.components.list.FilteredEnumeration] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.FilteredEnumeration extends skyui.components.list.BasicEnumeration
- {
- var _filterChain, _filteredData, _entryData;
- function FilteredEnumeration (a_data) {
- super(a_data);
- _filterChain = [];
- _filteredData = [];
- }
- function addFilter(a_filter) {
- _filterChain.push(a_filter);
- }
- function size() {
- return(_filteredData.length);
- }
- function at(a_index) {
- return(_filteredData[a_index]);
- }
- function lookupEntryIndex(a_enumIndex) {
- return(_filteredData[a_enumIndex].itemIndex);
- }
- function lookupEnumIndex(a_entryIndex) {
- return(_entryData[a_entryIndex].filteredIndex);
- }
- function invalidate() {
- applyFilters();
- }
- function applyFilters() {
- _filteredData.splice(0);
- var _local2 = 0;
- while (_local2 < _entryData.length) {
- _entryData[_local2].filteredIndex = undefined;
- _filteredData[_local2] = _entryData[_local2];
- _local2++;
- }
- _local2 = 0;
- while (_local2 < _filterChain.length) {
- _filterChain[_local2].applyFilter(_filteredData);
- _local2++;
- }
- _local2 = 0;
- while (_local2 < _filteredData.length) {
- _filteredData[_local2].filteredIndex = _local2;
- _local2++;
- }
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 61 MovieClip [__Packages.skyui.components.list.BasicListEntry] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.BasicListEntry extends MovieClip
- {
- var onRollOver, onRollOut, onPress, onPressAux;
- function BasicListEntry () {
- super();
- onRollOver = function () {
- var _local2 = this._parent;
- if ((this.itemIndex != undefined) && (this.enabled)) {
- _local2.onItemRollOver(this.itemIndex);
- }
- };
- onRollOut = function () {
- var _local2 = this._parent;
- if ((this.itemIndex != undefined) && (this.enabled)) {
- _local2.onItemRollOut(this.itemIndex);
- }
- };
- onPress = function (a_mouseIndex, a_keyboardOrMouse) {
- var _local2 = this._parent;
- if ((this.itemIndex != undefined) && (this.enabled)) {
- _local2.onItemPress(this.itemIndex, a_keyboardOrMouse);
- }
- };
- onPressAux = function (a_mouseIndex, a_keyboardOrMouse, a_buttonIndex) {
- var _local2 = this._parent;
- if ((this.itemIndex != undefined) && (this.enabled)) {
- _local2.onItemPressAux(this.itemIndex, a_keyboardOrMouse, a_buttonIndex);
- }
- };
- }
- function initialize(a_index, a_state) {
- }
- function setEntry(a_entryObject, a_state) {
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 37 MovieClip [__Packages.gfx.utils.Constraints] Frame 0
- //----------------------------------------------------------------------
- class gfx.utils.Constraints
- {
- var scope, elements;
- function Constraints (scope, scaled) {
- this.scope = scope;
- this.scaled = scaled;
- elements = [];
- }
- function addElement(clip, edges) {
- if (clip != null) {
- var _local7 = 100 / scope._xscale;
- var _local8 = 100 / scope._yscale;
- var _local4 = scope._width;
- var _local5 = scope._height;
- if (scope == _root) {
- _local4 = Stage.width;
- _local5 = Stage.height;
- }
- var _local6 = {clip:clip, edges:edges, metrics:{left:clip._x, top:clip._y, right:(_local4 * _local7) - (clip._x + clip._width), bottom:(_local5 * _local8) - (clip._y + clip._height), xscale:clip._xscale, yscale:clip._yscale}};
- var _local16 = _local6.metrics;
- elements.push(_local6);
- }
- }
- function removeElement(clip) {
- var _local2 = 0;
- for(;;){
- if (_local2 >= elements.length) {
- return(undefined);
- }
- if (elements[_local2].clip == clip) {
- elements.splice(_local2, 1);
- return(undefined);
- }
- _local2++;
- };
- }
- function getElement(clip) {
- var _local2 = 0;
- while (_local2 < elements.length) {
- if (elements[_local2].clip == clip) {
- return(elements[_local2]);
- }
- _local2++;
- }
- return(null);
- }
- function update(width, height) {
- var _local9 = 100 / scope._xscale;
- var _local8 = 100 / scope._yscale;
- if (!scaled) {
- scope._xscale = 100;
- scope._yscale = 100;
- }
- var _local14 = 0;
- for(;;){
- if (_local14 >= elements.length) {
- return(undefined);
- }
- var _local7 = elements[_local14];
- var _local4 = _local7.edges;
- var _local2 = _local7.clip;
- var _local3 = _local7.metrics;
- var _local12 = ((_local2.width == null) ? "_width" : "width");
- var _local13 = ((_local2.height == null) ? "_height" : "height");
- if (scaled) {
- _local2._xscale = _local3.xscale * _local9;
- _local2._yscale = _local3.yscale * _local8;
- if ((_local4 & LEFT) > 0) {
- _local2._x = _local3.left * _local9;
- if ((_local4 & RIGHT) > 0) {
- var _local5 = (width - _local3.left) - _local3.right;
- if (!(_local2 instanceof TextField)) {
- _local5 = _local5 * _local9;
- }
- _local2[_local12] = _local5;
- }
- } else if ((_local4 & RIGHT) > 0) {
- _local2._x = ((width - _local3.right) * _local9) - _local2._width;
- }
- if ((_local4 & TOP) > 0) {
- _local2._y = _local3.top * _local8;
- if ((_local4 & BOTTOM) > 0) {
- var _local6 = (height - _local3.top) - _local3.bottom;
- if (!(_local2 instanceof TextField)) {
- _local6 = _local6 * _local8;
- }
- _local2[_local13] = _local6;
- }
- } else if ((_local4 & BOTTOM) > 0) {
- _local2._y = ((height - _local3.bottom) * _local8) - _local2._height;
- }
- } else {
- if ((_local4 & RIGHT) > 0) {
- if ((_local4 & LEFT) > 0) {
- _local2[_local12] = (width - _local3.left) - _local3.right;
- } else {
- _local2._x = (width - _local2._width) - _local3.right;
- }
- }
- if ((_local4 & BOTTOM) > 0) {
- if ((_local4 & TOP) > 0) {
- _local2[_local13] = (height - _local3.top) - _local3.bottom;
- } else {
- _local2._y = (height - _local2._height) - _local3.bottom;
- }
- }
- }
- _local14++;
- };
- }
- function toString() {
- return("[Scaleform Constraints]");
- }
- static var LEFT = 1;
- static var RIGHT = 2;
- static var TOP = 4;
- static var BOTTOM = 8;
- static var ALL = ((LEFT | RIGHT) | TOP) | BOTTOM;
- var scaled = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 33 MovieClip [__Packages.gfx.ui.InputDetails] Frame 0
- //----------------------------------------------------------------------
- class gfx.ui.InputDetails
- {
- var type, code, value, navEquivalent, controllerIdx, control, skseKeycode;
- function InputDetails (a_type, a_code, a_value, a_navEquivalent, a_controllerIdx, a_control, a_skseKeycode) {
- type = a_type;
- code = a_code;
- value = a_value;
- navEquivalent = a_navEquivalent;
- controllerIdx = a_controllerIdx;
- control = a_control;
- skseKeycode = a_skseKeycode;
- }
- function toString() {
- return(["[InputDelegate", "code=" + code, "type=" + type, "value=" + value, "navEquivalent=" + navEquivalent, ((("controllerIdx=" + controllerIdx) + ", control=") + control) + "]"].toString());
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 46 MovieClip [__Packages.skyui.components.list.IListProcessor] Frame 0
- //----------------------------------------------------------------------
- interface skyui.components.list.IListProcessor
- {
- }
-
- //----------------------------------------------------------------------
- //Symbol 18 MovieClip [ScrollBar_track] Frame 40
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 24 MovieClip [ItemView] Frame 1
- //----------------------------------------------------------------------
- #initclip 44
- Object.registerClass("ItemView", ItemView);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 40
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 54 MovieClip [__Packages.ListMenu] Frame 0
- //----------------------------------------------------------------------
- class ListMenu extends MovieClip
- {
- var itemList, itemView, _linearChildren, _childView, _visible, attachMovie, getNextHighestDepth;
- function ListMenu () {
- super();
- Shared.GlobalFunc.MaintainTextFormat();
- Shared.GlobalFunc.SetLockFunction();
- itemList = itemView.itemList;
- _linearChildren = new Array();
- _childView = new Array();
- _childView.push(itemView);
- _viewPosX = itemView._x;
- _viewPosY = itemView._y;
- _visible = false;
- Mouse.addListener(this);
- gfx.events.EventDispatcher.initialize(this);
- }
- function onLoad() {
- super.onLoad();
- itemView.setMinViewport(_viewPortMin);
- itemView.setMaxViewport(_viewPortMax);
- itemList.addEventListener("selectionChange", this, "onSelectionChange");
- itemList.addEventListener("itemPress", this, "onItemPressed");
- gfx.managers.FocusHandler.__get__instance().setFocus(itemList, 0);
- }
- function InitExtensions() {
- skse.SendModEvent("UIListMenu_LoadMenu");
- }
- function SetPlatform(aiPlatform, abPS3Switch) {
- }
- function closeMenu() {
- skse.SendModEvent("UIListMenu_CloseMenu");
- skse.CloseMenu("CustomMenu");
- }
- function handleInput(details, pathToFocus) {
- var _local2 = _childView[_childView.length - 1];
- if (_local2 && (_local2.handleInput(details, pathToFocus))) {
- return(true);
- }
- var _local5 = pathToFocus.shift();
- if (_local5.handleInput(details, pathToFocus)) {
- return(true);
- }
- if (Shared.GlobalFunc.IsKeyPressed(details)) {
- if (details.navEquivalent == gfx.ui.NavigationCode.TAB) {
- closeChildView();
- }
- }
- return(true);
- }
- function onSelectionChange(event) {
- var _local2 = _childView[_childView.length - 1];
- if (_local2) {
- var _local3 = _local2.entryList[event.index];
- _local2.itemList.listState.selectedEntry = _local3;
- }
- }
- function onItemPressed(event) {
- var _local4 = _childView[_childView.length - 1];
- if (_local4) {
- var _local3 = _local4.entryList[event.index];
- _local3.children.splice(0);
- var _local2 = 0;
- while (_local2 < _linearChildren.length) {
- if (_linearChildren[_local2].parent == _local3.id) {
- _local3.children.push(_linearChildren[_local2]);
- }
- _local2++;
- }
- if (_local3.children.length > 0) {
- openChildView(_local3, _local3.children);
- } else {
- skse.SendModEvent("UIListMenu_SelectItemText", _local3.text, _local3.callback);
- skse.SendModEvent("UIListMenu_SelectItem", Number(_local3.id).toString(), _local3.callback);
- closeMenu();
- }
- }
- }
- function openChildView(parentEntry, childEntries) {
- var _local2 = _childView[_childView.length - 1];
- if (_local2) {
- _local2.itemList.disableSelection = (_local2.itemList.disableInput = true);
- attachMovie("ItemView", "childView_" + _childView.length, getNextHighestDepth(), {_alpha:0, _x:_viewPosX, _y:_viewPosY, objectList:childEntries, parentEntry:parentEntry});
- var _local3 = this["childView_" + _childView.length];
- _local3.addEventListener("onLoad", this, "onChildViewLoad");
- _childView.push(_local3);
- com.greensock.TweenLite.to(_local2, 0.5, {_alpha:0, _x:_viewPosX - _local2._width, overwrite:com.greensock.OverwriteManager.NONE, easing:com.greensock.easing.Linear.easeNone});
- com.greensock.TweenLite.to(_local3, 0.5, {_alpha:100, overwrite:com.greensock.OverwriteManager.NONE, easing:com.greensock.easing.Linear.easeNone});
- }
- }
- function closeChildView() {
- var _local2 = _childView[_childView.length - 1];
- if (_local2 == itemView) {
- skse.SendModEvent("UIListMenu_SelectItemText", "", -1);
- skse.SendModEvent("UIListMenu_SelectItem", Number(-1).toString(), -1);
- closeMenu();
- return(undefined);
- }
- _local2.itemList.disableSelection = (_local2.itemList.disableInput = true);
- com.greensock.TweenLite.to(_local2, 0.5, {_alpha:0, onCompleteScope:this, onComplete:onChildViewRemoved, onCompleteParams:[_local2], overwrite:com.greensock.OverwriteManager.NONE, easing:com.greensock.easing.Linear.easeNone});
- _childView.splice(_childView.length - 1, 1);
- _local2 = _childView[_childView.length - 1];
- if (_local2) {
- _local2.children.splice(0);
- com.greensock.TweenLite.to(_local2, 0.5, {_alpha:100, _x:_viewPosX, onCompleteScope:this, onComplete:onChildViewRestored, onCompleteParams:[_local2], overwrite:com.greensock.OverwriteManager.NONE, easing:com.greensock.easing.Linear.easeNone});
- }
- }
- function onChildViewRestored(lastChild) {
- lastChild.itemList.disableSelection = (lastChild.itemList.disableInput = false);
- gfx.managers.FocusHandler.__get__instance().setFocus(lastChild.itemList, 0);
- }
- function onChildViewRemoved(lastChild) {
- if (lastChild) {
- lastChild.removeMovieClip();
- }
- }
- function onChildViewLoad(event) {
- if (event.view) {
- event.view.setMinViewport(_viewPortMin);
- event.view.setMaxViewport(_viewPortMax);
- event.view.itemList.addEventListener("itemPress", this, "onItemPressed");
- event.view.itemList.addEventListener("selectionChange", this, "onSelectionChange");
- event.view.entryList = event.view.objectList;
- event.view.itemList.requestInvalidate();
- }
- gfx.managers.FocusHandler.__get__instance().setFocus(event.view.itemList, 0);
- }
- function LM_AddTreeEntries() {
- var _local12 = false;
- var _local5 = 0;
- while (_local5 < arguments.length) {
- var _local3 = arguments[_local5].split(";;");
- if (_local3[0] != "") {
- var _local4 = {text:_local3[0], parent:Number(_local3[1]), id:Number(_local3[2]), callback:Number(_local3[3]), hasChildren:Number(_local3[4]), children:new Array()};
- _linearChildren.push(_local4);
- if (_local4.parent == -1) {
- itemList.__get__entryList().push(_local4);
- _local12 = true;
- }
- }
- _local5++;
- }
- if (_local12) {
- itemList.InvalidateData();
- _visible = true;
- }
- }
- function LM_SetSortingEnabled(a_sort) {
- var _local2 = 0;
- while (_local2 < _childView.length) {
- _childView[_local2].sortEnabled = a_sort;
- _local2++;
- }
- }
- var _viewPosX = 0;
- var _viewPosY = 0;
- var _viewPortMin = 5;
- var _viewPortMax = 15;
- }
-
- //----------------------------------------------------------------------
- //Symbol 57 MovieClip [__Packages.com.greensock.TweenLite] Frame 0
- //----------------------------------------------------------------------
- class com.greensock.TweenLite extends com.greensock.core.TweenCore
- {
- static var _timingClip, overwriteManager, rootFrame, rootTimeline, rootFramesTimeline, onPluginEvent;
- var ratio, target, _targetID, vars, cachedTimeScale, propTweenLookup, _ease, _overwrite, active, cachedPT1, _notifyPluginsOfEnabled, _hasPlugins, _hasUpdate, _overwrittenProps, initted, cachedTime, cachedDuration, cachedTotalTime, cachedReversed, _rawPrevTime, cachedPaused, gc, complete;
- function TweenLite (target, duration, vars) {
- super(duration, vars);
- if (_timingClip.onEnterFrame != updateAll) {
- jumpStart(_root);
- }
- ratio = 0;
- this.target = target;
- _targetID = getID(target, true);
- if ((this.vars.timeScale != undefined) && (this.target instanceof com.greensock.core.TweenCore)) {
- cachedTimeScale = 1;
- }
- propTweenLookup = {};
- _ease = defaultEase;
- _overwrite = (((vars.overwrite == undefined) || ((!overwriteManager.enabled) && (vars.overwrite > 1))) ? (overwriteManager.mode) : (Number(vars.overwrite)));
- var _local5 = masterList[_targetID].tweens;
- if (_local5.length == 0) {
- _local5[0] = this;
- } else if (_overwrite == 1) {
- var _local4 = _local5.length;
- while (_local4-- , _local4 > -1) {
- if (!_local5[_local4].gc) {
- _local5[_local4].setEnabled(false, false);
- }
- }
- masterList[_targetID].tweens = [this];
- } else {
- _local5[_local5.length] = this;
- }
- if (active || (this.vars.immediateRender)) {
- renderTime(0, false, true);
- }
- }
- static function initClass() {
- rootFrame = 0;
- rootTimeline = new com.greensock.core.SimpleTimeline(null);
- rootFramesTimeline = new com.greensock.core.SimpleTimeline(null);
- rootTimeline.autoRemoveChildren = (rootFramesTimeline.autoRemoveChildren = true);
- rootTimeline.cachedStartTime = getTimer() * 0.001;
- rootTimeline.cachedTotalTime = (rootFramesTimeline.cachedTotalTime = 0);
- rootFramesTimeline.cachedStartTime = rootFrame;
- if (overwriteManager == undefined) {
- overwriteManager = {mode:1, enabled:false};
- }
- jumpStart(_root);
- }
- function init() {
- if (vars.onInit) {
- vars.onInit.apply(null, vars.onInitParams);
- }
- var _local2;
- var _local5;
- var _local3;
- var _local6;
- var _local7;
- if (typeof(vars.ease) == "function") {
- _ease = vars.ease;
- }
- if (vars.easeParams != undefined) {
- vars.proxiedEase = _ease;
- _ease = easeProxy;
- }
- cachedPT1 = undefined;
- propTweenLookup = {};
- for (_local2 in vars) {
- if (_reservedProps[_local2] && (!((_local2 == "timeScale") && (target instanceof com.greensock.core.TweenCore)))) {
- } else if (plugins[_local2] && ((_local3 = new plugins[_local2]()).onInitTween(target, vars[_local2], this))) {
- cachedPT1 = new com.greensock.core.PropTween(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length == 1) ? (_local3.overwriteProps[0]) : "_MULTIPLE_"), true, cachedPT1);
- if (cachedPT1.name == "_MULTIPLE_") {
- _local5 = _local3.overwriteProps.length;
- while (_local5-- , _local5 > -1) {
- propTweenLookup[_local3.overwriteProps[_local5]] = cachedPT1;
- }
- } else {
- propTweenLookup[cachedPT1.name] = cachedPT1;
- }
- if (_local3.priority) {
- cachedPT1.priority = _local3.priority;
- _local6 = true;
- }
- if (_local3.onDisable || (_local3.onEnable)) {
- _notifyPluginsOfEnabled = true;
- }
- _hasPlugins = true;
- } else {
- cachedPT1 = new com.greensock.core.PropTween(target, _local2, Number(target[_local2]), ((typeof(vars[_local2]) == "number") ? (Number(vars[_local2]) - target[_local2]) : (Number(vars[_local2]))), _local2, false, cachedPT1);
- propTweenLookup[_local2] = cachedPT1;
- }
- }
- if (_local6) {
- onPluginEvent("onInitAllProps", this);
- }
- if (vars.runBackwards) {
- var _local4 = cachedPT1;
- while (_local4) {
- _local4.start = _local4.start + _local4.change;
- _local4.change = -_local4.change;
- _local4 = _local4.nextNode;
- }
- }
- _hasUpdate = Boolean(typeof(vars.onUpdate) == "function");
- if (_overwrittenProps) {
- killVars(_overwrittenProps);
- if (cachedPT1 == undefined) {
- setEnabled(false, false);
- }
- }
- if ((((_overwrite > 1) && (cachedPT1)) && (_local7 = masterList[_targetID].tweens)) && (_local7.length > 1)) {
- if (overwriteManager.manageOverwrites(this, propTweenLookup, _local7, _overwrite)) {
- init();
- }
- }
- initted = true;
- }
- function renderTime(time, suppressEvents, force) {
- var _local4;
- var _local5 = cachedTime;
- if (time >= cachedDuration) {
- cachedTotalTime = (cachedTime = cachedDuration);
- ratio = 1;
- _local4 = !cachedReversed;
- if (cachedDuration == 0) {
- if (((time == 0) || (_rawPrevTime < 0)) && (_rawPrevTime != time)) {
- force = true;
- }
- _rawPrevTime = time;
- }
- } else if (time <= 0) {
- cachedTotalTime = (cachedTime = (ratio = 0));
- if (time < 0) {
- active = false;
- if (cachedDuration == 0) {
- if (_rawPrevTime >= 0) {
- force = true;
- _local4 = _rawPrevTime > 0;
- }
- _rawPrevTime = time;
- }
- }
- if (cachedReversed && (_local5 != 0)) {
- _local4 = true;
- }
- } else {
- cachedTotalTime = (cachedTime = time);
- ratio = _ease(time, 0, 1, cachedDuration);
- }
- if ((cachedTime == _local5) && (!force)) {
- return(undefined);
- }
- if (!initted) {
- init();
- if ((!_local4) && (cachedTime)) {
- ratio = _ease(cachedTime, 0, 1, cachedDuration);
- }
- }
- if ((!active) && (!cachedPaused)) {
- active = true;
- }
- if ((((_local5 == 0) && (vars.onStart)) && ((cachedTime != 0) || (cachedDuration == 0))) && (!suppressEvents)) {
- vars.onStart.apply(vars.onStartScope, vars.onStartParams);
- }
- var _local2 = cachedPT1;
- while (_local2) {
- _local2.target[_local2.property] = _local2.start + (ratio * _local2.change);
- _local2 = _local2.nextNode;
- }
- if (_hasUpdate && (!suppressEvents)) {
- vars.onUpdate.apply(vars.onUpdateScope, vars.onUpdateParams);
- }
- if (_local4 && (!gc)) {
- if (_hasPlugins && (cachedPT1)) {
- onPluginEvent("onComplete", this);
- }
- complete(true, suppressEvents);
- }
- }
- function killVars(vars, permanent) {
- if (_overwrittenProps == undefined) {
- _overwrittenProps = {};
- }
- var _local3;
- var _local2;
- var _local5;
- for (_local3 in vars) {
- if (propTweenLookup[_local3]) {
- _local2 = propTweenLookup[_local3];
- if (_local2.isPlugin && (_local2.name == "_MULTIPLE_")) {
- _local2.target.killProps(vars);
- if (_local2.target.overwriteProps.length == 0) {
- _local2.name = "";
- }
- if ((_local3 != _local2.target.propName) || (_local2.name == "")) {
- delete propTweenLookup[_local3];
- }
- }
- if (_local2.name != "_MULTIPLE_") {
- if (_local2.nextNode) {
- _local2.nextNode.prevNode = _local2.prevNode;
- }
- if (_local2.prevNode) {
- _local2.prevNode.nextNode = _local2.nextNode;
- } else if (cachedPT1 == _local2) {
- cachedPT1 = _local2.nextNode;
- }
- if (_local2.isPlugin && (_local2.target.onDisable)) {
- _local2.target.onDisable();
- if (_local2.target.activeDisable) {
- _local5 = true;
- }
- }
- delete propTweenLookup[_local3];
- }
- }
- if ((permanent != false) && (vars != _overwrittenProps)) {
- _overwrittenProps[_local3] = 1;
- }
- }
- return(_local5);
- }
- function invalidate() {
- if (_notifyPluginsOfEnabled) {
- onPluginEvent("onDisable", this);
- }
- cachedPT1 = undefined;
- _overwrittenProps = undefined;
- _hasUpdate = (initted = (active = (_notifyPluginsOfEnabled = false)));
- propTweenLookup = {};
- }
- function setEnabled(enabled, ignoreTimeline) {
- if (enabled && (gc)) {
- var _local4 = masterList[_targetID].tweens;
- if (_local4) {
- var _local3 = _local4.length;
- _local4[_local3] = this;
- while (_local3-- , _local3 > -1) {
- if (_local4[_local3] == this) {
- _local4.splice(_local3, 1);
- }
- }
- } else {
- masterList[_targetID] = {target:target, tweens:[this]};
- }
- }
- super.setEnabled(enabled, ignoreTimeline);
- if (_notifyPluginsOfEnabled && (cachedPT1)) {
- return(onPluginEvent((enabled ? "onEnable" : "onDisable"), this));
- }
- return(false);
- }
- function easeProxy(t, b, c, d) {
- return(vars.proxiedEase.apply(null, arguments.concat(vars.easeParams)));
- }
- static function to(target, duration, vars) {
- return(new com.greensock.TweenLite(target, duration, vars));
- }
- static function from(target, duration, vars) {
- vars.runBackwards = true;
- if (vars.immediateRender != false) {
- vars.immediateRender = true;
- }
- return(new com.greensock.TweenLite(target, duration, vars));
- }
- static function delayedCall(delay, onComplete, onCompleteParams, onCompleteScope, useFrames) {
- return(new com.greensock.TweenLite(onComplete, 0, {delay:delay, onComplete:onComplete, onCompleteParams:onCompleteParams, onCompleteScope:onCompleteScope, immediateRender:false, useFrames:useFrames, overwrite:0}));
- }
- static function updateAll() {
- rootTimeline.renderTime(((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale, false, false);
- rootFrame++;
- rootFramesTimeline.renderTime((rootFrame - rootFramesTimeline.cachedStartTime) * rootFramesTimeline.cachedTimeScale, false, false);
- if (!(rootFrame % 60)) {
- var _local3 = masterList;
- var _local2;
- var _local1;
- for (var _local4 in _local3) {
- _local1 = _local3[_local4].tweens;
- _local2 = _local1.length;
- while (_local2-- , _local2 > -1) {
- if (_local1[_local2].gc) {
- _local1.splice(_local2, 1);
- }
- }
- if (_local1.length == 0) {
- delete _local3[_local4];
- }
- }
- }
- }
- static function killTweensOf(target, complete, vars) {
- var _local6 = getID(target, true);
- var _local4 = masterList[_local6].tweens;
- var _local3;
- var _local1;
- if (_local4 != undefined) {
- _local3 = _local4.length;
- while (_local3-- , _local3 > -1) {
- _local1 = _local4[_local3];
- if (!_local1.gc) {
- if (complete == true) {
- _local1.complete(false, false);
- }
- if (vars != undefined) {
- _local1.killVars(vars);
- }
- if ((vars == undefined) || ((_local1.cachedPT1 == undefined) && (_local1.initted))) {
- _local1.setEnabled(false, false);
- }
- }
- }
- if (vars == undefined) {
- delete masterList[_local6];
- }
- }
- }
- static function getID(target, lookup) {
- var _local2;
- if (lookup) {
- var _local1 = masterList;
- if (typeof(target) == "movieclip") {
- if (_local1[String(target)] != undefined) {
- return(String(target));
- }
- _local2 = String(target);
- masterList[_local2] = {target:target, tweens:[]};
- return(_local2);
- }
- for (var _local3 in _local1) {
- if (_local1[_local3].target == target) {
- return(_local3);
- }
- }
- }
- _cnt++;
- _local2 = "t" + _cnt;
- masterList[_local2] = {target:target, tweens:[]};
- return(_local2);
- }
- static function easeOut(t, b, c, d) {
- t = t / d;
- return((-1 * t) * (t - 2));
- }
- static function findSubloadedSWF(mc) {
- for (var _local3 in mc) {
- if (typeof(mc[_local3]) == "movieclip") {
- if ((mc[_local3]._url != _root._url) && (mc[_local3].getBytesLoaded() != undefined)) {
- return(mc[_local3]);
- }
- if (findSubloadedSWF(mc[_local3]) != undefined) {
- return(findSubloadedSWF(mc[_local3]));
- }
- }
- }
- return(undefined);
- }
- static function jumpStart(root) {
- if (_timingClip != undefined) {
- _timingClip.removeMovieClip();
- }
- var _local2 = ((root.getBytesLoaded() == undefined) ? (findSubloadedSWF(root)) : (root));
- var _local1 = 999;
- while (_local2.getInstanceAtDepth(_local1) != undefined) {
- _local1++;
- }
- _timingClip = _local2.createEmptyMovieClip("__tweenLite" + String(version).split(".").join("_"), _local1);
- _timingClip.onEnterFrame = updateAll;
- to({}, 0, {});
- rootTimeline.cachedTime = (rootTimeline.cachedTotalTime = ((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale);
- }
- static var version = 11.698;
- static var plugins = {};
- static var killDelayedCallsTo = killTweensOf;
- static var defaultEase = easeOut;
- static var masterList = {};
- static var _cnt = -16000;
- static var _reservedProps = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, onStart:1, onStartParams:1, onReverseComplete:1, onReverseCompleteParams:1, onRepeat:1, onRepeatParams:1, proxiedEase:1, easeParams:1, yoyo:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1, immediateRender:1, repeat:1, repeatDelay:1, timeline:1, data:1, paused:1, reversed:1};
- }
-
- //----------------------------------------------------------------------
- //Symbol 32 MovieClip [__Packages.gfx.ui.NavigationCode] Frame 0
- //----------------------------------------------------------------------
- class gfx.ui.NavigationCode
- {
- function NavigationCode () {
- }
- static var UP = "up";
- static var DOWN = "down";
- static var LEFT = "left";
- static var RIGHT = "right";
- static var START = "start";
- static var BACK = "back";
- static var GAMEPAD_A = "enter-gamepad_A";
- static var GAMEPAD_B = "escape-gamepad_B";
- static var GAMEPAD_X = "gamepad_X";
- static var GAMEPAD_Y = "gamepad_Y";
- static var GAMEPAD_L1 = "gamepad_L1";
- static var GAMEPAD_L2 = "gamepad_L2";
- static var GAMEPAD_L3 = "gamepad_L3";
- static var GAMEPAD_R1 = "gamepad_R1";
- static var GAMEPAD_R2 = "gamepad_R2";
- static var GAMEPAD_R3 = "gamepad_R3";
- static var GAMEPAD_START = "start";
- static var GAMEPAD_BACK = "back";
- static var ENTER = "enter-gamepad_A";
- static var ESCAPE = "escape-gamepad_B";
- static var END = "end";
- static var HOME = "home";
- static var PAGE_DOWN = "pageDown";
- static var PAGE_UP = "pageUp";
- static var TAB = "tab";
- static var SHIFT_TAB = "shifttab";
- }
-
- //----------------------------------------------------------------------
- //Symbol 40 MovieClip [__Packages.gfx.controls.ScrollBar] Frame 0
- //----------------------------------------------------------------------
- class gfx.controls.ScrollBar extends gfx.controls.ScrollIndicator
- {
- var _disabled, gotoAndPlay, initialized, upArrow, downArrow, track, offsetTop, offsetBottom, thumb, _name, onRelease, _rotation, constraints, direction, __height, __width, _scrollTarget, setScrollProperties, invalidate, pageSize, minPosition, maxPosition, _position, pageScrollSize, isDragging, onMouseMove, onMouseUp, dragOffset, _ymouse, trackDragMouseIndex;
- function ScrollBar () {
- super();
- }
- function get disabled() {
- return(_disabled);
- }
- function set disabled(value) {
- if (_disabled != value) {
- super.__set__disabled(value);
- gotoAndPlay((_disabled ? "disabled" : "default"));
- if (initialized) {
- upArrow.disabled = _disabled;
- downArrow.disabled = _disabled;
- track.disabled = _disabled;
- }
- return;
- }
- //return(disabled);
- }
- function get position() {
- return(super.__get__position());
- }
- function set position(value) {
- value = Math.round(value);
- if (value != position) {
- super.__set__position(value);
- updateScrollTarget();
- return;
- }
- //return(position);
- }
- function get trackMode() {
- return(_trackMode);
- }
- function set trackMode(value) {
- if (value != _trackMode) {
- _trackMode = value;
- if (initialized) {
- track.autoRepeat = trackMode == "scrollPage";
- }
- return;
- }
- //return(trackMode);
- }
- function get availableHeight() {
- return(((track.height - thumb.height) + offsetBottom) + offsetTop);
- }
- function toString() {
- return(("[Scaleform ScrollBar " + _name) + "]");
- }
- function configUI() {
- super.configUI();
- delete onRelease;
- if (upArrow) {
- upArrow.addEventListener("click", this, "scrollUp");
- upArrow.useHandCursor = !_disabled;
- upArrow.disabled = _disabled;
- upArrow.focusTarget = this;
- upArrow.autoRepeat = true;
- }
- if (downArrow) {
- downArrow.addEventListener("click", this, "scrollDown");
- downArrow.useHandCursor = !_disabled;
- downArrow.disabled = _disabled;
- downArrow.focusTarget = this;
- downArrow.autoRepeat = true;
- }
- thumb.addEventListener("press", this, "beginDrag");
- thumb.useHandCursor = !_disabled;
- thumb.lockDragStateChange = true;
- track.addEventListener("press", this, "beginTrackScroll");
- track.addEventListener("click", this, "trackScroll");
- track.disabled = _disabled;
- track.autoRepeat = trackMode == "scrollPage";
- Mouse.addListener(this);
- var _local3 = _rotation;
- _rotation = 0;
- constraints = new gfx.utils.Constraints(this);
- if (downArrow) {
- constraints.addElement(downArrow, gfx.utils.Constraints.BOTTOM);
- }
- constraints.addElement(track, gfx.utils.Constraints.TOP | gfx.utils.Constraints.BOTTOM);
- _rotation = _local3;
- }
- function draw() {
- if (direction == "horizontal") {
- constraints.update(__height, __width);
- } else {
- constraints.update(__width, __height);
- }
- if (_scrollTarget instanceof TextField) {
- setScrollProperties(_scrollTarget.bottomScroll - _scrollTarget.scroll, 1, _scrollTarget.maxscroll);
- return(undefined);
- }
- updateThumb();
- }
- function updateThumb() {
- if (!initialized) {
- invalidate();
- return(undefined);
- }
- if (_disabled) {
- return(undefined);
- }
- var _local7 = Math.max(1, (maxPosition - minPosition) + pageSize);
- var _local2 = (track.height + offsetTop) + offsetBottom;
- var _local6 = _local2;
- thumb.height = Math.max(10, Math.min(_local2, (pageSize / _local7) * _local6));
- var _local4 = (_position - minPosition) / (maxPosition - minPosition);
- var _local3 = track._y - offsetTop;
- var _local5 = (_local4 * availableHeight) + _local3;
- thumb._y = Math.max(_local3, Math.min(((track._y + track.height) - thumb.height) + offsetBottom, _local5));
- thumb.visible = !((isNaN(_local4) || (maxPosition <= 0)) || (maxPosition == Infinity));
- if (thumb.visible) {
- track.disabled = false;
- if (upArrow) {
- if (_position == minPosition) {
- upArrow.disabled = true;
- } else {
- upArrow.disabled = false;
- }
- }
- if (downArrow) {
- if (_position == maxPosition) {
- downArrow.disabled = true;
- } else {
- downArrow.disabled = false;
- }
- }
- return(undefined);
- }
- if (upArrow) {
- upArrow.disabled = true;
- }
- if (downArrow) {
- downArrow.disabled = true;
- }
- track.disabled = true;
- }
- function scrollUp() {
- position = (position - pageScrollSize);
- }
- function scrollDown() {
- position = (position + pageScrollSize);
- }
- function beginDrag() {
- if (isDragging != true) {
- isDragging = true;
- onMouseMove = doDrag;
- onMouseUp = endDrag;
- dragOffset = {y:_ymouse - thumb._y};
- }
- }
- function doDrag() {
- var _local2 = ((_ymouse - dragOffset.y) - track._y) / availableHeight;
- position = (minPosition + (_local2 * (maxPosition - minPosition)));
- }
- function endDrag() {
- delete onMouseUp;
- delete onMouseMove;
- isDragging = false;
- if (trackDragMouseIndex != undefined) {
- if (thumb.hitTest(_root._xmouse, _root._ymouse)) {
- thumb.onRelease(trackDragMouseIndex);
- } else {
- thumb.onReleaseOutside(trackDragMouseIndex);
- }
- }
- delete trackDragMouseIndex;
- }
- function beginTrackScroll(e) {
- var _local2 = ((_ymouse - (thumb.height / 2)) - track._y) / availableHeight;
- trackScrollPosition = Math.round((_local2 * (maxPosition - minPosition)) + minPosition);
- if (Key.isDown(16) || (trackMode == "scrollToCursor")) {
- position = (trackScrollPosition);
- trackDragMouseIndex = e.controllerIdx;
- thumb.onPress(trackDragMouseIndex);
- dragOffset = {y:thumb.height / 2};
- }
- }
- function trackScroll() {
- if (isDragging || (position == trackScrollPosition)) {
- return(undefined);
- }
- var _local2 = ((position >= trackScrollPosition) ? (-trackScrollPageSize) : (trackScrollPageSize));
- var _local3 = position + _local2;
- position = (((_local2 >= 0) ? (Math.min(_local3, trackScrollPosition)) : (Math.max(_local3, trackScrollPosition))));
- }
- function updateScrollTarget() {
- if (_scrollTarget != null) {
- if (_scrollTarget && (!_disabled)) {
- _scrollTarget.scroll = _position;
- }
- }
- }
- function scrollWheel(delta) {
- position = (position - (delta * pageScrollSize));
- }
- var trackScrollPageSize = 1;
- var _trackMode = "scrollPage";
- var trackScrollPosition = -1;
- }
-
- //----------------------------------------------------------------------
- //Symbol 28 MovieClip [__Packages.gfx.managers.FocusHandler] Frame 0
- //----------------------------------------------------------------------
- class gfx.managers.FocusHandler
- {
- var currentFocusLookup, actualFocusLookup, inputDelegate;
- function FocusHandler () {
- Selection.addListener(this);
- _global.gfxExtensions = 1;
- Selection.alwaysEnableArrowKeys = true;
- Selection.disableFocusKeys = true;
- Selection.disableFocusAutoRelease = true;
- Selection.disableFocusRolloverEvent = true;
- _root._focusrect = false;
- currentFocusLookup = [];
- actualFocusLookup = [];
- }
- static function get instance() {
- if (_instance == null) {
- _instance = new gfx.managers.FocusHandler();
- }
- return(_instance);
- }
- function initialize() {
- inited = true;
- inputDelegate = gfx.managers.InputDelegate.instance;
- inputDelegate.addEventListener("input", this, "handleInput");
- }
- function getFocus(focusIdx) {
- return(currentFocusLookup[focusIdx]);
- }
- function setFocus(focus, focusIdx) {
- if (!inited) {
- initialize();
- }
- while (focus.focusTarget != null) {
- focus = focus.focusTarget;
- }
- var _local8 = actualFocusLookup[focusIdx];
- var _local5 = currentFocusLookup[focusIdx];
- if (_local5 != focus) {
- _local5.focused = _local5.focused & (~(1 << focusIdx));
- _local5 = focus;
- currentFocusLookup[focusIdx] = focus;
- _local5.focused = _local5.focused | (1 << focusIdx);
- }
- if ((_local8 != _local5) && (!(_local8 instanceof TextField))) {
- var _local6 = Selection.getControllerMaskByFocusGroup(focusIdx);
- var _local2 = 0;
- while (_local2 < System.capabilities.numControllers) {
- var _local4 = ((_local6 >> _local2) & 1) != 0;
- if (_local4) {
- Selection.setFocus(_local5, _local2);
- }
- _local2++;
- }
- }
- }
- function handleInput(event) {
- var controllerIdx = event.details.controllerIdx;
- var focusIdx = Selection.getControllerFocusGroup(controllerIdx);
- var path = getPathToFocus(focusIdx);
- if (((path.length == 0) || (path[0].handleInput == null)) || (path[0].handleInput(event.details, path.slice(1)) != true)) {
- if (event.details.value != "keyUp") {
- var nav = event.details.navEquivalent;
- if (nav != null) {
- var focusedElem = eval (Selection.getFocus(controllerIdx));
- var actualFocus = actualFocusLookup[focusIdx];
- if (((actualFocus instanceof TextField) && (focusedElem == actualFocus)) && (textFieldHandleInput(nav, controllerIdx))) {
- return(undefined);
- }
- var dirH = ((nav == gfx.ui.NavigationCode.LEFT) || (nav == gfx.ui.NavigationCode.RIGHT));
- var dirV = ((nav == gfx.ui.NavigationCode.UP) || (nav == gfx.ui.NavigationCode.DOWN));
- var focusContext = focusedElem._parent;
- var focusMode = "default";
- if (dirH || (dirV)) {
- var focusProp = (dirH ? "focusModeHorizontal" : "focusModeVertical");
- while (focusContext) {
- focusMode = focusContext[focusProp];
- if (focusMode && (focusMode != "default")) {
- break;
- }
- focusContext = focusContext._parent;
- }
- } else {
- focusContext = null;
- }
- var newFocus = Selection.findFocus(nav, focusContext, focusMode == "loop", null, false, controllerIdx);
- if (newFocus) {
- Selection.setFocus(newFocus, controllerIdx);
- }
- }
- }
- }
- }
- function getPathToFocus(focusIdx) {
- var _local5 = currentFocusLookup[focusIdx];
- var _local3 = _local5;
- var _local4 = [_local3];
- do {
- if (!_local3) {
- break;
- }
- _local3 = _local3._parent;
- if (_local3.handleInput != null) {
- _local4.unshift(_local3);
- }
- } while (_local3 != _root);
- return(_local4);
- }
- function onSetFocus(oldFocus, newFocus, controllerIdx) {
- if ((oldFocus instanceof TextField) && (newFocus == null)) {
- return(undefined);
- }
- var _local3 = Selection.getControllerFocusGroup(controllerIdx);
- var _local6 = actualFocusLookup[_local3];
- if (_local6 == newFocus) {
- var _local5 = ((newFocus instanceof TextField) ? (newFocus._parent) : (newFocus));
- var _local4 = _local5.focused;
- if (_local4 & ((1 << _local3) == 0)) {
- _local5.focused = _local4 | (1 << _local3);
- }
- }
- actualFocusLookup[_local3] = newFocus;
- setFocus(newFocus, _local3);
- }
- function textFieldHandleInput(nav, controllerIdx) {
- var _local2 = Selection.getCaretIndex(controllerIdx);
- var _local4 = Selection.getControllerFocusGroup(controllerIdx);
- var _local3 = actualFocusLookup[_local4];
- if (((__reg0 = nav)) === gfx.ui.NavigationCode.UP) {
- if (!_local3.multiline) {
- return(false);
- }
- return(_local2 > 0);
- }
- if (__reg0 === gfx.ui.NavigationCode.LEFT) {
- return(_local2 > 0);
- }
- if (__reg0 === gfx.ui.NavigationCode.DOWN) {
- if (!_local3.multiline) {
- return(false);
- }
- return(_local2 < TextField(_local3).length);
- }
- if (__reg0 === gfx.ui.NavigationCode.RIGHT) {
- return(_local2 < TextField(_local3).length);
- }
- return(false);
- }
- static var _instance = instance;
- var inited = false;
- }
-
- //----------------------------------------------------------------------
- //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 1
- //----------------------------------------------------------------------
- #initclip 39
- Object.registerClass("ScrollIndicator_upArrow", gfx.controls.Button);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 10
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 36 MovieClip [__Packages.gfx.controls.ButtonGroup] Frame 0
- //----------------------------------------------------------------------
- class gfx.controls.ButtonGroup extends gfx.events.EventDispatcher
- {
- var scope, children, selectedButton, dispatchEvent;
- function ButtonGroup (name, scope) {
- super();
- this.name = name;
- this.scope = scope;
- children = [];
- }
- function get length() {
- return(children.length);
- }
- function addButton(button) {
- removeButton(button);
- children.push(button);
- if (button.selected) {
- setSelectedButton(button);
- }
- button.addEventListener("select", this, "handleSelect");
- button.addEventListener("click", this, "handleClick");
- }
- function removeButton(button) {
- var _local3 = indexOf(button);
- if (_local3 > -1) {
- children.splice(_local3, 1);
- button.removeEventListener("select", this, "handleSelect");
- button.removeEventListener("click", this, "handleClick");
- }
- if (selectedButton == button) {
- selectedButton = null;
- }
- }
- function indexOf(button) {
- var _local4 = length;
- if (_local4 == 0) {
- return(-1);
- }
- var _local2 = 0;
- while (_local2 < length) {
- if (children[_local2] == button) {
- return(_local2);
- }
- _local2++;
- }
- return(-1);
- }
- function getButtonAt(index) {
- return(children[index]);
- }
- function get data() {
- return(selectedButton.data);
- }
- function setSelectedButton(button) {
- if ((selectedButton == button) || ((indexOf(button) == -1) && (button != null))) {
- return(undefined);
- }
- if ((selectedButton != null) && (selectedButton._name != null)) {
- selectedButton.selected = false;
- }
- selectedButton = button;
- if (selectedButton != null) {
- selectedButton.selected = true;
- dispatchEvent({type:"change", item:selectedButton, data:selectedButton.data});
- }
- }
- function toString() {
- return(("[Scaleform RadioButtonGroup " + name) + "]");
- }
- function handleSelect(event) {
- if (event.target.selected) {
- setSelectedButton(event.target);
- return(undefined);
- }
- setSelectedButton(null);
- }
- function handleClick(event) {
- dispatchEvent({type:"itemClick", item:event.target});
- setSelectedButton(event.target);
- }
- var name = "buttonGroup";
- }
-
- //----------------------------------------------------------------------
- //Symbol 43 MovieClip [__Packages.skyui.components.list.EntryClipManager] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.EntryClipManager
- {
- var _list, _clipPool;
- function EntryClipManager (a_list) {
- _list = a_list;
- _clipPool = [];
- }
- function get clipCount() {
- return(_clipCount);
- }
- function set clipCount(a_clipCount) {
- _clipCount = a_clipCount;
- var _local3 = a_clipCount - _clipPool.length;
- if (_local3 > 0) {
- growPool(_local3);
- }
- var _local2 = 0;
- while (_local2 < _clipPool.length) {
- _clipPool[_local2]._visible = false;
- _clipPool[_local2].itemIndex = undefined;
- _local2++;
- }
- //return(clipCount);
- }
- function getClip(a_index) {
- if (a_index >= _clipCount) {
- return(undefined);
- }
- return(_clipPool[a_index]);
- }
- function growPool(a_size) {
- var _local4 = _list.entryRenderer;
- var _local2 = 0;
- while (_local2 < a_size) {
- var _local3 = _list.attachMovie(_local4, _local4 + _nextIndex, _list.getNextHighestDepth());
- _local3.initialize(_nextIndex, _list.listState);
- _clipPool[_nextIndex] = _local3;
- _nextIndex++;
- _local2++;
- }
- }
- var _nextIndex = 0;
- var _clipCount = -1;
- }
-
- //----------------------------------------------------------------------
- //Symbol 48 MovieClip [__Packages.ItemList] Frame 0
- //----------------------------------------------------------------------
- class ItemList extends skyui.components.list.ScrollingList
- {
- var _entryList, __get__entryList, _listHeight, background, scrollbar, _maxListIndex, __get__listHeight, dispatchEvent;
- function ItemList () {
- super();
- }
- function set entryList(a_newArray) {
- _entryList = a_newArray;
- //return(__get__entryList());
- }
- function set listHeight(a_height) {
- _listHeight = (background._height = a_height);
- if (scrollbar != undefined) {
- scrollbar.height = _listHeight;
- }
- _maxListIndex = Math.floor(_listHeight / entryHeight);
- //return(__get__listHeight());
- }
- function InvalidateData() {
- var _local3 = Math.min(Math.max(entryHeight * minViewport, entryHeight * __get__entryList().length), entryHeight * maxViewport);
- dispatchEvent({type:"invalidateHeight", height:_local3});
- super.InvalidateData();
- }
- var entryHeight = 25;
- var minViewport = 5;
- var maxViewport = 15;
- }
-
- //----------------------------------------------------------------------
- //Symbol 58 MovieClip [__Packages.com.greensock.core.PropTween] Frame 0
- //----------------------------------------------------------------------
- class com.greensock.core.PropTween
- {
- var target, property, start, change, name, isPlugin, nextNode, priority;
- function PropTween (target, property, start, change, name, isPlugin, nextNode, priority) {
- this.target = target;
- this.property = property;
- this.start = start;
- this.change = change;
- this.name = name;
- this.isPlugin = isPlugin;
- if (nextNode) {
- nextNode.prevNode = this;
- this.nextNode = nextNode;
- }
- this.priority = priority || 0;
- }
- }
-
- //----------------------------------------------------------------------
- //Symbol 52 MovieClip [__Packages.skyui.components.list.BasicEnumeration] Frame 0
- //----------------------------------------------------------------------
- class skyui.components.list.BasicEnumeration implements skyui.components.list.IEntryEnumeration
- {
- var _entryData;
- function BasicEnumeration (a_data) {
- _entryData = a_data;
- }
- function size() {
- return(_entryData.length);
- }
- function at(a_index) {
- return(_entryData[a_index]);
- }
- function lookupEntryIndex(a_enumIndex) {
- return(a_enumIndex);
- }
- function lookupEnumIndex(a_entryIndex) {
- return(a_entryIndex);
- }
- function invalidate() {
- }
- }
-
- //----------------------------------------------------------------------
- //Frame 1
- //----------------------------------------------------------------------
- function InitExtensions() {
- listMenu.InitExtensions();
- }
- function SetPlatform(aiPlatform, abPS3Switch) {
- listMenu.SetPlatform(aiPlatform, abPS3Switch);
- }
- function handleInput(details, pathToFocus) {
- return(listMenu.handleInput(details, pathToFocus));
- }
- _global.gfxExtensions = true;
- Shared.GlobalFunc.MaintainTextFormat();
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 34 MovieClip [__Packages.gfx.controls.Button] Frame 0
- //----------------------------------------------------------------------
- class gfx.controls.Button extends gfx.core.UIComponent
- {
- var focusEnabled, tabEnabled, _disabled, inspectableGroupName, _label, initialized, textField, sizeIsInvalid, _focused, focusIndicator, __get__displayFocus, dispatchEvent, dispatchEventAndSound, _group, _parent, validateNow, _name, constraints, onRollOver, onRollOut, onPress, onRelease, onReleaseOutside, onDragOver, onDragOut, _width, __width, _height, __height, __get__width, __get__height, invalidate, __set__width, _x, gotoAndPlay, _displayFocus, buttonRepeatInterval, doubleClickInterval;
- function Button () {
- super();
- focusEnabled = (tabEnabled = (_disableFocus ? false : (!_disabled)));
- if ((inspectableGroupName != null) && (inspectableGroupName != "")) {
- group = (inspectableGroupName);
- }
- }
- function get labelID() {
- return(null);
- }
- function set labelID(value) {
- if (value != "") {
- label = (gfx.utils.Locale.getTranslatedString(value));
- }
- //return(labelID);
- }
- function get label() {
- return(_label);
- }
- function set label(value) {
- _label = value;
- if (initialized) {
- if (textField != null) {
- textField.text = _label;
- }
- if (autoSize != "none") {
- sizeIsInvalid = true;
- }
- updateAfterStateChange();
- }
- //return(label);
- }
- function get disabled() {
- return(_disabled);
- }
- function set disabled(value) {
- if (_disabled != value) {
- super.__set__disabled(value);
- clearRepeatInterval();
- focusEnabled = (tabEnabled = (_disableFocus ? false : (!_disabled)));
- setState((_disabled ? "disabled" : "up"));
- return;
- }
- //return(disabled);
- }
- function get selected() {
- return(_selected);
- }
- function set selected(value) {
- if (_selected != value) {
- _selected = value;
- if (_disabled) {
- setState("disabled");
- } else if (_focused) {
- if (pressedByKeyboard && (focusIndicator != null)) {
- setState("kb_selecting");
- } else {
- setState("selecting");
- }
- } else {
- setState(((__get__displayFocus() && (focusIndicator == null)) ? "over" : "up"));
- }
- if (dispatchEvent != null) {
- dispatchEventAndSound({type:"select", selected:_selected});
- }
- return;
- }
- //return(selected);
- }
- function get groupName() {
- return(((_group == null) ? null : (_group.name)));
- }
- function set groupName(value) {
- group = (value);
- //return(groupName);
- }
- function get group() {
- return(_group);
- }
- function set group(value) {
- var _local2 = gfx.controls.ButtonGroup(value);
- if (typeof(value) == "string") {
- _local2 = _parent["_buttonGroup_" + value];
- if (_local2 == null) {
- _local2 = new gfx.controls.ButtonGroup(value.toString(), _parent);
- _parent["_buttonGroup_" + value] = _local2;
- }
- }
- if (_group != _local2) {
- if (_group != null) {
- _group.removeButton(this);
- }
- _group = _local2;
- if (_group != null) {
- _local2.addButton(this);
- }
- return;
- }
- //return(group);
- }
- function get disableFocus() {
- return(_disableFocus);
- }
- function set disableFocus(value) {
- _disableFocus = value;
- focusEnabled = (tabEnabled = (_disableFocus ? false : (!_disabled)));
- //return(disableFocus);
- }
- function get disableConstraints() {
- return(_disableConstraints);
- }
- function set disableConstraints(value) {
- _disableConstraints = value;
- //return(disableConstraints);
- }
- function get autoSize() {
- return(_autoSize);
- }
- function set autoSize(value) {
- if (_autoSize != value) {
- _autoSize = value;
- if (initialized) {
- sizeIsInvalid = true;
- validateNow();
- }
- return;
- }
- //return(autoSize);
- }
- function setSize(width, height) {
- super.setSize(width, height);
- }
- function handleInput(details, pathToFocus) {
- if (((__reg0 = details.navEquivalent)) === gfx.ui.NavigationCode.ENTER) {
- var _local3 = details.controllerIdx;
- if ((details.value == "keyDown") || (details.value == "keyHold")) {
- if (!pressedByKeyboard) {
- handlePress(_local3);
- }
- } else {
- handleRelease(_local3);
- }
- return(true);
- }
- return(false);
- }
- function toString() {
- return(("[Scaleform Button " + _name) + "]");
- }
- function configUI() {
- constraints = new gfx.utils.Constraints(this, true);
- if (!_disableConstraints) {
- constraints.addElement(textField, gfx.utils.Constraints.ALL);
- }
- super.configUI();
- if (_autoSize != "none") {
- sizeIsInvalid = true;
- }
- onRollOver = handleMouseRollOver;
- onRollOut = handleMouseRollOut;
- onPress = handleMousePress;
- onRelease = handleMouseRelease;
- onReleaseOutside = handleReleaseOutside;
- onDragOver = handleDragOver;
- onDragOut = handleDragOut;
- if (((focusIndicator != null) && (!_focused)) && (focusIndicator._totalFrames == 1)) {
- focusIndicator._visible = false;
- }
- updateAfterStateChange();
- }
- function draw() {
- if (sizeIsInvalid) {
- alignForAutoSize();
- _width = __width;
- _height = __height;
- }
- if (initialized) {
- constraints.update(__width, __height);
- }
- }
- function updateAfterStateChange() {
- if (initialized) {
- if ((textField != null) && (_label != null)) {
- textField.text = _label;
- }
- validateNow();
- if (constraints != null) {
- constraints.update(__get__width(), __get__height());
- }
- dispatchEvent({type:"stateChange", state:state});
- }
- }
- function calculateWidth() {
- if (constraints == null) {
- invalidate();
- return(0);
- }
- var _local2 = constraints.getElement(textField).metrics;
- var _local3 = ((textField.textWidth + _local2.left) + _local2.right) + 5;
- return(_local3);
- }
- function alignForAutoSize() {
- if (((!initialized) || (_autoSize == "none")) || (textField == null)) {
- return(undefined);
- }
- var _local2 = __width;
- __set__width(calculateWidth());
- if (((__reg0 = _autoSize)) === "right") {
- var _local4 = _x + _local2;
- _x = _local4 - __width;
- return(undefined);
- }
- if (!(__reg0 === "center")) {
- return(undefined);
- }
- var _local3 = _x + (_local2 / 2);
- _x = _local3 - (__width / 2);
- return(undefined);
- }
- function setState(state) {
- this.state = state;
- var _local5 = getStatePrefixes();
- var _local4 = stateMap[state];
- if ((_local4 == null) || (_local4.length == 0)) {
- return(undefined);
- }
- do {
- var _local3 = _local5.pop().toString();
- var _local2 = _local4.length - 1;
- while (_local2 >= 0) {
- gotoAndPlay(_local3 + _local4[_local2]);
- _local2--;
- }
- } while (_local5.length > 0);
- updateAfterStateChange();
- }
- function getStatePrefixes() {
- return((_selected ? (["selected_", ""]) : ([""])));
- }
- function changeFocus() {
- if (_disabled) {
- return(undefined);
- }
- if (focusIndicator == null) {
- setState(((_focused || (_displayFocus)) ? "over" : "out"));
- if (pressedByKeyboard && (!_focused)) {
- pressedByKeyboard = false;
- }
- }
- if (focusIndicator != null) {
- if (focusIndicator._totalframes == 1) {
- focusIndicator._visible = _focused != 0;
- } else {
- focusIndicator.gotoAndPlay((_focused ? "show" : "hide"));
- focusIndicator.gotoAndPlay("state" + _focused);
- }
- if (pressedByKeyboard && (!_focused)) {
- setState("kb_release");
- pressedByKeyboard = false;
- }
- }
- }
- function handleMouseRollOver(controllerIdx) {
- if (_disabled) {
- return(undefined);
- }
- if (((!_focused) && (!_displayFocus)) || (focusIndicator != null)) {
- setState("over");
- }
- dispatchEventAndSound({type:"rollOver", controllerIdx:controllerIdx});
- }
- function handleMouseRollOut(controllerIdx) {
- if (_disabled) {
- return(undefined);
- }
- if (((!_focused) && (!_displayFocus)) || (focusIndicator != null)) {
- setState("out");
- }
- dispatchEventAndSound({type:"rollOut", controllerIdx:controllerIdx});
- }
- function handleMousePress(controllerIdx, keyboardOrMouse, button) {
- if (_disabled) {
- return(undefined);
- }
- if (!_disableFocus) {
- Selection.setFocus(this, controllerIdx);
- }
- setState("down");
- dispatchEventAndSound({type:"press", controllerIdx:controllerIdx, button:button});
- if (autoRepeat) {
- buttonRepeatInterval = setInterval(this, "beginButtonRepeat", buttonRepeatDelay, controllerIdx, button);
- }
- }
- function handlePress(controllerIdx) {
- if (_disabled) {
- return(undefined);
- }
- pressedByKeyboard = true;
- setState(((focusIndicator == null) ? "down" : "kb_down"));
- dispatchEventAndSound({type:"press", controllerIdx:controllerIdx});
- }
- function handleMouseRelease(controllerIdx, keyboardOrMouse, button) {
- if (_disabled) {
- return(undefined);
- }
- clearInterval(buttonRepeatInterval);
- delete buttonRepeatInterval;
- if (doubleClickEnabled) {
- if (doubleClickInterval == null) {
- doubleClickInterval = setInterval(this, "doubleClickExpired", doubleClickDuration);
- } else {
- doubleClickExpired();
- dispatchEventAndSound({type:"doubleClick", controllerIdx:controllerIdx, button:button});
- setState("release");
- return(undefined);
- }
- }
- setState("release");
- handleClick(controllerIdx, button);
- }
- function handleRelease(controllerIdx) {
- if (_disabled) {
- return(undefined);
- }
- setState(((focusIndicator == null) ? "release" : "kb_release"));
- handleClick(controllerIdx);
- pressedByKeyboard = false;
- }
- function handleClick(controllerIdx, button) {
- if (toggle) {
- selected = (!_selected);
- }
- dispatchEventAndSound({type:"click", controllerIdx:controllerIdx, button:button});
- }
- function handleDragOver(controllerIdx, button) {
- if (_disabled || (lockDragStateChange)) {
- return(undefined);
- }
- if (_focused || (_displayFocus)) {
- setState(((focusIndicator == null) ? "down" : "kb_down"));
- } else {
- setState("over");
- }
- dispatchEvent({type:"dragOver", controllerIdx:controllerIdx, button:button});
- }
- function handleDragOut(controllerIdx, button) {
- if (_disabled || (lockDragStateChange)) {
- return(undefined);
- }
- if (_focused || (_displayFocus)) {
- setState(((focusIndicator == null) ? "release" : "kb_release"));
- } else {
- setState("out");
- }
- dispatchEvent({type:"dragOut", controllerIdx:controllerIdx, button:button});
- }
- function handleReleaseOutside(controllerIdx, button) {
- clearRepeatInterval();
- if (_disabled) {
- return(undefined);
- }
- if (lockDragStateChange) {
- if (_focused || (_displayFocus)) {
- setState(((focusIndicator == null) ? "release" : "kb_release"));
- } else {
- setState("kb_release");
- }
- }
- dispatchEvent({type:"releaseOutside", state:state, button:button});
- }
- function doubleClickExpired() {
- clearInterval(doubleClickInterval);
- delete doubleClickInterval;
- }
- function beginButtonRepeat(controllerIdx, button) {
- clearRepeatInterval();
- buttonRepeatInterval = setInterval(this, "handleButtonRepeat", buttonRepeatDuration, controllerIdx, button);
- }
- function handleButtonRepeat(controllerIdx, button) {
- dispatchEventAndSound({type:"click", controllerIdx:controllerIdx, button:button});
- }
- function clearRepeatInterval() {
- clearInterval(buttonRepeatInterval);
- delete buttonRepeatInterval;
- }
- var state = "up";
- var toggle = false;
- var doubleClickEnabled = false;
- var autoRepeat = false;
- var lockDragStateChange = false;
- var soundMap = {theme:"default", focusIn:"focusIn", focusOut:"focusOut", select:"select", rollOver:"rollOver", rollOut:"rollOut", press:"press", doubleClick:"doubleClick", click:"click"};
- var _selected = false;
- var _autoSize = "none";
- var _disableFocus = false;
- var _disableConstraints = false;
- var doubleClickDuration = 250;
- var buttonRepeatDuration = 100;
- var buttonRepeatDelay = 100;
- var pressedByKeyboard = false;
- var stateMap = {up:["up"], over:["over"], down:["down"], release:["release", "over"], out:["out", "up"], disabled:["disabled"], selecting:["selecting", "over"], kb_selecting:["kb_selecting", "up"], kb_release:["kb_release", "out", "up"], kb_down:["kb_down", "down"]};
- }
-
- //----------------------------------------------------------------------
- //Symbol 18 MovieClip [ScrollBar_track] Frame 20
- //----------------------------------------------------------------------
- stop();
-
- //----------------------------------------------------------------------
- //Symbol 19 MovieClip [DLCScrollBar] Frame 1
- //----------------------------------------------------------------------
- #initclip 42
- Object.registerClass("DLCScrollBar", gfx.controls.ScrollBar);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 1
- //----------------------------------------------------------------------
- #initclip 40
- Object.registerClass("ScrollIndicator_downArrow", gfx.controls.Button);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 12 MovieClip [ScrollBar_thumb] Frame 1
- //----------------------------------------------------------------------
- #initclip 38
- Object.registerClass("ScrollBar_thumb", gfx.controls.Button);
- #endinitclip
-
- //----------------------------------------------------------------------
- //Symbol 59 MovieClip [__Packages.com.greensock.OverwriteManager] Frame 0
- //----------------------------------------------------------------------
- class com.greensock.OverwriteManager
- {
- static var mode, enabled;
- function OverwriteManager () {
- }
- static function init(defaultMode) {
- if (com.greensock.TweenLite.version < 11.6) {
- trace("Warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.");
- }
- com.greensock.TweenLite.overwriteManager = com.greensock.OverwriteManager;
- mode = ((defaultMode == undefined) ? 2 : (defaultMode));
- enabled = true;
- return(mode);
- }
- static function manageOverwrites(tween, props, targetTweens, mode) {
- var _local3;
- var _local10;
- var _local1;
- if (mode >= 4) {
- var _local17 = targetTweens.length;
- _local3 = 0;
- while (_local3 < _local17) {
- _local1 = targetTweens[_local3];
- if (_local1 != tween) {
- if (_local1.setEnabled(false, false)) {
- _local10 = true;
- }
- } else if (mode == 5) {
- break;
- }
- _local3++;
- }
- return(_local10);
- }
- var _local5 = tween.cachedStartTime + 1E-10;
- var _local9 = [];
- var _local13 = [];
- var _local15 = 0;
- var _local12 = 0;
- _local3 = targetTweens.length;
- while (_local3-- , _local3 > -1) {
- _local1 = targetTweens[_local3];
- if (((_local1 == tween) || (_local1.gc)) || ((!_local1.initted) && ((_local5 - _local1.cachedStartTime) <= 2E-10))) {
- } else if (_local1.timeline != tween.timeline) {
- if (!getGlobalPaused(_local1)) {
- _local13[_local15++] = _local1;
- }
- } else if ((((_local1.cachedStartTime <= _local5) && (((_local1.cachedStartTime + _local1.__get__totalDuration()) + 1E-10) > _local5)) && (!_local1.cachedPaused)) && (!((tween.cachedDuration == 0) && ((_local5 - _local1.cachedStartTime) <= 2E-10)))) {
- _local9[_local12++] = _local1;
- }
- }
- if (_local15 != 0) {
- var _local6 = tween.cachedTimeScale;
- var _local7 = _local5;
- var _local4;
- var _local11;
- var _local2;
- _local2 = tween.timeline;
- while (_local2) {
- _local6 = _local6 * _local2.cachedTimeScale;
- _local7 = _local7 + _local2.cachedStartTime;
- _local2 = _local2.timeline;
- }
- _local5 = _local6 * _local7;
- _local3 = _local15;
- while (_local3-- , _local3 > -1) {
- _local4 = _local13[_local3];
- _local6 = _local4.cachedTimeScale;
- _local7 = _local4.cachedStartTime;
- _local2 = _local4.timeline;
- while (_local2) {
- _local6 = _local6 * _local2.cachedTimeScale;
- _local7 = _local7 + _local2.cachedStartTime;
- _local2 = _local2.timeline;
- }
- _local11 = _local6 * _local7;
- if ((_local11 <= _local5) && ((((_local11 + (_local4.__get__totalDuration() * _local6)) + 1E-10) > _local5) || (_local4.cachedDuration == 0))) {
- _local9[_local12++] = _local4;
- }
- }
- }
- if (_local12 == 0) {
- return(_local10);
- }
- _local3 = _local12;
- if (mode == 2) {
- while (_local3-- , _local3 > -1) {
- _local1 = _local9[_local3];
- if (_local1.killVars(props)) {
- _local10 = true;
- }
- if ((_local1.cachedPT1 == undefined) && (_local1.initted)) {
- _local1.setEnabled(false, false);
- }
- }
- } else {
- while (_local3-- , _local3 > -1) {
- if (_local9[_local3].setEnabled(false, false)) {
- _local10 = true;
- }
- }
- }
- return(_local10);
- }
- static function getGlobalPaused(tween) {
- while (tween) {
- if (tween.cachedPaused) {
- return(true);
- }
- tween = tween.timeline;
- }
- return(false);
- }
- static var version = 6.1;
- static var NONE = 0;
- static var ALL_IMMEDIATE = 1;
- static var AUTO = 2;
- static var CONCURRENT = 3;
- static var ALL_ONSTART = 4;
- static var PREEXISTING = 5;
- }
-
- //----------------------------------------------------------------------
- //Symbol 55 MovieClip [__Packages.com.greensock.core.TweenCore] Frame 0
- //----------------------------------------------------------------------
- class com.greensock.core.TweenCore
- {
- static var _classInitted;
- var vars, cachedDuration, cachedTotalDuration, _delay, cachedTimeScale, active, cachedTotalTime, cachedTime, data, gc, initted, cacheIsDirty, cachedPaused, cachedReversed, _rawPrevTime, timeline, cachedOrphan, cachedStartTime, cachedPauseTime;
- function TweenCore (duration, vars) {
- this.vars = vars || ({});
- cachedDuration = (cachedTotalDuration = duration || 0);
- _delay = Number(this.vars.delay) || 0;
- cachedTimeScale = this.vars.timeScale || 1;
- active = Boolean(((duration == 0) && (_delay == 0)) && (this.vars.immediateRender != false));
- cachedTotalTime = (cachedTime = 0);
- data = this.vars.data;
- gc = (initted = (cacheIsDirty = (cachedPaused = (cachedReversed = false))));
- _rawPrevTime = -1;
- if (!_classInitted) {
- if ((com.greensock.TweenLite.rootFrame == undefined) && (com.greensock.TweenLite.initClass != undefined)) {
- com.greensock.TweenLite.initClass();
- _classInitted = true;
- } else {
- return;
- }
- }
- var _local2 = ((this.vars.timeline instanceof com.greensock.core.SimpleTimeline) ? (this.vars.timeline) : (((this.vars.useFrames == true) ? (com.greensock.TweenLite.rootFramesTimeline) : (com.greensock.TweenLite.rootTimeline))));
- _local2.insert(this, _local2.cachedTotalTime);
- if (this.vars.reversed) {
- cachedReversed = true;
- }
- if (this.vars.paused) {
- paused = (true);
- }
- }
- function play() {
- reversed = (false);
- paused = (false);
- }
- function pause() {
- paused = (true);
- }
- function resume() {
- paused = (false);
- }
- function restart(includeDelay, suppressEvents) {
- reversed = (false);
- paused = (false);
- setTotalTime((includeDelay ? (-_delay) : 0), Boolean(suppressEvents != false));
- }
- function reverse(forceResume) {
- reversed = (true);
- if (forceResume != false) {
- paused = (false);
- } else if (gc) {
- setEnabled(true, false);
- }
- }
- function renderTime(time, suppressEvents, force) {
- }
- function complete(skipRender, suppressEvents) {
- if (!skipRender) {
- renderTime(totalDuration, suppressEvents, false);
- return(undefined);
- }
- if (timeline.autoRemoveChildren) {
- setEnabled(false, false);
- } else {
- active = false;
- }
- if (!suppressEvents) {
- if ((vars.onComplete && (cachedTotalTime >= cachedTotalDuration)) && (!cachedReversed)) {
- vars.onComplete.apply(vars.onCompleteScope, vars.onCompleteParams);
- } else if ((cachedReversed && (cachedTotalTime == 0)) && (vars.onReverseComplete)) {
- vars.onReverseComplete.apply(vars.onReverseCompleteScope, vars.onReverseCompleteParams);
- }
- }
- }
- function invalidate() {
- }
- function setEnabled(enabled, ignoreTimeline) {
- gc = !enabled;
- if (enabled) {
- active = Boolean(((!cachedPaused) && (cachedTotalTime > 0)) && (cachedTotalTime < cachedTotalDuration));
- if ((ignoreTimeline != true) && (cachedOrphan)) {
- timeline.insert(this, cachedStartTime - _delay);
- }
- } else {
- active = false;
- if ((ignoreTimeline != true) && (!cachedOrphan)) {
- timeline.remove(this, true);
- }
- }
- return(false);
- }
- function kill() {
- setEnabled(false, false);
- }
- function setDirtyCache(includeSelf) {
- var _local2 = ((includeSelf != false) ? this : (timeline));
- while (_local2) {
- _local2.cacheIsDirty = true;
- _local2 = _local2.timeline;
- }
- }
- function setTotalTime(time, suppressEvents) {
- if (timeline) {
- var _local3 = (cachedPaused ? (cachedPauseTime) : (timeline.cachedTotalTime));
- if (cachedReversed) {
- var _local4 = (cacheIsDirty ? (totalDuration) : (cachedTotalDuration));
- cachedStartTime = _local3 - ((_local4 - time) / cachedTimeScale);
- } else {
- cachedStartTime = _local3 - (time / cachedTimeScale);
- }
- if (!timeline.cacheIsDirty) {
- setDirtyCache(false);
- }
- if (cachedTotalTime != time) {
- renderTime(time, suppressEvents, false);
- }
- }
- }
- function get delay() {
- return(_delay);
- }
- function set delay(n) {
- startTime = startTime + (n - _delay);
- _delay = n;
- //return(delay);
- }
- function get duration() {
- return(cachedDuration);
- }
- function set duration(n) {
- var _local2 = n / cachedDuration;
- cachedDuration = (cachedTotalDuration = n);
- setDirtyCache(true);
- if ((active && (!cachedPaused)) && (n != 0)) {
- setTotalTime(cachedTotalTime * _local2, true);
- }
- //return(duration);
- }
- function get totalDuration() {
- return(cachedTotalDuration);
- }
- function set totalDuration(n) {
- duration = (n);
- //return(totalDuration);
- }
- function get currentTime() {
- return(cachedTime);
- }
- function set currentTime(n) {
- setTotalTime(n, false);
- //return(currentTime);
- }
- function get totalTime() {
- return(cachedTotalTime);
- }
- function set totalTime(n) {
- setTotalTime(n, false);
- //return(totalTime);
- }
- function get startTime() {
- return(cachedStartTime);
- }
- function set startTime(n) {
- if ((timeline != undefined) && ((n != cachedStartTime) || (gc))) {
- timeline.insert(this, n - _delay);
- } else {
- cachedStartTime = n;
- }
- //return(startTime);
- }
- function get reversed() {
- return(cachedReversed);
- }
- function set reversed(b) {
- if (b != cachedReversed) {
- cachedReversed = b;
- setTotalTime(cachedTotalTime, true);
- }
- //return(reversed);
- }
- function get paused() {
- return(cachedPaused);
- }
- function set paused(b) {
- if ((b != cachedPaused) && (timeline)) {
- if (b) {
- cachedPauseTime = timeline.rawTime;
- } else {
- cachedStartTime = cachedStartTime + (timeline.__get__rawTime() - cachedPauseTime);
- cachedPauseTime = NaN;
- setDirtyCache(false);
- }
- cachedPaused = b;
- active = Boolean(((!cachedPaused) && (cachedTotalTime > 0)) && (cachedTotalTime < cachedTotalDuration));
- }
- if ((!b) && (gc)) {
- setEnabled(true, false);
- }
- //return(paused);
- }
- static var version = 1.693;
- }
-
- //----------------------------------------------------------------------
- //Instance of Symbol 21 MovieClip [ItemList] "itemList" in Symbol 24 MovieClip [ItemView] Frame 1
- //----------------------------------------------------------------------
- //component parameters
- onClipEvent (construct) {
- textOption = "Shrink To Fit";
- entryRenderer = "ItemListEntry";
- }
-
- //----------------------------------------------------------------------
- //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 10
- //----------------------------------------------------------------------
- stop();
Advertisement
Add Comment
Please, Sign In to add comment