Foros del Web » Creando para Internet » Flash y Actionscript »

Flash xml accion script 3

Estas en el tema de Flash xml accion script 3 en el foro de Flash y Actionscript en Foros del Web. TENGO UN PROBLEMA TENGO ESTE WIDGET EN FLASH DISEÑADO QUE IMPORTA LOS ULTIMOS 4 TWT DE TWITTER LO QUIERO PARA UNA WEB EN FLASH PERO ...
  #1 (permalink)  
Antiguo 28/08/2012, 16:16
Avatar de kelvingar  
Fecha de Ingreso: agosto-2012
Mensajes: 5
Antigüedad: 11 años, 7 meses
Puntos: 0
Pregunta Flash xml accion script 3

TENGO UN PROBLEMA TENGO ESTE WIDGET EN FLASH DISEÑADO QUE IMPORTA LOS ULTIMOS 4 TWT DE TWITTER LO QUIERO PARA UNA WEB EN FLASH PERO FUNCIONA CORRECTAMENTE EN LA PC PERO AL SUVIRLO AL SERVIDOR NO FUNCIONA EL CODIGO ES ESTE





var myXMLLoader:URLLoader = new URLLoader();
myXMLLoader.load(new URLRequest("http://twitter.com/statuses/user_timeline.xml?screen_name=kelvingar"));
myXMLLoader.addEventListener(Event.COMPLETE, processXML);
function processXML(e:Event):void {
var myXML:XML=new XML(e.target.data);

tweet_1.text=myXML.status[0].text;
tweet_2.text=myXML.status[1].text;
tweet_3.text=myXML.status[2].text;
tweet_4.text=myXML.status[3].text;
}

follow_btn.addEventListener(MouseEvent.CLICK, onFollow);
function onFollow(e:MouseEvent):void{
navigateToURL(new URLRequest("http:///twitter.com/kelvingar"));
}
follow_btn.buttonMode = true;

Etiquetas: twitter, actionscript
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 11:11.