Monday, March 22, 2010

Funky Argument Error

I get the following error when I randomly click on buttons in
my app:



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

at flash.display::Graphics/drawRect()

at
mx.controls::DataGrid/mx.controls:DataGrid::drawRowBackground()

at
mx.controls::DataGrid/mx.controls:DataGrid::drawRowBackgrounds()

at
mx.controls::DataGrid/mx.controls:DataGrid::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()



This wouldn't be a problem, but after it happens everything
else fails to continue to work.



Is there a way to fix this or avoid it?



Thanks.
  • spots
  • 1 comment:

    1. is there any solution for the above. i too got teh same issue, when the applicaion is migrated from flex 3 to flex 4.5

      ReplyDelete