EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 628

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...
628 Chapter 12: ActionScript Dictionary
Sound.getPan()
Availability
Flash Player 5.
Usage
my_sound.getPan();
Parameters
None.
Returns
An integer.
Description
Method; 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.
This method is cumulative with
setVolume() or setTransform().
See also
Sound.setPan()
Sound.getTransform()
Availability
Flash Player 5.
Usage
my_sound.getTransform();
Parameters
None.
Returns
An object with properties that contain the channel percentage values for the specified
sound object.
Description
Method; returns the sound transform information for the specified Sound object set with the last
Sound.setTransform() call.

Table of Contents

Related product manuals