Posted By

jeffnehlsen on 02/08/11


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

merritt212
scottwatkins


AS3 EventDispatcher Example


 / Published in: ActionScript 3
 

  1. package
  2. {
  3. import flash.events.EventDispatcher;
  4. /**
  5. * ...
  6. * @author Jeff Nehlsen
  7. */
  8. public class TestDispatcher extends EventDispatcher
  9. {
  10. public function TestDispatcher()
  11. {
  12. this.dispatchEvent(new CustomEvent(CustomEvent.EVENT_CUSTOM, false, false));
  13. }
  14. }
  15.  
  16. }

Report this snippet  

You need to login to post a comment.