Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/02/2010, 16:51
carmigh2
 
Fecha de Ingreso: febrero-2010
Mensajes: 15
Antigüedad: 14 años, 3 meses
Puntos: 0
Respuesta: escenas sonido

Mira, lo ingresé por código, el mismo me reproduce el sonido de fondo (sonido) y la voz (primero) en diferente volumen.
Te paso el código:

Cita:
function crearSonido(identificador:String):Sound {
var clip:MovieClip = this.createEmptyMovieClip("contenedor"+this.getNex tHighestDepth(), this.getNextHighestDepth());
var sonido:Sound = new Sound(clip);
sonido.attachSound(identificador);
return sonido;
}

var misonido:Sound = crearSonido("sonido");
var misonido2:Sound = crearSonido("primero");
misonido.start(0, 5000);
misonido2.start(0, 1);
misonido.setVolume(60);
misonido2.setVolume(400);