【发布时间】:2010-06-10 23:37:37
【问题描述】:
在动作脚本中...
如果我有一个等于这个的 XML 变量:
var X:XML=XML("<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:ns1="Tools.*" minWidth="684" minHeight="484" creationComplete="Init();" xmlns:ns3="Components.*" initialize="I()"/>");
我尝试通过以下方式列出属性:
var AList:XMList=X.attributes();
三个命名空间“xmlns:mx”、“xmlns:ns1”和“xmlns:ns3”不在属性中!如何以编程方式访问这些信息?
【问题讨论】:
标签: xml apache-flex actionscript-3 actionscript mxml