PDA

View Full Version : Mousing Over One Object Invoking onRollOver in another button


mjstrong
02-28-2006, 02:18 AM
Hi,

I'm relatively new with flash.

I have a button with an animated roll over behavior. I use it over and over with different prefix words. For example:

Training Guy
Repair Guy
Service Guy

The word Guy is a button in each case; however I want it's animation to occur when the mouse passes over its preceding word.

So, the first Guy would animate when the mouse passed over it or the word "Training" in front of it.

I made the prefix words movie clips, but don't know how to make their rollOver behavior to invoke the corresponding rollOver behavior in their corresponding button word, Guy.

Please advise.

Thanks, in advance for your thoughts.

Ricod
02-28-2006, 01:45 PM
Welcome to AS[org] !

I suggest you make the "guy" button a mc (or nest it in one).

Seperate looks from content. That way you can target your "guy"s (if properly labeled). You can still have it function as a button or nest a button in or under (or above) the graphics.

If you want an example, there are a couple in the movie section and some fully explained ones in the forums which you can find using the handy search option. Give it a try, I'm sure you'll find lots!