Ok, I’ve used this code in the past to help me with transitions working smoothly from section to section.
on (release) {
gotoAndPlay(“two”, 1);
destination = “profile”;
}
and then after my fancy removal of content:
gotoAndPlay(destination);
and it all worked fine and dandy.
Now I’m trying to adapt it to a new fla which is a little cleaner. My code now is
on (release) {
play();
destination = “profile”
}
which simply runs through the rest of the scene and should link (gotoAndPlay(destination); )to the appropriate scene which I have frame labelled. But it doesn’t. It works once, from the home page to anywhere, but not again. The code is exactly the same on all the buttons. Pleeeease help, this one is driving me frickin mad.
Edit - I should say that it links back to the first scene on the second attempt after it works the first time. Then, it works once more. Then it links back to the first scene. Then, etc etc.