Adobe FLEX 2-PROGRAMMING ACTIONSCRIPT 3.0 Manual page 476

Programming actionscript 3.0
Table of Contents

Advertisement

You can use the
SoundMixer.areSoundsInaccessible()
to the
SoundMixer.stopAll()
or more sound owners is inaccessible to the caller.
Calling the
SoundMixer.stopAll()
same as that of the caller of
by SWF files that have called the
domain of the SWF file calling the
and the presence of such sounds can be revealed by calling the
SoundMixer.areSoundsInaccessible()
Calling the
computeSpectrum()
from the same sandbox as the object calling the method or from a source that has granted
permission to the caller's sandbox; otherwise, a SecurityError exception is thrown. For sounds
that were loaded from embedded sounds in a library in a SWF file, permission is granted with
a call to the
Security.allowDomain()
from sources other than SWF files (originating from loaded MP3 files or from Flash video), a
cross-domain policy file on the source server grants access to data in loaded media. You cannot
use the
computeSpectrum()
For more information, see
(cross-domain policy files)" on page
Accessing video data
You can use the
BitmapData.draw()
a video.
There are two different kinds of video:
RTMP video
Progressive video, which is loaded from an FLV file without an RTMP server
You cannot use the
BitmapData.draw()
When you call the
BitmapData.draw()
parameter, the caller of
FLV file, or the server of the FLV file must have a policy file that grants permission to the
domain of the calling SWF file. You can request that the policy file be downloaded by setting
the
checkPolicyFile
476
Flash Player Security
method would not stop all sounds because the sandbox of one
method stops those sounds whose owner sandbox is the
. It also stops those sounds whose playback was started
stopAll()
Security.allowDomain()
stopAll()
method.
method requires that every sound that is playing be either
method in the loaded SWF file. For sounds loaded
method if a sound is loaded from RTMP streams.
"Author (developer) controls" on page 460
456.
method to capture the pixel data of the current frame of
method to access RTMP video.
method with progressive video as the
BitmapData.draw()
property of the NetStream object to
method to find out whether a call
method to permit access by the
method. Any other sounds are not stopped,
must either be from the same sandbox as the
.
true
and
"Website controls
source

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex

Table of Contents