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

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