# Getting a loaded images name

**URL:** <https://forum.kirupa.com/t/getting-a-loaded-images-name/131707>\
**Category:** Uncategorized\
**Created:** [December 18, 2004, 7:21pm UTC](https://forum.kirupa.com/t/getting-a-loaded-images-name/131707 "2004-12-18T19:21:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![999](https://avatars.discourse-cdn.com/v4/letter/9/c5a1d2/32.png) [@999](https://forum.kirupa.com/u/999)\
**Post date:** [December 18, 2004, 7:21pm UTC](https://forum.kirupa.com/t/getting-a-loaded-images-name/131707/1 "2004-12-18T19:21:28Z")

</div>

Is there a way to pull an images name from an MC that its loaded into?

Say I have a container MC that loads random jpegs and I want to be able to click on the container to get just the current image name and extension. Can you do this?

\<edit\>  
As usual, 5 minutes after posting I figured out a workaround. When the image loads I also load its name to a hidden dynamic text box that I can access for other uses. It seems to work fine but if anyone knows a better way Im all ears.
