MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 524

Extending flash
Table of Contents

Advertisement

Parameters
A string that specifies the property whose control item element you
controlPropertyName
want to retrieve.
Returns
An object that represents the current control item for the control specified by
.
controlPropertyName
Description
Method; returns the label and value of the line selected in a ListBox or ComboBox control for
the control specified by
.
controlPropertyName
Example
The following example returns the label and value of the currently selected line for the
myListBox control :
var elem = new Object();
elem = fl.xmlui.getControlItemElement("myListBox");
fl.trace("label = " + elem.label + " value = " + elem.value);
See also
,
,
,
,
fl.xmlui
document.xmlPanel()
xmlui.get()
xmlui.setControlItemElement()
xmlui.setControlItemElements()
xmlui.getEnabled()
Availability
Flash 8.
Usage
xmlui.getEnabled( controlID )
Parameters
A string that specifies the ID attribute of the control whose status you want to
controlID
retrieve.
Returns
A Boolean value of
if the control is enabled;
otherwise.
true
false
Description
Method; returns a Boolean value that specifies whether the control is enabled or disabled
(dimmed).
524
Objects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents