Comunidad de diseño web y desarrollo en internet online

ayuda urgente!!

Citar            
MensajeEscrito el 25 May 2009 04:31 pm
Se que el problema de archivos temporales en flash esta ya , pero mi problema es dirente, al menos eso creo:

el codigo original es este , pero el problema son que se queda guardao en los archivos temporales y siempre se carga las mismas imagenes. El codigo original es este:

if (_root.xmlDataPath == undefined)
{
gXmlDataPath = "imageData.xml";
}
else
{
gXmlDataPath = _root.xmlDataPath;
} // end else if
trace ("gXmlDataPath: " + gXmlDataPath);

yo cambio donde lee el XML para evitar el problema de los archivos temporales , le añado:

?nocaching="+random(999000);


Se quedaria asi:

if (_root.xmlDataPath == undefined)
{
gXmlDataPath = "imageData.xml?nocaching="+random(999000);
}
else
{
gXmlDataPath = _root.xmlDataPath;
} // end else if
trace ("gXmlDataPath: " + gXmlDataPath);

EL PROBLEMA ES QUE NO ME CARGA TODAS LAS IMAGENES QUE EXISTE EN LA BD ¿PORQUE? Y CUANDO QUITO ESO SI ME LAS CARGA TODAS

Por kaosito_2005

28 de clabLevel



 

msie
Citar            
MensajeEscrito el 25 May 2009 04:41 pm
cuando hago el swf (el ejecutable) me pone esto :

no se ha finaliza correctamente el literal gXmlDataPath = "imageData.xml?nocaching="+random(999000);

se esperaba :
debe finalizar con }

Por kaosito_2005

28 de clabLevel



 

msie

 

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