Setpan (Sound.setpan Method); Settransform (Sound.settransform Method) - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Example
For a sample usage of this property, see
.
Sound.duration
See also
duration (Sound.duration property)

setPan (Sound.setPan method)

public setPan(value:Number) : Void
Determines how the sound is played in the left and right channels (speakers). For mono
sounds,
determines which speaker (left or right) the sound plays through.
pan
Note: Flash Lite 2.0 supports this method for native Flash sound only. The sound formats
that are specific to a host device are not supported.
Availability: ActionScript 1.0; Flash Lite 2.0
Parameters
- An integer specifying the left-right balance for a sound. The range of valid
value:Number
values is -100 to 100, where -100 uses only the left channel, 100 uses only the right channel,
and 0 balances the sound evenly between the two channels.
Example
For a sample usage of this method, see
.
Sound.getPan()
See also
,
,
attachSound (Sound.attachSound method)
getPan (Sound.getPan method)
,

setTransform (Sound.setTransform method)

setVolume (Sound.setVolume
,
method)
start (Sound.start method)
setTransform (Sound.setTransform method)
public setTransform(transformObject:Object) : Void
Sets the sound transform (or balance) information, for a Sound object.
The
parameter is an object that you create using the constructor
soundTransformObject
method of the generic Object class with parameters specifying how the sound is distributed to
the left and right channels (speakers).
Sound
613

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash lite 2

Table of Contents