setVolume (Sound.setVolume method)

public setVolume(value:Number) : Void

Sets the volume for the Sound object.

Availability: ActionScript 1.0; Flash Player 5

Parameters

value:Number - A number from 0 to 100 representing a volume level. 100 is full volume and 0 is no volume. The default setting is 100.

Example

See Sound.getVolume() for a sample usage of this method.

See also

setPan (Sound.setPan method), setTransform (Sound.setTransform method)


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00002142.html