A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How can I update variables in a external file, from within flash?

  1. #1
    Junior Member
    Join Date
    Apr 2000
    Posts
    3

    Question

    I have a text file with some variable, for example: - source.txt -
    name1=Porsche&quant8=2&name2=Renault&quant7=15&nam e3=Peugeot&quant3=9
    When the flash movie starts, it loads those variables:
    Load Variables ("source.txt","")

    Then it displays a form, asking the user how many cars he wants.
    When the user submits the form, the value of the variables
    "quant1", "quant2" and "quant3" is updated.


    Now, how can I save this new values back into my "source.txt" external file?


    The "post" and "get" options in flash don't seem to work without cgi files!!!

    Thanks in advance,
    vOOdObOy

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Posts
    3

    Post

    Hi I dont think that there is a way that you can write to a text file from flash without using a cgi script. There are good ones availible on this post. The only thing is to make sure that the read write privilages are set on your server so the cgi script can write to the text file. Hope that helps. The Map

  3. #3
    Junior Member
    Join Date
    Apr 2000
    Posts
    3

    Exclamation

    What do we do when the server don't let us use cgi or asp?

    And if I can write do a cgi, why can't a write to a txt?

    Thanks,
    vOOdObOy

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