Hi,
I am creating a webpage, and there fore have many pages within pages. My problem is that I have a page called “Executive Board”, and inside there I have links to other pages. Those pages are positions on the Executive board, such as president, and vice president.
I’ve set up the time line with each new page on a separete layer, one frame after the last. So each page has it’s own frame. When I click a link on the Executive Board page to go to one of the positions, I always get brought to the 1st page, the presidents page. Let me show you my code for the link.
on (release) {
gotoAndPlay('Exec\President");
}
So I have a button that says president, and you click it, and then it suppose to do that. That’s fine, and if i Click president it will go to the president page. Also note, I have a stop(); placed on the presidents frame.
On the next one and all others past the president I have the code set like this:
on (release) {
gotoAndPlay(“Exec\AVP”);
}
Now this site is in one Scene, and all these pages related to Exectutive board are in a folder named Executive Board.
Now when I click any other position button, I am brought to the presidents page. Now I assume it is the stop(); command stopping the read-head from going any farther, since the way i have it set up as one page proceeds the last, the read head runs through the presidents page before reaching the others, thus stopping it there because of the stop command.
When I remove the stop(); command, and i click any of the position buttons, It starts playing from the presidents page, plays through all the pages, and ends at the next frame it finds with a stop();, which is a couple frames down from the last position page.
Now I would usually just use gotoandStop(); and get rid of the stop(); commands in the frame itself, but for some reason, I can not get gotoandStop to go to the page. I instill that code into the link button, and then i click it. It doesn’t do anything. I am only able to link pages using gotoandPlay along with a stop(); in the frame.
Any suggestions?
Thanks for all your help!
-Dan