室内设计案例分析报告:错误:由于指定的对象不存在,\'with\' 动作失败

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/01 16:21:17
谁帮我看看 我导出SWF文件夹显示"错误:由于指定的对象不存在,\'with\' 动作失败" 有难FLASH高手帮我看看

stop();
var Da = this.drag;
Da.onRollOver = function ()
{
if (!iconMode)
{
this.useHandCursor = true;
}
else
{
this.useHandCursor = false;
} // end if
};
Da.onPress = function ()
{
if (!iconMode)
{
this.startDrag();
delete _global["vrMode"];
} // end if
};
Da.onRelease = Da.onReleaseOutside = function ()
{
if (!iconMode)
{
this.stopDrag();
_global.vrMode = true;
} // end if
};
Da.xpos = direction._x;
Da.ypos = direction._y;
Da.onEnterFrame = function ()
{
if (vrMode)
{
this.method_Smx(0.300000, -2);
this.method_Smy(0.300000, -49);
direction.cicle.method_Ssx(0.300000, 0);
direction.cicle.method_Ssy(0.300000, 0);
}
else
{
direction.cicle.method_Ssx(0.300000, 120);
direction.cicle.method_Ssy(0.300000, 120);
} // end if
};
this.onMouseMove = function ()
{
if (!vrMode && vrNavigating)
{
this.direction.cicle.method_rotat();
with (_parent["lump" + depth3]["vr" + depth4])
{
var rot = image.wid / 360;
image._x = xpos = image.wid - (this.direction.cicle._rotation + 180 + viewAngle) * rot;
if (iconMode)
{
delete iconMode;
} // end if
} // End of with
} // end if
updateAfterEvent();
};
this.onEnterFrame = function ()
{
var rot = int((direction.cicle._rotation + 180) / 10);
Cha = this.boy.boy360;
if (Cha._currentframe != rot)
{
this.boy.boy360.gotoAndStop(rot);
} // end if
};