# Current Document Name Into Textfield

**URL:** <https://forum.kirupa.com/t/current-document-name-into-textfield/252765>\
**Category:** flash\
**Created:** [February 23, 2008, 6:44am UTC](https://forum.kirupa.com/t/current-document-name-into-textfield/252765 "2008-02-23T06:44:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lovejeet](https://avatars.discourse-cdn.com/v4/letter/l/977dab/32.png) [@lovejeet](https://forum.kirupa.com/u/lovejeet)\
**Post date:** [February 23, 2008, 6:44am UTC](https://forum.kirupa.com/t/current-document-name-into-textfield/252765/1 "2008-02-23T06:44:15Z")

</div>

Can anyone tell me how to get to display the name of the **current working document in a text field or into a variable name**. Can this be done without using any serverside script? Like if i m working in 1.swf, i need to print the current name i.e 1.swf into the textfield or into a variable… and for 2.swf and so on…

Plz help…  
thanks in advance…
