[Flashcoders] flash forms problem

2009-08-06 Thread Gustavo Duenas
Hi coders, I have this code for a flash form import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; this.sent.addEventListener(MouseEvent.CLICK, sendMessage); function sendMessage(e:Event):void { var variables:URLVariable

Re: [Flashcoders] flash forms problem

2009-08-07 Thread Leandro Ferreira
As far as I know, the loader.dataFormat refers to the loaded data, not the one you are about to send. My guess is that the error is on trying to decode the variables name/value pair on the loaded data (see that the error is triggered by URLLoader/onComplete()) Leandro Ferreira Sent from Brasil

Re: [Flashcoders] flash forms problem

2009-08-07 Thread Gustavo Duenas
Hi Leandro so getting rid of this part would be ok then and the error wouldn't appear again. var loader:URLLoader=new URLLoader(); loader.dataFormat=URLLoaderDataFormat.VARIABLES; try { load

Re: [Flashcoders] flash forms problem

2009-08-07 Thread Leandro Ferreira
Getting rid of loader.dataFormat, that is. Leandro Ferreira On Fri, Aug 7, 2009 at 20:27, Gustavo Duenas < gdue...@leftandrightsolutions.com> wrote: > Hi Leandro so getting rid of this part would be ok then and the error > wouldn't appear again. > > > var loader:URLLoader=new URLLoader();

Re: [Flashcoders] flash forms problem

2009-08-08 Thread Gustavo Duenas
Hi leandro, it went good, now I'm attempting to send it via email suing a cfm page, this is the code of the coldfusion, so far is not working, would you help me? Regards, Gus replyto="#FORM.email#" type="html"> Name: #FORM.nombre# Email: #FORM.email#

Re: [Flashcoders] flash forms problem

2009-08-08 Thread Leandro Ferreira
Ask it elsewhere, this is not a coldfusion list. Besides, I have no idea. Leandro Ferreira On Sat, Aug 8, 2009 at 13:38, Gustavo Duenas < gdue...@leftandrightsolutions.com> wrote: > Hi leandro, it went good, now I'm attempting to send it via email suing a > cfm page, this is the code of th

Re: [Flashcoders] flash forms problem

2009-08-08 Thread Gustavo Duenas
Thank leandro I'll do it. gus On Aug 8, 2009, at 1:16 PM, Leandro Ferreira wrote: Ask it elsewhere, this is not a coldfusion list. Besides, I have no idea. Leandro Ferreira On Sat, Aug 8, 2009 at 13:38, Gustavo Duenas < gdue...@leftandrightsolutions.com> wrote: Hi leandro, it went go