MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 600

Components language reference
Table of Contents

Advertisement

Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk. Then add the following code to the Actions panel on Frame 1 of the
Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
my_FLVPlybk.maintainAspectRatio = false;
my_FLVPlybk.width = 300;
my_FLVPlybk.height = 350;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
water.flv";
See also
,
,
FLVPlayback.preferredHeight
FLVPlayback.preferredWidth
,
,
,
FLVPlayback.maintainAspectRatio
FLVPlayback.resize
FLVPlayback.setSize()
FLVPlayback.width
FLVPlayback.idleTimeout
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.idleTimeout
Description
Property; the amount of time, in milliseconds, before Flash terminates an idle connection to a
FCS because playing paused or stopped. This property has no effect on an FLV file
downloading over HTTP.
If this property is set when a video stream is already idle, it restarts the timeout period with
the new value.
The default value is 300,000, or 5 minutes.
598
FLVPlayback Component (Flash Professional Only)

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents