Slide.nextSlide
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
mySlide.nextSlide
Description
Property (read-only); returns the slide you would reach if you called
, but does not actually navigate to that slide. For example, you
mySlide.gotoNextSlide()
can use this property to display the name of the next 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
displays the name of
nextButton
the next slide in the presentation. If there is no next slide—that is, if
is
mySlide.nextSlide
—then the button's label is updated to indicate that the user is at the end of this slide
null
presentation.
if (mySlide.nextSlide != null) {
nextButton.label = "Next slide: " + mySlide.nextSlide._name + " > ";
} else {
nextButton.label = "End of this slide presentation.";
}
See also
,
Slide.gotoNextSlide()
Slide.previousSlide
Slide.nextSlide
1163
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers