MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 719

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

Advertisement

Description
Property (read-only); returns the slide you would reach if you called
mySlide.gotoPreviousSlide()
can use this property to display the name of the previous slide in a presentation and let users select
whether they want to navigate to that slide.
Example
In this example, the label of a Button component named
the previous slide in the presentation. If there is no previous slide—that is, if
mySlide.previousSlide
beginning of this slide presentation.
if (mySlide.previousSlide != null) {
previousButton.label = "Previous slide: " + mySlide.previous._name + " >
";
} else {
previousButton.label = "You're at the beginning of this slide
presentation.";
}
See also
Slide.gotoPreviousSlide()
Slide.revealChild
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
on(revealChild) {
// your code here
}
Description
Event; broadcast each time a child slide of a slide object changes from invisible to visible. This
event is used primarily to attach "in" transitions to all the child slides of a given slide.
Example
When attached to the root slide (for example, the presentation slide), this code will display the
name of each child slide as it appears.
on(revealChild) {
var child = eventObj.target._name;
trace(child + " has just appeared");
}
, but does not actually navigate to that slide. For example, you
is
—the button's label is updated to indicate that the user is at the
null
,
Slide.nextSlide
displays the name of
previousButton
Slide class (Flash Professional only)
719

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents