# How do I run succesive ease functions?

**URL:** <https://forum.kirupa.com/t/how-do-i-run-succesive-ease-functions/201046>\
**Category:** Uncategorized\
**Created:** [September 18, 2006, 4:42am UTC](https://forum.kirupa.com/t/how-do-i-run-succesive-ease-functions/201046 "2006-09-18T04:42:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yskel](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@yskel](https://forum.kirupa.com/u/yskel)\
**Post date:** [September 18, 2006, 4:42am UTC](https://forum.kirupa.com/t/how-do-i-run-succesive-ease-functions/201046/1 "2006-09-18T04:42:33Z")

</div>

Hi All,

I’m working on an application that involves two different types of easing, one in x and y space, and one in \_xscale and \_yscale. The code that I’m using is derived from the great slidingMenuAS tutorial on this site. My question is: What is the easiest way to create a function such that one ease starts and then finishes, and then the other starts and then finishes? In other words, I want my mc to scroll to a designated coordinate, and then zoom out to a designated scale.

I’ve been working on this for a couple of hours, and no matter how I try to set up the functions, the second ease is the only one that is actually carried out, whether it is the scroll or the zoom (if I change the order of functions, it is still always the second). Any ideas?

Thanks,  
Josh
