Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 207
0 Users 9 Guests Online

Create Files In Flash

This would be very good for saving game data, like what level the user got up to etc.

Code
this.onEnterFrame=function(){
data="The text to be stored which can be later retrieved on a users computer";
MMSave(data,"savedata.txt");
}



data="blah"; is the stuff you want saved on the users computer, (local not remote)

Hope this helps, and I'll do a follow up tutorial later on on how to retrieve the data ;)

by the way, you need to put this on a frame in the code of

this.onEnterFrame=function(){

PUT CODE HERE

}
chrism
Author:
Views:
2175
Rating:
Posted on Thursday 15th February 2007 at 02:03 PM
azeem
azeem
Hey can you continue this tutorial its really good