User Guide

Using a SMIL file 721
<switch>
Availability
Flash Professional 8.
Usage
<switch>
...
child tags
...
<switch/>
Attributes
None
Child tags
<video>, <ref>
Parent tag
<body>
Description
Used with either the <video> or <ref> child tags to list the FLV files for multiple bandwidth
video streaming. The
<switch> tag supports the system-bitrate attribute, which specifies
the minimum bandwidth as well as the
src and dur attributes.
Example
The following example specified three FLV files, two using the video tag, and one using the
ref tag:
<switch>
<video src="myvideo_mdm.flv" system-bitrate="56000" dur="3:00.1">
<video src="myvideo_isdn.flv" system-bitrate="128000" dur="3:00.1">
<ref src="myvideo_cable.flv" dur="3:00.1"/>
</switch>