Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
APPLE DVD STUDIO: HomeDVD Studio ForumDVD Studio TutorialsFinal Cut Studio

Re: Play All button using 2 scripts

Cow Forums : Apple DVD Studio Pro
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Play All button using 2 scripts
by Brad Elliott on Aug 29, 2006 at 6:26:32 pm

Here is one way you could do it.
I would suggest using 3 short scripts
Play all set script
post script for track 1
pre script for your menu.

Play all button jumps to play all script
Play All script: 2 lines
move an immediate value of 1 to an unused gprm(gprm 0 for this example.)
jump to 1st track you want to play

Set jump of 1st track to track 1 post script (2 lines)
If gprm 0 = 1 jump to track 2
jump to menu

If gprm 0 doesn't = 1 the line will be ignored and then the second command line will run. You need to reset the value of gprm 1 so that track 1 will play by itself if track 1 button is selected again.

Menu pre script: 1 line
mov an immediate value of 0 to gprm 0.
remember that the menu prescript must be assigned in the menu property inspector prescript section otherwise the the menu pre-script won't be recognized and play all will always be turned on.







Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]