All requests to load resources are HTTP requests in Flex.flex is not the best at returning you the exact HTTP status codes in these situations(which will tell you the true reason for the error). Try using an HTTP traffic monitor like
http://www.charlesproxy.com/ It will tell you exactly what causes the error. you can post the HTTP traffic dump which we could analyze. I believe flex 4 also has a network monitor which can be used during development time. On Wed, Feb 3, 2010 at 11:27 AM, Tracy Spratt <[email protected]> wrote: > > > 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:* [email protected] [mailto:[email protected]] *On > Behalf Of *cholid cholid > *Sent:* Tuesday, February 02, 2010 10:49 PM > *To:* [email protected] > *Subject:* [SPAM] Re: [flexcoders] Loading XML > > > > > > can you tell how you call the xml is? > > > ------------------------------ > > *From:* ztpi1 <[email protected]> > *To:* [email protected] > *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. > > > >

