適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
spark.transitions 

SlideViewTransition  - AS3 Flex

套件spark.transitions
類別public class SlideViewTransition
繼承SlideViewTransition Inheritance ViewTransitionBase Inheritance EventDispatcher Inheritance Object

語言版本: ActionScript 3.0
產品版本: Flex 4.5
執行階段版本: 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.

相關 API 元素



公用屬性
 屬性定義自
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
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
公用方法
 方法定義自
  
Constructor.
SlideViewTransition
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。
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
會將事件傳送到事件流程。
EventDispatcher
 Inherited
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。
EventDispatcher
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
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
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
會從 EventDispatcher 物件移除偵聽程式。
EventDispatcher
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
會傳回指定之物件的基本值。
Object
 Inherited
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。
EventDispatcher
保護方法
 方法定義自
 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
事件
 事件 摘要 定義自
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。EventDispatcher
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。EventDispatcher
 InheritedDispatched when the transition completes.ViewTransitionBase
 InheritedDispatched when the transition starts.ViewTransitionBase
屬性詳細資訊
    

direction

屬性
direction:String

語言版本: ActionScript 3.0
產品版本: Flex 4.5
執行階段版本: AIR 2.5

Specifies the direction of slide transition.

預設值為 ViewTransitionDirection.LEFT。



實作
    public function get direction():String
    public function set direction(value:String):void
    

mode

屬性 
mode:String

語言版本: ActionScript 3.0
產品版本: Flex 4.5
執行階段版本: AIR 2.5

Specifies the type of slide transition to perform.

預設值為 SlideViewTransitionMode.PUSH。



實作
    public function get mode():String
    public function set mode(value:String):void
建構函式詳細資料
    

SlideViewTransition

()建構函式
public function SlideViewTransition()

語言版本: ActionScript 3.0
產品版本: Flex 4.5
執行階段版本: AIR 2.5

Constructor.





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。