Thanks a lot. You solved my problem. Wael
--- In flexcoders@yahoogroups.com, "Mark" <[EMAIL PROTECTED]> wrote: > > 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 >