Packagecom.boostworthy.core
Classpublic class EnhancedSimpleButton
InheritanceEnhancedSimpleButton Inheritance flash.display.SimpleButton
ImplementsIColorable, IDisposable

The 'EnhancedSimpleButton' class extends upon the 'SimpleButton' class by providing an enhanced foundation for additional garbage collection and color support.

See also

com.boostworthy.core.IColorable
com.boostworthy.core.IDisposable
com.boostworthy.geom.ColorMatrix


Public Properties
 PropertyDefined by
  colorMatrix : ColorMatrix
[read-only] Gets a reference to this object's color matrix.
EnhancedSimpleButton
Protected Properties
 PropertyDefined by
  m_objColorMatrix : ColorMatrix
Holds an instance of the color matrix object for manipulating this object's color.
EnhancedSimpleButton
Public Methods
 MethodDefined by
  
Constructor.
EnhancedSimpleButton
  
dispose():void
Clean up this object for garbage collection.
EnhancedSimpleButton
Protected Methods
 MethodDefined by
  
Applies the current value of the color matrix to this object by creating a new color matrix filter and applying the color matrix to it.
EnhancedSimpleButton
  
init():void
Initializes this object.
EnhancedSimpleButton
  
onColorMatrixChange(objEvent:Event):void
Called whenever this object's color matrix changes.
EnhancedSimpleButton
Property detail
colorMatrixproperty
colorMatrix:ColorMatrix  [read-only]

Gets a reference to this object's color matrix.

Implementation
    public function get colorMatrix():ColorMatrix

See also

m_objColorMatrixproperty 
protected var m_objColorMatrix:ColorMatrix

Holds an instance of the color matrix object for manipulating this object's color.

Constructor detail
EnhancedSimpleButton()constructor
public function EnhancedSimpleButton()

Constructor.

Method detail
applyColorMatrix()method
protected function applyColorMatrix():void

Applies the current value of the color matrix to this object by creating a new color matrix filter and applying the color matrix to it. The filter is then added to the existing filter collection for this object.

See also

dispose()method 
public function dispose():void

Clean up this object for garbage collection.

init()method 
protected function init():void

Initializes this object.

onColorMatrixChange()method 
protected function onColorMatrixChange(objEvent:Event):void

Called whenever this object's color matrix changes.

Parameters
objEvent:Event — An object containing information about the event.

See also