Referenshandbok för ActionScript® 3.0 i Adobe® Flash®-plattformen
Hem  |  Dölj paket och klasslista |  Paket  |  Klasser  |  Nyheter  |  Index  |  Bilagor  |  Varför på engelska?
Filter: Hämtar data från servern ...
Hämtar data från servern ...
spark.transitions 

SlideViewTransition  - AS3 Flex

Paketspark.transitions
Klasspublic class SlideViewTransition
ArvSlideViewTransition Inheritance ViewTransitionBase Inheritance EventDispatcher Inheritance Object

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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.

Relaterade API-element



Publika egenskaper
 EgenskapDefinieras med
 Inheritedconstructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans.
Object
      direction : String
Specifies the direction of slide transition.
SlideViewTransition
 Inherited    duration : Number
Duration of the transition, in milliseconds.
ViewTransitionBase
 Inherited    easer : IEaser
The easing behavior for this transition.
ViewTransitionBase
 Inherited    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
 Inherited    navigator : ViewNavigator
Reference to the owning ViewNavigator instance set by the owning ViewNavigator.
ViewTransitionBase
 Inherited    startView : View
The currently active view of the view navigator, as set by the owning view navigator.
ViewTransitionBase
 Inherited    suspendBackgroundProcessing : Boolean
When set to true, the UIComponent.suspendBackgroundProcessing() method is invoked prior to the transition playing.
ViewTransitionBase
 Inherited    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
Publika metoder
 MetodDefinieras med
  
Constructor.
SlideViewTransition
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser.
EventDispatcher
 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
Skickar en händelse till händelseflödet.
EventDispatcher
 Inherited
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse.
EventDispatcher
 Inherited
Anger om det finns en egenskap angiven för ett objekt.
Object
 Inherited
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter.
Object
 Inherited
    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
 Inherited
Anger om den angivna egenskapen finns och är uppräkningsbar.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Tar bort en avlyssnare från EventDispatcher-objektet.
EventDispatcher
 Inherited
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder.
Object
 Inherited
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner.
Object
 Inherited
Returnerar det angivna objektets strängbeteckning.
Object
 Inherited
Returnerar det angivna objektets primitiva värde.
Object
 Inherited
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen.
EventDispatcher
Skyddade metoder
 MetodDefinieras med
 Inherited
Determine if Flex can perform a transition on action bar or tab bar content independently of the views.
ViewTransitionBase
 Inherited
    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
    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
Händelser
 Händelse Sammanfattning Definieras med
 Inherited[utsändningshändelse] Skickas när Flash Player eller AIR får operativsystemfokus och blir aktivt.EventDispatcher
 Inherited[utsändningshändelse] Skickas när Flash Player eller AIR förlorar operativsystemfokus och blir inaktivt.EventDispatcher
 InheritedDispatched when the transition completes.ViewTransitionBase
 InheritedDispatched when the transition starts.ViewTransitionBase
Egenskapsdetaljer
    

direction

egenskap
direction:String

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: AIR 2.5

Specifies the direction of slide transition.

Standardvärdet är ViewTransitionDirection.LEFT.



Implementering
    public function get direction():String
    public function set direction(value:String):void
    

mode

egenskap 
mode:String

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: AIR 2.5

Specifies the type of slide transition to perform.

Standardvärdet är SlideViewTransitionMode.PUSH.



Implementering
    public function get mode():String
    public function set mode(value:String):void
Konstruktordetaljer
    

SlideViewTransition

()Konstruktor
public function SlideViewTransition()

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: AIR 2.5

Constructor.





[ X ]Varför på engelska?
Innehåll i Referenshandbok för ActionScript 3.0 i Adobe Flash-plattformen är på engelska

Det är inte alla delar av Referenshandbok för ActionScript 3.0 i Adobe Flash-plattformen som översätts till alla språk. Om ett språkelement inte översätts visas det på engelska. Klassen ga.controls.HelpBox översätts till exempel inte till något språk. I den svenska versionen av referenshandboken visas därför klassen ga.controls.HelpBox på engelska.