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

  1. package com.althea.client.shufflr.controller
  2. {
  3.    import com.althea.client.shufflr.ApplicationFacade;
  4.    import com.althea.client.shufflr.model.MiscCommandProxy;
  5.    import org.puremvc.as3.multicore.interfaces.ICommand;
  6.    import org.puremvc.as3.multicore.interfaces.INotification;
  7.    import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
  8.    
  9.    public class MiscCommand extends SimpleCommand implements ICommand
  10.    {
  11.       public function MiscCommand()
  12.       {
  13.          super();
  14.       }
  15.       
  16.       override public function execute(param1:INotification) : void
  17.       {
  18.          var _loc2_:String = param1.getName();
  19.          switch(_loc2_)
  20.          {
  21.             case ApplicationFacade.CHECK_INVITE_CODE_ENABLED:
  22.                this.proxy.isInviteEnabled();
  23.          }
  24.       }
  25.       
  26.       private function get proxy() : MiscCommandProxy
  27.       {
  28.          return this.facade.retrieveProxy(MiscCommandProxy.NAME) as MiscCommandProxy;
  29.       }
  30.    }
  31. }
  32.  
  33.