# Dynamic Image Unload

**URL:** <https://forum.kirupa.com/t/dynamic-image-unload/162234>\
**Category:** flash\
**Created:** [September 11, 2005, 4:33am UTC](https://forum.kirupa.com/t/dynamic-image-unload/162234 "2005-09-11T04:33:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theinfamous](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@theinfamous](https://forum.kirupa.com/u/theinfamous)\
**Post date:** [September 11, 2005, 4:33am UTC](https://forum.kirupa.com/t/dynamic-image-unload/162234/1 "2005-09-11T04:33:01Z")

</div>

So, thanks to the forums here, I’ve learned how to dynamically load an image on a particular frame in one of my scenes. Now, when I click and link to another page, the pic stays there. Is there a command or code I can write in so that when I exit that scene, or better yet, frame, the image unloads???

Here’s the code that’s calling the image in…

this.createEmptyMovieClip(“BioImages”,1);  
BioImages.loadMovie("…/images/pic\_bio.jpg");  
BioImages.\_x = 300, BioImages.\_y = 45;
