<p>I'm trying to setup a bidirectional localConnection (LC) between two flash objects on the same web page. One object is AS2 and the other AS3.</p>

<ol>
<li>I'm using one LC object to send and receive data on each swf. (This shouldn't matter, right? I tried using two objects, one for sending and one for receiving, but got the same problem).</li>
</ol>

<p>They .connect() properly so that they both listen.
But I'm getting errors when I'm trying to send data from the AS2 SWF to the AS3 LC.
This happens 95% of the time, but sometimes it DOES work, so I know it's not a problem with the LC names (I checked, obviously)</p>

<p>Sometimes one or two messages go through and consequtive messages fail.</p>

<p>Any idea on what might cause it?</p>

<p>I'm aiming to create a many-to-one connection map so that many AS2 swfs could connect to the one AS3 swf. Will that be a problem?</p>

One possible cause is that I've noticed that multiple listeners to the same LC name seem not to work. To see what I mean, open
this page
on two different tabs, and you should see that both of the "sending" SWFs work, but the message is only received on the first tab you opened. I guess you're only using two SWFs, but if they're both trying to listen to the same LC name, perhaps you're seeing something similar?
Also, I believe LC is, in some way, disabled for SWFs that are inside invisible page elements, or possibly even just offscreen. Are you doing anything like that?