# XML Gallery - resizing pics

**URL:** https://forum.kirupa.com/t/xml-gallery-resizing-pics/172903
**Category:** flash
**Created:** [December 19, 2005, 3:35pm UTC](https://forum.kirupa.com/t/xml-gallery-resizing-pics/172903 "2005-12-19T15:35:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oxwilder](https://avatars.discourse-cdn.com/v4/letter/o/ce73a5/32.png) [@oxwilder](https://forum.kirupa.com/u/oxwilder)
#### Post date: [December 19, 2005, 3:35pm UTC](https://forum.kirupa.com/t/xml-gallery-resizing-pics/172903/1 "2005-12-19T15:35:51Z")

</div>

Hey all-

I’m designing a photo gallery in Flash as a gift for my friend. He’s not too computer savvy, but I think he can handle changing an xml file to update photo lists.

He’s a photographer, and as such he has photos of all different sizes, but when I preview the xml gallery that the tutorial provides, it shows only the first pixels of the picture. For example, the movie clip that displays the pictures is 500w x 400h, but the picture the xml loads is 800w x 600h. The gallery only shows 500x400 of the pic and ignores the rest.

I tried using the setSize command, but I’m not sure where to add it so it didn’t work. Any ideas?

Thanks,  
Ox
