Sound Link
Add a link to a MP3 sound. Sound links work the same way as normal sounds except a URL is required rather than a file. The same sound functions can be used. Use the name in the library to reference the sound, not the URL. Sounds are downloaded and cached before they can be played in the player. When exporting to HTML, sounds are preloaded where possible.
Properties
MP3 URL
• The URL or filename of an MP3 sound. This can be an absolute or relative URL, or a sound file on your computer. Only MP3 sounds are supported, other formats such as WAV will not work.
|
Alternate Ogg URL
• The URL of an external Ogg file.
|
Play
• Play or stop the sound at this point in the timeline. The sound will restart if it is currently being played.
|
Script
Sound Play
• Play a sound.
SoundPlay("Sound",Loop:Boolean);
|
Sound Stop
• Stop a sound that is playing or looping.
SoundStop("Sound");
|
Sound Pause
• Pause a sound that is playing.
SoundPause("Sound");
|
Sound Resume
• Resume a sound that is paused.
SoundResume("Sound");
|
Sound Get Duration
• Get the duration of the sound, in seconds.
SoundGetDuration("Sound");
|
Sound Get Position
• Get the position of the sound, in seconds.
SoundGetPosition("Sound");
|
Sound Set Position
• Set the position of the sound, in seconds.
SoundSetPosition("Sound",Seconds:Number);
|
Sound Get Volume
• Get the volume of the sound, 0-100.
SoundGetVolume("Sound");
|
Sound Set Volume
• Set the volume of the sound, 0-100.
SoundSetVolume("Sound",Volume:Number);
|
Adobe® Flash® Player Security
Some web browser such as Firefox and Opera may require Adobe® Flash® to play sound and video. If a security warning is shown you will need to change Adobe® Flash® security settings. Adobe® Flash® blocks advanced features when run directly from a computer.
Open the settings from the warning, choose advanced and add the export folder to the list of trusted locations. Sometimes it's easier to add the whole C:\ drive to the list of trusted locations. This won't be a problem when the page is hosted on the internet.