开发者

Flex XML get Value ( Where is the mistake? )

i want to acces an Element of an XML. But somehow. i get null as the Result and that does not make any sense to me开发者_开发知识库. Can you find the mistake ? alt text http://img697.imageshack.us/img697/9867/xml.png


Try it this way. The only thing I changed was the way you are casting your variables. I'm not going to attempt to recreate your return statement as the screenshot doesn't show enough of it. If this doesn't work please paste in your code and XML as plain text instead of images.

private function processFilter(item:Object):Boolean{
  var xmlo:XML = new XML(item);
  var support:String = String(xmlo.Row.Support);
  trace("support is : " + support);
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜