Jump to content


xShacka

Member Since 07/04/2008
Offline Last Active 23/03/2010, 09:39
-----

Posts I've Made

In Topic: Formulário Flash + Php

27/07/2009, 15:30

dentro do meu botao envia para formulario de contaot
ta asim

telefone.text = "";
cidade.text = "";
nome.text = "";
email.text = "";
mensagem.text = "";
bt_enviar.onPress = function() {
	if (nome.text == "")
	{
		erro.htmlText = "Por favor, preencha o campo Nome!";
	} else if (email.text == "")
	{
		erro.htmlText = "Por favor, preencha o campo Email!";
	} else if (cidade.text == "")
	{
		erro.htmlText = "Por favor, preencha o campo Cidade!";
	} else if (telefone.text == "")
	{
		erro.htmlText = "Por favor, preencha o campo Telefone!";
	} else if (mensagem.text == "")
	{
		erro.htmlText = "Por favor, preencha o campo Mensagem!";
	} else
	{
		var ObjRecebe = new LoadVars();
		var ObjEnvia = new LoadVars();
		ObjRecebe.onload = function(ok) {
			if (ok)
			{
				for (var _loc2 = 0; _loc2 < this.tamanho; ++_loc2)
				{
					if (this.erro == 1)
					{
						erro.htmlText = "Contato realizado com sucesso.";
						telefone.text = "";
						cidade.text = "";
						nome.text = "";
						email.text = "";
						mensagem.text = "";
						continue;
					}
					// end if   
					if (this.erro == 2)
					{
						erro.htmlText = "O e-mail digitado é inválido, por favor, tente novamente.";
					}
					// end if   
				}// end of for
			}
			// end if   
		};
		erro.htmlText = "Processando a mensagem, aguarde!";
		ObjEnvia.nome = nome.text;
		ObjEnvia.email = email.text;
		ObjEnvia.cidade = cidade.text;
		ObjEnvia.telefone = telefone.text;
		ObjEnvia.mensagem = mensagem.text;
		ObjEnvia.sendAndLoad(http + "fale_conosco.php",ObjRecebe,"POST");
	}// end else if
};

se basea nisso e tenta ai ;)

abraco

In Topic: Txt Dentro De Swf Externo Carregado Por Alvo

27/07/2009, 15:28

coisas simples
tente muda a vonte
e ativa o embed
ae do scroll depende de qual scroll vc ta usando

In Topic: Botao Que Faz Download De Um Arquivo .doc

27/07/2009, 15:27

Seguinte emu caro mto simples
botao.onRelease = function (){
getURL("localdoarquivo.doc");
}

e pronto ;)

IPB Skin By Virteq