Aha, I see now - bit of a waste of code too.
And who's bright idea was it to use length for Strings and Arrays, but
length() for XML / e4x?
Kenneth Kawamoto wrote:
XMLList, and you can check its length().
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Glen Pike wrote:
Hi,
I am having problems parsing some XML config files and testing for
empty attributes. There is an example xml below.
Problem is that I am asking for the following:
_co...@instance
Which is returning a value, but I am not sure what type of
value. Should this return null, or an empty string or something??
var _conf:XML = <screen name="Library"
swf="LibraryScreenTest.swf"
symbol="com.robothespian.screen.LibraryScreen" config="library.xml" />
Glen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders