Return to Snippet

Revision: 40802
at February 8, 2011 06:47 by jeffnehlsen


Initial Code
package  
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Jeff Nehlsen
	 */
	public class CustomEvent extends Event 
	{
		public static const EVENT_DEFAULT:String = "event1";
		public static const EVENT_CUSTOM:String = "event2";
		
		public function CustomEvent(type:String = CustomEvent.EVENT_DEFAULT, bubbles:Boolean = false, cancelable:Boolean = false) 
		{
			super(type, bubbles, cancelable);
		}	
	}
}

Initial URL


Initial Description


Initial Title
AS3 Expanded Custom Event Class

Initial Tags


Initial Language
ActionScript