| Package | com.acapela.vaas.advanced.synchro |
| Class | public class PositionsManager |
| Inheritance | PositionsManager flash.events.EventDispatcher |
So that it is made available as a table of position objects. At that time, the appropriate event is dispatched.
The Player uses this class to synchronize MP3 sound playback and positions.
You can access to a ready to use PositionsManager instance through the positionsManager property of the Connector class.
See also
| Property | Defined by | ||
|---|---|---|---|
| bookmarkPositions : Array [read-only]
The
table | PositionsManager | ||
| mouthPositions : Array [read-only]
The
table | PositionsManager | ||
| wordPositions : Array [read-only]
The
table | PositionsManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
PositionsManager(connector:Connector)
constructor: use it to create a new PositionsManager object instance.
| PositionsManager | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the bookmark positions corresponding to the message are available (file data downloaded and parsed). | PositionsManager | |||
| Dispatched when the mouth positions corresponding to the message are available (file data downloaded and parsed). | PositionsManager | |||
| Dispatched when the word positions corresponding to the message are available (file data downloaded and parsed). | PositionsManager | |||
| Constant | Defined by | ||
|---|---|---|---|
| BOOKMARK_POSITIONS_AVAILABLE : String = "bookmarkPositionsAvailable" [static]
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an
bookmarkPositionsAvailable event object. | PositionsManager | ||
| MOUTH_POSITIONS_AVAILABLE : String = "mouthPositionsAvailable" [static]
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an
mouthPositionsAvailable event object. | PositionsManager | ||
| WORD_POSITIONS_AVAILABLE : String = "wordPositionsAvailable" [static]
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an
wordPositionsAvailable event object. | PositionsManager | ||
| bookmarkPositions | property |
bookmarkPositions:Array [read-only]
The table of bookmark positions associated to this PositionsManager instance.
It containt the details information of the bookmark positions
Each element in this table is a BookmarkPosition instance. You should access it only from the WORD_POSITIONS_AVAILABLE event handlers. Implementation public function get bookmarkPositions():Array
See also
| mouthPositions | property |
mouthPositions:Array [read-only]
The table of mouth positions associated to this PositionsManager instance.
It contains the details information of the mouth positions
Each element in this table is a MouthPosition instance. You should access it only from the WORD_POSITIONS_AVAILABLE event handlers.
Implementation public function get mouthPositions():Array
See also
| wordPositions | property |
wordPositions:Array [read-only]
The table of word positions associated to this PositionsManager instance.
It contains the details information of the word positions
Each element in this table is a WordPosition instance. You should access it only from the WORD_POSITIONS_AVAILABLE event handlers. Implementation public function get wordPositions():Array
See also
| PositionsManager | () | constructor |
public function PositionsManager(connector:Connector)constructor: use it to create a new PositionsManager object instance.
Parametersconnector:Connector |
| bookmarkPositionsAvailable | event |
flash.event.Event
com.acapela.vaas.advanced.synchro.PositionsManager.BOOKMARK_POSITIONS_AVAILABLE
Dispatched when the bookmark positions corresponding to the message are available (file data downloaded and parsed).
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an bookmarkPositionsAvailable event object.
| Property | Description |
|---|---|
| bubbles | false |
| cancelable | false |
| target | The PositionsManager instance that generated it. |
bookmarkPositions property of this instance.
| mouthPositionsAvailable | event |
flash.event.Event
com.acapela.vaas.advanced.synchro.PositionsManager.MOUTH_POSITIONS_AVAILABLE
Dispatched when the mouth positions corresponding to the message are available (file data downloaded and parsed).
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an mouthPositionsAvailable event object.
| Property | Description |
|---|---|
| bubbles | false |
| cancelable | false |
| target | The PositionsManager instance that generated it. |
mouthPositions property of this instance.
| wordPositionsAvailable | event |
flash.event.Event
com.acapela.vaas.advanced.synchro.PositionsManager.WORD_POSITIONS_AVAILABLE
Dispatched when the word positions corresponding to the message are available (file data downloaded and parsed).
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an wordPositionsAvailable event object.
| Property | Description |
|---|---|
| bubbles | false |
| cancelable | false |
| target | The PositionsManager instance that generated it. |
wordPositions property of this instance.
| BOOKMARK_POSITIONS_AVAILABLE | constant |
public static const BOOKMARK_POSITIONS_AVAILABLE:String = "bookmarkPositionsAvailable"
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an bookmarkPositionsAvailable event object.
| Property | Description |
|---|---|
| bubbles | false |
| cancelable | false |
| target | The PositionsManager instance that generated it. |
bookmarkPositions property of this instance.
See also
| MOUTH_POSITIONS_AVAILABLE | constant |
public static const MOUTH_POSITIONS_AVAILABLE:String = "mouthPositionsAvailable"
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an mouthPositionsAvailable event object.
| Property | Description |
|---|---|
| bubbles | false |
| cancelable | false |
| target | The PositionsManager instance that generated it. |
mouthPositions property of this instance.
See also
| WORD_POSITIONS_AVAILABLE | constant |
public static const WORD_POSITIONS_AVAILABLE:String = "wordPositionsAvailable"
The PositionsManager.WORD_POSITIONS_AVAILABLE constant defines the value of the type property of an wordPositionsAvailable event object.
| Property | Description |
|---|---|
| bubbles | false |
| cancelable | false |
| target | The PositionsManager instance that generated it. |
wordPositions property of this instance.
See also