# \[FMX\]Timing AS

**URL:** <https://forum.kirupa.com/t/fmx-timing-as/128078>\
**Category:** Uncategorized\
**Created:** [November 9, 2004, 11:07am UTC](https://forum.kirupa.com/t/fmx-timing-as/128078 "2004-11-09T11:07:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dashboard](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dashboard/32/880_2.png) [@dashboard](https://forum.kirupa.com/u/dashboard)\
**Post date:** [November 9, 2004, 11:07am UTC](https://forum.kirupa.com/t/fmx-timing-as/128078/1 "2004-11-09T11:07:25Z")

</div>

Hey all, ive always browsed kirupa forums but never actually been a member(a sin?). Thought its time for me to break into the scene so to speak.

I have a question for all the uber flash gurus out there and i have tried searching the forums for my answer but i wasnt actually sure what i should be looking for. I was wondering if there is anyway to pause between lines of code.

The situation i am in at the moment, i am building a small portfolio for my multimedia class and skill level is above everyone else in the class and i think the lecturers were just expecting some easy motion tweens and working buttons but i decided to make it a bit of a project to build a whole new portfolio using as much actionscript as i could.

I have built prototype functions for moving an MC on x axis and y axis with easing. Simple enuff but i cant work out how do one after the other.

```auto

on(release) {
_root.box.moveX(200, 2);
_root.box.moveY(200, 2);
}

```

Nothing happens if i have both in the button, i was thinking that i could do a loop and just check where the object that i am moving is at but thought that would be long way of doing it. There must be a way to not go onto another line of code UNTIL the other one has finished…just how? o.O

Thanks.
