IIRC, this has been an issue since the move to AS3.  No way to find out if
a key has been pressed before the SWF started up.

On 2/7/14 6:38 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote:

>It seems the solution is "EditManager.overwriteMode" in Text Layout
>Framework.
>
>In AS2 there was a Key.isToggled but in AS3 all Key class with more useful
>functionality but it's gone...
>
>
>
>
>
>
>
>2014-02-07 Carlos Rovira <carlosrov...@apache.org>:
>
>> Hi,
>>
>> I'm trying to fix a case on MaskedTextInput when user is on a Windows
>> machine and has INSERT key pressed.
>>
>> I'm searching for a way to get this OS state to make the component take
>> this into account. Maybe there's something a SystemManager level or
>>other
>> Flex Manager Class that holds this concrete windows overtype mode to ask
>> for.
>>
>> Googling only points me to KeyBoard.INSERT or solutions like this:
>> 
>>http://stackoverflow.com/questions/1025893/flex-keyboard-insert-mode-over
>>type-or-insert
>> (but the latest seems very weak since the user could have the key
>>already
>> pressed)
>>
>> In C# There's a "Control.isKeyLocked" that is exactly what I need and
>> works with INSERT key
>>
>> Someone knows how to deal with this in AS3 or Flex?
>>
>> Thanks in advance
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
>-- 
>--
>Carlos Rovira
>http://about.me/carlosrovira

Reply via email to