0 Replies Latest reply on Nov 28, 2007 9:43 AM by GeorgeWS


    GeorgeWS Level 1
      I have a linkbar that works like this:
      private var linkData:Array = ["Home", "Directory", "Documents", "E-Mail", "Reports", "Tools", "Training", "HR"];

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

      This works perfect!
      How do I make the links dynamic so one person gets 1 - 2 - 3 and another gets 1 - 3 - 4 - 5 ? I have a Remote Object that calls in the persons name and employee ID for display in the array collection there are also fields like ADMIN with 1 or 0, SALESREP with 1 or 0 etc. So a login will goes to a CFC that brings this info into my Navigation App. How can I make the LinkBar just have the parts of the ArrayCollection that have a 1?