Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
PropertyChanges

Package | mx.effects.effectClasses
Class | public class PropertyChanges
Inheritance | PropertyChanges Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The PropertyChanges class defines the start and end values for a set of properties of a target component of a transition. The `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.

See also

mx.states.Transition

Public Properties

| Property | Defined By
--- | --- | ---
|  | 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

Public Methods

| Method | Defined By
--- | --- | ---
|  | PropertyChanges(target:Object) The PropertyChanges constructor. | PropertyChanges

Property Detail

end | property

`public var end:Object`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | 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 | property |

`public var start:Object`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | 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 | property |

`public var stripUnchangedValues:Boolean = true`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | 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.

The default value is `true`.

target | property |

`public var target:Object`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | 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.

Constructor Detail

PropertyChanges | () | Constructor

`public function PropertyChanges(target:Object)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The PropertyChanges constructor.

Parameters

| `target:Object` — Object that is a target of an effect.

Sun Mar 5 2017, 03:42 PM +11:00