Question
Setting unfocusedSelectionFormat doesn't work when expected
I'm trying to set the unfocusedSelectionFormat so that when the text flow container loses focus the text stays selected (the range alpha remains at 1).
This works:
textFlow = new TextFlow();
Configuration(textFlow.configuration).unfocusedSelectionFormat = new SelectionFormat(0xffffff, 1, BlendMode.DIFFERENCE, 0xffffff, 0);
This doesn't:
var config:Configuration = Configuration(TextFlow.defaultConfiguration).clone();
config.unfocusedSelectionFormat = new SelectionFormat(0xffffff, 1, BlendMode.DIFFERENCE, 0xffffff, 0);
textFlow = new TextFlow(config);
Am I missing something? It seems like the second way should work too.
