Probably. If in production the data is coming off a server and isn't ready right away, you could be going through updateDL when there aren't any rows to draw so the rowBG and colBG don't exist yet
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, July 01, 2008 9:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] override updateDisplayList I am geting different results if I override updateDisplayList: override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var rowBGIndex:int = listContent.getChildIndex (listContent.getChildByName("rowBGs")); var colBGIndex:int = listContent.getChildIndex (listContent.getChildByName("colBGs")); } When I run it from production I am getting this: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/getChildIndex() at yardmodel.modulecode::RowColorGrid/updateDisplayList() at mx.controls.listClasses::ListBase/validateDisplayList() at mx.managers::LayoutManager/validateDisplayList() at mx.managers::LayoutManager/doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply <http://adobe.com/AS3/2006/builtin::apply> () at mx.core::UIComponent/callLaterDispatcher2() at mx.core::UIComponent/callLaterDispatcher() But when I run from Flex Builder it works fine. I am not running againt same data, but is that a problem? Please help.