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-20-2003, 02:31 PM   PM User | #1
gcapp
Regular Coder

 
Join Date: Aug 2002
Posts: 247
Thanks: 0
Thanked 0 Times in 0 Posts
gcapp is an unknown quantity at this point
question about rotating image in Flash

Can someone answer my question??

I have an image that I have imported into my Flash movie. The image is a wheel and I want to have it rotate a full 360 degrees over a 15 frame movie. Now I have selected a keyframe for each of the 15 frames and set the X coordinate and rotated the wheel a certain amount of degrees. Now this works, but it appears choppy when previewing it. I know you can use motion tweening to move an object, but I wasn't sure about rotating it as well. Is there a simpler way of doing what I described using tweening?? I'm fairly new to Flash - so anyone that may give me an answer - could you explain in detail??

Thanks,
Gary
gcapp is offline   Reply With Quote
Old 08-24-2003, 02:03 PM   PM User | #2
Frank
Regular Coder

 
Join Date: Dec 2002
Location: Ontario, Canada
Posts: 183
Thanks: 0
Thanked 1 Time in 1 Post
Frank is an unknown quantity at this point
New to flash myself but i hope this helps.
Attached Files
File Type: zip wheel spin.zip (2.6 KB, 1200 views)
__________________
if ( atfirst != succeed)
tryagain();
Frank is offline   Reply With Quote
Old 08-25-2003, 05:21 PM   PM User | #3
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
In the frame tab menu on your right hand side, in the tweening section, you will notice an option near the bottom that says 'rotate'. It let's you select the degree of rotation and how many times.

Essentially, you could build the first frame, and then the last frame on 15 (that looks the same), and apply the motion tween for all... in the frame tab, leave everything else without numbers, select 'motion' for tween type, and play with the 'rotation' setting (counter-clockwise, clockwise, etc). This will let you accomplish your rotate without building it yourself. Try this, and if you have issues, post again, and we'll walk through it more specifically. Flash can be wacky with it's animation
__________________
// Art is what you can get away with. <-- Andy Warhol
...:.:::: bradyjfrey.com : htmldog : ::::.:...
bradyj is offline   Reply With Quote
Old 09-05-2003, 06:32 PM   PM User | #4
Kev@DDN
New Coder

 
Join Date: Sep 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Kev@DDN is an unknown quantity at this point
THis would be much better as a coded solution but I gatehr as a newcomer to Flash that would be a bit OTT for you right now...?

In terms of making your movie less 'choppy' try bumping the frame rate up past 30 FPS.
__________________
http://www.dotdragnet.com
http://www.kevinleitch.co.uk
Kev@DDN 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:14 AM.


Advertisement
Log in to turn off these ads.