home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / facebook / data / FacebookNetwork.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  3.9 KB  |  134 lines

  1. package com.facebook.data
  2. {
  3.    import flash.events.Event;
  4.    import flash.events.EventDispatcher;
  5.    import flash.events.IEventDispatcher;
  6.    import mx.events.PropertyChangeEvent;
  7.    
  8.    public class FacebookNetwork implements IEventDispatcher
  9.    {
  10.       private var _892481550status:String;
  11.       
  12.       private var _3575610type:String;
  13.       
  14.       private var _3373707name:String;
  15.       
  16.       private var _3704893year:String;
  17.       
  18.       private var _109065nid:int;
  19.       
  20.       private var _bindingEventDispatcher:EventDispatcher = new EventDispatcher(IEventDispatcher(this));
  21.       
  22.       public function FacebookNetwork()
  23.       {
  24.          super();
  25.       }
  26.       
  27.       public function dispatchEvent(param1:Event) : Boolean
  28.       {
  29.          return this._bindingEventDispatcher.dispatchEvent(param1);
  30.       }
  31.       
  32.       [Bindable(event="propertyChange")]
  33.       public function get type() : String
  34.       {
  35.          return this._3575610type;
  36.       }
  37.       
  38.       public function hasEventListener(param1:String) : Boolean
  39.       {
  40.          return this._bindingEventDispatcher.hasEventListener(param1);
  41.       }
  42.       
  43.       public function willTrigger(param1:String) : Boolean
  44.       {
  45.          return this._bindingEventDispatcher.willTrigger(param1);
  46.       }
  47.       
  48.       [Bindable(event="propertyChange")]
  49.       public function get nid() : int
  50.       {
  51.          return this._109065nid;
  52.       }
  53.       
  54.       public function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
  55.       {
  56.          this._bindingEventDispatcher.removeEventListener(param1,param2,param3);
  57.       }
  58.       
  59.       [Bindable(event="propertyChange")]
  60.       public function get name() : String
  61.       {
  62.          return this._3373707name;
  63.       }
  64.       
  65.       public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
  66.       {
  67.          this._bindingEventDispatcher.addEventListener(param1,param2,param3,param4,param5);
  68.       }
  69.       
  70.       public function set nid(param1:int) : void
  71.       {
  72.          var _loc2_:Object = this._109065nid;
  73.          if(_loc2_ !== param1)
  74.          {
  75.             this._109065nid = param1;
  76.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"nid",_loc2_,param1));
  77.          }
  78.       }
  79.       
  80.       public function set name(param1:String) : void
  81.       {
  82.          var _loc2_:Object = this._3373707name;
  83.          if(_loc2_ !== param1)
  84.          {
  85.             this._3373707name = param1;
  86.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"name",_loc2_,param1));
  87.          }
  88.       }
  89.       
  90.       public function set status(param1:String) : void
  91.       {
  92.          var _loc2_:Object = this._892481550status;
  93.          if(_loc2_ !== param1)
  94.          {
  95.             this._892481550status = param1;
  96.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"status",_loc2_,param1));
  97.          }
  98.       }
  99.       
  100.       [Bindable(event="propertyChange")]
  101.       public function get status() : String
  102.       {
  103.          return this._892481550status;
  104.       }
  105.       
  106.       public function set type(param1:String) : void
  107.       {
  108.          var _loc2_:Object = this._3575610type;
  109.          if(_loc2_ !== param1)
  110.          {
  111.             this._3575610type = param1;
  112.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"type",_loc2_,param1));
  113.          }
  114.       }
  115.       
  116.       public function set year(param1:String) : void
  117.       {
  118.          var _loc2_:Object = this._3704893year;
  119.          if(_loc2_ !== param1)
  120.          {
  121.             this._3704893year = param1;
  122.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"year",_loc2_,param1));
  123.          }
  124.       }
  125.       
  126.       [Bindable(event="propertyChange")]
  127.       public function get year() : String
  128.       {
  129.          return this._3704893year;
  130.       }
  131.    }
  132. }
  133.  
  134.