See also
Menu.setMenuItemSelected()
Menu.setMenuItemSelected()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenu.setMenuItemSelected(item, select)
Parameters
An XML node. The target menu item's node in the data provider.
item
A Boolean value indicating whether the item is selected (
select
item is a check box, its check mark is visible or not visible. If a selected item is a radio button, it
becomes the current selection in the radio group.
Returns
Nothing.
Description
Method; changes the
parameter. If this call results in a change of state, the item is redrawn with the new state. This is
only meaningful for items whose
their dot or check to appear or disappear. If you call this method on an item whose type is
or
"normal"
"separator"
Example
The following example deselects the second child of
var myItem = myMenu.getMenuItemAt(1);
myMenu.setMenuItemSelected(myItem, false);
Menu.show()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenu.show(x, y)
attribute of the item to the state specified by the
selected
attribute is set to
type
, it has no effect.
) or not (
true
or
"radio"
"check"
:
myMenu
Menu component (Flash Professional only)
). If the
false
select
, because it causes
567
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers