PDA

View Full Version : mouse over motion tween


djzombie187
03-13-2003, 12:24 AM
i have a button that says "contact info" (its not actually a button, it hasn't been converted to a symbol yet). then i have a seperate section that is layered behind everything hidden. what i want to do is when your mouse goes over the contact info button, the drop down will drop down(with motion tween) where it is visible, the drop down has my contact info on it(email addy, aol sn).

im not really sure what to do to get this affect. i thought i could do it by making the entire structure(the button and the drop down) into a button, and then changing the location of the drop down on mouseover, but that puts both parts of the structure on the same layer, and that doesn't work.

thanks in advance

dj Zombie

Every last soul must pay the last toll
In the dice game of life, who gets the last roll?
Is it the one with the suit? The one with the sack?
The one who hides behind his fuc|kin' gun and his badge?
Negative outlook? Well that's how I'm livin'
And like he said, it's a wicked world we live in
It's a wicked world we live in

catbert303
03-13-2003, 10:22 AM
Hi,

If you create a movie clip, in frame 1 of the clip add a stop(); action (don't include any visible content), then in frame 2 start your motion tween. in the last frame add another stop(); action.

next place a copy of this clip on the stage, because it has nothing visible in frame 1 it should appear as a small white circle with a black outline. give the clip an instance name then on your button add the actions,

on (rollOver) {
instanceNameOfYourMovieClip.play();
}

you can hide the drop down menu again by sending it back to frame 1.