Hello,
I've prepared a simple test case for my problem:
var xml1:XML =
<pref>
<lobby>
<user id="DE2" name="Alex" avatar="2_1211369175.jpg"/>
</lobby>
<game id="0"/>
</pref>;
var xml2:XML =
<pref>
<user0 id="DE2" name="Alex" avatar="2_1211369175.jpg"/>
</pref>;
if (xml1.lobby)
trace('1: in the lobby');
if (xml2.lobby)
trace('2: in the lobby');
Why does this print the 2nd line too?
1: in the lobby
2: in the lobby
I keep trying and also look in the debugger and just don't get it...
Thank you
Alex
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders