Package | spark.transitions |
Class | public class ZoomViewTransition |
Inheritance | ZoomViewTransition ViewTransitionBase EventDispatcher Object |
Deprecated since 4.6
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.
Related API Elements
ZoomViewTransitionMode
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
duration : Number
Duration of the transition, in milliseconds. | ViewTransitionBase | ||
easer : IEaser
The easing behavior for this transition. | ViewTransitionBase | ||
endView : View
The view that the navigator is transitioning
to, as set by the owning ViewNavigator object. | ViewTransitionBase | ||
minimumScale : Number
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 | ||
mode : String
Specifies the type of zoom transition to perform. | ZoomViewTransition | ||
navigator : ViewNavigator
Reference to the owning ViewNavigator instance set by the owning
ViewNavigator. | ViewTransitionBase | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
startView : View
The currently active view of the view navigator,
as set by the owning view navigator. | ViewTransitionBase | ||
suspendBackgroundProcessing : Boolean
When set to true, the UIComponent.suspendBackgroundProcessing()
method is invoked prior to the transition playing. | ViewTransitionBase | ||
transitionControlsWithContent : Boolean
When set to true, the primary view transition
is used to transition the view navigator in its entirety,
including the action bar. | ViewTransitionBase |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | ZoomViewTransition | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | EventDispatcher | ||
Called by the ViewNavigator during the preparation phase of a transition. | ViewTransitionBase | ||
Called by the ViewNavigator during the preparation phase of a transition. | ViewTransitionBase | ||
Dispatches an event into the event flow. | EventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Called by the ViewNavigator when the transition
should begin animating. | ViewTransitionBase | ||
Called by the ViewNavigator during the preparation phase
of a transition. | ViewTransitionBase | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Removes a listener from the EventDispatcher object. | EventDispatcher | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
Protected Methods
Property Detail
minimumScale | 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.
Implementation
public function get minimumScale():Number
public function set minimumScale(value:Number):void
mode | property |
Constructor Detail
ZoomViewTransition | () | Constructor |
public function ZoomViewTransition()
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | AIR 2.5 |
Constructor.
Mon Nov 28 2011, 06:48 AM -08:00