Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-07-2003, 02:01 AM   PM User | #1
boywonder
Regular Coder

 
Join Date: Jun 2002
Location: New York, USA
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
boywonder is an unknown quantity at this point
'Stretching' a Flash movie

Hi,
I received a flash movie from a client to use in their web site... a friend of their's made it. Pretty nice actually considering the author was not experienced at all with flash.

any way, for some reason he built it at only 5 FPS and as you can imagine the animation is not really smooth. I have an idea to stretch the movie out to 3 times it's length (in frames) and knock the FPS up to 15 to achieve a nicer animation.

So, is there a way to take the entire timeline, or just even one layer at a time, and extend it while keeping all keyframes at the same ratio... so if I had a layer of 30 frames with keyframes at 10,20,30... I would like to extend it to 90 and have the keyframes stay in ratio at 30,60,90... make sense?

If anyone has a clue that makes one of us
boywonder is offline   Reply With Quote
Old 08-08-2003, 03:29 PM   PM User | #2
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
How about trying to change the Frame Rate instead?
Might be simpler
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 08-08-2003, 05:35 PM   PM User | #3
boywonder
Regular Coder

 
Join Date: Jun 2002
Location: New York, USA
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
boywonder is an unknown quantity at this point
well, that's my problem kind of... I want to change the frame rate from 5 to 12 or so frames per second. But I don't want to speed up the movie if you know what I mean. It's just to get a smoother animation. I will need to extend the total frames for every layer to offset the higher frame rate, hopefully keeping all keyframes at the correct relative positions in the process. I don't think there's an easy way to do it unfortunately. Thanks.
boywonder is offline   Reply With Quote
Old 08-08-2003, 05:48 PM   PM User | #4
MotherNatrsSon
Senior Coder

 
Join Date: Mar 2003
Location: OHIO
Posts: 1,438
Thanks: 1
Thanked 0 Times in 0 Posts
MotherNatrsSon is an unknown quantity at this point
I have Flash 5 and am not extremely familiar with it but I do know that in Photoshop, in the animation part of Image Ready, they have a function called "tweening". Tweening automatically adds frames between two selected frames. For you to keep the proportions, you would have to do the math and figure out how many frames you would have to add "inbeTWEEN" the existing frames.

If Flash has a function similar to "tweening" it would be your solution. I would check out the user guide and hit a couple of hardcore Flash sites where there are people that use it more regularly than most here do.

MNS
__________________
[size=1]"If you want to be "in the biz" you are going to have to roll with the changes or get out, basically."
MotherNatrsSon is offline   Reply With Quote
Old 08-08-2003, 06:53 PM   PM User | #5
bradyj
Senior Coder

 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 2,469
Thanks: 0
Thanked 0 Times in 0 Posts
bradyj is an unknown quantity at this point
There is no simple way to do what you are talking about, and it makes sense. You want to UP the frame rate (from 5 to 12) but you want to keep a similiar speed by adding more frames into the mix, correct?

You have to go layer by layer, and drag each keyframe out to it's needed point... start large and go down. If you have your keyframes at 10, 20, 30. Move 30 to 90, 20 to 60, 10 to 30... and so on.

That's really the only way to do it without hacking up the whole thing, and once you get into it, it'll be monotonous, but not too time consuming.

That help?
__________________
// Art is what you can get away with. <-- Andy Warhol
...:.:::: bradyjfrey.com : htmldog : ::::.:...
bradyj is offline   Reply With Quote
Old 08-08-2003, 08:12 PM   PM User | #6
boywonder
Regular Coder

 
Join Date: Jun 2002
Location: New York, USA
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
boywonder is an unknown quantity at this point
Thanks all! - yes bradyj exactly... it was wishful thinking, I pretty much came to that same conclusion. Figured it couldn't hurt to ask around though if there was a way for Flash to handle the math and adjust keyframes automatically.

Flash Help said something to the effect of - it's wise to settle on a frame rate prior to creating the movie. ie no easy way for this...

thank you
boywonder is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:16 AM.


Advertisement
Log in to turn off these ads.