Can I make GIF animation frames play faster in ActionScript?
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.
精彩评论