This content has been marked as final. Show 4 replies
or you can loop it with a movie clip? tried that?
i don't think you will be able to do this with the tween class since you can only use a single property at a time, moving from point A to B, although you can use multiple tweens (ie. x and y) it still is a matter of the calculation being linear.
however if you wish to move an object using code, you can make the position calculation and move the instance continuously using a onEnterFrame event, as in:
I have try with you code and it is working !
you're welcome :)