views:

218

answers:

2

I recently upgraded to the latest version of flashbuilder. Imported my the project I was working on and now it is riddled with errors. The errors I am getting that I don't understand are that it no longer recognizes the mx namespacse, but now has an mx1 namespace. AnThis is really frustrating since I was almost done iwth this project and now it seems like things have changed. What has changed in the new flashbuilder that would cause this?

+2  A: 

You must now use namespace references in css files with Flex 4.

Per the examples on Adobe's site...

<Style>
    @namespace "library://ns.adobe.com/flex/spark";
    @namespace cx "com.mycompany.*";

    Button { color: #990000; }
    cx|MyFancyButton { color: #000099; }
</Style>

Please read more about the new changes here http://opensource.adobe.com/wiki/display/flexsdk/CSS+Namespaces+Support

Zaren
A: 

Ok, so apparently if I use the namespace "library://ns.adobe.com/flex/halo", it didn't work. But when I use "http://www.adobe.com/2006/mxml", it works

pfunc