Hi, griends! Somewhere in code i have decalred variable:
[Bindable]
var nameWin:String = "";
after this i have an e4x statement
podContent.xml_m = xml_m.item.(nameWin=="necessary name");
that should compare item's namewin with "necessary name" and return only items whose nameWin matches with "necessary name".
xml_m.item:
<item>
<nameWin>necessary name</nameWin>
<nameCol>Брутто-премия начисленная</nameCol>
<date>2009 Май</date>
<summa>259267.7976</summa>
</item>
<item>
<nameWin>unnecessary name</nameWin>
<nameCol>Брутто-премия начисленная</nameCol>
<date>2010 Апрель</date>
<summa>104.3254</summa>
</item>
<item>
<nameWin>necessary name</nameWin>
<nameCol>Брутто-премия начисленная</nameCol>
<date>2010 Май</date>
<summa>21.5174</summa>
</item>
if I use in statement xml-child distinct of nameWin (summa, e. g.), it works good. But with nameWin, e4x compares local variable nameWin (which not interested for me at all at this time) with "necessary name" instead of compare item's nameWin with "necessary name".
Any ideas? Versions of libraries can be reason?