Slide.gotopreviousslide() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Slide.gotoPreviousSlide()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
mySlide.gotoPreviousSlide()
Parameters
None.
Returns
A Boolean value, or
. The method returns
if it successfully navigated to the
null
true
previous slide; it returns
if the presentation is at the first slide when the method is
false
invoked (that is, if
is
). The method returns
if invoked
currentSlide.nextSlide
null
null
on a slide that doesn't contain the current slide.
Description
Method; navigates to the previous slide in the slide presentation. As control passes from one
slide to the previous slide, the outgoing slide is hidden and the incoming slide is revealed. If
the outgoing and incoming slides are in different slide subtrees, then all ancestor slides,
starting with the outgoing slide and up to the common ancestor of the incoming and
outgoing slides, are hidden and receive a
event. Immediately following, all ancestors
hide
slides of the incoming slide, up to the common ancestor of the outgoing and incoming slide,
are made visible and receive a
event.
reveal
Typically,
is called on the leaf node that represents the current slide. If
gotoPreviousSlide()
called on a nonleaf node,
, then
advances to the
someNode
someNode.gotoPreviousSlide()
first leaf node in the previous slide or "section."
This method has no effect when invoked on a slide that does not contain the current slide.
This method also has no effect when called from within an
or
event
on(hide)
on(reveal)
handler attached to a slide, if that handler was invoked as a result of slide navigation.
1156
Slide class (Flash Professional only)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents