BGSOUND.balance (Property)

The stereo balance of the background sound.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Number primitive
JavaScript syntax:IEmyBGSOUND.balance

The relative volume of the left and right channels will be adjusted according to the value of this property. This provides a limited amount of control over the apparent direction of the sound source.

Creative use of the balance property may be tied in to the horizontal scrolling of a page for creating virtual reality effects.

Much more sophisticated control is available through the aural style sheet properties, although these are not yet properly supported by browsers.

See also:style.azimuth

Property attributes: