Server-Side Communication ActionScript > Stream.name

 

Stream.name

Availability

Flash Communication Server MX.

Usage

Stream.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, getStreamName, takes a stream reference as an argument, myStream, and returns the name of the stream associated with it.

function getStreamName (myStream) {
	return myStream.name;
}