swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] [ SANDBOX ] [ ERROR ]


From: filip sound
Subject: Re: [Swftools-common] [ SANDBOX ] [ ERROR ]
Date: Mon, 8 Jun 2009 13:57:39 +0200

to explain your problem: you're trying to use flash9 swf files that have "network-only" priviledges set which means that you can not use them locally. the tool from adobe removes the priviledges.

maybe matthias can implement a switch for this setting (if there isn't one already)

filip

On Mon, Jun 8, 2009 at 1:51 PM, filip sound <address@hidden> wrote:
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,
  filip



On 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.
> 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.

I believe you need to place MyFlashApp.swf and zone_001.swf in the
same folder.

Matthias







reply via email to

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