1061: 调用可能未定义的方法 hitTestPoint (通过 static 类型 Class 引用)。
package{importflash.display.MovieClip;importflash.events.MouseEvent;importflash.event...
package
{
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.Event;
function DiXing():void
{
if ((YDK.x>800)||(YDK.x<0)||(YDK.y>600)||(YDK.y<0)||(FYD.hitTestPoint(YDK.x,YDK.y,true)))
{
YDBS = 10;
}
else if (ShanDi.hitTestPoint(YDK.x,YDK.y,true))
{
YDBS = 1.5;
}
else if (HeLiu.hitTestPoint(YDK.x,YDK.y,true))
{
YDBS = 1.8;
}
else if (QiuLing.hitTestPoint(YDK.x,YDK.y,true))
{
YDBS = 1.2;
}
else
{
YDBS = 1.0;
}
}
一测试影片就跑出这个,怎么回事啊 展开
{
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.Event;
function DiXing():void
{
if ((YDK.x>800)||(YDK.x<0)||(YDK.y>600)||(YDK.y<0)||(FYD.hitTestPoint(YDK.x,YDK.y,true)))
{
YDBS = 10;
}
else if (ShanDi.hitTestPoint(YDK.x,YDK.y,true))
{
YDBS = 1.5;
}
else if (HeLiu.hitTestPoint(YDK.x,YDK.y,true))
{
YDBS = 1.8;
}
else if (QiuLing.hitTestPoint(YDK.x,YDK.y,true))
{
YDBS = 1.2;
}
else
{
YDBS = 1.0;
}
}
一测试影片就跑出这个,怎么回事啊 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询