# Sample Code Question - Load Image

**URL:** <https://forum.kirupa.com/t/sample-code-question-load-image/223920>\
**Category:** flash\
**Created:** [April 26, 2007, 7:18pm UTC](https://forum.kirupa.com/t/sample-code-question-load-image/223920 "2007-04-26T19:18:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hicksjt](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@hicksjt](https://forum.kirupa.com/u/hicksjt)\
**Post date:** [April 26, 2007, 7:18pm UTC](https://forum.kirupa.com/t/sample-code-question-load-image/223920/1 "2007-04-26T19:18:32Z")

</div>

I’m not really a programmer but I had a question about the code below:

```auto
loadMovie("/images/headers/" + _root.photo + ".jpg", photo);

```

It’s obvious that it loads an image but one of my questions was does “\_root.photo” load a random image from some starting point? Also, is “photo” the name of a movie clip or image name?

Thanks for any feedback.
