this.isDragging = true;
};
knob_mc.onMouseMove = function() {
if (this.isDragging) {
this.volume_txt.text = this._x;
}
}
knob_mc.onRelease = function() {
this.stopDrag();
this.isDragging = false;
my_sound.setVolume(this._x);
};
See also
Sound.setVolume()
Sound.getVolume()
761
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers