i have also noticed that there is a bug in the flash ide (CS3 & CS4). i could not figure out what it was triggered by: *sometimes* flash raises a SecurityError at a *totally uninvolved* part of a project that is not causing any abortions of code execution. it's a random swf very often. online (browser, flash plugin) this never happend.
guess that's not your case here. filip On Wed, Jun 24, 2009 at 2:00 PM, Muhammad Ahmed Ullah < [email protected]> 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 >
