0 Replies Latest reply on Jun 25, 2010 11:31 AM by Francisc

    Transition between 2 states

    Francisc Level 3



      I am using a simple Fade+Blur transition to move from one state to the other.


      The problem is the switch is done instantly and both effects are played on the already changed state.


      <s:Transition fromState="*" toState="*" autoReverse="true">


      <s:Parallel duration="500" target="{this}">

      <mx:Fade alphaFrom="1" alphaTo="0"/>

      <mx:Blur blurXFrom="0" blurXTo="20" blurYFrom="0" blurYTo="20"/>


      <s:Parallel duration="500" target="{this}">

      <mx:Fade alphaFrom="0" alphaTo="1"/>

      <mx:Blur blurXFrom="20" blurXTo="0" blurYFrom="20" blurYTo="0"/>





      How can I tell it to switch states after the initial fade without having to code that with listeners etc.