| Language Version : | ActionScript 3.0 |
| Product Versions : | iSpring Pro 6.0.3, iSpring Platform 6.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10.1 |
The IPresentationLoader interface provides information about the presentation
loading progress and the state of the presentation slides.
The IPresentationLoader interface can be obtained via
the presentationLoader property of the IPresentationPlayer
interface.
presentationLoadingProgress:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Product Versions : | iSpring Pro 6.0.3, iSpring Platform 6.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10.1 |
The presentation loading progress in the range 0...1.
Implementation public function get presentationLoadingProgress():NumberslidesCount:uint [read-only]
| Language Version : | ActionScript 3.0 |
| Product Versions : | iSpring Pro 6.0.3, iSpring Platform 6.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10.1 |
The total number of slides in the presentation.
Implementation public function get slidesCount():uint public function getSlideLoadingProgress(index:uint):Number| Language Version : | ActionScript 3.0 |
| Product Versions : | iSpring Pro 6.0.3, iSpring Platform 6.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10.1 |
Returns the loading progress of the specified slide.
Parameters
| index:uint — The index of the slide within the presentation.
|
Returns | Number — The loading progress of the specified slide in the range 0...1.
|
Throws | RangeError — Throws if the specified slide index is out of range.
|
public function getSlideState(index:uint):String| Language Version : | ActionScript 3.0 |
| Product Versions : | iSpring Pro 6.0.3, iSpring Platform 6.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10.1 |
Returns the state of the specified slide.
See the ispring.presenter.player.SlideState constants for more details.
Parameters
| index:uint — The index of the slide within the presentation.
|
Returns | String — The state of the specified slide.
|
Throws | RangeError — Throws if the specified slide index is out of range.
|
See also
Event Object Type: ispring.presenter.player.events.PresentationLoaderEventPresentationLoaderEvent.type property = ispring.presenter.player.events.PresentationLoaderEvent.SLIDE_LOADED| Language Version : | ActionScript 3.0 |
| Product Versions : | iSpring Pro 6.0.3, iSpring Platform 6.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10.1 |
Dispatched when a slide of the presentation is loaded.
The
PresentationLoaderEvent.SLIDE_LOADED constant defines the value of the
type
property of the event object for a
slideLoaded event.
The properties of the event object have the following values:
| Property | Value |
|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget | The Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget. |
index | The index of the loaded slide. |
target | The Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event. |
Event Object Type: ispring.presenter.player.events.PresentationLoaderEventPresentationLoaderEvent.type property = ispring.presenter.player.events.PresentationLoaderEvent.PROGRESS| Language Version : | ActionScript 3.0 |
| Product Versions : | iSpring Pro 6.0.3, iSpring Platform 6.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10.1 |
Dispatched when a slide loading progress is updated.
The
PresentationLoaderEvent.PROGRESS constant defines the value of the
type
property of the event object for a
slideLoadingProgress event.
The properties of the event object have the following values:
| Property | Value |
|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget | The Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget. |
index | The index of the slide which loading progress has been updated. |
target | The Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event. |
Tue Dec 4 2012, 06:27 PM +04:00