Flex : Unable to open 'locale/en_US'
actionscript-3, apache-flex, flexbuilder
Solution
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.
Problem
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 : - Added '-locale=en_US -source-path=locale/{locale}' to the Actionscript compiler arguments - Added 'framework.swc' to the library path 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?