MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 706

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Example
The following code causes the Output panel to display the names of all the child slides of the root
presentation slide.
var numSlides = _root.Presentation.numChildSlides;
for(var slideIndex=0; slideIndex < numSlides; slideIndex++) {
var childSlide = _root.Presentation.getChildSlide(slideIndex);
trace(childSlide._name);
}
See also
Slide.numChildSlides
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
ignored when called from within a slide's
was a result of a slide navigation.
To go to the first slide in a presentation, call
more information on
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();
706
Chapter 6: Components Dictionary
on(hide)
, see
rootSlide
Slide.revealChild
:
or
on(reveal)
mySlide.rootSlide.gotoFirstSlide()
.)
. This method is
mySlide
event handler if that event
. (For

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents