A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Can 3DFA save vars in a text file. hlp plz

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    4

    Unhappy Can 3DFA save vars in a text file. hlp plz

    Hi everyone...

    I've Programing in 3DFA about 2 years ago...
    But I must admit... I only use it to create .exe files.

    But sents I've started I'm trying to save vars in .txt files...

    But never made it... All I can do is load with LoadVars.



    Can someone help me please!!

    PS: sorry for my English

  2. #2
    Member
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    76
    If you export to .exe, it's pretty easy to create .txt files.

    The String class has a save(filename:String) method for saving a string.

    For example:
    Code:
    var text:String = "Hello world.";
    text.save("C:/helloworld.txt");
    Hope this could help you.

    Leifi

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    4

    Talking Uaaaau

    Tchii!!! tnks Man!!! You save my live!!!!

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