> am i right? No, you can use E4X to get the names and values of XML
attributes. Here is an example: var people:XML = <people> <person firstName="Gordon"
lastName="Smith"/> <person firstName="Bod"
lastName="Unknown"/> </people>; // Loop over the <person> elements. for each (var person:XML in people..person) { // Loop over the attributes of a
<person>, outputting the name and value of each one. var attributes:XMLList = [EMAIL PROTECTED]; for each (var attribute:XML in attributes) { trace(attribute.name(), attribute); } } - Gordon From: Hi -- 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
|