este es el archivo.
https://mega.nz/#!JygE3b7D!EzC29bzVQpzbUQcaAbzQ2OqUcGwfMvBJf93NKmCTrL0
este es el código que usé.
Código ActionScript :
B_repetirYdetener.stop();
var musica:Sound = new LetraA();
var canal1:SoundChannel = new SoundChannel();
B_repetirYdetener.addEventListener (MouseEvent.CLICK, iniciarMusicaF);
function iniciarMusicaF (e:MouseEvent):void
{
if (B_repetirYdetener.currentFrame ==1)
{
B_repetirYdetener.gotoAndStop(2);
canal1 = musica.play();
}
else if (B_repetirYdetener.currentFrame ==2)
{
B_repetirYdetener.gotoAndStop(1);
}
}
Nota: No se nada de programación. estoy aprendiendo a través de internet.
