# Pixel font in centered mc

**URL:** <https://forum.kirupa.com/t/pixel-font-in-centered-mc/213226>\
**Category:** Uncategorized\
**Created:** [January 17, 2007, 10:02pm UTC](https://forum.kirupa.com/t/pixel-font-in-centered-mc/213226 "2007-01-17T22:02:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cal\_one](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@cal\_one](https://forum.kirupa.com/u/cal_one)\
**Post date:** [January 17, 2007, 10:02pm UTC](https://forum.kirupa.com/t/pixel-font-in-centered-mc/213226/1 "2007-01-17T22:02:29Z")

</div>

Hello  
I’m building a site where i use this AS to put my main MC always centered on stage when/if the visitor changes the size of the browser window. [http://www.ffiles.com/flash/actionscript/mc\_align/](http://www.ffiles.com/flash/actionscript/mc_align/)

The problem is that i want to use a pixelfont on my site, but if i change the size of the browser window and the main MC ends up on a X/Y value wich is not a whole pixel the pixelfont gets blurred… Im guessing this could be solved by the math.round function or something? But im no master at AS so i could use some help.

thanks  
/Cal
