2 Replies Latest reply on Sep 3, 2009 10:33 AM by DeyBwah

    Newbie Question (how do you select all text in textinput on click?)

    DeyBwah Level 1

      Hi everyone,


      I have a textinput field with an embed code for a video and I'm trying to make it easy for users to copy the code.


      How do I set the textinput field to auto-select its contents when a user clicks on that field?


      <mx:TextInput id="url" text="{emailURL}" />