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

  1. package com.althea.client.shufflr.controller
  2. {
  3.    import com.althea.client.shufflr.model.AnalyticProxy;
  4.    import com.althea.client.shufflr.model.DeleteCommandProxy;
  5.    import com.althea.client.shufflr.model.FacebookProxy;
  6.    import com.althea.client.shufflr.model.HelloWorldProxy;
  7.    import com.althea.client.shufflr.model.MenuItemProxy;
  8.    import com.althea.client.shufflr.model.MiscCommandProxy;
  9.    import com.althea.client.shufflr.model.NavMapProxy;
  10.    import com.althea.client.shufflr.model.PlayerConfProxy;
  11.    import com.althea.client.shufflr.model.PostCommandProxy;
  12.    import com.althea.client.shufflr.model.ShuffleFeedProxy;
  13.    import com.althea.client.shufflr.model.SourceSiteProxy;
  14.    import com.althea.client.shufflr.model.UserProxy;
  15.    import org.puremvc.as3.multicore.interfaces.INotification;
  16.    import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
  17.    
  18.    public class ModelPrepCommand extends SimpleCommand
  19.    {
  20.       public function ModelPrepCommand()
  21.       {
  22.          super();
  23.       }
  24.       
  25.       override public function execute(param1:INotification) : void
  26.       {
  27.          facade.registerProxy(new MenuItemProxy());
  28.          facade.registerProxy(new ShuffleFeedProxy());
  29.          facade.registerProxy(new NavMapProxy());
  30.          facade.registerProxy(new UserProxy());
  31.          facade.registerProxy(new PostCommandProxy());
  32.          facade.registerProxy(new DeleteCommandProxy());
  33.          facade.registerProxy(new HelloWorldProxy());
  34.          facade.registerProxy(new FacebookProxy());
  35.          facade.registerProxy(new PlayerConfProxy());
  36.          facade.registerProxy(new MiscCommandProxy());
  37.          facade.registerProxy(new AnalyticProxy());
  38.          facade.registerProxy(new SourceSiteProxy());
  39.       }
  40.    }
  41. }
  42.  
  43.