FlashGUI Functions

  Objects Object functions Other functions  

Object functions / menuitem

menuitem

menuitem(menu.id,item.id,text,option)

creates a menu item

Parameters

menu.idmenu id (number)

Horizontal root menu id is 0.

item.id - item id (number from 0 to 1499)
texttext
optionoptions comma delimited

Options

barbreakstarts a new column with a column delimiter
checkchecked
disabledisabled
groupis the first line of a radio group
icon name numdisplay icon num from imagelist NAME.gil
menubreakstarts a new column without a delimiter
pos numposition number
radiois the next line of a radio group

See also

cmenucreates a context menu (for mouse)
menucreates a menu

Using FlashGUI

menuWindow menu
 

Page 4-72 | Updated Oct 29, 2008 at 11:24:09 | © Infoved 2010