3 Replies Latest reply on Feb 13, 2008 3:37 PM by Mister Peanut

    sin waves - looking for a pro

    Mister Peanut Level 1
      Hello,

      I have managed to use a sin wave to move a movie clip smoothly from one point to another.

      I think there must be a simpler way to write this, so if anyone has any ideas, I'd love to hear them. My 'plan' movie clip is going to be used as a background that moves with a sin wave at different points on my timeline. I am just looking for an easier way to move my mc without getting bogged down with code.

      Ultimately, I want to use a sin wave to smoothly move my clip from xpos1 ypos1 to xpos2 ypos2.

      Ideas? Anyone know how I can do this in a more straightforward way? Like I said, it works how I have it, but I think there is an easier way to do this.

      Cheers,

      P

      Here is my code: