flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jude <flexcapaci...@gmail.com>
Subject Re: TextInput
Date Wed, 15 Jun 2016 21:03:19 GMT
For some languages you may need to set the IME mode. But that seems to be
only for specific languages. I haven't used IME mode before but it looks
like you may need to set those properties. Harbs may know more about this.

http://flex.apache.org/asdoc/spark/components/supportClasses/SkinnableTextBase.html#imeMode

You can try using the mobile skin StageText skin or using an mx TextInput
and see if you get different results.

On Wed, Jun 15, 2016 at 3:35 PM, Alex Harui <aharui@adobe.com> wrote:

> RichEditableText is a lot of code, but if you want to keep debugging, try
> following whether it is getting the keyDown event or not and what happens
> to it after it gets it.
>
> -Alex
>
> On 6/15/16, 1:21 PM, "Anton Bondarenko" <divlaine@gmail.com> wrote:
>
> >i watched all i use and found that in textinputskin im using
> >richeditabletext
> >
> >2016-06-16 0:15 GMT+04:00 Alex Harui <aharui@adobe.com>:
> >
> >> I couldn't find any mention of this problem on the internet so I don't
> >> think it is a known issue.  If you want to debug into it, try putting
> >> keyDown, keyUp, and textInput event listeners and see what happens.
> >>
> >> -Alex
> >>
> >> On 6/15/16, 12:46 PM, "Anton Bondarenko" <divlaine@gmail.com> wrote:
> >>
> >> >forgot to add than on PC works fine. thats problem on android device
> >>and i
> >> >didnt test on ios device
> >> >
> >> >2016-06-15 23:36 GMT+04:00 Anton Bondarenko <divlaine@gmail.com>:
> >> >
> >> >> 1. Russian letters are showed in soft keyboard.
> >> >> 2. if im using input.text = "{%russian text%}" than all is fine.
> >> >> 3. when i want to enter text from softkeyboard letters are animated
> >>by
> >> >> click but no text adding to input. if i change soft keyboard locale
> >>to
> >> >> english letters are adding to input correct. numbers works too.
> >> >> 4. i try to use embedded font and default font. The behaviour is the
> >> >>same.
> >> >>
> >> >> i want to add video but your host return error
> >> >> so thats the URL for video
> >> >> https://cloud.mail.ru/public/5M3L/d8oUsfGMe
> >> >>
> >> >> 2016-06-15 22:15 GMT+04:00 Alex Harui <aharui@adobe.com>:
> >> >>
> >> >>>
> >> >>>
> >> >>> On 6/15/16, 11:03 AM, "Anton Bondarenko" <divlaine@gmail.com>
> wrote:
> >> >>>
> >> >>> >Hey guys!
> >> >>> >I have a question on Apache Flex. The problem is next. Simple
> >> >>> >spark.componentes.TextInput didnt understand utf letters. I
mean
> >>that
> >> >>>i
> >> >>> >can
> >> >>> >enter only numbers and english letters from softkeyboard. but
from
> >> >>>other
> >> >>> >languages i cant, for example russian letters. there are no
> >> >>>restrictions.
> >> >>> >letters pressed but textinput is empty.
> >> >>> >I found that there are a problem with utf letters but i cant
fix
> >>it.
> >> >>> >what u think about it?
> >> >>>
> >> >>> I'm not quite clear:  Did the Russian letters show up on the soft
> >> >>>keyboard
> >> >>> or not?  If they showed up on the soft keyboard but not in the
> >> >>>TextInput,
> >> >>> the first thing to check would be the font used for the TextInput.
> >>You
> >> >>> could also run tests on the length of the string or the charCodes
of
> >> >>>each
> >> >>> character in the string.  Or do other tests with the APIs here
[1].
> >> >>>But
> >> >>> if the font doesn't have the glyphs for the Russian letters then
it
> >> >>>won't
> >> >>> be displayed.
> >> >>>
> >> >>> [1]
> >> >>>
> >> >>>
> >> >>>
> >>
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash
> >> >>>/te
> >> >>> xt/Font.html
> >> >>>
> >> >>><
> >> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flas
> >> >>>h/text/Font.html>
> >> >>>
> >> >>> HTH,
> >> >>> -Alex
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >> //-------------------------
> >> >> Best Regards,
> >> >> Anton Bondarenko
> >> >>
> >> >
> >> >
> >> >
> >> >--
> >> >//-------------------------
> >> >Best Regards,
> >> >Anton Bondarenko
> >>
> >>
> >
> >
> >--
> >//-------------------------
> >Best Regards,
> >Anton Bondarenko
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message