TypeError: Error #1007: 비생성자에서 인스턴스화를 시도했습니다.
at mx.controls::AdvancedDataGridBaseEx/getSeparator()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4149]
at mx.controls::AdvancedDataGrid/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:1785]
at mx.controls::AdvancedDataGridBaseEx/drawSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4110]
at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1880]
at mx.controls::AdvancedDataGrid/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6007]
at mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3072]
at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:677]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8892]
at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8832]
나의 경우는 AdvancedDataGrid 를 사용하는 프로젝트를 다른 컴퓨터로 가져옴에 있어서 swc들을 정상적으로 추가하지 않고 실행하였을 때 발생하는 에러였다.
datavisualization.swc를 추가하고 실행하니 정상적으로 작동되었다.
* AdvancedDataGrid를 사용 할 때는 datavisualization.swc를 추가하고 사용하여야 한다.
'Flex' 카테고리의 다른 글
PaperVision3d (0) | 2012.07.29 |
---|---|
PaperVision3d - 2 (0) | 2012.07.29 |
Flex FileReference.save (0) | 2012.07.29 |
FileReference.save 사용방법 (0) | 2012.07.29 |
Flex RSL (0) | 2012.07.29 |