hey kirupers,
i need your advice…
i’m making a sound toy at the mo, and i’ve got three blocks in a horizontal line, that each load in a choice mini swf from 33.
Each of the 33 plays a different audio-visual loop when clicked. on clicking on one of the blocks to load in a swf from the 33, i need it to wait for the others (if they’ve already been clicked on and something’s subsequently been loaded in and started playing), to come to the start of the loop before it starts to play. each mini swf will prelaod on click, so after this it then needs to queue up to wait for the next point to start playing. this will be every 2000ms or so. Imagine the swf waiting for the next bus to come along, to hop on to join his/her other two swf friends, if you would (if they’re on the bus at this point).
I know setInterval is notoriously bad at accurately calculating loop lengths on different pcs/macs of different processor power, so onSoundComplete seems like the best bet, though the code for each sound is set in each mini swf, where each’s library mp3 loop is stored and attached from.i think this might be an issue?
here’s the structure:
blockHolder.swf
blockA.swf
mini1.swf…
mini33.swf
blockB.swf
mini1.swf…
mini33.swf
blockC.swf
mini1.swf…
mini33.swf
i’ve checked Frank Baumgartner’s bits which, though very informative, i’m not sure of how specific they are to this issue…though maybe i’m wrong here…
any help would be much appreciated.
thanks boys and girls
khav