PDA

View Full Version : Spot Sounds Transition Fading


maciej.m
09-28-2009, 02:03 PM
Hello,

Im trying to make sound fade out after user click on hotspot leading to another location


<spot id="ulica" pan="130" tilt="0" url="ulica.swf" linked="images/Skrzyzowanie" enableSoundPanning="1" soundRadius="200"/>
<spot goto="NextPano" url="hotspots/arrow_l.gif" pan="-23.00" tilt="-2" linked="images/Skrzyzowanie" onClick="loadPano(panoName=images/NextPano)" onOver="ulica.soundVolume=0" scale="1" />


For testing purposes I set it "onOver", but if user clicks on hotspot to another Pano, sound is loaded again.

Linked parameter didnt help.

I just want the sound to fade out.

I was also trying ia_ambientmix but maybe i dont know how to set it up. Does it need panoType=mov?

--
Regards
MM

terrycm
09-28-2009, 02:52 PM
I am also very interested in this. Unfortunately I haven't got very far in finding a solution.

Trausti Hraunfjord
09-28-2009, 03:11 PM
I'm confident in a solution coming your way through Flashificator soon Terry.

siesfor
09-28-2009, 05:36 PM
ia_ambientmix should work, but unless you need to mix several sounds, the mp3hotspotX plugin found in google groups should do ya fine.

download mp3hotspotx if you don't have it already and try...

<spot id="audio" url="mp3hotspotx.swf" file="filename.mp3" repeat="10000" linked="images/Skrzyzowanie" autoload="true" autoplay="true" soundVolume="1" />

<spot id="nextpano" url="hotspots/arrow_l.gif" linked="images/Skrzyzowanie" onClick="audio.soundVolume=0,1000,,nextpanoa" />
nextpanoa = "loadpano(panoname=images/NextPano)"

This should work, but I haven't tested it, so I can't fully vouch for it in case there are some quirks.

maciej.m
09-28-2009, 06:26 PM
Ok, I solved it. Im talking about ia_ambientmix

<ia_ambientmix>
ulica=sounds/ulica.mp3
</ia_ambientmix>

One just have to omit quotes which were causing trouble.