I use service capture and nothing is being sent but the method is being 
called and nothing further.

Thanks,
Patrick


Tracy Spratt wrote:
>
> That is all that is required, if your url and back-end are correct.
>
>  
>
> That is a relative url.  Are you sure it is available just like that 
> from the client?
>
>  
>
> How do you know whether it is working?
>
>  
>
> Does that url respond with anything?
>
>  
>
> Hit it directly from a browser, exactly as you show it here, to make 
> sure it returns what you expect.
>
>  
>
> Then define a listener for the result event of the http service, so 
> you can handle that result data.
>
>  
>
> Tracy
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] 
> *On Behalf Of [EMAIL PROTECTED]
> *Sent:* Monday, December 11, 2006 8:35 PM
> *To:* [email protected]
> *Subject:* RE: [flexcoders] URLRequest - Want to make a request but 
> not navigateToURL
>
>  
>
> Easy, eh, nothing easy is for me:
>
> var myHTTPService:HTTPService = new HTTPService();
> myHTTPService.url = "/_poll/takeit.php?pollid="+_pollid;
> myHTTPService.method = "GET"
> myHTTPService.send();
>
>
> What am I doing wrong, not be a luddite, but i need examples of
> everything.
>
> Thanks,
> Patrick
>
> ---- Original Message ----
> From: [EMAIL PROTECTED] <mailto:tspratt%40lariatinc.com>
> To: [email protected] <mailto:flexcoders%40yahoogroups.com>
> Subject: RE: [flexcoders] URLRequest - Want to make a request but
> not navigateToURL
> Date: Mon, 11 Dec 2006 19:49:05 -0500
>
> >Why are you using URLRequest?
> >
> >
> >
> >HTTPService will do what you want very simply.
> >
> >
> >
> >Tracy
> >
> >
> >
> >________________________________
> >
> >From: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>]
> >On
> >Behalf Of [EMAIL PROTECTED] <mailto:dj%40reduxdj.org>
> >Sent: Monday, December 11, 2006 6:56 PM
> >To: [email protected] <mailto:flexcoders%40yahoogroups.com>
> >Subject: [flexcoders] URLRequest - Want to make a request but not
> >navigateToURL
> >
> >
> >
> >Hi,
> >
> >I want to run a script on page like:
> >
> >var userURLRequest:URLRequest = new
> >URLRequest("/_poll/takeit.php?pollid="+_pollid);
> >
> >I don't want to navigate to the page just execute the script, how to
> >this please?
> >
> >Thanks,
> >Patrick
> >
> >
> >
>
>  


Reply via email to