| Package | mx.states | 
| Class | public class Transition | 
| Inheritance | Transition    Object | 
To define a transition, you set the transition property of an Application to an Array of Transition objects.
You use the toState and fromState properties of
  the Transition class to specify the state changes that trigger the transition.
  By default, both the fromState and toState properties
  are set to "*", meaning apply the transition to any changes to the view state.
You can use the fromState property to explicitly specify a
  view state that your are changing from, and the toState property
  to explicitly specify a view state that you are changing to.
  If a state change matches two transitions, the toState property
  takes precedence over the fromState property. If more than one
  transition match, Flex uses the first definition in the transition array. 
You use the effect property to specify the Effect object to play
  when you apply the transition. Typically, this is a composite effect object,
  such as the Parallel or Sequence effect, that contains multiple effects,
  as the following example shows:
 
  <mx:Transition id="myTransition" fromState="*" toState="*">
    <mx:Parallel>
        ...
    </mx:Parallel>
  </mx:Transition>
  
 
            MXML Syntax
Hide MXML SyntaxThe <mx:Transition> tag
  defines the following attributes:
  <mx:Transition
    Properties
    id="ID"
    effect=""
    fromState="*"
    toState="*"
  />
  
 
  Default MXML Propertyeffect
See also
| Property | Defined By | ||
|---|---|---|---|
![]()  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance.  | Object | |
| effect : IEffect 
	  The IEffect object to play when you apply the transition.  | Transition | ||
| fromState : String = "*" 
      A String specifying the view state that your are changing from when
      you apply the transition.  | Transition | ||
![]()  | prototype : Object [static] 
	 A reference to the prototype object of a class or function object.  | Object | |
| toState : String = "*" 
	  A String specifying the view state that you are changing to when
	  you apply the transition.  | Transition | ||
| Method | Defined By | ||
|---|---|---|---|
      Constructor.  | Transition | ||
![]()  | 
	 Indicates whether an object has a specified property defined.  | Object | |
![]()  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter.  | Object | |
![]()  | 
	 Indicates whether the specified property exists and is enumerable.  | Object | |
![]()  | 
     Sets the availability of a dynamic property for loop operations.  | Object | |
![]()  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions.  | Object | |
![]()  | 
	 Returns the string representation of the specified object.  | Object | |
![]()  | 
	 Returns the primitive value of the specified object.  | Object | |
| effect | property | 
public var effect:IEffectThe IEffect object to play when you apply the transition. Typically, this is a composite effect object, such as the Parallel or Sequence effect, that contains multiple effects.
The effect property is the default property of the
	  Transition class. You can omit the <mx:effect> tag 
	  if you use MXML tag syntax.
| fromState | property | 
public var fromState:String = "*"A String specifying the view state that your are changing from when you apply the transition. The default value is "*", meaning any view state.
You can set this property to an empty string, "", which corresponds to the base view state.
 The default value is "*".
| toState | property | 
public var toState:String = "*"A String specifying the view state that you are changing to when you apply the transition. The default value is "*", meaning any view state.
You can set this property to an empty string, "", which corresponds to the base view state.
 The default value is "*".
| Transition | () | Constructor | 
public function Transition()Constructor.