iSpring.as2player.IPlayer Interface

The IPlayer Interface extends the standard flash.events.IEventDispatcher interface and exposes the following properties and events:

Properties

Property

Type

Description

initialized

Boolean

Returns a Boolean value indicating whether the player was initialized.
The following properties return an undefined value until the player gets initialized:

  • presentationInfo
  • playbackController
  • soundController
  • settings

playbackController

IPresentationPlaybackController

Returns the IPresentationPlaybackController interface providing presentation playback control and navigation facilities.

soundController

ISoundController

Returns the ISoundController interface providing sound volume control facilities.

presentationInfo

IPresentationInfo

Returns the IPresentationInfo interface providing the presentation content information.

settings

Object

Returns an Object storing playback and navigation settings as well as skin related settings (see the remarks section)
This method is mainly used for the custom skins development. In most cases you don't need to use it.


Events

Type

Description

PlayerEvent.PLAYER_INIT

Occurs when the ActionScript player module is connected with another Flash movie and ready to receive commands.

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")
  • colorScheme (Object) - color scheme 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

See also

IPresentationPlaybackController Interface
PresentationInfo Interface
ISoundController Interface
flash.events.IEventDispatcher Interface
ActionScript 3 and Flex support in iSpring