Posted By

jeffnehlsen on 02/08/11


Tagged


Versions (?)

AS3 Custom Event Class


 / Published in: ActionScript
 

  1. package
  2. {
  3. import flash.events.Event;
  4.  
  5. /**
  6. * ...
  7. * @author Jeff Nehlsen
  8. */
  9. public class CustomEvent extends Event
  10. {
  11. public static const EVENT_CUSTOM:String = "event2";
  12.  
  13. public function CustomEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
  14. {
  15. super(type, bubbles, cancelable);
  16. }
  17. }
  18. }

Report this snippet  

You need to login to post a comment.