Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个影片剪辑,当它碰到另一个影片剪辑时,我想向前移动 20 帧。我不希望它转到特定的帧号(例如 gotoAndStop(20);)剪辑碰巧在什么帧上,我希望它向前移动 20 帧。
MC向's添加 20 帧_currentframe,如下所示:
MC
_currentframe
MC.gotoAndPlay( MC._currentframe+20 );