actionscript-book-IntrovertIM_HTML-com-example-programmingas3-introvertIM-IMMessageEvent.ax [swf] flex
package { import flash.events.Event; public class @ax-actionscript-book-IntrovertIM_HTML-com-example-programmingas3-introvertIM-IMMessageEvent extends Event { // ------- Public Constants ------- public static const NEW_MESSAGE:String = "newmessage"; // ------- Private vars ------- private var _message:String; // ------- Constructor ------- public function @ax-actionscript-book-IntrovertIM_HTML-com-example-programmingas3-introvertIM-IMMessageEvent(message:String) { super(NEW_MESSAGE); _message = message; } // ------- Public Properties ------- public function get message():String { return _message; } // ------- Event Method Overrides ------- public override function clone():Event { return new @ax-actionscript-book-IntrovertIM_HTML-com-example-programmingas3-introvertIM-IMMessageEvent(_message); } public override function toString():String { return formatToString("IMMessageEvent", "type", "bubbles", "cancelable", "eventPhase", "message"); } } }
(C) Æliens 27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.