Re: [Flashcoders] send email from flash project (exe)
Hi Groeten i embed it but not working Thanks Bassam On 5/10/11, Cor wrote: > Hi Bassam, > > You have to embed the Arabic characters. > > Groeten, > Cor van Dooren > www.codobyte.com > -- > "There are only 10 types of people in the world: >Those who understand binary and those who don't." > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M > Sent: dinsdag 10 mei 2011 11:10 > To: Flash Coders List > Subject: Re: [Flashcoders] send email from flash project (exe) > > Hi Cor > do you know why I can't receive Arabic text ,if I try to send Arabic text > flash send data like this %D9%84%D8%A8%D9%84%D8%A7%D8%AA%EF%BB%99, and I'm > recieving empty email, asp.net code working fine. > > any idea > > Thanks > Bassam > > On Thu, May 5, 2011 at 2:32 AM, Bassam M wrote: > >> 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 wrote: >> >>> Hi Bassam, >>> >>> Try this: >>> >>> newLoadVars = new URLVariables(); >>> loadvarSend=new >>> URLRequest(("http://.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: flashcoders-boun...@chattyfig.figleaf.com >>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of >>> Bassam M >>> Sent: donderdag 5 mei 2011 9:43 >>> To: Flashcoders@chattyfig.figleaf.com >>> 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://.sensemis.com/test/contact.aspx >>> ",newLoadVars,"POST"); >>>trace(newLoadVars) >>> >>> I need help please >>> >>> Thanks >>> Bassam >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >> >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] send email from flash project (exe)
Hi Bassam, You have to embed the Arabic characters. Groeten, Cor van Dooren www.codobyte.com -- "There are only 10 types of people in the world: Those who understand binary and those who don't." -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M Sent: dinsdag 10 mei 2011 11:10 To: Flash Coders List Subject: Re: [Flashcoders] send email from flash project (exe) Hi Cor do you know why I can't receive Arabic text ,if I try to send Arabic text flash send data like this %D9%84%D8%A8%D9%84%D8%A7%D8%AA%EF%BB%99, and I'm recieving empty email, asp.net code working fine. any idea Thanks Bassam On Thu, May 5, 2011 at 2:32 AM, Bassam M wrote: > 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 wrote: > >> Hi Bassam, >> >> Try this: >> >> newLoadVars = new URLVariables(); >> loadvarSend=new >> URLRequest(("http://.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: flashcoders-boun...@chattyfig.figleaf.com >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of >> Bassam M >> Sent: donderdag 5 mei 2011 9:43 >> To: Flashcoders@chattyfig.figleaf.com >> 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://.sensemis.com/test/contact.aspx >> ",newLoadVars,"POST"); >>trace(newLoadVars) >> >> I need help please >> >> Thanks >> Bassam >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] send email from flash project (exe)
Hi Bassam, You'll probably need to escape/unescape your data. That way your special characters are preserved. (But I am somewhat guessing, I have not worked with Arabic text as of yet.) http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ package.html#escape() http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ package.html#unescape() I did find this though. An Arabic text converter for AS3. http://code.google.com/p/as3arabic/downloads/list HTH, Best, Karl On May 10, 2011, at 4:09 AM, Bassam M wrote: Hi Cor do you know why I can't receive Arabic text ,if I try to send Arabic text flash send data like this %D9%84%D8%A8%D9%84%D8%A7%D8%AA%EF%BB%99, and I'm recieving empty email, asp.net code working fine. any idea Thanks Bassam On Thu, May 5, 2011 at 2:32 AM, Bassam M wrote: 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 wrote: Hi Bassam, Try this: newLoadVars = new URLVariables(); loadvarSend=new URLRequest(("http://.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: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M Sent: donderdag 5 mei 2011 9:43 To: Flashcoders@chattyfig.figleaf.com 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://.sensemis.com/test/contact.aspx ",newLoadVars,"POST"); trace(newLoadVars) I need help please Thanks Bassam ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] send email from flash project (exe)
Hi Cor do you know why I can't receive Arabic text ,if I try to send Arabic text flash send data like this %D9%84%D8%A8%D9%84%D8%A7%D8%AA%EF%BB%99, and I'm recieving empty email, asp.net code working fine. any idea Thanks Bassam On Thu, May 5, 2011 at 2:32 AM, Bassam M wrote: > 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 wrote: > >> Hi Bassam, >> >> Try this: >> >> newLoadVars = new URLVariables(); >> loadvarSend=new URLRequest(("http://.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: flashcoders-boun...@chattyfig.figleaf.com >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M >> Sent: donderdag 5 mei 2011 9:43 >> To: Flashcoders@chattyfig.figleaf.com >> 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://.sensemis.com/test/contact.aspx >> ",newLoadVars,"POST"); >>trace(newLoadVars) >> >> I need help please >> >> Thanks >> Bassam >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] send email from flash project (exe)
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 wrote: > Hi Bassam, > > Try this: > > newLoadVars = new URLVariables(); > loadvarSend=new URLRequest(("http://.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: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M > Sent: donderdag 5 mei 2011 9:43 > To: Flashcoders@chattyfig.figleaf.com > 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://.sensemis.com/test/contact.aspx > ",newLoadVars,"POST"); >trace(newLoadVars) > > I need help please > > Thanks > Bassam > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] send email from flash project (exe)
Hi Bassam, Try this: newLoadVars = new URLVariables(); loadvarSend=new URLRequest(("http://.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: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M Sent: donderdag 5 mei 2011 9:43 To: Flashcoders@chattyfig.figleaf.com 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://.sensemis.com/test/contact.aspx ",newLoadVars,"POST"); trace(newLoadVars) I need help please Thanks Bassam ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders