动作3 - 我该如何转换的XMLList到XML? [英] Actionscript 3 - How can i convert from XMLList to XML?
本文介绍了动作3 - 我该如何转换的XMLList到XML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的函数返回的XML,所以我做的:
My function is returning XML, so i do:
返回xml.blah.blah.blah
return xml.blah.blah.blah
它告诉我,它不能转换的XMLList到XML
It tells me it can't convert XMLList to XML
所以我猜xml.blah.blah.blah是的XMLList。
so i'm guessing xml.blah.blah.blah is a XMLList.
我怎样才能做到这一点(转换的XMLList到XML)?在simpliest可能的方式?
How can i do this (convert XMLList to XML)? the simpliest way possible?
推荐答案
您应该能够只投中的XMLList到XML。
或者:
You should be able to just cast the XMLList to XML.
Either:
XML(xml.blah.blah)
或
(xml.blah.blah as XML)
这篇关于动作3 - 我该如何转换的XMLList到XML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文