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

  1. package com.althea.client.shufflr.controller
  2. {
  3.    import com.althea.client.shufflr.model.MenuItemProxy;
  4.    import org.puremvc.as3.multicore.interfaces.INotification;
  5.    import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
  6.    
  7.    public class LoadNextDataCommand extends SimpleCommand
  8.    {
  9.       public function LoadNextDataCommand()
  10.       {
  11.          super();
  12.       }
  13.       
  14.       override public function execute(param1:INotification) : void
  15.       {
  16.          var _loc2_:Object = Object(param1.getBody());
  17.          var _loc3_:MenuItemProxy = facade.retrieveProxy(MenuItemProxy.NAME) as MenuItemProxy;
  18.          _loc3_.loadData(_loc2_,param1.getType());
  19.       }
  20.    }
  21. }
  22.  
  23.