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

  1. package com.facebook.data.fbml
  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 AttributeData implements IEventDispatcher
  9.    {
  10.       private var _1318671859default_value:String;
  11.       
  12.       private var _3373707name:String;
  13.       
  14.       private var _bindingEventDispatcher:EventDispatcher = new EventDispatcher(IEventDispatcher(this));
  15.       
  16.       private var _1724546052description:String;
  17.       
  18.       public function AttributeData()
  19.       {
  20.          super();
  21.       }
  22.       
  23.       public function dispatchEvent(param1:Event) : Boolean
  24.       {
  25.          return this._bindingEventDispatcher.dispatchEvent(param1);
  26.       }
  27.       
  28.       public function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
  29.       {
  30.          this._bindingEventDispatcher.removeEventListener(param1,param2,param3);
  31.       }
  32.       
  33.       [Bindable(event="propertyChange")]
  34.       public function get name() : String
  35.       {
  36.          return this._3373707name;
  37.       }
  38.       
  39.       public function hasEventListener(param1:String) : Boolean
  40.       {
  41.          return this._bindingEventDispatcher.hasEventListener(param1);
  42.       }
  43.       
  44.       public function set default_value(param1:String) : void
  45.       {
  46.          var _loc2_:Object = this._1318671859default_value;
  47.          if(_loc2_ !== param1)
  48.          {
  49.             this._1318671859default_value = param1;
  50.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"default_value",_loc2_,param1));
  51.          }
  52.       }
  53.       
  54.       public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
  55.       {
  56.          this._bindingEventDispatcher.addEventListener(param1,param2,param3,param4,param5);
  57.       }
  58.       
  59.       public function willTrigger(param1:String) : Boolean
  60.       {
  61.          return this._bindingEventDispatcher.willTrigger(param1);
  62.       }
  63.       
  64.       public function set name(param1:String) : void
  65.       {
  66.          var _loc2_:Object = this._3373707name;
  67.          if(_loc2_ !== param1)
  68.          {
  69.             this._3373707name = param1;
  70.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"name",_loc2_,param1));
  71.          }
  72.       }
  73.       
  74.       public function set description(param1:String) : void
  75.       {
  76.          var _loc2_:Object = this._1724546052description;
  77.          if(_loc2_ !== param1)
  78.          {
  79.             this._1724546052description = param1;
  80.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"description",_loc2_,param1));
  81.          }
  82.       }
  83.       
  84.       [Bindable(event="propertyChange")]
  85.       public function get default_value() : String
  86.       {
  87.          return this._1318671859default_value;
  88.       }
  89.       
  90.       [Bindable(event="propertyChange")]
  91.       public function get description() : String
  92.       {
  93.          return this._1724546052description;
  94.       }
  95.    }
  96. }
  97.  
  98.