![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/06/2008, 16:05
|
![Avatar de gran Wakka](http://static.forosdelweb.com/customavatars/avatar194220_1.gif) | | | Fecha de Ingreso: septiembre-2007
Mensajes: 712
Antigüedad: 17 años, 5 meses Puntos: 48 | |
Respuesta: Reproducir un mp3 en flash en firefox Sigue sin funcionarme. :(
en el frame 1 de la capa 1 he puesto lo siguiente:
var _position:Number = 0;
var _sound:Sound;
function play():Void {
this._sound = new Sound();
this._sound.setVolume(100);
this._sound.loadSound(_root.cancion.split("|"));
this._sound.start(Math.round(this._position / 1000));
}
Y desde un botón que esta en la capa 2 tengo:
on (release) {
this.play();
} |