ActionScript 2.0 Components Language Reference |
|
|
|
| Slide class > Slide.currentSlide | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
mySlide.currentSlide
Property (read-only); returns the currently active slide. This is always a "leaf" slide--that is, a slide that contains no child slides.
The following code, attached to a button on the root presentation slide, advances the slide presentation to the next slide each time the button is clicked.
// Attached to button instance contained by presentation slide:
on(press) {
_parent.currentSlide.gotoNextSlide();
}
|
|
|
|