| Package | com.jumpeye.flashEff.core.interfaces |
| Interface | public interface IFlashEffButtonEffect |
| Property | Defined by | ||
|---|---|---|---|
| component : IFlashEff
Reference to the FlashEff component instance using the current ButtonEffect pattern.
| IFlashEffButtonEffect | ||
| easeType : String
The types of easing that will be applied by the pattern.
| IFlashEffButtonEffect | ||
| target : DisplayObject
The target object to which the effect will be associated with.
| IFlashEffButtonEffect | ||
| tweenDuration : Number
The time duration of the action, measured in seconds.
| IFlashEffButtonEffect | ||
| tweenType : String
The type of tween animation used by the pattern.
| IFlashEffButtonEffect | ||
| Method | Defined by | ||
|---|---|---|---|
|
apply():void
Reapplies the ButtonEffect pattern on the target object, after it has been removed with the
remove() method. | IFlashEffButtonEffect | ||
|
buttonPress():void
Manually applies the mouse press state on the target object, without the mouse press action, and dispatches
the
FLASHEFFEvents.MOUSE_DOWN event. | IFlashEffButtonEffect | ||
|
buttonRelease():void
Manually applies the mouse release state on the target object, without the mouse release action, and dispatches
the
FLASHEFFEvents.MOUSE_UP event. | IFlashEffButtonEffect | ||
|
buttonRollOut():void
Manually applies the roll out state on the target object, without the mouse moving out of it, and dispatches
the
FLASHEFFEvents.ROLL_OUT event. | IFlashEffButtonEffect | ||
|
buttonRollOver():void
Manually applies the roll over state on the target object, without the mouse getting over it, and dispatches
the
FLASHEFFEvents.ROLL_OVER event. | IFlashEffButtonEffect | ||
|
remove():void
Removes the current pattern from the target object but not from the FlashEff instance.
| IFlashEffButtonEffect | ||
| component | property |
component:IFlashEff [read-write]Reference to the FlashEff component instance using the current ButtonEffect pattern.
Implementation public function get component():IFlashEff
public function set component(value:IFlashEff):void
See also
| easeType | property |
easeType:String [read-write]
The types of easing that will be applied by the pattern. Supported values are "easeIn",
"easeOut", "easeInOut" and "easeNone".
public function get easeType():String
public function set easeType(value:String):void
| target | property |
target:DisplayObject [read-write]
The target object to which the effect will be associated with. The effect will be applied
only on the event it is associated with: rollOver, rollOut,
press and release.
public function get target():DisplayObject
public function set target(value:DisplayObject):void
| tweenDuration | property |
tweenDuration:Number [read-write]The time duration of the action, measured in seconds.
Implementation public function get tweenDuration():Number
public function set tweenDuration(value:Number):void
| tweenType | property |
tweenType:String [read-write]
The type of tween animation used by the pattern. Supported values are "Regular",
"Strong", "Back", "Bounce", "Elastic" and
"None".
public function get tweenType():String
public function set tweenType(value:String):void
| apply | () | method |
public function apply():void
Reapplies the ButtonEffect pattern on the target object, after it has been removed with the
remove() method.
See also
| buttonPress | () | method |
public function buttonPress():void
Manually applies the mouse press state on the target object, without the mouse press action, and dispatches
the FLASHEFFEvents.MOUSE_DOWN event. This is useful when the component should visually change
the state of the target object but not as a result of mouse interraction.
See also
| buttonRelease | () | method |
public function buttonRelease():void
Manually applies the mouse release state on the target object, without the mouse release action, and dispatches
the FLASHEFFEvents.MOUSE_UP event. This is useful when the component should visually change
the state of the target object but not as a result of mouse interraction.
See also
| buttonRollOut | () | method |
public function buttonRollOut():void Manually applies the roll out state on the target object, without the mouse moving out of it, and dispatches
the FLASHEFFEvents.ROLL_OUT event. This is useful when the component should visually change
the state of the target object but not as a result of mouse interraction.
See also
| buttonRollOver | () | method |
public function buttonRollOver():void
Manually applies the roll over state on the target object, without the mouse getting over it, and dispatches
the FLASHEFFEvents.ROLL_OVER event. This is useful when the component should visually change
the state of the target object but not as a result of mouse interraction.
See also
| remove | () | method |
public function remove():voidRemoves the current pattern from the target object but not from the FlashEff instance.
See also