# Help \*XML Photogallery\* Resizing the images

**URL:** <https://forum.kirupa.com/t/help-xml-photogallery-resizing-the-images/229851>\
**Category:** flash\
**Created:** [June 20, 2007, 4:43pm UTC](https://forum.kirupa.com/t/help-xml-photogallery-resizing-the-images/229851 "2007-06-20T16:43:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasondefra](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@jasondefra](https://forum.kirupa.com/u/jasondefra)\
**Post date:** [June 20, 2007, 4:43pm UTC](https://forum.kirupa.com/t/help-xml-photogallery-resizing-the-images/229851/1 "2007-06-20T16:43:35Z")

</div>

Hi all, I’ve pieced together a photo gallery based on what I learned from this tutorial:

[http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)

Can someone tell me how I dynamically resize the images that are loaded into Flash. I want to resize the window in which they are displayed, so a 400x400px photo will display at 150x150px, for example. If you want to help but don’t feel like checking out the tutorial, please let me know and I will fish out whatever code I think this solution would concern.

~Jason
