automationContent():Array { var children:Array = []; if (container != null) { for (var i:int=0; i < container.numChildren; i++) { var child:IAutomationObject = container.getChildAt(i) as IAutomationObject; if (child != null) { children.push(child); } } } return children; } public override function getAutomationChildAt(index:int):IAutomationObject { return automationContent.length ? automationContent[index] : super.getAutomationChildAt(index);}