Design View has never worked for me in Flex or Flash Builder when using flexmojos:flexbuilder goal.
I have been working for a while to find a good fix for this. Unfortunately I haven't found a "nice" fix but I have fixed it on a patched version of FlexMojos located here http://github.com/llinder/FlexMojos. For those that are interested in what I have found and what I mean by not a "nice" fix feel free to ask and I will elaborate. If you are interested in trying it out you will need to pull the source and build from scratch. There are 2 goals, flexmojos:flexbuilder and flexmojos:flashbuilder. The code base is nearly the same. The main difference is in the template files and in memory data structure that describes the default state of Flex and Flash Builder projects. Lance On Jun 22, 1:45 pm, Davis Ford <[email protected]> wrote: > If I create a project via: > > $ flexmojos:flexbuilder > > Then import it into FB4, it imports ok, but if I try to open the > application.mxml in design mode it says: > > "This component is based on Application, which is not supported in > Design mode. Switch to source mode to edit it." > > Anyone seen this? Have any idea for a workaround? > > pom looks like this: > > <flexmojos.version>3.6.1</flexmojos.version> > <flex.sdk.version>4.1.0.16248</flex.sdk.version> > > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > <scope>compile</scope> > </dependency> > > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > > <artifactId>flexmojos-maven-plugin</artifactId> > <version>${flexmojos.version}</version> > <dependencies> > <dependency> > > <groupId>com.adobe.flex</groupId> > > <artifactId>compiler</artifactId> > > <version>${flex.sdk.version}</version> > <type>pom</type> > </dependency> > </dependencies> -- 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/
