PDA

View Full Version : Loading data from text file for generator!


adrajan
06-11-2001, 02:12 PM
Hi all,
I have created a flash movie and I have placed a List object on my stage. I have given the properties on the generator panel. I have also created a movieclip "clip_1" and in that created a static textfield and the variable name is {header}. I have created a textfile which can be read as:

clip, header
clip_1, P.O.Box 12, 2nd Street,
India.

Now when i run the generator template or test the movie, my output is as follows:

P.O.Box 12

What happens is the comma(,) after the 12 indicated that its checking for another variable in the top and also its not accepting any values which is in the 2nd line for eg. "india" is not accepted.

Is there any way to display these values in the textfile with those comma and also values in the next line. Pls let me know regarding this. Thanks for all the help.

cybarg
11-14-2001, 03:31 PM
Hi,

I think you need to escape the comma(s) in your address like:

"PO Box 12\, blabla\, yoyo\, yehaa",

I hope it works