I'm attempting to dynamically change font color of various words inside a dynamic text field.

I have tried both these lines of code below. have you dont this can you correct my code please?

I'm using flash cc and html5 project type. This was possible in previous versions of flash.


Code:
	this.Logger.Log_File.htmlText = "<font color='#000000' size='-1'>"+MyGreatNumber+" "+"</font><BR>"+this.Logger.Log_File.htmlText;
		this.Logger.Log_File.htmlText = "<p style="color:#ff0000">"+MyGreatNumber+"</p><br>"+this.Logger.Log_File.htmlText;