Question for Flash Guruz

:salam:

I need a simple code which I could apply to a button which will enable a user to navigate the different scenes in a flash file.

:jazak:

Re: Question for Flash Guruz

What version of actionScript are you using?

I think it's just some onRelease code, try looking at the echoecho website for some tutorials

sorry cannot post link :(

Re: Question for Flash Guruz

on(release) {
gotoAndPlay(16);
}

Re: Question for Flash Guruz

:salam:

Do I replace the number 16 with the name of the scene? I just tried it but it’s going to a completely different scene. That’s what is happening with the other code I was using:

on (release) {
gotoAndPlay (“Contents”, 1);
}

I want to link to the scene named Contents but it’s jumping to a completely different scene. I am using Flash 7.0.1.