# Flash Reload Cached Movie

**URL:** <https://forum.kirupa.com/t/flash-reload-cached-movie/187054>\
**Category:** flash\
**Created:** [April 26, 2006, 12:44pm UTC](https://forum.kirupa.com/t/flash-reload-cached-movie/187054 "2006-04-26T12:44:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnlutz](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@johnlutz](https://forum.kirupa.com/u/johnlutz)\
**Post date:** [April 26, 2006, 12:44pm UTC](https://forum.kirupa.com/t/flash-reload-cached-movie/187054/1 "2006-04-26T12:44:27Z")

</div>

I have a flash movie that pulls data from a db on the page load. What I see on my machine is that if I have never loaded the movie it works fine. If I go back to that page it loads the cached movie which might have old data in it. Any suggestions on what I am doing wrong.

This is part of the Action Script that I am using to pull the data from a php page that accesses the db.

myData = new LoadVars();  
myData.ref = this;  
myData.load(“getVacancies.php”);  
myData.onLoad = function(succes){  
if(succes){  
for(var i=1; i\<this.cant; i++){  
vacancies[i-1] = [this[“City”+i],this[“Vacancy”+i],this[“Rent”+i], this[“Inventory”+i], this[“Absorption”+i]]  
}  
} else trace(“Error loading data”);  
}
