Using Flex Builder :
I have created a new Actionscript Project.
I want to use mx.controls.Button class in it,
so I did the following :
But now I get this error:
unable to open 'locale/en_US'
I looked up and I do have the following directory inside my Flex Builder 3 installation:
./sdks/3.0.0/frameworks/locale/en_US
How to fix it?
I had the same problem
Try using this compiler argument:
-locale en_US de_DE -source-path+=../locale/{locale}
change de_DE to your locale name.
Above answer worked well..
just add +=../locale{locale}
Have you added a "locale" directory containing an "en_US" directory at the root of your Flex project, to be used for storing your locale-specific properties? For example, in a project supporting English- and French-localized strings, your Flex project structure might look something like this:
-- YourProject
|-- libs
|-- locale
|-- en_US
|-- resources.properties
|-- en_FR
|-- resources.properties
|-- src
|-- [Your source files...]
Sounds like that might be what's happening. Give it a try and post back if it doesn't work for ya.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With