Packagecom.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses
Classpublic class Zoom
InheritanceZoom Inheritance TweenEffect Inheritance Effect

[Dummy Class Only!] The Zoom effect zooms the object in or out on a center point.

When you apply a Zoom effect to text rendered using a system font, the text scales automatically between whole point sizes. While you do not have to use embedded fonts when you apply a Zoom effect to text, the Zoom will appear smoother when you apply it to embedded fonts.

Note: The Zoom effect does not work when the Container.autoLayout property is false.

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
  captureRollEvents : Boolean
If true, prevents the slideshow from dispatching the rollOut and rollOver events if the mouse has not moved.
Zoom
 Inheritedduration : Number
Duration of the effect in milliseconds.
Effect
 InheritedeasingFunction : Function
The easing function for the animation.
TweenEffect
 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
  zoomHeightFrom : Number
Number that represents the scale at which to start the height zoom, as a percent between 0.01 and 1.0.
Zoom
  zoomHeightTo : Number
Number that represents the scale at which to complete the height zoom, as a percent between 0.01 and 1.0.
Zoom
  zoomWidthFrom : Number
Number that represents the scale at which to start the width zoom, as a percent between 0.01 and 1.0.
Zoom
  zoomWidthTo : Number
Number that represents the scale at which to complete the width zoom, as a percent between 0.01 and 1.0.
Zoom
Public Methods
 MethodDefined by
  
Zoom()
Zoom
Property detail
captureRollEventsproperty
public var captureRollEvents:Boolean

If true, prevents the slideshow from dispatching the rollOut and rollOver events if the mouse has not moved. Set this property to true when you use the Zoom effect to toggle the effect target between a big and small size.

For example, you use the rollOverEffect to trigger the Zoom effect to reduce the size of the target. As the target shrinks, the mouse pointer is no longer over the target, triggering a rollOut event, and the corresponding rollOutEffect. By setting the captureRollEvents property to true, you prevent the slideshow from dispatching the rollOut event unless it occurs because you moved the mouse.

The default value is false.

zoomHeightFromproperty 
public var zoomHeightFrom:Number

Number that represents the scale at which to start the height zoom, as a percent between 0.01 and 1.0.

The default value is 0.01, which is very small.

zoomHeightToproperty 
public var zoomHeightTo:Number

Number that represents the scale at which to complete the height zoom, as a percent between 0.01 and 1.0.

The default value is 1.0, which is the object's normal size.

zoomWidthFromproperty 
public var zoomWidthFrom:Number

Number that represents the scale at which to start the width zoom, as a percent between 0.01 and 1.0.

The default value is 0.01, which is very small.

zoomWidthToproperty 
public var zoomWidthTo:Number

Number that represents the scale at which to complete the width zoom, as a percent between 0.01 and 1.0.

The default value is 1.0, which is the object's normal size.

Constructor detail
Zoom()constructor
public function Zoom()