//Se requiere:
//- Componente Tree en el escenario (nombre de instancia: my_tr)
//
var my_tr:mx.controls.Tree;
my_tr.setSize(400, 300);
var trDP_xml:XML = new XML("<node label='Acuitzio'><node label='Documento' data='0' /></node><node label='Aguililla'><node label='Documento' data='0' /></node><node label='Álvaro Obregón'><node label='Documento' data='0' /></node><node label='Angamacutiro'></node>");
my_tr.dataProvider = trDP_xml;
var isBranch:Boolean = my_tr.getIsBranch(my_tr.getTreeNodeAt(1));
trace("100nd node is a branch: " + isBranch);