動畫物件→ani_MC
首先...在動畫物件的第一個影格和最後影格下stop();
再來...下面ActionScript的部份2選1
//1.寫在ani_MC物件上...
this.onRollOver = function()
{
this.play();
}
this.onRollOut = function()
{
this.stop();
}
//2.在主場景影格上...
ani_MC.onRollOver = function()
{
ani_MC.play();
}
ani_MC.onRollOut = function()
{
ani_MC.stop();
}
//有誤請訂正囉
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.133.12.202
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):