Return to Snippet

Revision: 20114
at November 7, 2009 19:58 by adrianparr


Initial Code
package 
{
	import flash.display.Sprite;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author <YourNameHere>
	 */
	public class Main extends Sprite 
	{
		
		public function Main():void 
		{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);
			// entry point
		}
		
	}
	
}

Initial URL

                                

Initial Description

                                

Initial Title
Basic Document Class Template, as Created by FlashDevelop

Initial Tags
class, template

Initial Language
ActionScript 3