Código:
pero ahora que lo he hecho funcionar los botones solo funcionan si hago onpress pero si les pongo onRelease para que el usuario no tenga que hacer cadavez un clic.btn_dw.onPress = function() {
volum = volum -2;
valor_vol.text = volum;
mysound.setVolume(volum);
setProperty(barra_volum,_height,volum);
// enable butons o no enable buttons
if (volum == 0){
btn_dw.enabled = false;
}
if (volum < 100){
btn_up.enabled = true;
}
}
btn_up.onPress = function(){
volum = volum+2;
valor_vol.text = volum;
mysound.setVolume(volum);
setProperty(barra_volum,_height,volum);
// enable butons o no enable buttons
if (volum == 100){
btn_up.enabled = false;
delete this.onEnterFrame;
}
if (volum < 100){
btn_dw.enabled = true;
}
}
No se como hacerlo para que quando me pongan el raton encima vaya augmentado el valor volumen
alguien sabe?
gracias

