User Guide

1168 Slide class (Flash Professional only)
Example
In this example, the label of a Button component named previousButton displays the name
of the previous slide in the presentation. If there is no previous slide—that is, if
mySlide.previousSlide is null—the buttons label is updated to indicate that the user is at
the beginning of this slide presentation.
if (mySlide.previousSlide != null) {
previousButton.label = "Previous slide: " + mySlide.previous._name + "
> ";
} else {
previousButton.label = "You’re at the beginning of this slide
presentation.";
}
See also
Slide.gotoPreviousSlide(), Slide.nextSlide
Slide.revealChild
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
on(revealChild) {
// Your code here.
}
Description
Event; broadcast each time a child slide of a slide object changes from invisible to visible. This
event is used primarily to attach “in” transitions to all the child slides of a given slide.
Example
When attached to the root slide (for example, the presentation slide), this code displays the
name of each child slide as it appears.
on(revealChild) {
var child = eventObj.target._name;
trace(child + " has just appeared");
}