Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > UIObject class > UIObject.hide | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
Usage 1:
var listenerObject:Object= new Object();listenerObject.hide = function(eventObject:Object) {// ...};componentInstance.addEventListener("hide",listenerObject);
Usage 2:
on (hide) {
// ...
}
Event; broadcast when the object's visible property is changed from true to false.
The following handler displays a message in the Output panel when the object it's attached to becomes invisible.
on (hide) {
trace("I've become invisible.");
}
Flash CS3