Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 as2.0 中,我使用函数 attachMovie 在根目录中创建了一个名为“A”的影片剪辑。然后我在 mc "A" 中附加了一个movieClip "B"。删除movieClip“A”后,是否需要删除“B”
不,你没有。但如果剪辑 A 或 B 使用某些事件处理,您应该取消订阅这两个剪辑。如果你想释放内存,你应该清理对这些剪辑的所有引用,以便垃圾收集器可以清除它们。