Flash caching

Posted on 2007-08-05
Last Modified: 2013-11-07
I am using <object> <embed> in my html and that object hold an swf inside it. the swf file is based on txt file that pass some variables to the swf file.
when i fill in the txt file with the proper variables and flash run properly for the first time, if i want to change the variables values in txt file and rerun the flash it still run the first flash and not the new one.
Please any help will be appreciated.
Question by:RamyBouchra
    LVL 5

    Accepted Solution

    Try adding a random number to the end of the txt file name when loading it in flash. Something like:


    This forces the browser to think its downloading a new file as it has a different file name.

    Author Comment

    Dear Sir
    thank you for your reply
    but i want to tell you that this object only read this file FlahVar.txt, it is stastic for the object we cant change it, so please advise me what to do.

    thank you

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
    Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

    728 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

    17 Experts available now in Live!

    Get 1:1 Help Now