A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: please,somebody - anybody MERCY... saving text to text fiel on HD?!?

Threaded View

  1. #2
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    With Flash5 you can use the

    fscommand("save", "foldername/textfile.txt");

    you have to make sure all the variables you want to save are on the _root timeline of the movie as this will not save variables in a movieclip....

    to load the textfiles....

    loadVariablesNum("foldername/textfile.txt", 0);

    In MX , from what I understand,... you can't use that method. You can use the Shared Object to save data to the HD in the specified Macromedia folder and the user specify's the amount. There is a tutorial at were-here.com about a perpetual calander that uses the shared object that I have been trying to adapt some. However, the disadvantage is that the files are constantly overwritten. For a more powerful calander type system,... you might look into the Spark Events Calender,.... I have yet to explore that one much and I have not seen any type of user interface for it,... for what it's worth.

    Might check out my thread on the Shared Object here,..... there is a demo of the calander there and what I am trying to do.

    http://www.flashkit.com/board/showth...hreadid=531933

    Regards
    NTD
    Last edited by NTD; 02-19-2004 at 11:54 AM.

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