home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / _ShufflrClientWatcherSetupUtil.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  809 b   |  28 lines

  1. package
  2. {
  3.    import flash.display.Sprite;
  4.    import mx.binding.IWatcherSetupUtil;
  5.    import mx.binding.PropertyWatcher;
  6.    import mx.core.IFlexModuleFactory;
  7.    
  8.    public class _ShufflrClientWatcherSetupUtil extends Sprite implements IWatcherSetupUtil
  9.    {
  10.       public function _ShufflrClientWatcherSetupUtil()
  11.       {
  12.          super();
  13.       }
  14.       
  15.       public static function init(param1:IFlexModuleFactory) : void
  16.       {
  17.          ShufflrClient.watcherSetupUtil = new _ShufflrClientWatcherSetupUtil();
  18.       }
  19.       
  20.       public function setup(param1:Object, param2:Function, param3:Array, param4:Array) : void
  21.       {
  22.          param4[0] = new PropertyWatcher("mainView",{"propertyChange":true},[param3[0]],param2);
  23.          param4[0].updateParent(param1);
  24.       }
  25.    }
  26. }
  27.  
  28.