6 Replies Latest reply on Nov 20, 2009 2:18 PM by Flex harUI

    Focus, focus, focus... Many questions!




      Im trying to develop an app in flex (how surprising!). Its kind of multilanguage and i want to make buttons, that on fire, would add a special character (such as šřéíýščř ) to the currentlu selected TextField. So far I did it brutally:


      TextField.text += "š";


      now I have more text fields and I'd like to make it a little less dumb. For example if a part of the text is selected, insert the character instead of the selected text etc.


      Any help either to fix the dumb way or to show me how to do it the smart way would be highly appreciated!!