PDA

View Full Version : help with loading string vars into flash


tal
04-23-2002, 09:13 AM
Hei guys!

my prob is:
when I load a text var file : (eg. vars.txt)

&email1=talush@yahoo.com

then, when I load the file into flash I get

email = talushyahoocom

so - the question is:

how to save this chars ( & . @ etc.) in the txt file

&email1=....?

Jesse
04-23-2002, 12:13 PM
trace(escape("talush@yahoo.com"));
Paste that into flash, run it and save the output in your text file. escape converts special characters to a string of standard chars. You shouldn't have to unescape it when you load it back in (that is automatic) but if it doesn't come out right, use unescape() on the variable once it's loaded.