i have a object which is duplicated 10 times and they all move
same direction i want all the objects(the main one and the
duplicated ones) should have different directions and i have written
the code for mouse but instead i want it to happen without the help of the mouse
Code for the rotation of the object with the help of the mouse
dify = _parent._ymouse-_y;
difx = _parent._xmouse-_x;
_x = _x+(difx/5);
_y = _y+(dify/5);
// Calculate the angle
myangle = Math.atan2(dify, difx)*180/Math.PI;
trace("_rotation=========" +_rotation);
_rotation = myangle;