Loader Policy Flag


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoadComplete,false,0,true);
  2. var loaderContext:LoaderContext = new LoaderContext();
  3. loaderContext.checkPolicyFile = true;
  4. _loader.load(_request, loaderContext);

Report this snippet


Comments


You need to login to view comments.