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

Buenas noches!

ya he encontrado la solucion... coloque el siguiente codigo...

Código:
<mx:HTTPService id="phpInfo" method="POST" url="http://localhost/xml/news.php" result="newsInHandler(event)" resultFormat="e4x" showBusyCursor="true"/>

[Bindable]
		private var NEWXML:XMLListCollection=new XMLListCollection;
		
		private function newsInHandler(event:ResultEvent):void
		{
			var tmpXML:XMLList=new XMLList(event.result);
			NEWXML= new XMLListCollection(tmpXML..categoryid);
		}