Sound.getTransform( ) Method

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
Sound.getTransform( ) Method Flash 5

determine the current distribution of the channels of a sound to the left and right speakers
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( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net