Archive for August 5th, 2008

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:

xmlns:controls=”mx.controls.*”

NOTE: There is more in depth information on this namespace issues in MXML 2009 spec under “Namespaces and Component Disambiguation”.

2 comments August 5th, 2008



About: I work as a Platform Evangelist for Adobe Systems Incorporated.

My Amazon.com Wish List

Calendar

August 2008
S M T W T F S
« Jul   Oct »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Posts by Month

Posts by Category


Flex.org - The Directory for Flex