13 Replies Latest reply on Jun 25, 2010 3:12 PM by Francisc

    s:Move vs. mx:Move

    Francisc Level 3

      Hello!

       

      Any idea why this is working:

       

      <s:Sequence id="shakeEffect" duration="50">

      <mx:Move xBy="-5"/>

      <mx:Move xBy="10"/>

      <mx:Move xBy="-10"/>

      <mx:Move xBy="10"/>

      <mx:Move xBy="-10"/>

      <mx:Move xBy="5"/>

      </s:Sequence>

       

      And this is not:

       

      <s:Sequence id="shakeEffect" duration="50">

      <s:Move xBy="-5"/>

      <s:Move xBy="10"/>

      <s:Move xBy="-10"/>

      <s:Move xBy="10"/>

      <s:Move xBy="-10"/>

      <s:Move xBy="5"/>

      </s:Sequence>

       

      Thank you!