# V2 Button component doesn't handle pixel fonts well?

**URL:** <https://forum.kirupa.com/t/v2-button-component-doesnt-handle-pixel-fonts-well/89518>\
**Category:** flash\
**Created:** [May 9, 2005, 10:23am UTC](https://forum.kirupa.com/t/v2-button-component-doesnt-handle-pixel-fonts-well/89518 "2005-05-09T10:23:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_knights](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@alex\_knights](https://forum.kirupa.com/u/alex_knights)\
**Post date:** [May 9, 2005, 10:23am UTC](https://forum.kirupa.com/t/v2-button-component-doesnt-handle-pixel-fonts-well/89518/1 "2005-05-09T10:23:40Z")

</div>

I am creating buttons in code using the macromedia V2 Button component with a Flash 7 application but the embedded pixel fonts which work fine elsewhere in the app are blurry and apparently antialiasing on these button labels. Is there a way I can get inside the button component to resolve this issue or failing that is there an alternative Button component that will do the job that anyone can recommend. Please help!

\_global.styles.Button.setStyle(“embedFonts”, true);

var initObject = new Object();  
initObject.backgroundColor = “0xFFFFFF”;  
initObject.color = “0x333333”;  
initObject.fontFamily = “standard 07\_57”;  
initObject.fontSize = 8;

testBtn = menu\_item\_container.createClassObject(Button, menu\_item\_model.name, 0, initObject);  
testBtn.label = menu\_item\_model.name;  
testBtn.enabled = true;
