clientObject.getStreamLength(streamObj)
Returns the length of a stream, in seconds. Call this method from a client-side script and specify a response object to receive the returned value.
Flash Media Interactive Server 3 and Flash Media Development Server 3
streamObj A Stream object.
A number.
The following client-side code gets the length of the sample_video stream and returns the value to returnObj:
nc.call("getStreamLength", returnObj, "sample_video");