Key_down and key_up events works for English letters but with Russian handler doesn't receive this events. It's very interesting. Yes, IME works only for CJK, there are 3 languages for it as I know. For stage textinputskin a little correction: softkeyboardtype is working, but I can't prevent softkeyboard activate. And one more interesting question I can't figure out its using softkeyboard with custom keys. I mean for example number keyboard with some additional buttons. The thing is that I saw on Android apps such keyboards but can't find any information how to do it on flex, even with using some ANE. 16 июня 2016 г. 10:34 пользователь "Harbs" <harbs.li...@gmail.com> написал:
> IME is only necessary for CJK languages. Cyrillic languages should work > with regular input. > > On Jun 16, 2016, at 12:03 AM, jude <flexcapaci...@gmail.com> wrote: > > > 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 <aha...@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" <divla...@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 <aha...@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" <divla...@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 <divla...@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 <aha...@adobe.com>: > >>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On 6/15/16, 11:03 AM, "Anton Bondarenko" <divla...@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 > >> > >> > >