it should work...try using qutes maybe?

trace(myXML["3"]);


On 9/7/06, Rifled Cloaca <[EMAIL PROTECTED]> wrote:

All,

It seems to be due to a bug in the base XML class definition.  If you want
to use idMap in Flash 8, you'll need to edit your XML.as class to add the
attrib.

Thanks again!


On 9/7/06, Rifled Cloaca <[EMAIL PROTECTED]> wrote:
>
>  Thanks,
>
> It works by itself, but if I try to use it in a class with an XML object
> in it, I get:
>
> There is no property with the name 'idMap'.
>
> It's defined as type XML.  What's up?
>
> Thanks!
>
>
>  On 9/7/06, Mike Keesey <[EMAIL PROTECTED]> wrote:
> >
> > Use the XML.idMap property.
> >
> > ―
> > Mike Keesey
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:flashcoders-
> > > [EMAIL PROTECTED] On Behalf Of Rifled Cloaca
> > > Sent: Thursday, September 07, 2006 3:27 PM
> > > To: Flashcoders mailing list
> > > Subject: [Flashcoders] XML id attribute shortcut not working?
> > >
> > > All,
> > >
> > > I have a large XML document with unique ID attributes that I'd like
to
> >
> > > access via the ID shortcut, like so:
> > >
> > > trace(myXML[3]);
> > >
> > > returns:
> > >
> > > <myxmlnode id="3">...
> > >
> > > It works fine when I publish to Flash 6, but publishing to anything
> > > greater
> > > returns undefined.
> > >
> > > Any thoughts?
> > >
> > > Thanks in advance!
> > > _______________________________________________
> > > [email protected]
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> >
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to