If you build with the –debug flag it should put line numbers in the error reports. You may need to use –static-rsls or the “merge into code” option.
On 3/11/10 7:28 PM, "chefbrittison" <[email protected]> wrote: What do you mean by a 'debug build'? Are you referring to a debug build of the Flex SDK? If so, where would I find that or how would I set that up? Thanks in advance. --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , Alex Harui <aha...@...> wrote: > > If you use a debug build, you should get line numbers as well in the > stacktrace, which will help us track it down. > > > On 3/11/10 12:20 PM, "chefbrittison" <britton.j...@...> wrote: > > > > > > > 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() > > > > > > > -- > Alex Harui > Flex SDK Team > Adobe System, Inc. > http://blogs.adobe.com/aharui > -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

