Package | com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses |
Class | public class Effect |
Subclasses | MaskEffect, SoundEffect, TweenEffect |
See also
Property | Defined by | ||
---|---|---|---|
duration : Number
Duration of the effect in milliseconds.
| Effect | ||
repeatCount : Number
Number of times to repeat the effect.
| Effect | ||
repeatDelay : Number
Amount of time, in milliseconds, to wait before repeating the effect.
| Effect | ||
startDelay : Number
Amount of time, in milliseconds, to wait before starting the effect.
| Effect |
Method | Defined by | ||
---|---|---|---|
Effect()
| Effect |
duration | property |
public var duration:Number
Duration of the effect in milliseconds.
For a repeated effect, the duration property specifies the duration of a single instance of the effect. Therefore, if an effect has a duration property set to 2000, and a repeatCount property set to 3, the effect takes a total of 6000 ms (6 seconds) to play.
repeatCount | property |
public var repeatCount:Number
Number of times to repeat the effect. Possible values are any integer greater than or equal to 0. A value of 1 means to play the effect once. A value of 0 means to play the effect indefinitely.
The default value is 1
repeatDelay | property |
public var repeatDelay:Number
Amount of time, in milliseconds, to wait before repeating the effect. Possible values are any integer greater than or equal to 0.
The default value is 0
startDelay | property |
public var startDelay:Number
Amount of time, in milliseconds, to wait before starting the effect. Possible values are any int greater than or equal to 0. If the effect is repeated by using the repeatCount property, the startDelay is only applied to the first time the effect is played.
The default value is 0
Effect | () | constructor |
public function Effect()