Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Aleksey« (14. Juni 2010, 19:37)
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »esys« (12. Januar 2011, 00:05)
(just "event(s)")
) and then start an other one:|
|
Quellcode |
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);" />
|

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »esys« (24. Januar 2011, 01:09)
|
|
Quellcode |
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);" />
|
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »esys« (24. Januar 2011, 01:05)
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

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »esys« (9. Februar 2011, 18:46)