套件 | spark.transitions |
類別 | public class ZoomViewTransition |
繼承 | ZoomViewTransition ViewTransitionBase EventDispatcher Object |
從下列版本以後不建議使用: 4.6
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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.
相關 API 元素
ZoomViewTransitionMode
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | 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 | ||
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 |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Constructor. | ZoomViewTransition | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | 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 | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Called by the ViewNavigator when the transition
should begin animating. | ViewTransitionBase | ||
Called by the ViewNavigator during the preparation phase
of a transition. | ViewTransitionBase | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
屬性詳細資訊
minimumScale | 屬性 |
minimumScale:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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).
預設值為 .25。
實作
public function get minimumScale():Number
public function set minimumScale(value:Number):void
mode | 屬性 |
建構函式詳細資料
ZoomViewTransition | () | 建構函式 |
public function ZoomViewTransition()
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | AIR 2.5 |
Constructor.
Tue Jun 12 2018, 03:47 PM Z