I'm using the following code to try and change the font size of a textfield dynamically using a varaible but I can't get size to use the variable as a value however all the other variables I combine with the string works as intended just not size .....can somebody spot the trouble plz.

PHP Code:

 
var chSize 50;
              
trace(msg);
                
insID.htmlText += "<font size="+chSize.toString(16)+" fontFamily='Tahoma' color=\"#"+newColor.toString(16)+"\">"+msg+"</font>";
                 
insID.wordWrap=true;
                
stage.focus msgOut;
                
scrollBar.update();