mMenu.createMenu()

Availability

Windows: Not Yet Available

Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector 1.0;

Usage

mMenu.createMenu([menuName:String]) : Void

Parameters

menuName - MAC ONLY - Name of menu. You do not have to create the "Right Click Menu", it appears by default.

Returns

Nothing.

Description

Method; MAC ONLY - Creates a new custom menu. The menu is added to the menu bar if followed by a mMenu.addMenuToMenuBar() command. This command has no effect on Mac "widget" type applications as widgets do not display a menu bar.

Example

The following code creates a Help menu in a "standard" type Macintosh application.

mMenu.createMenu("Help");
mMenu.addWebLinkToMenu("Online Documentation", "www.screentime.com/help/", "Help");
mMenu.addMenuToMenuBar("Help");

See Also

Using mProjector -- Menus, mMenu.addMenuToMenuBar(), mMenu.deleteMenu()

Code Examples

mProjector Class Basics -- mMenuv, Context Sensitive Menus