For simplicity's sake, I would add a public var to your Admin
component and populate it with pop.username_txt.text:

viewstack1.selectedChild = admin;
admin.username = pop.username_txt.text;

In your Admin component's creationComplete handler, you would have
another RemoteObject call to gather user data for the user that was
passed above.

I would recommend reading some tutorials about how to use ColdFusion
and Flex (I don't use ColdFusion - I use PHP):

http://flexcf.com/tutorials
http://www.adobe.com/devnet/coldfusion/articles/data_app.html
http://www.adobe.com/devnet/flex/articles/coldfusionflex_part1.html
http://tutorial512.easycfm.com/




--- In [email protected], "stinasius" <stinas...@...> wrote:
>
> hi this is my the login code functionality am using that i got from
> flex cookbook example and works perfect.

[snip]

> on the admin page there are three text components "username, passsword
> and email address" which are populated with info of the user who has
> logged in. thats where am stuck(how to populate the text components
> with the info upon successful login)
>


Reply via email to