| Previous | Next |
Customizing the About Window
The About window is launched when the user clicks the "About..." menu item from the right-click menu. On the Mac the About window is also opened when the user clicks the "About" menu item from the application's menu in the application menu bar. By default the About window contains Screentime and Adobe credits.
Simple Customization - No ActionScript Required
To customize your application's About window without using any ActionScript, navigate to mProjector's Application panel and specify a custom About window SWF. Your SWF can be any size and will be played in a rectangular, modal dialog type window. mProjector commands are supported in the About window SWF.
Your About window SWF MUST INCLUDE the Adobe Flash Player copyright notice: "Uses Adobe Flash Player Software. Copyright 1995-2009 Adobe, Inc." A small credit for us would be appreciated but is not required.
Advanced Customization - ActionScript Required
If you need your About window to be Flash-shaped and support transparency, you will need to build a custom menu and sub-launch a child window using mApplication.createWindow(). The example below creates a custom right-click menu with an "About..." menu item. When the user clicks the menu item, the onCommand event handler launches a child window created from a SWF called "credits.swf".
mMenu.removeAllItems();
mMenu.addItem("About...");
mMenu.onCommand = function(menuName, itemName) {
switch(itemName) {
case "About...":
mApplication.createWindow("credits.swf", 100, 100, "about", "About", "WINDOWLESS", 0, true);
}
}
In this case, your application will also need to include functionality to give your custom About window it's desired modal behavior as well.
Again, when creating your About window remember to give credit where credit is due. Your About Box SWF MUST INCLUDE the Adobe Flash Player copyright notice: "Uses the Adobe Flash player Copyright 1995-2009 Adobe, Inc." A small credit for us would be appreciated but is not required.
| 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
