PDA

View Full Version : Can I Scale Frames on the Timeline?


brianemsu
11-29-2007, 09:01 PM
I am wondering if there is a way I can select a range of frames on the timeline and scale them up or down to compress the time of my movie?

One problem that this would fix is how I created a movie at 30 frames per second and later find that the limit is 12. How do I fix this?

Also, this would help in another problem. I created a few layers of 150 frames each. I need to compress those 150 frames down to half that. I still want 150 frames but I want the animation to repeat 2 times inside of that range instead of once.

Hopefully there is an easy fix for this?
Thanks for your help!

-Brian

Noct
12-02-2007, 07:30 AM
Well, as far your first question goes, if you are keyframe animating this then you could certainly just drag your keyframes to new positions to change thier durations.

You could also do it with code if you didn't want to alter the actual frames, which would apply to your last question as well. If these frames aren't in a sperate clip then the main file you would convert (cut&paste) the frames you wanted to alter into a separate movieClip, and rather then having the timeline control the speed of the animation, you make an interval that fires as often as you want the frame to change and send it a nextFrame command when it fires.

As far as your second question goes, you have a couple of options there. You could obviously just open the original fla, change the fps, and republish the file, or alternately you could just create a holder clip at 12fps and load the other swf into it. Child clips always inherit the FPS of their parent.

Of course, doing this would totally alter the timing of your animation. An animation that looks fluid at 30fps is going to be crawling at 12. But, then you could institute the method I described above to move it at a faster rate then the fps.

I also read in a thread here some time ago that you can change the FPS of a file by loading another swf with a (blank) sound file into it. Evidently Flash will change the current files FPS to match the swf with the audio file.