var item:XML; var KeyWordsList:Array =new Array; for each(item in keywordXML.keyword) { KeyWordsList.push( { index:item.text(), weight:item.@weight, link:item.@link } ); } for (var i:int = 0; i