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...@yahoo.com> 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 flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Adnan 
Doric <astrona...@...> 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

Reply via email to