01-06-2011 07:34 AM
When exporting a release build you have the option to include specific files in the build. I think there is something similar under Project properties. Have you tried including your files this way?
01-12-2011 05:00 PM
Thanks for the heads up on embed - it works. I guess this is a bit of a hack. Just in case someone else is hitting the same problem and are new to actionscript like I am, the codes are as follows:
[Embed(source="locale/en_US/labels.txt", mimeType="application/octet-stream")] private var pUSLocale:Class;
RIM, if you are listening please put out more samples so that we know how to do this properly...
Thanks all for your help in getting a work around on this.
01-12-2011 05:03 PM
Thanks for the heads up - is there a way to do the same thing with debug version of the app and not the release version?
01-13-2011 02:56 AM
Yes you can find the same under: Project Properties->AS Build packaging->BB Tablet OS-> Package Contents.
01-13-2011 06:20 AM
Sorry for being a little thick. I can't find the "AS Build packaging" option. In my copy of Flash Builder 4, the options are:
01-13-2011 07:10 AM
I'm sorry can't help you there as i'm running the Burrito Preview. You'll just have to look through all the options and see if you can find something similar.
04-17-2011 11:50 AM
The piublicly available Flash Builders filter out *.properties files, so they do not get copied to the output folder. If you don't want to copy the files manually (and that won't work for creating release versions), you can rename the files to use a different extension.
I tried renaming my resource.properties files to resource.prop, and that immediately fixed the problem. I changed the resource loading code to reference the new extension, and that works just fine in the app:
MyBundle.load( "locale/" + LocaleManager.localeManager.getCurrentLocale() +