RE: [flexcoders] textInput - Flex 4 vs. Flex 3

2010-05-19 Thread Gordon Smith
It should work. Exactly what problem are you having?

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of tex_learning_flex
Sent: Wednesday, May 19, 2010 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] textInput - Flex 4 vs. Flex 3



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



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



Re: [flexcoders] textInput - Flex 4 vs. Flex 3

2010-05-19 Thread Alex Harui
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"  wrote:






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



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