Hello Flashcoders,
I'd like to save attributes names from XML file as properties of
some object. For example:
XML (fragment):
...
<my_node attr1="val1" attr2="val2" />
...
Result:
...
my_object.attr1; // value: val1
my_object.attr2; // value: val2
Of course I can assign these props literally:
my_object.attr1 = ...myNode.attributes["attr1"];
where "myNode" is variable (XMLNode) for my_node in XML file.
But I want to use more universal way - some function with a loop.
Any help appreciated.
--
Best regards,
GregoryN
================================
http://GOusable.com
Flash components development.
Usability services.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders