Skip to main content
March 6, 2012
Question

AdvanceDatagrid - Framework error (Graphics/drawRect())

  • March 6, 2012
  • 2 replies
  • 1780 views

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 has been closed for replies.

2 replies

Participant
April 29, 2012

Participant
April 29, 2012

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