Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 29th, 2003, 08:31 PM
kubicon's Avatar
kubicon kubicon is offline
pogremar
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: At Work
Posts: 945 kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 14 h 50 m 47 sec
Reputation Power: 7
tweening question

I'm trying to tween a shape (rectangle). Basicaly, make an on mouse over event that makes the shape elongate. So if figured "easy", I'll just make two keyframes and tween between the two. Well, it sort of works but the shapes moves as it is tweening. I believe this is due to the fact that the pivot point is moving with it. So if could just move the pivot point to one end this wouldn't happen. I could be wrong, but this is what I think is going on. Let me try to draw what I want to do in good ol' ASCI art.

go from here:
_______________
|_______________|

(On mouse over) to here:
___________________________
|___________________________|

(On mouse out) back to here:
_______________
|_______________|

question.
is there any way to move the pivot point to one end so that the shape doesn't move as it elongates?
If there is a better anwer, please let me know.

BTW: I just been working with flash for about 2 days so I'm a noob in it.

i've used other animation software like maya, 3ds max and Toonz so don't worry about animation jargon.

thanks
__________________
Some day I'll create a smart quote to put here.

Reply With Quote
  #2  
Old July 30th, 2003, 06:54 AM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
(wow. I haven't use shape tween in ages, and had to lookup how to do it. *beet red*)

if you're using shape tween to elongate your button... on the first keyframe of the tween, click on your shape, and look in the Info panel. there are nine little squares. you can set your center point of your shape to center (by clicking the middle square) or top left (by clicking the top-left square).

or you can move the center pivot by clicking the Free Transform tool, and then drag the pivot to wherever you want.

Reply With Quote
  #3  
Old July 30th, 2003, 06:57 AM
kubicon's Avatar
kubicon kubicon is offline
pogremar
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: At Work
Posts: 945 kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 14 h 50 m 47 sec
Reputation Power: 7
thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > tweening question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway