是否可以只循环时间线的一部分?
这是我目前正在处理的屏幕截图...... https://i.sstatic.net/45GX9.png
我用红色勾勒出的区域显示了我想要在动画的其余部分停止后循环的帧。上层中的 ActionScript 只是整个动画的 stop();
命令。
我需要循环的两层是补间“突出显示”和相关蒙版以使其适合下面的类型。
Here is a screenshot of what I'm working with at the moment...
https://i.sstatic.net/45GX9.png
The area that I've outlined in red shows the frames that I want to loop after the rest of the animation has stopped. The ActionScript in the layer above is simply a stop();
command for the whole animation.
The two layers that I need to loop are a tweening 'highlight' and the relevant mask to fit it to the type below.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果出于某种原因您不能或不想创建循环影片剪辑,您只需将
stop();
命令更改为gotoAndPlay(70);
If for whatever reason you can't or don't want to create a looping movieClip you could simply change the
stop();
command togotoAndPlay(70);
只需将您想要发生的任何动画放入其自己的影片剪辑中即可。影片剪辑可以嵌套任意深度。要控制循环影片剪辑,只需给它一个实例名称,然后您可以调用:
...或...
...从您放置操作的任何位置。
Just put whatever animation you want to happen into its own movie clip. Movie clips can be nested as deep as you like. To control your looping movieclip just give it an instance name and then you can call:
...or...
...from wherever you are putting your actions.