# Flash Shared Object Remember me box

**URL:** <https://forum.kirupa.com/t/flash-shared-object-remember-me-box/236520>\
**Category:** Uncategorized\
**Created:** [August 21, 2007, 5:29pm UTC](https://forum.kirupa.com/t/flash-shared-object-remember-me-box/236520 "2007-08-21T17:29:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slyred](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/slyred/32/760_2.png) [@slyred](https://forum.kirupa.com/u/slyred)\
**Post date:** [August 21, 2007, 5:29pm UTC](https://forum.kirupa.com/t/flash-shared-object-remember-me-box/236520/1 "2007-08-21T17:29:26Z")

</div>

Hi - I have a working shared object. The visitor types a password into an input text field and hits go. The next time they go to the log-in it pulls the shared object out and prepopulates the input text field.

My question is…

How can I add a “checkbox” (Remember Me) option to the process. I’d like the visitor to have the option of whether or not they want to be remembered.

My current code looks like this:

**On frame 1 Actions Keyfame:**

pw\_babytalk = SharedObject.getLocal(‘babytalk’);  
if (pw\_babytalk.data.pword != undefined) {  
password\_txt.text = pw\_babytalk.data.pword;  
}

**On the “Go” button:**

on (release, keyPress “\<Enter\>”) {

```
if (pword eq "BOB") {
          getURL("http://www.domain-name/folder");
      } else {
          gotoAndStop("ERROR");
      }
  }
```
