View Full Version : How make only a part of an animation as a button? Help please!
mx-guest2004
06-01-2004, 01:11 AM
Hi!
I have a button (a circle) which by rollover the mouse on it, a rope appears with a little box at the end of the rope. The problem is that the whole thing is become a button. I mean you then have a long button and with rollover not just the circle, but the box, the button appears. Is that possible just to make the circle as rollover and take this property from the rope and box? This picture may help to understand.
Thanks
mx-guest2004 :)
petefs
06-01-2004, 01:28 AM
if it's truly a button, double-click or right-click and edit instance...look at the 'hit' state, and make only the circle your hit-state
if it's a movieclip that you're attaching button handlers to, make an invisible 'circle' movieclip inside that movieclip, and attach the button handlers to that instead -- pay special attention to your scope when you do this, as 'this' in the handlers will refer to the nested invisible circle, and '_parent' will refer to the movieclip that contains the invisible circle : )
mx-guest2004
06-01-2004, 02:48 AM
Petefs,
I have a button which attachs to a MC (animation). The animation MC is on the 'over' state of the button. The button is the circle and MC is the "circle which becomes bright+rope+the box". The button handlers is attached to the first circle.
I'm a little confused here! But I hope you imagine my button.
mx-guest2004
mx-guest2004
06-01-2004, 03:23 AM
OK, I made it anyway. At the hit state I put a circle (the same color as background, unvisible ;) ) on the same place as the "real" circle and this makes only this area active on Rollover.
Thank you petefs for giving the original idea.
mx-guest2004 :)
petefs
06-01-2004, 03:41 AM
no problem ^_^ glad you've got it sorted out : ) just for work-flow considerations, if it's a hit-state on a button it doesn't need to be invisible ^_^ that graphic will never actually show in the published movie. I know sometimes I hate hunting for the invisible graphics ; )
mx-guest2004
06-01-2004, 03:58 AM
petefs,
You're right. I made the "invisible' circle to be red. No difference. That's invisible no matter which color or shape it has.
mx-guest2004
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.