Name | Description |
---|---|
Parameter name | Parameter description |
listener | The javascript listener waiting for the flash events. |
interval | Time interval between updates, in milliseconds. |
useexternalinterface | 1 to use ExternalInterface to update the javascript listener. |
enabled | 1 to enable events. |
byteslimit | If it is a mp3 streaming, the stream will restart at the bytes limit, for prevent overload. |
SetVariable | Description |
---|---|
Parameter name | Parameter description |
method:setUrl | Change the url of the file to read. |
method:play | Plays the track. |
method:pause | Pauses the track. |
method:stop | Stops the player. |
method:setPosition | Changes to position of the player (milliseconds). |
method:setVolume | Changes the volume (100 by default). |
Property | Description |
---|---|
Listener property | Parameter description |
url | The file URL. |
bytesTotal | The number of total bytes. |
bytesLoaded | The number of bytes loaded. |
bytesPercent | THe percentage of bytes loaded. |
position | The video position in milliseconds. |
duration | The video duration in milliseconds. |
isPlaying | Tells whether the movie is playing or not. |
volume | Shows the volume. |
Event | Description |
---|---|
Listener event | Event description |
onInit | Initialization of the Flash, the player is ready. |
onUpdate | Update of the listener. |