It seems that under Actionscript 3 XML ([COLOR=#ff0000]E4X[/COLOR]) I’m unable to use dynamicaly created variable names…
this is ok:
var i:number = 111
this["someVarName" + i] = "actual_value"
trace(someVarName111) // = actual_value
this dows not work:
var myXML:XML
myXML = "...." //asume valid XML content here
trace(myXML.XMLData.@Memo_EN)
//traces **@Memo_EN** attribute value from XML object
var Lang:string = "EN"
trace(this["myXML.XMLData.@Memo_" + Lang])
//should do the same as above, returns unknown
help if you can
Petr