home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / facebook / data / stream / AttachmentData.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  7.1 KB  |  242 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 AttachmentData implements IEventDispatcher
  9.    {
  10.       private var _3373707name:String;
  11.       
  12.       private var _103772132media:Array;
  13.       
  14.       private var _3211051href:String;
  15.       
  16.       private var _bindingEventDispatcher:EventDispatcher = new EventDispatcher(IEventDispatcher(this));
  17.       
  18.       private var _102727412label:String;
  19.       
  20.       private var _3029410body:String;
  21.       
  22.       private var _552573414caption:String;
  23.       
  24.       private var _926053069properties:Array;
  25.       
  26.       private var _1724546052description:String;
  27.       
  28.       private var _3556653text:String;
  29.       
  30.       private var _3226745icon:String;
  31.       
  32.       private var _110371416title:String;
  33.       
  34.       public function AttachmentData()
  35.       {
  36.          super();
  37.       }
  38.       
  39.       public function hasEventListener(param1:String) : Boolean
  40.       {
  41.          return this._bindingEventDispatcher.hasEventListener(param1);
  42.       }
  43.       
  44.       public function willTrigger(param1:String) : Boolean
  45.       {
  46.          return this._bindingEventDispatcher.willTrigger(param1);
  47.       }
  48.       
  49.       [Bindable(event="propertyChange")]
  50.       public function get name() : String
  51.       {
  52.          return this._3373707name;
  53.       }
  54.       
  55.       public function set name(param1:String) : void
  56.       {
  57.          var _loc2_:Object = this._3373707name;
  58.          if(_loc2_ !== param1)
  59.          {
  60.             this._3373707name = param1;
  61.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"name",_loc2_,param1));
  62.          }
  63.       }
  64.       
  65.       [Bindable(event="propertyChange")]
  66.       public function get body() : String
  67.       {
  68.          return this._3029410body;
  69.       }
  70.       
  71.       [Bindable(event="propertyChange")]
  72.       public function get href() : String
  73.       {
  74.          return this._3211051href;
  75.       }
  76.       
  77.       [Bindable(event="propertyChange")]
  78.       public function get text() : String
  79.       {
  80.          return this._3556653text;
  81.       }
  82.       
  83.       public function set title(param1:String) : void
  84.       {
  85.          var _loc2_:Object = this._110371416title;
  86.          if(_loc2_ !== param1)
  87.          {
  88.             this._110371416title = param1;
  89.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"title",_loc2_,param1));
  90.          }
  91.       }
  92.       
  93.       [Bindable(event="propertyChange")]
  94.       public function get properties() : Array
  95.       {
  96.          return this._926053069properties;
  97.       }
  98.       
  99.       public function dispatchEvent(param1:Event) : Boolean
  100.       {
  101.          return this._bindingEventDispatcher.dispatchEvent(param1);
  102.       }
  103.       
  104.       public function set body(param1:String) : void
  105.       {
  106.          var _loc2_:Object = this._3029410body;
  107.          if(_loc2_ !== param1)
  108.          {
  109.             this._3029410body = param1;
  110.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"body",_loc2_,param1));
  111.          }
  112.       }
  113.       
  114.       public function set media(param1:Array) : void
  115.       {
  116.          var _loc2_:Object = this._103772132media;
  117.          if(_loc2_ !== param1)
  118.          {
  119.             this._103772132media = param1;
  120.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"media",_loc2_,param1));
  121.          }
  122.       }
  123.       
  124.       public function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
  125.       {
  126.          this._bindingEventDispatcher.removeEventListener(param1,param2,param3);
  127.       }
  128.       
  129.       public function set caption(param1:String) : void
  130.       {
  131.          var _loc2_:Object = this._552573414caption;
  132.          if(_loc2_ !== param1)
  133.          {
  134.             this._552573414caption = param1;
  135.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"caption",_loc2_,param1));
  136.          }
  137.       }
  138.       
  139.       [Bindable(event="propertyChange")]
  140.       public function get title() : String
  141.       {
  142.          return this._110371416title;
  143.       }
  144.       
  145.       public function set text(param1:String) : void
  146.       {
  147.          var _loc2_:Object = this._3556653text;
  148.          if(_loc2_ !== param1)
  149.          {
  150.             this._3556653text = param1;
  151.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"text",_loc2_,param1));
  152.          }
  153.       }
  154.       
  155.       public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
  156.       {
  157.          this._bindingEventDispatcher.addEventListener(param1,param2,param3,param4,param5);
  158.       }
  159.       
  160.       public function set href(param1:String) : void
  161.       {
  162.          var _loc2_:Object = this._3211051href;
  163.          if(_loc2_ !== param1)
  164.          {
  165.             this._3211051href = param1;
  166.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"href",_loc2_,param1));
  167.          }
  168.       }
  169.       
  170.       [Bindable(event="propertyChange")]
  171.       public function get media() : Array
  172.       {
  173.          return this._103772132media;
  174.       }
  175.       
  176.       public function set properties(param1:Array) : void
  177.       {
  178.          var _loc2_:Object = this._926053069properties;
  179.          if(_loc2_ !== param1)
  180.          {
  181.             this._926053069properties = param1;
  182.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"properties",_loc2_,param1));
  183.          }
  184.       }
  185.       
  186.       public function set label(param1:String) : void
  187.       {
  188.          var _loc2_:Object = this._102727412label;
  189.          if(_loc2_ !== param1)
  190.          {
  191.             this._102727412label = param1;
  192.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"label",_loc2_,param1));
  193.          }
  194.       }
  195.       
  196.       [Bindable(event="propertyChange")]
  197.       public function get caption() : String
  198.       {
  199.          return this._552573414caption;
  200.       }
  201.       
  202.       public function set icon(param1:String) : void
  203.       {
  204.          var _loc2_:Object = this._3226745icon;
  205.          if(_loc2_ !== param1)
  206.          {
  207.             this._3226745icon = param1;
  208.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"icon",_loc2_,param1));
  209.          }
  210.       }
  211.       
  212.       [Bindable(event="propertyChange")]
  213.       public function get label() : String
  214.       {
  215.          return this._102727412label;
  216.       }
  217.       
  218.       public function set description(param1:String) : void
  219.       {
  220.          var _loc2_:Object = this._1724546052description;
  221.          if(_loc2_ !== param1)
  222.          {
  223.             this._1724546052description = param1;
  224.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"description",_loc2_,param1));
  225.          }
  226.       }
  227.       
  228.       [Bindable(event="propertyChange")]
  229.       public function get icon() : String
  230.       {
  231.          return this._3226745icon;
  232.       }
  233.       
  234.       [Bindable(event="propertyChange")]
  235.       public function get description() : String
  236.       {
  237.          return this._1724546052description;
  238.       }
  239.    }
  240. }
  241.  
  242.