开发者

Flash CS5: addChild and then leave frame

What happens when you add a MovieClip to the stage using addChild and then gotoAndStop to a different frame? Is the MovieClip automatically removed? Will it be there when you go 开发者_如何学Cback to the same frame?


No. It will not be removed until you use removeChild and you set all its references to null. What is happening is, the new frame will overlap the old frame.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜