I am working with an mc that is the button control for the main scene. I am attempting to create an else if statement for a Button within the mc that says for eg. If on frame "topview1" then go to frame "topview3".

Here is what my code looks like for the button in the mc that controls the main scene:

on (release) {
_root.gotoAndPlay("topview2");
}


Any Help?