| Package | spark.transitions |
| Class | public class ZoomViewTransition |
| Inheritance | ZoomViewTransition ViewTransitionBase flash.events.EventDispatcher |
| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | AIR 2.5 |
The default duration of a ZoomViewTransition is 350ms.
Also, by default it transitions the control bar and view content
as one as if transitionControlsWithContent is true.
Note:Create and configure view transitions in ActionScript; you cannot create them in MXML.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() |
Duration of the transition, in milliseconds. | ViewTransitionBase | |
![]() |
The easing behavior for this transition. | ViewTransitionBase | |
![]() |
The view that the navigator is transitioning
to, as set by the owning ViewNavigator object. | ViewTransitionBase | |
Specifies the minimum scale of the zoomed view (represents when the
view is first visible when zooming in or last visible when zooming
out). | ZoomViewTransition | ||
Specifies the type of zoom transition to perform. | ZoomViewTransition | ||
![]() |
Reference to the owning ViewNavigator instance set by the owning
ViewNavigator. | ViewTransitionBase | |
![]() |
The currently active view of the view navigator,
as set by the owning view navigator. | ViewTransitionBase | |
![]() |
When set to true, the UIComponent.suspendBackgroundProcessing()
method is invoked prior to the transition playing. | ViewTransitionBase | |
![]() |
When set to true, the primary view transition
is used to transition the view navigator in its entirety,
including the action bar. | ViewTransitionBase | |
| Method | Defined By | ||
|---|---|---|---|
Constructor. | ZoomViewTransition | ||
![]() |
Called by the ViewNavigator during the preparation phase of a transition. | ViewTransitionBase | |
![]() |
Called by the ViewNavigator during the preparation phase of a transition. | ViewTransitionBase | |
![]() |
Called by the ViewNavigator when the transition
should begin animating. | ViewTransitionBase | |
![]() |
Called by the ViewNavigator during the preparation phase
of a transition. | ViewTransitionBase | |
| property |
minimumScale:Number| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | AIR 2.5 |
Specifies the minimum scale of the zoomed view (represents when the view is first visible when zooming in or last visible when zooming out).
The default value is .25.
public function get minimumScale():Number public function set minimumScale(value:Number):void| property |
mode:String| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | AIR 2.5 |
Specifies the type of zoom transition to perform.
The default value is ZoomTransitionMode.OUT.
public function get mode():String public function set mode(value:String):void| () | Constructor |
public function ZoomViewTransition()| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | AIR 2.5 |
Constructor.