Slide.parentIsSlide
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
mySlide.parentIsSlide
Description
Property (read-only); a Boolean value indicating whether the parent object of
a slide. If the parent object of
returns
; otherwise, it returns
true
If
is the root slide in a presentation, this property returns
mySlide
presentation slide's parent is the main (_level0), not a slide. This property also returns
if a form is the parent of
Example
The following code determines whether the parent object of the slide
If
mySlide.parentIsSlide
Output panel. If the parent object is not a slide, Flash assumes that
(master) slide in the presentation and therefore has no sibling slides.
if (mySlide.parentIsSlide) {
trace("I have " + mySlide._parent.numChildSlides+" sibling slides");
} else {
trace("I am the root slide and have no siblings");
}
See also
Slide.numChildSlides
Slide.parentSlide
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
1166
Slide class (Flash Professional only)
is a slide, or belongs to a subclass of Slide, this property
mySlide
.
false
.
mySlide
is
, the number of
true
false
mySlide
's sibling slides is displayed in the
mySlide
mySlide
is also
mySlide
, because the
false
is itself a slide.
is the root