Jump to content


XML Nodes Count

Recommended Posts


I'm pretty new to AS3 and completley new to LoaderMax - so i apologize in advance for stupid questions :-)


If i load a XML with some SWFLoader Nodes inside - how to i get the total amount of nodes ?

var queue:XMLLoader = new XMLLoader("xml/myXML.xml",{name:"xmlDoc"});

I tried:





but got an error..so whats the right code to get the nodes-count?

Link to comment
Share on other sites

Oh..found the documentation !

This works:


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.