"Graydon if I take that out I get an XML parser error. "
I can get the audio to play if I use just 'playsound' but soon as I add '2d, 3d or 3dhs' i get nothing no audio at all. I have tried both krpano version 1.0.7 and 1.0.8 beta 5 neither of them let me use 2d, 3d or 3dhs. This is the last piece i have to work out for my demo spin for the optional add-ins. Here is all my audio code I am hoping someone can help me with this.
<!--Audio-->
<plugin name="soundinterface" url="../plugins/soundinterface.swf"/>
<plugin name="audio2"
url="../../images/speakeryes.png"
visible="false" enabled="true" handcursor="true"
zorder="4"
alpha="1.00" blendmode="normal"
smoothing="true"
origin="centerbottom" edge=""
x="270" y="2"
width="30" height="30"
scale="1"
onloaded=""
onover="tween(plugin[audio2].width,40,distance(318,0.5),easeoutquad);tween(plugin[audio2].height,40,distance(120,0.5),easeoutquad);"
onout="tween(plugin[audio2].width,30,distance(318,0.5),easeoutquad);tween(plugin[audio2].height,30,distance(120,0.5),easeoutquad);"
onhover="showtext(Enable Audio in the Tour)"
ondown=""
onup=""
onclick="playsound(s1,music.mp3);action(audioon);tween(plugin[eq].width,100,distance(318,0.5),easeoutquad);"
/>
<plugin name="audio"
url="../../images/speakerno.png"
visible="false" enabled="true" handcursor="true"
zorder="4"
alpha="1.00" blendmode="normal"
smoothing="true"
origin="centerbottom" edge=""
x="270" y="2"
width="30" height="30"
scale="1"
onloaded=""
onover="tween(plugin[audio].width,40,distance(318,0.5),easeoutquad);tween(plugin[audio].height,40,distance(120,0.5),easeoutquad);"
onout="tween(plugin[audio].width,30,distance(318,0.5),easeoutquad);tween(plugin[audio].height,30,distance(120,0.5),easeoutquad);"
onhover="showtext(Disable Audio in the Tour)"
ondown=""
onup=""
onclick="stopsound(s1);action(audiooff);tween(plugin[eq].width,0,distance(318,0.5),easeoutquad);"
/>
<action name="audioon">
set(plugin[audio2].enable,false);
set(plugin[audio2].visible,false);
set(plugin[audio].enable,true);
set(plugin[audio].visible,true);
set(plugin[eq].enable,true);
set(plugin[eq].visible,true);
</action>
<action name="audiooff">
set(plugin[audio].enable,false);
set(plugin[audio].visible,false);
set(plugin[audio2].enable,true);
set(plugin[audio2].visible,true);
set(plugin[eq].enable,false);
set(plugin[eq].visible,false);
</action>
<plugin name="eq"
url="../../images/eq.swf"
keep="true"
visible="false" enabled="false" handcursor="true"
zorder="0"
alpha="1.00" blendmode="normal"
smoothing="true"
origin="rightbottom" edge=""
x="20" y="60"
width="0" height="40"
scale="1"
onloaded=""
onhover=""
ondown=""
onup=""
onclick=""
/>
<!-- directional audio -->
<hotspot name="plane"
url="hotspot_ani.swf"
ath="-187" atv="1"
visible="true" enabled="true" handcursor="true"
zorder="0"
onover=""
onhover="showtext(Click here to Start the Airplane then move left and right,largetext)"
onout=""
ondown=""
onup=""
onclick="stopallsounds(); action(audiooff); playsound3DHS(s2,planeidle.mp3,plane);"
>
</hotspot>
<hotspot name="copter"
url="hotspot_ani.swf"
ath="-27" atv="-16"
visible="true" enabled="true" handcursor="true"
zorder="0"
onover=""
onhover="showtext(Click here to Start the Helicopter then move left and right,largetext)"
onout=""
ondown=""
onup=""
onclick="stopallsounds(); action(audiooff); playsound3DHS(s3,helicopter.mp3,copter);"
>
</hotspot>