If you want to make an animation, I would highly recommend using the tweening library, although I understand that you might want to learn the basics before you “cheat” them.
I would recommend attaching the animation to the ENTER_FRAME event instead of a timer running at the same speed as the frame rate. Actually there is no need to separate these two, since the timer is no more reliable than the ENTER_FRAME event, and there is no need to move things around if they are still not visible.
Also, I don’t think you should focus on keyframe animations. This is a useful concept when you have keyframes, if you are not more practical, just do what seems like the best way to implement this.
I would add the code here, but it’s a little difficult for me to come up with something, since I'm not quite sure what you are trying to achieve here.
source share