
Код:
//set the volume to off. thisSound is created in the
//action script in frame one, and needs to be targeted
//by using the word "_root" in front of it.
_root.thisSound.setVolume(80);
_y = _root.thisSound.getVolume()*_root.mySliderBar._height/100