Hi there,
I was wondering if there’s a way to rotate a movie clip around a specific x & y value? I’ve been looking through tutorials but they all seem to use maths to control the positioning, but I think it’s probably unnecessarily complicated for what I want to do. I have a number of shapes which I want to rotate around a single point.
This is what I have so far:
triangle1_mc.addEventListener(Event.ENTER_FRAME, rotateMovieClip);
function rotateMovieClip(e:Event)
{
e.target.rotation += 0.5;
}
This causes the triangle to rotate around it’s centre. How would I tell it to rotate around the following point?
x 164.8
y 161.1
Thanks for your help!