Loading Multiple Text files

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default Loading Multiple Text files

    Hi! I've got several archived text files - 040107.txt, 040207.txt, 040307.txt,
    for example - and I want to be able to build a dynamic link which loads
    whichever file is selected into the Flash movie. This list needs to be able to
    build itself as I write new files every day and add the old ones to the
    archive. I'm stumped. How can I do this?

    mcommini Guest

  2. Similar Questions and Discussions

    1. Best practice for loading multiple XML files at once.
      I was curious as to what the best practice was when loading multiple multiple XML files at once into a flash movie. At first thought I have 2...
    2. Help with loading external text files
      Please help me, I'm new to actionscript and I'm having problems doing this. I have a dinamic text box and I want to load an external text file into...
    3. Saving multiple text fields to a txt file and then loading them back
      Hi I am trying to create a movie where the user can edit the text within the movie and save what they have entered. I know i need to use the...
    4. LOADING TEXT FILES INTO FLASH`
      Hello All Can anyone tell me if I have a text file call "PLACES.TXT" and it looks like TOWN, XCOOR, YCOOR, TYPE Barnsley,100,200,Town...
    5. What Am I Doing Wrong? Loading Ext Text Files
      I am pretty new to Flash. I am trying to create a dynamic text box that loads text from an external text file (see attachment). I have a movie clip...
  3. #2

    Default Re: Loading Multiple Text files

    You need a manifest file that contains the list of files. Load that file first and go from there.
    MotionMaker Guest

  4. #3

    Default Re: Loading Multiple Text files

    yes, that much I had already figured out, thank you. I'm stumped as to how
    that file should look and how it would call the linked files... I've tried
    setting the "Render Text as HTML" filter but it doesn't seem to work. For
    example, whenever I use and to make text bold, the text just
    disappears. The same thing happens if I try using the <a
    href="whateverdomain.com"> and </a> tags.

    I have been unsuccessful determining why the text disappears at run time when
    the HTML tags are used.

    Any additional help would be appreciated.

    HevvyRevvy

    mcommini Guest

  5. #4

    Default Re: Loading Multiple Text files

    If you are using XML to load data, then use the CDATA to wrap the html text.
    If you are using LoadVars to load data, be sure you do not have any & in the
    text content. If you do convert to hex.

    Flash should show HTML if you have the
    [url]http://livedocs.macromedia.com/flash/8/main/00002751.htmll[/url] property set to true
    which is also done in IDE with "Render Text as HTML". But you must use the
    [url]http://livedocs.macromedia.com/flash/8/main/00002752.html[/url] property to set the
    text.

    Finally malformed HTML in Flash TextFields generally dies like you describe.


    MotionMaker Guest

  6. #5

    Default Re: Loading Multiple Text files

    Thank you for the information. I think part of the problem is that I was using
    code designed for Flash 5. I upgraded from Flash 8 Professional to Flash 9
    (Web Premium CS3) yesterday and am in the process of redesigning the Flash
    project. Hopefully, if my eyes don't go all buggy, I'll be able to get the
    ActionScript working by this afternoon (busy schedule).

    I'll keep you all up to date, thank you! :)

    mcommini Guest

  7. #6

    Default Re: Loading Multiple Text files

    Ya definitely move up the ladder for AS. Still the TextField and html tags are the same. What you will find new is use of CSS.
    MotionMaker Guest

  8. #7

    Default Re: Loading Multiple Text files

    Ok, I've got the xml file loading properly into the dynamic text box. Still
    publishing as Flash 5 player 'cause I'm still learning CS3. I've got the links
    launching a browser window but what I really want is to be able to load each
    text file into the dynamic text window. Is there any way to do that? I seem
    to remember way back in 2001 using the tellTarget to launch movies but never
    played with text files to this extent.

    Any help is appreciated.



    mcommini Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139