# Loading external photos

**URL:** <https://forum.kirupa.com/t/loading-external-photos/14815>\
**Category:** flash\
**Created:** [March 3, 2003, 4:12am UTC](https://forum.kirupa.com/t/loading-external-photos/14815 "2003-03-03T04:12:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maggots213](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@maggots213](https://forum.kirupa.com/u/maggots213)\
**Post date:** [March 3, 2003, 4:12am UTC](https://forum.kirupa.com/t/loading-external-photos/14815/1 "2003-03-03T04:12:50Z")

</div>

hi, i have gone thru the photo gallery tutorial and it gets me confused with all the fading, next, previous buttons… i just needed something like: loading and external photo, which i can specify the position and the size of the photo. this will involve resizing of the original photo and placing it exactly where i want it to be… but i really cant figure out the script to do any of that… so can anyone please help me with 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:** [March 3, 2003, 4:27am UTC](https://forum.kirupa.com/t/loading-external-photos/14815/2 "2003-03-03T04:27:31Z")

</div>

Howdy…

Maybe we can start showing us what you have tried so that other people can help you better??? =)

---

<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:** [March 3, 2003, 4:32am UTC](https://forum.kirupa.com/t/loading-external-photos/14815/3 "2003-03-03T04:32:17Z")

</div>

ok… so far i tried using the scripts in the photo gallery tut.

this.pathToPics = “”;  
this.pArray = [“image01.jpg”];  
loadMovie(this.pathToPics+this.pArray[0], \_root.photo);

i have also created a rectangle and renamed the instances name to “photo”.

the problem is, it does load the image but its not within the rectangle that i have created it seems to be out of the rectangle. is there a code that i can add to the one on top so that it will resize the photo and fit it into the rectangle??

thanks a lot.

malcolm

---

<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:** [March 3, 2003, 4:38am UTC](https://forum.kirupa.com/t/loading-external-photos/14815/4 "2003-03-03T04:38:19Z")

</div>

If that is the case, you might want to take a look at [this tutorial](http://www.kirupa.com/developer/mx/rpoint.htm)…

Remember that your external file gets loaded and placed into the top left corder of the movieclip photo… 😉
