Hi

I was able to build successfully using Flexmojos version 3.8 and it
generated the main SWF & the modules swf. But then I needed to change
the names of the SWF generated. Something like this:

                        <module>
                            <sourceFile>abstraction.mxml</sourceFile>
                            <optimize>false</optimize>
                            <finalName>abstraction</finalName>
                            <destinationPath>com/abcd/modules</
destinationPath>
                        </module>
                        <module>
                            <sourceFile>rdis.mxml</sourceFile>
                            <optimize>false</optimize>
                            <finalName>rdis</finalName>
                            <destinationPath>com/abcd/modules</
destinationPath>
                        </module>

But then it would not work with flexmojos-maven-plugin version 3.x. So
I changed that to 4.0-SNAPSHOT, and the Flexmojos version to 4.0 and
Java version to 1.6. Now when I run mvn clean install, I'm getting
these errors and the build fails:


\src\Main.mxml(201): Error: The style 'backgroundColor' is only
supported by type 'com.abcd.components.IconBar' with the theme(s)
'spark'.

        <nwc:IconBar id="iconBar"

c:\src\Main.mxml(206): Error: The style 'backgroundColor' is only
supported by type 'spark.components.BorderContainer' with the theme(s)
'spark'.

        <s:BorderContainer id="con"

c:\src\components\IconBar.mxml(110): Error: The style
'backgroundAlpha' is only supported by type
'spark.components.BorderContainer' with the theme(s) 'spark'.

        <s:BorderContainer width="20%" height="100%"

C:\src\com\components\IconBar.mxml(127): Error: The style
'backgroundAlpha' is only supported by type
'spark.components.BorderContainer' with the theme(s) 'spark'.

        <s:BorderContainer width="60%" height="100%"

C:\src\com\components\IconBar.mxml(160): Error: The style
'backgroundAlpha' is only supported by type
'spark.components.BorderContainer' with the theme(s) 'spark'.

        <s:BorderContainer width="20%" height="100%"

C:\src\com\components\CMSBanner.mxml(9): Error: The style
'backgroundColor' is only supported by type
'spark.components.BorderContainer' with the theme(s) 'spark'.

                 addedToStage="dispatchEvent(new Event('configureIOC',
true))">

C:\src\com\components\SaveDialogBox.mxml(9): Error: The style
'backgroundAlpha'is only supported by type
'spark.components.BorderContainer' with the theme(s) 'spark'.

                                   backgroundAlpha="0">

C:\src\com\components\SaveDialogBox.mxml(82): Error: The style
'backgroundColor' is only supported by type
'spark.components.SkinnableContainer' with the theme(s) 'spark'.

        <s:SkinnableContainer id="shell"


I did not get these errors when I built earlier using Flexmojos 3.x &
Java 1.5. Please let me know what I'm missing here.


Thanks

Harish

-- 
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