Next Frame button dif mc

i cant make it so when u click the button it goes 2 the next frame in a mc

on (release) {
	_root.backgrounds.gotoAndStop(nextframe);
}

y dousnt work?

thx,
yhack