求大神把这句flash中的as3代码转换为as2的。
stop();shuazi.addEventListener(MouseEvent.MOUSE_DOWN,sz)functionsz(hi:MouseEvent){shu...
stop();
shuazi.addEventListener(MouseEvent.MOUSE_DOWN,sz)
function sz(hi:MouseEvent)
{
shuazi.startDrag();
}
stop();
shuazi.addEventListener(MouseEvent.MOUSE_UP,sz1)
function sz1(hi1:MouseEvent)
{
shuazi.stopDrag();
if(shuazi.hitTestObject(qiang))
{
qiang.gotoAndPlay(2);
}
} 展开
shuazi.addEventListener(MouseEvent.MOUSE_DOWN,sz)
function sz(hi:MouseEvent)
{
shuazi.startDrag();
}
stop();
shuazi.addEventListener(MouseEvent.MOUSE_UP,sz1)
function sz1(hi1:MouseEvent)
{
shuazi.stopDrag();
if(shuazi.hitTestObject(qiang))
{
qiang.gotoAndPlay(2);
}
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询