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

Weird "Tainted canvases may not be exported" issue causing browser security problem

New Here ,
Apr 13, 2021 Apr 13, 2021

Copy link to clipboard

Copied

Hello! I have created 2 banner sets for a client. The first set runs fine off the disk in Chrome. The second does not show up, but when I press F12, I see this error on the second one.

Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
at Function.a.extractFrame (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/libs/1.0.0/createjs.min.js:14:31414)
at new lib.bg (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/baldinis_40k_test_v1.html:209:42)
at new lib.baldinis_40k_test_v1 (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/baldinis_40k_test_v1.html:294:21)
at handleComplete (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/baldinis_40k_test_v1.html:425:15)
at file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/baldinis_40k_test_v1.html:409:52
at a.b._dispatchEvent (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/libs/1.0.0/createjs.min.js:12:4090)
at a.b._dispatchEvent (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/libs/1.0.0/createjs.min.js:12:4158)
at a.b.dispatchEvent (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/libs/1.0.0/createjs.min.js:12:3479)
at a.b._sendComplete (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/libs/1.0.0/createjs.min.js:16:17075)
at a.b._loadNext (file:///D:/Graphic%20Design/Baldini's%20Casino/HTML5%2040K%20Tierriffic/libs/1.0.0/createjs.min.js:17:5292)

 

Both were created the same way, from a new file with no templates or anything. The image assets were imported from files, not pasted in. The second one looks totally identical to the first in terms of code and the way it was exported. I even tried pasting all the keyframe data from #2 into #1 and exporting and that also did not work. Help me Obi Wan Kenobi. You're my only hope.

Views

566

Translate

Translate

Report

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 ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

LATEST

Make sure you have the later version of adobe animate 21.0.5. there has been some updates to html 5

Votes

Translate

Translate

Report

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