2
Dans Actionscript ...Comment accéder à Namespace éléments dans MXML Actionscript
Si j'ai une variable XML qui correspond à ceci:
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()"/>");
Et je tente de lister les attributs via:
var AList:XMList=X.attributes();
Les trois espaces de noms, "xmlns: mx", "xmlns: ns1" et "xmlns: ns3" ne sont pas répertoriés parmi les attributs! Comment puis-je accéder à cette information par programme?