I know this is VERY basic and easy, so forgive me, but I just need to know how to change this code. What I tried didn’t work.
I’m using a tutorial to make a menu, and in the tutorial it assumes that you’re starting with a new .fla, but instead I made a movie clip for the menu within an .fla I was already working on, for a header.
The code I was supposed to use was this one, for the invisible button:
[INDENT]
on (rollOver) {
_root.mouse_over_company_mc= true;
}
on (rollOut) {
_root.mouse_over_company_mc= fstartlse;
}
on (release){
getURL(”http://www.mysite.com/”);
}
[/INDENT]
and for the main action script, this:
[INDENT]
_root.company_mc.onEnterFrame = function() {
if (mouse_over_company_mc) {
_root.company_mc.nextFrame();
} else {
_root.company_mc.prevFrame();
}
};
[/INDENT]
So what I did was everytime I saw “_root”, I changed it to “menu_mc.” but it didn’t work.
Also, even though I put a stop action on my menu movie clip, the animation keeps going and doesn’t stop.
Sorry again for the n00biest question…
thanks!