Slide.hideChild

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

on(hideChild) {
    // Your code here.
}

Description

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.

Example

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");
}

See also

Slide.revealChild