Button rollOver/rollOut question

Hey all,

I’m new to this whole flash thing… Only been in it for a couple weeks, so this might seem like a pretty basic question… but it’s got me stumped! Here’s what I’m trying to do:

  1. I have a rectangular button on my main stage at the very top.

  2. When the user rolls over the button, it tween animates (approx 5-6 frames) downward to reveal two more rectangular buttons that came from off the stage. (essentially, it’s a scrolling menu)

  3. There are now 3 rectangular buttons on the main stage and they are all butted up next to eachother.

What I want to do: I want to detect if the mouse pointer is on ANY of the 3 buttons. If the mouse pointer is on any of the 3 buttons, I want the menu to remain down. If the mouse pointer leaves all the buttons (EG. rolls out over the background, leaving the “menu” completely) I want the menu to roll back up.

I have it all working except for the rollling up part. That’s what has me stumped.

Any help would be greatly appreciated.

.k

PS. Sorry if it’s a poor explanation. I found it kind of hard to explain this issue. Let me know if I can do anything to further clarify what I’m trying to do.

Just to clarify, I’ve successfully tween animated the menu back up using the “on release” event from any of the buttons. So getting the menu to go back up isn’t what has me stumped… I got that part down. I just want it to tween animate up automatically when the user leaves the bounds of the entire menu (aka. all 3 buttons)

thanks again!

Here is the most common way =)

doh! I checked out the swf and thats EXACTLY what I want!

unfortunately, when I try to open the fla, it says “unexpected file format”

do i have a different version of mx2004?

Ummm, You shouldnt. :huh:
I re-saved it as just an MX version. Try that.