Flash Center alignment problem

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