Package | com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses |
Class | public class Zoom |
Inheritance | Zoom TweenEffect Effect |
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
Property | Defined by | ||
---|---|---|---|
captureRollEvents : Boolean
If true, prevents the slideshow from dispatching the
rollOut and rollOver events if the mouse has not moved. | Zoom | ||
duration : Number
Duration of the effect in milliseconds.
| Effect | ||
easingFunction : Function
The easing function for the animation.
| TweenEffect | ||
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 | ||
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 |
Method | Defined by | ||
---|---|---|---|
Zoom()
| Zoom |
captureRollEvents | property |
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
.
zoomHeightFrom | property |
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.
zoomHeightTo | property |
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.
zoomWidthFrom | property |
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.
zoomWidthTo | property |
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.
Zoom | () | constructor |
public function Zoom()