Hi All,
Simple problem. All I want it is for a image of a satellite to move around the screen randomly so it looks like it is floating/orbiting like a real satellite.
I tried this by using this code:
TweenMax.to(mc, 1, {x:Math.random()*300, y:Math.random()*300, rotation:Math.random()*360, repeat:-1});
It works the first time but then doesn't repeat. Any help? Thanks guys