Thanks Clay, you are my hero once again.
So I added the property to my element like this:
this.txt_header.font = "40px";
But now the text is really tiny, no matter what size I enter there. Seems it shows the standard size of 10px. Do you know why or what I am doing wrong?
Because you aren't specifying a font.
Examine the value of font before changing it.
Sorry, I do not quite get it.
Do you mean that I have to change the values as they are being used by Animate CC in my case like font name, size and font weight? Or that I have to set it up using the values as specified in the createJS and MDN doc which says: The font style to use. Any valid value for the CSS font attribute is acceptable (ex. "bold 36px Arial").?
Assign that back to font, changed as needed.
Ha, sorry. Got it now and it works. Thanks once more.