6 Replies Latest reply on Jun 19, 2012 10:13 AM by GrendelDeveloper

    FXG becomes pixilated as button icon

    GrendelDeveloper Level 1

      I'm trying to use FXG files as icons for my buttons but the image becomes pixilated only when I use it as the button's icon.  Here's the striped down code:


      <s:Button icon="{assets.graphics.icons.search}"/>


      If I do a simple call to the image it looks fine:


      <icons:search />


      Here's a snapshot of what it looks like:




      As you can see, the image within the button is pixilated.  The image standing alone is fine (there is some artifacting from the jpg compression on the uploaded image - ignore that).  Any thoughts on what's going on here?  Thanks!