PDA

View Full Version : Writing to a txt file


RodB
12-25-2005, 06:21 PM
Can this be done ,, Flash runs inside Autoplay project ,, Autoplay gets varibles from Flash object ,, Autoplay saves those varibles to a txt file on users machine or to the clipboard ?

If I can do this can I have the txt file sort off formated so the text data passed from Flash is copied the way I want within a txt file ?

Thanks Rod

TJ_Tigger
12-25-2005, 10:27 PM
yes and yes, it should be possible.

Corey
12-25-2005, 10:39 PM
Si, El Tigre está correcto otra vez. :yes

Just use Flash.Getvariable to get the data into a string, then format it anyway you like using the various String actions, then simply write it to a text file using TextFile.WriteFromString. :yes

RodB
12-26-2005, 01:58 AM
Thanks guys thats what I wanted to hear :yes

Rod