Easing within boundaries

Hello Kirupians,

I have a quickie for you (wait a minute let me re-word that…lol) I have a quick question for you.

~ I have been using the tutorial http://www.kirupa.com/developer/mx/followease.htm
to do some easing but I need the easing to stay within boundaries I set so it cant just follow the mouse over the entire screen, it stays in its little area. I’ve done something similar when using the random motion actionscript but it’s not working. Any ideas?

Thanks guys.

~ Seretha Blaze :love:

[edit]
Let me add to this, perhaps it will also help in solving the problem.

I would eventually like to acheive an ease where if the mouse is in a certain area (say somewhere between 0.0 and 100.100) then the ease will be in an exact location whereas if the mouse goes 100 px down the the ease box will make its way to the exact location, say x=100 y=0. I can tell it’s possible but I just cant get it right in the coding.