mApplicationEvent.MESSAGE constant

SupportPCMacPackage (AS3) / Scope (AS2)
ActionScript 3.0

4.0 or later

stm.mprojector.mApplicationEvent

ActionScript 2.0

public static const MESSAGE:String = "onMessage";

Defines the value of the type property of an onMessage Event object. This event is triggered when the application receives a message from another executing mProjector application. The other application sends the message using mApplication.sendMessage().

Register for onMessage events using mApplication.addEventListener().

This event has the following properties:

Property Value
message

String; string sent from mApplication.sendMessage() called in another seperate executing mProjector application.

This AS3.0 onMessage event replaces mProjector's AS2.0 event handler function mApplication.onMessage().

See Also

mApplication.onMessage()