javadi82
July 17th, 2003, 01:39 AM
There are two stationary balls-ball A and ball B. There is another ball- ball C, which has to move from ballA to ballB.
The problem is that when the I "run" the movie, ball C is automatically placed at the position of ballB. That is, I do not see ball C moving from the position of ball A to the position of ball B.
I have used a line-drawing algorithm to move ball C. Also, the entire stuff is written in Actionscript.
PS:this._x++ and this._y++ will not work because ballC has to travel the exact path between the two balls
The problem is that when the I "run" the movie, ball C is automatically placed at the position of ballB. That is, I do not see ball C moving from the position of ball A to the position of ball B.
I have used a line-drawing algorithm to move ball C. Also, the entire stuff is written in Actionscript.
PS:this._x++ and this._y++ will not work because ballC has to travel the exact path between the two balls