Original Post
Does anyone know if a BitmapAsset is incapable of having a MouseEvent.CLICK event listener attached to it? I've tried hooking one up just like i would with a shape and it doesn't seem to work... The image shows up correctly but when i click on it, my function isn't being called (i put a trace in there and tried other code as well to verify that it isn't being called) Any ideas?
[Embed(source="SoundOn.png")]
private var ImageSoundOnEmbeded:Class;
private var ImageSoundOn:BitmapAsset;
....
ImageSoundOn = new ImageSoundOnEmbeded();
ImageSoundOn.x = 0;
ImageSoundOn.y = 343;
ImageSoundOn.addEventListener(MouseEvent.CLICK,ClickSoundButton);
addChild(ImageSoundOn);