You'll see this error if flash builder is unable to edit the flash player
trust file on your local machine.

Run flash builder as admin and reimport the project.

Or as a workaround you can edit your global security config settings and
trust the directory that the swf lives in.

Or you can just blindly trust c:\ (because life is short and swfs aren't
much of security threat)
https://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
note: this is the actual swf app you use to edit the settings not an image
of the settings

Here's what mine looks like on windows:
https://www.dropbox.com/s/iaj7b0dgf60m8ao/Screenshot%202016-02-19%2008.49.12.png?dl=0

p.s. i love that it's still a macromedia url

On Fri, Feb 19, 2016 at 6:14 AM, olegkon <[email protected]> wrote:

> Tried running FB4.7 (on Eclipse 4.2.2/64) as admin, still getting same
> exception:
> SecurityError: Error #2148: SWF file
> file:///C:/web/FlexTest1/bin-debug/FlexTest1.swf cannot access local
> resource file:///C:/web/FlexTest1/bin-debug/framework_4.6.0.23201.swf. Only
> local-with-filesystem and trusted local SWF files may access local
> resources.
>         at flash.net::URLStream/load()
>         at flash.net::URLLoader/load()
>         at
>
> mx.core::CrossDomainRSLItem/load()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\CrossDomainRSLItem.as:227]
>
> I tried to deploy it to Tomcat7 as external web module, that eliminated
> security error,
> so that helps me to proceed, I am just very surprised to see that
> exceptions,
> I have done lots of Flex development on FB4.5 and earlier versions of
> Windows and Flash Player,
> don't remember seeing that issue.  What has changed?
>
>
> The log file and Logs dir still is not there.
> I have put mm.cfg into  c:\Users\myid  correct?
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Flex-on-Win10-tp12030p12035.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to