# Get file name

**URL:** <https://forum.kirupa.com/t/get-file-name/65547>\
**Category:** Uncategorized\
**Created:** [September 27, 2004, 4:46pm UTC](https://forum.kirupa.com/t/get-file-name/65547 "2004-09-27T16:46:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jedinitex](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jedinitex](https://forum.kirupa.com/u/jedinitex)\
**Post date:** [September 27, 2004, 4:46pm UTC](https://forum.kirupa.com/t/get-file-name/65547/1 "2004-09-27T16:46:53Z")

</div>

is there an actionscript command for get file name? I need to be able to call the file name and have it output to a dynamic textbox.

---

<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:** [September 27, 2004, 4:47pm UTC](https://forum.kirupa.com/t/get-file-name/65547/2 "2004-09-27T16:47:26Z")

</div>

file name of… ?

---

<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:** [September 27, 2004, 4:52pm UTC](https://forum.kirupa.com/t/get-file-name/65547/3 "2004-09-27T16:52:39Z")

</div>

i’m loading an mp3 into a media player and i want the name of the mp3 to output to a textbox

---

<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:** [September 27, 2004, 4:59pm UTC](https://forum.kirupa.com/t/get-file-name/65547/4 "2004-09-27T16:59:52Z")

</div>

hmm im not sure about that.

i would suggest just coding something that alters the value of the text box depending on what sound is currently playing. otherwise, i would guess maybe playing around with \_url might do it.

---

<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:** [September 27, 2004, 5:54pm UTC](https://forum.kirupa.com/t/get-file-name/65547/5 "2004-09-27T17:54:56Z")

</div>

tried loading the filenames from an xml document?
