S > Sound.getPan |  |

Sound.getPan

sound, sound.getpan, getpan, pan

Availability

Flash Player 5.

Usage

    mySound.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 movie.

This method is cumulative with the `setVolume` or `setTransform` methods.

See also

`Sound.setPan`