Flash Communication Server MX.
myStream.onStatus = function([infoObject]) { // Insert code here };
infoObject An optional parameter defined according to the status message. For details about this parameter, see Server-Side Information Objects.
Nothing.
Event handler; invoked every time the status of a Stream object changes. For example, if you play a file in a stream, Stream.onStatus is invoked. Use Stream.onStatus to check when play starts and ends, when recording starts, and so on.
This example defines a function that executes whenever the Stream.onStatus event is invoked:
s = Stream.get("foo");
s.onStatus = function(info){
// insert code here
};
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flashcom/mx2004/main/00000510.html