Slide.numchildslides - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Slide.numChildSlides

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
mySlide.numChildSlides
Description
Property (read-only); returns the number of child slides that
contain either forms or other slides; if
only returns the number of slides, and does not count forms.
Example
This example uses
Slide.numChildSlides
iterate over all the child slides of the root presentation slide. It then displays their names in the
Output panel.
var numSlides = _root.Presentation.numChildSlides;
for(var slideIndex=0; slideIndex < numSlides; slideIndex++) {
var childSlide = _root.Presentation.getChildSlide(slideIndex);
trace(childSlide._name);
}
See also
Slide.getChildSlide()
1164
Slide class (Flash Professional only)
contains both slides and forms, this property
mySlide
and the
Slide.getChildSlide()
contains. A slide can
mySlide
method to

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents