Groups | Blog | Home
all groups > flash actionscript > february 2006 >

flash actionscript : Form in the flash


David Stiller
2/10/2006 3:30:52 PM
lux@,

[quoted text, click to view]

So far, so good.

[quoted text, click to view]

Does this button "see" the nome object? Remember, we're at this point
we're scoped to a function assigned to the onRelease event of the bt object.
I would trace(nome) from here to make sure it's not out of scope.

trace(nome);
trace(nome.text);

[quoted text, click to view]

Assuming nome is in scope, we're still okay.

[quoted text, click to view]

No. Line 8 looks fine to me.

[quoted text, click to view]

You did it just right.

[quoted text, click to view]

I'm not convinced that it doesn't. You may very well be connecting to
the ASP file. You may, however, not be sending it any data.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

lux NO[at]SPAM
2/10/2006 8:01:54 PM
Hi,
I maked a form in the flash and I have a question, I didn't get a link between
flash and the ASP file.
I used the code:
1 - bt.onRelease = function() {
2 - var objMail:LoadVars = new LoadVars();
3 - objMail.nome = nome.text;
4 - objMail.email = email.text;
5 - objMail.assunto = assunto.text;
6 - objMail.mensagem = mensagem.text;
7 - mensagem.text = nome.text=assunto.text=email.text="";
8 - objMail.sendAndLoad("http://www.teste.com.br/enviar.asp", objMail, "POST");
};
Is wrong the URL in the line8 of that code?
What is the URL correct between the flash and ASP file ?
Why the flash have not access the ASP file??
Tks
lux NO[at]SPAM
2/13/2006 4:39:49 PM
Hi David,

Thank's for answers.

I make this of you send me, I got trace in "nome" and the button "bt" see the
nome object and the others, but I don't receive the email and I don't khow
what??

The asp file is OK,the button "bt" be sending the data. I think the flash
don't connect the file asp.

How do I test the connection between flash and asp file?

Thank's
lux NO[at]SPAM
2/14/2006 2:25:54 PM
Hi,


Please anybody can help me.

Where are mistake ?

I don't connect flash with the asp.

AddThis Social Bookmark Button