页面导航
在线答疑 » 如何用action控制倒放?

如何用action控制倒放?

提问人:汤锋(教务处) 发表时间:2014-01-14 14:27

做一个mc放在合适的地方,里面有两帧  第一帧:  

If (GetProperty ("/a",_currentframe)<=1)  

Begin Tell Target ("/a")  

Go to and Stop (GetProperty ("/a",_totalframes))  End Tell Target  Else  

Begin Tell Target ("/a")  

Go to and Stop (GetProperty ("/a",_currentframe)-1)  End Tell Target  End If  第二帧:  Go to and Play (1)   

这样就可以让/a倒放   

但是还有一个问题无法解决:  如果我只想停一段呢?[/color]  

比如说,我在第十个关键帧处加了一个STOP,在第三十个关键帧处加了一个STOP,现在想倒到STOP处停下来,却没有办法做到。   

If (GetProperty ("/a",_currentframe)<=1)  Begin Tell Target ("/a")  

Go to and Stop (GetProperty ("/a",_totalframes))  End Tell Target  Else  

Begin Tell Target ("/a")  

Go to and Stop (GetProperty ("/a",_currentframe)-1)  End Tell Target  End If  第二帧:  Go to and Play (1)  

这一段肯定放在一个mc ,  假设这个mc/b  /a需要停止的帧理设置  Begin Tell Target ("/b")  stop  

End Tell Target  stop  

操作成功!此窗口3秒钟后自动关闭!
立即关闭