Maybe this could be proposed to flash player team? El viernes, 7 de febrero de 2014, Alex Harui <aha...@adobe.com> escribió:
> 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 <javascript:;>> > 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 <javascript:;>>: > > > >> 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 > > -- Carlos Rovira Director de Tecnología M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es