Jump to content

IE9 pixel perfect checks on cross domain loaded image


Mikko
 Share

Recommended Posts

When trying to use pixelperfect checks IE9 throws SCRIPT5022: DOM Exception: SECURITY_ERR (18) 

 

mysprite.input.pixelPerfectOver = true;
mysprite.input.pixelPerfectClick = true;

 

I have this set if it matters: load.crossOrigin = "Anonymous"

 

The server has header Access-Control-Allow-Origin: *

 

Same code works on IE11, Chrome, Safari.

 

Is there a good way to get this working?

 

I can do other image operations on the same image such as redrawing it on bitmapdata and alpha masking without this problem.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...