# Example of loading a dynamic jpeg with AS?

**URL:** https://forum.kirupa.com/t/example-of-loading-a-dynamic-jpeg-with-as/181311
**Category:** flash
**Created:** [March 8, 2006, 7:44am UTC](https://forum.kirupa.com/t/example-of-loading-a-dynamic-jpeg-with-as/181311 "2006-03-08T07:44:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![milesdavis](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@milesdavis](https://forum.kirupa.com/u/milesdavis)
#### Post date: [March 8, 2006, 7:44am UTC](https://forum.kirupa.com/t/example-of-loading-a-dynamic-jpeg-with-as/181311/1 "2006-03-08T07:44:41Z")

</div>

Okay. I’m frustrated…I know it’s so simple, but I cannot get it to work.

basically, I want to find some example to disect.

All I want to do is, load a JPEG into a movieclip. I want to create the movieclip myself, and I want to load a jpeg dynamically into it when the flash movie starts.

I don’t want to have a button to launch it, and I don’t want to automatically create the movieclip container with flash.

If anyone can direct me to a tutorial that comes complete with the image, so I can see exactly how it works – I would virtually love that person.

I don’t know why this is so difficult for me, I want to go on from there to load that dynamic movieclip into a scrollpane, but I just want to get a movieclip to load the jpeg dynamically so I can learn.

thanks so much!!!
