Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Impossible to make those button to work (blocked by IE/C..)

Explorer ,
Oct 23, 2018 Oct 23, 2018

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

311
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 23, 2018 Oct 23, 2018

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

...
Translate
Community Expert ,
Oct 23, 2018 Oct 23, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 23, 2018 Oct 23, 2018

Thank yohu man !

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 23, 2018 Oct 23, 2018

You're welcome!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 23, 2018 Oct 23, 2018
LATEST

you*

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines