Groups | Blog | Home
all groups > flash actionscript > may 2006 >

flash actionscript : Navigating Scenes


Jie-P
5/21/2006 8:33:16 PM
Hi,

I have a problem with one of my buttons. I want to navigate to a scene called
Salon, but when i press my button it goes to another frame within the scene the
button is within. I've attached the following script to my button:

on (release) {
gotoAndPlay("salon");
}

The code above should take me to a scene called salon, but instead the
playhead goes to frame 115. When i get to frame 115 theres no content after
this frame, but when i press the button again to go to the salon scene, it
works?

I would be greatful for any help.

Cheers


2m
5/21/2006 8:53:48 PM
you should use:
on (release) {
gotoAndPlay("salon", 1);
}

Jie-P
5/21/2006 9:45:11 PM
AddThis Social Bookmark Button