Thanks Chris.
This issue was resolved by adding spark dependenice in POM.

There were other limitations causing us to use halo theme, which we cannot
avoid.

Regards
Arpit
You are using Spark with the Halo/MX theme? Try using the Spark Theme
instead.

Chris
________________________________________
Von: Poonam Anand <[email protected]>
Gesendet: Freitag, 28. März 2014 07:12
An: [email protected]
Betreff: Flex mojos build error - style 'backgroundColor' is only supported
by type 'spark.components.SkinnableContainer' with the theme(s) 'spark,
mobile'

Hi,

I get below build error :

style 'backgroundColor' is only supported by type
'spark.components.SkinnableContainer' with the theme(s) 'spark, mobile'

What is it that I am missing?

//MXML snippet
<s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009";
                                          xmlns:s="library://
ns.adobe.com/flex/spark"
                                          xmlns:mx="library://
ns.adobe.com/flex/mx"
                                          width="100%" height="100%"
                                          backgroundColor="0x25373E"
                                          >
//Pom snippets
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark</artifactId>
                        <version>${flex.version}</version>
                        <type>swc</type>
                        <scope>external</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark</artifactId>
                        <classifier>en_US</classifier>
                        <version>${flex.version}</version>
                        <type>rb.swc</type>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>sparkskins</artifactId>
                        <version>${flex.version}</version>
                        <type>swc</type>
                        <scope>external</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark_dmv</artifactId>
                        <version>${flex.version}</version>
                        <type>swc</type>
                        <scope>external</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework.mobile</groupId>
                        <artifactId>mobilecomponents</artifactId>
                        <classifier>en_US</classifier>
                        <version>${flex.version}</version>
                        <type>rb.swc</type>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework.themes</groupId>
                        <artifactId>halo</artifactId>
                        <type>swc</type>
                        <scope>theme</scope>
                        <version>${flex.version}</version>
                </dependency>

Thanks,
Poonam



--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Flex-mojos-build-error-style-backgroundColor-is-only-supported-by-type-spark-components-SkinnableCon-tp5810.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to