On Wed, Apr 28, 2010 at 2:42 PM, Bjorn Harvold <[email protected]> wrote: > This is a follow up on a previous post: > http://groups.google.com/group/flex-mojos/browse_thread/thread/afb503066f05ca9c > I don't want to include the mxml file, thereby making the swf bigger than it > has to be. The localized swf from Flex Mojos in this case is 183Kb. If you > compile directly with mxmlc it's 29Kb in size. > > Any ideas on how to make the swf as optimized as mxmlc's version?
>From the earlier thread, you are trying to just build a resource bundle swf without an application swf, which Flexmojos does not yet support, as far as I know. By using runtimeLocales, you will generate an application swf, and then a .rb resource-bundle swf for each locale. The resource-bundle swf should be about the same size as the one you hand-built using mxmlc. If i18n.mxml is just a fake app you built because Flexmojos requires it, then you should be able to just ignore that swf, and just use the resource-bundle swf. Otherwise, you'll need to provide more information as to exactly what you're doing so we can see what's going on. I would also recommend to put the exact parameters you pass to mxmlc when you do it by hand in the issue that was filed from the previous thread to make it easier to implement. 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 http://flexmojos.sonatype.org/
