Button rollover problems

Wow it’s been a while since I’ve been here.

So here’s my problem.
I’m creating rollover and rollout effects for my buttons on my website. I’ve done this before but this time it doesn’t seem to want to work. I think I know the problem, I just don’t know how to fix it

here’s the code on the button:

[AS]on(rollOver){_root.home.gotoAndPlay(“home_over”);}
on(rollOut){_root.home.gotoAndPlay(“home_out”);}

on (release) {
_root.content.loadMovie(“home.swf”);
}[/AS]

Now I think this worked the first time because the movie clip the button was referencing was on the main timeline. This time the movie clip is within a movie clip. I’m just not sure how to alter the path so it finds the right movie clip.
The on release portion works fine. Just need help with the rollover. Thanks

[AS]
on(rollOver){_root.container.home.gotoAndPlay(“home_over”);}
on(rollOut){_root.container.home.gotoAndPlay(“home_out”);}
[/AS]

Where container is the movieclip on the main timeline that contains home. Just don’t forget to give instance names =)

Thanks man!! That’s what I love about this place. You get faster responses than anywhere else!

Welcome :slight_smile: