Package | spark.transitions |
Class | public class SlideViewTransition |
Inheritance | SlideViewTransition ViewTransitionBase flash.events.EventDispatcher |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | AIR 2.5 |
Note:Create and configure view transitions in ActionScript; you cannot create them in MXML.
See also
Property | Defined By | ||
---|---|---|---|
direction : String
Specifies the direction of slide transition. | SlideViewTransition | ||
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 | ||
mode : String
Specifies the type of slide transition to perform. | SlideViewTransition | ||
navigator : ViewNavigator
Reference to the owning ViewNavigator instance set by the owning
ViewNavigator. | ViewTransitionBase | ||
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 |
Method | Defined By | ||
---|---|---|---|
Constructor. | SlideViewTransition | ||
captureEndValues():void
Called by the ViewNavigator during the preparation phase of a transition. | ViewTransitionBase | ||
captureStartValues():void
Called by the ViewNavigator during the preparation phase of a transition. | ViewTransitionBase | ||
play():void
Called by the ViewNavigator when the transition
should begin animating. | ViewTransitionBase | ||
prepareForPlay():void
Called by the ViewNavigator during the preparation phase
of a transition. | ViewTransitionBase |
direction | property |
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
.
public function get direction():String
public function set direction(value:String):void
mode | property |
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
.
public function get mode():String
public function set mode(value:String):void
SlideViewTransition | () | Constructor |
public function SlideViewTransition()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | AIR 2.5 |
Constructor.