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

Reply via email to