I've always gone local configuration like you specified, but I always put it at the top of my document like: <mx:Canvas xmlns:mx="blah" xmlns:thirdparty="com.blah.blah.*"> <thirdparty:FooControl id="whatever"/> </mx:Canvas>
When I put it at the top it code completes for me just fine, but doesn't add the ns stuff on every node of it. In fact it won't code complete for me until I put it up there. After that it works perfectly fine. Don't know if that helps. Charlie On Fri, Mar 27, 2009 at 3:53 PM, Dale Bronk <[email protected]> wrote: > I have a swc from a vendor. I drop it in my project. Any time I use > code complete on one of their controls in my mxml file is adds the xmlns > like so: > > > > xmlns:comps=http://www.theirco.com/2007/blah/blah > > > > I’ve been having my developers change this to the use the swc like so: > > > > Xmlns:comps=”org.theirco.blah.blah.*” > > > > Is there a best practice on this? I’ve always taken the route of why > specify a lookup to the web when you have everything you need local. But it > is a pain that every time we use code complete on one of their components it > adds a url to the namespace rather than just use the swc in the project. > > > > Thanks, > > Dale > > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink <http://www.fusionlink.com> > -------------------------------------------------------------
