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

External text wont slow and won't load

Status
Not open for further replies.

Wazz

Technical User
Aug 12, 2002
209
GB
Hi Everyone,

I have a web site made out of flash that has 6 buttons on it running horizontaly accross the screen. Each button links to a new scene. Within each of the six scenes that I have there is a text box that loads text from an external text file. I have done this so another user, who doesnt know flash can easily update the text.

The first 4 buttons (starting from the left of the screen) go to the scene, the text box and text loads fairly quickly. The last two buttons, load the text boxes much slower (around 3 seconds compared to under a second) and the text doesnt appear in the text box.

I have gone over all the actions and file names, and cant find out why, so over to you guys please. Any suggestions?

Thanks,
Wazz

 
Yes, post your .fla and text files zipped up!

Regards,

cubalibre2.gif
 
oldnewbie.. can I email the location of the fla to you? if possible I dont want loads of people to see it

Also all teh text boxes are named 'whater.txt and contain, at the moment just, &theText=Enter text here.

 
cheers!

I have just tried the same task local, as in on my machine and it works fine...
 
I have emailed you the link again
 
Would now need access to all your text files called? Can you upload them and provide a link?

Regards,

cubalibre2.gif
 
ok... I have added the text files to a folder and zipped the folder and uploaded for you to grab a copy. I have emailed the location to you.
 
Maybe it was blocked due to an attachment. i have emailed again
 
Im sure it must be a problem to do with the speed in which it loads or something like that.

Can I make a pre loader that loads all 6 scenes in one?
 
ok.. I have tried my web site on some other web space and it loads fine. So Is there like a max time set by flash that if everything is not loaded etc it doesnt load it or can I create a preloader to load 6 scenes in one go. A preloader for each scene will be a lot of work ??

Any feedback would be great!!
 
Will have a look at your file, if it did come through... But you can but build a preloader that will load all scenes in your movie. You can't preload just one scene. You can have the movie play after the equivalent of one or a few scenes have loaded, but once iniated, a preloader will preload the whole thing (in the background, if you've set your movie playing...), whether you like it or not!

Regards,

cubalibre2.gif
 
Arrrr ok.. Well I will look for a tutorial and try it tomorrow if I can find a spare five mins
 
ok.. the pre loader didnt help.

Still just the same 2 text boxes that dont work.
 
Well... this is the joy of flash I suppose.
I renamed the text files that my text boxes were loading so they didnt start with capital letters... this has solved the problem!!!! Its taken me 4 days to figure this out!!

Cheers oldnewbie for your time.

Wazz
ps... My first 'ever' preloader even worked first time! (it just looks bad!!!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top