Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Dieguinhu Web

Duplicando Imagens

Recommended Posts

Gente to com um problçema em um site que eu fiz

 

http://www.penaestradachevrolet.com.br

 

quando você entra em roteiros e navega pelas curiosidades se você so muda de link as legendas que são puxadas de um ASP apaqrecem nomral só que se eu mexo no scroll quando eu mudeo de link elas se duplicam o que eu fiz aí foi puxar um ASP dentro de um TXTAREA que na verdade é um moviel clip com varios frames... talvez seja isso que esteja dando pau fiz algumas funções pra descarregar o text area mas não funcionou..

 

segue o codigo do flash pra que vcs possam me ajudar nisso ai e só da pra entender vizualizando o site

 

Mouse.show();
function recarrega(link)
{
	pipo.load("");
	txtPost.text = "	";
	carregandoTexto.gotoAndPlay("vai");
	pipo.load("pipo2.asp?cod=" + cod + "&tipo=" + link);
	txtPost.text = this.firstChild.childNodes[0].nodeValue;
} // End of the function
_global.cod = _level50.cod;
var news_d = new XML();
news_d.load("fotos.asp?cod=" + cod);
news_d.ignoreWhite = true;
news_d.onLoad = function ()
{
	foto11.loadMovie("imagensm/" + this.childNodes[0].attributes.foto1);
	foto12.loadMovie("imagensm/" + this.childNodes[0].attributes.foto2);
	foto13.loadMovie("imagensm/" + this.childNodes[0].attributes.foto3);
	_global.link11 = "imagensg/" + this.childNodes[0].attributes.foto1;
	_global.link12 = "imagensg/" + this.childNodes[0].attributes.foto2;
	_global.link13 = "imagensg/" + this.childNodes[0].attributes.foto3;
};
var ttit = new XML();
ttit.load("titulo_roteiro.asp?cod=" + cod);
ttit.ignoreWhite = true;
ttit.onLoad = function ()
{
	String.prototype.replace = function (text, replacetext)
	{
		return (this.split(text).join(replacetext));
	};
	label.text = this.firstChild.childNodes[0].nodeValue.replace("ç", "ç ").replace("À", "À ").replace("Á", "Á ").replace("Â", "Â ").replace("Ã", "Ã ").replace("Ä", "Ä ").replace("Å", "Å ").replace("à", "à ").replace("á", "á ").replace("â", "â ").replace("ã", "ã ").replace("ä", "ä ").replace("å", "å ").replace("È", "È ").replace("É", "É ").replace("Ê", "Ê ").replace("Ë", "Ë ").replace("è", "è ").replace("é", "é ").replace("ê", "ê ").replace("ë", "ë ").replace("Ò", "Ò ").replace("Ó", "Ó ").replace("Ô", "Ô ").replace("Õ", "Õ ").replace("Ö", "Ö ").replace("ò", "ò ").replace("ó", "ó ").replace("ô", "ô ").replace("õ", "õ ").replace("ö", "ö ").replace("Ù", "Ù ").replace("Ú", "Ú ").replace("Û", "Û ").replace("Ü", "Ü ").replace("ù", "ù ").replace("ú", "ú ").replace("û", "û ").replace("ü", "ü ").replace("Ì", "Ì ").replace("Í", "Í ").replace("Î", "Î ").replace("Ï", "Ï ").replace("ì", "ì ").replace("í", "í ").replace("î", "î ").replace("ï", "ï ").replace("Ç", "Ç ");
};
sobreloc = "sobre";
var pipo = new XML();
pipo.ignoreWhite = true;
pipo.load("pipo2.asp?cod=" + cod + "&tipo=" + sobreloc);
pipo.onLoad = function ()
{
	txtPost.text = this.firstChild.childNodes[0].nodeValue;
};
_level50.txtPost.depthChild0._alpha = 0;
btn1.onRelease = function ()
{
	pipo.load("");
	txtPost.text = "	";
	txtPost.text = "Carregado...";
	legenda1.unloadMovie();
	recarrega("como");
	getURL("java script:_hbPageView(\'ROTEIROS+COMO+CHEGAR\',\'INTERNAS\')");
};
btn2.onRelease = function ()
{
	pipo.load("");
	txtPost.text = "	";
	txtPost.text = "Carregado...";
	legenda1.unloadMovie();
	recarrega("hoteis");
	getURL("java script:_hbPageView(\'ROTEIROS+HOTEIS\',\'INTERNAS\')");
};
btn3.onRelease = function ()
{
	pipo.load("");
	txtPost.text = "	";
	txtPost.text = "Carregado...";
	legenda1.unloadMovie();
	recarrega("restaurantes");
	getURL("java script:_hbPageView(\'ROTEIROS+RESTAURANTES\',\'INTERNAS\')");
};
btn4.onRelease = function ()
{
	pipo.load("");
	txtPost.text = "Carregado...";
	legenda1.unloadMovie();
	recarrega("pontos");
	getURL("java script:_hbPageView(\'ROTEIROS+PONTOS+TURISTICOS\',\'INTERNAS\')");
};
btn5.onRelease = function ()
{
	pipo.load("");
	txtPost.text = "	";
	txtPost.text = "Carregado...";
	legenda1.unloadMovie();
	recarrega("passeios");
	getURL("java script:_hbPageView(\'ROTEIROS+PASSEIOS\',\'INTERNAS\')");
};
btn6.onRelease = function ()
{
	legenda1.loadMovie("legenda_00.swf", 50);
	legenda1._x = 357;
	legenda1._y = 253;
	legenda1._alpha = 100;
};
btn7.onRelease = function ()
{
	pipo.load("");
	txtPost.text = "	";
	txtPost.text = "Carregado...";
	legenda1.unloadMovie();
	recarrega("curiosidades");
	getURL("java script:_hbPageView(\'ROTEIROS+CURIOSIDADES\',\'INTERNAS\')");
};
btn1.ClickHandler = function ()
{
  txtPost.text = "	";
	//txtPost.pipo.unload();
};
btn2.changeHandler = function ()
{
   txtPost.text = "	";
	//txtPost.pipo.unload();
};
btn3.changeHandler = function ()
{
   txtPost.text = "	";
	//txtPost.pipo.unload();
};
btn4.changeHandler = function ()
{
   txtPost.text = "	";
	//txtPost.pipo.unload();
};
btn5.changeHandler = function ()
{
   txtPost.text = "	";
	//txtPost.pipo.unload();
};
btn7.changeHandler = function ()
{
   txtPost.text = "	";
	//txtPost.pipo.unload();
};
bordaG._alpha = 0;
fechafoto._alpha = 0;
mask._alpha = 0;
bt_fecha2._alpha = 0;
System.useCodepage = false;

Compartilhar este post


Link para o post
Compartilhar em outros sites

to entendendo nao cara...

deve ser um lugar especifico entao, pq naveguei a vontade la e nao deu erro hora ninuma

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.