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

  1. package com.facebook.data.stream
  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 LikesData implements IEventDispatcher
  9.    {
  10.       private var _600094315friends:Array;
  11.       
  12.       private var _3211051href:String;
  13.       
  14.       private var _126661978can_like:Boolean;
  15.       
  16.       private var _909675094sample:Array;
  17.       
  18.       private var _94851343count:uint;
  19.       
  20.       private var _bindingEventDispatcher:EventDispatcher = new EventDispatcher(IEventDispatcher(this));
  21.       
  22.       private var _1928023624user_likes:Boolean;
  23.       
  24.       public function LikesData()
  25.       {
  26.          super();
  27.       }
  28.       
  29.       public function dispatchEvent(param1:Event) : Boolean
  30.       {
  31.          return this._bindingEventDispatcher.dispatchEvent(param1);
  32.       }
  33.       
  34.       public function willTrigger(param1:String) : Boolean
  35.       {
  36.          return this._bindingEventDispatcher.willTrigger(param1);
  37.       }
  38.       
  39.       public function set can_like(param1:Boolean) : void
  40.       {
  41.          var _loc2_:Object = this._126661978can_like;
  42.          if(_loc2_ !== param1)
  43.          {
  44.             this._126661978can_like = param1;
  45.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"can_like",_loc2_,param1));
  46.          }
  47.       }
  48.       
  49.       public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
  50.       {
  51.          this._bindingEventDispatcher.addEventListener(param1,param2,param3,param4,param5);
  52.       }
  53.       
  54.       [Bindable(event="propertyChange")]
  55.       public function get count() : uint
  56.       {
  57.          return this._94851343count;
  58.       }
  59.       
  60.       public function set user_likes(param1:Boolean) : void
  61.       {
  62.          var _loc2_:Object = this._1928023624user_likes;
  63.          if(_loc2_ !== param1)
  64.          {
  65.             this._1928023624user_likes = param1;
  66.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"user_likes",_loc2_,param1));
  67.          }
  68.       }
  69.       
  70.       public function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
  71.       {
  72.          this._bindingEventDispatcher.removeEventListener(param1,param2,param3);
  73.       }
  74.       
  75.       public function set sample(param1:Array) : void
  76.       {
  77.          var _loc2_:Object = this._909675094sample;
  78.          if(_loc2_ !== param1)
  79.          {
  80.             this._909675094sample = param1;
  81.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"sample",_loc2_,param1));
  82.          }
  83.       }
  84.       
  85.       [Bindable(event="propertyChange")]
  86.       public function get friends() : Array
  87.       {
  88.          return this._600094315friends;
  89.       }
  90.       
  91.       public function set href(param1:String) : void
  92.       {
  93.          var _loc2_:Object = this._3211051href;
  94.          if(_loc2_ !== param1)
  95.          {
  96.             this._3211051href = param1;
  97.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"href",_loc2_,param1));
  98.          }
  99.       }
  100.       
  101.       [Bindable(event="propertyChange")]
  102.       public function get user_likes() : Boolean
  103.       {
  104.          return this._1928023624user_likes;
  105.       }
  106.       
  107.       public function set count(param1:uint) : void
  108.       {
  109.          var _loc2_:Object = this._94851343count;
  110.          if(_loc2_ !== param1)
  111.          {
  112.             this._94851343count = param1;
  113.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"count",_loc2_,param1));
  114.          }
  115.       }
  116.       
  117.       [Bindable(event="propertyChange")]
  118.       public function get can_like() : Boolean
  119.       {
  120.          return this._126661978can_like;
  121.       }
  122.       
  123.       [Bindable(event="propertyChange")]
  124.       public function get sample() : Array
  125.       {
  126.          return this._909675094sample;
  127.       }
  128.       
  129.       public function set friends(param1:Array) : void
  130.       {
  131.          var _loc2_:Object = this._600094315friends;
  132.          if(_loc2_ !== param1)
  133.          {
  134.             this._600094315friends = param1;
  135.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"friends",_loc2_,param1));
  136.          }
  137.       }
  138.       
  139.       public function hasEventListener(param1:String) : Boolean
  140.       {
  141.          return this._bindingEventDispatcher.hasEventListener(param1);
  142.       }
  143.       
  144.       [Bindable(event="propertyChange")]
  145.       public function get href() : String
  146.       {
  147.          return this._3211051href;
  148.       }
  149.    }
  150. }
  151.  
  152.