Skip to main content
Mar 6, 2012 4:36 AM UTC
Question

AdvanceDatagrid - Framework error (Graphics/drawRect())

keeps on getting this framework error accessing Advance datagrid.

Please suggest.

ArgumentError: Error #2004: One of the parameters is invalid.

at flash.display::Graphics/drawRect()

at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer/updateDisplayList()

at mx.core::UIComponent/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()

Thanks in Advance.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participant
Apr 29, 2012 11:49 AM UTC

Translate
Participant
Apr 29, 2012 11:40 AM UTC

HI,

Hope it isn't too late,
I have had the same error only while running FB 4.6

The solution I found was to set the fullHeight variable as well as the height when the compnent is created.
(this has to do with the way the skins are registered)

Before that the panel was getting 'height=NaN' which caused the error

Translate