# Kirupa Photo Slideshow tute - centering image

**URL:** <https://forum.kirupa.com/t/kirupa-photo-slideshow-tute-centering-image/200320>\
**Category:** flash\
**Created:** [September 11, 2006, 12:05pm UTC](https://forum.kirupa.com/t/kirupa-photo-slideshow-tute-centering-image/200320 "2006-09-11T12:05:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![moodie](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/moodie/32/1905_2.png) [@moodie](https://forum.kirupa.com/u/moodie)\
**Post date:** [September 11, 2006, 12:05pm UTC](https://forum.kirupa.com/t/kirupa-photo-slideshow-tute-centering-image/200320/1 "2006-09-11T12:05:05Z")

</div>

Hi, this is my first post on this forum. I’ve been going through the tutorials and forum trying to build a photo slideshow. I managed to get the slideshow working with buttons, ( [http://www.kirupa.com/developer/mx2004/xml\_slideshow.htm](http://www.kirupa.com/developer/mx2004/xml_slideshow.htm) ) but am really stuck with trying to center the images … I’m using portrait and lanscape images, and want them both to be vertically and horizontally centered in a 504x504 moive.

I’m a AS noob, and I know i’ve bitten off more than I can chew, but if anyone could give me a few pointers it would be much appriciated.

thanks
