视频组件未播放完就触发 COMPLETE 事件?
我设置了视频组件的 COMPLETE 事件,但有时候未播放完就触发事件了,请问是怎么回事呢
myvideo.addEventListener(VideoEvent.COMPLETE, the_end);
function the_end(event:VideoEvent)
{
ExternalInterface.call("completeplay");
mybutton.visible = true;
}
[解决办法]
缓冲时间的影响吧
发布时间: 2012-03-12 12:45:33 作者: rapoo
视频组件未播放完就触发 COMPLETE 事件?
我设置了视频组件的 COMPLETE 事件,但有时候未播放完就触发事件了,请问是怎么回事呢
myvideo.addEventListener(VideoEvent.COMPLETE, the_end);
function the_end(event:VideoEvent)
{
ExternalInterface.call("completeplay");
mybutton.visible = true;
}
[解决办法]
缓冲时间的影响吧