I tried to send an XML object over LocalConnection, and noticed if this XML doesn't have any child node, the other side will only see an empty one. For example:
lc.send("lc_id", "fn", new XML("<a b='1'/>")) lc_id.fn() will see an "". However if we send <a><b></b></a>, things work well. Is this a LocalConnection bug? Any workaround? I am using flash9/AS3. I thought about toString() but since I may also send objects containing XML object, it will be hard to decide when to do this conversion to/from string. Any ideas? Thanks! Tim