Highlighted

Error: The canvas has been tainted by cross-origin data.

Community Beginner ,
Feb 25, 2020

Copy link to clipboard

Copied

When I publish my project I get this error when I open the HTML file.

Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

 

 

TOPICS
Code, Error, Import and export, Other, Performance, Product issue

Views

933

Likes

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

Error: The canvas has been tainted by cross-origin data.

Community Beginner ,
Feb 25, 2020

Copy link to clipboard

Copied

When I publish my project I get this error when I open the HTML file.

Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

 

 

TOPICS
Code, Error, Import and export, Other, Performance, Product issue

Views

934

Likes

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
Feb 25, 2020 0
Adobe Community Professional ,
Feb 25, 2020

Copy link to clipboard

Copied

Did Animate try to warn you about this possibilty when you published the project? In the Output window?

Likes

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
Reply
Loading...
Feb 25, 2020 0
Community Beginner ,
Feb 25, 2020

Copy link to clipboard

Copied

- Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.

 

Bitmaps should change with button responses.

Likes

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
Reply
Loading...
Feb 25, 2020 0
Adobe Community Professional ,
Feb 25, 2020

Copy link to clipboard

Copied

Well there you go. You have bitmaps in your buttons and they are in fact generating local security errors in your browser when run from the local file system.

Likes

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
Reply
Loading...
Feb 25, 2020 0
Talhaa LATEST
Community Beginner ,
Feb 25, 2020

Copy link to clipboard

Copied

ok

Likes

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
Reply
Loading...
Feb 25, 2020 0