0 Replies Latest reply on May 24, 2011 3:58 PM by Gibbyloft

    Why does MOVE effect return object to original position?

    Gibbyloft

      I am trying to implement a MOVE for a CANVAS. The move works as desired however the Canvas returns to its original position. Essentially the move happens and then everything reverses and goes back to the original state. Code is below...

       

      Thanks in advance,

       

      Russell

       

      <fx:Declarations>

      <mx:Move id="moveDown" target="{addSlider}" yFrom="50" yTo="155" duration="1000" />

      .......

      </fx:Declarations>

       

      <mx:Canvas id="addSlider" width="235" height="105" top="50" left="70" backgroundColor="0x333333" backgroundAlpha="0.8" >

      </mx:Canvas>

      <s:Button id="btnSlider" width="50" height="30" top="155" left="255" label="Help" click="moveDown.end();moveDown.play();" />