ActionScript 2.0 Components Language Reference |
|
|
|
| Slide class > Slide.rootSlide | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
mySlide.rootSlide
Property (read-only); returns the root slide of the slide tree, or slide subtree, that contains mySlide.
Suppose you have a movie clip on a slide that, when clicked, goes to the first slide in the presentation. To accomplish this, you would attach the following code to the movie clip:
on(press) {
_parent.rootSlide.gotoFirstSlide();
}
In this case, _parent refers to the slide that contains the movie clip object.
|
|
|
|