Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Get Keyboard Delay and Speed
Find CD Drive - Using Wierd File
Relative Links
SQLite Xtra
QTRecordAudioXtra
encrypt/decrypt Image
Amara Flash Photo Animation Software
WebCamXtra - Computer Vision & Camera Tracking
Check QuickTime Version
Drop Files setup
 

 

 

Behavior Wait for Cue Point GTF

Added on 4/20/2000

 

Compatibilities:
behavior D6_5 D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: StevenSacks

This should be placed in a frame with a sound member in the score channel that contains cuepoints. This is for score based, not puppeted, sounds.

property whichCue

on exitFrame me
  -- Checks to see if the sound is still playing
  if soundBusy(1) then
    -- Checks to see if the cuepoint has been passed
    if (isPastCuePoint(sound 1, whichCue)=1) then
      go the frame + 1
    else
      go the frame
    end if
  else
    -- If sound is done playing, go to next frame
    go the frame + 1
  end if
end

on getPropertyDescriptionList me
  p_list = [:]
  if the frameSound1 <> 0 then
    whichSoundMember = member(the frameSound1).name
    cueNames = member(whichSoundMember).cuePointNames
    p_list.addProp(#whichCue, [#format:#string,#default:"",#range:cueNames,#comment:"Wait For Cue Point"])
    return p_list
  end if
end getPropertyDescriptionList

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail