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

Components language reference
Table of Contents

Advertisement

Slide.gotoSlide()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
mySlide.gotoSlide(newSlide)
Parameters
The slide to navigate to.
newSlide
Returns
A Boolean value indicating if the navigation succeeded (
Description
Method; navigates to the slide specified by
following must be true:
The current slide must be a child slide of
The slide specified by
slide—that is, the current slide and
If either of these conditions isn't met, the navigation fails and the method returns
otherwise, the method navigates to the specified slide and returns
For example, consider the following slide hierarchy:
Presentation
Slide1
Slide1_1
Slide1_2
Slide2
Slide2_1
Slide2_2
If the current slide is
slide is not a descendant of
Slide2.gotoSlide(Slide2_1);
1158
Slide class (Flash Professional only)
and the current slide must share a common ancestor
newSlide
newSlide
, the following
Slide1_2
:
Slide2
) or not (
true
. For the navigation to succeed, the
newSlide
.
mySlide
must reside in the same slide subtree.
call fails, because the current
gotoSlide()
).
false
false
.
true
;

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents