Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with page loading slowly

Status
Not open for further replies.

secretsquirrel

Programmer
Mar 22, 2001
202
GB
hi guys,

i've got a page which takes a while to load due to data feeds from external sites. therefore i need to create a flash style preloader that will redirect once the data page has loaded.

i've already put my preloader together, but i don't know how to make it redirect once the other page is loaded.

does anyone have any ideas/suggestions?

thanks in advance.

ss
 
Are you saying that when the flash animation is finished (ie, a rotating text image of the word "loading" for a specific number of frames), you want flash to redirect?

If so, just add an action to the last frame of your fla. Offhand, I think it's the GoTo cmd or something. Just replace the default Scene 1 or whatever with the url.

If that's not it, then you can write a timer in javascript to redirect after a certain period of time has passed. "It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
 
Hi,
i dont think secretsquirrel is asking for flash redirection ....instead he wants flash style redirection.....hope i am not wrong....

well.......anyway thatz an interesting question indeed..........secret squirrel.....when u get an answer plz post it in this forum itself.i hope it would be very much useful
 
rsubras, you're right - i don't want a flash preloader. i haven't solved this problem yet, but i think i might have to just do a simple redirection and hope the data loads quickly. in theory, much of the information will be cached on our servers anyway so this shouldn't be too much of a problem.

i'll let you know if i solve this properly.
 
ok, i've created an animated gif of a loading bar and used a simple...

onLoad="this.location.href='theotherpage.html';"

...but now, when the preloader loads, the animation freezes while theotherpage.html is loading.

does anyone know how i can retrieve theotherpage.html without the animation freezing?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top