Flex : Unable to open ‘locale/en_US’

actionscript-3apache-flexflexbuilder

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 :

  1. Added '-locale=en_US -source-path=locale/{locale}' to the Actionscript compiler arguments
  2. 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?

Best Answer

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}

Related Topic