PDA

View Full Version : Button On-State issue...


aktionskript
03-04-2008, 04:46 PM
I have a set of buttons in I created in flash. Once a user roll's over a button, a seperate movie is loaded up in the OVER state, with a short animation which includes some fancy masking. (It basically reveals the content for that particular area represented by that button)

Once the mouse moves away from the button to reveal the UP state, the movie dissapears. (which is the usual way buttons work in flash)

What I want, is for the movie to stay on the page once the user moves the mouse away from the button.

The movie should only dissapear when the user decides to roll over a different button.

I know I need some action script to trigger this event, but I'm a designer with basic action script knowledge so any help would be greatful.

thanks,

atomic
03-04-2008, 09:03 PM
Separate the movie clip from the button, and control through button handler actions.

Attach your .fla, if you still can't get it going...

aktionskript
03-05-2008, 08:49 AM
hey atomic.

Thanks for that, ive got the following code to make the movie clip appear for each button:

on (rollOver){
allegra5_mc.play()
}

however I need to know how to make the movie dissapear once i rollOver on another button...

any ideas?

atomic
03-05-2008, 12:48 PM
Do you have a transition out on those mc's, or do you just want to make them invisible?
How many mc's and corresponding buttons do you have?