• Hi, I have some problems with autostart sound in my tour.

    <plugin name="soundinterface" url="arboretum/soundinterface.swf" keep="true"/>

    <plugin name="sounder" play="action(closeglobalobjects);action(closeallobjects);playsound(soundmapspot0,spacerdata/sounds/sound0.mp3);set(onclick,stop);" url="arboretum/sound.png" onhover="showtext(Dźwięk On/Off)" keep="true" align="bottom" x="-6%" y="1%" onclick="action(closeglobalobjects);action(closeallobjects);playsound(soundmapspot0,spacerdata/sounds/sound0.mp3);set(onclick,stop);" stop="stopsound(soundmapspot0);set(onclick,play);"/>

    The sound plays when I click on the button. What can I do to make autostart of sound?
    I tried to change it by adding this:
    onloaded="action(preloadsounds);"
    onloaded="playsound(soundmapspot0,spacerdata/sounds/sound0.mp3);"
    to <plugin name="soundinterface" url="arboretum/soundinterface.swf" keep="true"/>
    to <plugin name="soundinterface" url="arboretum/soundinterface.swf" keep="true"/>
    but it doesn't work :(

    Can anybody help me?

  • Hi, I partly solved my problem by using this code:
    <plugin name="soundinterface" url="arboretum/soundinterface.swf" keep="true"/>

    <plugin name="info" url="arboretum/ask.png" onhover="showtext(Instrukcja obsługi)" keep="true" align="bottom" x="-12%" y="1%" onclick="switch(autorotate.enabled);"/>

    <plugin name="sounder" align="bottom" onloaded="playsound(auto,spacerdata/sounds/sound0.mp3);" keep="true" onclick="action(closeglobalobjects);action(closeallobjects);stopallsounds();set(onclick,play);" onhover="showtext(Dźwięk On/Off)" play="action(closeglobalobjects);action(closeallobjects);playsound(auto,spacerdata/sounds/sound0.mp3);set(onclick,stop);" stop="stopallsounds();set(onclick,play);" url="arboretum/sound.png" x="-6%" y="1%"/>

    unfortunatelly it doesn't work as well as I want. One time it works perfect then I refresh panorama and it doesn't.
    The problem is: sound doesn't start automatically.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!