Gumbo Skin mxml with Flex Builder 3 namespace error
August 5th, 2008
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:
xmlns:controls=”mx.controls.*”
NOTE: There is more in depth information on this namespace issues in MXML 2009 spec under “Namespaces and Component Disambiguation”.
Entry Filed under: Adobe Flex, Rich Internet Applications




2 Comments Add your own
1. Gregory Jastrab | 2008-08-05 at 1.46 pm
I just finished getting through the MXML 2009 Spec, and haven’t tested it yet, but I believe you could also do xmlns:mx=”library:adobe/flex/halo”.
2. Renaun Erickson | 2008-08-05 at 1.53 pm
You are correct, too much to keep track of.
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed