flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Easy way to remove TLF text cursor?
Date Mon, 03 Feb 2014 00:11:09 GMT
FWIW, setting stage.focus = null may get overridden by the Flex
FocusManager.  It might try to restore focus to the control.  The
FocusManager tries to make sure something always has focus.

Also note that the blinking cursor is a child Sprite or Shape of the text
widget.

-Alex

On 2/2/14 1:09 AM, "Harbs" <harbs.lists@gmail.com> wrote:

>I knew this at some pointÅ 
>
>textFlow.interactionManager.selectRange(-1,-1);
>
>On Feb 2, 2014, at 10:45 AM, Harbs wrote:
>
>> I might be missing something obvious, but I don't see an easy way to
>>remove a text cursor from TLF text.
>> 
>> Setting stage.focus = null prevents input, but you still get the
>>blinking cursor. Doing this on multiple text containers will get you
>>multiple blinking cursors.
>> 
>> Any suggestions?
>> 
>> Harbs
>


Mime
View raw message