all groups > flash actionscript > august 2007 >
You're in the

flash actionscript

group:

Creating a simple scaling RollOver


Creating a simple scaling RollOver Bradleyvance
8/3/2007 9:09:47 PM
flash actionscript: I'm trying to create a simple scaling rollover effect for some buttons using
actionscript 3.

In my file I have two buttons, the first button has the proper beginning and
ending states, but lacks the animation in between. The second button has the
proper animation, but unfortunately the animation was achieved via key-framing
and not actionscript, which of course would be much cooler! So really the
second button is just a reference of what I'm trying to achieve.

I was able to find examples of the effect I'm going for using actionscript 2,
but I'd like to be able to do this in Actionscript 3.

If anyone could take a look at my file and point me in the right direction I
would be extremely grateful.

Thanks!

Brad

http://bradleyhawkins.com/RollOverHearts.fla.zip
Re: Creating a simple scaling RollOver Nick Barling
8/3/2007 11:56:43 PM
Hi,

Use the new E4X xml handling capability of AS3 and the copy motion as AS3
feature to copy the timeline motioning sequence and convert it to AS3.

Follow this video to see how it is done.

http://www.adobe.com/designcenter/video_workshop/?id=vid0132

Regards

Re: Creating a simple scaling RollOver Bradleyvance
8/4/2007 12:02:43 AM
AddThis Social Bookmark Button