flashcoders  

Re: [Flashcoders] Error #2044

Gregory Boland
Mon, 31 Aug 2009 09:40:11 -0700

one addition to this is if you are loading something using a cross domain
policy you might need to tell your loader to check for a cross domain policy
using LoaderContext class..

it would look like this..

    _loader = new Loader();
    var context:LoaderContext = new LoaderContext();
     // set the check policy flag in the loader context
     context.checkPolicyFile=true;
    _loader.load(new URLRequest("image path goes here"), context);


On Mon, Aug 31, 2009 at 12:18 PM, Pedro Kostelec <pedrok...@gmail.com>wrote:

> Thanks a lot. Unfortunaltely i can't use relative urls. I am going to try
> the cross domain policy thing.
>
> THanks.
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders