套件 | mx.effects.effectClasses |
類別 | public class PropertyChanges |
繼承 | PropertyChanges Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
start
and end
fields
of the PropertyChanges class contain the same set of properties,
but with different values.
Target properties that have the same start and end values
are not included in the start
and end
fields.
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
end : Object
An Object containing the ending properties of the target
component modified by the change in view state. | PropertyChanges | ||
start : Object
An Object containing the starting properties of the target
component modified by the change in view state. | PropertyChanges | ||
stripUnchangedValues : Boolean = true
This flag controls whether values that are the same in the
start and end states are stripped from those objects. | PropertyChanges | ||
target : Object
A target component of a transition. | PropertyChanges |
方法 | 定義自 | ||
---|---|---|---|
PropertyChanges(target:Object)
The PropertyChanges constructor. | PropertyChanges | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
end | 屬性 |
public var end:Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
An Object containing the ending properties of the target
component modified by the change in view state.
For example, for a target
component that is both
moved and resized by a change to the view state, end
contains the ending position and size of the component,
as the following example shows:
{ x: 100, y: 100, width: 200, height: 200 }
start | 屬性 |
public var start:Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
An Object containing the starting properties of the target
component modified by the change in view state.
For example, for a target
component that is both
moved and resized by a change to the view state, start
contains the starting position and size of the component,
as the following example shows:
{ x: 0, y: 0, width: 100, height: 100}
stripUnchangedValues | 屬性 |
public var stripUnchangedValues:Boolean = true
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
This flag controls whether values that are the same in the start and end states are stripped from those objects.
預設值為 true。
target | 屬性 |
public var target:Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A target component of a transition.
The start
and end
fields
of the PropertyChanges object define how the target component
is modified by the change to the view state.
PropertyChanges | () | 建構函式 |
Tue Jun 12 2018, 03:47 PM Z