Monday, October 13, 2008

Stop an animation after specified loops

Here is another code for Stop the total animation after the loops

Put this code to your 1st frame
if(runover==undefined)
{ var runover:Number = 0;}

Put this code to ur Last frame
runover ++;if(runover==3)
{
stop();
}

No comments: