the number of menuItems of menuwhichMenu
Menu property; indicates the number of menu items in the custom menu specified by whichMenu. The whichMenu parameter can be a menu name or menu number.
This menu property can be tested but not set. Use the installMenu command to set up a custom menu bar.
Note: Menus are not available in Shockwave Player.
This statement sets the variable fileItems to the number of menu items in the custom File menu:
fileItems = the number of menuItems of menu "File"
This statement sets the variable itemCount to the number of menu items in the custom menu whose menu number is equal to the variable i:
itemCount = the number of menuItems of menu i
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/director/mx2004/release_en/09_pr436.htm