# Prevent Cache when loading mc to target?

**URL:** <https://forum.kirupa.com/t/prevent-cache-when-loading-mc-to-target/127091>\
**Category:** Uncategorized\
**Created:** [October 30, 2004, 6:51am UTC](https://forum.kirupa.com/t/prevent-cache-when-loading-mc-to-target/127091 "2004-10-30T06:51:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Count](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@Count](https://forum.kirupa.com/u/Count)\
**Post date:** [October 30, 2004, 6:51am UTC](https://forum.kirupa.com/t/prevent-cache-when-loading-mc-to-target/127091/1 "2004-10-30T06:51:47Z")

</div>

I am loading some child movieclips into a parent using the Load to Target method. The content of the child mc’s is text which is updated frequently, so I don’t want this to cache in the user’s browser.

I found this solution here at [kirupa.com](http://kirupa.com):

[font=Courier New]myIdentifier=Math.round(Math.random()\*10000);  
loadMovie(“myAnim.swf?uniq=”+myIdentifier,1);[/font]

However, I am loading these child mc’s (using loadMovie) to a target. When I try to insert this Identifer code, it gives me errors. How can I adjust it so that it includes my “root.target” code too? Here’s my current load script (which works fine, but doesn’t prevent caching):

loadMovie(“shows.swf”, “\_root.target”);

Thanks for any help! This cache problem is killing me!
