set the soundFile of <sound> to <pathname> Applies to sounds
The soundFile property indicates the file name that contains the sound sample data and from which the sound objects gets sample data for the playback. If the sound data has been imported, this property is empty.
You can set the soundFile property either by using a script or by clicking on the Sound button in the Sound Info dialog box.
Create a sound. Do not associate it with a sound file.
Locate a sound file you wish to associate with the sound. Now type the following statement into the Message Box, replacing the pathname shown with the full pathname of your sound file.
set the SoundFile of movie 1 to "c:\sounds\mysound.wav"
This text has been mechanically extracted from the Oracle Media Objects 184.108.40.206 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.