# Trouble after dynamically loading .jpg

**URL:** <https://forum.kirupa.com/t/trouble-after-dynamically-loading-jpg/30517>\
**Category:** Uncategorized\
**Created:** [September 9, 2003, 11:22pm UTC](https://forum.kirupa.com/t/trouble-after-dynamically-loading-jpg/30517 "2003-09-09T23:22:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rysolag](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@rysolag](https://forum.kirupa.com/u/rysolag)\
**Post date:** [September 9, 2003, 11:22pm UTC](https://forum.kirupa.com/t/trouble-after-dynamically-loading-jpg/30517/1 "2003-09-09T23:22:46Z")

</div>

I use the following to load a jpg:

this.createEmptyMovieClip(“loader\_mc”, 1);  
this.loader\_mc.loadMovie(“mypic.jpg”);

I can only set its position:

this.loader.\_x = 10;  
this.loader.\_y = 10;

and change its size with the \_scale properites:

this.loader\_mc.\_xscale \*= .25;  
this.loader\_mc.\_yscale \*= .25;

If I do something like:

this.loader\_mc.\_width = 500;

everything disappers. Or, with:

this.loader\_mc.onEnterFrame = function()  
{  
this.loader\_mc.\_x += 2;  
}

does not produce any motion.

I want to change the size with the \_width and \_height properties and move it around. Is this possible?

Thanks
