Share Posted July 29, 2013 Hi! 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: trace(queue.SWFLoader.length()); trace(queue.children().length()); but got an error..so whats the right code to get the nodes-count? Link to comment Share on other sites More sharing options...
Author Share Posted July 29, 2013 Oh..found the documentation ! This works: trace(queue.getChildren().length); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now