User Guide

Slide class (Flash Professional only) 719
Description
Property (read-only); returns the slide you would reach if you called
mySlide.gotoPreviousSlide(), but does not actually navigate to that slide. For example, you
can use this property to display the name of the previous slide in a presentation and let users select
whether they want to navigate to that slide.
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 will display the
name of each child slide as it appears.
on(revealChild) {
var child = eventObj.target._name;
trace(child + " has just appeared");
}