User Guide
Slide.gotoNextSlide() 1155
Example
Suppose that, in the following slide hierarchy, the slide named Intro_bullet_1_1 is the
current slide being viewed (that is,
_root.Presentation.currentSlide._name ==
Intro_bullet_1_1
).
In this case, calling
Intro_bullet_1_1.gotoNextSlide() would navigate to
Intro_bullet_1_2, which is a sibling slide of Intro_bullet_1_1.
However, calling
Intro_bullet_1.gotoNextSlide() would navigate to
Intro_bullet_2_1, the first leaf slide contained by Intro_bullet_2, which is the next
sibling slide of
Intro_bullet_1. Similarly, calling Intro.gotoNextSlide() would navigate
to
Results_bullet_1, the first leaf slide contained by the Results slide.
Also, still assuming that the current slide is
Intro_bullet_1_1, calling
Results.gotoNextSlide() would have no effect, because Results does not contain the
current slide (that is,
Results.currentSlide is null).
See also
Slide.currentSlide, Slide.gotoPreviousSlide(), Slide.nextSlide