Yes it worked

Thank you

Andrew

--- In [email protected], "pasflex" <[EMAIL PROTECTED]> wrote:
>
> Try something like:
>
> var tagName:String = node.name().toString();
>
> --- In [email protected], "greenfishinwater"
> <greenfishinwater@> wrote:
> >
> > I forgot to mention that this is using Flex 2 Beta 2
> >
> > --- In [email protected], "greenfishinwater"
> > <greenfishinwater@> wrote:
> > >
> > > In my tree I use an XML based data provider. An example is:
> > >
> > > <category name="cat 1" code="001">
> > >   <group name="group 1" code="987">
> > >     <brand name="barnd 1" code="ABC"/>
> > >   </group>
> > > </category>
> > >
> > > When a user opens a tree node, I can access an attribute as:
> > >
> > > var n:String = [EMAIL PROTECTED];
> > >
> > > How can I access the tag name to find out if it is a category,
> group
> > > or brand etc.
> > >
> > > Thank you
> > >
> > > Andrew
> > >
> >
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to