# Actionscript Animation Help

**URL:** <https://forum.kirupa.com/t/actionscript-animation-help/173720>\
**Category:** flash\
**Created:** [December 28, 2005, 11:55pm UTC](https://forum.kirupa.com/t/actionscript-animation-help/173720 "2005-12-28T23:55:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bubbapuck](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@bubbapuck](https://forum.kirupa.com/u/bubbapuck)\
**Post date:** [December 28, 2005, 11:55pm UTC](https://forum.kirupa.com/t/actionscript-animation-help/173720/1 "2005-12-28T23:55:24Z")

</div>

I am trying to animate an object in actionscript and am having a little trouble. Here is the scenario:

On the root timeline, there is a movie clip instance named main\_mc. Inside of main\_mc I have an small object with an instance name of frameUL\_mc (this is positioned at X: 215 and Y: -45). When I roll over main\_mc I want the frameUL\_mc object to move to postion X: 175 and Y: -5). When I roll out of main\_mc, I want it to slowly move back to its original position (X: 215 and Y: -45). I want to control frameUL\_mc from frame 1 of the main timeline and not actionscript on the movie clip or motion tweening inside the frameUL\_mc timeline. I would like to add easing and a variable to control the speed but that is not as important as getting the animation to work.

I did use the motion tween on the frameUL\_mc timeline and used gotoAndPlay to different states of the movie clip (using frame labels). But when I rolled off then rolled back on too quick, the movie got all screwie on me.

Can anyone please help.

Thanks… Bubba
