Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to get Flex application to remember UserName

Posted on 2008-06-14
2
Medium Priority
?
1,074 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
Gary Benade earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
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.

721 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