Thanks you Cor
my code now working the problem was in the server

Regard's
Bassam

On Thu, May 5, 2011 at 12:54 AM, Cor <[email protected]> wrote:

> Hi Bassam,
>
> Try this:
>
> newLoadVars = new URLVariables();
> loadvarSend=new URLRequest(("http://wwww.sensemis.com/test/contact.aspx";);
> loadvarSend.method=URLRequestMethod.POST;
> loadvarSend.data=newLoadVars;
> loadvarLoader=new URLLoader  ;
> loadvarLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
> loadvarLoader.addEventListener(Event.COMPLETE, completeLoginHandler, false,
> 0, true);
>  newLoadVars.myName1 = main.name.txt_name.text;
> newLoadVars.myEmail1 = main.email.txt_email.text;
> newLoadVars.mySubject1 = main.subject.txt_subject.text;
> newLoadVars.myMassage1 = main.msg.txt_msg.text;
> loadvarLoader.load(loadvarSend);
>
>
> Regards,
> Cor van Dooren
> The Netherlands
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Bassam M
> Sent: donderdag 5 mei 2011 9:43
> To: [email protected]
> Subject: [Flashcoders] send email from flash project (exe)
>
> Hi Guys
> I'm I want to send email from flash project file I tried to use sendAndLoad
> but it's not working this is the Code
>
> var newLoadVars = new LoadVars();
>        newLoadVars.myName1 = main.name.txt_name.text;
>        newLoadVars.myEmail1 = main.email.txt_email.text;
>        newLoadVars.mySubject1 = main.subject.txt_subject.text;
>
>        newLoadVars.myMassage1 = main.msg.txt_msg.text;
>        newLoadVars.sendAndLoad("http://wwww.sensemis.com/test/contact.aspx
> ",newLoadVars,"POST");
>        trace(newLoadVars)
>
> I need help please
>
> Thanks
> Bassam
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to