dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Exporting To Text File

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    13

    Exporting To Text File

    Hi

    I want to be able to export some data to a text file from Flash. Preferable into csv format but any text will do. I hoped this would be quite simple but I cant find much on it.

    Has anyone tried this or got any advice in doing it.

    Thanks

  2. #2
    Grandmaster Flash
    Join Date
    Apr 2004
    Location
    Edinburgh, Scotland
    Posts
    139
    As far as I know you can't actually write a text file from flash. I seem to remember that this was a security feature (back in the days of flash 3). If I were you I'd take a look at some of these third party products which will do this for you - I think that there is one called Zinc (I saw this advertised on the home page of this site) - there are others too.

    Failing that, if you have the skills you can write your own player application which you can send data to and from using the FSCommand. I did something like this in C#/.NET so that my flash app could save simple files.
    If it ain't broke, don't fix it.

  3. #3
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    You can also use PHP to write on a text file. See the function 'fwrite' at www.php.net

    gparis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center