For now I do the following:
var typeDescription:XML = describeType(event.data); var variablesList:Array = (typeDescription..variable.@name as XMLList).toXMLString().split("\n");
It does the trick but the ‘toXMLString().split(“\n”)’ doesn’t look like an optimal way to do it.
Is there a better way?