Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/01/2005, 09:40
Karl_04
 
Fecha de Ingreso: noviembre-2004
Mensajes: 22
Antigüedad: 19 años, 5 meses
Puntos: 0
Pregunta

Bueno yo tenia:

if (noRepeat==undefined){
var noRepeat:Number;
noRepeat=1;
var sonido:Sound=new Sound();
sonido.attachSound("cancion");
sonido.onSoundComplete= function(){
this.start();
};
sonido.start();

Y para los botones en fotogramas 1 y 10 la imagen de sonido on y sonido off con el código siguiente:

on (release)
Begin Tell target ("cancion")
gotoAndStop("sonido_off")
//un frame con el nombre sonido_off
end tell target
gotoAndStop ("stop")
End on
...etc ,etc

Nada, que lo encuentro demasiado liado...

¿le encuentras otro más facil?