Hi
I have this clock which I just want the hand to move only by 180 degrees
So I have this code like ( not complete code here)
this.createEmptyMovieClip("myclock", 3);
/*..
...
.. some code here and then
*/
myclock.onEnterFrame = function () {
myclock.secondsHand._rotation+=1;
if( myclock.secondsHand._rotation==180)
{
trace("Wow");
myclock.stop();
}
}
but this is not working
Can someone tell me how I can stop it at 180?
I do get a trace “Wow” but it keeps on playing
Thanks