my code as follow
new TextFormat("Arial", _fontsize * 1.2, 0xFFFFFF);
when compile to html5 target, get follow message
Function ‘new’ requires arguments : ?font, ?size, ?color, ?bold, ?italic, ?underline, ?url, ?target, ?align, ?leftMargin, ?rightMargin, ?indent, Float should be Null
Float should be Int
For optional function argument 'size’
Invalid arguments