VideoHive

How to? (Almost newbie, but I know it's very simple)

670 posts
  • Has been a member for 1-2 years
  • Won a Competition
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Europe
  • Referred between 10 and 49 users
cyzer says

Ok, I have got index.html it loads site.swf

Everytime I update site, I need to hit F5 to refresh my browser to load correct flash site. I know this, but my clients keep seiing the old flash site. How to make it autorefresh everytime I go into this site ?

How, where and what to write :)

Thanks in advance colleagues.

-Cyzer.

4 months ago
1301 posts
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Croatia
  • Referred between 1 and 9 users
670 posts
  • Has been a member for 1-2 years
  • Won a Competition
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Europe
  • Referred between 10 and 49 users
cyzer says

Right… thanks

But I have already got index.html which is just generated by flash when I published the site.

So.. I guess I have just to enter certain line of code somewhere in the index ?

4 months ago
1301 posts
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Croatia
  • Referred between 1 and 9 users
Tean says

Its described in the link: “index.swf?”+randomnumber

4 months ago
29 posts
  • Has been a member for 0-1 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Turkey
KurtBilisim says

Nice link Tean, however I like the suggestion in one of the comments better. Instead of adding a random number using JS or some other dynamic language, just add a version variable in the swf url;

movie.swf?v=1.0
movie.swf?v=2.0
movie.swf?v=3.0
...

This way you don’t need to use JS (or PHP ,ASP…) code if you don’t like and it will refresh only when there seems to be an update. You can even add a function in your SWF which checks its own version with the one provided and can display a “wrong version” message, preventing itself from running if necessary.

4 months ago
670 posts
  • Has been a member for 1-2 years
  • Won a Competition
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Europe
  • Referred between 10 and 49 users
cyzer says

@KurtBilism right. Ok so ?v=1.0 . And where should I add this ending ? Obviously it is not renaming the site.swf file itself right?

Sory I realy need help but I am not that far with flash and coding.. I managed to make the flash site myself, and to put it online. But I need more detailed.. go there, pick that, rename that..

Would be nice If it’s possible guys :)

4 months ago
29 posts
  • Has been a member for 0-1 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Turkey
KurtBilisim says

You don’t change SWF name. In your HTML embed code, you give that SWF ’s url, right? You just add something after that url. It still gets the file since the part after question mark is considered as variables but still it becomes a different url. Ok since there are many different ways to embed, why don’t you post here your HTML embed code and then we will show you.

4 months ago
by
by
by
by
by