User Guide

Slide class (Flash Professional only) 695
6.
Select the Presentation slide and open the Components panel.
7.
Drag a Button component from the Components panel to the bottom of the Stage.
8.
In the Property inspector, type Next Slide for the Button component’s Label property.
9.
In the Actions panel, type the following code:
on(click) {
_parent.currentSlide.gotoNextSlide();
}
10.
Test the SWF file (Control > Test Movie) and click the Next Slide button to advance to the
next slide.
Slide class (API) (Flash Professional only)
Inheritance MovieClip > UIObject class > UIComponent class > View > Loader component >
Screen class (Flash Professional only) > Slide
ActionScript Class Name mx.screens.Slide
The methods, properties, and events of the Slide class allow you to manage and manipulate slides.
Method summary for the Slide class
The following table lists methods of the Slide class:
Methods inherited from the UIObject class
The following table lists the methods the Slide class inherits from the UIObject class. When
calling these methods from the Slide object, use the form
SlideInstance.methodName.
Method Description
Slide.getChildSlide() Returns the specified child slide.
Slide.gotoFirstSlide() Navigates to the first leaf slide in the slide’s hierarchy of subslides.
Slide.gotoLastSlide() Navigates to the last leaf slide in the slide’s hierarchy of subslides.
Slide.gotoNextSlide() Navigates to the next slide.
Slide.gotoPreviousSlide() Navigates to the previous slide.
Slide.gotoSlide() Navigates to an specified slide.
Method Description
UIObject.createClassObject() Creates an object on the specified class.
UIObject.createObject() Creates a subobject on an object.
UIObject.destroyObject() Destroys a component instance.
UIObject.doLater() Calls a function when parameters have been set in the Property
and Component inspectors.
UIObject.getStyle() Gets the style property from the style declaration or object.