[]关于timeline结束的问题

直接上伪代码吧~~
 var timeline = new TimeLine();
var list = [];
var count = 0;
for (var i = 0; i < array.numChildren; i++) {
var child = array.getChildAt(i);
if (child.name === 'lightDottedActive') {
child.visible = true;
child.alpha = 0;
timeline
.addLabel('lightDotted', 0)
.to(child, {
alpha: 1
}, 200, Ease.linearIn)
.to(child, {
alpha: 0
}, 200, Ease.linearIn)
}
}
timeline.play(0, true);

timeline.on(Event.COMPLETE, this, function () {
count++;
if (count === 2) {
timeline.destroy();
count = 0;
}
});
为什么在结束的时候,会报下面的错误呢?
xxxx.png
已邀请:

cuixueying

赞同来自:

这个问题已经修复,等最新版本直接更新即可!

要回复问题请先

商务合作
商务合作