I would use the XPath for AS2 class from xfactorstudio.com. This will allow you to do a much more elegant retrieval of the attribute in question.
TF On 5/12/06, Rifled Cloaca <[EMAIL PROTECTED]> wrote:
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
_______________________________________________ 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