superleo
20th February 2013, 17:31
I have a project that has one menu with 10 pages in it. The intention is to return to the next page (clip) after the clip ends playing. I have another project with the exact same code that works perfectly, being the only difference that the other project has all the buttons in the same page.
The code only works the first time... you can select any clip and after is played it returns to the following clip, as it should, however after that instead of returning to the following clip it returns to the same clip.
Here is the graphics for the menu.
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/CI-180436548830281602.jpg
Below is the Scenarist menu structure page, that would include a dummy page, eight pages for each individual clip and a page for a "play all" menu (more questions on this one later). On the picture below you can see the if statements for the dummy menu that should redirect to the next page.
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/Ifstmntsdummy.jpg
On the below picture is the page GPR assignments
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/Register.jpg
The code for storing the GPRs. I have included two of the pages for reference.
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/ClipBtnReg.jpg
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/ClipBtnReg2.jpg
And finally the return to the "dummy page"
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/Cipplayreturn.jpg
As I mentioned it only works for the first time. Any help/ideas of why is not executing the way it should?
The code only works the first time... you can select any clip and after is played it returns to the following clip, as it should, however after that instead of returning to the following clip it returns to the same clip.
Here is the graphics for the menu.
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/CI-180436548830281602.jpg
Below is the Scenarist menu structure page, that would include a dummy page, eight pages for each individual clip and a page for a "play all" menu (more questions on this one later). On the picture below you can see the if statements for the dummy menu that should redirect to the next page.
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/Ifstmntsdummy.jpg
On the below picture is the page GPR assignments
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/Register.jpg
The code for storing the GPRs. I have included two of the pages for reference.
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/ClipBtnReg.jpg
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/ClipBtnReg2.jpg
And finally the return to the "dummy page"
http://i295.photobucket.com/albums/mm148/CastilloLeo/Scenarist/Cipplayreturn.jpg
As I mentioned it only works for the first time. Any help/ideas of why is not executing the way it should?