Woking on the PC I had this problem many years ago as there was no PC
software for putting cue points into a QuickTime file back then (and
still today I think). So I approached it from a Lingo level and wrote a
behavior that simulates the effect of cuepoints by just using counting
the amount of time the QT sprite has been playing. Works very well and I
have used it on several CD-ROM projects to great effect. It also removes
the messy business of having to edit in the QT CuePoints in the first
place!


-- Wait for QuickTime cue point in seconds
-- Written by Kevin Boyd 11 Nov 99 [EMAIL PROTECTED]

-- Put on a QT sprite

property spriteNum

property myCuePoint -- in seconds

on exitFrame me
  myMember = sprite(spriteNum).member
  myScale = the digitalVideoTimeScale
  myMovieTime = sprite(spriteNum).movieTime

  if myMovieTime < (myCuePoint* myScale) then
    go to the frame
  end if
  
end

on getPropertyDescriptionList me
  set p_list = [ \
     #myCuePoint: [ #comment:   "Number of seconds to wait:", \
                     #format:   #float, \
                    #default:   1.0] \
               ]
  return p_list 
end


on getBehaviorDescription
  return "Simulates waiting for a Quick Time Cue Point"& RETURN &
"Parameter: Number of seconds to wait"
end

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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