| Field Summary | 
| public 
 | _video: Video | 
|  | Embedded video object used to display video 
 | 
| 
 | 
| public 
 | _videoHolder: MovieClip | 
|  | Holds the video. 
 | 
| 
 | 
| 
 | 
| 
 | 
| Constructor | 
| public 
 | RTMPPlayer (
				aMediaUrl: String, aMediaType: String, aVideoHolder: MovieClip, aTotalTime: Number) | 
|  | Constructor. 
 | 
| 
 | 
| Method Summary | 
| public 
 | addListener (
				aListener: Object
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | broadcastEvent (
				status: String
				): Void | 
|  | The listeners must implement the "handlePlayer" function which takes the current status as a parameter. 
 | 
| 
 | 
| public 
 | bufferIsFull (
				
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | checkComplete (
				
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | close (
				
				): Void | 
|  | Close the player 
 | 
| 
 | 
| public 
 | connectRtmpt (
				
				): Void | 
|  | This is called if we are not getting a successful rtmp connection after 3 seconds stream if play is pending 
 | 
| 
 | 
| public 
 | doneUpdateFrame (
				
				): Void | 
|  | Stop the playback. 
 | 
| 
 | 
| public 
 | getMediaBytesLoaded (
				
				): Number | 
|  | 
 | 
| 
 | 
| public 
 | getMediaBytesTotal (
				
				): Number | 
|  | 
 | 
| 
 | 
| public 
 | getMediaUrl (
				
				): String | 
|  | 
 | 
| 
 | 
| public 
 | getPlayheadTime (
				
				): Number | 
|  | 
 | 
| 
 | 
| public 
 | getTotalTime (
				
				): Number | 
|  | 
 | 
| 
 | 
| public 
 | getVolume (
				
				): Number | 
|  | 
 | 
| 
 | 
| public 
 | isSizeChange (
				
				): Boolean | 
|  | 
 | 
| 
 | 
| public 
 | isSizeSet (
				
				): Boolean | 
|  | 
 | 
| 
 | 
| public 
 | load (
				
				): Void | 
|  | Make connection to the server and load the media without playing it. 
 | 
| 
 | 
| public 
 | logError (
				error: String
				): Void | 
|  | Log error from FlashCom server 
 | 
| 
 | 
| public 
 | mediaLoaded (
				
				): Void | 
|  | Called when the media is completely loaded. 
 | 
| 
 | 
| public 
 | onConnectTimeOut (
				
				): Void | 
|  | This is called when connection timeout. 
 | 
| 
 | 
| public 
 | pause (
				
				): Void | 
|  | Stop playback of the media without moving the playhead. 
 | 
| 
 | 
| public 
 | play (
				startingPoint: Number
				): Void | 
|  | Play the media starting at the specified starting point. 
 | 
| 
 | 
| public 
 | playStopped (
				
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | removeAllListeners (
				
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | resizeVideo (
				
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | setMediaUrl (
				aUrl: String
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | setPlayheadTime (
				position: Number
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | setSeeking (
				isSeeking: Boolean
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | setTotalTime (
				aTime: Number
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | setVolume (
				aVol: Number
				): Void | 
|  | 
 | 
| 
 | 
| public 
 | stop (
				
				): Void | 
|  | Stop playback of the media and reset the playhead to zero. 
 | 
| 
 | 
| public 
 | toString (
				
				): String | 
|  | 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 |