# Setting the stage size from an XML file

**URL:** <https://forum.kirupa.com/t/setting-the-stage-size-from-an-xml-file/267480>\
**Category:** flash\
**Created:** [August 1, 2008, 5:07pm UTC](https://forum.kirupa.com/t/setting-the-stage-size-from-an-xml-file/267480 "2008-08-01T17:07:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanderwaal](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@vanderwaal](https://forum.kirupa.com/u/vanderwaal)\
**Post date:** [August 1, 2008, 5:07pm UTC](https://forum.kirupa.com/t/setting-the-stage-size-from-an-xml-file/267480/1 "2008-08-01T17:07:32Z")

</div>

is it possible to set the stage (the actual flash movie as it appears on the screen to the user) size in as2.0? i have a photo gallery that i plan on reusing on several sites and i need it to be different sizes on each site and i’d rather standardize it so that i never have to open the .fla file, just open the XML file that it pulls all of the images from and have an attribute for the stage size. is this possible and if so what’s the syntax. thanks in advance for any help you might be able to offer. my xml file is as follows where movie\_width and movie\_height would be the dimensions of the flash file as it appears on the site.

```auto
<gallery thumb_width="240" thumb_height="180" gallery_width="240" gallery_height="540" gallery_x="40" gallery_y="30" full_x="320" full_y="30" bg_url="bg.jpg" movie_height="600" movie_width="1000">
    <image thumb_url="thumb1.jpg" full_url="image1.jpg" title="Built with our 32 Roadster Body" link="link1.php" />
    <image thumb_url="thumb2.jpg" full_url="image2.jpg" title="Built with our 33-34 Coupe Body" link="link2.php" />
    <image thumb_url="thumb3.jpg" full_url="image3.jpg" title="Built with our 33-34 Coupe Body" link="link3.php" />
    <image thumb_url="thumb4.jpg" full_url="image4.jpg" title="Built with our 32 Roadster Body" link="link4.php" />
</gallery>

```
