Copy link to clipboard
Copied
Hello,
I make very simple buttons on a new .fla...
var _this = this;
_this.korgl1.on('click', function(){
window.open('http://www.x.fr/0.html', '_parent');
});
_this.korgl2.on('click', function(){
window.open('http://www.x.fr/1.html', '_parent');
});
If I try (ctrl+enter) all is working, and if I publish it, run the html, the buttons are blocked, the rollover don't work, nor the hyperlink... If I run it with IE, it say the content is blocked, so I allow it and it work. W** is this ?!
Message was edited by: João César de Lima
Hi.
Are you using the 2019 version of Animate CC? If so, by default it exports shapes as bitmaps which can cause the issue.
Uncaught An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images.
To avoid this, uncheck Export document as texture in Publish Settings > Image Settings or just run your page from a server. When you use Ctrl/Cmd + Enter, Animate automatically setups a server for you and that's the reason you don't g
...Copy link to clipboard
Copied
Hi.
Are you using the 2019 version of Animate CC? If so, by default it exports shapes as bitmaps which can cause the issue.
Uncaught An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images.
To avoid this, uncheck Export document as texture in Publish Settings > Image Settings or just run your page from a server. When you use Ctrl/Cmd + Enter, Animate automatically setups a server for you and that's the reason you don't get the error.
Regards,
JC
Copy link to clipboard
Copied
Thank yohu man !
Copy link to clipboard
Copied
You're welcome!
Copy link to clipboard
Copied
you*
Find more inspiration, events, and resources on the new Adobe Community
Explore Now