We Recommend

Essential ActionScript 3.0 Essential ActionScript 3.0
The book focuses on the core language and object-oriented programming, but also adds a deep look at the centerpiece of Flash Player's new API: display programming. Enjoy hundreds of brand new pages covering exciting new language features, such as the DOM-based event architecture, E4X, and namespaces--all brimming with real-world sample code.


Ballyhoo


Posted By

wintondeshong on 05/01/08


Tagged

class textmate actionscript3 PureMVC


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

vickyvamp


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.