Posted By

wintondeshong on 05/01/08


Tagged

class textmate actionscript3 PureMVC


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

vickyvamp
pixeldata
n00ge
THEPWN3R
dx0ne


PureMVC Document Class Template


 / Published in: ActionScript 3
 

  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  

You need to login to post a comment.