Reputation: 183
How to dynamically add attributes to an object and convert that object into xml in Flex/Actionscript?
Upvotes: 0
Views: 257
Reputation: 4147
You must denote the object as dynamic, then you can add any properties you want. Then you can fall back on the
for (var i:String in myArray)
{
trace(myArray[i]);
}
to help create your xml.
Upvotes: 1