package {
import flash.display.Sprite;
import flash.system.Capabilities;
public class Main extends Sprite {
public function Main() {
if (Capabilities.hasAudio) {
trace ("Audio OK!");
} else {
trace("Audio not available");
}
if (Capabilities.hasStreamingAudio) {
trace ("Streaming OK!");
} else {
trace("Streaming not available");
}
}
}
}
|