Hey all - I'm trying to use the Sound() class to load and
play a sound. No errors are thrown and everything appears to work
fine (and my speakers are on) but I hear no sound! Is there
anything I could be missing?
var s:Sound = new Sound();
private function OnSoundLoaded(e:Event):void
var sound:Sound = e.target as Sound;
var channel:SoundChannel = sound.play();
So, the OnSoundLoaded function is called fine - no IO error
occurs or anything - and the channel variable is not null. However,
no sound is played. I've tried loading this same sound file in a
flash sound player made by someone else, and the sound played fine,
so it's not a problem with the file itself.