iSpring.as3bridge.BridgeEvent Class

The BridgeEvent Class extends the standard flash.events.Event class and exposes the following constants and properties:

Table 1. Constants
Constant Type Value Description
PAUSE String pause Defines the value of the type property of a pause event object. This type of event occurs when presentation playback is suspended. A pause event contains the following properties: playbackController
PLAY String play Defines the value of the type property of a play event object. This type of event occurs when presentation playback is resumed. A play event contains the following properties: playbackController
STEP_CHANGE String stepChange Defines the value of the type property of the stepChange event object. This type of event occurs when currently playing animation step index is changed. A stepChange event contains the following properties: playbackController, stepIndex
POSITION_CHANGE String positionChange Defines the value of the type property of the positionChange event object. This type of event occurs when the playback position of the currently playing slide is changed. A positionChange event contains the following properties: playbackController, position
SLIDE_CHANGE String slideChange Defines the value of the type property of the slideChange event object. This type of event occurs when current slide is changed by another slide of the presentation. A slideChange event contains the following properties: playbackController, slideIndex
SLIDE_LOAD_COMPLETE String slideLoadComplete Defines the value of the type property of the slideLoadComplete event object. This type of event occurs when the given slide of the presentation is loaded. A slideLoadComplete event contains the following properties: playbackController, slideIndex
PLAYBACK_COMPLETE String playbackComplete Defines the value of the type property of the playbackComplete event object. This type of event occurs when the playback of the presentation is completed. A playbackComplete event contains the following properties: playbackController
BRIDGE_LOADED String bridgeLoaded Defines the value of the type property of the bridgeLoaded event object. This type of event occurs when the ActionScirpt bridge module is loaded and ready to receive commands from the parent Flash movie. A bridgeLoaded event contains the following properties: succeeded, player
PLAYER_INIT String playerInit Defines the value of the type property of the playerInit event object. This type of event occurs when player initialization is completed, just after the bridgeLoaded event. A playerInit event contains the following properties: succeeded, player
VOLUME_CHANGE String volumeChange Defines the value of the type property of the volumeChange event object. This type of event occurs when the sound volume is changed. A volumeChange event contains the following properties: soundController, volume
SEEKING_COMPLETE String seekingComplete Defines the value of the type property of the seekingComplete event object. This type of event occurs when the seek command execution is completed. A seekingComplete event contains the following properties: playbackController, position
VOLUME_CHANGING_COMPLETE String volumeChangingComplete Defines the value of the type property of the volumeChangingComplete event object. This type of event occurs when the sound volume property of the SoundController object is changed. A volumeChangingComplete event contains the following properties: soundController, volume
SLIDE_METADATA_LOAD String slideMetadataLoad Defines the value of the type property of the slideMetadataLoad event object. This type of event is generated by SlideInfo object when its metadata is loaded. A slideMetadataLoad event contains the following properties: slideInfo, slideIndex

Table 2. Properties
Property Type Description
playbackController PlaybackController The PlaybackController class instance. The following events contain this property: play, pause, stepChange, positionChange, slideChange, slideLoadComplete, playbackComplete, seekingComplete
slideIndex Number Slide index. The following events contain this property: slideLoadComplete, slideMetadataLoad, slideChange
stepIndex Number Animation step index. The following events contain this property: stepChange
position Number Slide playback position. The following events contain this property: positionChange, seekingComplete
succeeded Boolean Indicates whether the bridge or player was loaded and initialized successfully. The following events contain this property: bridgeLoaded, playerInit
player Player The Player class instance. The following events contain this property: bridgeLoaded, playerInit
volume Number A sound volume value. The following events contain this property: volumeChange, volumeChangingComplete
slideInfo SlideInfo A SlideInfo class instance. The following events contain this property: slideMetadataLoad
soundController SoundController A SoundController class instance. The following events contain this property: volumeChange, volumeChangingComplete