Desktop Shortcut and Start Menu Support

This sample shows how to create a shortcut on the Mac or Windows desktop, and to add your application to the Windows Start Menu.

Use mSystem.getSpecialFolder("DESKTOP") to retrieve the path to the user's desktop, then call mFile.createShortcut() to create the shortcut file.

Adding a shortcut to your application in the "Start Menu" folder adds your application to the Start Menu. Use mSystem.getSpecialFolder("STARTMENU") to retrieve the path to the user's Start Menu folder, then call mFile.createShortcut() to create the shortcut file.

You can download this sample, "Shortcuts", from the mProjector Samples page -- /software/flash-projector/flas.html#shortcuts.