PDA

View Full Version : FMX click on button and image eases to location



cybergold
February 13th, 2003, 12:45 PM
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

eyezberg
February 13th, 2003, 04:11 PM
look for robert penners website, one of flash great scripters, he's got some cool easing scripts available

zao
February 13th, 2003, 04:30 PM
everyone always says that.... "look for robert penners website"

how about a direct link =)

http://www.robertpenner.com/

pom
February 13th, 2003, 05:38 PM
No need to disturb Robert for this :)

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:

cybergold
February 14th, 2003, 12:31 PM
can someone explain this?

pom
February 14th, 2003, 07:05 PM
Which "this"?

cybergold
February 15th, 2003, 10:11 AM
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.

kode
February 15th, 2003, 10:47 AM
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 :)