ActionScript 3 中的 VideoEvent.READY 是什么?
我很好奇 ActionScript 3 中的“VideoEvent.READY”的用途。所以,考虑一下这段代码:
myFLVPlayer.addEventListener(VideoEvent.READY, myMethod);
我在 ActionScript 参考指南中查找了该常量,但它们的定义非常糟糕。有谁知道上面的代码将完成什么?当 FLVPlayback 组件的源视频已加载其源视频并准备就绪时,它会监听吗?
I am curious as to what the "VideoEvent.READY" in ActionScript 3 is for. So, consider this code:
myFLVPlayer.addEventListener(VideoEvent.READY, myMethod);
I looked up the constant in the ActionScript reference guide, but their definition was very poor. Does anyone know what the above code will accomplish? Will it listen when the source video of the FLVPlayback component has loaded its source video and is ready to go?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
啊...是的。我是对的。它要么等到目标视频下载完毕,要么视频已从缓存中提取并准备好!
Ah... yes. I was right. It either waits until the target video has downloaded, or the video has been pulled out of cache and is ready to go!