Starts an async download of an action file (.wav or .mp3)

This method will return immediately without waiting for the download to complete. In fact the download may well be queued if there are other downloads still running. So a successful return from this function does not indicate that the file exists or that the file has now been loaded. Use the OnSoudLoadedevent if you want to run any code on a successful load of the file.

Syntax:

soundFile loadSound(filePathas String)
Return: If successfull, this functions returns an instance of the soundFile
Parameters:
filePath

full or relative path to the action to be loaded

See also:

Class arcticDocument | Class soundFile | onSoundLoaded |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.