How can i call and instantiate soundclips in my library dynamically
here is the code i have so far
function soundbutton_Handler (e:MouseEvent):void {
trace(e.target.name);
var mySound:Sound = new e.target();
mySound.play();
}
and the error i get is : Error #1007: Instantiation attempted on a non-constructor. at quiz_fla::MainTimeline/soundbutton_Handler()