You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, May 14th 2011, 12:18am

Problem with the mp3 file

Please I have this code


<action name="playbackgroundsound">if(%1 == none,stopallsounds();set(plugin[soundinterface].background,%1),if(plugin[soundinterface].background == %1,,stopallsounds();playsound(auto,%1,%2);set(plugin[soundinterface].background,%1)));</action>
<plugin name="soundinterface"
url="soundinterface.swf"
keep="true"
preload="true"
/>
<events onloadcomplete="playbackgroundsound(som1.mp3,0);"
onloadcomplete="removeplugin(swffile);" />
When I take out the (remove plugin for swf) the mp3 work but the swf file (loading bar) still stay on the pano, and when I remove the playback event the remove swf work.
What is wrong?



Please One more question. If I have 2 panoramas and one I want to put backgroundsound and the other no. What I have to do?


Thank you. *confused*

This post has been edited 1 times, last edit by "Net360" (May 14th 2011, 2:56am)


2

Saturday, May 21st 2011, 2:46am

Thank you everybody I got the exit. I will convert my mp3 to swf.

Thanks to all.