A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Reading a file. help!!

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    1

    Reading a file. help!!

    I was wondering if there was a way for flash to read the contents of a text file and throw it into a specific text box.

    Quick example: Say I had a complete flash web site and wanted to update the "terms and conditions" for the site. Well could I have the terms and cons in a text file and have flash import contents of the file into the movie. That way I would only have to update the text file and not have to completey re-save and upload the complete movie.

    Thanks for your replies.

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Sure, it's easy. I'll attach a fla with a scrolling text box in it. Take out the scroller if you want, and use a different text box, but keep the code and the instance name of the text box the same. This will show how it's done.
    Attached Files Attached Files

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