home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / facebook / data / stream / ActionLinkData.as next >
Encoding:
Text File  |  2010-06-23  |  2.4 KB  |  80 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 ActionLinkData implements IEventDispatcher
  9.    {
  10.       private var _3211051href:String;
  11.       
  12.       private var _bindingEventDispatcher:EventDispatcher = new EventDispatcher(IEventDispatcher(this));
  13.       
  14.       private var _3556653text:String;
  15.       
  16.       public function ActionLinkData()
  17.       {
  18.          super();
  19.       }
  20.       
  21.       public function dispatchEvent(param1:Event) : Boolean
  22.       {
  23.          return this._bindingEventDispatcher.dispatchEvent(param1);
  24.       }
  25.       
  26.       public function hasEventListener(param1:String) : Boolean
  27.       {
  28.          return this._bindingEventDispatcher.hasEventListener(param1);
  29.       }
  30.       
  31.       public function willTrigger(param1:String) : Boolean
  32.       {
  33.          return this._bindingEventDispatcher.willTrigger(param1);
  34.       }
  35.       
  36.       public function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
  37.       {
  38.          this._bindingEventDispatcher.removeEventListener(param1,param2,param3);
  39.       }
  40.       
  41.       [Bindable(event="propertyChange")]
  42.       public function get href() : String
  43.       {
  44.          return this._3211051href;
  45.       }
  46.       
  47.       public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
  48.       {
  49.          this._bindingEventDispatcher.addEventListener(param1,param2,param3,param4,param5);
  50.       }
  51.       
  52.       [Bindable(event="propertyChange")]
  53.       public function get text() : String
  54.       {
  55.          return this._3556653text;
  56.       }
  57.       
  58.       public function set text(param1:String) : void
  59.       {
  60.          var _loc2_:Object = this._3556653text;
  61.          if(_loc2_ !== param1)
  62.          {
  63.             this._3556653text = param1;
  64.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"text",_loc2_,param1));
  65.          }
  66.       }
  67.       
  68.       public function set href(param1:String) : void
  69.       {
  70.          var _loc2_:Object = this._3211051href;
  71.          if(_loc2_ !== param1)
  72.          {
  73.             this._3211051href = param1;
  74.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"href",_loc2_,param1));
  75.          }
  76.       }
  77.    }
  78. }
  79.  
  80.