Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1079
  • Last Modified:

How to get Flex application to remember UserName

I have a flex application that uses e-mail as username.  If My username is John.Doe@Gmail.com I would simply like it to remember that after I type J .  I don't know how to do that with Flex applicaitons.  Any help would be great!
0
jeresimpson
Asked:
jeresimpson
1 Solution
 
Gary BenadeCommented:
http://sherifabdou.com/2008/03/27/autosuggest-flex/

If you want to remember the full username:

//load
var soCookie:SharedObject = SharedObject.getLocal("yourCookie");    loginemail.text = soCookie.data.userEmail;

//save
var soCookie:SharedObject = SharedObject.getLocal("yourCookie");
soCookie.data.userEmail = loginemail.text;      
soCookie.flush();
0
 
jeresimpsonAuthor Commented:
THANKS
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now