I facing an issue with LocalConnection.send.
I have two AIR applications (both on the same local m/c) and there are about 6000+ messages sent from one application to another via LocalConnection.send.
Each message is less than 800 bytes. The messages to be sent are queued and each one is sent only after StatusEvent of the one currently sent is received.
This sometimes works perfectly fine i.e. all 6000+ messages are successfully sent from one App to the other but at times many of the messages fail (about 300+) to get sent....the send API throws error status but provides no reason why it failed. And once it starts failing all subsequent messages fail.
What could be the possible reasons why localconnection send works fine at times and at times it throws error for the same message thats being sent ??
Pls check that your local connection is singleton,you should be having only one copy and you have to send all the messages in a queue.
ive had problems with this too - i found that sometimes the old connection (eg from a previous test movie) was still 'live' even though no swfs were running and this would stop the connection working the next time i did test movie.
i was connecting an AS2 swf and an AS3 swf in the browser so a different scenario to yours but it could be the same 'problem'?