# How to get the computer name in a text box automatically?

**URL:** <https://forum.kirupa.com/t/how-to-get-the-computer-name-in-a-text-box-automatically/327934>\
**Category:** flash\
**Created:** [April 6, 2012, 10:18am UTC](https://forum.kirupa.com/t/how-to-get-the-computer-name-in-a-text-box-automatically/327934 "2012-04-06T10:18:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learner\_7n](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Post date:** [April 6, 2012, 10:18am UTC](https://forum.kirupa.com/t/how-to-get-the-computer-name-in-a-text-box-automatically/327934/1 "2012-04-06T10:18:05Z")

</div>

I am using flash cs4 (AS3). How can I get the computer name/username in a text box created for grabbing Username from the computer and show it in the username textbox automatically?

Thanks.
