EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 118

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
118 Chapter 6: Using the Built-In Classes
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 subfolder in the Actions toolbox.
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 “Flash Player security features” on page 188 and “About
allowing cross-domain data loading” on page 190.
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
the Camera class entry in Chapter 12, “ActionScript Dictionary,”
on page 205.
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 the
Microphone class entry in Chapter 12, “ActionScript Dictionary,”
on page 205.
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 the NetConnection class entry in
Chapter 12, “ActionScript Dictionary,” on page 205. For more information on
playing FLV files over the Internet, see “Playing back external FLV files
dynamically” on page 197.
NetStream The NetStream class is used to control playback of FLV files. For more
information, see the NetStream class entry in Chapter 12, “ActionScript
Dictionary,” on page 205. For more information on playing FLV files over the
Internet, see “Playing back external FLV files dynamically” on page 197.
Sound The Sound class provides control over sounds in a SWF file. For more
information, see the Sound class entry in Chapter 12, “ActionScript
Dictionary,” on page 205. For an example of using the Sound class to create
volume and balance controllers, see “Creating sound controls” on page 101.
Video The Video class is used to display video objects in a SWF file. See the Video
class entry in Chapter 12, “ActionScript Dictionary,” on page 205.

Table of Contents

Related product manuals