Question for Hal about "play all #3" tutorial
http://www.dvdstudiopro.co.uk/play-all-3/
I like the idea behind these three scripts because it allows the user to break out of the play all mode. I've been studying it to see how I could apply it to a multi-menu project and have some questions. In my project, the play all button will only be on one of the menus. Each clip is a separate track (there are no chapter markers).
1) Set up script
I think I need a different version of this script for each menu in the project. The first will be just like in the tutorial and be linked to each button on only the menu containing the play all option. The other versions will be linked to each button on all the other menus with two changes: a) it won't need lines 4-7, and b) I need to hard code the base value at line 9 to be relative to the respective menu I'm on. Do I have this correct? Or is there a way I can calculate the base value so I can end up with only two versions of the script, one for the menu containing the play all option, and the second for all the other menus that DON'T have the play all option?
2) End jump script
I think I need a different version of this, one for each menu, linked to all tracks for that menu, because I need to hard code the value for line 7 to be relative to the menu I'm on, and likely hard code the menu in line 9. Do I have this correct?
3) MenuCall script
This one really has me stumped. Is the intention to go to the menu button of the track that was being played at the time the user pressed the menu button? When I play the .img of the tutorial project and hit the menu button, it always goes to the play all button.
If the intent is for the script to take the user to the menu where the last track was being played, and line 3 gets the button number, how do I get the right menu number? What would line 9 look like?
-----
The tutorial project doesn't seem to work correctly in the simulator. Choosing the play all button executes clip 1, then branches to the end jump script, then gets stuck in an infinite loop at line 5. GPRM 0 has the value of 65535. Clip 1 says on the screen and never advances to clip 2.
-----
Is there a better way to do what I want to accomplish with these multiple menus, given that I have separate tracks for everything?
PowerBook PowerPC G4 1.5GHZ with 1.25GB RAM, Mac OS X (10.4.11), QT 7.5, DVD SP 3.0.2, FCE 2.0.3, 5th generation iPod