Noob question probably

hi im trying to make a simple all flash web page but there is a problem with my buttons and switching between scenes,
unfortunately i dont have a web page so i cant just upload the fla, but heres my actionscript

on (release) {gotoAndStop(2);
}

nothing too difficult about that, its for a button, leading to a larger picture on scene 5!, ive tried to just do
on (release) {gotoAndStop(5);
}
but it doesnt work and goes to another scene, i dont get it, im using flash 04 pro and id love to figure out wat im doing right

hope i explained that well enough for u

thank you