MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 713

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

Advertisement

on(click) {
_parent.gotoSlide(_parent.currentSlide.nextSlide);
}
This is equivalent to the following code, which uses the
on(click) {
_parent.currentSlide.gotoNextSlide();
}
See also
Slide.currentSlide
Slide.hideChild
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
on(hideChild) {
// your code here
}
Description
Event; broadcast each time a child of a slide changes from visible to invisible. This event is
broadcast only by slides, not forms. The main use of the
transitions to all the children of a slide.
Example
When attached to the root slide (for example, the presentation slide), this code displays the name
of each child slide that belongs to the root slide, as the child slide is hidden.
on(hideChild) {
var child = eventObj.target._name;
trace(child + " has just been hidden");
}
See also
Slide.revealChild
,
Slide.gotoNextSlide()
Slide.gotoNextSlide()
event is to apply "out"
hideChild
Slide class (Flash Professional only)
method:
713

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx

Table of Contents