Packageispring.presenter
Interfacepublic interface IPresentationPlayerContainer extends flash.events.IEventDispatcher

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 IPresentationPlayerContainer interface is implemented by the document class of iSpring generated ActionScript 3 presentations. It provides access to the IPresentationPlayer interface of the loaded presentation.

Due to progressive downloading of SWF files the presentation player may require some time to load. To determine whether the player is available the playerIsAvailable property should be used.

As soon as the presentation player is loaded, the presentation player container dispatches the PlayerContainerEvent.PLAYER_IS_AVAILABLE event indicating that the presentation player is accessible via the player property.

See also

ispring.presenter.IPresentationPlayer
ispring.presenter.PlayerContainerEvent


Public Properties
PropertyDefined By
player : IPresentationPlayer
[read-only] The IPresentationPlayer interface of the presentation player or null if the player has not been loaded yet.
IPresentationPlayerContainer
playerIsAvailable : Boolean
[read-only] Indicates whether the presentation player is loaded and available.
IPresentationPlayerContainer
Events
Event Summary Defined By
 Dispatched when the presentation player is loaded.IPresentationPlayerContainer
Property Detail
playerproperty
player:IPresentationPlayer  [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 IPresentationPlayer interface of the presentation player or null if the player has not been loaded yet.

The PlayerContainerEvent.PLAYER_IS_AVAILABLE event is dispatched to notify the listeners that the player is accessible via the player property.


Implementation
    public function get player():IPresentationPlayer

See also

playerIsAvailableproperty 
playerIsAvailable:Boolean  [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

Indicates whether the presentation player is loaded and available.

If this property is set to true the player the player property can be used to access the presentation player.


Implementation
    public function get playerIsAvailable():Boolean

See also

Event Detail
playerIsAvailable Event
Event Object Type: ispring.presenter.PlayerContainerEvent
PlayerContainerEvent.type property = ispring.presenter.PlayerContainerEvent.PLAYER_IS_AVAILABLE

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 the presentation player is loaded.

The PlayerContainerEvent.PLAYER_IS_AVAILABLE constant defines the value of the type property of the event object for a playerIsAvailable event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.