|
From: | filip sound |
Subject: | Re: [Swftools-common] [ SANDBOX ] [ ERROR ] |
Date: | Mon, 8 Jun 2009 13:57:39 +0200 |
hi,
first, make sure you're familiar with the security-model of flash.
after that you'll find a tool on the internet (from adobe) called LocalContentUpdater which solves your problem.
the swf files pdf2swf generated have this flag set wrong for your application.
i.e.:
// using the content updater from adobe to remove the network priviledges from the swf file
echo "Conversion succeeded, removing network privileges ...\n";
system("....../LocalContentUpdater/LocalContentUpdater -x '".$swfFilePath."'");
easy and free to use.
http://www.adobe.com/support/flashplayer/downloads.html#lcu
bye,
filipOn Mon, Jun 8, 2009 at 12:51 PM, Matthias Kramm <address@hidden> wrote:
On Mon, Jun 08, 2009 at 11:13:52AM +0200, b.lisik <address@hidden> wrote:
> I'll try to translate the error message; I hope that you are going to
> understand it.I believe you need to place MyFlashApp.swf and zone_001.swf in the
> Here is the message:
>
> Error #2044: Unhandled SecurityErrorEvent: text=Error #2140: Security
> sandbox
> violation: file://MyFlashApp/MyFlashApp.swf cannot load data from
> file://MyFlashApp/zones/zone_001.swf. SWF files local-file system and
> local-network
> cannot load themselves mutually.
same folder.
Matthias
[Prev in Thread] | Current Thread | [Next in Thread] |