Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Flash caching

Posted on 2007-08-05
2
Medium Priority
?
184 Views
Last Modified: 2013-11-07
Hi,
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.
0
Comment
Question by:RamyBouchra
2 Comments
 
LVL 5

Accepted Solution

by:
sg3003 earned 1500 total points
ID: 19633924
Try adding a random number to the end of the txt file name when loading it in flash. Something like:

loadVariables("myVars.txt?random="random(100000),0);

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

Author Comment

by:RamyBouchra
ID: 19634102
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
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 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