hi,
i use buttons to control the pause an play sound in my Vtour. Here it is (in my default skin' xml):
<plugin name="pause" zorder="6" keep="true" align="rightbottom" x="+48" y="162"
url="%SWFPATH%/skin/Odyssea.png" effect="glow(0x000000,0.7,4,2);dropshadow(1,0x000000,3,1);"
scale="0.56" blendmode="normal" alpha="0.0" crop="700|50|100|40" onovercrop="700|150|100|40"
ondowncrop="700|250|100|40" onhover="showtext(Music, buttonstyle);"
onclick="pausesound(Mouettes); pausesound(Vent); pausesound(Port); pausesound(Cigales); pausesound(rieuse);"
onloaded="tween(alpha, 1.0, 2);" />
<plugin name="play" zorder="6" keep="true" align="rightbottom" x="+48" y="185"
url="%SWFPATH%/skin/Odyssea.png" effect="glow(0x000000,0.7,4,2);dropshadow(1,0x000000,3,1);"
scale="0.55" blendmode="normal" alpha="0.0" crop="600|0|100|50" onovercrop="600|100|100|50"
ondowncrop="600|200|100|50" onhover="showtext(Music, buttonstyle);"
onclick="resumesound(Mouettes); resumesound(Vent); resumesound(Cigales); resumesound(Port); resumesound(rieuse);"
onloaded="tween(alpha, 1.0, 2);" />
But wnen you click two times on play, it brings twice the sound who's supposed to run in this pano. And of course when you click on pause it stops only one of the two.!
Do i have to use the "pausesoundtoggle" function ? What's that ? I've tried but didn't understand. I need to fix it to be able to propose a good Vtour to one of my first client.
Thanks.