PDA

View Full Version : Targeting Scene from within a Movie Clip


andy@sponge
08-12-2006, 05:51 PM
Hello,

I pretty new to action script so forgive me if this seems like a no brainer. I created a number of scene and with these scene I have a Movie Clip with buttons. I want to buttons to navigate the user to other scenes but I can't seem to get them to work. Here is the code I've been using which I have attached to the button instance inside the relevant Movie Clip:

on (release) {
gotoAndPlay("services", 1);
}

I'm trying to goto the scene named services and play starting at frame 1.

I know this is probably easy but I'm stumped

Thanks,

Andy

senocular
08-12-2006, 05:59 PM
see:
http://www.senocular.com/flash/tutorials/faq/#gotoscene

andy@sponge
08-12-2006, 06:15 PM
Thanks Senocular, you 're a star.

I've been hashing around with this for hours, the web page is a great help.

Cheers,

Andy