Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.effects.effectClasses 
PropertyChanges 
Packagemx.effects.effectClasses
Classpublic class PropertyChanges
InheritancePropertyChanges Inheritance 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



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  end : Object
An Object containing the ending properties of the target component modified by the change in view state.
PropertyChanges
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  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
 MethodDefined By
  
The PropertyChanges constructor.
PropertyChanges
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
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.