Flash 8 Documentation |
|||
| Components Language Reference > Slide class (Flash Professional only) > 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.
The following table lists methods of the Slide class:
|
Method |
Description |
|---|---|
|
Returns the specified child slide. |
|
|
Navigates to the first leaf slide in the slide's hierarchy of subslides. |
|
|
Navigates to the last leaf slide in the slide's hierarchy of subslides. |
|
|
Navigates to the next slide. |
|
|
Navigates to the previous slide. |
|
|
Navigates to an specified slide. |
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 |
|---|---|
|
Creates an object on the specified class. |
|
|
Creates a subobject on an object. |
|
|
Destroys a component instance. |
|
|
Calls a function when parameters have been set in the Property and Component inspectors. |
|
|
Gets the style property from the style declaration or object. |
|
|
Marks the object so it is redrawn on the next frame interval. |
|
|
Moves the object to the requested position. |
|
|
Forces validation of the object so it is drawn in the current frame. |
|
|
Resizes the object to the requested size. |
|
|
Sets a skin in the object. |
|
|
Sets the style property on the style declaration or object. |
The following table lists the methods the Slide class inherits from the UIComponent class. When calling these methods from the Slide object, use the form SlideInstance.methodName.
|
Method |
Description |
|---|---|
|
Returns a reference to the object that has focus. |
|
|
Sets focus to the component instance. |
The following table lists the method the Slide class inherits from the Loader class. When calling this method from the Slide object, use the form SlideInstance.methodName.
|
Method |
Description |
|---|---|
|
Loads the content specified by the |
The following table lists the method the Slide class inherits from the Screen class. When calling this method from the Slide object, use the form SlideInstance.methodName.
|
Method |
Description |
|---|---|
|
Returns the child screen of this screen at a particular index. |
The following table lists properties of the Slide class:
|
Property |
Description |
|---|---|
|
Determines whether the slide uses default keyboard handling to navigate to the next/previous slide. |
|
|
Read-only; returns the immediate child of the specified slide that contains the currently active slide. |
|
|
Read-only; returns the "leafmost" slide (the slide farthest from the root of the slide tree) that contains the global current focus. |
|
|
Read-only; returns the currently active slide. |
|
|
Callback function that overrides the default keyboard navigation (Left and Right Arrow keys). |
|
|
Read-only; returns the slide's first child slide that has no children. |
|
|
Read-only; returns the slide's index (zero-based) in its parent's list of subslides. |
|
|
Read-only; returns the slide's last child slide that has no children. |
|
|
Read-only; returns the slide you would reach if you called |
|
|
Read-only; returns the number of child slides the slide contains. |
|
|
Determines whether the slide's child slides are visible when control flows from one child slide to the next. |
|
|
Read-only; returns a Boolean value indicating whether the parent object of the slide is also a slide ( |
|
|
Read-only; slide containing the current slide. May be |
|
|
Determines whether the slide continues to play when hidden. |
|
|
Read-only; returns the slide you would reach if you called |
|
|
Read-only; returns the root of the slide tree that contains the slide. |
The following table lists the properties the Slide class inherits from the UIObject class. When accessing these properties from the Slide object, use the form SlideInstance.propertyName.
|
Property |
Description |
|---|---|
|
The position of the bottom edge of the object, relative to the bottom edge of its parent. Read-only. |
|
|
The height of the object, in pixels. Read-only. |
|
|
The left edge of the object, in pixels. Read-only. |
|
|
The position of the right edge of the object, relative to the right edge of its parent. Read-only. |
|
|
A number indicating the scaling factor in the x direction of the object, relative to its parent. |
|
|
A number indicating the scaling factor in the y direction of the object, relative to its parent. |
|
|
The position of the top edge of the object, relative to its parent. Read-only. |
|
|
A Boolean value indicating whether the object is visible ( |
|
|
The width of the object, in pixels. Read-only. |
|
|
The left edge of the object, in pixels. Read-only. |
|
|
The top edge of the object, in pixels. Read-only. |
The following table lists the properties the Slide class inherits from the UIComponent class. When accessing these properties from the Slide object, use the form SlideInstance.propertyName.
|
Property |
Description |
|---|---|
|
Indicates whether the component can receive focus and input. |
|
|
A number indicating the tab order for a component in a document. |
The following table lists the properties the Slide class inherits from the Loader class. When accessing these properties from the Slide object, use the form SlideInstance.propertyName.
|
Property |
Description |
|---|---|
|
A Boolean value that indicates whether the content loads automatically ( |
|
|
A read-only property that indicates the number of bytes that have been loaded. |
|
|
A read-only property that indicates the total number of bytes in the content. |
|
|
A reference to the content of the loader. This property is read-only. |
|
|
A string that indicates the URL of the content to be loaded. |
|
|
A number that indicates the percentage of loaded content. This property is read-only. |
|
|
A Boolean value that indicates whether the content scales to fit the loader ( |
The following table lists the properties the Slide class inherits from the Screen class. When accessing these properties from the Slide object, use the form SlideInstance.propertyName.
|
Property |
Description |
|---|---|
|
Read-only; returns the screen that contains the global current focus. |
|
|
Read-only; returns the screen's index (zero-based) in its parent screen's list of child screens. |
|
|
Read-only; returns the number of child screens contained by the screen. |
|
|
Read-only; returns a Boolean ( |
|
|
Read-only; returns the root screen of the tree or subtree that contains the screen. |
The following table lists events of the Slide class.
|
Event |
Description |
|---|---|
|
Broadcast each time a child of a slide changes from visible to invisible. |
|
|
Broadcast each time a child slide of a slide object changes from invisible to visible. |
The following table lists the events the Slide class inherits from the UIObject class.
|
Event |
Description |
|---|---|
|
Broadcast when an object is about to draw its graphics. |
|
|
Broadcast when an object's state changes from visible to invisible. |
|
|
Broadcast when subobjects are being created. |
|
|
Broadcast when the object has moved. |
|
|
Broadcast when an object has been resized. |
|
|
Broadcast when an object's state changes from invisible to visible. |
|
|
Broadcast when the subobjects are being unloaded. |
The following table lists the events the Slide class inherits from the UIComponent class.
|
Event |
Description |
|---|---|
|
Broadcast when an object receives focus. |
|
|
Broadcast when an object loses focus. |
|
|
Broadcast when a key is pressed. |
|
|
Broadcast when a key is released. |
The following table lists the events the Slide class inherits from the Loader class.
|
Event |
Description |
|---|---|
|
Triggered when the content finished loading. |
|
|
Triggered while content is loading. |
The following table lists the events the Slide class inherits from the Screen class.
|
Event |
Description |
|---|---|
|
Broadcast when all "in" transitions applied to a screen have finished. |
|
|
Broadcast when all "out" transitions applied to a screen have finished. |
|
|
Broadcast when the mouse button was pressed over an object (shape or movie clip) directly owned by the screen. |
|
|
Broadcast when the mouse button was pressed somewhere on the Stage, but not necessarily on an object owned by this screen. |
|
|
Broadcast when the mouse is moved while over a screen. |
|
|
Broadcast when the mouse is moved from inside the screen to outside it. |
|
|
Broadcast when the mouse is moved from outside this screen to inside it. |
|
|
Broadcast when the mouse button was released over an object (shape or movie clip) directly owned by the screen. |
|
|
Broadcast when the mouse button was released somewhere on the Stage, but not necessarily over an object owned by this screen. |
Version 8
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00004005.html