html的表单:
与对应的Flex的表单:
<form id="loginSrv" method="GET" action="http://localhost:800/BOOK/flexlogin.aspx">
<input name="username" value="{txtname.text}" />
<input name="userpassword" value="{txtpwd.text}" />
</form>
与对应的Flex的表单:
<mx:HTTPService
showBusyCursor="true"
id="loginSrv"
result="doResult();" //处理返回的数据
method="GET"
url="http://localhost:800/BOOK/flexlogin.aspx">
<mx:request>
<username>
{txtname.text}
</username>
<userpassword>
{txtpwd.text}
</userpassword>
</mx:request>
</mx:HTTPService>