MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 118

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Media classes
The media classes provide playback control of sound and video in a SWF file, as well as access to
the user's microphone and camera, if they are installed. These classes are located in the Built-In
Classes > Media subfolder in the Actions toolbox.
Class
Camera
Microphone
NetConnection
NetStream
Sound
Video
Client-server classes
The following table lists classes that let you send and receive data from external sources or
communicate with application servers over FTP, HTTP, or HTTPS.
Note: In Flash Player 7, a SWF file can load data only from exactly the same domain from which it
was served. For more information, see
allowing cross-domain data loading" on page
118
Chapter 6: Using the Built-In Classes
Description
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
the
Camera class
entry in
on page
205.
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 the
Microphone class
entry in
on page
205.
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 the
Chapter 12, "ActionScript Dictionary," on page
playing FLV files over the Internet, see
dynamically" on page
197.
The NetStream class is used to control playback of FLV files. For more
information, see the
NetStream class
Dictionary," on page
205. For more information on playing FLV files over the
Internet, see
"Playing back external FLV files dynamically" on page
The Sound class provides control over sounds in a SWF file. For more
information, see the
Sound class
Dictionary," on page
205. For an example of using the Sound class to create
volume and balance controllers, see
The Video class is used to display video objects in a SWF file. See the
class
entry in
Chapter 12, "ActionScript Dictionary," on page
"Flash Player security features" on page 188
Chapter 12, "ActionScript Dictionary,"
Chapter 12, "ActionScript Dictionary,"
NetConnection class
"Playing back external FLV files
entry in
entry in
Chapter 12, "ActionScript
"Creating sound controls" on page
190.
entry in
205. For more information on
Chapter 12, "ActionScript
197.
205.
and
"About
101.
Video

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Table of Contents