![]() |
|
#1
|
|||
|
|||
|
I'm using ia_ambientmix for some background music in my pano.
The problem is that sometimes it works, and sometimes not, in an almost random fashion. When it doesn't work, it throws out this error: Quote:
This is the (simplified) code that I use to start ia_ambientmix: Code:
<parameters> layer_4 = files/ia_ambientmix.swf </parameters> <ia_ambientmix> gallery=files/gallery.mp3 mainhall=files/mainhall.mp3 cave1=files/cave1.mp3 cave2=files/cave2.mp3 hallway=files/hallway.mp3 chest=files/chest2.mp3 </ia_ambientmix> <global onStart="external.ia_ambientmix.mix=mainhall:1,300;pano.behaviour=-1" onEnterFullscreen="full.alt=exit fullscreen" onExitFullscreen="full.alt=enter fullscreen" > [...] http://www.aftertheice.com/gallery The most annoying thing is not only that the sound doesn't play, but also that it breaks other hotspots. When it fails, try to go out through the back door... it won't work. The door will make the sound (I'm using my own soundplayer plug-in for one-time sounds) but you won't "walk" to the next pano. But when ia_ambientmix works, everything works. My theory is that sometimes the ia_ambientmix file is loaded later than the hotspot plugin, so when the global calls it, it doesn't work. But I've tried to put it in a thousand of different ways (after a timer, after clicking a button, after loading another hotspot...) and it still fails sometimes. Any help solving this will be greatly appreciated! |
|
#2
|
|||
|
|||
|
I finally used mp3player instead of ia_ambientmix. I lost the cool cross-fade between background songs, but at least it's working flawlessly.
|
![]() |
| Tags |
| ia_ambientmix, music, sound |
| Thread Tools | |
| Display Modes | |
|
|