| Package | com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses |
| Class | public class Resize |
| Inheritance | Resize TweenEffect Effect |
If you specify only two of the three values of the widthFrom, widthTo, and widthBy properties, the slideshow automatically calculates
the third. If you specify all three, the slideshow ignores the widthBy value. If you specify only the widthBy or the widthTo value, the widthFrom property is set
to be the object's current width. The same is true for heightFrom, heightTo, and heightBy property values.
If you specify a Resize effect for a resize trigger, and if you do not set the six From, To, and By properties, the slideshow automatically sets them to create a smooth transition between the object's old size and its new size.
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 | |
| heightBy : Number
Number of pixels by which to modify the height of the component.
| Resize | ||
| heightFrom : Number
Initial height, in pixels.
| Resize | ||
| heightTo : Number
Final height, in pixels.
| Resize | ||
![]() | 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 | |
| widthBy : Number
Number of pixels by which to modify the width of the component.
| Resize | ||
| widthFrom : Number
Initial width, in pixels.
| Resize | ||
| widthTo : Number
Final width, in pixels.
| Resize | ||
| Method | Defined by | ||
|---|---|---|---|
|
Resize()
| Resize | ||
| heightBy | property |
public var heightBy:NumberNumber of pixels by which to modify the height of the component. Values may be negative.
| heightFrom | property |
public var heightFrom:NumberInitial height, in pixels. If omitted, the slideshow automatically uses the current height.
| heightTo | property |
public var heightTo:NumberFinal height, in pixels.
| widthBy | property |
public var widthBy:NumberNumber of pixels by which to modify the width of the component. Values may be negative.
| widthFrom | property |
public var widthFrom:NumberInitial width, in pixels. If omitted, the slideshow automatically uses the current width.
| widthTo | property |
public var widthTo:NumberFinal width, in pixels.
| Resize | () | constructor |
public function Resize()