If I have an XMLList object in Flex, then what is the correct way to check if the list is empty? Should I just compare the result of myList.length() > 0 , myList.toString() != "" Or even try another method?
myList.length() > 0
myList.toString() != ""
I would go with a simple method myList.length() > 0 .
You can see an example of the length() function in the ECMAScript specification for XML (E4X) (p. 104), which Actionscript implements.
length()