Thank You.But this only saves the credentials of previously logged in user.If a 2nd user tries to login it doesn't remembers it! I have to again enter username and password! i.e if I type an alphabet it gives me list of users!
Thanks & Regards Vishal On Wed, Feb 18, 2009 at 1:11 PM, vrathore <[email protected]> wrote: > > Use the following code sniplet > > You can use the shared Object for the following > make a shared object as follows > var sharedObj:SharedObject=SharedObject.getLocal("Give_Name"); > // adding the value in shared object after logging in the application > sharedObj.data.var1=txtLoginID.text; > sharedObj.flush(); > > > > // on creation complete of the application checking the shared object > and passing the value from shared object to text input(txtLoginID) > var sharedObj:SharedObject=SharedObject.getLocal("Give_Name") > // here checking if the variable sored exists in shared object > if(sharedObj.data.varStored!=undefined && sharedObj.data.varStored! > ="") > { > > txtLoginID.text=sharedObj.data.var1;// adding the text value of the > login in the shared object > } > > Cheers > > Varun Rathore > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

