Volume Slider not working as expected
Problem: The volume doesn't seem to change after about the first third of the bar. In other words, if I set the slider all the way to the left, the volume is muted. As I start moving the slider to the right, I can easily tell it is getting louder...but it seems to get the loudest when I am only about a third of the way toward the right (if this were a volume knob that went from 0 to 10...it would be its loudest about 3). I cannot distinguish a volume change in the last two thirds of the bar.
I am using the slider component, and have the maximum set to '1', the snapInterval set to "0.01", and the value set to '1'.
I am using the follow code:
import fl.events.SliderEvent;
import flash.media.SoundTransform;
var voltransform:SoundTransform = new SoundTransform();
Slider.addEventListener(SliderEvent.THUMB_DRAG,changevol);
function changevol(event:SliderEvent):void{
voltransform.volume = Slider.value;
SoundMixer.soundTransform = voltransform
}
Any ideas why this happens? Or a fix?
Thanks
