<mx:TextInput
id="textinput1"
text="{data.name.[0]}"
/>


Remove the dot after name like this

<mx:TextInput
id="textinput1"
text="{data.name[0]}"
/>


Regards
----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org


On Wed, Jul 14, 2010 at 4:07 PM, tex_learning_flex <
tex.learning.f...@gmail.com> wrote:

>
>
> Gordon,
>
> I had the following call in a Flex 3 component which worked exactly as I
> wanted/expected:
>
> <mx:TextInput
> id="textinput1"
> text="{data.name.[0]}"
> />
>
> When I try this in FlashBuilder 4 I receive 2 errors:
>
> Type 1084: Syntax error: expecting identifier before leftbracket.
>
> Type 1084: Syntax error: expecting rightparen before end of program.
>
> Any feedback will be appreciated.
>
> thanks,
>
> Tex
>
>  
>

Reply via email to