how to make SWF to reload from the start, every time user reload/revist the page.
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how to make SWF to reload from the start, every time user reload/revist the page.

  1. #1

    how to make SWF to reload from the start, every time user reload/revist the page.

    Hi,
    How can i make my flash SWF file to reload from the start every time when a user visit the site.

    Like i dont want it to be saved in cache, i want to reload it from the start every time, because i have seen that once it is saved into cache, it just starts from the cache when we visit the site. So, i dont want it, i want it to reload again and again from the server whenever user visits.


    I used the following meta tag:
    <meta http-equiv="pragma" content="no-cache">

    But it seems to be not working as the way it should. As when i re-load the page, the preload bar shows 100% loaded.


    ANy idea???



    Amir

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    try
    <PARAM NAME=movie VALUE="a.swf?" + new Date().getTime()">
    and
    EMBED src="a.swf?" + new Date().getTime()"

    It will force a new file from the server each time your reload the browser window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com