tomassantos
To fold or to FOLD?
.
Última edição:
botao.addEventListener(MouseEvent.MOUSE_UP, funcaobotao);
var s:Sound;
function funcaobotao(e:MouseEvent):void{
gotoAndPlay(2);
SoundMixer.stopAll()
var req:URLRequest = new URLRequest("som.mp3");
s = new Sound(req);
var soundChannel:SoundChannel = s.play();
soundChannel.addEventListener(Event.COMPLETE, _soundCompleteHandler);
}
function _soundCompleteHandler(e:Event):void
{
s.seek(0);
}
Sinceramente não te sei ajudar...
Escrevo aqui apenas para perguntar o porquê de ainda usares AS2? Em AS3 é tudo tão melhor que eu não percebo como é que ainda há pessoas a perder tempo a aprender AS2...