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 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




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to