AS3: Length of an Array vs. XML Length
A handy post from underground-flash.com:
When getting the number on elements in an array, you use length as a property of the array rather than a method. Such as
var max = myArray.length;
But to get this from an XML object, you have to add function brackets like this
var kids = myXML.length();
0 Comments:
Posta un commento
<< Home