Packagecom.threerings.ui
Classpublic class SimpleIconButton
InheritanceSimpleIconButton Inheritance flash.display.SimpleButton

Takes a BitmapData and makes a button that brightens on hover and depresses when pushed.



Public Methods
 MethodDefined by
  
Constructor.
SimpleIconButton
  
setIcon(icon:*):void
Update the icon for this button.
SimpleIconButton
Constructor detail
SimpleIconButton()constructor
public function SimpleIconButton(icon:*)

Constructor.

Parameters
icon:*

See also

Method detail
setIcon()method
public function setIcon(icon:*):void

Update the icon for this button.

Parameters
icon:* — a BitmapData, or Bitmap (from which the BitmapData will be extracted), or a Class that instantiates into either a BitmapData or Bitmap.