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.
This post has been edited 1 times, last edit by "Aleksey" (Jun 14th 2010, 7:37pm)
This post has been edited 2 times, last edit by "esys" (Jan 12th 2011, 12:05am)
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<hotspot name="Le-Port" url="hotspots/Bouee_Rouge_Fleches.swf" .... onclick="tween(plugin[soundinterface].volume, 0.15); looktohotspot(get(name), 55,linear(25)); loadscene(scene_Eglise, null, MERGE, BLEND(2)); tween(plugin[soundinterface].volume, 0.1); wait(LOAD); tween(plugin[soundinterface].volume, 0); oninterrupt(break); wait(BLEND);" devices="all" /> <scene name="scene_Eglise" title="Eglise" onstart="... > <events onloadcomplete="playsound2D(Eglise,%SWFPATH%/music/Eglise.mp3,0.9,0.0,0); tween(plugin[soundinterface].volume, 0.9);" /> |
This post has been edited 2 times, last edit by "esys" (Jan 24th 2011, 1:09am)
![]() |
Source code |
1 2 3 4 5 6 7 |
<plugin name="soundinterface" url="%SWFPATH%/plugins/soundinterface.swf" keep="false" volume="1" onloaded="" /> <plugin name="options" url="%SWFPATH%/plugins/options.swf" keep="true" /> <events onloadcomplete="stopsound(Eglise); stopsound(Afrique); playsound3D(Mouettes,%SWFPATH%/music/sf_port.mp3,32.83,7.94,180,0.9,0); playsound3D(Port,%SWFPATH%/music/port_voiliers_mat_vent.mp3,32.83,7.94,180,0.9,0); tween(plugin[soundinterface].volume, 0.9);" /> |
This post has been edited 2 times, last edit by "esys" (Jan 24th 2011, 1:05am)
I can see that the volume of my three songs is just sensible between 0.3 and 0 !
Over 0.3 i can't hear the difference! I added a "volume=1" to my plug in, then changed the setting in my scene events, still the same
I've tried the 3D but i can't find the way to keep a little bit of volume when turning to 180°.
Any idea ?
Also, i'd like to set the same thing when clicking on the thumbnails. Problem is when you change pano via the thumbnails, first sound is still running while the second one's starting.
I've tried in "openthumns" action (with your tween code)'. No success..
I had same problem, and added onclick="loadscene(pano4,merge,blend(4));stopsound(sound)" so that sound was killed when you clicked on link to next pano. this works on ipad but not on iphone which may be to do with how iphone plays mp3.
Tim
This post has been edited 2 times, last edit by "esys" (Feb 9th 2011, 6:46pm)