Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Read text from file |
From: | Brad Bechtel |
Date: | Thu, 14 Oct 1999 17:24:57 +0100 |
>I need a quick help... I have to put the content of a text file, that will be updated daily, in a text field on a flash movie.
The key to this is having an editable text field in your movie with the same name as the fields you designate in your text file. Flash reads the text into the editable text field that matches the Here's a quick way to do this:
1) Create an editable text field in your Flash movie. Choose Properties and give it a name of Field1.
2) Create your text file. Include a Field1 containing the text you want to have in your movie; for example:
Field1=This is a bunch of text in my movie.
If you want to do this with multiple fields, you have to concatenate them like this:
Field1=This is a bunch of text in my movie.&Field2=blah blah woof woof&Field3=Some more text.
3) In the first frame of your movie, choose the Actions tab.
4) Choose the Load/Unload Movie action.
5) Choose "Load variables into location", make the URL the name of your text file, and make the level 0. Leave the variables pulldown set to "Don't send".
6) Test the movie. You should see the text from your text file appear in the editable text field.
7) Change the text in the text file (keeping the Field1 designation so Flash knows where to put the text) and test it again to be sure you did it right.
Hope this helps,
Brad
Flash QA
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: cool mouse drags, Simonsays7
Re: FLASH: cool mouse drags, Cheri Harder
FLASH: Read text from file, Alexandre Martins
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]