Posted By

visualadvance on 02/16/10


content bitmap bulkloader

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


AS3: BulkLoader "Failed to get content with url" answer

 / Published in: ActionScript 3

This issue came up for me when trying to load in a Bitmap over cross-domain using Bulkloader. You have to make sure the swf that is making the bulkloader call is checking for the policyFile

  1. var checkPolicyFile:Boolean = true;
  2. var loaderContext:LoaderContext = new LoaderContext();
  3. loaderContext.checkPolicyFile = true;
  5. bulkInstance.add("yourclip.png", {context: loaderContext});

Report this snippet  

You need to login to post a comment.