mApplicationEvent.RESTART constant

SupportPCMacPackage (AS3) / Scope (AS2)
ActionScript 3.0

4.0 or later

4.0 or later

stm.mprojector.mApplicationEvent

ActionScript 2.0

public static const RESTART:String = "onRestart";

Defines the value of the type property of an onRestart Event object. This event is called after an attempt to launch an already running application - i.e. double clicking the application's icon or calling mSystem.executeApplication() when the application is executing.

This event can used to send a message from another external application to a running mProjector application.

Register for onRestart events using mApplication.addEventListener().

This event has the following properties:

Property Value
commandline

String; command line parameters passed to the application.

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

See Also

mApplication.onRestart()