Name

Sound.getTransform( ) Method — determine the current distribution of the channels of a sound to the left and right speakers

Availability

Flash 5

Synopsis

soundObject.getTransform( )

Returns

An anonymous object whose properties contain the channel percentage values for the sounds controlled by soundObject.

Description

The getTransform( ) method returns an object with properties that tell us how the channels in the sounds controlled by soundObject are distributed to the left and right speakers. The properties of the returned object are ll, lr, rl, and rr, as described in the entry for the Sound.setTransform( ) method.

See Also

Sound.getPan( ), Sound.setTransform( )

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.