Slide.nextslide - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents