home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / facebook / data / stream / ProfileData.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  3.4 KB  |  116 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 ProfileData implements IEventDispatcher
  9.    {
  10.       private var _bindingEventDispatcher:EventDispatcher = new EventDispatcher(IEventDispatcher(this));
  11.       
  12.       private var _116079url:String;
  13.       
  14.       private var _3373707name:String;
  15.       
  16.       private var _1214494066pic_square:String;
  17.       
  18.       private var _3355id:String;
  19.       
  20.       public function ProfileData()
  21.       {
  22.          super();
  23.       }
  24.       
  25.       public function dispatchEvent(param1:Event) : Boolean
  26.       {
  27.          return this._bindingEventDispatcher.dispatchEvent(param1);
  28.       }
  29.       
  30.       public function willTrigger(param1:String) : Boolean
  31.       {
  32.          return this._bindingEventDispatcher.willTrigger(param1);
  33.       }
  34.       
  35.       public function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
  36.       {
  37.          this._bindingEventDispatcher.removeEventListener(param1,param2,param3);
  38.       }
  39.       
  40.       [Bindable(event="propertyChange")]
  41.       public function get name() : String
  42.       {
  43.          return this._3373707name;
  44.       }
  45.       
  46.       public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
  47.       {
  48.          this._bindingEventDispatcher.addEventListener(param1,param2,param3,param4,param5);
  49.       }
  50.       
  51.       public function set name(param1:String) : void
  52.       {
  53.          var _loc2_:Object = this._3373707name;
  54.          if(_loc2_ !== param1)
  55.          {
  56.             this._3373707name = param1;
  57.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"name",_loc2_,param1));
  58.          }
  59.       }
  60.       
  61.       [Bindable(event="propertyChange")]
  62.       public function get id() : String
  63.       {
  64.          return this._3355id;
  65.       }
  66.       
  67.       public function set url(param1:String) : void
  68.       {
  69.          var _loc2_:Object = this._116079url;
  70.          if(_loc2_ !== param1)
  71.          {
  72.             this._116079url = param1;
  73.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"url",_loc2_,param1));
  74.          }
  75.       }
  76.       
  77.       public function set pic_square(param1:String) : void
  78.       {
  79.          var _loc2_:Object = this._1214494066pic_square;
  80.          if(_loc2_ !== param1)
  81.          {
  82.             this._1214494066pic_square = param1;
  83.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"pic_square",_loc2_,param1));
  84.          }
  85.       }
  86.       
  87.       [Bindable(event="propertyChange")]
  88.       public function get url() : String
  89.       {
  90.          return this._116079url;
  91.       }
  92.       
  93.       [Bindable(event="propertyChange")]
  94.       public function get pic_square() : String
  95.       {
  96.          return this._1214494066pic_square;
  97.       }
  98.       
  99.       public function set id(param1:String) : void
  100.       {
  101.          var _loc2_:Object = this._3355id;
  102.          if(_loc2_ !== param1)
  103.          {
  104.             this._3355id = param1;
  105.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"id",_loc2_,param1));
  106.          }
  107.       }
  108.       
  109.       public function hasEventListener(param1:String) : Boolean
  110.       {
  111.          return this._bindingEventDispatcher.hasEventListener(param1);
  112.       }
  113.    }
  114. }
  115.  
  116.