| Previous | Next |
Embed HTML, PDF, Quicktime Content in your Application -- MAC Only
This sample shows how to add html, pdf, or QuickTime content to your Mac applications. The content can be anything the end-user's Safari browser can open..
Use etiher mApplication.createMediaWindow() or mWindow.embedMediaWindow() to add your non-Flash content.
The returned object has the same methods as the main mWindow object although the Flash-related methods are not relevant.
Valid mWindow methods and events for embedded windows:
mWindow.close()
mWindow.getParameter()
mWindow.getPosition()
mWindow.getSize()
mWindow.loadMedia()
mWindow.setPosition()
mWindow.setSize()
mWindow.show()
mWindow.setAlpha()
mWindow.bringToForeground()
mWindow.onActivate()
mWindow.onClose()
mWindow.onMinimized()
mWindow.onRestored()
You can download this sample, "lmediaPlayer", from the mProjector Samples page -- /software/flash-projector/flas.html#mediaPlayer.
| 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
