yes just pass the info back to the httpservice
maybe this example will help you
http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/
you call the httpservice upon login button clicked
login.send();
and then the httpservice provider passes the login to your backend code
<mx:HTTPService id="login" url="login.php" method="POST"
showBusyCursor="true" requestTimeout="40">
<mx:request xmlns="">
<loginname>
{name.text}
</loginname>
<loginpassword>
{password.text}
</loginpassword>
</mx:request>
</mx:HTTPService>
<mx:canvas etc...>
<mx:Label text="Name" x="10" y="29"/>
<mx:TextInput x="155" y="27" maxChars="23" id="name"/>
<mx:Label text="Password" x="10" y="66"/>
<mx:TextInput x="155" y="66" maxChars="23" id="password"/>
<mx:Button x="450" y="400" label="Login" click="login.send();"/>
<mx:Label text="Your login is {login.lastResult.DATARESULTS.NAME}" />
</canvas etc...
login.php
<?php
//checklogin then echo results
echo "<DATARESULTS><NAME>John Doe</NAME></DATARESULTS>";
?>
--- In [email protected], "johndoematrix" <johndoemat...@...>
wrote:
>
> the example shown there using the datagrid's selecteditem to populate
> the textinputs. is there a way of populating them without the need of
> a datagrid, combobox or list based selected item? like when i sign in
> i can view my profile based on my userid and username used to signin.
> thanks
>