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/
Thank you - I'll do, but
On Sat, Feb 6, 2010 at 7:01 PM, Juan Pablo Califano
califa010.flashcod...@gmail.com wrote:
Because your second query returns an empty list instead of null.
So, instead of checking for null, just check the length of the result.
trace(describeType(xml1.lobby));
I don't think so. I think that's precisely the reason why it returns an
empty list instead of null. So you can safely chain toghether diferent
node names in your query.
Cheers
Juan Pablo Califano
2010/2/6 Alexander Farber alexander.far...@gmail.com
Thank you - I'll do, but
On Sat, Feb 6,
Thank you
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
4 matches
Mail list logo