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

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