Skip to main content
Participant
February 15, 2010
Question

manually chaning language -like alt-shift combination

  • February 15, 2010
  • 1 reply
  • 292 views

Hi all,

I have two questions:

1.     I want to add the ability to write in some languages but without using the combination of alt-shift keys, I want to create a button that will do it.

          so my question is how can I change the language?

2.     I want to create the undo button that will do the same operation as ctrl+z, my code is:

               IEditManager(_textArea.textFlow.interactionManager).undo();  //_textArea is TextArea

                it doesn't work.....

               I think the problem is because when I press on the button the textArea loses the focus, so how can I prevent the loss of the focus?

                   

thanks,

Benny

This topic has been closed for replies.

1 reply

Adobe Employee
February 16, 2010

I'm not sure what you mean by "changing the language". You can change the locale which the text is tagged wiith, and that is TLF functionality that you can control from your application. But you can also change the IME that is used for entering the text, and that is controlled by the operating system. You can't change the operating system's text input language from inside Flash, sorry.

- robin