Solved

How to get Flex application to remember UserName

Posted on 2008-06-14
2
1,065 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
Comment Utility
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
Comment Utility
THANKS
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
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 how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now