I have a flex application which embeds another swf file and communicates with the embeded swf using LocalConnection. This all works fine. I then use Crystal Reports to embed my flex application. Again this works fine. The problem is when I try to open the generated pdf I get an excpetion about LocalConnection. Error 2146. Is there any workaround for this? I thought I may have read that LocalConnection was not allowed in a PDF opened by Adobe Reader. Any information will be great.
Adobe Reader X ?
May be the protection mode of Adobe Reader X.
LocalConnection is not permitted within a PDF file, period. As it's a security restriction there are no workarounds.
See this link for a summary of Flash Player security and sandboxing in Acrobat and Adobe Reader (it talks about version 9, but version X is 99% the same).