My bad, i assumed lorenzo specifically wanted to use a
'GET' method from the mxml he sent. There are many
ways to do this, tracy's method and some other methods
you can check from the docs using httpservice and
urlloader   via POST method should work as well.  Just
bear in mind that Flex doesnt support multi-part
parameter passing (pls correct me if im wrong). Thnx!

--- Tracy Spratt <[EMAIL PROTECTED]> wrote:

> But that will result in a GET method call and
> severely limit the data
> you can send.
> 
>  
> 
> Instead do:
> 
> private function doSend(xlData:XMLList):void
> 
>   var oRequest:Object = new Object();
> 
>   for (var i:int=0;i< xlData.length();i++) {
> 
>     xmlCur = xlData [i];
> 
>     oRequest [EMAIL PROTECTED] =
> [EMAIL PROTECTED];
> 
>   }
> 
>   srv.send(oRequest);
> 
>  
> 
> Tracy
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of leds usop
> Sent: Monday, January 29, 2007 10:12 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] HTTPService with variable
> number of parameter
> 
>  
> 
> try appending your url-encoded value pair-parameters
> to the url property of your httpservice. or you can
> use URLvariable and attach it as data. Cheers!
> --- lruinelli <[EMAIL PROTECTED]
> <mailto:lruinelli%40hotmail.com> >
> wrote:
> 
> > Hello,
> > 
> > I have to call a servlet and give it a variable
> > number of parameters,
> > example:
> > 
> > <a>22<a/><b>33<b/><c>444<c/>
> > 
> > or
> > 
> > <a>222<a/><z>233<z/>
> > 
> > I suppose it will be possible in AS3 doing
> somthing
> > like : 
> > srv.send("an XMLList with my parameters");
> > 
> > but it seems don't works!
> > 
> > the mxml of the HTTPService is the following:
> > 
> > <mx:HTTPService
> >
>
id="execute"url="http://localhost:8080/prototype2/GetExecute
> <http://localhost:8080/prototype2/GetExecute> "
> > method="GET"
> > useProxy="false" 
> > resultFormat="e4x">
> > </mx:HTTPService> 
> > 
> > 
> > Can someone help me?
> > 
> > thanks Lorenzo
> > 
> > 
> > 
> > 
> > 
> 
>
__________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> beta.
> http://new.mail.yahoo.com
> <http://new.mail.yahoo.com> 
> 
>  
> 
> 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Reply via email to