Sound Class
Used to play sounds.
More information available in parent classes: Object
Notes
Sounds that have been added to the Project Editor can be accessed via their object name. Sounds can also be accessed by calling the OpenAsSound method of a FolderItem. There are no properties or events for sound objects.
Sound can play any number of sounds simultaneously, limited only by system resources.
Examples
This example plays a sound called "Sledgehammer" which has been dragged into the Project Editor.
This example loads a sound file called "Doh!" from the current directory (folder) into a sound object and plays it.
The following example plays the sound "Giggle", which has been added to the Project Editor, in an endless loop.
This example stops "Giggle."
See Also
NotePlayer control.<