Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I tween from a position stored in a variable?????

Status
Not open for further replies.

oddball

Technical User
Mar 17, 2000
64
GB
I have a looped animation of lines that are supposed to appear like interference. When the rollover event occurs on a menu option button the scene stores the position of each line at that instant in to a variable. Then a goto jumps to the next scene where the lines need to tween from the position stored in each variable to a fixed point just below the menu option.

When I try to set the _x property of each line, in the first keyframe, to the value in the variable it sets it in every frame of the tween rather than just initially. The current effect is the lines suddenly jump at the last keyframe of the tween to the position under the menu option rather than tweening smoothly.

HELP!
 
hi oddball

I'm just a little confused about how you're moving your lines. Are you 'shape' or 'motion' tweening the lines, or are you using scripting to control separate instances of lines?

If your still around could you post a link to the fla or e-mail it to me, I think this could be quite quickly sorted, although possibly with a different approach.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top