it was an ordering issue. I had an mx:Label covering the HBox. All's good now.
On 13 Apr 2007 13:07:04 -0700, kbunk79 <[EMAIL PROTECTED]> wrote:
I'm trying to add an mxml component to an itemrenderer in createChildren()... ButtonsBox is an HBox component with a couple <mx:Button/>'s createChildren() testControls= new ButtonsBox(); addChild(testControls); This displays fine but I can't get focus to the <mx:Button/>'s. I understand that addChild(myObj) myObj is a DisplayObject but why am I able to get focus to a button this way...? myButton:Button = new Button(); addChild(myButton); Is the problem with focus going to the selected row of the datagrid? Can I prevent focus of rows on a datagrid?
-- Kenneth Garee Flash and Flex Developer Macromedia Certified Flash MX Developer www.kengaree.com 617.510.8595
