Forgot Password / Register
Site Statistics
Total Members: 509
Total Tutorials: 242
Newsest User: Lestop
Todays Unique Hits: 24
0 Users 5 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:
1208
Rating:
Posted on Thursday 15th February 2007 at 02:03 PM
azeem
azeem
Hey can you continue this tutorial its really good