
70
NetStream.currentFps
Availability
• Flash Player 6.
• Flash Communication Server MX.
Usage
myStream.currentFps
Description
Read-only property; the number of frames per second being sent or received on the specified
publishing or subscribing stream.
NetStream.onStatus
Availability
• Flash Player 6.
• Flash Communication Server MX.
Usage
myStream.onStatus = function(infoObject) {
// Your code here
}
Parameters
infoObject A parameter defined according to the status or error message. For details about this
parameter, see “NetStream information objects” on page 107.
Returns
Nothing.
Description
Event handler; invoked every time a status change or error is posted for the NetStream object. If
you want to respond to this event handler, you must create a function to process the information
object sent by the server. For more information, see the Appendix, “Client-Side Information
Objects,” on page 105.
NetStream.pause
Availability
• Flash Player 6.
• Flash Communication Server MX.
Usage
myStream.pause([pauseResume])
Parameters
pauseResume An optional Boolean parameter specifying whether to pause play (true) or
resume play (
false). If you omit this parameter, pause acts as a toggle: the first time pause is
called on a specified stream, it pauses play, and the next time it is called, it resumes play.
Commenti su questo manuale