PDA

View Full Version : making a rollover movie.


Rossco
03-07-2001, 03:29 AM
Hi all
I'm having some trouble with some navigation buttons.
I want to reveal a movie (describing the contents of that section) when the user rolls over the button and it dissapears when off. (Also different movies for each button)
You can see what I mean at http://www.outofthesquare.com
I want the bowler hats to reveal a different movie over the Fez to the left.
Cheers
Rossco

RanTen
03-09-2001, 11:05 AM
Hi Rossco,

Use a TellTarget.

You can use two methods.

In the MC that you want revealed, place a BLANK keyframe as first. with a STOP action...so that its invisible.label the Visible and Invisible frames.

Give the movie an instance name such as "MC1"
For the button add the action:
OnMouseOver
TellTarget "/MC1"
GoToAnd Stop VISIBLE
OnMouseOut
TellTarget "MC1"
GoTo and stop INVISIBLE

Similarly you could do away with the BLANK frame, instead use the setproperty action:
Place the MC in your main time line...give it an instance name "MC1"
Place a FRAME ACTION:
SetProperty
"MC1"
Visibility 0

and for the button
use the action:
OnMouseOver
SetProperty
"/MC1" Visibility = 1
GoToAnd Stop VISIBLE
OnMouseOut
SetProperty /MC1 Visibility =0

Hope that helps

RanTen