Soundcard check
To check if the soundcard is available, test if the SoundChannel class is not null
var sound:Sound = new Sound();
var channel:SoundChannel = sound.play();
if(channel != null){
trace("Soundcard available");
}else{
trace("Soundcard not available");
}
Tags: as3, sound, tip
This entry was posted
on Tuesday, September 16th, 2008 at 16:32 and is filed under as3.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.