/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
package { import flash.events.EventDispatcher; /** * ... * @author Jeff Nehlsen */ public class TestDispatcher extends EventDispatcher { public function TestDispatcher() { this.dispatchEvent(new CustomEvent(CustomEvent.EVENT_CUSTOM, false, false)); } } }