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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preloader for externally loaded txt and images 1

Status
Not open for further replies.

Flashoid

Technical User
Dec 11, 2002
163
US
I have my images and .txt files loading dynamically but they take a long time to load. Does anyone have an easy to use preloader for these dynamically loaded .txt files and jpgs?

Also - is it possible to have load multiple .txt files ?


thanks
 
The absolute easiest way to add a preloader to your jpegs and txt files would be to use the MX2004 load bar component:

A great tutorial here:


But if you dont have flash mx2004 (or you are trying to cut down your file size, as mx2004 components add a hefty 40kb to your swf file) then try this tutorial:

 
Hi benny2168 -

neither of those links worked for me -- i get the
"The page cannot be displayed" error.

is there a way to preload all the jpegs and txt and swf files as a front end preloader (since this will have a menu-based navigation which allows the user to go in non-sequential paths)?
 
sorry the links work but the website is down at the moment, try it later

Which kind of preloader are you looking for?
1) preloads all the swf, jpeg, and txt files at once at the beginning of the movie

2) preloads each peice of content only when it is requested by the user

 
ideally preloading only when the content is requested by the user since theres a menu navigation allowing the user to go to anywhere they wish. I've seen lots of site where individual jpegs and dynamic txt is preloading (with the small Loading animation) thats kind of what would like to have.

thanks!
 
alright if you would like you can upload your fla and ill add one for you

just create a preloader mc and ill add code to make it appear when something needs preloading
 
benny2168:

Can you upload files on this board? or do this via url to personal site folder..
 
nope sorry there is no upload feature, you have to use a personal site

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top