FlashGUI Functions

  Objects Object functions Other functions  

Objects / menu

menu

menu(owner.id,menu.id,text,option)

creates a menu

Parameters

owner.idparent menu.id (number)

Parent is 0 when creating horizontal root menu.
menu.idmenu id (number from 1 to 900)
texttext to display
optionoptions comma delimited

Options

disabledisabled
groupis the first line of a radio group
icon name numhas icon num from NAME.gil file
radiois the next line of a radio group
pos numposition in the parent menu

Functions

menuitemcreates a menu item
menusepcreates a separator line in a menu
modifymenusets a new text or appearance of a menu line
showmenudisplays a click menu

Using FlashGUI

menuWindow menu
 

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