[flexcoders] Re: ButtonBar's child enabling

2007-02-25 Thread metalbeard
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: > >

[flexcoders] Re: ButtonBar's child enabling

2007-02-24 Thread 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