Getting rid of a button’s border/linkbutton’s background roll over state in Flex

Some Flex components have visual elements that cannot be controlled with CSS. Have you ever tried removing the border of a Button or the roll over background color of a LinkButton? I had this problem a few times before and the solution to this is very simple. Just reset the skin :-)


.myButtonStyle
{
	skin: ClassReference("mx.skins.ProgrammaticSkin");
}

About this entry