Hi guys,
I've got a problem when I load a module,it pops up an error.when compile,
it passed successfully.
my project :flex project (flex sdk 3.2)
my environment: maven3.0+flexmojos+nexus+hudson
Here is a part of my pom.xml:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.9</version>
<extensions>true</extensions>
<configuration>
<sourceFile>Index.mxml</sourceFile>
<compilerWarnings>
<show-unused-type-selector-warnings>false</show-unused-type-selector-warnings>
</compilerWarnings>
<moduleFiles>
<module>/com/wisoft/aims/ItemsBrowse.mxml</module>
</moduleFiles>
<compiledLocales>
<locale>zh_CN</locale>
</compiledLocales>
<stripModuleArtifactInfo>true</stripModuleArtifactInfo>
<targetPlayer>9.0.124</targetPlayer>
<debug>true</debug>
<optimize>false</optimize>
<autoSortRsls>true</autoSortRsls>
<encoding>GBK</encoding>
<rslUrls>
<rsl>{artifactId}.{extension}</rsl>
</rslUrls>
<verifyDigests>false</verifyDigests>
<keepAllTypeSelectors>true</keepAllTypeSelectors>
</configuration>
</plugin>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>3.2.0.3958</version>
<classifier>9</classifier>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>3.2.0.3958</version>
<type>swc</type>
</dependency>
And the error says:
TypeError: Error #1007: 尝试实例化的函数不是构造函数。
at
mx.controls::AdvancedDataGridBaseEx/getSeparator()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4149]
at
mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4186]
at
mx.controls::AdvancedDataGrid/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:1774]
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()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()
Is there any problem?
Can someone advice me how I can fix this? Thank you very much.
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/