TLF 3.0 - How to make focusOut-highlighted text becomes unhighlighted?


hi all,


i using latest tlf 3.0 flex 3.6 sdk.

to make text stays highlighted when it's out of focus, have this:

var config:configuration = textflow.defaultconfiguration;

config.unfocusedselectionformat = new selectionformat(0xffffff, 1.0,

blendmode.difference, 0xffffff, 1.0, blendmode.difference, 0);


there's time when want highlighted text become unhighlighted.

i thought simple doing on textflow:

_textflow.unfocusedselectionformat = new selectionformat(0xffffff, 0,

blendmode.difference, 0xffffff, 0.0, blendmode.difference, 0);

but doesn't work.. stays highlighted.


is because it's being overridden defaultconfiguration time?


thanks!


handi



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support