Packageat.managers
Classpublic class TransitionManager
InheritanceTransitionManager Inheritance flash.events.EventDispatcher
SubclassesVideoTransitionManager



Public Properties
 PropertyDefined by
  currentEffect : Effect
TransitionManager
  currentObject : UIComponent
TransitionManager
  debugMode : Boolean = false
TransitionManager
  hiddenEffect : Effect
TransitionManager
  hiddenObject : UIComponent
TransitionManager
Public Methods
 MethodDefined by
  
TransitionManager(objInitiallyHidden:UIComponent, objInitiallyShowing:UIComponent, effectClassName:String = null)
Facilitates transitions between two objects that extend UIComponent.
TransitionManager
  
createEasingFunctionByName(easingFunctionName:String = null):Function
[static] returns the function that corresponds to the specified string.
TransitionManager
  
createEffectByName(effectClassName:String, target:Object):Effect
[static] returns the Effect class that corresponds to the specified string.
TransitionManager
  
destroy():void
TransitionManager
  
ends any effects currently playing
TransitionManager
  
startTransition(propertiesNode:XML, ignoreAncestors:Boolean = false):void
Starts the transtion from the currentObject to the hiddenObject.
TransitionManager
  
startTransition2(effectClassName:String = null, duration:uint = 0, easingFunctionNames_functionPropsToAssignTo_Pairs:Array = null):void
Starts the transtion from the currentObject to the hiddenObject.
TransitionManager
  
startTransitionIn(propertiesNode:XML, ignoreAncestors:Boolean = false):void
TransitionManager
  
startTransitionIn2(effectClassName:String = null, duration:uint = 0, easingFunctionNames_functionPropsToAssignTo_Pairs:Array = null):void
TransitionManager
  
startTransitionOut(propertiesNode:XML, ignoreAncestors:Boolean = false):void
TransitionManager
  
startTransitionOut2(effectClassName:String = null, duration:uint = 0, easingFunctionNames_functionPropsToAssignTo_Pairs:Array = null):void
TransitionManager
  
TransitionManager
Events
 EventSummaryDefined by
    TransitionManager
    TransitionManager
    TransitionManager
    TransitionManager
Property detail
currentEffectproperty
public var currentEffect:Effect
currentObjectproperty 
public var currentObject:UIComponent
debugModeproperty 
public var debugMode:Boolean = false
hiddenEffectproperty 
public var hiddenEffect:Effect
hiddenObjectproperty 
public var hiddenObject:UIComponent
Constructor detail
TransitionManager()constructor
public function TransitionManager(objInitiallyHidden:UIComponent, objInitiallyShowing:UIComponent, effectClassName:String = null)

Facilitates transitions between two objects that extend UIComponent.

Parameters
objInitiallyHidden:UIComponent — The object that is hidden after initialization.
 
objInitiallyShowing:UIComponent — The object that is showing after initialization.
 
effectClassName:String (default = null) — String representation of the Effect to use for transitions. Defaults to no transition if not provided.
Method detail
createEasingFunctionByName()method
public static function createEasingFunctionByName(easingFunctionName:String = null):Function

returns the function that corresponds to the specified string.

Parameters
easingFunctionName:String (default = null) — a string representation of easingClass.easingFunction (i.e. "Back.easeIn")

Returns
Function
createEffectByName()method 
public static function createEffectByName(effectClassName:String, target:Object):Effect

returns the Effect class that corresponds to the specified string.

Parameters
effectClassName:String — a string representation of easingClass.easingFunction (i.e. "Back.easeIn")
 
target:Object — the UIComponent used as the constructor parameter to the Effect class returned.

Returns
Effect
destroy()method 
public function destroy():void
endEffectsStarted()method 
public function endEffectsStarted():void

ends any effects currently playing

startTransition()method 
public function startTransition(propertiesNode:XML, ignoreAncestors:Boolean = false):void

Starts the transtion from the currentObject to the hiddenObject.

Parameters
propertiesNode:XML — specifies the paramaters to the transition via the following attribute names: transitionIn, easingFunction, easingProperty, and duration. On a individual attribute basis, if the node does not have the attribute, the node's parent is checked, then parent's parent, and so on until the attribute is found.
 
ignoreAncestors:Boolean (default = false) — only checks the XMLList sent for effect properties, not any ancestors of the node.

See also

startTransition2
startTransition2()method 
public function startTransition2(effectClassName:String = null, duration:uint = 0, easingFunctionNames_functionPropsToAssignTo_Pairs:Array = null):void

Starts the transtion from the currentObject to the hiddenObject.

Parameters
effectClassName:String (default = null) — Specifies class to use for the transition effect. If no class is specified, visibility will be used to show and hide,
 
duration:uint (default = 0) — Specifies the length of time the effect takes to finish (in milliseconds)
 
easingFunctionNames_functionPropsToAssignTo_Pairs:Array (default = null)
startTransitionIn()method 
public function startTransitionIn(propertiesNode:XML, ignoreAncestors:Boolean = false):voidParameters
propertiesNode:XML
 
ignoreAncestors:Boolean (default = false)
startTransitionIn2()method 
public function startTransitionIn2(effectClassName:String = null, duration:uint = 0, easingFunctionNames_functionPropsToAssignTo_Pairs:Array = null):voidParameters
effectClassName:String (default = null)
 
duration:uint (default = 0)
 
easingFunctionNames_functionPropsToAssignTo_Pairs:Array (default = null)
startTransitionOut()method 
public function startTransitionOut(propertiesNode:XML, ignoreAncestors:Boolean = false):voidParameters
propertiesNode:XML
 
ignoreAncestors:Boolean (default = false)
startTransitionOut2()method 
public function startTransitionOut2(effectClassName:String = null, duration:uint = 0, easingFunctionNames_functionPropsToAssignTo_Pairs:Array = null):voidParameters
effectClassName:String (default = null)
 
duration:uint (default = 0)
 
easingFunctionNames_functionPropsToAssignTo_Pairs:Array (default = null)
swapCurrentObjectDepthWithHidden()method 
public function swapCurrentObjectDepthWithHidden():void
Event detail
transitionCompleteevent 
Event object type: at.managers.TransitionEvent

transitionInCompleteevent  
Event object type: at.managers.TransitionEvent

transitionOutCompleteevent  
Event object type: at.managers.TransitionEvent

transitionStartevent  
Event object type: at.managers.TransitionEvent