| Previous | Next |
mApplicationEvent.SYSTEM_TRAY constant
| Support | PC | Mac | Package (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 |
|
success |
Boolean; |
See Also
| Questions or Feedback? | Previous | Next |
- AS2 Migration
- Getting Started - Flash
- Debugging in Flash
- Building your application from inside Flash
- Getting Started - Flex
- Debugging in Flex
- Using mProjector - Compile Your SWF into an Appli
- Customizing The About Window
- Debugging Your Application
- Launching Application at Startup
- Mac vs. Windows Application Development
- Menus
- Dynamic Window Creation
- Application Basics
- mProjector Class Basics
- Add Remove Programs Control Panel
- Fullscreen and Center
- Check Connection and Download File
- Choose Files
- Creating an Installer
- Creating and Controlling Multiple Windows
- Cut, Copy, and Paste (Windows)
- Desktop Shortcut and Start Menu Support
- Drag and Drop Files
- Embedding HTML and other Media types
- Flash-Shaped Windows
- Message Box
- Open Documents
- Project Files
- Reading and Writing to Hard Drive
- Startup Application
- Wallpaper and Screensaver
- Window to Window Communications
- Working with Included Files
- Context Sensitive Menus
- Alert User
- Screen Resolution
