Adjust Flash Sound Volume

F-IN-BOX allows you to adjust the playback volume of Flash movies using the AxCode.SoundVolume property.

To get the maximum volume level, use f_in_box__lib.AxCode.MaxSoundVolume.


C# Example

f_in_box__control1.AxCode.SoundVolume = f_in_box__lib.AxCode.MaxSoundVolume / 2;

VB.NET Example

f_in_box__control1.AxCode.SoundVolume = f_in_box__lib.AxCode.MaxSoundVolume \ 2

Set the volume to any integer between 0 and the maximum volume value to control sound output.