Mouse over effect

how do you create a mouseover effect withought the symbol being a button?
avalon

you can kinda do it with a movie clip. Just add code in the same manner.

on(rollover){

trace(“hello”);
}

Create a new movie clip and give it the instance name fakeButton (for use with the actionscript I am going to give you). Click on the FRAME, <I>not</I> the movie clip. Hit F2 to open up the actions panel. Add these actions into the frame…


_root.fakeButton.onRelease = function() {
	gotoAndPlay(1);
};

This code will make the movie clip gotoAndPlay frame one after you click it. you can add a getURL action in there or something too. I just used that because it was quick and easy to write.

You can use onPress, onRollOver, onRollOut, basically all the functions of a button.

I hope this helps :slight_smile: