【发布时间】:2012-05-02 11:33:57
【问题描述】:
我创建 Container,将 onPress 函数附加到它,然后将其作为 Child 添加到舞台。
然后清除舞台(所以那里不再有这样的孩子),更新它。
但 onPress 仍在工作。
【问题讨论】:
-
解决了,我通过 stage = new Stage(); 重新创建了舞台但它只是将第二个空阶段分配给画布,应该使用 stage.removeAllChildren() 代替
-
把你的答案作为正确答案并标记为正确
-
遇到同样的问题,移除按钮但该区域仍可点击您找到解决方案了吗?
标签: events containers stage easeljs