Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/12/2008, 09:40
Ho_Tse_Lin
 
Fecha de Ingreso: diciembre-2008
Mensajes: 2
Antigüedad: 15 años, 4 meses
Puntos: 0
Respuesta: Campo flash feed RSS

La verdad es que no tengo claro como lo voy a hacer o si seré capaz. Descargué un código: he creado los tres campos de texto y como estoy pez, lógicamente no funciona.

Gracias

var rssurl:String = "http://blog.unijimpe.net/feed/";
var rssxml:XML = new XML();
rssxml.ignoreWhite = true;
rssxml.load(rssurl);
rssxml.onLoad = function() {
var nodo:XMLNode = rssxml.firstChild.firstChild;
var vtit:String = "";
var vurl:String = "";
var vdes:String = "";
var vcon:String = "";
// -----------------
// codigo para parsear data
// -----------------
txttitle.htmlText = "<a href=\""+vurl+"\">"+vtit+"</a>";
txtdescription.text = vdes;
txtcontent.htmlText = vcon;
}