1. + 2. with flex-mojos 3.4.2
3. with 3.5.0

Marc



On Fri, Jan 22, 2010 at 4:16 AM, velo <[email protected]> wrote:

> What flexmojos version are you using?
>
> VELO
>
> On Jan 21, 6:30 pm, Marc Speck <[email protected]> wrote:
> > I've just tried to migrate from 4.0.0.10485 -> 13555 and found the
> following
> > issues:
> >
> > 1. At first, the player classes (e.g. Object or Event) were not found. I
> > replaced the file /target/classes/libraries/playerglobal.swc (which seems
> to
> > be playerglobal-4.0.0.13555.rb.swc) with playerglobal-4.0.0.13555-10.swc
> > and it found the classes.
> >
> > 2. Then, the compiler could not find the spark css. After adding
> >         <dependency>
> >             <groupId>com.adobe.flex.framework</groupId>
> >             <artifactId>sparkskins</artifactId>
> >             <type>swc</type>
> >             <scope>theme</scope>
> >             <version>4.0.0.13555</version>
> >         </dependency>
> >
> > a trivial project compiled correctly.
> >
> > 3. With an other project, I got:
> > [ERROR] ....MavenTest\src\MavenTest.mxml:[5,-1] The style
> > 'contentBackgroundColor' is only supported by type
> > 'spark.components.TextInput' with the theme(s) 'spark'.
> >
> > What's wrong with my sample project below?
> > Thanks for any hints,
> > Marc
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
> >                xmlns:s="library://ns.adobe.com/flex/spark"
> >                xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"
> > minHeight="600">
> >     <s:TextInput
> >         text="Hello"
> >         contentBackgroundColor="0x00ff00"
> >         />
> > </s:Application>
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <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.0http://maven.apache.org/maven-v4_0_0.xsd
> ">
> >     <modelVersion>4.0.0</modelVersion>
> >
> >     <groupId>com.example</groupId>
> >     <artifactId>myapp</artifactId>
> >     <version>0.0.1-SNAPSHOT</version>
> >     <packaging>swf</packaging>
> >
> >     <build>
> >         <sourceDirectory>src</sourceDirectory>
> >         <plugins>
> >             <plugin>
> >                 <groupId>org.sonatype.flexmojos</groupId>
> >                 <artifactId>flexmojos-maven-plugin</artifactId>
> >                 <version>3.5.0</version>
> >                 <extensions>true</extensions>
> >                 <dependencies>
> >                     <dependency>
> >                         <groupId>com.adobe.flex</groupId>
> >                         <artifactId>compiler</artifactId>
> >                         <version>4.0.0.13555</version>
> >                         <type>pom</type>
> >                     </dependency>
> >                 </dependencies>
> >             </plugin>
> >         </plugins>
> >     </build>
> >
> >     <dependencies>
> >         <dependency>
> >             <groupId>com.adobe.flex.framework</groupId>
> >             <artifactId>flex-framework</artifactId>
> >             <version>4.0.0.13555</version>
> >             <type>pom</type>
> >         </dependency>
> >         <dependency>
> >             <groupId>com.adobe.flex.framework</groupId>
> >             <artifactId>sparkskins</artifactId>
> >             <type>swc</type>
> >             <scope>theme</scope>
> >             <version>4.0.0.13555</version>
> >         </dependency>
> >     </dependencies>
> > </project>
>
> --
> 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?hl=en?hl=en
>
> http://blog.flex-mojos.info/
>

-- 
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?hl=en?hl=en

http://blog.flex-mojos.info/

Reply via email to