I'm having problems with a custom component. I'm creating a Grid in the
createChildren() method and adding rows dynamically within the
updateDisplayList() method based on the value of a property. I continue to get
this error and I don't have any idea how to fix it.
TypeError: Error #1010: A term is undefined and has no properties.
at mx.containers::Grid/updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.core::Container/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()