Return to Snippet

Revision: 6158
at May 1, 2008 21:41 by wintondeshong


Updated Code
/**
 * 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 );
		}
	}
}

Revision: 6157
at May 1, 2008 21:35 by wintondeshong


Updated Code
/**
 * 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 );
		}
	}
}

Revision: 6156
at May 1, 2008 21:06 by wintondeshong


Initial Code
/**
 * 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()
		{
			/**
			 * the facade is a Singleton instance which initializes 
			 * your application and hooks it up with the PureMVC framework
			 */
			facade = ApplicationFacade.getInstance();
			
			/**
	         * call startup() to intialize the framework
	         */
			facade.startup( this.stage );
		}
	}
}

Initial URL


Initial Description


Initial Title
PureMVC Document Class Template

Initial Tags
class, textmate

Initial Language
ActionScript 3