I want to play a sound on click of a button. I can do this in AS 2.0
//Action Script 2.0
snd=new Sound();
snd.attachSound("try");
snd.start();
//Action Script 3.0
var snd:Sound = new Sound();
//what will come here, as .attachSound() is not there in AS 3.0
snd.play();
Thanks…