# Centering within a scrollpane

**URL:** <https://forum.kirupa.com/t/centering-within-a-scrollpane/60927>\
**Category:** Uncategorized\
**Created:** [August 13, 2004, 8:51pm UTC](https://forum.kirupa.com/t/centering-within-a-scrollpane/60927 "2004-08-13T20:51:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttorrey](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@ttorrey](https://forum.kirupa.com/u/ttorrey)\
**Post date:** [August 13, 2004, 8:51pm UTC](https://forum.kirupa.com/t/centering-within-a-scrollpane/60927/1 "2004-08-13T20:51:00Z")

</div>

Hey guys

Forgive this if this is a stupid question:

How do I center a movieclip that my scrollpane is calling upon? For instance, I am creating a scrollin photogallery in a certain small area within my main stage. For that small area, I put a scrollpane down, setting the ‘content’ to call upon a movie clip (which is my scrolling photogallery). It load the movieclip all right, but with two problems:

1. there is a generic white background that I want to change to my dark blue one  
2)the movieclip loads into the scrollpane aligned left. I want the center of my movieclip to load in the center of my scrollpane. How do I do this? And how do I get rid of the white scrollpane background?

Thanks

[ttorrey@slc.edu](mailto:ttorrey@slc.edu)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 17, 2004, 12:48pm UTC](https://forum.kirupa.com/t/centering-within-a-scrollpane/60927/2 "2004-08-17T12:48:24Z")

</div>

I’ve got same problem with the background ☹
