title: Flex Popup Button Question
body: <p>Banging my head against the wall here. I don't want to reinvent the wheel.</p>
  
  <p>The default Flex 3 classs for PopupButton is a combination of two buttons. One is a normal button with label and/or icon, and the second is the arrow which opens the popup. </p>
  
  <p>My struggle here is that I just want a button with an icon that opens the popup directly, without having to write all the popup handling code all over again. The plan was to override the PopupButton class with, say, a new class called SimplePopupButton. This class would just hide the arrow, and point the button click handler to open the popup.</p>
  
  <p>Seems simple, but I don't see an easy way to do this. Suggestions? Alternatives?</p>
  
  <hr>
  
  <p>[<strong>Edit</strong>] I want a 16x16 icon button that opens a popup. PopupButton shipped with flex has two buttons: "It contains a main button and a secondary button, called the pop-up button, which pops up any UIComponent object when a user clicks the pop-up button." (<a href="http://livedocs.adobe.com/flex/3/langref/index.html" rel="nofollow noreferrer">source</a>). I want the main button to open the popup, and hide the popup-button. (or vice-versa) </p>