Generic swf for loading image slideshows. Different sizes

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