MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 150

Server-side actionscript language reference
Table of Contents

Advertisement

Stream.name
Availability
Flash Communication Server MX 1.0.
Usage
myStream.name
Description
Property (read-only); contains a unique string associated with a live stream.
You can also use this as an index to find a stream within an application.
Example
The following function,
, takes a stream reference as an argument,
,
getStreamName
myStream
and returns the name of the stream associated with it:
function getStreamName (myStream) {
return myStream.name;
}
Stream.onStatus
Availability
Flash Communication Server MX 1.0.
Usage
myStream.onStatus = function([infoObject]) {}
Parameters
An optional parameter that is defined according to the status message. For more
infoObject
information about this parameter, see
"Server-Side Information Objects" on page
229.
Returns
Nothing.
Description
Event handler; invoked every time the status of a Stream object changes. For example, if you
play a file in a stream,
is invoked. Use
to check when
Stream.onStatus
Stream.onStatus
play starts and ends, when recording starts, and so on.
150
Server-Side ActionScript Language Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents