Hello guys!
I've got a tour playing one sound background to each scene:
http://www.onzeonze.com.br/clientes/granfinestra_audio/
It's got 12 scenes, each loading a different .ogg file.
Here is my plugin loading code
Code
<plugin name="soundinterface" url="plugins/soundinterface.swf" alturl="plugins/soundinterface.js" keep="true" preload="true" rootpath="" volume="1" onloaded=""/>
Here is the scene code with the event calling the audio files:
Code
<scene name="estar">
<events name="scene2events" onxmlcomplete="playsound(scene2sound, %SWFPATH%/sounds/chovendo.ogg,1);" onremovepano="stopsound(scene2sound);" />
<preview url="%SWFPATH%/panos/estar_L.tiles/preview.jpg" /> <image stereo="true" stereolabels="L|R"> <cube url="%SWFPATH%/panos/estar_%t.tiles/pano_%s.jpg" /> <cube url="%SWFPATH%/panos/estar_%t.tiles/mobile_%s.jpg" devices="iOS" /> </image> <hotspot name="hall" style="btn_hall" ath="50" atv="0" rotate="0" depth="12000" onclick="goto(hall);" /> <hotspot name="jantar" style="btn_jantar" ath="125" atv="0" rotate="0" depth="12000" onclick="goto(jantar);" /> <hotspot name="cozinha" style="btn_cozinha" ath="100" atv="0" rotate="0" depth="12000" onclick="goto(cozinha);" /> <hotspot name="lavabo" style="btn_lavabo" ath="65" atv="0" rotate="0" depth="12000" onclick="goto(lavabo);" /> <hotspot name="suitemenina" style="btn_suitemenina" ath="-20" atv="-5" rotate="0" depth="12000" onclick="goto(suitemenina);" /> <hotspot name="suitemenino" style="btn_suitemenino" ath="-10" atv="5" rotate="0" depth="12000" onclick="goto(suitemenino);" /> </scene>
But the problem is that when navigating throught the scenes, sometimes the .ogg file is loaded, sometimes an error message shows:
Its happening both on local and remote.
Hope you can help me!