سؤال

I have a movieclip that i want to move forward 20 frames when it touches another movieclip. I dont want it to go to a specific frame number (ex. gotoAndStop(20);) What ever frame the clip happens to be on, I want it to move forward 20 frames.

هل كانت مفيدة؟

المحلول

Add 20 frames to MC's _currentframe , like this:

 MC.gotoAndPlay( MC._currentframe+20 );
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top