You can have your own convention as per your comfort and your team's comfort, 
but I think the default looks like below:
>     xmlns:fx="http://ns.adobe.com/mxml/2009";
>     xmlns:s="library://ns.adobe.com/flex/spark"
>     xmlns:mx="library://ns.adobe.com/flex/halo"
fx - for new version of flex 4
s - for spark, the skinning architecture
mx - the oldie Halo, flex 3.

--
Chetan Sachdev
http://www.riageeks.com

--- In [email protected], Baz <thinkl...@...> wrote:
>
> Ah great, thanks for your reply. So should the namespaces for a regular page
> generally look like this?
> 
>     xmlns="http://ns.adobe.com/mxml/2009";
>     xmlns:fx="library://ns.adobe.com/flex/spark"
>     xmlns:mx="library://ns.adobe.com/flex/halo">
> 
> Cheers,
> Baz
> 
> 
> 
> On Fri, May 15, 2009 at 11:57 PM, cksachdev <cksach...@...> wrote:
> 
> >
> >
> > Hello Baz,
> > The skinning framework in flex 4 is called spark. So essentially all the
> > components inheriting from SkinnableComponent(Base class for a spark
> > component) are in library://ns.adobe.com/flex/spark. you can give it any
> > namespace prefix. Initially the namespace is 's'. It will look like
> > xmlns:s="library://ns.adobe.com/flex.spark". Gumbo is the code name for
> > flex 4, similar to Moxie of Flex 3. Hope this clears your doubt.
> >
> > --
> > Chetan Sachdev
> > http://www.riageeks.com
> >
> >
> > --- In [email protected] <flexcomponents%40yahoogroups.com>,
> > Baz <thinkloop@> wrote:
> > >
> > > I've been playing around with Flex 4 (build 6192) and it seems that the
> > > namespaces have changed a lot since previous builds. I only say this
> > because
> > > none of the examples online seem to work. After lots of mucking around, I
> > > was able to get the following test application with these namespaces to
> > run:
> > >
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <fx:Application
> > > xmlns="http://ns.adobe.com/mxml/2009";
> > > xmlns:fx="library://ns.adobe.com/flex/spark"
> > > xmlns:mx="library://ns.adobe.com/flex/halo">
> > >
> > > <mx:VBox>
> > > <fx:Button label="Gumbo Button"/>
> > > <mx:Button label="Halo Button" />
> > >
> > > <fx:ButtonBar id="orangeToggleBar" requiresSelection="true">
> > > <fx:dataProvider>
> > > <fx:ArrayCollection source="[Flash, Director, Catalyst,
> > > ColdFusion]" />
> > > </fx:dataProvider>
> > > </fx:ButtonBar>
> > > </mx:VBox>
> > > </fx:Application>
> > >
> > > The FX namespace pointing to spark doesn't seem to be right, shouldn't it
> > be
> > > SP or S with FX as a separate space? Also, what about the
> > > ns.adobe.com/flex/GUMBO library, is that gone? I saw it a lot online but
> > I
> > > think it may have been combined into the main (unnamed) namespace, what
> > do
> > > you think?
> > >
> > > Cheers,
> > > Baz
> > >
> >
> >  
> >
>


Reply via email to