ActionScript 2.0 Components Language Reference |
|
|
|
| Slide class > Slide.hideChild | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
on(hideChild) {
// Your code here.
}
Event; broadcast each time a child of a slide changes from visible to invisible. This event is broadcast only by slides, not forms. The main use of the hideChild event is to apply "out" transitions to all the children of a slide.
When attached to the root slide (for example, the presentation slide), this code displays the name of each child slide that belongs to the root slide, as the child slide is hidden.
on(hideChild) {
var child = eventObj.target._name;
trace(child + " has just been hidden");
}
|
|
|
|