0 Replies Latest reply on Nov 29, 2007 1:47 PM by GeorgeWS

    LinkBar

    GeorgeWS Level 1
      THIS WORKS TO FILL THE LINKBAR:

      [Bindable]
      private var linkData:Array = ["Home", "Directory", "Documents", "E-Mail", "Reports", "Tools", "Training", "HR"];

      THIS DOES NOT WHY?:

      Bindable]
      private var linkData:Array = [sResult.getItemAt(0).Department];

      <mx:LinkBar width="100%" itemClick="navigateToURL(new URLRequest(' http://www.youngsmarket.com/mypage.cfm?goto=' + String(event.label).toLowerCase()), 'Main')" selectionColor="#A5B6BE" rollOverColor="#A5B6BE" height="24">
      <mx:dataProvider>
      {linkData}
      </mx:dataProvider>
      </mx:LinkBar>

      I know that this---- {sResult.getItemAt(0).EmployeeID}----- pulls info in because in displaying it in a mx:Label. How can I build the Array with results?

      Thanks

      George