/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Base PureMVC Project */ package { import flash.display.Sprite; /** * A simple Document Class for a PureMVC Structured project * * @see org.puremvc.as3.* PureMVC */ public class PureMVCDocumentClass extends Sprite { private var facade:ApplicationFacade; public function PureMVCDocumentClass() { /** * intialize the framework */ facade = ApplicationFacade.getInstance(); facade.startup( this.stage ); } } }