Forums

ForumsProgramming Forum

gotoAndStop

Posted Mar 10, '13 at 2:29pm

alex57834

alex57834

89 posts

I watched a video tutorial and the gotoand stop code wasn't made very clear. Could you talk me through a simple motion tween with an object and how to make it use the gotoandStop.

 

Posted Mar 10, '13 at 3:56pm

weirdlike

weirdlike

476 posts

Knight

gotoAndStop();  is referencing the frame of which you want to go to then stopping

gotoAndStop(5); means go to the fifth frame then stop

gotoAndPlay(5); means go to the fifth frame then play

youtube

 

Posted Mar 10, '13 at 5:02pm

alex57834

alex57834

89 posts

Thanks for the link. It helps

 
Reply to gotoAndStop

You must be logged in to post a reply!