# Loading jpeg

**URL:** <https://forum.kirupa.com/t/loading-jpeg/62321>\
**Category:** flash\
**Created:** [August 26, 2004, 10:09pm UTC](https://forum.kirupa.com/t/loading-jpeg/62321 "2004-08-26T22:09:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sniper\_Jo](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@Sniper\_Jo](https://forum.kirupa.com/u/Sniper_Jo)\
**Post date:** [August 26, 2004, 10:09pm UTC](https://forum.kirupa.com/t/loading-jpeg/62321/1 "2004-08-26T22:09:34Z")

</div>

Hi,

I have a blank canvas and i want to load a jpeg in the same folder as my .swf file. what would the code be for this ?

---

<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:** [August 26, 2004, 11:09pm UTC](https://forum.kirupa.com/t/loading-jpeg/62321/2 "2004-08-26T23:09:39Z")

</div>

U can load jpg’s in the same way as u load movies.

_\_root.container.loadMovie(“image.jpg”);_

container is the name of an empty movieclip.
