Skip navigation
gvnsaxena
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/http://adobe.com/AS3/2006/builtin::apply()

at mx.core::UIComponent/callLaterDispatcher2()

at mx.core::UIComponent/callLaterDispatcher()

 

 

Thanks in Advance.

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

    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

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

    Untitled-1.jpg

     
    |
    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