home *** CD-ROM | disk | FTP | other *** search
- package com.althea.client.shufflr.controller
- {
- import com.althea.client.shufflr.*;
- import com.althea.client.shufflr.model.*;
- import org.puremvc.as3.multicore.interfaces.*;
- import org.puremvc.as3.multicore.patterns.command.*;
- import org.puremvc.as3.multicore.patterns.observer.*;
-
- public class HomeViewCommand extends SimpleCommand
- {
- public function HomeViewCommand()
- {
- super();
- }
-
- override public function execute(param1:INotification) : void
- {
- var _loc4_:Object = null;
- var _loc2_:String = param1.getName();
- var _loc3_:Object = param1.getBody();
- switch(_loc2_)
- {
- case ApplicationFacade.SHOW_HOME_VIEW:
- _loc4_ = new Object();
- _loc4_.str1 = "Home";
- sendNotification(ApplicationFacade.CHANGE_MODE,"homeView");
- sendNotification(ApplicationFacade.SET_VIEW_NAME,_loc4_);
- }
- }
- }
- }
-
-