Quantcast
Viewing all articles
Browse latest Browse all 13519

Can you use html text in flash cc html5 project type?

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.



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;


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>