关于XMLListCollection

public var de:XMLList=
<>
                  <node id="open" label="" icon="openXMLIcon"/>
                          <node id="new"  label=""  icon="newXMLIcon"/>
                          <node id="save" label="" icon="saveXMLIcon"/>
        </>

        var xmlListCollection:XMLListCollection=new XMLListCollection(de);

则访问xmlListCollection的方法是  trace(xmlListCollection[0].@id);


一通百通,通了原理通了思想,就啥都通了,可惜,我还是什么都没通,又是拼出来的~~呵~~~






想妈了~~很想很想~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

你可能感兴趣的:(Collection)