
XMLUI object
525
Example
The following example returns a value that indicates whether the control with the ID
attribute
myListBox
is enabled:
var isEnabled = fl.xmlui.getEnabled("myListBox");
fl.trace(isEnabled);
See also
fl.xmlui
,
document.xmlPanel()
,
xmlui.setEnabled()
xmlui.getVisible()
Availability
Flash 8.
Usage
xmlui.getVisible(
controlID
)
Parameters
controlID
A string that specifies the ID attribute of the control whose visibility status you
want to retrieve.
Returns
A Boolean value of
true
if the control is visible, or
false
if it is invisible (hidden).
Description
Method; returns a Boolean value that specifies whether the control is visible or hidden.
Example
The following example returns a value that indicates whether the control with the ID
attribute
myListBox
is visible:
var isVisible = fl.xmlui.getVisible("myListBox");
fl.trace(isVisible);
See also
xmlui.setVisible()
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...