2 Replies Latest reply on Nov 2, 2006 10:58 AM by kglad

    Move an entire object including keyframes

    redneon Level 1
      I have an instance of a movie clip which has three keyframes to it and is positioned off the stage. At the beginning of the scene I calculate the position for the clip and then move it onto the stage via the following code:

      var block = _root.Shape1;
      block._x = calculatedX;
      block._y = calculatedY;

      That's fairly simple but it only moves the first keyframe for the movie clip. All of the other keyframes work with the object at it's original position.

      How can I move the object so that it applies to ALL of it's keyframes?