[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Swftools-common] Security violation issue

From: Muhammad Ahmed Ullah
Subject: Fwd: [Swftools-common] Security violation issue
Date: Fri, 26 Jun 2009 19:45:57 +0600

---------- Forwarded message ----------
From: Muhammad Ahmed Ullah <address@hidden>
Date: Fri, Jun 26, 2009 at 12:22 PM
Subject: Re: [Swftools-common] Security violation issue
To: filip sound <address@hidden>

Thanks filip,

I've got the idea of using LoaderContext from your reply and loaded the swf in the current security domain by the following statement and it worked.
yourLoaderObject.load(new URLRequest(url), new LoaderContext(true, ApplicationDomain.currentDomain, SecurityDomain.currentDomain));


On Wed, Jun 24, 2009 at 6:30 PM, filip sound <address@hidden> wrote:
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.


On Wed, Jun 24, 2009 at 2:00 PM, Muhammad Ahmed Ullah <address@hidden> wrote:

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: cannot access This may be worked around by calling Security.allowDomain.

Is there any way so that the generated swf calls allowDomain() internally.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]