Flash play() 立即处理?
Flash 中的 play()
函数是否
- 将 MovieClip 的播放头移动到下一帧 - 一旦调用
play()
将 - MovieClip 的状态更改为“正在播放” " -- 当影片移动到下一帧时,实际上将 MovieClip 移动到下一帧
Does the play()
function in Flash:
- move the playhead of the MovieClip to the next frame -- as soon as
play()
is called - change the MovieClip's state to "playing" -- actually move MovieClip to next frame, when movie moves to next frame
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
正常情况下是选项2。但是,可以立即重新绘制框架。 但有一个问题,您只能在鼠标移动和计时器间隔处理程序中执行此操作。 在 AS3 中,查看 MouseEvent.updateAfterEvent和 TimerEvent.updateAfterEvent 方法。 在 AS 2 中,有一个全局 updateAfterEvent 函数,您可以使用相同的限制。
In normal circumstances it would be option 2. However, it is possible to have the frame re-drawn immediately. There is a catch though, you can only do this within mouse move and timer interval handlers. In AS3 have a look at the MouseEvent.updateAfterEvent and the TimerEvent.updateAfterEvent methods. In AS 2 there is a global updateAfterEvent function you can call with the same restrictions.
我认为是2.将MovieClip的状态更改为“正在播放”
I think its 2. change the MovieClip's state to "playing"