Solved

How to get Flex application to remember UserName

Posted on 2008-06-14
2
1,067 Views
Last Modified: 2013-11-11
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
Comment
Question by:jeresimpson
2 Comments
 
LVL 19

Accepted Solution

by:
Gary Benade earned 500 total points
ID: 21788002
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
 

Author Closing Comment

by:jeresimpson
ID: 31467221
THANKS
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question