all groups > macromedia flash sitedesign > july 2006 >
You're in the

macromedia flash sitedesign

group:

How do you create mouseover effect???


How do you create mouseover effect??? covenant2
7/31/2006 12:00:00 AM
macromedia flash sitedesign:
Hello,
I am using more and more Flash in site design but haven't figured out how to do mouseovers in Flash when creating links to another page. How do you do it?

Re: How do you create mouseover effect??? derobinson
7/31/2006 3:46:00 PM
If you're mousing over a movieclip or a button, then you would give the MC an
instance name to use in your Actionscript (e.g.myMC), then somehting like the
following code:

myMC.onRollOver = function(){
//do something here
}

Replace the "do something here" with what you want to do (like, play the movie
clip's animation). You'll also probably want to script for the onRollOut event
to stop whatever happened during the roll over.

Hope that helped!

AddThis Social Bookmark Button