How can I do it when a text is wider then the control?

The following does not work for me:
<s:TextInput id="ti" width="100" text="1234urferiferfherfheurhfehf
 rfoerufoerfuhoeivberep9dfepr9veviuhevh7890" selectable="true"/>

ti.setFocus();
ti.selectRange(0, 0);

Thanks

Reply via email to