Hello,
I'm trying to create an effect in Flash MX:
I have a number of graphic objects (movie clips) clustered on the Stage. What I need is when the mouse clicks on an object, that object scales up to a pre-determined value (say 200%) - when the mouse rolls off the object, it scales back down to its original size. I've been trying to figure out the Actionscript for this, but with no luck. It's important that the scaling be gradual and not just a sudden increase/decrease. Just to confirm:
a) OnRollOver - no change
b) OnClick - object scales up
c) OnRollOut - object scales back down
I would be very grateful if someone can give me the AS code to do this. Thanks in advance!
Benny
I'm trying to create an effect in Flash MX:
I have a number of graphic objects (movie clips) clustered on the Stage. What I need is when the mouse clicks on an object, that object scales up to a pre-determined value (say 200%) - when the mouse rolls off the object, it scales back down to its original size. I've been trying to figure out the Actionscript for this, but with no luck. It's important that the scaling be gradual and not just a sudden increase/decrease. Just to confirm:
a) OnRollOver - no change
b) OnClick - object scales up
c) OnRollOut - object scales back down
I would be very grateful if someone can give me the AS code to do this. Thanks in advance!
Benny