home *** CD-ROM | disk | FTP | other *** search
- package com.althea.client.shufflr.controller
- {
- import com.althea.client.shufflr.ApplicationFacade;
- import com.althea.client.shufflr.model.HelloWorldProxy;
- import com.althea.client.shufflr.model.NavMapProxy;
- import com.althea.client.shufflr.model.PlayerConfProxy;
- import com.althea.client.shufflr.view.ApplicationMediator;
- import org.puremvc.as3.multicore.interfaces.INotification;
- import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
-
- public class ViewPrepCommand extends SimpleCommand
- {
- public function ViewPrepCommand()
- {
- super();
- }
-
- override public function execute(param1:INotification) : void
- {
- var _loc2_:Object = param1.getBody();
- facade.registerMediator(new ApplicationMediator(param1.getBody() as ShufflrClient));
- var _loc3_:HelloWorldProxy = facade.retrieveProxy(HelloWorldProxy.NAME) as HelloWorldProxy;
- _loc3_.helloWorld();
- var _loc4_:NavMapProxy = facade.retrieveProxy(NavMapProxy.NAME) as NavMapProxy;
- _loc4_.loadNavMapData();
- var _loc5_:PlayerConfProxy = facade.retrieveProxy(PlayerConfProxy.NAME) as PlayerConfProxy;
- _loc5_.getPlayerConf();
- this.sendNotification(ApplicationFacade.CHECK_USER_LOGIN);
- }
- }
- }
-
-