1 Reply Latest reply on Apr 8, 2008 12:07 AM by atta707

    about custom component

    mak_josh
      hey all,
      i m creating a custom component in mxml in flex 3.0. it has one textinput as component in custom component.how i can get text of textinput in as class file??
      i know one was of Application.application.someobject....
      is there any other way???
        • 1. Re: about custom component
          atta707 Level 2
          when you create a custom component you're actually extending it as a class; this could be done either using MXML, where compiler does the translation for you or in an AS class. In either case, all the properties of base class are available in the extended classes. So you'll simple do a this.text to get the text in the text input you're extending.

          hope this helps.

          ATTA