| Previous | Next | |
Windows: Flash 8 or 9 AS2.0 SWF + mProjector
3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector
2.0;
Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector
1.0;
mMenu.addSeparator([menuName:String]) : VoidmenuName - Optional; Menu to which item will be added.
On Windows, mMenu commands operate on the right-click menu and system tray menu. On the Mac, mMenu commands operate on the right-click menu (cntl-click menu for systems with a one mouse button) or menus in the application's menu bar.
Specify nothing or "Right Click Menu" to modify the right-click menu (or cntl-click menu for systems using a single button mouse). Specify "System Tray Menu" to modify the Windows right-click system tray menu.
Specify "File", "Edit", "Window", and "ApplicationName" to modify the default Mac application menus.
Nothing.
Method; Adds a separator item to a menu. The seprator is added to the end of the menu.
The following examples show adds a separator item to a variety of menus.
/*Add a separator item to the Windows Right-Click (cntl-click for a Mac with a one button mouse) menu*/
mMenu.addSeparator();
/*Add a separator to the Mac Application Menu Bar Help Menu*/
mMenu.addSeparator("Help");
/*Add a separator item to the Windows System Tray*/
mMenu.addSeparator("System Tray Menu");
mProjector Class Basics -- mMenu, Context Sensitive Menus
| Questions or Feedback? | Previous | Next |