No idea, I never did anything like that. If you tell me how do you do that using mxmlc/compc I may be able to tell you how to do that using flexmojos.
VELO On Thu, Apr 22, 2010 at 4:18 PM, AlexU <[email protected]> wrote: > How can I compile themes for Halo and Spark component into one module? > I’ve defined the below inside the pom.xml of the Flex module project: > > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>sparkskins</artifactId> > <version>${flex4.sdk.version}</version> > <type>swc</type> > <scope>theme</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>spark</artifactId> > <version>${flex4.sdk.version}</version> > <type>swc</type> > <scope>theme</scope> > </dependency> > > It compiles but once the module gets loaded, it throws runtimes on > various Flex components for missing skins. How can I enforce that the > correct skins are compiled into the module? I have the same dependency > definition for my shell application and it works. > > I’ve tried to force compilation into the Flex module with a CSS class > selector: > i.e.: > > s|ComboBox > { > skinClass: ClassReference("spark.skins.spark.ComboBoxSkin"); > } > > When I have enough of those, I don’t get runtimes anymore. But of > course, my question is how I can prevent those forced compilations via > i.e. CSS? > > Also, my ultimate goal is to apply CSS definitions of a custom library > project (via defaults.css). In my shell project and the module I have > the following definition to the custom library project (that contains > the CSS definitions to apply) > > <dependency> > <groupId>${myproject.application.groupId}</groupId> > <artifactId>my_default_skins_project</artifactId> > <version>${myproject.application.version}</version> > <type>swc</type> > </dependency> > > It already works fine with compiling it into the shell Flex project, > just not into the module. > > -- > 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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- 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/
