怪物猎人ol弩炮归一:没法了,只有在这儿问了

来源:百度文库 编辑:高校问答 时间:2024/05/05 07:43:13
问个问题,我现在用的是FLASH 8,请教
Mouse.hide();
startDrag("2", true);
x = getProperty(2, _x);
y = getProperty(2, _y);
if ("1".hitTest(x, y, true)) {
setProperty("1", _x, random(67));
setProperty("1", _y, random(67));
}
检查语法的时候都是对的,就是测试的时候就有问题了
**错误** 场景=场景 1, 图层=as, 帧=1:第 5 行: 没有名为'hitTest'的方法。
if ("1".hitTest(x, y, true)) {

ActionScript 错误总数:1 报错:1
这是怎么回事哦,各位指点一下