Dear All thank you for your help
I have a small movie where I rotate one circle and then want to rotate another circle to align to the first movie clips rotation .I can rotate the object no problems but when I want to align the rotation using the other movie clip I am having Problems.
the Idea is once you select the card position(Heading ) the Conmpass then follows the card to show the correct heading at the top .
First Rotation is controlled by a button on press rotates card
on release deletes onEnterFrame
this.onEnterFrame=function(){
wheel_mc._rotation+=5;
}
Second rotation also controlled by a button rotates compass
if (this.card_mc._rotation == this.compas_mc._rotation) {
gotoAndStop(1);// deletes on enter frame
}
this.onEnterFrame = function() {
this.compas_mc._rotation -= 5;
};
Any help appreciated
Zip FLa attached