Thank you Justin that worked great.

--- In [email protected], "Justin Raymond" <[EMAIL PROTECTED]> wrote:
>
> Hey Mark,
>  
> You can use the following:
>  
> var request:URLRequest = new URLRequest("test.htm");
>      request.method = URLRequestMethod.GET;
>      var urlVars : URLVariables = new URLVariables();
>      urlVars.username = "theUsername";
>      request.data = urlVars; 
>      navigateToURL(request,"_blank");
>  
> Just substitute your own vars in where appropriate.
> 
> Cheers
> 
> Justin
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of markcavins
> Sent: Friday, 11 January 2008 8:55 AM
> To: [email protected]
> Subject: [flexcoders] Dynamic URLs
> 
> 
> 
> Is there a way to take the results from form data services
> 
> <mx:HTTPService id="login_user" result="checkLogin(event)"
> showBusyCursor="true" method="POST"
> url="https://cfg0013.zonarsystems.net/interface.php
> <https://cfg0013.zonarsystems.net/interface.php> " useProxy="false">
> <mx:request xmlns="">
> <customer>
> {customer.text}
> </customer>
> <username>
> {username.text}
> </username>
> <password>
> {password.text}
> </password>
> </mx:request>
> </mx:HTTPService>
> 
> and use it to dyanamically populate a url
> 
> https://{customer.text}.mysite.net/interface.php?action=showopen&amp;ope
> ration=showassets&amp;format=xml&amp;opstatus=crit&amp;username={usernam
> e.text}&amp;password={password.text}
> 
> I know how to do this in most other languages but I am completely noob
> when it comes to Flex/Flash action script and I'm not quite sure how
> you would set this up but I only want to make this app once so that
> any customer can login and get information on their own information.
> 
> 
> 
>  
> 
>
#####################################################################################
> Note:
> 
> This correspondence and any files transmitted with it are
confidential. If you
> are not the intended recipient, you must not disclose or use the
information
> contained in it. Any opinions expressed in this correspondence are
those of the
> individual sender, except where the sender expressly, and with
authority, states
> them to be the opinions of ABBOTSLEIGH.
> 
> If you have received this correspondence in error please notify
Abbotsleigh
> immediately by phone (612 9473 7900) or email ([EMAIL PROTECTED]).
> Neither the sender nor ABBOTSLEIGH warrants that any communication
via the Internet
> is free of errors, viruses, interception or interference.
Information is distributed
> without warranties of any kind. 
>
#####################################################################################
>


Reply via email to