簡單動畫制作教程 flash中用按鈕來切換兩個場景怎么做?
flash中用按鈕來切換兩個場景怎么做?場景1按鈕加上(釋放){gotoandplay(“場景2”,1)}]作為層第一幀加上停止()場景2按鈕加上一個場景加上(釋放){gotoandplay(“場景1
flash中用按鈕來切換兩個場景怎么做?
場景1按鈕加上(釋放){
gotoandplay(“場景2”,1)
}]作為層第一幀加上停止()
場景2按鈕加上一個場景加上(釋放){
gotoandplay(“場景1”,1)]}]下一個場景加上(釋放){
gotoandplay(“場景3”,1)
}]as layer first frame plus stop()
場景3按鈕加一個場景開啟(release){
gotoandplay(“場景2”,1)
}
返回主場景開啟(release){
gotoandstop(“場景1”,1)
}
將stop()添加到as層的第一幀
Flash中怎么進行場景切換?
有兩種方法:一種是切換上一場景中的幀添加動作:gotoandplay(“scene 3”,1)(轉(zhuǎn)到場景3);另一種是在上一場景中添加按鈕,并使用按鈕控制跳轉(zhuǎn):在按鈕上添加操作:on(release){gotoandplay(“Scene 3”)3“,1)}