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

Server-side actionscript language reference
Table of Contents

Advertisement

The length of play, in seconds. For a live stream, a value of -1 plays the stream as
length
long as the stream exists. Any positive value plays the stream for the corresponding number of
seconds. For a recorded stream, a value of -1 plays the entire file, and a value of 0 returns the
first video frame. Any positive number plays the stream for the corresponding number of
seconds. By default, the value is -1. This is an optional parameter.
A Boolean value, or number, that flushes the playing stream. If
reset
the server maintains a playlist, and each call to
playlist so that the next play does not start until the previous play finishes. You can use this
technique to create a dynamic playlist. If
playlist is reset. By default, the value is
You can also specify a number value of
playing recorded stream files that contain message data. These values are analogous to
(
) and
(
), respectively: a value of
0
true
1
playlist. However, the difference is that specifying either
in the specified recorded stream at once, rather than at the intervals which the messages were
originally recorded (the default behavior).
For more information on Flash Media Server logging see TechNote 16464 on the
Macromedia Flash Media Server Support Center at
flashcom/ts/documents/flashcom_logging.htm.
remoteConnection
remote server. The requested stream plays from the remote server if this parameter is provided.
This parameter is optional.
A string indicating a key value. Starting with Flash Media Server 2, stream
virtualKey
names are not always unique; you can create multiple streams with the same name, place them
in different physical directories, and use the VirtualDirectory section and VirtualKeys section
of the vhost.xml file to direct clients to the appropriate stream. Because the
method is not associated with a client, but connects to a stream on the server, you may need to
specify a virtual key to identify the correct stream. For more information about keys, see
Client.virtualKey
Returns
A Boolean value:
true
playlist;
otherwise. The
false
stream or if an error occurs. To get information about the
handler to catch the play status or error.
Stream.onStatus
If the
parameter is
streamName
returned if the stop succeeds;
152
Server-Side ActionScript Language Reference
reset
true
or
2
2
A reference to a NetConnection object that is used to connect to a
. This parameter is optional.
if the
Stream.play
Stream.play
, the stream stops playing. A Boolean value of
false
otherwise.
false
is appended to the end of the
Stream.play
is
(1), any playing stream stops, and the
true
.
for the
parameter, which is useful when
3
reset
maintains a playlist, and a value of
or
for
2
3
www.macromedia.com/support/
call is accepted by the server and added to the
method can fail if the server fails to find the
Stream.play
is
reset
false
false
resets the
3
returns all messages
reset
Stream.length()
call, you can define a
true
(
),
0
is

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