Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Set Up Users Components
Outline Text
Property Inspector
Windows for Shockwave 4.5
DirectX / Direct Show
PrefsFolder XObject
Checking an open database - Valentina
Text Member Menu System
cXtraEditBox
Light Up
MediaMacros Xtras Mall
 

 

 

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

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail