im trying to build a dynamic menu from an xml file, i want to determin
whether each node has children in order to then determine whether or not to
build a submenu from that section,

 

i have tried using the below code in the loop but it's tracing out true
every time, 

 

 

var hasChildren:Boolean =  xmlLabels.section.childNodes;

                                                                

 
trace(hasChildren);

 

 

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to