Groups | Blog | Home
all groups > flash (macromedia) > october 2003 >

flash (macromedia) : Why does my preloader preload again?



/////
10/15/2003 11:33:47 PM
Hi there, I have a bit of a mystery. I'm working on a website that has a page that loads a small 200kb Flash video file - this file has a preloader on it. Once loaded it plays automatically. When it ends it presents the user with a button to play the movie again. When you click on the button it takes the play head to frame one (where the preloader is). Because the movie has already loaded the preloader pushes the play head to frame 2. The mystery is why is it that when I go to another page on the site that also has the same Flash video file why does the preloader kick in again and why do I need to wait for it to download again, surely the browser has already cached it.

Cheers, Ken



/////
10/16/2003 11:21:49 AM
Hi there, I'm not sure what you mean by 'time stamped'. I'm using Dreamweaver. All I know is that the source file is the same for the two different pages. Other flash movies (a navigation bar) is seen to load on the first page but any other page you visit the navigation bar snaps in quickly. I'm calling the navigation bar from the same folder for all the pages, I'm doing the same thing with the Flash video file but on the second page it always has to reload again - even when it has loaded fully on the first page it appears.

Cheers, Ken


urami_
10/16/2003 3:19:40 PM

[quoted text, click to view]

Could be a way you loading the file in , if it is stamp with timer or date the server
will see it as unique request and load it again off the server as compared with cached
one won't be identical. Perhaps there is some random stamp ? Also it can be due to browser
settings .



Regards

urami_*



<lsym>

There's no place like 127.0.0.1

urami_
10/18/2003 3:19:14 AM

[quoted text, click to view]


Time stamp would be

filename.swf?Flushcache="+getTimer()

this swf never be same if compare by browser cache , it's literally very hard find
open same file exactly at the same time of hours , minutes and seconds ...
We use it often to force browser to download latest files instead of cached ,
especially on sites which have frequently updated files .

It could be preloader as well . It's kind of hard to guess from here.
Can you kindly provide the url ? I will check it out for you.




Regards

urami_*



<lsym>

There's no place like 127.0.0.1

AddThis Social Bookmark Button