# \[CS3/AS2\] How to clear Stage?

**URL:** <https://forum.kirupa.com/t/cs3-as2-how-to-clear-stage/285885>\
**Category:** flash\
**Created:** [April 7, 2009, 4:04pm UTC](https://forum.kirupa.com/t/cs3-as2-how-to-clear-stage/285885 "2009-04-07T16:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trifa](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@trifa](https://forum.kirupa.com/u/trifa)\
**Post date:** [April 7, 2009, 4:04pm UTC](https://forum.kirupa.com/t/cs3-as2-how-to-clear-stage/285885/1 "2009-04-07T16:04:45Z")

</div>

Hi,  
I have two key frames on the Stage. The first one is empty; the actual movie starts from the second frame. Under some circumstances I have to clear everything on the stage and reload the movie. I remove all the movie clips and go back to the first frame. Unfortunately, it doesn’t work with components. Can somebody tell me how I can remove everything from Stage?

I tried btn.destroyObject(btn.\_name) but it seems it doesn’t work (the object cannot remove itself). And after several times I move back to the first frame, the components go broken.

Any suggestions are welcome.

Regards,
