RE: [flexcoders] using curve, drawPolyLine throws error.. any suggestions

2009-09-14 Thread Alex Harui
Technically, "sealed" means "not dynamic".  Almost all Flex classes are sealed. 
 Your pain is that source isn't available for everything.  That's always going 
to be true somewhere since not everything will be opensource.

Anyway, see if the debugger will show you the parameters to drawPolyLine.  It 
looks like it ran points to draw before it thought it should.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of djhatrick
Sent: Monday, September 14, 2009 1:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] using curve, drawPolyLine throws error.. any suggestions



love when classes are sealed, how do i debug?
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine

TypeError: Error #1010: A term is undefined and has no properties.
at 
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\GraphicsUtilities.as:305]
at 
mx.charts.renderers::AreaRenderer/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\renderers\AreaRenderer.as:153]
at 
mx.skins::ProgrammaticSkin/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
at 
mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:695]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]
at 
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]



[flexcoders] using curve, drawPolyLine throws error.. any suggestions

2009-09-14 Thread djhatrick
love when classes are sealed, how do i debug?
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine 


TypeError: Error #1010: A term is undefined and has no properties.
at 
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\GraphicsUtilities.as:305]
at 
mx.charts.renderers::AreaRenderer/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\renderers\AreaRenderer.as:153]
at 
mx.skins::ProgrammaticSkin/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
at 
mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:695]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]
at 
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]