# Loadmovie problem

**URL:** <https://forum.kirupa.com/t/loadmovie-problem/185173>\
**Category:** Uncategorized\
**Created:** [April 11, 2006, 3:37pm UTC](https://forum.kirupa.com/t/loadmovie-problem/185173 "2006-04-11T15:37:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![azuuh](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@azuuh](https://forum.kirupa.com/u/azuuh)\
**Post date:** [April 11, 2006, 3:37pm UTC](https://forum.kirupa.com/t/loadmovie-problem/185173/1 "2006-04-11T15:37:41Z")

</div>

so i have two buttons, one button(_button1_) with the script:

on (release) {  
loadMovie(“1.jpg”, “\_root.peda”);  
}

and the second(_button2_) one with:

on (release) {  
loadMovie(“9.jpg”, “\_root.voteri”);  
}

so of course when i click on one of the buttons, it loads the picture, but the problem is that when i first push on the button1 and then on the button2 there are the both loaded pictures, so what should i do to unload the picture from the button1 when i push on the button2 ?

hope you undersand 🙂

---

<div class="post-metadata">

**Author:** ![therafiman](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@therafiman](https://forum.kirupa.com/u/therafiman)\
**Post date:** [April 11, 2006, 6:15pm UTC](https://forum.kirupa.com/t/loadmovie-problem/185173/2 "2006-04-11T18:15:50Z")

</div>

Um, how about \_root.peda.unloadMovie() and \_root.voteri.unloadMovie()

A question as simple as that shouldn’t need anything more than a press of F1 in flash for the help section.

---

<div class="post-metadata">

**Author:** ![azuuh](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@azuuh](https://forum.kirupa.com/u/azuuh)\
**Post date:** [April 11, 2006, 7:13pm UTC](https://forum.kirupa.com/t/loadmovie-problem/185173/3 "2006-04-11T19:13:50Z")

</div>

ah thanks. what can you do when your a noob? 🙂  
sorry for the bothering.  
thanks^^
