Lingo Dictionary > T-Z > volume (sprite property)

 

volume (sprite property)

Syntax

sprite(whichSprite).volume
the volume of sprite whichSprite

Description

Sprite property; controls the volume of a digital video movie cast member specified by name or number. The values range from 0 to 256. Values of 0 or less mute the sound. Values exceeding 256 are loud and introduce considerable distortion.

Example

This statement sets the volume of the QuickTime movie playing in sprite channel 7 to 256, which is the maximum sound volume:

sprite(7).volume = 256

See also

soundLevel