View Full Version : bounce effect on button
phebsix
01-25-2007, 07:45 PM
Hello good pple of the forum, please in the attached swf how can i create the bounce effect on the button, when the mouse rolls over it.
Thank you
BernzSed
01-26-2007, 12:22 AM
Use the tween class.
Here, read this: http://www.adobe.com/devnet/flash/articles/tweening.html
You could replicate this effect by using the tween class to tween the _xscale and _yscale properties of a rectangle movieclip. The bounce effect comes from one of the easing classes.
3pepe3
01-26-2007, 01:17 AM
Here, read this: http://www.adobe.com/devnet/flash/articles/tweening.html
Thanks a lot for the link... i was searching info about this subject X)
BernzSed
01-26-2007, 01:23 AM
Yeah, it took me a while to find out about that, too; it's not in LiveDocs, and I don't know of any other documentation for it.
Anyway, glad I could help.
phebsix
01-26-2007, 03:20 PM
Thank you for the link, also got to check some tutorial on the easing effect on Adobe's site.
Cheers
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.