Okay well, thanks everyone for your help, but I got too frustrated with figuring it out so my last resort is just have to upload my php files to the server and call them with a url so I don't get the sandbox error with testing them locally. This sucks that I get the error locally, I hope Flash Builder works this out when released. Thanks again.
--- In [email protected], Alex Harui <aha...@...> wrote: > > Timing is important, and so is configuration. If you launch the app via > file:// then you need the put the folder in the FlashPlayerTrust file(s). If > you are launching the app via http:// then you need a crossdomain.xml file on > the root of www.MyDomainName.com and make sure it gets loaded before the > request for the image. > > I've never bothered to figure out when you have to use a LoaderContext and > when the player will automatically look for crossdomain.xml. It might be > documented in the security whitepapers on the Adobe sight > > > On 2/10/10 2:36 PM, "s_hernandez01" <s_hernande...@...> wrote: > > > > > > > Yup tried that and no luck either. I even tried using > > Security.loadPolicyFile("http://www.MyDomainName.com/crossdomain.xml"); > > to push it to the flash player since I put the "*" in the cross domain and > still keep getting the error. > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , > Adnan Doric <astronaute@> wrote: > > > > On 10/02/2010 23:14, s_hernandez01 wrote: > > > Well, I'm using Flex 3 and the sandbox error pops up when I run it > > > from Flex. > > URL should be file:///something if you want it to work. > > > > You can also try to put a "*" in your crossdomain.xml and start from > > there if it works. > > > > > > > > > -- > Alex Harui > Flex SDK Team > Adobe System, Inc. > http://blogs.adobe.com/aharui >

