Slide.currentSlide
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
mySlide.currentSlide
Description
Property (read-only); returns the currently active slide. This is always a "leaf " slide—that is, a
slide that contains no child slides.
Example
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();
}
See also
Slide.gotoNextSlide()
Slide.defaultKeydownHandler
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
mySlide.defaultKeyDownHandler = function (eventObj) {
// your code here
}
Parameters
An event object with the following properties:
eventObj
•
A string indicating the type of event. Possible values are
type
•
An integer that represents the ASCII value of the last key pressed; corresponds to the
ascii
value returned by
•
An integer that represents the key code of the last key pressed; corresponds to the value
code
returned by
Key.getCode()
.
Key.getAscii()
.
and
"keyUp"
Slide class (Flash Professional only)
.
"keyDown"
703
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?