[flexcoders] Re: TypeError - Please Help

2010-03-12 Thread chefbrittison


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 flexcoders@yahoogroups.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





Re: [flexcoders] Re: TypeError - Please Help

2010-03-12 Thread Alex Harui
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 britton.j...@gmail.com 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 flexcoders@yahoogroups.com 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


[flexcoders] Re: TypeError - Please Help

2010-03-12 Thread valdhor
Have you installed the Flash Debug Player? Did you run your application from 
inside Flex Builder? Did you run it using the Debug option (ie. click the debug 
button or select the menu option Run-Debug Your application Name).

That is what is meant by a debug build.

Perhaps you should go over the Flex Documentation to make sure you understand 
how Flex applications are built and debugged.

--- In flexcoders@yahoogroups.com, chefbrittison britton.j...@... 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 flexcoders@yahoogroups.com, Alex Harui aharui@ 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.jeff@ 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