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