Brian Pitts wrote:
> ...It appears that for the "cue" lingo to work
> correctly, requires that the QT "playback head" must MOVE THROUGH EACH CUE
> POINT DURING NORMAL PLAYBACK for detectection by lingo.  This presents a
> problem if you want to use a slider and dynamically execute custom handlers
> as you pass through cuePoints...
> 
> Any comments or suggestions would be appreciated.


You can get what you want with some list mangling:

Pull out the list of cuePointTimes from the movie or sound, sort it and
hold onto it.

Compare your current movieTime against the list: check for an exact
match, failing that, add the current movieTime to the list, see where it
is in the list, take the item one less than that as your answer then
delete the current movieTime from the list. 



-- 
Carl West    [EMAIL PROTECTED]
617.262.8830 x246    

I have no superfluous leisure; my stay must be
stolen out of other affairs; but I will attend you awhile.

           - Isabella, Measure for Measure, Act 3 Scene 1

[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