Refering to nested movieclips

All right. I want to do something simple. Or at least it should be.

In the main timeline, I have a keyframe where I have the majority of my actions. Also, I have a large movieclip with all my nav buttons inside of it, and inside each button I have a small movieclip.

I want to move the “small” movieclip inside the button down a little bit when the user clicks on the button. Simple enough.

So in the actions keyframe I have…


_root.nav.news.onRelease = function() 
{
	_root.nav.news.navfade._y += 10;
	trace("yo");
}

For your information:
“nav” is the large movieclip with the buttons in it
“news” is one of the buttons
“navfade” is the small movieclip inside the button

The problem is that the “navfade” movieclip refuses to move. I know that the onRelease function is working, because the trace works. However, the movieclip just doesn’t move.

I’m not sure if I’m referencing the small movieclip correctly… Please help!

Thanks in advance,
Matt

I need to figure this out tonight, so if someone could help I’d really appreciate it. I’ll give you a dollar.

Well maybe not, but still…

Matt

send me the file at jedick1@binghamton.edu i’ll take a quick look. its probably just a reference problem…

yeah, you can’t do that with buttons. You cant target movieclips like that inside of a button. Gotta use movieclips for that kind of thing…