Return to Snippet

Revision: 40849
at February 8, 2011 23:02 by adrianparr


Initial Code
package  
{
	import flash.events.Event;
	
	public class NewEvent extends Event 
	{
		
		public function NewEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			
		} 
		
		public override function clone():Event 
		{ 
			return new NewEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("NewEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}

Initial URL

                                

Initial Description

                                

Initial Title
AS3 FlashDevelop New Event Template

Initial Tags
event

Initial Language
ActionScript 3