# UnCaching a loaded image?

**URL:** <https://forum.kirupa.com/t/uncaching-a-loaded-image/19015>\
**Category:** Uncategorized\
**Created:** [April 23, 2003, 3:36pm UTC](https://forum.kirupa.com/t/uncaching-a-loaded-image/19015 "2003-04-23T15:36:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![7of9](https://avatars.discourse-cdn.com/v4/letter/7/c89c15/32.png) [@7of9](https://forum.kirupa.com/u/7of9)\
**Post date:** [April 23, 2003, 3:36pm UTC](https://forum.kirupa.com/t/uncaching-a-loaded-image/19015/1 "2003-04-23T15:36:05Z")

</div>

Is it possible to unCache a loaded image (ie. jpg, gif etc.) from the loadMovie function? Something similar to the following:

var sUrl  
var sDate= new Date();  
//Add cache remover…  
sUrl= “[http://MyServer/scripts/MyFile.asp?x=](http://MyServer/scripts/MyFile.asp?x=)” + escape(sDate);  
loadVariablesNum (sUrl, “0”, “POST”);

In other words is it possible to do something like this?

MyMc.LoadMovie(“MyImage.jpg?x=” + escape(sDate));

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 23, 2003, 5:14pm UTC](https://forum.kirupa.com/t/uncaching-a-loaded-image/19015/2 "2003-04-23T17:14:46Z")

</div>

well sDate = new Date() doesn’t really do anything that you can put into a variable string. All that does is initiallizes the time object in order for you to use time (hour/mins/secs) check out this article:

[http://www.kirupa.com/developer/actionscript/tricks/cache.asp](http://www.kirupa.com/developer/actionscript/tricks/cache.asp)
