Package | com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses |
Class | public class AnimateProperty |
Inheritance | AnimateProperty TweenEffect Effect |
For example, to change the width of a Button control, you can specify width as the property to animate, and starting and ending width values to the effect.
This class is part of the EffectLibrary sub-effect documentation. It is a dummy class used only to document the supported parameters for a given sub-effect node.
See also
Property | Defined by | ||
---|---|---|---|
duration : Number
Duration of the effect in milliseconds.
| Effect | ||
easingFunction : Function
The easing function for the animation.
| TweenEffect | ||
fromValue : Number
The starting value of the property for the effect.
| AnimateProperty | ||
isStyle : Boolean
If true, the property attribute is a style and you set it by using the setStyle() method.
| AnimateProperty | ||
property : String
The name of the property on the target to animate.
| AnimateProperty | ||
repeatCount : Number
Number of times to repeat the effect.
| Effect | ||
repeatDelay : Number
Amount of time, in milliseconds, to wait before repeating the effect.
| Effect | ||
roundValue : Boolean
If true, round off the interpolated tweened value to the nearest integer.
| AnimateProperty | ||
startDelay : Number
Amount of time, in milliseconds, to wait before starting the effect.
| Effect | ||
toValue : Number
The ending value for the effect.
| AnimateProperty |
Method | Defined by | ||
---|---|---|---|
AnimateProperty |
fromValue | property |
public var fromValue:Number
The starting value of the property for the effect. The default value, which is used if no value is specified, is the target's current property value.
isStyle | property |
public var isStyle:Boolean
If true, the property attribute is a style and you set it by using the setStyle() method.
The default value is false
.
property | property |
public var property:String
The name of the property on the target to animate. This attribute is required.
roundValue | property |
public var roundValue:Boolean
If true, round off the interpolated tweened value to the nearest integer. This property is useful if the property you are animating is an int or uint.
The default value is false
.
toValue | property |
public var toValue:Number
The ending value for the effect. The default value, which is used if no value is specified, is the target's current property value.
AnimateProperty | () | constructor |
public function AnimateProperty()