Hello,
This is my first post.
I’m new to actionscript but find it as rewarding as it is challenging.
My problem is that I’d like a movie clip to randomly move along the x axis whenever the mouse is clicked by using actionscript 3.0.
The movie clip is a city skyline I have in the background.
I can get it to sort of move when a mouse is clicked with this code
var skylineTween:Tween=new Tween(skyline_mc,“x”, Regular.easeInOut, Math.random(),85,3,true);
But it really looks sad.
Can anyone help? Am I even looking in the right direction by trying easing?
Any help would be greatly appreciated!