User Guide

Overview of built-in classes 201
Media classes
The media classes provide playback control of sound and video in a SWF file as well as access to
the users microphone and camera, if they are installed. These classes are located in the Built-in
Classes > Media directory in the Actions toolbox.
Class Description
Camera The Camera class provides access to the user’s camera, if one is installed.
When used with Flash Communication Server MX, your SWF file can
capture, broadcast, and record images and video from a user’s camera. See
“Camera class”in Flash ActionScript Language Reference.
Microphone The Microphone class provides access to the user’s microphone, if one is
installed. When used with Flash Communication Server MX, your SWF file
can broadcast and record audio from a user’s microphone. See “Microphone
class”in Flash ActionScript Language Reference.
NetConnection The NetConnection class is used to establish a local streaming connection
for playing a Flash Video (FLV) file from an HTTP address or from the local
file system. For more information, see “NetConnection class”in Flash
ActionScript Language Reference. For more information on playing FLV files
over the Internet, see “About playing back external FLV files dynamically” in
Using Flash.
NetStream The NetStream class is used to control playback of FLV files. For more
information, see “NetStream class”in Flash ActionScript Language Reference.
For more information on playing FLV files over the Internet, see “About
playing back external FLV files dynamically” on page 183.
Sound The Sound class provides control over sounds in a SWF file. For more
information, see “Sound class”in Flash ActionScript Language Reference. For
an example of using the Sound class to create volume and balance
controllers, see “Creating sound controls” on page 189.
Video The Video class is used to show video objects in a SWF file. See “Video
class”in Flash ActionScript Language Reference.