Thank you very much. This worked like a charm! On Jan 16, 12:26 pm, "RedBugz Software" <[email protected]> wrote: > On Fri, Jan 16, 2009 at 12:50 PM, Eric <[email protected]> wrote: > > I'm very new to Flex/Flash, so please forgive me if my question is not > > a problem with Flex Mojos but with some external configuration. > > FlexUnit be default uses the OS default handler for .swf files. So for > whatever OS you are using, you need to change the default handler for > .swf files to be Flash Player 10. > > If you do not want to change your OS default, you can override the > command like this (replace with linux with mac or windows if need be, > and put the correct path to your FP 10): > <profiles> > <profile> > <id>flexunit-FP10</id> > <activation> > <os> > <name>linux</name> > </os> > </activation> > <build> > <plugins> > <plugin> > > <groupId>info.flex-mojos</groupId> > > <artifactId>flex-compiler-mojo</artifactId> > <configuration> > <flexUnitCommand> > > <argument>[path to Flash Player 10]</argument> > > <argument>${project.build.testOutputDirectory}/TestRunner.swf</argument> > </flexUnitCommand> > </configuration> > </plugin> > </plugins> > </build> > </profile> > </profiles> > > If you run your build on more than one OS, then you will need a > separate profile for each OS. Let me know if you have questions or > problems. > > Logan --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
