What you need in this scenario is to play your audio
transparently. This means that you assign a
url and a
name to your audio, but the
name parameter does not point to any object on the ToolBook page. This tells the function to assign the
name to the audio
so you can control it with
pgSoundControl() if needed, but to only use this name as a reference in memory. In this case no controls will be visible to the user. They will just hear is the audio playing.
Here is a typical setup where clicking the button will play a sound
transparently:

- Transparent Audio Playback
- Image 1.png (77.01 KiB) Viewed 3641 times
NOTE: In this example, you will need to put all your sounds in a
[sounds] directory and flag that folder for inclusion with the export of your book Using the
DHTML Export Tree Manager (PowerPac menu > Add Folders to Export Tree). Inside the sounds folder on your hard drive you would place all your mp3 files.
The
name parameter can be any name you choose. It can be left blank if you will never need to control the audio with
pgSoundControl(). I recommend always assigning a name to keep track of things because you can use
pgSoundLoader() to play multiple audio files at the same time (e.g.: background music with foreground voice over audio).