FMX click on button and image eases to location

How can i duplicate the effect found here? I want an image that eases into location when pressed. Any help would be greatly appreciated http://www.swishzone.com/products/sites/site05/index.html

look for robert penners website, one of flash great scripters, he’s got some cool easing scripts available

everyone always says that… “look for robert penners website”

how about a direct link =)

http://www.robertpenner.com/

No need to disturb Robert for this :slight_smile:

Check the sliding window tutorial, that’s exactly the same thing. And if you need the tweening formulas, there are tutes about that here too.

pom :crazy:

can someone explain this?

Which “this”?

If i have a picture, that is in black and white, and i have a mask that reveals color(it is only a bar). and i want it to go to ease to a desired location when i press a button. What scripting can i use for this, is there an example i can look at? Thank you.

use the easing tutorial here at kirupa :sigh:
http://www.kirupa.com/developer/mx/easing_mouseclick.htm

just replace the x and y coordinates depending on the mouse position with your desired x and y coordinates :slight_smile: