Skip navigation
Currently Being Moderated

Moving an object into a random position smoothly

May 27, 2012 4:43 PM

I have a grid and I want to move items from 1 cell in the grid to another cell in the grid by using a smooth arc like motion. The grid is multiple columns but 1 row.


For example if the grid is 6 cells wide and I want to move the object from cell 2 into cell 5 I would like it to sort of move out of its cell and over and then into the new cell in a arc like motion rather than it just sliding across.



I was looking into to using tween but I don't really understand how to do this since the positions are always going to be the same.


I'm using Flash Pro 8.


Thanks for any help,


  • kglad
    72,195 posts
    Jul 21, 2002
    Currently Being Moderated
    May 27, 2012 6:06 PM   in reply to Love2Fish

    what kind of "arc"?

    Mark as:
  • Currently Being Moderated
    May 28, 2012 2:53 PM   in reply to Love2Fish

    Maybe you could use a quadratic function (like a parable) to set point by point the position of your object in an enterFrame

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points