Search code examples
xmlactionscript-3bulkloader

Loading XML locally with AS3


I have a project in Flash Builder and I use Bulkloader to load some configuration files. When I run the project from Flash Builder or in a server, everything works as expected, but when I run the SWF from another location (for example "my documents"), the project can't load the XML.

I'm not sure if this is a security problem or something similar.

Thanks in advance!


Solution

  • You need to use this settings manager to add locations that are safe for your SWF to access data from.

             It should end up looking something like this:

           enter image description here

    Use the Add location feature to add the drive that your My Documents folder is contained within.