mApplicationEvent.SYSTEM_TRAY 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 SYSTEM_TRAY:String = "onSystemTray";

Defines the value of the type property of an onSystemTray event object This event is triggered by a left mouse click on the application's system tray icon.

On the Mac this event is only triggered if when the application has no system tray menu. Call mMenu.deleteMenu("System Tray Menu") before listening for onSystemTray events as by default the Mac system tray menu contains the items of "About..." and "Quit".

Register for onSystemTray events using mApplication.addEventListener().

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

public static const COPY_FILE_COMPLETE:String = "onCopyFileComplete";

Defines the value of the type property of an onCopyFileComplete Event object. This event is fired at the completion of a file copy initiated by mFile.copyFileAsynchronously().

Register for onCopyFileComplete events using mFile.addEventListener().

This event has the following properties:

Property Value
sessionID

uint; copy file session id, value returned by mFile.copyFileAsynchronously()

success Boolean;

See Also

mApplication.onSystemTray()