Thanks for the replies..

Correct me if I'm wrong, but loading the bundles with the
ResourceBundle metadata means the bundles are compiled into the swf.
I'm using this as a workaround, but I really need to be able to load
them at runtime..

I did see the example, but the bundles and swf are in different
modules, I was under the impression that I could build the bundle swfs
with the application.. The copy-flex-resources goal certainly deals
with including both application.swf with the Resource_{locale}.swf..
I'll try building them in different modules, although it would be a
shame if this cant be handled in a single swf module..

Mark



2010/1/26 Logan Allred <[email protected]>:
> We use it just fine, though we don't build a war with
> runtimeLocaleOutputPath. We use the assembly plugin instead (our war
> is still built with ant :( ).
>
> But our runtime locales load and work just fine. You do have to write
> code to load them, and it helps to have the resource bundle declared
> in the <Metadata> section.
>
> Logan
>
> On Tue, Jan 26, 2010 at 8:22 AM, Mark <[email protected]> wrote:
>> Hello
>>
>> I've been looking through the various posts that cover using
>> runtimeLocales, and from these posts I have the impression that the
>> creation of a resource bundle swf to be loaded at runtime is supported
>> and works. However I've found a couple of problems getting this to
>> work..
>>
>> The <runtimeLocaleOutputPath> still appends the build path to the
>> value provided, although this can be worked aorund using a relative
>> path in a multi module project this still causes problems as when you
>> build a number of modules together the changes (e.g. building from a
>> parent pom).. I can work around this in several ways so its not a
>> blocker..
>>
>> The major problem I've found is that swf produced MyResources_
>> {locale}.swf doesn't appear to contain the bundle. calling
>> getAvialableResourceBundlesForLocale(..) (or whatever the function
>> calls doesn't include my bundle )..
>>
>> Its there a version I can use where this has been demonstrated to
>> work? Or does it not really work? The how to wiki seems to be pretty
>> convinced it does, so I guess I must be using a dodgey version or
>> something..
>>
>> Thanks
>>
>> Mark
>>
>> --
>> 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/
>
> --
> 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/

-- 
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