Groups | Blog | Home
all groups > flash (macromedia) > july 2006 >

flash (macromedia) : Trouble managing external txt file


david pc
7/4/2006 9:01:06 PM
Hellow to everybody, i have been making a proyect using the expresion:
_root.text.loadVariables("home.txt", "") to load an external txt file wich i
use in a flash proyect.

Everything works perfect, when i generated the flash movie, the texts
appear.
But the problem starts when i want to give a nice aparience to that text.

The file wich a load is a simple txt file, and i dont know how to
performance it well
to get on a good design with columns, tab spaces, etc.

Can anyone help me on that,
tanks.

David



chrism59
7/5/2006 4:29:13 PM
There are many ways. The text file you are loading I assume is fomated :

&fiieldName=some data

correct?

I have used the following in the past with success:

&Product1=coat&StockNo=333&price=19.95&

then set the dynamic text field to recieve the data as
html = true
htmlText =

and set a function to use tabs.

see Supported html tags in the help

then look at

Text format tag
AddThis Social Bookmark Button