Help please (changing frames...)

ok this is what i want

on (keyPress “1”) {
_root.area.object1 gotoAndPlay(2)
gotoAndStop(2);
}

but i know thats not coded right… it should give the idea though…

so how do i correctly put that?

when someone presses 1 i want the main movie to go to frame 2 and on frame 2 is the movie “area” which inside “area” i want object1 to change frames from 1 to 2