Sorry for the formatting of the code, my editor is having issues:
<mx:Button label=”Image Button”
toggle=”true”
color=”0xFFFFAA”
textRollOverColor=”0xAAAA55″
textSelectedColor=”0xFFFF00″
upSkin=”@Embed(source=’assets/buttonUp.gif’)”
overSkin=”@Embed(source=’assets/buttonOver.gif’)”
downSkin=”@Embed(source=’assets/buttonDown.gif’)”
disabledSkin=”@Embed(source=’assets/buttonDisabled.gif’)”
icon=”@Embed(source=’assets/logo.gif’)”/>
grate tip. I would like to see how to do it programatically too.