S > Sound.getPan

Sound.getPan

Syntax

mySound.getPan();

Arguments

None.

Description

Method; returns the pan level set in the last setPan call as an integer from -100 to 100. 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.

Player

Flash 5 or later.

See also

Sound.setPan

Sound.setTransform