# Unloading movies

**URL:** <https://forum.kirupa.com/t/unloading-movies/170299>\
**Category:** Uncategorized\
**Created:** [November 24, 2005, 1:36pm UTC](https://forum.kirupa.com/t/unloading-movies/170299 "2005-11-24T13:36:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snake\_NL](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@Snake\_NL](https://forum.kirupa.com/u/Snake_NL)\
**Post date:** [November 24, 2005, 1:36pm UTC](https://forum.kirupa.com/t/unloading-movies/170299/1 "2005-11-24T13:36:26Z")

</div>

Hi,

I have a small question.

I have 3 buttons in my flash fla.

1. with:

on (release) {  
var o = attachMovie(“mc\_blauw”, “mc\_blauw”, 0);  
o.\_x = 554.3;  
o.\_y = 288.4;  
kleur1 = “blauw”;  
}

1. with:

on (release) {  
var o = attachMovie(“mc\_rood”, “mc\_rood”, 1);  
o.\_x = 554.3;  
o.\_y = 288.4;  
kleur2 = “rood”;  
}

1. is the order button that links to frame 20. there you see which colors you choose.

on frame 20 is also a button to reset the colors. (unload movie) this works great.

But i also wants when you press the reset button you go back to frame 1. But when i put this AS on the reset button:

on (release) {  
unloadMovieNum(0);  
unloadMovieNum(1);  
gotoAndPlay(1);  
}

there is nothing to see. :S looks like he unloads everything.

How can i solve this?

thx

**files:**  
.fla  
.swf
