# Random text generator

**URL:** <https://forum.kirupa.com/t/random-text-generator/243294>\
**Category:** Uncategorized\
**Created:** [November 5, 2007, 3:08pm UTC](https://forum.kirupa.com/t/random-text-generator/243294 "2007-11-05T15:08:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veng](https://avatars.discourse-cdn.com/v4/letter/v/46a35a/32.png) [@Veng](https://forum.kirupa.com/u/Veng)\
**Post date:** [November 5, 2007, 3:08pm UTC](https://forum.kirupa.com/t/random-text-generator/243294/1 "2007-11-05T15:08:04Z")

</div>

Hi.

I want to make a code verification form. Those forms that generate an image which you have to read and type down the code in it.  
I want to have AS generate a random set of letters and numbers in an unselectable textField. That will be the generated bitmap (not a bitmap actually, but… :P). I also want that randomly generated set of letters and numbers to be written down in a variable so that i can compare the variable with the input field of the user to test if it is ok.

Does anyone know how to randomly generate that?

Thanks a lot.
