Copy link to clipboard
Copied
Anyone help me please..
In html 5 (Canvas) documents of Animate 2020, although I set up black (or red) on stage color, I see white on html background color.
Html bgcolor is always white.
Can I change html bgcolor on html 5 Canvas document published by Animate 2020?
Is there any way I can match stage color with html background color?
Anyone help me please!
Copy link to clipboard
Copied
Of course you can. It's HTML. You can do literally anything to it that you can with any other HTML document.
Copy link to clipboard
Copied
Hi.
There is.
In the beginning of your code, write this down:
document.body.style.backgroundColor = lib.properties.color;
Please let us know if you have any further questions.
Regards,
JC
Copy link to clipboard
Copied
Thank you for your help.
Is there any other way I can operate in Animate 2020 to change html bgcolor?
Copy link to clipboard
Copied
I am sorry that I don't know how to use the above script you gave me..
Let me know how to use the script in specific.. where to insert the script and what is variables..
Thank you