fsplayer.api.IPlayer Interface
iSpring generated Flash presentations contain an embedded player which plays slide animations, transition effects and sounds. This player exposes an ActionScript 2.0 API available to external Flash applications.
The IPlayer interface is provided by Flash presentations generated with iSpring. It exposes the following methods:
| Methods |
|
Method |
Description |
|
isInitialized():Boolean |
Returns a Boolean value indicating whether the player was
initialized.
|
|
addListener(listener:IPlayerListener):Void |
Adds an external listener object implementing the IPlayerListener interface to the player. The passed listener object will receive notifications from the player |
|
removeListener(listener:IPlayerListener):Void |
Removes the listener object added earlier with addListener() method |
|
getPlaybackController():IPresentationPlaybackController |
Returns the IPresentationPlaybackController interface providing presentation playback control and navigation facilites |
|
getSoundController():ISoundController |
Returns the ISoundController interface providing sound volume control facilities |
|
getPresentationInfo():IPresentationInfo |
Returns the IPresentationInfo interface providing the presentation content information |
|
getSettings():Object |
Returns an Object storing playback and navigation
settings as well as skin related settings (see the remarks section)
|
|
getSkin():ISkin |
Returns the ISkin interface of the player |
Remarks
An object returned by the getSettings() method contains a set of implementation specific properties. Currently, this object has the following structure:
-
navigation
(Object)
- the set of navigation properties:
-
keyboard
(Object)
- keyboard navigation properties:
- enabled (String) - determines whether keyboard navigation is enabled ("1") or not
-
mouse
(Object)
- mouse navigation properties
- enabled (String) - determines whether navigation by mouse clicks on the slide background is enabled ("1")or not
- target (String) - determines whether the mouse click navigation is performed by slides ("slide") or steps ("step")
-
keyboard
(Object)
- keyboard navigation properties:
-
colorScheme
(Object)
- color cheme
settings:
- primaryColor (String) - this property is obsolete and must not be used in new skins
-
appearance
(Object)
- appearance settings:
- fullScreen (String) - determines whether player window is opened full screen ("1") or not
-
playback (Object)
-
playback settings:
- autoStart (String) - determines whether the player starts presentation playback automatically ("1" or undefined) or not
-
webLinks (Object)
- the set of
external web links
related to the presentation:
-
slideAreaLink (Object) - web link related to the
slide area
- href (String) - web page reference, e.g. "http://www.ispringsolutions.com"
- target (String) - target window, e.g. "_self", "_blank", "_parent" or custom window name
-
presentationEndLink (Object) - web link related
to the presentation finish event
- href (String) - web page reference, e.g. "http://www.ispringsolutions.com
- target (String) - target window, e.g. "_self", "_blank", "_parent" or custom window name
-
slideAreaLink (Object) - web link related to the
slide area
See also
IPlayerListener Interface
IPresentationPlaybackController Interface
ISoundController Interface
IPresentationInfo Interface
ISkin Interface
Flash Presentation ActionScript API Reference
Download PDF