I've read this Q&A: Change TextField selection color in AS3
But I don't understand the part using TextFlow
, I tried this:
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.edit.SelectionFormat;
TextFlow.defaultConfiguration.focusedSelectionFormat = new SelectionFormat(0xDC4713);
But my TLF didn't seemed to have changed it's highlight color, what is the proper way to use this code or is there a way to change the highlight color in all the textfields in your flash?