Skip navigation
Currently Being Moderated

AdvanceDatagrid - Framework error (Graphics/drawRect())

Mar 5, 2012 8:36 PM

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/u pdateDisplayList()

at mx.core::UIComponent/validateDisplayList()

at mx.managers::LayoutManager/validateDisplayList()

at mx.managers::LayoutManager/doPhasedInstantiation()

at Function/

at mx.core::UIComponent/callLaterDispatcher2()

at mx.core::UIComponent/callLaterDispatcher()



Thanks in Advance.

  • Currently Being Moderated
    Apr 29, 2012 4:40 AM   in reply to gvnsaxena


    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

    Mark as:
  • Currently Being Moderated
    Apr 29, 2012 4:49 AM   in reply to gvnsaxena


    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points