  *  &lt;mx:<i>tagname</i>
  *    <strong>Properties</strong>
  *    dataProvider="<i>No default</i>"
+ *    enabledField="enabled"
  *    iconField="icon"
  *    labeField="label"
  *    selectedIndex="-1"

            if (item is String && labelFunction == null)
            {
                navItem = Button(createNavItem(String(item)));
            }
            else
            {
                var label:String = itemToLabel(item);
                // if labelField doesn't exist in item, label will be null;

                if (iconField)
                {
                    var iconValue:Object = null;


                    navItem = Button(createNavItem(label, null));
                }

                //Check for toolTip field and assign it to the individual button if it exists.
                if (_toolTipField != "" && item.hasOwnProperty(_toolTipField))
                {
                    navItem.toolTip = String(item[_toolTipField]);
                }

                //Check for enabled field and assign it to the individual button if it exists.
                if (_enabledField != "" && item.hasOwnProperty(_enabledField))
                {
                    navItem.enabled = Boolean(item[_enabledField]);
                }
                else
                {
                    navItem.enabled = enabled;
                }
            }

        }
        resetNavItems();
    }
