开发者

Flash CS5: addChild and then leave frame

开发者 https://www.devze.com 2023-04-02 19:49 出处:网络
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

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

精彩评论

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