我想读取从 php 脚本返回的 flash 中的 xml 文件。除了一件事,我把这一切都整理好了
每行返回的属性各不相同(从 1 到 100)。
下面是解释我的意思的代码
for(var ii:int = 0; ii < tempXML.record.length(); ii++)
{
for(var b:int = 0; b < numAttributes; b++)
{
//what i am aiming for here is the ability to have @"arr"+ a number here
trace(tempXML.record[ii].@arr+numAttributes);
}
}
希望你能看到我在说什么。任何帮助都感谢 Cheers Mark