all groups > flash actionscript > april 2004 >
You're in the

flash actionscript

group:

dynamic text filled by external file



dynamic text filled by external file zimbot
4/16/2004 10:18:53 PM
flash actionscript: I wish to fill a text filed with an external file.
i want to have a text file - machnum.txt that has just a "1" or a "2" in it
and have a dynamic text field on a flash movie that will "read" in this and
display it.

Basically I am making a app for a kiosk ( 6 machiness ) and it will send an
email. I want to know what machine sent what email. If I can have an external
file... then I only need 1 file.swf and they can all be diffrent by editing the
machinenum.txt in notepad

so... how might that happen?
Re: dynamic text filled by external file sneakyimp
4/16/2004 11:26:56 PM
this page should be very helpful:


[L=http://www.macromedia.com/support/flash/ts/documents/dynamic_text_scrollmx.ht
m]http://www.macromedia.com/support/flash/ts/documents/dynamic_text_scrollmx.htm
[/L]

you're going to need to use a loadvars object...it can read data from a
textfile into variables in your movie.
Re: dynamic text filled by external file adireddy
4/17/2004 6:32:10 AM
You can also use LoadVars object for loading external text in the dynamic text
box. Refer
[L=http://www.adiinteractive.com/loadvars.html]http://www.adiinteractive.com/loa
dvars.html[/L] for more details on using LoadVars Object.
Re: dynamic text filled by external file Tinku31
4/17/2004 7:22:45 AM
Hello,
if you want loading external notepad file, then it will help you. i send you
this fla, swf and text file. i made this in flash 5.
i think it will work for you. you can edit notepad file any time, dont need to
open your flash file after you publish. edit notepad and save it, flash will
update automatically.
Thanks
AddThis Social Bookmark Button