using waitForcuePoint in the tempo channel is your problem. that keeps
the playback head in a tight loop, and therefore does not allow for rollovers.

the solution is to roll your own exit frame script that waits for the
sound to finish. it is possible to figure out the duration of the sound
and wait for that time to elapse, but it's easier and basically as
effective to just check for soundbusy:

on exitFrame
 if soundBusy(whichChannel) then
  go to the frame
 end if
end

that'll stay in the frame until the sound is done, and then move to the
next frame.
make sure you use an integer for whichChannel. whichever channel the
sound is in, as if you couldn't figure that part out etymologically...

-bh


Clint Little wrote:
> 
> >I am attempting to pause a movie. I have scripts telling the playback head
> >to stay on a certain frame for a specified amount of time. I am able to
> >pause the audio but the scripts holding the playback head are still
> >running. Therefore the playback head continues before the audio is
> >finished.  Can anyone help?
> 
> Colby,
> 
> What is your code for making the playback head stay on a particular frame?
> 
> There could be several solutions: go to the frame, go loop, waitForCuePoint
> (in the tempo channel)
> 
> Of course, you would couple these with some other lingo.
> 
> HTH,
> 
> -- Clint
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]

-- 
R. Bhakti Klein
Multimedia Programmer
http://www.DLWorkshop.net
��
Baritone, Wicki6
http://www.wicki6.com
���
"On Earth, you can only do little things;
but you can do them with a lot of Love."
                              -- Mother Theresa

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to