开发者

Can I make GIF animation frames play faster in ActionScript?

开发者 https://www.devze.com 2023-01-09 03:15 出处:网络
like say i have a gif that has 10 frames. what i开发者_运维问答s the code that will help me make the gif go through those frames at a quicker pace?Pull each frame from the GIF and place them om the ti

like say i have a gif that has 10 frames. what i开发者_运维问答s the code that will help me make the gif go through those frames at a quicker pace?


Pull each frame from the GIF and place them om the timeline and then det the framerate of the movieto whatever you like


You set the framerate in the file properties (by clicking on the empty background).


If you want to increase your animation's FPS rate, you can't do it by code. The .fla framerate is defined by the field FPS, located in the Properties panel of the animation.

You can use the EnterFrame event of Actionscript to control the flow of your animation, but even with it you can't change the framerate.

Child movies will inherits the framerate's parent movie.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号