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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to