User Guide

Slide.hideChild 1159
Also consider the following screen hierarchy, where a form object is the parent screen of two
separate slide trees:
Form_1
Slide1
Slide1_1
Slide1_2
Slide2
Slide2_1
Slide2_2
If the current slide is Slide1_2, the following method call also fails, because Slide1 and
Slide2 are in different slide subtrees:
Slide1_2.gotoSlide(Slide2_2);
Example
The following code, attached to a Button component, uses the Slide.currentSlide
property and the
gotoSlide() method to display the next slide in the presentation.
on(click) {
_parent.gotoSlide(_parent.currentSlide.nextSlide);
}
This is equivalent to the following code, which uses the Slide.gotoNextSlide() method:
on(click) {
_parent.currentSlide.gotoNextSlide();
}
See also
Slide.currentSlide, Slide.gotoNextSlide()
Slide.hideChild
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
on(hideChild) {
// Your code here.
}