# You've shown me yours

**URL:** <https://forum.kirupa.com/t/youve-shown-me-yours/26593>\
**Category:** Uncategorized\
**Created:** [July 24, 2003, 2:55pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593 "2003-07-24T14:55:04Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:01pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/21 "2003-07-24T20:01:46Z")

</div>

Alright, Kit, I will whip up an example, and yes, it will have stars in the password field (that is an input textbox option so that is easy)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:07pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/22 "2003-07-24T20:07:16Z")

</div>

It’s an option?!?

\*\*\*\*! I coded it to do that! :sure:

\<b\>_Kit beats head against nearest wall_\</b\>

God, what a dumb \*\*\* blonde…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:12pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/23 "2003-07-24T20:12:53Z")

</div>

You coded it to do that? You could easily right click on the input box, open the properties panel and set the one drop down to “password” the other options are single line, multiline, and multiline no-wrap.

It will automatically convert the characters to stars for the viewer.

Here is a VERY quick example of my password script, you can use the encoder in the link above to create new passwords if you wish. Just make sure to put the numbers generated between double quotes in the pCheck variable.

[edit]K-man… I can’t attach .fla files??? whats up with that? It says it isn’t one of the file types able to upload[/edit]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:14pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/24 "2003-07-24T20:14:40Z")

</div>

As I said, it’s not super duper secure, but its better than having if (enteredPass == “realPassword”)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:18pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/25 "2003-07-24T20:18:47Z")

</div>

Thanks, you’re a star. :beam:

I had this… [AS]Selection.setFocus(\_root.passwordInput);  
passwordIinput.onChanged = function() {  
text = passwordInput.text;  
stext = text.substr(text.length-1, 1);  
passwordText = passwordText add stext;  
if (text.length == 1) {  
passwordText = “\*”;  
} else {  
rtext = text.substr(0, text.length-1);  
passwordText = rtext add “#”;  
}  
}; [/AS] There’s a couple of Textfields involved along the way too, which is what they’re referring to. Of course if there’s a setting for it, then the whole thing is redundant. :sure:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:22pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/26 "2003-07-24T20:22:39Z")

</div>

Wow, yeah, that is definitely nice coding, but completely unneccesary 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:27pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/27 "2003-07-24T20:27:49Z")

</div>

Boy do I feel like a moron. 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:46pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/28 "2003-07-24T20:46:10Z")

</div>

Selection.setFocus(\_root.passwordInput);

Do you experience the inability to use backspace in your input textbox when using that piece of code?

I did. I think ahmed scoped it out at flashcoders and it is a known bug.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 8:50pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/29 "2003-07-24T20:50:40Z")

</div>

Yup, happens to me too. Got round it by typing the password in very carefully each time. 😛 Maybe they’ll fix that in MX-2? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 9:47pm UTC](https://forum.kirupa.com/t/youve-shown-me-yours/26593/30 "2003-07-24T21:47:03Z")

</div>

lol, nice code there kit. :thumb:

It’s ok to reinvent the wheel sometimes, you learn a thing or two on the way. 😉

[Previous page](https://forum.kirupa.com/t/youve-shown-me-yours/26593.md?page=1)
