PureMVC Document Class Template


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /**
  2.  * Base PureMVC Project
  3.  */
  4. package
  5. {
  6. import flash.display.Sprite;
  7.  
  8. /**
  9. * A simple Document Class for a PureMVC Structured project
  10. *
  11. * @see org.puremvc.as3.* PureMVC
  12. */
  13. public class PureMVCDocumentClass extends Sprite
  14. {
  15. private var facade:ApplicationFacade;
  16.  
  17. public function PureMVCDocumentClass()
  18. {
  19.  
  20.  
  21. /**
  22. * intialize the framework
  23. */
  24. facade = ApplicationFacade.getInstance();
  25. facade.startup( this.stage );
  26. }
  27. }
  28. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.