I have this text String in an Array. It’ll be sent to a TextField, but first I’d like to change the color of one of the letters. Like this:
[FONT=Courier New]some_array = [COLOR=#000000][[/COLOR][COLOR=#ff0000]“This i<font color=’#000000’>s</font> an example”[/COLOR][COLOR=#000000]][/COLOR];
[/FONT]
But I’d like to do it with actionscript, so I can enter a number and one of the letters changes color. In this example the number is 7, since ‘s’ is the 7th letter.
How would one do that?