• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

Flash object won't refresh; keeps taunting me!

I have a web site that is hosted remotely and I upload via FTP. There is a Flash object on my web page (a simple tween animation) that I updated, but every time I upload the page, only the HTML updates are updated. The flash object stays the same old, outdated version. I've tried refreshing a bunch of times, turning off my computer, etc. Now I've even deleted the FLASH file from the remote host altogether, and still the old FLASH object appears. I can't update it or change it. How is this possible?
1 Solution
Have you cleared your browser cache? (at 99% this is the problem, for 1% it is a proxy problem)
try holding down shift and ctl and refreshing at the same time.

and delete the flash movie from the temprorayr internet files

If you connect thru a proxyserver then could easily be the problem.

Is this flash object to be updated often?

If so you might consider making a sollution that doesn't cache
This can be done both serverside and within flash.

By adding a random value as parameter to the .swf flash allways read the file as
new and hereby bypasses the cashe.

Serverside (Asp) solution:  

    <param name="movie" value="myFlashMovie.swf?noCach=<%=Now %>">
    (also do this in your embed tag)

Flash solution - (loading your object into a frame flash movie):

1) Create a empty flash movie (frame.swf) and add this actionscript on the first frame:

    var now = new Date();
    _root.loadMovie(_root.path+"?"+ now.getTime(),0);

2) In your html add this:

    <param name="movie" value="frame.swf?path=myFlashMovie.swf" />
    (also do this in your embed tag)

What will happen is that flash first loads your frame movie then using the
parameter path it loads your movie into the root after adding the random
value as parameter.

Best, Jakob E


rimbaudAuthor Commented:
Thanks for everyone's tips and advice. It was a very simple solution however, just as I suspected. I just deleted my browser cache.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now