external txt file problem
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: external txt file problem

  1. #1
    Member
    Join Date
    Oct 2001
    Posts
    85
    I use alot of external txt files, with and without scrolbar.
    In the flash previeuw everything is running smooth, but when I put it in the server, sometimes it takes way to long to load a 1K txt file or it doesn't even load at all.

    the problem seems to be worse when I revisit a link (so the first time things are ok, but the 2end......)

    Is there's a way to avoid this?

    thanks

  2. #2
    Super Moderator
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    no idea.. what's your code? is the server slow? do you encounter the same problem when loading movies?
    gparis

  3. #3
    Moderator
    Join Date
    Feb 2001
    Posts
    13,044
    Hi

    maybe try out a different hosting company...

    Musicman

  4. #4
    Member
    Join Date
    Oct 2001
    Posts
    85
    May be it is a %$#@@ host, but I figured when it is possible to preload the txt files (it's not much data anyway) would solve the problem.

    the code is a simple loadVariable(text.txt,"").

    Strange though that the first time it tries to load it works far better than the second.....?

    I saw an example of a loaded txt variable where the textfile was stored in a definition like "_root.textfile = blah, blah" but I tried that and it doesn't seem to work for scrolling my scrolling device.....

    any ideas on preloading or the _root-thing??

    thanks


  5. #5
    Member
    Join Date
    Oct 2001
    Posts
    85
    ehh.. what I forgot to say was...
    It is a textfile only problem. So all the MC load smoothly


    cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com