Continuous AUDIO over scenes

Hi,

Current version of Saola Animate doesn’t support it directly from the UI. We’ll consider implement it in future releases.
In the mean time, please take the following steps to play an audio over multiple scenes:

  1. Import the audio file (e.g. song.mp3) into Resource pane.
  2. Play the audio by using JavaScript code below (you can add this script to any event to execute it):
	if (!doc.myAudio) {
	    // replace song.mp3 by the audio resource name
	    doc.myAudio = new Audio('resources/song.mp3');
	}
	doc.myAudio.loop = true; // remove this line if don't want to loop
	doc.myAudio.play();

Please note that this method only works when exporting to HTML5, doesn’t work when preview (because the url to the resource is differerent).

Regards.