0 Replies Latest reply on Aug 10, 2006 6:14 PM by danielwabyick

    Button.icon style not functioning when defined via external CSS

    danielwabyick
      I found a pretty straightforward bug. I can't get the "icon" property to effect a Button when its defined in an external CSS. e.g.

      .roomButton {
      icon: Embed("../assets/icons/room.png");
      }

      The following does work:

      .roomButton {
      upIcon: Embed("../assets/icons/room.png");
      overIcon: Embed("../assets/icons/room_over.png");
      downIcon: Embed("../assets/icons/room.png");
      }

      The following also works:
      <mx:Button icon="@Embed('assets/projector.jpg')" />

      This seems like a minor bug. Not sure where else to report it.