You can use binding, but there is no data property on a TextInput anymore, so 
if you are creating a renderer, use MXItemRenderer or one of its subclasses.


On 5/19/10 7:21 PM, "tex_learning_flex" <[email protected]> wrote:






In Flex 3 you could set an initial value for a textInput field like so:

<mx:TextInput id="textinput1"
 text="{data.name}"
 editable="true"
 />

I haven't been able to do this in Flex 4 -- does anyone know a way to achieve 
the same result?

thanks in advance,

Tex






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to