FLVPlayback.contentPath
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.contentPath
Description
Property; a string that specifies the URL of the FLV file to stream and how to stream it. The
URL can be an HTTP URL to an FLV file, an RTMP URL to a stream, or an HTTP URL to
an XML file.
If you set this property through the Component inspector or the Property inspector, the FLV
file begins loading and playing at the next
provides time to set the
affect loading. It also allows ActionScript that is placed on the first Frame to affect the
FLVPlayback component before it starts playing.
If you set this property through ActionScript, the FLVPlayback instance closes the current
FLV file and immediately begins loading the new FLV file. The
properties affect how the new FLV file is loaded, so if you set these properties, you
isLive
must set them before setting contentPath property.
Set the
property to
autoPlay
Example
The following example sets the
of the FLV file to play.
MovieClip
,
, and
isLive
autoPlay
to prevent the new FLV file from playing automatically.
false
contentPath
.
onEnterFrame
properties, among others, which
cuePoints
autoPlay
property in ActionScript to specify the location
event. The delay
,
, and
totalTime
FLVPlayback class
579
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?