Hi, I'm trying to load a module created with flex mojos in a project in flash boulder normal air and throws me errors saying missing classes.
Main project Air <?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <mx:ModuleLoader url="Demo-1.0.swf" id="mod" width="100%" height="100%" /> </s:WindowedApplication> Demo code: <?xml version="1.0" encoding="utf-8"?> <mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <mx:AdvancedDataGrid x="84" y="87" id="adg1" designViewDataType="tree"> <mx:columns> <mx:AdvancedDataGridColumn headerText="Column 1" dataField="col1"/> <mx:AdvancedDataGridColumn headerText="Column 2" dataField="col2"/> <mx:AdvancedDataGridColumn headerText="Column 3" dataField="col3"/> </mx:columns> </mx:AdvancedDataGrid> </mx:Module> Demo POM: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>ar.com.emeretail</groupId> <artifactId>Demo</artifactId> <version>1.0</version> <packaging>swf</packaging> <dependencies> <!-- Air Framework --> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>air-framework</artifactId> <version>4.1.0.16076</version> <type>pom</type> <scope>rsl</scope> </dependency> <!-- Test Unit for Flex --> <dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>4.0-rc-1</version> <type>swc</type> <scope>test</scope> </dependency> <!-- MVC --> <dependency> <groupId>com.adobe.flex.mvc</groupId> <artifactId>Cairngorm</artifactId> <version>1.0</version> <type>swc</type> </dependency> <dependency> <groupId>eme.flex.mvc</groupId> <artifactId>SimpleMVC</artifactId> <version>1.2</version> <type>swc</type> </dependency> <!-- eme Flex Global Library --> <dependency> <groupId>eme.flex.lib</groupId> <artifactId>EmeFlexLibs</artifactId> <version>1.1</version> <type>swc</type> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>3.9</version> <extensions>true</extensions> <configuration> <sourceFile>module/DemoModule.mxml</sourceFile> </configuration> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>4.1.0.16076</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> <sourceDirectory>src/</sourceDirectory> <testSourceDirectory>src/resources</testSourceDirectory> </build> </project> Error: VerifyError: Error #1014: Class mx.controls.advancedDataGridClasses::AdvancedDataGridColumn could not be found. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame()[E:\dev\4.x \frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:631] at mx.core::FlexModuleFactory/update()[E:\dev\4.x\frameworks\projects \framework\src\mx\core\FlexModuleFactory.as:401] at mx.core::FlexModuleFactory/moduleCompleteHandler()[E:\dev\4.x \frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:718] -- 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/
