| Package | org.coretween.effects |
| Class | public class Effect |
| Inheritance | Effect Tween flash.events.EventDispatcher |
| Subclasses | BlurEffect, ColorMatrixEffect, ColorTransformEffect, GlowEffect |
| Property | Defined By | ||
|---|---|---|---|
![]() | delay : Number
Sets or gets the delay of a Tween object. | Tween | |
![]() | duration : Number
Sets or returns the duration of the Tween. | Tween | |
![]() | equations : Object [write-only]
Sets or returns the equations that the Tween object is tweening with. | Tween | |
![]() | FRAME : uint = 2 [static]
Use this constant to specify if frame based rendering is preferred
when executing the tween. | Tween | |
![]() | loop : Boolean
Indicates whether the Tween object loops or not. | Tween | |
![]() | paused : Boolean [read-only]
Returns the current paused state of the Tween object. | Tween | |
![]() | position : Number [read-only]
Returns the percentage that the tween has completed. | Tween | |
| QUALITY_HIGH : uint = 3 [static] | Effect | ||
| QUALITY_LOW : uint = 1 [static] | Effect | ||
| QUALITY_MEDIUM : uint = 2 [static] | Effect | ||
| target : Object [override] | Effect | ||
![]() | TIME : uint = 1 [static]
Use this constant to specify if time based rendering is preferred
when executing the tween. | Tween | |
![]() | tweening : Boolean [read-only]
Returns the current tweening state of the Tween. | Tween | |
![]() | type : uint
Sets or returns the rendering method for the tween. | Tween | |
![]() | values : Object
Sets or returns the properties to tween and the values to tween to for the
Tween object to operate on. | Tween | |
| Property | Defined By | ||
|---|---|---|---|
| _effectTarget : Object = null | Effect | ||
| Method | Defined By | ||
|---|---|---|---|
Effect(target:Object, values:Object, duration:Number, equations:Object, delay:Number = 0, loop:Boolean = false, type:uint = 0xffff) | Effect | ||
![]() | pause(... args):void
Pauses a tween. | Tween | |
![]() | resume():void
Resumes a paused tween. | Tween | |
![]() | rewind():void
Rewinds a tween to its starting position. | Tween | |
![]() | start():void
Starts a tween. | Tween | |
![]() | stop():void
Stops the tween. | Tween | |
![]() | update(timeCurrent:Number):void
Calling the update method will update the visual apearance of the tween. | Tween | |
| _effectTarget | property |
protected var _effectTarget:Object = null| QUALITY_HIGH | property |
public static var QUALITY_HIGH:uint = 3| QUALITY_LOW | property |
public static var QUALITY_LOW:uint = 1| QUALITY_MEDIUM | property |
public static var QUALITY_MEDIUM:uint = 2| target | property |
target:Object[override] public function get target():Object public function set target(value:Object):void| Effect | () | Constructor |
public function Effect(target:Object, values:Object, duration:Number, equations:Object, delay:Number = 0, loop:Boolean = false, type:uint = 0xffff)target:Object | |
values:Object | |
duration:Number | |
equations:Object | |
delay:Number (default = 0) | |
loop:Boolean (default = false) | |
type:uint (default = 0xffff) |