Copy link to clipboard
Copied
Hi
Is it possible to have input text fields respond to htmlText? I'm sure I've done it before.
Although the following code displays the string correctly, there is no color formatting displayed:
e.target.htmlText = noColour + "<font color='0x00FF00'>"+ colorText +"</font>";
I've clicked the button in the field's properties (Flash Pro) to render as htmlText.
Cheers for having a look.
Never mind - I had the wrong syntax.
Should be '#00FF00', not '0x00FF00' when it's within quotes.
Copy link to clipboard
Copied
Never mind - I had the wrong syntax.
Should be '#00FF00', not '0x00FF00' when it's within quotes.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more