Linking pages with buttons in flash?
Hi:
I have this problem in actionscript (flash). I was wondering if someone can help me out. I am a junior programmer, and I really needed to do this for school.
Ok, I have a page with a graphics, and I would like to push a button that I created which will go into another page on the certain frame in flash. I would like to use the timeline in flash to link each page. So one frame has a graphic and another frame has another graphic. Basically, jumping from one frame to another frame.
I tried using this:
onClick () {
gotoAndPlay("5" )
}
Unfortunately, it plays and goes to the next frame which is frame 5, but without me clicking on the button. Which is not what I want to do. I want to click on the button and it links to the second page of the frame.
Not sure if it is a difficult task to do.....
Thank you very much for you time.
Hi:
I have this problem in actionscript (flash). I was wondering if someone can help me out. I am a junior programmer, and I really needed to do this for school.
Ok, I have a page with a graphics, and I would like to push a button that I created which will go into another page on the certain frame in flash. I would like to use the timeline in flash to link each page. So one frame has a graphic and another frame has another graphic. Basically, jumping from one frame to another frame.
I tried using this:
onClick () {
gotoAndPlay("5" )
}
Unfortunately, it plays and goes to the next frame which is frame 5, but without me clicking on the button. Which is not what I want to do. I want to click on the button and it links to the second page of the frame.
Not sure if it is a difficult task to do.....
Thank you very much for you time.
Comment