CheskoTES

ListMenu.swf

Mar 29th, 2016
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. //----------------------------------------------------------------------
  3. //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 20
  4. //----------------------------------------------------------------------
  5.     stop();
  6. 
  7. //----------------------------------------------------------------------
  8. //Instance of Symbol 19 MovieClip [DLCScrollBar] "scrollbar" in Symbol 21 MovieClip [ItemList] Frame 1
  9. //----------------------------------------------------------------------
  10. //component parameters
  11. onClipEvent (construct) {
  12.     disabled = false;
  13.     enableInitCallback = true;
  14.     inspectableScrollTarget = "\"\"";
  15.     offsetBottom = 0;
  16.     offsetTop = 0;
  17.     soundMap = {};
  18.     soundMap.theme = "default";
  19.     soundMap.scroll = "scroll";
  20.     trackMode = "scrollPage";
  21.     visible = false;
  22. }
  23. 
  24. //----------------------------------------------------------------------
  25. //Symbol 12 MovieClip [ScrollBar_thumb] Frame 20
  26. //----------------------------------------------------------------------
  27.     stop();
  28. 
  29. //----------------------------------------------------------------------
  30. //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 40
  31. //----------------------------------------------------------------------
  32.     stop();
  33. 
  34. //----------------------------------------------------------------------
  35. //Symbol 41 MovieClip [__Packages.skyui.components.list.BSList] Frame 0
  36. //----------------------------------------------------------------------
  37.     class skyui.components.list.BSList extends MovieClip
  38.     {
  39.         var _entryList, _selectedIndex;
  40.         function BSList () {
  41.             super();
  42.             _entryList = new Array();
  43.             _selectedIndex = -1;
  44.         }
  45.         function get entryList() {
  46.             return(_entryList);
  47.         }
  48.         function get selectedIndex() {
  49.             return(_selectedIndex);
  50.         }
  51.         function set selectedIndex(a_newIndex) {
  52.             _selectedIndex = a_newIndex;
  53.             //return(selectedIndex);
  54.         }
  55.         function get selectedEntry() {
  56.             return(_entryList[_selectedIndex]);
  57.         }
  58.         function InvalidateData() {
  59.         }
  60.         function UpdateList() {
  61.         }
  62.     }
  63. 
  64. //----------------------------------------------------------------------
  65. //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 30
  66. //----------------------------------------------------------------------
  67.     stop();
  68. 
  69. //----------------------------------------------------------------------
  70. //Symbol 38 MovieClip [__Packages.Shared.GlobalFunc] Frame 0
  71. //----------------------------------------------------------------------
  72.     class Shared.GlobalFunc
  73.     {
  74.         function GlobalFunc () {
  75.         }
  76.         static function Lerp(aTargetMin, aTargetMax, aSourceMin, aSourceMax, aSource, abClamp) {
  77.             var _local1 = aTargetMin + (((aSource - aSourceMin) / (aSourceMax - aSourceMin)) * (aTargetMax - aTargetMin));
  78.             if (abClamp) {
  79.                 _local1 = Math.min(Math.max(_local1, aTargetMin), aTargetMax);
  80.             }
  81.             return(_local1);
  82.         }
  83.         static function IsKeyPressed(aInputInfo, abProcessKeyHeldDown) {
  84.             if (abProcessKeyHeldDown == undefined) {
  85.                 abProcessKeyHeldDown = true;
  86.             }
  87.             return((aInputInfo.value == "keyDown") || (abProcessKeyHeldDown && (aInputInfo.value == "keyHold")));
  88.         }
  89.         static function RoundDecimal(aNumber, aPrecision) {
  90.             var _local1 = Math.pow(10, aPrecision);
  91.             return(Math.round(_local1 * aNumber) / _local1);
  92.         }
  93.         static function MaintainTextFormat() {
  94.             TextField.prototype.SetText = function (aText, abHTMLText) {
  95.                 if ((aText == undefined) || (aText == "")) {
  96.                     aText = " ";
  97.                 }
  98.                 var _local2 = this.getTextFormat();
  99.                 if (abHTMLText) {
  100.                     var _local4 = _local2.letterSpacing;
  101.                     var _local5 = _local2.kerning;
  102.                     this.htmlText = aText;
  103.                     _local2 = this.getTextFormat();
  104.                     _local2.letterSpacing = _local4;
  105.                     _local2.kerning = _local5;
  106.                     this.setTextFormat(_local2);
  107.                     return(undefined);
  108.                 }
  109.                 this.text = aText;
  110.                 this.setTextFormat(_local2);
  111.                 return(undefined);
  112.             };
  113.             _global.ASSetPropFlags(TextField.prototype, "SetText", 1, 0);
  114.         }
  115.         static function SetLockFunction() {
  116.             MovieClip.prototype.Lock = function (aPosition) {
  117.                 var _local3 = {x:Stage.visibleRect.x + Stage.safeRect.x, y:Stage.visibleRect.y + Stage.safeRect.y};
  118.                 var _local4 = {x:(Stage.visibleRect.x + Stage.visibleRect.width) - Stage.safeRect.x, y:(Stage.visibleRect.y + Stage.visibleRect.height) - Stage.safeRect.y};
  119.                 this._parent.globalToLocal(_local3);
  120.                 this._parent.globalToLocal(_local4);
  121.                 if (((aPosition == "T") || (aPosition == "TL")) || (aPosition == "TR")) {
  122.                     this._y = _local3.y;
  123.                 }
  124.                 if (((aPosition == "B") || (aPosition == "BL")) || (aPosition == "BR")) {
  125.                     this._y = _local4.y;
  126.                 }
  127.                 if (((aPosition == "L") || (aPosition == "TL")) || (aPosition == "BL")) {
  128.                     this._x = _local3.x;
  129.                 }
  130.                 if (((aPosition == "R") || (aPosition == "TR")) || (aPosition == "BR")) {
  131.                     this._x = _local4.x;
  132.                 }
  133.             };
  134.             _global.ASSetPropFlags(MovieClip.prototype, "Lock", 1, 0);
  135.         }
  136.         static function AddMovieExploreFunctions() {
  137.             MovieClip.prototype.getMovieClips = function () {
  138.                 var _local3 = new Array();
  139.                 var _local2 = 0;
  140.                 while (_local2 < this.length) {
  141.                     if ((this[_local2] instanceof MovieClip) && (this[_local2] != this)) {
  142.                         _local3.push(this[_local2]);
  143.                     }
  144.                     _local2++;
  145.                 }
  146.                 return(_local3);
  147.             };
  148.             MovieClip.prototype.showMovieClips = function () {
  149.                 var _local2 = 0;
  150.                 while (_local2 < this.length) {
  151.                     if ((this[_local2] instanceof MovieClip) && (this[_local2] != this)) {
  152.                         trace(this[_local2]);
  153.                         this[_local2].showMovieClips();
  154.                     }
  155.                     _local2++;
  156.                 }
  157.             };
  158.             _global.ASSetPropFlags(MovieClip.prototype, ["getMovieClips", "showMovieClips"], 1, 0);
  159.         }
  160.         static function AddReverseFunctions() {
  161.             MovieClip.prototype.PlayReverse = function () {
  162.                 if (this._currentframe > 1) {
  163.                     this.gotoAndStop(this._currentframe - 1);
  164.                     this.onEnterFrame = function () {
  165.                         if (this._currentframe > 1) {
  166.                             this.gotoAndStop(this._currentframe - 1);
  167.                             return(undefined);
  168.                         }
  169.                         delete this.onEnterFrame;
  170.                     };
  171.                     return(undefined);
  172.                 }
  173.                 this.gotoAndStop(1);
  174.             };
  175.             MovieClip.prototype.PlayForward = function (aFrameLabel) {
  176.                 delete this.onEnterFrame;
  177.                 this.gotoAndPlay(aFrameLabel);
  178.             };
  179.             MovieClip.prototype.PlayForward = function (aFrame) {
  180.                 delete this.onEnterFrame;
  181.                 this.gotoAndPlay(aFrame);
  182.             };
  183.             _global.ASSetPropFlags(MovieClip.prototype, ["PlayReverse", "PlayForward"], 1, 0);
  184.         }
  185.         static function GetTextField(aParentClip, aName) {
  186.             if (RegisteredTextFields[aName + aParentClip._name] != undefined) {
  187.                 return(RegisteredTextFields[aName + aParentClip._name]);
  188.             }
  189.             trace(aName + " is not registered a TextField name.");
  190.         }
  191.         static function GetMovieClip(aParentClip, aName) {
  192.             if (RegisteredMovieClips[aName + aParentClip._name] != undefined) {
  193.                 return(RegisteredMovieClips[aName + aParentClip._name]);
  194.             }
  195.             trace(aName + " is not registered a MovieClip name.");
  196.         }
  197.         static function AddRegisterTextFields() {
  198.             TextField.prototype.RegisterTextField = function (aStartingClip) {
  199.                 if (Shared.GlobalFunc.RegisteredTextFields[this._name + aStartingClip._name] == undefined) {
  200.                     Shared.GlobalFunc.RegisteredTextFields[this._name + aStartingClip._name] = this;
  201.                 }
  202.             };
  203.             _global.ASSetPropFlags(TextField.prototype, "RegisterTextField", 1, 0);
  204.         }
  205.         static function RegisterTextFields(aStartingClip) {
  206.             var _local1 = 0;
  207.             while (_local1 < aStartingClip.length) {
  208.                 if (aStartingClip[_local1] instanceof TextField) {
  209.                     aStartingClip[_local1].RegisterTextField(aStartingClip);
  210.                 }
  211.                 _local1++;
  212.             }
  213.         }
  214.         static function RegisterAllTextFieldsInTimeline(aStartingClip) {
  215.             var _local1 = 1;
  216.             while (aStartingClip._totalFrames && (_local1 <= aStartingClip._totalFrames)) {
  217.                 aStartingClip.gotoAndStop(_local1);
  218.                 RegisterTextFields(aStartingClip);
  219.                 _local1++;
  220.             }
  221.         }
  222.         static function AddRegisterMovieClips() {
  223.             MovieClip.prototype.RegisterMovieClip = function (aStartingClip) {
  224.                 if (Shared.GlobalFunc.RegisteredMovieClips[this._name + aStartingClip._name] == undefined) {
  225.                     Shared.GlobalFunc.RegisteredMovieClips[this._name + aStartingClip._name] = this;
  226.                 }
  227.             };
  228.             _global.ASSetPropFlags(MovieClip.prototype, "RegisterMovieClip", 1, 0);
  229.         }
  230.         static function RegisterMovieClips(aStartingClip) {
  231.             var _local1 = 0;
  232.             while (_local1 < aStartingClip.length) {
  233.                 if (aStartingClip[_local1] instanceof MovieClip) {
  234.                     aStartingClip[_local1].RegisterMovieClip(aStartingClip);
  235.                 }
  236.                 _local1++;
  237.             }
  238.         }
  239.         static function RecursiveRegisterMovieClips(aStartingClip, aRootClip) {
  240.             var _local1 = 0;
  241.             while (_local1 < aStartingClip.length) {
  242.                 if (aStartingClip[_local1] instanceof MovieClip) {
  243.                     if (aStartingClip[_local1] != aStartingClip) {
  244.                         RecursiveRegisterMovieClips(aStartingClip[_local1], aRootClip);
  245.                     }
  246.                     aStartingClip[_local1].RegisterMovieClip(aRootClip);
  247.                 }
  248.                 _local1++;
  249.             }
  250.         }
  251.         static function RegisterAllMovieClipsInTimeline(aStartingClip) {
  252.             var _local1 = 0;
  253.             while (aStartingClip._totalFrames && (_local1 <= aStartingClip._totalFrames)) {
  254.                 aStartingClip.gotoAndStop(_local1);
  255.                 RegisterMovieClips(aStartingClip);
  256.                 _local1++;
  257.             }
  258.         }
  259.         static function StringTrim(astrText) {
  260.             var _local2 = 0;
  261.             var _local1 = 0;
  262.             var _local5 = astrText.length;
  263.             var _local3;
  264.             while ((((astrText.charAt(_local2) == " ") || (astrText.charAt(_local2) == newline)) || (astrText.charAt(_local2) == "\r")) || (astrText.charAt(_local2) == "\t")) {
  265.                 _local2++;
  266.             }
  267.             _local3 = astrText.substring(_local2);
  268.             _local1 = _local3.length - 1;
  269.             while ((((_local3.charAt(_local1) == " ") || (_local3.charAt(_local1) == newline)) || (_local3.charAt(_local1) == "\r")) || (_local3.charAt(_local1) == "\t")) {
  270.                 _local1--;
  271.             }
  272.             _local3 = _local3.substring(0, _local1 + 1);
  273.             return(_local3);
  274.         }
  275.         static var RegisteredTextFields = new Object();
  276.         static var RegisteredMovieClips = new Object();
  277.     }
  278. 
  279. //----------------------------------------------------------------------
  280. //Symbol 35 MovieClip [__Packages.gfx.utils.Locale] Frame 0
  281. //----------------------------------------------------------------------
  282.     class gfx.utils.Locale
  283.     {
  284.         function Locale () {
  285.         }
  286.         static function getTranslatedString(value) {
  287.             return(value);
  288.         }
  289.     }
  290. 
  291. //----------------------------------------------------------------------
  292. //Symbol 47 MovieClip [__Packages.skyui.components.list.ScrollingList] Frame 0
  293. //----------------------------------------------------------------------
  294.     class skyui.components.list.ScrollingList extends skyui.components.list.BasicList
  295.     {
  296.         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;
  297.         function ScrollingList () {
  298.             super();
  299.             _listHeight = (background._height - topBorder) - bottomBorder;
  300.             _maxListIndex = Math.floor(_listHeight / entryHeight);
  301.         }
  302.         function get scrollPosition() {
  303.             return(_scrollPosition);
  304.         }
  305.         function set scrollPosition(a_newPosition) {
  306.             if (((a_newPosition == _scrollPosition) || (a_newPosition < 0)) || (a_newPosition > _maxScrollPosition)) {
  307.                 return;
  308.             }
  309.             if (scrollbar != undefined) {
  310.                 scrollbar.position = a_newPosition;
  311.             } else {
  312.                 updateScrollPosition(a_newPosition);
  313.             }
  314.             //return(scrollPosition);
  315.         }
  316.         function get maxScrollPosition() {
  317.             return(_maxScrollPosition);
  318.         }
  319.         function get listHeight() {
  320.             return(_listHeight);
  321.         }
  322.         function set listHeight(a_height) {
  323.             _listHeight = (background._height = a_height);
  324.             if (scrollbar != undefined) {
  325.                 scrollbar.height = _listHeight;
  326.             }
  327.             //return(listHeight);
  328.         }
  329.         function onLoad() {
  330.             if (scrollbar != undefined) {
  331.                 scrollbar.position = 0;
  332.                 scrollbar.addEventListener("scroll", this, "onScroll");
  333.                 scrollbar._y = background._x + topBorder;
  334.                 scrollbar.height = _listHeight;
  335.             }
  336.         }
  337.         function setPlatform(a_platform, a_bPS3Switch) {
  338.             super.setPlatform(a_platform, a_bPS3Switch);
  339.         }
  340.         function handleInput(details, pathToFocus) {
  341.             if (disableInput) {
  342.                 return(false);
  343.             }
  344.             var _local3 = getClipByIndex(__get__selectedIndex());
  345.             var _local4 = ((_local3 != undefined) && (_local3.handleInput != undefined)) && (_local3.handleInput(details, pathToFocus.slice(1)));
  346.             if (_local4) {
  347.                 return(true);
  348.             }
  349.             if (Shared.GlobalFunc.IsKeyPressed(details)) {
  350.                 if ((details.navEquivalent == gfx.ui.NavigationCode.UP) || (details.navEquivalent == gfx.ui.NavigationCode.PAGE_UP)) {
  351.                     moveSelectionUp(details.navEquivalent == gfx.ui.NavigationCode.PAGE_UP);
  352.                     return(true);
  353.                 }
  354.                 if ((details.navEquivalent == gfx.ui.NavigationCode.DOWN) || (details.navEquivalent == gfx.ui.NavigationCode.PAGE_DOWN)) {
  355.                     moveSelectionDown(details.navEquivalent == gfx.ui.NavigationCode.PAGE_DOWN);
  356.                     return(true);
  357.                 }
  358.                 if ((!disableSelection) && (details.navEquivalent == gfx.ui.NavigationCode.ENTER)) {
  359.                     if ((details.code == 96) && (_platform == skyui.components.list.BasicList.PLATFORM_PC)) {
  360.                         return(false);
  361.                     }
  362.                     onItemPress();
  363.                     return(true);
  364.                 }
  365.             }
  366.             return(false);
  367.         }
  368.         function UpdateList() {
  369.             if (_bSuspended) {
  370.                 _bRequestUpdate = true;
  371.                 return(undefined);
  372.             }
  373.             setClipCount(_maxListIndex);
  374.             var _local8 = background._x + leftBorder;
  375.             var _local7 = background._y + topBorder;
  376.             var _local6 = 0;
  377.             var _local5 = 0;
  378.             while ((_local5 < getListEnumSize()) && (_local5 < _scrollPosition)) {
  379.                 getListEnumEntry(_local5).clipIndex = undefined;
  380.                 _local5++;
  381.             }
  382.             _listIndex = 0;
  383.             _local5 = _scrollPosition;
  384.             while ((_local5 < getListEnumSize()) && (_listIndex < _maxListIndex)) {
  385.                 var _local3 = getClipByIndex(_listIndex);
  386.                 var _local4 = getListEnumEntry(_local5);
  387.                 _local3.itemIndex = _local4.itemIndex;
  388.                 _local4.clipIndex = _listIndex;
  389.                 _local3.setEntry(_local4, listState);
  390.                 _local3._x = _local8;
  391.                 _local3._y = _local7 + _local6;
  392.                 _local3._visible = true;
  393.                 _local6 = _local6 + entryHeight;
  394.                 _listIndex++;
  395.                 _local5++;
  396.             }
  397.             _local5 = _scrollPosition + _listIndex;
  398.             while (_local5 < getListEnumSize()) {
  399.                 getListEnumEntry(_local5).clipIndex = undefined;
  400.                 _local5++;
  401.             }
  402.             if (isMouseDrivenNav) {
  403.                 var _local2 = Mouse.getTopMostEntity();
  404.                 while (_local2 != undefined) {
  405.                     if (((_local2._parent == this) && (_local2._visible)) && (_local2.itemIndex != undefined)) {
  406.                         doSetSelectedIndex(_local2.itemIndex, skyui.components.list.BasicList.SELECT_MOUSE);
  407.                     }
  408.                     _local2 = _local2._parent;
  409.                 }
  410.             }
  411.             if (scrollUpButton != undefined) {
  412.                 scrollUpButton._visible = _scrollPosition > 0;
  413.             }
  414.             if (scrollDownButton != undefined) {
  415.                 scrollDownButton._visible = _scrollPosition < _maxScrollPosition;
  416.             }
  417.         }
  418.         function InvalidateData() {
  419.             if (_bSuspended) {
  420.                 _bRequestInvalidate = true;
  421.                 return(undefined);
  422.             }
  423.             var _local2 = 0;
  424.             while (_local2 < _entryList.length) {
  425.                 _entryList[_local2].itemIndex = _local2;
  426.                 _entryList[_local2].clipIndex = undefined;
  427.                 _local2++;
  428.             }
  429.             _local2 = 0;
  430.             while (_local2 < _dataProcessors.length) {
  431.                 _dataProcessors[_local2].processList(this);
  432.                 _local2++;
  433.             }
  434.             listEnumeration.invalidate();
  435.             if (_selectedIndex >= listEnumeration.size()) {
  436.                 _selectedIndex = listEnumeration.size() - 1;
  437.             }
  438.             if (listEnumeration.lookupEnumIndex(_selectedIndex) == null) {
  439.                 _selectedIndex = -1;
  440.             }
  441.             calculateMaxScrollPosition();
  442.             UpdateList();
  443.             if (((_curClipIndex != undefined) && (_curClipIndex != -1)) && (_listIndex > 0)) {
  444.                 if (_curClipIndex >= _listIndex) {
  445.                     _curClipIndex = _listIndex - 1;
  446.                 }
  447.                 var _local3 = getClipByIndex(_curClipIndex);
  448.                 doSetSelectedIndex(_local3.itemIndex, skyui.components.list.BasicList.SELECT_MOUSE);
  449.             }
  450.             if (onInvalidate) {
  451.                 onInvalidate();
  452.             }
  453.         }
  454.         function moveSelectionUp(a_bScrollPage) {
  455.             if ((!disableSelection) && (!a_bScrollPage)) {
  456.                 if (_selectedIndex == -1) {
  457.                     selectDefaultIndex(false);
  458.                 } else if (getSelectedListEnumIndex() >= scrollDelta) {
  459.                     doSetSelectedIndex(getListEnumRelativeIndex(-scrollDelta), skyui.components.list.BasicList.SELECT_KEYBOARD);
  460.                     isMouseDrivenNav = false;
  461.                 }
  462.             } else if (a_bScrollPage) {
  463.                 var _local2 = scrollPosition - _listIndex;
  464.                 scrollPosition = (((_local2 > 0) ? (_local2) : 0));
  465.                 doSetSelectedIndex(-1, skyui.components.list.BasicList.SELECT_MOUSE);
  466.             } else {
  467.                 scrollPosition = (scrollPosition - scrollDelta);
  468.             }
  469.         }
  470.         function moveSelectionDown(a_bScrollPage) {
  471.             if ((!disableSelection) && (!a_bScrollPage)) {
  472.                 if (_selectedIndex == -1) {
  473.                     selectDefaultIndex(true);
  474.                 } else if (getSelectedListEnumIndex() < (getListEnumSize() - scrollDelta)) {
  475.                     doSetSelectedIndex(getListEnumRelativeIndex(scrollDelta), skyui.components.list.BasicList.SELECT_KEYBOARD);
  476.                     isMouseDrivenNav = false;
  477.                 }
  478.             } else if (a_bScrollPage) {
  479.                 var _local2 = scrollPosition + _listIndex;
  480.                 scrollPosition = (((_local2 < _maxScrollPosition) ? (_local2) : (_maxScrollPosition)));
  481.                 doSetSelectedIndex(-1, skyui.components.list.BasicList.SELECT_MOUSE);
  482.             } else {
  483.                 scrollPosition = (scrollPosition + scrollDelta);
  484.             }
  485.         }
  486.         function selectDefaultIndex(a_bTop) {
  487.             if (_listIndex <= 0) {
  488.                 return(undefined);
  489.             }
  490.             if (a_bTop) {
  491.                 var _local3 = getClipByIndex(0);
  492.                 if (_local3.itemIndex != undefined) {
  493.                     doSetSelectedIndex(_local3.itemIndex, skyui.components.list.BasicList.SELECT_KEYBOARD);
  494.                 }
  495.             } else {
  496.                 var _local2 = getClipByIndex(_listIndex - 1);
  497.                 if (_local2.itemIndex != undefined) {
  498.                     doSetSelectedIndex(_local2.itemIndex, skyui.components.list.BasicList.SELECT_KEYBOARD);
  499.                 }
  500.             }
  501.         }
  502.         function onMouseWheel(a_delta) {
  503.             if (disableInput) {
  504.                 return(undefined);
  505.             }
  506.             var _local2 = Mouse.getTopMostEntity();
  507.             while (_local2 && (_local2 != undefined)) {
  508.                 if (_local2 == this) {
  509.                     if (a_delta < 0) {
  510.                         scrollPosition = (scrollPosition + scrollDelta);
  511.                     } else if (a_delta > 0) {
  512.                         scrollPosition = (scrollPosition - scrollDelta);
  513.                     }
  514.                 }
  515.                 _local2 = _local2._parent;
  516.             }
  517.             isMouseDrivenNav = true;
  518.         }
  519.         function onScroll(event) {
  520.             updateScrollPosition(Math.floor(event.position + 0.5));
  521.         }
  522.         function doSetSelectedIndex(a_newIndex, a_keyboardOrMouse) {
  523.             if (disableSelection || (a_newIndex == _selectedIndex)) {
  524.                 return(undefined);
  525.             }
  526.             if ((a_newIndex != -1) && (getListEnumIndex(a_newIndex) == undefined)) {
  527.                 return(undefined);
  528.             }
  529.             var _local3 = __get__selectedEntry();
  530.             _selectedIndex = a_newIndex;
  531.             if (_local3.clipIndex != undefined) {
  532.                 var _local5 = getClipByIndex(_local3.clipIndex);
  533.                 _local5.setEntry(_local3, listState);
  534.             }
  535.             if (_selectedIndex != -1) {
  536.                 var _local2 = getSelectedListEnumIndex();
  537.                 if (_local2 < _scrollPosition) {
  538.                     scrollPosition = (_local2);
  539.                 } else if (_local2 >= (_scrollPosition + _listIndex)) {
  540.                     scrollPosition = (Math.min((_local2 - _listIndex) + scrollDelta, _maxScrollPosition));
  541.                 } else {
  542.                     var _local5 = getClipByIndex(__get__selectedEntry().clipIndex);
  543.                     _local5.setEntry(__get__selectedEntry(), listState);
  544.                 }
  545.                 _curClipIndex = __get__selectedEntry().clipIndex;
  546.             } else {
  547.                 _curClipIndex = -1;
  548.             }
  549.             dispatchEvent({type:"selectionChange", index:_selectedIndex, keyboardOrMouse:a_keyboardOrMouse});
  550.         }
  551.         function calculateMaxScrollPosition() {
  552.             var _local2 = getListEnumSize() - _maxListIndex;
  553.             _maxScrollPosition = ((_local2 > 0) ? (_local2) : 0);
  554.             updateScrollbar();
  555.             if (_scrollPosition > _maxScrollPosition) {
  556.                 scrollPosition = (_maxScrollPosition);
  557.             }
  558.         }
  559.         function updateScrollPosition(a_position) {
  560.             _scrollPosition = a_position;
  561.             UpdateList();
  562.         }
  563.         function updateScrollbar() {
  564.             if (scrollbar != undefined) {
  565.                 scrollbar._visible = _maxScrollPosition > 0;
  566.                 scrollbar.setScrollProperties(_maxListIndex, 0, _maxScrollPosition);
  567.             }
  568.         }
  569.         function getClipByIndex(a_index) {
  570.             if ((a_index < 0) || (a_index >= _maxListIndex)) {
  571.                 return(undefined);
  572.             }
  573.             return(_entryClipManager.getClip(a_index));
  574.         }
  575.         var _listIndex = 0;
  576.         var _curClipIndex = -1;
  577.         var entryHeight = 28;
  578.         var scrollDelta = 1;
  579.         var _scrollPosition = 0;
  580.         var _maxScrollPosition = 0;
  581.     }
  582. 
  583. //----------------------------------------------------------------------
  584. //Symbol 31 MovieClip [__Packages.skyui.defines.Input] Frame 0
  585. //----------------------------------------------------------------------
  586.     class skyui.defines.Input
  587.     {
  588.         function Input () {
  589.         }
  590.         static var DEVICE_KEYBOARD = 0;
  591.         static var DEVICE_MOUSE = 1;
  592.         static var DEVICE_GAMEPAD = 2;
  593.         static var CONTEXT_GAMEPLAY = 0;
  594.         static var CONTEXT_MENUMODE = 1;
  595.         static var CONTEXT_CONSOLE = 2;
  596.         static var CONTEXT_ITEMMENU = 3;
  597.         static var CONTEXT_INVENTORY = 4;
  598.         static var CONTEXT_DEBUGTEXT = 5;
  599.         static var CONTEXT_FAVORITES = 6;
  600.         static var CONTEXT_MAP = 7;
  601.         static var CONTEXT_STATS = 8;
  602.         static var CONTEXT_CURSOR = 9;
  603.         static var CONTEXT_BOOK = 10;
  604.         static var CONTEXT_DEBUGOVERLAY = 11;
  605.         static var CONTEXT_JOURNAL = 12;
  606.         static var CONTEXT_TFCMODE = 13;
  607.         static var CONTEXT_MAPDEBUG = 14;
  608.         static var CONTEXT_LOCKPICKING = 15;
  609.         static var CONTEXT_FAVOR = 16;
  610.         static var ChargeItem = {name:"ChargeItem", context:CONTEXT_INVENTORY};
  611.         static var XButton = {name:"XButton", context:CONTEXT_ITEMMENU};
  612.         static var YButton = {name:"YButton", context:CONTEXT_ITEMMENU};
  613.         static var Wait = {name:"Wait", context:CONTEXT_GAMEPLAY};
  614.         static var Jump = {name:"Jump", context:CONTEXT_GAMEPLAY};
  615.         static var Sprint = {name:"Sprint", context:CONTEXT_GAMEPLAY};
  616.         static var Shout = {name:"Shout", context:CONTEXT_GAMEPLAY};
  617.         static var Activate = {name:"Activate", context:CONTEXT_GAMEPLAY};
  618.         static var ReadyWeapon = {name:"Ready Weapon", context:CONTEXT_GAMEPLAY};
  619.         static var TogglePOV = {name:"Toggle POV", context:CONTEXT_GAMEPLAY};
  620.         static var Accept = {name:"Accept", context:CONTEXT_MENUMODE};
  621.         static var Cancel = {name:"Cancel", context:CONTEXT_MENUMODE};
  622.         static var JournalXButton = {name:"XButton", context:CONTEXT_JOURNAL};
  623.         static var JournalYButton = {name:"YButton", context:CONTEXT_JOURNAL};
  624.         static var LeftRight = [{name:"Left", context:CONTEXT_MENUMODE}, {name:"Right", context:CONTEXT_MENUMODE}];
  625.         static var Equip = [{name:"RightEquip", context:CONTEXT_ITEMMENU}, {name:"LeftEquip", context:CONTEXT_ITEMMENU}];
  626.         static var SortColumn = [{keyCode:274}, {keyCode:275}];
  627.         static var SortOrder = {keyCode:272};
  628.         static var GamepadBack = {keyCode:271};
  629.         static var Enter = {keyCode:28};
  630.         static var Tab = {keyCode:15};
  631.         static var Shift = {keyCode:42};
  632.         static var Space = {keyCode:57};
  633.         static var Alt = {keyCode:56};
  634.     }
  635. 
  636. //----------------------------------------------------------------------
  637. //Symbol 49 MovieClip [__Packages.ItemView] Frame 0
  638. //----------------------------------------------------------------------
  639.     class ItemView extends MovieClip
  640.     {
  641.         var _sortFilter, itemList, dispatchEvent, background;
  642.         function ItemView () {
  643.             super();
  644.             gfx.events.EventDispatcher.initialize(this);
  645.             _sortFilter = new skyui.filter.SortFilter();
  646.         }
  647.         function onLoad() {
  648.             itemList.listEnumeration = new skyui.components.list.BasicEnumeration(itemList.__get__entryList());
  649.             itemList.addEventListener("invalidateHeight", this, "onInvalidateHeight");
  650.             dispatchEvent({type:"onLoad", view:this});
  651.         }
  652.         function get entryList() {
  653.             return(itemList.__get__entryList());
  654.         }
  655.         function get sortEnabled() {
  656.             return(_sortEnabled);
  657.         }
  658.         function set sortEnabled(a_sort) {
  659.             _sortEnabled = a_sort;
  660.             if (a_sort) {
  661.                 var _local2 = (itemList.listEnumeration = new skyui.components.list.FilteredEnumeration(itemList.__get__entryList()));
  662.                 _local2.addFilter(_sortFilter);
  663.                 itemList.listEnumeration = _local2;
  664.             } else {
  665.                 itemList.listEnumeration = new skyui.components.list.BasicEnumeration(itemList.__get__entryList());
  666.             }
  667.             //return(sortEnabled);
  668.         }
  669.         function set entryList(a_newArray) {
  670.             itemList.__set__entryList(a_newArray);
  671.             sortEnabled = (sortEnabled);
  672.             //return(entryList);
  673.         }
  674.         function handleInput(details, pathToFocus) {
  675.             return(itemList.handleInput(details, pathToFocus));
  676.         }
  677.         function get listHeight() {
  678.             return(itemList.__get__listHeight());
  679.         }
  680.         function setMinViewport(a_minEntries, a_update) {
  681.             itemList.minViewport = a_minEntries;
  682.             if (a_update) {
  683.                 itemList.requestInvalidate();
  684.             }
  685.         }
  686.         function setMaxViewport(a_maxEntries, a_update) {
  687.             itemList.maxViewport = a_maxEntries;
  688.             if (a_update) {
  689.                 itemList.requestInvalidate();
  690.             }
  691.         }
  692.         function set listHeight(a_height) {
  693.             itemList.__set__listHeight(a_height);
  694.             background._y = -paddingTop;
  695.             background._height = (a_height + paddingTop) + paddingBottom;
  696.             //return(listHeight);
  697.         }
  698.         function onInvalidateHeight(event) {
  699.             listHeight = (event.height);
  700.         }
  701.         var paddingBottom = 2;
  702.         var paddingTop = 0;
  703.         var _sortEnabled = false;
  704.     }
  705. 
  706. //----------------------------------------------------------------------
  707. //Symbol 56 MovieClip [__Packages.com.greensock.core.SimpleTimeline] Frame 0
  708. //----------------------------------------------------------------------
  709.     class com.greensock.core.SimpleTimeline extends com.greensock.core.TweenCore
  710.     {
  711.         var _lastChild, _firstChild, cachedTotalTime, cachedTime;
  712.         function SimpleTimeline (vars) {
  713.             super(0, vars);
  714.         }
  715.         function insert(tween, time) {
  716.             if (time == undefined) {
  717.                 time = 0;
  718.             }
  719.             var _local3 = tween.timeline;
  720.             if ((!tween.cachedOrphan) && (_local3)) {
  721.                 _local3.remove(tween, true);
  722.             }
  723.             tween.timeline = this;
  724.             tween.cachedStartTime = Number(time) + tween.__get__delay();
  725.             if (tween.gc) {
  726.                 tween.setEnabled(true, true);
  727.             }
  728.             if (tween.cachedPaused && (_local3 != this)) {
  729.                 tween.cachedPauseTime = tween.cachedStartTime + ((rawTime - tween.cachedStartTime) / tween.cachedTimeScale);
  730.             }
  731.             if (_lastChild) {
  732.                 _lastChild.nextNode = tween;
  733.             } else {
  734.                 _firstChild = tween;
  735.             }
  736.             tween.prevNode = _lastChild;
  737.             _lastChild = tween;
  738.             tween.nextNode = undefined;
  739.             tween.cachedOrphan = false;
  740.             return(tween);
  741.         }
  742.         function remove(tween, skipDisable) {
  743.             if (tween.cachedOrphan) {
  744.                 return(undefined);
  745.             }
  746.             if (skipDisable != true) {
  747.                 tween.setEnabled(false, true);
  748.             }
  749.             if (tween.nextNode) {
  750.                 tween.nextNode.prevNode = tween.prevNode;
  751.             } else if (_lastChild == tween) {
  752.                 _lastChild = tween.prevNode;
  753.             }
  754.             if (tween.prevNode) {
  755.                 tween.prevNode.nextNode = tween.nextNode;
  756.             } else if (_firstChild == tween) {
  757.                 _firstChild = tween.nextNode;
  758.             }
  759.             tween.cachedOrphan = true;
  760.         }
  761.         function renderTime(time, suppressEvents, force) {
  762.             var _local2 = _firstChild;
  763.             var _local4;
  764.             var _local5;
  765.             cachedTotalTime = time;
  766.             cachedTime = time;
  767.             while (_local2) {
  768.                 _local5 = _local2.nextNode;
  769.                 if (_local2.active || (((time >= _local2.cachedStartTime) && (!_local2.cachedPaused)) && (!_local2.gc))) {
  770.                     if (!_local2.cachedReversed) {
  771.                         _local2.renderTime((time - _local2.cachedStartTime) * _local2.cachedTimeScale, suppressEvents, false);
  772.                     } else {
  773.                         _local4 = (_local2.cacheIsDirty ? (_local2.__get__totalDuration()) : (_local2.cachedTotalDuration));
  774.                         _local2.renderTime(_local4 - ((time - _local2.cachedStartTime) * _local2.cachedTimeScale), suppressEvents, false);
  775.                     }
  776.                 }
  777.                 _local2 = _local5;
  778.             }
  779.         }
  780.         function get rawTime() {
  781.             return(cachedTotalTime);
  782.         }
  783.     }
  784. 
  785. //----------------------------------------------------------------------
  786. //Symbol 12 MovieClip [ScrollBar_thumb] Frame 30
  787. //----------------------------------------------------------------------
  788.     stop();
  789. 
  790. //----------------------------------------------------------------------
  791. //Symbol 18 MovieClip [ScrollBar_track] Frame 30
  792. //----------------------------------------------------------------------
  793.     stop();
  794. 
  795. //----------------------------------------------------------------------
  796. //Symbol 26 MovieClip [__Packages.gfx.core.UIComponent] Frame 0
  797. //----------------------------------------------------------------------
  798.     class gfx.core.UIComponent extends MovieClip
  799.     {
  800.         var _width, _height, _name, useHandCursor, _visible, dispatchEvent, invalidationIntervalID, _xscale, _yscale, hitTest;
  801.         function UIComponent () {
  802.             super();
  803.             gfx.events.EventDispatcher.initialize(this);
  804.         }
  805.         function onLoad() {
  806.             onLoadImpl();
  807.         }
  808.         function onLoadImpl() {
  809.             if (initialized) {
  810.                 return(undefined);
  811.             }
  812.             if (isNaN(__width)) {
  813.                 __width = _width;
  814.             }
  815.             if (isNaN(__height)) {
  816.                 __height = _height;
  817.             }
  818.             initialized = true;
  819.             configUI();
  820.             validateNow();
  821.             if (enableInitCallback && (_global.CLIK_loadCallback)) {
  822.                 _global.CLIK_loadCallback(_name, targetPath(this), this);
  823.             }
  824.             if ((_focused != 0) && (Selection.getFocusBitmask(this) == 0)) {
  825.                 var _local4 = 0;
  826.                 for(;;){
  827.                     if (_local4 >= Selection.numFocusGroups) {
  828.                         return(undefined);
  829.                     }
  830.                     var _local6 = ((_focused >> _local4) & 1) != 0;
  831.                     if (_local6) {
  832.                         var _local5 = Selection.getControllerMaskByFocusGroup(_local4);
  833.                         var _local3 = 0;
  834.                         while (_local3 < System.capabilities.numControllers) {
  835.                             if ((_local5 >> _local3) & true) {
  836.                                 gfx.managers.FocusHandler.__get__instance().onSetFocus(null, this, _local3);
  837.                             }
  838.                             _local3++;
  839.                         }
  840.                     }
  841.                     _local4++;
  842.                 };
  843.             }
  844.         }
  845.         function onUnload() {
  846.             if (enableInitCallback && (_global.CLIK_unloadCallback)) {
  847.                 _global.CLIK_unloadCallback(_name, targetPath(this), this);
  848.             }
  849.         }
  850.         function get disabled() {
  851.             return(_disabled);
  852.         }
  853.         function set disabled(value) {
  854.             _disabled = value;
  855.             super.enabled = !value;
  856.             useHandCursor = !value;
  857.             invalidate();
  858.             //return(disabled);
  859.         }
  860.         function get visible() {
  861.             return(_visible);
  862.         }
  863.         function set visible(value) {
  864.             if (_visible != value) {
  865.                 _visible = value;
  866.                 if (initialized) {
  867.                     var _local3 = (value ? "show" : "hide");
  868.                     dispatchEvent({type:_local3});
  869.                     return;
  870.                 }
  871.             }
  872.             //return(visible);
  873.         }
  874.         function get width() {
  875.             return(__width);
  876.         }
  877.         function set width(value) {
  878.             setSize(value, __height || (_height));
  879.             //return(width);
  880.         }
  881.         function get height() {
  882.             return(__height);
  883.         }
  884.         function set height(value) {
  885.             setSize(__width || (_width), value);
  886.             //return(height);
  887.         }
  888.         function setSize(width, height) {
  889.             if ((__width == width) && (__height == height)) {
  890.                 return(undefined);
  891.             }
  892.             __width = width;
  893.             __height = height;
  894.             sizeIsInvalid = true;
  895.             invalidate();
  896.         }
  897.         function get focused() {
  898.             return(_focused);
  899.         }
  900.         function set focused(value) {
  901.             if (value != _focused) {
  902.                 _focused = value;
  903.                 var _local2 = 0;
  904.                 while (_local2 < Selection.numFocusGroups) {
  905.                     var _local3 = ((_focused >> _local2) & 1) != 0;
  906.                     if (_local3) {
  907.                         __reg5 = Selection.getControllerMaskByFocusGroup(_local2);
  908.                         __reg2 = 0;
  909.                         while (__reg2 < System.capabilities.numControllers) {
  910.                             __reg4 = ((__reg5 >> __reg2) & 1) != 0;
  911.                             if (__reg4 && (Selection.getFocus(__reg2) != targetPath(this))) {
  912.                                 Selection.setFocus(this, __reg2);
  913.                             }
  914.                             __reg2++;
  915.                         }
  916.                     } else {
  917.                         var __reg5 = Selection.getControllerMaskByFocusGroup(_local2);
  918.                         var __reg2 = 0;
  919.                         while (__reg2 < System.capabilities.numControllers) {
  920.                             var __reg4 = (((__reg5 >> __reg2) & 1) != 0);
  921.                             if (__reg4 && (Selection.getFocus(__reg2) == targetPath(this))) {
  922.                                 Selection.setFocus(null, __reg2);
  923.                             }
  924.                             __reg2++;
  925.                         }
  926.                     }
  927.                     _local2++;
  928.                 }
  929.                 changeFocus();
  930.                 var _local5 = (value ? "focusIn" : "focusOut");
  931.                 dispatchEventAndSound({type:_local5});
  932.                 return;
  933.             }
  934.             //return(focused);
  935.         }
  936.         function get displayFocus() {
  937.             return(_displayFocus);
  938.         }
  939.         function set displayFocus(value) {
  940.             if (value != _displayFocus) {
  941.                 _displayFocus = value;
  942.                 changeFocus();
  943.                 return;
  944.             }
  945.             //return(displayFocus);
  946.         }
  947.         function handleInput(details, pathToFocus) {
  948.             if (pathToFocus && (pathToFocus.length > 0)) {
  949.                 var _local3 = pathToFocus[0];
  950.                 if (_local3.handleInput) {
  951.                     var _local2 = _local3.handleInput(details, pathToFocus.slice(1));
  952.                     if (_local2) {
  953.                         return(_local2);
  954.                     }
  955.                 }
  956.             }
  957.             return(false);
  958.         }
  959.         function invalidate() {
  960.             if (invalidationIntervalID) {
  961.                 return(undefined);
  962.             }
  963.             invalidationIntervalID = setInterval(this, "validateNow", 1);
  964.         }
  965.         function validateNow() {
  966.             clearInterval(invalidationIntervalID);
  967.             delete invalidationIntervalID;
  968.             draw();
  969.             sizeIsInvalid = false;
  970.         }
  971.         function toString() {
  972.             return(("[Scaleform UIComponent " + _name) + "]");
  973.         }
  974.         function dispatchEventToGame(event) {
  975.             flash.external.ExternalInterface.call("__handleEvent", _name, event);
  976.         }
  977.         function configUI() {
  978.         }
  979.         function initSize() {
  980.             var _local2 = ((__width == 0) ? (_width) : (__width));
  981.             var _local3 = ((__height == 0) ? (_height) : (__height));
  982.             _xscale = (_yscale = 100);
  983.             setSize(_local2, _local3);
  984.         }
  985.         function draw() {
  986.         }
  987.         function changeFocus() {
  988.         }
  989.         function onMouseWheel(delta, target) {
  990.             if (visible && (hitTest(_root._xmouse, _root._ymouse, true))) {
  991.                 var _local3 = Mouse.getTopMostEntity();
  992.                 for(;;){
  993.                     if (!_local3) {
  994.                         return(undefined);
  995.                     }
  996.                     if (_local3 == this) {
  997.                         scrollWheel(((delta <= 0) ? -1 : 1));
  998.                         return(undefined);
  999.                     }
  1000.                     _local3 = _local3._parent;
  1001.                 };
  1002.             }
  1003.         }
  1004.         function scrollWheel(delta) {
  1005.         }
  1006.         function dispatchEventAndSound(event) {
  1007.             dispatchEvent(event);
  1008.             dispatchSound(event);
  1009.         }
  1010.         function dispatchSound(event) {
  1011.             var _local3 = soundMap.theme;
  1012.             var _local2 = soundMap[event.type];
  1013.             if (_local3 && (_local2)) {
  1014.                 playSound(_local2, _local3);
  1015.             }
  1016.         }
  1017.         function playSound(soundEventName, soundTheme) {
  1018.             if (_global.gfxProcessSound) {
  1019.                 if (soundTheme == undefined) {
  1020.                     soundTheme = "default";
  1021.                 }
  1022.                 _global.gfxProcessSound(this, soundTheme, soundEventName);
  1023.             }
  1024.         }
  1025.         var initialized = false;
  1026.         var enableInitCallback = true;
  1027.         var soundMap = {theme:"default", focusIn:"focusIn", focusOut:"focusOut"};
  1028.         var __width = Number.NaN;
  1029.         var __height = Number.NaN;
  1030.         var _disabled = false;
  1031.         var _focused = 0;
  1032.         var _displayFocus = false;
  1033.         var sizeIsInvalid = false;
  1034.     }
  1035. 
  1036. //----------------------------------------------------------------------
  1037. //Symbol 62 MovieClip [__Packages.ItemListEntry] Frame 0
  1038. //----------------------------------------------------------------------
  1039.     class ItemListEntry extends skyui.components.list.BasicListEntry
  1040.     {
  1041.         var childIndicator, selectIndicator, textField;
  1042.         function ItemListEntry () {
  1043.             super();
  1044.         }
  1045.         function setEntry(a_entryObject, a_state) {
  1046.             var _local4 = a_entryObject == a_state.list.__get__selectedEntry();
  1047.             var _local3 = a_entryObject.hasChildren == 1;
  1048.             if (childIndicator != undefined) {
  1049.                 childIndicator._visible = _local3;
  1050.             }
  1051.             if (selectIndicator != undefined) {
  1052.                 selectIndicator._visible = _local4;
  1053.             }
  1054.             textField.text = a_entryObject.text;
  1055.         }
  1056.     }
  1057. 
  1058. //----------------------------------------------------------------------
  1059. //Symbol 12 MovieClip [ScrollBar_thumb] Frame 10
  1060. //----------------------------------------------------------------------
  1061.     stop();
  1062. 
  1063. //----------------------------------------------------------------------
  1064. //Symbol 18 MovieClip [ScrollBar_track] Frame 10
  1065. //----------------------------------------------------------------------
  1066.     stop();
  1067. 
  1068. //----------------------------------------------------------------------
  1069. //Symbol 51 MovieClip [__Packages.skyui.filter.SortFilter] Frame 0
  1070. //----------------------------------------------------------------------
  1071.     class skyui.filter.SortFilter implements skyui.filter.IFilter
  1072.     {
  1073.         var _sortAttributes, _sortOptions, dispatchEvent;
  1074.         function SortFilter () {
  1075.             gfx.events.EventDispatcher.initialize(this);
  1076.         }
  1077.         function setSortBy(a_sortAttributes, a_sortOptions) {
  1078.             if ((_sortAttributes == a_sortAttributes) && (_sortOptions == a_sortOptions)) {
  1079.                 return(undefined);
  1080.             }
  1081.             _sortAttributes = a_sortAttributes;
  1082.             _sortOptions = a_sortOptions;
  1083.             dispatchEvent({type:"filterChange"});
  1084.         }
  1085.         function applyFilter(a_filteredList) {
  1086.             var _local5 = _sortAttributes[0];
  1087.             var _local2 = 0;
  1088.             while (_local2 < a_filteredList.length) {
  1089.                 var _local4 = a_filteredList[_local2][_local5];
  1090.                 if (_local4 == null) {
  1091.                     a_filteredList[_local2]._sortFlag = 1;
  1092.                 } else {
  1093.                     a_filteredList[_local2]._sortFlag = 0;
  1094.                 }
  1095.                 _local2++;
  1096.             }
  1097.             _sortAttributes.unshift("_sortFlag");
  1098.             _sortOptions.unshift(Array.NUMERIC);
  1099.             a_filteredList.sortOn(_sortAttributes, _sortOptions);
  1100.             _sortAttributes.shift();
  1101.             _sortOptions.shift();
  1102.         }
  1103.     }
  1104. 
  1105. //----------------------------------------------------------------------
  1106. //Symbol 29 MovieClip [__Packages.gfx.managers.InputDelegate] Frame 0
  1107. //----------------------------------------------------------------------
  1108.     class gfx.managers.InputDelegate extends gfx.events.EventDispatcher
  1109.     {
  1110.         static var _instance;
  1111.         var _keyRepeatSuppressLookup, _keyRepeatStateLookup, dispatchEvent;
  1112.         function InputDelegate () {
  1113.             super();
  1114.             Key.addListener(this);
  1115.             _keyRepeatSuppressLookup = {};
  1116.             _keyRepeatStateLookup = {};
  1117.         }
  1118.         static function get instance() {
  1119.             if (_instance == null) {
  1120.                 _instance = new gfx.managers.InputDelegate();
  1121.             }
  1122.             return(_instance);
  1123.         }
  1124.         function enableControlFixup(a_bEnabled) {
  1125.             if (a_bEnabled) {
  1126.                 _acceptKeycode = skyui.util.GlobalFunctions.getMappedKey("Accept", skyui.defines.Input.CONTEXT_MENUMODE, isGamepad);
  1127.             }
  1128.             _bEnableControlFixup = a_bEnabled;
  1129.         }
  1130.         function setKeyRepeat(a_code, a_value, a_controllerIdx) {
  1131.             var _local2 = getKeyRepeatSuppress(a_controllerIdx);
  1132.             _local2[a_code] = !a_value;
  1133.         }
  1134.         function readInput(type, code, scope, callBack) {
  1135.             return(null);
  1136.         }
  1137.         function onKeyDown(a_controllerIdx) {
  1138.             var _local2 = Key.getCode(a_controllerIdx);
  1139.             var _local4 = getKeyRepeatState(a_controllerIdx);
  1140.             if (!_local4[_local2]) {
  1141.                 handleKeyPress("keyDown", _local2, a_controllerIdx, skse.GetLastControl(true), skse.GetLastKeycode(true));
  1142.                 _local4[_local2] = true;
  1143.             } else {
  1144.                 var _local5 = getKeyRepeatSuppress(a_controllerIdx);
  1145.                 if (!_local5[_local2]) {
  1146.                     handleKeyPress("keyHold", _local2, a_controllerIdx, skse.GetLastControl(true), skse.GetLastKeycode(true));
  1147.                 }
  1148.             }
  1149.         }
  1150.         function onKeyUp(a_controllerIdx) {
  1151.             var _local2 = Key.getCode(a_controllerIdx);
  1152.             var _local4 = getKeyRepeatState(a_controllerIdx);
  1153.             _local4[_local2] = false;
  1154.             handleKeyPress("keyUp", _local2, a_controllerIdx, skse.GetLastControl(false), skse.GetLastKeycode(false));
  1155.         }
  1156.         function handleKeyPress(a_type, a_code, a_controllerIdx, a_control, a_skseKeycode) {
  1157.             var _local2 = inputToNav(a_code);
  1158.             if (_local2 != null) {
  1159.                 switch (_local2) {
  1160.                     case gfx.ui.NavigationCode.UP :
  1161.                     case gfx.ui.NavigationCode.DOWN :
  1162.                     case gfx.ui.NavigationCode.LEFT :
  1163.                     case gfx.ui.NavigationCode.RIGHT :
  1164.                         a_control = null;
  1165.                         a_skseKeycode = null;
  1166.                 }
  1167.             } else if (_bEnableControlFixup) {
  1168.                 if (a_skseKeycode == _acceptKeycode) {
  1169.                     _local2 = gfx.ui.NavigationCode.ENTER;
  1170.                 }
  1171.             }
  1172.             var _local4 = new gfx.ui.InputDetails("key", a_code, a_type, _local2, a_controllerIdx, a_control, a_skseKeycode);
  1173.             dispatchEvent({type:"input", details:_local4});
  1174.         }
  1175.         function getKeyRepeatState(a_controllerIdx) {
  1176.             var _local2 = _keyRepeatStateLookup[a_controllerIdx];
  1177.             if (!_local2) {
  1178.                 _local2 = new Object();
  1179.                 _keyRepeatStateLookup[a_controllerIdx] = _local2;
  1180.             }
  1181.             return(_local2);
  1182.         }
  1183.         function getKeyRepeatSuppress(a_controllerIdx) {
  1184.             var _local2 = _keyRepeatSuppressLookup[a_controllerIdx];
  1185.             if (!_local2) {
  1186.                 _local2 = new Object();
  1187.                 _keyRepeatSuppressLookup[a_controllerIdx] = _local2;
  1188.             }
  1189.             return(_local2);
  1190.         }
  1191.         function inputToNav(a_code) {
  1192.             switch (a_code) {
  1193.                 case 38 :
  1194.                     return(gfx.ui.NavigationCode.UP);
  1195.                 case 40 :
  1196.                     return(gfx.ui.NavigationCode.DOWN);
  1197.                 case 37 :
  1198.                     return(gfx.ui.NavigationCode.LEFT);
  1199.                 case 39 :
  1200.                     return(gfx.ui.NavigationCode.RIGHT);
  1201.                 case 13 :
  1202.                     return(gfx.ui.NavigationCode.ENTER);
  1203.                 case 8 :
  1204.                     return(gfx.ui.NavigationCode.BACK);
  1205.                 case 9 :
  1206.                     return((Key.isDown(16) ? (gfx.ui.NavigationCode.SHIFT_TAB) : (gfx.ui.NavigationCode.TAB)));
  1207.                 case 36 :
  1208.                     return(gfx.ui.NavigationCode.HOME);
  1209.                 case 35 :
  1210.                     return(gfx.ui.NavigationCode.END);
  1211.                 case 34 :
  1212.                     return(gfx.ui.NavigationCode.PAGE_DOWN);
  1213.                 case 33 :
  1214.                     return(gfx.ui.NavigationCode.PAGE_UP);
  1215.                 case 27 :
  1216.                     return(gfx.ui.NavigationCode.ESCAPE);
  1217.                 case 96 :
  1218.                     return(gfx.ui.NavigationCode.GAMEPAD_A);
  1219.                 case 97 :
  1220.                     return(gfx.ui.NavigationCode.GAMEPAD_B);
  1221.                 case 98 :
  1222.                     return(gfx.ui.NavigationCode.GAMEPAD_X);
  1223.                 case 99 :
  1224.                     return(gfx.ui.NavigationCode.GAMEPAD_Y);
  1225.                 case 100 :
  1226.                     return(gfx.ui.NavigationCode.GAMEPAD_L1);
  1227.                 case 101 :
  1228.                     return(gfx.ui.NavigationCode.GAMEPAD_L2);
  1229.                 case 102 :
  1230.                     return(gfx.ui.NavigationCode.GAMEPAD_L3);
  1231.                 case 103 :
  1232.                     return(gfx.ui.NavigationCode.GAMEPAD_R1);
  1233.                 case 104 :
  1234.                     return(gfx.ui.NavigationCode.GAMEPAD_R2);
  1235.                 case 105 :
  1236.                     return(gfx.ui.NavigationCode.GAMEPAD_R3);
  1237.                 case 106 :
  1238.                     return(gfx.ui.NavigationCode.GAMEPAD_START);
  1239.                 case 107 :
  1240.                     return(gfx.ui.NavigationCode.GAMEPAD_BACK);
  1241.             }
  1242.             return(null);
  1243.         }
  1244.         var _bEnableControlFixup = false;
  1245.         var _acceptKeycode = -1;
  1246.         var isGamepad = false;
  1247.     }
  1248. 
  1249. //----------------------------------------------------------------------
  1250. //Symbol 27 MovieClip [__Packages.gfx.events.EventDispatcher] Frame 0
  1251. //----------------------------------------------------------------------
  1252.     class gfx.events.EventDispatcher
  1253.     {
  1254.         static var _instance;
  1255.         var _listeners;
  1256.         function EventDispatcher () {
  1257.         }
  1258.         static function initialize(target) {
  1259.             if (_instance == undefined) {
  1260.                 _instance = new gfx.events.EventDispatcher();
  1261.             }
  1262.             target.dispatchEvent = _instance.dispatchEvent;
  1263.             target.dispatchQueue = _instance.dispatchQueue;
  1264.             target.hasEventListener = _instance.hasEventListener;
  1265.             target.addEventListener = _instance.addEventListener;
  1266.             target.removeEventListener = _instance.removeEventListener;
  1267.             target.removeAllEventListeners = _instance.removeAllEventListeners;
  1268.             target.cleanUpEvents = _instance.cleanUpEvents;
  1269.             _global.ASSetPropFlags(target, "dispatchQueue", 1);
  1270.         }
  1271.         static function indexOfListener(listeners, scope, callBack) {
  1272.             var _local3 = listeners.length;
  1273.             var _local2 = -1;
  1274.             while (_local2++ , _local2 < _local3) {
  1275.                 var _local1 = listeners[_local2];
  1276.                 if ((_local1.listenerObject == scope) && (_local1.listenerFunction == callBack)) {
  1277.                     return(_local2);
  1278.                 }
  1279.             }
  1280.             return(-1);
  1281.         }
  1282.         function addEventListener(event, scope, callBack) {
  1283.             if (_listeners == undefined) {
  1284.                 _listeners = {};
  1285.                 _global.ASSetPropFlags(this, "_listeners", 1);
  1286.             }
  1287.             var _local3 = _listeners[event];
  1288.             if (_local3 == undefined) {
  1289.                 _local3 = [];
  1290.                 _listeners[event] = _local3;
  1291.             }
  1292.             if (indexOfListener(_local3, scope, callBack) == -1) {
  1293.                 _local3.push({listenerObject:scope, listenerFunction:callBack});
  1294.             }
  1295.         }
  1296.         function removeEventListener(event, scope, callBack) {
  1297.             var _local2 = _listeners[event];
  1298.             if (_local2 != undefined) {
  1299.                 var _local3 = indexOfListener(_local2, scope, callBack);
  1300.                 if (_local3 != -1) {
  1301.                     _local2.splice(_local3, 1);
  1302.                 }
  1303.             }
  1304.         }
  1305.         function dispatchEvent(event) {
  1306.             if (event.type != "all") {
  1307.                 if (event.target == undefined) {
  1308.                     event.target = this;
  1309.                 }
  1310.                 dispatchQueue(this, event);
  1311.             }
  1312.         }
  1313.         function hasEventListener(event) {
  1314.             return((_listeners[event] != null) && (_listeners[event].length > 0));
  1315.         }
  1316.         function removeAllEventListeners(event) {
  1317.             if (event == undefined) {
  1318.                 delete _listeners;
  1319.                 return(undefined);
  1320.             }
  1321.             delete _listeners[event];
  1322.         }
  1323.         function dispatchQueue(dispatch, event) {
  1324.             var _local1 = dispatch._listeners[event.type];
  1325.             if (_local1 != undefined) {
  1326.                 $dispatchEvent(dispatch, _local1, event);
  1327.             }
  1328.             _local1 = dispatch._listeners.all;
  1329.             if (_local1 != undefined) {
  1330.                 $dispatchEvent(dispatch, _local1, event);
  1331.             }
  1332.         }
  1333.         static function $dispatchEvent(dispatch, listeners, event) {
  1334.             var _local7 = listeners.length;
  1335.             var _local4 = 0;
  1336.             for(;;){
  1337.                 if (_local4 >= _local7) {
  1338.                     return(undefined);
  1339.                 }
  1340.                 var _local1 = listeners[_local4].listenerObject;
  1341.                 var _local5 = typeof(_local1);
  1342.                 var _local2 = listeners[_local4].listenerFunction;
  1343.                 if (_local2 == undefined) {
  1344.                     _local2 = event.type;
  1345.                 }
  1346.                 if (_local5 == "function") {
  1347.                     if (_local1[_local2] == null) {
  1348.                         _local1.apply(dispatch, [event]);
  1349.                     } else {
  1350.                         _local1[_local2](event);
  1351.                     }
  1352.                 } else if ((_local1.handleEvent != undefined) && (_local2 == undefined)) {
  1353.                     _local1.handleEvent(event);
  1354.                 } else {
  1355.                     _local1[_local2](event);
  1356.                 }
  1357.                 _local4++;
  1358.             };
  1359.         }
  1360.         function cleanUp() {
  1361.             cleanUpEvents();
  1362.         }
  1363.         function cleanUpEvents() {
  1364.             removeAllEventListeners();
  1365.         }
  1366.     }
  1367. 
  1368. //----------------------------------------------------------------------
  1369. //Symbol 25 MovieClip [ListMenu] Frame 1
  1370. //----------------------------------------------------------------------
  1371.     #initclip 45
  1372.     Object.registerClass("ListMenu", ListMenu);
  1373.     #endinitclip
  1374.  
  1375. 
  1376. //----------------------------------------------------------------------
  1377. //Symbol 30 MovieClip [__Packages.skyui.util.GlobalFunctions] Frame 0
  1378. //----------------------------------------------------------------------
  1379.     class skyui.util.GlobalFunctions
  1380.     {
  1381.         function GlobalFunctions () {
  1382.         }
  1383.         static function extract(a_str, a_startChar, a_endChar) {
  1384.             return(a_str.slice(a_str.indexOf(a_startChar) + 1, a_str.lastIndexOf(a_endChar)));
  1385.         }
  1386.         static function clean(a_str) {
  1387.             if (a_str.indexOf(";") > 0) {
  1388.                 a_str = a_str.slice(0, a_str.indexOf(";"));
  1389.             }
  1390.             var _local3 = 0;
  1391.             while ((a_str.charAt(_local3) == " ") || (a_str.charAt(_local3) == "\t")) {
  1392.                 _local3++;
  1393.             }
  1394.             var _local2 = a_str.length - 1;
  1395.             while ((a_str.charAt(_local2) == " ") || (a_str.charAt(_local2) == "\t")) {
  1396.                 _local2--;
  1397.             }
  1398.             return(a_str.slice(_local3, _local2 + 1));
  1399.         }
  1400.         static function unescape(a_str) {
  1401.             a_str = a_str.split("\\n").join(newline);
  1402.             a_str = a_str.split("\\t").join("\t");
  1403.             return(a_str);
  1404.         }
  1405.         static function addArrayFunctions() {
  1406.             if (_arrayExtended) {
  1407.                 return(undefined);
  1408.             }
  1409.             _arrayExtended = true;
  1410.             Array.prototype.indexOf = function (a_element) {
  1411.                 var _local2 = 0;
  1412.                 while (_local2 < this.length) {
  1413.                     if (this[_local2] == a_element) {
  1414.                         return(_local2);
  1415.                     }
  1416.                     _local2++;
  1417.                 }
  1418.                 return(undefined);
  1419.             };
  1420.             Array.prototype.equals = function (a) {
  1421.                 if (a == undefined) {
  1422.                     return(false);
  1423.                 }
  1424.                 if (this.length != a.length) {
  1425.                     return(false);
  1426.                 }
  1427.                 var _local2 = 0;
  1428.                 while (_local2 < a.length) {
  1429.                     if (!(a[_local2] === this[_local2])) {
  1430.                         return(false);
  1431.                     }
  1432.                     _local2++;
  1433.                 }
  1434.                 return(true);
  1435.             };
  1436.             Array.prototype.contains = function (a_element) {
  1437.                 var _local2 = 0;
  1438.                 while (_local2 < this.length) {
  1439.                     if (this[_local2] == a_element) {
  1440.                         return(true);
  1441.                     }
  1442.                     _local2++;
  1443.                 }
  1444.                 return(false);
  1445.             };
  1446.             _global.ASSetPropFlags(Array.prototype, ["indexOf", "equals", "contains"], 1, 0);
  1447.         }
  1448.         static function mapUnicodeChar(a_charCode) {
  1449.             if (a_charCode == 8470) {
  1450.                 return(185);
  1451.             }
  1452.             if ((1025 <= a_charCode) && (a_charCode <= 1169)) {
  1453.                 switch (a_charCode) {
  1454.                     case 1025 :
  1455.                         return(168);
  1456.                     case 1028 :
  1457.                         return(170);
  1458.                     case 1029 :
  1459.                         return(189);
  1460.                     case 1030 :
  1461.                         return(178);
  1462.                     case 1031 :
  1463.                         return(175);
  1464.                     case 1032 :
  1465.                         return(163);
  1466.                     case 1038 :
  1467.                         return(161);
  1468.                     case 1105 :
  1469.                         return(184);
  1470.                     case 1108 :
  1471.                         return(186);
  1472.                     case 1109 :
  1473.                         return(190);
  1474.                     case 1110 :
  1475.                         return(179);
  1476.                     case 1111 :
  1477.                         return(191);
  1478.                     case 1112 :
  1479.                         return(188);
  1480.                     case 1118 :
  1481.                         return(162);
  1482.                     case 1168 :
  1483.                         return(165);
  1484.                     case 1169 :
  1485.                         return(164);
  1486.                 }
  1487.                 if ((1039 <= a_charCode) && (a_charCode <= 1103)) {
  1488.                     return(a_charCode - 848);
  1489.                 }
  1490.             }
  1491.             return(a_charCode);
  1492.         }
  1493.         static function formatString(a_str) {
  1494.             if (arguments.length < 2) {
  1495.                 return(a_str);
  1496.             }
  1497.             var _local12 = "";
  1498.             var _local8 = 0;
  1499.             var _local6 = 1;
  1500.             while (_local6 < arguments.length) {
  1501.                 var _local7 = a_str.indexOf("{", _local8);
  1502.                 if (_local7 == -1) {
  1503.                     return(a_str);
  1504.                 }
  1505.                 var _local5 = a_str.indexOf("}", _local8);
  1506.                 if (_local5 == -1) {
  1507.                     return(a_str);
  1508.                 }
  1509.                 _local12 = _local12 + a_str.slice(_local8, _local7);
  1510.                 var _local4 = Number(a_str.slice(_local7 + 1, _local5));
  1511.                 var _local10 = Math.pow(10, _local4);
  1512.                 var _local2 = (Math.round(arguments[_local6] * _local10) / _local10).toString();
  1513.                 if (_local4 > 0) {
  1514.                     if (_local2.indexOf(".") == -1) {
  1515.                         _local2 = _local2 + ".";
  1516.                     }
  1517.                     var _local11 = _local2.split(".");
  1518.                     var _local9 = _local11[1].length;
  1519.                     while ((_local9++) < _local4) {
  1520.                         _local2 = _local2 + "0";
  1521.                     }
  1522.                 }
  1523.                 _local12 = _local12 + _local2;
  1524.                 _local8 = _local5 + 1;
  1525.                 _local6++;
  1526.             }
  1527.             _local12 = _local12 + a_str.slice(_local8);
  1528.             return(_local12);
  1529.         }
  1530.         static function formatNumber(a_number, a_decimal) {
  1531.             var _local2 = a_number.toString().toLowerCase();
  1532.             var _local6 = _local2.split("e", 2);
  1533.             var _local7 = Math.pow(10, a_decimal);
  1534.             _local2 = String(Math.round(parseFloat(_local6[0]) * _local7) / _local7);
  1535.             if (a_decimal > 0) {
  1536.                 var _local5 = _local2.indexOf(".");
  1537.                 if (_local5 == -1) {
  1538.                     _local5 = _local2.length;
  1539.                     _local2 = _local2 + ".";
  1540.                 }
  1541.                 var _local4 = _local2.length - (_local5 + 1);
  1542.                 var _local1 = 0;
  1543.                 while ((_local4 + _local1) < a_decimal) {
  1544.                     _local2 = _local2 + "0";
  1545.                     _local1++;
  1546.                 }
  1547.             }
  1548.             if (_local6[1] != undefined) {
  1549.                 _local2 = _local2 + ("E" + _local6[1]);
  1550.             }
  1551.             return(_local2);
  1552.         }
  1553.         static function getMappedKey(a_control, a_context, a_bGamepad) {
  1554.             if (_global.skse == undefined) {
  1555.                 return(-1);
  1556.             }
  1557.             if (a_bGamepad == true) {
  1558.                 return(skse.GetMappedKey(a_control, skyui.defines.Input.DEVICE_GAMEPAD, a_context));
  1559.             }
  1560.             var _local2 = skse.GetMappedKey(a_control, skyui.defines.Input.DEVICE_KEYBOARD, a_context);
  1561.             if (_local2 == -1) {
  1562.                 _local2 = skse.GetMappedKey(a_control, skyui.defines.Input.DEVICE_MOUSE, a_context);
  1563.             }
  1564.             return(_local2);
  1565.         }
  1566.         static function hookFunction(a_scope, a_memberFn, a_hookScope, a_hookFn) {
  1567.             var memberFn = a_scope[a_memberFn];
  1568.             if ((memberFn == null) || (a_scope[a_memberFn] == null)) {
  1569.                 return(false);
  1570.             }
  1571.             a_scope[a_memberFn] = function () {
  1572.                 memberFn.apply(a_scope, arguments);
  1573.                 a_hookScope[a_hookFn].apply(a_hookScope, arguments);
  1574.             };
  1575.             return(true);
  1576.         }
  1577.         static var _arrayExtended = false;
  1578.     }
  1579. 
  1580. //----------------------------------------------------------------------
  1581. //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 30
  1582. //----------------------------------------------------------------------
  1583.     stop();
  1584. 
  1585. //----------------------------------------------------------------------
  1586. //Symbol 44 MovieClip [__Packages.skyui.components.list.IEntryEnumeration] Frame 0
  1587. //----------------------------------------------------------------------
  1588.     interface skyui.components.list.IEntryEnumeration
  1589.     {
  1590.     }
  1591. 
  1592. //----------------------------------------------------------------------
  1593. //Symbol 45 MovieClip [__Packages.skyui.components.list.ListState] Frame 0
  1594. //----------------------------------------------------------------------
  1595.     class skyui.components.list.ListState
  1596.     {
  1597.         var list;
  1598.         function ListState (a_list) {
  1599.             list = a_list;
  1600.         }
  1601.     }
  1602. 
  1603. //----------------------------------------------------------------------
  1604. //Symbol 9 MovieClip [ItemListEntry] Frame 1
  1605. //----------------------------------------------------------------------
  1606.     #initclip 46
  1607.     Object.registerClass("ItemListEntry", ItemListEntry);
  1608.     #endinitclip
  1609.  
  1610. 
  1611. //----------------------------------------------------------------------
  1612. //Symbol 12 MovieClip [ScrollBar_thumb] Frame 40
  1613. //----------------------------------------------------------------------
  1614.     stop();
  1615. 
  1616. //----------------------------------------------------------------------
  1617. //Symbol 50 MovieClip [__Packages.skyui.filter.IFilter] Frame 0
  1618. //----------------------------------------------------------------------
  1619.     interface skyui.filter.IFilter
  1620.     {
  1621.     }
  1622. 
  1623. //----------------------------------------------------------------------
  1624. //Symbol 21 MovieClip [ItemList] Frame 1
  1625. //----------------------------------------------------------------------
  1626.     #initclip 43
  1627.     Object.registerClass("ItemList", ItemList);
  1628.     #endinitclip
  1629.  
  1630. 
  1631. //----------------------------------------------------------------------
  1632. //Symbol 18 MovieClip [ScrollBar_track] Frame 1
  1633. //----------------------------------------------------------------------
  1634.     #initclip 41
  1635.     Object.registerClass("ScrollBar_track", gfx.controls.Button);
  1636.     #endinitclip
  1637.  
  1638. 
  1639. //----------------------------------------------------------------------
  1640. //Symbol 60 MovieClip [__Packages.com.greensock.easing.Linear] Frame 0
  1641. //----------------------------------------------------------------------
  1642.     class com.greensock.easing.Linear
  1643.     {
  1644.         function Linear () {
  1645.         }
  1646.         static function easeNone(t, b, c, d) {
  1647.             return(((c * t) / d) + b);
  1648.         }
  1649.         static function easeIn(t, b, c, d) {
  1650.             return(((c * t) / d) + b);
  1651.         }
  1652.         static function easeOut(t, b, c, d) {
  1653.             return(((c * t) / d) + b);
  1654.         }
  1655.         static function easeInOut(t, b, c, d) {
  1656.             return(((c * t) / d) + b);
  1657.         }
  1658.     }
  1659. 
  1660. //----------------------------------------------------------------------
  1661. //Symbol 42 MovieClip [__Packages.skyui.components.list.BasicList] Frame 0
  1662. //----------------------------------------------------------------------
  1663.     class skyui.components.list.BasicList extends skyui.components.list.BSList
  1664.     {
  1665.         var _entryClipManager, _dataProcessors, listState, background, _selectedIndex, __get__selectedEntry, onUnsuspend, _entryList, _updateRequestID, _invalidateRequestID, listEnumeration, onInvalidate, dispatchEvent;
  1666.         function BasicList () {
  1667.             super();
  1668.             _entryClipManager = new skyui.components.list.EntryClipManager(this);
  1669.             _dataProcessors = [];
  1670.             listState = new skyui.components.list.ListState(this);
  1671.             gfx.events.EventDispatcher.initialize(this);
  1672.             Mouse.addListener(this);
  1673.         }
  1674.         function get width() {
  1675.             return(background._width);
  1676.         }
  1677.         function set width(a_val) {
  1678.             background._width = a_val;
  1679.             //return(width);
  1680.         }
  1681.         function get height() {
  1682.             return(background._height);
  1683.         }
  1684.         function set height(a_val) {
  1685.             background._height = a_val;
  1686.             //return(height);
  1687.         }
  1688.         function get platform() {
  1689.             return(_platform);
  1690.         }
  1691.         function get selectedIndex() {
  1692.             return(_selectedIndex);
  1693.         }
  1694.         function set selectedIndex(a_newIndex) {
  1695.             doSetSelectedIndex(a_newIndex, SELECT_MOUSE);
  1696.             //return(selectedIndex);
  1697.         }
  1698.         function get itemCount() {
  1699.             return(getListEnumSize());
  1700.         }
  1701.         function get selectedClip() {
  1702.             return(_entryClipManager.getClip(__get__selectedEntry().clipIndex));
  1703.         }
  1704.         function get suspended() {
  1705.             return(_bSuspended);
  1706.         }
  1707.         function set suspended(a_flag) {
  1708.             if (_bSuspended == a_flag) {
  1709.                 return;
  1710.             }
  1711.             if (a_flag) {
  1712.                 _bSuspended = true;
  1713.             } else {
  1714.                 _bSuspended = false;
  1715.                 if (_bRequestInvalidate) {
  1716.                     InvalidateData();
  1717.                 } else if (_bRequestUpdate) {
  1718.                     UpdateList();
  1719.                 }
  1720.                 _bRequestInvalidate = false;
  1721.                 _bRequestUpdate = false;
  1722.                 if (onUnsuspend != undefined) {
  1723.                     onUnsuspend();
  1724.                 }
  1725.             }
  1726.             //return(suspended);
  1727.         }
  1728.         function setPlatform(a_platform, a_bPS3Switch) {
  1729.             _platform = a_platform;
  1730.             isMouseDrivenNav = _platform == PLATFORM_PC;
  1731.         }
  1732.         function addDataProcessor(a_dataProcessor) {
  1733.             _dataProcessors.push(a_dataProcessor);
  1734.         }
  1735.         function clearList() {
  1736.             _entryList.splice(0);
  1737.         }
  1738.         function requestInvalidate() {
  1739.             _bRequestInvalidate = true;
  1740.             if (_updateRequestID) {
  1741.                 _bRequestUpdate = false;
  1742.                 clearInterval(_updateRequestID);
  1743.                 delete _updateRequestID;
  1744.             }
  1745.             if ((!_bSuspended) && (!_invalidateRequestID)) {
  1746.                 _invalidateRequestID = setInterval(this, "commitInvalidate", 1);
  1747.             }
  1748.         }
  1749.         function requestUpdate() {
  1750.             _bRequestUpdate = true;
  1751.             if (_invalidateRequestID) {
  1752.                 return(undefined);
  1753.             }
  1754.             if ((!_bSuspended) && (!_invalidateRequestID)) {
  1755.                 _updateRequestID = setInterval(this, "commitUpdate", 1);
  1756.             }
  1757.         }
  1758.         function commitInvalidate() {
  1759.             clearInterval(_invalidateRequestID);
  1760.             delete _invalidateRequestID;
  1761.             if (_updateRequestID) {
  1762.                 _bRequestUpdate = false;
  1763.                 clearInterval(_updateRequestID);
  1764.                 delete _updateRequestID;
  1765.             }
  1766.             _bRequestInvalidate = false;
  1767.             InvalidateData();
  1768.         }
  1769.         function commitUpdate() {
  1770.             clearInterval(_updateRequestID);
  1771.             delete _updateRequestID;
  1772.             _bRequestUpdate = false;
  1773.             UpdateList();
  1774.         }
  1775.         function InvalidateData() {
  1776.             if (_bSuspended) {
  1777.                 _bRequestInvalidate = true;
  1778.                 return(undefined);
  1779.             }
  1780.             var _local2 = 0;
  1781.             while (_local2 < _entryList.length) {
  1782.                 _entryList[_local2].itemIndex = _local2;
  1783.                 _entryList[_local2].clipIndex = undefined;
  1784.                 _local2++;
  1785.             }
  1786.             _local2 = 0;
  1787.             while (_local2 < _dataProcessors.length) {
  1788.                 _dataProcessors[_local2].processList(this);
  1789.                 _local2++;
  1790.             }
  1791.             listEnumeration.invalidate();
  1792.             if (_selectedIndex >= listEnumeration.size()) {
  1793.                 _selectedIndex = listEnumeration.size() - 1;
  1794.             }
  1795.             UpdateList();
  1796.             if (onInvalidate) {
  1797.                 onInvalidate();
  1798.             }
  1799.         }
  1800.         function UpdateList() {
  1801.         }
  1802.         function onItemPress(a_index, a_keyboardOrMouse) {
  1803.             if ((disableInput || (disableSelection)) || (_selectedIndex == -1)) {
  1804.                 return(undefined);
  1805.             }
  1806.             if (a_keyboardOrMouse == undefined) {
  1807.                 a_keyboardOrMouse = SELECT_KEYBOARD;
  1808.             }
  1809.             dispatchEvent({type:"itemPress", index:_selectedIndex, entry:__get__selectedEntry(), clip:selectedClip, keyboardOrMouse:a_keyboardOrMouse});
  1810.         }
  1811.         function onItemPressAux(a_index, a_keyboardOrMouse, a_buttonIndex) {
  1812.             if (((disableInput || (disableSelection)) || (_selectedIndex == -1)) || (a_buttonIndex != 1)) {
  1813.                 return(undefined);
  1814.             }
  1815.             if (a_keyboardOrMouse == undefined) {
  1816.                 a_keyboardOrMouse = SELECT_KEYBOARD;
  1817.             }
  1818.             dispatchEvent({type:"itemPressAux", index:_selectedIndex, entry:__get__selectedEntry(), clip:selectedClip, keyboardOrMouse:a_keyboardOrMouse});
  1819.         }
  1820.         function onItemRollOver(a_index) {
  1821.             if ((isListAnimating || (disableSelection)) || (disableInput)) {
  1822.                 return(undefined);
  1823.             }
  1824.             doSetSelectedIndex(a_index, SELECT_MOUSE);
  1825.             isMouseDrivenNav = true;
  1826.         }
  1827.         function onItemRollOut(a_index) {
  1828.             if (!isAutoUnselect) {
  1829.                 return(undefined);
  1830.             }
  1831.             if ((isListAnimating || (disableSelection)) || (disableInput)) {
  1832.                 return(undefined);
  1833.             }
  1834.             doSetSelectedIndex(-1, SELECT_MOUSE);
  1835.             isMouseDrivenNav = true;
  1836.         }
  1837.         function doSetSelectedIndex(a_newIndex, a_keyboardOrMouse) {
  1838.             if (disableSelection || (a_newIndex == _selectedIndex)) {
  1839.                 return(undefined);
  1840.             }
  1841.             if ((a_newIndex != -1) && (getListEnumIndex(a_newIndex) == undefined)) {
  1842.                 return(undefined);
  1843.             }
  1844.             var _local2 = _selectedIndex;
  1845.             _selectedIndex = a_newIndex;
  1846.             if (_local2 != -1) {
  1847.                 var _local4 = _entryClipManager.getClip(_entryList[_local2].clipIndex);
  1848.                 _local4.setEntry(_entryList[_local2], listState);
  1849.             }
  1850.             if (_selectedIndex != -1) {
  1851.                 var _local4 = _entryClipManager.getClip(_entryList[_selectedIndex].clipIndex);
  1852.                 _local4.setEntry(_entryList[_selectedIndex], listState);
  1853.             }
  1854.             dispatchEvent({type:"selectionChange", index:_selectedIndex, keyboardOrMouse:a_keyboardOrMouse});
  1855.         }
  1856.         function getClipByIndex(a_index) {
  1857.             return(_entryClipManager.getClip(a_index));
  1858.         }
  1859.         function setClipCount(a_count) {
  1860.             _entryClipManager.__set__clipCount(a_count);
  1861.         }
  1862.         function getSelectedListEnumIndex() {
  1863.             return(listEnumeration.lookupEnumIndex(_selectedIndex));
  1864.         }
  1865.         function getListEnumIndex(a_index) {
  1866.             return(listEnumeration.lookupEnumIndex(a_index));
  1867.         }
  1868.         function getListEntryIndex(a_index) {
  1869.             return(listEnumeration.lookupEntryIndex(a_index));
  1870.         }
  1871.         function getListEnumSize() {
  1872.             return(listEnumeration.size());
  1873.         }
  1874.         function getListEnumEntry(a_index) {
  1875.             return(listEnumeration.at(a_index));
  1876.         }
  1877.         function getListEnumFirstIndex() {
  1878.             return(listEnumeration.lookupEntryIndex(0));
  1879.         }
  1880.         function getListEnumLastIndex() {
  1881.             return(listEnumeration.lookupEntryIndex(getListEnumSize() - 1));
  1882.         }
  1883.         function getListEnumRelativeIndex(a_offset) {
  1884.             return(listEnumeration.lookupEntryIndex(getSelectedListEnumIndex() + a_offset));
  1885.         }
  1886.         static var PLATFORM_PC = 0;
  1887.         static var SELECT_MOUSE = 0;
  1888.         static var SELECT_KEYBOARD = 1;
  1889.         var _bRequestInvalidate = false;
  1890.         var _bRequestUpdate = false;
  1891.         var topBorder = 0;
  1892.         var bottomBorder = 0;
  1893.         var leftBorder = 0;
  1894.         var rightBorder = 0;
  1895.         var _platform = PLATFORM_PC;
  1896.         var isMouseDrivenNav = false;
  1897.         var isListAnimating = false;
  1898.         var disableInput = false;
  1899.         var disableSelection = false;
  1900.         var isAutoUnselect = false;
  1901.         var _bSuspended = false;
  1902.     }
  1903. 
  1904. //----------------------------------------------------------------------
  1905. //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 20
  1906. //----------------------------------------------------------------------
  1907.     stop();
  1908. 
  1909. //----------------------------------------------------------------------
  1910. //Symbol 39 MovieClip [__Packages.gfx.controls.ScrollIndicator] Frame 0
  1911. //----------------------------------------------------------------------
  1912.     class gfx.controls.ScrollIndicator extends gfx.core.UIComponent
  1913.     {
  1914.         var tabChildren, focusEnabled, tabEnabled, _disabled, _scrollTarget, initialized, thumb, pageSize, dispatchEventAndSound, invalidate, focusTarget, __height, __width, _name, track, onRelease, useHandCursor, initSize, _rotation, inspectableScrollTarget, _parent, lastVScrollPos, scrollerIntervalID;
  1915.         function ScrollIndicator () {
  1916.             super();
  1917.             tabChildren = false;
  1918.             focusEnabled = (tabEnabled = !_disabled);
  1919.         }
  1920.         function get disabled() {
  1921.             return(_disabled);
  1922.         }
  1923.         function set disabled(value) {
  1924.             if (_disabled != value) {
  1925.                 super.__set__disabled(value);
  1926.                 focusEnabled = (tabEnabled = !_disabled);
  1927.                 if (_scrollTarget) {
  1928.                     tabEnabled = false;
  1929.                 }
  1930.                 if (initialized) {
  1931.                     thumb.disabled = _disabled;
  1932.                 }
  1933.                 return;
  1934.             }
  1935.             //return(disabled);
  1936.         }
  1937.         function setScrollProperties(pageSize, minPosition, maxPosition, pageScrollSize) {
  1938.             this.pageSize = pageSize;
  1939.             if (pageScrollSize != undefined) {
  1940.                 this.pageScrollSize = pageScrollSize;
  1941.             }
  1942.             this.minPosition = minPosition;
  1943.             this.maxPosition = maxPosition;
  1944.             updateThumb();
  1945.         }
  1946.         function get position() {
  1947.             return(_position);
  1948.         }
  1949.         function set position(value) {
  1950.             if (value != _position) {
  1951.                 _position = Math.max(minPosition, Math.min(maxPosition, value));
  1952.                 dispatchEventAndSound({type:"scroll", position:_position});
  1953.                 invalidate();
  1954.                 return;
  1955.             }
  1956.             //return(position);
  1957.         }
  1958.         function update() {
  1959.         }
  1960.         function get scrollTarget() {
  1961.             return(_scrollTarget);
  1962.         }
  1963.         function set scrollTarget(value) {
  1964.             var _local2 = _scrollTarget;
  1965.             _scrollTarget = value;
  1966.             if (_local2 && (value._parent != _local2)) {
  1967.                 _local2.removeListener(this);
  1968.                 if (_local2.scrollBar != null) {
  1969.                     _local2.scrollBar = null;
  1970.                 }
  1971.                 focusTarget = null;
  1972.                 _local2.noAutoSelection = false;
  1973.             }
  1974.             if ((value instanceof gfx.core.UIComponent) && (!(value.scrollBar === null))) {
  1975.                 value.scrollBar = this;
  1976.                 return;
  1977.             }
  1978.             if (_scrollTarget == null) {
  1979.                 tabEnabled = true;
  1980.                 return;
  1981.             }
  1982.             _scrollTarget.addListener(this);
  1983.             _scrollTarget.noAutoSelection = true;
  1984.             focusTarget = _scrollTarget;
  1985.             tabEnabled = false;
  1986.             onScroller();
  1987.             //return(scrollTarget);
  1988.         }
  1989.         function get availableHeight() {
  1990.             return(((((direction == "horizontal") ? (__width) : (__height)) - thumb.height) + offsetBottom) + offsetTop);
  1991.         }
  1992.         function toString() {
  1993.             return(("[Scaleform ScrollIndicator " + _name) + "]");
  1994.         }
  1995.         function configUI() {
  1996.             super.configUI();
  1997.             if (track == null) {
  1998.                 track = new gfx.controls.Button();
  1999.             }
  2000.             thumb.focusTarget = this;
  2001.             track.focusTarget = this;
  2002.             thumb.disabled = _disabled;
  2003.             onRelease = function () {
  2004.             };
  2005.             useHandCursor = false;
  2006.             initSize();
  2007.             direction = ((_rotation == 0) ? "vertical" : "horizontal");
  2008.             if (inspectableScrollTarget != null) {
  2009.                 var _local3 = _parent[inspectableScrollTarget];
  2010.                 if (_local3 != null) {
  2011.                     scrollTarget = (_local3);
  2012.                 }
  2013.                 inspectableScrollTarget = null;
  2014.             }
  2015.         }
  2016.         function draw() {
  2017.             track._height = ((direction == "horizontal") ? (__width) : (__height));
  2018.             if (_scrollTarget instanceof TextField) {
  2019.                 setScrollProperties(_scrollTarget.bottomScroll - _scrollTarget.scroll, 1, _scrollTarget.maxscroll);
  2020.                 return(undefined);
  2021.             }
  2022.             updateThumb();
  2023.         }
  2024.         function updateThumb() {
  2025.             if (!thumb.initialized) {
  2026.                 invalidate();
  2027.                 return(undefined);
  2028.             }
  2029.             if (_disabled) {
  2030.                 return(undefined);
  2031.             }
  2032.             var _local6 = Math.max(1, (maxPosition - minPosition) + pageSize);
  2033.             var _local2 = (((direction == "horizontal") ? (__width) : (__height)) + offsetTop) + offsetBottom;
  2034.             thumb.height = Math.max(10, (pageSize / _local6) * _local2);
  2035.             var _local4 = (position - minPosition) / (maxPosition - minPosition);
  2036.             var _local3 = -offsetTop;
  2037.             var _local5 = (_local4 * availableHeight) + _local3;
  2038.             thumb._y = Math.max(_local3, Math.min(_local2 - offsetTop, _local5));
  2039.             thumb.visible = !(isNaN(_local4) || (maxPosition == 0));
  2040.         }
  2041.         function onScroller() {
  2042.             if (isDragging) {
  2043.                 return(undefined);
  2044.             }
  2045.             if (lastVScrollPos == _scrollTarget.scroll) {
  2046.                 delete lastVScrollPos;
  2047.                 return(undefined);
  2048.             }
  2049.             setScrollProperties(_scrollTarget.bottomScroll - _scrollTarget.scroll, 1, _scrollTarget.maxscroll);
  2050.             position = (_scrollTarget.scroll);
  2051.             lastVScrollPos = _scrollTarget.scroll;
  2052.             if (scrollerIntervalID == undefined) {
  2053.                 scrollerIntervalID = setInterval(this, "scrollerDelayUpdate", 10);
  2054.             }
  2055.         }
  2056.         function scrollerDelayUpdate() {
  2057.             onScroller();
  2058.             clearInterval(scrollerIntervalID);
  2059.             delete scrollerIntervalID;
  2060.         }
  2061.         var direction = "vertical";
  2062.         var soundMap = {theme:"default", scroll:"scroll"};
  2063.         var pageScrollSize = 1;
  2064.         var minPosition = 0;
  2065.         var maxPosition = 10;
  2066.         var _position = 5;
  2067.         var offsetTop = 0;
  2068.         var offsetBottom = 0;
  2069.         var isDragging = false;
  2070.     }
  2071. 
  2072. //----------------------------------------------------------------------
  2073. //Symbol 53 MovieClip [__Packages.skyui.components.list.FilteredEnumeration] Frame 0
  2074. //----------------------------------------------------------------------
  2075.     class skyui.components.list.FilteredEnumeration extends skyui.components.list.BasicEnumeration
  2076.     {
  2077.         var _filterChain, _filteredData, _entryData;
  2078.         function FilteredEnumeration (a_data) {
  2079.             super(a_data);
  2080.             _filterChain = [];
  2081.             _filteredData = [];
  2082.         }
  2083.         function addFilter(a_filter) {
  2084.             _filterChain.push(a_filter);
  2085.         }
  2086.         function size() {
  2087.             return(_filteredData.length);
  2088.         }
  2089.         function at(a_index) {
  2090.             return(_filteredData[a_index]);
  2091.         }
  2092.         function lookupEntryIndex(a_enumIndex) {
  2093.             return(_filteredData[a_enumIndex].itemIndex);
  2094.         }
  2095.         function lookupEnumIndex(a_entryIndex) {
  2096.             return(_entryData[a_entryIndex].filteredIndex);
  2097.         }
  2098.         function invalidate() {
  2099.             applyFilters();
  2100.         }
  2101.         function applyFilters() {
  2102.             _filteredData.splice(0);
  2103.             var _local2 = 0;
  2104.             while (_local2 < _entryData.length) {
  2105.                 _entryData[_local2].filteredIndex = undefined;
  2106.                 _filteredData[_local2] = _entryData[_local2];
  2107.                 _local2++;
  2108.             }
  2109.             _local2 = 0;
  2110.             while (_local2 < _filterChain.length) {
  2111.                 _filterChain[_local2].applyFilter(_filteredData);
  2112.                 _local2++;
  2113.             }
  2114.             _local2 = 0;
  2115.             while (_local2 < _filteredData.length) {
  2116.                 _filteredData[_local2].filteredIndex = _local2;
  2117.                 _local2++;
  2118.             }
  2119.         }
  2120.     }
  2121. 
  2122. //----------------------------------------------------------------------
  2123. //Symbol 61 MovieClip [__Packages.skyui.components.list.BasicListEntry] Frame 0
  2124. //----------------------------------------------------------------------
  2125.     class skyui.components.list.BasicListEntry extends MovieClip
  2126.     {
  2127.         var onRollOver, onRollOut, onPress, onPressAux;
  2128.         function BasicListEntry () {
  2129.             super();
  2130.             onRollOver = function () {
  2131.                 var _local2 = this._parent;
  2132.                 if ((this.itemIndex != undefined) && (this.enabled)) {
  2133.                     _local2.onItemRollOver(this.itemIndex);
  2134.                 }
  2135.             };
  2136.             onRollOut = function () {
  2137.                 var _local2 = this._parent;
  2138.                 if ((this.itemIndex != undefined) && (this.enabled)) {
  2139.                     _local2.onItemRollOut(this.itemIndex);
  2140.                 }
  2141.             };
  2142.             onPress = function (a_mouseIndex, a_keyboardOrMouse) {
  2143.                 var _local2 = this._parent;
  2144.                 if ((this.itemIndex != undefined) && (this.enabled)) {
  2145.                     _local2.onItemPress(this.itemIndex, a_keyboardOrMouse);
  2146.                 }
  2147.             };
  2148.             onPressAux = function (a_mouseIndex, a_keyboardOrMouse, a_buttonIndex) {
  2149.                 var _local2 = this._parent;
  2150.                 if ((this.itemIndex != undefined) && (this.enabled)) {
  2151.                     _local2.onItemPressAux(this.itemIndex, a_keyboardOrMouse, a_buttonIndex);
  2152.                 }
  2153.             };
  2154.         }
  2155.         function initialize(a_index, a_state) {
  2156.         }
  2157.         function setEntry(a_entryObject, a_state) {
  2158.         }
  2159.     }
  2160. 
  2161. //----------------------------------------------------------------------
  2162. //Symbol 37 MovieClip [__Packages.gfx.utils.Constraints] Frame 0
  2163. //----------------------------------------------------------------------
  2164.     class gfx.utils.Constraints
  2165.     {
  2166.         var scope, elements;
  2167.         function Constraints (scope, scaled) {
  2168.             this.scope = scope;
  2169.             this.scaled = scaled;
  2170.             elements = [];
  2171.         }
  2172.         function addElement(clip, edges) {
  2173.             if (clip != null) {
  2174.                 var _local7 = 100 / scope._xscale;
  2175.                 var _local8 = 100 / scope._yscale;
  2176.                 var _local4 = scope._width;
  2177.                 var _local5 = scope._height;
  2178.                 if (scope == _root) {
  2179.                     _local4 = Stage.width;
  2180.                     _local5 = Stage.height;
  2181.                 }
  2182.                 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}};
  2183.                 var _local16 = _local6.metrics;
  2184.                 elements.push(_local6);
  2185.             }
  2186.         }
  2187.         function removeElement(clip) {
  2188.             var _local2 = 0;
  2189.             for(;;){
  2190.                 if (_local2 >= elements.length) {
  2191.                     return(undefined);
  2192.                 }
  2193.                 if (elements[_local2].clip == clip) {
  2194.                     elements.splice(_local2, 1);
  2195.                     return(undefined);
  2196.                 }
  2197.                 _local2++;
  2198.             };
  2199.         }
  2200.         function getElement(clip) {
  2201.             var _local2 = 0;
  2202.             while (_local2 < elements.length) {
  2203.                 if (elements[_local2].clip == clip) {
  2204.                     return(elements[_local2]);
  2205.                 }
  2206.                 _local2++;
  2207.             }
  2208.             return(null);
  2209.         }
  2210.         function update(width, height) {
  2211.             var _local9 = 100 / scope._xscale;
  2212.             var _local8 = 100 / scope._yscale;
  2213.             if (!scaled) {
  2214.                 scope._xscale = 100;
  2215.                 scope._yscale = 100;
  2216.             }
  2217.             var _local14 = 0;
  2218.             for(;;){
  2219.                 if (_local14 >= elements.length) {
  2220.                     return(undefined);
  2221.                 }
  2222.                 var _local7 = elements[_local14];
  2223.                 var _local4 = _local7.edges;
  2224.                 var _local2 = _local7.clip;
  2225.                 var _local3 = _local7.metrics;
  2226.                 var _local12 = ((_local2.width == null) ? "_width" : "width");
  2227.                 var _local13 = ((_local2.height == null) ? "_height" : "height");
  2228.                 if (scaled) {
  2229.                     _local2._xscale = _local3.xscale * _local9;
  2230.                     _local2._yscale = _local3.yscale * _local8;
  2231.                     if ((_local4 & LEFT) > 0) {
  2232.                         _local2._x = _local3.left * _local9;
  2233.                         if ((_local4 & RIGHT) > 0) {
  2234.                             var _local5 = (width - _local3.left) - _local3.right;
  2235.                             if (!(_local2 instanceof TextField)) {
  2236.                                 _local5 = _local5 * _local9;
  2237.                             }
  2238.                             _local2[_local12] = _local5;
  2239.                         }
  2240.                     } else if ((_local4 & RIGHT) > 0) {
  2241.                         _local2._x = ((width - _local3.right) * _local9) - _local2._width;
  2242.                     }
  2243.                     if ((_local4 & TOP) > 0) {
  2244.                         _local2._y = _local3.top * _local8;
  2245.                         if ((_local4 & BOTTOM) > 0) {
  2246.                             var _local6 = (height - _local3.top) - _local3.bottom;
  2247.                             if (!(_local2 instanceof TextField)) {
  2248.                                 _local6 = _local6 * _local8;
  2249.                             }
  2250.                             _local2[_local13] = _local6;
  2251.                         }
  2252.                     } else if ((_local4 & BOTTOM) > 0) {
  2253.                         _local2._y = ((height - _local3.bottom) * _local8) - _local2._height;
  2254.                     }
  2255.                 } else {
  2256.                     if ((_local4 & RIGHT) > 0) {
  2257.                         if ((_local4 & LEFT) > 0) {
  2258.                             _local2[_local12] = (width - _local3.left) - _local3.right;
  2259.                         } else {
  2260.                             _local2._x = (width - _local2._width) - _local3.right;
  2261.                         }
  2262.                     }
  2263.                     if ((_local4 & BOTTOM) > 0) {
  2264.                         if ((_local4 & TOP) > 0) {
  2265.                             _local2[_local13] = (height - _local3.top) - _local3.bottom;
  2266.                         } else {
  2267.                             _local2._y = (height - _local2._height) - _local3.bottom;
  2268.                         }
  2269.                     }
  2270.                 }
  2271.                 _local14++;
  2272.             };
  2273.         }
  2274.         function toString() {
  2275.             return("[Scaleform Constraints]");
  2276.         }
  2277.         static var LEFT = 1;
  2278.         static var RIGHT = 2;
  2279.         static var TOP = 4;
  2280.         static var BOTTOM = 8;
  2281.         static var ALL = ((LEFT | RIGHT) | TOP) | BOTTOM;
  2282.         var scaled = false;
  2283.     }
  2284. 
  2285. //----------------------------------------------------------------------
  2286. //Symbol 33 MovieClip [__Packages.gfx.ui.InputDetails] Frame 0
  2287. //----------------------------------------------------------------------
  2288.     class gfx.ui.InputDetails
  2289.     {
  2290.         var type, code, value, navEquivalent, controllerIdx, control, skseKeycode;
  2291.         function InputDetails (a_type, a_code, a_value, a_navEquivalent, a_controllerIdx, a_control, a_skseKeycode) {
  2292.             type = a_type;
  2293.             code = a_code;
  2294.             value = a_value;
  2295.             navEquivalent = a_navEquivalent;
  2296.             controllerIdx = a_controllerIdx;
  2297.             control = a_control;
  2298.             skseKeycode = a_skseKeycode;
  2299.         }
  2300.         function toString() {
  2301.             return(["[InputDelegate", "code=" + code, "type=" + type, "value=" + value, "navEquivalent=" + navEquivalent, ((("controllerIdx=" + controllerIdx) + ", control=") + control) + "]"].toString());
  2302.         }
  2303.     }
  2304. 
  2305. //----------------------------------------------------------------------
  2306. //Symbol 46 MovieClip [__Packages.skyui.components.list.IListProcessor] Frame 0
  2307. //----------------------------------------------------------------------
  2308.     interface skyui.components.list.IListProcessor
  2309.     {
  2310.     }
  2311. 
  2312. //----------------------------------------------------------------------
  2313. //Symbol 18 MovieClip [ScrollBar_track] Frame 40
  2314. //----------------------------------------------------------------------
  2315.     stop();
  2316. 
  2317. //----------------------------------------------------------------------
  2318. //Symbol 24 MovieClip [ItemView] Frame 1
  2319. //----------------------------------------------------------------------
  2320.     #initclip 44
  2321.     Object.registerClass("ItemView", ItemView);
  2322.     #endinitclip
  2323.  
  2324. 
  2325. //----------------------------------------------------------------------
  2326. //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 40
  2327. //----------------------------------------------------------------------
  2328.     stop();
  2329. 
  2330. //----------------------------------------------------------------------
  2331. //Symbol 54 MovieClip [__Packages.ListMenu] Frame 0
  2332. //----------------------------------------------------------------------
  2333.     class ListMenu extends MovieClip
  2334.     {
  2335.         var itemList, itemView, _linearChildren, _childView, _visible, attachMovie, getNextHighestDepth;
  2336.         function ListMenu () {
  2337.             super();
  2338.             Shared.GlobalFunc.MaintainTextFormat();
  2339.             Shared.GlobalFunc.SetLockFunction();
  2340.             itemList = itemView.itemList;
  2341.             _linearChildren = new Array();
  2342.             _childView = new Array();
  2343.             _childView.push(itemView);
  2344.             _viewPosX = itemView._x;
  2345.             _viewPosY = itemView._y;
  2346.             _visible = false;
  2347.             Mouse.addListener(this);
  2348.             gfx.events.EventDispatcher.initialize(this);
  2349.         }
  2350.         function onLoad() {
  2351.             super.onLoad();
  2352.             itemView.setMinViewport(_viewPortMin);
  2353.             itemView.setMaxViewport(_viewPortMax);
  2354.             itemList.addEventListener("selectionChange", this, "onSelectionChange");
  2355.             itemList.addEventListener("itemPress", this, "onItemPressed");
  2356.             gfx.managers.FocusHandler.__get__instance().setFocus(itemList, 0);
  2357.         }
  2358.         function InitExtensions() {
  2359.             skse.SendModEvent("UIListMenu_LoadMenu");
  2360.         }
  2361.         function SetPlatform(aiPlatform, abPS3Switch) {
  2362.         }
  2363.         function closeMenu() {
  2364.             skse.SendModEvent("UIListMenu_CloseMenu");
  2365.             skse.CloseMenu("CustomMenu");
  2366.         }
  2367.         function handleInput(details, pathToFocus) {
  2368.             var _local2 = _childView[_childView.length - 1];
  2369.             if (_local2 && (_local2.handleInput(details, pathToFocus))) {
  2370.                 return(true);
  2371.             }
  2372.             var _local5 = pathToFocus.shift();
  2373.             if (_local5.handleInput(details, pathToFocus)) {
  2374.                 return(true);
  2375.             }
  2376.             if (Shared.GlobalFunc.IsKeyPressed(details)) {
  2377.                 if (details.navEquivalent == gfx.ui.NavigationCode.TAB) {
  2378.                     closeChildView();
  2379.                 }
  2380.             }
  2381.             return(true);
  2382.         }
  2383.         function onSelectionChange(event) {
  2384.             var _local2 = _childView[_childView.length - 1];
  2385.             if (_local2) {
  2386.                 var _local3 = _local2.entryList[event.index];
  2387.                 _local2.itemList.listState.selectedEntry = _local3;
  2388.             }
  2389.         }
  2390.         function onItemPressed(event) {
  2391.             var _local4 = _childView[_childView.length - 1];
  2392.             if (_local4) {
  2393.                 var _local3 = _local4.entryList[event.index];
  2394.                 _local3.children.splice(0);
  2395.                 var _local2 = 0;
  2396.                 while (_local2 < _linearChildren.length) {
  2397.                     if (_linearChildren[_local2].parent == _local3.id) {
  2398.                         _local3.children.push(_linearChildren[_local2]);
  2399.                     }
  2400.                     _local2++;
  2401.                 }
  2402.                 if (_local3.children.length > 0) {
  2403.                     openChildView(_local3, _local3.children);
  2404.                 } else {
  2405.                     skse.SendModEvent("UIListMenu_SelectItemText", _local3.text, _local3.callback);
  2406.                     skse.SendModEvent("UIListMenu_SelectItem", Number(_local3.id).toString(), _local3.callback);
  2407.                     closeMenu();
  2408.                 }
  2409.             }
  2410.         }
  2411.         function openChildView(parentEntry, childEntries) {
  2412.             var _local2 = _childView[_childView.length - 1];
  2413.             if (_local2) {
  2414.                 _local2.itemList.disableSelection = (_local2.itemList.disableInput = true);
  2415.                 attachMovie("ItemView", "childView_" + _childView.length, getNextHighestDepth(), {_alpha:0, _x:_viewPosX, _y:_viewPosY, objectList:childEntries, parentEntry:parentEntry});
  2416.                 var _local3 = this["childView_" + _childView.length];
  2417.                 _local3.addEventListener("onLoad", this, "onChildViewLoad");
  2418.                 _childView.push(_local3);
  2419.                 com.greensock.TweenLite.to(_local2, 0.5, {_alpha:0, _x:_viewPosX - _local2._width, overwrite:com.greensock.OverwriteManager.NONE, easing:com.greensock.easing.Linear.easeNone});
  2420.                 com.greensock.TweenLite.to(_local3, 0.5, {_alpha:100, overwrite:com.greensock.OverwriteManager.NONE, easing:com.greensock.easing.Linear.easeNone});
  2421.             }
  2422.         }
  2423.         function closeChildView() {
  2424.             var _local2 = _childView[_childView.length - 1];
  2425.             if (_local2 == itemView) {
  2426.                 skse.SendModEvent("UIListMenu_SelectItemText", "", -1);
  2427.                 skse.SendModEvent("UIListMenu_SelectItem", Number(-1).toString(), -1);
  2428.                 closeMenu();
  2429.                 return(undefined);
  2430.             }
  2431.             _local2.itemList.disableSelection = (_local2.itemList.disableInput = true);
  2432.             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});
  2433.             _childView.splice(_childView.length - 1, 1);
  2434.             _local2 = _childView[_childView.length - 1];
  2435.             if (_local2) {
  2436.                 _local2.children.splice(0);
  2437.                 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});
  2438.             }
  2439.         }
  2440.         function onChildViewRestored(lastChild) {
  2441.             lastChild.itemList.disableSelection = (lastChild.itemList.disableInput = false);
  2442.             gfx.managers.FocusHandler.__get__instance().setFocus(lastChild.itemList, 0);
  2443.         }
  2444.         function onChildViewRemoved(lastChild) {
  2445.             if (lastChild) {
  2446.                 lastChild.removeMovieClip();
  2447.             }
  2448.         }
  2449.         function onChildViewLoad(event) {
  2450.             if (event.view) {
  2451.                 event.view.setMinViewport(_viewPortMin);
  2452.                 event.view.setMaxViewport(_viewPortMax);
  2453.                 event.view.itemList.addEventListener("itemPress", this, "onItemPressed");
  2454.                 event.view.itemList.addEventListener("selectionChange", this, "onSelectionChange");
  2455.                 event.view.entryList = event.view.objectList;
  2456.                 event.view.itemList.requestInvalidate();
  2457.             }
  2458.             gfx.managers.FocusHandler.__get__instance().setFocus(event.view.itemList, 0);
  2459.         }
  2460.         function LM_AddTreeEntries() {
  2461.             var _local12 = false;
  2462.             var _local5 = 0;
  2463.             while (_local5 < arguments.length) {
  2464.                 var _local3 = arguments[_local5].split(";;");
  2465.                 if (_local3[0] != "") {
  2466.                     var _local4 = {text:_local3[0], parent:Number(_local3[1]), id:Number(_local3[2]), callback:Number(_local3[3]), hasChildren:Number(_local3[4]), children:new Array()};
  2467.                     _linearChildren.push(_local4);
  2468.                     if (_local4.parent == -1) {
  2469.                         itemList.__get__entryList().push(_local4);
  2470.                         _local12 = true;
  2471.                     }
  2472.                 }
  2473.                 _local5++;
  2474.             }
  2475.             if (_local12) {
  2476.                 itemList.InvalidateData();
  2477.                 _visible = true;
  2478.             }
  2479.         }
  2480.         function LM_SetSortingEnabled(a_sort) {
  2481.             var _local2 = 0;
  2482.             while (_local2 < _childView.length) {
  2483.                 _childView[_local2].sortEnabled = a_sort;
  2484.                 _local2++;
  2485.             }
  2486.         }
  2487.         var _viewPosX = 0;
  2488.         var _viewPosY = 0;
  2489.         var _viewPortMin = 5;
  2490.         var _viewPortMax = 15;
  2491.     }
  2492. 
  2493. //----------------------------------------------------------------------
  2494. //Symbol 57 MovieClip [__Packages.com.greensock.TweenLite] Frame 0
  2495. //----------------------------------------------------------------------
  2496.     class com.greensock.TweenLite extends com.greensock.core.TweenCore
  2497.     {
  2498.         static var _timingClip, overwriteManager, rootFrame, rootTimeline, rootFramesTimeline, onPluginEvent;
  2499.         var ratio, target, _targetID, vars, cachedTimeScale, propTweenLookup, _ease, _overwrite, active, cachedPT1, _notifyPluginsOfEnabled, _hasPlugins, _hasUpdate, _overwrittenProps, initted, cachedTime, cachedDuration, cachedTotalTime, cachedReversed, _rawPrevTime, cachedPaused, gc, complete;
  2500.         function TweenLite (target, duration, vars) {
  2501.             super(duration, vars);
  2502.             if (_timingClip.onEnterFrame != updateAll) {
  2503.                 jumpStart(_root);
  2504.             }
  2505.             ratio = 0;
  2506.             this.target = target;
  2507.             _targetID = getID(target, true);
  2508.             if ((this.vars.timeScale != undefined) && (this.target instanceof com.greensock.core.TweenCore)) {
  2509.                 cachedTimeScale = 1;
  2510.             }
  2511.             propTweenLookup = {};
  2512.             _ease = defaultEase;
  2513.             _overwrite = (((vars.overwrite == undefined) || ((!overwriteManager.enabled) && (vars.overwrite > 1))) ? (overwriteManager.mode) : (Number(vars.overwrite)));
  2514.             var _local5 = masterList[_targetID].tweens;
  2515.             if (_local5.length == 0) {
  2516.                 _local5[0] = this;
  2517.             } else if (_overwrite == 1) {
  2518.                 var _local4 = _local5.length;
  2519.                 while (_local4-- , _local4 > -1) {
  2520.                     if (!_local5[_local4].gc) {
  2521.                         _local5[_local4].setEnabled(false, false);
  2522.                     }
  2523.                 }
  2524.                 masterList[_targetID].tweens = [this];
  2525.             } else {
  2526.                 _local5[_local5.length] = this;
  2527.             }
  2528.             if (active || (this.vars.immediateRender)) {
  2529.                 renderTime(0, false, true);
  2530.             }
  2531.         }
  2532.         static function initClass() {
  2533.             rootFrame = 0;
  2534.             rootTimeline = new com.greensock.core.SimpleTimeline(null);
  2535.             rootFramesTimeline = new com.greensock.core.SimpleTimeline(null);
  2536.             rootTimeline.autoRemoveChildren = (rootFramesTimeline.autoRemoveChildren = true);
  2537.             rootTimeline.cachedStartTime = getTimer() * 0.001;
  2538.             rootTimeline.cachedTotalTime = (rootFramesTimeline.cachedTotalTime = 0);
  2539.             rootFramesTimeline.cachedStartTime = rootFrame;
  2540.             if (overwriteManager == undefined) {
  2541.                 overwriteManager = {mode:1, enabled:false};
  2542.             }
  2543.             jumpStart(_root);
  2544.         }
  2545.         function init() {
  2546.             if (vars.onInit) {
  2547.                 vars.onInit.apply(null, vars.onInitParams);
  2548.             }
  2549.             var _local2;
  2550.             var _local5;
  2551.             var _local3;
  2552.             var _local6;
  2553.             var _local7;
  2554.             if (typeof(vars.ease) == "function") {
  2555.                 _ease = vars.ease;
  2556.             }
  2557.             if (vars.easeParams != undefined) {
  2558.                 vars.proxiedEase = _ease;
  2559.                 _ease = easeProxy;
  2560.             }
  2561.             cachedPT1 = undefined;
  2562.             propTweenLookup = {};
  2563.             for (_local2 in vars) {
  2564.                 if (_reservedProps[_local2] && (!((_local2 == "timeScale") && (target instanceof com.greensock.core.TweenCore)))) {
  2565.                 } else if (plugins[_local2] && ((_local3 = new plugins[_local2]()).onInitTween(target, vars[_local2], this))) {
  2566.                     cachedPT1 = new com.greensock.core.PropTween(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length == 1) ? (_local3.overwriteProps[0]) : "_MULTIPLE_"), true, cachedPT1);
  2567.                     if (cachedPT1.name == "_MULTIPLE_") {
  2568.                         _local5 = _local3.overwriteProps.length;
  2569.                         while (_local5-- , _local5 > -1) {
  2570.                             propTweenLookup[_local3.overwriteProps[_local5]] = cachedPT1;
  2571.                         }
  2572.                     } else {
  2573.                         propTweenLookup[cachedPT1.name] = cachedPT1;
  2574.                     }
  2575.                     if (_local3.priority) {
  2576.                         cachedPT1.priority = _local3.priority;
  2577.                         _local6 = true;
  2578.                     }
  2579.                     if (_local3.onDisable || (_local3.onEnable)) {
  2580.                         _notifyPluginsOfEnabled = true;
  2581.                     }
  2582.                     _hasPlugins = true;
  2583.                 } else {
  2584.                     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);
  2585.                     propTweenLookup[_local2] = cachedPT1;
  2586.                 }
  2587.             }
  2588.             if (_local6) {
  2589.                 onPluginEvent("onInitAllProps", this);
  2590.             }
  2591.             if (vars.runBackwards) {
  2592.                 var _local4 = cachedPT1;
  2593.                 while (_local4) {
  2594.                     _local4.start = _local4.start + _local4.change;
  2595.                     _local4.change = -_local4.change;
  2596.                     _local4 = _local4.nextNode;
  2597.                 }
  2598.             }
  2599.             _hasUpdate = Boolean(typeof(vars.onUpdate) == "function");
  2600.             if (_overwrittenProps) {
  2601.                 killVars(_overwrittenProps);
  2602.                 if (cachedPT1 == undefined) {
  2603.                     setEnabled(false, false);
  2604.                 }
  2605.             }
  2606.             if ((((_overwrite > 1) && (cachedPT1)) && (_local7 = masterList[_targetID].tweens)) && (_local7.length > 1)) {
  2607.                 if (overwriteManager.manageOverwrites(this, propTweenLookup, _local7, _overwrite)) {
  2608.                     init();
  2609.                 }
  2610.             }
  2611.             initted = true;
  2612.         }
  2613.         function renderTime(time, suppressEvents, force) {
  2614.             var _local4;
  2615.             var _local5 = cachedTime;
  2616.             if (time >= cachedDuration) {
  2617.                 cachedTotalTime = (cachedTime = cachedDuration);
  2618.                 ratio = 1;
  2619.                 _local4 = !cachedReversed;
  2620.                 if (cachedDuration == 0) {
  2621.                     if (((time == 0) || (_rawPrevTime < 0)) && (_rawPrevTime != time)) {
  2622.                         force = true;
  2623.                     }
  2624.                     _rawPrevTime = time;
  2625.                 }
  2626.             } else if (time <= 0) {
  2627.                 cachedTotalTime = (cachedTime = (ratio = 0));
  2628.                 if (time < 0) {
  2629.                     active = false;
  2630.                     if (cachedDuration == 0) {
  2631.                         if (_rawPrevTime >= 0) {
  2632.                             force = true;
  2633.                             _local4 = _rawPrevTime > 0;
  2634.                         }
  2635.                         _rawPrevTime = time;
  2636.                     }
  2637.                 }
  2638.                 if (cachedReversed && (_local5 != 0)) {
  2639.                     _local4 = true;
  2640.                 }
  2641.             } else {
  2642.                 cachedTotalTime = (cachedTime = time);
  2643.                 ratio = _ease(time, 0, 1, cachedDuration);
  2644.             }
  2645.             if ((cachedTime == _local5) && (!force)) {
  2646.                 return(undefined);
  2647.             }
  2648.             if (!initted) {
  2649.                 init();
  2650.                 if ((!_local4) && (cachedTime)) {
  2651.                     ratio = _ease(cachedTime, 0, 1, cachedDuration);
  2652.                 }
  2653.             }
  2654.             if ((!active) && (!cachedPaused)) {
  2655.                 active = true;
  2656.             }
  2657.             if ((((_local5 == 0) && (vars.onStart)) && ((cachedTime != 0) || (cachedDuration == 0))) && (!suppressEvents)) {
  2658.                 vars.onStart.apply(vars.onStartScope, vars.onStartParams);
  2659.             }
  2660.             var _local2 = cachedPT1;
  2661.             while (_local2) {
  2662.                 _local2.target[_local2.property] = _local2.start + (ratio * _local2.change);
  2663.                 _local2 = _local2.nextNode;
  2664.             }
  2665.             if (_hasUpdate && (!suppressEvents)) {
  2666.                 vars.onUpdate.apply(vars.onUpdateScope, vars.onUpdateParams);
  2667.             }
  2668.             if (_local4 && (!gc)) {
  2669.                 if (_hasPlugins && (cachedPT1)) {
  2670.                     onPluginEvent("onComplete", this);
  2671.                 }
  2672.                 complete(true, suppressEvents);
  2673.             }
  2674.         }
  2675.         function killVars(vars, permanent) {
  2676.             if (_overwrittenProps == undefined) {
  2677.                 _overwrittenProps = {};
  2678.             }
  2679.             var _local3;
  2680.             var _local2;
  2681.             var _local5;
  2682.             for (_local3 in vars) {
  2683.                 if (propTweenLookup[_local3]) {
  2684.                     _local2 = propTweenLookup[_local3];
  2685.                     if (_local2.isPlugin && (_local2.name == "_MULTIPLE_")) {
  2686.                         _local2.target.killProps(vars);
  2687.                         if (_local2.target.overwriteProps.length == 0) {
  2688.                             _local2.name = "";
  2689.                         }
  2690.                         if ((_local3 != _local2.target.propName) || (_local2.name == "")) {
  2691.                             delete propTweenLookup[_local3];
  2692.                         }
  2693.                     }
  2694.                     if (_local2.name != "_MULTIPLE_") {
  2695.                         if (_local2.nextNode) {
  2696.                             _local2.nextNode.prevNode = _local2.prevNode;
  2697.                         }
  2698.                         if (_local2.prevNode) {
  2699.                             _local2.prevNode.nextNode = _local2.nextNode;
  2700.                         } else if (cachedPT1 == _local2) {
  2701.                             cachedPT1 = _local2.nextNode;
  2702.                         }
  2703.                         if (_local2.isPlugin && (_local2.target.onDisable)) {
  2704.                             _local2.target.onDisable();
  2705.                             if (_local2.target.activeDisable) {
  2706.                                 _local5 = true;
  2707.                             }
  2708.                         }
  2709.                         delete propTweenLookup[_local3];
  2710.                     }
  2711.                 }
  2712.                 if ((permanent != false) && (vars != _overwrittenProps)) {
  2713.                     _overwrittenProps[_local3] = 1;
  2714.                 }
  2715.             }
  2716.             return(_local5);
  2717.         }
  2718.         function invalidate() {
  2719.             if (_notifyPluginsOfEnabled) {
  2720.                 onPluginEvent("onDisable", this);
  2721.             }
  2722.             cachedPT1 = undefined;
  2723.             _overwrittenProps = undefined;
  2724.             _hasUpdate = (initted = (active = (_notifyPluginsOfEnabled = false)));
  2725.             propTweenLookup = {};
  2726.         }
  2727.         function setEnabled(enabled, ignoreTimeline) {
  2728.             if (enabled && (gc)) {
  2729.                 var _local4 = masterList[_targetID].tweens;
  2730.                 if (_local4) {
  2731.                     var _local3 = _local4.length;
  2732.                     _local4[_local3] = this;
  2733.                     while (_local3-- , _local3 > -1) {
  2734.                         if (_local4[_local3] == this) {
  2735.                             _local4.splice(_local3, 1);
  2736.                         }
  2737.                     }
  2738.                 } else {
  2739.                     masterList[_targetID] = {target:target, tweens:[this]};
  2740.                 }
  2741.             }
  2742.             super.setEnabled(enabled, ignoreTimeline);
  2743.             if (_notifyPluginsOfEnabled && (cachedPT1)) {
  2744.                 return(onPluginEvent((enabled ? "onEnable" : "onDisable"), this));
  2745.             }
  2746.             return(false);
  2747.         }
  2748.         function easeProxy(t, b, c, d) {
  2749.             return(vars.proxiedEase.apply(null, arguments.concat(vars.easeParams)));
  2750.         }
  2751.         static function to(target, duration, vars) {
  2752.             return(new com.greensock.TweenLite(target, duration, vars));
  2753.         }
  2754.         static function from(target, duration, vars) {
  2755.             vars.runBackwards = true;
  2756.             if (vars.immediateRender != false) {
  2757.                 vars.immediateRender = true;
  2758.             }
  2759.             return(new com.greensock.TweenLite(target, duration, vars));
  2760.         }
  2761.         static function delayedCall(delay, onComplete, onCompleteParams, onCompleteScope, useFrames) {
  2762.             return(new com.greensock.TweenLite(onComplete, 0, {delay:delay, onComplete:onComplete, onCompleteParams:onCompleteParams, onCompleteScope:onCompleteScope, immediateRender:false, useFrames:useFrames, overwrite:0}));
  2763.         }
  2764.         static function updateAll() {
  2765.             rootTimeline.renderTime(((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale, false, false);
  2766.             rootFrame++;
  2767.             rootFramesTimeline.renderTime((rootFrame - rootFramesTimeline.cachedStartTime) * rootFramesTimeline.cachedTimeScale, false, false);
  2768.             if (!(rootFrame % 60)) {
  2769.                 var _local3 = masterList;
  2770.                 var _local2;
  2771.                 var _local1;
  2772.                 for (var _local4 in _local3) {
  2773.                     _local1 = _local3[_local4].tweens;
  2774.                     _local2 = _local1.length;
  2775.                     while (_local2-- , _local2 > -1) {
  2776.                         if (_local1[_local2].gc) {
  2777.                             _local1.splice(_local2, 1);
  2778.                         }
  2779.                     }
  2780.                     if (_local1.length == 0) {
  2781.                         delete _local3[_local4];
  2782.                     }
  2783.                 }
  2784.             }
  2785.         }
  2786.         static function killTweensOf(target, complete, vars) {
  2787.             var _local6 = getID(target, true);
  2788.             var _local4 = masterList[_local6].tweens;
  2789.             var _local3;
  2790.             var _local1;
  2791.             if (_local4 != undefined) {
  2792.                 _local3 = _local4.length;
  2793.                 while (_local3-- , _local3 > -1) {
  2794.                     _local1 = _local4[_local3];
  2795.                     if (!_local1.gc) {
  2796.                         if (complete == true) {
  2797.                             _local1.complete(false, false);
  2798.                         }
  2799.                         if (vars != undefined) {
  2800.                             _local1.killVars(vars);
  2801.                         }
  2802.                         if ((vars == undefined) || ((_local1.cachedPT1 == undefined) && (_local1.initted))) {
  2803.                             _local1.setEnabled(false, false);
  2804.                         }
  2805.                     }
  2806.                 }
  2807.                 if (vars == undefined) {
  2808.                     delete masterList[_local6];
  2809.                 }
  2810.             }
  2811.         }
  2812.         static function getID(target, lookup) {
  2813.             var _local2;
  2814.             if (lookup) {
  2815.                 var _local1 = masterList;
  2816.                 if (typeof(target) == "movieclip") {
  2817.                     if (_local1[String(target)] != undefined) {
  2818.                         return(String(target));
  2819.                     }
  2820.                     _local2 = String(target);
  2821.                     masterList[_local2] = {target:target, tweens:[]};
  2822.                     return(_local2);
  2823.                 }
  2824.                 for (var _local3 in _local1) {
  2825.                     if (_local1[_local3].target == target) {
  2826.                         return(_local3);
  2827.                     }
  2828.                 }
  2829.             }
  2830.             _cnt++;
  2831.             _local2 = "t" + _cnt;
  2832.             masterList[_local2] = {target:target, tweens:[]};
  2833.             return(_local2);
  2834.         }
  2835.         static function easeOut(t, b, c, d) {
  2836.             t = t / d;
  2837.             return((-1 * t) * (t - 2));
  2838.         }
  2839.         static function findSubloadedSWF(mc) {
  2840.             for (var _local3 in mc) {
  2841.                 if (typeof(mc[_local3]) == "movieclip") {
  2842.                     if ((mc[_local3]._url != _root._url) && (mc[_local3].getBytesLoaded() != undefined)) {
  2843.                         return(mc[_local3]);
  2844.                     }
  2845.                     if (findSubloadedSWF(mc[_local3]) != undefined) {
  2846.                         return(findSubloadedSWF(mc[_local3]));
  2847.                     }
  2848.                 }
  2849.             }
  2850.             return(undefined);
  2851.         }
  2852.         static function jumpStart(root) {
  2853.             if (_timingClip != undefined) {
  2854.                 _timingClip.removeMovieClip();
  2855.             }
  2856.             var _local2 = ((root.getBytesLoaded() == undefined) ? (findSubloadedSWF(root)) : (root));
  2857.             var _local1 = 999;
  2858.             while (_local2.getInstanceAtDepth(_local1) != undefined) {
  2859.                 _local1++;
  2860.             }
  2861.             _timingClip = _local2.createEmptyMovieClip("__tweenLite" + String(version).split(".").join("_"), _local1);
  2862.             _timingClip.onEnterFrame = updateAll;
  2863.             to({}, 0, {});
  2864.             rootTimeline.cachedTime = (rootTimeline.cachedTotalTime = ((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale);
  2865.         }
  2866.         static var version = 11.698;
  2867.         static var plugins = {};
  2868.         static var killDelayedCallsTo = killTweensOf;
  2869.         static var defaultEase = easeOut;
  2870.         static var masterList = {};
  2871.         static var _cnt = -16000;
  2872.         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};
  2873.     }
  2874. 
  2875. //----------------------------------------------------------------------
  2876. //Symbol 32 MovieClip [__Packages.gfx.ui.NavigationCode] Frame 0
  2877. //----------------------------------------------------------------------
  2878.     class gfx.ui.NavigationCode
  2879.     {
  2880.         function NavigationCode () {
  2881.         }
  2882.         static var UP = "up";
  2883.         static var DOWN = "down";
  2884.         static var LEFT = "left";
  2885.         static var RIGHT = "right";
  2886.         static var START = "start";
  2887.         static var BACK = "back";
  2888.         static var GAMEPAD_A = "enter-gamepad_A";
  2889.         static var GAMEPAD_B = "escape-gamepad_B";
  2890.         static var GAMEPAD_X = "gamepad_X";
  2891.         static var GAMEPAD_Y = "gamepad_Y";
  2892.         static var GAMEPAD_L1 = "gamepad_L1";
  2893.         static var GAMEPAD_L2 = "gamepad_L2";
  2894.         static var GAMEPAD_L3 = "gamepad_L3";
  2895.         static var GAMEPAD_R1 = "gamepad_R1";
  2896.         static var GAMEPAD_R2 = "gamepad_R2";
  2897.         static var GAMEPAD_R3 = "gamepad_R3";
  2898.         static var GAMEPAD_START = "start";
  2899.         static var GAMEPAD_BACK = "back";
  2900.         static var ENTER = "enter-gamepad_A";
  2901.         static var ESCAPE = "escape-gamepad_B";
  2902.         static var END = "end";
  2903.         static var HOME = "home";
  2904.         static var PAGE_DOWN = "pageDown";
  2905.         static var PAGE_UP = "pageUp";
  2906.         static var TAB = "tab";
  2907.         static var SHIFT_TAB = "shifttab";
  2908.     }
  2909. 
  2910. //----------------------------------------------------------------------
  2911. //Symbol 40 MovieClip [__Packages.gfx.controls.ScrollBar] Frame 0
  2912. //----------------------------------------------------------------------
  2913.     class gfx.controls.ScrollBar extends gfx.controls.ScrollIndicator
  2914.     {
  2915.         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;
  2916.         function ScrollBar () {
  2917.             super();
  2918.         }
  2919.         function get disabled() {
  2920.             return(_disabled);
  2921.         }
  2922.         function set disabled(value) {
  2923.             if (_disabled != value) {
  2924.                 super.__set__disabled(value);
  2925.                 gotoAndPlay((_disabled ? "disabled" : "default"));
  2926.                 if (initialized) {
  2927.                     upArrow.disabled = _disabled;
  2928.                     downArrow.disabled = _disabled;
  2929.                     track.disabled = _disabled;
  2930.                 }
  2931.                 return;
  2932.             }
  2933.             //return(disabled);
  2934.         }
  2935.         function get position() {
  2936.             return(super.__get__position());
  2937.         }
  2938.         function set position(value) {
  2939.             value = Math.round(value);
  2940.             if (value != position) {
  2941.                 super.__set__position(value);
  2942.                 updateScrollTarget();
  2943.                 return;
  2944.             }
  2945.             //return(position);
  2946.         }
  2947.         function get trackMode() {
  2948.             return(_trackMode);
  2949.         }
  2950.         function set trackMode(value) {
  2951.             if (value != _trackMode) {
  2952.                 _trackMode = value;
  2953.                 if (initialized) {
  2954.                     track.autoRepeat = trackMode == "scrollPage";
  2955.                 }
  2956.                 return;
  2957.             }
  2958.             //return(trackMode);
  2959.         }
  2960.         function get availableHeight() {
  2961.             return(((track.height - thumb.height) + offsetBottom) + offsetTop);
  2962.         }
  2963.         function toString() {
  2964.             return(("[Scaleform ScrollBar " + _name) + "]");
  2965.         }
  2966.         function configUI() {
  2967.             super.configUI();
  2968.             delete onRelease;
  2969.             if (upArrow) {
  2970.                 upArrow.addEventListener("click", this, "scrollUp");
  2971.                 upArrow.useHandCursor = !_disabled;
  2972.                 upArrow.disabled = _disabled;
  2973.                 upArrow.focusTarget = this;
  2974.                 upArrow.autoRepeat = true;
  2975.             }
  2976.             if (downArrow) {
  2977.                 downArrow.addEventListener("click", this, "scrollDown");
  2978.                 downArrow.useHandCursor = !_disabled;
  2979.                 downArrow.disabled = _disabled;
  2980.                 downArrow.focusTarget = this;
  2981.                 downArrow.autoRepeat = true;
  2982.             }
  2983.             thumb.addEventListener("press", this, "beginDrag");
  2984.             thumb.useHandCursor = !_disabled;
  2985.             thumb.lockDragStateChange = true;
  2986.             track.addEventListener("press", this, "beginTrackScroll");
  2987.             track.addEventListener("click", this, "trackScroll");
  2988.             track.disabled = _disabled;
  2989.             track.autoRepeat = trackMode == "scrollPage";
  2990.             Mouse.addListener(this);
  2991.             var _local3 = _rotation;
  2992.             _rotation = 0;
  2993.             constraints = new gfx.utils.Constraints(this);
  2994.             if (downArrow) {
  2995.                 constraints.addElement(downArrow, gfx.utils.Constraints.BOTTOM);
  2996.             }
  2997.             constraints.addElement(track, gfx.utils.Constraints.TOP | gfx.utils.Constraints.BOTTOM);
  2998.             _rotation = _local3;
  2999.         }
  3000.         function draw() {
  3001.             if (direction == "horizontal") {
  3002.                 constraints.update(__height, __width);
  3003.             } else {
  3004.                 constraints.update(__width, __height);
  3005.             }
  3006.             if (_scrollTarget instanceof TextField) {
  3007.                 setScrollProperties(_scrollTarget.bottomScroll - _scrollTarget.scroll, 1, _scrollTarget.maxscroll);
  3008.                 return(undefined);
  3009.             }
  3010.             updateThumb();
  3011.         }
  3012.         function updateThumb() {
  3013.             if (!initialized) {
  3014.                 invalidate();
  3015.                 return(undefined);
  3016.             }
  3017.             if (_disabled) {
  3018.                 return(undefined);
  3019.             }
  3020.             var _local7 = Math.max(1, (maxPosition - minPosition) + pageSize);
  3021.             var _local2 = (track.height + offsetTop) + offsetBottom;
  3022.             var _local6 = _local2;
  3023.             thumb.height = Math.max(10, Math.min(_local2, (pageSize / _local7) * _local6));
  3024.             var _local4 = (_position - minPosition) / (maxPosition - minPosition);
  3025.             var _local3 = track._y - offsetTop;
  3026.             var _local5 = (_local4 * availableHeight) + _local3;
  3027.             thumb._y = Math.max(_local3, Math.min(((track._y + track.height) - thumb.height) + offsetBottom, _local5));
  3028.             thumb.visible = !((isNaN(_local4) || (maxPosition <= 0)) || (maxPosition == Infinity));
  3029.             if (thumb.visible) {
  3030.                 track.disabled = false;
  3031.                 if (upArrow) {
  3032.                     if (_position == minPosition) {
  3033.                         upArrow.disabled = true;
  3034.                     } else {
  3035.                         upArrow.disabled = false;
  3036.                     }
  3037.                 }
  3038.                 if (downArrow) {
  3039.                     if (_position == maxPosition) {
  3040.                         downArrow.disabled = true;
  3041.                     } else {
  3042.                         downArrow.disabled = false;
  3043.                     }
  3044.                 }
  3045.                 return(undefined);
  3046.             }
  3047.             if (upArrow) {
  3048.                 upArrow.disabled = true;
  3049.             }
  3050.             if (downArrow) {
  3051.                 downArrow.disabled = true;
  3052.             }
  3053.             track.disabled = true;
  3054.         }
  3055.         function scrollUp() {
  3056.             position = (position - pageScrollSize);
  3057.         }
  3058.         function scrollDown() {
  3059.             position = (position + pageScrollSize);
  3060.         }
  3061.         function beginDrag() {
  3062.             if (isDragging != true) {
  3063.                 isDragging = true;
  3064.                 onMouseMove = doDrag;
  3065.                 onMouseUp = endDrag;
  3066.                 dragOffset = {y:_ymouse - thumb._y};
  3067.             }
  3068.         }
  3069.         function doDrag() {
  3070.             var _local2 = ((_ymouse - dragOffset.y) - track._y) / availableHeight;
  3071.             position = (minPosition + (_local2 * (maxPosition - minPosition)));
  3072.         }
  3073.         function endDrag() {
  3074.             delete onMouseUp;
  3075.             delete onMouseMove;
  3076.             isDragging = false;
  3077.             if (trackDragMouseIndex != undefined) {
  3078.                 if (thumb.hitTest(_root._xmouse, _root._ymouse)) {
  3079.                     thumb.onRelease(trackDragMouseIndex);
  3080.                 } else {
  3081.                     thumb.onReleaseOutside(trackDragMouseIndex);
  3082.                 }
  3083.             }
  3084.             delete trackDragMouseIndex;
  3085.         }
  3086.         function beginTrackScroll(e) {
  3087.             var _local2 = ((_ymouse - (thumb.height / 2)) - track._y) / availableHeight;
  3088.             trackScrollPosition = Math.round((_local2 * (maxPosition - minPosition)) + minPosition);
  3089.             if (Key.isDown(16) || (trackMode == "scrollToCursor")) {
  3090.                 position = (trackScrollPosition);
  3091.                 trackDragMouseIndex = e.controllerIdx;
  3092.                 thumb.onPress(trackDragMouseIndex);
  3093.                 dragOffset = {y:thumb.height / 2};
  3094.             }
  3095.         }
  3096.         function trackScroll() {
  3097.             if (isDragging || (position == trackScrollPosition)) {
  3098.                 return(undefined);
  3099.             }
  3100.             var _local2 = ((position >= trackScrollPosition) ? (-trackScrollPageSize) : (trackScrollPageSize));
  3101.             var _local3 = position + _local2;
  3102.             position = (((_local2 >= 0) ? (Math.min(_local3, trackScrollPosition)) : (Math.max(_local3, trackScrollPosition))));
  3103.         }
  3104.         function updateScrollTarget() {
  3105.             if (_scrollTarget != null) {
  3106.                 if (_scrollTarget && (!_disabled)) {
  3107.                     _scrollTarget.scroll = _position;
  3108.                 }
  3109.             }
  3110.         }
  3111.         function scrollWheel(delta) {
  3112.             position = (position - (delta * pageScrollSize));
  3113.         }
  3114.         var trackScrollPageSize = 1;
  3115.         var _trackMode = "scrollPage";
  3116.         var trackScrollPosition = -1;
  3117.     }
  3118. 
  3119. //----------------------------------------------------------------------
  3120. //Symbol 28 MovieClip [__Packages.gfx.managers.FocusHandler] Frame 0
  3121. //----------------------------------------------------------------------
  3122.     class gfx.managers.FocusHandler
  3123.     {
  3124.         var currentFocusLookup, actualFocusLookup, inputDelegate;
  3125.         function FocusHandler () {
  3126.             Selection.addListener(this);
  3127.             _global.gfxExtensions = 1;
  3128.             Selection.alwaysEnableArrowKeys = true;
  3129.             Selection.disableFocusKeys = true;
  3130.             Selection.disableFocusAutoRelease = true;
  3131.             Selection.disableFocusRolloverEvent = true;
  3132.             _root._focusrect = false;
  3133.             currentFocusLookup = [];
  3134.             actualFocusLookup = [];
  3135.         }
  3136.         static function get instance() {
  3137.             if (_instance == null) {
  3138.                 _instance = new gfx.managers.FocusHandler();
  3139.             }
  3140.             return(_instance);
  3141.         }
  3142.         function initialize() {
  3143.             inited = true;
  3144.             inputDelegate = gfx.managers.InputDelegate.instance;
  3145.             inputDelegate.addEventListener("input", this, "handleInput");
  3146.         }
  3147.         function getFocus(focusIdx) {
  3148.             return(currentFocusLookup[focusIdx]);
  3149.         }
  3150.         function setFocus(focus, focusIdx) {
  3151.             if (!inited) {
  3152.                 initialize();
  3153.             }
  3154.             while (focus.focusTarget != null) {
  3155.                 focus = focus.focusTarget;
  3156.             }
  3157.             var _local8 = actualFocusLookup[focusIdx];
  3158.             var _local5 = currentFocusLookup[focusIdx];
  3159.             if (_local5 != focus) {
  3160.                 _local5.focused = _local5.focused & (~(1 << focusIdx));
  3161.                 _local5 = focus;
  3162.                 currentFocusLookup[focusIdx] = focus;
  3163.                 _local5.focused = _local5.focused | (1 << focusIdx);
  3164.             }
  3165.             if ((_local8 != _local5) && (!(_local8 instanceof TextField))) {
  3166.                 var _local6 = Selection.getControllerMaskByFocusGroup(focusIdx);
  3167.                 var _local2 = 0;
  3168.                 while (_local2 < System.capabilities.numControllers) {
  3169.                     var _local4 = ((_local6 >> _local2) & 1) != 0;
  3170.                     if (_local4) {
  3171.                         Selection.setFocus(_local5, _local2);
  3172.                     }
  3173.                     _local2++;
  3174.                 }
  3175.             }
  3176.         }
  3177.         function handleInput(event) {
  3178.             var controllerIdx = event.details.controllerIdx;
  3179.             var focusIdx = Selection.getControllerFocusGroup(controllerIdx);
  3180.             var path = getPathToFocus(focusIdx);
  3181.             if (((path.length == 0) || (path[0].handleInput == null)) || (path[0].handleInput(event.details, path.slice(1)) != true)) {
  3182.                 if (event.details.value != "keyUp") {
  3183.                     var nav = event.details.navEquivalent;
  3184.                     if (nav != null) {
  3185.                         var focusedElem = eval (Selection.getFocus(controllerIdx));
  3186.                         var actualFocus = actualFocusLookup[focusIdx];
  3187.                         if (((actualFocus instanceof TextField) && (focusedElem == actualFocus)) && (textFieldHandleInput(nav, controllerIdx))) {
  3188.                             return(undefined);
  3189.                         }
  3190.                         var dirH = ((nav == gfx.ui.NavigationCode.LEFT) || (nav == gfx.ui.NavigationCode.RIGHT));
  3191.                         var dirV = ((nav == gfx.ui.NavigationCode.UP) || (nav == gfx.ui.NavigationCode.DOWN));
  3192.                         var focusContext = focusedElem._parent;
  3193.                         var focusMode = "default";
  3194.                         if (dirH || (dirV)) {
  3195.                             var focusProp = (dirH ? "focusModeHorizontal" : "focusModeVertical");
  3196.                             while (focusContext) {
  3197.                                 focusMode = focusContext[focusProp];
  3198.                                 if (focusMode && (focusMode != "default")) {
  3199.                                     break;
  3200.                                 }
  3201.                                 focusContext = focusContext._parent;
  3202.                             }
  3203.                         } else {
  3204.                             focusContext = null;
  3205.                         }
  3206.                         var newFocus = Selection.findFocus(nav, focusContext, focusMode == "loop", null, false, controllerIdx);
  3207.                         if (newFocus) {
  3208.                             Selection.setFocus(newFocus, controllerIdx);
  3209.                         }
  3210.                     }
  3211.                 }
  3212.             }
  3213.         }
  3214.         function getPathToFocus(focusIdx) {
  3215.             var _local5 = currentFocusLookup[focusIdx];
  3216.             var _local3 = _local5;
  3217.             var _local4 = [_local3];
  3218.             do {
  3219.                 if (!_local3) {
  3220.                     break;
  3221.                 }
  3222.                 _local3 = _local3._parent;
  3223.                 if (_local3.handleInput != null) {
  3224.                     _local4.unshift(_local3);
  3225.                 }
  3226.             } while  (_local3 != _root);
  3227.             return(_local4);
  3228.         }
  3229.         function onSetFocus(oldFocus, newFocus, controllerIdx) {
  3230.             if ((oldFocus instanceof TextField) && (newFocus == null)) {
  3231.                 return(undefined);
  3232.             }
  3233.             var _local3 = Selection.getControllerFocusGroup(controllerIdx);
  3234.             var _local6 = actualFocusLookup[_local3];
  3235.             if (_local6 == newFocus) {
  3236.                 var _local5 = ((newFocus instanceof TextField) ? (newFocus._parent) : (newFocus));
  3237.                 var _local4 = _local5.focused;
  3238.                 if (_local4 & ((1 << _local3) == 0)) {
  3239.                     _local5.focused = _local4 | (1 << _local3);
  3240.                 }
  3241.             }
  3242.             actualFocusLookup[_local3] = newFocus;
  3243.             setFocus(newFocus, _local3);
  3244.         }
  3245.         function textFieldHandleInput(nav, controllerIdx) {
  3246.             var _local2 = Selection.getCaretIndex(controllerIdx);
  3247.             var _local4 = Selection.getControllerFocusGroup(controllerIdx);
  3248.             var _local3 = actualFocusLookup[_local4];
  3249.             if (((__reg0 = nav)) === gfx.ui.NavigationCode.UP) {
  3250.                 if (!_local3.multiline) {
  3251.                     return(false);
  3252.                 }
  3253.                 return(_local2 > 0);
  3254.             }
  3255.             if (__reg0 === gfx.ui.NavigationCode.LEFT) {
  3256.                 return(_local2 > 0);
  3257.             }
  3258.             if (__reg0 === gfx.ui.NavigationCode.DOWN) {
  3259.                 if (!_local3.multiline) {
  3260.                     return(false);
  3261.                 }
  3262.                 return(_local2 < TextField(_local3).length);
  3263.             }
  3264.             if (__reg0 === gfx.ui.NavigationCode.RIGHT) {
  3265.                 return(_local2 < TextField(_local3).length);
  3266.             }
  3267.             return(false);
  3268.         }
  3269.         static var _instance = instance;
  3270.         var inited = false;
  3271.     }
  3272. 
  3273. //----------------------------------------------------------------------
  3274. //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 1
  3275. //----------------------------------------------------------------------
  3276.     #initclip 39
  3277.     Object.registerClass("ScrollIndicator_upArrow", gfx.controls.Button);
  3278.     #endinitclip
  3279.  
  3280. 
  3281. //----------------------------------------------------------------------
  3282. //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 10
  3283. //----------------------------------------------------------------------
  3284.     stop();
  3285. 
  3286. //----------------------------------------------------------------------
  3287. //Symbol 36 MovieClip [__Packages.gfx.controls.ButtonGroup] Frame 0
  3288. //----------------------------------------------------------------------
  3289.     class gfx.controls.ButtonGroup extends gfx.events.EventDispatcher
  3290.     {
  3291.         var scope, children, selectedButton, dispatchEvent;
  3292.         function ButtonGroup (name, scope) {
  3293.             super();
  3294.             this.name = name;
  3295.             this.scope = scope;
  3296.             children = [];
  3297.         }
  3298.         function get length() {
  3299.             return(children.length);
  3300.         }
  3301.         function addButton(button) {
  3302.             removeButton(button);
  3303.             children.push(button);
  3304.             if (button.selected) {
  3305.                 setSelectedButton(button);
  3306.             }
  3307.             button.addEventListener("select", this, "handleSelect");
  3308.             button.addEventListener("click", this, "handleClick");
  3309.         }
  3310.         function removeButton(button) {
  3311.             var _local3 = indexOf(button);
  3312.             if (_local3 > -1) {
  3313.                 children.splice(_local3, 1);
  3314.                 button.removeEventListener("select", this, "handleSelect");
  3315.                 button.removeEventListener("click", this, "handleClick");
  3316.             }
  3317.             if (selectedButton == button) {
  3318.                 selectedButton = null;
  3319.             }
  3320.         }
  3321.         function indexOf(button) {
  3322.             var _local4 = length;
  3323.             if (_local4 == 0) {
  3324.                 return(-1);
  3325.             }
  3326.             var _local2 = 0;
  3327.             while (_local2 < length) {
  3328.                 if (children[_local2] == button) {
  3329.                     return(_local2);
  3330.                 }
  3331.                 _local2++;
  3332.             }
  3333.             return(-1);
  3334.         }
  3335.         function getButtonAt(index) {
  3336.             return(children[index]);
  3337.         }
  3338.         function get data() {
  3339.             return(selectedButton.data);
  3340.         }
  3341.         function setSelectedButton(button) {
  3342.             if ((selectedButton == button) || ((indexOf(button) == -1) && (button != null))) {
  3343.                 return(undefined);
  3344.             }
  3345.             if ((selectedButton != null) && (selectedButton._name != null)) {
  3346.                 selectedButton.selected = false;
  3347.             }
  3348.             selectedButton = button;
  3349.             if (selectedButton != null) {
  3350.                 selectedButton.selected = true;
  3351.                 dispatchEvent({type:"change", item:selectedButton, data:selectedButton.data});
  3352.             }
  3353.         }
  3354.         function toString() {
  3355.             return(("[Scaleform RadioButtonGroup " + name) + "]");
  3356.         }
  3357.         function handleSelect(event) {
  3358.             if (event.target.selected) {
  3359.                 setSelectedButton(event.target);
  3360.                 return(undefined);
  3361.             }
  3362.             setSelectedButton(null);
  3363.         }
  3364.         function handleClick(event) {
  3365.             dispatchEvent({type:"itemClick", item:event.target});
  3366.             setSelectedButton(event.target);
  3367.         }
  3368.         var name = "buttonGroup";
  3369.     }
  3370. 
  3371. //----------------------------------------------------------------------
  3372. //Symbol 43 MovieClip [__Packages.skyui.components.list.EntryClipManager] Frame 0
  3373. //----------------------------------------------------------------------
  3374.     class skyui.components.list.EntryClipManager
  3375.     {
  3376.         var _list, _clipPool;
  3377.         function EntryClipManager (a_list) {
  3378.             _list = a_list;
  3379.             _clipPool = [];
  3380.         }
  3381.         function get clipCount() {
  3382.             return(_clipCount);
  3383.         }
  3384.         function set clipCount(a_clipCount) {
  3385.             _clipCount = a_clipCount;
  3386.             var _local3 = a_clipCount - _clipPool.length;
  3387.             if (_local3 > 0) {
  3388.                 growPool(_local3);
  3389.             }
  3390.             var _local2 = 0;
  3391.             while (_local2 < _clipPool.length) {
  3392.                 _clipPool[_local2]._visible = false;
  3393.                 _clipPool[_local2].itemIndex = undefined;
  3394.                 _local2++;
  3395.             }
  3396.             //return(clipCount);
  3397.         }
  3398.         function getClip(a_index) {
  3399.             if (a_index >= _clipCount) {
  3400.                 return(undefined);
  3401.             }
  3402.             return(_clipPool[a_index]);
  3403.         }
  3404.         function growPool(a_size) {
  3405.             var _local4 = _list.entryRenderer;
  3406.             var _local2 = 0;
  3407.             while (_local2 < a_size) {
  3408.                 var _local3 = _list.attachMovie(_local4, _local4 + _nextIndex, _list.getNextHighestDepth());
  3409.                 _local3.initialize(_nextIndex, _list.listState);
  3410.                 _clipPool[_nextIndex] = _local3;
  3411.                 _nextIndex++;
  3412.                 _local2++;
  3413.             }
  3414.         }
  3415.         var _nextIndex = 0;
  3416.         var _clipCount = -1;
  3417.     }
  3418. 
  3419. //----------------------------------------------------------------------
  3420. //Symbol 48 MovieClip [__Packages.ItemList] Frame 0
  3421. //----------------------------------------------------------------------
  3422.     class ItemList extends skyui.components.list.ScrollingList
  3423.     {
  3424.         var _entryList, __get__entryList, _listHeight, background, scrollbar, _maxListIndex, __get__listHeight, dispatchEvent;
  3425.         function ItemList () {
  3426.             super();
  3427.         }
  3428.         function set entryList(a_newArray) {
  3429.             _entryList = a_newArray;
  3430.             //return(__get__entryList());
  3431.         }
  3432.         function set listHeight(a_height) {
  3433.             _listHeight = (background._height = a_height);
  3434.             if (scrollbar != undefined) {
  3435.                 scrollbar.height = _listHeight;
  3436.             }
  3437.             _maxListIndex = Math.floor(_listHeight / entryHeight);
  3438.             //return(__get__listHeight());
  3439.         }
  3440.         function InvalidateData() {
  3441.             var _local3 = Math.min(Math.max(entryHeight * minViewport, entryHeight * __get__entryList().length), entryHeight * maxViewport);
  3442.             dispatchEvent({type:"invalidateHeight", height:_local3});
  3443.             super.InvalidateData();
  3444.         }
  3445.         var entryHeight = 25;
  3446.         var minViewport = 5;
  3447.         var maxViewport = 15;
  3448.     }
  3449. 
  3450. //----------------------------------------------------------------------
  3451. //Symbol 58 MovieClip [__Packages.com.greensock.core.PropTween] Frame 0
  3452. //----------------------------------------------------------------------
  3453.     class com.greensock.core.PropTween
  3454.     {
  3455.         var target, property, start, change, name, isPlugin, nextNode, priority;
  3456.         function PropTween (target, property, start, change, name, isPlugin, nextNode, priority) {
  3457.             this.target = target;
  3458.             this.property = property;
  3459.             this.start = start;
  3460.             this.change = change;
  3461.             this.name = name;
  3462.             this.isPlugin = isPlugin;
  3463.             if (nextNode) {
  3464.                 nextNode.prevNode = this;
  3465.                 this.nextNode = nextNode;
  3466.             }
  3467.             this.priority = priority || 0;
  3468.         }
  3469.     }
  3470. 
  3471. //----------------------------------------------------------------------
  3472. //Symbol 52 MovieClip [__Packages.skyui.components.list.BasicEnumeration] Frame 0
  3473. //----------------------------------------------------------------------
  3474.     class skyui.components.list.BasicEnumeration implements skyui.components.list.IEntryEnumeration
  3475.     {
  3476.         var _entryData;
  3477.         function BasicEnumeration (a_data) {
  3478.             _entryData = a_data;
  3479.         }
  3480.         function size() {
  3481.             return(_entryData.length);
  3482.         }
  3483.         function at(a_index) {
  3484.             return(_entryData[a_index]);
  3485.         }
  3486.         function lookupEntryIndex(a_enumIndex) {
  3487.             return(a_enumIndex);
  3488.         }
  3489.         function lookupEnumIndex(a_entryIndex) {
  3490.             return(a_entryIndex);
  3491.         }
  3492.         function invalidate() {
  3493.         }
  3494.     }
  3495. 
  3496. //----------------------------------------------------------------------
  3497. //Frame 1
  3498. //----------------------------------------------------------------------
  3499.     function InitExtensions() {
  3500.         listMenu.InitExtensions();
  3501.     }
  3502.     function SetPlatform(aiPlatform, abPS3Switch) {
  3503.         listMenu.SetPlatform(aiPlatform, abPS3Switch);
  3504.     }
  3505.     function handleInput(details, pathToFocus) {
  3506.         return(listMenu.handleInput(details, pathToFocus));
  3507.     }
  3508.     _global.gfxExtensions = true;
  3509.     Shared.GlobalFunc.MaintainTextFormat();
  3510.     stop();
  3511.  
  3512. 
  3513. //----------------------------------------------------------------------
  3514. //Symbol 34 MovieClip [__Packages.gfx.controls.Button] Frame 0
  3515. //----------------------------------------------------------------------
  3516.     class gfx.controls.Button extends gfx.core.UIComponent
  3517.     {
  3518.         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;
  3519.         function Button () {
  3520.             super();
  3521.             focusEnabled = (tabEnabled = (_disableFocus ? false : (!_disabled)));
  3522.             if ((inspectableGroupName != null) && (inspectableGroupName != "")) {
  3523.                 group = (inspectableGroupName);
  3524.             }
  3525.         }
  3526.         function get labelID() {
  3527.             return(null);
  3528.         }
  3529.         function set labelID(value) {
  3530.             if (value != "") {
  3531.                 label = (gfx.utils.Locale.getTranslatedString(value));
  3532.             }
  3533.             //return(labelID);
  3534.         }
  3535.         function get label() {
  3536.             return(_label);
  3537.         }
  3538.         function set label(value) {
  3539.             _label = value;
  3540.             if (initialized) {
  3541.                 if (textField != null) {
  3542.                     textField.text = _label;
  3543.                 }
  3544.                 if (autoSize != "none") {
  3545.                     sizeIsInvalid = true;
  3546.                 }
  3547.                 updateAfterStateChange();
  3548.             }
  3549.             //return(label);
  3550.         }
  3551.         function get disabled() {
  3552.             return(_disabled);
  3553.         }
  3554.         function set disabled(value) {
  3555.             if (_disabled != value) {
  3556.                 super.__set__disabled(value);
  3557.                 clearRepeatInterval();
  3558.                 focusEnabled = (tabEnabled = (_disableFocus ? false : (!_disabled)));
  3559.                 setState((_disabled ? "disabled" : "up"));
  3560.                 return;
  3561.             }
  3562.             //return(disabled);
  3563.         }
  3564.         function get selected() {
  3565.             return(_selected);
  3566.         }
  3567.         function set selected(value) {
  3568.             if (_selected != value) {
  3569.                 _selected = value;
  3570.                 if (_disabled) {
  3571.                     setState("disabled");
  3572.                 } else if (_focused) {
  3573.                     if (pressedByKeyboard && (focusIndicator != null)) {
  3574.                         setState("kb_selecting");
  3575.                     } else {
  3576.                         setState("selecting");
  3577.                     }
  3578.                 } else {
  3579.                     setState(((__get__displayFocus() && (focusIndicator == null)) ? "over" : "up"));
  3580.                 }
  3581.                 if (dispatchEvent != null) {
  3582.                     dispatchEventAndSound({type:"select", selected:_selected});
  3583.                 }
  3584.                 return;
  3585.             }
  3586.             //return(selected);
  3587.         }
  3588.         function get groupName() {
  3589.             return(((_group == null) ? null : (_group.name)));
  3590.         }
  3591.         function set groupName(value) {
  3592.             group = (value);
  3593.             //return(groupName);
  3594.         }
  3595.         function get group() {
  3596.             return(_group);
  3597.         }
  3598.         function set group(value) {
  3599.             var _local2 = gfx.controls.ButtonGroup(value);
  3600.             if (typeof(value) == "string") {
  3601.                 _local2 = _parent["_buttonGroup_" + value];
  3602.                 if (_local2 == null) {
  3603.                     _local2 = new gfx.controls.ButtonGroup(value.toString(), _parent);
  3604.                     _parent["_buttonGroup_" + value] = _local2;
  3605.                 }
  3606.             }
  3607.             if (_group != _local2) {
  3608.                 if (_group != null) {
  3609.                     _group.removeButton(this);
  3610.                 }
  3611.                 _group = _local2;
  3612.                 if (_group != null) {
  3613.                     _local2.addButton(this);
  3614.                 }
  3615.                 return;
  3616.             }
  3617.             //return(group);
  3618.         }
  3619.         function get disableFocus() {
  3620.             return(_disableFocus);
  3621.         }
  3622.         function set disableFocus(value) {
  3623.             _disableFocus = value;
  3624.             focusEnabled = (tabEnabled = (_disableFocus ? false : (!_disabled)));
  3625.             //return(disableFocus);
  3626.         }
  3627.         function get disableConstraints() {
  3628.             return(_disableConstraints);
  3629.         }
  3630.         function set disableConstraints(value) {
  3631.             _disableConstraints = value;
  3632.             //return(disableConstraints);
  3633.         }
  3634.         function get autoSize() {
  3635.             return(_autoSize);
  3636.         }
  3637.         function set autoSize(value) {
  3638.             if (_autoSize != value) {
  3639.                 _autoSize = value;
  3640.                 if (initialized) {
  3641.                     sizeIsInvalid = true;
  3642.                     validateNow();
  3643.                 }
  3644.                 return;
  3645.             }
  3646.             //return(autoSize);
  3647.         }
  3648.         function setSize(width, height) {
  3649.             super.setSize(width, height);
  3650.         }
  3651.         function handleInput(details, pathToFocus) {
  3652.             if (((__reg0 = details.navEquivalent)) === gfx.ui.NavigationCode.ENTER) {
  3653.                 var _local3 = details.controllerIdx;
  3654.                 if ((details.value == "keyDown") || (details.value == "keyHold")) {
  3655.                     if (!pressedByKeyboard) {
  3656.                         handlePress(_local3);
  3657.                     }
  3658.                 } else {
  3659.                     handleRelease(_local3);
  3660.                 }
  3661.                 return(true);
  3662.             }
  3663.             return(false);
  3664.         }
  3665.         function toString() {
  3666.             return(("[Scaleform Button " + _name) + "]");
  3667.         }
  3668.         function configUI() {
  3669.             constraints = new gfx.utils.Constraints(this, true);
  3670.             if (!_disableConstraints) {
  3671.                 constraints.addElement(textField, gfx.utils.Constraints.ALL);
  3672.             }
  3673.             super.configUI();
  3674.             if (_autoSize != "none") {
  3675.                 sizeIsInvalid = true;
  3676.             }
  3677.             onRollOver = handleMouseRollOver;
  3678.             onRollOut = handleMouseRollOut;
  3679.             onPress = handleMousePress;
  3680.             onRelease = handleMouseRelease;
  3681.             onReleaseOutside = handleReleaseOutside;
  3682.             onDragOver = handleDragOver;
  3683.             onDragOut = handleDragOut;
  3684.             if (((focusIndicator != null) && (!_focused)) && (focusIndicator._totalFrames == 1)) {
  3685.                 focusIndicator._visible = false;
  3686.             }
  3687.             updateAfterStateChange();
  3688.         }
  3689.         function draw() {
  3690.             if (sizeIsInvalid) {
  3691.                 alignForAutoSize();
  3692.                 _width = __width;
  3693.                 _height = __height;
  3694.             }
  3695.             if (initialized) {
  3696.                 constraints.update(__width, __height);
  3697.             }
  3698.         }
  3699.         function updateAfterStateChange() {
  3700.             if (initialized) {
  3701.                 if ((textField != null) && (_label != null)) {
  3702.                     textField.text = _label;
  3703.                 }
  3704.                 validateNow();
  3705.                 if (constraints != null) {
  3706.                     constraints.update(__get__width(), __get__height());
  3707.                 }
  3708.                 dispatchEvent({type:"stateChange", state:state});
  3709.             }
  3710.         }
  3711.         function calculateWidth() {
  3712.             if (constraints == null) {
  3713.                 invalidate();
  3714.                 return(0);
  3715.             }
  3716.             var _local2 = constraints.getElement(textField).metrics;
  3717.             var _local3 = ((textField.textWidth + _local2.left) + _local2.right) + 5;
  3718.             return(_local3);
  3719.         }
  3720.         function alignForAutoSize() {
  3721.             if (((!initialized) || (_autoSize == "none")) || (textField == null)) {
  3722.                 return(undefined);
  3723.             }
  3724.             var _local2 = __width;
  3725.             __set__width(calculateWidth());
  3726.             if (((__reg0 = _autoSize)) === "right") {
  3727.                 var _local4 = _x + _local2;
  3728.                 _x = _local4 - __width;
  3729.                 return(undefined);
  3730.             }
  3731.             if (!(__reg0 === "center")) {
  3732.                 return(undefined);
  3733.             }
  3734.             var _local3 = _x + (_local2 / 2);
  3735.             _x = _local3 - (__width / 2);
  3736.             return(undefined);
  3737.         }
  3738.         function setState(state) {
  3739.             this.state = state;
  3740.             var _local5 = getStatePrefixes();
  3741.             var _local4 = stateMap[state];
  3742.             if ((_local4 == null) || (_local4.length == 0)) {
  3743.                 return(undefined);
  3744.             }
  3745.             do {
  3746.                 var _local3 = _local5.pop().toString();
  3747.                 var _local2 = _local4.length - 1;
  3748.                 while (_local2 >= 0) {
  3749.                     gotoAndPlay(_local3 + _local4[_local2]);
  3750.                     _local2--;
  3751.                 }
  3752.             } while  (_local5.length > 0);
  3753.             updateAfterStateChange();
  3754.         }
  3755.         function getStatePrefixes() {
  3756.             return((_selected ? (["selected_", ""]) : ([""])));
  3757.         }
  3758.         function changeFocus() {
  3759.             if (_disabled) {
  3760.                 return(undefined);
  3761.             }
  3762.             if (focusIndicator == null) {
  3763.                 setState(((_focused || (_displayFocus)) ? "over" : "out"));
  3764.                 if (pressedByKeyboard && (!_focused)) {
  3765.                     pressedByKeyboard = false;
  3766.                 }
  3767.             }
  3768.             if (focusIndicator != null) {
  3769.                 if (focusIndicator._totalframes == 1) {
  3770.                     focusIndicator._visible = _focused != 0;
  3771.                 } else {
  3772.                     focusIndicator.gotoAndPlay((_focused ? "show" : "hide"));
  3773.                     focusIndicator.gotoAndPlay("state" + _focused);
  3774.                 }
  3775.                 if (pressedByKeyboard && (!_focused)) {
  3776.                     setState("kb_release");
  3777.                     pressedByKeyboard = false;
  3778.                 }
  3779.             }
  3780.         }
  3781.         function handleMouseRollOver(controllerIdx) {
  3782.             if (_disabled) {
  3783.                 return(undefined);
  3784.             }
  3785.             if (((!_focused) && (!_displayFocus)) || (focusIndicator != null)) {
  3786.                 setState("over");
  3787.             }
  3788.             dispatchEventAndSound({type:"rollOver", controllerIdx:controllerIdx});
  3789.         }
  3790.         function handleMouseRollOut(controllerIdx) {
  3791.             if (_disabled) {
  3792.                 return(undefined);
  3793.             }
  3794.             if (((!_focused) && (!_displayFocus)) || (focusIndicator != null)) {
  3795.                 setState("out");
  3796.             }
  3797.             dispatchEventAndSound({type:"rollOut", controllerIdx:controllerIdx});
  3798.         }
  3799.         function handleMousePress(controllerIdx, keyboardOrMouse, button) {
  3800.             if (_disabled) {
  3801.                 return(undefined);
  3802.             }
  3803.             if (!_disableFocus) {
  3804.                 Selection.setFocus(this, controllerIdx);
  3805.             }
  3806.             setState("down");
  3807.             dispatchEventAndSound({type:"press", controllerIdx:controllerIdx, button:button});
  3808.             if (autoRepeat) {
  3809.                 buttonRepeatInterval = setInterval(this, "beginButtonRepeat", buttonRepeatDelay, controllerIdx, button);
  3810.             }
  3811.         }
  3812.         function handlePress(controllerIdx) {
  3813.             if (_disabled) {
  3814.                 return(undefined);
  3815.             }
  3816.             pressedByKeyboard = true;
  3817.             setState(((focusIndicator == null) ? "down" : "kb_down"));
  3818.             dispatchEventAndSound({type:"press", controllerIdx:controllerIdx});
  3819.         }
  3820.         function handleMouseRelease(controllerIdx, keyboardOrMouse, button) {
  3821.             if (_disabled) {
  3822.                 return(undefined);
  3823.             }
  3824.             clearInterval(buttonRepeatInterval);
  3825.             delete buttonRepeatInterval;
  3826.             if (doubleClickEnabled) {
  3827.                 if (doubleClickInterval == null) {
  3828.                     doubleClickInterval = setInterval(this, "doubleClickExpired", doubleClickDuration);
  3829.                 } else {
  3830.                     doubleClickExpired();
  3831.                     dispatchEventAndSound({type:"doubleClick", controllerIdx:controllerIdx, button:button});
  3832.                     setState("release");
  3833.                     return(undefined);
  3834.                 }
  3835.             }
  3836.             setState("release");
  3837.             handleClick(controllerIdx, button);
  3838.         }
  3839.         function handleRelease(controllerIdx) {
  3840.             if (_disabled) {
  3841.                 return(undefined);
  3842.             }
  3843.             setState(((focusIndicator == null) ? "release" : "kb_release"));
  3844.             handleClick(controllerIdx);
  3845.             pressedByKeyboard = false;
  3846.         }
  3847.         function handleClick(controllerIdx, button) {
  3848.             if (toggle) {
  3849.                 selected = (!_selected);
  3850.             }
  3851.             dispatchEventAndSound({type:"click", controllerIdx:controllerIdx, button:button});
  3852.         }
  3853.         function handleDragOver(controllerIdx, button) {
  3854.             if (_disabled || (lockDragStateChange)) {
  3855.                 return(undefined);
  3856.             }
  3857.             if (_focused || (_displayFocus)) {
  3858.                 setState(((focusIndicator == null) ? "down" : "kb_down"));
  3859.             } else {
  3860.                 setState("over");
  3861.             }
  3862.             dispatchEvent({type:"dragOver", controllerIdx:controllerIdx, button:button});
  3863.         }
  3864.         function handleDragOut(controllerIdx, button) {
  3865.             if (_disabled || (lockDragStateChange)) {
  3866.                 return(undefined);
  3867.             }
  3868.             if (_focused || (_displayFocus)) {
  3869.                 setState(((focusIndicator == null) ? "release" : "kb_release"));
  3870.             } else {
  3871.                 setState("out");
  3872.             }
  3873.             dispatchEvent({type:"dragOut", controllerIdx:controllerIdx, button:button});
  3874.         }
  3875.         function handleReleaseOutside(controllerIdx, button) {
  3876.             clearRepeatInterval();
  3877.             if (_disabled) {
  3878.                 return(undefined);
  3879.             }
  3880.             if (lockDragStateChange) {
  3881.                 if (_focused || (_displayFocus)) {
  3882.                     setState(((focusIndicator == null) ? "release" : "kb_release"));
  3883.                 } else {
  3884.                     setState("kb_release");
  3885.                 }
  3886.             }
  3887.             dispatchEvent({type:"releaseOutside", state:state, button:button});
  3888.         }
  3889.         function doubleClickExpired() {
  3890.             clearInterval(doubleClickInterval);
  3891.             delete doubleClickInterval;
  3892.         }
  3893.         function beginButtonRepeat(controllerIdx, button) {
  3894.             clearRepeatInterval();
  3895.             buttonRepeatInterval = setInterval(this, "handleButtonRepeat", buttonRepeatDuration, controllerIdx, button);
  3896.         }
  3897.         function handleButtonRepeat(controllerIdx, button) {
  3898.             dispatchEventAndSound({type:"click", controllerIdx:controllerIdx, button:button});
  3899.         }
  3900.         function clearRepeatInterval() {
  3901.             clearInterval(buttonRepeatInterval);
  3902.             delete buttonRepeatInterval;
  3903.         }
  3904.         var state = "up";
  3905.         var toggle = false;
  3906.         var doubleClickEnabled = false;
  3907.         var autoRepeat = false;
  3908.         var lockDragStateChange = false;
  3909.         var soundMap = {theme:"default", focusIn:"focusIn", focusOut:"focusOut", select:"select", rollOver:"rollOver", rollOut:"rollOut", press:"press", doubleClick:"doubleClick", click:"click"};
  3910.         var _selected = false;
  3911.         var _autoSize = "none";
  3912.         var _disableFocus = false;
  3913.         var _disableConstraints = false;
  3914.         var doubleClickDuration = 250;
  3915.         var buttonRepeatDuration = 100;
  3916.         var buttonRepeatDelay = 100;
  3917.         var pressedByKeyboard = false;
  3918.         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"]};
  3919.     }
  3920. 
  3921. //----------------------------------------------------------------------
  3922. //Symbol 18 MovieClip [ScrollBar_track] Frame 20
  3923. //----------------------------------------------------------------------
  3924.     stop();
  3925. 
  3926. //----------------------------------------------------------------------
  3927. //Symbol 19 MovieClip [DLCScrollBar] Frame 1
  3928. //----------------------------------------------------------------------
  3929.     #initclip 42
  3930.     Object.registerClass("DLCScrollBar", gfx.controls.ScrollBar);
  3931.     #endinitclip
  3932.  
  3933. 
  3934. //----------------------------------------------------------------------
  3935. //Symbol 16 MovieClip [ScrollIndicator_downArrow] Frame 1
  3936. //----------------------------------------------------------------------
  3937.     #initclip 40
  3938.     Object.registerClass("ScrollIndicator_downArrow", gfx.controls.Button);
  3939.     #endinitclip
  3940.  
  3941. 
  3942. //----------------------------------------------------------------------
  3943. //Symbol 12 MovieClip [ScrollBar_thumb] Frame 1
  3944. //----------------------------------------------------------------------
  3945.     #initclip 38
  3946.     Object.registerClass("ScrollBar_thumb", gfx.controls.Button);
  3947.     #endinitclip
  3948.  
  3949. 
  3950. //----------------------------------------------------------------------
  3951. //Symbol 59 MovieClip [__Packages.com.greensock.OverwriteManager] Frame 0
  3952. //----------------------------------------------------------------------
  3953.     class com.greensock.OverwriteManager
  3954.     {
  3955.         static var mode, enabled;
  3956.         function OverwriteManager () {
  3957.         }
  3958.         static function init(defaultMode) {
  3959.             if (com.greensock.TweenLite.version < 11.6) {
  3960.                 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.");
  3961.             }
  3962.             com.greensock.TweenLite.overwriteManager = com.greensock.OverwriteManager;
  3963.             mode = ((defaultMode == undefined) ? 2 : (defaultMode));
  3964.             enabled = true;
  3965.             return(mode);
  3966.         }
  3967.         static function manageOverwrites(tween, props, targetTweens, mode) {
  3968.             var _local3;
  3969.             var _local10;
  3970.             var _local1;
  3971.             if (mode >= 4) {
  3972.                 var _local17 = targetTweens.length;
  3973.                 _local3 = 0;
  3974.                 while (_local3 < _local17) {
  3975.                     _local1 = targetTweens[_local3];
  3976.                     if (_local1 != tween) {
  3977.                         if (_local1.setEnabled(false, false)) {
  3978.                             _local10 = true;
  3979.                         }
  3980.                     } else if (mode == 5) {
  3981.                         break;
  3982.                     }
  3983.                     _local3++;
  3984.                 }
  3985.                 return(_local10);
  3986.             }
  3987.             var _local5 = tween.cachedStartTime + 1E-10;
  3988.             var _local9 = [];
  3989.             var _local13 = [];
  3990.             var _local15 = 0;
  3991.             var _local12 = 0;
  3992.             _local3 = targetTweens.length;
  3993.             while (_local3-- , _local3 > -1) {
  3994.                 _local1 = targetTweens[_local3];
  3995.                 if (((_local1 == tween) || (_local1.gc)) || ((!_local1.initted) && ((_local5 - _local1.cachedStartTime) <= 2E-10))) {
  3996.                 } else if (_local1.timeline != tween.timeline) {
  3997.                     if (!getGlobalPaused(_local1)) {
  3998.                         _local13[_local15++] = _local1;
  3999.                     }
  4000.                 } else if ((((_local1.cachedStartTime <= _local5) && (((_local1.cachedStartTime + _local1.__get__totalDuration()) + 1E-10) > _local5)) && (!_local1.cachedPaused)) && (!((tween.cachedDuration == 0) && ((_local5 - _local1.cachedStartTime) <= 2E-10)))) {
  4001.                     _local9[_local12++] = _local1;
  4002.                 }
  4003.             }
  4004.             if (_local15 != 0) {
  4005.                 var _local6 = tween.cachedTimeScale;
  4006.                 var _local7 = _local5;
  4007.                 var _local4;
  4008.                 var _local11;
  4009.                 var _local2;
  4010.                 _local2 = tween.timeline;
  4011.                 while (_local2) {
  4012.                     _local6 = _local6 * _local2.cachedTimeScale;
  4013.                     _local7 = _local7 + _local2.cachedStartTime;
  4014.                     _local2 = _local2.timeline;
  4015.                 }
  4016.                 _local5 = _local6 * _local7;
  4017.                 _local3 = _local15;
  4018.                 while (_local3-- , _local3 > -1) {
  4019.                     _local4 = _local13[_local3];
  4020.                     _local6 = _local4.cachedTimeScale;
  4021.                     _local7 = _local4.cachedStartTime;
  4022.                     _local2 = _local4.timeline;
  4023.                     while (_local2) {
  4024.                         _local6 = _local6 * _local2.cachedTimeScale;
  4025.                         _local7 = _local7 + _local2.cachedStartTime;
  4026.                         _local2 = _local2.timeline;
  4027.                     }
  4028.                     _local11 = _local6 * _local7;
  4029.                     if ((_local11 <= _local5) && ((((_local11 + (_local4.__get__totalDuration() * _local6)) + 1E-10) > _local5) || (_local4.cachedDuration == 0))) {
  4030.                         _local9[_local12++] = _local4;
  4031.                     }
  4032.                 }
  4033.             }
  4034.             if (_local12 == 0) {
  4035.                 return(_local10);
  4036.             }
  4037.             _local3 = _local12;
  4038.             if (mode == 2) {
  4039.                 while (_local3-- , _local3 > -1) {
  4040.                     _local1 = _local9[_local3];
  4041.                     if (_local1.killVars(props)) {
  4042.                         _local10 = true;
  4043.                     }
  4044.                     if ((_local1.cachedPT1 == undefined) && (_local1.initted)) {
  4045.                         _local1.setEnabled(false, false);
  4046.                     }
  4047.                 }
  4048.             } else {
  4049.                 while (_local3-- , _local3 > -1) {
  4050.                     if (_local9[_local3].setEnabled(false, false)) {
  4051.                         _local10 = true;
  4052.                     }
  4053.                 }
  4054.             }
  4055.             return(_local10);
  4056.         }
  4057.         static function getGlobalPaused(tween) {
  4058.             while (tween) {
  4059.                 if (tween.cachedPaused) {
  4060.                     return(true);
  4061.                 }
  4062.                 tween = tween.timeline;
  4063.             }
  4064.             return(false);
  4065.         }
  4066.         static var version = 6.1;
  4067.         static var NONE = 0;
  4068.         static var ALL_IMMEDIATE = 1;
  4069.         static var AUTO = 2;
  4070.         static var CONCURRENT = 3;
  4071.         static var ALL_ONSTART = 4;
  4072.         static var PREEXISTING = 5;
  4073.     }
  4074. 
  4075. //----------------------------------------------------------------------
  4076. //Symbol 55 MovieClip [__Packages.com.greensock.core.TweenCore] Frame 0
  4077. //----------------------------------------------------------------------
  4078.     class com.greensock.core.TweenCore
  4079.     {
  4080.         static var _classInitted;
  4081.         var vars, cachedDuration, cachedTotalDuration, _delay, cachedTimeScale, active, cachedTotalTime, cachedTime, data, gc, initted, cacheIsDirty, cachedPaused, cachedReversed, _rawPrevTime, timeline, cachedOrphan, cachedStartTime, cachedPauseTime;
  4082.         function TweenCore (duration, vars) {
  4083.             this.vars = vars || ({});
  4084.             cachedDuration = (cachedTotalDuration = duration || 0);
  4085.             _delay = Number(this.vars.delay) || 0;
  4086.             cachedTimeScale = this.vars.timeScale || 1;
  4087.             active = Boolean(((duration == 0) && (_delay == 0)) && (this.vars.immediateRender != false));
  4088.             cachedTotalTime = (cachedTime = 0);
  4089.             data = this.vars.data;
  4090.             gc = (initted = (cacheIsDirty = (cachedPaused = (cachedReversed = false))));
  4091.             _rawPrevTime = -1;
  4092.             if (!_classInitted) {
  4093.                 if ((com.greensock.TweenLite.rootFrame == undefined) && (com.greensock.TweenLite.initClass != undefined)) {
  4094.                     com.greensock.TweenLite.initClass();
  4095.                     _classInitted = true;
  4096.                 } else {
  4097.                     return;
  4098.                 }
  4099.             }
  4100.             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))));
  4101.             _local2.insert(this, _local2.cachedTotalTime);
  4102.             if (this.vars.reversed) {
  4103.                 cachedReversed = true;
  4104.             }
  4105.             if (this.vars.paused) {
  4106.                 paused = (true);
  4107.             }
  4108.         }
  4109.         function play() {
  4110.             reversed = (false);
  4111.             paused = (false);
  4112.         }
  4113.         function pause() {
  4114.             paused = (true);
  4115.         }
  4116.         function resume() {
  4117.             paused = (false);
  4118.         }
  4119.         function restart(includeDelay, suppressEvents) {
  4120.             reversed = (false);
  4121.             paused = (false);
  4122.             setTotalTime((includeDelay ? (-_delay) : 0), Boolean(suppressEvents != false));
  4123.         }
  4124.         function reverse(forceResume) {
  4125.             reversed = (true);
  4126.             if (forceResume != false) {
  4127.                 paused = (false);
  4128.             } else if (gc) {
  4129.                 setEnabled(true, false);
  4130.             }
  4131.         }
  4132.         function renderTime(time, suppressEvents, force) {
  4133.         }
  4134.         function complete(skipRender, suppressEvents) {
  4135.             if (!skipRender) {
  4136.                 renderTime(totalDuration, suppressEvents, false);
  4137.                 return(undefined);
  4138.             }
  4139.             if (timeline.autoRemoveChildren) {
  4140.                 setEnabled(false, false);
  4141.             } else {
  4142.                 active = false;
  4143.             }
  4144.             if (!suppressEvents) {
  4145.                 if ((vars.onComplete && (cachedTotalTime >= cachedTotalDuration)) && (!cachedReversed)) {
  4146.                     vars.onComplete.apply(vars.onCompleteScope, vars.onCompleteParams);
  4147.                 } else if ((cachedReversed && (cachedTotalTime == 0)) && (vars.onReverseComplete)) {
  4148.                     vars.onReverseComplete.apply(vars.onReverseCompleteScope, vars.onReverseCompleteParams);
  4149.                 }
  4150.             }
  4151.         }
  4152.         function invalidate() {
  4153.         }
  4154.         function setEnabled(enabled, ignoreTimeline) {
  4155.             gc = !enabled;
  4156.             if (enabled) {
  4157.                 active = Boolean(((!cachedPaused) && (cachedTotalTime > 0)) && (cachedTotalTime < cachedTotalDuration));
  4158.                 if ((ignoreTimeline != true) && (cachedOrphan)) {
  4159.                     timeline.insert(this, cachedStartTime - _delay);
  4160.                 }
  4161.             } else {
  4162.                 active = false;
  4163.                 if ((ignoreTimeline != true) && (!cachedOrphan)) {
  4164.                     timeline.remove(this, true);
  4165.                 }
  4166.             }
  4167.             return(false);
  4168.         }
  4169.         function kill() {
  4170.             setEnabled(false, false);
  4171.         }
  4172.         function setDirtyCache(includeSelf) {
  4173.             var _local2 = ((includeSelf != false) ? this : (timeline));
  4174.             while (_local2) {
  4175.                 _local2.cacheIsDirty = true;
  4176.                 _local2 = _local2.timeline;
  4177.             }
  4178.         }
  4179.         function setTotalTime(time, suppressEvents) {
  4180.             if (timeline) {
  4181.                 var _local3 = (cachedPaused ? (cachedPauseTime) : (timeline.cachedTotalTime));
  4182.                 if (cachedReversed) {
  4183.                     var _local4 = (cacheIsDirty ? (totalDuration) : (cachedTotalDuration));
  4184.                     cachedStartTime = _local3 - ((_local4 - time) / cachedTimeScale);
  4185.                 } else {
  4186.                     cachedStartTime = _local3 - (time / cachedTimeScale);
  4187.                 }
  4188.                 if (!timeline.cacheIsDirty) {
  4189.                     setDirtyCache(false);
  4190.                 }
  4191.                 if (cachedTotalTime != time) {
  4192.                     renderTime(time, suppressEvents, false);
  4193.                 }
  4194.             }
  4195.         }
  4196.         function get delay() {
  4197.             return(_delay);
  4198.         }
  4199.         function set delay(n) {
  4200.             startTime = startTime + (n - _delay);
  4201.             _delay = n;
  4202.             //return(delay);
  4203.         }
  4204.         function get duration() {
  4205.             return(cachedDuration);
  4206.         }
  4207.         function set duration(n) {
  4208.             var _local2 = n / cachedDuration;
  4209.             cachedDuration = (cachedTotalDuration = n);
  4210.             setDirtyCache(true);
  4211.             if ((active && (!cachedPaused)) && (n != 0)) {
  4212.                 setTotalTime(cachedTotalTime * _local2, true);
  4213.             }
  4214.             //return(duration);
  4215.         }
  4216.         function get totalDuration() {
  4217.             return(cachedTotalDuration);
  4218.         }
  4219.         function set totalDuration(n) {
  4220.             duration = (n);
  4221.             //return(totalDuration);
  4222.         }
  4223.         function get currentTime() {
  4224.             return(cachedTime);
  4225.         }
  4226.         function set currentTime(n) {
  4227.             setTotalTime(n, false);
  4228.             //return(currentTime);
  4229.         }
  4230.         function get totalTime() {
  4231.             return(cachedTotalTime);
  4232.         }
  4233.         function set totalTime(n) {
  4234.             setTotalTime(n, false);
  4235.             //return(totalTime);
  4236.         }
  4237.         function get startTime() {
  4238.             return(cachedStartTime);
  4239.         }
  4240.         function set startTime(n) {
  4241.             if ((timeline != undefined) && ((n != cachedStartTime) || (gc))) {
  4242.                 timeline.insert(this, n - _delay);
  4243.             } else {
  4244.                 cachedStartTime = n;
  4245.             }
  4246.             //return(startTime);
  4247.         }
  4248.         function get reversed() {
  4249.             return(cachedReversed);
  4250.         }
  4251.         function set reversed(b) {
  4252.             if (b != cachedReversed) {
  4253.                 cachedReversed = b;
  4254.                 setTotalTime(cachedTotalTime, true);
  4255.             }
  4256.             //return(reversed);
  4257.         }
  4258.         function get paused() {
  4259.             return(cachedPaused);
  4260.         }
  4261.         function set paused(b) {
  4262.             if ((b != cachedPaused) && (timeline)) {
  4263.                 if (b) {
  4264.                     cachedPauseTime = timeline.rawTime;
  4265.                 } else {
  4266.                     cachedStartTime = cachedStartTime + (timeline.__get__rawTime() - cachedPauseTime);
  4267.                     cachedPauseTime = NaN;
  4268.                     setDirtyCache(false);
  4269.                 }
  4270.                 cachedPaused = b;
  4271.                 active = Boolean(((!cachedPaused) && (cachedTotalTime > 0)) && (cachedTotalTime < cachedTotalDuration));
  4272.             }
  4273.             if ((!b) && (gc)) {
  4274.                 setEnabled(true, false);
  4275.             }
  4276.             //return(paused);
  4277.         }
  4278.         static var version = 1.693;
  4279.     }
  4280. 
  4281. //----------------------------------------------------------------------
  4282. //Instance of Symbol 21 MovieClip [ItemList] "itemList" in Symbol 24 MovieClip [ItemView] Frame 1
  4283. //----------------------------------------------------------------------
  4284. //component parameters
  4285. onClipEvent (construct) {
  4286.     textOption = "Shrink To Fit";
  4287.     entryRenderer = "ItemListEntry";
  4288. }
  4289. 
  4290. //----------------------------------------------------------------------
  4291. //Symbol 15 MovieClip [ScrollIndicator_upArrow] Frame 10
  4292. //----------------------------------------------------------------------
  4293.     stop();
Advertisement
Add Comment
Please, Sign In to add comment