【发布时间】:2012-03-23 17:38:22
【问题描述】:
我制作了一个 as3 帧来故意重新启动影片剪辑,但是我为每个调用的影片剪辑都收到了打字错误。
TypeError: Error #1010: A term is undefined and has no properties.
我尝试过使用和不使用 AS Linkage,但结果是一样的。
代码:
//Loop animation.
addEventListener(Event.ENTER_FRAME, function (Reiniciar) {
if (MovieClip(root).Animacion.currentFrame==500){
MovieClip(root).Animacion.gotoAndPlay(1);
MovieClip(root).Personaje.gotoAndPlay(1);
MovieClip(root).Personaje.Guy.gotoAndPlay(1);
}
});
【问题讨论】:
标签: actionscript-3 flash-cs5 movieclip