Yes, the physical location is not what matters, it is the domains. Post the error message, it will tell us a lot.
Often times people will launch their app using a file url, an then try to access a resource via a net url, this will produce a security error. Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of cholid cholid Sent: Tuesday, February 02, 2010 10:49 PM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [flexcoders] Loading XML can you tell how you call the xml is? _____ From: ztpi1 <zt...@yahoo.com> To: flexcoders@yahoogroups.com Sent: Wed, February 3, 2010 8:53:59 AM Subject: [flexcoders] Loading XML I am getting a security error when trying to load an xml file into my swf. The xml and swf are right next to each other in the same directory. What gives? From what I understand, the swf should have access to the xml file. I have no problem loading jpg, or png.