Flash object won't refresh; keeps taunting me!

Posted on 2005-04-07
Last Modified: 2008-03-10
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?
Question by:rimbaud
    LVL 27

    Accepted Solution

    Have you cleared your browser cache? (at 99% this is the problem, for 1% it is a proxy problem)
    LVL 18

    Expert Comment

    try holding down shift and ctl and refreshing at the same time.

    LVL 18

    Expert Comment

    and delete the flash movie from the temprorayr internet files

    LVL 9

    Expert Comment

    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



    Author Comment

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now