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

Background not rendering for HTML canvas in browser

Community Beginner ,
Mar 17, 2020 Mar 17, 2020

Copy link to clipboard

Copied

My interactive figure for a website has a background that does not load along with the rest of the figure when the website is loaded the first time. When refreshing, the background loads as normal. The strange thing is that this suddenly started happening with the latest version, whereas previous versions have worked perfectly without this issue.

Some posts on other forums suggested the issue is that the background image is not initiated before the canvas is loaded. I'm not great with HTML, hence why I use Animate,  so I can't find any clues in the code that relates to this. The image used for the background is "MasterfigurKlima2050_20150318". Link for the code (HTML with JS included): https://pastebin.com/qcKV1fK6

 

Any advice would be much appreciated!

Views

284

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

correct answers 1 Correct answer

Community Expert , Mar 17, 2020 Mar 17, 2020

in your publish settings, change how your exporting image assets.

 

Screenshot - 3_17_2020 , 11_55_13 AM.png

Votes

Translate

Translate
Community Expert ,
Mar 17, 2020 Mar 17, 2020

Copy link to clipboard

Copied

in your publish settings, change how your exporting image assets.

 

Screenshot - 3_17_2020 , 11_55_13 AM.png

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
Community Beginner ,
Mar 26, 2020 Mar 26, 2020

Copy link to clipboard

Copied

It is already set to export as texture

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
Community Expert ,
Mar 26, 2020 Mar 26, 2020

Copy link to clipboard

Copied

again, try changing it.

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
Community Beginner ,
Mar 29, 2020 Mar 29, 2020

Copy link to clipboard

Copied

My apologies, I misunderstood your advice as "change to export as texture". Changed to export images as spritesheets and that seems to have fixed it! Thanks for the help 🙂

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
Community Expert ,
Mar 29, 2020 Mar 29, 2020

Copy link to clipboard

Copied

LATEST

you're welcome.

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