Extending Flash |
|
|
|
| Objects > XMLUI object > xmlui.getVisible() | |||
Flash 8.
xmlui.getVisible(controlID)
controlID A string that specifies the ID attribute of the control whose visibility status you want to retrieve.
A Boolean value of true if the control is visible, or false if it is invisible (hidden).
Method; returns a Boolean value that specifies whether the control is visible or hidden.
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);
|
|
|
|