CompuServe Messages

#Animator VBX

    16-May-94 23:34:49
Sb: #101790-#Animator VBX
Fm: Dieter Schlaepfer [Adesk 76427,1717
To: Paul Chen 101400,355
Paul, SoundDelay is a custom property that you can specify how many milliseconds from the beginning of an animation you want a sound to begin playing. You can't get vbplay.vbx to delay the sound since the sound functions are built in and can't be modified or replaced. If you want to sync the sound with a particular frame, you need to detect the current frame with the PositionFrame property. When the value reaches the frame you want the sound to play on, you may call your function that plays the sound. In that case, you don't need to use SoundDelay. If you want to play a music file, you still would use PositionFrame. I don't know how you could set the sound pointer in memory. Hope this helps, Eric