[flexcoders] Re: Security Sandbox Violation for module accessing localhost rest service in dev

2012-02-03 Thread greg_lafrance
I'm running within Flash Builder, to be able to set and hit breakpoints. How can I do this and not run from file:// ? Its strange that this is happening only for this one module. What could be making a difference? --- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote: Use a testing

[flexcoders] Re: Security Sandbox Violation for module accessing localhost rest service in dev

2012-02-03 Thread Greg Lafrance
I got the answer from this web post: http://stackoverflow.com/questions/1270347/unexpected-flash-security-exception-when-using-urlloader Instead of setting the contentType like this: request.contentType = multipart/form-data;boundary= + POSTUploadBuilder.boundary; Set the contentType like