Comunidad de diseño web y desarrollo en internet online

Problemas Cargando XML

Citar            
MensajeEscrito el 29 Ene 2010 11:12 am
Pues eso k cuando cargo el XML.. no me muestra el texto del XML. tampoco las fotos k quiero subir.


he probado con todos estas paths desde el flash y ninguna funciona ... no me carga ni el texto "test test test " :(

var request:URLRequest=new URLRequest("index_4.xml"); dentro de forside esta el xml
var request:URLRequest=new URLRequest("/index_4.xml"); dentro de forside esta el xml
var request:URLRequest=new URLRequest("/forsiden/index_4.xml"); dentro de forside esta el xml
var request:URLRequest=new URLRequest("http://www.mysite.dk/forsiden/index_4.xml");


este es mi xml:

<?xml version="1.0" encoding="iso-1280-1"?>
<SlideXML>
<picture path="/forside/images/pict1.png" link="http://www.mysite.cl/" tekst="test test " />
<picture path="/forside/images/pict2.png" link="http://www.mysite.dk/" tekst="test test " />
<picture path="/forside/images/pict3.png" link="http://www.mysite.com/" tekst="test test " />
<picture path="/forside/images/pict4.png" link="http://www.mysite.org/" tekst="test test " />
<picture path="/forside/images/pict5.png" link="http://www.mysite.es/" tekst="test test " />
<picture path="/forside/images/pict6.png" link="http://www.mysite.lol/" tekst="test test " />
</SlideXML>

Saludos y grax

Por pulento

48 de clabLevel



 

msie8
Citar            
MensajeEscrito el 29 Ene 2010 01:32 pm
¿Usas un URLLoader? y estás comprobando el valor en la función "completeHandler"?

Por Eliseo2

710 de clabLevel



 

firefox
Citar            
MensajeEscrito el 29 Ene 2010 08:27 pm
Grax por la respuesta Eliseo ..lo mirare.


Saludos

Por pulento

48 de clabLevel



 

msie7

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.