Basically I created a simple mp3 player, and there are multiple copies of that embedded in a page. Now when I play one, I want all the others to pause.....any idea how to do this? is it possible to do n-way localconnection? or is there a better alternative?

<script>
// these references need to be actual pointers to the SWFs, this will vary
// depending on how you have it setup - might be SWFObject, Jquery, etc
var a = [swf1, swf2, swf3];
// called by SWF
function stopAllAudio() {
// called to SWF
for(var i = 0; i < a.length; i++) {
a[i].externalStopAudio();
}
}
</script>

Depending on security settings/domain placement, you may need the following:

On startup, the swf generates a GUID, then loads the LSO and binds to a property on that LSO (like 'currentlyActiveGuid'). Then, whenever the user hits play, the swf writes it's guid to the LSO. This will notify all of your swfs that music is playing, no javascript required. This also works across tabs, so if a swf is playing on another tab, it'll stop (Also, google and chrome use the same LSOs, so it'll work across browsers :-) )