Slide.gotoFirstSlide()

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

mySlide.gotoFirstSlide()

Parameters

None.

Returns

Nothing.

Description

Method; navigates to the first leaf slide in the tree of child slides beneath mySlide. This method is ignored when called from within a slide's on(hide) or on(reveal) event handler if that event was a result of a slide navigation.

To go to the first slide in a presentation, call mySlide.rootSlide.gotoFirstSlide(). (For more information on rootSlide, see Slide.revealChild.)

Example

In the slide hierarchy illustrated below, the following method calls would all navigate to the slide named Intro_bullet_1_1:

Presentation.gotoFirstSlide();
Presentation.Intro.gotoFirstSlide();
Presentation.Intro.Intro_bullet_1.gotoFirstSlide();

This method call would navigate to the slide named Intro_bullet_2_1:

Presentation.Intro.Intro_bullet_2.gotoFirstSlide();

    

See also

Slide.firstSlide, Slide.revealChild