Packagecom.flexicious.controls
Classpublic class ImageButton
InheritanceImageButton Inheritance mx.controls.Image

A lightweight image that reproduces some functionality of the button without the additional weight associated with the button.



Public Properties
 PropertyDefined By
  cornerRadius : Number = 4
For rounded corners, the radius.
ImageButton
  enabled : Boolean
[override] [write-only]
ImageButton
  rectEnd : Number = 0
The pixel offset to end the border rectangle at.
ImageButton
  rectStart : Number = 0
The pixel offset to start the border rectangle at.
ImageButton
  state : String
Can be either over down nor blank.
ImageButton
Public Methods
 MethodDefined By
  
ImageButton
  
fillFromStyle(v:Object):IFill
[static]
ImageButton
  
Invalidates the fill, calls invalidate displaylist
ImageButton
Styles
 Style Description Defined By
  
bordercolor
Type: uint Format: Color
ImageButton
  
borderthickness
Type: uint
ImageButton
  
downbordercolor
Type: uint Format: Color
ImageButton
  
downborderthickness
Type: uint
ImageButton
  
downfill
Type: mx.graphics.IFill
ImageButton
  
fill
Type: mx.graphics.IFill
ImageButton
  
overbordercolor
Type: uint Format: Color
ImageButton
  
overborderthickness
Type: uint
ImageButton
  
overfill
Type: mx.graphics.IFill
ImageButton
Property Detail
cornerRadiusproperty
public var cornerRadius:Number = 4

For rounded corners, the radius.

enabledproperty 
enabled:Boolean  [write-only] [override]


Implementation
    public function set enabled(value:Boolean):void
rectEndproperty 
public var rectEnd:Number = 0

The pixel offset to end the border rectangle at. Applied to both X and Y cordinates

rectStartproperty 
public var rectStart:Number = 0

The pixel offset to start the border rectangle at. Applied to both X and Y cordinates

stateproperty 
state:String

Can be either over down nor blank.


Implementation
    public function get state():String
    public function set state(value:String):void
Constructor Detail
ImageButton()Constructor
public function ImageButton()



Method Detail
fillFromStyle()method
public static function fillFromStyle(v:Object):IFill

Parameters

v:Object

Returns
IFill
invalidateFill()method 
public function invalidateFill():void

Invalidates the fill, calls invalidate displaylist