On Wed, Jun 24, 2009 at 2:00 PM, Muhammad Ahmed Ullah
<address@hidden> wrote:
Hi,
We have separate servers for swf-files and main-swf. These swf-files are generated using pdf2swf tool. Server with swf-files also has crossdomain file on it.
Now swf-files are loaded into main-swf without any problem, but when we access its contents for text copying or bitmapdata access then it throws security sandbox violation exception.
SecurityError: Error #2121: Security sandbox violation: Loader.content:
http://192.168.0.1/MainSWF.swf cannot access http://192.168.0.2/generated.swf. This may be worked around by calling Security.allowDomain.
Is there any way so that the generated swf calls allowDomain() internally.
Thanks,
Ahmed