Packagespark.transitions
Classpublic class SlideViewTransition
InheritanceSlideViewTransition Inheritance ViewTransitionBase Inheritance flash.events.EventDispatcher

Language Version : ActionScript 3.0
Product Version : Flex 4.5
Runtime Versions : AIR 2.5

The SlideViewTransition class performs a simple slide transition for views. The existing view slides out as the new view slides in. The slide transition supports several modes (push, cover, and uncover) as well as an optional direction (up, down, left, or right).

Note:Create and configure view transitions in ActionScript; you cannot create them in MXML.

See also

SlideViewTransitionMode
ViewTransitionDirection


Public Properties
 PropertyDefined By
  AIR-only direction : String
Specifies the direction of slide transition.
SlideViewTransition
 InheritedAIR-only duration : Number
Duration of the transition, in milliseconds.
ViewTransitionBase
 InheritedAIR-only easer : IEaser
The easing behavior for this transition.
ViewTransitionBase
 InheritedAIR-only endView : View
The view that the navigator is transitioning to, as set by the owning ViewNavigator object.
ViewTransitionBase
  AIR-only mode : String
Specifies the type of slide transition to perform.
SlideViewTransition
 InheritedAIR-only navigator : ViewNavigator
Reference to the owning ViewNavigator instance set by the owning ViewNavigator.
ViewTransitionBase
 InheritedAIR-only startView : View
The currently active view of the view navigator, as set by the owning view navigator.
ViewTransitionBase
 InheritedAIR-only suspendBackgroundProcessing : Boolean
When set to true, the UIComponent.suspendBackgroundProcessing() method is invoked prior to the transition playing.
ViewTransitionBase
 InheritedAIR-only 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
 MethodDefined By
  
Constructor.
SlideViewTransition
 Inherited
Called by the ViewNavigator during the preparation phase of a transition.
ViewTransitionBase
 Inherited
Called by the ViewNavigator during the preparation phase of a transition.
ViewTransitionBase
 Inherited
AIR-only play():void
Called by the ViewNavigator when the transition should begin animating.
ViewTransitionBase
 Inherited
Called by the ViewNavigator during the preparation phase of a transition.
ViewTransitionBase
Protected Methods
 MethodDefined By
 Inherited
Determine if Flex can perform a transition on action bar or tab bar content independently of the views.
ViewTransitionBase
 Inherited
AIR-only cleanUp():void
Called after the transition completes.
ViewTransitionBase
 Inherited
Called by the default prepareForPlay() implementation, this method is responsible for creating the Spark effect played on the action bar when the transition starts.
ViewTransitionBase
 Inherited
Called by the default prepareForPlay() implementation, this method is responsible for creating the Spark effect played to transition the entire navigator, inclusive of the control bar content, when necessary.
ViewTransitionBase
 Inherited
Called by the default prepareForPlay() implementation, this method is responsible for creating the Spark effect played on the tab bar when the transition starts.
ViewTransitionBase
 Inherited
Called by the default prepareForPlay() implementation, this method is responsible for creating the Spark effect played on the current and next view when the transition starts.
ViewTransitionBase
 Inherited
AIR-only getSnapshot(target:UIComponent, padding:int = 4, globalPosition:Point = null):BitmapImage
Used to render snap shots of screen elements in preparation for transitioning.
ViewTransitionBase
 Inherited
Called by the transition to indicate that the transition has completed.
ViewTransitionBase
Events
 Event Summary Defined By
 InheritedDispatched when the transition completes.ViewTransitionBase
 InheritedDispatched when the transition starts.ViewTransitionBase
Property Detail
AIR-only directionproperty
direction:String

Language Version : ActionScript 3.0
Product Version : Flex 4.5
Runtime Versions : AIR 2.5

Specifies the direction of slide transition.

The default value is ViewTransitionDirection.LEFT.


Implementation
    public function get direction():String
    public function set direction(value:String):void
AIR-only modeproperty 
mode:String

Language Version : ActionScript 3.0
Product Version : Flex 4.5
Runtime Versions : AIR 2.5

Specifies the type of slide transition to perform.

The default value is SlideViewTransitionMode.PUSH.


Implementation
    public function get mode():String
    public function set mode(value:String):void
Constructor Detail
AIR-only SlideViewTransition()Constructor
public function SlideViewTransition()

Language Version : ActionScript 3.0
Product Version : Flex 4.5
Runtime Versions : AIR 2.5

Constructor.