Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/07/2010, 12:01
Avatar de superscully
superscully
 
Fecha de Ingreso: febrero-2009
Mensajes: 56
Antigüedad: 15 años, 2 meses
Puntos: 0
Pregunta Colocar Datos en un TreeData a partir de un HTTPSERVICE???

Buen dia!

espero puedan ayudarme... quiero crear una lista en un Tree de Flex 3 pero no me carga correctamente los datos que vienen del HTTPService...

Código:
<mx:HTTPService id="phpInfo" method="POST" url="http://localhost/xml/news.php"  resultFormat="e4x" showBusyCursor="true"/>
...este genera un xml...

al querer mostrarlo en el Tree me aparece...
Código:
<mx:Tree id="tree" width="100%" height="90%" dataProvider="{phpInfo.lastResult.news}"
			        labelField="@label" selectable="true" change="onChangeTree(event);" color="#0B333C"/>
Cita:
warning: unable to bind to property 'news' on class 'XML' (class is not an IEventDispatcher)
espero me puedan ayudar... saludos! y gracias por su tiempo...