# Flash Center alignment problem

**URL:** <https://forum.kirupa.com/t/flash-center-alignment-problem/254226>\
**Category:** flash\
**Created:** [March 9, 2008, 11:01pm UTC](https://forum.kirupa.com/t/flash-center-alignment-problem/254226 "2008-03-09T23:01:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BhavikShah](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@BhavikShah](https://forum.kirupa.com/u/BhavikShah)\
**Post date:** [March 9, 2008, 11:01pm UTC](https://forum.kirupa.com/t/flash-center-alignment-problem/254226/1 "2008-03-09T23:01:39Z")

</div>

Hi Friends…

I’ve got some nasty problem…

I’ve designed a flash gallery kind of swf. I am aligning all my internal asset to topleft on stage dynamically and by calculating diff i m making my main MC stay there in center of the stage, whatever the stage size be. And i m stratching my background object made in flash vector to the stage size.

Now in my main mc i m scrolling inside mc on mouse movement and its working fine when i play there in flash player stand alone and mc moves as per whatever x & y coordinates i have given, its also run fine if i maximise the player window.

But when i put my this swf file in to browser and give it 100% H & W its not working fine as per my given x & y cordinates. My main container movie clip remains there in center but the inside movie click scrolling starts from the very left of the browser page.

I dont know how to figure out this issue. Plz help

Many thx
