作者mosluce ()
看板Flash
标题Re: [问题] 要设定感应区的一些问题
时间Wed May 28 17:14:51 2008
动画物件→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