# Generic swf for loading image slideshows. Different sizes

**URL:** https://forum.kirupa.com/t/generic-swf-for-loading-image-slideshows-different-sizes/286509
**Category:** flash
**Created:** [April 16, 2009, 2:04pm UTC](https://forum.kirupa.com/t/generic-swf-for-loading-image-slideshows-different-sizes/286509 "2009-04-16T14:04:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fdqepd](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@fdqepd](https://forum.kirupa.com/u/fdqepd)
#### Post date: [April 16, 2009, 2:04pm UTC](https://forum.kirupa.com/t/generic-swf-for-loading-image-slideshows-different-sizes/286509/1 "2009-04-16T14:04:02Z")

</div>

Hello, i have a swf that loads dynamic images from an xml. that part is working great.

Also i give the swf a parameter with the xml to load through the embed code.  
thats working to.

**What is not working**  
I want to give the swf a height and width so i can use the same swf for multiple places and sizes.  
i’ve done it by giving absolute size to a container div and it seems to do the size job, **BUT** i cant get the images to load right.

Ive tried every scalemode and images are expanded or they load way of the x=0, y=0 of the movie

could someone help me?

Pingo
