Packagecom.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses
Classpublic class Resize
InheritanceResize Inheritance TweenEffect Inheritance Effect

[Dummy Class Only!] The Resize effect changes the width, height, or both dimensions of a component over a specified time interval.

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

com.dwuser.ss4.managers.EffectLibrary


Public Properties
 PropertyDefined by
 Inheritedduration : Number
Duration of the effect in milliseconds.
Effect
 InheritedeasingFunction : 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
 InheritedrepeatCount : Number
Number of times to repeat the effect.
Effect
 InheritedrepeatDelay : Number
Amount of time, in milliseconds, to wait before repeating the effect.
Effect
 InheritedstartDelay : 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
Public Methods
 MethodDefined by
  
Resize
Property detail
heightByproperty
public var heightBy:Number

Number of pixels by which to modify the height of the component. Values may be negative.

heightFromproperty 
public var heightFrom:Number

Initial height, in pixels. If omitted, the slideshow automatically uses the current height.

heightToproperty 
public var heightTo:Number

Final height, in pixels.

widthByproperty 
public var widthBy:Number

Number of pixels by which to modify the width of the component. Values may be negative.

widthFromproperty 
public var widthFrom:Number

Initial width, in pixels. If omitted, the slideshow automatically uses the current width.

widthToproperty 
public var widthTo:Number

Final width, in pixels.

Constructor detail
Resize()constructor
public function Resize()