Hi you guys,
I'm sure this question might have been answered already, but I have been sitting with this around the clock for three days straight, and I believe that my head will explode if I don't take a break from it for some time.
My issue is that I'm trying to compile properties files into my Flex application, and the bundles just don't seem to get there.
* Eclipse 3.4.2
* Flex Builder Beta 2 Version 4.0 Build (253292)
I have added the locale path to the source path tab like so (the locale folder is placed in my src folder not in the project root):
I added the following command-line arguments (where application is the name of my .properties files).
-locale=en_US,sv_SE -allow-source-path-overlap=true -include-resource-bundles=application
Still when I try to access the bundle it returns null. I might be blind, but I just can't figure out what I am doing wrong.
Any help, pointers, or tips would result in my life long appreciation. =)
Thanks in advance!
It's not within the compiled resourcebundle array in the Info function of systemmanager class.
Is there something very obvious that I am missing here? It feels like it should be so simple, but it just won't work.
Thanks for your help.
Hm, I'm not really sure how to do the tings you just described. I have only been testing the beta for a couple of weeks, and had no experience of the Flex platform beforehand.
Could you point me in a direction, or maybe where I could get more information. I have read the SDK documentation back and forth, and I haven't been able to locate anything to help me get this sorted out.
Link report is yet another mxmlc option. -link-report="somefilename". The
output is XML listing every class used in the SWF. If none of those classes
contain Re: Localization Bundles headache metadata then your resource bundles aren't going to
get picked up. If you search our source code for Re: Localization Bundles headache you can
see how we use it.
Ok, no there was no occurence of bundle in the link-report file.
The metadata you're refering to has that something to do with the
I'm using simple resourseManager.getString() attempts in my code, but then I guess that there needs to be something else done within the class itself. I will look in to the source then.
Europe, Middle East and Africa