Can anyone see where i am messing up please ?
I am trying to play a sound from my imported library
and it wont play
import flash.media.Sound;
button.addEventListener(MouseEvent.CLICK, playSound);
function playSound(e:Event)
{
trace("1234567");
var s:Sound = new Sound(new Sound("1.wav"));
s.play();
trace("987654321");
}
i think i have got it down to this (new Sound("1.wav"));
thanks.