6 Replies Latest reply on Apr 19, 2007 1:33 PM by MadamZuZu

    Is possible to add a image in  a button?

    lli123 Level 1
      I know it can assign a icon for <mx:Button ...>

      my button is created programly:

      var but:Button = new Button();
      but.width=20;
      but.addEventListener("click",indent);
      myRTE.toolbar.addChild(but);

      I want to assign a image on this button. Who has idea how to do it?