A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Slow loading external txt

  1. #1
    Junior Member
    Join Date
    Aug 2002
    Posts
    7
    I made a basic news scroller, but it takes kind of a long time for the text to finally display. It eventually does, but not instantly.

    In the flash player on my it works perfectly, but on the web it's kinda slow. Can anyone help me speed this up. I just sits at the root with the swf.

    loadVariablesNum("NewsScrollerb.txt", 0);

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Well, it's got to load! Depending on the lenght of your text and your connection speed, this may take some time.
    Put the loading in a 2 frame loop (until another variable set at the end of your text file becomes true &my_eof = true), and put a loading message on the screen, while it's looping.

  3. #3
    Senior Member
    Join Date
    Apr 2001
    Posts
    165
    I believe the text font size issue is resolved with flashmx, but one thing you might want to look at if you are using flash5 or below is the type of font. Some fonts become much larger swfs than others. So try maybe playing with a different font and see first if that reduces the swf size for you before loading your text movie.

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