Sound Class - MACROMEDIA FLASH 8-INTRODUCTION TO FLASH LITE 2.X ACTIONSCRIPT Introduction Manual

Introduction to flash lite 2.x actionscript
Table of Contents

Advertisement

Sound class

ActionScript for Flash Lite 2.0 supports device sound through the Sound class and through
System.capabilities values. The Sound class is fully supported for native sounds supported in
Flash Player 7, but it is only partially supported for device sounds.
Flash Lite 2.0 adds support that lets you synchronize device sound playback with rendering
animation.
Flash Lite 2.0 does not support sound recording.
Method summary
The following table lists the methods that are partially supported by the Sound class for when
using ActionScript for Flash Lite 2.0.
Method
getPan()
getTransform()
loadSound()
26
Unsupported and Partially Supported Classes
Description
Returns the pan level set in the last
as an integer from -100 (left) to +100 (right). (0
sets the left and right channels equally.) The pan
setting controls the left-right balance of the
current and future sounds in a SWF file.
Limitations: Supported for use with native Flash
sound; not supported for use with device sound.
Returns the sound transform information for the
specified Sound object set with the last
Sound.setTransform()
Limitations: Supported for use with native Flash
sound; not supported for use with device sound.
Loads an MP3 file into a Sound object. You can
use the
parameter to indicate whether
isStreaming
the sound is an event or a streaming sound.
Event sounds are completely loaded before they
play. They are managed by the ActionScript
Sound class and respond to all methods and
properties of this class.
Limitations: The streaming parameter is ignored
when used with Flash Lite 2.0.
setPan()
call.
Support
call
Partially
supported
Partially
supported
Partially
supported

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-INTRODUCTION TO FLASH LITE 2.X ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents