Mouse and key interectvity for the images of the cross-origin

Hello
I work on a task where user can upload their own images and then can be moved by mouse or key.
I'm importing like this: -.
TestImage is new createjs. Bitmap ("http://i710.photobucket.com/albums/ww102/1-877-238-9765/green-flag.png");

stage.addChild (TestImage);

internship. Update();


The problem is that this image is to launch security error when I try to drag them with the mouse.
Them something about the definition of indicator crossOrigin in the documentation.

Can someone please explain exactly where to put this indicator.
I use cc animate asks, should I write this in its Panel actions or in the exported html page.

Thank you...

I don't see this error, but if I did, I'll try:

TestImage.crossOrigin = "Anonymous";

Tags: Adobe Animate

Similar Questions

Maybe you are looking for