Client-Side Communication ActionScript > NetStream.onStatus

 

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 more information about this parameter, see NetStream information objects.

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 Client-Side Information Objects.