You should be using LoadVars - sendAndLoad property.

Eg -

var loadThis_lv:LoadVars = new LoadVars();
loadThis_lv.onLoad = function(success) {
   if (success) {
      trace("Success in loading"+loadThis_lv+".");
      _root.form_mc.text1.text = this.text1;
      _root.form_mc.text2.text = this.text2;
      _root.form_mc.text3.text = this.text3;
      _root.form_mc.text4.text = this.text4;
     } else {
       trace(this.error);
}
loadThis_lv.sendAndLoad("boom.asp", "POST"); // i'm not sure about the
placement of POST

I think that should work, replace text1/2/3/4 with instance names of your
text boxes and form_mc with instance name of your mc, then change
this.text1/2/3/4
to the variables in your ASP file. BTW, ASP is crap with Flash, use PHP.


On 1/9/06, Jose Maria Barros <[EMAIL PROTECTED]> wrote:
>
> Im using loadVariablesNum to send information to an ASP page..then send it
> back to a email box.
>
> The problem is that i have the textBoxes inside a movieclip and when i
> receive the email..the data isnt in the email..
>
> Flash:
>
> loadVariablesNum("send.asp", 0, "POST");
>
>
> the inputText boxes are inside a movie clip..
>
> The ASP page:
>
> theName = Request.Form("name of text box")
> theEmail = Request.Form("name of text box")
> theMessage = Request.Form("name of text box")
>
> sorry for my ignorance..i tried to put
> "_root.form_mc.loadVariablesNum(etc..);" but it didnt work..
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Nicholas Chhabra
JNR Enterprise Ltd
[EMAIL PROTECTED]

NOTICE: CONFIDENTIAL COMMUNICATION
This e-mail message and any accompanying files may contain
information that is confidential and subject to privilege. If you
are not the intended recipient, and have received the e-mail
in error, you are notified that any use, dissemination,
distribution, forwarding, printing or copying of the message
and any attached files is strictly prohibited. If you have
received this e-mail message in error please immediately
advise the sender by return e-mail, listed above.
You must destroy the original transmission and its contents.
Any views expressed within this communication are those of
the individual sender, except where the sender specifically
states them to be the views of JNR Enterprise Limited.
This communication should not be copied or disseminated
without permission. Any violation of  the above will result
in penalties to the full extent of the law.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to