0
我有下面的代码:检查首歌是缓冲在AS3
var song:Sound;
var sndChannel:SoundChannel;
var context:SoundLoaderContext = new SoundLoaderContext(2000);
function songLoad():void {
song.load(new URLRequest(songs[selected]),context);
sndChannel = song.play();
}
现在我希望能够检查,如果这首歌缓冲与否。有没有办法做到这一点?或者我应该采取不同的方式?
我不敢相信我忽略了那个属性。 非常感谢! – sirxemic 2010-06-09 11:39:22