If you know the index of the button within the ButtonBar (which would be the same as it's index in the dataProvider) you can use the getChildAt method of the button bar:
var btn:Button = Button(_btnBar.getChildAt(i)); btn.enabled = false; mark
If you know the index of the button within the ButtonBar (which would be the same as it's index in the dataProvider) you can use the getChildAt method of the button bar:
var btn:Button = Button(_btnBar.getChildAt(i)); btn.enabled = false; mark