Re: [flexcoders] ButtonBar's child enabling

2007-02-26 Thread Michael Schmalle
Oh, supposed to be var button:Button = buttonBar.getChildAt(searchIndex) as Button; Mike On 2/24/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, Try; var searchIndex:int = 2; var button:Button = getChildAt(searchIndex) as Button; button.enable = false; or use the other DisplayObjectCo

Re: [flexcoders] ButtonBar's child enabling

2007-02-26 Thread Michael Schmalle
Hi, Try; var searchIndex:int = 2; var button:Button = getChildAt(searchIndex) as Button; button.enable = false; or use the other DisplayObjectContainer methods for getting a child instance; - getChildByName() etc Peace, Mike On 2/24/07, metalbeard <[EMAIL PROTECTED]> wrote: Hi, Is there

[flexcoders] ButtonBar's child enabling

2007-02-24 Thread metalbeard
Hi, Is there anyway that we can set the enable property of a specific button inside the buttonBar (a child of a buttonBar) to false? I couldn't find it. Wael