2
在ActionScript ...如何访问名字空间元素在MXML中使用ActionScript
如果我有这等于一个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”!我如何以编程方式访问此信息?