In Flash, how would I run an e4x statement when that statement is stored in a String?

前端 未结 2 1853
悲&欢浪女
悲&欢浪女 2021-01-21 03:10

So I have something like this:

var xmlStatement:String = \"xmlObject.node[3].@thisValue\";

What mystery function do I have to use so that I can

2条回答
  •  逝去的感伤
    2021-01-21 03:48

    For your example it would be: var attribute : String = String( E4X.evaluate( XMLList(xmlobject) , 'node[3].@thisValue' ) );

提交回复
热议问题