| Previous | Next |
mApplicationEvent.RESTART 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 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 |
|
This AS3.0 onRestart event replaces mProjector's AS2.0 event handler function mApplication.onRestart().
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
