Skip to main content


Showing posts from October, 2009

Error #1034: Type Coercion failed: DragManagerImpl to IDragManager

My Flex application is divided in modules, and I am having an advanced data grid in one of them.
While clicking on the advanced data grid, I am getting following error:
TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::DragManagerImpl@1ae729c1 to mx.managers.IDragManager.     at mx.managers::DragManager$/get impl()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\]     at mx.managers::DragManager$/get isDragging()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\]     at mx.controls.listClasses::AdvancedListBase/dragScroll()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\listClasses\]     at Function/     at SetIntervalTimer/onTimer()     at flash.utils::Timer/_timerDispatch()     at flash.utils::Timer/tick() I fixed it by adding creating an instance of IDragManager in my main application class:
<fx:Script>     <![CDATA[   …