| Previous | Next |
Open Documents
This sample shows how to use mSystem.openDocument() to launch open a web browser to a URL, send email, and open a pdf file.
To open the user's preferred browser to a specific webpage:
mSystem.openDocument("http://www.screentime.com");
To open a new email:
mSystem.openDocument("mailto:info@screentime.com?subject=Hello");
To open a file associated with a desktop application:
mSystem.openDocument(mApplication.getFolder() + mSystem.getPathDelimiter() + "Help.pdf");
You can download this sample, "openDocs", from the mProjector Samples page -- /software/flash-projector/flas.html#openDocuments.
| Questions or Feedback? | Previous | Next |
More Information
Getting Started
ActionScript 3.0 Support
- AS2 Migration
- Getting Started - Flash
- Debugging in Flash
- Building your application from inside Flash
- Getting Started - Flex
- Debugging in Flex
ActionScript 3.0 Samples
Using mProjector
- 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
ActionScript 2.0 Samples
- 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
