4 Replies Latest reply on Aug 20, 2009 1:43 PM by Flex harUI

    Which type of text field should I use?

    SiHoop Level 1

      I am having a problem selecting the best object to use to display and control text. If I use a TextArea component, I have problems controling it with code and I hate getting caught up in Hbox and VBox layout issues. Also, I cannot seem to generate a TextArea in ActionScript.However, I can create a listener with a valueCommit event which allows me to respond to changes to its content. Can I create a TextArea with AS?

       

      On the other hand, I can generate a TextField with AS and then control exactly where it appears, but I cannot find an event that allows me to respond when the contents of the TextField changes. Is there an event that responds when the contents of a TextField changes dynamically?

      Thanks for your time.