Gumbo Skin mxml with Flex Builder 3 namespace error
I am using Flex Builder 3 to build Gumbo (Flex 4) application targeted for Flash Player 10. I came across this situation in the Gumbo skin file where I wanted to put a mx.controls.Image control into the skin. When trying to add both “http://ns.adobe.com/mxml/2009″ and “http://www.adobe.com/2006/mxml” namespaces I get the following error.
Only one language namespace must be specified per document. Found ‘http://ns.adobe.com/mxml/2009′ and ‘http://www.adobe.com/2006/mxml’.
To get around this you need to declare the specific package as the namespace. Like this:
NOTE: There is more in depth information on this namespace issues in MXML 2009 spec under “Namespaces and Component Disambiguation”.