Packagelunas.components.buttons
Classpublic class BitmapFilterButton
InheritanceBitmapFilterButton Inheritance FrameLabelButton Inheritance CoreButton Inheritance CoreComponent Inheritance Background Inheritance CoreSprite Inheritance flash.display.Sprite

This button filter motion to creates bitmap transitions when the button is over or selected.



Public Properties
 PropertyDefined By
 Inheritedalign : uint
The alignement of the background.
Background
 InheritedautoSize : Boolean
Indicates if the background is resizing when the stage resize event is invoked.
Background
 Inheritedborder : EdgeMetrics
Indicates the thickness, in pixels, of the four edge regions around a visual component.
CoreComponent
 InheritedbottomLeftRadius : Number
The radius of the bottom-left corner, in pixels.
Background
 InheritedbottomRightRadius : Number
The radius of the bottom-right corner, in pixels.
Background
 Inheritedbubbles : Boolean = true
Indicates if the events use bubbling when are dispatched.
CoreComponent
 Inheritedbuilder : Builder
Indicates the Builder reference of this instance.
CoreComponent
 InheritedbuttonMode : Boolean
[override] [write-only] Specifies whether this object receives mouse messages.
CoreButton
 InheritedcomponentInspectorSetting : Boolean
Initialize when the Flash component settings are initialized (only in Flash with a compiled component).
CoreComponent
 Inheriteddata : *
Indicates the data value object of the component.
CoreButton
 Inheriteddirection : String
Indicates the direction value of the background when the display is in this "full" mode (default value is null).
Background
 Inheritedenabled : Boolean
Indicates the enabled state of the component.
CoreComponent
 Inheritedfill : IFillStyle
Determinates the IFillStyle reference of this display.
Background
 InheritedgradientMatrix : Matrix
The matrix value to draw the gradient fill.
Background
 InheritedgradientRotation : Number = 0
The rotation value to draw the gradient fill.
Background
 InheritedgradientTranslation : Point
The translation vector to draw the gradient fill.
Background
 Inheritedgroup : Boolean
Indicates with a boolean if this object is grouped.
CoreComponent
 InheritedgroupName : String
Indicates the name of the group of this object.
CoreComponent
 Inheritedh : Number
Determinates the virtual height value of this component.
Background
 Inheritedindex : Number
A number value to indicated the index of this IButton.
CoreButton
 InheritedinitStatesEnabled : Boolean = true
This flag indicates if a new state register in the button is initialize.
FrameLabelButton
 InheritedisFull : Boolean
Indicates if the background use full size (use Stage.stageWidth and Stage.stageHeight to resize the background).
Background
 InheritedisReleaseOutside : Boolean = true
Indicates if the button notify a releaseOutside event.
CoreButton
 Inheritedlabel : String
Returns the text label for a button instance.
CoreButton
 Inheritedlayout : Layout
Determinates the layout of this container.
CoreComponent
 Inheritedline : ILineStyle
Determinates the ILineStyle reference of this display.
Background
 Inheritedlogger : Logger
Determinates the internal ILogger reference of this Logable object.
CoreSprite
 InheritedmaxHeight : Number
This property defined the maximum height of this display.
Background
 InheritedmaxWidth : Number
Defines the maximum width of this display.
Background
 InheritedminHeight : Number
This property defined the mimimun height of this display (This value is >= 0).
Background
 InheritedminWidth : Number
This property defined the mimimun width of this display (This value is >= 0).
Background
 InheritedmouseEnabled : Boolean
[override] Specifies whether this object receives mouse messages.
CoreButton
 Inheritedselected : Boolean
A flag that indicates whether this control is selected.
CoreButton
 Inheritedstates : MovieClip
Indicates the MovieClip reference with the state frames of this button.
FrameLabelButton
 Inheritedstyle : Style
Returns the style of this component.
CoreComponent
 Inheritedtoggle : Boolean
Indicates a boolean value indicating whether the button behaves as a toggle switch (true) or not (false).
CoreButton
 InheritedtopLeftRadius : Number
The radius of the upper-left corner, in pixels.
Background
 InheritedtopRightRadius : Number
The radius of the upper-right corner, in pixels.
Background
 InheriteduseGradientBox : Boolean
Indicates if the IFillStyle of this display use gradient box matrix (only if the IFillStyle is a FillGradientStyle).
Background
 InheriteduseHandCursor : Boolean
[override] A Boolean value that, when set to true, indicates whether Flash Player displays the hand cursor when the mouse rolls over a button.
CoreButton
 Inheritedw : Number
Determinates the virtual height value of this component.
Background
Protected Properties
 PropertyDefined By
 Inherited_scope : DisplayObjectContainer
The scope of the active display of this container component.
CoreComponent
Public Methods
 MethodDefined By
  
BitmapFilterButton(states:MovieClip = null)
Creates a new BitmapFilterButton instance.
BitmapFilterButton
 Inherited
containsType(type:String):Boolean
Returns true if the specified type is register in the object.
FrameLabelButton
 Inherited
doLater():void
Launch an event with a delayed interval.
Background
 Inherited
draw(... arguments):void
Draw the display.
Background
  
[override] Returns the Builder class of this instance.
BitmapFilterButton
  
[override] Returns the Style Class of this instance.
BitmapFilterButton
 Inherited
[override] Invoked when the group property or the groupName property changed.
CoreButton
 Inherited
hide():void
Hides the component.
CoreComponent
 Inherited
initBackgroundPen(graphic:* = null):IPen
Init the pen to draw the background of this display.
Background
 Inherited
initialize():void
Initialize the component.
CoreComponent
 Inherited
isLocked():Boolean
Returns true if the object is locked.
CoreSprite
 Inherited
isVisible():Boolean
Returns true if the component is visible.
CoreComponent
 Inherited
lock():void
[override] Locks the object.
CoreComponent
 Inherited
move(x:Number, y:Number):void
Moves the component.
CoreComponent
 Inherited
Notify a change in this component.
CoreComponent
 Inherited
Notify an event when the enabled property is changed.
CoreComponent
 Inherited
Notify an event when you resize the component.
Background
 Inherited
refresh(init:*):void
Refresh and initialize the display with a generic object and invoke the "update" method.
Background
 Inherited
registerType(type:String, callback:Function = null):void
Registers the ButtonEvent type passed in argument.
FrameLabelButton
 Inherited
registerView(scope:DisplayObjectContainer = null):void
[override] Register the view in argument.
CoreButton
 Inherited
resetLock():void
Reset the lock security of the display.
CoreSprite
 Inherited
resize(e:Event = null):void
Resize and update the background.
Background
 Inherited
scope():DisplayObject
Returns the real scope reference of this component.
CoreComponent
 Inherited
setCornerRadius(n:Number):void
Defines all corner radius of the background (upper-left, upper-right, bottom-left and bottom-right).
Background
 Inherited
setSelected(b:Boolean, options:* = null):void
Sets a boolean value indicating whether the button is selected (true) or not (false).
CoreButton
 Inherited
setSize(w:Number, h:Number):void
Sets the virtual width (w) and height (h) values of the component.
Background
 Inherited
setStyle(... args):void
Sets the style property on the style declaration or object.
CoreComponent
 Inherited
show():void
Shows the component.
CoreComponent
 Inherited
unlock():void
[override] Unlocks the display.
CoreComponent
 Inherited
unregisterType(type:String):void
Unregisters the ButtonEvent type passed in argument.
FrameLabelButton
 Inherited
[override] Unregister the view of this button.
CoreButton
 Inherited
update():void
[override] Updates the component.
CoreComponent
 Inherited
This method is invoked after the draw() method in the update() method.
Background
 Inherited
viewDestroyed(e:Event = null):void
Invoked when the component is removed.
CoreComponent
 Inherited
[override] Invoked when the enabled property of the component change.
CoreButton
 Inherited
Invoked when the label property of the component change.
CoreButton
 Inherited
viewResize():void
Invoked when the component is resized.
Background
 Inherited
viewStyleChanged(e:Event = null):void
Invoked when the component Style changed.
CoreComponent
Protected Methods
 MethodDefined By
 Inherited
_fireButtonEvent(type:String):void
Dispatchs a ButtonEvent with the specified type.
CoreButton
 Inherited
addedToStage(e:Event = null):void
Invoked when the display is added to the stage.
CoreSprite
 Inherited
addedToStageResize(e:Event = null):void
Invoked when the display is removed from the stage to enable the autoSize mode.
Background
 Inherited
fireComponentEvent(type:String):void
Dispatchs a ComponentEvent with the specified type.
CoreComponent
 Inherited
removedFromStage(e:Event = null):void
[override] Invoked when the display is removed from the stage.
CoreButton
 Inherited
removedFromStageResize(e:Event = null):void
Invoked when the display is removed from the stage to disable the autoSize mode.
Background
 Inherited
renderLayout(layout:Layout = null):void
Receives a message when the layout emit when is rendered.
CoreComponent
 Inherited
updateLayout(layout:Layout = null):void
Receives a message when the layout emit when is updated.
CoreComponent
Constructor Detail
BitmapFilterButton()Constructor
public function BitmapFilterButton(states:MovieClip = null)

Creates a new BitmapFilterButton instance.

Parameters
states:MovieClip (default = null) — the MovieClip reference with the state frames of this button.
Method Detail
getBuilderRenderer()method
override public function getBuilderRenderer():Class

Returns the Builder class of this instance.

Returns
Class — the Builder class of this instance.
getStyleRenderer()method 
override public function getStyleRenderer():Class

Returns the Style Class of this instance.

Returns
Class — the Style Class of this instance.