Scene problem

Hi to all,

I have some doubts and will appreciate any help. Thanks in advance.

Supposedly I have a few scenes and to link them together, I use button. The code that I place in 1 of the button of a particular scene is as follow:

on (release) {

gotoAndPlay("profile", 1);

}

The “profile” here is the actual scene that I want to link to from a current scene. However, it turns out that it is link to the first scene instead.

Any idea on what wrong???