Flex SecurityError 2148

December 8, 2007

Flex SecurityError: Error #2148 While Accessing local XML

So you’ve published your Flex application that accesses local XML, but when you try to run it outside of your Flex Builder folder, you might get a Flash Player Debugger error #2148. I ran into this problem while on a tight deadline, and am reposting here to get the word out.

To fix this, you need:

  1. to right/control click your Flex Project folder in the Navigator
  2. Select properties
  3. Choose Flex Compiler in the popup window
  4. Add “-use-network=false” under Additional compiler arguments

flexproperties.jpg

Hopefully, this’ll save someone some time…

posted in Flash window by Louis

Follow comments via the RSS Feed | Leave a comment | Trackback URL

1 Comment to "Flex SecurityError 2148"

  1. 知名不具 wrote:

    跳过!

Leave Your Comment

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org