Yes, that's the way I've been getting at attributes. No problems so far.

Adrian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rifled
Cloaca
Sent: 12 May 2006 20:09
To: Flashcoders mailing list
Subject: [Flashcoders] XML attributes with "-" in the name


All,

I'm reading a SMIL file, and it has regions with "-" in an attribute
name (z-index).

Obviously, if I refer to the attrib explicitly, like
XMLnode.attributes.z-index, it'll read that as a minus.  Should I use
XMLNode.attributes["z-index"]?  Is this kosher?

Thanks!
-g
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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