# Remove all on a timeline

**URL:** <https://forum.kirupa.com/t/remove-all-on-a-timeline/224586>\
**Category:** Uncategorized\
**Created:** [May 3, 2007, 1:37pm UTC](https://forum.kirupa.com/t/remove-all-on-a-timeline/224586 "2007-05-03T13:37:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halian](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@halian](https://forum.kirupa.com/u/halian)\
**Post date:** [May 3, 2007, 1:37pm UTC](https://forum.kirupa.com/t/remove-all-on-a-timeline/224586/1 "2007-05-03T13:37:19Z")

</div>

I have a movie with multiple scenes.  
scene 1 and scene 2.

i have an intro and a few other things that go on in Scene 1 but it’s all done with AS other than the background image. I made a button with nextScene(); in the on(press). When clicked, it goes to the next scene (1 frame with a stop() action).

The problem is that it continues to put all the stuff from Scene 1 on there. So is there a way to either flush everything from Scene 1 with the on(press) as well or just stop it from doing any more functions once the button is pressed?
