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
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers