I’m not the swiftest when it comes to math, but usually I can figure out through trial & error how to modify AS. For the life of me I can not figure out where this AS gets it clockwise rotation, so that I can change it to counterclockwise.
onClipEvent(load){
this.rotation_speed = 2;
function origin(){
var bounds = this.getBounds(this._parent);
return {x:(bounds.xMin+bounds.xMax)/2, y:(bounds.yMin+bounds.yMax)/2};
}
this.rotation_origin = origin();
}
onClipEvent(enterFrame){
this._rotation += rotation_speed;
var curr_origin = origin();
this._x += this.rotation_origin.x - curr_origin.x;
this._y += this.rotation_origin.y - curr_origin.y;
}