# Problem with unloading images

**URL:** <https://forum.kirupa.com/t/problem-with-unloading-images/234473>\
**Category:** Uncategorized\
**Created:** [August 2, 2007, 2:45pm UTC](https://forum.kirupa.com/t/problem-with-unloading-images/234473 "2007-08-02T14:45:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfm\_](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@dfm\_](https://forum.kirupa.com/u/dfm_)\
**Post date:** [August 2, 2007, 2:45pm UTC](https://forum.kirupa.com/t/problem-with-unloading-images/234473/1 "2007-08-02T14:45:13Z")

</div>

Hi, in short I can load image in MC. But when I try to unload, happened problem. Image stay there. Why I’m mistaken?

Here is my AS  
[AS]  
import flash.display.Loader;  
…  
var bigOne\_loader:Loader = new Loader();  
show\_btn.addEventListener(MouseEvent.MOUSE\_DOWN, showMeBigOne);  
…  
function showMeBigOne(info:MouseEvent):void {  
bigOne\_loader.unload();  
…  
}  
…  
bigOne\_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, showPic\_complite);  
bigOne\_loader.load(new URLRequest(“gallery/blah\_blah.jpg”));  
…

[/AS]
