EMAIL: info@ardisialabs.com
Contact envelope

Magnifier

Overview

Creates a magnification effect over a targeted UIComponent.

Creating the Magnifier Component

Do not add the component directly to the display list. To use, first initialize an instance in Actionscript or in the <fx:Declarations> tag of an MXML document.

Using the Magnifier Component

Call magnify() to apply the component to a target.

Remove the effect via remove(). If the target for the effect has not changed, there is no need to call remove() before calling magnify() again on the same target component.

The "displacementScale" property controls the level of zoom. Positive values zoom in while negative values zoom out. To apply a change in the "displacementScale" property, call magnify() after changing the "displacementScale" property.

Example

See the Magnifier demo application for example code.

Back To Top