RE: [flexcoders] HTML form replacement

2005-05-20 Thread Abdul Qabiz
Hi,

If you really want to launch different browser and send data to it...

Then you can use LoadVars also...


function submitLoging():Void
{

   var form_lv = new LoadVars();
   form_lv.username = ;
   form_lv.password = ;
   form_lv.send(theURL,_self,POST);
} 



Hope that helps!

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pixelcowboys
Sent: Friday, May 20, 2005 2:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTML form replacement

This is probably a basic question for most of you, but I'll ask
anyway. What is the best method for simply replacing an existing HTML login
form with a 
Flex one? 

I'm currently trying getURL on the submit action (but with no luck):

function submitLogin():Void { 
   var username:String = ;
   var password:String = ;
   getURL(theURL,_self,POST); 
}

The text input ID's are username and password. Any help/tips
appreciated. Thanks!




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] HTML form replacement

2005-05-19 Thread Matt Chotin










Have you checked out HTTPService?
Thatd probably be easiest.



mx:HTTPService id=hs
url="">

 mx:request


username{username.text}/username


password{password.text}/password

 /mx:request

/mx:HTTPService



mx:TextInput id=username
/

mx:TextInput id=password
/



mx:Button click=hs.send()
/



HTH,

Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pixelcowboys
Sent: Thursday, May 19, 2005 2:09
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTML form
replacement





This is probably a basic question for most of you, but I'll ask
anyway. What is the best method for simply
replacing an existing HTML login form with a 
Flex one? 

I'm currently trying getURL on the submit action
(but with no luck):

function submitLogin():Void { 
 var username:String = ;
 var password:String = ;

getURL(theURL,_self,POST);
 
}

The text input ID's are username and
password. Any help/tips appreciated. Thanks!














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.