/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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"); } } }