Re: [SPAM] Re: [flexcoders] Loading XML

2010-02-03 Thread Peeyush Tuli
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 tr...@nts3rd.com 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:* 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.


   



RE: [SPAM] Re: [flexcoders] Loading XML

2010-02-02 Thread Tracy Spratt
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.