# Loading Jpegs into Movieclips

**URL:** https://forum.kirupa.com/t/loading-jpegs-into-movieclips/156510
**Category:** flash
**Created:** [July 26, 2005, 11:05am UTC](https://forum.kirupa.com/t/loading-jpegs-into-movieclips/156510 "2005-07-26T11:05:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)
#### Post date: [July 26, 2005, 11:05am UTC](https://forum.kirupa.com/t/loading-jpegs-into-movieclips/156510/1 "2005-07-26T11:05:45Z")

</div>

I have filenames of Jpegs stored in a MYSQL database. The filenames are returned with other information by PHP to Flash as variables.

I have some dynamic text boxes that have the variables set so that the textual information is displayed but I would also like a movieclip that behaves in the same way but with the pictures.

How do I create some form of movieclip that reads the variable pic1 that is returned from PHP.

Thanks
