4 Replies Latest reply on Jan 11, 2007 4:11 PM by Keys916

    Display field from ArrayCollection in Text field

      I want to display a welcome message for a logged in user, but I cannot get this to work. I am pulling the name from an ArrayCollection which is working with a datagrid on the same page (as a test).

      Here is the datagrid code:
      <mx:DataGrid dataProvider="{qInfo}">
      <mx:DataGridColumn headerText="Name" dataField="firstName"/>

      Here is the text code:

      <mx:Text text="You are logged in as {qInfo.firstName}"/>

      Flex throws the standard 1119 error - I tried a bunch of different ways of doing this, but none work.

      What am I missing here?