fbpx

Love Adobe's Flash or Flex error SecurityError: Error #2148: SWF file? The solution is….

(Last Updated On: October 25, 2010)

Love Adobe’s Flash or Flex error SecurityError: Error #2148: SWF file? The solution is….

This a dumb out of the box assumption from Adobe’s Flash or Flex Builder. You get this when you run your source:

ActionScript Error #2148:
SecurityError: Error #2148: SWF file file:///C:/Documents and Settings/UserProfile/Desktop/flexstore/bin-release/flexstore.swf cannot access local resource myFile.swf. Only local-with-filesystem and trusted local SWF files may access local resources.

Got to love that one Adobe. Anyhow here is a solution that seems to work:

I just had to figure out where to add the extra property ‘-use-network=false’. In Flex 3, it’s in Project/Properties/Flex Compiler/Additional Compiler argument.
After the adding, the text field contains :
-locale en_US -use-network=false

No need to separate the extra properties with a semicolon as I did at first.

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
Don't miss out!
Get my TRADE LIKE A BOSS 2 PDF Books

You will received instantly the download links.

Invalid email address
Give it a try. You can unsubscribe at any time.

NOTE!

Check NEW site on stock forex and ETF analysis and automation

Scroll to Top