Hi, I'm trying to get name spaces to work. I have them creating them in to code completion but I have a question.
Adobe has; xmlns:mx="http://www.adobe.com/2006/mxml" but as you see, www.adobe.com does not translate over to the mx prefix. How do I get FlexBuilder to automatically do this, or can I even do this? Example ---------------------------------------- <?xml version="1.0"?> <componentPackage> <!-- URI http://www.teotigraphix.com/2007/mxml namespace prefix teo --> <component id="BackgroundFX" class=" com.teotiGraphix.controls.BackgroundFX"/> </componentPackage> I want the prefix to be 'teo'. But it will use teotigraphix because it must be parsing it out from www.teotigraphix.com in the namespace url. So, With a namespace url of :: http://www.teotigraphix.com/2007/mxml is it possible to have flex builder insert :: <teo:BackgrounFX /> Then up top add :: xmlns:teo="http://www.teotigraphix.com/2007/mxml"> as it stands it inserts:: xmlns:teotigraphix="http://www.teotigraphix.com/2007/mxml"> I just don't think users want that long prefix in their mxml. Peace, Mike -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
