0 Replies Latest reply on Dec 26, 2006 4:49 AM by jaimon_jaimon

    bindings and custom components

    jaimon_jaimon
      hi, i have created a component that wraps the TextInput control, but it does not work well with the Binding mechanism.
      here is the code:
      <vc:myTextInput text="{str}" y="8" tabIndex="0" x="100" id="in1"/>
      and the binding
      <mx:Binding source="in1.text" destination="str"/>

      does not update the str field, and if str is initialized to a certain value it would not show on the component,

      can any one tell me what i did wrong / forgot to add ??
      cheers,
      Jaimon