The Flexmojos only implicitly compiles multiple MXML files when the packaging target is SWC. What I want to do is compile several different sources (MXML, CSS) into separate SWFs. I apologize for any confusion.
On Dec 30, 1:45 pm, Lukas Bradley <[email protected]> wrote: > I know this topic has come up in the past, but I'd like to better > understand *why* this functionality hasn't been added. There are > several uses for compiling multiple source files, including having > many MXML files and compiling CSS files into SWFs. > > I've read all the posts in this group on the issue, but none of them > talk about the "why" it hasn't been done. In my present case, we have > several projects that contain multiple skins for the SWF which are > defined in CSS files. These could number in the hundreds, and having > a separate POM file for each seems excessive. > > (Note: some of the blog posts referenced in previous posts are dead > links.) > > I'd also like to note that multiple source files is already supported > by Flexmojos implicitly. If the POM author does not specify a > sourceFile, the mojo compiles all the MXML files it finds. > > I have no problem helping code this into FlexMojos. However, if the > functionality isn't welcome, I'd like to know before I start. > > Personally, I'd like to see the following added to the configuration, > with the implied functinality. > > <sourceFiles> > <sourceFile file="Main.mxml" output="Main.swf" /> > <sourceFile file="MyCSS.css" output="MySkin.swf" /> > </sourceFiles> > > Lukas -- 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/
