SHARE
TWEET

Untitled

a guest Oct 21st, 2019 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    [Frame(extraClass="FlexInit")]
  2.    [States("editor")]
  3.    [DynamicStateHost(name="multiverses")]
  4.    public class MainUI extends Module implements IBundleActivator, IStateClient2, ITideModule, IVisualElementContainer
  5.    {
  6.        
  7.      
  8.       private var _1307827859editor:UIService;
  9.      
  10.       private var _300911179marketplace:UIService;
  11.      
  12.       private var __moduleFactoryInitialized:Boolean = false;
  13.      
  14.       private var _context:IBundleContext;
  15.  
  16.       private var _1031813348targetBottom:Number;
  17.      
  18.       mx_internal var _MainUI_StylesInit_done:Boolean = false;
  19.      
  20.       public function MainUI()
  21.       {
  22.          this._serviceRegistrations = new Array();
  23.          super();
  24.          mx_internal::_document = this;
  25.          this.percentWidth = 100;
  26.          this.percentHeight = 100;
  27.          this.mxmlContentFactory = new DeferredInstanceFromFunction(this._MainUI_Array2_c);
  28.          this.currentState = "marketplace";
  29.          this.addEventListener("creationComplete",this.___MainUI_Module1_creationComplete);
  30.          var _loc1_:DeferredInstanceFromFunction = new DeferredInstanceFromFunction(this._MainUI_UIService1_i);
  31.          var _loc2_:DeferredInstanceFromFunction = new DeferredInstanceFromFunction(this._MainUI_UIService2_i);
  32.          states = [new State({
  33.             "name":"marketplace",
  34.             "overrides":[new AddItems().initializeFromObject({
  35.                "itemsFactory":_loc1_,
  36.                "destination":null,
  37.                "position":"first"
  38.             })]
  39.          }),new State({
  40.             "name":"editor",
  41.             "overrides":[new AddItems().initializeFromObject({
  42.                "itemsFactory":_loc2_,
  43.                "destination":null,
  44.                "position":"first"
  45.             })]
  46.          })];
  47.       }
  48.  
  49.       private function _MainUI_UIService1_i() : UIService
  50.       {
  51.          var _loc1_:UIService = new UIService();
  52.          _loc1_.purpose = "marketplace";
  53.          _loc1_.percentWidth = 100;
  54.          _loc1_.percentHeight = 100;
  55.          _loc1_.bottom = 0;
  56.          _loc1_.id = "marketplace";
  57.          if(!_loc1_.document)
  58.          {
  59.             _loc1_.document = this;
  60.          }
  61.          this.marketplace = _loc1_;
  62.          BindingManager.executeBindings(this,"marketplace",this.marketplace);
  63.          return _loc1_;
  64.       }
  65.      
  66.       private function _MainUI_UIService2_i() : UIService
  67.       {
  68.          var _loc1_:UIService = new UIService();
  69.          _loc1_.purpose = "timeline";
  70.          _loc1_.percentWidth = 100;
  71.          _loc1_.percentHeight = 35;
  72.          _loc1_.bottom = 0;
  73.          _loc1_.id = "editor";
  74.          if(!_loc1_.document)
  75.          {
  76.             _loc1_.document = this;
  77.          }
  78.          this.editor = _loc1_;
  79.          BindingManager.executeBindings(this,"editor",this.editor);
  80.          return _loc1_;
  81.       }
  82.  
  83. [Bindable(event="propertyChange")]
  84.       public function get editor() : UIService
  85.       {
  86.          return this._1307827859editor;
  87.       }
  88.      
  89.       public function set editor(param1:UIService) : void
  90.       {
  91.          var _loc2_:Object = this._1307827859editor;
  92.          if(_loc2_ !== param1)
  93.          {
  94.             this._1307827859editor = param1;
  95.             if(this.hasEventListener("propertyChange"))
  96.             {
  97.                this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"editor",_loc2_,param1));
  98.             }
  99.          }
  100.       }
  101.      
  102.       [Bindable(event="propertyChange")]
  103.       public function get marketplace() : UIService
  104.       {
  105.          return this._300911179marketplace;
  106.       }
  107.      
  108.       public function set marketplace(param1:UIService) : void
  109.       {
  110.          var _loc2_:Object = this._300911179marketplace;
  111.          if(_loc2_ !== param1)
  112.          {
  113.             this._300911179marketplace = param1;
  114.             if(this.hasEventListener("propertyChange"))
  115.             {
  116.                this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"marketplace",_loc2_,param1));
  117.             }
  118.          }
  119.       }
  120.  
  121. ....
  122.  
  123. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top