User Guide

26 Unsupported and Partially Supported Classes
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.
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.
NOTE
Flash Lite 2.0 does not support sound recording.
Method Description Support
getPan()
Returns the pan level set in the last setPan() call
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.
Partially
supported
getTransform()
Returns the sound transform information for the
specified Sound object set with the last
Sound.setTransform() call.
Limitations: Supported for use with native Flash
sound; not supported for use with device sound.
Partially
supported
loadSound()
Loads an MP3 file into a Sound object. You can
use the
isStreaming parameter to indicate whether
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.
Partially
supported